@xcpcio/board-app 0.34.1 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/assets/{Board-404734f6.js → Board-8241725a.js} +2 -2
  2. package/dist/assets/Board-fd82c4fe.css +1 -0
  3. package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-559b723c.js → DataSourceInput.vue_vue_type_script_setup_true_lang-b7257fab.js} +1 -1
  4. package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-dbf5b530.js → TheInput.vue_vue_type_script_setup_true_lang-fe810a28.js} +1 -1
  5. package/dist/assets/{_...all_-4133b16d.js → _...all_-5cef394f.js} +1 -1
  6. package/dist/assets/{_name_-bbabaf8c.js → _name_-526d8339.js} +1 -1
  7. package/dist/assets/{about-a1962e3d.js → about-cd4f21bd.js} +1 -1
  8. package/dist/assets/{board-db3354a3.js → board-1be19815.js} +1 -1
  9. package/dist/assets/{board-layout-bf9963cb.js → board-layout-b82c69d2.js} +1 -1
  10. package/dist/assets/{headless-9d591374.js → headless-b9942007.js} +1 -1
  11. package/dist/assets/{home-4b096dea.js → home-4af354b3.js} +1 -1
  12. package/dist/assets/{index-9a87bde3.js → index-0ce86bd1.js} +1 -1
  13. package/dist/assets/{index-1f893c4e.js → index-5e5a2093.js} +4 -4
  14. package/dist/assets/{index-f4a30172.js → index-a020bfea.js} +1 -1
  15. package/dist/assets/{index-e63239d5.css → index-bed92a26.css} +1 -1
  16. package/dist/assets/{index-layout-99a69320.js → index-layout-cb03751a.js} +1 -1
  17. package/dist/assets/{test-692adaf3.js → test-8c3726ee.js} +1 -1
  18. package/dist/assets/{useQueryBoardData-70fc2551.js → useQueryBoardData-82598023.js} +1 -1
  19. package/dist/assets/{user-4f6853c8.js → user-87de2ef4.js} +1 -1
  20. package/dist/assets/{virtual_pwa-register-54253a0e.js → virtual_pwa-register-f7f8a2da.js} +1 -1
  21. package/dist/index.html +1 -1
  22. package/dist/sw.js +1 -1
  23. package/package.json +3 -3
  24. package/src/components/board/SubmissionsTable.vue +1 -1
  25. package/src/styles/submission-status-background.css +4 -0
  26. package/src/styles/submission-status-filter.css +4 -0
  27. package/src/styles/submission-status.css +3 -0
  28. package/dist/assets/Board-37f77529.css +0 -1
@@ -23,11 +23,11 @@
23
23
  * pinia v2.1.6
24
24
  * (c) 2023 Eduardo San Martin Morote
25
25
  * @license MIT
26
- */let rE;const Y2=t=>rE=t,nE=Symbol();function m4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var pp;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(pp||(pp={}));function YA(){const t=A2(!0),i=t.run(()=>ur({}));let s=[],a=[];const r=qp({install(e){Y2(r),r._a=e,e.provide(nE,r),e.config.globalProperties.$pinia=r,a.forEach(d=>s.push(d)),a=[]},use(e){return!this._a&&!VA?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:i});return r}const iE=()=>{};function m3(t,i,s,a=iE){t.push(i);const r=()=>{const e=t.indexOf(i);e>-1&&(t.splice(e,1),a())};return!s&&S2()&&q4(r),r}function ud(t,...i){t.slice().forEach(s=>{s(...i)})}const qA=t=>t();function v4(t,i){t instanceof Map&&i instanceof Map&&i.forEach((s,a)=>t.set(a,s)),t instanceof Set&&i instanceof Set&&i.forEach(t.add,t);for(const s in i){if(!i.hasOwnProperty(s))continue;const a=i[s],r=t[s];m4(r)&&m4(a)&&t.hasOwnProperty(s)&&!Bn(a)&&!Uc(a)?t[s]=v4(r,a):t[s]=a}return t}const KA=Symbol();function QA(t){return!m4(t)||!t.hasOwnProperty(KA)}const{assign:Zu}=Object;function XA(t){return!!(Bn(t)&&t.effect)}function JA(t,i,s,a){const{state:r,actions:e,getters:d}=i,y=s.state.value[t];let w;function F(){y||(s.state.value[t]=r?r():{});const C=kD(s.state.value[t]);return Zu(C,e,Object.keys(d||{}).reduce((A,R)=>(A[R]=qp(gn(()=>{Y2(s);const L=s._s.get(t);return d[R].call(L,L)})),A),{}))}return w=sE(t,F,i,s,a,!0),w}function sE(t,i,s={},a,r,e){let d;const y=Zu({actions:{}},s),w={deep:!0};let F,C,A=[],R=[],L;const B=a.state.value[t];!e&&!B&&(a.state.value[t]={}),ur({});let I;function z(re){let ae;F=C=!1,typeof re=="function"?(re(a.state.value[t]),ae={type:pp.patchFunction,storeId:t,events:L}):(v4(a.state.value[t],re),ae={type:pp.patchObject,payload:re,storeId:t,events:L});const ue=I=Symbol();ql().then(()=>{I===ue&&(F=!0)}),C=!0,ud(A,ae,a.state.value[t])}const H=e?function(){const{state:ae}=s,ue=ae?ae():{};this.$patch(we=>{Zu(we,ue)})}:iE;function K(){d.stop(),A=[],R=[],a._s.delete(t)}function oe(re,ae){return function(){Y2(a);const ue=Array.from(arguments),we=[],Ie=[];function Ae(Xe){we.push(Xe)}function Ee(Xe){Ie.push(Xe)}ud(R,{args:ue,name:re,store:G,after:Ae,onError:Ee});let We;try{We=ae.apply(this&&this.$id===t?this:G,ue)}catch(Xe){throw ud(Ie,Xe),Xe}return We instanceof Promise?We.then(Xe=>(ud(we,Xe),Xe)).catch(Xe=>(ud(Ie,Xe),Promise.reject(Xe))):(ud(we,We),We)}}const j={_p:a,$id:t,$onAction:m3.bind(null,R),$patch:z,$reset:H,$subscribe(re,ae={}){const ue=m3(A,re,ae.detached,()=>we()),we=d.run(()=>ri(()=>a.state.value[t],Ie=>{(ae.flush==="sync"?C:F)&&re({storeId:t,type:pp.direct,events:L},Ie)},Zu({},w,ae)));return ue},$dispose:K},G=vf(j);a._s.set(t,G);const Z=a._a&&a._a.runWithContext||qA,ie=a._e.run(()=>(d=A2(),Z(()=>d.run(i))));for(const re in ie){const ae=ie[re];if(Bn(ae)&&!XA(ae)||Uc(ae))e||(B&&QA(ae)&&(Bn(ae)?ae.value=B[re]:v4(ae,B[re])),a.state.value[t][re]=ae);else if(typeof ae=="function"){const ue=oe(re,ae);ie[re]=ue,y.actions[re]=ae}}return Zu(G,ie),Zu(mn(G),ie),Object.defineProperty(G,"$state",{get:()=>a.state.value[t],set:re=>{z(ae=>{Zu(ae,re)})}}),a._p.forEach(re=>{Zu(G,d.run(()=>re({store:G,app:a._a,pinia:a,options:y})))}),B&&e&&s.hydrate&&s.hydrate(G.$state,B),F=!0,C=!0,G}function qI(t,i,s){let a,r;const e=typeof i=="function";typeof t=="string"?(a=t,r=e?s:i):(r=t,a=t.id);function d(y,w){const F=sF();return y=y||(F?fa(nE,null):null),y&&Y2(y),y=rE,y._s.has(a)||(e?sE(a,i,r,y):JA(a,r,y)),y._s.get(a)}return d.$id=a,d}const ZA=({isClient:t,initialState:i,app:s})=>{const a=YA();s.use(a),t?a.state.value=i.pinia||{}:i.pinia=a.state.value},e8=Object.freeze(Object.defineProperty({__proto__:null,install:ZA},Symbol.toStringTag,{value:"Module"})),t8=({isClient:t,router:i})=>{t&&i.isReady().then(async()=>{const{registerSW:s}=await ka(()=>import("./virtual_pwa-register-54253a0e.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},r8=Object.freeze(Object.defineProperty({__proto__:null,install:t8},Symbol.toStringTag,{value:"Module"}));var aE={exports:{}};const n8=eE(bA);(function(t,i){(function(a,r){t.exports=r(n8)})(_s,s=>(()=>{var a={661:(y,w)=>{Object.defineProperty(w,"__esModule",{value:!0}),w.default=(F,C)=>{const A=F.__vccOpts||F;for(const[R,L]of C)A[R]=L;return A}},976:y=>{y.exports=s}},r={};function e(y){var w=r[y];if(w!==void 0)return w.exports;var F=r[y]={exports:{}};return a[y](F,F.exports,e),F.exports}e.d=(y,w)=>{for(var F in w)e.o(w,F)&&!e.o(y,F)&&Object.defineProperty(y,F,{enumerable:!0,get:w[F]})},e.o=(y,w)=>Object.prototype.hasOwnProperty.call(y,w),e.r=y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})};var d={};return(()=>{e.r(d),e.d(d,{ToastComponent:()=>G,ToastPlugin:()=>ie,ToastPositions:()=>B,default:()=>re,useToast:()=>Z});var y=e(976);const w=(0,y.createElementVNode)("div",{class:"v-toast__icon"},null,-1),F=["innerHTML"];function C(ae,ue,we,Ie,Ae,Ee){return(0,y.openBlock)(),(0,y.createBlock)(y.Transition,{"enter-active-class":ae.transition.enter,"leave-active-class":ae.transition.leave},{default:(0,y.withCtx)(()=>[(0,y.withDirectives)((0,y.createElementVNode)("div",{ref:"root",role:"alert",class:(0,y.normalizeClass)(["v-toast__item",[`v-toast__item--${ae.type}`,`v-toast__item--${ae.position}`]]),onMouseover:ue[0]||(ue[0]=We=>ae.toggleTimer(!0)),onMouseleave:ue[1]||(ue[1]=We=>ae.toggleTimer(!1)),onClick:ue[2]||(ue[2]=function(){return ae.whenClicked&&ae.whenClicked(...arguments)})},[w,(0,y.createElementVNode)("p",{class:"v-toast__text",innerHTML:ae.message},null,8,F)],34),[[y.vShow,ae.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function A(ae){var ue;typeof ae.remove<"u"?ae.remove():(ue=ae.parentNode)==null||ue.removeChild(ae)}function R(ae,ue,we){let Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const Ae=(0,y.h)(ae,ue,Ie),Ee=document.createElement("div");return Ee.classList.add("v-toast--pending"),we.appendChild(Ee),(0,y.render)(Ae,Ee),Ae.component}class L{constructor(ue,we){this.startedAt=Date.now(),this.callback=ue,this.delay=we,this.timer=setTimeout(ue,we)}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 B=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function I(ae){return{all:ae=ae||new Map,on:function(ue,we){var Ie=ae.get(ue);Ie?Ie.push(we):ae.set(ue,[we])},off:function(ue,we){var Ie=ae.get(ue);Ie&&(we?Ie.splice(Ie.indexOf(we)>>>0,1):ae.set(ue,[]))},emit:function(ue,we){var Ie=ae.get(ue);Ie&&Ie.slice().map(function(Ae){Ae(we)}),(Ie=ae.get("*"))&&Ie.slice().map(function(Ae){Ae(ue,we)})}}}const H=I(),K=(0,y.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:B.BOTTOM_RIGHT,validator(ae){return Object.values(B).includes(ae)}},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(),H.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 ae=document.body;ae.appendChild(this.parentTop),ae.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 ae=this.$refs.root;(0,y.render)(null,ae),A(ae)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const ae=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),A(ae),this.isActive=!0,this.duration&&(this.timer=new L(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(ae){!this.pauseOnHover||!this.timer||(ae?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return this.parentTop;case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){H.off("toast-clear",this.dismiss)}});var oe=e(661);const G=(0,oe.default)(K,[["render",C]]),Z=function(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(ue){let we=null;typeof ue=="string"&&(we=ue);const Ae=Object.assign({},{message:we},ae,ue);return{dismiss:R(G,Ae,document.body).ctx.dismiss}},clear(){H.emit("toast-clear")},success(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"success"},we))},error(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"error"},we))},info(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"info"},we))},warning(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"warning"},we))},default(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"default"},we))}}},ie={install:function(ae){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=Z(ue);ae.config.globalProperties.$toast=we,ae.provide("$toast",we)}},re=ie})(),d})())})(aE);var i8=aE.exports;const s8=Ma(i8);const a8=({app:t})=>{t.use(s8,{position:"bottom-right"})},o8=Object.freeze(Object.defineProperty({__proto__:null,install:a8},Symbol.toStringTag,{value:"Module"}));/*!
26
+ */let rE;const Y2=t=>rE=t,nE=Symbol();function m4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var pp;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(pp||(pp={}));function YA(){const t=A2(!0),i=t.run(()=>ur({}));let s=[],a=[];const r=qp({install(e){Y2(r),r._a=e,e.provide(nE,r),e.config.globalProperties.$pinia=r,a.forEach(d=>s.push(d)),a=[]},use(e){return!this._a&&!VA?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:i});return r}const iE=()=>{};function m3(t,i,s,a=iE){t.push(i);const r=()=>{const e=t.indexOf(i);e>-1&&(t.splice(e,1),a())};return!s&&S2()&&q4(r),r}function ud(t,...i){t.slice().forEach(s=>{s(...i)})}const qA=t=>t();function v4(t,i){t instanceof Map&&i instanceof Map&&i.forEach((s,a)=>t.set(a,s)),t instanceof Set&&i instanceof Set&&i.forEach(t.add,t);for(const s in i){if(!i.hasOwnProperty(s))continue;const a=i[s],r=t[s];m4(r)&&m4(a)&&t.hasOwnProperty(s)&&!Bn(a)&&!Uc(a)?t[s]=v4(r,a):t[s]=a}return t}const KA=Symbol();function QA(t){return!m4(t)||!t.hasOwnProperty(KA)}const{assign:Zu}=Object;function XA(t){return!!(Bn(t)&&t.effect)}function JA(t,i,s,a){const{state:r,actions:e,getters:d}=i,y=s.state.value[t];let w;function F(){y||(s.state.value[t]=r?r():{});const C=kD(s.state.value[t]);return Zu(C,e,Object.keys(d||{}).reduce((A,R)=>(A[R]=qp(gn(()=>{Y2(s);const L=s._s.get(t);return d[R].call(L,L)})),A),{}))}return w=sE(t,F,i,s,a,!0),w}function sE(t,i,s={},a,r,e){let d;const y=Zu({actions:{}},s),w={deep:!0};let F,C,A=[],R=[],L;const B=a.state.value[t];!e&&!B&&(a.state.value[t]={}),ur({});let I;function z(re){let ae;F=C=!1,typeof re=="function"?(re(a.state.value[t]),ae={type:pp.patchFunction,storeId:t,events:L}):(v4(a.state.value[t],re),ae={type:pp.patchObject,payload:re,storeId:t,events:L});const ue=I=Symbol();ql().then(()=>{I===ue&&(F=!0)}),C=!0,ud(A,ae,a.state.value[t])}const H=e?function(){const{state:ae}=s,ue=ae?ae():{};this.$patch(we=>{Zu(we,ue)})}:iE;function K(){d.stop(),A=[],R=[],a._s.delete(t)}function oe(re,ae){return function(){Y2(a);const ue=Array.from(arguments),we=[],Ie=[];function Ae(Xe){we.push(Xe)}function Ee(Xe){Ie.push(Xe)}ud(R,{args:ue,name:re,store:G,after:Ae,onError:Ee});let We;try{We=ae.apply(this&&this.$id===t?this:G,ue)}catch(Xe){throw ud(Ie,Xe),Xe}return We instanceof Promise?We.then(Xe=>(ud(we,Xe),Xe)).catch(Xe=>(ud(Ie,Xe),Promise.reject(Xe))):(ud(we,We),We)}}const j={_p:a,$id:t,$onAction:m3.bind(null,R),$patch:z,$reset:H,$subscribe(re,ae={}){const ue=m3(A,re,ae.detached,()=>we()),we=d.run(()=>ri(()=>a.state.value[t],Ie=>{(ae.flush==="sync"?C:F)&&re({storeId:t,type:pp.direct,events:L},Ie)},Zu({},w,ae)));return ue},$dispose:K},G=vf(j);a._s.set(t,G);const Z=a._a&&a._a.runWithContext||qA,ie=a._e.run(()=>(d=A2(),Z(()=>d.run(i))));for(const re in ie){const ae=ie[re];if(Bn(ae)&&!XA(ae)||Uc(ae))e||(B&&QA(ae)&&(Bn(ae)?ae.value=B[re]:v4(ae,B[re])),a.state.value[t][re]=ae);else if(typeof ae=="function"){const ue=oe(re,ae);ie[re]=ue,y.actions[re]=ae}}return Zu(G,ie),Zu(mn(G),ie),Object.defineProperty(G,"$state",{get:()=>a.state.value[t],set:re=>{z(ae=>{Zu(ae,re)})}}),a._p.forEach(re=>{Zu(G,d.run(()=>re({store:G,app:a._a,pinia:a,options:y})))}),B&&e&&s.hydrate&&s.hydrate(G.$state,B),F=!0,C=!0,G}function qI(t,i,s){let a,r;const e=typeof i=="function";typeof t=="string"?(a=t,r=e?s:i):(r=t,a=t.id);function d(y,w){const F=sF();return y=y||(F?fa(nE,null):null),y&&Y2(y),y=rE,y._s.has(a)||(e?sE(a,i,r,y):JA(a,r,y)),y._s.get(a)}return d.$id=a,d}const ZA=({isClient:t,initialState:i,app:s})=>{const a=YA();s.use(a),t?a.state.value=i.pinia||{}:i.pinia=a.state.value},e8=Object.freeze(Object.defineProperty({__proto__:null,install:ZA},Symbol.toStringTag,{value:"Module"})),t8=({isClient:t,router:i})=>{t&&i.isReady().then(async()=>{const{registerSW:s}=await ka(()=>import("./virtual_pwa-register-f7f8a2da.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},r8=Object.freeze(Object.defineProperty({__proto__:null,install:t8},Symbol.toStringTag,{value:"Module"}));var aE={exports:{}};const n8=eE(bA);(function(t,i){(function(a,r){t.exports=r(n8)})(_s,s=>(()=>{var a={661:(y,w)=>{Object.defineProperty(w,"__esModule",{value:!0}),w.default=(F,C)=>{const A=F.__vccOpts||F;for(const[R,L]of C)A[R]=L;return A}},976:y=>{y.exports=s}},r={};function e(y){var w=r[y];if(w!==void 0)return w.exports;var F=r[y]={exports:{}};return a[y](F,F.exports,e),F.exports}e.d=(y,w)=>{for(var F in w)e.o(w,F)&&!e.o(y,F)&&Object.defineProperty(y,F,{enumerable:!0,get:w[F]})},e.o=(y,w)=>Object.prototype.hasOwnProperty.call(y,w),e.r=y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})};var d={};return(()=>{e.r(d),e.d(d,{ToastComponent:()=>G,ToastPlugin:()=>ie,ToastPositions:()=>B,default:()=>re,useToast:()=>Z});var y=e(976);const w=(0,y.createElementVNode)("div",{class:"v-toast__icon"},null,-1),F=["innerHTML"];function C(ae,ue,we,Ie,Ae,Ee){return(0,y.openBlock)(),(0,y.createBlock)(y.Transition,{"enter-active-class":ae.transition.enter,"leave-active-class":ae.transition.leave},{default:(0,y.withCtx)(()=>[(0,y.withDirectives)((0,y.createElementVNode)("div",{ref:"root",role:"alert",class:(0,y.normalizeClass)(["v-toast__item",[`v-toast__item--${ae.type}`,`v-toast__item--${ae.position}`]]),onMouseover:ue[0]||(ue[0]=We=>ae.toggleTimer(!0)),onMouseleave:ue[1]||(ue[1]=We=>ae.toggleTimer(!1)),onClick:ue[2]||(ue[2]=function(){return ae.whenClicked&&ae.whenClicked(...arguments)})},[w,(0,y.createElementVNode)("p",{class:"v-toast__text",innerHTML:ae.message},null,8,F)],34),[[y.vShow,ae.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function A(ae){var ue;typeof ae.remove<"u"?ae.remove():(ue=ae.parentNode)==null||ue.removeChild(ae)}function R(ae,ue,we){let Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const Ae=(0,y.h)(ae,ue,Ie),Ee=document.createElement("div");return Ee.classList.add("v-toast--pending"),we.appendChild(Ee),(0,y.render)(Ae,Ee),Ae.component}class L{constructor(ue,we){this.startedAt=Date.now(),this.callback=ue,this.delay=we,this.timer=setTimeout(ue,we)}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 B=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function I(ae){return{all:ae=ae||new Map,on:function(ue,we){var Ie=ae.get(ue);Ie?Ie.push(we):ae.set(ue,[we])},off:function(ue,we){var Ie=ae.get(ue);Ie&&(we?Ie.splice(Ie.indexOf(we)>>>0,1):ae.set(ue,[]))},emit:function(ue,we){var Ie=ae.get(ue);Ie&&Ie.slice().map(function(Ae){Ae(we)}),(Ie=ae.get("*"))&&Ie.slice().map(function(Ae){Ae(ue,we)})}}}const H=I(),K=(0,y.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:B.BOTTOM_RIGHT,validator(ae){return Object.values(B).includes(ae)}},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(),H.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 ae=document.body;ae.appendChild(this.parentTop),ae.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 ae=this.$refs.root;(0,y.render)(null,ae),A(ae)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const ae=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),A(ae),this.isActive=!0,this.duration&&(this.timer=new L(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(ae){!this.pauseOnHover||!this.timer||(ae?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return this.parentTop;case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){H.off("toast-clear",this.dismiss)}});var oe=e(661);const G=(0,oe.default)(K,[["render",C]]),Z=function(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(ue){let we=null;typeof ue=="string"&&(we=ue);const Ae=Object.assign({},{message:we},ae,ue);return{dismiss:R(G,Ae,document.body).ctx.dismiss}},clear(){H.emit("toast-clear")},success(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"success"},we))},error(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"error"},we))},info(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"info"},we))},warning(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"warning"},we))},default(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ue,type:"default"},we))}}},ie={install:function(ae){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=Z(ue);ae.config.globalProperties.$toast=we,ae.provide("$toast",we)}},re=ie})(),d})())})(aE);var i8=aE.exports;const s8=Ma(i8);const a8=({app:t})=>{t.use(s8,{position:"bottom-right"})},o8=Object.freeze(Object.defineProperty({__proto__:null,install:a8},Symbol.toStringTag,{value:"Module"}));/*!
27
27
  * vue-router v4.2.4
28
28
  * (c) 2023 Eduardo San Martin Morote
29
29
  * @license MIT
30
- */const pd=typeof window<"u";function l8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Gn=Object.assign;function Sb(t,i){const s={};for(const a in i){const r=i[a];s[a]=vl(r)?r.map(t):t(r)}return s}const gp=()=>{},vl=Array.isArray,c8=/\/$/,u8=t=>t.replace(c8,"");function kb(t,i,s="/"){let a,r={},e="",d="";const y=i.indexOf("#");let w=i.indexOf("?");return y<w&&y>=0&&(w=-1),w>-1&&(a=i.slice(0,w),e=i.slice(w+1,y>-1?y:i.length),r=t(e)),y>-1&&(a=a||i.slice(0,y),d=i.slice(y,i.length)),a=p8(a??i,s),{fullPath:a+(e&&"?")+e+d,path:a,query:r,hash:d}}function f8(t,i){const s=i.query?t(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function v3(t,i){return!i||!t.toLowerCase().startsWith(i.toLowerCase())?t:t.slice(i.length)||"/"}function h8(t,i,s){const a=i.matched.length-1,r=s.matched.length-1;return a>-1&&a===r&&Od(i.matched[a],s.matched[r])&&oE(i.params,s.params)&&t(i.query)===t(s.query)&&i.hash===s.hash}function Od(t,i){return(t.aliasOf||t)===(i.aliasOf||i)}function oE(t,i){if(Object.keys(t).length!==Object.keys(i).length)return!1;for(const s in t)if(!d8(t[s],i[s]))return!1;return!0}function d8(t,i){return vl(t)?b3(t,i):vl(i)?b3(i,t):t===i}function b3(t,i){return vl(i)?t.length===i.length&&t.every((s,a)=>s===i[a]):t.length===1&&t[0]===i}function p8(t,i){if(t.startsWith("/"))return t;if(!t)return i;const s=i.split("/"),a=t.split("/"),r=a[a.length-1];(r===".."||r===".")&&a.push("");let e=s.length-1,d,y;for(d=0;d<a.length;d++)if(y=a[d],y!==".")if(y==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(d-(d===a.length?1:0)).join("/")}var Rd;(function(t){t.pop="pop",t.push="push"})(Rd||(Rd={}));var K0;(function(t){t.back="back",t.forward="forward",t.unknown=""})(K0||(K0={}));const Ob="";function lE(t){if(!t)if(pd){const i=document.querySelector("base");t=i&&i.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),u8(t)}const g8=/^[^#]+#/;function cE(t,i){return t.replace(g8,"#")+i}function m8(t,i){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:i.behavior,left:a.left-s.left-(i.left||0),top:a.top-s.top-(i.top||0)}}const q2=()=>({left:window.pageXOffset,top:window.pageYOffset});function v8(t){let i;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;i=m8(r,t)}else i=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function y3(t,i){return(history.state?history.state.position-i:-1)+t}const b4=new Map;function b8(t,i){b4.set(t,i)}function y8(t){const i=b4.get(t);return b4.delete(t),i}let _8=()=>location.protocol+"//"+location.host;function uE(t,i){const{pathname:s,search:a,hash:r}=i,e=t.indexOf("#");if(e>-1){let y=r.includes(t.slice(e))?t.slice(e).length:1,w=r.slice(y);return w[0]!=="/"&&(w="/"+w),v3(w,"")}return v3(s,t)+a+r}function w8(t,i,s,a){let r=[],e=[],d=null;const y=({state:R})=>{const L=uE(t,location),B=s.value,I=i.value;let z=0;if(R){if(s.value=L,i.value=R,d&&d===B){d=null;return}z=I?R.position-I.position:0}else a(L);r.forEach(H=>{H(s.value,B,{delta:z,type:Rd.pop,direction:z?z>0?K0.forward:K0.back:K0.unknown})})};function w(){d=s.value}function F(R){r.push(R);const L=()=>{const B=r.indexOf(R);B>-1&&r.splice(B,1)};return e.push(L),L}function C(){const{history:R}=window;R.state&&R.replaceState(Gn({},R.state,{scroll:q2()}),"")}function A(){for(const R of e)R();e=[],window.removeEventListener("popstate",y),window.removeEventListener("beforeunload",C)}return window.addEventListener("popstate",y),window.addEventListener("beforeunload",C,{passive:!0}),{pauseListeners:w,listen:F,destroy:A}}function _3(t,i,s,a=!1,r=!1){return{back:t,current:i,forward:s,replaced:a,position:window.history.length,scroll:r?q2():null}}function D8(t){const{history:i,location:s}=window,a={value:uE(t,s)},r={value:i.state};r.value||e(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function e(w,F,C){const A=t.indexOf("#"),R=A>-1?(s.host&&document.querySelector("base")?t:t.slice(A))+w:_8()+t+w;try{i[C?"replaceState":"pushState"](F,"",R),r.value=F}catch(L){console.error(L),s[C?"replace":"assign"](R)}}function d(w,F){const C=Gn({},i.state,_3(r.value.back,w,r.value.forward,!0),F,{position:r.value.position});e(w,C,!0),a.value=w}function y(w,F){const C=Gn({},r.value,i.state,{forward:w,scroll:q2()});e(C.current,C,!0);const A=Gn({},_3(a.value,w,null),{position:C.position+1},F);e(w,A,!1),a.value=w}return{location:a,state:r,push:y,replace:d}}function F8(t){t=lE(t);const i=D8(t),s=w8(t,i.state,i.location,i.replace);function a(e,d=!0){d||s.pauseListeners(),history.go(e)}const r=Gn({location:"",base:t,go:a,createHref:cE.bind(null,t)},i,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>i.state.value}),r}function E8(t=""){let i=[],s=[Ob],a=0;t=lE(t);function r(y){a++,a===s.length||s.splice(a),s.push(y)}function e(y,w,{direction:F,delta:C}){const A={direction:F,delta:C,type:Rd.pop};for(const R of i)R(y,w,A)}const d={location:Ob,state:{},base:t,createHref:cE.bind(null,t),replace(y){s.splice(a--,1),r(y)},push(y,w){r(y)},listen(y){return i.push(y),()=>{const w=i.indexOf(y);w>-1&&i.splice(w,1)}},destroy(){i=[],s=[Ob],a=0},go(y,w=!0){const F=this.location,C=y<0?K0.back:K0.forward;a=Math.max(0,Math.min(a+y,s.length-1)),w&&e(this.location,F,{direction:C,delta:y})}};return Object.defineProperty(d,"location",{enumerable:!0,get:()=>s[a]}),d}function x8(t){return typeof t=="string"||t&&typeof t=="object"}function fE(t){return typeof t=="string"||typeof t=="symbol"}const Qu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hE=Symbol("");var w3;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(w3||(w3={}));function Pd(t,i){return Gn(new Error,{type:t,[hE]:!0},i)}function Ic(t,i){return t instanceof Error&&hE in t&&(i==null||!!(t.type&i))}const D3="[^/]+?",C8={sensitive:!1,strict:!1,start:!0,end:!0},T8=/[.+*?^${}()[\]/\\]/g;function A8(t,i){const s=Gn({},C8,i),a=[];let r=s.start?"^":"";const e=[];for(const F of t){const C=F.length?[]:[90];s.strict&&!F.length&&(r+="/");for(let A=0;A<F.length;A++){const R=F[A];let L=40+(s.sensitive?.25:0);if(R.type===0)A||(r+="/"),r+=R.value.replace(T8,"\\$&"),L+=40;else if(R.type===1){const{value:B,repeatable:I,optional:z,regexp:H}=R;e.push({name:B,repeatable:I,optional:z});const K=H||D3;if(K!==D3){L+=10;try{new RegExp(`(${K})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${B}" (${K}): `+j.message)}}let oe=I?`((?:${K})(?:/(?:${K}))*)`:`(${K})`;A||(oe=z&&F.length<2?`(?:/${oe})`:"/"+oe),z&&(oe+="?"),r+=oe,L+=20,z&&(L+=-8),I&&(L+=-20),K===".*"&&(L+=-50)}C.push(L)}a.push(C)}if(s.strict&&s.end){const F=a.length-1;a[F][a[F].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const d=new RegExp(r,s.sensitive?"":"i");function y(F){const C=F.match(d),A={};if(!C)return null;for(let R=1;R<C.length;R++){const L=C[R]||"",B=e[R-1];A[B.name]=L&&B.repeatable?L.split("/"):L}return A}function w(F){let C="",A=!1;for(const R of t){(!A||!C.endsWith("/"))&&(C+="/"),A=!1;for(const L of R)if(L.type===0)C+=L.value;else if(L.type===1){const{value:B,repeatable:I,optional:z}=L,H=B in F?F[B]:"";if(vl(H)&&!I)throw new Error(`Provided param "${B}" is an array but it is not repeatable (* or + modifiers)`);const K=vl(H)?H.join("/"):H;if(!K)if(z)R.length<2&&(C.endsWith("/")?C=C.slice(0,-1):A=!0);else throw new Error(`Missing required param "${B}"`);C+=K}}return C||"/"}return{re:d,score:a,keys:e,parse:y,stringify:w}}function S8(t,i){let s=0;for(;s<t.length&&s<i.length;){const a=i[s]-t[s];if(a)return a;s++}return t.length<i.length?t.length===1&&t[0]===40+40?-1:1:t.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function k8(t,i){let s=0;const a=t.score,r=i.score;for(;s<a.length&&s<r.length;){const e=S8(a[s],r[s]);if(e)return e;s++}if(Math.abs(r.length-a.length)===1){if(F3(a))return 1;if(F3(r))return-1}return r.length-a.length}function F3(t){const i=t[t.length-1];return t.length>0&&i[i.length-1]<0}const O8={type:0,value:""},R8=/[a-zA-Z0-9_]/;function P8(t){if(!t)return[[]];if(t==="/")return[[O8]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function i(L){throw new Error(`ERR (${s})/"${F}": ${L}`)}let s=0,a=s;const r=[];let e;function d(){e&&r.push(e),e=[]}let y=0,w,F="",C="";function A(){F&&(s===0?e.push({type:0,value:F}):s===1||s===2||s===3?(e.length>1&&(w==="*"||w==="+")&&i(`A repeatable param (${F}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:F,regexp:C,repeatable:w==="*"||w==="+",optional:w==="*"||w==="?"})):i("Invalid state to consume buffer"),F="")}function R(){F+=w}for(;y<t.length;){if(w=t[y++],w==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:w==="/"?(F&&A(),d()):w===":"?(A(),s=1):R();break;case 4:R(),s=a;break;case 1:w==="("?s=2:R8.test(w)?R():(A(),s=0,w!=="*"&&w!=="?"&&w!=="+"&&y--);break;case 2:w===")"?C[C.length-1]=="\\"?C=C.slice(0,-1)+w:s=3:C+=w;break;case 3:A(),s=0,w!=="*"&&w!=="?"&&w!=="+"&&y--,C="";break;default:i("Unknown state");break}}return s===2&&i(`Unfinished custom RegExp for param "${F}"`),A(),d(),r}function I8(t,i,s){const a=A8(P8(t.path),s),r=Gn(a,{record:t,parent:i,children:[],alias:[]});return i&&!r.record.aliasOf==!i.record.aliasOf&&i.children.push(r),r}function N8(t,i){const s=[],a=new Map;i=C3({strict:!1,end:!0,sensitive:!1},i);function r(C){return a.get(C)}function e(C,A,R){const L=!R,B=M8(C);B.aliasOf=R&&R.record;const I=C3(i,C),z=[B];if("alias"in C){const oe=typeof C.alias=="string"?[C.alias]:C.alias;for(const j of oe)z.push(Gn({},B,{components:R?R.record.components:B.components,path:j,aliasOf:R?R.record:B}))}let H,K;for(const oe of z){const{path:j}=oe;if(A&&j[0]!=="/"){const G=A.record.path,Z=G[G.length-1]==="/"?"":"/";oe.path=A.record.path+(j&&Z+j)}if(H=I8(oe,A,I),R?R.alias.push(H):(K=K||H,K!==H&&K.alias.push(H),L&&C.name&&!x3(H)&&d(C.name)),B.children){const G=B.children;for(let Z=0;Z<G.length;Z++)e(G[Z],H,R&&R.children[Z])}R=R||H,(H.record.components&&Object.keys(H.record.components).length||H.record.name||H.record.redirect)&&w(H)}return K?()=>{d(K)}:gp}function d(C){if(fE(C)){const A=a.get(C);A&&(a.delete(C),s.splice(s.indexOf(A),1),A.children.forEach(d),A.alias.forEach(d))}else{const A=s.indexOf(C);A>-1&&(s.splice(A,1),C.record.name&&a.delete(C.record.name),C.children.forEach(d),C.alias.forEach(d))}}function y(){return s}function w(C){let A=0;for(;A<s.length&&k8(C,s[A])>=0&&(C.record.path!==s[A].record.path||!dE(C,s[A]));)A++;s.splice(A,0,C),C.record.name&&!x3(C)&&a.set(C.record.name,C)}function F(C,A){let R,L={},B,I;if("name"in C&&C.name){if(R=a.get(C.name),!R)throw Pd(1,{location:C});I=R.record.name,L=Gn(E3(A.params,R.keys.filter(K=>!K.optional).map(K=>K.name)),C.params&&E3(C.params,R.keys.map(K=>K.name))),B=R.stringify(L)}else if("path"in C)B=C.path,R=s.find(K=>K.re.test(B)),R&&(L=R.parse(B),I=R.record.name);else{if(R=A.name?a.get(A.name):s.find(K=>K.re.test(A.path)),!R)throw Pd(1,{location:C,currentLocation:A});I=R.record.name,L=Gn({},A.params,C.params),B=R.stringify(L)}const z=[];let H=R;for(;H;)z.unshift(H.record),H=H.parent;return{name:I,path:B,params:L,matched:z,meta:B8(z)}}return t.forEach(C=>e(C)),{addRoute:e,resolve:F,removeRoute:d,getRoutes:y,getRecordMatcher:r}}function E3(t,i){const s={};for(const a of i)a in t&&(s[a]=t[a]);return s}function M8(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:L8(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function L8(t){const i={},s=t.props||!1;if("component"in t)i.default=s;else for(const a in t.components)i[a]=typeof s=="object"?s[a]:s;return i}function x3(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function B8(t){return t.reduce((i,s)=>Gn(i,s.meta),{})}function C3(t,i){const s={};for(const a in t)s[a]=a in i?i[a]:t[a];return s}function dE(t,i){return i.children.some(s=>s===t||dE(t,s))}const pE=/#/g,U8=/&/g,$8=/\//g,H8=/=/g,W8=/\?/g,gE=/\+/g,z8=/%5B/g,G8=/%5D/g,mE=/%5E/g,j8=/%60/g,vE=/%7B/g,V8=/%7C/g,bE=/%7D/g,Y8=/%20/g;function Ty(t){return encodeURI(""+t).replace(V8,"|").replace(z8,"[").replace(G8,"]")}function q8(t){return Ty(t).replace(vE,"{").replace(bE,"}").replace(mE,"^")}function y4(t){return Ty(t).replace(gE,"%2B").replace(Y8,"+").replace(pE,"%23").replace(U8,"%26").replace(j8,"`").replace(vE,"{").replace(bE,"}").replace(mE,"^")}function K8(t){return y4(t).replace(H8,"%3D")}function Q8(t){return Ty(t).replace(pE,"%23").replace(W8,"%3F")}function X8(t){return t==null?"":Q8(t).replace($8,"%2F")}function n2(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function J8(t){const i={};if(t===""||t==="?")return i;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<a.length;++r){const e=a[r].replace(gE," "),d=e.indexOf("="),y=n2(d<0?e:e.slice(0,d)),w=d<0?null:n2(e.slice(d+1));if(y in i){let F=i[y];vl(F)||(F=i[y]=[F]),F.push(w)}else i[y]=w}return i}function T3(t){let i="";for(let s in t){const a=t[s];if(s=K8(s),a==null){a!==void 0&&(i+=(i.length?"&":"")+s);continue}(vl(a)?a.map(e=>e&&y4(e)):[a&&y4(a)]).forEach(e=>{e!==void 0&&(i+=(i.length?"&":"")+s,e!=null&&(i+="="+e))})}return i}function Z8(t){const i={};for(const s in t){const a=t[s];a!==void 0&&(i[s]=vl(a)?a.map(r=>r==null?null:""+r):a==null?a:""+a)}return i}const eS=Symbol(""),A3=Symbol(""),K2=Symbol(""),Ay=Symbol(""),_4=Symbol("");function ep(){let t=[];function i(a){return t.push(a),()=>{const r=t.indexOf(a);r>-1&&t.splice(r,1)}}function s(){t=[]}return{add:i,list:()=>t.slice(),reset:s}}function nf(t,i,s,a,r){const e=a&&(a.enterCallbacks[r]=a.enterCallbacks[r]||[]);return()=>new Promise((d,y)=>{const w=A=>{A===!1?y(Pd(4,{from:s,to:i})):A instanceof Error?y(A):x8(A)?y(Pd(2,{from:i,to:A})):(e&&a.enterCallbacks[r]===e&&typeof A=="function"&&e.push(A),d())},F=t.call(a&&a.instances[r],i,s,w);let C=Promise.resolve(F);t.length<3&&(C=C.then(w)),C.catch(A=>y(A))})}function Rb(t,i,s,a){const r=[];for(const e of t)for(const d in e.components){let y=e.components[d];if(!(i!=="beforeRouteEnter"&&!e.instances[d]))if(tS(y)){const F=(y.__vccOpts||y)[i];F&&r.push(nf(F,s,a,e,d))}else{let w=y();r.push(()=>w.then(F=>{if(!F)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${e.path}"`));const C=l8(F)?F.default:F;e.components[d]=C;const R=(C.__vccOpts||C)[i];return R&&nf(R,s,a,e,d)()}))}}return r}function tS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function S3(t){const i=fa(K2),s=fa(Ay),a=gn(()=>i.resolve(gr(t.to))),r=gn(()=>{const{matched:w}=a.value,{length:F}=w,C=w[F-1],A=s.matched;if(!C||!A.length)return-1;const R=A.findIndex(Od.bind(null,C));if(R>-1)return R;const L=k3(w[F-2]);return F>1&&k3(C)===L&&A[A.length-1].path!==L?A.findIndex(Od.bind(null,w[F-2])):R}),e=gn(()=>r.value>-1&&sS(s.params,a.value.params)),d=gn(()=>r.value>-1&&r.value===s.matched.length-1&&oE(s.params,a.value.params));function y(w={}){return iS(w)?i[gr(t.replace)?"replace":"push"](gr(t.to)).catch(gp):Promise.resolve()}return{route:a,href:gn(()=>a.value.href),isActive:e,isExactActive:d,navigate:y}}const rS=ls({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:S3,setup(t,{slots:i}){const s=vf(S3(t)),{options:a}=fa(K2),r=gn(()=>({[O3(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[O3(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=i.default&&i.default(s);return t.custom?e:ah("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},e)}}}),nS=rS;function iS(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 i=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return t.preventDefault&&t.preventDefault(),!0}}function sS(t,i){for(const s in i){const a=i[s],r=t[s];if(typeof a=="string"){if(a!==r)return!1}else if(!vl(r)||r.length!==a.length||a.some((e,d)=>e!==r[d]))return!1}return!0}function k3(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const O3=(t,i,s)=>t??i??s,aS=ls({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:i,slots:s}){const a=fa(_4),r=gn(()=>t.route||a.value),e=fa(A3,0),d=gn(()=>{let F=gr(e);const{matched:C}=r.value;let A;for(;(A=C[F])&&!A.components;)F++;return F}),y=gn(()=>r.value.matched[d.value]);cp(A3,gn(()=>d.value+1)),cp(eS,y),cp(_4,r);const w=ur();return ri(()=>[w.value,y.value,t.name],([F,C,A],[R,L,B])=>{C&&(C.instances[A]=F,L&&L!==C&&F&&F===R&&(C.leaveGuards.size||(C.leaveGuards=L.leaveGuards),C.updateGuards.size||(C.updateGuards=L.updateGuards))),F&&C&&(!L||!Od(C,L)||!R)&&(C.enterCallbacks[A]||[]).forEach(I=>I(F))},{flush:"post"}),()=>{const F=r.value,C=t.name,A=y.value,R=A&&A.components[C];if(!R)return R3(s.default,{Component:R,route:F});const L=A.props[C],B=L?L===!0?F.params:typeof L=="function"?L(F):L:null,z=ah(R,Gn({},B,i,{onVnodeUnmounted:H=>{H.component.isUnmounted&&(A.instances[C]=null)},ref:w}));return R3(s.default,{Component:z,route:F})||z}}});function R3(t,i){if(!t)return null;const s=t(i);return s.length===1?s[0]:s}const oS=aS;function lS(t){const i=N8(t.routes,t),s=t.parseQuery||J8,a=t.stringifyQuery||T3,r=t.history,e=ep(),d=ep(),y=ep(),w=wd(Qu);let F=Qu;pd&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const C=Sb.bind(null,se=>""+se),A=Sb.bind(null,X8),R=Sb.bind(null,n2);function L(se,Ve){let Ce,gt;return fE(se)?(Ce=i.getRecordMatcher(se),gt=Ve):gt=se,i.addRoute(gt,Ce)}function B(se){const Ve=i.getRecordMatcher(se);Ve&&i.removeRoute(Ve)}function I(){return i.getRoutes().map(se=>se.record)}function z(se){return!!i.getRecordMatcher(se)}function H(se,Ve){if(Ve=Gn({},Ve||w.value),typeof se=="string"){const he=kb(s,se,Ve.path),Ye=i.resolve({path:he.path},Ve),Qe=r.createHref(he.fullPath);return Gn(he,Ye,{params:R(Ye.params),hash:n2(he.hash),redirectedFrom:void 0,href:Qe})}let Ce;if("path"in se)Ce=Gn({},se,{path:kb(s,se.path,Ve.path).path});else{const he=Gn({},se.params);for(const Ye in he)he[Ye]==null&&delete he[Ye];Ce=Gn({},se,{params:A(he)}),Ve.params=A(Ve.params)}const gt=i.resolve(Ce,Ve),Zt=se.hash||"";gt.params=C(R(gt.params));const ne=f8(a,Gn({},se,{hash:q8(Zt),path:gt.path})),ce=r.createHref(ne);return Gn({fullPath:ne,hash:Zt,query:a===T3?Z8(se.query):se.query||{}},gt,{redirectedFrom:void 0,href:ce})}function K(se){return typeof se=="string"?kb(s,se,w.value.path):Gn({},se)}function oe(se,Ve){if(F!==se)return Pd(8,{from:Ve,to:se})}function j(se){return ie(se)}function G(se){return j(Gn(K(se),{replace:!0}))}function Z(se){const Ve=se.matched[se.matched.length-1];if(Ve&&Ve.redirect){const{redirect:Ce}=Ve;let gt=typeof Ce=="function"?Ce(se):Ce;return typeof gt=="string"&&(gt=gt.includes("?")||gt.includes("#")?gt=K(gt):{path:gt},gt.params={}),Gn({query:se.query,hash:se.hash,params:"path"in gt?{}:se.params},gt)}}function ie(se,Ve){const Ce=F=H(se),gt=w.value,Zt=se.state,ne=se.force,ce=se.replace===!0,he=Z(Ce);if(he)return ie(Gn(K(he),{state:typeof he=="object"?Gn({},Zt,he.state):Zt,force:ne,replace:ce}),Ve||Ce);const Ye=Ce;Ye.redirectedFrom=Ve;let Qe;return!ne&&h8(a,gt,Ce)&&(Qe=Pd(16,{to:Ye,from:gt}),me(gt,gt,!0,!1)),(Qe?Promise.resolve(Qe):ue(Ye,gt)).catch(tt=>Ic(tt)?Ic(tt,2)?tt:Je(tt):pt(tt,Ye,gt)).then(tt=>{if(tt){if(Ic(tt,2))return ie(Gn({replace:ce},K(tt.to),{state:typeof tt.to=="object"?Gn({},Zt,tt.to.state):Zt,force:ne}),Ve||Ye)}else tt=Ie(Ye,gt,!0,ce,Zt);return we(Ye,gt,tt),tt})}function re(se,Ve){const Ce=oe(se,Ve);return Ce?Promise.reject(Ce):Promise.resolve()}function ae(se){const Ve=je.values().next().value;return Ve&&typeof Ve.runWithContext=="function"?Ve.runWithContext(se):se()}function ue(se,Ve){let Ce;const[gt,Zt,ne]=cS(se,Ve);Ce=Rb(gt.reverse(),"beforeRouteLeave",se,Ve);for(const he of gt)he.leaveGuards.forEach(Ye=>{Ce.push(nf(Ye,se,Ve))});const ce=re.bind(null,se,Ve);return Ce.push(ce),ze(Ce).then(()=>{Ce=[];for(const he of e.list())Ce.push(nf(he,se,Ve));return Ce.push(ce),ze(Ce)}).then(()=>{Ce=Rb(Zt,"beforeRouteUpdate",se,Ve);for(const he of Zt)he.updateGuards.forEach(Ye=>{Ce.push(nf(Ye,se,Ve))});return Ce.push(ce),ze(Ce)}).then(()=>{Ce=[];for(const he of ne)if(he.beforeEnter)if(vl(he.beforeEnter))for(const Ye of he.beforeEnter)Ce.push(nf(Ye,se,Ve));else Ce.push(nf(he.beforeEnter,se,Ve));return Ce.push(ce),ze(Ce)}).then(()=>(se.matched.forEach(he=>he.enterCallbacks={}),Ce=Rb(ne,"beforeRouteEnter",se,Ve),Ce.push(ce),ze(Ce))).then(()=>{Ce=[];for(const he of d.list())Ce.push(nf(he,se,Ve));return Ce.push(ce),ze(Ce)}).catch(he=>Ic(he,8)?he:Promise.reject(he))}function we(se,Ve,Ce){y.list().forEach(gt=>ae(()=>gt(se,Ve,Ce)))}function Ie(se,Ve,Ce,gt,Zt){const ne=oe(se,Ve);if(ne)return ne;const ce=Ve===Qu,he=pd?history.state:{};Ce&&(gt||ce?r.replace(se.fullPath,Gn({scroll:ce&&he&&he.scroll},Zt)):r.push(se.fullPath,Zt)),w.value=se,me(se,Ve,Ce,ce),Je()}let Ae;function Ee(){Ae||(Ae=r.listen((se,Ve,Ce)=>{if(!xe.listening)return;const gt=H(se),Zt=Z(gt);if(Zt){ie(Gn(Zt,{replace:!0}),gt).catch(gp);return}F=gt;const ne=w.value;pd&&b8(y3(ne.fullPath,Ce.delta),q2()),ue(gt,ne).catch(ce=>Ic(ce,12)?ce:Ic(ce,2)?(ie(ce.to,gt).then(he=>{Ic(he,20)&&!Ce.delta&&Ce.type===Rd.pop&&r.go(-1,!1)}).catch(gp),Promise.reject()):(Ce.delta&&r.go(-Ce.delta,!1),pt(ce,gt,ne))).then(ce=>{ce=ce||Ie(gt,ne,!1),ce&&(Ce.delta&&!Ic(ce,8)?r.go(-Ce.delta,!1):Ce.type===Rd.pop&&Ic(ce,20)&&r.go(-1,!1)),we(gt,ne,ce)}).catch(gp)}))}let We=ep(),Xe=ep(),Me;function pt(se,Ve,Ce){Je(se);const gt=Xe.list();return gt.length?gt.forEach(Zt=>Zt(se,Ve,Ce)):console.error(se),Promise.reject(se)}function mt(){return Me&&w.value!==Qu?Promise.resolve():new Promise((se,Ve)=>{We.add([se,Ve])})}function Je(se){return Me||(Me=!se,Ee(),We.list().forEach(([Ve,Ce])=>se?Ce(se):Ve()),We.reset()),se}function me(se,Ve,Ce,gt){const{scrollBehavior:Zt}=t;if(!pd||!Zt)return Promise.resolve();const ne=!Ce&&y8(y3(se.fullPath,0))||(gt||!Ce)&&history.state&&history.state.scroll||null;return ql().then(()=>Zt(se,Ve,ne)).then(ce=>ce&&v8(ce)).catch(ce=>pt(ce,se,Ve))}const Ke=se=>r.go(se);let lt;const je=new Set,xe={currentRoute:w,listening:!0,addRoute:L,removeRoute:B,hasRoute:z,getRoutes:I,resolve:H,options:t,push:j,replace:G,go:Ke,back:()=>Ke(-1),forward:()=>Ke(1),beforeEach:e.add,beforeResolve:d.add,afterEach:y.add,onError:Xe.add,isReady:mt,install(se){const Ve=this;se.component("RouterLink",nS),se.component("RouterView",oS),se.config.globalProperties.$router=Ve,Object.defineProperty(se.config.globalProperties,"$route",{enumerable:!0,get:()=>gr(w)}),pd&&!lt&&w.value===Qu&&(lt=!0,j(r.location).catch(Zt=>{}));const Ce={};for(const Zt in Qu)Object.defineProperty(Ce,Zt,{get:()=>w.value[Zt],enumerable:!0});se.provide(K2,Ve),se.provide(Ay,X4(Ce)),se.provide(_4,w);const gt=se.unmount;je.add(se),se.unmount=function(){je.delete(se),je.size<1&&(F=Qu,Ae&&Ae(),Ae=null,w.value=Qu,lt=!1,Me=!1),gt()}}};function ze(se){return se.reduce((Ve,Ce)=>Ve.then(()=>ae(Ce)),Promise.resolve())}return xe}function cS(t,i){const s=[],a=[],r=[],e=Math.max(i.matched.length,t.matched.length);for(let d=0;d<e;d++){const y=i.matched[d];y&&(t.matched.find(F=>Od(F,y))?a.push(y):s.push(y));const w=t.matched[d];w&&(i.matched.find(F=>Od(F,w))||r.push(w))}return[s,a,r]}function uS(){return fa(K2)}function fS(){return fa(Ay)}function w4(t,i={},s){for(const a in t){const r=t[a],e=s?`${s}:${a}`:a;typeof r=="object"&&r!==null?w4(r,i,e):typeof r=="function"&&(i[e]=r)}return i}const hS={run:t=>t()},dS=()=>hS,yE=typeof console.createTask<"u"?console.createTask:dS;function pS(t,i){const s=i.shift(),a=yE(s);return t.reduce((r,e)=>r.then(()=>a.run(()=>e(...i))),Promise.resolve())}function gS(t,i){const s=i.shift(),a=yE(s);return Promise.all(t.map(r=>a.run(()=>r(...i))))}function Pb(t,i){for(const s of[...t])s(i)}class mS{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(i,s,a={}){if(!i||typeof s!="function")return()=>{};const r=i;let e;for(;this._deprecatedHooks[i];)e=this._deprecatedHooks[i],i=e.to;if(e&&!a.allowDeprecated){let d=e.message;d||(d=`${r} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(d)||(console.warn(d),this._deprecatedMessages.add(d))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+i.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[i]=this._hooks[i]||[],this._hooks[i].push(s),()=>{s&&(this.removeHook(i,s),s=void 0)}}hookOnce(i,s){let a,r=(...e)=>(typeof a=="function"&&a(),a=void 0,r=void 0,s(...e));return a=this.hook(i,r),a}removeHook(i,s){if(this._hooks[i]){const a=this._hooks[i].indexOf(s);a!==-1&&this._hooks[i].splice(a,1),this._hooks[i].length===0&&delete this._hooks[i]}}deprecateHook(i,s){this._deprecatedHooks[i]=typeof s=="string"?{to:s}:s;const a=this._hooks[i]||[];delete this._hooks[i];for(const r of a)this.hook(i,r)}deprecateHooks(i){Object.assign(this._deprecatedHooks,i);for(const s in i)this.deprecateHook(s,i[s])}addHooks(i){const s=w4(i),a=Object.keys(s).map(r=>this.hook(r,s[r]));return()=>{for(const r of a.splice(0,a.length))r()}}removeHooks(i){const s=w4(i);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const i in this._hooks)delete this._hooks[i]}callHook(i,...s){return s.unshift(i),this.callHookWith(pS,i,...s)}callHookParallel(i,...s){return s.unshift(i),this.callHookWith(gS,i,...s)}callHookWith(i,s,...a){const r=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&Pb(this._before,r);const e=i(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&r&&Pb(this._after,r)}):(this._after&&r&&Pb(this._after,r),e)}beforeEach(i){return this._before=this._before||[],this._before.push(i),()=>{if(this._before!==void 0){const s=this._before.indexOf(i);s!==-1&&this._before.splice(s,1)}}}afterEach(i){return this._after=this._after||[],this._after.push(i),()=>{if(this._after!==void 0){const s=this._after.indexOf(i);s!==-1&&this._after.splice(s,1)}}}}function vS(){return new mS}function bS(t){return Array.isArray(t)?t:[t]}const yS=["title","titleTemplate","script","style","noscript"],Hm=["base","meta","link","style","script","noscript"],_S=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],wS=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],_E=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],DS=typeof window<"u";function wE(t){let i=9;for(let s=0;s<t.length;)i=Math.imul(i^t.charCodeAt(s++),9**9);return((i^i>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function P3(t){return t._h||wE(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`)}function DE(t,i){const{props:s,tag:a}=t;if(wS.includes(a))return a;if(a==="link"&&s.rel==="canonical")return"canonical";if(s.charset)return"charset";const r=["id"];a==="meta"&&r.push("name","property","http-equiv");for(const e of r)if(typeof s[e]<"u"){const d=String(s[e]);return i&&!i(d)?!1:`${a}:${e}:${d}`}return!1}function I3(t,i){return t==null?i||null:typeof t=="function"?t(i):t}async function FS(t,i,s){const a={tag:t,props:await FE(typeof i=="object"&&typeof i!="function"&&!(i instanceof Promise)?{...i}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:i},["templateParams","titleTemplate"].includes(t))};return _E.forEach(r=>{const e=typeof a.props[r]<"u"?a.props[r]:s[r];typeof e<"u"&&((!["innerHTML","textContent"].includes(r)||yS.includes(a.tag))&&(a[r]=e),delete a.props[r])}),a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.props.children&&(a.innerHTML=a.props.children,delete a.props.children),a.tag==="script"&&(typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),a.innerHTML&&["application/ld+json","application/json"].includes(a.props.type)&&(a.innerHTML=a.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(a.props.content)?a.props.content.map(r=>({...a,props:{...a.props,content:r}})):a}function ES(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(i=>t[i])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(i=>i.trim()).filter(Boolean).join(" ")}async function FE(t,i){for(const s of Object.keys(t)){if(s==="class"){t[s]=ES(t[s]);continue}if(t[s]instanceof Promise&&(t[s]=await t[s]),!i&&!_E.includes(s)){const a=String(t[s]),r=s.startsWith("data-");a==="true"||a===""?t[s]=r?"true":!0:t[s]||(r&&a==="false"?t[s]="false":delete t[s])}}return t}const xS=10;async function CS(t){const i=[];return Object.entries(t.resolvedInput).filter(([s,a])=>typeof a<"u"&&_S.includes(s)).forEach(([s,a])=>{const r=bS(a);i.push(...r.map(e=>FS(s,e,t)).flat())}),(await Promise.all(i)).flat().filter(Boolean).map((s,a)=>(s._e=t._i,t.mode&&(s._m=t.mode),s._p=(t._i<<xS)+a,s))}const N3={base:-10,title:10},M3={critical:-80,high:-10,low:20};function i2(t){let i=100;const s=t.tagPriority;return typeof s=="number"?s:(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 N3&&(i=N3[t.tag]),typeof s=="string"&&s in M3?i+M3[s]:i)}const TS=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Xu="%separator";function B0(t,i,s){if(typeof t!="string"||!t.includes("%"))return t;function a(d){let y;return["s","pageTitle"].includes(d)?y=i.pageTitle:d.includes(".")?y=d.split(".").reduce((w,F)=>w&&w[F]||void 0,i):y=i[d],typeof y<"u"?(y||"").replace(/"/g,'\\"'):!1}let r=t;try{r=decodeURI(t)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(d=>{const y=a(d.slice(1));typeof y=="string"&&(t=t.replace(new RegExp(`\\${d}(\\W|$)`,"g"),(w,F)=>`${y}${F}`).trim())}),t.includes(Xu)&&(t.endsWith(Xu)&&(t=t.slice(0,-Xu.length).trim()),t.startsWith(Xu)&&(t=t.slice(Xu.length).trim()),t=t.replace(new RegExp(`\\${Xu}\\s*\\${Xu}`,"g"),Xu),t=B0(t,{separator:s},s)),t}async function AS(t){const i={tag:t.tagName.toLowerCase(),props:await FE(t.getAttributeNames().reduce((s,a)=>({...s,[a]:t.getAttribute(a)}),{})),innerHTML:t.innerHTML};return i._d=DE(i),i}async function SS(t,i={}){var C;const s=i.document||t.resolvedOptions.document;if(!s)return;const a={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const r=(await t.resolveTags()).map(A=>({tag:A,id:Hm.includes(A.tag)?P3(A):A.tag,shouldRender:!0}));let e=t._dom;if(!e){e={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};for(const A of["body","head"]){const R=(C=s==null?void 0:s[A])==null?void 0:C.children;for(const L of[...R].filter(B=>Hm.includes(B.tagName.toLowerCase())))e.elMap[L.getAttribute("data-hid")||P3(await AS(L))]=L}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function d(A,R,L){const B=`${A}:${R}`;e.sideEffects[B]=L,delete e.pendingSideEffects[B]}function y({id:A,$el:R,tag:L}){const B=L.tag.endsWith("Attrs");e.elMap[A]=R,B||(["textContent","innerHTML"].forEach(I=>{L[I]&&L[I]!==R[I]&&(R[I]=L[I])}),d(A,"el",()=>{e.elMap[A].remove(),delete e.elMap[A]})),Object.entries(L.props).forEach(([I,z])=>{const H=`attr:${I}`;if(I==="class")for(const K of(z||"").split(" ").filter(Boolean))B&&d(A,`${H}:${K}`,()=>R.classList.remove(K)),!R.classList.contains(K)&&R.classList.add(K);else R.getAttribute(I)!==z&&R.setAttribute(I,z===!0?"":String(z)),B&&d(A,H,()=>R.removeAttribute(I))})}const w=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const A of r){const{tag:R,shouldRender:L,id:B}=A;if(L){if(R.tag==="title"){s.title=R.textContent;continue}A.$el=A.$el||e.elMap[B],A.$el?y(A):Hm.includes(R.tag)&&w.push(A)}}for(const A of w){const R=A.tag.tagPosition||"head";A.$el=s.createElement(A.tag.tag),y(A),F[R]=F[R]||s.createDocumentFragment(),F[R].appendChild(A.$el)}for(const A of r)await t.hooks.callHook("dom:renderTag",A,s,d);F.head&&s.head.appendChild(F.head),F.bodyOpen&&s.body.insertBefore(F.bodyOpen,s.body.firstChild),F.bodyClose&&s.body.appendChild(F.bodyClose),Object.values(e.pendingSideEffects).forEach(A=>A()),t._dom=e,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:r})}async function kS(t,i={}){const s=i.delayFn||(a=>setTimeout(a,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(a=>s(async()=>{await SS(t,i),delete t._domUpdatePromise,a()}))}function OS(t){return i=>{var a,r;const s=((r=(a=i.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return s&&i.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":function(e){kS(e,t)}}}}}const RS=["templateParams","htmlAttrs","bodyAttrs"],PS={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(a=>{t.props[a]&&(t.key=t.props[a],delete t.props[a])});const s=DE(t)||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":function(t){const i={};t.tags.forEach(a=>{const r=(a.key?`${a.tag}:${a.key}`:a._d)||a._p,e=i[r];if(e){let y=a==null?void 0:a.tagDuplicateStrategy;if(!y&&RS.includes(a.tag)&&(y="merge"),y==="merge"){const w=e.props;["class","style"].forEach(F=>{a.props[F]&&w[F]&&(F==="style"&&!w[F].endsWith(";")&&(w[F]+=";"),a.props[F]=`${w[F]} ${a.props[F]}`)}),i[r].props={...w,...a.props};return}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);return}else if(i2(a)>i2(e))return}const d=Object.keys(a.props).length+(a.innerHTML?1:0)+(a.textContent?1:0);if(Hm.includes(a.tag)&&d===0){delete i[r];return}i[r]=a});const s=[];Object.values(i).forEach(a=>{const r=a._duped;delete a._duped,s.push(a),r&&s.push(...r)}),t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},IS={mode:"server",hooks:{"tags:resolve":function(t){const i={};t.tags.filter(s=>["titleTemplate","templateParams","title"].includes(s.tag)&&s._m==="server").forEach(s=>{i[s.tag]=s.tag.startsWith("title")?s.textContent:s.props}),Object.keys(i).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(i),props:{id:"unhead:payload",type:"application/json"}})}}},L3=["script","link","bodyAttrs"];function B3(t){const i={},s={};return Object.entries(t.props).forEach(([a,r])=>{a.startsWith("on")&&typeof r=="function"?s[a]=r:i[a]=r}),{props:i,eventHandlers:s}}const NS={hooks:{"ssr:render":function(t){t.tags=t.tags.map(i=>(!L3.includes(i.tag)||!Object.entries(i.props).find(([s,a])=>s.startsWith("on")&&typeof a=="function")||(i.props=B3(i).props),i))},"tags:resolve":function(t){t.tags=t.tags.map(i=>{if(!L3.includes(i.tag))return i;const{props:s,eventHandlers:a}=B3(i);return Object.keys(a).length&&(i.props=s,i._eventHandlers=a),i})},"dom:renderTag":function(t,i,s){if(!t.tag._eventHandlers)return;const a=t.tag.tag==="bodyAttrs"?i.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,e])=>{const d=`${t.tag._d||t.tag._p}:${r}`,y=r.slice(2).toLowerCase(),w=`data-h-${y}`;if(s(t.id,d,()=>{}),t.$el.hasAttribute(w))return;const F=e;t.$el.setAttribute(w,""),a.addEventListener(y,F),t.entry&&s(t.id,d,()=>{a.removeEventListener(y,F),t.$el.removeAttribute(w)})})}}},MS=["link","style","script","noscript"],LS={hooks:{"tag:normalise":({tag:t})=>{t.key&&MS.includes(t.tag)&&(t.props["data-hid"]=t._h=wE(t.key))}}},BS={hooks:{"tags:resolve":t=>{const i=s=>{var a;return(a=t.tags.find(r=>r._d===s))==null?void 0:a._p};for(const{prefix:s,offset:a}of TS)for(const r of t.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(s))){const e=i(r.tagPriority.replace(s,""));typeof e<"u"&&(r._p=e+a)}t.tags.sort((s,a)=>s._p-a._p).sort((s,a)=>i2(s)-i2(a))}}},US={hooks:{"tags:resolve":t=>{var d;const{tags:i}=t,s=(d=i.find(y=>y.tag==="title"))==null?void 0:d.textContent,a=i.findIndex(y=>y.tag==="templateParams"),r=a!==-1?i[a].props:{},e=r.separator||"|";delete r.separator,r.pageTitle=B0(r.pageTitle||s||"",r,e);for(const y of i)y.processTemplateParams!==!1&&(["titleTemplate","title"].includes(y.tag)&&typeof y.textContent=="string"?y.textContent=B0(y.textContent,r,e):y.tag==="meta"&&typeof y.props.content=="string"?y.props.content=B0(y.props.content,r,e):y.tag==="link"&&typeof y.props.href=="string"?y.props.href=B0(y.props.href,r,e):y.processTemplateParams===!0&&(y.innerHTML?y.innerHTML=B0(y.innerHTML,r,e):y.textContent&&(y.textContent=B0(y.textContent,r,e))));t.tags=i.filter(y=>y.tag!=="templateParams")}}},$S={hooks:{"tags:resolve":t=>{const{tags:i}=t;let s=i.findIndex(r=>r.tag==="titleTemplate");const a=i.findIndex(r=>r.tag==="title");if(a!==-1&&s!==-1){const r=I3(i[s].textContent,i[a].textContent);r!==null?i[a].textContent=r||i[a].textContent:delete i[a]}else if(s!==-1){const r=I3(i[s].textContent);r!==null&&(i[s].textContent=r,i[s].tag="title",s=-1)}s!==-1&&delete i[s],t.tags=i.filter(Boolean)}}};function HS(t={}){const i=WS(t);return i.use(OS()),i}function U3(t,i){return!t||t==="server"&&i||t==="client"&&!i}function WS(t={}){const i=vS();i.addHooks(t.hooks||{}),t.document=t.document||(DS?document:void 0);const s=!t.document;t.plugins=[PS,IS,NS,LS,BS,US,$S,...(t==null?void 0:t.plugins)||[]];const a=()=>{d.dirty=!0,i.callHook("entries:updated",d)};let r=0,e=[];const d={dirty:!1,resolvedOptions:t,hooks:i,headEntries(){return e},use(y){const w=typeof y=="function"?y(d):y;U3(w.mode,s)&&i.addHooks(w.hooks||{})},push(y,w){w==null||delete w.head;const F={_i:r++,input:y,...w};return U3(F.mode,s)&&(e.push(F),a()),{dispose(){e=e.filter(C=>C._i!==F._i),i.callHook("entries:updated",d),a()},patch(C){e=e.map(A=>(A._i===F._i&&(A.input=F.input=C),A)),a()}}},async resolveTags(){const y={tags:[],entries:[...e]};await i.callHook("entries:resolve",y);for(const w of y.entries){const F=w.resolvedInput||w.input;if(w.resolvedInput=await(w.transform?w.transform(F):F),w.resolvedInput)for(const C of await CS(w)){const A={tag:C,entry:w,resolvedOptions:d.resolvedOptions};await i.callHook("tag:normalise",A),y.tags.push(A.tag)}}return await i.callHook("tags:beforeResolve",y),await i.callHook("tags:resolve",y),y.tags},ssr:s};return t.plugins.forEach(y=>d.use(y)),d.hooks.callHook("init",d),d}const zS=_y.startsWith("3");function GS(t){return typeof t=="function"?t():gr(t)}function D4(t,i=""){if(t instanceof Promise)return t;const s=GS(t);return!t||!s?s:Array.isArray(s)?s.map(a=>D4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,gr(r)]:[a,D4(r,a)])):s}const jS={hooks:{"entries:resolve":function(t){for(const i of t.entries)i.resolvedInput=D4(i.input)}}},VS="usehead";function YS(t){return{install(s){zS&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(VS,t))}}.install}function qS(t={}){t.domDelayFn=t.domDelayFn||(s=>ql(()=>setTimeout(()=>s(),0)));const i=HS(t);return i.use(jS),i.install=YS(i),i}function KS(t){try{return JSON.parse(t||"{}")}catch(i){return console.error("[SSG] On state deserialization -",i,t),{}}}function QS(t){return document.readyState==="loading"?new Promise(i=>{document.addEventListener("DOMContentLoaded",()=>i(t))}):Promise.resolve(t)}const XS=ls({setup(t,{slots:i}){const s=ur(!1);return bl(()=>s.value=!0),()=>s.value?i.default&&i.default({}):i.placeholder&&i.placeholder({})}});function JS(t,i,s,a={}){const{transformState:r,registerComponents:e=!0,useHead:d=!0,rootContainer:y="#app"}=a,w=typeof window<"u";async function F(C=!1,A){const R=C?Ey(t):GF(t);let L;d&&(L=qS(),R.use(L));const B=lS({history:C?F8(i.base):E8(i.base),...i}),{routes:I}=i;e&&R.component("ClientOnly",XS);const z=[],oe={app:R,head:L,isClient:w,router:B,routes:I,onSSRAppRendered:C?()=>{}:ie=>z.push(ie),triggerOnSSRAppRendered:()=>Promise.all(z.map(ie=>ie())),initialState:{},transformState:r,routePath:A};C&&(await QS(),oe.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||KS(window.__INITIAL_STATE__)),await(s==null?void 0:s(oe)),R.use(B);let j,G=!0;if(B.beforeEach((ie,re,ae)=>{(G||j&&j===ie.path)&&(G=!1,j=ie.path,ie.meta.state=oe.initialState),ae()}),!C){const ie=oe.routePath??"/";B.push(ie),await B.isReady(),oe.initialState=B.currentRoute.value.meta.state||{}}const Z=oe.initialState;return{...oe,initialState:Z}}return w&&(async()=>{const{app:C,router:A}=await F(!0);await A.isReady(),C.mount(y,!0)})(),F}var ZS=function(){function t(i,s){s===void 0&&(s=[]),this._eventType=i,this._eventFunctions=s}return t.prototype.init=function(){var i=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(i._eventType,s)})},t}(),s2=globalThis&&globalThis.__assign||function(){return s2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},s2.apply(this,arguments)},a2={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(){}},EE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=a2),this._items=i,this._options=s2(s2({},a2),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&this._items.map(function(s){s.active&&i.open(s.id),s.triggerEl.addEventListener("click",function(){i.toggle(s.id)})})},t.prototype.getItem=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.open=function(i){var s,a,r=this,e=this.getItem(i);this._options.alwaysOpen||this._items.map(function(d){var y,w;d!==e&&((y=d.triggerEl.classList).remove.apply(y,r._options.activeClasses.split(" ")),(w=d.triggerEl.classList).add.apply(w,r._options.inactiveClasses.split(" ")),d.targetEl.classList.add("hidden"),d.triggerEl.setAttribute("aria-expanded","false"),d.active=!1,d.iconEl&&d.iconEl.classList.remove("rotate-180"))}),(s=e.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(a=e.triggerEl.classList).remove.apply(a,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(i){var s=this.getItem(i);s.active?this.close(i):this.open(i),this._options.onToggle(this,s)},t.prototype.close=function(i){var s,a,r=this.getItem(i);(s=r.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=r.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},t}();function Sy(){document.querySelectorAll("[data-accordion]").forEach(function(t){var i=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),r=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var d={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"};r.push(d)}}),new EE(r,{alwaysOpen:i==="open",activeClasses:s||a2.activeClasses,inactiveClasses:a||a2.inactiveClasses})})}typeof window<"u"&&(window.Accordion=EE,window.initAccordions=Sy);var o2=globalThis&&globalThis.__assign||function(){return o2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},o2.apply(this,arguments)},$3={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},xE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=$3),this._targetEl=i,this._triggerEl=s,this._options=o2(o2({},$3),a),this._visible=!1,this._init()}return t.prototype._init=function(){var i=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(){i.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 ky(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var i=t.getAttribute("data-collapse-toggle"),s=document.getElementById(i);s?new xE(s,t):console.error('The target element with id "'.concat(i,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=xE,window.initCollapses=ky);var W0=globalThis&&globalThis.__assign||function(){return W0=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},W0.apply(this,arguments)},Wm={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(){}},CE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=Wm),this._items=i,this._options=W0(W0(W0({},Wm),s),{indicators:W0(W0({},Wm.indicators),s.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 i=this;this._items.map(function(s){s.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(s,a){s.el.addEventListener("click",function(){i.slideTo(a)})})},t.prototype.getItem=function(i){return this._items[i]},t.prototype.slideTo=function(i){var s=this._items[i],a={left:s.position===0?this._items[this._items.length-1]:this._items[s.position-1],middle:s,right:s.position===this._items.length-1?this._items[0]:this._items[s.position+1]};this._rotate(a),this._setActiveItem(s),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var i=this._getActiveItem(),s=null;i.position===this._items.length-1?s=this._items[0]:s=this._items[i.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var i=this._getActiveItem(),s=null;i.position===0?s=this._items[this._items.length-1]:s=this._items[i.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(i){this._items.map(function(s){s.el.classList.add("hidden")}),i.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.left.el.classList.add("-translate-x-full","z-10"),i.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),i.middle.el.classList.add("translate-x-0","z-20"),i.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var i=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){i.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(i){var s,a,r=this;this._activeItem=i;var e=i.position;this._indicators.length&&(this._indicators.map(function(d){var y,w;d.el.setAttribute("aria-current","false"),(y=d.el.classList).remove.apply(y,r._options.indicators.activeClasses.split(" ")),(w=d.el.classList).add.apply(w,r._options.indicators.inactiveClasses.split(" "))}),(s=this._indicators[e].el.classList).add.apply(s,this._options.indicators.activeClasses.split(" ")),(a=this._indicators[e].el.classList).remove.apply(a,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function Oy(){document.querySelectorAll("[data-carousel]").forEach(function(t){var i=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],r=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(F,C){a.push({position:C,el:F}),F.getAttribute("data-carousel-item")==="active"&&(r=C)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(F){e.push({position:parseInt(F.getAttribute("data-carousel-slide-to")),el:F})});var d=new CE(a,{defaultPosition:r,indicators:{items:e},interval:i||Wm.interval});s&&d.cycle();var y=t.querySelector("[data-carousel-next]"),w=t.querySelector("[data-carousel-prev]");y&&y.addEventListener("click",function(){d.next()}),w&&w.addEventListener("click",function(){d.prev()})})}typeof window<"u"&&(window.Carousel=CE,window.initCarousels=Oy);var l2=globalThis&&globalThis.__assign||function(){return l2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},l2.apply(this,arguments)},H3={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},TE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=H3),this._targetEl=i,this._triggerEl=s,this._options=l2(l2({},H3),a),this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){i.hide()})},t.prototype.hide=function(){var i=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){i._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function Ry(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var i=t.getAttribute("data-dismiss-target"),s=document.querySelector(i);s?new TE(s,t):console.error('The dismiss element with id "'.concat(i,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=TE,window.initDismisses=Ry);var Pa="top",Ao="bottom",So="right",Ia="left",Py="auto",Jp=[Pa,Ao,So,Ia],Id="start",Lp="end",e7="clippingParents",AE="viewport",tp="popper",t7="reference",W3=Jp.reduce(function(t,i){return t.concat([i+"-"+Id,i+"-"+Lp])},[]),SE=[].concat(Jp,[Py]).reduce(function(t,i){return t.concat([i,i+"-"+Id,i+"-"+Lp])},[]),r7="beforeRead",n7="read",i7="afterRead",s7="beforeMain",a7="main",o7="afterMain",l7="beforeWrite",c7="write",u7="afterWrite",f7=[r7,n7,i7,s7,a7,o7,l7,c7,u7];function Vl(t){return t?(t.nodeName||"").toLowerCase():null}function so(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var i=t.ownerDocument;return i&&i.defaultView||window}return t}function th(t){var i=so(t).Element;return t instanceof i||t instanceof Element}function Co(t){var i=so(t).HTMLElement;return t instanceof i||t instanceof HTMLElement}function Iy(t){if(typeof ShadowRoot>"u")return!1;var i=so(t).ShadowRoot;return t instanceof i||t instanceof ShadowRoot}function h7(t){var i=t.state;Object.keys(i.elements).forEach(function(s){var a=i.styles[s]||{},r=i.attributes[s]||{},e=i.elements[s];!Co(e)||!Vl(e)||(Object.assign(e.style,a),Object.keys(r).forEach(function(d){var y=r[d];y===!1?e.removeAttribute(d):e.setAttribute(d,y===!0?"":y)}))})}function d7(t){var i=t.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(a){var r=i.elements[a],e=i.attributes[a]||{},d=Object.keys(i.styles.hasOwnProperty(a)?i.styles[a]:s[a]),y=d.reduce(function(w,F){return w[F]="",w},{});!Co(r)||!Vl(r)||(Object.assign(r.style,y),Object.keys(e).forEach(function(w){r.removeAttribute(w)}))})}}const p7={name:"applyStyles",enabled:!0,phase:"write",fn:h7,effect:d7,requires:["computeStyles"]};function Wl(t){return t.split("-")[0]}var Q0=Math.max,c2=Math.min,Nd=Math.round;function F4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function kE(){return!/^((?!chrome|android).)*safari/i.test(F4())}function Md(t,i,s){i===void 0&&(i=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),r=1,e=1;i&&Co(t)&&(r=t.offsetWidth>0&&Nd(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&Nd(a.height)/t.offsetHeight||1);var d=th(t)?so(t):window,y=d.visualViewport,w=!kE()&&s,F=(a.left+(w&&y?y.offsetLeft:0))/r,C=(a.top+(w&&y?y.offsetTop:0))/e,A=a.width/r,R=a.height/e;return{width:A,height:R,top:C,right:F+A,bottom:C+R,left:F,x:F,y:C}}function Ny(t){var i=Md(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(i.width-s)<=1&&(s=i.width),Math.abs(i.height-a)<=1&&(a=i.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function OE(t,i){var s=i.getRootNode&&i.getRootNode();if(t.contains(i))return!0;if(s&&Iy(s)){var a=i;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function zc(t){return so(t).getComputedStyle(t)}function g7(t){return["table","td","th"].indexOf(Vl(t))>=0}function xf(t){return((th(t)?t.ownerDocument:t.document)||window.document).documentElement}function Q2(t){return Vl(t)==="html"?t:t.assignedSlot||t.parentNode||(Iy(t)?t.host:null)||xf(t)}function z3(t){return!Co(t)||zc(t).position==="fixed"?null:t.offsetParent}function m7(t){var i=/firefox/i.test(F4()),s=/Trident/i.test(F4());if(s&&Co(t)){var a=zc(t);if(a.position==="fixed")return null}var r=Q2(t);for(Iy(r)&&(r=r.host);Co(r)&&["html","body"].indexOf(Vl(r))<0;){var e=zc(r);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||i&&e.willChange==="filter"||i&&e.filter&&e.filter!=="none")return r;r=r.parentNode}return null}function Zp(t){for(var i=so(t),s=z3(t);s&&g7(s)&&zc(s).position==="static";)s=z3(s);return s&&(Vl(s)==="html"||Vl(s)==="body"&&zc(s).position==="static")?i:s||m7(t)||i}function My(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function mp(t,i,s){return Q0(t,c2(i,s))}function v7(t,i,s){var a=mp(t,i,s);return a>s?s:a}function RE(){return{top:0,right:0,bottom:0,left:0}}function PE(t){return Object.assign({},RE(),t)}function IE(t,i){return i.reduce(function(s,a){return s[a]=t,s},{})}var b7=function(i,s){return i=typeof i=="function"?i(Object.assign({},s.rects,{placement:s.placement})):i,PE(typeof i!="number"?i:IE(i,Jp))};function y7(t){var i,s=t.state,a=t.name,r=t.options,e=s.elements.arrow,d=s.modifiersData.popperOffsets,y=Wl(s.placement),w=My(y),F=[Ia,So].indexOf(y)>=0,C=F?"height":"width";if(!(!e||!d)){var A=b7(r.padding,s),R=Ny(e),L=w==="y"?Pa:Ia,B=w==="y"?Ao:So,I=s.rects.reference[C]+s.rects.reference[w]-d[w]-s.rects.popper[C],z=d[w]-s.rects.reference[w],H=Zp(e),K=H?w==="y"?H.clientHeight||0:H.clientWidth||0:0,oe=I/2-z/2,j=A[L],G=K-R[C]-A[B],Z=K/2-R[C]/2+oe,ie=mp(j,Z,G),re=w;s.modifiersData[a]=(i={},i[re]=ie,i.centerOffset=ie-Z,i)}}function _7(t){var i=t.state,s=t.options,a=s.element,r=a===void 0?"[data-popper-arrow]":a;r!=null&&(typeof r=="string"&&(r=i.elements.popper.querySelector(r),!r)||OE(i.elements.popper,r)&&(i.elements.arrow=r))}const w7={name:"arrow",enabled:!0,phase:"main",fn:y7,effect:_7,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ld(t){return t.split("-")[1]}var D7={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F7(t,i){var s=t.x,a=t.y,r=i.devicePixelRatio||1;return{x:Nd(s*r)/r||0,y:Nd(a*r)/r||0}}function G3(t){var i,s=t.popper,a=t.popperRect,r=t.placement,e=t.variation,d=t.offsets,y=t.position,w=t.gpuAcceleration,F=t.adaptive,C=t.roundOffsets,A=t.isFixed,R=d.x,L=R===void 0?0:R,B=d.y,I=B===void 0?0:B,z=typeof C=="function"?C({x:L,y:I}):{x:L,y:I};L=z.x,I=z.y;var H=d.hasOwnProperty("x"),K=d.hasOwnProperty("y"),oe=Ia,j=Pa,G=window;if(F){var Z=Zp(s),ie="clientHeight",re="clientWidth";if(Z===so(s)&&(Z=xf(s),zc(Z).position!=="static"&&y==="absolute"&&(ie="scrollHeight",re="scrollWidth")),Z=Z,r===Pa||(r===Ia||r===So)&&e===Lp){j=Ao;var ae=A&&Z===G&&G.visualViewport?G.visualViewport.height:Z[ie];I-=ae-a.height,I*=w?1:-1}if(r===Ia||(r===Pa||r===Ao)&&e===Lp){oe=So;var ue=A&&Z===G&&G.visualViewport?G.visualViewport.width:Z[re];L-=ue-a.width,L*=w?1:-1}}var we=Object.assign({position:y},F&&D7),Ie=C===!0?F7({x:L,y:I},so(s)):{x:L,y:I};if(L=Ie.x,I=Ie.y,w){var Ae;return Object.assign({},we,(Ae={},Ae[j]=K?"0":"",Ae[oe]=H?"0":"",Ae.transform=(G.devicePixelRatio||1)<=1?"translate("+L+"px, "+I+"px)":"translate3d("+L+"px, "+I+"px, 0)",Ae))}return Object.assign({},we,(i={},i[j]=K?I+"px":"",i[oe]=H?L+"px":"",i.transform="",i))}function E7(t){var i=t.state,s=t.options,a=s.gpuAcceleration,r=a===void 0?!0:a,e=s.adaptive,d=e===void 0?!0:e,y=s.roundOffsets,w=y===void 0?!0:y,F={placement:Wl(i.placement),variation:Ld(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:r,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,G3(Object.assign({},F,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:d,roundOffsets:w})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,G3(Object.assign({},F,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:w})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const x7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:E7,data:{}};var Am={passive:!0};function C7(t){var i=t.state,s=t.instance,a=t.options,r=a.scroll,e=r===void 0?!0:r,d=a.resize,y=d===void 0?!0:d,w=so(i.elements.popper),F=[].concat(i.scrollParents.reference,i.scrollParents.popper);return e&&F.forEach(function(C){C.addEventListener("scroll",s.update,Am)}),y&&w.addEventListener("resize",s.update,Am),function(){e&&F.forEach(function(C){C.removeEventListener("scroll",s.update,Am)}),y&&w.removeEventListener("resize",s.update,Am)}}const T7={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:C7,data:{}};var A7={left:"right",right:"left",bottom:"top",top:"bottom"};function zm(t){return t.replace(/left|right|bottom|top/g,function(i){return A7[i]})}var S7={start:"end",end:"start"};function j3(t){return t.replace(/start|end/g,function(i){return S7[i]})}function Ly(t){var i=so(t),s=i.pageXOffset,a=i.pageYOffset;return{scrollLeft:s,scrollTop:a}}function By(t){return Md(xf(t)).left+Ly(t).scrollLeft}function k7(t,i){var s=so(t),a=xf(t),r=s.visualViewport,e=a.clientWidth,d=a.clientHeight,y=0,w=0;if(r){e=r.width,d=r.height;var F=kE();(F||!F&&i==="fixed")&&(y=r.offsetLeft,w=r.offsetTop)}return{width:e,height:d,x:y+By(t),y:w}}function O7(t){var i,s=xf(t),a=Ly(t),r=(i=t.ownerDocument)==null?void 0:i.body,e=Q0(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),d=Q0(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),y=-a.scrollLeft+By(t),w=-a.scrollTop;return zc(r||s).direction==="rtl"&&(y+=Q0(s.clientWidth,r?r.clientWidth:0)-e),{width:e,height:d,x:y,y:w}}function Uy(t){var i=zc(t),s=i.overflow,a=i.overflowX,r=i.overflowY;return/auto|scroll|overlay|hidden/.test(s+r+a)}function NE(t){return["html","body","#document"].indexOf(Vl(t))>=0?t.ownerDocument.body:Co(t)&&Uy(t)?t:NE(Q2(t))}function vp(t,i){var s;i===void 0&&(i=[]);var a=NE(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=so(a),d=r?[e].concat(e.visualViewport||[],Uy(a)?a:[]):a,y=i.concat(d);return r?y:y.concat(vp(Q2(d)))}function E4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function R7(t,i){var s=Md(t,!1,i==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function V3(t,i,s){return i===AE?E4(k7(t,s)):th(i)?R7(i,s):E4(O7(xf(t)))}function P7(t){var i=vp(Q2(t)),s=["absolute","fixed"].indexOf(zc(t).position)>=0,a=s&&Co(t)?Zp(t):t;return th(a)?i.filter(function(r){return th(r)&&OE(r,a)&&Vl(r)!=="body"}):[]}function I7(t,i,s,a){var r=i==="clippingParents"?P7(t):[].concat(i),e=[].concat(r,[s]),d=e[0],y=e.reduce(function(w,F){var C=V3(t,F,a);return w.top=Q0(C.top,w.top),w.right=c2(C.right,w.right),w.bottom=c2(C.bottom,w.bottom),w.left=Q0(C.left,w.left),w},V3(t,d,a));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function ME(t){var i=t.reference,s=t.element,a=t.placement,r=a?Wl(a):null,e=a?Ld(a):null,d=i.x+i.width/2-s.width/2,y=i.y+i.height/2-s.height/2,w;switch(r){case Pa:w={x:d,y:i.y-s.height};break;case Ao:w={x:d,y:i.y+i.height};break;case So:w={x:i.x+i.width,y};break;case Ia:w={x:i.x-s.width,y};break;default:w={x:i.x,y:i.y}}var F=r?My(r):null;if(F!=null){var C=F==="y"?"height":"width";switch(e){case Id:w[F]=w[F]-(i[C]/2-s[C]/2);break;case Lp:w[F]=w[F]+(i[C]/2-s[C]/2);break}}return w}function Bp(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=a===void 0?t.placement:a,e=s.strategy,d=e===void 0?t.strategy:e,y=s.boundary,w=y===void 0?e7:y,F=s.rootBoundary,C=F===void 0?AE:F,A=s.elementContext,R=A===void 0?tp:A,L=s.altBoundary,B=L===void 0?!1:L,I=s.padding,z=I===void 0?0:I,H=PE(typeof z!="number"?z:IE(z,Jp)),K=R===tp?t7:tp,oe=t.rects.popper,j=t.elements[B?K:R],G=I7(th(j)?j:j.contextElement||xf(t.elements.popper),w,C,d),Z=Md(t.elements.reference),ie=ME({reference:Z,element:oe,strategy:"absolute",placement:r}),re=E4(Object.assign({},oe,ie)),ae=R===tp?re:Z,ue={top:G.top-ae.top+H.top,bottom:ae.bottom-G.bottom+H.bottom,left:G.left-ae.left+H.left,right:ae.right-G.right+H.right},we=t.modifiersData.offset;if(R===tp&&we){var Ie=we[r];Object.keys(ue).forEach(function(Ae){var Ee=[So,Ao].indexOf(Ae)>=0?1:-1,We=[Pa,Ao].indexOf(Ae)>=0?"y":"x";ue[Ae]+=Ie[We]*Ee})}return ue}function N7(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=s.boundary,e=s.rootBoundary,d=s.padding,y=s.flipVariations,w=s.allowedAutoPlacements,F=w===void 0?SE:w,C=Ld(a),A=C?y?W3:W3.filter(function(B){return Ld(B)===C}):Jp,R=A.filter(function(B){return F.indexOf(B)>=0});R.length===0&&(R=A);var L=R.reduce(function(B,I){return B[I]=Bp(t,{placement:I,boundary:r,rootBoundary:e,padding:d})[Wl(I)],B},{});return Object.keys(L).sort(function(B,I){return L[B]-L[I]})}function M7(t){if(Wl(t)===Py)return[];var i=zm(t);return[j3(t),i,j3(i)]}function L7(t){var i=t.state,s=t.options,a=t.name;if(!i.modifiersData[a]._skip){for(var r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!0:d,w=s.fallbackPlacements,F=s.padding,C=s.boundary,A=s.rootBoundary,R=s.altBoundary,L=s.flipVariations,B=L===void 0?!0:L,I=s.allowedAutoPlacements,z=i.options.placement,H=Wl(z),K=H===z,oe=w||(K||!B?[zm(z)]:M7(z)),j=[z].concat(oe).reduce(function(je,xe){return je.concat(Wl(xe)===Py?N7(i,{placement:xe,boundary:C,rootBoundary:A,padding:F,flipVariations:B,allowedAutoPlacements:I}):xe)},[]),G=i.rects.reference,Z=i.rects.popper,ie=new Map,re=!0,ae=j[0],ue=0;ue<j.length;ue++){var we=j[ue],Ie=Wl(we),Ae=Ld(we)===Id,Ee=[Pa,Ao].indexOf(Ie)>=0,We=Ee?"width":"height",Xe=Bp(i,{placement:we,boundary:C,rootBoundary:A,altBoundary:R,padding:F}),Me=Ee?Ae?So:Ia:Ae?Ao:Pa;G[We]>Z[We]&&(Me=zm(Me));var pt=zm(Me),mt=[];if(e&&mt.push(Xe[Ie]<=0),y&&mt.push(Xe[Me]<=0,Xe[pt]<=0),mt.every(function(je){return je})){ae=we,re=!1;break}ie.set(we,mt)}if(re)for(var Je=B?3:1,me=function(xe){var ze=j.find(function(se){var Ve=ie.get(se);if(Ve)return Ve.slice(0,xe).every(function(Ce){return Ce})});if(ze)return ae=ze,"break"},Ke=Je;Ke>0;Ke--){var lt=me(Ke);if(lt==="break")break}i.placement!==ae&&(i.modifiersData[a]._skip=!0,i.placement=ae,i.reset=!0)}}const B7={name:"flip",enabled:!0,phase:"main",fn:L7,requiresIfExists:["offset"],data:{_skip:!1}};function Y3(t,i,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-i.height-s.y,right:t.right-i.width+s.x,bottom:t.bottom-i.height+s.y,left:t.left-i.width-s.x}}function q3(t){return[Pa,So,Ao,Ia].some(function(i){return t[i]>=0})}function U7(t){var i=t.state,s=t.name,a=i.rects.reference,r=i.rects.popper,e=i.modifiersData.preventOverflow,d=Bp(i,{elementContext:"reference"}),y=Bp(i,{altBoundary:!0}),w=Y3(d,a),F=Y3(y,r,e),C=q3(w),A=q3(F);i.modifiersData[s]={referenceClippingOffsets:w,popperEscapeOffsets:F,isReferenceHidden:C,hasPopperEscaped:A},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":A})}const $7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:U7};function H7(t,i,s){var a=Wl(t),r=[Ia,Pa].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},i,{placement:t})):s,d=e[0],y=e[1];return d=d||0,y=(y||0)*r,[Ia,So].indexOf(a)>=0?{x:y,y:d}:{x:d,y}}function W7(t){var i=t.state,s=t.options,a=t.name,r=s.offset,e=r===void 0?[0,0]:r,d=SE.reduce(function(C,A){return C[A]=H7(A,i.rects,e),C},{}),y=d[i.placement],w=y.x,F=y.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=w,i.modifiersData.popperOffsets.y+=F),i.modifiersData[a]=d}const z7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:W7};function G7(t){var i=t.state,s=t.name;i.modifiersData[s]=ME({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const j7={name:"popperOffsets",enabled:!0,phase:"read",fn:G7,data:{}};function V7(t){return t==="x"?"y":"x"}function Y7(t){var i=t.state,s=t.options,a=t.name,r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!1:d,w=s.boundary,F=s.rootBoundary,C=s.altBoundary,A=s.padding,R=s.tether,L=R===void 0?!0:R,B=s.tetherOffset,I=B===void 0?0:B,z=Bp(i,{boundary:w,rootBoundary:F,padding:A,altBoundary:C}),H=Wl(i.placement),K=Ld(i.placement),oe=!K,j=My(H),G=V7(j),Z=i.modifiersData.popperOffsets,ie=i.rects.reference,re=i.rects.popper,ae=typeof I=="function"?I(Object.assign({},i.rects,{placement:i.placement})):I,ue=typeof ae=="number"?{mainAxis:ae,altAxis:ae}:Object.assign({mainAxis:0,altAxis:0},ae),we=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Ie={x:0,y:0};if(Z){if(e){var Ae,Ee=j==="y"?Pa:Ia,We=j==="y"?Ao:So,Xe=j==="y"?"height":"width",Me=Z[j],pt=Me+z[Ee],mt=Me-z[We],Je=L?-re[Xe]/2:0,me=K===Id?ie[Xe]:re[Xe],Ke=K===Id?-re[Xe]:-ie[Xe],lt=i.elements.arrow,je=L&&lt?Ny(lt):{width:0,height:0},xe=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:RE(),ze=xe[Ee],se=xe[We],Ve=mp(0,ie[Xe],je[Xe]),Ce=oe?ie[Xe]/2-Je-Ve-ze-ue.mainAxis:me-Ve-ze-ue.mainAxis,gt=oe?-ie[Xe]/2+Je+Ve+se+ue.mainAxis:Ke+Ve+se+ue.mainAxis,Zt=i.elements.arrow&&Zp(i.elements.arrow),ne=Zt?j==="y"?Zt.clientTop||0:Zt.clientLeft||0:0,ce=(Ae=we==null?void 0:we[j])!=null?Ae:0,he=Me+Ce-ce-ne,Ye=Me+gt-ce,Qe=mp(L?c2(pt,he):pt,Me,L?Q0(mt,Ye):mt);Z[j]=Qe,Ie[j]=Qe-Me}if(y){var tt,Pt=j==="x"?Pa:Ia,Et=j==="x"?Ao:So,_t=Z[G],Ze=G==="y"?"height":"width",Se=_t+z[Pt],Re=_t-z[Et],It=[Pa,Ia].indexOf(H)!==-1,Vt=(tt=we==null?void 0:we[G])!=null?tt:0,hr=It?Se:_t-ie[Ze]-re[Ze]-Vt+ue.altAxis,Cr=It?_t+ie[Ze]+re[Ze]-Vt-ue.altAxis:Re,_r=L&&It?v7(hr,_t,Cr):mp(L?hr:Se,_t,L?Cr:Re);Z[G]=_r,Ie[G]=_r-_t}i.modifiersData[a]=Ie}}const q7={name:"preventOverflow",enabled:!0,phase:"main",fn:Y7,requiresIfExists:["offset"]};function K7(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Q7(t){return t===so(t)||!Co(t)?Ly(t):K7(t)}function X7(t){var i=t.getBoundingClientRect(),s=Nd(i.width)/t.offsetWidth||1,a=Nd(i.height)/t.offsetHeight||1;return s!==1||a!==1}function J7(t,i,s){s===void 0&&(s=!1);var a=Co(i),r=Co(i)&&X7(i),e=xf(i),d=Md(t,r,s),y={scrollLeft:0,scrollTop:0},w={x:0,y:0};return(a||!a&&!s)&&((Vl(i)!=="body"||Uy(e))&&(y=Q7(i)),Co(i)?(w=Md(i,!0),w.x+=i.clientLeft,w.y+=i.clientTop):e&&(w.x=By(e))),{x:d.left+y.scrollLeft-w.x,y:d.top+y.scrollTop-w.y,width:d.width,height:d.height}}function Z7(t){var i=new Map,s=new Set,a=[];t.forEach(function(e){i.set(e.name,e)});function r(e){s.add(e.name);var d=[].concat(e.requires||[],e.requiresIfExists||[]);d.forEach(function(y){if(!s.has(y)){var w=i.get(y);w&&r(w)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||r(e)}),a}function ek(t){var i=Z7(t);return f7.reduce(function(s,a){return s.concat(i.filter(function(r){return r.phase===a}))},[])}function tk(t){var i;return function(){return i||(i=new Promise(function(s){Promise.resolve().then(function(){i=void 0,s(t())})})),i}}function rk(t){var i=t.reduce(function(s,a){var r=s[a.name];return s[a.name]=r?Object.assign({},r,a,{options:Object.assign({},r.options,a.options),data:Object.assign({},r.data,a.data)}):a,s},{});return Object.keys(i).map(function(s){return i[s]})}var K3={placement:"bottom",modifiers:[],strategy:"absolute"};function Q3(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return!i.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function nk(t){t===void 0&&(t={});var i=t,s=i.defaultModifiers,a=s===void 0?[]:s,r=i.defaultOptions,e=r===void 0?K3:r;return function(y,w,F){F===void 0&&(F=e);var C={placement:"bottom",orderedModifiers:[],options:Object.assign({},K3,e),modifiersData:{},elements:{reference:y,popper:w},attributes:{},styles:{}},A=[],R=!1,L={state:C,setOptions:function(H){var K=typeof H=="function"?H(C.options):H;I(),C.options=Object.assign({},e,C.options,K),C.scrollParents={reference:th(y)?vp(y):y.contextElement?vp(y.contextElement):[],popper:vp(w)};var oe=ek(rk([].concat(a,C.options.modifiers)));return C.orderedModifiers=oe.filter(function(j){return j.enabled}),B(),L.update()},forceUpdate:function(){if(!R){var H=C.elements,K=H.reference,oe=H.popper;if(Q3(K,oe)){C.rects={reference:J7(K,Zp(oe),C.options.strategy==="fixed"),popper:Ny(oe)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach(function(ue){return C.modifiersData[ue.name]=Object.assign({},ue.data)});for(var j=0;j<C.orderedModifiers.length;j++){if(C.reset===!0){C.reset=!1,j=-1;continue}var G=C.orderedModifiers[j],Z=G.fn,ie=G.options,re=ie===void 0?{}:ie,ae=G.name;typeof Z=="function"&&(C=Z({state:C,options:re,name:ae,instance:L})||C)}}}},update:tk(function(){return new Promise(function(z){L.forceUpdate(),z(C)})}),destroy:function(){I(),R=!0}};if(!Q3(y,w))return L;L.setOptions(F).then(function(z){!R&&F.onFirstUpdate&&F.onFirstUpdate(z)});function B(){C.orderedModifiers.forEach(function(z){var H=z.name,K=z.options,oe=K===void 0?{}:K,j=z.effect;if(typeof j=="function"){var G=j({state:C,name:H,instance:L,options:oe}),Z=function(){};A.push(G||Z)}})}function I(){A.forEach(function(z){return z()}),A=[]}return L}}var ik=[T7,j7,x7,p7,z7,B7,q7,w7,$7],$y=nk({defaultModifiers:ik}),sf=globalThis&&globalThis.__assign||function(){return sf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},sf.apply(this,arguments)},Sm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},af={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},LE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=af),this._targetEl=i,this._triggerEl=s,this._options=sf(sf({},af),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){a==="click"?i.toggle():setTimeout(function(){i.show()},i._options.delay)}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},i._options.delay)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},i._options.delay)})}))},t.prototype._createPopperInstance=function(){return $y(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target,r=this._options.ignoreClickOutsideClass,e=!1;if(r){var d=document.querySelectorAll(".".concat(r));d.forEach(function(y){if(y.contains(a)){e=!0;return}})}a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&!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(i){return sf(sf({},i),{modifiers:Sm(Sm([],i.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(i){return sf(sf({},i),{modifiers:Sm(Sm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function Hy(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var i=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-dropdown-placement"),r=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),d=t.getAttribute("data-dropdown-trigger"),y=t.getAttribute("data-dropdown-delay"),w=t.getAttribute("data-dropdown-ignore-click-outside-class");new LE(s,t,{placement:a||af.placement,triggerType:d||af.triggerType,offsetSkidding:r?parseInt(r):af.offsetSkidding,offsetDistance:e?parseInt(e):af.offsetDistance,delay:y?parseInt(y):af.delay,ignoreClickOutsideClass:w||af.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(i,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=LE,window.initDropdowns=Hy);var u2=globalThis&&globalThis.__assign||function(){return u2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},u2.apply(this,arguments)},vd={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(){}},x4=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=vd),this._targetEl=i,this._options=u2(u2({},vd),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&this._getPlacementClasses().map(function(s){i._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var i;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(i=s.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),this._backdropEl=s}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var i=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){i._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&i.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(i){(i===this._targetEl||i===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}(),km=function(t,i){return i.some(function(s){return s.id===t})?i.find(function(s){return s.id===t}):null};function Wy(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(i){var s=i.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");km(s,t)||t.push({id:s,object:new x4(a,{placement:r||vd.placement,backdrop:e||vd.backdrop})})}else console.error("Modal with id ".concat(s," 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(i){var s=i.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),d=km(s,t);d||(d={id:s,object:new x4(a,{placement:r||vd.placement,backdrop:e||vd.backdrop})},t.push(d)),i.addEventListener("click",function(){d.object.toggle()})}else console.error("Modal with id ".concat(s," 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(i){var s=i.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var r=km(s,t);r?i.addEventListener("click",function(){r.object.isHidden&&r.object.show()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," 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(i){var s=i.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var r=km(s,t);r?i.addEventListener("click",function(){r.object.isVisible&&r.object.hide()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=x4,window.initModals=Wy);var f2=globalThis&&globalThis.__assign||function(){return f2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},f2.apply(this,arguments)},z0={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(){}},BE=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=z0),this._targetEl=i,this._options=f2(f2({},z0),s),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){i._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&i.isVisible()&&i.hide()})},t.prototype.hide=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.add(s)})),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 i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.remove(s)})),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 i,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(i=a.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(a),a.addEventListener("click",function(){s.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(i){switch(i){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}(),Om=function(t,i){if(i.some(function(s){return s.id===t}))return i.find(function(s){return s.id===t})};function zy(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(i){var s=i.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-drawer-placement"),e=i.getAttribute("data-drawer-body-scrolling"),d=i.getAttribute("data-drawer-backdrop"),y=i.getAttribute("data-drawer-edge"),w=i.getAttribute("data-drawer-edge-offset");Om(s,t)||t.push({id:s,object:new BE(a,{placement:r||z0.placement,bodyScrolling:e?e==="true":z0.bodyScrolling,backdrop:d?d==="true":z0.backdrop,edge:y?y==="true":z0.edge,edgeOffset:w||z0.edgeOffset})})}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(i){var s=i.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var r=Om(s,t);r?i.addEventListener("click",function(){r.object.toggle()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," 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(i){var s=i.getAttribute("data-drawer-dismiss")?i.getAttribute("data-drawer-dismiss"):i.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var r=Om(s,t);r?i.addEventListener("click",function(){r.object.hide()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(i){var s=i.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var r=Om(s,t);r?i.addEventListener("click",function(){r.object.show()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=BE,window.initDrawers=zy);var h2=globalThis&&globalThis.__assign||function(){return h2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},h2.apply(this,arguments)},X3={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(){}},UE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=X3),this._items=i,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=h2(h2({},X3),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(s){s.triggerEl.addEventListener("click",function(){i.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(i){this._activeTab=i},t.prototype.getTab=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.show=function(i,s){var a,r,e=this;s===void 0&&(s=!1);var d=this.getTab(i);d===this._activeTab&&!s||(this._items.map(function(y){var w,F;y!==d&&((w=y.triggerEl.classList).remove.apply(w,e._options.activeClasses.split(" ")),(F=y.triggerEl.classList).add.apply(F,e._options.inactiveClasses.split(" ")),y.targetEl.classList.add("hidden"),y.triggerEl.setAttribute("aria-selected","false"))}),(a=d.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(r=d.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),d.triggerEl.setAttribute("aria-selected","true"),d.targetEl.classList.remove("hidden"),this._setActiveTab(d),this._options.onShow(this,d))},t}();function Gy(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var i=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var r=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};i.push(e),r&&(s=e.id)}),new UE(i,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=UE,window.initTabs=Gy);var of=globalThis&&globalThis.__assign||function(){return of=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},of.apply(this,arguments)},Rm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},d2={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},jy=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=d2),this._targetEl=i,this._triggerEl=s,this._options=of(of({},d2),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.hide()})})},t.prototype._createPopperInstance=function(){return $y(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&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(i){return of(of({},i),{modifiers:Rm(Rm([],i.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(i){return of(of({},i),{modifiers:Rm(Rm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function Vy(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var i=t.getAttribute("data-tooltip-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-tooltip-trigger"),r=t.getAttribute("data-tooltip-placement");new jy(s,t,{placement:r||d2.placement,triggerType:a||d2.triggerType})}else console.error('The tooltip element with id "'.concat(i,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=jy,window.initTooltips=Vy);var lf=globalThis&&globalThis.__assign||function(){return lf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},lf.apply(this,arguments)},Pm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},bp={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},$E=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=bp),this._targetEl=i,this._triggerEl=s,this._options=lf(lf({},bp),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},100)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},100)})})},t.prototype._createPopperInstance=function(){return $y(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&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(i){return lf(lf({},i),{modifiers:Pm(Pm([],i.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(i){return lf(lf({},i),{modifiers:Pm(Pm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function Yy(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var i=t.getAttribute("data-popover-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-popover-trigger"),r=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new $E(s,t,{placement:r||bp.placement,offset:e?parseInt(e):bp.offset,triggerType:a||bp.triggerType})}else console.error('The popover element with id "'.concat(i,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=$E,window.initPopovers=Yy);var p2=globalThis&&globalThis.__assign||function(){return p2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},p2.apply(this,arguments)},C4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},HE=function(){function t(i,s,a,r){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=null),r===void 0&&(r=C4),this._parentEl=i,this._triggerEl=s,this._targetEl=a,this._options=p2(p2({},C4),r),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._parentEl.addEventListener(a,function(){i._parentEl.matches(":hover")||i.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(i){switch(i){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 qy(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var i=t.querySelector("[data-dial-toggle]");if(i){var s=i.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-dial-trigger");new HE(t,i,a,{triggerType:r||C4.triggerType})}else console.error("Dial with id ".concat(s," 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=HE,window.initDials=qy);function sk(){Sy(),ky(),Oy(),Ry(),Hy(),Wy(),zy(),Gy(),Vy(),Yy(),qy()}typeof window<"u"&&(window.initFlowbite=sk);var ak=new ZS("load",[Sy,ky,Oy,Ry,Hy,Wy,zy,Gy,Vy,Yy,qy]);ak.init();const ok=Ht("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1),WE=ls({__name:"Tooltip",props:{placement:null},setup(t){const i=t,s=ur(null),a=ur(null),r=gn(()=>i.placement??"auto");return bl(()=>{if(s.value&&a.value){const e={placement:r.value,triggerType:"hover"};new jy(s.value,a.value,e)}}),(e,d)=>(fn(),jn("div",null,[Ht("div",{ref_key:"tooltipTriggerEl",ref:a},[Z0(e.$slots,"default")],512),Ht("div",{ref_key:"tooltipTargetEl",ref:s,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":""},[Ht("div",null,[Z0(e.$slots,"popper")]),ok],512)]))}}),lk="0.34.1",zE="https://github.com/xcpcio/xcpcio",ck="19c37c1f20";var hl=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(hl||{}),Bt=(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.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))(Bt||{});const KI={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",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"},QI={PENDING:"PD",WAITING:"PD",PREPARING:"PD",COMPILING:"PD",RUNNING:"PD",JUDGING:"PD",FROZEN:"PD",ACCEPTED:"AC",CORRECT:"AC",PARTIALLY_CORRECT:"RJ",REJECTED:"RJ",WRONG_ANSWER:"WA",COMPILATION_ERROR:"CE",PRESENTATION_ERROR:"PE",RUNTIME_ERROR:"RE",TIME_LIMIT_EXCEEDED:"TL",MEMORY_LIMIT_EXCEEDED:"ML",OUTPUT_LIMIT_EXCEEDED:"OL",IDLENESS_LIMIT_EXCEEDED:"IL",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"},uk={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},fk={"text-center":"","w-full":""},hk=Ht("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),dk=Ht("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),pk={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},gk={"mr-4":"","md:mr-6":""},mk=["href"],vk={flex:"","justify-center":"","items-start":"","flex-col":""},bk={"mr-4":"","md:mr-6":""},yk=Ht("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1),_k={flex:"","justify-center":"","items-start":"","flex-col":""},wk={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},Dk=ls({__name:"Footer",setup(t){const i=gn(()=>window?window.CDN_HOST:""),s=gn(()=>window?window.DATA_HOST:""),a=gn(()=>window?window.DATA_REGION:"");return(r,e)=>{const d=ml("RouterLink"),y=WE;return fn(),jn("footer",uk,[Ht("div",fk,[Yr(d,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:bs(()=>[hk,Hl(" Get more balloons ")]),_:1}),dk,Ht("ul",pk,[Ht("li",null,[Yr(d,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:bs(()=>[Hl(" Home ")]),_:1})]),Ht("li",null,[Ht("div",gk,[Yr(y,null,{popper:bs(()=>[Ht("div",vk,[Ht("div",null,"Tag: "+Ji(gr(lk)),1),Ht("div",null,"Sha: "+Ji(gr(ck)),1)])]),default:bs(()=>[Ht("a",{href:gr(zE),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,mk)]),_:1})])]),Ht("li",null,[Ht("div",bk,[Yr(y,null,{popper:bs(()=>[Ht("div",_k,[Ht("div",null,"CDN Host: "+Ji(gr(i)),1),Ht("div",null,"DATA Host: "+Ji(gr(s)),1),Ht("div",null,"Data Region: "+Ji(gr(a)),1)])]),default:bs(()=>[yk]),_:1})])])]),Ht("span",wk,[Hl("© 2020-PRESENT "),Yr(d,{to:"/","hover:underline":""},{default:bs(()=>[Hl("XCPCIO™")]),_:1}),Hl(". All Rights Reserved.")])])])}}});function oh(t){return S2()?(q4(t),!0):!1}function Ib(){const t=new Set,i=r=>{t.delete(r)};return{on:r=>{t.add(r);const e=()=>i(r);return oh(e),{off:e}},off:i,trigger:r=>Promise.all(Array.from(t).map(e=>e(r)))}}function Ri(t){return typeof t=="function"?t():gr(t)}const X2=typeof window<"u",Fk=t=>typeof t<"u",Ek=t=>t!=null,Ed=()=>{};function xk(t,i){function s(...a){return new Promise((r,e)=>{Promise.resolve(t(()=>i.apply(this,a),{fn:i,thisArg:this,args:a})).then(r).catch(e)})}return s}const GE=t=>t();function Ck(t=GE){const i=ur(!0);function s(){i.value=!1}function a(){i.value=!0}const r=(...e)=>{i.value&&t(...e)};return{isActive:Wd(i),pause:s,resume:a,eventFilter:r}}function J3(t,i=!1,s="Timeout"){return new Promise((a,r)=>{setTimeout(i?()=>r(s):a,t)})}function Tk(t,...i){return i.some(s=>s in t)}function yp(...t){if(t.length!==1)return OD(...t);const i=t[0];return typeof i=="function"?Wd(ry(()=>({get:i,set:Ed}))):ur(i)}function Ak(t,i=!0){Ds()?bl(t):i?t():ql(t)}function T4(t,i=!1){function s(A,{flush:R="sync",deep:L=!1,timeout:B,throwOnTimeout:I}={}){let z=null;const K=[new Promise(oe=>{z=ri(t,j=>{A(j)!==i&&(z==null||z(),oe(j))},{flush:R,deep:L,immediate:!0})})];return B!=null&&K.push(J3(B,I).then(()=>Ri(t)).finally(()=>z==null?void 0:z())),Promise.race(K)}function a(A,R){if(!Bn(A))return s(j=>j===A,R);const{flush:L="sync",deep:B=!1,timeout:I,throwOnTimeout:z}=R??{};let H=null;const oe=[new Promise(j=>{H=ri([t,A],([G,Z])=>{i!==(G===Z)&&(H==null||H(),j(G))},{flush:L,deep:B,immediate:!0})})];return I!=null&&oe.push(J3(I,z).then(()=>Ri(t)).finally(()=>(H==null||H(),Ri(t)))),Promise.race(oe)}function r(A){return s(R=>!!R,A)}function e(A){return a(null,A)}function d(A){return a(void 0,A)}function y(A){return s(Number.isNaN,A)}function w(A,R){return s(L=>{const B=Array.from(L);return B.includes(A)||B.includes(Ri(A))},R)}function F(A){return C(1,A)}function C(A=1,R){let L=-1;return s(()=>(L+=1,L>=A),R)}return Array.isArray(Ri(t))?{toMatch:s,toContains:w,changed:F,changedTimes:C,get not(){return T4(t,!i)}}:{toMatch:s,toBe:a,toBeTruthy:r,toBeNull:e,toBeNaN:y,toBeUndefined:d,changed:F,changedTimes:C,get not(){return T4(t,!i)}}}function Sk(t){return T4(t)}function jE(t,i,s={}){const{immediate:a=!0}=s,r=ur(!1);let e=null;function d(){e&&(clearTimeout(e),e=null)}function y(){r.value=!1,d()}function w(...F){d(),r.value=!0,e=setTimeout(()=>{r.value=!1,e=null,t(...F)},Ri(i))}return a&&(r.value=!0,X2&&w()),oh(y),{isPending:Wd(r),start:w,stop:y}}function kk(t=!1,i={}){const{truthyValue:s=!0,falsyValue:a=!1}=i,r=Bn(t),e=ur(t);function d(y){if(arguments.length)return e.value=y,e.value;{const w=Ri(s);return e.value=e.value===w?Ri(a):w,e.value}}return r?d:[e,d]}var Z3=Object.getOwnPropertySymbols,Ok=Object.prototype.hasOwnProperty,Rk=Object.prototype.propertyIsEnumerable,Pk=(t,i)=>{var s={};for(var a in t)Ok.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&Z3)for(var a of Z3(t))i.indexOf(a)<0&&Rk.call(t,a)&&(s[a]=t[a]);return s};function Ik(t,i,s={}){const a=s,{eventFilter:r=GE}=a,e=Pk(a,["eventFilter"]);return ri(t,xk(r,i),e)}var Nk=Object.defineProperty,Mk=Object.defineProperties,Lk=Object.getOwnPropertyDescriptors,g2=Object.getOwnPropertySymbols,VE=Object.prototype.hasOwnProperty,YE=Object.prototype.propertyIsEnumerable,ew=(t,i,s)=>i in t?Nk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Bk=(t,i)=>{for(var s in i||(i={}))VE.call(i,s)&&ew(t,s,i[s]);if(g2)for(var s of g2(i))YE.call(i,s)&&ew(t,s,i[s]);return t},Uk=(t,i)=>Mk(t,Lk(i)),$k=(t,i)=>{var s={};for(var a in t)VE.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&g2)for(var a of g2(t))i.indexOf(a)<0&&YE.call(t,a)&&(s[a]=t[a]);return s};function Hk(t,i,s={}){const a=s,{eventFilter:r}=a,e=$k(a,["eventFilter"]),{eventFilter:d,pause:y,resume:w,isActive:F}=Ck(r);return{stop:Ik(t,i,Uk(Bk({},e),{eventFilter:d})),pause:y,resume:w,isActive:F}}function xd(t){var i;const s=Ri(t);return(i=s==null?void 0:s.$el)!=null?i:s}const ko=X2?window:void 0,Wk=X2?window.document:void 0,zk=X2?window.navigator:void 0;function Bc(...t){let i,s,a,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,r]=t,i=ko):[i,s,a,r]=t,!i)return Ed;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],d=()=>{e.forEach(C=>C()),e.length=0},y=(C,A,R,L)=>(C.addEventListener(A,R,L),()=>C.removeEventListener(A,R,L)),w=ri(()=>[xd(i),Ri(r)],([C,A])=>{d(),C&&e.push(...s.flatMap(R=>a.map(L=>y(C,R,L,A))))},{immediate:!0,flush:"post"}),F=()=>{w(),d()};return oh(F),F}function Gk(t){return typeof t=="function"?t:typeof t=="string"?i=>i.key===t:Array.isArray(t)?i=>t.includes(i.key):()=>!0}function XI(...t){let i,s,a={};t.length===3?(i=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(i=!0,s=t[0],a=t[1]):(i=t[0],s=t[1]):(i=!0,s=t[0]);const{target:r=ko,eventName:e="keydown",passive:d=!1,dedupe:y=!1}=a,w=Gk(i);return Bc(r,e,C=>{C.repeat&&Ri(y)||w(C)&&s(C)},d)}function jk(){const t=ur(!1);return Ds()&&bl(()=>{t.value=!0}),t}function J2(t){const i=jk();return gn(()=>(i.value,!!t()))}function Vk(t,i={}){const{window:s=ko}=i,a=J2(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let r;const e=ur(!1),d=F=>{e.value=F.matches},y=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",d):r.removeListener(d))},w=oy(()=>{a.value&&(y(),r=s.matchMedia(Ri(t)),"addEventListener"in r?r.addEventListener("change",d):r.addListener(d),e.value=r.matches)});return oh(()=>{w(),y(),r=void 0}),e}function JI(t={}){const{navigator:i=zk,read:s=!1,source:a,copiedDuring:r=1500,legacy:e=!1}=t,d=J2(()=>i&&"clipboard"in i),y=gn(()=>d.value||e),w=ur(""),F=ur(!1),C=jE(()=>F.value=!1,r);function A(){d.value?i.clipboard.readText().then(I=>{w.value=I}):w.value=B()}y.value&&s&&Bc(["copy","cut"],A);async function R(I=Ri(a)){y.value&&I!=null&&(d.value?await i.clipboard.writeText(I):L(I),w.value=I,F.value=!0,C.start())}function L(I){const z=document.createElement("textarea");z.value=I??"",z.style.position="absolute",z.style.opacity="0",document.body.appendChild(z),z.select(),document.execCommand("copy"),z.remove()}function B(){var I,z,H;return(H=(z=(I=document==null?void 0:document.getSelection)==null?void 0:I.call(document))==null?void 0:z.toString())!=null?H:""}return{isSupported:y,text:w,copied:F,copy:R}}function Yk(t){return JSON.parse(JSON.stringify(t))}const Im=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Nm="__vueuse_ssr_handlers__",qk=Kk();function Kk(){return Nm in Im||(Im[Nm]=Im[Nm]||{}),Im[Nm]}function qE(t,i){return qk[t]||i}function Qk(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"}var Xk=Object.defineProperty,tw=Object.getOwnPropertySymbols,Jk=Object.prototype.hasOwnProperty,Zk=Object.prototype.propertyIsEnumerable,rw=(t,i,s)=>i in t?Xk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,nw=(t,i)=>{for(var s in i||(i={}))Jk.call(i,s)&&rw(t,s,i[s]);if(tw)for(var s of tw(i))Zk.call(i,s)&&rw(t,s,i[s]);return t};const e9={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()}},iw="vueuse-storage";function t9(t,i,s,a={}){var r;const{flush:e="pre",deep:d=!0,listenToStorageChanges:y=!0,writeDefaults:w=!0,mergeDefaults:F=!1,shallow:C,window:A=ko,eventFilter:R,onError:L=re=>{console.error(re)}}=a,B=(C?wd:ur)(i);if(!s)try{s=qE("getDefaultStorage",()=>{var re;return(re=ko)==null?void 0:re.localStorage})()}catch(re){L(re)}if(!s)return B;const I=Ri(i),z=Qk(I),H=(r=a.serializer)!=null?r:e9[z],{pause:K,resume:oe}=Hk(B,()=>j(B.value),{flush:e,deep:d,eventFilter:R});return A&&y&&(Bc(A,"storage",ie),Bc(A,iw,Z)),ie(),B;function j(re){try{if(re==null)s.removeItem(t);else{const ae=H.write(re),ue=s.getItem(t);ue!==ae&&(s.setItem(t,ae),A&&A.dispatchEvent(new CustomEvent(iw,{detail:{key:t,oldValue:ue,newValue:ae,storageArea:s}})))}}catch(ae){L(ae)}}function G(re){const ae=re?re.newValue:s.getItem(t);if(ae==null)return w&&I!==null&&s.setItem(t,H.write(I)),I;if(!re&&F){const ue=H.read(ae);return typeof F=="function"?F(ue,I):z==="object"&&!Array.isArray(ue)?nw(nw({},I),ue):ue}else return typeof ae!="string"?ae:H.read(ae)}function Z(re){ie(re.detail)}function ie(re){if(!(re&&re.storageArea!==s)){if(re&&re.key==null){B.value=I;return}if(!(re&&re.key!==t)){K();try{B.value=G(re)}catch(ae){L(ae)}finally{re?ql(oe):oe()}}}}}function KE(t){return Vk("(prefers-color-scheme: dark)",t)}var r9=Object.defineProperty,sw=Object.getOwnPropertySymbols,n9=Object.prototype.hasOwnProperty,i9=Object.prototype.propertyIsEnumerable,aw=(t,i,s)=>i in t?r9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,s9=(t,i)=>{for(var s in i||(i={}))n9.call(i,s)&&aw(t,s,i[s]);if(sw)for(var s of sw(i))i9.call(i,s)&&aw(t,s,i[s]);return t};function a9(t={}){const{selector:i="html",attribute:s="class",initialValue:a="auto",window:r=ko,storage:e,storageKey:d="vueuse-color-scheme",listenToStorageChanges:y=!0,storageRef:w,emitAuto:F,disableTransition:C=!0}=t,A=s9({auto:"",light:"light",dark:"dark"},t.modes||{}),R=KE({window:r}),L=gn(()=>R.value?"dark":"light"),B=w||(d==null?yp(a):t9(d,a,e,{window:r,listenToStorageChanges:y})),I=gn(()=>B.value==="auto"?L.value:B.value),z=qE("updateHTMLAttrs",(j,G,Z)=>{const ie=typeof j=="string"?r==null?void 0:r.document.querySelector(j):xd(j);if(!ie)return;let re;if(C){re=r.document.createElement("style");const ae="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";re.appendChild(document.createTextNode(ae)),r.document.head.appendChild(re)}if(G==="class"){const ae=Z.split(/\s/g);Object.values(A).flatMap(ue=>(ue||"").split(/\s/g)).filter(Boolean).forEach(ue=>{ae.includes(ue)?ie.classList.add(ue):ie.classList.remove(ue)})}else ie.setAttribute(G,Z);C&&(r.getComputedStyle(re).opacity,document.head.removeChild(re))});function H(j){var G;z(i,s,(G=A[j])!=null?G:j)}function K(j){t.onChanged?t.onChanged(j,H):H(j)}ri(I,K,{flush:"post",immediate:!0}),Ak(()=>K(I.value));const oe=gn({get(){return F?B.value:I.value},set(j){B.value=j}});try{return Object.assign(oe,{store:B,system:L,state:I})}catch{return oe}}var ow=Object.getOwnPropertySymbols,o9=Object.prototype.hasOwnProperty,l9=Object.prototype.propertyIsEnumerable,c9=(t,i)=>{var s={};for(var a in t)o9.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&ow)for(var a of ow(t))i.indexOf(a)<0&&l9.call(t,a)&&(s[a]=t[a]);return s};function u9(t,i,s={}){const a=s,{window:r=ko}=a,e=c9(a,["window"]);let d;const y=J2(()=>r&&"MutationObserver"in r),w=()=>{d&&(d.disconnect(),d=void 0)},F=ri(()=>xd(t),A=>{w(),y.value&&r&&A&&(d=new MutationObserver(i),d.observe(A,e))},{immediate:!0}),C=()=>{w(),F()};return oh(C),{isSupported:y,stop:C}}var f9=Object.defineProperty,h9=Object.defineProperties,d9=Object.getOwnPropertyDescriptors,lw=Object.getOwnPropertySymbols,p9=Object.prototype.hasOwnProperty,g9=Object.prototype.propertyIsEnumerable,cw=(t,i,s)=>i in t?f9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,m9=(t,i)=>{for(var s in i||(i={}))p9.call(i,s)&&cw(t,s,i[s]);if(lw)for(var s of lw(i))g9.call(i,s)&&cw(t,s,i[s]);return t},v9=(t,i)=>h9(t,d9(i));function b9(t={}){const{valueDark:i="dark",valueLight:s=""}=t,a=a9(v9(m9({},t),{onChanged:(e,d)=>{var y;t.onChanged?(y=t.onChanged)==null||y.call(t,e==="dark",d,e):d(e)},modes:{dark:i,light:s}}));return gn({get(){return a.value==="dark"},set(e){const d=e?"dark":"light";a.system.value===d?a.value="auto":a.value=d}})}function y9(t,i,s={}){const{root:a,rootMargin:r="0px",threshold:e=.1,window:d=ko,immediate:y=!0}=s,w=J2(()=>d&&"IntersectionObserver"in d),F=gn(()=>{const B=Ri(t);return(Array.isArray(B)?B:[B]).map(xd).filter(Ek)});let C=Ed;const A=ur(y),R=w.value?ri(()=>[F.value,xd(a),A.value],([B,I])=>{if(C(),!A.value||!B.length)return;const z=new IntersectionObserver(i,{root:xd(I),rootMargin:r,threshold:e});B.forEach(H=>H&&z.observe(H)),C=()=>{z.disconnect(),C=Ed}},{immediate:y,flush:"post"}):Ed,L=()=>{C(),R(),A.value=!1};return oh(L),{isSupported:w,isActive:A,pause(){C(),A.value=!1},resume(){A.value=!0},stop:L}}function _9(t,{window:i=ko,scrollTarget:s}={}){const a=ur(!1);return y9(t,([{isIntersecting:r}])=>{a.value=r},{root:s,window:i}),a}var w9=Object.defineProperty,D9=Object.defineProperties,F9=Object.getOwnPropertyDescriptors,uw=Object.getOwnPropertySymbols,E9=Object.prototype.hasOwnProperty,x9=Object.prototype.propertyIsEnumerable,fw=(t,i,s)=>i in t?w9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Aa=(t,i)=>{for(var s in i||(i={}))E9.call(i,s)&&fw(t,s,i[s]);if(uw)for(var s of uw(i))x9.call(i,s)&&fw(t,s,i[s]);return t},rp=(t,i)=>D9(t,F9(i));const C9={json:"application/json",text:"text/plain"};function hw(t){return t&&Tk(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Nb(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries([...t.entries()]):t}function T9(t,...i){var s;const a=typeof AbortController=="function";let r={},e={immediate:!0,refetch:!1,timeout:0};const d={method:"GET",type:"text",payload:void 0};i.length>0&&(hw(i[0])?e=Aa(Aa({},e),i[0]):r=i[0]),i.length>1&&hw(i[1])&&(e=Aa(Aa({},e),i[1]));const{fetch:y=(s=ko)==null?void 0:s.fetch,initialData:w,timeout:F}=e,C=Ib(),A=Ib(),R=Ib(),L=ur(!1),B=ur(!1),I=ur(!1),z=ur(null),H=wd(null),K=wd(null),oe=wd(w||null),j=gn(()=>a&&B.value);let G,Z;const ie=()=>{a&&(G==null||G.abort(),G=new AbortController,G.signal.onabort=()=>I.value=!0,r=rp(Aa({},r),{signal:G.signal}))},re=We=>{B.value=We,L.value=!We};F&&(Z=jE(ie,F,{immediate:!1}));const ae=async(We=!1)=>{var Xe;ie(),re(!0),K.value=null,z.value=null,I.value=!1;const Me={method:d.method,headers:{}};if(d.payload){const me=Nb(Me.headers),Ke=Ri(d.payload);!d.payloadType&&Ke&&Object.getPrototypeOf(Ke)===Object.prototype&&!(Ke instanceof FormData)&&(d.payloadType="json"),d.payloadType&&(me["Content-Type"]=(Xe=C9[d.payloadType])!=null?Xe:d.payloadType),Me.body=d.payloadType==="json"?JSON.stringify(Ke):Ke}let pt=!1;const mt={url:Ri(t),options:Aa(Aa({},Me),r),cancel:()=>{pt=!0}};if(e.beforeFetch&&Object.assign(mt,await e.beforeFetch(mt)),pt||!y)return re(!1),Promise.resolve(null);let Je=null;return Z&&Z.start(),new Promise((me,Ke)=>{var lt;y(mt.url,rp(Aa(Aa({},Me),mt.options),{headers:Aa(Aa({},Nb(Me.headers)),Nb((lt=mt.options)==null?void 0:lt.headers))})).then(async je=>{if(H.value=je,z.value=je.status,Je=await je[d.type](),!je.ok)throw oe.value=w||null,new Error(je.statusText);return e.afterFetch&&({data:Je}=await e.afterFetch({data:Je,response:je})),oe.value=Je,C.trigger(je),me(je)}).catch(async je=>{let xe=je.message||je.name;return e.onFetchError&&({error:xe}=await e.onFetchError({data:Je,error:je,response:H.value})),K.value=xe,A.trigger(je),We?Ke(je):me(null)}).finally(()=>{re(!1),Z&&Z.stop(),R.trigger(null)})})},ue=yp(e.refetch);ri([ue,yp(t)],([We])=>We&&ae(),{deep:!0});const we={isFinished:L,statusCode:z,response:H,error:K,data:oe,isFetching:B,canAbort:j,aborted:I,abort:ie,execute:ae,onFetchResponse:C.on,onFetchError:A.on,onFetchFinally:R.on,get:Ie("GET"),put:Ie("PUT"),post:Ie("POST"),delete:Ie("DELETE"),patch:Ie("PATCH"),head:Ie("HEAD"),options:Ie("OPTIONS"),json:Ee("json"),text:Ee("text"),blob:Ee("blob"),arrayBuffer:Ee("arrayBuffer"),formData:Ee("formData")};function Ie(We){return(Xe,Me)=>{if(!B.value)return d.method=We,d.payload=Xe,d.payloadType=Me,Bn(d.payload)&&ri([ue,yp(d.payload)],([pt])=>pt&&ae(),{deep:!0}),rp(Aa({},we),{then(pt,mt){return Ae().then(pt,mt)}})}}function Ae(){return new Promise((We,Xe)=>{Sk(L).toBe(!0).then(()=>We(we)).catch(Me=>Xe(Me))})}function Ee(We){return()=>{if(!B.value)return d.type=We,rp(Aa({},we),{then(Xe,Me){return Ae().then(Xe,Me)}})}}return e.immediate&&Promise.resolve().then(()=>ae()),rp(Aa({},we),{then(We,Xe){return Ae().then(We,Xe)}})}const A9={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function ZI(t={}){const{reactive:i=!1,target:s=ko,aliasMap:a=A9,passive:r=!0,onEventFired:e=Ed}=t,d=vf(new Set),y={toJSON(){return{}},current:d},w=i?vf(y):y,F=new Set,C=new Set;function A(I,z){I in w&&(i?w[I]=z:w[I].value=z)}function R(){d.clear();for(const I of C)A(I,!1)}function L(I,z){var H,K;const oe=(H=I.key)==null?void 0:H.toLowerCase(),G=[(K=I.code)==null?void 0:K.toLowerCase(),oe].filter(Boolean);oe&&(z?d.add(oe):d.delete(oe));for(const Z of G)C.add(Z),A(Z,z);oe==="meta"&&!z?(F.forEach(Z=>{d.delete(Z),A(Z,!1)}),F.clear()):typeof I.getModifierState=="function"&&I.getModifierState("Meta")&&z&&[...d,...G].forEach(Z=>F.add(Z))}Bc(s,"keydown",I=>(L(I,!0),e(I)),{passive:r}),Bc(s,"keyup",I=>(L(I,!1),e(I)),{passive:r}),Bc("blur",R,{passive:!0}),Bc("focus",R,{passive:!0});const B=new Proxy(w,{get(I,z,H){if(typeof z!="string")return Reflect.get(I,z,H);if(z=z.toLowerCase(),z in a&&(z=a[z]),!(z in w))if(/[+_-]/.test(z)){const oe=z.split(/[+_-]/g).map(j=>j.trim());w[z]=gn(()=>oe.every(j=>Ri(B[j])))}else w[z]=ur(!1);const K=Reflect.get(I,z,H);return i?Ri(K):K}});return B}function S9(t=null,i={}){var s,a;const{document:r=Wk}=i,e=yp((s=t??(r==null?void 0:r.title))!=null?s:null),d=t&&typeof t=="function";function y(w){if(!("titleTemplate"in i))return w;const F=i.titleTemplate||"%s";return typeof F=="function"?F(w):Ri(F).replace(/%s/g,w)}return ri(e,(w,F)=>{w!==F&&r&&(r.title=y(typeof w=="string"?w:""))},{immediate:!0}),i.observe&&!i.titleTemplate&&r&&!d&&u9((a=r.head)==null?void 0:a.querySelector("title"),()=>{r&&r.title!==e.value&&(e.value=y(r.title))},{childList:!0}),e}function dw(t,i,s,a={}){var r,e,d;const{clone:y=!1,passive:w=!1,eventName:F,deep:C=!1,defaultValue:A,shouldEmit:R}=a,L=Ds(),B=s||(L==null?void 0:L.emit)||((r=L==null?void 0:L.$emit)==null?void 0:r.bind(L))||((d=(e=L==null?void 0:L.proxy)==null?void 0:e.$emit)==null?void 0:d.bind(L==null?void 0:L.proxy));let I=F;i||(i="modelValue"),I=I||`update:${i.toString()}`;const z=oe=>y?typeof y=="function"?y(oe):Yk(oe):oe,H=()=>Fk(t[i])?z(t[i]):A,K=oe=>{R?R(oe)&&B(I,oe):B(I,oe)};if(w){const oe=H(),j=ur(oe);return ri(()=>t[i],G=>j.value=z(G)),ri(j,G=>{(G!==t[i]||C)&&K(G)},{deep:C}),j}else return gn({get(){return H()},set(oe){K(oe)}})}function k9({window:t=ko}={}){if(!t)return{x:ur(0),y:ur(0)};const i=ur(t.scrollX),s=ur(t.scrollY);return Bc(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:s}}const QE=b9(),O9=kk(QE),R9=KE(),Gd=t=>(B2("data-v-a79e7085"),t=t(),U2(),t),P9=Gd(()=>Ht("div",{"i-ri-arrow-up-line":""},null,-1)),I9=[P9],N9=Gd(()=>Ht("div",{class:"spacer"},null,-1)),M9={class:"right","print:op0":""},L9=Gd(()=>Ht("div",{"i-ion-balloon-sharp":""},null,-1)),B9=["title"],U9=Gd(()=>Ht("div",{"i-carbon-language":""},null,-1)),$9=[U9],H9=["title"],W9=Gd(()=>Ht("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),z9=[W9],G9=["href"],j9=Gd(()=>Ht("div",{"i-carbon-logo-github":""},null,-1)),V9=[j9],Y9=ls({__name:"NavBar",props:{width:null},setup(t){const i=t,{t:s,locale:a}=zd(),{y:r}=k9();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function d(){const y=ZF,w=y[(y.indexOf(a.value)+1)%y.length];await Cy(w),a.value=w}return(y,w)=>{const F=ml("RouterLink");return fn(),jn("header",{class:ua(["header z-40",[(i==null?void 0:i.width)??""]])},[Ht("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:ua(gr(r)>300?"op30":"op0! pointer-events-none"),onClick:w[0]||(w[0]=C=>e())},I9,2),Ht("nav",{class:ua(["nav",[i!=null&&i.width?"":"fixed"]]),"text-xl":""},[N9,Ht("div",M9,[Yr(F,{"icon-btn":"",title:gr(s)("button.home"),to:"/",focusable:"false"},{default:bs(()=>[L9]),_:1},8,["title"]),Ht("a",{"icon-btn":"",title:gr(s)("button.toggle_langs"),onClick:w[1]||(w[1]=C=>d())},$9,8,B9),Ht("a",{"icon-btn":"",title:gr(s)("button.toggle_dark"),onClick:w[2]||(w[2]=C=>("toggleDark"in y?y.toggleDark:gr(O9))())},z9,8,H9),Ht("a",{"icon-btn":"",rel:"noreferrer",href:gr(zE),target:"_blank",title:"GitHub"},V9,8,G9)])],2)],2)}}});const jd=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s},q9=jd(Y9,[["__scopeId","data-v-a79e7085"]]),K9={},Q9={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function X9(t,i){const s=q9,a=ml("RouterView"),r=Dk;return fn(),jn(Oi,null,[Yr(s),Ht("main",Q9,[Yr(a),Yr(r)])],64)}const J9=jd(K9,[["render",X9]]),Z9={"board-layout":()=>ka(()=>import("./board-layout-bf9963cb.js"),[],import.meta.url),default:J9,headless:()=>ka(()=>import("./headless-9d591374.js"),[],import.meta.url),home:()=>ka(()=>import("./home-4b096dea.js"),[],import.meta.url),"index-layout":()=>ka(()=>import("./index-layout-99a69320.js"),[],import.meta.url)};function eO(t){return t.map(i=>{var s;return{path:i.path,meta:i.meta,component:Z9[((s=i.meta)==null?void 0:s.layout)||"default"],children:i.path==="/"?[i]:[{...i,path:""}]}})}const tO=["top","right","bottom","left"],pw=["start","end"],gw=tO.reduce((t,i)=>t.concat(i,i+"-"+pw[0],i+"-"+pw[1]),[]),Up=Math.min,U0=Math.max,rO={left:"right",right:"left",bottom:"top",top:"bottom"},nO={start:"end",end:"start"};function A4(t,i,s){return U0(t,Up(i,s))}function lh(t,i){return typeof t=="function"?t(i):t}function Yl(t){return t.split("-")[0]}function gl(t){return t.split("-")[1]}function XE(t){return t==="x"?"y":"x"}function Ky(t){return t==="y"?"height":"width"}function eg(t){return["top","bottom"].includes(Yl(t))?"y":"x"}function Qy(t){return XE(eg(t))}function JE(t,i,s){s===void 0&&(s=!1);const a=gl(t),r=Qy(t),e=Ky(r);let d=r==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return i.reference[e]>i.floating[e]&&(d=v2(d)),[d,v2(d)]}function iO(t){const i=v2(t);return[m2(t),i,m2(i)]}function m2(t){return t.replace(/start|end/g,i=>nO[i])}function sO(t,i,s){const a=["left","right"],r=["right","left"],e=["top","bottom"],d=["bottom","top"];switch(t){case"top":case"bottom":return s?i?r:a:i?a:r;case"left":case"right":return i?e:d;default:return[]}}function aO(t,i,s,a){const r=gl(t);let e=sO(Yl(t),s==="start",a);return r&&(e=e.map(d=>d+"-"+r),i&&(e=e.concat(e.map(m2)))),e}function v2(t){return t.replace(/left|right|bottom|top/g,i=>rO[i])}function oO(t){return{top:0,right:0,bottom:0,left:0,...t}}function ZE(t){return typeof t!="number"?oO(t):{top:t,right:t,bottom:t,left:t}}function _p(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function mw(t,i,s){let{reference:a,floating:r}=t;const e=eg(i),d=Qy(i),y=Ky(d),w=Yl(i),F=e==="y",C=a.x+a.width/2-r.width/2,A=a.y+a.height/2-r.height/2,R=a[y]/2-r[y]/2;let L;switch(w){case"top":L={x:C,y:a.y-r.height};break;case"bottom":L={x:C,y:a.y+a.height};break;case"right":L={x:a.x+a.width,y:A};break;case"left":L={x:a.x-r.width,y:A};break;default:L={x:a.x,y:a.y}}switch(gl(i)){case"start":L[d]-=R*(s&&F?-1:1);break;case"end":L[d]+=R*(s&&F?-1:1);break}return L}const lO=async(t,i,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:e=[],platform:d}=s,y=e.filter(Boolean),w=await(d.isRTL==null?void 0:d.isRTL(i));let F=await d.getElementRects({reference:t,floating:i,strategy:r}),{x:C,y:A}=mw(F,a,w),R=a,L={},B=0;for(let I=0;I<y.length;I++){const{name:z,fn:H}=y[I],{x:K,y:oe,data:j,reset:G}=await H({x:C,y:A,initialPlacement:a,placement:R,strategy:r,middlewareData:L,rects:F,platform:d,elements:{reference:t,floating:i}});if(C=K??C,A=oe??A,L={...L,[z]:{...L[z],...j}},G&&B<=50){B++,typeof G=="object"&&(G.placement&&(R=G.placement),G.rects&&(F=G.rects===!0?await d.getElementRects({reference:t,floating:i,strategy:r}):G.rects),{x:C,y:A}=mw(F,R,w)),I=-1;continue}}return{x:C,y:A,placement:R,strategy:r,middlewareData:L}};async function Z2(t,i){var s;i===void 0&&(i={});const{x:a,y:r,platform:e,rects:d,elements:y,strategy:w}=t,{boundary:F="clippingAncestors",rootBoundary:C="viewport",elementContext:A="floating",altBoundary:R=!1,padding:L=0}=lh(i,t),B=ZE(L),z=y[R?A==="floating"?"reference":"floating":A],H=_p(await e.getClippingRect({element:(s=await(e.isElement==null?void 0:e.isElement(z)))==null||s?z:z.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(y.floating)),boundary:F,rootBoundary:C,strategy:w})),K=A==="floating"?{...d.floating,x:a,y:r}:d.reference,oe=await(e.getOffsetParent==null?void 0:e.getOffsetParent(y.floating)),j=await(e.isElement==null?void 0:e.isElement(oe))?await(e.getScale==null?void 0:e.getScale(oe))||{x:1,y:1}:{x:1,y:1},G=_p(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:K,offsetParent:oe,strategy:w}):K);return{top:(H.top-G.top+B.top)/j.y,bottom:(G.bottom-H.bottom+B.bottom)/j.y,left:(H.left-G.left+B.left)/j.x,right:(G.right-H.right+B.right)/j.x}}const cO=t=>({name:"arrow",options:t,async fn(i){const{x:s,y:a,placement:r,rects:e,platform:d,elements:y}=i,{element:w,padding:F=0}=lh(t,i)||{};if(w==null)return{};const C=ZE(F),A={x:s,y:a},R=Qy(r),L=Ky(R),B=await d.getDimensions(w),I=R==="y",z=I?"top":"left",H=I?"bottom":"right",K=I?"clientHeight":"clientWidth",oe=e.reference[L]+e.reference[R]-A[R]-e.floating[L],j=A[R]-e.reference[R],G=await(d.getOffsetParent==null?void 0:d.getOffsetParent(w));let Z=G?G[K]:0;(!Z||!await(d.isElement==null?void 0:d.isElement(G)))&&(Z=y.floating[K]||e.floating[L]);const ie=oe/2-j/2,re=Z/2-B[L]/2-1,ae=Up(C[z],re),ue=Up(C[H],re),we=ae,Ie=Z-B[L]-ue,Ae=Z/2-B[L]/2+ie,Ee=A4(we,Ae,Ie),Xe=gl(r)!=null&&Ae!=Ee&&e.reference[L]/2-(Ae<we?ae:ue)-B[L]/2<0?Ae<we?we-Ae:Ie-Ae:0;return{[R]:A[R]-Xe,data:{[R]:Ee,centerOffset:Ae-Ee+Xe}}}});function uO(t,i,s){return(t?[...s.filter(r=>gl(r)===t),...s.filter(r=>gl(r)!==t)]:s.filter(r=>Yl(r)===r)).filter(r=>t?gl(r)===t||(i?m2(r)!==r:!1):!0)}const fO=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(i){var s,a,r;const{rects:e,middlewareData:d,placement:y,platform:w,elements:F}=i,{crossAxis:C=!1,alignment:A,allowedPlacements:R=gw,autoAlignment:L=!0,...B}=lh(t,i),I=A!==void 0||R===gw?uO(A||null,L,R):R,z=await Z2(i,B),H=((s=d.autoPlacement)==null?void 0:s.index)||0,K=I[H];if(K==null)return{};const oe=JE(K,e,await(w.isRTL==null?void 0:w.isRTL(F.floating)));if(y!==K)return{reset:{placement:I[0]}};const j=[z[Yl(K)],z[oe[0]],z[oe[1]]],G=[...((a=d.autoPlacement)==null?void 0:a.overflows)||[],{placement:K,overflows:j}],Z=I[H+1];if(Z)return{data:{index:H+1,overflows:G},reset:{placement:Z}};const ie=G.map(ue=>{const we=gl(ue.placement);return[ue.placement,we&&C?ue.overflows.slice(0,2).reduce((Ie,Ae)=>Ie+Ae,0):ue.overflows[0],ue.overflows]}).sort((ue,we)=>ue[1]-we[1]),ae=((r=ie.filter(ue=>ue[2].slice(0,gl(ue[0])?2:3).every(we=>we<=0))[0])==null?void 0:r[0])||ie[0][0];return ae!==y?{data:{index:H+1,overflows:G},reset:{placement:ae}}:{}}}},hO=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var s;const{placement:a,middlewareData:r,rects:e,initialPlacement:d,platform:y,elements:w}=i,{mainAxis:F=!0,crossAxis:C=!0,fallbackPlacements:A,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:B=!0,...I}=lh(t,i),z=Yl(a),H=Yl(d)===d,K=await(y.isRTL==null?void 0:y.isRTL(w.floating)),oe=A||(H||!B?[v2(d)]:iO(d));!A&&L!=="none"&&oe.push(...aO(d,B,L,K));const j=[d,...oe],G=await Z2(i,I),Z=[];let ie=((s=r.flip)==null?void 0:s.overflows)||[];if(F&&Z.push(G[z]),C){const we=JE(a,e,K);Z.push(G[we[0]],G[we[1]])}if(ie=[...ie,{placement:a,overflows:Z}],!Z.every(we=>we<=0)){var re,ae;const we=(((re=r.flip)==null?void 0:re.index)||0)+1,Ie=j[we];if(Ie)return{data:{index:we,overflows:ie},reset:{placement:Ie}};let Ae=(ae=ie.filter(Ee=>Ee.overflows[0]<=0).sort((Ee,We)=>Ee.overflows[1]-We.overflows[1])[0])==null?void 0:ae.placement;if(!Ae)switch(R){case"bestFit":{var ue;const Ee=(ue=ie.map(We=>[We.placement,We.overflows.filter(Xe=>Xe>0).reduce((Xe,Me)=>Xe+Me,0)]).sort((We,Xe)=>We[1]-Xe[1])[0])==null?void 0:ue[0];Ee&&(Ae=Ee);break}case"initialPlacement":Ae=d;break}if(a!==Ae)return{reset:{placement:Ae}}}return{}}}};async function dO(t,i){const{placement:s,platform:a,elements:r}=t,e=await(a.isRTL==null?void 0:a.isRTL(r.floating)),d=Yl(s),y=gl(s),w=eg(s)==="y",F=["left","top"].includes(d)?-1:1,C=e&&w?-1:1,A=lh(i,t);let{mainAxis:R,crossAxis:L,alignmentAxis:B}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...A};return y&&typeof B=="number"&&(L=y==="end"?B*-1:B),w?{x:L*C,y:R*F}:{x:R*F,y:L*C}}const pO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){const{x:s,y:a}=i,r=await dO(i,t);return{x:s+r.x,y:a+r.y,data:r}}}},gO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:s,y:a,placement:r}=i,{mainAxis:e=!0,crossAxis:d=!1,limiter:y={fn:z=>{let{x:H,y:K}=z;return{x:H,y:K}}},...w}=lh(t,i),F={x:s,y:a},C=await Z2(i,w),A=eg(Yl(r)),R=XE(A);let L=F[R],B=F[A];if(e){const z=R==="y"?"top":"left",H=R==="y"?"bottom":"right",K=L+C[z],oe=L-C[H];L=A4(K,L,oe)}if(d){const z=A==="y"?"top":"left",H=A==="y"?"bottom":"right",K=B+C[z],oe=B-C[H];B=A4(K,B,oe)}const I=y.fn({...i,[R]:L,[A]:B});return{...I,data:{x:I.x-s,y:I.y-a}}}}},mO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){const{placement:s,rects:a,platform:r,elements:e}=i,{apply:d=()=>{},...y}=lh(t,i),w=await Z2(i,y),F=Yl(s),C=gl(s),A=eg(s)==="y",{width:R,height:L}=a.floating;let B,I;F==="top"||F==="bottom"?(B=F,I=C===(await(r.isRTL==null?void 0:r.isRTL(e.floating))?"start":"end")?"left":"right"):(I=F,B=C==="end"?"top":"bottom");const z=L-w[B],H=R-w[I],K=!i.middlewareData.shift;let oe=z,j=H;if(A){const Z=R-w.left-w.right;j=C||K?Up(H,Z):Z}else{const Z=L-w.top-w.bottom;oe=C||K?Up(z,Z):Z}if(K&&!C){const Z=U0(w.left,0),ie=U0(w.right,0),re=U0(w.top,0),ae=U0(w.bottom,0);A?j=R-2*(Z!==0||ie!==0?Z+ie:U0(w.left,w.right)):oe=L-2*(re!==0||ae!==0?re+ae:U0(w.top,w.bottom))}await d({...i,availableWidth:j,availableHeight:oe});const G=await r.getDimensions(e.floating);return R!==G.width||L!==G.height?{reset:{rects:!0}}:{}}}};function xo(t){var i;return((i=t.ownerDocument)==null?void 0:i.defaultView)||window}function zl(t){return xo(t).getComputedStyle(t)}const vw=Math.min,wp=Math.max,b2=Math.round;function e6(t){const i=zl(t);let s=parseFloat(i.width),a=parseFloat(i.height);const r=t.offsetWidth,e=t.offsetHeight,d=b2(s)!==r||b2(a)!==e;return d&&(s=r,a=e),{width:s,height:a,fallback:d}}function Df(t){return r6(t)?(t.nodeName||"").toLowerCase():""}let Mm;function t6(){if(Mm)return Mm;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(Mm=t.brands.map(i=>i.brand+"/"+i.version).join(" "),Mm):navigator.userAgent}function Gl(t){return t instanceof xo(t).HTMLElement}function df(t){return t instanceof xo(t).Element}function r6(t){return t instanceof xo(t).Node}function bw(t){return typeof ShadowRoot>"u"?!1:t instanceof xo(t).ShadowRoot||t instanceof ShadowRoot}function ev(t){const{overflow:i,overflowX:s,overflowY:a,display:r}=zl(t);return/auto|scroll|overlay|hidden|clip/.test(i+a+s)&&!["inline","contents"].includes(r)}function vO(t){return["table","td","th"].includes(Df(t))}function S4(t){const i=/firefox/i.test(t6()),s=zl(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||i&&s.willChange==="filter"||i&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(r=>s.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const e=s.contain;return e!=null&&e.includes(r)})}function n6(){return!/^((?!chrome|android).)*safari/i.test(t6())}function Xy(t){return["html","body","#document"].includes(Df(t))}function i6(t){return df(t)?t:t.contextElement}const s6={x:1,y:1};function Cd(t){const i=i6(t);if(!Gl(i))return s6;const s=i.getBoundingClientRect(),{width:a,height:r,fallback:e}=e6(i);let d=(e?b2(s.width):s.width)/a,y=(e?b2(s.height):s.height)/r;return d&&Number.isFinite(d)||(d=1),y&&Number.isFinite(y)||(y=1),{x:d,y}}function $p(t,i,s,a){var r,e;i===void 0&&(i=!1),s===void 0&&(s=!1);const d=t.getBoundingClientRect(),y=i6(t);let w=s6;i&&(a?df(a)&&(w=Cd(a)):w=Cd(t));const F=y?xo(y):window,C=!n6()&&s;let A=(d.left+(C&&((r=F.visualViewport)==null?void 0:r.offsetLeft)||0))/w.x,R=(d.top+(C&&((e=F.visualViewport)==null?void 0:e.offsetTop)||0))/w.y,L=d.width/w.x,B=d.height/w.y;if(y){const I=xo(y),z=a&&df(a)?xo(a):a;let H=I.frameElement;for(;H&&a&&z!==I;){const K=Cd(H),oe=H.getBoundingClientRect(),j=getComputedStyle(H);oe.x+=(H.clientLeft+parseFloat(j.paddingLeft))*K.x,oe.y+=(H.clientTop+parseFloat(j.paddingTop))*K.y,A*=K.x,R*=K.y,L*=K.x,B*=K.y,A+=oe.x,R+=oe.y,H=xo(H).frameElement}}return{width:L,height:B,top:R,right:A+L,bottom:R+B,left:A,x:A,y:R}}function pf(t){return((r6(t)?t.ownerDocument:t.document)||window.document).documentElement}function tv(t){return df(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function a6(t){return $p(pf(t)).left+tv(t).scrollLeft}function Hp(t){if(Df(t)==="html")return t;const i=t.assignedSlot||t.parentNode||bw(t)&&t.host||pf(t);return bw(i)?i.host:i}function o6(t){const i=Hp(t);return Xy(i)?i.ownerDocument.body:Gl(i)&&ev(i)?i:o6(i)}function y2(t,i){var s;i===void 0&&(i=[]);const a=o6(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=xo(a);return r?i.concat(e,e.visualViewport||[],ev(a)?a:[]):i.concat(a,y2(a))}function yw(t,i,s){return i==="viewport"?_p(function(a,r){const e=xo(a),d=pf(a),y=e.visualViewport;let w=d.clientWidth,F=d.clientHeight,C=0,A=0;if(y){w=y.width,F=y.height;const R=n6();(R||!R&&r==="fixed")&&(C=y.offsetLeft,A=y.offsetTop)}return{width:w,height:F,x:C,y:A}}(t,s)):df(i)?_p(function(a,r){const e=$p(a,!0,r==="fixed"),d=e.top+a.clientTop,y=e.left+a.clientLeft,w=Gl(a)?Cd(a):{x:1,y:1};return{width:a.clientWidth*w.x,height:a.clientHeight*w.y,x:y*w.x,y:d*w.y}}(i,s)):_p(function(a){const r=pf(a),e=tv(a),d=a.ownerDocument.body,y=wp(r.scrollWidth,r.clientWidth,d.scrollWidth,d.clientWidth),w=wp(r.scrollHeight,r.clientHeight,d.scrollHeight,d.clientHeight);let F=-e.scrollLeft+a6(a);const C=-e.scrollTop;return zl(d).direction==="rtl"&&(F+=wp(r.clientWidth,d.clientWidth)-y),{width:y,height:w,x:F,y:C}}(pf(t)))}function _w(t){return Gl(t)&&zl(t).position!=="fixed"?t.offsetParent:null}function ww(t){const i=xo(t);let s=_w(t);for(;s&&vO(s)&&zl(s).position==="static";)s=_w(s);return s&&(Df(s)==="html"||Df(s)==="body"&&zl(s).position==="static"&&!S4(s))?i:s||function(a){let r=Hp(a);for(;Gl(r)&&!Xy(r);){if(S4(r))return r;r=Hp(r)}return null}(t)||i}function bO(t,i,s){const a=Gl(i),r=pf(i),e=$p(t,!0,s==="fixed",i);let d={scrollLeft:0,scrollTop:0};const y={x:0,y:0};if(a||!a&&s!=="fixed")if((Df(i)!=="body"||ev(r))&&(d=tv(i)),Gl(i)){const w=$p(i,!0);y.x=w.x+i.clientLeft,y.y=w.y+i.clientTop}else r&&(y.x=a6(r));return{x:e.left+d.scrollLeft-y.x,y:e.top+d.scrollTop-y.y,width:e.width,height:e.height}}const yO={getClippingRect:function(t){let{element:i,boundary:s,rootBoundary:a,strategy:r}=t;const e=s==="clippingAncestors"?function(F,C){const A=C.get(F);if(A)return A;let R=y2(F).filter(z=>df(z)&&Df(z)!=="body"),L=null;const B=zl(F).position==="fixed";let I=B?Hp(F):F;for(;df(I)&&!Xy(I);){const z=zl(I),H=S4(I);(B?H||L:H||z.position!=="static"||!L||!["absolute","fixed"].includes(L.position))?L=z:R=R.filter(K=>K!==I),I=Hp(I)}return C.set(F,R),R}(i,this._c):[].concat(s),d=[...e,a],y=d[0],w=d.reduce((F,C)=>{const A=yw(i,C,r);return F.top=wp(A.top,F.top),F.right=vw(A.right,F.right),F.bottom=vw(A.bottom,F.bottom),F.left=wp(A.left,F.left),F},yw(i,y,r));return{width:w.right-w.left,height:w.bottom-w.top,x:w.left,y:w.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:i,offsetParent:s,strategy:a}=t;const r=Gl(s),e=pf(s);if(s===e)return i;let d={scrollLeft:0,scrollTop:0},y={x:1,y:1};const w={x:0,y:0};if((r||!r&&a!=="fixed")&&((Df(s)!=="body"||ev(e))&&(d=tv(s)),Gl(s))){const F=$p(s);y=Cd(s),w.x=F.x+s.clientLeft,w.y=F.y+s.clientTop}return{width:i.width*y.x,height:i.height*y.y,x:i.x*y.x-d.scrollLeft*y.x+w.x,y:i.y*y.y-d.scrollTop*y.y+w.y}},isElement:df,getDimensions:function(t){return Gl(t)?e6(t):t.getBoundingClientRect()},getOffsetParent:ww,getDocumentElement:pf,getScale:Cd,async getElementRects(t){let{reference:i,floating:s,strategy:a}=t;const r=this.getOffsetParent||ww,e=this.getDimensions;return{reference:bO(i,await r(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>zl(t).direction==="rtl"},_O=(t,i,s)=>{const a=new Map,r={platform:yO,...s},e={...r.platform,_c:a};return lO(t,i,{...r,platform:e})};function l6(t,i){for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(typeof i[s]=="object"&&t[s]?l6(t[s],i[s]):t[s]=i[s])}const Hc={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,i){let s=Hc.themes[t]||{},a;do a=s[i],typeof a>"u"?s.$extend?s=Hc.themes[s.$extend]||{}:(s=null,a=Hc[i]):s=null;while(s);return a}function wO(t){const i=[t];let s=Hc.themes[t]||{};do s.$extend&&!s.$resetCss?(i.push(s.$extend),s=Hc.themes[s.$extend]||{}):s=null;while(s);return i.map(a=>`v-popper--theme-${a}`)}function Dw(t){const i=[t];let s=Hc.themes[t]||{};do s.$extend?(i.push(s.$extend),s=Hc.themes[s.$extend]||{}):s=null;while(s);return i}let rh=!1;if(typeof window<"u"){rh=!1;try{const t=Object.defineProperty({},"passive",{get(){rh=!0}});window.addEventListener("test",null,t)}catch{}}let c6=!1;typeof window<"u"&&typeof navigator<"u"&&(c6=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const u6=["auto","top","bottom","left","right"].reduce((t,i)=>t.concat([i,`${i}-start`,`${i}-end`]),[]),Fw={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Ew={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function xw(t,i){const s=t.indexOf(i);s!==-1&&t.splice(s,1)}function Mb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const fl=[];let L0=null;const Cw={};function Tw(t){let i=Cw[t];return i||(i=Cw[t]=[]),i}let k4=function(){};typeof window<"u"&&(k4=window.Element);function En(t){return function(i){return Wp(i.theme,t)}}const Lb="__floating-vue__popper",f6=()=>ls({name:"VPopper",provide(){return{[Lb]:{parentPopper:this}}},inject:{[Lb]:{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:En("disabled")},positioningDisabled:{type:Boolean,default:En("positioningDisabled")},placement:{type:String,default:En("placement"),validator:t=>u6.includes(t)},delay:{type:[String,Number,Object],default:En("delay")},distance:{type:[Number,String],default:En("distance")},skidding:{type:[Number,String],default:En("skidding")},triggers:{type:Array,default:En("triggers")},showTriggers:{type:[Array,Function],default:En("showTriggers")},hideTriggers:{type:[Array,Function],default:En("hideTriggers")},popperTriggers:{type:Array,default:En("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:En("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:En("popperHideTriggers")},container:{type:[String,Object,k4,Boolean],default:En("container")},boundary:{type:[String,k4],default:En("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:En("strategy")},autoHide:{type:[Boolean,Function],default:En("autoHide")},handleResize:{type:Boolean,default:En("handleResize")},instantMove:{type:Boolean,default:En("instantMove")},eagerMount:{type:Boolean,default:En("eagerMount")},popperClass:{type:[String,Array,Object],default:En("popperClass")},computeTransformOrigin:{type:Boolean,default:En("computeTransformOrigin")},autoMinSize:{type:Boolean,default:En("autoMinSize")},autoSize:{type:[Boolean,String],default:En("autoSize")},autoMaxSize:{type:Boolean,default:En("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:En("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:En("preventOverflow")},overflowPadding:{type:[Number,String],default:En("overflowPadding")},arrowPadding:{type:[Number,String],default:En("arrowPadding")},arrowOverflow:{type:Boolean,default:En("arrowOverflow")},flip:{type:Boolean,default:En("flip")},shift:{type:Boolean,default:En("shift")},shiftCrossAxis:{type:Boolean,default:En("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:En("noAutoFocus")},disposeTimeout:{type:Number,default:En("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[Lb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,i;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((i=this.popperShowTriggers)==null?void 0:i.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,i)=>(t[i]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,i)=>(t[i]="$_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:i=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,i),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:i=!1}={}){var s;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:i}),this.parentPopper.lockedChild=null)},1e3));return}((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,i),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(i=>i.nodeType===i.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(pO({mainAxis:this.distance,crossAxis:this.skidding}));const i=this.placement.startsWith("auto");if(i?t.middleware.push(fO({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(gO({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!i&&this.flip&&t.middleware.push(hO({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(cO({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:r,middlewareData:e})=>{let d;const{centerOffset:y}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?d=Math.abs(y)>r.reference.width/2:d=Math.abs(y)>r.reference.height/2,{data:{overflow:d}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:e,middlewareData:d})=>{var y;if((y=d.autoSize)!=null&&y.skip)return{};let w,F;return e.startsWith("top")||e.startsWith("bottom")?w=r.reference.width:F=r.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=w!=null?`${w}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=F!=null?`${F}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(mO({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:r})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const s=await _O(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:{...s.middlewareData.arrow,...s.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,i=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),L0&&this.instantMove&&L0.instantMove&&L0!==this.parentPopper){L0.$_applyHide(!0),this.$_applyShow(!0);return}i?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,i=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(L0=this),i?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const i=this.delay;return parseInt(i&&i[t]||i||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Mb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...y2(this.$_referenceNode),...y2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const i=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=i.x+i.width/2-(a.left+s.offsetLeft),e=i.y+i.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let i;for(let s=0;s<fl.length;s++)i=fl[s],i.showGroup!==t&&(i.hide(),i.$emit("close-group"))}fl.push(this),document.body.classList.add("v-popper--some-open");for(const i of Dw(this.theme))Tw(i).push(this),document.body.classList.add(`v-popper--some-open--${i}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Mb(),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,xw(fl,this),fl.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of Dw(this.theme)){const a=Tw(s);xw(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}L0===this&&(L0=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const i=this.disposeTimeout;i!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},i)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Mb(),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=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,Fw,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Fw,this.popperTriggers,this.popperShowTriggers,t);const i=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,Ew,this.triggers,this.hideTriggers,i),this.$_registerTriggerListeners([this.$_popperNode],Ew,this.popperTriggers,this.popperHideTriggers,i)},$_registerEventListeners(t,i,s){this.$_events.push({targetNodes:t,eventType:i,handler:s}),t.forEach(a=>a.addEventListener(i,s,rh?{passive:!0}:void 0))},$_registerTriggerListeners(t,i,s,a,r){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(d=>{const y=i[d];y&&this.$_registerEventListeners(t,y,r)})},$_removeEventListeners(t){const i=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:e}=s;!t||t===r?a.forEach(d=>d.removeEventListener(r,e)):i.push(s)}),this.$_events=i},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,i=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,i){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(i,a))}},$_applyAttrsToTarget(t){for(const i of this.$_targetNodes)for(const s in t){const a=t[s];a==null?i.removeAttribute(s):i.setAttribute(s,a)}},$_updateParentShownChildren(t){let i=this.parentPopper;for(;i;)t?i.shownChildren.add(this.randomId):(i.shownChildren.delete(this.randomId),i.$_pendingHide&&i.hide()),i=i.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(Dp>=t.left&&Dp<=t.right&&Fp>=t.top&&Fp<=t.bottom){const i=this.$_popperNode.getBoundingClientRect(),s=Dp-ef,a=Fp-tf,r=i.left+i.width/2-ef+(i.top+i.height/2)-tf+i.width+i.height,e=ef+s*r,d=tf+a*r;return Lm(ef,tf,e,d,i.left,i.top,i.left,i.bottom)||Lm(ef,tf,e,d,i.left,i.top,i.right,i.top)||Lm(ef,tf,e,d,i.right,i.top,i.right,i.bottom)||Lm(ef,tf,e,d,i.left,i.bottom,i.right,i.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(c6?(document.addEventListener("touchstart",Aw,rh?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",FO,rh?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Aw,!0),window.addEventListener("click",DO,!0)),window.addEventListener("resize",CO));function Aw(t){for(let i=0;i<fl.length;i++){const s=fl[i];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function DO(t){h6(t)}function FO(t){h6(t,!0)}function h6(t,i=!1){const s={};for(let a=fl.length-1;a>=0;a--){const r=fl[a];try{const e=r.$_containsGlobalTarget=EO(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&Sw(r,e,t)){if(r.$_handleGlobalClose(t,i),!t.closeAllPopover&&t.closePopover&&e){let y=r.parentPopper;for(;y;)s[y.randomId]=!0,y=y.parentPopper;return}let d=r.parentPopper;for(;d&&Sw(d,d.$_containsGlobalTarget,t);)d.$_handleGlobalClose(t,i),d=d.parentPopper}})}catch{}}}function EO(t,i){const s=t.popperNode();return t.$_mouseDownContains||s.contains(i.target)}function Sw(t,i,s){return s.closeAllPopover||s.closePopover&&i||xO(t,s)&&!i}function xO(t,i){if(typeof t.autoHide=="function"){const s=t.autoHide(i);return t.lastAutoHide=s,s}return t.autoHide}function CO(t){for(let i=0;i<fl.length;i++)fl[i].$_computePosition(t)}let ef=0,tf=0,Dp=0,Fp=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{ef=Dp,tf=Fp,Dp=t.clientX,Fp=t.clientY},rh?{passive:!0}:void 0);function Lm(t,i,s,a,r,e,d,y){const w=((d-r)*(i-e)-(y-e)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i)),F=((s-t)*(i-e)-(a-i)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i));return w>=0&&w<=1&&F>=0&&F<=1}const TO={extends:f6()},rv=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s};function AO(t,i,s,a,r,e){return fn(),jn("div",{ref:"reference",class:ua(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Z0(t.$slots,"default",dD(vy(t.slotData)))],2)}const SO=rv(TO,[["render",AO]]);function kO(){var t=window.navigator.userAgent,i=t.indexOf("MSIE ");if(i>0)return parseInt(t.substring(i+5,t.indexOf(".",i)),10);var s=t.indexOf("Trident/");if(s>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let Gm;function O4(){O4.init||(O4.init=!0,Gm=kO()!==-1)}var nv={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){O4(),ql(()=>{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",Gm&&this.$el.appendChild(t),t.data="about:blank",Gm||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&&(!Gm&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const OO=BD();B2("data-v-b329ee4c");const RO={class:"resize-observer",tabindex:"-1"};U2();const PO=OO((t,i,s,a,r,e)=>(fn(),jc("div",RO)));nv.render=PO;nv.__scopeId="data-v-b329ee4c";nv.__file="src/components/ResizeObserver.vue";const d6=(t="theme")=>({computed:{themeClass(){return wO(this[t])}}}),IO=ls({name:"VPopperContent",components:{ResizeObserver:nv},mixins:[d6()],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}}}),NO=["id","aria-hidden","tabindex","data-popper-placement"],MO={ref:"inner",class:"v-popper__inner"},LO=Ht("div",{class:"v-popper__arrow-outer"},null,-1),BO=Ht("div",{class:"v-popper__arrow-inner"},null,-1),UO=[LO,BO];function $O(t,i,s,a,r,e){const d=ml("ResizeObserver");return fn(),jn("div",{id:t.popperId,ref:"popover",class:ua(["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:pl(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:i[2]||(i[2]=BF(y=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ht("div",{class:"v-popper__backdrop",onClick:i[0]||(i[0]=y=>t.autoHide&&t.$emit("hide"))}),Ht("div",{class:"v-popper__wrapper",style:pl(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ht("div",MO,[t.mounted?(fn(),jn(Oi,{key:0},[Ht("div",null,[Z0(t.$slots,"default")]),t.handleResize?(fn(),jc(d,{key:0,onNotify:i[1]||(i[1]=y=>t.$emit("resize",y))})):ro("",!0)],64)):ro("",!0)],512),Ht("div",{ref:"arrow",class:"v-popper__arrow-container",style:pl(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},UO,4)],4)],46,NO)}const p6=rv(IO,[["render",$O]]),g6={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)}}},HO=ls({name:"VPopperWrapper",components:{Popper:SO,PopperContent:p6},mixins:[g6,d6("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 WO(t,i,s,a,r,e){const d=ml("PopperContent"),y=ml("Popper");return fn(),jc(y,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:ua([t.themeClass])},{default:bs(({popperId:w,isShown:F,shouldMountContent:C,skipTransition:A,autoHide:R,show:L,hide:B,handleResize:I,onResize:z,classes:H,result:K})=>[Z0(t.$slots,"default",{shown:F,show:L,hide:B}),Yr(d,{ref:"popperContent","popper-id":w,theme:t.finalTheme,shown:F,mounted:C,"skip-transition":A,"auto-hide":R,"handle-resize":I,classes:H,result:K,onHide:B,onResize:z},{default:bs(()=>[Z0(t.$slots,"popper",{shown:F,hide:B})]),_: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 Jy=rv(HO,[["render",WO]]),zO={...Jy,name:"VDropdown",vPopperTheme:"dropdown"},GO={...Jy,name:"VMenu",vPopperTheme:"menu"},jO={...Jy,name:"VTooltip",vPopperTheme:"tooltip"},VO=ls({name:"VTooltipDirective",components:{Popper:f6(),PopperContent:p6},mixins:[g6],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 i=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(i,a)):this.onResult(i,s)}},onResult(t,i){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=i)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),YO=["innerHTML"],qO=["textContent"];function KO(t,i,s,a,r,e){const d=ml("PopperContent"),y=ml("Popper");return fn(),jc(y,G2({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:bs(({popperId:w,isShown:F,shouldMountContent:C,skipTransition:A,autoHide:R,hide:L,handleResize:B,onResize:I,classes:z,result:H})=>[Yr(d,{ref:"popperContent",class:ua({"v-popper--tooltip-loading":t.loading}),"popper-id":w,theme:t.theme,shown:F,mounted:C,"skip-transition":A,"auto-hide":R,"handle-resize":B,classes:z,result:H,onHide:L,onResize:I},{default:bs(()=>[t.html?(fn(),jn("div",{key:0,innerHTML:t.finalContent},null,8,YO)):(fn(),jn("div",{key:1,textContent:Ji(t.finalContent)},null,8,qO))]),_: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 QO=rv(VO,[["render",KO]]),m6="v-popper--has-tooltip";function XO(t,i){let s=t.placement;if(!s&&i)for(const a of u6)i[a]&&(s=a);return s||(s=Wp(t.theme||"tooltip","placement")),s}function v6(t,i,s){let a;const r=typeof i;return r==="string"?a={content:i}:i&&r==="object"?a=i:a={content:!1},a.placement=XO(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let Bb,zp,JO=0;function ZO(){if(Bb)return;zp=ur([]),Bb=Ey({name:"VTooltipDirectiveApp",setup(){return{directives:zp}},render(){return this.directives.map(i=>ah(QO,{...i.options,shown:i.shown||i.options.shown,key:i.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Bb.mount(t)}function eR(t,i,s){ZO();const a=ur(v6(t,i,s)),r=ur(!1),e={id:JO++,options:a,shown:r};return zp.value.push(e),t.classList&&t.classList.add(m6),t.$_popper={options:a,item:e,show(){r.value=!0},hide(){r.value=!1}}}function b6(t){if(t.$_popper){const i=zp.value.indexOf(t.$_popper.item);i!==-1&&zp.value.splice(i,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(m6)}function kw(t,{value:i,modifiers:s}){const a=v6(t,i,s);if(!a.content||Wp(a.theme||"tooltip","disabled"))b6(t);else{let r;t.$_popper?(r=t.$_popper,r.options.value=a):r=eR(t,i,s),typeof i.shown<"u"&&i.shown!==t.$_popperOldShown&&(t.$_popperOldShown=i.shown,i.shown?r.show():r.hide())}}const tR={beforeMount:kw,updated:kw,beforeUnmount(t){b6(t)}};function Ow(t){t.addEventListener("click",y6),t.addEventListener("touchstart",_6,rh?{passive:!0}:!1)}function Rw(t){t.removeEventListener("click",y6),t.removeEventListener("touchstart",_6),t.removeEventListener("touchend",w6),t.removeEventListener("touchcancel",D6)}function y6(t){const i=t.currentTarget;t.closePopover=!i.$_vclosepopover_touch,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}function _6(t){if(t.changedTouches.length===1){const i=t.currentTarget;i.$_vclosepopover_touch=!0;const s=t.changedTouches[0];i.$_vclosepopover_touchPoint=s,i.addEventListener("touchend",w6),i.addEventListener("touchcancel",D6)}}function w6(t){const i=t.currentTarget;if(i.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=i.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}}function D6(t){const i=t.currentTarget;i.$_vclosepopover_touch=!1}const rR={beforeMount(t,{value:i,modifiers:s}){t.$_closePopoverModifiers=s,(typeof i>"u"||i)&&Ow(t)},updated(t,{value:i,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,i!==s&&(typeof i>"u"||i?Ow(t):Rw(t))},beforeUnmount(t){Rw(t)}};function nR(t,i={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,l6(Hc,i),t.directive("tooltip",tR),t.directive("close-popper",rR),t.component("VTooltip",jO),t.component("VDropdown",zO),t.component("VMenu",GO))}const iR={version:"2.0.0-beta.24",install:nR,options:Hc};class iv{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){const s={listener:i};return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const sv=typeof window>"u"||"Deno"in window;function ll(){}function sR(t,i){return typeof t=="function"?t(i):t}function aR(t){return typeof t=="number"&&t>=0&&t!==1/0}function oR(t,i){return Math.max(t+(i||0)-Date.now(),0)}function Bm(t,i,s){return av(t)?typeof i=="function"?{...s,queryKey:t,queryFn:i}:{...i,queryKey:t}:t}function cf(t,i,s){return av(t)?[{...i,queryKey:t},s]:[t||{},i]}function Pw(t,i){const{type:s="all",exact:a,fetchStatus:r,predicate:e,queryKey:d,stale:y}=t;if(av(d)){if(a){if(i.queryHash!==Zy(d,i.options))return!1}else if(!_2(i.queryKey,d))return!1}if(s!=="all"){const w=i.isActive();if(s==="active"&&!w||s==="inactive"&&w)return!1}return!(typeof y=="boolean"&&i.isStale()!==y||typeof r<"u"&&r!==i.state.fetchStatus||e&&!e(i))}function Iw(t,i){const{exact:s,fetching:a,predicate:r,mutationKey:e}=t;if(av(e)){if(!i.options.mutationKey)return!1;if(s){if(j0(i.options.mutationKey)!==j0(e))return!1}else if(!_2(i.options.mutationKey,e))return!1}return!(typeof a=="boolean"&&i.state.status==="loading"!==a||r&&!r(i))}function Zy(t,i){return((i==null?void 0:i.queryKeyHashFn)||j0)(t)}function j0(t){return JSON.stringify(t,(i,s)=>R4(s)?Object.keys(s).sort().reduce((a,r)=>(a[r]=s[r],a),{}):s)}function _2(t,i){return F6(t,i)}function F6(t,i){return t===i?!0:typeof t!=typeof i?!1:t&&i&&typeof t=="object"&&typeof i=="object"?!Object.keys(i).some(s=>!F6(t[s],i[s])):!1}function E6(t,i){if(t===i)return t;const s=Nw(t)&&Nw(i);if(s||R4(t)&&R4(i)){const a=s?t.length:Object.keys(t).length,r=s?i:Object.keys(i),e=r.length,d=s?[]:{};let y=0;for(let w=0;w<e;w++){const F=s?w:r[w];d[F]=E6(t[F],i[F]),d[F]===t[F]&&y++}return a===e&&y===a?t:d}return i}function eN(t,i){if(t&&!i||i&&!t)return!1;for(const s in t)if(t[s]!==i[s])return!1;return!0}function Nw(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function R4(t){if(!Mw(t))return!1;const i=t.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!Mw(s)||!s.hasOwnProperty("isPrototypeOf"))}function Mw(t){return Object.prototype.toString.call(t)==="[object Object]"}function av(t){return Array.isArray(t)}function x6(t){return new Promise(i=>{setTimeout(i,t)})}function Lw(t){x6(0).then(t)}function lR(){if(typeof AbortController=="function")return new AbortController}function cR(t,i,s){return s.isDataEqual!=null&&s.isDataEqual(t,i)?t:typeof s.structuralSharing=="function"?s.structuralSharing(t,i):s.structuralSharing!==!1?E6(t,i):i}class uR extends iv{constructor(){super(),this.setup=i=>{if(!sv&&window.addEventListener){const s=()=>i();return window.addEventListener("visibilitychange",s,!1),window.addEventListener("focus",s,!1),()=>{window.removeEventListener("visibilitychange",s),window.removeEventListener("focus",s)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(i){this.focused!==i&&(this.focused=i,this.onFocus())}onFocus(){this.listeners.forEach(({listener:i})=>{i()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const P4=new uR,Bw=["online","offline"];class fR extends iv{constructor(){super(),this.setup=i=>{if(!sv&&window.addEventListener){const s=()=>i();return Bw.forEach(a=>{window.addEventListener(a,s,!1)}),()=>{Bw.forEach(a=>{window.removeEventListener(a,s)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setOnline(a):this.onOnline()})}setOnline(i){this.online!==i&&(this.online=i,this.onOnline())}onOnline(){this.listeners.forEach(({listener:i})=>{i()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const w2=new fR;function hR(t){return Math.min(1e3*2**t,3e4)}function e_(t){return(t??"online")==="online"?w2.isOnline():!0}class C6{constructor(i){this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}}function Ub(t){return t instanceof C6}function T6(t){let i=!1,s=0,a=!1,r,e,d;const y=new Promise((z,H)=>{e=z,d=H}),w=z=>{a||(L(new C6(z)),t.abort==null||t.abort())},F=()=>{i=!0},C=()=>{i=!1},A=()=>!P4.isFocused()||t.networkMode!=="always"&&!w2.isOnline(),R=z=>{a||(a=!0,t.onSuccess==null||t.onSuccess(z),r==null||r(),e(z))},L=z=>{a||(a=!0,t.onError==null||t.onError(z),r==null||r(),d(z))},B=()=>new Promise(z=>{r=H=>{const K=a||!A();return K&&z(H),K},t.onPause==null||t.onPause()}).then(()=>{r=void 0,a||t.onContinue==null||t.onContinue()}),I=()=>{if(a)return;let z;try{z=t.fn()}catch(H){z=Promise.reject(H)}Promise.resolve(z).then(R).catch(H=>{var K,oe;if(a)return;const j=(K=t.retry)!=null?K:3,G=(oe=t.retryDelay)!=null?oe:hR,Z=typeof G=="function"?G(s,H):G,ie=j===!0||typeof j=="number"&&s<j||typeof j=="function"&&j(s,H);if(i||!ie){L(H);return}s++,t.onFail==null||t.onFail(s,H),x6(Z).then(()=>{if(A())return B()}).then(()=>{i?L(H):I()})})};return e_(t.networkMode)?I():B().then(I),{promise:y,cancel:w,continue:()=>(r==null?void 0:r())?y:Promise.resolve(),cancelRetry:F,continueRetry:C}}const t_=console;function dR(){let t=[],i=0,s=C=>{C()},a=C=>{C()};const r=C=>{let A;i++;try{A=C()}finally{i--,i||y()}return A},e=C=>{i?t.push(C):Lw(()=>{s(C)})},d=C=>(...A)=>{e(()=>{C(...A)})},y=()=>{const C=t;t=[],C.length&&Lw(()=>{a(()=>{C.forEach(A=>{s(A)})})})};return{batch:r,batchCalls:d,schedule:e,setNotifyFunction:C=>{s=C},setBatchNotifyFunction:C=>{a=C}}}const la=dR();class A6{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),aR(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(i){this.cacheTime=Math.max(this.cacheTime||0,i??(sv?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class pR extends A6{constructor(i){super(),this.abortSignalConsumed=!1,this.defaultOptions=i.defaultOptions,this.setOptions(i.options),this.observers=[],this.cache=i.cache,this.logger=i.logger||t_,this.queryKey=i.queryKey,this.queryHash=i.queryHash,this.initialState=i.state||gR(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(i,s){const a=cR(this.state.data,i,this.options);return this.dispatch({data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(i,s){this.dispatch({type:"setState",state:i,setStateOptions:s})}cancel(i){var s;const a=this.promise;return(s=this.retryer)==null||s.cancel(i),a?a.then(ll).catch(ll):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(i=>i.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(i=>i.getCurrentResult().isStale)}isStaleByTime(i=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!oR(this.state.dataUpdatedAt,i)}onFocus(){var i;const s=this.observers.find(a=>a.shouldFetchOnWindowFocus());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}onOnline(){var i;const s=this.observers.find(a=>a.shouldFetchOnReconnect());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(s=>s!==i),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(i,s){var a,r;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&s!=null&&s.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(i&&this.setOptions(i),!this.options.queryFn){const L=this.observers.find(B=>B.options.queryFn);L&&this.setOptions(L.options)}Array.isArray(this.options.queryKey);const d=lR(),y={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},w=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>{if(d)return this.abortSignalConsumed=!0,d.signal}})};w(y);const F=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(y)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),C={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:F};if(w(C),(a=this.options.behavior)==null||a.onFetch(C),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((r=C.fetchOptions)==null?void 0:r.meta)){var A;this.dispatch({type:"fetch",meta:(A=C.fetchOptions)==null?void 0:A.meta})}const R=L=>{if(Ub(L)&&L.silent||this.dispatch({type:"error",error:L}),!Ub(L)){var B,I,z,H;(B=(I=this.cache.config).onError)==null||B.call(I,L,this),(z=(H=this.cache.config).onSettled)==null||z.call(H,this.state.data,L,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=T6({fn:C.fetchFn,abort:d==null?void 0:d.abort.bind(d),onSuccess:L=>{var B,I,z,H;if(typeof L>"u"){R(new Error(this.queryHash+" data is undefined"));return}this.setData(L),(B=(I=this.cache.config).onSuccess)==null||B.call(I,L,this),(z=(H=this.cache.config).onSettled)==null||z.call(H,L,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:R,onFail:(L,B)=>{this.dispatch({type:"failed",failureCount:L,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:C.options.retry,retryDelay:C.options.retryDelay,networkMode:C.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(i){const s=a=>{var r,e;switch(i.type){case"failed":return{...a,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(r=i.meta)!=null?r:null,fetchStatus:e_(this.options.networkMode)?"fetching":"paused",...!a.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...a,data:i.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(e=i.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const d=i.error;return Ub(d)&&d.revert&&this.revertState?{...this.revertState}:{...a,error:d,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:d,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...i.state}}};this.state=s(this.state),la.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate(i)}),this.cache.notify({query:this,type:"updated",action:i})})}}function gR(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,s=typeof i<"u",a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"loading",fetchStatus:"idle"}}let S6=class extends iv{constructor(i){super(),this.config=i||{},this.queries=[],this.queriesMap={}}build(i,s,a){var r;const e=s.queryKey,d=(r=s.queryHash)!=null?r:Zy(e,s);let y=this.get(d);return y||(y=new pR({cache:this,logger:i.getLogger(),queryKey:e,queryHash:d,options:i.defaultQueryOptions(s),state:a,defaultOptions:i.getQueryDefaults(e)}),this.add(y)),y}add(i){this.queriesMap[i.queryHash]||(this.queriesMap[i.queryHash]=i,this.queries.push(i),this.notify({type:"added",query:i}))}remove(i){const s=this.queriesMap[i.queryHash];s&&(i.destroy(),this.queries=this.queries.filter(a=>a!==i),s===i&&delete this.queriesMap[i.queryHash],this.notify({type:"removed",query:i}))}clear(){la.batch(()=>{this.queries.forEach(i=>{this.remove(i)})})}get(i){return this.queriesMap[i]}getAll(){return this.queries}find(i,s){const[a]=cf(i,s);return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(r=>Pw(a,r))}findAll(i,s){const[a]=cf(i,s);return Object.keys(a).length>0?this.queries.filter(r=>Pw(a,r)):this.queries}notify(i){la.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}onFocus(){la.batch(()=>{this.queries.forEach(i=>{i.onFocus()})})}onOnline(){la.batch(()=>{this.queries.forEach(i=>{i.onOnline()})})}};class mR extends A6{constructor(i){super(),this.defaultOptions=i.defaultOptions,this.mutationId=i.mutationId,this.mutationCache=i.mutationCache,this.logger=i.logger||t_,this.observers=[],this.state=i.state||vR(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(i){this.dispatch({type:"setState",state:i})}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){this.observers=this.observers.filter(s=>s!==i),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var i,s;return(i=(s=this.retryer)==null?void 0:s.continue())!=null?i:this.execute()}async execute(){const i=()=>{var ie;return this.retryer=T6({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(re,ae)=>{this.dispatch({type:"failed",failureCount:re,error:ae})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(ie=this.options.retry)!=null?ie:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},s=this.state.status==="loading";try{var a,r,e,d,y,w,F,C;if(!s){var A,R,L,B;this.dispatch({type:"loading",variables:this.options.variables}),await((A=(R=this.mutationCache.config).onMutate)==null?void 0:A.call(R,this.state.variables,this));const re=await((L=(B=this.options).onMutate)==null?void 0:L.call(B,this.state.variables));re!==this.state.context&&this.dispatch({type:"loading",context:re,variables:this.state.variables})}const ie=await i();return await((a=(r=this.mutationCache.config).onSuccess)==null?void 0:a.call(r,ie,this.state.variables,this.state.context,this)),await((e=(d=this.options).onSuccess)==null?void 0:e.call(d,ie,this.state.variables,this.state.context)),await((y=(w=this.mutationCache.config).onSettled)==null?void 0:y.call(w,ie,null,this.state.variables,this.state.context,this)),await((F=(C=this.options).onSettled)==null?void 0:F.call(C,ie,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:ie}),ie}catch(ie){try{var I,z,H,K,oe,j,G,Z;throw await((I=(z=this.mutationCache.config).onError)==null?void 0:I.call(z,ie,this.state.variables,this.state.context,this)),await((H=(K=this.options).onError)==null?void 0:H.call(K,ie,this.state.variables,this.state.context)),await((oe=(j=this.mutationCache.config).onSettled)==null?void 0:oe.call(j,void 0,ie,this.state.variables,this.state.context,this)),await((G=(Z=this.options).onSettled)==null?void 0:G.call(Z,void 0,ie,this.state.variables,this.state.context)),ie}finally{this.dispatch({type:"error",error:ie})}}}dispatch(i){const s=a=>{switch(i.type){case"failed":return{...a,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"loading":return{...a,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!e_(this.options.networkMode),status:"loading",variables:i.variables};case"success":return{...a,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:i.error,failureCount:a.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"};case"setState":return{...a,...i.state}}};this.state=s(this.state),la.batch(()=>{this.observers.forEach(a=>{a.onMutationUpdate(i)}),this.mutationCache.notify({mutation:this,type:"updated",action:i})})}}function vR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let k6=class extends iv{constructor(i){super(),this.config=i||{},this.mutations=[],this.mutationId=0}build(i,s,a){const r=new mR({mutationCache:this,logger:i.getLogger(),mutationId:++this.mutationId,options:i.defaultMutationOptions(s),state:a,defaultOptions:s.mutationKey?i.getMutationDefaults(s.mutationKey):void 0});return this.add(r),r}add(i){this.mutations.push(i),this.notify({type:"added",mutation:i})}remove(i){this.mutations=this.mutations.filter(s=>s!==i),this.notify({type:"removed",mutation:i})}clear(){la.batch(()=>{this.mutations.forEach(i=>{this.remove(i)})})}getAll(){return this.mutations}find(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(s=>Iw(i,s))}findAll(i){return this.mutations.filter(s=>Iw(i,s))}notify(i){la.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}resumePausedMutations(){var i;return this.resuming=((i=this.resuming)!=null?i:Promise.resolve()).then(()=>{const s=this.mutations.filter(a=>a.state.isPaused);return la.batch(()=>s.reduce((a,r)=>a.then(()=>r.continue().catch(ll)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function bR(){return{onFetch:t=>{t.fetchFn=()=>{var i,s,a,r,e,d;const y=(i=t.fetchOptions)==null||(s=i.meta)==null?void 0:s.refetchPage,w=(a=t.fetchOptions)==null||(r=a.meta)==null?void 0:r.fetchMore,F=w==null?void 0:w.pageParam,C=(w==null?void 0:w.direction)==="forward",A=(w==null?void 0:w.direction)==="backward",R=((e=t.state.data)==null?void 0:e.pages)||[],L=((d=t.state.data)==null?void 0:d.pageParams)||[];let B=L,I=!1;const z=Z=>{Object.defineProperty(Z,"signal",{enumerable:!0,get:()=>{var ie;if((ie=t.signal)!=null&&ie.aborted)I=!0;else{var re;(re=t.signal)==null||re.addEventListener("abort",()=>{I=!0})}return t.signal}})},H=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),K=(Z,ie,re,ae)=>(B=ae?[ie,...B]:[...B,ie],ae?[re,...Z]:[...Z,re]),oe=(Z,ie,re,ae)=>{if(I)return Promise.reject("Cancelled");if(typeof re>"u"&&!ie&&Z.length)return Promise.resolve(Z);const ue={queryKey:t.queryKey,pageParam:re,meta:t.options.meta};z(ue);const we=H(ue);return Promise.resolve(we).then(Ae=>K(Z,re,Ae,ae))};let j;if(!R.length)j=oe([]);else if(C){const Z=typeof F<"u",ie=Z?F:Uw(t.options,R);j=oe(R,Z,ie)}else if(A){const Z=typeof F<"u",ie=Z?F:yR(t.options,R);j=oe(R,Z,ie,!0)}else{B=[];const Z=typeof t.options.getNextPageParam>"u";j=(y&&R[0]?y(R[0],0,R):!0)?oe([],Z,L[0]):Promise.resolve(K([],L[0],R[0]));for(let re=1;re<R.length;re++)j=j.then(ae=>{if(y&&R[re]?y(R[re],re,R):!0){const we=Z?L[re]:Uw(t.options,ae);return oe(ae,Z,we)}return Promise.resolve(K(ae,L[re],R[re]))})}return j.then(Z=>({pages:Z,pageParams:B}))}}}}function Uw(t,i){return t.getNextPageParam==null?void 0:t.getNextPageParam(i[i.length-1],i)}function yR(t,i){return t.getPreviousPageParam==null?void 0:t.getPreviousPageParam(i[0],i)}let _R=class{constructor(i={}){this.queryCache=i.queryCache||new S6,this.mutationCache=i.mutationCache||new k6,this.logger=i.logger||t_,this.defaultOptions=i.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=P4.subscribe(()=>{P4.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=w2.subscribe(()=>{w2.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var i,s;this.mountCount--,this.mountCount===0&&((i=this.unsubscribeFocus)==null||i.call(this),this.unsubscribeFocus=void 0,(s=this.unsubscribeOnline)==null||s.call(this),this.unsubscribeOnline=void 0)}isFetching(i,s){const[a]=cf(i,s);return a.fetchStatus="fetching",this.queryCache.findAll(a).length}isMutating(i){return this.mutationCache.findAll({...i,fetching:!0}).length}getQueryData(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state.data}ensureQueryData(i,s,a){const r=Bm(i,s,a),e=this.getQueryData(r.queryKey);return e?Promise.resolve(e):this.fetchQuery(r)}getQueriesData(i){return this.getQueryCache().findAll(i).map(({queryKey:s,state:a})=>{const r=a.data;return[s,r]})}setQueryData(i,s,a){const r=this.queryCache.find(i),e=r==null?void 0:r.state.data,d=sR(s,e);if(typeof d>"u")return;const y=Bm(i),w=this.defaultQueryOptions(y);return this.queryCache.build(this,w).setData(d,{...a,manual:!0})}setQueriesData(i,s,a){return la.batch(()=>this.getQueryCache().findAll(i).map(({queryKey:r})=>[r,this.setQueryData(r,s,a)]))}getQueryState(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state}removeQueries(i,s){const[a]=cf(i,s),r=this.queryCache;la.batch(()=>{r.findAll(a).forEach(e=>{r.remove(e)})})}resetQueries(i,s,a){const[r,e]=cf(i,s,a),d=this.queryCache,y={type:"active",...r};return la.batch(()=>(d.findAll(r).forEach(w=>{w.reset()}),this.refetchQueries(y,e)))}cancelQueries(i,s,a){const[r,e={}]=cf(i,s,a);typeof e.revert>"u"&&(e.revert=!0);const d=la.batch(()=>this.queryCache.findAll(r).map(y=>y.cancel(e)));return Promise.all(d).then(ll).catch(ll)}invalidateQueries(i,s,a){const[r,e]=cf(i,s,a);return la.batch(()=>{var d,y;if(this.queryCache.findAll(r).forEach(F=>{F.invalidate()}),r.refetchType==="none")return Promise.resolve();const w={...r,type:(d=(y=r.refetchType)!=null?y:r.type)!=null?d:"active"};return this.refetchQueries(w,e)})}refetchQueries(i,s,a){const[r,e]=cf(i,s,a),d=la.batch(()=>this.queryCache.findAll(r).filter(w=>!w.isDisabled()).map(w=>{var F;return w.fetch(void 0,{...e,cancelRefetch:(F=e==null?void 0:e.cancelRefetch)!=null?F:!0,meta:{refetchPage:r.refetchPage}})}));let y=Promise.all(d).then(ll);return e!=null&&e.throwOnError||(y=y.catch(ll)),y}fetchQuery(i,s,a){const r=Bm(i,s,a),e=this.defaultQueryOptions(r);typeof e.retry>"u"&&(e.retry=!1);const d=this.queryCache.build(this,e);return d.isStaleByTime(e.staleTime)?d.fetch(e):Promise.resolve(d.state.data)}prefetchQuery(i,s,a){return this.fetchQuery(i,s,a).then(ll).catch(ll)}fetchInfiniteQuery(i,s,a){const r=Bm(i,s,a);return r.behavior=bR(),this.fetchQuery(r)}prefetchInfiniteQuery(i,s,a){return this.fetchInfiniteQuery(i,s,a).then(ll).catch(ll)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(i){this.defaultOptions=i}setQueryDefaults(i,s){const a=this.queryDefaults.find(r=>j0(i)===j0(r.queryKey));a?a.defaultOptions=s:this.queryDefaults.push({queryKey:i,defaultOptions:s})}getQueryDefaults(i){if(!i)return;const s=this.queryDefaults.find(a=>_2(i,a.queryKey));return s==null?void 0:s.defaultOptions}setMutationDefaults(i,s){const a=this.mutationDefaults.find(r=>j0(i)===j0(r.mutationKey));a?a.defaultOptions=s:this.mutationDefaults.push({mutationKey:i,defaultOptions:s})}getMutationDefaults(i){if(!i)return;const s=this.mutationDefaults.find(a=>_2(i,a.mutationKey));return s==null?void 0:s.defaultOptions}defaultQueryOptions(i){if(i!=null&&i._defaulted)return i;const s={...this.defaultOptions.queries,...this.getQueryDefaults(i==null?void 0:i.queryKey),...i,_defaulted:!0};return!s.queryHash&&s.queryKey&&(s.queryHash=Zy(s.queryKey,s)),typeof s.refetchOnReconnect>"u"&&(s.refetchOnReconnect=s.networkMode!=="always"),typeof s.useErrorBoundary>"u"&&(s.useErrorBoundary=!!s.suspense),s}defaultMutationOptions(i){return i!=null&&i._defaulted?i:{...this.defaultOptions.mutations,...this.getMutationDefaults(i==null?void 0:i.mutationKey),...i,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const wR="VUE_QUERY_CLIENT";function DR(t){const i=t?":"+t:"";return""+wR+i}function ol(t){return Array.isArray(t)}function iN(t,i){Object.keys(t).forEach(s=>{t[s]=i[s]})}function I4(t,i){if(i){const s=i(t);if(s!==void 0||Bn(t))return s}if(Array.isArray(t))return t.map(s=>I4(s,i));if(typeof t=="object"&&FR(t)){const s=Object.entries(t).map(([a,r])=>[a,I4(r,i)]);return Object.fromEntries(s)}return t}function xr(t){return I4(t,i=>{if(Bn(i))return xr(gr(i))})}function FR(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const i=Object.getPrototypeOf(t);return i===null||i===Object.prototype}function sN(t,i){return typeof t=="function"?t(...i):!!t}class ER extends S6{find(i,s){const a=xr(i),r=xr(s);return super.find(a,r)}findAll(i,s){const a=xr(i),r=xr(s);return ol(a)?super.findAll(a,r):super.findAll(a)}}class xR extends k6{find(i){return super.find(xr(i))}findAll(i){return super.findAll(xr(i))}}class $w extends _R{constructor(i={}){const s=xr(i),a={logger:xr(s.logger),defaultOptions:xr(s.defaultOptions),queryCache:s.queryCache||new ER,mutationCache:s.mutationCache||new xR};super(a),this.isRestoring=ur(!1)}isFetching(i,s){const a=xr(i),r=xr(s);return ol(a)?super.isFetching(a,r):super.isFetching(a)}isMutating(i){return super.isMutating(xr(i))}getQueryData(i,s){return super.getQueryData(xr(i),xr(s))}getQueriesData(i){const s=xr(i);return ol(s)?super.getQueriesData(s):super.getQueriesData(s)}setQueryData(i,s,a){return super.setQueryData(xr(i),s,xr(a))}setQueriesData(i,s,a){const r=xr(i),e=xr(a);return ol(r)?super.setQueriesData(r,s,e):super.setQueriesData(r,s,e)}getQueryState(i,s){return super.getQueryState(xr(i),xr(s))}removeQueries(i,s){const a=xr(i);return ol(a)?super.removeQueries(a,xr(s)):super.removeQueries(a)}resetQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.resetQueries(r,e,xr(a)):super.resetQueries(r,e)}cancelQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.cancelQueries(r,e,xr(a)):super.cancelQueries(r,e)}invalidateQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.invalidateQueries(r,e,xr(a)):super.invalidateQueries(r,e)}refetchQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.refetchQueries(r,e,xr(a)):super.refetchQueries(r,e)}fetchQuery(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.fetchQuery(r,e,xr(a)):super.fetchQuery(r)}prefetchQuery(i,s,a){return super.prefetchQuery(xr(i),xr(s),xr(a))}fetchInfiniteQuery(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.fetchInfiniteQuery(r,e,xr(a)):super.fetchInfiniteQuery(r)}prefetchInfiniteQuery(i,s,a){return super.prefetchInfiniteQuery(xr(i),xr(s),xr(a))}setDefaultOptions(i){super.setDefaultOptions(xr(i))}setQueryDefaults(i,s){super.setQueryDefaults(xr(i),xr(s))}getQueryDefaults(i){return super.getQueryDefaults(xr(i))}setMutationDefaults(i,s){super.setMutationDefaults(xr(i),xr(s))}getMutationDefaults(i){return super.getMutationDefaults(xr(i))}}const CR={install:(t,i={})=>{const s=DR(i.queryClientKey);let a;if("queryClient"in i&&i.queryClient)a=i.queryClient;else if(i.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)a=window.__VUE_QUERY_CONTEXT__;else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new $w(d),window.__VUE_QUERY_CONTEXT__=a}else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new $w(d)}sv||a.mount();let r=()=>{};if(i.clientPersister){a.isRestoring.value=!0;const[d,y]=i.clientPersister(a);r=d,y.then(()=>{a.isRestoring.value=!1})}const e=()=>{a.unmount(),r()};if(t.onUnmount)t.onUnmount(e);else{const d=t.unmount;t.unmount=function(){e(),d()}}t.provide(s,a)}};let TR;function AR(){return TR}function SR(t){return typeof t=="function"?t():gr(t)}function N4(t,i=""){if(t instanceof Promise)return t;const s=SR(t);return!t||!s?s:Array.isArray(s)?s.map(a=>N4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,gr(r)]:[a,N4(r,a)])):s}const kR="usehead";function OR(){return Ds()&&fa(kR)||AR()}function RR(t,i={}){const s=OR();if(s)return s.ssr?s.push(t,i):PR(s,t,i)}function PR(t,i,s={}){const a=ur(!1),r=ur({});oy(()=>{r.value=a.value?{}:N4(i)});const e=t.push(r.value,s);return ri(r,y=>{e.patch(y)}),Ds()&&(Xp(()=>{e.dispose()}),fy(()=>{a.value=!0}),uy(()=>{a.value=!1})),e}const IR=ls({__name:"App",setup(t){return RR({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>QE.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>R9.value?"/favicon-dark.svg":"/favicon.svg"}]}),(i,s)=>{const a=ml("RouterView");return fn(),jc(a)}}});var NR=Object.defineProperty,Hw=Object.getOwnPropertySymbols,MR=Object.prototype.hasOwnProperty,LR=Object.prototype.propertyIsEnumerable,Ww=(t,i,s)=>i in t?NR(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,zw=(t,i)=>{for(var s in i||(i={}))MR.call(i,s)&&Ww(t,s,i[s]);if(Hw)for(var s of Hw(i))LR.call(i,s)&&Ww(t,s,i[s]);return t};const $b=new WeakMap;function O6(t,i,s={}){const{mode:a="replace",route:r=fS(),router:e=uS(),transform:d=C=>C}=s;$b.has(r)||$b.set(r,new Map);const y=$b.get(r);oh(()=>{y.delete(t)}),y.set(t,r.query[t]);let w;const F=ry((C,A)=>(w=A,{get(){C();const R=y.get(t);return d(R!==void 0?R:Ri(i))},set(R){y.get(t)!==R&&(y.set(t,R),A(),ql(()=>{const{params:L,query:B,hash:I}=r;e[Ri(a)]({params:L,query:zw(zw({},B),Object.fromEntries(y.entries())),hash:I})}))}}));return ri(()=>r.query[t],C=>{y.set(t,C),w()},{flush:"sync"}),F}var R6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s=1e3,a=6e4,r=36e5,e="millisecond",d="second",y="minute",w="hour",F="day",C="week",A="month",R="quarter",L="year",B="date",I="Invalid Date",z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,K={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(Ae){var Ee=["th","st","nd","rd"],We=Ae%100;return"["+Ae+(Ee[(We-20)%10]||Ee[We]||Ee[0])+"]"}},oe=function(Ae,Ee,We){var Xe=String(Ae);return!Xe||Xe.length>=Ee?Ae:""+Array(Ee+1-Xe.length).join(We)+Ae},j={s:oe,z:function(Ae){var Ee=-Ae.utcOffset(),We=Math.abs(Ee),Xe=Math.floor(We/60),Me=We%60;return(Ee<=0?"+":"-")+oe(Xe,2,"0")+":"+oe(Me,2,"0")},m:function Ae(Ee,We){if(Ee.date()<We.date())return-Ae(We,Ee);var Xe=12*(We.year()-Ee.year())+(We.month()-Ee.month()),Me=Ee.clone().add(Xe,A),pt=We-Me<0,mt=Ee.clone().add(Xe+(pt?-1:1),A);return+(-(Xe+(We-Me)/(pt?Me-mt:mt-Me))||0)},a:function(Ae){return Ae<0?Math.ceil(Ae)||0:Math.floor(Ae)},p:function(Ae){return{M:A,y:L,w:C,d:F,D:B,h:w,m:y,s:d,ms:e,Q:R}[Ae]||String(Ae||"").toLowerCase().replace(/s$/,"")},u:function(Ae){return Ae===void 0}},G="en",Z={};Z[G]=K;var ie=function(Ae){return Ae instanceof we},re=function Ae(Ee,We,Xe){var Me;if(!Ee)return G;if(typeof Ee=="string"){var pt=Ee.toLowerCase();Z[pt]&&(Me=pt),We&&(Z[pt]=We,Me=pt);var mt=Ee.split("-");if(!Me&&mt.length>1)return Ae(mt[0])}else{var Je=Ee.name;Z[Je]=Ee,Me=Je}return!Xe&&Me&&(G=Me),Me||!Xe&&G},ae=function(Ae,Ee){if(ie(Ae))return Ae.clone();var We=typeof Ee=="object"?Ee:{};return We.date=Ae,We.args=arguments,new we(We)},ue=j;ue.l=re,ue.i=ie,ue.w=function(Ae,Ee){return ae(Ae,{locale:Ee.$L,utc:Ee.$u,x:Ee.$x,$offset:Ee.$offset})};var we=function(){function Ae(We){this.$L=re(We.locale,null,!0),this.parse(We)}var Ee=Ae.prototype;return Ee.parse=function(We){this.$d=function(Xe){var Me=Xe.date,pt=Xe.utc;if(Me===null)return new Date(NaN);if(ue.u(Me))return new Date;if(Me instanceof Date)return new Date(Me);if(typeof Me=="string"&&!/Z$/i.test(Me)){var mt=Me.match(z);if(mt){var Je=mt[2]-1||0,me=(mt[7]||"0").substring(0,3);return pt?new Date(Date.UTC(mt[1],Je,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,me)):new Date(mt[1],Je,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,me)}}return new Date(Me)}(We),this.$x=We.x||{},this.init()},Ee.init=function(){var We=this.$d;this.$y=We.getFullYear(),this.$M=We.getMonth(),this.$D=We.getDate(),this.$W=We.getDay(),this.$H=We.getHours(),this.$m=We.getMinutes(),this.$s=We.getSeconds(),this.$ms=We.getMilliseconds()},Ee.$utils=function(){return ue},Ee.isValid=function(){return this.$d.toString()!==I},Ee.isSame=function(We,Xe){var Me=ae(We);return this.startOf(Xe)<=Me&&Me<=this.endOf(Xe)},Ee.isAfter=function(We,Xe){return ae(We)<this.startOf(Xe)},Ee.isBefore=function(We,Xe){return this.endOf(Xe)<ae(We)},Ee.$g=function(We,Xe,Me){return ue.u(We)?this[Xe]:this.set(Me,We)},Ee.unix=function(){return Math.floor(this.valueOf()/1e3)},Ee.valueOf=function(){return this.$d.getTime()},Ee.startOf=function(We,Xe){var Me=this,pt=!!ue.u(Xe)||Xe,mt=ue.p(We),Je=function(Ve,Ce){var gt=ue.w(Me.$u?Date.UTC(Me.$y,Ce,Ve):new Date(Me.$y,Ce,Ve),Me);return pt?gt:gt.endOf(F)},me=function(Ve,Ce){return ue.w(Me.toDate()[Ve].apply(Me.toDate("s"),(pt?[0,0,0,0]:[23,59,59,999]).slice(Ce)),Me)},Ke=this.$W,lt=this.$M,je=this.$D,xe="set"+(this.$u?"UTC":"");switch(mt){case L:return pt?Je(1,0):Je(31,11);case A:return pt?Je(1,lt):Je(0,lt+1);case C:var ze=this.$locale().weekStart||0,se=(Ke<ze?Ke+7:Ke)-ze;return Je(pt?je-se:je+(6-se),lt);case F:case B:return me(xe+"Hours",0);case w:return me(xe+"Minutes",1);case y:return me(xe+"Seconds",2);case d:return me(xe+"Milliseconds",3);default:return this.clone()}},Ee.endOf=function(We){return this.startOf(We,!1)},Ee.$set=function(We,Xe){var Me,pt=ue.p(We),mt="set"+(this.$u?"UTC":""),Je=(Me={},Me[F]=mt+"Date",Me[B]=mt+"Date",Me[A]=mt+"Month",Me[L]=mt+"FullYear",Me[w]=mt+"Hours",Me[y]=mt+"Minutes",Me[d]=mt+"Seconds",Me[e]=mt+"Milliseconds",Me)[pt],me=pt===F?this.$D+(Xe-this.$W):Xe;if(pt===A||pt===L){var Ke=this.clone().set(B,1);Ke.$d[Je](me),Ke.init(),this.$d=Ke.set(B,Math.min(this.$D,Ke.daysInMonth())).$d}else Je&&this.$d[Je](me);return this.init(),this},Ee.set=function(We,Xe){return this.clone().$set(We,Xe)},Ee.get=function(We){return this[ue.p(We)]()},Ee.add=function(We,Xe){var Me,pt=this;We=Number(We);var mt=ue.p(Xe),Je=function(lt){var je=ae(pt);return ue.w(je.date(je.date()+Math.round(lt*We)),pt)};if(mt===A)return this.set(A,this.$M+We);if(mt===L)return this.set(L,this.$y+We);if(mt===F)return Je(1);if(mt===C)return Je(7);var me=(Me={},Me[y]=a,Me[w]=r,Me[d]=s,Me)[mt]||1,Ke=this.$d.getTime()+We*me;return ue.w(Ke,this)},Ee.subtract=function(We,Xe){return this.add(-1*We,Xe)},Ee.format=function(We){var Xe=this,Me=this.$locale();if(!this.isValid())return Me.invalidDate||I;var pt=We||"YYYY-MM-DDTHH:mm:ssZ",mt=ue.z(this),Je=this.$H,me=this.$m,Ke=this.$M,lt=Me.weekdays,je=Me.months,xe=function(Ce,gt,Zt,ne){return Ce&&(Ce[gt]||Ce(Xe,pt))||Zt[gt].slice(0,ne)},ze=function(Ce){return ue.s(Je%12||12,Ce,"0")},se=Me.meridiem||function(Ce,gt,Zt){var ne=Ce<12?"AM":"PM";return Zt?ne.toLowerCase():ne},Ve={YY:String(this.$y).slice(-2),YYYY:ue.s(this.$y,4,"0"),M:Ke+1,MM:ue.s(Ke+1,2,"0"),MMM:xe(Me.monthsShort,Ke,je,3),MMMM:xe(je,Ke),D:this.$D,DD:ue.s(this.$D,2,"0"),d:String(this.$W),dd:xe(Me.weekdaysMin,this.$W,lt,2),ddd:xe(Me.weekdaysShort,this.$W,lt,3),dddd:lt[this.$W],H:String(Je),HH:ue.s(Je,2,"0"),h:ze(1),hh:ze(2),a:se(Je,me,!0),A:se(Je,me,!1),m:String(me),mm:ue.s(me,2,"0"),s:String(this.$s),ss:ue.s(this.$s,2,"0"),SSS:ue.s(this.$ms,3,"0"),Z:mt};return pt.replace(H,function(Ce,gt){return gt||Ve[Ce]||mt.replace(":","")})},Ee.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ee.diff=function(We,Xe,Me){var pt,mt=ue.p(Xe),Je=ae(We),me=(Je.utcOffset()-this.utcOffset())*a,Ke=this-Je,lt=ue.m(this,Je);return lt=(pt={},pt[L]=lt/12,pt[A]=lt,pt[R]=lt/3,pt[C]=(Ke-me)/6048e5,pt[F]=(Ke-me)/864e5,pt[w]=Ke/r,pt[y]=Ke/a,pt[d]=Ke/s,pt)[mt]||Ke,Me?lt:ue.a(lt)},Ee.daysInMonth=function(){return this.endOf(A).$D},Ee.$locale=function(){return Z[this.$L]},Ee.locale=function(We,Xe){if(!We)return this.$L;var Me=this.clone(),pt=re(We,Xe,!0);return pt&&(Me.$L=pt),Me},Ee.clone=function(){return ue.w(this.$d,this)},Ee.toDate=function(){return new Date(this.valueOf())},Ee.toJSON=function(){return this.isValid()?this.toISOString():null},Ee.toISOString=function(){return this.$d.toISOString()},Ee.toString=function(){return this.$d.toUTCString()},Ae}(),Ie=we.prototype;return ae.prototype=Ie,[["$ms",e],["$s",d],["$m",y],["$H",w],["$W",F],["$M",A],["$y",L],["$D",B]].forEach(function(Ae){Ie[Ae[1]]=function(Ee){return this.$g(Ee,Ae[0],Ae[1])}}),ae.extend=function(Ae,Ee){return Ae.$i||(Ae(Ee,we,ae),Ae.$i=!0),ae},ae.locale=re,ae.isDayjs=ie,ae.unix=function(Ae){return ae(1e3*Ae)},ae.en=Z[G],ae.Ls=Z,ae.p={},ae})})(R6);var BR=R6.exports;const Hs=Ma(BR);var P6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s,a,r=1e3,e=6e4,d=36e5,y=864e5,w=/\[([^\]]+)]|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,F=31536e6,C=2592e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,R={years:F,months:C,days:y,hours:d,minutes:e,seconds:r,milliseconds:1,weeks:6048e5},L=function(G){return G instanceof j},B=function(G,Z,ie){return new j(G,ie,Z.$l)},I=function(G){return a.p(G)+"s"},z=function(G){return G<0},H=function(G){return z(G)?Math.ceil(G):Math.floor(G)},K=function(G){return Math.abs(G)},oe=function(G,Z){return G?z(G)?{negative:!0,format:""+K(G)+Z}:{negative:!1,format:""+G+Z}:{negative:!1,format:""}},j=function(){function G(ie,re,ae){var ue=this;if(this.$d={},this.$l=ae,ie===void 0&&(this.$ms=0,this.parseFromMilliseconds()),re)return B(ie*R[I(re)],this);if(typeof ie=="number")return this.$ms=ie,this.parseFromMilliseconds(),this;if(typeof ie=="object")return Object.keys(ie).forEach(function(Ae){ue.$d[I(Ae)]=ie[Ae]}),this.calMilliseconds(),this;if(typeof ie=="string"){var we=ie.match(A);if(we){var Ie=we.slice(2).map(function(Ae){return Ae!=null?Number(Ae):0});return this.$d.years=Ie[0],this.$d.months=Ie[1],this.$d.weeks=Ie[2],this.$d.days=Ie[3],this.$d.hours=Ie[4],this.$d.minutes=Ie[5],this.$d.seconds=Ie[6],this.calMilliseconds(),this}}return this}var Z=G.prototype;return Z.calMilliseconds=function(){var ie=this;this.$ms=Object.keys(this.$d).reduce(function(re,ae){return re+(ie.$d[ae]||0)*R[ae]},0)},Z.parseFromMilliseconds=function(){var ie=this.$ms;this.$d.years=H(ie/F),ie%=F,this.$d.months=H(ie/C),ie%=C,this.$d.days=H(ie/y),ie%=y,this.$d.hours=H(ie/d),ie%=d,this.$d.minutes=H(ie/e),ie%=e,this.$d.seconds=H(ie/r),ie%=r,this.$d.milliseconds=ie},Z.toISOString=function(){var ie=oe(this.$d.years,"Y"),re=oe(this.$d.months,"M"),ae=+this.$d.days||0;this.$d.weeks&&(ae+=7*this.$d.weeks);var ue=oe(ae,"D"),we=oe(this.$d.hours,"H"),Ie=oe(this.$d.minutes,"M"),Ae=this.$d.seconds||0;this.$d.milliseconds&&(Ae+=this.$d.milliseconds/1e3);var Ee=oe(Ae,"S"),We=ie.negative||re.negative||ue.negative||we.negative||Ie.negative||Ee.negative,Xe=we.format||Ie.format||Ee.format?"T":"",Me=(We?"-":"")+"P"+ie.format+re.format+ue.format+Xe+we.format+Ie.format+Ee.format;return Me==="P"||Me==="-P"?"P0D":Me},Z.toJSON=function(){return this.toISOString()},Z.format=function(ie){var re=ie||"YYYY-MM-DDTHH:mm:ss",ae={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return re.replace(w,function(ue,we){return we||String(ae[ue])})},Z.as=function(ie){return this.$ms/R[I(ie)]},Z.get=function(ie){var re=this.$ms,ae=I(ie);return ae==="milliseconds"?re%=1e3:re=ae==="weeks"?H(re/R[ae]):this.$d[ae],re===0?0:re},Z.add=function(ie,re,ae){var ue;return ue=re?ie*R[I(re)]:L(ie)?ie.$ms:B(ie,this).$ms,B(this.$ms+ue*(ae?-1:1),this)},Z.subtract=function(ie,re){return this.add(ie,re,!0)},Z.locale=function(ie){var re=this.clone();return re.$l=ie,re},Z.clone=function(){return B(this.$ms,this)},Z.humanize=function(ie){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!ie)},Z.valueOf=function(){return this.asMilliseconds()},Z.milliseconds=function(){return this.get("milliseconds")},Z.asMilliseconds=function(){return this.as("milliseconds")},Z.seconds=function(){return this.get("seconds")},Z.asSeconds=function(){return this.as("seconds")},Z.minutes=function(){return this.get("minutes")},Z.asMinutes=function(){return this.as("minutes")},Z.hours=function(){return this.get("hours")},Z.asHours=function(){return this.as("hours")},Z.days=function(){return this.get("days")},Z.asDays=function(){return this.as("days")},Z.weeks=function(){return this.get("weeks")},Z.asWeeks=function(){return this.as("weeks")},Z.months=function(){return this.get("months")},Z.asMonths=function(){return this.as("months")},Z.years=function(){return this.get("years")},Z.asYears=function(){return this.as("years")},G}();return function(G,Z,ie){s=ie,a=ie().$utils(),ie.duration=function(ue,we){var Ie=ie.locale();return B(ue,{$l:Ie},we)},ie.isDuration=L;var re=Z.prototype.add,ae=Z.prototype.subtract;Z.prototype.add=function(ue,we){return L(ue)&&(ue=ue.asMilliseconds()),re.bind(this)(ue,we)},Z.prototype.subtract=function(ue,we){return L(ue)&&(ue=ue.asMilliseconds()),ae.bind(this)(ue,we)}}})})(P6);var UR=P6.exports;const $R=Ma(UR);var I6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(e,d,y){var w=d.prototype;y.utc=function(I){var z={date:I,utc:!0,args:arguments};return new d(z)},w.utc=function(I){var z=y(this.toDate(),{locale:this.$L,utc:!0});return I?z.add(this.utcOffset(),s):z},w.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var F=w.parse;w.parse=function(I){I.utc&&(this.$u=!0),this.$utils().u(I.$offset)||(this.$offset=I.$offset),F.call(this,I)};var C=w.init;w.init=function(){if(this.$u){var I=this.$d;this.$y=I.getUTCFullYear(),this.$M=I.getUTCMonth(),this.$D=I.getUTCDate(),this.$W=I.getUTCDay(),this.$H=I.getUTCHours(),this.$m=I.getUTCMinutes(),this.$s=I.getUTCSeconds(),this.$ms=I.getUTCMilliseconds()}else C.call(this)};var A=w.utcOffset;w.utcOffset=function(I,z){var H=this.$utils().u;if(H(I))return this.$u?0:H(this.$offset)?A.call(this):this.$offset;if(typeof I=="string"&&(I=function(G){G===void 0&&(G="");var Z=G.match(a);if(!Z)return null;var ie=(""+Z[0]).match(r)||["-",0,0],re=ie[0],ae=60*+ie[1]+ +ie[2];return ae===0?0:re==="+"?ae:-ae}(I),I===null))return this;var K=Math.abs(I)<=16?60*I:I,oe=this;if(z)return oe.$offset=K,oe.$u=I===0,oe;if(I!==0){var j=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(oe=this.local().add(K+j,s)).$offset=K,oe.$x.$localOffset=j}else oe=this.utc();return oe};var R=w.format;w.format=function(I){var z=I||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return R.call(this,z)},w.valueOf=function(){var I=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*I},w.isUTC=function(){return!!this.$u},w.toISOString=function(){return this.toDate().toISOString()},w.toString=function(){return this.toDate().toUTCString()};var L=w.toDate;w.toDate=function(I){return I==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var B=w.diff;w.diff=function(I,z,H){if(I&&this.$u===I.$u)return B.call(this,I,z,H);var K=this.local(),oe=y(I).local();return B.call(K,oe,z,H)}}})})(I6);var HR=I6.exports;const WR=Ma(HR);var N6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,e,d){var y,w=function(R,L,B){B===void 0&&(B={});var I=new Date(R),z=function(H,K){K===void 0&&(K={});var oe=K.timeZoneName||"short",j=H+"|"+oe,G=a[j];return G||(G=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:H,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:oe}),a[j]=G),G}(L,B);return z.formatToParts(I)},F=function(R,L){for(var B=w(R,L),I=[],z=0;z<B.length;z+=1){var H=B[z],K=H.type,oe=H.value,j=s[K];j>=0&&(I[j]=parseInt(oe,10))}var G=I[3],Z=G===24?0:G,ie=I[0]+"-"+I[1]+"-"+I[2]+" "+Z+":"+I[4]+":"+I[5]+":000",re=+R;return(d.utc(ie).valueOf()-(re-=re%1e3))/6e4},C=e.prototype;C.tz=function(R,L){R===void 0&&(R=y);var B=this.utcOffset(),I=this.toDate(),z=I.toLocaleString("en-US",{timeZone:R}),H=Math.round((I-new Date(z))/1e3/60),K=d(z).$set("millisecond",this.$ms).utcOffset(15*-Math.round(I.getTimezoneOffset()/15)-H,!0);if(L){var oe=K.utcOffset();K=K.add(B-oe,"minute")}return K.$x.$timezone=R,K},C.offsetName=function(R){var L=this.$x.$timezone||d.tz.guess(),B=w(this.valueOf(),L,{timeZoneName:R}).find(function(I){return I.type.toLowerCase()==="timezonename"});return B&&B.value};var A=C.startOf;C.startOf=function(R,L){if(!this.$x||!this.$x.$timezone)return A.call(this,R,L);var B=d(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return A.call(B,R,L).tz(this.$x.$timezone,!0)},d.tz=function(R,L,B){var I=B&&L,z=B||L||y,H=F(+d(),z);if(typeof R!="string")return d(R).tz(z);var K=function(Z,ie,re){var ae=Z-60*ie*1e3,ue=F(ae,re);if(ie===ue)return[ae,ie];var we=F(ae-=60*(ue-ie)*1e3,re);return ue===we?[ae,ue]:[Z-60*Math.min(ue,we)*1e3,Math.max(ue,we)]}(d.utc(R,I).valueOf(),H,z),oe=K[0],j=K[1],G=d(oe).utcOffset(j);return G.$x.$timezone=z,G},d.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},d.tz.setDefault=function(R){y=R}}})})(N6);var zR=N6.exports;const GR=Ma(zR);var M6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a){var r=a.prototype,e=r.format;r.format=function(d){var y=this,w=this.$locale();if(!this.isValid())return e.bind(this)(d);var F=this.$utils(),C=(d||"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(A){switch(A){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return w.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return w.ordinal(y.week(),"W");case"w":case"ww":return F.s(y.week(),A==="w"?1:2,"0");case"W":case"WW":return F.s(y.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return F.s(String(y.$H===0?24:y.$H),A==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return A}});return e.bind(this)(C)}}})})(M6);var jR=M6.exports;const VR=Ma(jR);var L6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a){a.prototype.isSameOrBefore=function(r,e){return this.isSame(r,e)||this.isBefore(r,e)}}})})(L6);var YR=L6.exports;const qR=Ma(YR);var B6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a){a.prototype.isSameOrAfter=function(r,e){return this.isSame(r,e)||this.isAfter(r,e)}}})})(B6);var KR=B6.exports;const QR=Ma(KR);var U6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a,r){var e=function(d,y){if(!y||!y.length||!y[0]||y.length===1&&!y[0].length)return null;var w;y.length===1&&y[0].length>0&&(y=y[0]),w=y[0];for(var F=1;F<y.length;F+=1)y[F].isValid()&&!y[F][d](w)||(w=y[F]);return w};r.max=function(){var d=[].slice.call(arguments,0);return e("isAfter",d)},r.min=function(){var d=[].slice.call(arguments,0);return e("isBefore",d)}}})})(U6);var XR=U6.exports;const JR=Ma(XR);var $6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a,r){s=s||{};var e=a.prototype,d={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 y(F,C,A,R){return e.fromToBase(F,C,A,R)}r.en.relativeTime=d,e.fromToBase=function(F,C,A,R,L){for(var B,I,z,H=A.$locale().relativeTime||d,K=s.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"}],oe=K.length,j=0;j<oe;j+=1){var G=K[j];G.d&&(B=R?r(F).diff(A,G.d,!0):A.diff(F,G.d,!0));var Z=(s.rounding||Math.round)(Math.abs(B));if(z=B>0,Z<=G.r||!G.r){Z<=1&&j>0&&(G=K[j-1]);var ie=H[G.l];L&&(Z=L(""+Z)),I=typeof ie=="string"?ie.replace("%d",Z):ie(Z,C,G.l,z);break}}if(C)return I;var re=z?H.future:H.past;return typeof re=="function"?re(I):re.replace("%s",I)},e.to=function(F,C){return y(F,C,this,!0)},e.from=function(F,C){return y(F,C,this)};var w=function(F){return F.$u?r.utc():r()};e.toNow=function(F){return this.to(w(this),F)},e.fromNow=function(F){return this.from(w(this),F)}}})})($6);var ZR=$6.exports;const eP=Ma(ZR);var D2={exports:{}};/**
30
+ */const pd=typeof window<"u";function l8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Gn=Object.assign;function Sb(t,i){const s={};for(const a in i){const r=i[a];s[a]=vl(r)?r.map(t):t(r)}return s}const gp=()=>{},vl=Array.isArray,c8=/\/$/,u8=t=>t.replace(c8,"");function kb(t,i,s="/"){let a,r={},e="",d="";const y=i.indexOf("#");let w=i.indexOf("?");return y<w&&y>=0&&(w=-1),w>-1&&(a=i.slice(0,w),e=i.slice(w+1,y>-1?y:i.length),r=t(e)),y>-1&&(a=a||i.slice(0,y),d=i.slice(y,i.length)),a=p8(a??i,s),{fullPath:a+(e&&"?")+e+d,path:a,query:r,hash:d}}function f8(t,i){const s=i.query?t(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function v3(t,i){return!i||!t.toLowerCase().startsWith(i.toLowerCase())?t:t.slice(i.length)||"/"}function h8(t,i,s){const a=i.matched.length-1,r=s.matched.length-1;return a>-1&&a===r&&Od(i.matched[a],s.matched[r])&&oE(i.params,s.params)&&t(i.query)===t(s.query)&&i.hash===s.hash}function Od(t,i){return(t.aliasOf||t)===(i.aliasOf||i)}function oE(t,i){if(Object.keys(t).length!==Object.keys(i).length)return!1;for(const s in t)if(!d8(t[s],i[s]))return!1;return!0}function d8(t,i){return vl(t)?b3(t,i):vl(i)?b3(i,t):t===i}function b3(t,i){return vl(i)?t.length===i.length&&t.every((s,a)=>s===i[a]):t.length===1&&t[0]===i}function p8(t,i){if(t.startsWith("/"))return t;if(!t)return i;const s=i.split("/"),a=t.split("/"),r=a[a.length-1];(r===".."||r===".")&&a.push("");let e=s.length-1,d,y;for(d=0;d<a.length;d++)if(y=a[d],y!==".")if(y==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(d-(d===a.length?1:0)).join("/")}var Rd;(function(t){t.pop="pop",t.push="push"})(Rd||(Rd={}));var K0;(function(t){t.back="back",t.forward="forward",t.unknown=""})(K0||(K0={}));const Ob="";function lE(t){if(!t)if(pd){const i=document.querySelector("base");t=i&&i.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),u8(t)}const g8=/^[^#]+#/;function cE(t,i){return t.replace(g8,"#")+i}function m8(t,i){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:i.behavior,left:a.left-s.left-(i.left||0),top:a.top-s.top-(i.top||0)}}const q2=()=>({left:window.pageXOffset,top:window.pageYOffset});function v8(t){let i;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;i=m8(r,t)}else i=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function y3(t,i){return(history.state?history.state.position-i:-1)+t}const b4=new Map;function b8(t,i){b4.set(t,i)}function y8(t){const i=b4.get(t);return b4.delete(t),i}let _8=()=>location.protocol+"//"+location.host;function uE(t,i){const{pathname:s,search:a,hash:r}=i,e=t.indexOf("#");if(e>-1){let y=r.includes(t.slice(e))?t.slice(e).length:1,w=r.slice(y);return w[0]!=="/"&&(w="/"+w),v3(w,"")}return v3(s,t)+a+r}function w8(t,i,s,a){let r=[],e=[],d=null;const y=({state:R})=>{const L=uE(t,location),B=s.value,I=i.value;let z=0;if(R){if(s.value=L,i.value=R,d&&d===B){d=null;return}z=I?R.position-I.position:0}else a(L);r.forEach(H=>{H(s.value,B,{delta:z,type:Rd.pop,direction:z?z>0?K0.forward:K0.back:K0.unknown})})};function w(){d=s.value}function F(R){r.push(R);const L=()=>{const B=r.indexOf(R);B>-1&&r.splice(B,1)};return e.push(L),L}function C(){const{history:R}=window;R.state&&R.replaceState(Gn({},R.state,{scroll:q2()}),"")}function A(){for(const R of e)R();e=[],window.removeEventListener("popstate",y),window.removeEventListener("beforeunload",C)}return window.addEventListener("popstate",y),window.addEventListener("beforeunload",C,{passive:!0}),{pauseListeners:w,listen:F,destroy:A}}function _3(t,i,s,a=!1,r=!1){return{back:t,current:i,forward:s,replaced:a,position:window.history.length,scroll:r?q2():null}}function D8(t){const{history:i,location:s}=window,a={value:uE(t,s)},r={value:i.state};r.value||e(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function e(w,F,C){const A=t.indexOf("#"),R=A>-1?(s.host&&document.querySelector("base")?t:t.slice(A))+w:_8()+t+w;try{i[C?"replaceState":"pushState"](F,"",R),r.value=F}catch(L){console.error(L),s[C?"replace":"assign"](R)}}function d(w,F){const C=Gn({},i.state,_3(r.value.back,w,r.value.forward,!0),F,{position:r.value.position});e(w,C,!0),a.value=w}function y(w,F){const C=Gn({},r.value,i.state,{forward:w,scroll:q2()});e(C.current,C,!0);const A=Gn({},_3(a.value,w,null),{position:C.position+1},F);e(w,A,!1),a.value=w}return{location:a,state:r,push:y,replace:d}}function F8(t){t=lE(t);const i=D8(t),s=w8(t,i.state,i.location,i.replace);function a(e,d=!0){d||s.pauseListeners(),history.go(e)}const r=Gn({location:"",base:t,go:a,createHref:cE.bind(null,t)},i,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>i.state.value}),r}function E8(t=""){let i=[],s=[Ob],a=0;t=lE(t);function r(y){a++,a===s.length||s.splice(a),s.push(y)}function e(y,w,{direction:F,delta:C}){const A={direction:F,delta:C,type:Rd.pop};for(const R of i)R(y,w,A)}const d={location:Ob,state:{},base:t,createHref:cE.bind(null,t),replace(y){s.splice(a--,1),r(y)},push(y,w){r(y)},listen(y){return i.push(y),()=>{const w=i.indexOf(y);w>-1&&i.splice(w,1)}},destroy(){i=[],s=[Ob],a=0},go(y,w=!0){const F=this.location,C=y<0?K0.back:K0.forward;a=Math.max(0,Math.min(a+y,s.length-1)),w&&e(this.location,F,{direction:C,delta:y})}};return Object.defineProperty(d,"location",{enumerable:!0,get:()=>s[a]}),d}function x8(t){return typeof t=="string"||t&&typeof t=="object"}function fE(t){return typeof t=="string"||typeof t=="symbol"}const Qu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hE=Symbol("");var w3;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(w3||(w3={}));function Pd(t,i){return Gn(new Error,{type:t,[hE]:!0},i)}function Ic(t,i){return t instanceof Error&&hE in t&&(i==null||!!(t.type&i))}const D3="[^/]+?",C8={sensitive:!1,strict:!1,start:!0,end:!0},T8=/[.+*?^${}()[\]/\\]/g;function A8(t,i){const s=Gn({},C8,i),a=[];let r=s.start?"^":"";const e=[];for(const F of t){const C=F.length?[]:[90];s.strict&&!F.length&&(r+="/");for(let A=0;A<F.length;A++){const R=F[A];let L=40+(s.sensitive?.25:0);if(R.type===0)A||(r+="/"),r+=R.value.replace(T8,"\\$&"),L+=40;else if(R.type===1){const{value:B,repeatable:I,optional:z,regexp:H}=R;e.push({name:B,repeatable:I,optional:z});const K=H||D3;if(K!==D3){L+=10;try{new RegExp(`(${K})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${B}" (${K}): `+j.message)}}let oe=I?`((?:${K})(?:/(?:${K}))*)`:`(${K})`;A||(oe=z&&F.length<2?`(?:/${oe})`:"/"+oe),z&&(oe+="?"),r+=oe,L+=20,z&&(L+=-8),I&&(L+=-20),K===".*"&&(L+=-50)}C.push(L)}a.push(C)}if(s.strict&&s.end){const F=a.length-1;a[F][a[F].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const d=new RegExp(r,s.sensitive?"":"i");function y(F){const C=F.match(d),A={};if(!C)return null;for(let R=1;R<C.length;R++){const L=C[R]||"",B=e[R-1];A[B.name]=L&&B.repeatable?L.split("/"):L}return A}function w(F){let C="",A=!1;for(const R of t){(!A||!C.endsWith("/"))&&(C+="/"),A=!1;for(const L of R)if(L.type===0)C+=L.value;else if(L.type===1){const{value:B,repeatable:I,optional:z}=L,H=B in F?F[B]:"";if(vl(H)&&!I)throw new Error(`Provided param "${B}" is an array but it is not repeatable (* or + modifiers)`);const K=vl(H)?H.join("/"):H;if(!K)if(z)R.length<2&&(C.endsWith("/")?C=C.slice(0,-1):A=!0);else throw new Error(`Missing required param "${B}"`);C+=K}}return C||"/"}return{re:d,score:a,keys:e,parse:y,stringify:w}}function S8(t,i){let s=0;for(;s<t.length&&s<i.length;){const a=i[s]-t[s];if(a)return a;s++}return t.length<i.length?t.length===1&&t[0]===40+40?-1:1:t.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function k8(t,i){let s=0;const a=t.score,r=i.score;for(;s<a.length&&s<r.length;){const e=S8(a[s],r[s]);if(e)return e;s++}if(Math.abs(r.length-a.length)===1){if(F3(a))return 1;if(F3(r))return-1}return r.length-a.length}function F3(t){const i=t[t.length-1];return t.length>0&&i[i.length-1]<0}const O8={type:0,value:""},R8=/[a-zA-Z0-9_]/;function P8(t){if(!t)return[[]];if(t==="/")return[[O8]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function i(L){throw new Error(`ERR (${s})/"${F}": ${L}`)}let s=0,a=s;const r=[];let e;function d(){e&&r.push(e),e=[]}let y=0,w,F="",C="";function A(){F&&(s===0?e.push({type:0,value:F}):s===1||s===2||s===3?(e.length>1&&(w==="*"||w==="+")&&i(`A repeatable param (${F}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:F,regexp:C,repeatable:w==="*"||w==="+",optional:w==="*"||w==="?"})):i("Invalid state to consume buffer"),F="")}function R(){F+=w}for(;y<t.length;){if(w=t[y++],w==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:w==="/"?(F&&A(),d()):w===":"?(A(),s=1):R();break;case 4:R(),s=a;break;case 1:w==="("?s=2:R8.test(w)?R():(A(),s=0,w!=="*"&&w!=="?"&&w!=="+"&&y--);break;case 2:w===")"?C[C.length-1]=="\\"?C=C.slice(0,-1)+w:s=3:C+=w;break;case 3:A(),s=0,w!=="*"&&w!=="?"&&w!=="+"&&y--,C="";break;default:i("Unknown state");break}}return s===2&&i(`Unfinished custom RegExp for param "${F}"`),A(),d(),r}function I8(t,i,s){const a=A8(P8(t.path),s),r=Gn(a,{record:t,parent:i,children:[],alias:[]});return i&&!r.record.aliasOf==!i.record.aliasOf&&i.children.push(r),r}function N8(t,i){const s=[],a=new Map;i=C3({strict:!1,end:!0,sensitive:!1},i);function r(C){return a.get(C)}function e(C,A,R){const L=!R,B=M8(C);B.aliasOf=R&&R.record;const I=C3(i,C),z=[B];if("alias"in C){const oe=typeof C.alias=="string"?[C.alias]:C.alias;for(const j of oe)z.push(Gn({},B,{components:R?R.record.components:B.components,path:j,aliasOf:R?R.record:B}))}let H,K;for(const oe of z){const{path:j}=oe;if(A&&j[0]!=="/"){const G=A.record.path,Z=G[G.length-1]==="/"?"":"/";oe.path=A.record.path+(j&&Z+j)}if(H=I8(oe,A,I),R?R.alias.push(H):(K=K||H,K!==H&&K.alias.push(H),L&&C.name&&!x3(H)&&d(C.name)),B.children){const G=B.children;for(let Z=0;Z<G.length;Z++)e(G[Z],H,R&&R.children[Z])}R=R||H,(H.record.components&&Object.keys(H.record.components).length||H.record.name||H.record.redirect)&&w(H)}return K?()=>{d(K)}:gp}function d(C){if(fE(C)){const A=a.get(C);A&&(a.delete(C),s.splice(s.indexOf(A),1),A.children.forEach(d),A.alias.forEach(d))}else{const A=s.indexOf(C);A>-1&&(s.splice(A,1),C.record.name&&a.delete(C.record.name),C.children.forEach(d),C.alias.forEach(d))}}function y(){return s}function w(C){let A=0;for(;A<s.length&&k8(C,s[A])>=0&&(C.record.path!==s[A].record.path||!dE(C,s[A]));)A++;s.splice(A,0,C),C.record.name&&!x3(C)&&a.set(C.record.name,C)}function F(C,A){let R,L={},B,I;if("name"in C&&C.name){if(R=a.get(C.name),!R)throw Pd(1,{location:C});I=R.record.name,L=Gn(E3(A.params,R.keys.filter(K=>!K.optional).map(K=>K.name)),C.params&&E3(C.params,R.keys.map(K=>K.name))),B=R.stringify(L)}else if("path"in C)B=C.path,R=s.find(K=>K.re.test(B)),R&&(L=R.parse(B),I=R.record.name);else{if(R=A.name?a.get(A.name):s.find(K=>K.re.test(A.path)),!R)throw Pd(1,{location:C,currentLocation:A});I=R.record.name,L=Gn({},A.params,C.params),B=R.stringify(L)}const z=[];let H=R;for(;H;)z.unshift(H.record),H=H.parent;return{name:I,path:B,params:L,matched:z,meta:B8(z)}}return t.forEach(C=>e(C)),{addRoute:e,resolve:F,removeRoute:d,getRoutes:y,getRecordMatcher:r}}function E3(t,i){const s={};for(const a of i)a in t&&(s[a]=t[a]);return s}function M8(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:L8(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function L8(t){const i={},s=t.props||!1;if("component"in t)i.default=s;else for(const a in t.components)i[a]=typeof s=="object"?s[a]:s;return i}function x3(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function B8(t){return t.reduce((i,s)=>Gn(i,s.meta),{})}function C3(t,i){const s={};for(const a in t)s[a]=a in i?i[a]:t[a];return s}function dE(t,i){return i.children.some(s=>s===t||dE(t,s))}const pE=/#/g,U8=/&/g,$8=/\//g,H8=/=/g,W8=/\?/g,gE=/\+/g,z8=/%5B/g,G8=/%5D/g,mE=/%5E/g,j8=/%60/g,vE=/%7B/g,V8=/%7C/g,bE=/%7D/g,Y8=/%20/g;function Ty(t){return encodeURI(""+t).replace(V8,"|").replace(z8,"[").replace(G8,"]")}function q8(t){return Ty(t).replace(vE,"{").replace(bE,"}").replace(mE,"^")}function y4(t){return Ty(t).replace(gE,"%2B").replace(Y8,"+").replace(pE,"%23").replace(U8,"%26").replace(j8,"`").replace(vE,"{").replace(bE,"}").replace(mE,"^")}function K8(t){return y4(t).replace(H8,"%3D")}function Q8(t){return Ty(t).replace(pE,"%23").replace(W8,"%3F")}function X8(t){return t==null?"":Q8(t).replace($8,"%2F")}function n2(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function J8(t){const i={};if(t===""||t==="?")return i;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<a.length;++r){const e=a[r].replace(gE," "),d=e.indexOf("="),y=n2(d<0?e:e.slice(0,d)),w=d<0?null:n2(e.slice(d+1));if(y in i){let F=i[y];vl(F)||(F=i[y]=[F]),F.push(w)}else i[y]=w}return i}function T3(t){let i="";for(let s in t){const a=t[s];if(s=K8(s),a==null){a!==void 0&&(i+=(i.length?"&":"")+s);continue}(vl(a)?a.map(e=>e&&y4(e)):[a&&y4(a)]).forEach(e=>{e!==void 0&&(i+=(i.length?"&":"")+s,e!=null&&(i+="="+e))})}return i}function Z8(t){const i={};for(const s in t){const a=t[s];a!==void 0&&(i[s]=vl(a)?a.map(r=>r==null?null:""+r):a==null?a:""+a)}return i}const eS=Symbol(""),A3=Symbol(""),K2=Symbol(""),Ay=Symbol(""),_4=Symbol("");function ep(){let t=[];function i(a){return t.push(a),()=>{const r=t.indexOf(a);r>-1&&t.splice(r,1)}}function s(){t=[]}return{add:i,list:()=>t.slice(),reset:s}}function nf(t,i,s,a,r){const e=a&&(a.enterCallbacks[r]=a.enterCallbacks[r]||[]);return()=>new Promise((d,y)=>{const w=A=>{A===!1?y(Pd(4,{from:s,to:i})):A instanceof Error?y(A):x8(A)?y(Pd(2,{from:i,to:A})):(e&&a.enterCallbacks[r]===e&&typeof A=="function"&&e.push(A),d())},F=t.call(a&&a.instances[r],i,s,w);let C=Promise.resolve(F);t.length<3&&(C=C.then(w)),C.catch(A=>y(A))})}function Rb(t,i,s,a){const r=[];for(const e of t)for(const d in e.components){let y=e.components[d];if(!(i!=="beforeRouteEnter"&&!e.instances[d]))if(tS(y)){const F=(y.__vccOpts||y)[i];F&&r.push(nf(F,s,a,e,d))}else{let w=y();r.push(()=>w.then(F=>{if(!F)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${e.path}"`));const C=l8(F)?F.default:F;e.components[d]=C;const R=(C.__vccOpts||C)[i];return R&&nf(R,s,a,e,d)()}))}}return r}function tS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function S3(t){const i=fa(K2),s=fa(Ay),a=gn(()=>i.resolve(gr(t.to))),r=gn(()=>{const{matched:w}=a.value,{length:F}=w,C=w[F-1],A=s.matched;if(!C||!A.length)return-1;const R=A.findIndex(Od.bind(null,C));if(R>-1)return R;const L=k3(w[F-2]);return F>1&&k3(C)===L&&A[A.length-1].path!==L?A.findIndex(Od.bind(null,w[F-2])):R}),e=gn(()=>r.value>-1&&sS(s.params,a.value.params)),d=gn(()=>r.value>-1&&r.value===s.matched.length-1&&oE(s.params,a.value.params));function y(w={}){return iS(w)?i[gr(t.replace)?"replace":"push"](gr(t.to)).catch(gp):Promise.resolve()}return{route:a,href:gn(()=>a.value.href),isActive:e,isExactActive:d,navigate:y}}const rS=ls({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:S3,setup(t,{slots:i}){const s=vf(S3(t)),{options:a}=fa(K2),r=gn(()=>({[O3(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[O3(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=i.default&&i.default(s);return t.custom?e:ah("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},e)}}}),nS=rS;function iS(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 i=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return t.preventDefault&&t.preventDefault(),!0}}function sS(t,i){for(const s in i){const a=i[s],r=t[s];if(typeof a=="string"){if(a!==r)return!1}else if(!vl(r)||r.length!==a.length||a.some((e,d)=>e!==r[d]))return!1}return!0}function k3(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const O3=(t,i,s)=>t??i??s,aS=ls({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:i,slots:s}){const a=fa(_4),r=gn(()=>t.route||a.value),e=fa(A3,0),d=gn(()=>{let F=gr(e);const{matched:C}=r.value;let A;for(;(A=C[F])&&!A.components;)F++;return F}),y=gn(()=>r.value.matched[d.value]);cp(A3,gn(()=>d.value+1)),cp(eS,y),cp(_4,r);const w=ur();return ri(()=>[w.value,y.value,t.name],([F,C,A],[R,L,B])=>{C&&(C.instances[A]=F,L&&L!==C&&F&&F===R&&(C.leaveGuards.size||(C.leaveGuards=L.leaveGuards),C.updateGuards.size||(C.updateGuards=L.updateGuards))),F&&C&&(!L||!Od(C,L)||!R)&&(C.enterCallbacks[A]||[]).forEach(I=>I(F))},{flush:"post"}),()=>{const F=r.value,C=t.name,A=y.value,R=A&&A.components[C];if(!R)return R3(s.default,{Component:R,route:F});const L=A.props[C],B=L?L===!0?F.params:typeof L=="function"?L(F):L:null,z=ah(R,Gn({},B,i,{onVnodeUnmounted:H=>{H.component.isUnmounted&&(A.instances[C]=null)},ref:w}));return R3(s.default,{Component:z,route:F})||z}}});function R3(t,i){if(!t)return null;const s=t(i);return s.length===1?s[0]:s}const oS=aS;function lS(t){const i=N8(t.routes,t),s=t.parseQuery||J8,a=t.stringifyQuery||T3,r=t.history,e=ep(),d=ep(),y=ep(),w=wd(Qu);let F=Qu;pd&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const C=Sb.bind(null,se=>""+se),A=Sb.bind(null,X8),R=Sb.bind(null,n2);function L(se,Ve){let Ce,gt;return fE(se)?(Ce=i.getRecordMatcher(se),gt=Ve):gt=se,i.addRoute(gt,Ce)}function B(se){const Ve=i.getRecordMatcher(se);Ve&&i.removeRoute(Ve)}function I(){return i.getRoutes().map(se=>se.record)}function z(se){return!!i.getRecordMatcher(se)}function H(se,Ve){if(Ve=Gn({},Ve||w.value),typeof se=="string"){const he=kb(s,se,Ve.path),Ye=i.resolve({path:he.path},Ve),Qe=r.createHref(he.fullPath);return Gn(he,Ye,{params:R(Ye.params),hash:n2(he.hash),redirectedFrom:void 0,href:Qe})}let Ce;if("path"in se)Ce=Gn({},se,{path:kb(s,se.path,Ve.path).path});else{const he=Gn({},se.params);for(const Ye in he)he[Ye]==null&&delete he[Ye];Ce=Gn({},se,{params:A(he)}),Ve.params=A(Ve.params)}const gt=i.resolve(Ce,Ve),Zt=se.hash||"";gt.params=C(R(gt.params));const ne=f8(a,Gn({},se,{hash:q8(Zt),path:gt.path})),ce=r.createHref(ne);return Gn({fullPath:ne,hash:Zt,query:a===T3?Z8(se.query):se.query||{}},gt,{redirectedFrom:void 0,href:ce})}function K(se){return typeof se=="string"?kb(s,se,w.value.path):Gn({},se)}function oe(se,Ve){if(F!==se)return Pd(8,{from:Ve,to:se})}function j(se){return ie(se)}function G(se){return j(Gn(K(se),{replace:!0}))}function Z(se){const Ve=se.matched[se.matched.length-1];if(Ve&&Ve.redirect){const{redirect:Ce}=Ve;let gt=typeof Ce=="function"?Ce(se):Ce;return typeof gt=="string"&&(gt=gt.includes("?")||gt.includes("#")?gt=K(gt):{path:gt},gt.params={}),Gn({query:se.query,hash:se.hash,params:"path"in gt?{}:se.params},gt)}}function ie(se,Ve){const Ce=F=H(se),gt=w.value,Zt=se.state,ne=se.force,ce=se.replace===!0,he=Z(Ce);if(he)return ie(Gn(K(he),{state:typeof he=="object"?Gn({},Zt,he.state):Zt,force:ne,replace:ce}),Ve||Ce);const Ye=Ce;Ye.redirectedFrom=Ve;let Qe;return!ne&&h8(a,gt,Ce)&&(Qe=Pd(16,{to:Ye,from:gt}),me(gt,gt,!0,!1)),(Qe?Promise.resolve(Qe):ue(Ye,gt)).catch(tt=>Ic(tt)?Ic(tt,2)?tt:Je(tt):pt(tt,Ye,gt)).then(tt=>{if(tt){if(Ic(tt,2))return ie(Gn({replace:ce},K(tt.to),{state:typeof tt.to=="object"?Gn({},Zt,tt.to.state):Zt,force:ne}),Ve||Ye)}else tt=Ie(Ye,gt,!0,ce,Zt);return we(Ye,gt,tt),tt})}function re(se,Ve){const Ce=oe(se,Ve);return Ce?Promise.reject(Ce):Promise.resolve()}function ae(se){const Ve=je.values().next().value;return Ve&&typeof Ve.runWithContext=="function"?Ve.runWithContext(se):se()}function ue(se,Ve){let Ce;const[gt,Zt,ne]=cS(se,Ve);Ce=Rb(gt.reverse(),"beforeRouteLeave",se,Ve);for(const he of gt)he.leaveGuards.forEach(Ye=>{Ce.push(nf(Ye,se,Ve))});const ce=re.bind(null,se,Ve);return Ce.push(ce),ze(Ce).then(()=>{Ce=[];for(const he of e.list())Ce.push(nf(he,se,Ve));return Ce.push(ce),ze(Ce)}).then(()=>{Ce=Rb(Zt,"beforeRouteUpdate",se,Ve);for(const he of Zt)he.updateGuards.forEach(Ye=>{Ce.push(nf(Ye,se,Ve))});return Ce.push(ce),ze(Ce)}).then(()=>{Ce=[];for(const he of ne)if(he.beforeEnter)if(vl(he.beforeEnter))for(const Ye of he.beforeEnter)Ce.push(nf(Ye,se,Ve));else Ce.push(nf(he.beforeEnter,se,Ve));return Ce.push(ce),ze(Ce)}).then(()=>(se.matched.forEach(he=>he.enterCallbacks={}),Ce=Rb(ne,"beforeRouteEnter",se,Ve),Ce.push(ce),ze(Ce))).then(()=>{Ce=[];for(const he of d.list())Ce.push(nf(he,se,Ve));return Ce.push(ce),ze(Ce)}).catch(he=>Ic(he,8)?he:Promise.reject(he))}function we(se,Ve,Ce){y.list().forEach(gt=>ae(()=>gt(se,Ve,Ce)))}function Ie(se,Ve,Ce,gt,Zt){const ne=oe(se,Ve);if(ne)return ne;const ce=Ve===Qu,he=pd?history.state:{};Ce&&(gt||ce?r.replace(se.fullPath,Gn({scroll:ce&&he&&he.scroll},Zt)):r.push(se.fullPath,Zt)),w.value=se,me(se,Ve,Ce,ce),Je()}let Ae;function Ee(){Ae||(Ae=r.listen((se,Ve,Ce)=>{if(!xe.listening)return;const gt=H(se),Zt=Z(gt);if(Zt){ie(Gn(Zt,{replace:!0}),gt).catch(gp);return}F=gt;const ne=w.value;pd&&b8(y3(ne.fullPath,Ce.delta),q2()),ue(gt,ne).catch(ce=>Ic(ce,12)?ce:Ic(ce,2)?(ie(ce.to,gt).then(he=>{Ic(he,20)&&!Ce.delta&&Ce.type===Rd.pop&&r.go(-1,!1)}).catch(gp),Promise.reject()):(Ce.delta&&r.go(-Ce.delta,!1),pt(ce,gt,ne))).then(ce=>{ce=ce||Ie(gt,ne,!1),ce&&(Ce.delta&&!Ic(ce,8)?r.go(-Ce.delta,!1):Ce.type===Rd.pop&&Ic(ce,20)&&r.go(-1,!1)),we(gt,ne,ce)}).catch(gp)}))}let We=ep(),Xe=ep(),Me;function pt(se,Ve,Ce){Je(se);const gt=Xe.list();return gt.length?gt.forEach(Zt=>Zt(se,Ve,Ce)):console.error(se),Promise.reject(se)}function mt(){return Me&&w.value!==Qu?Promise.resolve():new Promise((se,Ve)=>{We.add([se,Ve])})}function Je(se){return Me||(Me=!se,Ee(),We.list().forEach(([Ve,Ce])=>se?Ce(se):Ve()),We.reset()),se}function me(se,Ve,Ce,gt){const{scrollBehavior:Zt}=t;if(!pd||!Zt)return Promise.resolve();const ne=!Ce&&y8(y3(se.fullPath,0))||(gt||!Ce)&&history.state&&history.state.scroll||null;return ql().then(()=>Zt(se,Ve,ne)).then(ce=>ce&&v8(ce)).catch(ce=>pt(ce,se,Ve))}const Ke=se=>r.go(se);let lt;const je=new Set,xe={currentRoute:w,listening:!0,addRoute:L,removeRoute:B,hasRoute:z,getRoutes:I,resolve:H,options:t,push:j,replace:G,go:Ke,back:()=>Ke(-1),forward:()=>Ke(1),beforeEach:e.add,beforeResolve:d.add,afterEach:y.add,onError:Xe.add,isReady:mt,install(se){const Ve=this;se.component("RouterLink",nS),se.component("RouterView",oS),se.config.globalProperties.$router=Ve,Object.defineProperty(se.config.globalProperties,"$route",{enumerable:!0,get:()=>gr(w)}),pd&&!lt&&w.value===Qu&&(lt=!0,j(r.location).catch(Zt=>{}));const Ce={};for(const Zt in Qu)Object.defineProperty(Ce,Zt,{get:()=>w.value[Zt],enumerable:!0});se.provide(K2,Ve),se.provide(Ay,X4(Ce)),se.provide(_4,w);const gt=se.unmount;je.add(se),se.unmount=function(){je.delete(se),je.size<1&&(F=Qu,Ae&&Ae(),Ae=null,w.value=Qu,lt=!1,Me=!1),gt()}}};function ze(se){return se.reduce((Ve,Ce)=>Ve.then(()=>ae(Ce)),Promise.resolve())}return xe}function cS(t,i){const s=[],a=[],r=[],e=Math.max(i.matched.length,t.matched.length);for(let d=0;d<e;d++){const y=i.matched[d];y&&(t.matched.find(F=>Od(F,y))?a.push(y):s.push(y));const w=t.matched[d];w&&(i.matched.find(F=>Od(F,w))||r.push(w))}return[s,a,r]}function uS(){return fa(K2)}function fS(){return fa(Ay)}function w4(t,i={},s){for(const a in t){const r=t[a],e=s?`${s}:${a}`:a;typeof r=="object"&&r!==null?w4(r,i,e):typeof r=="function"&&(i[e]=r)}return i}const hS={run:t=>t()},dS=()=>hS,yE=typeof console.createTask<"u"?console.createTask:dS;function pS(t,i){const s=i.shift(),a=yE(s);return t.reduce((r,e)=>r.then(()=>a.run(()=>e(...i))),Promise.resolve())}function gS(t,i){const s=i.shift(),a=yE(s);return Promise.all(t.map(r=>a.run(()=>r(...i))))}function Pb(t,i){for(const s of[...t])s(i)}class mS{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(i,s,a={}){if(!i||typeof s!="function")return()=>{};const r=i;let e;for(;this._deprecatedHooks[i];)e=this._deprecatedHooks[i],i=e.to;if(e&&!a.allowDeprecated){let d=e.message;d||(d=`${r} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(d)||(console.warn(d),this._deprecatedMessages.add(d))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+i.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[i]=this._hooks[i]||[],this._hooks[i].push(s),()=>{s&&(this.removeHook(i,s),s=void 0)}}hookOnce(i,s){let a,r=(...e)=>(typeof a=="function"&&a(),a=void 0,r=void 0,s(...e));return a=this.hook(i,r),a}removeHook(i,s){if(this._hooks[i]){const a=this._hooks[i].indexOf(s);a!==-1&&this._hooks[i].splice(a,1),this._hooks[i].length===0&&delete this._hooks[i]}}deprecateHook(i,s){this._deprecatedHooks[i]=typeof s=="string"?{to:s}:s;const a=this._hooks[i]||[];delete this._hooks[i];for(const r of a)this.hook(i,r)}deprecateHooks(i){Object.assign(this._deprecatedHooks,i);for(const s in i)this.deprecateHook(s,i[s])}addHooks(i){const s=w4(i),a=Object.keys(s).map(r=>this.hook(r,s[r]));return()=>{for(const r of a.splice(0,a.length))r()}}removeHooks(i){const s=w4(i);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const i in this._hooks)delete this._hooks[i]}callHook(i,...s){return s.unshift(i),this.callHookWith(pS,i,...s)}callHookParallel(i,...s){return s.unshift(i),this.callHookWith(gS,i,...s)}callHookWith(i,s,...a){const r=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&Pb(this._before,r);const e=i(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&r&&Pb(this._after,r)}):(this._after&&r&&Pb(this._after,r),e)}beforeEach(i){return this._before=this._before||[],this._before.push(i),()=>{if(this._before!==void 0){const s=this._before.indexOf(i);s!==-1&&this._before.splice(s,1)}}}afterEach(i){return this._after=this._after||[],this._after.push(i),()=>{if(this._after!==void 0){const s=this._after.indexOf(i);s!==-1&&this._after.splice(s,1)}}}}function vS(){return new mS}function bS(t){return Array.isArray(t)?t:[t]}const yS=["title","titleTemplate","script","style","noscript"],Hm=["base","meta","link","style","script","noscript"],_S=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],wS=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],_E=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],DS=typeof window<"u";function wE(t){let i=9;for(let s=0;s<t.length;)i=Math.imul(i^t.charCodeAt(s++),9**9);return((i^i>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function P3(t){return t._h||wE(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`)}function DE(t,i){const{props:s,tag:a}=t;if(wS.includes(a))return a;if(a==="link"&&s.rel==="canonical")return"canonical";if(s.charset)return"charset";const r=["id"];a==="meta"&&r.push("name","property","http-equiv");for(const e of r)if(typeof s[e]<"u"){const d=String(s[e]);return i&&!i(d)?!1:`${a}:${e}:${d}`}return!1}function I3(t,i){return t==null?i||null:typeof t=="function"?t(i):t}async function FS(t,i,s){const a={tag:t,props:await FE(typeof i=="object"&&typeof i!="function"&&!(i instanceof Promise)?{...i}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:i},["templateParams","titleTemplate"].includes(t))};return _E.forEach(r=>{const e=typeof a.props[r]<"u"?a.props[r]:s[r];typeof e<"u"&&((!["innerHTML","textContent"].includes(r)||yS.includes(a.tag))&&(a[r]=e),delete a.props[r])}),a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.props.children&&(a.innerHTML=a.props.children,delete a.props.children),a.tag==="script"&&(typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),a.innerHTML&&["application/ld+json","application/json"].includes(a.props.type)&&(a.innerHTML=a.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(a.props.content)?a.props.content.map(r=>({...a,props:{...a.props,content:r}})):a}function ES(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(i=>t[i])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(i=>i.trim()).filter(Boolean).join(" ")}async function FE(t,i){for(const s of Object.keys(t)){if(s==="class"){t[s]=ES(t[s]);continue}if(t[s]instanceof Promise&&(t[s]=await t[s]),!i&&!_E.includes(s)){const a=String(t[s]),r=s.startsWith("data-");a==="true"||a===""?t[s]=r?"true":!0:t[s]||(r&&a==="false"?t[s]="false":delete t[s])}}return t}const xS=10;async function CS(t){const i=[];return Object.entries(t.resolvedInput).filter(([s,a])=>typeof a<"u"&&_S.includes(s)).forEach(([s,a])=>{const r=bS(a);i.push(...r.map(e=>FS(s,e,t)).flat())}),(await Promise.all(i)).flat().filter(Boolean).map((s,a)=>(s._e=t._i,t.mode&&(s._m=t.mode),s._p=(t._i<<xS)+a,s))}const N3={base:-10,title:10},M3={critical:-80,high:-10,low:20};function i2(t){let i=100;const s=t.tagPriority;return typeof s=="number"?s:(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 N3&&(i=N3[t.tag]),typeof s=="string"&&s in M3?i+M3[s]:i)}const TS=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Xu="%separator";function B0(t,i,s){if(typeof t!="string"||!t.includes("%"))return t;function a(d){let y;return["s","pageTitle"].includes(d)?y=i.pageTitle:d.includes(".")?y=d.split(".").reduce((w,F)=>w&&w[F]||void 0,i):y=i[d],typeof y<"u"?(y||"").replace(/"/g,'\\"'):!1}let r=t;try{r=decodeURI(t)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(d=>{const y=a(d.slice(1));typeof y=="string"&&(t=t.replace(new RegExp(`\\${d}(\\W|$)`,"g"),(w,F)=>`${y}${F}`).trim())}),t.includes(Xu)&&(t.endsWith(Xu)&&(t=t.slice(0,-Xu.length).trim()),t.startsWith(Xu)&&(t=t.slice(Xu.length).trim()),t=t.replace(new RegExp(`\\${Xu}\\s*\\${Xu}`,"g"),Xu),t=B0(t,{separator:s},s)),t}async function AS(t){const i={tag:t.tagName.toLowerCase(),props:await FE(t.getAttributeNames().reduce((s,a)=>({...s,[a]:t.getAttribute(a)}),{})),innerHTML:t.innerHTML};return i._d=DE(i),i}async function SS(t,i={}){var C;const s=i.document||t.resolvedOptions.document;if(!s)return;const a={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const r=(await t.resolveTags()).map(A=>({tag:A,id:Hm.includes(A.tag)?P3(A):A.tag,shouldRender:!0}));let e=t._dom;if(!e){e={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};for(const A of["body","head"]){const R=(C=s==null?void 0:s[A])==null?void 0:C.children;for(const L of[...R].filter(B=>Hm.includes(B.tagName.toLowerCase())))e.elMap[L.getAttribute("data-hid")||P3(await AS(L))]=L}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function d(A,R,L){const B=`${A}:${R}`;e.sideEffects[B]=L,delete e.pendingSideEffects[B]}function y({id:A,$el:R,tag:L}){const B=L.tag.endsWith("Attrs");e.elMap[A]=R,B||(["textContent","innerHTML"].forEach(I=>{L[I]&&L[I]!==R[I]&&(R[I]=L[I])}),d(A,"el",()=>{e.elMap[A].remove(),delete e.elMap[A]})),Object.entries(L.props).forEach(([I,z])=>{const H=`attr:${I}`;if(I==="class")for(const K of(z||"").split(" ").filter(Boolean))B&&d(A,`${H}:${K}`,()=>R.classList.remove(K)),!R.classList.contains(K)&&R.classList.add(K);else R.getAttribute(I)!==z&&R.setAttribute(I,z===!0?"":String(z)),B&&d(A,H,()=>R.removeAttribute(I))})}const w=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const A of r){const{tag:R,shouldRender:L,id:B}=A;if(L){if(R.tag==="title"){s.title=R.textContent;continue}A.$el=A.$el||e.elMap[B],A.$el?y(A):Hm.includes(R.tag)&&w.push(A)}}for(const A of w){const R=A.tag.tagPosition||"head";A.$el=s.createElement(A.tag.tag),y(A),F[R]=F[R]||s.createDocumentFragment(),F[R].appendChild(A.$el)}for(const A of r)await t.hooks.callHook("dom:renderTag",A,s,d);F.head&&s.head.appendChild(F.head),F.bodyOpen&&s.body.insertBefore(F.bodyOpen,s.body.firstChild),F.bodyClose&&s.body.appendChild(F.bodyClose),Object.values(e.pendingSideEffects).forEach(A=>A()),t._dom=e,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:r})}async function kS(t,i={}){const s=i.delayFn||(a=>setTimeout(a,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(a=>s(async()=>{await SS(t,i),delete t._domUpdatePromise,a()}))}function OS(t){return i=>{var a,r;const s=((r=(a=i.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return s&&i.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":function(e){kS(e,t)}}}}}const RS=["templateParams","htmlAttrs","bodyAttrs"],PS={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(a=>{t.props[a]&&(t.key=t.props[a],delete t.props[a])});const s=DE(t)||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":function(t){const i={};t.tags.forEach(a=>{const r=(a.key?`${a.tag}:${a.key}`:a._d)||a._p,e=i[r];if(e){let y=a==null?void 0:a.tagDuplicateStrategy;if(!y&&RS.includes(a.tag)&&(y="merge"),y==="merge"){const w=e.props;["class","style"].forEach(F=>{a.props[F]&&w[F]&&(F==="style"&&!w[F].endsWith(";")&&(w[F]+=";"),a.props[F]=`${w[F]} ${a.props[F]}`)}),i[r].props={...w,...a.props};return}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);return}else if(i2(a)>i2(e))return}const d=Object.keys(a.props).length+(a.innerHTML?1:0)+(a.textContent?1:0);if(Hm.includes(a.tag)&&d===0){delete i[r];return}i[r]=a});const s=[];Object.values(i).forEach(a=>{const r=a._duped;delete a._duped,s.push(a),r&&s.push(...r)}),t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},IS={mode:"server",hooks:{"tags:resolve":function(t){const i={};t.tags.filter(s=>["titleTemplate","templateParams","title"].includes(s.tag)&&s._m==="server").forEach(s=>{i[s.tag]=s.tag.startsWith("title")?s.textContent:s.props}),Object.keys(i).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(i),props:{id:"unhead:payload",type:"application/json"}})}}},L3=["script","link","bodyAttrs"];function B3(t){const i={},s={};return Object.entries(t.props).forEach(([a,r])=>{a.startsWith("on")&&typeof r=="function"?s[a]=r:i[a]=r}),{props:i,eventHandlers:s}}const NS={hooks:{"ssr:render":function(t){t.tags=t.tags.map(i=>(!L3.includes(i.tag)||!Object.entries(i.props).find(([s,a])=>s.startsWith("on")&&typeof a=="function")||(i.props=B3(i).props),i))},"tags:resolve":function(t){t.tags=t.tags.map(i=>{if(!L3.includes(i.tag))return i;const{props:s,eventHandlers:a}=B3(i);return Object.keys(a).length&&(i.props=s,i._eventHandlers=a),i})},"dom:renderTag":function(t,i,s){if(!t.tag._eventHandlers)return;const a=t.tag.tag==="bodyAttrs"?i.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,e])=>{const d=`${t.tag._d||t.tag._p}:${r}`,y=r.slice(2).toLowerCase(),w=`data-h-${y}`;if(s(t.id,d,()=>{}),t.$el.hasAttribute(w))return;const F=e;t.$el.setAttribute(w,""),a.addEventListener(y,F),t.entry&&s(t.id,d,()=>{a.removeEventListener(y,F),t.$el.removeAttribute(w)})})}}},MS=["link","style","script","noscript"],LS={hooks:{"tag:normalise":({tag:t})=>{t.key&&MS.includes(t.tag)&&(t.props["data-hid"]=t._h=wE(t.key))}}},BS={hooks:{"tags:resolve":t=>{const i=s=>{var a;return(a=t.tags.find(r=>r._d===s))==null?void 0:a._p};for(const{prefix:s,offset:a}of TS)for(const r of t.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(s))){const e=i(r.tagPriority.replace(s,""));typeof e<"u"&&(r._p=e+a)}t.tags.sort((s,a)=>s._p-a._p).sort((s,a)=>i2(s)-i2(a))}}},US={hooks:{"tags:resolve":t=>{var d;const{tags:i}=t,s=(d=i.find(y=>y.tag==="title"))==null?void 0:d.textContent,a=i.findIndex(y=>y.tag==="templateParams"),r=a!==-1?i[a].props:{},e=r.separator||"|";delete r.separator,r.pageTitle=B0(r.pageTitle||s||"",r,e);for(const y of i)y.processTemplateParams!==!1&&(["titleTemplate","title"].includes(y.tag)&&typeof y.textContent=="string"?y.textContent=B0(y.textContent,r,e):y.tag==="meta"&&typeof y.props.content=="string"?y.props.content=B0(y.props.content,r,e):y.tag==="link"&&typeof y.props.href=="string"?y.props.href=B0(y.props.href,r,e):y.processTemplateParams===!0&&(y.innerHTML?y.innerHTML=B0(y.innerHTML,r,e):y.textContent&&(y.textContent=B0(y.textContent,r,e))));t.tags=i.filter(y=>y.tag!=="templateParams")}}},$S={hooks:{"tags:resolve":t=>{const{tags:i}=t;let s=i.findIndex(r=>r.tag==="titleTemplate");const a=i.findIndex(r=>r.tag==="title");if(a!==-1&&s!==-1){const r=I3(i[s].textContent,i[a].textContent);r!==null?i[a].textContent=r||i[a].textContent:delete i[a]}else if(s!==-1){const r=I3(i[s].textContent);r!==null&&(i[s].textContent=r,i[s].tag="title",s=-1)}s!==-1&&delete i[s],t.tags=i.filter(Boolean)}}};function HS(t={}){const i=WS(t);return i.use(OS()),i}function U3(t,i){return!t||t==="server"&&i||t==="client"&&!i}function WS(t={}){const i=vS();i.addHooks(t.hooks||{}),t.document=t.document||(DS?document:void 0);const s=!t.document;t.plugins=[PS,IS,NS,LS,BS,US,$S,...(t==null?void 0:t.plugins)||[]];const a=()=>{d.dirty=!0,i.callHook("entries:updated",d)};let r=0,e=[];const d={dirty:!1,resolvedOptions:t,hooks:i,headEntries(){return e},use(y){const w=typeof y=="function"?y(d):y;U3(w.mode,s)&&i.addHooks(w.hooks||{})},push(y,w){w==null||delete w.head;const F={_i:r++,input:y,...w};return U3(F.mode,s)&&(e.push(F),a()),{dispose(){e=e.filter(C=>C._i!==F._i),i.callHook("entries:updated",d),a()},patch(C){e=e.map(A=>(A._i===F._i&&(A.input=F.input=C),A)),a()}}},async resolveTags(){const y={tags:[],entries:[...e]};await i.callHook("entries:resolve",y);for(const w of y.entries){const F=w.resolvedInput||w.input;if(w.resolvedInput=await(w.transform?w.transform(F):F),w.resolvedInput)for(const C of await CS(w)){const A={tag:C,entry:w,resolvedOptions:d.resolvedOptions};await i.callHook("tag:normalise",A),y.tags.push(A.tag)}}return await i.callHook("tags:beforeResolve",y),await i.callHook("tags:resolve",y),y.tags},ssr:s};return t.plugins.forEach(y=>d.use(y)),d.hooks.callHook("init",d),d}const zS=_y.startsWith("3");function GS(t){return typeof t=="function"?t():gr(t)}function D4(t,i=""){if(t instanceof Promise)return t;const s=GS(t);return!t||!s?s:Array.isArray(s)?s.map(a=>D4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,gr(r)]:[a,D4(r,a)])):s}const jS={hooks:{"entries:resolve":function(t){for(const i of t.entries)i.resolvedInput=D4(i.input)}}},VS="usehead";function YS(t){return{install(s){zS&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(VS,t))}}.install}function qS(t={}){t.domDelayFn=t.domDelayFn||(s=>ql(()=>setTimeout(()=>s(),0)));const i=HS(t);return i.use(jS),i.install=YS(i),i}function KS(t){try{return JSON.parse(t||"{}")}catch(i){return console.error("[SSG] On state deserialization -",i,t),{}}}function QS(t){return document.readyState==="loading"?new Promise(i=>{document.addEventListener("DOMContentLoaded",()=>i(t))}):Promise.resolve(t)}const XS=ls({setup(t,{slots:i}){const s=ur(!1);return bl(()=>s.value=!0),()=>s.value?i.default&&i.default({}):i.placeholder&&i.placeholder({})}});function JS(t,i,s,a={}){const{transformState:r,registerComponents:e=!0,useHead:d=!0,rootContainer:y="#app"}=a,w=typeof window<"u";async function F(C=!1,A){const R=C?Ey(t):GF(t);let L;d&&(L=qS(),R.use(L));const B=lS({history:C?F8(i.base):E8(i.base),...i}),{routes:I}=i;e&&R.component("ClientOnly",XS);const z=[],oe={app:R,head:L,isClient:w,router:B,routes:I,onSSRAppRendered:C?()=>{}:ie=>z.push(ie),triggerOnSSRAppRendered:()=>Promise.all(z.map(ie=>ie())),initialState:{},transformState:r,routePath:A};C&&(await QS(),oe.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||KS(window.__INITIAL_STATE__)),await(s==null?void 0:s(oe)),R.use(B);let j,G=!0;if(B.beforeEach((ie,re,ae)=>{(G||j&&j===ie.path)&&(G=!1,j=ie.path,ie.meta.state=oe.initialState),ae()}),!C){const ie=oe.routePath??"/";B.push(ie),await B.isReady(),oe.initialState=B.currentRoute.value.meta.state||{}}const Z=oe.initialState;return{...oe,initialState:Z}}return w&&(async()=>{const{app:C,router:A}=await F(!0);await A.isReady(),C.mount(y,!0)})(),F}var ZS=function(){function t(i,s){s===void 0&&(s=[]),this._eventType=i,this._eventFunctions=s}return t.prototype.init=function(){var i=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(i._eventType,s)})},t}(),s2=globalThis&&globalThis.__assign||function(){return s2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},s2.apply(this,arguments)},a2={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(){}},EE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=a2),this._items=i,this._options=s2(s2({},a2),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&this._items.map(function(s){s.active&&i.open(s.id),s.triggerEl.addEventListener("click",function(){i.toggle(s.id)})})},t.prototype.getItem=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.open=function(i){var s,a,r=this,e=this.getItem(i);this._options.alwaysOpen||this._items.map(function(d){var y,w;d!==e&&((y=d.triggerEl.classList).remove.apply(y,r._options.activeClasses.split(" ")),(w=d.triggerEl.classList).add.apply(w,r._options.inactiveClasses.split(" ")),d.targetEl.classList.add("hidden"),d.triggerEl.setAttribute("aria-expanded","false"),d.active=!1,d.iconEl&&d.iconEl.classList.remove("rotate-180"))}),(s=e.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(a=e.triggerEl.classList).remove.apply(a,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(i){var s=this.getItem(i);s.active?this.close(i):this.open(i),this._options.onToggle(this,s)},t.prototype.close=function(i){var s,a,r=this.getItem(i);(s=r.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=r.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},t}();function Sy(){document.querySelectorAll("[data-accordion]").forEach(function(t){var i=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),r=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var d={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"};r.push(d)}}),new EE(r,{alwaysOpen:i==="open",activeClasses:s||a2.activeClasses,inactiveClasses:a||a2.inactiveClasses})})}typeof window<"u"&&(window.Accordion=EE,window.initAccordions=Sy);var o2=globalThis&&globalThis.__assign||function(){return o2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},o2.apply(this,arguments)},$3={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},xE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=$3),this._targetEl=i,this._triggerEl=s,this._options=o2(o2({},$3),a),this._visible=!1,this._init()}return t.prototype._init=function(){var i=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(){i.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 ky(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var i=t.getAttribute("data-collapse-toggle"),s=document.getElementById(i);s?new xE(s,t):console.error('The target element with id "'.concat(i,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=xE,window.initCollapses=ky);var W0=globalThis&&globalThis.__assign||function(){return W0=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},W0.apply(this,arguments)},Wm={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(){}},CE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=Wm),this._items=i,this._options=W0(W0(W0({},Wm),s),{indicators:W0(W0({},Wm.indicators),s.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 i=this;this._items.map(function(s){s.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(s,a){s.el.addEventListener("click",function(){i.slideTo(a)})})},t.prototype.getItem=function(i){return this._items[i]},t.prototype.slideTo=function(i){var s=this._items[i],a={left:s.position===0?this._items[this._items.length-1]:this._items[s.position-1],middle:s,right:s.position===this._items.length-1?this._items[0]:this._items[s.position+1]};this._rotate(a),this._setActiveItem(s),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var i=this._getActiveItem(),s=null;i.position===this._items.length-1?s=this._items[0]:s=this._items[i.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var i=this._getActiveItem(),s=null;i.position===0?s=this._items[this._items.length-1]:s=this._items[i.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(i){this._items.map(function(s){s.el.classList.add("hidden")}),i.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.left.el.classList.add("-translate-x-full","z-10"),i.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),i.middle.el.classList.add("translate-x-0","z-20"),i.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var i=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){i.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(i){var s,a,r=this;this._activeItem=i;var e=i.position;this._indicators.length&&(this._indicators.map(function(d){var y,w;d.el.setAttribute("aria-current","false"),(y=d.el.classList).remove.apply(y,r._options.indicators.activeClasses.split(" ")),(w=d.el.classList).add.apply(w,r._options.indicators.inactiveClasses.split(" "))}),(s=this._indicators[e].el.classList).add.apply(s,this._options.indicators.activeClasses.split(" ")),(a=this._indicators[e].el.classList).remove.apply(a,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function Oy(){document.querySelectorAll("[data-carousel]").forEach(function(t){var i=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],r=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(F,C){a.push({position:C,el:F}),F.getAttribute("data-carousel-item")==="active"&&(r=C)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(F){e.push({position:parseInt(F.getAttribute("data-carousel-slide-to")),el:F})});var d=new CE(a,{defaultPosition:r,indicators:{items:e},interval:i||Wm.interval});s&&d.cycle();var y=t.querySelector("[data-carousel-next]"),w=t.querySelector("[data-carousel-prev]");y&&y.addEventListener("click",function(){d.next()}),w&&w.addEventListener("click",function(){d.prev()})})}typeof window<"u"&&(window.Carousel=CE,window.initCarousels=Oy);var l2=globalThis&&globalThis.__assign||function(){return l2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},l2.apply(this,arguments)},H3={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},TE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=H3),this._targetEl=i,this._triggerEl=s,this._options=l2(l2({},H3),a),this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){i.hide()})},t.prototype.hide=function(){var i=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){i._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function Ry(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var i=t.getAttribute("data-dismiss-target"),s=document.querySelector(i);s?new TE(s,t):console.error('The dismiss element with id "'.concat(i,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=TE,window.initDismisses=Ry);var Pa="top",Ao="bottom",So="right",Ia="left",Py="auto",Jp=[Pa,Ao,So,Ia],Id="start",Lp="end",e7="clippingParents",AE="viewport",tp="popper",t7="reference",W3=Jp.reduce(function(t,i){return t.concat([i+"-"+Id,i+"-"+Lp])},[]),SE=[].concat(Jp,[Py]).reduce(function(t,i){return t.concat([i,i+"-"+Id,i+"-"+Lp])},[]),r7="beforeRead",n7="read",i7="afterRead",s7="beforeMain",a7="main",o7="afterMain",l7="beforeWrite",c7="write",u7="afterWrite",f7=[r7,n7,i7,s7,a7,o7,l7,c7,u7];function Vl(t){return t?(t.nodeName||"").toLowerCase():null}function so(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var i=t.ownerDocument;return i&&i.defaultView||window}return t}function th(t){var i=so(t).Element;return t instanceof i||t instanceof Element}function Co(t){var i=so(t).HTMLElement;return t instanceof i||t instanceof HTMLElement}function Iy(t){if(typeof ShadowRoot>"u")return!1;var i=so(t).ShadowRoot;return t instanceof i||t instanceof ShadowRoot}function h7(t){var i=t.state;Object.keys(i.elements).forEach(function(s){var a=i.styles[s]||{},r=i.attributes[s]||{},e=i.elements[s];!Co(e)||!Vl(e)||(Object.assign(e.style,a),Object.keys(r).forEach(function(d){var y=r[d];y===!1?e.removeAttribute(d):e.setAttribute(d,y===!0?"":y)}))})}function d7(t){var i=t.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(a){var r=i.elements[a],e=i.attributes[a]||{},d=Object.keys(i.styles.hasOwnProperty(a)?i.styles[a]:s[a]),y=d.reduce(function(w,F){return w[F]="",w},{});!Co(r)||!Vl(r)||(Object.assign(r.style,y),Object.keys(e).forEach(function(w){r.removeAttribute(w)}))})}}const p7={name:"applyStyles",enabled:!0,phase:"write",fn:h7,effect:d7,requires:["computeStyles"]};function Wl(t){return t.split("-")[0]}var Q0=Math.max,c2=Math.min,Nd=Math.round;function F4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function kE(){return!/^((?!chrome|android).)*safari/i.test(F4())}function Md(t,i,s){i===void 0&&(i=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),r=1,e=1;i&&Co(t)&&(r=t.offsetWidth>0&&Nd(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&Nd(a.height)/t.offsetHeight||1);var d=th(t)?so(t):window,y=d.visualViewport,w=!kE()&&s,F=(a.left+(w&&y?y.offsetLeft:0))/r,C=(a.top+(w&&y?y.offsetTop:0))/e,A=a.width/r,R=a.height/e;return{width:A,height:R,top:C,right:F+A,bottom:C+R,left:F,x:F,y:C}}function Ny(t){var i=Md(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(i.width-s)<=1&&(s=i.width),Math.abs(i.height-a)<=1&&(a=i.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function OE(t,i){var s=i.getRootNode&&i.getRootNode();if(t.contains(i))return!0;if(s&&Iy(s)){var a=i;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function zc(t){return so(t).getComputedStyle(t)}function g7(t){return["table","td","th"].indexOf(Vl(t))>=0}function xf(t){return((th(t)?t.ownerDocument:t.document)||window.document).documentElement}function Q2(t){return Vl(t)==="html"?t:t.assignedSlot||t.parentNode||(Iy(t)?t.host:null)||xf(t)}function z3(t){return!Co(t)||zc(t).position==="fixed"?null:t.offsetParent}function m7(t){var i=/firefox/i.test(F4()),s=/Trident/i.test(F4());if(s&&Co(t)){var a=zc(t);if(a.position==="fixed")return null}var r=Q2(t);for(Iy(r)&&(r=r.host);Co(r)&&["html","body"].indexOf(Vl(r))<0;){var e=zc(r);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||i&&e.willChange==="filter"||i&&e.filter&&e.filter!=="none")return r;r=r.parentNode}return null}function Zp(t){for(var i=so(t),s=z3(t);s&&g7(s)&&zc(s).position==="static";)s=z3(s);return s&&(Vl(s)==="html"||Vl(s)==="body"&&zc(s).position==="static")?i:s||m7(t)||i}function My(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function mp(t,i,s){return Q0(t,c2(i,s))}function v7(t,i,s){var a=mp(t,i,s);return a>s?s:a}function RE(){return{top:0,right:0,bottom:0,left:0}}function PE(t){return Object.assign({},RE(),t)}function IE(t,i){return i.reduce(function(s,a){return s[a]=t,s},{})}var b7=function(i,s){return i=typeof i=="function"?i(Object.assign({},s.rects,{placement:s.placement})):i,PE(typeof i!="number"?i:IE(i,Jp))};function y7(t){var i,s=t.state,a=t.name,r=t.options,e=s.elements.arrow,d=s.modifiersData.popperOffsets,y=Wl(s.placement),w=My(y),F=[Ia,So].indexOf(y)>=0,C=F?"height":"width";if(!(!e||!d)){var A=b7(r.padding,s),R=Ny(e),L=w==="y"?Pa:Ia,B=w==="y"?Ao:So,I=s.rects.reference[C]+s.rects.reference[w]-d[w]-s.rects.popper[C],z=d[w]-s.rects.reference[w],H=Zp(e),K=H?w==="y"?H.clientHeight||0:H.clientWidth||0:0,oe=I/2-z/2,j=A[L],G=K-R[C]-A[B],Z=K/2-R[C]/2+oe,ie=mp(j,Z,G),re=w;s.modifiersData[a]=(i={},i[re]=ie,i.centerOffset=ie-Z,i)}}function _7(t){var i=t.state,s=t.options,a=s.element,r=a===void 0?"[data-popper-arrow]":a;r!=null&&(typeof r=="string"&&(r=i.elements.popper.querySelector(r),!r)||OE(i.elements.popper,r)&&(i.elements.arrow=r))}const w7={name:"arrow",enabled:!0,phase:"main",fn:y7,effect:_7,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ld(t){return t.split("-")[1]}var D7={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F7(t,i){var s=t.x,a=t.y,r=i.devicePixelRatio||1;return{x:Nd(s*r)/r||0,y:Nd(a*r)/r||0}}function G3(t){var i,s=t.popper,a=t.popperRect,r=t.placement,e=t.variation,d=t.offsets,y=t.position,w=t.gpuAcceleration,F=t.adaptive,C=t.roundOffsets,A=t.isFixed,R=d.x,L=R===void 0?0:R,B=d.y,I=B===void 0?0:B,z=typeof C=="function"?C({x:L,y:I}):{x:L,y:I};L=z.x,I=z.y;var H=d.hasOwnProperty("x"),K=d.hasOwnProperty("y"),oe=Ia,j=Pa,G=window;if(F){var Z=Zp(s),ie="clientHeight",re="clientWidth";if(Z===so(s)&&(Z=xf(s),zc(Z).position!=="static"&&y==="absolute"&&(ie="scrollHeight",re="scrollWidth")),Z=Z,r===Pa||(r===Ia||r===So)&&e===Lp){j=Ao;var ae=A&&Z===G&&G.visualViewport?G.visualViewport.height:Z[ie];I-=ae-a.height,I*=w?1:-1}if(r===Ia||(r===Pa||r===Ao)&&e===Lp){oe=So;var ue=A&&Z===G&&G.visualViewport?G.visualViewport.width:Z[re];L-=ue-a.width,L*=w?1:-1}}var we=Object.assign({position:y},F&&D7),Ie=C===!0?F7({x:L,y:I},so(s)):{x:L,y:I};if(L=Ie.x,I=Ie.y,w){var Ae;return Object.assign({},we,(Ae={},Ae[j]=K?"0":"",Ae[oe]=H?"0":"",Ae.transform=(G.devicePixelRatio||1)<=1?"translate("+L+"px, "+I+"px)":"translate3d("+L+"px, "+I+"px, 0)",Ae))}return Object.assign({},we,(i={},i[j]=K?I+"px":"",i[oe]=H?L+"px":"",i.transform="",i))}function E7(t){var i=t.state,s=t.options,a=s.gpuAcceleration,r=a===void 0?!0:a,e=s.adaptive,d=e===void 0?!0:e,y=s.roundOffsets,w=y===void 0?!0:y,F={placement:Wl(i.placement),variation:Ld(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:r,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,G3(Object.assign({},F,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:d,roundOffsets:w})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,G3(Object.assign({},F,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:w})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const x7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:E7,data:{}};var Am={passive:!0};function C7(t){var i=t.state,s=t.instance,a=t.options,r=a.scroll,e=r===void 0?!0:r,d=a.resize,y=d===void 0?!0:d,w=so(i.elements.popper),F=[].concat(i.scrollParents.reference,i.scrollParents.popper);return e&&F.forEach(function(C){C.addEventListener("scroll",s.update,Am)}),y&&w.addEventListener("resize",s.update,Am),function(){e&&F.forEach(function(C){C.removeEventListener("scroll",s.update,Am)}),y&&w.removeEventListener("resize",s.update,Am)}}const T7={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:C7,data:{}};var A7={left:"right",right:"left",bottom:"top",top:"bottom"};function zm(t){return t.replace(/left|right|bottom|top/g,function(i){return A7[i]})}var S7={start:"end",end:"start"};function j3(t){return t.replace(/start|end/g,function(i){return S7[i]})}function Ly(t){var i=so(t),s=i.pageXOffset,a=i.pageYOffset;return{scrollLeft:s,scrollTop:a}}function By(t){return Md(xf(t)).left+Ly(t).scrollLeft}function k7(t,i){var s=so(t),a=xf(t),r=s.visualViewport,e=a.clientWidth,d=a.clientHeight,y=0,w=0;if(r){e=r.width,d=r.height;var F=kE();(F||!F&&i==="fixed")&&(y=r.offsetLeft,w=r.offsetTop)}return{width:e,height:d,x:y+By(t),y:w}}function O7(t){var i,s=xf(t),a=Ly(t),r=(i=t.ownerDocument)==null?void 0:i.body,e=Q0(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),d=Q0(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),y=-a.scrollLeft+By(t),w=-a.scrollTop;return zc(r||s).direction==="rtl"&&(y+=Q0(s.clientWidth,r?r.clientWidth:0)-e),{width:e,height:d,x:y,y:w}}function Uy(t){var i=zc(t),s=i.overflow,a=i.overflowX,r=i.overflowY;return/auto|scroll|overlay|hidden/.test(s+r+a)}function NE(t){return["html","body","#document"].indexOf(Vl(t))>=0?t.ownerDocument.body:Co(t)&&Uy(t)?t:NE(Q2(t))}function vp(t,i){var s;i===void 0&&(i=[]);var a=NE(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=so(a),d=r?[e].concat(e.visualViewport||[],Uy(a)?a:[]):a,y=i.concat(d);return r?y:y.concat(vp(Q2(d)))}function E4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function R7(t,i){var s=Md(t,!1,i==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function V3(t,i,s){return i===AE?E4(k7(t,s)):th(i)?R7(i,s):E4(O7(xf(t)))}function P7(t){var i=vp(Q2(t)),s=["absolute","fixed"].indexOf(zc(t).position)>=0,a=s&&Co(t)?Zp(t):t;return th(a)?i.filter(function(r){return th(r)&&OE(r,a)&&Vl(r)!=="body"}):[]}function I7(t,i,s,a){var r=i==="clippingParents"?P7(t):[].concat(i),e=[].concat(r,[s]),d=e[0],y=e.reduce(function(w,F){var C=V3(t,F,a);return w.top=Q0(C.top,w.top),w.right=c2(C.right,w.right),w.bottom=c2(C.bottom,w.bottom),w.left=Q0(C.left,w.left),w},V3(t,d,a));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function ME(t){var i=t.reference,s=t.element,a=t.placement,r=a?Wl(a):null,e=a?Ld(a):null,d=i.x+i.width/2-s.width/2,y=i.y+i.height/2-s.height/2,w;switch(r){case Pa:w={x:d,y:i.y-s.height};break;case Ao:w={x:d,y:i.y+i.height};break;case So:w={x:i.x+i.width,y};break;case Ia:w={x:i.x-s.width,y};break;default:w={x:i.x,y:i.y}}var F=r?My(r):null;if(F!=null){var C=F==="y"?"height":"width";switch(e){case Id:w[F]=w[F]-(i[C]/2-s[C]/2);break;case Lp:w[F]=w[F]+(i[C]/2-s[C]/2);break}}return w}function Bp(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=a===void 0?t.placement:a,e=s.strategy,d=e===void 0?t.strategy:e,y=s.boundary,w=y===void 0?e7:y,F=s.rootBoundary,C=F===void 0?AE:F,A=s.elementContext,R=A===void 0?tp:A,L=s.altBoundary,B=L===void 0?!1:L,I=s.padding,z=I===void 0?0:I,H=PE(typeof z!="number"?z:IE(z,Jp)),K=R===tp?t7:tp,oe=t.rects.popper,j=t.elements[B?K:R],G=I7(th(j)?j:j.contextElement||xf(t.elements.popper),w,C,d),Z=Md(t.elements.reference),ie=ME({reference:Z,element:oe,strategy:"absolute",placement:r}),re=E4(Object.assign({},oe,ie)),ae=R===tp?re:Z,ue={top:G.top-ae.top+H.top,bottom:ae.bottom-G.bottom+H.bottom,left:G.left-ae.left+H.left,right:ae.right-G.right+H.right},we=t.modifiersData.offset;if(R===tp&&we){var Ie=we[r];Object.keys(ue).forEach(function(Ae){var Ee=[So,Ao].indexOf(Ae)>=0?1:-1,We=[Pa,Ao].indexOf(Ae)>=0?"y":"x";ue[Ae]+=Ie[We]*Ee})}return ue}function N7(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=s.boundary,e=s.rootBoundary,d=s.padding,y=s.flipVariations,w=s.allowedAutoPlacements,F=w===void 0?SE:w,C=Ld(a),A=C?y?W3:W3.filter(function(B){return Ld(B)===C}):Jp,R=A.filter(function(B){return F.indexOf(B)>=0});R.length===0&&(R=A);var L=R.reduce(function(B,I){return B[I]=Bp(t,{placement:I,boundary:r,rootBoundary:e,padding:d})[Wl(I)],B},{});return Object.keys(L).sort(function(B,I){return L[B]-L[I]})}function M7(t){if(Wl(t)===Py)return[];var i=zm(t);return[j3(t),i,j3(i)]}function L7(t){var i=t.state,s=t.options,a=t.name;if(!i.modifiersData[a]._skip){for(var r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!0:d,w=s.fallbackPlacements,F=s.padding,C=s.boundary,A=s.rootBoundary,R=s.altBoundary,L=s.flipVariations,B=L===void 0?!0:L,I=s.allowedAutoPlacements,z=i.options.placement,H=Wl(z),K=H===z,oe=w||(K||!B?[zm(z)]:M7(z)),j=[z].concat(oe).reduce(function(je,xe){return je.concat(Wl(xe)===Py?N7(i,{placement:xe,boundary:C,rootBoundary:A,padding:F,flipVariations:B,allowedAutoPlacements:I}):xe)},[]),G=i.rects.reference,Z=i.rects.popper,ie=new Map,re=!0,ae=j[0],ue=0;ue<j.length;ue++){var we=j[ue],Ie=Wl(we),Ae=Ld(we)===Id,Ee=[Pa,Ao].indexOf(Ie)>=0,We=Ee?"width":"height",Xe=Bp(i,{placement:we,boundary:C,rootBoundary:A,altBoundary:R,padding:F}),Me=Ee?Ae?So:Ia:Ae?Ao:Pa;G[We]>Z[We]&&(Me=zm(Me));var pt=zm(Me),mt=[];if(e&&mt.push(Xe[Ie]<=0),y&&mt.push(Xe[Me]<=0,Xe[pt]<=0),mt.every(function(je){return je})){ae=we,re=!1;break}ie.set(we,mt)}if(re)for(var Je=B?3:1,me=function(xe){var ze=j.find(function(se){var Ve=ie.get(se);if(Ve)return Ve.slice(0,xe).every(function(Ce){return Ce})});if(ze)return ae=ze,"break"},Ke=Je;Ke>0;Ke--){var lt=me(Ke);if(lt==="break")break}i.placement!==ae&&(i.modifiersData[a]._skip=!0,i.placement=ae,i.reset=!0)}}const B7={name:"flip",enabled:!0,phase:"main",fn:L7,requiresIfExists:["offset"],data:{_skip:!1}};function Y3(t,i,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-i.height-s.y,right:t.right-i.width+s.x,bottom:t.bottom-i.height+s.y,left:t.left-i.width-s.x}}function q3(t){return[Pa,So,Ao,Ia].some(function(i){return t[i]>=0})}function U7(t){var i=t.state,s=t.name,a=i.rects.reference,r=i.rects.popper,e=i.modifiersData.preventOverflow,d=Bp(i,{elementContext:"reference"}),y=Bp(i,{altBoundary:!0}),w=Y3(d,a),F=Y3(y,r,e),C=q3(w),A=q3(F);i.modifiersData[s]={referenceClippingOffsets:w,popperEscapeOffsets:F,isReferenceHidden:C,hasPopperEscaped:A},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":A})}const $7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:U7};function H7(t,i,s){var a=Wl(t),r=[Ia,Pa].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},i,{placement:t})):s,d=e[0],y=e[1];return d=d||0,y=(y||0)*r,[Ia,So].indexOf(a)>=0?{x:y,y:d}:{x:d,y}}function W7(t){var i=t.state,s=t.options,a=t.name,r=s.offset,e=r===void 0?[0,0]:r,d=SE.reduce(function(C,A){return C[A]=H7(A,i.rects,e),C},{}),y=d[i.placement],w=y.x,F=y.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=w,i.modifiersData.popperOffsets.y+=F),i.modifiersData[a]=d}const z7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:W7};function G7(t){var i=t.state,s=t.name;i.modifiersData[s]=ME({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const j7={name:"popperOffsets",enabled:!0,phase:"read",fn:G7,data:{}};function V7(t){return t==="x"?"y":"x"}function Y7(t){var i=t.state,s=t.options,a=t.name,r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!1:d,w=s.boundary,F=s.rootBoundary,C=s.altBoundary,A=s.padding,R=s.tether,L=R===void 0?!0:R,B=s.tetherOffset,I=B===void 0?0:B,z=Bp(i,{boundary:w,rootBoundary:F,padding:A,altBoundary:C}),H=Wl(i.placement),K=Ld(i.placement),oe=!K,j=My(H),G=V7(j),Z=i.modifiersData.popperOffsets,ie=i.rects.reference,re=i.rects.popper,ae=typeof I=="function"?I(Object.assign({},i.rects,{placement:i.placement})):I,ue=typeof ae=="number"?{mainAxis:ae,altAxis:ae}:Object.assign({mainAxis:0,altAxis:0},ae),we=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Ie={x:0,y:0};if(Z){if(e){var Ae,Ee=j==="y"?Pa:Ia,We=j==="y"?Ao:So,Xe=j==="y"?"height":"width",Me=Z[j],pt=Me+z[Ee],mt=Me-z[We],Je=L?-re[Xe]/2:0,me=K===Id?ie[Xe]:re[Xe],Ke=K===Id?-re[Xe]:-ie[Xe],lt=i.elements.arrow,je=L&&lt?Ny(lt):{width:0,height:0},xe=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:RE(),ze=xe[Ee],se=xe[We],Ve=mp(0,ie[Xe],je[Xe]),Ce=oe?ie[Xe]/2-Je-Ve-ze-ue.mainAxis:me-Ve-ze-ue.mainAxis,gt=oe?-ie[Xe]/2+Je+Ve+se+ue.mainAxis:Ke+Ve+se+ue.mainAxis,Zt=i.elements.arrow&&Zp(i.elements.arrow),ne=Zt?j==="y"?Zt.clientTop||0:Zt.clientLeft||0:0,ce=(Ae=we==null?void 0:we[j])!=null?Ae:0,he=Me+Ce-ce-ne,Ye=Me+gt-ce,Qe=mp(L?c2(pt,he):pt,Me,L?Q0(mt,Ye):mt);Z[j]=Qe,Ie[j]=Qe-Me}if(y){var tt,Pt=j==="x"?Pa:Ia,Et=j==="x"?Ao:So,_t=Z[G],Ze=G==="y"?"height":"width",Se=_t+z[Pt],Re=_t-z[Et],It=[Pa,Ia].indexOf(H)!==-1,Vt=(tt=we==null?void 0:we[G])!=null?tt:0,hr=It?Se:_t-ie[Ze]-re[Ze]-Vt+ue.altAxis,Cr=It?_t+ie[Ze]+re[Ze]-Vt-ue.altAxis:Re,_r=L&&It?v7(hr,_t,Cr):mp(L?hr:Se,_t,L?Cr:Re);Z[G]=_r,Ie[G]=_r-_t}i.modifiersData[a]=Ie}}const q7={name:"preventOverflow",enabled:!0,phase:"main",fn:Y7,requiresIfExists:["offset"]};function K7(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Q7(t){return t===so(t)||!Co(t)?Ly(t):K7(t)}function X7(t){var i=t.getBoundingClientRect(),s=Nd(i.width)/t.offsetWidth||1,a=Nd(i.height)/t.offsetHeight||1;return s!==1||a!==1}function J7(t,i,s){s===void 0&&(s=!1);var a=Co(i),r=Co(i)&&X7(i),e=xf(i),d=Md(t,r,s),y={scrollLeft:0,scrollTop:0},w={x:0,y:0};return(a||!a&&!s)&&((Vl(i)!=="body"||Uy(e))&&(y=Q7(i)),Co(i)?(w=Md(i,!0),w.x+=i.clientLeft,w.y+=i.clientTop):e&&(w.x=By(e))),{x:d.left+y.scrollLeft-w.x,y:d.top+y.scrollTop-w.y,width:d.width,height:d.height}}function Z7(t){var i=new Map,s=new Set,a=[];t.forEach(function(e){i.set(e.name,e)});function r(e){s.add(e.name);var d=[].concat(e.requires||[],e.requiresIfExists||[]);d.forEach(function(y){if(!s.has(y)){var w=i.get(y);w&&r(w)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||r(e)}),a}function ek(t){var i=Z7(t);return f7.reduce(function(s,a){return s.concat(i.filter(function(r){return r.phase===a}))},[])}function tk(t){var i;return function(){return i||(i=new Promise(function(s){Promise.resolve().then(function(){i=void 0,s(t())})})),i}}function rk(t){var i=t.reduce(function(s,a){var r=s[a.name];return s[a.name]=r?Object.assign({},r,a,{options:Object.assign({},r.options,a.options),data:Object.assign({},r.data,a.data)}):a,s},{});return Object.keys(i).map(function(s){return i[s]})}var K3={placement:"bottom",modifiers:[],strategy:"absolute"};function Q3(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return!i.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function nk(t){t===void 0&&(t={});var i=t,s=i.defaultModifiers,a=s===void 0?[]:s,r=i.defaultOptions,e=r===void 0?K3:r;return function(y,w,F){F===void 0&&(F=e);var C={placement:"bottom",orderedModifiers:[],options:Object.assign({},K3,e),modifiersData:{},elements:{reference:y,popper:w},attributes:{},styles:{}},A=[],R=!1,L={state:C,setOptions:function(H){var K=typeof H=="function"?H(C.options):H;I(),C.options=Object.assign({},e,C.options,K),C.scrollParents={reference:th(y)?vp(y):y.contextElement?vp(y.contextElement):[],popper:vp(w)};var oe=ek(rk([].concat(a,C.options.modifiers)));return C.orderedModifiers=oe.filter(function(j){return j.enabled}),B(),L.update()},forceUpdate:function(){if(!R){var H=C.elements,K=H.reference,oe=H.popper;if(Q3(K,oe)){C.rects={reference:J7(K,Zp(oe),C.options.strategy==="fixed"),popper:Ny(oe)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach(function(ue){return C.modifiersData[ue.name]=Object.assign({},ue.data)});for(var j=0;j<C.orderedModifiers.length;j++){if(C.reset===!0){C.reset=!1,j=-1;continue}var G=C.orderedModifiers[j],Z=G.fn,ie=G.options,re=ie===void 0?{}:ie,ae=G.name;typeof Z=="function"&&(C=Z({state:C,options:re,name:ae,instance:L})||C)}}}},update:tk(function(){return new Promise(function(z){L.forceUpdate(),z(C)})}),destroy:function(){I(),R=!0}};if(!Q3(y,w))return L;L.setOptions(F).then(function(z){!R&&F.onFirstUpdate&&F.onFirstUpdate(z)});function B(){C.orderedModifiers.forEach(function(z){var H=z.name,K=z.options,oe=K===void 0?{}:K,j=z.effect;if(typeof j=="function"){var G=j({state:C,name:H,instance:L,options:oe}),Z=function(){};A.push(G||Z)}})}function I(){A.forEach(function(z){return z()}),A=[]}return L}}var ik=[T7,j7,x7,p7,z7,B7,q7,w7,$7],$y=nk({defaultModifiers:ik}),sf=globalThis&&globalThis.__assign||function(){return sf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},sf.apply(this,arguments)},Sm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},af={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},LE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=af),this._targetEl=i,this._triggerEl=s,this._options=sf(sf({},af),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){a==="click"?i.toggle():setTimeout(function(){i.show()},i._options.delay)}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},i._options.delay)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},i._options.delay)})}))},t.prototype._createPopperInstance=function(){return $y(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target,r=this._options.ignoreClickOutsideClass,e=!1;if(r){var d=document.querySelectorAll(".".concat(r));d.forEach(function(y){if(y.contains(a)){e=!0;return}})}a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&!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(i){return sf(sf({},i),{modifiers:Sm(Sm([],i.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(i){return sf(sf({},i),{modifiers:Sm(Sm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function Hy(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var i=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-dropdown-placement"),r=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),d=t.getAttribute("data-dropdown-trigger"),y=t.getAttribute("data-dropdown-delay"),w=t.getAttribute("data-dropdown-ignore-click-outside-class");new LE(s,t,{placement:a||af.placement,triggerType:d||af.triggerType,offsetSkidding:r?parseInt(r):af.offsetSkidding,offsetDistance:e?parseInt(e):af.offsetDistance,delay:y?parseInt(y):af.delay,ignoreClickOutsideClass:w||af.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(i,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=LE,window.initDropdowns=Hy);var u2=globalThis&&globalThis.__assign||function(){return u2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},u2.apply(this,arguments)},vd={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(){}},x4=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=vd),this._targetEl=i,this._options=u2(u2({},vd),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&this._getPlacementClasses().map(function(s){i._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var i;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(i=s.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),this._backdropEl=s}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var i=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){i._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&i.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(i){(i===this._targetEl||i===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}(),km=function(t,i){return i.some(function(s){return s.id===t})?i.find(function(s){return s.id===t}):null};function Wy(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(i){var s=i.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");km(s,t)||t.push({id:s,object:new x4(a,{placement:r||vd.placement,backdrop:e||vd.backdrop})})}else console.error("Modal with id ".concat(s," 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(i){var s=i.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),d=km(s,t);d||(d={id:s,object:new x4(a,{placement:r||vd.placement,backdrop:e||vd.backdrop})},t.push(d)),i.addEventListener("click",function(){d.object.toggle()})}else console.error("Modal with id ".concat(s," 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(i){var s=i.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var r=km(s,t);r?i.addEventListener("click",function(){r.object.isHidden&&r.object.show()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," 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(i){var s=i.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var r=km(s,t);r?i.addEventListener("click",function(){r.object.isVisible&&r.object.hide()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=x4,window.initModals=Wy);var f2=globalThis&&globalThis.__assign||function(){return f2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},f2.apply(this,arguments)},z0={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(){}},BE=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=z0),this._targetEl=i,this._options=f2(f2({},z0),s),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){i._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&i.isVisible()&&i.hide()})},t.prototype.hide=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.add(s)})),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 i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.remove(s)})),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 i,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(i=a.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(a),a.addEventListener("click",function(){s.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(i){switch(i){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}(),Om=function(t,i){if(i.some(function(s){return s.id===t}))return i.find(function(s){return s.id===t})};function zy(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(i){var s=i.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-drawer-placement"),e=i.getAttribute("data-drawer-body-scrolling"),d=i.getAttribute("data-drawer-backdrop"),y=i.getAttribute("data-drawer-edge"),w=i.getAttribute("data-drawer-edge-offset");Om(s,t)||t.push({id:s,object:new BE(a,{placement:r||z0.placement,bodyScrolling:e?e==="true":z0.bodyScrolling,backdrop:d?d==="true":z0.backdrop,edge:y?y==="true":z0.edge,edgeOffset:w||z0.edgeOffset})})}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(i){var s=i.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var r=Om(s,t);r?i.addEventListener("click",function(){r.object.toggle()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," 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(i){var s=i.getAttribute("data-drawer-dismiss")?i.getAttribute("data-drawer-dismiss"):i.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var r=Om(s,t);r?i.addEventListener("click",function(){r.object.hide()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(i){var s=i.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var r=Om(s,t);r?i.addEventListener("click",function(){r.object.show()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=BE,window.initDrawers=zy);var h2=globalThis&&globalThis.__assign||function(){return h2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},h2.apply(this,arguments)},X3={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(){}},UE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=X3),this._items=i,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=h2(h2({},X3),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(s){s.triggerEl.addEventListener("click",function(){i.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(i){this._activeTab=i},t.prototype.getTab=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.show=function(i,s){var a,r,e=this;s===void 0&&(s=!1);var d=this.getTab(i);d===this._activeTab&&!s||(this._items.map(function(y){var w,F;y!==d&&((w=y.triggerEl.classList).remove.apply(w,e._options.activeClasses.split(" ")),(F=y.triggerEl.classList).add.apply(F,e._options.inactiveClasses.split(" ")),y.targetEl.classList.add("hidden"),y.triggerEl.setAttribute("aria-selected","false"))}),(a=d.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(r=d.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),d.triggerEl.setAttribute("aria-selected","true"),d.targetEl.classList.remove("hidden"),this._setActiveTab(d),this._options.onShow(this,d))},t}();function Gy(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var i=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var r=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};i.push(e),r&&(s=e.id)}),new UE(i,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=UE,window.initTabs=Gy);var of=globalThis&&globalThis.__assign||function(){return of=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},of.apply(this,arguments)},Rm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},d2={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},jy=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=d2),this._targetEl=i,this._triggerEl=s,this._options=of(of({},d2),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.hide()})})},t.prototype._createPopperInstance=function(){return $y(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&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(i){return of(of({},i),{modifiers:Rm(Rm([],i.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(i){return of(of({},i),{modifiers:Rm(Rm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function Vy(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var i=t.getAttribute("data-tooltip-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-tooltip-trigger"),r=t.getAttribute("data-tooltip-placement");new jy(s,t,{placement:r||d2.placement,triggerType:a||d2.triggerType})}else console.error('The tooltip element with id "'.concat(i,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=jy,window.initTooltips=Vy);var lf=globalThis&&globalThis.__assign||function(){return lf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},lf.apply(this,arguments)},Pm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},bp={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},$E=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=bp),this._targetEl=i,this._triggerEl=s,this._options=lf(lf({},bp),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},100)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},100)})})},t.prototype._createPopperInstance=function(){return $y(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&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(i){return lf(lf({},i),{modifiers:Pm(Pm([],i.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(i){return lf(lf({},i),{modifiers:Pm(Pm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function Yy(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var i=t.getAttribute("data-popover-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-popover-trigger"),r=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new $E(s,t,{placement:r||bp.placement,offset:e?parseInt(e):bp.offset,triggerType:a||bp.triggerType})}else console.error('The popover element with id "'.concat(i,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=$E,window.initPopovers=Yy);var p2=globalThis&&globalThis.__assign||function(){return p2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},p2.apply(this,arguments)},C4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},HE=function(){function t(i,s,a,r){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=null),r===void 0&&(r=C4),this._parentEl=i,this._triggerEl=s,this._targetEl=a,this._options=p2(p2({},C4),r),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._parentEl.addEventListener(a,function(){i._parentEl.matches(":hover")||i.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(i){switch(i){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 qy(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var i=t.querySelector("[data-dial-toggle]");if(i){var s=i.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-dial-trigger");new HE(t,i,a,{triggerType:r||C4.triggerType})}else console.error("Dial with id ".concat(s," 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=HE,window.initDials=qy);function sk(){Sy(),ky(),Oy(),Ry(),Hy(),Wy(),zy(),Gy(),Vy(),Yy(),qy()}typeof window<"u"&&(window.initFlowbite=sk);var ak=new ZS("load",[Sy,ky,Oy,Ry,Hy,Wy,zy,Gy,Vy,Yy,qy]);ak.init();const ok=Ht("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1),WE=ls({__name:"Tooltip",props:{placement:null},setup(t){const i=t,s=ur(null),a=ur(null),r=gn(()=>i.placement??"auto");return bl(()=>{if(s.value&&a.value){const e={placement:r.value,triggerType:"hover"};new jy(s.value,a.value,e)}}),(e,d)=>(fn(),jn("div",null,[Ht("div",{ref_key:"tooltipTriggerEl",ref:a},[Z0(e.$slots,"default")],512),Ht("div",{ref_key:"tooltipTargetEl",ref:s,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":""},[Ht("div",null,[Z0(e.$slots,"popper")]),ok],512)]))}}),lk="0.35.0",zE="https://github.com/xcpcio/xcpcio",ck="54bd4fbff8";var hl=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(hl||{}),Bt=(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))(Bt||{});const KI={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"},QI={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"},uk={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},fk={"text-center":"","w-full":""},hk=Ht("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),dk=Ht("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),pk={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},gk={"mr-4":"","md:mr-6":""},mk=["href"],vk={flex:"","justify-center":"","items-start":"","flex-col":""},bk={"mr-4":"","md:mr-6":""},yk=Ht("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1),_k={flex:"","justify-center":"","items-start":"","flex-col":""},wk={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},Dk=ls({__name:"Footer",setup(t){const i=gn(()=>window?window.CDN_HOST:""),s=gn(()=>window?window.DATA_HOST:""),a=gn(()=>window?window.DATA_REGION:"");return(r,e)=>{const d=ml("RouterLink"),y=WE;return fn(),jn("footer",uk,[Ht("div",fk,[Yr(d,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:bs(()=>[hk,Hl(" Get more balloons ")]),_:1}),dk,Ht("ul",pk,[Ht("li",null,[Yr(d,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:bs(()=>[Hl(" Home ")]),_:1})]),Ht("li",null,[Ht("div",gk,[Yr(y,null,{popper:bs(()=>[Ht("div",vk,[Ht("div",null,"Tag: "+Ji(gr(lk)),1),Ht("div",null,"Sha: "+Ji(gr(ck)),1)])]),default:bs(()=>[Ht("a",{href:gr(zE),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,mk)]),_:1})])]),Ht("li",null,[Ht("div",bk,[Yr(y,null,{popper:bs(()=>[Ht("div",_k,[Ht("div",null,"CDN Host: "+Ji(gr(i)),1),Ht("div",null,"DATA Host: "+Ji(gr(s)),1),Ht("div",null,"Data Region: "+Ji(gr(a)),1)])]),default:bs(()=>[yk]),_:1})])])]),Ht("span",wk,[Hl("© 2020-PRESENT "),Yr(d,{to:"/","hover:underline":""},{default:bs(()=>[Hl("XCPCIO™")]),_:1}),Hl(". All Rights Reserved.")])])])}}});function oh(t){return S2()?(q4(t),!0):!1}function Ib(){const t=new Set,i=r=>{t.delete(r)};return{on:r=>{t.add(r);const e=()=>i(r);return oh(e),{off:e}},off:i,trigger:r=>Promise.all(Array.from(t).map(e=>e(r)))}}function Ri(t){return typeof t=="function"?t():gr(t)}const X2=typeof window<"u",Fk=t=>typeof t<"u",Ek=t=>t!=null,Ed=()=>{};function xk(t,i){function s(...a){return new Promise((r,e)=>{Promise.resolve(t(()=>i.apply(this,a),{fn:i,thisArg:this,args:a})).then(r).catch(e)})}return s}const GE=t=>t();function Ck(t=GE){const i=ur(!0);function s(){i.value=!1}function a(){i.value=!0}const r=(...e)=>{i.value&&t(...e)};return{isActive:Wd(i),pause:s,resume:a,eventFilter:r}}function J3(t,i=!1,s="Timeout"){return new Promise((a,r)=>{setTimeout(i?()=>r(s):a,t)})}function Tk(t,...i){return i.some(s=>s in t)}function yp(...t){if(t.length!==1)return OD(...t);const i=t[0];return typeof i=="function"?Wd(ry(()=>({get:i,set:Ed}))):ur(i)}function Ak(t,i=!0){Ds()?bl(t):i?t():ql(t)}function T4(t,i=!1){function s(A,{flush:R="sync",deep:L=!1,timeout:B,throwOnTimeout:I}={}){let z=null;const K=[new Promise(oe=>{z=ri(t,j=>{A(j)!==i&&(z==null||z(),oe(j))},{flush:R,deep:L,immediate:!0})})];return B!=null&&K.push(J3(B,I).then(()=>Ri(t)).finally(()=>z==null?void 0:z())),Promise.race(K)}function a(A,R){if(!Bn(A))return s(j=>j===A,R);const{flush:L="sync",deep:B=!1,timeout:I,throwOnTimeout:z}=R??{};let H=null;const oe=[new Promise(j=>{H=ri([t,A],([G,Z])=>{i!==(G===Z)&&(H==null||H(),j(G))},{flush:L,deep:B,immediate:!0})})];return I!=null&&oe.push(J3(I,z).then(()=>Ri(t)).finally(()=>(H==null||H(),Ri(t)))),Promise.race(oe)}function r(A){return s(R=>!!R,A)}function e(A){return a(null,A)}function d(A){return a(void 0,A)}function y(A){return s(Number.isNaN,A)}function w(A,R){return s(L=>{const B=Array.from(L);return B.includes(A)||B.includes(Ri(A))},R)}function F(A){return C(1,A)}function C(A=1,R){let L=-1;return s(()=>(L+=1,L>=A),R)}return Array.isArray(Ri(t))?{toMatch:s,toContains:w,changed:F,changedTimes:C,get not(){return T4(t,!i)}}:{toMatch:s,toBe:a,toBeTruthy:r,toBeNull:e,toBeNaN:y,toBeUndefined:d,changed:F,changedTimes:C,get not(){return T4(t,!i)}}}function Sk(t){return T4(t)}function jE(t,i,s={}){const{immediate:a=!0}=s,r=ur(!1);let e=null;function d(){e&&(clearTimeout(e),e=null)}function y(){r.value=!1,d()}function w(...F){d(),r.value=!0,e=setTimeout(()=>{r.value=!1,e=null,t(...F)},Ri(i))}return a&&(r.value=!0,X2&&w()),oh(y),{isPending:Wd(r),start:w,stop:y}}function kk(t=!1,i={}){const{truthyValue:s=!0,falsyValue:a=!1}=i,r=Bn(t),e=ur(t);function d(y){if(arguments.length)return e.value=y,e.value;{const w=Ri(s);return e.value=e.value===w?Ri(a):w,e.value}}return r?d:[e,d]}var Z3=Object.getOwnPropertySymbols,Ok=Object.prototype.hasOwnProperty,Rk=Object.prototype.propertyIsEnumerable,Pk=(t,i)=>{var s={};for(var a in t)Ok.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&Z3)for(var a of Z3(t))i.indexOf(a)<0&&Rk.call(t,a)&&(s[a]=t[a]);return s};function Ik(t,i,s={}){const a=s,{eventFilter:r=GE}=a,e=Pk(a,["eventFilter"]);return ri(t,xk(r,i),e)}var Nk=Object.defineProperty,Mk=Object.defineProperties,Lk=Object.getOwnPropertyDescriptors,g2=Object.getOwnPropertySymbols,VE=Object.prototype.hasOwnProperty,YE=Object.prototype.propertyIsEnumerable,ew=(t,i,s)=>i in t?Nk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Bk=(t,i)=>{for(var s in i||(i={}))VE.call(i,s)&&ew(t,s,i[s]);if(g2)for(var s of g2(i))YE.call(i,s)&&ew(t,s,i[s]);return t},Uk=(t,i)=>Mk(t,Lk(i)),$k=(t,i)=>{var s={};for(var a in t)VE.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&g2)for(var a of g2(t))i.indexOf(a)<0&&YE.call(t,a)&&(s[a]=t[a]);return s};function Hk(t,i,s={}){const a=s,{eventFilter:r}=a,e=$k(a,["eventFilter"]),{eventFilter:d,pause:y,resume:w,isActive:F}=Ck(r);return{stop:Ik(t,i,Uk(Bk({},e),{eventFilter:d})),pause:y,resume:w,isActive:F}}function xd(t){var i;const s=Ri(t);return(i=s==null?void 0:s.$el)!=null?i:s}const ko=X2?window:void 0,Wk=X2?window.document:void 0,zk=X2?window.navigator:void 0;function Bc(...t){let i,s,a,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,r]=t,i=ko):[i,s,a,r]=t,!i)return Ed;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],d=()=>{e.forEach(C=>C()),e.length=0},y=(C,A,R,L)=>(C.addEventListener(A,R,L),()=>C.removeEventListener(A,R,L)),w=ri(()=>[xd(i),Ri(r)],([C,A])=>{d(),C&&e.push(...s.flatMap(R=>a.map(L=>y(C,R,L,A))))},{immediate:!0,flush:"post"}),F=()=>{w(),d()};return oh(F),F}function Gk(t){return typeof t=="function"?t:typeof t=="string"?i=>i.key===t:Array.isArray(t)?i=>t.includes(i.key):()=>!0}function XI(...t){let i,s,a={};t.length===3?(i=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(i=!0,s=t[0],a=t[1]):(i=t[0],s=t[1]):(i=!0,s=t[0]);const{target:r=ko,eventName:e="keydown",passive:d=!1,dedupe:y=!1}=a,w=Gk(i);return Bc(r,e,C=>{C.repeat&&Ri(y)||w(C)&&s(C)},d)}function jk(){const t=ur(!1);return Ds()&&bl(()=>{t.value=!0}),t}function J2(t){const i=jk();return gn(()=>(i.value,!!t()))}function Vk(t,i={}){const{window:s=ko}=i,a=J2(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let r;const e=ur(!1),d=F=>{e.value=F.matches},y=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",d):r.removeListener(d))},w=oy(()=>{a.value&&(y(),r=s.matchMedia(Ri(t)),"addEventListener"in r?r.addEventListener("change",d):r.addListener(d),e.value=r.matches)});return oh(()=>{w(),y(),r=void 0}),e}function JI(t={}){const{navigator:i=zk,read:s=!1,source:a,copiedDuring:r=1500,legacy:e=!1}=t,d=J2(()=>i&&"clipboard"in i),y=gn(()=>d.value||e),w=ur(""),F=ur(!1),C=jE(()=>F.value=!1,r);function A(){d.value?i.clipboard.readText().then(I=>{w.value=I}):w.value=B()}y.value&&s&&Bc(["copy","cut"],A);async function R(I=Ri(a)){y.value&&I!=null&&(d.value?await i.clipboard.writeText(I):L(I),w.value=I,F.value=!0,C.start())}function L(I){const z=document.createElement("textarea");z.value=I??"",z.style.position="absolute",z.style.opacity="0",document.body.appendChild(z),z.select(),document.execCommand("copy"),z.remove()}function B(){var I,z,H;return(H=(z=(I=document==null?void 0:document.getSelection)==null?void 0:I.call(document))==null?void 0:z.toString())!=null?H:""}return{isSupported:y,text:w,copied:F,copy:R}}function Yk(t){return JSON.parse(JSON.stringify(t))}const Im=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Nm="__vueuse_ssr_handlers__",qk=Kk();function Kk(){return Nm in Im||(Im[Nm]=Im[Nm]||{}),Im[Nm]}function qE(t,i){return qk[t]||i}function Qk(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"}var Xk=Object.defineProperty,tw=Object.getOwnPropertySymbols,Jk=Object.prototype.hasOwnProperty,Zk=Object.prototype.propertyIsEnumerable,rw=(t,i,s)=>i in t?Xk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,nw=(t,i)=>{for(var s in i||(i={}))Jk.call(i,s)&&rw(t,s,i[s]);if(tw)for(var s of tw(i))Zk.call(i,s)&&rw(t,s,i[s]);return t};const e9={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()}},iw="vueuse-storage";function t9(t,i,s,a={}){var r;const{flush:e="pre",deep:d=!0,listenToStorageChanges:y=!0,writeDefaults:w=!0,mergeDefaults:F=!1,shallow:C,window:A=ko,eventFilter:R,onError:L=re=>{console.error(re)}}=a,B=(C?wd:ur)(i);if(!s)try{s=qE("getDefaultStorage",()=>{var re;return(re=ko)==null?void 0:re.localStorage})()}catch(re){L(re)}if(!s)return B;const I=Ri(i),z=Qk(I),H=(r=a.serializer)!=null?r:e9[z],{pause:K,resume:oe}=Hk(B,()=>j(B.value),{flush:e,deep:d,eventFilter:R});return A&&y&&(Bc(A,"storage",ie),Bc(A,iw,Z)),ie(),B;function j(re){try{if(re==null)s.removeItem(t);else{const ae=H.write(re),ue=s.getItem(t);ue!==ae&&(s.setItem(t,ae),A&&A.dispatchEvent(new CustomEvent(iw,{detail:{key:t,oldValue:ue,newValue:ae,storageArea:s}})))}}catch(ae){L(ae)}}function G(re){const ae=re?re.newValue:s.getItem(t);if(ae==null)return w&&I!==null&&s.setItem(t,H.write(I)),I;if(!re&&F){const ue=H.read(ae);return typeof F=="function"?F(ue,I):z==="object"&&!Array.isArray(ue)?nw(nw({},I),ue):ue}else return typeof ae!="string"?ae:H.read(ae)}function Z(re){ie(re.detail)}function ie(re){if(!(re&&re.storageArea!==s)){if(re&&re.key==null){B.value=I;return}if(!(re&&re.key!==t)){K();try{B.value=G(re)}catch(ae){L(ae)}finally{re?ql(oe):oe()}}}}}function KE(t){return Vk("(prefers-color-scheme: dark)",t)}var r9=Object.defineProperty,sw=Object.getOwnPropertySymbols,n9=Object.prototype.hasOwnProperty,i9=Object.prototype.propertyIsEnumerable,aw=(t,i,s)=>i in t?r9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,s9=(t,i)=>{for(var s in i||(i={}))n9.call(i,s)&&aw(t,s,i[s]);if(sw)for(var s of sw(i))i9.call(i,s)&&aw(t,s,i[s]);return t};function a9(t={}){const{selector:i="html",attribute:s="class",initialValue:a="auto",window:r=ko,storage:e,storageKey:d="vueuse-color-scheme",listenToStorageChanges:y=!0,storageRef:w,emitAuto:F,disableTransition:C=!0}=t,A=s9({auto:"",light:"light",dark:"dark"},t.modes||{}),R=KE({window:r}),L=gn(()=>R.value?"dark":"light"),B=w||(d==null?yp(a):t9(d,a,e,{window:r,listenToStorageChanges:y})),I=gn(()=>B.value==="auto"?L.value:B.value),z=qE("updateHTMLAttrs",(j,G,Z)=>{const ie=typeof j=="string"?r==null?void 0:r.document.querySelector(j):xd(j);if(!ie)return;let re;if(C){re=r.document.createElement("style");const ae="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";re.appendChild(document.createTextNode(ae)),r.document.head.appendChild(re)}if(G==="class"){const ae=Z.split(/\s/g);Object.values(A).flatMap(ue=>(ue||"").split(/\s/g)).filter(Boolean).forEach(ue=>{ae.includes(ue)?ie.classList.add(ue):ie.classList.remove(ue)})}else ie.setAttribute(G,Z);C&&(r.getComputedStyle(re).opacity,document.head.removeChild(re))});function H(j){var G;z(i,s,(G=A[j])!=null?G:j)}function K(j){t.onChanged?t.onChanged(j,H):H(j)}ri(I,K,{flush:"post",immediate:!0}),Ak(()=>K(I.value));const oe=gn({get(){return F?B.value:I.value},set(j){B.value=j}});try{return Object.assign(oe,{store:B,system:L,state:I})}catch{return oe}}var ow=Object.getOwnPropertySymbols,o9=Object.prototype.hasOwnProperty,l9=Object.prototype.propertyIsEnumerable,c9=(t,i)=>{var s={};for(var a in t)o9.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&ow)for(var a of ow(t))i.indexOf(a)<0&&l9.call(t,a)&&(s[a]=t[a]);return s};function u9(t,i,s={}){const a=s,{window:r=ko}=a,e=c9(a,["window"]);let d;const y=J2(()=>r&&"MutationObserver"in r),w=()=>{d&&(d.disconnect(),d=void 0)},F=ri(()=>xd(t),A=>{w(),y.value&&r&&A&&(d=new MutationObserver(i),d.observe(A,e))},{immediate:!0}),C=()=>{w(),F()};return oh(C),{isSupported:y,stop:C}}var f9=Object.defineProperty,h9=Object.defineProperties,d9=Object.getOwnPropertyDescriptors,lw=Object.getOwnPropertySymbols,p9=Object.prototype.hasOwnProperty,g9=Object.prototype.propertyIsEnumerable,cw=(t,i,s)=>i in t?f9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,m9=(t,i)=>{for(var s in i||(i={}))p9.call(i,s)&&cw(t,s,i[s]);if(lw)for(var s of lw(i))g9.call(i,s)&&cw(t,s,i[s]);return t},v9=(t,i)=>h9(t,d9(i));function b9(t={}){const{valueDark:i="dark",valueLight:s=""}=t,a=a9(v9(m9({},t),{onChanged:(e,d)=>{var y;t.onChanged?(y=t.onChanged)==null||y.call(t,e==="dark",d,e):d(e)},modes:{dark:i,light:s}}));return gn({get(){return a.value==="dark"},set(e){const d=e?"dark":"light";a.system.value===d?a.value="auto":a.value=d}})}function y9(t,i,s={}){const{root:a,rootMargin:r="0px",threshold:e=.1,window:d=ko,immediate:y=!0}=s,w=J2(()=>d&&"IntersectionObserver"in d),F=gn(()=>{const B=Ri(t);return(Array.isArray(B)?B:[B]).map(xd).filter(Ek)});let C=Ed;const A=ur(y),R=w.value?ri(()=>[F.value,xd(a),A.value],([B,I])=>{if(C(),!A.value||!B.length)return;const z=new IntersectionObserver(i,{root:xd(I),rootMargin:r,threshold:e});B.forEach(H=>H&&z.observe(H)),C=()=>{z.disconnect(),C=Ed}},{immediate:y,flush:"post"}):Ed,L=()=>{C(),R(),A.value=!1};return oh(L),{isSupported:w,isActive:A,pause(){C(),A.value=!1},resume(){A.value=!0},stop:L}}function _9(t,{window:i=ko,scrollTarget:s}={}){const a=ur(!1);return y9(t,([{isIntersecting:r}])=>{a.value=r},{root:s,window:i}),a}var w9=Object.defineProperty,D9=Object.defineProperties,F9=Object.getOwnPropertyDescriptors,uw=Object.getOwnPropertySymbols,E9=Object.prototype.hasOwnProperty,x9=Object.prototype.propertyIsEnumerable,fw=(t,i,s)=>i in t?w9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Aa=(t,i)=>{for(var s in i||(i={}))E9.call(i,s)&&fw(t,s,i[s]);if(uw)for(var s of uw(i))x9.call(i,s)&&fw(t,s,i[s]);return t},rp=(t,i)=>D9(t,F9(i));const C9={json:"application/json",text:"text/plain"};function hw(t){return t&&Tk(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Nb(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries([...t.entries()]):t}function T9(t,...i){var s;const a=typeof AbortController=="function";let r={},e={immediate:!0,refetch:!1,timeout:0};const d={method:"GET",type:"text",payload:void 0};i.length>0&&(hw(i[0])?e=Aa(Aa({},e),i[0]):r=i[0]),i.length>1&&hw(i[1])&&(e=Aa(Aa({},e),i[1]));const{fetch:y=(s=ko)==null?void 0:s.fetch,initialData:w,timeout:F}=e,C=Ib(),A=Ib(),R=Ib(),L=ur(!1),B=ur(!1),I=ur(!1),z=ur(null),H=wd(null),K=wd(null),oe=wd(w||null),j=gn(()=>a&&B.value);let G,Z;const ie=()=>{a&&(G==null||G.abort(),G=new AbortController,G.signal.onabort=()=>I.value=!0,r=rp(Aa({},r),{signal:G.signal}))},re=We=>{B.value=We,L.value=!We};F&&(Z=jE(ie,F,{immediate:!1}));const ae=async(We=!1)=>{var Xe;ie(),re(!0),K.value=null,z.value=null,I.value=!1;const Me={method:d.method,headers:{}};if(d.payload){const me=Nb(Me.headers),Ke=Ri(d.payload);!d.payloadType&&Ke&&Object.getPrototypeOf(Ke)===Object.prototype&&!(Ke instanceof FormData)&&(d.payloadType="json"),d.payloadType&&(me["Content-Type"]=(Xe=C9[d.payloadType])!=null?Xe:d.payloadType),Me.body=d.payloadType==="json"?JSON.stringify(Ke):Ke}let pt=!1;const mt={url:Ri(t),options:Aa(Aa({},Me),r),cancel:()=>{pt=!0}};if(e.beforeFetch&&Object.assign(mt,await e.beforeFetch(mt)),pt||!y)return re(!1),Promise.resolve(null);let Je=null;return Z&&Z.start(),new Promise((me,Ke)=>{var lt;y(mt.url,rp(Aa(Aa({},Me),mt.options),{headers:Aa(Aa({},Nb(Me.headers)),Nb((lt=mt.options)==null?void 0:lt.headers))})).then(async je=>{if(H.value=je,z.value=je.status,Je=await je[d.type](),!je.ok)throw oe.value=w||null,new Error(je.statusText);return e.afterFetch&&({data:Je}=await e.afterFetch({data:Je,response:je})),oe.value=Je,C.trigger(je),me(je)}).catch(async je=>{let xe=je.message||je.name;return e.onFetchError&&({error:xe}=await e.onFetchError({data:Je,error:je,response:H.value})),K.value=xe,A.trigger(je),We?Ke(je):me(null)}).finally(()=>{re(!1),Z&&Z.stop(),R.trigger(null)})})},ue=yp(e.refetch);ri([ue,yp(t)],([We])=>We&&ae(),{deep:!0});const we={isFinished:L,statusCode:z,response:H,error:K,data:oe,isFetching:B,canAbort:j,aborted:I,abort:ie,execute:ae,onFetchResponse:C.on,onFetchError:A.on,onFetchFinally:R.on,get:Ie("GET"),put:Ie("PUT"),post:Ie("POST"),delete:Ie("DELETE"),patch:Ie("PATCH"),head:Ie("HEAD"),options:Ie("OPTIONS"),json:Ee("json"),text:Ee("text"),blob:Ee("blob"),arrayBuffer:Ee("arrayBuffer"),formData:Ee("formData")};function Ie(We){return(Xe,Me)=>{if(!B.value)return d.method=We,d.payload=Xe,d.payloadType=Me,Bn(d.payload)&&ri([ue,yp(d.payload)],([pt])=>pt&&ae(),{deep:!0}),rp(Aa({},we),{then(pt,mt){return Ae().then(pt,mt)}})}}function Ae(){return new Promise((We,Xe)=>{Sk(L).toBe(!0).then(()=>We(we)).catch(Me=>Xe(Me))})}function Ee(We){return()=>{if(!B.value)return d.type=We,rp(Aa({},we),{then(Xe,Me){return Ae().then(Xe,Me)}})}}return e.immediate&&Promise.resolve().then(()=>ae()),rp(Aa({},we),{then(We,Xe){return Ae().then(We,Xe)}})}const A9={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function ZI(t={}){const{reactive:i=!1,target:s=ko,aliasMap:a=A9,passive:r=!0,onEventFired:e=Ed}=t,d=vf(new Set),y={toJSON(){return{}},current:d},w=i?vf(y):y,F=new Set,C=new Set;function A(I,z){I in w&&(i?w[I]=z:w[I].value=z)}function R(){d.clear();for(const I of C)A(I,!1)}function L(I,z){var H,K;const oe=(H=I.key)==null?void 0:H.toLowerCase(),G=[(K=I.code)==null?void 0:K.toLowerCase(),oe].filter(Boolean);oe&&(z?d.add(oe):d.delete(oe));for(const Z of G)C.add(Z),A(Z,z);oe==="meta"&&!z?(F.forEach(Z=>{d.delete(Z),A(Z,!1)}),F.clear()):typeof I.getModifierState=="function"&&I.getModifierState("Meta")&&z&&[...d,...G].forEach(Z=>F.add(Z))}Bc(s,"keydown",I=>(L(I,!0),e(I)),{passive:r}),Bc(s,"keyup",I=>(L(I,!1),e(I)),{passive:r}),Bc("blur",R,{passive:!0}),Bc("focus",R,{passive:!0});const B=new Proxy(w,{get(I,z,H){if(typeof z!="string")return Reflect.get(I,z,H);if(z=z.toLowerCase(),z in a&&(z=a[z]),!(z in w))if(/[+_-]/.test(z)){const oe=z.split(/[+_-]/g).map(j=>j.trim());w[z]=gn(()=>oe.every(j=>Ri(B[j])))}else w[z]=ur(!1);const K=Reflect.get(I,z,H);return i?Ri(K):K}});return B}function S9(t=null,i={}){var s,a;const{document:r=Wk}=i,e=yp((s=t??(r==null?void 0:r.title))!=null?s:null),d=t&&typeof t=="function";function y(w){if(!("titleTemplate"in i))return w;const F=i.titleTemplate||"%s";return typeof F=="function"?F(w):Ri(F).replace(/%s/g,w)}return ri(e,(w,F)=>{w!==F&&r&&(r.title=y(typeof w=="string"?w:""))},{immediate:!0}),i.observe&&!i.titleTemplate&&r&&!d&&u9((a=r.head)==null?void 0:a.querySelector("title"),()=>{r&&r.title!==e.value&&(e.value=y(r.title))},{childList:!0}),e}function dw(t,i,s,a={}){var r,e,d;const{clone:y=!1,passive:w=!1,eventName:F,deep:C=!1,defaultValue:A,shouldEmit:R}=a,L=Ds(),B=s||(L==null?void 0:L.emit)||((r=L==null?void 0:L.$emit)==null?void 0:r.bind(L))||((d=(e=L==null?void 0:L.proxy)==null?void 0:e.$emit)==null?void 0:d.bind(L==null?void 0:L.proxy));let I=F;i||(i="modelValue"),I=I||`update:${i.toString()}`;const z=oe=>y?typeof y=="function"?y(oe):Yk(oe):oe,H=()=>Fk(t[i])?z(t[i]):A,K=oe=>{R?R(oe)&&B(I,oe):B(I,oe)};if(w){const oe=H(),j=ur(oe);return ri(()=>t[i],G=>j.value=z(G)),ri(j,G=>{(G!==t[i]||C)&&K(G)},{deep:C}),j}else return gn({get(){return H()},set(oe){K(oe)}})}function k9({window:t=ko}={}){if(!t)return{x:ur(0),y:ur(0)};const i=ur(t.scrollX),s=ur(t.scrollY);return Bc(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:s}}const QE=b9(),O9=kk(QE),R9=KE(),Gd=t=>(B2("data-v-a79e7085"),t=t(),U2(),t),P9=Gd(()=>Ht("div",{"i-ri-arrow-up-line":""},null,-1)),I9=[P9],N9=Gd(()=>Ht("div",{class:"spacer"},null,-1)),M9={class:"right","print:op0":""},L9=Gd(()=>Ht("div",{"i-ion-balloon-sharp":""},null,-1)),B9=["title"],U9=Gd(()=>Ht("div",{"i-carbon-language":""},null,-1)),$9=[U9],H9=["title"],W9=Gd(()=>Ht("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),z9=[W9],G9=["href"],j9=Gd(()=>Ht("div",{"i-carbon-logo-github":""},null,-1)),V9=[j9],Y9=ls({__name:"NavBar",props:{width:null},setup(t){const i=t,{t:s,locale:a}=zd(),{y:r}=k9();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function d(){const y=ZF,w=y[(y.indexOf(a.value)+1)%y.length];await Cy(w),a.value=w}return(y,w)=>{const F=ml("RouterLink");return fn(),jn("header",{class:ua(["header z-40",[(i==null?void 0:i.width)??""]])},[Ht("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:ua(gr(r)>300?"op30":"op0! pointer-events-none"),onClick:w[0]||(w[0]=C=>e())},I9,2),Ht("nav",{class:ua(["nav",[i!=null&&i.width?"":"fixed"]]),"text-xl":""},[N9,Ht("div",M9,[Yr(F,{"icon-btn":"",title:gr(s)("button.home"),to:"/",focusable:"false"},{default:bs(()=>[L9]),_:1},8,["title"]),Ht("a",{"icon-btn":"",title:gr(s)("button.toggle_langs"),onClick:w[1]||(w[1]=C=>d())},$9,8,B9),Ht("a",{"icon-btn":"",title:gr(s)("button.toggle_dark"),onClick:w[2]||(w[2]=C=>("toggleDark"in y?y.toggleDark:gr(O9))())},z9,8,H9),Ht("a",{"icon-btn":"",rel:"noreferrer",href:gr(zE),target:"_blank",title:"GitHub"},V9,8,G9)])],2)],2)}}});const jd=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s},q9=jd(Y9,[["__scopeId","data-v-a79e7085"]]),K9={},Q9={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function X9(t,i){const s=q9,a=ml("RouterView"),r=Dk;return fn(),jn(Oi,null,[Yr(s),Ht("main",Q9,[Yr(a),Yr(r)])],64)}const J9=jd(K9,[["render",X9]]),Z9={"board-layout":()=>ka(()=>import("./board-layout-b82c69d2.js"),[],import.meta.url),default:J9,headless:()=>ka(()=>import("./headless-b9942007.js"),[],import.meta.url),home:()=>ka(()=>import("./home-4af354b3.js"),[],import.meta.url),"index-layout":()=>ka(()=>import("./index-layout-cb03751a.js"),[],import.meta.url)};function eO(t){return t.map(i=>{var s;return{path:i.path,meta:i.meta,component:Z9[((s=i.meta)==null?void 0:s.layout)||"default"],children:i.path==="/"?[i]:[{...i,path:""}]}})}const tO=["top","right","bottom","left"],pw=["start","end"],gw=tO.reduce((t,i)=>t.concat(i,i+"-"+pw[0],i+"-"+pw[1]),[]),Up=Math.min,U0=Math.max,rO={left:"right",right:"left",bottom:"top",top:"bottom"},nO={start:"end",end:"start"};function A4(t,i,s){return U0(t,Up(i,s))}function lh(t,i){return typeof t=="function"?t(i):t}function Yl(t){return t.split("-")[0]}function gl(t){return t.split("-")[1]}function XE(t){return t==="x"?"y":"x"}function Ky(t){return t==="y"?"height":"width"}function eg(t){return["top","bottom"].includes(Yl(t))?"y":"x"}function Qy(t){return XE(eg(t))}function JE(t,i,s){s===void 0&&(s=!1);const a=gl(t),r=Qy(t),e=Ky(r);let d=r==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return i.reference[e]>i.floating[e]&&(d=v2(d)),[d,v2(d)]}function iO(t){const i=v2(t);return[m2(t),i,m2(i)]}function m2(t){return t.replace(/start|end/g,i=>nO[i])}function sO(t,i,s){const a=["left","right"],r=["right","left"],e=["top","bottom"],d=["bottom","top"];switch(t){case"top":case"bottom":return s?i?r:a:i?a:r;case"left":case"right":return i?e:d;default:return[]}}function aO(t,i,s,a){const r=gl(t);let e=sO(Yl(t),s==="start",a);return r&&(e=e.map(d=>d+"-"+r),i&&(e=e.concat(e.map(m2)))),e}function v2(t){return t.replace(/left|right|bottom|top/g,i=>rO[i])}function oO(t){return{top:0,right:0,bottom:0,left:0,...t}}function ZE(t){return typeof t!="number"?oO(t):{top:t,right:t,bottom:t,left:t}}function _p(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function mw(t,i,s){let{reference:a,floating:r}=t;const e=eg(i),d=Qy(i),y=Ky(d),w=Yl(i),F=e==="y",C=a.x+a.width/2-r.width/2,A=a.y+a.height/2-r.height/2,R=a[y]/2-r[y]/2;let L;switch(w){case"top":L={x:C,y:a.y-r.height};break;case"bottom":L={x:C,y:a.y+a.height};break;case"right":L={x:a.x+a.width,y:A};break;case"left":L={x:a.x-r.width,y:A};break;default:L={x:a.x,y:a.y}}switch(gl(i)){case"start":L[d]-=R*(s&&F?-1:1);break;case"end":L[d]+=R*(s&&F?-1:1);break}return L}const lO=async(t,i,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:e=[],platform:d}=s,y=e.filter(Boolean),w=await(d.isRTL==null?void 0:d.isRTL(i));let F=await d.getElementRects({reference:t,floating:i,strategy:r}),{x:C,y:A}=mw(F,a,w),R=a,L={},B=0;for(let I=0;I<y.length;I++){const{name:z,fn:H}=y[I],{x:K,y:oe,data:j,reset:G}=await H({x:C,y:A,initialPlacement:a,placement:R,strategy:r,middlewareData:L,rects:F,platform:d,elements:{reference:t,floating:i}});if(C=K??C,A=oe??A,L={...L,[z]:{...L[z],...j}},G&&B<=50){B++,typeof G=="object"&&(G.placement&&(R=G.placement),G.rects&&(F=G.rects===!0?await d.getElementRects({reference:t,floating:i,strategy:r}):G.rects),{x:C,y:A}=mw(F,R,w)),I=-1;continue}}return{x:C,y:A,placement:R,strategy:r,middlewareData:L}};async function Z2(t,i){var s;i===void 0&&(i={});const{x:a,y:r,platform:e,rects:d,elements:y,strategy:w}=t,{boundary:F="clippingAncestors",rootBoundary:C="viewport",elementContext:A="floating",altBoundary:R=!1,padding:L=0}=lh(i,t),B=ZE(L),z=y[R?A==="floating"?"reference":"floating":A],H=_p(await e.getClippingRect({element:(s=await(e.isElement==null?void 0:e.isElement(z)))==null||s?z:z.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(y.floating)),boundary:F,rootBoundary:C,strategy:w})),K=A==="floating"?{...d.floating,x:a,y:r}:d.reference,oe=await(e.getOffsetParent==null?void 0:e.getOffsetParent(y.floating)),j=await(e.isElement==null?void 0:e.isElement(oe))?await(e.getScale==null?void 0:e.getScale(oe))||{x:1,y:1}:{x:1,y:1},G=_p(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:K,offsetParent:oe,strategy:w}):K);return{top:(H.top-G.top+B.top)/j.y,bottom:(G.bottom-H.bottom+B.bottom)/j.y,left:(H.left-G.left+B.left)/j.x,right:(G.right-H.right+B.right)/j.x}}const cO=t=>({name:"arrow",options:t,async fn(i){const{x:s,y:a,placement:r,rects:e,platform:d,elements:y}=i,{element:w,padding:F=0}=lh(t,i)||{};if(w==null)return{};const C=ZE(F),A={x:s,y:a},R=Qy(r),L=Ky(R),B=await d.getDimensions(w),I=R==="y",z=I?"top":"left",H=I?"bottom":"right",K=I?"clientHeight":"clientWidth",oe=e.reference[L]+e.reference[R]-A[R]-e.floating[L],j=A[R]-e.reference[R],G=await(d.getOffsetParent==null?void 0:d.getOffsetParent(w));let Z=G?G[K]:0;(!Z||!await(d.isElement==null?void 0:d.isElement(G)))&&(Z=y.floating[K]||e.floating[L]);const ie=oe/2-j/2,re=Z/2-B[L]/2-1,ae=Up(C[z],re),ue=Up(C[H],re),we=ae,Ie=Z-B[L]-ue,Ae=Z/2-B[L]/2+ie,Ee=A4(we,Ae,Ie),Xe=gl(r)!=null&&Ae!=Ee&&e.reference[L]/2-(Ae<we?ae:ue)-B[L]/2<0?Ae<we?we-Ae:Ie-Ae:0;return{[R]:A[R]-Xe,data:{[R]:Ee,centerOffset:Ae-Ee+Xe}}}});function uO(t,i,s){return(t?[...s.filter(r=>gl(r)===t),...s.filter(r=>gl(r)!==t)]:s.filter(r=>Yl(r)===r)).filter(r=>t?gl(r)===t||(i?m2(r)!==r:!1):!0)}const fO=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(i){var s,a,r;const{rects:e,middlewareData:d,placement:y,platform:w,elements:F}=i,{crossAxis:C=!1,alignment:A,allowedPlacements:R=gw,autoAlignment:L=!0,...B}=lh(t,i),I=A!==void 0||R===gw?uO(A||null,L,R):R,z=await Z2(i,B),H=((s=d.autoPlacement)==null?void 0:s.index)||0,K=I[H];if(K==null)return{};const oe=JE(K,e,await(w.isRTL==null?void 0:w.isRTL(F.floating)));if(y!==K)return{reset:{placement:I[0]}};const j=[z[Yl(K)],z[oe[0]],z[oe[1]]],G=[...((a=d.autoPlacement)==null?void 0:a.overflows)||[],{placement:K,overflows:j}],Z=I[H+1];if(Z)return{data:{index:H+1,overflows:G},reset:{placement:Z}};const ie=G.map(ue=>{const we=gl(ue.placement);return[ue.placement,we&&C?ue.overflows.slice(0,2).reduce((Ie,Ae)=>Ie+Ae,0):ue.overflows[0],ue.overflows]}).sort((ue,we)=>ue[1]-we[1]),ae=((r=ie.filter(ue=>ue[2].slice(0,gl(ue[0])?2:3).every(we=>we<=0))[0])==null?void 0:r[0])||ie[0][0];return ae!==y?{data:{index:H+1,overflows:G},reset:{placement:ae}}:{}}}},hO=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var s;const{placement:a,middlewareData:r,rects:e,initialPlacement:d,platform:y,elements:w}=i,{mainAxis:F=!0,crossAxis:C=!0,fallbackPlacements:A,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:B=!0,...I}=lh(t,i),z=Yl(a),H=Yl(d)===d,K=await(y.isRTL==null?void 0:y.isRTL(w.floating)),oe=A||(H||!B?[v2(d)]:iO(d));!A&&L!=="none"&&oe.push(...aO(d,B,L,K));const j=[d,...oe],G=await Z2(i,I),Z=[];let ie=((s=r.flip)==null?void 0:s.overflows)||[];if(F&&Z.push(G[z]),C){const we=JE(a,e,K);Z.push(G[we[0]],G[we[1]])}if(ie=[...ie,{placement:a,overflows:Z}],!Z.every(we=>we<=0)){var re,ae;const we=(((re=r.flip)==null?void 0:re.index)||0)+1,Ie=j[we];if(Ie)return{data:{index:we,overflows:ie},reset:{placement:Ie}};let Ae=(ae=ie.filter(Ee=>Ee.overflows[0]<=0).sort((Ee,We)=>Ee.overflows[1]-We.overflows[1])[0])==null?void 0:ae.placement;if(!Ae)switch(R){case"bestFit":{var ue;const Ee=(ue=ie.map(We=>[We.placement,We.overflows.filter(Xe=>Xe>0).reduce((Xe,Me)=>Xe+Me,0)]).sort((We,Xe)=>We[1]-Xe[1])[0])==null?void 0:ue[0];Ee&&(Ae=Ee);break}case"initialPlacement":Ae=d;break}if(a!==Ae)return{reset:{placement:Ae}}}return{}}}};async function dO(t,i){const{placement:s,platform:a,elements:r}=t,e=await(a.isRTL==null?void 0:a.isRTL(r.floating)),d=Yl(s),y=gl(s),w=eg(s)==="y",F=["left","top"].includes(d)?-1:1,C=e&&w?-1:1,A=lh(i,t);let{mainAxis:R,crossAxis:L,alignmentAxis:B}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...A};return y&&typeof B=="number"&&(L=y==="end"?B*-1:B),w?{x:L*C,y:R*F}:{x:R*F,y:L*C}}const pO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){const{x:s,y:a}=i,r=await dO(i,t);return{x:s+r.x,y:a+r.y,data:r}}}},gO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:s,y:a,placement:r}=i,{mainAxis:e=!0,crossAxis:d=!1,limiter:y={fn:z=>{let{x:H,y:K}=z;return{x:H,y:K}}},...w}=lh(t,i),F={x:s,y:a},C=await Z2(i,w),A=eg(Yl(r)),R=XE(A);let L=F[R],B=F[A];if(e){const z=R==="y"?"top":"left",H=R==="y"?"bottom":"right",K=L+C[z],oe=L-C[H];L=A4(K,L,oe)}if(d){const z=A==="y"?"top":"left",H=A==="y"?"bottom":"right",K=B+C[z],oe=B-C[H];B=A4(K,B,oe)}const I=y.fn({...i,[R]:L,[A]:B});return{...I,data:{x:I.x-s,y:I.y-a}}}}},mO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){const{placement:s,rects:a,platform:r,elements:e}=i,{apply:d=()=>{},...y}=lh(t,i),w=await Z2(i,y),F=Yl(s),C=gl(s),A=eg(s)==="y",{width:R,height:L}=a.floating;let B,I;F==="top"||F==="bottom"?(B=F,I=C===(await(r.isRTL==null?void 0:r.isRTL(e.floating))?"start":"end")?"left":"right"):(I=F,B=C==="end"?"top":"bottom");const z=L-w[B],H=R-w[I],K=!i.middlewareData.shift;let oe=z,j=H;if(A){const Z=R-w.left-w.right;j=C||K?Up(H,Z):Z}else{const Z=L-w.top-w.bottom;oe=C||K?Up(z,Z):Z}if(K&&!C){const Z=U0(w.left,0),ie=U0(w.right,0),re=U0(w.top,0),ae=U0(w.bottom,0);A?j=R-2*(Z!==0||ie!==0?Z+ie:U0(w.left,w.right)):oe=L-2*(re!==0||ae!==0?re+ae:U0(w.top,w.bottom))}await d({...i,availableWidth:j,availableHeight:oe});const G=await r.getDimensions(e.floating);return R!==G.width||L!==G.height?{reset:{rects:!0}}:{}}}};function xo(t){var i;return((i=t.ownerDocument)==null?void 0:i.defaultView)||window}function zl(t){return xo(t).getComputedStyle(t)}const vw=Math.min,wp=Math.max,b2=Math.round;function e6(t){const i=zl(t);let s=parseFloat(i.width),a=parseFloat(i.height);const r=t.offsetWidth,e=t.offsetHeight,d=b2(s)!==r||b2(a)!==e;return d&&(s=r,a=e),{width:s,height:a,fallback:d}}function Df(t){return r6(t)?(t.nodeName||"").toLowerCase():""}let Mm;function t6(){if(Mm)return Mm;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(Mm=t.brands.map(i=>i.brand+"/"+i.version).join(" "),Mm):navigator.userAgent}function Gl(t){return t instanceof xo(t).HTMLElement}function df(t){return t instanceof xo(t).Element}function r6(t){return t instanceof xo(t).Node}function bw(t){return typeof ShadowRoot>"u"?!1:t instanceof xo(t).ShadowRoot||t instanceof ShadowRoot}function ev(t){const{overflow:i,overflowX:s,overflowY:a,display:r}=zl(t);return/auto|scroll|overlay|hidden|clip/.test(i+a+s)&&!["inline","contents"].includes(r)}function vO(t){return["table","td","th"].includes(Df(t))}function S4(t){const i=/firefox/i.test(t6()),s=zl(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||i&&s.willChange==="filter"||i&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(r=>s.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const e=s.contain;return e!=null&&e.includes(r)})}function n6(){return!/^((?!chrome|android).)*safari/i.test(t6())}function Xy(t){return["html","body","#document"].includes(Df(t))}function i6(t){return df(t)?t:t.contextElement}const s6={x:1,y:1};function Cd(t){const i=i6(t);if(!Gl(i))return s6;const s=i.getBoundingClientRect(),{width:a,height:r,fallback:e}=e6(i);let d=(e?b2(s.width):s.width)/a,y=(e?b2(s.height):s.height)/r;return d&&Number.isFinite(d)||(d=1),y&&Number.isFinite(y)||(y=1),{x:d,y}}function $p(t,i,s,a){var r,e;i===void 0&&(i=!1),s===void 0&&(s=!1);const d=t.getBoundingClientRect(),y=i6(t);let w=s6;i&&(a?df(a)&&(w=Cd(a)):w=Cd(t));const F=y?xo(y):window,C=!n6()&&s;let A=(d.left+(C&&((r=F.visualViewport)==null?void 0:r.offsetLeft)||0))/w.x,R=(d.top+(C&&((e=F.visualViewport)==null?void 0:e.offsetTop)||0))/w.y,L=d.width/w.x,B=d.height/w.y;if(y){const I=xo(y),z=a&&df(a)?xo(a):a;let H=I.frameElement;for(;H&&a&&z!==I;){const K=Cd(H),oe=H.getBoundingClientRect(),j=getComputedStyle(H);oe.x+=(H.clientLeft+parseFloat(j.paddingLeft))*K.x,oe.y+=(H.clientTop+parseFloat(j.paddingTop))*K.y,A*=K.x,R*=K.y,L*=K.x,B*=K.y,A+=oe.x,R+=oe.y,H=xo(H).frameElement}}return{width:L,height:B,top:R,right:A+L,bottom:R+B,left:A,x:A,y:R}}function pf(t){return((r6(t)?t.ownerDocument:t.document)||window.document).documentElement}function tv(t){return df(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function a6(t){return $p(pf(t)).left+tv(t).scrollLeft}function Hp(t){if(Df(t)==="html")return t;const i=t.assignedSlot||t.parentNode||bw(t)&&t.host||pf(t);return bw(i)?i.host:i}function o6(t){const i=Hp(t);return Xy(i)?i.ownerDocument.body:Gl(i)&&ev(i)?i:o6(i)}function y2(t,i){var s;i===void 0&&(i=[]);const a=o6(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=xo(a);return r?i.concat(e,e.visualViewport||[],ev(a)?a:[]):i.concat(a,y2(a))}function yw(t,i,s){return i==="viewport"?_p(function(a,r){const e=xo(a),d=pf(a),y=e.visualViewport;let w=d.clientWidth,F=d.clientHeight,C=0,A=0;if(y){w=y.width,F=y.height;const R=n6();(R||!R&&r==="fixed")&&(C=y.offsetLeft,A=y.offsetTop)}return{width:w,height:F,x:C,y:A}}(t,s)):df(i)?_p(function(a,r){const e=$p(a,!0,r==="fixed"),d=e.top+a.clientTop,y=e.left+a.clientLeft,w=Gl(a)?Cd(a):{x:1,y:1};return{width:a.clientWidth*w.x,height:a.clientHeight*w.y,x:y*w.x,y:d*w.y}}(i,s)):_p(function(a){const r=pf(a),e=tv(a),d=a.ownerDocument.body,y=wp(r.scrollWidth,r.clientWidth,d.scrollWidth,d.clientWidth),w=wp(r.scrollHeight,r.clientHeight,d.scrollHeight,d.clientHeight);let F=-e.scrollLeft+a6(a);const C=-e.scrollTop;return zl(d).direction==="rtl"&&(F+=wp(r.clientWidth,d.clientWidth)-y),{width:y,height:w,x:F,y:C}}(pf(t)))}function _w(t){return Gl(t)&&zl(t).position!=="fixed"?t.offsetParent:null}function ww(t){const i=xo(t);let s=_w(t);for(;s&&vO(s)&&zl(s).position==="static";)s=_w(s);return s&&(Df(s)==="html"||Df(s)==="body"&&zl(s).position==="static"&&!S4(s))?i:s||function(a){let r=Hp(a);for(;Gl(r)&&!Xy(r);){if(S4(r))return r;r=Hp(r)}return null}(t)||i}function bO(t,i,s){const a=Gl(i),r=pf(i),e=$p(t,!0,s==="fixed",i);let d={scrollLeft:0,scrollTop:0};const y={x:0,y:0};if(a||!a&&s!=="fixed")if((Df(i)!=="body"||ev(r))&&(d=tv(i)),Gl(i)){const w=$p(i,!0);y.x=w.x+i.clientLeft,y.y=w.y+i.clientTop}else r&&(y.x=a6(r));return{x:e.left+d.scrollLeft-y.x,y:e.top+d.scrollTop-y.y,width:e.width,height:e.height}}const yO={getClippingRect:function(t){let{element:i,boundary:s,rootBoundary:a,strategy:r}=t;const e=s==="clippingAncestors"?function(F,C){const A=C.get(F);if(A)return A;let R=y2(F).filter(z=>df(z)&&Df(z)!=="body"),L=null;const B=zl(F).position==="fixed";let I=B?Hp(F):F;for(;df(I)&&!Xy(I);){const z=zl(I),H=S4(I);(B?H||L:H||z.position!=="static"||!L||!["absolute","fixed"].includes(L.position))?L=z:R=R.filter(K=>K!==I),I=Hp(I)}return C.set(F,R),R}(i,this._c):[].concat(s),d=[...e,a],y=d[0],w=d.reduce((F,C)=>{const A=yw(i,C,r);return F.top=wp(A.top,F.top),F.right=vw(A.right,F.right),F.bottom=vw(A.bottom,F.bottom),F.left=wp(A.left,F.left),F},yw(i,y,r));return{width:w.right-w.left,height:w.bottom-w.top,x:w.left,y:w.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:i,offsetParent:s,strategy:a}=t;const r=Gl(s),e=pf(s);if(s===e)return i;let d={scrollLeft:0,scrollTop:0},y={x:1,y:1};const w={x:0,y:0};if((r||!r&&a!=="fixed")&&((Df(s)!=="body"||ev(e))&&(d=tv(s)),Gl(s))){const F=$p(s);y=Cd(s),w.x=F.x+s.clientLeft,w.y=F.y+s.clientTop}return{width:i.width*y.x,height:i.height*y.y,x:i.x*y.x-d.scrollLeft*y.x+w.x,y:i.y*y.y-d.scrollTop*y.y+w.y}},isElement:df,getDimensions:function(t){return Gl(t)?e6(t):t.getBoundingClientRect()},getOffsetParent:ww,getDocumentElement:pf,getScale:Cd,async getElementRects(t){let{reference:i,floating:s,strategy:a}=t;const r=this.getOffsetParent||ww,e=this.getDimensions;return{reference:bO(i,await r(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>zl(t).direction==="rtl"},_O=(t,i,s)=>{const a=new Map,r={platform:yO,...s},e={...r.platform,_c:a};return lO(t,i,{...r,platform:e})};function l6(t,i){for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(typeof i[s]=="object"&&t[s]?l6(t[s],i[s]):t[s]=i[s])}const Hc={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,i){let s=Hc.themes[t]||{},a;do a=s[i],typeof a>"u"?s.$extend?s=Hc.themes[s.$extend]||{}:(s=null,a=Hc[i]):s=null;while(s);return a}function wO(t){const i=[t];let s=Hc.themes[t]||{};do s.$extend&&!s.$resetCss?(i.push(s.$extend),s=Hc.themes[s.$extend]||{}):s=null;while(s);return i.map(a=>`v-popper--theme-${a}`)}function Dw(t){const i=[t];let s=Hc.themes[t]||{};do s.$extend?(i.push(s.$extend),s=Hc.themes[s.$extend]||{}):s=null;while(s);return i}let rh=!1;if(typeof window<"u"){rh=!1;try{const t=Object.defineProperty({},"passive",{get(){rh=!0}});window.addEventListener("test",null,t)}catch{}}let c6=!1;typeof window<"u"&&typeof navigator<"u"&&(c6=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const u6=["auto","top","bottom","left","right"].reduce((t,i)=>t.concat([i,`${i}-start`,`${i}-end`]),[]),Fw={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Ew={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function xw(t,i){const s=t.indexOf(i);s!==-1&&t.splice(s,1)}function Mb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const fl=[];let L0=null;const Cw={};function Tw(t){let i=Cw[t];return i||(i=Cw[t]=[]),i}let k4=function(){};typeof window<"u"&&(k4=window.Element);function En(t){return function(i){return Wp(i.theme,t)}}const Lb="__floating-vue__popper",f6=()=>ls({name:"VPopper",provide(){return{[Lb]:{parentPopper:this}}},inject:{[Lb]:{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:En("disabled")},positioningDisabled:{type:Boolean,default:En("positioningDisabled")},placement:{type:String,default:En("placement"),validator:t=>u6.includes(t)},delay:{type:[String,Number,Object],default:En("delay")},distance:{type:[Number,String],default:En("distance")},skidding:{type:[Number,String],default:En("skidding")},triggers:{type:Array,default:En("triggers")},showTriggers:{type:[Array,Function],default:En("showTriggers")},hideTriggers:{type:[Array,Function],default:En("hideTriggers")},popperTriggers:{type:Array,default:En("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:En("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:En("popperHideTriggers")},container:{type:[String,Object,k4,Boolean],default:En("container")},boundary:{type:[String,k4],default:En("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:En("strategy")},autoHide:{type:[Boolean,Function],default:En("autoHide")},handleResize:{type:Boolean,default:En("handleResize")},instantMove:{type:Boolean,default:En("instantMove")},eagerMount:{type:Boolean,default:En("eagerMount")},popperClass:{type:[String,Array,Object],default:En("popperClass")},computeTransformOrigin:{type:Boolean,default:En("computeTransformOrigin")},autoMinSize:{type:Boolean,default:En("autoMinSize")},autoSize:{type:[Boolean,String],default:En("autoSize")},autoMaxSize:{type:Boolean,default:En("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:En("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:En("preventOverflow")},overflowPadding:{type:[Number,String],default:En("overflowPadding")},arrowPadding:{type:[Number,String],default:En("arrowPadding")},arrowOverflow:{type:Boolean,default:En("arrowOverflow")},flip:{type:Boolean,default:En("flip")},shift:{type:Boolean,default:En("shift")},shiftCrossAxis:{type:Boolean,default:En("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:En("noAutoFocus")},disposeTimeout:{type:Number,default:En("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[Lb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,i;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((i=this.popperShowTriggers)==null?void 0:i.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,i)=>(t[i]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,i)=>(t[i]="$_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:i=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,i),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:i=!1}={}){var s;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:i}),this.parentPopper.lockedChild=null)},1e3));return}((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,i),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(i=>i.nodeType===i.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(pO({mainAxis:this.distance,crossAxis:this.skidding}));const i=this.placement.startsWith("auto");if(i?t.middleware.push(fO({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(gO({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!i&&this.flip&&t.middleware.push(hO({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(cO({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:r,middlewareData:e})=>{let d;const{centerOffset:y}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?d=Math.abs(y)>r.reference.width/2:d=Math.abs(y)>r.reference.height/2,{data:{overflow:d}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:e,middlewareData:d})=>{var y;if((y=d.autoSize)!=null&&y.skip)return{};let w,F;return e.startsWith("top")||e.startsWith("bottom")?w=r.reference.width:F=r.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=w!=null?`${w}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=F!=null?`${F}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(mO({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:r})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const s=await _O(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:{...s.middlewareData.arrow,...s.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,i=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),L0&&this.instantMove&&L0.instantMove&&L0!==this.parentPopper){L0.$_applyHide(!0),this.$_applyShow(!0);return}i?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,i=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(L0=this),i?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const i=this.delay;return parseInt(i&&i[t]||i||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Mb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...y2(this.$_referenceNode),...y2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const i=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=i.x+i.width/2-(a.left+s.offsetLeft),e=i.y+i.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let i;for(let s=0;s<fl.length;s++)i=fl[s],i.showGroup!==t&&(i.hide(),i.$emit("close-group"))}fl.push(this),document.body.classList.add("v-popper--some-open");for(const i of Dw(this.theme))Tw(i).push(this),document.body.classList.add(`v-popper--some-open--${i}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Mb(),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,xw(fl,this),fl.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of Dw(this.theme)){const a=Tw(s);xw(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}L0===this&&(L0=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const i=this.disposeTimeout;i!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},i)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Mb(),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=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,Fw,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Fw,this.popperTriggers,this.popperShowTriggers,t);const i=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,Ew,this.triggers,this.hideTriggers,i),this.$_registerTriggerListeners([this.$_popperNode],Ew,this.popperTriggers,this.popperHideTriggers,i)},$_registerEventListeners(t,i,s){this.$_events.push({targetNodes:t,eventType:i,handler:s}),t.forEach(a=>a.addEventListener(i,s,rh?{passive:!0}:void 0))},$_registerTriggerListeners(t,i,s,a,r){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(d=>{const y=i[d];y&&this.$_registerEventListeners(t,y,r)})},$_removeEventListeners(t){const i=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:e}=s;!t||t===r?a.forEach(d=>d.removeEventListener(r,e)):i.push(s)}),this.$_events=i},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,i=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,i){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(i,a))}},$_applyAttrsToTarget(t){for(const i of this.$_targetNodes)for(const s in t){const a=t[s];a==null?i.removeAttribute(s):i.setAttribute(s,a)}},$_updateParentShownChildren(t){let i=this.parentPopper;for(;i;)t?i.shownChildren.add(this.randomId):(i.shownChildren.delete(this.randomId),i.$_pendingHide&&i.hide()),i=i.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(Dp>=t.left&&Dp<=t.right&&Fp>=t.top&&Fp<=t.bottom){const i=this.$_popperNode.getBoundingClientRect(),s=Dp-ef,a=Fp-tf,r=i.left+i.width/2-ef+(i.top+i.height/2)-tf+i.width+i.height,e=ef+s*r,d=tf+a*r;return Lm(ef,tf,e,d,i.left,i.top,i.left,i.bottom)||Lm(ef,tf,e,d,i.left,i.top,i.right,i.top)||Lm(ef,tf,e,d,i.right,i.top,i.right,i.bottom)||Lm(ef,tf,e,d,i.left,i.bottom,i.right,i.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(c6?(document.addEventListener("touchstart",Aw,rh?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",FO,rh?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Aw,!0),window.addEventListener("click",DO,!0)),window.addEventListener("resize",CO));function Aw(t){for(let i=0;i<fl.length;i++){const s=fl[i];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function DO(t){h6(t)}function FO(t){h6(t,!0)}function h6(t,i=!1){const s={};for(let a=fl.length-1;a>=0;a--){const r=fl[a];try{const e=r.$_containsGlobalTarget=EO(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&Sw(r,e,t)){if(r.$_handleGlobalClose(t,i),!t.closeAllPopover&&t.closePopover&&e){let y=r.parentPopper;for(;y;)s[y.randomId]=!0,y=y.parentPopper;return}let d=r.parentPopper;for(;d&&Sw(d,d.$_containsGlobalTarget,t);)d.$_handleGlobalClose(t,i),d=d.parentPopper}})}catch{}}}function EO(t,i){const s=t.popperNode();return t.$_mouseDownContains||s.contains(i.target)}function Sw(t,i,s){return s.closeAllPopover||s.closePopover&&i||xO(t,s)&&!i}function xO(t,i){if(typeof t.autoHide=="function"){const s=t.autoHide(i);return t.lastAutoHide=s,s}return t.autoHide}function CO(t){for(let i=0;i<fl.length;i++)fl[i].$_computePosition(t)}let ef=0,tf=0,Dp=0,Fp=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{ef=Dp,tf=Fp,Dp=t.clientX,Fp=t.clientY},rh?{passive:!0}:void 0);function Lm(t,i,s,a,r,e,d,y){const w=((d-r)*(i-e)-(y-e)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i)),F=((s-t)*(i-e)-(a-i)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i));return w>=0&&w<=1&&F>=0&&F<=1}const TO={extends:f6()},rv=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s};function AO(t,i,s,a,r,e){return fn(),jn("div",{ref:"reference",class:ua(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Z0(t.$slots,"default",dD(vy(t.slotData)))],2)}const SO=rv(TO,[["render",AO]]);function kO(){var t=window.navigator.userAgent,i=t.indexOf("MSIE ");if(i>0)return parseInt(t.substring(i+5,t.indexOf(".",i)),10);var s=t.indexOf("Trident/");if(s>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let Gm;function O4(){O4.init||(O4.init=!0,Gm=kO()!==-1)}var nv={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){O4(),ql(()=>{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",Gm&&this.$el.appendChild(t),t.data="about:blank",Gm||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&&(!Gm&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const OO=BD();B2("data-v-b329ee4c");const RO={class:"resize-observer",tabindex:"-1"};U2();const PO=OO((t,i,s,a,r,e)=>(fn(),jc("div",RO)));nv.render=PO;nv.__scopeId="data-v-b329ee4c";nv.__file="src/components/ResizeObserver.vue";const d6=(t="theme")=>({computed:{themeClass(){return wO(this[t])}}}),IO=ls({name:"VPopperContent",components:{ResizeObserver:nv},mixins:[d6()],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}}}),NO=["id","aria-hidden","tabindex","data-popper-placement"],MO={ref:"inner",class:"v-popper__inner"},LO=Ht("div",{class:"v-popper__arrow-outer"},null,-1),BO=Ht("div",{class:"v-popper__arrow-inner"},null,-1),UO=[LO,BO];function $O(t,i,s,a,r,e){const d=ml("ResizeObserver");return fn(),jn("div",{id:t.popperId,ref:"popover",class:ua(["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:pl(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:i[2]||(i[2]=BF(y=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ht("div",{class:"v-popper__backdrop",onClick:i[0]||(i[0]=y=>t.autoHide&&t.$emit("hide"))}),Ht("div",{class:"v-popper__wrapper",style:pl(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ht("div",MO,[t.mounted?(fn(),jn(Oi,{key:0},[Ht("div",null,[Z0(t.$slots,"default")]),t.handleResize?(fn(),jc(d,{key:0,onNotify:i[1]||(i[1]=y=>t.$emit("resize",y))})):ro("",!0)],64)):ro("",!0)],512),Ht("div",{ref:"arrow",class:"v-popper__arrow-container",style:pl(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},UO,4)],4)],46,NO)}const p6=rv(IO,[["render",$O]]),g6={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)}}},HO=ls({name:"VPopperWrapper",components:{Popper:SO,PopperContent:p6},mixins:[g6,d6("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 WO(t,i,s,a,r,e){const d=ml("PopperContent"),y=ml("Popper");return fn(),jc(y,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:ua([t.themeClass])},{default:bs(({popperId:w,isShown:F,shouldMountContent:C,skipTransition:A,autoHide:R,show:L,hide:B,handleResize:I,onResize:z,classes:H,result:K})=>[Z0(t.$slots,"default",{shown:F,show:L,hide:B}),Yr(d,{ref:"popperContent","popper-id":w,theme:t.finalTheme,shown:F,mounted:C,"skip-transition":A,"auto-hide":R,"handle-resize":I,classes:H,result:K,onHide:B,onResize:z},{default:bs(()=>[Z0(t.$slots,"popper",{shown:F,hide:B})]),_: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 Jy=rv(HO,[["render",WO]]),zO={...Jy,name:"VDropdown",vPopperTheme:"dropdown"},GO={...Jy,name:"VMenu",vPopperTheme:"menu"},jO={...Jy,name:"VTooltip",vPopperTheme:"tooltip"},VO=ls({name:"VTooltipDirective",components:{Popper:f6(),PopperContent:p6},mixins:[g6],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 i=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(i,a)):this.onResult(i,s)}},onResult(t,i){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=i)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),YO=["innerHTML"],qO=["textContent"];function KO(t,i,s,a,r,e){const d=ml("PopperContent"),y=ml("Popper");return fn(),jc(y,G2({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:bs(({popperId:w,isShown:F,shouldMountContent:C,skipTransition:A,autoHide:R,hide:L,handleResize:B,onResize:I,classes:z,result:H})=>[Yr(d,{ref:"popperContent",class:ua({"v-popper--tooltip-loading":t.loading}),"popper-id":w,theme:t.theme,shown:F,mounted:C,"skip-transition":A,"auto-hide":R,"handle-resize":B,classes:z,result:H,onHide:L,onResize:I},{default:bs(()=>[t.html?(fn(),jn("div",{key:0,innerHTML:t.finalContent},null,8,YO)):(fn(),jn("div",{key:1,textContent:Ji(t.finalContent)},null,8,qO))]),_: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 QO=rv(VO,[["render",KO]]),m6="v-popper--has-tooltip";function XO(t,i){let s=t.placement;if(!s&&i)for(const a of u6)i[a]&&(s=a);return s||(s=Wp(t.theme||"tooltip","placement")),s}function v6(t,i,s){let a;const r=typeof i;return r==="string"?a={content:i}:i&&r==="object"?a=i:a={content:!1},a.placement=XO(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let Bb,zp,JO=0;function ZO(){if(Bb)return;zp=ur([]),Bb=Ey({name:"VTooltipDirectiveApp",setup(){return{directives:zp}},render(){return this.directives.map(i=>ah(QO,{...i.options,shown:i.shown||i.options.shown,key:i.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Bb.mount(t)}function eR(t,i,s){ZO();const a=ur(v6(t,i,s)),r=ur(!1),e={id:JO++,options:a,shown:r};return zp.value.push(e),t.classList&&t.classList.add(m6),t.$_popper={options:a,item:e,show(){r.value=!0},hide(){r.value=!1}}}function b6(t){if(t.$_popper){const i=zp.value.indexOf(t.$_popper.item);i!==-1&&zp.value.splice(i,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(m6)}function kw(t,{value:i,modifiers:s}){const a=v6(t,i,s);if(!a.content||Wp(a.theme||"tooltip","disabled"))b6(t);else{let r;t.$_popper?(r=t.$_popper,r.options.value=a):r=eR(t,i,s),typeof i.shown<"u"&&i.shown!==t.$_popperOldShown&&(t.$_popperOldShown=i.shown,i.shown?r.show():r.hide())}}const tR={beforeMount:kw,updated:kw,beforeUnmount(t){b6(t)}};function Ow(t){t.addEventListener("click",y6),t.addEventListener("touchstart",_6,rh?{passive:!0}:!1)}function Rw(t){t.removeEventListener("click",y6),t.removeEventListener("touchstart",_6),t.removeEventListener("touchend",w6),t.removeEventListener("touchcancel",D6)}function y6(t){const i=t.currentTarget;t.closePopover=!i.$_vclosepopover_touch,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}function _6(t){if(t.changedTouches.length===1){const i=t.currentTarget;i.$_vclosepopover_touch=!0;const s=t.changedTouches[0];i.$_vclosepopover_touchPoint=s,i.addEventListener("touchend",w6),i.addEventListener("touchcancel",D6)}}function w6(t){const i=t.currentTarget;if(i.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=i.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}}function D6(t){const i=t.currentTarget;i.$_vclosepopover_touch=!1}const rR={beforeMount(t,{value:i,modifiers:s}){t.$_closePopoverModifiers=s,(typeof i>"u"||i)&&Ow(t)},updated(t,{value:i,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,i!==s&&(typeof i>"u"||i?Ow(t):Rw(t))},beforeUnmount(t){Rw(t)}};function nR(t,i={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,l6(Hc,i),t.directive("tooltip",tR),t.directive("close-popper",rR),t.component("VTooltip",jO),t.component("VDropdown",zO),t.component("VMenu",GO))}const iR={version:"2.0.0-beta.24",install:nR,options:Hc};class iv{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){const s={listener:i};return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const sv=typeof window>"u"||"Deno"in window;function ll(){}function sR(t,i){return typeof t=="function"?t(i):t}function aR(t){return typeof t=="number"&&t>=0&&t!==1/0}function oR(t,i){return Math.max(t+(i||0)-Date.now(),0)}function Bm(t,i,s){return av(t)?typeof i=="function"?{...s,queryKey:t,queryFn:i}:{...i,queryKey:t}:t}function cf(t,i,s){return av(t)?[{...i,queryKey:t},s]:[t||{},i]}function Pw(t,i){const{type:s="all",exact:a,fetchStatus:r,predicate:e,queryKey:d,stale:y}=t;if(av(d)){if(a){if(i.queryHash!==Zy(d,i.options))return!1}else if(!_2(i.queryKey,d))return!1}if(s!=="all"){const w=i.isActive();if(s==="active"&&!w||s==="inactive"&&w)return!1}return!(typeof y=="boolean"&&i.isStale()!==y||typeof r<"u"&&r!==i.state.fetchStatus||e&&!e(i))}function Iw(t,i){const{exact:s,fetching:a,predicate:r,mutationKey:e}=t;if(av(e)){if(!i.options.mutationKey)return!1;if(s){if(j0(i.options.mutationKey)!==j0(e))return!1}else if(!_2(i.options.mutationKey,e))return!1}return!(typeof a=="boolean"&&i.state.status==="loading"!==a||r&&!r(i))}function Zy(t,i){return((i==null?void 0:i.queryKeyHashFn)||j0)(t)}function j0(t){return JSON.stringify(t,(i,s)=>R4(s)?Object.keys(s).sort().reduce((a,r)=>(a[r]=s[r],a),{}):s)}function _2(t,i){return F6(t,i)}function F6(t,i){return t===i?!0:typeof t!=typeof i?!1:t&&i&&typeof t=="object"&&typeof i=="object"?!Object.keys(i).some(s=>!F6(t[s],i[s])):!1}function E6(t,i){if(t===i)return t;const s=Nw(t)&&Nw(i);if(s||R4(t)&&R4(i)){const a=s?t.length:Object.keys(t).length,r=s?i:Object.keys(i),e=r.length,d=s?[]:{};let y=0;for(let w=0;w<e;w++){const F=s?w:r[w];d[F]=E6(t[F],i[F]),d[F]===t[F]&&y++}return a===e&&y===a?t:d}return i}function eN(t,i){if(t&&!i||i&&!t)return!1;for(const s in t)if(t[s]!==i[s])return!1;return!0}function Nw(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function R4(t){if(!Mw(t))return!1;const i=t.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!Mw(s)||!s.hasOwnProperty("isPrototypeOf"))}function Mw(t){return Object.prototype.toString.call(t)==="[object Object]"}function av(t){return Array.isArray(t)}function x6(t){return new Promise(i=>{setTimeout(i,t)})}function Lw(t){x6(0).then(t)}function lR(){if(typeof AbortController=="function")return new AbortController}function cR(t,i,s){return s.isDataEqual!=null&&s.isDataEqual(t,i)?t:typeof s.structuralSharing=="function"?s.structuralSharing(t,i):s.structuralSharing!==!1?E6(t,i):i}class uR extends iv{constructor(){super(),this.setup=i=>{if(!sv&&window.addEventListener){const s=()=>i();return window.addEventListener("visibilitychange",s,!1),window.addEventListener("focus",s,!1),()=>{window.removeEventListener("visibilitychange",s),window.removeEventListener("focus",s)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(i){this.focused!==i&&(this.focused=i,this.onFocus())}onFocus(){this.listeners.forEach(({listener:i})=>{i()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const P4=new uR,Bw=["online","offline"];class fR extends iv{constructor(){super(),this.setup=i=>{if(!sv&&window.addEventListener){const s=()=>i();return Bw.forEach(a=>{window.addEventListener(a,s,!1)}),()=>{Bw.forEach(a=>{window.removeEventListener(a,s)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setOnline(a):this.onOnline()})}setOnline(i){this.online!==i&&(this.online=i,this.onOnline())}onOnline(){this.listeners.forEach(({listener:i})=>{i()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const w2=new fR;function hR(t){return Math.min(1e3*2**t,3e4)}function e_(t){return(t??"online")==="online"?w2.isOnline():!0}class C6{constructor(i){this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}}function Ub(t){return t instanceof C6}function T6(t){let i=!1,s=0,a=!1,r,e,d;const y=new Promise((z,H)=>{e=z,d=H}),w=z=>{a||(L(new C6(z)),t.abort==null||t.abort())},F=()=>{i=!0},C=()=>{i=!1},A=()=>!P4.isFocused()||t.networkMode!=="always"&&!w2.isOnline(),R=z=>{a||(a=!0,t.onSuccess==null||t.onSuccess(z),r==null||r(),e(z))},L=z=>{a||(a=!0,t.onError==null||t.onError(z),r==null||r(),d(z))},B=()=>new Promise(z=>{r=H=>{const K=a||!A();return K&&z(H),K},t.onPause==null||t.onPause()}).then(()=>{r=void 0,a||t.onContinue==null||t.onContinue()}),I=()=>{if(a)return;let z;try{z=t.fn()}catch(H){z=Promise.reject(H)}Promise.resolve(z).then(R).catch(H=>{var K,oe;if(a)return;const j=(K=t.retry)!=null?K:3,G=(oe=t.retryDelay)!=null?oe:hR,Z=typeof G=="function"?G(s,H):G,ie=j===!0||typeof j=="number"&&s<j||typeof j=="function"&&j(s,H);if(i||!ie){L(H);return}s++,t.onFail==null||t.onFail(s,H),x6(Z).then(()=>{if(A())return B()}).then(()=>{i?L(H):I()})})};return e_(t.networkMode)?I():B().then(I),{promise:y,cancel:w,continue:()=>(r==null?void 0:r())?y:Promise.resolve(),cancelRetry:F,continueRetry:C}}const t_=console;function dR(){let t=[],i=0,s=C=>{C()},a=C=>{C()};const r=C=>{let A;i++;try{A=C()}finally{i--,i||y()}return A},e=C=>{i?t.push(C):Lw(()=>{s(C)})},d=C=>(...A)=>{e(()=>{C(...A)})},y=()=>{const C=t;t=[],C.length&&Lw(()=>{a(()=>{C.forEach(A=>{s(A)})})})};return{batch:r,batchCalls:d,schedule:e,setNotifyFunction:C=>{s=C},setBatchNotifyFunction:C=>{a=C}}}const la=dR();class A6{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),aR(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(i){this.cacheTime=Math.max(this.cacheTime||0,i??(sv?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class pR extends A6{constructor(i){super(),this.abortSignalConsumed=!1,this.defaultOptions=i.defaultOptions,this.setOptions(i.options),this.observers=[],this.cache=i.cache,this.logger=i.logger||t_,this.queryKey=i.queryKey,this.queryHash=i.queryHash,this.initialState=i.state||gR(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(i,s){const a=cR(this.state.data,i,this.options);return this.dispatch({data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(i,s){this.dispatch({type:"setState",state:i,setStateOptions:s})}cancel(i){var s;const a=this.promise;return(s=this.retryer)==null||s.cancel(i),a?a.then(ll).catch(ll):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(i=>i.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(i=>i.getCurrentResult().isStale)}isStaleByTime(i=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!oR(this.state.dataUpdatedAt,i)}onFocus(){var i;const s=this.observers.find(a=>a.shouldFetchOnWindowFocus());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}onOnline(){var i;const s=this.observers.find(a=>a.shouldFetchOnReconnect());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(s=>s!==i),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(i,s){var a,r;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&s!=null&&s.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(i&&this.setOptions(i),!this.options.queryFn){const L=this.observers.find(B=>B.options.queryFn);L&&this.setOptions(L.options)}Array.isArray(this.options.queryKey);const d=lR(),y={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},w=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>{if(d)return this.abortSignalConsumed=!0,d.signal}})};w(y);const F=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(y)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),C={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:F};if(w(C),(a=this.options.behavior)==null||a.onFetch(C),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((r=C.fetchOptions)==null?void 0:r.meta)){var A;this.dispatch({type:"fetch",meta:(A=C.fetchOptions)==null?void 0:A.meta})}const R=L=>{if(Ub(L)&&L.silent||this.dispatch({type:"error",error:L}),!Ub(L)){var B,I,z,H;(B=(I=this.cache.config).onError)==null||B.call(I,L,this),(z=(H=this.cache.config).onSettled)==null||z.call(H,this.state.data,L,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=T6({fn:C.fetchFn,abort:d==null?void 0:d.abort.bind(d),onSuccess:L=>{var B,I,z,H;if(typeof L>"u"){R(new Error(this.queryHash+" data is undefined"));return}this.setData(L),(B=(I=this.cache.config).onSuccess)==null||B.call(I,L,this),(z=(H=this.cache.config).onSettled)==null||z.call(H,L,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:R,onFail:(L,B)=>{this.dispatch({type:"failed",failureCount:L,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:C.options.retry,retryDelay:C.options.retryDelay,networkMode:C.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(i){const s=a=>{var r,e;switch(i.type){case"failed":return{...a,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(r=i.meta)!=null?r:null,fetchStatus:e_(this.options.networkMode)?"fetching":"paused",...!a.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...a,data:i.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(e=i.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const d=i.error;return Ub(d)&&d.revert&&this.revertState?{...this.revertState}:{...a,error:d,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:d,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...i.state}}};this.state=s(this.state),la.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate(i)}),this.cache.notify({query:this,type:"updated",action:i})})}}function gR(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,s=typeof i<"u",a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"loading",fetchStatus:"idle"}}let S6=class extends iv{constructor(i){super(),this.config=i||{},this.queries=[],this.queriesMap={}}build(i,s,a){var r;const e=s.queryKey,d=(r=s.queryHash)!=null?r:Zy(e,s);let y=this.get(d);return y||(y=new pR({cache:this,logger:i.getLogger(),queryKey:e,queryHash:d,options:i.defaultQueryOptions(s),state:a,defaultOptions:i.getQueryDefaults(e)}),this.add(y)),y}add(i){this.queriesMap[i.queryHash]||(this.queriesMap[i.queryHash]=i,this.queries.push(i),this.notify({type:"added",query:i}))}remove(i){const s=this.queriesMap[i.queryHash];s&&(i.destroy(),this.queries=this.queries.filter(a=>a!==i),s===i&&delete this.queriesMap[i.queryHash],this.notify({type:"removed",query:i}))}clear(){la.batch(()=>{this.queries.forEach(i=>{this.remove(i)})})}get(i){return this.queriesMap[i]}getAll(){return this.queries}find(i,s){const[a]=cf(i,s);return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(r=>Pw(a,r))}findAll(i,s){const[a]=cf(i,s);return Object.keys(a).length>0?this.queries.filter(r=>Pw(a,r)):this.queries}notify(i){la.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}onFocus(){la.batch(()=>{this.queries.forEach(i=>{i.onFocus()})})}onOnline(){la.batch(()=>{this.queries.forEach(i=>{i.onOnline()})})}};class mR extends A6{constructor(i){super(),this.defaultOptions=i.defaultOptions,this.mutationId=i.mutationId,this.mutationCache=i.mutationCache,this.logger=i.logger||t_,this.observers=[],this.state=i.state||vR(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(i){this.dispatch({type:"setState",state:i})}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){this.observers=this.observers.filter(s=>s!==i),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var i,s;return(i=(s=this.retryer)==null?void 0:s.continue())!=null?i:this.execute()}async execute(){const i=()=>{var ie;return this.retryer=T6({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(re,ae)=>{this.dispatch({type:"failed",failureCount:re,error:ae})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(ie=this.options.retry)!=null?ie:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},s=this.state.status==="loading";try{var a,r,e,d,y,w,F,C;if(!s){var A,R,L,B;this.dispatch({type:"loading",variables:this.options.variables}),await((A=(R=this.mutationCache.config).onMutate)==null?void 0:A.call(R,this.state.variables,this));const re=await((L=(B=this.options).onMutate)==null?void 0:L.call(B,this.state.variables));re!==this.state.context&&this.dispatch({type:"loading",context:re,variables:this.state.variables})}const ie=await i();return await((a=(r=this.mutationCache.config).onSuccess)==null?void 0:a.call(r,ie,this.state.variables,this.state.context,this)),await((e=(d=this.options).onSuccess)==null?void 0:e.call(d,ie,this.state.variables,this.state.context)),await((y=(w=this.mutationCache.config).onSettled)==null?void 0:y.call(w,ie,null,this.state.variables,this.state.context,this)),await((F=(C=this.options).onSettled)==null?void 0:F.call(C,ie,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:ie}),ie}catch(ie){try{var I,z,H,K,oe,j,G,Z;throw await((I=(z=this.mutationCache.config).onError)==null?void 0:I.call(z,ie,this.state.variables,this.state.context,this)),await((H=(K=this.options).onError)==null?void 0:H.call(K,ie,this.state.variables,this.state.context)),await((oe=(j=this.mutationCache.config).onSettled)==null?void 0:oe.call(j,void 0,ie,this.state.variables,this.state.context,this)),await((G=(Z=this.options).onSettled)==null?void 0:G.call(Z,void 0,ie,this.state.variables,this.state.context)),ie}finally{this.dispatch({type:"error",error:ie})}}}dispatch(i){const s=a=>{switch(i.type){case"failed":return{...a,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"loading":return{...a,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!e_(this.options.networkMode),status:"loading",variables:i.variables};case"success":return{...a,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:i.error,failureCount:a.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"};case"setState":return{...a,...i.state}}};this.state=s(this.state),la.batch(()=>{this.observers.forEach(a=>{a.onMutationUpdate(i)}),this.mutationCache.notify({mutation:this,type:"updated",action:i})})}}function vR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let k6=class extends iv{constructor(i){super(),this.config=i||{},this.mutations=[],this.mutationId=0}build(i,s,a){const r=new mR({mutationCache:this,logger:i.getLogger(),mutationId:++this.mutationId,options:i.defaultMutationOptions(s),state:a,defaultOptions:s.mutationKey?i.getMutationDefaults(s.mutationKey):void 0});return this.add(r),r}add(i){this.mutations.push(i),this.notify({type:"added",mutation:i})}remove(i){this.mutations=this.mutations.filter(s=>s!==i),this.notify({type:"removed",mutation:i})}clear(){la.batch(()=>{this.mutations.forEach(i=>{this.remove(i)})})}getAll(){return this.mutations}find(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(s=>Iw(i,s))}findAll(i){return this.mutations.filter(s=>Iw(i,s))}notify(i){la.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}resumePausedMutations(){var i;return this.resuming=((i=this.resuming)!=null?i:Promise.resolve()).then(()=>{const s=this.mutations.filter(a=>a.state.isPaused);return la.batch(()=>s.reduce((a,r)=>a.then(()=>r.continue().catch(ll)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function bR(){return{onFetch:t=>{t.fetchFn=()=>{var i,s,a,r,e,d;const y=(i=t.fetchOptions)==null||(s=i.meta)==null?void 0:s.refetchPage,w=(a=t.fetchOptions)==null||(r=a.meta)==null?void 0:r.fetchMore,F=w==null?void 0:w.pageParam,C=(w==null?void 0:w.direction)==="forward",A=(w==null?void 0:w.direction)==="backward",R=((e=t.state.data)==null?void 0:e.pages)||[],L=((d=t.state.data)==null?void 0:d.pageParams)||[];let B=L,I=!1;const z=Z=>{Object.defineProperty(Z,"signal",{enumerable:!0,get:()=>{var ie;if((ie=t.signal)!=null&&ie.aborted)I=!0;else{var re;(re=t.signal)==null||re.addEventListener("abort",()=>{I=!0})}return t.signal}})},H=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),K=(Z,ie,re,ae)=>(B=ae?[ie,...B]:[...B,ie],ae?[re,...Z]:[...Z,re]),oe=(Z,ie,re,ae)=>{if(I)return Promise.reject("Cancelled");if(typeof re>"u"&&!ie&&Z.length)return Promise.resolve(Z);const ue={queryKey:t.queryKey,pageParam:re,meta:t.options.meta};z(ue);const we=H(ue);return Promise.resolve(we).then(Ae=>K(Z,re,Ae,ae))};let j;if(!R.length)j=oe([]);else if(C){const Z=typeof F<"u",ie=Z?F:Uw(t.options,R);j=oe(R,Z,ie)}else if(A){const Z=typeof F<"u",ie=Z?F:yR(t.options,R);j=oe(R,Z,ie,!0)}else{B=[];const Z=typeof t.options.getNextPageParam>"u";j=(y&&R[0]?y(R[0],0,R):!0)?oe([],Z,L[0]):Promise.resolve(K([],L[0],R[0]));for(let re=1;re<R.length;re++)j=j.then(ae=>{if(y&&R[re]?y(R[re],re,R):!0){const we=Z?L[re]:Uw(t.options,ae);return oe(ae,Z,we)}return Promise.resolve(K(ae,L[re],R[re]))})}return j.then(Z=>({pages:Z,pageParams:B}))}}}}function Uw(t,i){return t.getNextPageParam==null?void 0:t.getNextPageParam(i[i.length-1],i)}function yR(t,i){return t.getPreviousPageParam==null?void 0:t.getPreviousPageParam(i[0],i)}let _R=class{constructor(i={}){this.queryCache=i.queryCache||new S6,this.mutationCache=i.mutationCache||new k6,this.logger=i.logger||t_,this.defaultOptions=i.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=P4.subscribe(()=>{P4.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=w2.subscribe(()=>{w2.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var i,s;this.mountCount--,this.mountCount===0&&((i=this.unsubscribeFocus)==null||i.call(this),this.unsubscribeFocus=void 0,(s=this.unsubscribeOnline)==null||s.call(this),this.unsubscribeOnline=void 0)}isFetching(i,s){const[a]=cf(i,s);return a.fetchStatus="fetching",this.queryCache.findAll(a).length}isMutating(i){return this.mutationCache.findAll({...i,fetching:!0}).length}getQueryData(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state.data}ensureQueryData(i,s,a){const r=Bm(i,s,a),e=this.getQueryData(r.queryKey);return e?Promise.resolve(e):this.fetchQuery(r)}getQueriesData(i){return this.getQueryCache().findAll(i).map(({queryKey:s,state:a})=>{const r=a.data;return[s,r]})}setQueryData(i,s,a){const r=this.queryCache.find(i),e=r==null?void 0:r.state.data,d=sR(s,e);if(typeof d>"u")return;const y=Bm(i),w=this.defaultQueryOptions(y);return this.queryCache.build(this,w).setData(d,{...a,manual:!0})}setQueriesData(i,s,a){return la.batch(()=>this.getQueryCache().findAll(i).map(({queryKey:r})=>[r,this.setQueryData(r,s,a)]))}getQueryState(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state}removeQueries(i,s){const[a]=cf(i,s),r=this.queryCache;la.batch(()=>{r.findAll(a).forEach(e=>{r.remove(e)})})}resetQueries(i,s,a){const[r,e]=cf(i,s,a),d=this.queryCache,y={type:"active",...r};return la.batch(()=>(d.findAll(r).forEach(w=>{w.reset()}),this.refetchQueries(y,e)))}cancelQueries(i,s,a){const[r,e={}]=cf(i,s,a);typeof e.revert>"u"&&(e.revert=!0);const d=la.batch(()=>this.queryCache.findAll(r).map(y=>y.cancel(e)));return Promise.all(d).then(ll).catch(ll)}invalidateQueries(i,s,a){const[r,e]=cf(i,s,a);return la.batch(()=>{var d,y;if(this.queryCache.findAll(r).forEach(F=>{F.invalidate()}),r.refetchType==="none")return Promise.resolve();const w={...r,type:(d=(y=r.refetchType)!=null?y:r.type)!=null?d:"active"};return this.refetchQueries(w,e)})}refetchQueries(i,s,a){const[r,e]=cf(i,s,a),d=la.batch(()=>this.queryCache.findAll(r).filter(w=>!w.isDisabled()).map(w=>{var F;return w.fetch(void 0,{...e,cancelRefetch:(F=e==null?void 0:e.cancelRefetch)!=null?F:!0,meta:{refetchPage:r.refetchPage}})}));let y=Promise.all(d).then(ll);return e!=null&&e.throwOnError||(y=y.catch(ll)),y}fetchQuery(i,s,a){const r=Bm(i,s,a),e=this.defaultQueryOptions(r);typeof e.retry>"u"&&(e.retry=!1);const d=this.queryCache.build(this,e);return d.isStaleByTime(e.staleTime)?d.fetch(e):Promise.resolve(d.state.data)}prefetchQuery(i,s,a){return this.fetchQuery(i,s,a).then(ll).catch(ll)}fetchInfiniteQuery(i,s,a){const r=Bm(i,s,a);return r.behavior=bR(),this.fetchQuery(r)}prefetchInfiniteQuery(i,s,a){return this.fetchInfiniteQuery(i,s,a).then(ll).catch(ll)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(i){this.defaultOptions=i}setQueryDefaults(i,s){const a=this.queryDefaults.find(r=>j0(i)===j0(r.queryKey));a?a.defaultOptions=s:this.queryDefaults.push({queryKey:i,defaultOptions:s})}getQueryDefaults(i){if(!i)return;const s=this.queryDefaults.find(a=>_2(i,a.queryKey));return s==null?void 0:s.defaultOptions}setMutationDefaults(i,s){const a=this.mutationDefaults.find(r=>j0(i)===j0(r.mutationKey));a?a.defaultOptions=s:this.mutationDefaults.push({mutationKey:i,defaultOptions:s})}getMutationDefaults(i){if(!i)return;const s=this.mutationDefaults.find(a=>_2(i,a.mutationKey));return s==null?void 0:s.defaultOptions}defaultQueryOptions(i){if(i!=null&&i._defaulted)return i;const s={...this.defaultOptions.queries,...this.getQueryDefaults(i==null?void 0:i.queryKey),...i,_defaulted:!0};return!s.queryHash&&s.queryKey&&(s.queryHash=Zy(s.queryKey,s)),typeof s.refetchOnReconnect>"u"&&(s.refetchOnReconnect=s.networkMode!=="always"),typeof s.useErrorBoundary>"u"&&(s.useErrorBoundary=!!s.suspense),s}defaultMutationOptions(i){return i!=null&&i._defaulted?i:{...this.defaultOptions.mutations,...this.getMutationDefaults(i==null?void 0:i.mutationKey),...i,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const wR="VUE_QUERY_CLIENT";function DR(t){const i=t?":"+t:"";return""+wR+i}function ol(t){return Array.isArray(t)}function iN(t,i){Object.keys(t).forEach(s=>{t[s]=i[s]})}function I4(t,i){if(i){const s=i(t);if(s!==void 0||Bn(t))return s}if(Array.isArray(t))return t.map(s=>I4(s,i));if(typeof t=="object"&&FR(t)){const s=Object.entries(t).map(([a,r])=>[a,I4(r,i)]);return Object.fromEntries(s)}return t}function xr(t){return I4(t,i=>{if(Bn(i))return xr(gr(i))})}function FR(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const i=Object.getPrototypeOf(t);return i===null||i===Object.prototype}function sN(t,i){return typeof t=="function"?t(...i):!!t}class ER extends S6{find(i,s){const a=xr(i),r=xr(s);return super.find(a,r)}findAll(i,s){const a=xr(i),r=xr(s);return ol(a)?super.findAll(a,r):super.findAll(a)}}class xR extends k6{find(i){return super.find(xr(i))}findAll(i){return super.findAll(xr(i))}}class $w extends _R{constructor(i={}){const s=xr(i),a={logger:xr(s.logger),defaultOptions:xr(s.defaultOptions),queryCache:s.queryCache||new ER,mutationCache:s.mutationCache||new xR};super(a),this.isRestoring=ur(!1)}isFetching(i,s){const a=xr(i),r=xr(s);return ol(a)?super.isFetching(a,r):super.isFetching(a)}isMutating(i){return super.isMutating(xr(i))}getQueryData(i,s){return super.getQueryData(xr(i),xr(s))}getQueriesData(i){const s=xr(i);return ol(s)?super.getQueriesData(s):super.getQueriesData(s)}setQueryData(i,s,a){return super.setQueryData(xr(i),s,xr(a))}setQueriesData(i,s,a){const r=xr(i),e=xr(a);return ol(r)?super.setQueriesData(r,s,e):super.setQueriesData(r,s,e)}getQueryState(i,s){return super.getQueryState(xr(i),xr(s))}removeQueries(i,s){const a=xr(i);return ol(a)?super.removeQueries(a,xr(s)):super.removeQueries(a)}resetQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.resetQueries(r,e,xr(a)):super.resetQueries(r,e)}cancelQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.cancelQueries(r,e,xr(a)):super.cancelQueries(r,e)}invalidateQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.invalidateQueries(r,e,xr(a)):super.invalidateQueries(r,e)}refetchQueries(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.refetchQueries(r,e,xr(a)):super.refetchQueries(r,e)}fetchQuery(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.fetchQuery(r,e,xr(a)):super.fetchQuery(r)}prefetchQuery(i,s,a){return super.prefetchQuery(xr(i),xr(s),xr(a))}fetchInfiniteQuery(i,s,a){const r=xr(i),e=xr(s);return ol(r)?super.fetchInfiniteQuery(r,e,xr(a)):super.fetchInfiniteQuery(r)}prefetchInfiniteQuery(i,s,a){return super.prefetchInfiniteQuery(xr(i),xr(s),xr(a))}setDefaultOptions(i){super.setDefaultOptions(xr(i))}setQueryDefaults(i,s){super.setQueryDefaults(xr(i),xr(s))}getQueryDefaults(i){return super.getQueryDefaults(xr(i))}setMutationDefaults(i,s){super.setMutationDefaults(xr(i),xr(s))}getMutationDefaults(i){return super.getMutationDefaults(xr(i))}}const CR={install:(t,i={})=>{const s=DR(i.queryClientKey);let a;if("queryClient"in i&&i.queryClient)a=i.queryClient;else if(i.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)a=window.__VUE_QUERY_CONTEXT__;else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new $w(d),window.__VUE_QUERY_CONTEXT__=a}else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new $w(d)}sv||a.mount();let r=()=>{};if(i.clientPersister){a.isRestoring.value=!0;const[d,y]=i.clientPersister(a);r=d,y.then(()=>{a.isRestoring.value=!1})}const e=()=>{a.unmount(),r()};if(t.onUnmount)t.onUnmount(e);else{const d=t.unmount;t.unmount=function(){e(),d()}}t.provide(s,a)}};let TR;function AR(){return TR}function SR(t){return typeof t=="function"?t():gr(t)}function N4(t,i=""){if(t instanceof Promise)return t;const s=SR(t);return!t||!s?s:Array.isArray(s)?s.map(a=>N4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,gr(r)]:[a,N4(r,a)])):s}const kR="usehead";function OR(){return Ds()&&fa(kR)||AR()}function RR(t,i={}){const s=OR();if(s)return s.ssr?s.push(t,i):PR(s,t,i)}function PR(t,i,s={}){const a=ur(!1),r=ur({});oy(()=>{r.value=a.value?{}:N4(i)});const e=t.push(r.value,s);return ri(r,y=>{e.patch(y)}),Ds()&&(Xp(()=>{e.dispose()}),fy(()=>{a.value=!0}),uy(()=>{a.value=!1})),e}const IR=ls({__name:"App",setup(t){return RR({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>QE.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>R9.value?"/favicon-dark.svg":"/favicon.svg"}]}),(i,s)=>{const a=ml("RouterView");return fn(),jc(a)}}});var NR=Object.defineProperty,Hw=Object.getOwnPropertySymbols,MR=Object.prototype.hasOwnProperty,LR=Object.prototype.propertyIsEnumerable,Ww=(t,i,s)=>i in t?NR(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,zw=(t,i)=>{for(var s in i||(i={}))MR.call(i,s)&&Ww(t,s,i[s]);if(Hw)for(var s of Hw(i))LR.call(i,s)&&Ww(t,s,i[s]);return t};const $b=new WeakMap;function O6(t,i,s={}){const{mode:a="replace",route:r=fS(),router:e=uS(),transform:d=C=>C}=s;$b.has(r)||$b.set(r,new Map);const y=$b.get(r);oh(()=>{y.delete(t)}),y.set(t,r.query[t]);let w;const F=ry((C,A)=>(w=A,{get(){C();const R=y.get(t);return d(R!==void 0?R:Ri(i))},set(R){y.get(t)!==R&&(y.set(t,R),A(),ql(()=>{const{params:L,query:B,hash:I}=r;e[Ri(a)]({params:L,query:zw(zw({},B),Object.fromEntries(y.entries())),hash:I})}))}}));return ri(()=>r.query[t],C=>{y.set(t,C),w()},{flush:"sync"}),F}var R6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s=1e3,a=6e4,r=36e5,e="millisecond",d="second",y="minute",w="hour",F="day",C="week",A="month",R="quarter",L="year",B="date",I="Invalid Date",z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,K={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(Ae){var Ee=["th","st","nd","rd"],We=Ae%100;return"["+Ae+(Ee[(We-20)%10]||Ee[We]||Ee[0])+"]"}},oe=function(Ae,Ee,We){var Xe=String(Ae);return!Xe||Xe.length>=Ee?Ae:""+Array(Ee+1-Xe.length).join(We)+Ae},j={s:oe,z:function(Ae){var Ee=-Ae.utcOffset(),We=Math.abs(Ee),Xe=Math.floor(We/60),Me=We%60;return(Ee<=0?"+":"-")+oe(Xe,2,"0")+":"+oe(Me,2,"0")},m:function Ae(Ee,We){if(Ee.date()<We.date())return-Ae(We,Ee);var Xe=12*(We.year()-Ee.year())+(We.month()-Ee.month()),Me=Ee.clone().add(Xe,A),pt=We-Me<0,mt=Ee.clone().add(Xe+(pt?-1:1),A);return+(-(Xe+(We-Me)/(pt?Me-mt:mt-Me))||0)},a:function(Ae){return Ae<0?Math.ceil(Ae)||0:Math.floor(Ae)},p:function(Ae){return{M:A,y:L,w:C,d:F,D:B,h:w,m:y,s:d,ms:e,Q:R}[Ae]||String(Ae||"").toLowerCase().replace(/s$/,"")},u:function(Ae){return Ae===void 0}},G="en",Z={};Z[G]=K;var ie=function(Ae){return Ae instanceof we},re=function Ae(Ee,We,Xe){var Me;if(!Ee)return G;if(typeof Ee=="string"){var pt=Ee.toLowerCase();Z[pt]&&(Me=pt),We&&(Z[pt]=We,Me=pt);var mt=Ee.split("-");if(!Me&&mt.length>1)return Ae(mt[0])}else{var Je=Ee.name;Z[Je]=Ee,Me=Je}return!Xe&&Me&&(G=Me),Me||!Xe&&G},ae=function(Ae,Ee){if(ie(Ae))return Ae.clone();var We=typeof Ee=="object"?Ee:{};return We.date=Ae,We.args=arguments,new we(We)},ue=j;ue.l=re,ue.i=ie,ue.w=function(Ae,Ee){return ae(Ae,{locale:Ee.$L,utc:Ee.$u,x:Ee.$x,$offset:Ee.$offset})};var we=function(){function Ae(We){this.$L=re(We.locale,null,!0),this.parse(We)}var Ee=Ae.prototype;return Ee.parse=function(We){this.$d=function(Xe){var Me=Xe.date,pt=Xe.utc;if(Me===null)return new Date(NaN);if(ue.u(Me))return new Date;if(Me instanceof Date)return new Date(Me);if(typeof Me=="string"&&!/Z$/i.test(Me)){var mt=Me.match(z);if(mt){var Je=mt[2]-1||0,me=(mt[7]||"0").substring(0,3);return pt?new Date(Date.UTC(mt[1],Je,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,me)):new Date(mt[1],Je,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,me)}}return new Date(Me)}(We),this.$x=We.x||{},this.init()},Ee.init=function(){var We=this.$d;this.$y=We.getFullYear(),this.$M=We.getMonth(),this.$D=We.getDate(),this.$W=We.getDay(),this.$H=We.getHours(),this.$m=We.getMinutes(),this.$s=We.getSeconds(),this.$ms=We.getMilliseconds()},Ee.$utils=function(){return ue},Ee.isValid=function(){return this.$d.toString()!==I},Ee.isSame=function(We,Xe){var Me=ae(We);return this.startOf(Xe)<=Me&&Me<=this.endOf(Xe)},Ee.isAfter=function(We,Xe){return ae(We)<this.startOf(Xe)},Ee.isBefore=function(We,Xe){return this.endOf(Xe)<ae(We)},Ee.$g=function(We,Xe,Me){return ue.u(We)?this[Xe]:this.set(Me,We)},Ee.unix=function(){return Math.floor(this.valueOf()/1e3)},Ee.valueOf=function(){return this.$d.getTime()},Ee.startOf=function(We,Xe){var Me=this,pt=!!ue.u(Xe)||Xe,mt=ue.p(We),Je=function(Ve,Ce){var gt=ue.w(Me.$u?Date.UTC(Me.$y,Ce,Ve):new Date(Me.$y,Ce,Ve),Me);return pt?gt:gt.endOf(F)},me=function(Ve,Ce){return ue.w(Me.toDate()[Ve].apply(Me.toDate("s"),(pt?[0,0,0,0]:[23,59,59,999]).slice(Ce)),Me)},Ke=this.$W,lt=this.$M,je=this.$D,xe="set"+(this.$u?"UTC":"");switch(mt){case L:return pt?Je(1,0):Je(31,11);case A:return pt?Je(1,lt):Je(0,lt+1);case C:var ze=this.$locale().weekStart||0,se=(Ke<ze?Ke+7:Ke)-ze;return Je(pt?je-se:je+(6-se),lt);case F:case B:return me(xe+"Hours",0);case w:return me(xe+"Minutes",1);case y:return me(xe+"Seconds",2);case d:return me(xe+"Milliseconds",3);default:return this.clone()}},Ee.endOf=function(We){return this.startOf(We,!1)},Ee.$set=function(We,Xe){var Me,pt=ue.p(We),mt="set"+(this.$u?"UTC":""),Je=(Me={},Me[F]=mt+"Date",Me[B]=mt+"Date",Me[A]=mt+"Month",Me[L]=mt+"FullYear",Me[w]=mt+"Hours",Me[y]=mt+"Minutes",Me[d]=mt+"Seconds",Me[e]=mt+"Milliseconds",Me)[pt],me=pt===F?this.$D+(Xe-this.$W):Xe;if(pt===A||pt===L){var Ke=this.clone().set(B,1);Ke.$d[Je](me),Ke.init(),this.$d=Ke.set(B,Math.min(this.$D,Ke.daysInMonth())).$d}else Je&&this.$d[Je](me);return this.init(),this},Ee.set=function(We,Xe){return this.clone().$set(We,Xe)},Ee.get=function(We){return this[ue.p(We)]()},Ee.add=function(We,Xe){var Me,pt=this;We=Number(We);var mt=ue.p(Xe),Je=function(lt){var je=ae(pt);return ue.w(je.date(je.date()+Math.round(lt*We)),pt)};if(mt===A)return this.set(A,this.$M+We);if(mt===L)return this.set(L,this.$y+We);if(mt===F)return Je(1);if(mt===C)return Je(7);var me=(Me={},Me[y]=a,Me[w]=r,Me[d]=s,Me)[mt]||1,Ke=this.$d.getTime()+We*me;return ue.w(Ke,this)},Ee.subtract=function(We,Xe){return this.add(-1*We,Xe)},Ee.format=function(We){var Xe=this,Me=this.$locale();if(!this.isValid())return Me.invalidDate||I;var pt=We||"YYYY-MM-DDTHH:mm:ssZ",mt=ue.z(this),Je=this.$H,me=this.$m,Ke=this.$M,lt=Me.weekdays,je=Me.months,xe=function(Ce,gt,Zt,ne){return Ce&&(Ce[gt]||Ce(Xe,pt))||Zt[gt].slice(0,ne)},ze=function(Ce){return ue.s(Je%12||12,Ce,"0")},se=Me.meridiem||function(Ce,gt,Zt){var ne=Ce<12?"AM":"PM";return Zt?ne.toLowerCase():ne},Ve={YY:String(this.$y).slice(-2),YYYY:ue.s(this.$y,4,"0"),M:Ke+1,MM:ue.s(Ke+1,2,"0"),MMM:xe(Me.monthsShort,Ke,je,3),MMMM:xe(je,Ke),D:this.$D,DD:ue.s(this.$D,2,"0"),d:String(this.$W),dd:xe(Me.weekdaysMin,this.$W,lt,2),ddd:xe(Me.weekdaysShort,this.$W,lt,3),dddd:lt[this.$W],H:String(Je),HH:ue.s(Je,2,"0"),h:ze(1),hh:ze(2),a:se(Je,me,!0),A:se(Je,me,!1),m:String(me),mm:ue.s(me,2,"0"),s:String(this.$s),ss:ue.s(this.$s,2,"0"),SSS:ue.s(this.$ms,3,"0"),Z:mt};return pt.replace(H,function(Ce,gt){return gt||Ve[Ce]||mt.replace(":","")})},Ee.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ee.diff=function(We,Xe,Me){var pt,mt=ue.p(Xe),Je=ae(We),me=(Je.utcOffset()-this.utcOffset())*a,Ke=this-Je,lt=ue.m(this,Je);return lt=(pt={},pt[L]=lt/12,pt[A]=lt,pt[R]=lt/3,pt[C]=(Ke-me)/6048e5,pt[F]=(Ke-me)/864e5,pt[w]=Ke/r,pt[y]=Ke/a,pt[d]=Ke/s,pt)[mt]||Ke,Me?lt:ue.a(lt)},Ee.daysInMonth=function(){return this.endOf(A).$D},Ee.$locale=function(){return Z[this.$L]},Ee.locale=function(We,Xe){if(!We)return this.$L;var Me=this.clone(),pt=re(We,Xe,!0);return pt&&(Me.$L=pt),Me},Ee.clone=function(){return ue.w(this.$d,this)},Ee.toDate=function(){return new Date(this.valueOf())},Ee.toJSON=function(){return this.isValid()?this.toISOString():null},Ee.toISOString=function(){return this.$d.toISOString()},Ee.toString=function(){return this.$d.toUTCString()},Ae}(),Ie=we.prototype;return ae.prototype=Ie,[["$ms",e],["$s",d],["$m",y],["$H",w],["$W",F],["$M",A],["$y",L],["$D",B]].forEach(function(Ae){Ie[Ae[1]]=function(Ee){return this.$g(Ee,Ae[0],Ae[1])}}),ae.extend=function(Ae,Ee){return Ae.$i||(Ae(Ee,we,ae),Ae.$i=!0),ae},ae.locale=re,ae.isDayjs=ie,ae.unix=function(Ae){return ae(1e3*Ae)},ae.en=Z[G],ae.Ls=Z,ae.p={},ae})})(R6);var BR=R6.exports;const Hs=Ma(BR);var P6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s,a,r=1e3,e=6e4,d=36e5,y=864e5,w=/\[([^\]]+)]|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,F=31536e6,C=2592e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,R={years:F,months:C,days:y,hours:d,minutes:e,seconds:r,milliseconds:1,weeks:6048e5},L=function(G){return G instanceof j},B=function(G,Z,ie){return new j(G,ie,Z.$l)},I=function(G){return a.p(G)+"s"},z=function(G){return G<0},H=function(G){return z(G)?Math.ceil(G):Math.floor(G)},K=function(G){return Math.abs(G)},oe=function(G,Z){return G?z(G)?{negative:!0,format:""+K(G)+Z}:{negative:!1,format:""+G+Z}:{negative:!1,format:""}},j=function(){function G(ie,re,ae){var ue=this;if(this.$d={},this.$l=ae,ie===void 0&&(this.$ms=0,this.parseFromMilliseconds()),re)return B(ie*R[I(re)],this);if(typeof ie=="number")return this.$ms=ie,this.parseFromMilliseconds(),this;if(typeof ie=="object")return Object.keys(ie).forEach(function(Ae){ue.$d[I(Ae)]=ie[Ae]}),this.calMilliseconds(),this;if(typeof ie=="string"){var we=ie.match(A);if(we){var Ie=we.slice(2).map(function(Ae){return Ae!=null?Number(Ae):0});return this.$d.years=Ie[0],this.$d.months=Ie[1],this.$d.weeks=Ie[2],this.$d.days=Ie[3],this.$d.hours=Ie[4],this.$d.minutes=Ie[5],this.$d.seconds=Ie[6],this.calMilliseconds(),this}}return this}var Z=G.prototype;return Z.calMilliseconds=function(){var ie=this;this.$ms=Object.keys(this.$d).reduce(function(re,ae){return re+(ie.$d[ae]||0)*R[ae]},0)},Z.parseFromMilliseconds=function(){var ie=this.$ms;this.$d.years=H(ie/F),ie%=F,this.$d.months=H(ie/C),ie%=C,this.$d.days=H(ie/y),ie%=y,this.$d.hours=H(ie/d),ie%=d,this.$d.minutes=H(ie/e),ie%=e,this.$d.seconds=H(ie/r),ie%=r,this.$d.milliseconds=ie},Z.toISOString=function(){var ie=oe(this.$d.years,"Y"),re=oe(this.$d.months,"M"),ae=+this.$d.days||0;this.$d.weeks&&(ae+=7*this.$d.weeks);var ue=oe(ae,"D"),we=oe(this.$d.hours,"H"),Ie=oe(this.$d.minutes,"M"),Ae=this.$d.seconds||0;this.$d.milliseconds&&(Ae+=this.$d.milliseconds/1e3);var Ee=oe(Ae,"S"),We=ie.negative||re.negative||ue.negative||we.negative||Ie.negative||Ee.negative,Xe=we.format||Ie.format||Ee.format?"T":"",Me=(We?"-":"")+"P"+ie.format+re.format+ue.format+Xe+we.format+Ie.format+Ee.format;return Me==="P"||Me==="-P"?"P0D":Me},Z.toJSON=function(){return this.toISOString()},Z.format=function(ie){var re=ie||"YYYY-MM-DDTHH:mm:ss",ae={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return re.replace(w,function(ue,we){return we||String(ae[ue])})},Z.as=function(ie){return this.$ms/R[I(ie)]},Z.get=function(ie){var re=this.$ms,ae=I(ie);return ae==="milliseconds"?re%=1e3:re=ae==="weeks"?H(re/R[ae]):this.$d[ae],re===0?0:re},Z.add=function(ie,re,ae){var ue;return ue=re?ie*R[I(re)]:L(ie)?ie.$ms:B(ie,this).$ms,B(this.$ms+ue*(ae?-1:1),this)},Z.subtract=function(ie,re){return this.add(ie,re,!0)},Z.locale=function(ie){var re=this.clone();return re.$l=ie,re},Z.clone=function(){return B(this.$ms,this)},Z.humanize=function(ie){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!ie)},Z.valueOf=function(){return this.asMilliseconds()},Z.milliseconds=function(){return this.get("milliseconds")},Z.asMilliseconds=function(){return this.as("milliseconds")},Z.seconds=function(){return this.get("seconds")},Z.asSeconds=function(){return this.as("seconds")},Z.minutes=function(){return this.get("minutes")},Z.asMinutes=function(){return this.as("minutes")},Z.hours=function(){return this.get("hours")},Z.asHours=function(){return this.as("hours")},Z.days=function(){return this.get("days")},Z.asDays=function(){return this.as("days")},Z.weeks=function(){return this.get("weeks")},Z.asWeeks=function(){return this.as("weeks")},Z.months=function(){return this.get("months")},Z.asMonths=function(){return this.as("months")},Z.years=function(){return this.get("years")},Z.asYears=function(){return this.as("years")},G}();return function(G,Z,ie){s=ie,a=ie().$utils(),ie.duration=function(ue,we){var Ie=ie.locale();return B(ue,{$l:Ie},we)},ie.isDuration=L;var re=Z.prototype.add,ae=Z.prototype.subtract;Z.prototype.add=function(ue,we){return L(ue)&&(ue=ue.asMilliseconds()),re.bind(this)(ue,we)},Z.prototype.subtract=function(ue,we){return L(ue)&&(ue=ue.asMilliseconds()),ae.bind(this)(ue,we)}}})})(P6);var UR=P6.exports;const $R=Ma(UR);var I6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(e,d,y){var w=d.prototype;y.utc=function(I){var z={date:I,utc:!0,args:arguments};return new d(z)},w.utc=function(I){var z=y(this.toDate(),{locale:this.$L,utc:!0});return I?z.add(this.utcOffset(),s):z},w.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var F=w.parse;w.parse=function(I){I.utc&&(this.$u=!0),this.$utils().u(I.$offset)||(this.$offset=I.$offset),F.call(this,I)};var C=w.init;w.init=function(){if(this.$u){var I=this.$d;this.$y=I.getUTCFullYear(),this.$M=I.getUTCMonth(),this.$D=I.getUTCDate(),this.$W=I.getUTCDay(),this.$H=I.getUTCHours(),this.$m=I.getUTCMinutes(),this.$s=I.getUTCSeconds(),this.$ms=I.getUTCMilliseconds()}else C.call(this)};var A=w.utcOffset;w.utcOffset=function(I,z){var H=this.$utils().u;if(H(I))return this.$u?0:H(this.$offset)?A.call(this):this.$offset;if(typeof I=="string"&&(I=function(G){G===void 0&&(G="");var Z=G.match(a);if(!Z)return null;var ie=(""+Z[0]).match(r)||["-",0,0],re=ie[0],ae=60*+ie[1]+ +ie[2];return ae===0?0:re==="+"?ae:-ae}(I),I===null))return this;var K=Math.abs(I)<=16?60*I:I,oe=this;if(z)return oe.$offset=K,oe.$u=I===0,oe;if(I!==0){var j=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(oe=this.local().add(K+j,s)).$offset=K,oe.$x.$localOffset=j}else oe=this.utc();return oe};var R=w.format;w.format=function(I){var z=I||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return R.call(this,z)},w.valueOf=function(){var I=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*I},w.isUTC=function(){return!!this.$u},w.toISOString=function(){return this.toDate().toISOString()},w.toString=function(){return this.toDate().toUTCString()};var L=w.toDate;w.toDate=function(I){return I==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var B=w.diff;w.diff=function(I,z,H){if(I&&this.$u===I.$u)return B.call(this,I,z,H);var K=this.local(),oe=y(I).local();return B.call(K,oe,z,H)}}})})(I6);var HR=I6.exports;const WR=Ma(HR);var N6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,e,d){var y,w=function(R,L,B){B===void 0&&(B={});var I=new Date(R),z=function(H,K){K===void 0&&(K={});var oe=K.timeZoneName||"short",j=H+"|"+oe,G=a[j];return G||(G=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:H,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:oe}),a[j]=G),G}(L,B);return z.formatToParts(I)},F=function(R,L){for(var B=w(R,L),I=[],z=0;z<B.length;z+=1){var H=B[z],K=H.type,oe=H.value,j=s[K];j>=0&&(I[j]=parseInt(oe,10))}var G=I[3],Z=G===24?0:G,ie=I[0]+"-"+I[1]+"-"+I[2]+" "+Z+":"+I[4]+":"+I[5]+":000",re=+R;return(d.utc(ie).valueOf()-(re-=re%1e3))/6e4},C=e.prototype;C.tz=function(R,L){R===void 0&&(R=y);var B=this.utcOffset(),I=this.toDate(),z=I.toLocaleString("en-US",{timeZone:R}),H=Math.round((I-new Date(z))/1e3/60),K=d(z).$set("millisecond",this.$ms).utcOffset(15*-Math.round(I.getTimezoneOffset()/15)-H,!0);if(L){var oe=K.utcOffset();K=K.add(B-oe,"minute")}return K.$x.$timezone=R,K},C.offsetName=function(R){var L=this.$x.$timezone||d.tz.guess(),B=w(this.valueOf(),L,{timeZoneName:R}).find(function(I){return I.type.toLowerCase()==="timezonename"});return B&&B.value};var A=C.startOf;C.startOf=function(R,L){if(!this.$x||!this.$x.$timezone)return A.call(this,R,L);var B=d(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return A.call(B,R,L).tz(this.$x.$timezone,!0)},d.tz=function(R,L,B){var I=B&&L,z=B||L||y,H=F(+d(),z);if(typeof R!="string")return d(R).tz(z);var K=function(Z,ie,re){var ae=Z-60*ie*1e3,ue=F(ae,re);if(ie===ue)return[ae,ie];var we=F(ae-=60*(ue-ie)*1e3,re);return ue===we?[ae,ue]:[Z-60*Math.min(ue,we)*1e3,Math.max(ue,we)]}(d.utc(R,I).valueOf(),H,z),oe=K[0],j=K[1],G=d(oe).utcOffset(j);return G.$x.$timezone=z,G},d.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},d.tz.setDefault=function(R){y=R}}})})(N6);var zR=N6.exports;const GR=Ma(zR);var M6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a){var r=a.prototype,e=r.format;r.format=function(d){var y=this,w=this.$locale();if(!this.isValid())return e.bind(this)(d);var F=this.$utils(),C=(d||"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(A){switch(A){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return w.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return w.ordinal(y.week(),"W");case"w":case"ww":return F.s(y.week(),A==="w"?1:2,"0");case"W":case"WW":return F.s(y.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return F.s(String(y.$H===0?24:y.$H),A==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return A}});return e.bind(this)(C)}}})})(M6);var jR=M6.exports;const VR=Ma(jR);var L6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a){a.prototype.isSameOrBefore=function(r,e){return this.isSame(r,e)||this.isBefore(r,e)}}})})(L6);var YR=L6.exports;const qR=Ma(YR);var B6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a){a.prototype.isSameOrAfter=function(r,e){return this.isSame(r,e)||this.isAfter(r,e)}}})})(B6);var KR=B6.exports;const QR=Ma(KR);var U6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a,r){var e=function(d,y){if(!y||!y.length||!y[0]||y.length===1&&!y[0].length)return null;var w;y.length===1&&y[0].length>0&&(y=y[0]),w=y[0];for(var F=1;F<y.length;F+=1)y[F].isValid()&&!y[F][d](w)||(w=y[F]);return w};r.max=function(){var d=[].slice.call(arguments,0);return e("isAfter",d)},r.min=function(){var d=[].slice.call(arguments,0);return e("isBefore",d)}}})})(U6);var XR=U6.exports;const JR=Ma(XR);var $6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(_s,function(){return function(s,a,r){s=s||{};var e=a.prototype,d={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 y(F,C,A,R){return e.fromToBase(F,C,A,R)}r.en.relativeTime=d,e.fromToBase=function(F,C,A,R,L){for(var B,I,z,H=A.$locale().relativeTime||d,K=s.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"}],oe=K.length,j=0;j<oe;j+=1){var G=K[j];G.d&&(B=R?r(F).diff(A,G.d,!0):A.diff(F,G.d,!0));var Z=(s.rounding||Math.round)(Math.abs(B));if(z=B>0,Z<=G.r||!G.r){Z<=1&&j>0&&(G=K[j-1]);var ie=H[G.l];L&&(Z=L(""+Z)),I=typeof ie=="string"?ie.replace("%d",Z):ie(Z,C,G.l,z);break}}if(C)return I;var re=z?H.future:H.past;return typeof re=="function"?re(I):re.replace("%s",I)},e.to=function(F,C){return y(F,C,this,!0)},e.from=function(F,C){return y(F,C,this)};var w=function(F){return F.$u?r.utc():r()};e.toNow=function(F){return this.to(w(this),F)},e.fromNow=function(F){return this.from(w(this),F)}}})})($6);var ZR=$6.exports;const eP=Ma(ZR);var D2={exports:{}};/**
31
31
  * @license
32
32
  * Lodash <https://lodash.com/>
33
33
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -322,7 +322,7 @@ function print() { __p += __j.call(arguments, '') }
322
322
  * http://www.w3.org/TR/css3-color/#svg-color
323
323
  *
324
324
  * @preserve
325
- */(function(t,i){(function(s,a){t.exports=a()})(_s,function(){for(var s=function(S,N,V){return N===void 0&&(N=0),V===void 0&&(V=1),S<N?N:S>V?V:S},a=s,r=function(S){S._clipped=!1,S._unclipped=S.slice(0);for(var N=0;N<=3;N++)N<3?((S[N]<0||S[N]>255)&&(S._clipped=!0),S[N]=a(S[N],0,255)):N===3&&(S[N]=a(S[N],0,1));return S},e={},d=0,y=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];d<y.length;d+=1){var w=y[d];e["[object "+w+"]"]=w.toLowerCase()}var F=function(S){return e[Object.prototype.toString.call(S)]||"object"},C=F,A=function(S,N){return N===void 0&&(N=null),S.length>=3?Array.prototype.slice.call(S):C(S[0])=="object"&&N?N.split("").filter(function(V){return S[0][V]!==void 0}).map(function(V){return S[0][V]}):S[0]},R=F,L=function(S){if(S.length<2)return null;var N=S.length-1;return R(S[N])=="string"?S[N].toLowerCase():null},B=Math.PI,I={clip_rgb:r,limit:s,type:F,unpack:A,last:L,PI:B,TWOPI:B*2,PITHIRD:B/3,DEG2RAD:B/180,RAD2DEG:180/B},z={format:{},autodetect:[]},H=I.last,K=I.clip_rgb,oe=I.type,j=z,G=function(){for(var N=[],V=arguments.length;V--;)N[V]=arguments[V];var te=this;if(oe(N[0])==="object"&&N[0].constructor&&N[0].constructor===this.constructor)return N[0];var ve=H(N),De=!1;if(!ve){De=!0,j.sorted||(j.autodetect=j.autodetect.sort(function(ct,$t){return $t.p-ct.p}),j.sorted=!0);for(var de=0,Pe=j.autodetect;de<Pe.length;de+=1){var Ne=Pe[de];if(ve=Ne.test.apply(Ne,N),ve)break}}if(j.format[ve]){var at=j.format[ve].apply(null,De?N:N.slice(0,-1));te._rgb=K(at)}else throw new Error("unknown format: "+N);te._rgb.length===3&&te._rgb.push(1)};G.prototype.toString=function(){return oe(this.hex)=="function"?this.hex():"["+this._rgb.join(",")+"]"};var Z=G,ie=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ie.Color,[null].concat(S)))};ie.Color=Z,ie.version="2.4.2";var re=ie,ae=I.unpack,ue=Math.max,we=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=ae(S,"rgb"),te=V[0],ve=V[1],De=V[2];te=te/255,ve=ve/255,De=De/255;var de=1-ue(te,ue(ve,De)),Pe=de<1?1/(1-de):0,Ne=(1-te-de)*Pe,at=(1-ve-de)*Pe,ct=(1-De-de)*Pe;return[Ne,at,ct,de]},Ie=we,Ae=I.unpack,Ee=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Ae(S,"cmyk");var V=S[0],te=S[1],ve=S[2],De=S[3],de=S.length>4?S[4]:1;return De===1?[0,0,0,de]:[V>=1?0:255*(1-V)*(1-De),te>=1?0:255*(1-te)*(1-De),ve>=1?0:255*(1-ve)*(1-De),de]},We=Ee,Xe=re,Me=Z,pt=z,mt=I.unpack,Je=I.type,me=Ie;Me.prototype.cmyk=function(){return me(this._rgb)},Xe.cmyk=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Me,[null].concat(S,["cmyk"])))},pt.format.cmyk=We,pt.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=mt(S,"cmyk"),Je(S)==="array"&&S.length===4)return"cmyk"}});var Ke=I.unpack,lt=I.last,je=function(S){return Math.round(S*100)/100},xe=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Ke(S,"hsla"),te=lt(S)||"lsa";return V[0]=je(V[0]||0),V[1]=je(V[1]*100)+"%",V[2]=je(V[2]*100)+"%",te==="hsla"||V.length>3&&V[3]<1?(V[3]=V.length>3?V[3]:1,te="hsla"):V.length=3,te+"("+V.join(",")+")"},ze=xe,se=I.unpack,Ve=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=se(S,"rgba");var V=S[0],te=S[1],ve=S[2];V/=255,te/=255,ve/=255;var De=Math.min(V,te,ve),de=Math.max(V,te,ve),Pe=(de+De)/2,Ne,at;return de===De?(Ne=0,at=Number.NaN):Ne=Pe<.5?(de-De)/(de+De):(de-De)/(2-de-De),V==de?at=(te-ve)/(de-De):te==de?at=2+(ve-V)/(de-De):ve==de&&(at=4+(V-te)/(de-De)),at*=60,at<0&&(at+=360),S.length>3&&S[3]!==void 0?[at,Ne,Pe,S[3]]:[at,Ne,Pe]},Ce=Ve,gt=I.unpack,Zt=I.last,ne=ze,ce=Ce,he=Math.round,Ye=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=gt(S,"rgba"),te=Zt(S)||"rgb";return te.substr(0,3)=="hsl"?ne(ce(V),te):(V[0]=he(V[0]),V[1]=he(V[1]),V[2]=he(V[2]),(te==="rgba"||V.length>3&&V[3]<1)&&(V[3]=V.length>3?V[3]:1,te="rgba"),te+"("+V.slice(0,te==="rgb"?3:4).join(",")+")")},Qe=Ye,tt=I.unpack,Pt=Math.round,Et=function(){for(var S,N=[],V=arguments.length;V--;)N[V]=arguments[V];N=tt(N,"hsl");var te=N[0],ve=N[1],De=N[2],de,Pe,Ne;if(ve===0)de=Pe=Ne=De*255;else{var at=[0,0,0],ct=[0,0,0],$t=De<.5?De*(1+ve):De+ve-De*ve,bt=2*De-$t,Xt=te/360;at[0]=Xt+1/3,at[1]=Xt,at[2]=Xt-1/3;for(var Jt=0;Jt<3;Jt++)at[Jt]<0&&(at[Jt]+=1),at[Jt]>1&&(at[Jt]-=1),6*at[Jt]<1?ct[Jt]=bt+($t-bt)*6*at[Jt]:2*at[Jt]<1?ct[Jt]=$t:3*at[Jt]<2?ct[Jt]=bt+($t-bt)*(2/3-at[Jt])*6:ct[Jt]=bt;S=[Pt(ct[0]*255),Pt(ct[1]*255),Pt(ct[2]*255)],de=S[0],Pe=S[1],Ne=S[2]}return N.length>3?[de,Pe,Ne,N[3]]:[de,Pe,Ne,1]},_t=Et,Ze=_t,Se=z,Re=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,It=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Vt=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,hr=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Cr=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,_r=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Pn=Math.round,Kn=function(S){S=S.toLowerCase().trim();var N;if(Se.format.named)try{return Se.format.named(S)}catch{}if(N=S.match(Re)){for(var V=N.slice(1,4),te=0;te<3;te++)V[te]=+V[te];return V[3]=1,V}if(N=S.match(It)){for(var ve=N.slice(1,5),De=0;De<4;De++)ve[De]=+ve[De];return ve}if(N=S.match(Vt)){for(var de=N.slice(1,4),Pe=0;Pe<3;Pe++)de[Pe]=Pn(de[Pe]*2.55);return de[3]=1,de}if(N=S.match(hr)){for(var Ne=N.slice(1,5),at=0;at<3;at++)Ne[at]=Pn(Ne[at]*2.55);return Ne[3]=+Ne[3],Ne}if(N=S.match(Cr)){var ct=N.slice(1,4);ct[1]*=.01,ct[2]*=.01;var $t=Ze(ct);return $t[3]=1,$t}if(N=S.match(_r)){var bt=N.slice(1,4);bt[1]*=.01,bt[2]*=.01;var Xt=Ze(bt);return Xt[3]=+N[4],Xt}};Kn.test=function(S){return Re.test(S)||It.test(S)||Vt.test(S)||hr.test(S)||Cr.test(S)||_r.test(S)};var ha=Kn,Oo=re,zs=Z,Ro=z,xn=I.type,Qn=Qe,Gs=ha;zs.prototype.css=function(S){return Qn(this._rgb,S)},Oo.css=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(zs,[null].concat(S,["css"])))},Ro.format.css=Gs,Ro.autodetect.push({p:5,test:function(S){for(var N=[],V=arguments.length-1;V-- >0;)N[V]=arguments[V+1];if(!N.length&&xn(S)==="string"&&Gs.test(S))return"css"}});var Po=Z,ch=re,Vd=z,Cf=I.unpack;Vd.format.gl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Cf(S,"rgba");return V[0]*=255,V[1]*=255,V[2]*=255,V},ch.gl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Po,[null].concat(S,["gl"])))},Po.prototype.gl=function(){var S=this._rgb;return[S[0]/255,S[1]/255,S[2]/255,S[3]]};var La=I.unpack,Yd=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=La(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=Math.min(te,ve,De),Pe=Math.max(te,ve,De),Ne=Pe-de,at=Ne*100/255,ct=de/(255-Ne)*100,$t;return Ne===0?$t=Number.NaN:(te===Pe&&($t=(ve-De)/Ne),ve===Pe&&($t=2+(De-te)/Ne),De===Pe&&($t=4+(te-ve)/Ne),$t*=60,$t<0&&($t+=360)),[$t,at,ct]},dr=Yd,qd=I.unpack,Kl=Math.floor,Xn=function(){for(var S,N,V,te,ve,De,de=[],Pe=arguments.length;Pe--;)de[Pe]=arguments[Pe];de=qd(de,"hcg");var Ne=de[0],at=de[1],ct=de[2],$t,bt,Xt;ct=ct*255;var Jt=at*255;if(at===0)$t=bt=Xt=ct;else{Ne===360&&(Ne=0),Ne>360&&(Ne-=360),Ne<0&&(Ne+=360),Ne/=60;var Ir=Kl(Ne),Ar=Ne-Ir,$r=ct*(1-at),ln=$r+Jt*(1-Ar),Ei=$r+Jt*Ar,Vn=$r+Jt;switch(Ir){case 0:S=[Vn,Ei,$r],$t=S[0],bt=S[1],Xt=S[2];break;case 1:N=[ln,Vn,$r],$t=N[0],bt=N[1],Xt=N[2];break;case 2:V=[$r,Vn,Ei],$t=V[0],bt=V[1],Xt=V[2];break;case 3:te=[$r,ln,Vn],$t=te[0],bt=te[1],Xt=te[2];break;case 4:ve=[Ei,$r,Vn],$t=ve[0],bt=ve[1],Xt=ve[2];break;case 5:De=[Vn,$r,ln],$t=De[0],bt=De[1],Xt=De[2];break}}return[$t,bt,Xt,de.length>3?de[3]:1]},uh=Xn,Vc=I.unpack,Yc=I.type,yl=re,di=Z,Io=z,Kd=dr;di.prototype.hcg=function(){return Kd(this._rgb)},yl.hcg=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(di,[null].concat(S,["hcg"])))},Io.format.hcg=uh,Io.autodetect.push({p:1,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=Vc(S,"hcg"),Yc(S)==="array"&&S.length===3)return"hcg"}});var fh=I.unpack,qc=I.last,No=Math.round,hh=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=fh(S,"rgba"),te=V[0],ve=V[1],De=V[2],de=V[3],Pe=qc(S)||"auto";de===void 0&&(de=1),Pe==="auto"&&(Pe=de<1?"rgba":"rgb"),te=No(te),ve=No(ve),De=No(De);var Ne=te<<16|ve<<8|De,at="000000"+Ne.toString(16);at=at.substr(at.length-6);var ct="0"+No(de*255).toString(16);switch(ct=ct.substr(ct.length-2),Pe.toLowerCase()){case"rgba":return"#"+at+ct;case"argb":return"#"+ct+at;default:return"#"+at}},dh=hh,Hn=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Mo=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,In=function(S){if(S.match(Hn)){(S.length===4||S.length===7)&&(S=S.substr(1)),S.length===3&&(S=S.split(""),S=S[0]+S[0]+S[1]+S[1]+S[2]+S[2]);var N=parseInt(S,16),V=N>>16,te=N>>8&255,ve=N&255;return[V,te,ve,1]}if(S.match(Mo)){(S.length===5||S.length===9)&&(S=S.substr(1)),S.length===4&&(S=S.split(""),S=S[0]+S[0]+S[1]+S[1]+S[2]+S[2]+S[3]+S[3]);var De=parseInt(S,16),de=De>>24&255,Pe=De>>16&255,Ne=De>>8&255,at=Math.round((De&255)/255*100)/100;return[de,Pe,Ne,at]}throw new Error("unknown hex color: "+S)},Jn=In,js=re,ph=Z,_l=I.type,Tf=z,Qd=dh;ph.prototype.hex=function(S){return Qd(this._rgb,S)},js.hex=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ph,[null].concat(S,["hex"])))},Tf.format.hex=Jn,Tf.autodetect.push({p:4,test:function(S){for(var N=[],V=arguments.length-1;V-- >0;)N[V]=arguments[V+1];if(!N.length&&_l(S)==="string"&&[3,4,5,6,7,8,9].indexOf(S.length)>=0)return"hex"}});var Ql=I.unpack,Af=I.TWOPI,ts=Math.min,Sf=Math.sqrt,pi=Math.acos,Fs=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Ql(S,"rgb"),te=V[0],ve=V[1],De=V[2];te/=255,ve/=255,De/=255;var de,Pe=ts(te,ve,De),Ne=(te+ve+De)/3,at=Ne>0?1-Pe/Ne:0;return at===0?de=NaN:(de=(te-ve+(te-De))/2,de/=Sf((te-ve)*(te-ve)+(te-De)*(ve-De)),de=pi(de),De>ve&&(de=Af-de),de/=Af),[de*360,at,Ne]},kf=Fs,Br=I.unpack,wl=I.limit,Lo=I.TWOPI,Bo=I.PITHIRD,Un=Math.cos,Xd=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Br(S,"hsi");var V=S[0],te=S[1],ve=S[2],De,de,Pe;return isNaN(V)&&(V=0),isNaN(te)&&(te=0),V>360&&(V-=360),V<0&&(V+=360),V/=360,V<1/3?(Pe=(1-te)/3,De=(1+te*Un(Lo*V)/Un(Bo-Lo*V))/3,de=1-(Pe+De)):V<2/3?(V-=1/3,De=(1-te)/3,de=(1+te*Un(Lo*V)/Un(Bo-Lo*V))/3,Pe=1-(De+de)):(V-=2/3,de=(1-te)/3,Pe=(1+te*Un(Lo*V)/Un(Bo-Lo*V))/3,De=1-(de+Pe)),De=wl(ve*De*3),de=wl(ve*de*3),Pe=wl(ve*Pe*3),[De*255,de*255,Pe*255,S.length>3?S[3]:1]},Pi=Xd,gh=I.unpack,mh=I.type,Tr=re,Vs=Z,Kc=z,Xl=kf;Vs.prototype.hsi=function(){return Xl(this._rgb)},Tr.hsi=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Vs,[null].concat(S,["hsi"])))},Kc.format.hsi=Pi,Kc.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=gh(S,"hsi"),mh(S)==="array"&&S.length===3)return"hsi"}});var Of=I.unpack,Rf=I.type,on=re,Jl=Z,Qc=z,Cn=Ce;Jl.prototype.hsl=function(){return Cn(this._rgb)},on.hsl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Jl,[null].concat(S,["hsl"])))},Qc.format.hsl=_t,Qc.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=Of(S,"hsl"),Rf(S)==="array"&&S.length===3)return"hsl"}});var Pf=I.unpack,Xc=Math.min,Zl=Math.max,Uo=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Pf(S,"rgb");var V=S[0],te=S[1],ve=S[2],De=Xc(V,te,ve),de=Zl(V,te,ve),Pe=de-De,Ne,at,ct;return ct=de/255,de===0?(Ne=Number.NaN,at=0):(at=Pe/de,V===de&&(Ne=(te-ve)/Pe),te===de&&(Ne=2+(ve-V)/Pe),ve===de&&(Ne=4+(V-te)/Pe),Ne*=60,Ne<0&&(Ne+=360)),[Ne,at,ct]},If=Uo,vh=I.unpack,Wn=Math.floor,Jc=function(){for(var S,N,V,te,ve,De,de=[],Pe=arguments.length;Pe--;)de[Pe]=arguments[Pe];de=vh(de,"hsv");var Ne=de[0],at=de[1],ct=de[2],$t,bt,Xt;if(ct*=255,at===0)$t=bt=Xt=ct;else{Ne===360&&(Ne=0),Ne>360&&(Ne-=360),Ne<0&&(Ne+=360),Ne/=60;var Jt=Wn(Ne),Ir=Ne-Jt,Ar=ct*(1-at),$r=ct*(1-at*Ir),ln=ct*(1-at*(1-Ir));switch(Jt){case 0:S=[ct,ln,Ar],$t=S[0],bt=S[1],Xt=S[2];break;case 1:N=[$r,ct,Ar],$t=N[0],bt=N[1],Xt=N[2];break;case 2:V=[Ar,ct,ln],$t=V[0],bt=V[1],Xt=V[2];break;case 3:te=[Ar,$r,ct],$t=te[0],bt=te[1],Xt=te[2];break;case 4:ve=[ln,Ar,ct],$t=ve[0],bt=ve[1],Xt=ve[2];break;case 5:De=[ct,Ar,$r],$t=De[0],bt=De[1],Xt=De[2];break}}return[$t,bt,Xt,de.length>3?de[3]:1]},Nf=Jc,Mf=I.unpack,Zc=I.type,eu=re,ec=Z,Tn=z,Ys=If;ec.prototype.hsv=function(){return Ys(this._rgb)},eu.hsv=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ec,[null].concat(S,["hsv"])))},Tn.format.hsv=Nf,Tn.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=Mf(S,"hsv"),Zc(S)==="array"&&S.length===3)return"hsv"}});var ao={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},$o=ao,Jd=I.unpack,bh=Math.pow,Lf=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Jd(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=Ii(te,ve,De),Pe=de[0],Ne=de[1],at=de[2],ct=116*Ne-16;return[ct<0?0:ct,500*(Pe-Ne),200*(Ne-at)]},tu=function(S){return(S/=255)<=.04045?S/12.92:bh((S+.055)/1.055,2.4)},ru=function(S){return S>$o.t3?bh(S,1/3):S/$o.t2+$o.t0},Ii=function(S,N,V){S=tu(S),N=tu(N),V=tu(V);var te=ru((.4124564*S+.3575761*N+.1804375*V)/$o.Xn),ve=ru((.2126729*S+.7151522*N+.072175*V)/$o.Yn),De=ru((.0193339*S+.119192*N+.9503041*V)/$o.Zn);return[te,ve,De]},Dl=Lf,St=ao,Mn=I.unpack,Nn=Math.pow,tc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Mn(S,"lab");var V=S[0],te=S[1],ve=S[2],De,de,Pe,Ne,at,ct;return de=(V+16)/116,De=isNaN(te)?de:de+te/500,Pe=isNaN(ve)?de:de-ve/200,de=St.Yn*Ba(de),De=St.Xn*Ba(De),Pe=St.Zn*Ba(Pe),Ne=oi(3.2404542*De-1.5371385*de-.4985314*Pe),at=oi(-.969266*De+1.8760108*de+.041556*Pe),ct=oi(.0556434*De-.2040259*de+1.0572252*Pe),[Ne,at,ct,S.length>3?S[3]:1]},oi=function(S){return 255*(S<=.00304?12.92*S:1.055*Nn(S,1/2.4)-.055)},Ba=function(S){return S>St.t1?S*S*S:St.t2*(S-St.t0)},cs=tc,yh=I.unpack,_h=I.type,Bf=re,Uf=Z,Di=z,nu=Dl;Uf.prototype.lab=function(){return nu(this._rgb)},Bf.lab=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Uf,[null].concat(S,["lab"])))},Di.format.lab=cs,Di.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=yh(S,"lab"),_h(S)==="array"&&S.length===3)return"lab"}});var oo=I.unpack,$f=I.RAD2DEG,iu=Math.sqrt,Es=Math.atan2,Hf=Math.round,rc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=oo(S,"lab"),te=V[0],ve=V[1],De=V[2],de=iu(ve*ve+De*De),Pe=(Es(De,ve)*$f+360)%360;return Hf(de*1e4)===0&&(Pe=Number.NaN),[te,de,Pe]},su=rc,Ho=I.unpack,au=Dl,ou=su,rs=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Ho(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=au(te,ve,De),Pe=de[0],Ne=de[1],at=de[2];return ou(Pe,Ne,at)},Wf=rs,us=I.unpack,lu=I.DEG2RAD,cu=Math.sin,xs=Math.cos,Is=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=us(S,"lch"),te=V[0],ve=V[1],De=V[2];return isNaN(De)&&(De=0),De=De*lu,[te,xs(De)*ve,cu(De)*ve]},uu=Is,Ur=I.unpack,fs=uu,zf=cs,nc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Ur(S,"lch");var V=S[0],te=S[1],ve=S[2],De=fs(V,te,ve),de=De[0],Pe=De[1],Ne=De[2],at=zf(de,Pe,Ne),ct=at[0],$t=at[1],bt=at[2];return[ct,$t,bt,S.length>3?S[3]:1]},fu=nc,Zd=I.unpack,e1=fu,t1=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Zd(S,"hcl").reverse();return e1.apply(void 0,V)},Gf=t1,gi=I.unpack,li=I.type,rt=re,Cs=Z,Ni=z,ft=Wf;Cs.prototype.lch=function(){return ft(this._rgb)},Cs.prototype.hcl=function(){return ft(this._rgb).reverse()},rt.lch=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Cs,[null].concat(S,["lch"])))},rt.hcl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Cs,[null].concat(S,["hcl"])))},Ni.format.lch=fu,Ni.format.hcl=Gf,["lch","hcl"].forEach(function(S){return Ni.autodetect.push({p:2,test:function(){for(var N=[],V=arguments.length;V--;)N[V]=arguments[V];if(N=gi(N,S),li(N)==="array"&&N.length===3)return S}})});var Wo={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},hu=Wo,ic=Z,Fl=z,sc=I.type,$n=hu,du=Jn,Qr=dh;ic.prototype.name=function(){for(var S=Qr(this._rgb,"rgb"),N=0,V=Object.keys($n);N<V.length;N+=1){var te=V[N];if($n[te]===S)return te.toLowerCase()}return S},Fl.format.named=function(S){if(S=S.toLowerCase(),$n[S])return du($n[S]);throw new Error("unknown color name: "+S)},Fl.autodetect.push({p:5,test:function(S){for(var N=[],V=arguments.length-1;V-- >0;)N[V]=arguments[V+1];if(!N.length&&sc(S)==="string"&&$n[S.toLowerCase()])return"named"}});var zn=I.unpack,Dr=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=zn(S,"rgb"),te=V[0],ve=V[1],De=V[2];return(te<<16)+(ve<<8)+De},Vi=Dr,Mr=I.type,Zr=function(S){if(Mr(S)=="number"&&S>=0&&S<=16777215){var N=S>>16,V=S>>8&255,te=S&255;return[N,V,te,1]}throw new Error("unknown num color: "+S)},r1=Zr,da=re,Ua=Z,jf=z,qs=I.type,Ks=Vi;Ua.prototype.num=function(){return Ks(this._rgb)},da.num=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Ua,[null].concat(S,["num"])))},jf.format.num=r1,jf.autodetect.push({p:5,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S.length===1&&qs(S[0])==="number"&&S[0]>=0&&S[0]<=16777215)return"num"}});var Yi=re,ni=Z,ac=z,$a=I.unpack,oc=I.type,Ts=Math.round;ni.prototype.rgb=function(S){return S===void 0&&(S=!0),S===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Ts)},ni.prototype.rgba=function(S){return S===void 0&&(S=!0),this._rgb.slice(0,4).map(function(N,V){return V<3?S===!1?N:Ts(N):N})},Yi.rgb=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ni,[null].concat(S,["rgb"])))},ac.format.rgb=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=$a(S,"rgba");return V[3]===void 0&&(V[3]=1),V},ac.autodetect.push({p:3,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=$a(S,"rgba"),oc(S)==="array"&&(S.length===3||S.length===4&&oc(S[3])=="number"&&S[3]>=0&&S[3]<=1))return"rgb"}});var pa=Math.log,zo=function(S){var N=S/100,V,te,ve;return N<66?(V=255,te=N<6?0:-155.25485562709179-.44596950469579133*(te=N-2)+104.49216199393888*pa(te),ve=N<20?0:-254.76935184120902+.8274096064007395*(ve=N-10)+115.67994401066147*pa(ve)):(V=351.97690566805693+.114206453784165*(V=N-55)-40.25366309332127*pa(V),te=325.4494125711974+.07943456536662342*(te=N-50)-28.0852963507957*pa(te),ve=255),[V,te,ve,1]},As=zo,Qs=As,Vf=I.unpack,Yf=Math.round,pu=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];for(var V=Vf(S,"rgb"),te=V[0],ve=V[2],De=1e3,de=4e4,Pe=.4,Ne;de-De>Pe;){Ne=(de+De)*.5;var at=Qs(Ne);at[2]/at[0]>=ve/te?de=Ne:De=Ne}return Yf(Ne)},n1=pu,lc=re,El=Z,ga=z,Te=n1;El.prototype.temp=El.prototype.kelvin=El.prototype.temperature=function(){return Te(this._rgb)},lc.temp=lc.kelvin=lc.temperature=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(El,[null].concat(S,["temp"])))},ga.format.temp=ga.format.kelvin=ga.format.temperature=As;var nt=I.unpack,He=Math.cbrt,Gt=Math.pow,fr=Math.sign,en=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=nt(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=[_n(te/255),_n(ve/255),_n(De/255)],Pe=de[0],Ne=de[1],at=de[2],ct=He(.4122214708*Pe+.5363325363*Ne+.0514459929*at),$t=He(.2119034982*Pe+.6806995451*Ne+.1073969566*at),bt=He(.0883024619*Pe+.2817188376*Ne+.6299787005*at);return[.2104542553*ct+.793617785*$t-.0040720468*bt,1.9779984951*ct-2.428592205*$t+.4505937099*bt,.0259040371*ct+.7827717662*$t-.808675766*bt]},Zn=en;function _n(S){var N=Math.abs(S);return N<.04045?S/12.92:(fr(S)||1)*Gt((N+.055)/1.055,2.4)}var cc=I.unpack,Mi=Math.pow,Ss=Math.sign,uc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=cc(S,"lab");var V=S[0],te=S[1],ve=S[2],De=Mi(V+.3963377774*te+.2158037573*ve,3),de=Mi(V-.1055613458*te-.0638541728*ve,3),Pe=Mi(V-.0894841775*te-1.291485548*ve,3);return[255*ma(4.0767416621*De-3.3077115913*de+.2309699292*Pe),255*ma(-1.2684380046*De+2.6097574011*de-.3413193965*Pe),255*ma(-.0041960863*De-.7034186147*de+1.707614701*Pe),S.length>3?S[3]:1]},wh=uc;function ma(S){var N=Math.abs(S);return N>.0031308?(Ss(S)||1)*(1.055*Mi(N,1/2.4)-.055):S*12.92}var xl=I.unpack,fc=I.type,An=re,Cl=Z,Xs=z,hc=Zn;Cl.prototype.oklab=function(){return hc(this._rgb)},An.oklab=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Cl,[null].concat(S,["oklab"])))},Xs.format.oklab=wh,Xs.autodetect.push({p:3,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=xl(S,"oklab"),fc(S)==="array"&&S.length===3)return"oklab"}});var qf=I.unpack,gu=Zn,Kf=su,dc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=qf(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=gu(te,ve,De),Pe=de[0],Ne=de[1],at=de[2];return Kf(Pe,Ne,at)},Sr=dc,lo=I.unpack,Tl=uu,Ha=wh,wn=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=lo(S,"lch");var V=S[0],te=S[1],ve=S[2],De=Tl(V,te,ve),de=De[0],Pe=De[1],Ne=De[2],at=Ha(de,Pe,Ne),ct=at[0],$t=at[1],bt=at[2];return[ct,$t,bt,S.length>3?S[3]:1]},Dh=wn,pc=I.unpack,Qf=I.type,qi=re,co=Z,Al=z,Xf=Sr;co.prototype.oklch=function(){return Xf(this._rgb)},qi.oklch=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(co,[null].concat(S,["oklch"])))},Al.format.oklch=Dh,Al.autodetect.push({p:3,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=pc(S,"oklch"),Qf(S)==="array"&&S.length===3)return"oklch"}});var Jf=Z,Go=I.type;Jf.prototype.alpha=function(S,N){return N===void 0&&(N=!1),S!==void 0&&Go(S)==="number"?N?(this._rgb[3]=S,this):new Jf([this._rgb[0],this._rgb[1],this._rgb[2],S],"rgb"):this._rgb[3]};var gc=Z;gc.prototype.clipped=function(){return this._rgb._clipped||!1};var Js=Z,mu=ao;Js.prototype.darken=function(S){S===void 0&&(S=1);var N=this,V=N.lab();return V[0]-=mu.Kn*S,new Js(V,"lab").alpha(N.alpha(),!0)},Js.prototype.brighten=function(S){return S===void 0&&(S=1),this.darken(-S)},Js.prototype.darker=Js.prototype.darken,Js.prototype.brighter=Js.prototype.brighten;var i1=Z;i1.prototype.get=function(S){var N=S.split("."),V=N[0],te=N[1],ve=this[V]();if(te){var De=V.indexOf(te)-(V.substr(0,2)==="ok"?2:0);if(De>-1)return ve[De];throw new Error("unknown channel "+te+" in mode "+V)}else return ve};var uo=Z,Fh=I.type,Zf=Math.pow,ci=1e-7,Li=20;uo.prototype.luminance=function(S){if(S!==void 0&&Fh(S)==="number"){if(S===0)return new uo([0,0,0,this._rgb[3]],"rgb");if(S===1)return new uo([255,255,255,this._rgb[3]],"rgb");var N=this.luminance(),V="rgb",te=Li,ve=function(de,Pe){var Ne=de.interpolate(Pe,.5,V),at=Ne.luminance();return Math.abs(S-at)<ci||!te--?Ne:at>S?ve(de,Ne):ve(Ne,Pe)},De=(N>S?ve(new uo([0,0,0]),this):ve(this,new uo([255,255,255]))).rgb();return new uo(De.concat([this._rgb[3]]))}return Eh.apply(void 0,this._rgb.slice(0,3))};var Eh=function(S,N,V){return S=vu(S),N=vu(N),V=vu(V),.2126*S+.7152*N+.0722*V},vu=function(S){return S/=255,S<=.03928?S/12.92:Zf((S+.055)/1.055,2.4)},ns={},xh=Z,mc=I.type,Wa=ns,jo=function(S,N,V){V===void 0&&(V=.5);for(var te=[],ve=arguments.length-3;ve-- >0;)te[ve]=arguments[ve+3];var De=te[0]||"lrgb";if(!Wa[De]&&!te.length&&(De=Object.keys(Wa)[0]),!Wa[De])throw new Error("interpolation mode "+De+" is not defined");return mc(S)!=="object"&&(S=new xh(S)),mc(N)!=="object"&&(N=new xh(N)),Wa[De](S,N,V).alpha(S.alpha()+V*(N.alpha()-S.alpha()))},fo=Z,Sl=jo;fo.prototype.mix=fo.prototype.interpolate=function(S,N){N===void 0&&(N=.5);for(var V=[],te=arguments.length-2;te-- >0;)V[te]=arguments[te+2];return Sl.apply(void 0,[this,S,N].concat(V))};var Vo=Z;Vo.prototype.premultiply=function(S){S===void 0&&(S=!1);var N=this._rgb,V=N[3];return S?(this._rgb=[N[0]*V,N[1]*V,N[2]*V,V],this):new Vo([N[0]*V,N[1]*V,N[2]*V,V],"rgb")};var Yo=Z,qo=ao;Yo.prototype.saturate=function(S){S===void 0&&(S=1);var N=this,V=N.lch();return V[1]+=qo.Kn*S,V[1]<0&&(V[1]=0),new Yo(V,"lch").alpha(N.alpha(),!0)},Yo.prototype.desaturate=function(S){return S===void 0&&(S=1),this.saturate(-S)};var e0=Z,za=I.type;e0.prototype.set=function(S,N,V){V===void 0&&(V=!1);var te=S.split("."),ve=te[0],De=te[1],de=this[ve]();if(De){var Pe=ve.indexOf(De)-(ve.substr(0,2)==="ok"?2:0);if(Pe>-1){if(za(N)=="string")switch(N.charAt(0)){case"+":de[Pe]+=+N;break;case"-":de[Pe]+=+N;break;case"*":de[Pe]*=+N.substr(1);break;case"/":de[Pe]/=+N.substr(1);break;default:de[Pe]=+N}else if(za(N)==="number")de[Pe]=N;else throw new Error("unsupported value for Color.set");var Ne=new e0(de,ve);return V?(this._rgb=Ne._rgb,this):Ne}throw new Error("unknown channel "+De+" in mode "+ve)}else return de};var ui=Z,is=function(S,N,V){var te=S._rgb,ve=N._rgb;return new ui(te[0]+V*(ve[0]-te[0]),te[1]+V*(ve[1]-te[1]),te[2]+V*(ve[2]-te[2]),"rgb")};ns.rgb=is;var mi=Z,Bi=Math.sqrt,Zs=Math.pow,t0=function(S,N,V){var te=S._rgb,ve=te[0],De=te[1],de=te[2],Pe=N._rgb,Ne=Pe[0],at=Pe[1],ct=Pe[2];return new mi(Bi(Zs(ve,2)*(1-V)+Zs(Ne,2)*V),Bi(Zs(De,2)*(1-V)+Zs(at,2)*V),Bi(Zs(de,2)*(1-V)+Zs(ct,2)*V),"rgb")};ns.lrgb=t0;var Q=Z,Ns=function(S,N,V){var te=S.lab(),ve=N.lab();return new Q(te[0]+V*(ve[0]-te[0]),te[1]+V*(ve[1]-te[1]),te[2]+V*(ve[2]-te[2]),"lab")};ns.lab=Ns;var Ga=Z,ei=function(S,N,V,te){var ve,De,de,Pe;te==="hsl"?(de=S.hsl(),Pe=N.hsl()):te==="hsv"?(de=S.hsv(),Pe=N.hsv()):te==="hcg"?(de=S.hcg(),Pe=N.hcg()):te==="hsi"?(de=S.hsi(),Pe=N.hsi()):te==="lch"||te==="hcl"?(te="hcl",de=S.hcl(),Pe=N.hcl()):te==="oklch"&&(de=S.oklch().reverse(),Pe=N.oklch().reverse());var Ne,at,ct,$t,bt,Xt;(te.substr(0,1)==="h"||te==="oklch")&&(ve=de,Ne=ve[0],ct=ve[1],bt=ve[2],De=Pe,at=De[0],$t=De[1],Xt=De[2]);var Jt,Ir,Ar,$r;return!isNaN(Ne)&&!isNaN(at)?(at>Ne&&at-Ne>180?$r=at-(Ne+360):at<Ne&&Ne-at>180?$r=at+360-Ne:$r=at-Ne,Ir=Ne+V*$r):isNaN(Ne)?isNaN(at)?Ir=Number.NaN:(Ir=at,(bt==1||bt==0)&&te!="hsv"&&(Jt=$t)):(Ir=Ne,(Xt==1||Xt==0)&&te!="hsv"&&(Jt=ct)),Jt===void 0&&(Jt=ct+V*($t-ct)),Ar=bt+V*(Xt-bt),te==="oklch"?new Ga([Ar,Jt,Ir],te):new Ga([Ir,Jt,Ar],te)},Xr=ei,Ch=function(S,N,V){return Xr(S,N,V,"lch")};ns.lch=Ch,ns.hcl=Ch;var bu=Z,Th=function(S,N,V){var te=S.num(),ve=N.num();return new bu(te+V*(ve-te),"num")};ns.num=Th;var ho=ei,Ah=function(S,N,V){return ho(S,N,V,"hcg")};ns.hcg=Ah;var va=ei,Ko=function(S,N,V){return va(S,N,V,"hsi")};ns.hsi=Ko;var Sh=ei,yu=function(S,N,V){return Sh(S,N,V,"hsl")};ns.hsl=yu;var ba=ei,kh=function(S,N,V){return ba(S,N,V,"hsv")};ns.hsv=kh;var s1=Z,Oh=function(S,N,V){var te=S.oklab(),ve=N.oklab();return new s1(te[0]+V*(ve[0]-te[0]),te[1]+V*(ve[1]-te[1]),te[2]+V*(ve[2]-te[2]),"oklab")};ns.oklab=Oh;var Ki=ei,a1=function(S,N,V){return Ki(S,N,V,"oklch")};ns.oklch=a1;var hs=Z,r0=I.clip_rgb,n0=Math.pow,_u=Math.sqrt,wu=Math.PI,i0=Math.cos,ja=Math.sin,Rh=Math.atan2,Ph=function(S,N,V){N===void 0&&(N="lrgb"),V===void 0&&(V=null);var te=S.length;V||(V=Array.from(new Array(te)).map(function(){return 1}));var ve=te/V.reduce(function(Ir,Ar){return Ir+Ar});if(V.forEach(function(Ir,Ar){V[Ar]*=ve}),S=S.map(function(Ir){return new hs(Ir)}),N==="lrgb")return ea(S,V);for(var De=S.shift(),de=De.get(N),Pe=[],Ne=0,at=0,ct=0;ct<de.length;ct++)if(de[ct]=(de[ct]||0)*V[0],Pe.push(isNaN(de[ct])?0:V[0]),N.charAt(ct)==="h"&&!isNaN(de[ct])){var $t=de[ct]/180*wu;Ne+=i0($t)*V[0],at+=ja($t)*V[0]}var bt=De.alpha()*V[0];S.forEach(function(Ir,Ar){var $r=Ir.get(N);bt+=Ir.alpha()*V[Ar+1];for(var ln=0;ln<de.length;ln++)if(!isNaN($r[ln]))if(Pe[ln]+=V[Ar+1],N.charAt(ln)==="h"){var Ei=$r[ln]/180*wu;Ne+=i0(Ei)*V[Ar+1],at+=ja(Ei)*V[Ar+1]}else de[ln]+=$r[ln]*V[Ar+1]});for(var Xt=0;Xt<de.length;Xt++)if(N.charAt(Xt)==="h"){for(var Jt=Rh(at/Pe[Xt],Ne/Pe[Xt])/wu*180;Jt<0;)Jt+=360;for(;Jt>=360;)Jt-=360;de[Xt]=Jt}else de[Xt]=de[Xt]/Pe[Xt];return bt/=te,new hs(de,N).alpha(bt>.99999?1:bt,!0)},ea=function(S,N){for(var V=S.length,te=[0,0,0,0],ve=0;ve<S.length;ve++){var De=S[ve],de=N[ve]/V,Pe=De._rgb;te[0]+=n0(Pe[0],2)*de,te[1]+=n0(Pe[1],2)*de,te[2]+=n0(Pe[2],2)*de,te[3]+=Pe[3]*de}return te[0]=_u(te[0]),te[1]=_u(te[1]),te[2]=_u(te[2]),te[3]>.9999999&&(te[3]=1),new hs(r0(te))},Ms=re,Qo=I.type,Ih=Math.pow,s0=function(S){var N="rgb",V=Ms("#ccc"),te=0,ve=[0,1],De=[],de=[0,0],Pe=!1,Ne=[],at=!1,ct=0,$t=1,bt=!1,Xt={},Jt=!0,Ir=1,Ar=function(Ft){if(Ft=Ft||["#fff","#000"],Ft&&Qo(Ft)==="string"&&Ms.brewer&&Ms.brewer[Ft.toLowerCase()]&&(Ft=Ms.brewer[Ft.toLowerCase()]),Qo(Ft)==="array"){Ft.length===1&&(Ft=[Ft[0],Ft[0]]),Ft=Ft.slice(0);for(var wr=0;wr<Ft.length;wr++)Ft[wr]=Ms(Ft[wr]);De.length=0;for(var Gr=0;Gr<Ft.length;Gr++)De.push(Gr/(Ft.length-1))}return xi(),Ne=Ft},$r=function(Ft){if(Pe!=null){for(var wr=Pe.length-1,Gr=0;Gr<wr&&Ft>=Pe[Gr];)Gr++;return Gr-1}return 0},ln=function(Ft){return Ft},Ei=function(Ft){return Ft},Vn=function(Ft,wr){var Gr,or;if(wr==null&&(wr=!1),isNaN(Ft)||Ft===null)return V;if(wr)or=Ft;else if(Pe&&Pe.length>2){var fi=$r(Ft);or=fi/(Pe.length-2)}else $t!==ct?or=(Ft-ct)/($t-ct):or=1;or=Ei(or),wr||(or=ln(or)),Ir!==1&&(or=Ih(or,Ir)),or=de[0]+or*(1-de[0]-de[1]),or=Math.min(1,Math.max(0,or));var Jr=Math.floor(or*1e4);if(Jt&&Xt[Jr])Gr=Xt[Jr];else{if(Qo(Ne)==="array")for(var qr=0;qr<De.length;qr++){var hn=De[qr];if(or<=hn){Gr=Ne[qr];break}if(or>=hn&&qr===De.length-1){Gr=Ne[qr];break}if(or>hn&&or<De[qr+1]){or=(or-hn)/(De[qr+1]-hn),Gr=Ms.interpolate(Ne[qr],Ne[qr+1],or,N);break}}else Qo(Ne)==="function"&&(Gr=Ne(or));Jt&&(Xt[Jr]=Gr)}return Gr},xi=function(){return Xt={}};Ar(S);var zr=function(Ft){var wr=Ms(Vn(Ft));return at&&wr[at]?wr[at]():wr};return zr.classes=function(Ft){if(Ft!=null){if(Qo(Ft)==="array")Pe=Ft,ve=[Ft[0],Ft[Ft.length-1]];else{var wr=Ms.analyze(ve);Ft===0?Pe=[wr.min,wr.max]:Pe=Ms.limits(wr,"e",Ft)}return zr}return Pe},zr.domain=function(Ft){if(!arguments.length)return ve;ct=Ft[0],$t=Ft[Ft.length-1],De=[];var wr=Ne.length;if(Ft.length===wr&&ct!==$t)for(var Gr=0,or=Array.from(Ft);Gr<or.length;Gr+=1){var fi=or[Gr];De.push((fi-ct)/($t-ct))}else{for(var Jr=0;Jr<wr;Jr++)De.push(Jr/(wr-1));if(Ft.length>2){var qr=Ft.map(function(cn,tn){return tn/(Ft.length-1)}),hn=Ft.map(function(cn){return(cn-ct)/($t-ct)});hn.every(function(cn,tn){return qr[tn]===cn})||(Ei=function(cn){if(cn<=0||cn>=1)return cn;for(var tn=0;cn>=hn[tn+1];)tn++;var Bs=(cn-hn[tn])/(hn[tn+1]-hn[tn]),Us=qr[tn]+Bs*(qr[tn+1]-qr[tn]);return Us})}}return ve=[ct,$t],zr},zr.mode=function(Ft){return arguments.length?(N=Ft,xi(),zr):N},zr.range=function(Ft,wr){return Ar(Ft),zr},zr.out=function(Ft){return at=Ft,zr},zr.spread=function(Ft){return arguments.length?(te=Ft,zr):te},zr.correctLightness=function(Ft){return Ft==null&&(Ft=!0),bt=Ft,xi(),bt?ln=function(wr){for(var Gr=Vn(0,!0).lab()[0],or=Vn(1,!0).lab()[0],fi=Gr>or,Jr=Vn(wr,!0).lab()[0],qr=Gr+(or-Gr)*wr,hn=Jr-qr,cn=0,tn=1,Bs=20;Math.abs(hn)>.01&&Bs-- >0;)(function(){return fi&&(hn*=-1),hn<0?(cn=wr,wr+=(tn-wr)*.5):(tn=wr,wr+=(cn-wr)*.5),Jr=Vn(wr,!0).lab()[0],hn=Jr-qr})();return wr}:ln=function(wr){return wr},zr},zr.padding=function(Ft){return Ft!=null?(Qo(Ft)==="number"&&(Ft=[Ft,Ft]),de=Ft,zr):de},zr.colors=function(Ft,wr){arguments.length<2&&(wr="hex");var Gr=[];if(arguments.length===0)Gr=Ne.slice(0);else if(Ft===1)Gr=[zr(.5)];else if(Ft>1){var or=ve[0],fi=ve[1]-or;Gr=o1(0,Ft,!1).map(function(tn){return zr(or+tn/(Ft-1)*fi)})}else{S=[];var Jr=[];if(Pe&&Pe.length>2)for(var qr=1,hn=Pe.length,cn=1<=hn;cn?qr<hn:qr>hn;cn?qr++:qr--)Jr.push((Pe[qr-1]+Pe[qr])*.5);else Jr=ve;Gr=Jr.map(function(tn){return zr(tn)})}return Ms[wr]&&(Gr=Gr.map(function(tn){return tn[wr]()})),Gr},zr.cache=function(Ft){return Ft!=null?(Jt=Ft,zr):Jt},zr.gamma=function(Ft){return Ft!=null?(Ir=Ft,zr):Ir},zr.nodata=function(Ft){return Ft!=null?(V=Ms(Ft),zr):V},zr};function o1(S,N,V){for(var te=[],ve=S<N,De=V?ve?N+1:N-1:N,de=S;ve?de<De:de>De;ve?de++:de--)te.push(de);return te}var Xo=Z,Nh=s0,l1=function(S){for(var N=[1,1],V=1;V<S;V++){for(var te=[1],ve=1;ve<=N.length;ve++)te[ve]=(N[ve]||0)+N[ve-1];N=te}return N},Mh=function(S){var N,V,te,ve,De,de,Pe;if(S=S.map(function(bt){return new Xo(bt)}),S.length===2)N=S.map(function(bt){return bt.lab()}),De=N[0],de=N[1],ve=function(bt){var Xt=[0,1,2].map(function(Jt){return De[Jt]+bt*(de[Jt]-De[Jt])});return new Xo(Xt,"lab")};else if(S.length===3)V=S.map(function(bt){return bt.lab()}),De=V[0],de=V[1],Pe=V[2],ve=function(bt){var Xt=[0,1,2].map(function(Jt){return(1-bt)*(1-bt)*De[Jt]+2*(1-bt)*bt*de[Jt]+bt*bt*Pe[Jt]});return new Xo(Xt,"lab")};else if(S.length===4){var Ne;te=S.map(function(bt){return bt.lab()}),De=te[0],de=te[1],Pe=te[2],Ne=te[3],ve=function(bt){var Xt=[0,1,2].map(function(Jt){return(1-bt)*(1-bt)*(1-bt)*De[Jt]+3*(1-bt)*(1-bt)*bt*de[Jt]+3*(1-bt)*bt*bt*Pe[Jt]+bt*bt*bt*Ne[Jt]});return new Xo(Xt,"lab")}}else if(S.length>=5){var at,ct,$t;at=S.map(function(bt){return bt.lab()}),$t=S.length-1,ct=l1($t),ve=function(bt){var Xt=1-bt,Jt=[0,1,2].map(function(Ir){return at.reduce(function(Ar,$r,ln){return Ar+ct[ln]*Math.pow(Xt,$t-ln)*Math.pow(bt,ln)*$r[Ir]},0)});return new Xo(Jt,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return ve},Du=function(S){var N=Mh(S);return N.scale=function(){return Nh(N)},N},ya=re,ds=function(S,N,V){if(!ds[V])throw new Error("unknown blend mode "+V);return ds[V](S,N)},_a=function(S){return function(N,V){var te=ya(V).rgb(),ve=ya(N).rgb();return ya.rgb(S(te,ve))}},wa=function(S){return function(N,V){var te=[];return te[0]=S(N[0],V[0]),te[1]=S(N[1],V[1]),te[2]=S(N[2],V[2]),te}},Fu=function(S){return S},Da=function(S,N){return S*N/255},Eu=function(S,N){return S>N?N:S},po=function(S,N){return S>N?S:N},ks=function(S,N){return 255*(1-(1-S/255)*(1-N/255))},xu=function(S,N){return N<128?2*S*N/255:255*(1-2*(1-S/255)*(1-N/255))},a0=function(S,N){return 255*(1-(1-N/255)/(S/255))},o0=function(S,N){return S===255?255:(S=255*(N/255)/(1-S/255),S>255?255:S)};ds.normal=_a(wa(Fu)),ds.multiply=_a(wa(Da)),ds.screen=_a(wa(ks)),ds.overlay=_a(wa(xu)),ds.darken=_a(wa(Eu)),ds.lighten=_a(wa(po)),ds.dodge=_a(wa(o0)),ds.burn=_a(wa(a0));for(var go=ds,ta=I.type,vc=I.clip_rgb,Fa=I.TWOPI,bc=Math.pow,l0=Math.sin,c0=Math.cos,Fi=re,Cu=function(S,N,V,te,ve){S===void 0&&(S=300),N===void 0&&(N=-1.5),V===void 0&&(V=1),te===void 0&&(te=1),ve===void 0&&(ve=[0,1]);var De=0,de;ta(ve)==="array"?de=ve[1]-ve[0]:(de=0,ve=[ve,ve]);var Pe=function(Ne){var at=Fa*((S+120)/360+N*Ne),ct=bc(ve[0]+de*Ne,te),$t=De!==0?V[0]+Ne*De:V,bt=$t*ct*(1-ct)/2,Xt=c0(at),Jt=l0(at),Ir=ct+bt*(-.14861*Xt+1.78277*Jt),Ar=ct+bt*(-.29227*Xt-.90649*Jt),$r=ct+bt*(1.97294*Xt);return Fi(vc([Ir*255,Ar*255,$r*255,1]))};return Pe.start=function(Ne){return Ne==null?S:(S=Ne,Pe)},Pe.rotations=function(Ne){return Ne==null?N:(N=Ne,Pe)},Pe.gamma=function(Ne){return Ne==null?te:(te=Ne,Pe)},Pe.hue=function(Ne){return Ne==null?V:(V=Ne,ta(V)==="array"?(De=V[1]-V[0],De===0&&(V=V[1])):De=0,Pe)},Pe.lightness=function(Ne){return Ne==null?ve:(ta(Ne)==="array"?(ve=Ne,de=Ne[1]-Ne[0]):(ve=[Ne,Ne],de=0),Pe)},Pe.scale=function(){return Fi.scale(Pe)},Pe.hue(V),Pe},Tu=Z,ra="0123456789abcdef",yc=Math.floor,Jo=Math.random,Ls=function(){for(var S="#",N=0;N<6;N++)S+=ra.charAt(yc(Jo()*16));return new Tu(S,"hex")},_c=F,Ui=Math.log,u0=Math.pow,c1=Math.floor,Lh=Math.abs,wc=function(S,N){N===void 0&&(N=null);var V={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return _c(S)==="object"&&(S=Object.values(S)),S.forEach(function(te){N&&_c(te)==="object"&&(te=te[N]),te!=null&&!isNaN(te)&&(V.values.push(te),V.sum+=te,te<V.min&&(V.min=te),te>V.max&&(V.max=te),V.count+=1)}),V.domain=[V.min,V.max],V.limits=function(te,ve){return kl(V,te,ve)},V},kl=function(S,N,V){N===void 0&&(N="equal"),V===void 0&&(V=7),_c(S)=="array"&&(S=wc(S));var te=S.min,ve=S.max,De=S.values.sort(function(Iu,Nu){return Iu-Nu});if(V===1)return[te,ve];var de=[];if(N.substr(0,1)==="c"&&(de.push(te),de.push(ve)),N.substr(0,1)==="e"){de.push(te);for(var Pe=1;Pe<V;Pe++)de.push(te+Pe/V*(ve-te));de.push(ve)}else if(N.substr(0,1)==="l"){if(te<=0)throw new Error("Logarithmic scales are only possible for values > 0");var Ne=Math.LOG10E*Ui(te),at=Math.LOG10E*Ui(ve);de.push(te);for(var ct=1;ct<V;ct++)de.push(u0(10,Ne+ct/V*(at-Ne)));de.push(ve)}else if(N.substr(0,1)==="q"){de.push(te);for(var $t=1;$t<V;$t++){var bt=(De.length-1)*$t/V,Xt=c1(bt);if(Xt===bt)de.push(De[Xt]);else{var Jt=bt-Xt;de.push(De[Xt]*(1-Jt)+De[Xt+1]*Jt)}}de.push(ve)}else if(N.substr(0,1)==="k"){var Ir,Ar=De.length,$r=new Array(Ar),ln=new Array(V),Ei=!0,Vn=0,xi=null;xi=[],xi.push(te);for(var zr=1;zr<V;zr++)xi.push(te+zr/V*(ve-te));for(xi.push(ve);Ei;){for(var Ft=0;Ft<V;Ft++)ln[Ft]=0;for(var wr=0;wr<Ar;wr++)for(var Gr=De[wr],or=Number.MAX_VALUE,fi=void 0,Jr=0;Jr<V;Jr++){var qr=Lh(xi[Jr]-Gr);qr<or&&(or=qr,fi=Jr),ln[fi]++,$r[wr]=fi}for(var hn=new Array(V),cn=0;cn<V;cn++)hn[cn]=null;for(var tn=0;tn<Ar;tn++)Ir=$r[tn],hn[Ir]===null?hn[Ir]=De[tn]:hn[Ir]+=De[tn];for(var Bs=0;Bs<V;Bs++)hn[Bs]*=1/ln[Bs];Ei=!1;for(var Us=0;Us<V;Us++)if(hn[Us]!==xi[Us]){Ei=!0;break}xi=hn,Vn++,Vn>200&&(Ei=!1)}for(var ps={},el=0;el<V;el++)ps[el]=[];for(var Va=0;Va<Ar;Va++)Ir=$r[Va],ps[Ir].push(De[Va]);for(var Os=[],Ya=0;Ya<V;Ya++)Os.push(ps[Ya][0]),Os.push(ps[Ya][ps[Ya].length-1]);Os=Os.sort(function(Iu,Nu){return Iu-Nu}),de.push(Os[0]);for(var Ci=1;Ci<Os.length;Ci+=2){var $i=Os[Ci];!isNaN($i)&&de.indexOf($i)===-1&&de.push($i)}}return de},Au={analyze:wc,limits:kl},Zo=Z,mo=function(S,N){S=new Zo(S),N=new Zo(N);var V=S.luminance(),te=N.luminance();return V>te?(V+.05)/(te+.05):(te+.05)/(V+.05)},f0=Z,na=Math.sqrt,Ln=Math.pow,Bh=Math.min,Ol=Math.max,vo=Math.atan2,Su=Math.abs,Dc=Math.cos,h0=Math.sin,Uh=Math.exp,ku=Math.PI,Ou=function(S,N,V,te,ve){V===void 0&&(V=1),te===void 0&&(te=1),ve===void 0&&(ve=1);var De=function($i){return 360*$i/(2*ku)},de=function($i){return 2*ku*$i/360};S=new f0(S),N=new f0(N);var Pe=Array.from(S.lab()),Ne=Pe[0],at=Pe[1],ct=Pe[2],$t=Array.from(N.lab()),bt=$t[0],Xt=$t[1],Jt=$t[2],Ir=(Ne+bt)/2,Ar=na(Ln(at,2)+Ln(ct,2)),$r=na(Ln(Xt,2)+Ln(Jt,2)),ln=(Ar+$r)/2,Ei=.5*(1-na(Ln(ln,7)/(Ln(ln,7)+Ln(25,7)))),Vn=at*(1+Ei),xi=Xt*(1+Ei),zr=na(Ln(Vn,2)+Ln(ct,2)),Ft=na(Ln(xi,2)+Ln(Jt,2)),wr=(zr+Ft)/2,Gr=De(vo(ct,Vn)),or=De(vo(Jt,xi)),fi=Gr>=0?Gr:Gr+360,Jr=or>=0?or:or+360,qr=Su(fi-Jr)>180?(fi+Jr+360)/2:(fi+Jr)/2,hn=1-.17*Dc(de(qr-30))+.24*Dc(de(2*qr))+.32*Dc(de(3*qr+6))-.2*Dc(de(4*qr-63)),cn=Jr-fi;cn=Su(cn)<=180?cn:Jr<=fi?cn+360:cn-360,cn=2*na(zr*Ft)*h0(de(cn)/2);var tn=bt-Ne,Bs=Ft-zr,Us=1+.015*Ln(Ir-50,2)/na(20+Ln(Ir-50,2)),ps=1+.045*wr,el=1+.015*wr*hn,Va=30*Uh(-Ln((qr-275)/25,2)),Os=2*na(Ln(wr,7)/(Ln(wr,7)+Ln(25,7))),Ya=-Os*h0(2*de(Va)),Ci=na(Ln(tn/(V*Us),2)+Ln(Bs/(te*ps),2)+Ln(cn/(ve*el),2)+Ya*(Bs/(te*ps))*(cn/(ve*el)));return Ol(0,Bh(100,Ci))},d0=Z,p0=function(S,N,V){V===void 0&&(V="lab"),S=new d0(S),N=new d0(N);var te=S.get(V),ve=N.get(V),De=0;for(var de in te){var Pe=(te[de]||0)-(ve[de]||0);De+=Pe*Pe}return Math.sqrt(De)},$h=Z,g0=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];try{return new(Function.prototype.bind.apply($h,[null].concat(S))),!0}catch{return!1}},m0=re,Fc=s0,u1={cool:function(){return Fc([m0.hsl(180,1,.9),m0.hsl(250,.7,.4)])},hot:function(){return Fc(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Ec={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Ru=0,Pu=Object.keys(Ec);Ru<Pu.length;Ru+=1){var v0=Pu[Ru];Ec[v0.toLowerCase()]=Ec[v0]}var f1=Ec,vi=re;vi.average=Ph,vi.bezier=Du,vi.blend=go,vi.cubehelix=Cu,vi.mix=vi.interpolate=jo,vi.random=Ls,vi.scale=s0,vi.analyze=Au.analyze,vi.contrast=mo,vi.deltaE=Ou,vi.distance=p0,vi.limits=Au.limits,vi.valid=g0,vi.scales=u1,vi.colors=hu,vi.brewer=f1;var Hh=vi;return Hh})})(z6);var _P=z6.exports;const wP=Ma(_P);function DP(t){return t=t.toUpperCase().replace(" ","_"),["OK","AC",Bt.ACCEPTED.toString()].includes(t)||[Bt.CORRECT.toString()].includes(t)?Bt.ACCEPTED:[Bt.PARTIALLY_CORRECT.toString()].includes(t)?Bt.PARTIALLY_CORRECT:["WA",Bt.WRONG_ANSWER.toString()].includes(t)?Bt.WRONG_ANSWER:["RJ","INCORRECT",Bt.REJECTED.toString()].includes(t)?Bt.REJECTED:["PD",Bt.PENDING.toString()].includes(t)?Bt.PENDING:[Bt.WAITING.toString()].includes(t)?Bt.WAITING:[Bt.JUDGING.toString()].includes(t)?Bt.JUDGING:[Bt.FROZEN.toString()].includes(t)?Bt.FROZEN:["CE",Bt.COMPILATION_ERROR.toString()].includes(t)?Bt.COMPILATION_ERROR:["PE",Bt.PRESENTATION_ERROR.toString()].includes(t)?Bt.PRESENTATION_ERROR:["TL","TLE",Bt.TIME_LIMIT_EXCEEDED.toString()].includes(t)?Bt.TIME_LIMIT_EXCEEDED:["ML","MLE",Bt.MEMORY_LIMIT_EXCEEDED.toString()].includes(t)?Bt.MEMORY_LIMIT_EXCEEDED:["OL","OLE",Bt.OUTPUT_LIMIT_EXCEEDED.toString()].includes(t)?Bt.OUTPUT_LIMIT_EXCEEDED:["IL","ILE",Bt.IDLENESS_LIMIT_EXCEEDED.toString()].includes(t)?Bt.IDLENESS_LIMIT_EXCEEDED:["RT","RE","RTE",Bt.RUNTIME_ERROR.toString()].includes(t)?Bt.RUNTIME_ERROR:["JE",Bt.JUDGEMENT_FAILED.toString()].includes(t)?Bt.JUDGEMENT_FAILED:["SE",Bt.SYSTEM_ERROR.toString()].includes(t)?Bt.SYSTEM_ERROR:[Bt.HACKED.toString()].includes(t)?Bt.HACKED:[Bt.CONFIGURATION_ERROR.toString()].includes(t)?Bt.CONFIGURATION_ERROR:[Bt.CANCELED.toString()].includes(t)?Bt.CANCELED:[Bt.SKIPPED.toString()].includes(t)?Bt.SKIPPED:[Bt.SECURITY_VIOLATED.toString()].includes(t)?Bt.SECURITY_VIOLATED:[Bt.DENIAL_OF_JUDGEMENT.toString()].includes(t)?Bt.DENIAL_OF_JUDGEMENT:Bt.UNKNOWN}function G6(t){return[Bt.ACCEPTED,Bt.CORRECT].includes(t)}function FP(t){return[Bt.RUNTIME_ERROR,Bt.TIME_LIMIT_EXCEEDED,Bt.MEMORY_LIMIT_EXCEEDED,Bt.OUTPUT_LIMIT_EXCEEDED,Bt.IDLENESS_LIMIT_EXCEEDED,Bt.WRONG_ANSWER,Bt.REJECTED,Bt.JUDGEMENT_FAILED,Bt.HACKED].includes(t)}function j6(t){return[Bt.PENDING,Bt.WAITING,Bt.COMPILING,Bt.JUDGING,Bt.FROZEN].includes(t)}function V6(t){return[Bt.COMPILATION_ERROR,Bt.PRESENTATION_ERROR,Bt.CONFIGURATION_ERROR,Bt.SYSTEM_ERROR,Bt.CANCELED,Bt.SKIPPED,Bt.UNKNOWN,Bt.UNDEFINED].includes(t)}Hs.extend($R);Hs.extend(WR);Hs.extend(GR);Hs.extend(VR);Hs.extend(qR);Hs.extend(QR);Hs.extend(JR);Hs.extend(eP);function eo(t=void 0){return t===void 0?Hs():typeof t=="number"&&String(t).length===10?Hs.unix(t):Hs(t)}function Vm(t){const i=e=>e<10?`0${e}`:String(e),s=Math.floor(t/3600),a=Math.floor(t%3600/60),r=t%60;return[i(s),i(a),i(r)].join(":")}class aN{constructor(){}convert(i){let s="";s+=`@contest "${i.contest.name}"
325
+ */(function(t,i){(function(s,a){t.exports=a()})(_s,function(){for(var s=function(S,N,V){return N===void 0&&(N=0),V===void 0&&(V=1),S<N?N:S>V?V:S},a=s,r=function(S){S._clipped=!1,S._unclipped=S.slice(0);for(var N=0;N<=3;N++)N<3?((S[N]<0||S[N]>255)&&(S._clipped=!0),S[N]=a(S[N],0,255)):N===3&&(S[N]=a(S[N],0,1));return S},e={},d=0,y=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];d<y.length;d+=1){var w=y[d];e["[object "+w+"]"]=w.toLowerCase()}var F=function(S){return e[Object.prototype.toString.call(S)]||"object"},C=F,A=function(S,N){return N===void 0&&(N=null),S.length>=3?Array.prototype.slice.call(S):C(S[0])=="object"&&N?N.split("").filter(function(V){return S[0][V]!==void 0}).map(function(V){return S[0][V]}):S[0]},R=F,L=function(S){if(S.length<2)return null;var N=S.length-1;return R(S[N])=="string"?S[N].toLowerCase():null},B=Math.PI,I={clip_rgb:r,limit:s,type:F,unpack:A,last:L,PI:B,TWOPI:B*2,PITHIRD:B/3,DEG2RAD:B/180,RAD2DEG:180/B},z={format:{},autodetect:[]},H=I.last,K=I.clip_rgb,oe=I.type,j=z,G=function(){for(var N=[],V=arguments.length;V--;)N[V]=arguments[V];var te=this;if(oe(N[0])==="object"&&N[0].constructor&&N[0].constructor===this.constructor)return N[0];var ve=H(N),De=!1;if(!ve){De=!0,j.sorted||(j.autodetect=j.autodetect.sort(function(ct,$t){return $t.p-ct.p}),j.sorted=!0);for(var de=0,Pe=j.autodetect;de<Pe.length;de+=1){var Ne=Pe[de];if(ve=Ne.test.apply(Ne,N),ve)break}}if(j.format[ve]){var at=j.format[ve].apply(null,De?N:N.slice(0,-1));te._rgb=K(at)}else throw new Error("unknown format: "+N);te._rgb.length===3&&te._rgb.push(1)};G.prototype.toString=function(){return oe(this.hex)=="function"?this.hex():"["+this._rgb.join(",")+"]"};var Z=G,ie=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ie.Color,[null].concat(S)))};ie.Color=Z,ie.version="2.4.2";var re=ie,ae=I.unpack,ue=Math.max,we=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=ae(S,"rgb"),te=V[0],ve=V[1],De=V[2];te=te/255,ve=ve/255,De=De/255;var de=1-ue(te,ue(ve,De)),Pe=de<1?1/(1-de):0,Ne=(1-te-de)*Pe,at=(1-ve-de)*Pe,ct=(1-De-de)*Pe;return[Ne,at,ct,de]},Ie=we,Ae=I.unpack,Ee=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Ae(S,"cmyk");var V=S[0],te=S[1],ve=S[2],De=S[3],de=S.length>4?S[4]:1;return De===1?[0,0,0,de]:[V>=1?0:255*(1-V)*(1-De),te>=1?0:255*(1-te)*(1-De),ve>=1?0:255*(1-ve)*(1-De),de]},We=Ee,Xe=re,Me=Z,pt=z,mt=I.unpack,Je=I.type,me=Ie;Me.prototype.cmyk=function(){return me(this._rgb)},Xe.cmyk=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Me,[null].concat(S,["cmyk"])))},pt.format.cmyk=We,pt.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=mt(S,"cmyk"),Je(S)==="array"&&S.length===4)return"cmyk"}});var Ke=I.unpack,lt=I.last,je=function(S){return Math.round(S*100)/100},xe=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Ke(S,"hsla"),te=lt(S)||"lsa";return V[0]=je(V[0]||0),V[1]=je(V[1]*100)+"%",V[2]=je(V[2]*100)+"%",te==="hsla"||V.length>3&&V[3]<1?(V[3]=V.length>3?V[3]:1,te="hsla"):V.length=3,te+"("+V.join(",")+")"},ze=xe,se=I.unpack,Ve=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=se(S,"rgba");var V=S[0],te=S[1],ve=S[2];V/=255,te/=255,ve/=255;var De=Math.min(V,te,ve),de=Math.max(V,te,ve),Pe=(de+De)/2,Ne,at;return de===De?(Ne=0,at=Number.NaN):Ne=Pe<.5?(de-De)/(de+De):(de-De)/(2-de-De),V==de?at=(te-ve)/(de-De):te==de?at=2+(ve-V)/(de-De):ve==de&&(at=4+(V-te)/(de-De)),at*=60,at<0&&(at+=360),S.length>3&&S[3]!==void 0?[at,Ne,Pe,S[3]]:[at,Ne,Pe]},Ce=Ve,gt=I.unpack,Zt=I.last,ne=ze,ce=Ce,he=Math.round,Ye=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=gt(S,"rgba"),te=Zt(S)||"rgb";return te.substr(0,3)=="hsl"?ne(ce(V),te):(V[0]=he(V[0]),V[1]=he(V[1]),V[2]=he(V[2]),(te==="rgba"||V.length>3&&V[3]<1)&&(V[3]=V.length>3?V[3]:1,te="rgba"),te+"("+V.slice(0,te==="rgb"?3:4).join(",")+")")},Qe=Ye,tt=I.unpack,Pt=Math.round,Et=function(){for(var S,N=[],V=arguments.length;V--;)N[V]=arguments[V];N=tt(N,"hsl");var te=N[0],ve=N[1],De=N[2],de,Pe,Ne;if(ve===0)de=Pe=Ne=De*255;else{var at=[0,0,0],ct=[0,0,0],$t=De<.5?De*(1+ve):De+ve-De*ve,bt=2*De-$t,Xt=te/360;at[0]=Xt+1/3,at[1]=Xt,at[2]=Xt-1/3;for(var Jt=0;Jt<3;Jt++)at[Jt]<0&&(at[Jt]+=1),at[Jt]>1&&(at[Jt]-=1),6*at[Jt]<1?ct[Jt]=bt+($t-bt)*6*at[Jt]:2*at[Jt]<1?ct[Jt]=$t:3*at[Jt]<2?ct[Jt]=bt+($t-bt)*(2/3-at[Jt])*6:ct[Jt]=bt;S=[Pt(ct[0]*255),Pt(ct[1]*255),Pt(ct[2]*255)],de=S[0],Pe=S[1],Ne=S[2]}return N.length>3?[de,Pe,Ne,N[3]]:[de,Pe,Ne,1]},_t=Et,Ze=_t,Se=z,Re=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,It=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Vt=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,hr=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Cr=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,_r=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Pn=Math.round,Kn=function(S){S=S.toLowerCase().trim();var N;if(Se.format.named)try{return Se.format.named(S)}catch{}if(N=S.match(Re)){for(var V=N.slice(1,4),te=0;te<3;te++)V[te]=+V[te];return V[3]=1,V}if(N=S.match(It)){for(var ve=N.slice(1,5),De=0;De<4;De++)ve[De]=+ve[De];return ve}if(N=S.match(Vt)){for(var de=N.slice(1,4),Pe=0;Pe<3;Pe++)de[Pe]=Pn(de[Pe]*2.55);return de[3]=1,de}if(N=S.match(hr)){for(var Ne=N.slice(1,5),at=0;at<3;at++)Ne[at]=Pn(Ne[at]*2.55);return Ne[3]=+Ne[3],Ne}if(N=S.match(Cr)){var ct=N.slice(1,4);ct[1]*=.01,ct[2]*=.01;var $t=Ze(ct);return $t[3]=1,$t}if(N=S.match(_r)){var bt=N.slice(1,4);bt[1]*=.01,bt[2]*=.01;var Xt=Ze(bt);return Xt[3]=+N[4],Xt}};Kn.test=function(S){return Re.test(S)||It.test(S)||Vt.test(S)||hr.test(S)||Cr.test(S)||_r.test(S)};var ha=Kn,Oo=re,zs=Z,Ro=z,xn=I.type,Qn=Qe,Gs=ha;zs.prototype.css=function(S){return Qn(this._rgb,S)},Oo.css=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(zs,[null].concat(S,["css"])))},Ro.format.css=Gs,Ro.autodetect.push({p:5,test:function(S){for(var N=[],V=arguments.length-1;V-- >0;)N[V]=arguments[V+1];if(!N.length&&xn(S)==="string"&&Gs.test(S))return"css"}});var Po=Z,ch=re,Vd=z,Cf=I.unpack;Vd.format.gl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Cf(S,"rgba");return V[0]*=255,V[1]*=255,V[2]*=255,V},ch.gl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Po,[null].concat(S,["gl"])))},Po.prototype.gl=function(){var S=this._rgb;return[S[0]/255,S[1]/255,S[2]/255,S[3]]};var La=I.unpack,Yd=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=La(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=Math.min(te,ve,De),Pe=Math.max(te,ve,De),Ne=Pe-de,at=Ne*100/255,ct=de/(255-Ne)*100,$t;return Ne===0?$t=Number.NaN:(te===Pe&&($t=(ve-De)/Ne),ve===Pe&&($t=2+(De-te)/Ne),De===Pe&&($t=4+(te-ve)/Ne),$t*=60,$t<0&&($t+=360)),[$t,at,ct]},dr=Yd,qd=I.unpack,Kl=Math.floor,Xn=function(){for(var S,N,V,te,ve,De,de=[],Pe=arguments.length;Pe--;)de[Pe]=arguments[Pe];de=qd(de,"hcg");var Ne=de[0],at=de[1],ct=de[2],$t,bt,Xt;ct=ct*255;var Jt=at*255;if(at===0)$t=bt=Xt=ct;else{Ne===360&&(Ne=0),Ne>360&&(Ne-=360),Ne<0&&(Ne+=360),Ne/=60;var Ir=Kl(Ne),Ar=Ne-Ir,$r=ct*(1-at),ln=$r+Jt*(1-Ar),Ei=$r+Jt*Ar,Vn=$r+Jt;switch(Ir){case 0:S=[Vn,Ei,$r],$t=S[0],bt=S[1],Xt=S[2];break;case 1:N=[ln,Vn,$r],$t=N[0],bt=N[1],Xt=N[2];break;case 2:V=[$r,Vn,Ei],$t=V[0],bt=V[1],Xt=V[2];break;case 3:te=[$r,ln,Vn],$t=te[0],bt=te[1],Xt=te[2];break;case 4:ve=[Ei,$r,Vn],$t=ve[0],bt=ve[1],Xt=ve[2];break;case 5:De=[Vn,$r,ln],$t=De[0],bt=De[1],Xt=De[2];break}}return[$t,bt,Xt,de.length>3?de[3]:1]},uh=Xn,Vc=I.unpack,Yc=I.type,yl=re,di=Z,Io=z,Kd=dr;di.prototype.hcg=function(){return Kd(this._rgb)},yl.hcg=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(di,[null].concat(S,["hcg"])))},Io.format.hcg=uh,Io.autodetect.push({p:1,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=Vc(S,"hcg"),Yc(S)==="array"&&S.length===3)return"hcg"}});var fh=I.unpack,qc=I.last,No=Math.round,hh=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=fh(S,"rgba"),te=V[0],ve=V[1],De=V[2],de=V[3],Pe=qc(S)||"auto";de===void 0&&(de=1),Pe==="auto"&&(Pe=de<1?"rgba":"rgb"),te=No(te),ve=No(ve),De=No(De);var Ne=te<<16|ve<<8|De,at="000000"+Ne.toString(16);at=at.substr(at.length-6);var ct="0"+No(de*255).toString(16);switch(ct=ct.substr(ct.length-2),Pe.toLowerCase()){case"rgba":return"#"+at+ct;case"argb":return"#"+ct+at;default:return"#"+at}},dh=hh,Hn=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Mo=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,In=function(S){if(S.match(Hn)){(S.length===4||S.length===7)&&(S=S.substr(1)),S.length===3&&(S=S.split(""),S=S[0]+S[0]+S[1]+S[1]+S[2]+S[2]);var N=parseInt(S,16),V=N>>16,te=N>>8&255,ve=N&255;return[V,te,ve,1]}if(S.match(Mo)){(S.length===5||S.length===9)&&(S=S.substr(1)),S.length===4&&(S=S.split(""),S=S[0]+S[0]+S[1]+S[1]+S[2]+S[2]+S[3]+S[3]);var De=parseInt(S,16),de=De>>24&255,Pe=De>>16&255,Ne=De>>8&255,at=Math.round((De&255)/255*100)/100;return[de,Pe,Ne,at]}throw new Error("unknown hex color: "+S)},Jn=In,js=re,ph=Z,_l=I.type,Tf=z,Qd=dh;ph.prototype.hex=function(S){return Qd(this._rgb,S)},js.hex=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ph,[null].concat(S,["hex"])))},Tf.format.hex=Jn,Tf.autodetect.push({p:4,test:function(S){for(var N=[],V=arguments.length-1;V-- >0;)N[V]=arguments[V+1];if(!N.length&&_l(S)==="string"&&[3,4,5,6,7,8,9].indexOf(S.length)>=0)return"hex"}});var Ql=I.unpack,Af=I.TWOPI,ts=Math.min,Sf=Math.sqrt,pi=Math.acos,Fs=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Ql(S,"rgb"),te=V[0],ve=V[1],De=V[2];te/=255,ve/=255,De/=255;var de,Pe=ts(te,ve,De),Ne=(te+ve+De)/3,at=Ne>0?1-Pe/Ne:0;return at===0?de=NaN:(de=(te-ve+(te-De))/2,de/=Sf((te-ve)*(te-ve)+(te-De)*(ve-De)),de=pi(de),De>ve&&(de=Af-de),de/=Af),[de*360,at,Ne]},kf=Fs,Br=I.unpack,wl=I.limit,Lo=I.TWOPI,Bo=I.PITHIRD,Un=Math.cos,Xd=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Br(S,"hsi");var V=S[0],te=S[1],ve=S[2],De,de,Pe;return isNaN(V)&&(V=0),isNaN(te)&&(te=0),V>360&&(V-=360),V<0&&(V+=360),V/=360,V<1/3?(Pe=(1-te)/3,De=(1+te*Un(Lo*V)/Un(Bo-Lo*V))/3,de=1-(Pe+De)):V<2/3?(V-=1/3,De=(1-te)/3,de=(1+te*Un(Lo*V)/Un(Bo-Lo*V))/3,Pe=1-(De+de)):(V-=2/3,de=(1-te)/3,Pe=(1+te*Un(Lo*V)/Un(Bo-Lo*V))/3,De=1-(de+Pe)),De=wl(ve*De*3),de=wl(ve*de*3),Pe=wl(ve*Pe*3),[De*255,de*255,Pe*255,S.length>3?S[3]:1]},Pi=Xd,gh=I.unpack,mh=I.type,Tr=re,Vs=Z,Kc=z,Xl=kf;Vs.prototype.hsi=function(){return Xl(this._rgb)},Tr.hsi=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Vs,[null].concat(S,["hsi"])))},Kc.format.hsi=Pi,Kc.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=gh(S,"hsi"),mh(S)==="array"&&S.length===3)return"hsi"}});var Of=I.unpack,Rf=I.type,on=re,Jl=Z,Qc=z,Cn=Ce;Jl.prototype.hsl=function(){return Cn(this._rgb)},on.hsl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Jl,[null].concat(S,["hsl"])))},Qc.format.hsl=_t,Qc.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=Of(S,"hsl"),Rf(S)==="array"&&S.length===3)return"hsl"}});var Pf=I.unpack,Xc=Math.min,Zl=Math.max,Uo=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Pf(S,"rgb");var V=S[0],te=S[1],ve=S[2],De=Xc(V,te,ve),de=Zl(V,te,ve),Pe=de-De,Ne,at,ct;return ct=de/255,de===0?(Ne=Number.NaN,at=0):(at=Pe/de,V===de&&(Ne=(te-ve)/Pe),te===de&&(Ne=2+(ve-V)/Pe),ve===de&&(Ne=4+(V-te)/Pe),Ne*=60,Ne<0&&(Ne+=360)),[Ne,at,ct]},If=Uo,vh=I.unpack,Wn=Math.floor,Jc=function(){for(var S,N,V,te,ve,De,de=[],Pe=arguments.length;Pe--;)de[Pe]=arguments[Pe];de=vh(de,"hsv");var Ne=de[0],at=de[1],ct=de[2],$t,bt,Xt;if(ct*=255,at===0)$t=bt=Xt=ct;else{Ne===360&&(Ne=0),Ne>360&&(Ne-=360),Ne<0&&(Ne+=360),Ne/=60;var Jt=Wn(Ne),Ir=Ne-Jt,Ar=ct*(1-at),$r=ct*(1-at*Ir),ln=ct*(1-at*(1-Ir));switch(Jt){case 0:S=[ct,ln,Ar],$t=S[0],bt=S[1],Xt=S[2];break;case 1:N=[$r,ct,Ar],$t=N[0],bt=N[1],Xt=N[2];break;case 2:V=[Ar,ct,ln],$t=V[0],bt=V[1],Xt=V[2];break;case 3:te=[Ar,$r,ct],$t=te[0],bt=te[1],Xt=te[2];break;case 4:ve=[ln,Ar,ct],$t=ve[0],bt=ve[1],Xt=ve[2];break;case 5:De=[ct,Ar,$r],$t=De[0],bt=De[1],Xt=De[2];break}}return[$t,bt,Xt,de.length>3?de[3]:1]},Nf=Jc,Mf=I.unpack,Zc=I.type,eu=re,ec=Z,Tn=z,Ys=If;ec.prototype.hsv=function(){return Ys(this._rgb)},eu.hsv=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ec,[null].concat(S,["hsv"])))},Tn.format.hsv=Nf,Tn.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=Mf(S,"hsv"),Zc(S)==="array"&&S.length===3)return"hsv"}});var ao={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},$o=ao,Jd=I.unpack,bh=Math.pow,Lf=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Jd(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=Ii(te,ve,De),Pe=de[0],Ne=de[1],at=de[2],ct=116*Ne-16;return[ct<0?0:ct,500*(Pe-Ne),200*(Ne-at)]},tu=function(S){return(S/=255)<=.04045?S/12.92:bh((S+.055)/1.055,2.4)},ru=function(S){return S>$o.t3?bh(S,1/3):S/$o.t2+$o.t0},Ii=function(S,N,V){S=tu(S),N=tu(N),V=tu(V);var te=ru((.4124564*S+.3575761*N+.1804375*V)/$o.Xn),ve=ru((.2126729*S+.7151522*N+.072175*V)/$o.Yn),De=ru((.0193339*S+.119192*N+.9503041*V)/$o.Zn);return[te,ve,De]},Dl=Lf,St=ao,Mn=I.unpack,Nn=Math.pow,tc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Mn(S,"lab");var V=S[0],te=S[1],ve=S[2],De,de,Pe,Ne,at,ct;return de=(V+16)/116,De=isNaN(te)?de:de+te/500,Pe=isNaN(ve)?de:de-ve/200,de=St.Yn*Ba(de),De=St.Xn*Ba(De),Pe=St.Zn*Ba(Pe),Ne=oi(3.2404542*De-1.5371385*de-.4985314*Pe),at=oi(-.969266*De+1.8760108*de+.041556*Pe),ct=oi(.0556434*De-.2040259*de+1.0572252*Pe),[Ne,at,ct,S.length>3?S[3]:1]},oi=function(S){return 255*(S<=.00304?12.92*S:1.055*Nn(S,1/2.4)-.055)},Ba=function(S){return S>St.t1?S*S*S:St.t2*(S-St.t0)},cs=tc,yh=I.unpack,_h=I.type,Bf=re,Uf=Z,Di=z,nu=Dl;Uf.prototype.lab=function(){return nu(this._rgb)},Bf.lab=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Uf,[null].concat(S,["lab"])))},Di.format.lab=cs,Di.autodetect.push({p:2,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=yh(S,"lab"),_h(S)==="array"&&S.length===3)return"lab"}});var oo=I.unpack,$f=I.RAD2DEG,iu=Math.sqrt,Es=Math.atan2,Hf=Math.round,rc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=oo(S,"lab"),te=V[0],ve=V[1],De=V[2],de=iu(ve*ve+De*De),Pe=(Es(De,ve)*$f+360)%360;return Hf(de*1e4)===0&&(Pe=Number.NaN),[te,de,Pe]},su=rc,Ho=I.unpack,au=Dl,ou=su,rs=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Ho(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=au(te,ve,De),Pe=de[0],Ne=de[1],at=de[2];return ou(Pe,Ne,at)},Wf=rs,us=I.unpack,lu=I.DEG2RAD,cu=Math.sin,xs=Math.cos,Is=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=us(S,"lch"),te=V[0],ve=V[1],De=V[2];return isNaN(De)&&(De=0),De=De*lu,[te,xs(De)*ve,cu(De)*ve]},uu=Is,Ur=I.unpack,fs=uu,zf=cs,nc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=Ur(S,"lch");var V=S[0],te=S[1],ve=S[2],De=fs(V,te,ve),de=De[0],Pe=De[1],Ne=De[2],at=zf(de,Pe,Ne),ct=at[0],$t=at[1],bt=at[2];return[ct,$t,bt,S.length>3?S[3]:1]},fu=nc,Zd=I.unpack,e1=fu,t1=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=Zd(S,"hcl").reverse();return e1.apply(void 0,V)},Gf=t1,gi=I.unpack,li=I.type,rt=re,Cs=Z,Ni=z,ft=Wf;Cs.prototype.lch=function(){return ft(this._rgb)},Cs.prototype.hcl=function(){return ft(this._rgb).reverse()},rt.lch=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Cs,[null].concat(S,["lch"])))},rt.hcl=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Cs,[null].concat(S,["hcl"])))},Ni.format.lch=fu,Ni.format.hcl=Gf,["lch","hcl"].forEach(function(S){return Ni.autodetect.push({p:2,test:function(){for(var N=[],V=arguments.length;V--;)N[V]=arguments[V];if(N=gi(N,S),li(N)==="array"&&N.length===3)return S}})});var Wo={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},hu=Wo,ic=Z,Fl=z,sc=I.type,$n=hu,du=Jn,Qr=dh;ic.prototype.name=function(){for(var S=Qr(this._rgb,"rgb"),N=0,V=Object.keys($n);N<V.length;N+=1){var te=V[N];if($n[te]===S)return te.toLowerCase()}return S},Fl.format.named=function(S){if(S=S.toLowerCase(),$n[S])return du($n[S]);throw new Error("unknown color name: "+S)},Fl.autodetect.push({p:5,test:function(S){for(var N=[],V=arguments.length-1;V-- >0;)N[V]=arguments[V+1];if(!N.length&&sc(S)==="string"&&$n[S.toLowerCase()])return"named"}});var zn=I.unpack,Dr=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=zn(S,"rgb"),te=V[0],ve=V[1],De=V[2];return(te<<16)+(ve<<8)+De},Vi=Dr,Mr=I.type,Zr=function(S){if(Mr(S)=="number"&&S>=0&&S<=16777215){var N=S>>16,V=S>>8&255,te=S&255;return[N,V,te,1]}throw new Error("unknown num color: "+S)},r1=Zr,da=re,Ua=Z,jf=z,qs=I.type,Ks=Vi;Ua.prototype.num=function(){return Ks(this._rgb)},da.num=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Ua,[null].concat(S,["num"])))},jf.format.num=r1,jf.autodetect.push({p:5,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S.length===1&&qs(S[0])==="number"&&S[0]>=0&&S[0]<=16777215)return"num"}});var Yi=re,ni=Z,ac=z,$a=I.unpack,oc=I.type,Ts=Math.round;ni.prototype.rgb=function(S){return S===void 0&&(S=!0),S===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Ts)},ni.prototype.rgba=function(S){return S===void 0&&(S=!0),this._rgb.slice(0,4).map(function(N,V){return V<3?S===!1?N:Ts(N):N})},Yi.rgb=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(ni,[null].concat(S,["rgb"])))},ac.format.rgb=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=$a(S,"rgba");return V[3]===void 0&&(V[3]=1),V},ac.autodetect.push({p:3,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=$a(S,"rgba"),oc(S)==="array"&&(S.length===3||S.length===4&&oc(S[3])=="number"&&S[3]>=0&&S[3]<=1))return"rgb"}});var pa=Math.log,zo=function(S){var N=S/100,V,te,ve;return N<66?(V=255,te=N<6?0:-155.25485562709179-.44596950469579133*(te=N-2)+104.49216199393888*pa(te),ve=N<20?0:-254.76935184120902+.8274096064007395*(ve=N-10)+115.67994401066147*pa(ve)):(V=351.97690566805693+.114206453784165*(V=N-55)-40.25366309332127*pa(V),te=325.4494125711974+.07943456536662342*(te=N-50)-28.0852963507957*pa(te),ve=255),[V,te,ve,1]},As=zo,Qs=As,Vf=I.unpack,Yf=Math.round,pu=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];for(var V=Vf(S,"rgb"),te=V[0],ve=V[2],De=1e3,de=4e4,Pe=.4,Ne;de-De>Pe;){Ne=(de+De)*.5;var at=Qs(Ne);at[2]/at[0]>=ve/te?de=Ne:De=Ne}return Yf(Ne)},n1=pu,lc=re,El=Z,ga=z,Te=n1;El.prototype.temp=El.prototype.kelvin=El.prototype.temperature=function(){return Te(this._rgb)},lc.temp=lc.kelvin=lc.temperature=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(El,[null].concat(S,["temp"])))},ga.format.temp=ga.format.kelvin=ga.format.temperature=As;var nt=I.unpack,He=Math.cbrt,Gt=Math.pow,fr=Math.sign,en=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=nt(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=[_n(te/255),_n(ve/255),_n(De/255)],Pe=de[0],Ne=de[1],at=de[2],ct=He(.4122214708*Pe+.5363325363*Ne+.0514459929*at),$t=He(.2119034982*Pe+.6806995451*Ne+.1073969566*at),bt=He(.0883024619*Pe+.2817188376*Ne+.6299787005*at);return[.2104542553*ct+.793617785*$t-.0040720468*bt,1.9779984951*ct-2.428592205*$t+.4505937099*bt,.0259040371*ct+.7827717662*$t-.808675766*bt]},Zn=en;function _n(S){var N=Math.abs(S);return N<.04045?S/12.92:(fr(S)||1)*Gt((N+.055)/1.055,2.4)}var cc=I.unpack,Mi=Math.pow,Ss=Math.sign,uc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=cc(S,"lab");var V=S[0],te=S[1],ve=S[2],De=Mi(V+.3963377774*te+.2158037573*ve,3),de=Mi(V-.1055613458*te-.0638541728*ve,3),Pe=Mi(V-.0894841775*te-1.291485548*ve,3);return[255*ma(4.0767416621*De-3.3077115913*de+.2309699292*Pe),255*ma(-1.2684380046*De+2.6097574011*de-.3413193965*Pe),255*ma(-.0041960863*De-.7034186147*de+1.707614701*Pe),S.length>3?S[3]:1]},wh=uc;function ma(S){var N=Math.abs(S);return N>.0031308?(Ss(S)||1)*(1.055*Mi(N,1/2.4)-.055):S*12.92}var xl=I.unpack,fc=I.type,An=re,Cl=Z,Xs=z,hc=Zn;Cl.prototype.oklab=function(){return hc(this._rgb)},An.oklab=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(Cl,[null].concat(S,["oklab"])))},Xs.format.oklab=wh,Xs.autodetect.push({p:3,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=xl(S,"oklab"),fc(S)==="array"&&S.length===3)return"oklab"}});var qf=I.unpack,gu=Zn,Kf=su,dc=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];var V=qf(S,"rgb"),te=V[0],ve=V[1],De=V[2],de=gu(te,ve,De),Pe=de[0],Ne=de[1],at=de[2];return Kf(Pe,Ne,at)},Sr=dc,lo=I.unpack,Tl=uu,Ha=wh,wn=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];S=lo(S,"lch");var V=S[0],te=S[1],ve=S[2],De=Tl(V,te,ve),de=De[0],Pe=De[1],Ne=De[2],at=Ha(de,Pe,Ne),ct=at[0],$t=at[1],bt=at[2];return[ct,$t,bt,S.length>3?S[3]:1]},Dh=wn,pc=I.unpack,Qf=I.type,qi=re,co=Z,Al=z,Xf=Sr;co.prototype.oklch=function(){return Xf(this._rgb)},qi.oklch=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];return new(Function.prototype.bind.apply(co,[null].concat(S,["oklch"])))},Al.format.oklch=Dh,Al.autodetect.push({p:3,test:function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];if(S=pc(S,"oklch"),Qf(S)==="array"&&S.length===3)return"oklch"}});var Jf=Z,Go=I.type;Jf.prototype.alpha=function(S,N){return N===void 0&&(N=!1),S!==void 0&&Go(S)==="number"?N?(this._rgb[3]=S,this):new Jf([this._rgb[0],this._rgb[1],this._rgb[2],S],"rgb"):this._rgb[3]};var gc=Z;gc.prototype.clipped=function(){return this._rgb._clipped||!1};var Js=Z,mu=ao;Js.prototype.darken=function(S){S===void 0&&(S=1);var N=this,V=N.lab();return V[0]-=mu.Kn*S,new Js(V,"lab").alpha(N.alpha(),!0)},Js.prototype.brighten=function(S){return S===void 0&&(S=1),this.darken(-S)},Js.prototype.darker=Js.prototype.darken,Js.prototype.brighter=Js.prototype.brighten;var i1=Z;i1.prototype.get=function(S){var N=S.split("."),V=N[0],te=N[1],ve=this[V]();if(te){var De=V.indexOf(te)-(V.substr(0,2)==="ok"?2:0);if(De>-1)return ve[De];throw new Error("unknown channel "+te+" in mode "+V)}else return ve};var uo=Z,Fh=I.type,Zf=Math.pow,ci=1e-7,Li=20;uo.prototype.luminance=function(S){if(S!==void 0&&Fh(S)==="number"){if(S===0)return new uo([0,0,0,this._rgb[3]],"rgb");if(S===1)return new uo([255,255,255,this._rgb[3]],"rgb");var N=this.luminance(),V="rgb",te=Li,ve=function(de,Pe){var Ne=de.interpolate(Pe,.5,V),at=Ne.luminance();return Math.abs(S-at)<ci||!te--?Ne:at>S?ve(de,Ne):ve(Ne,Pe)},De=(N>S?ve(new uo([0,0,0]),this):ve(this,new uo([255,255,255]))).rgb();return new uo(De.concat([this._rgb[3]]))}return Eh.apply(void 0,this._rgb.slice(0,3))};var Eh=function(S,N,V){return S=vu(S),N=vu(N),V=vu(V),.2126*S+.7152*N+.0722*V},vu=function(S){return S/=255,S<=.03928?S/12.92:Zf((S+.055)/1.055,2.4)},ns={},xh=Z,mc=I.type,Wa=ns,jo=function(S,N,V){V===void 0&&(V=.5);for(var te=[],ve=arguments.length-3;ve-- >0;)te[ve]=arguments[ve+3];var De=te[0]||"lrgb";if(!Wa[De]&&!te.length&&(De=Object.keys(Wa)[0]),!Wa[De])throw new Error("interpolation mode "+De+" is not defined");return mc(S)!=="object"&&(S=new xh(S)),mc(N)!=="object"&&(N=new xh(N)),Wa[De](S,N,V).alpha(S.alpha()+V*(N.alpha()-S.alpha()))},fo=Z,Sl=jo;fo.prototype.mix=fo.prototype.interpolate=function(S,N){N===void 0&&(N=.5);for(var V=[],te=arguments.length-2;te-- >0;)V[te]=arguments[te+2];return Sl.apply(void 0,[this,S,N].concat(V))};var Vo=Z;Vo.prototype.premultiply=function(S){S===void 0&&(S=!1);var N=this._rgb,V=N[3];return S?(this._rgb=[N[0]*V,N[1]*V,N[2]*V,V],this):new Vo([N[0]*V,N[1]*V,N[2]*V,V],"rgb")};var Yo=Z,qo=ao;Yo.prototype.saturate=function(S){S===void 0&&(S=1);var N=this,V=N.lch();return V[1]+=qo.Kn*S,V[1]<0&&(V[1]=0),new Yo(V,"lch").alpha(N.alpha(),!0)},Yo.prototype.desaturate=function(S){return S===void 0&&(S=1),this.saturate(-S)};var e0=Z,za=I.type;e0.prototype.set=function(S,N,V){V===void 0&&(V=!1);var te=S.split("."),ve=te[0],De=te[1],de=this[ve]();if(De){var Pe=ve.indexOf(De)-(ve.substr(0,2)==="ok"?2:0);if(Pe>-1){if(za(N)=="string")switch(N.charAt(0)){case"+":de[Pe]+=+N;break;case"-":de[Pe]+=+N;break;case"*":de[Pe]*=+N.substr(1);break;case"/":de[Pe]/=+N.substr(1);break;default:de[Pe]=+N}else if(za(N)==="number")de[Pe]=N;else throw new Error("unsupported value for Color.set");var Ne=new e0(de,ve);return V?(this._rgb=Ne._rgb,this):Ne}throw new Error("unknown channel "+De+" in mode "+ve)}else return de};var ui=Z,is=function(S,N,V){var te=S._rgb,ve=N._rgb;return new ui(te[0]+V*(ve[0]-te[0]),te[1]+V*(ve[1]-te[1]),te[2]+V*(ve[2]-te[2]),"rgb")};ns.rgb=is;var mi=Z,Bi=Math.sqrt,Zs=Math.pow,t0=function(S,N,V){var te=S._rgb,ve=te[0],De=te[1],de=te[2],Pe=N._rgb,Ne=Pe[0],at=Pe[1],ct=Pe[2];return new mi(Bi(Zs(ve,2)*(1-V)+Zs(Ne,2)*V),Bi(Zs(De,2)*(1-V)+Zs(at,2)*V),Bi(Zs(de,2)*(1-V)+Zs(ct,2)*V),"rgb")};ns.lrgb=t0;var Q=Z,Ns=function(S,N,V){var te=S.lab(),ve=N.lab();return new Q(te[0]+V*(ve[0]-te[0]),te[1]+V*(ve[1]-te[1]),te[2]+V*(ve[2]-te[2]),"lab")};ns.lab=Ns;var Ga=Z,ei=function(S,N,V,te){var ve,De,de,Pe;te==="hsl"?(de=S.hsl(),Pe=N.hsl()):te==="hsv"?(de=S.hsv(),Pe=N.hsv()):te==="hcg"?(de=S.hcg(),Pe=N.hcg()):te==="hsi"?(de=S.hsi(),Pe=N.hsi()):te==="lch"||te==="hcl"?(te="hcl",de=S.hcl(),Pe=N.hcl()):te==="oklch"&&(de=S.oklch().reverse(),Pe=N.oklch().reverse());var Ne,at,ct,$t,bt,Xt;(te.substr(0,1)==="h"||te==="oklch")&&(ve=de,Ne=ve[0],ct=ve[1],bt=ve[2],De=Pe,at=De[0],$t=De[1],Xt=De[2]);var Jt,Ir,Ar,$r;return!isNaN(Ne)&&!isNaN(at)?(at>Ne&&at-Ne>180?$r=at-(Ne+360):at<Ne&&Ne-at>180?$r=at+360-Ne:$r=at-Ne,Ir=Ne+V*$r):isNaN(Ne)?isNaN(at)?Ir=Number.NaN:(Ir=at,(bt==1||bt==0)&&te!="hsv"&&(Jt=$t)):(Ir=Ne,(Xt==1||Xt==0)&&te!="hsv"&&(Jt=ct)),Jt===void 0&&(Jt=ct+V*($t-ct)),Ar=bt+V*(Xt-bt),te==="oklch"?new Ga([Ar,Jt,Ir],te):new Ga([Ir,Jt,Ar],te)},Xr=ei,Ch=function(S,N,V){return Xr(S,N,V,"lch")};ns.lch=Ch,ns.hcl=Ch;var bu=Z,Th=function(S,N,V){var te=S.num(),ve=N.num();return new bu(te+V*(ve-te),"num")};ns.num=Th;var ho=ei,Ah=function(S,N,V){return ho(S,N,V,"hcg")};ns.hcg=Ah;var va=ei,Ko=function(S,N,V){return va(S,N,V,"hsi")};ns.hsi=Ko;var Sh=ei,yu=function(S,N,V){return Sh(S,N,V,"hsl")};ns.hsl=yu;var ba=ei,kh=function(S,N,V){return ba(S,N,V,"hsv")};ns.hsv=kh;var s1=Z,Oh=function(S,N,V){var te=S.oklab(),ve=N.oklab();return new s1(te[0]+V*(ve[0]-te[0]),te[1]+V*(ve[1]-te[1]),te[2]+V*(ve[2]-te[2]),"oklab")};ns.oklab=Oh;var Ki=ei,a1=function(S,N,V){return Ki(S,N,V,"oklch")};ns.oklch=a1;var hs=Z,r0=I.clip_rgb,n0=Math.pow,_u=Math.sqrt,wu=Math.PI,i0=Math.cos,ja=Math.sin,Rh=Math.atan2,Ph=function(S,N,V){N===void 0&&(N="lrgb"),V===void 0&&(V=null);var te=S.length;V||(V=Array.from(new Array(te)).map(function(){return 1}));var ve=te/V.reduce(function(Ir,Ar){return Ir+Ar});if(V.forEach(function(Ir,Ar){V[Ar]*=ve}),S=S.map(function(Ir){return new hs(Ir)}),N==="lrgb")return ea(S,V);for(var De=S.shift(),de=De.get(N),Pe=[],Ne=0,at=0,ct=0;ct<de.length;ct++)if(de[ct]=(de[ct]||0)*V[0],Pe.push(isNaN(de[ct])?0:V[0]),N.charAt(ct)==="h"&&!isNaN(de[ct])){var $t=de[ct]/180*wu;Ne+=i0($t)*V[0],at+=ja($t)*V[0]}var bt=De.alpha()*V[0];S.forEach(function(Ir,Ar){var $r=Ir.get(N);bt+=Ir.alpha()*V[Ar+1];for(var ln=0;ln<de.length;ln++)if(!isNaN($r[ln]))if(Pe[ln]+=V[Ar+1],N.charAt(ln)==="h"){var Ei=$r[ln]/180*wu;Ne+=i0(Ei)*V[Ar+1],at+=ja(Ei)*V[Ar+1]}else de[ln]+=$r[ln]*V[Ar+1]});for(var Xt=0;Xt<de.length;Xt++)if(N.charAt(Xt)==="h"){for(var Jt=Rh(at/Pe[Xt],Ne/Pe[Xt])/wu*180;Jt<0;)Jt+=360;for(;Jt>=360;)Jt-=360;de[Xt]=Jt}else de[Xt]=de[Xt]/Pe[Xt];return bt/=te,new hs(de,N).alpha(bt>.99999?1:bt,!0)},ea=function(S,N){for(var V=S.length,te=[0,0,0,0],ve=0;ve<S.length;ve++){var De=S[ve],de=N[ve]/V,Pe=De._rgb;te[0]+=n0(Pe[0],2)*de,te[1]+=n0(Pe[1],2)*de,te[2]+=n0(Pe[2],2)*de,te[3]+=Pe[3]*de}return te[0]=_u(te[0]),te[1]=_u(te[1]),te[2]=_u(te[2]),te[3]>.9999999&&(te[3]=1),new hs(r0(te))},Ms=re,Qo=I.type,Ih=Math.pow,s0=function(S){var N="rgb",V=Ms("#ccc"),te=0,ve=[0,1],De=[],de=[0,0],Pe=!1,Ne=[],at=!1,ct=0,$t=1,bt=!1,Xt={},Jt=!0,Ir=1,Ar=function(Ft){if(Ft=Ft||["#fff","#000"],Ft&&Qo(Ft)==="string"&&Ms.brewer&&Ms.brewer[Ft.toLowerCase()]&&(Ft=Ms.brewer[Ft.toLowerCase()]),Qo(Ft)==="array"){Ft.length===1&&(Ft=[Ft[0],Ft[0]]),Ft=Ft.slice(0);for(var wr=0;wr<Ft.length;wr++)Ft[wr]=Ms(Ft[wr]);De.length=0;for(var Gr=0;Gr<Ft.length;Gr++)De.push(Gr/(Ft.length-1))}return xi(),Ne=Ft},$r=function(Ft){if(Pe!=null){for(var wr=Pe.length-1,Gr=0;Gr<wr&&Ft>=Pe[Gr];)Gr++;return Gr-1}return 0},ln=function(Ft){return Ft},Ei=function(Ft){return Ft},Vn=function(Ft,wr){var Gr,or;if(wr==null&&(wr=!1),isNaN(Ft)||Ft===null)return V;if(wr)or=Ft;else if(Pe&&Pe.length>2){var fi=$r(Ft);or=fi/(Pe.length-2)}else $t!==ct?or=(Ft-ct)/($t-ct):or=1;or=Ei(or),wr||(or=ln(or)),Ir!==1&&(or=Ih(or,Ir)),or=de[0]+or*(1-de[0]-de[1]),or=Math.min(1,Math.max(0,or));var Jr=Math.floor(or*1e4);if(Jt&&Xt[Jr])Gr=Xt[Jr];else{if(Qo(Ne)==="array")for(var qr=0;qr<De.length;qr++){var hn=De[qr];if(or<=hn){Gr=Ne[qr];break}if(or>=hn&&qr===De.length-1){Gr=Ne[qr];break}if(or>hn&&or<De[qr+1]){or=(or-hn)/(De[qr+1]-hn),Gr=Ms.interpolate(Ne[qr],Ne[qr+1],or,N);break}}else Qo(Ne)==="function"&&(Gr=Ne(or));Jt&&(Xt[Jr]=Gr)}return Gr},xi=function(){return Xt={}};Ar(S);var zr=function(Ft){var wr=Ms(Vn(Ft));return at&&wr[at]?wr[at]():wr};return zr.classes=function(Ft){if(Ft!=null){if(Qo(Ft)==="array")Pe=Ft,ve=[Ft[0],Ft[Ft.length-1]];else{var wr=Ms.analyze(ve);Ft===0?Pe=[wr.min,wr.max]:Pe=Ms.limits(wr,"e",Ft)}return zr}return Pe},zr.domain=function(Ft){if(!arguments.length)return ve;ct=Ft[0],$t=Ft[Ft.length-1],De=[];var wr=Ne.length;if(Ft.length===wr&&ct!==$t)for(var Gr=0,or=Array.from(Ft);Gr<or.length;Gr+=1){var fi=or[Gr];De.push((fi-ct)/($t-ct))}else{for(var Jr=0;Jr<wr;Jr++)De.push(Jr/(wr-1));if(Ft.length>2){var qr=Ft.map(function(cn,tn){return tn/(Ft.length-1)}),hn=Ft.map(function(cn){return(cn-ct)/($t-ct)});hn.every(function(cn,tn){return qr[tn]===cn})||(Ei=function(cn){if(cn<=0||cn>=1)return cn;for(var tn=0;cn>=hn[tn+1];)tn++;var Bs=(cn-hn[tn])/(hn[tn+1]-hn[tn]),Us=qr[tn]+Bs*(qr[tn+1]-qr[tn]);return Us})}}return ve=[ct,$t],zr},zr.mode=function(Ft){return arguments.length?(N=Ft,xi(),zr):N},zr.range=function(Ft,wr){return Ar(Ft),zr},zr.out=function(Ft){return at=Ft,zr},zr.spread=function(Ft){return arguments.length?(te=Ft,zr):te},zr.correctLightness=function(Ft){return Ft==null&&(Ft=!0),bt=Ft,xi(),bt?ln=function(wr){for(var Gr=Vn(0,!0).lab()[0],or=Vn(1,!0).lab()[0],fi=Gr>or,Jr=Vn(wr,!0).lab()[0],qr=Gr+(or-Gr)*wr,hn=Jr-qr,cn=0,tn=1,Bs=20;Math.abs(hn)>.01&&Bs-- >0;)(function(){return fi&&(hn*=-1),hn<0?(cn=wr,wr+=(tn-wr)*.5):(tn=wr,wr+=(cn-wr)*.5),Jr=Vn(wr,!0).lab()[0],hn=Jr-qr})();return wr}:ln=function(wr){return wr},zr},zr.padding=function(Ft){return Ft!=null?(Qo(Ft)==="number"&&(Ft=[Ft,Ft]),de=Ft,zr):de},zr.colors=function(Ft,wr){arguments.length<2&&(wr="hex");var Gr=[];if(arguments.length===0)Gr=Ne.slice(0);else if(Ft===1)Gr=[zr(.5)];else if(Ft>1){var or=ve[0],fi=ve[1]-or;Gr=o1(0,Ft,!1).map(function(tn){return zr(or+tn/(Ft-1)*fi)})}else{S=[];var Jr=[];if(Pe&&Pe.length>2)for(var qr=1,hn=Pe.length,cn=1<=hn;cn?qr<hn:qr>hn;cn?qr++:qr--)Jr.push((Pe[qr-1]+Pe[qr])*.5);else Jr=ve;Gr=Jr.map(function(tn){return zr(tn)})}return Ms[wr]&&(Gr=Gr.map(function(tn){return tn[wr]()})),Gr},zr.cache=function(Ft){return Ft!=null?(Jt=Ft,zr):Jt},zr.gamma=function(Ft){return Ft!=null?(Ir=Ft,zr):Ir},zr.nodata=function(Ft){return Ft!=null?(V=Ms(Ft),zr):V},zr};function o1(S,N,V){for(var te=[],ve=S<N,De=V?ve?N+1:N-1:N,de=S;ve?de<De:de>De;ve?de++:de--)te.push(de);return te}var Xo=Z,Nh=s0,l1=function(S){for(var N=[1,1],V=1;V<S;V++){for(var te=[1],ve=1;ve<=N.length;ve++)te[ve]=(N[ve]||0)+N[ve-1];N=te}return N},Mh=function(S){var N,V,te,ve,De,de,Pe;if(S=S.map(function(bt){return new Xo(bt)}),S.length===2)N=S.map(function(bt){return bt.lab()}),De=N[0],de=N[1],ve=function(bt){var Xt=[0,1,2].map(function(Jt){return De[Jt]+bt*(de[Jt]-De[Jt])});return new Xo(Xt,"lab")};else if(S.length===3)V=S.map(function(bt){return bt.lab()}),De=V[0],de=V[1],Pe=V[2],ve=function(bt){var Xt=[0,1,2].map(function(Jt){return(1-bt)*(1-bt)*De[Jt]+2*(1-bt)*bt*de[Jt]+bt*bt*Pe[Jt]});return new Xo(Xt,"lab")};else if(S.length===4){var Ne;te=S.map(function(bt){return bt.lab()}),De=te[0],de=te[1],Pe=te[2],Ne=te[3],ve=function(bt){var Xt=[0,1,2].map(function(Jt){return(1-bt)*(1-bt)*(1-bt)*De[Jt]+3*(1-bt)*(1-bt)*bt*de[Jt]+3*(1-bt)*bt*bt*Pe[Jt]+bt*bt*bt*Ne[Jt]});return new Xo(Xt,"lab")}}else if(S.length>=5){var at,ct,$t;at=S.map(function(bt){return bt.lab()}),$t=S.length-1,ct=l1($t),ve=function(bt){var Xt=1-bt,Jt=[0,1,2].map(function(Ir){return at.reduce(function(Ar,$r,ln){return Ar+ct[ln]*Math.pow(Xt,$t-ln)*Math.pow(bt,ln)*$r[Ir]},0)});return new Xo(Jt,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return ve},Du=function(S){var N=Mh(S);return N.scale=function(){return Nh(N)},N},ya=re,ds=function(S,N,V){if(!ds[V])throw new Error("unknown blend mode "+V);return ds[V](S,N)},_a=function(S){return function(N,V){var te=ya(V).rgb(),ve=ya(N).rgb();return ya.rgb(S(te,ve))}},wa=function(S){return function(N,V){var te=[];return te[0]=S(N[0],V[0]),te[1]=S(N[1],V[1]),te[2]=S(N[2],V[2]),te}},Fu=function(S){return S},Da=function(S,N){return S*N/255},Eu=function(S,N){return S>N?N:S},po=function(S,N){return S>N?S:N},ks=function(S,N){return 255*(1-(1-S/255)*(1-N/255))},xu=function(S,N){return N<128?2*S*N/255:255*(1-2*(1-S/255)*(1-N/255))},a0=function(S,N){return 255*(1-(1-N/255)/(S/255))},o0=function(S,N){return S===255?255:(S=255*(N/255)/(1-S/255),S>255?255:S)};ds.normal=_a(wa(Fu)),ds.multiply=_a(wa(Da)),ds.screen=_a(wa(ks)),ds.overlay=_a(wa(xu)),ds.darken=_a(wa(Eu)),ds.lighten=_a(wa(po)),ds.dodge=_a(wa(o0)),ds.burn=_a(wa(a0));for(var go=ds,ta=I.type,vc=I.clip_rgb,Fa=I.TWOPI,bc=Math.pow,l0=Math.sin,c0=Math.cos,Fi=re,Cu=function(S,N,V,te,ve){S===void 0&&(S=300),N===void 0&&(N=-1.5),V===void 0&&(V=1),te===void 0&&(te=1),ve===void 0&&(ve=[0,1]);var De=0,de;ta(ve)==="array"?de=ve[1]-ve[0]:(de=0,ve=[ve,ve]);var Pe=function(Ne){var at=Fa*((S+120)/360+N*Ne),ct=bc(ve[0]+de*Ne,te),$t=De!==0?V[0]+Ne*De:V,bt=$t*ct*(1-ct)/2,Xt=c0(at),Jt=l0(at),Ir=ct+bt*(-.14861*Xt+1.78277*Jt),Ar=ct+bt*(-.29227*Xt-.90649*Jt),$r=ct+bt*(1.97294*Xt);return Fi(vc([Ir*255,Ar*255,$r*255,1]))};return Pe.start=function(Ne){return Ne==null?S:(S=Ne,Pe)},Pe.rotations=function(Ne){return Ne==null?N:(N=Ne,Pe)},Pe.gamma=function(Ne){return Ne==null?te:(te=Ne,Pe)},Pe.hue=function(Ne){return Ne==null?V:(V=Ne,ta(V)==="array"?(De=V[1]-V[0],De===0&&(V=V[1])):De=0,Pe)},Pe.lightness=function(Ne){return Ne==null?ve:(ta(Ne)==="array"?(ve=Ne,de=Ne[1]-Ne[0]):(ve=[Ne,Ne],de=0),Pe)},Pe.scale=function(){return Fi.scale(Pe)},Pe.hue(V),Pe},Tu=Z,ra="0123456789abcdef",yc=Math.floor,Jo=Math.random,Ls=function(){for(var S="#",N=0;N<6;N++)S+=ra.charAt(yc(Jo()*16));return new Tu(S,"hex")},_c=F,Ui=Math.log,u0=Math.pow,c1=Math.floor,Lh=Math.abs,wc=function(S,N){N===void 0&&(N=null);var V={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return _c(S)==="object"&&(S=Object.values(S)),S.forEach(function(te){N&&_c(te)==="object"&&(te=te[N]),te!=null&&!isNaN(te)&&(V.values.push(te),V.sum+=te,te<V.min&&(V.min=te),te>V.max&&(V.max=te),V.count+=1)}),V.domain=[V.min,V.max],V.limits=function(te,ve){return kl(V,te,ve)},V},kl=function(S,N,V){N===void 0&&(N="equal"),V===void 0&&(V=7),_c(S)=="array"&&(S=wc(S));var te=S.min,ve=S.max,De=S.values.sort(function(Iu,Nu){return Iu-Nu});if(V===1)return[te,ve];var de=[];if(N.substr(0,1)==="c"&&(de.push(te),de.push(ve)),N.substr(0,1)==="e"){de.push(te);for(var Pe=1;Pe<V;Pe++)de.push(te+Pe/V*(ve-te));de.push(ve)}else if(N.substr(0,1)==="l"){if(te<=0)throw new Error("Logarithmic scales are only possible for values > 0");var Ne=Math.LOG10E*Ui(te),at=Math.LOG10E*Ui(ve);de.push(te);for(var ct=1;ct<V;ct++)de.push(u0(10,Ne+ct/V*(at-Ne)));de.push(ve)}else if(N.substr(0,1)==="q"){de.push(te);for(var $t=1;$t<V;$t++){var bt=(De.length-1)*$t/V,Xt=c1(bt);if(Xt===bt)de.push(De[Xt]);else{var Jt=bt-Xt;de.push(De[Xt]*(1-Jt)+De[Xt+1]*Jt)}}de.push(ve)}else if(N.substr(0,1)==="k"){var Ir,Ar=De.length,$r=new Array(Ar),ln=new Array(V),Ei=!0,Vn=0,xi=null;xi=[],xi.push(te);for(var zr=1;zr<V;zr++)xi.push(te+zr/V*(ve-te));for(xi.push(ve);Ei;){for(var Ft=0;Ft<V;Ft++)ln[Ft]=0;for(var wr=0;wr<Ar;wr++)for(var Gr=De[wr],or=Number.MAX_VALUE,fi=void 0,Jr=0;Jr<V;Jr++){var qr=Lh(xi[Jr]-Gr);qr<or&&(or=qr,fi=Jr),ln[fi]++,$r[wr]=fi}for(var hn=new Array(V),cn=0;cn<V;cn++)hn[cn]=null;for(var tn=0;tn<Ar;tn++)Ir=$r[tn],hn[Ir]===null?hn[Ir]=De[tn]:hn[Ir]+=De[tn];for(var Bs=0;Bs<V;Bs++)hn[Bs]*=1/ln[Bs];Ei=!1;for(var Us=0;Us<V;Us++)if(hn[Us]!==xi[Us]){Ei=!0;break}xi=hn,Vn++,Vn>200&&(Ei=!1)}for(var ps={},el=0;el<V;el++)ps[el]=[];for(var Va=0;Va<Ar;Va++)Ir=$r[Va],ps[Ir].push(De[Va]);for(var Os=[],Ya=0;Ya<V;Ya++)Os.push(ps[Ya][0]),Os.push(ps[Ya][ps[Ya].length-1]);Os=Os.sort(function(Iu,Nu){return Iu-Nu}),de.push(Os[0]);for(var Ci=1;Ci<Os.length;Ci+=2){var $i=Os[Ci];!isNaN($i)&&de.indexOf($i)===-1&&de.push($i)}}return de},Au={analyze:wc,limits:kl},Zo=Z,mo=function(S,N){S=new Zo(S),N=new Zo(N);var V=S.luminance(),te=N.luminance();return V>te?(V+.05)/(te+.05):(te+.05)/(V+.05)},f0=Z,na=Math.sqrt,Ln=Math.pow,Bh=Math.min,Ol=Math.max,vo=Math.atan2,Su=Math.abs,Dc=Math.cos,h0=Math.sin,Uh=Math.exp,ku=Math.PI,Ou=function(S,N,V,te,ve){V===void 0&&(V=1),te===void 0&&(te=1),ve===void 0&&(ve=1);var De=function($i){return 360*$i/(2*ku)},de=function($i){return 2*ku*$i/360};S=new f0(S),N=new f0(N);var Pe=Array.from(S.lab()),Ne=Pe[0],at=Pe[1],ct=Pe[2],$t=Array.from(N.lab()),bt=$t[0],Xt=$t[1],Jt=$t[2],Ir=(Ne+bt)/2,Ar=na(Ln(at,2)+Ln(ct,2)),$r=na(Ln(Xt,2)+Ln(Jt,2)),ln=(Ar+$r)/2,Ei=.5*(1-na(Ln(ln,7)/(Ln(ln,7)+Ln(25,7)))),Vn=at*(1+Ei),xi=Xt*(1+Ei),zr=na(Ln(Vn,2)+Ln(ct,2)),Ft=na(Ln(xi,2)+Ln(Jt,2)),wr=(zr+Ft)/2,Gr=De(vo(ct,Vn)),or=De(vo(Jt,xi)),fi=Gr>=0?Gr:Gr+360,Jr=or>=0?or:or+360,qr=Su(fi-Jr)>180?(fi+Jr+360)/2:(fi+Jr)/2,hn=1-.17*Dc(de(qr-30))+.24*Dc(de(2*qr))+.32*Dc(de(3*qr+6))-.2*Dc(de(4*qr-63)),cn=Jr-fi;cn=Su(cn)<=180?cn:Jr<=fi?cn+360:cn-360,cn=2*na(zr*Ft)*h0(de(cn)/2);var tn=bt-Ne,Bs=Ft-zr,Us=1+.015*Ln(Ir-50,2)/na(20+Ln(Ir-50,2)),ps=1+.045*wr,el=1+.015*wr*hn,Va=30*Uh(-Ln((qr-275)/25,2)),Os=2*na(Ln(wr,7)/(Ln(wr,7)+Ln(25,7))),Ya=-Os*h0(2*de(Va)),Ci=na(Ln(tn/(V*Us),2)+Ln(Bs/(te*ps),2)+Ln(cn/(ve*el),2)+Ya*(Bs/(te*ps))*(cn/(ve*el)));return Ol(0,Bh(100,Ci))},d0=Z,p0=function(S,N,V){V===void 0&&(V="lab"),S=new d0(S),N=new d0(N);var te=S.get(V),ve=N.get(V),De=0;for(var de in te){var Pe=(te[de]||0)-(ve[de]||0);De+=Pe*Pe}return Math.sqrt(De)},$h=Z,g0=function(){for(var S=[],N=arguments.length;N--;)S[N]=arguments[N];try{return new(Function.prototype.bind.apply($h,[null].concat(S))),!0}catch{return!1}},m0=re,Fc=s0,u1={cool:function(){return Fc([m0.hsl(180,1,.9),m0.hsl(250,.7,.4)])},hot:function(){return Fc(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Ec={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Ru=0,Pu=Object.keys(Ec);Ru<Pu.length;Ru+=1){var v0=Pu[Ru];Ec[v0.toLowerCase()]=Ec[v0]}var f1=Ec,vi=re;vi.average=Ph,vi.bezier=Du,vi.blend=go,vi.cubehelix=Cu,vi.mix=vi.interpolate=jo,vi.random=Ls,vi.scale=s0,vi.analyze=Au.analyze,vi.contrast=mo,vi.deltaE=Ou,vi.distance=p0,vi.limits=Au.limits,vi.valid=g0,vi.scales=u1,vi.colors=hu,vi.brewer=f1;var Hh=vi;return Hh})})(z6);var _P=z6.exports;const wP=Ma(_P);function DP(t){return t=t.toUpperCase().replace(" ","_"),["OK","AC",Bt.ACCEPTED.toString()].includes(t)||[Bt.CORRECT.toString()].includes(t)?Bt.ACCEPTED:[Bt.PARTIALLY_CORRECT.toString()].includes(t)?Bt.PARTIALLY_CORRECT:["WA",Bt.WRONG_ANSWER.toString()].includes(t)?Bt.WRONG_ANSWER:["RJ","INCORRECT",Bt.REJECTED.toString()].includes(t)?Bt.REJECTED:["NO",Bt.NO_OUTPUT.toString()].includes(t)?Bt.NO_OUTPUT:["PD",Bt.PENDING.toString()].includes(t)?Bt.PENDING:[Bt.WAITING.toString()].includes(t)?Bt.WAITING:[Bt.JUDGING.toString()].includes(t)?Bt.JUDGING:[Bt.FROZEN.toString()].includes(t)?Bt.FROZEN:["CE",Bt.COMPILATION_ERROR.toString()].includes(t)?Bt.COMPILATION_ERROR:["PE",Bt.PRESENTATION_ERROR.toString()].includes(t)?Bt.PRESENTATION_ERROR:["TL","TLE",Bt.TIME_LIMIT_EXCEEDED.toString()].includes(t)?Bt.TIME_LIMIT_EXCEEDED:["ML","MLE",Bt.MEMORY_LIMIT_EXCEEDED.toString()].includes(t)?Bt.MEMORY_LIMIT_EXCEEDED:["OL","OLE",Bt.OUTPUT_LIMIT_EXCEEDED.toString()].includes(t)?Bt.OUTPUT_LIMIT_EXCEEDED:["IL","ILE",Bt.IDLENESS_LIMIT_EXCEEDED.toString()].includes(t)?Bt.IDLENESS_LIMIT_EXCEEDED:["RT","RE","RTE",Bt.RUNTIME_ERROR.toString()].includes(t)?Bt.RUNTIME_ERROR:["JE",Bt.JUDGEMENT_FAILED.toString()].includes(t)?Bt.JUDGEMENT_FAILED:["SE",Bt.SYSTEM_ERROR.toString()].includes(t)?Bt.SYSTEM_ERROR:[Bt.HACKED.toString()].includes(t)?Bt.HACKED:[Bt.CONFIGURATION_ERROR.toString()].includes(t)?Bt.CONFIGURATION_ERROR:[Bt.CANCELED.toString()].includes(t)?Bt.CANCELED:[Bt.SKIPPED.toString()].includes(t)?Bt.SKIPPED:[Bt.SECURITY_VIOLATED.toString()].includes(t)?Bt.SECURITY_VIOLATED:[Bt.DENIAL_OF_JUDGEMENT.toString()].includes(t)?Bt.DENIAL_OF_JUDGEMENT:Bt.UNKNOWN}function G6(t){return[Bt.ACCEPTED,Bt.CORRECT].includes(t)}function FP(t){return[Bt.RUNTIME_ERROR,Bt.TIME_LIMIT_EXCEEDED,Bt.MEMORY_LIMIT_EXCEEDED,Bt.OUTPUT_LIMIT_EXCEEDED,Bt.IDLENESS_LIMIT_EXCEEDED,Bt.WRONG_ANSWER,Bt.REJECTED,Bt.NO_OUTPUT,Bt.JUDGEMENT_FAILED,Bt.HACKED].includes(t)}function j6(t){return[Bt.PENDING,Bt.WAITING,Bt.COMPILING,Bt.JUDGING,Bt.FROZEN].includes(t)}function V6(t){return[Bt.COMPILATION_ERROR,Bt.PRESENTATION_ERROR,Bt.CONFIGURATION_ERROR,Bt.SYSTEM_ERROR,Bt.CANCELED,Bt.SKIPPED,Bt.UNKNOWN,Bt.UNDEFINED].includes(t)}Hs.extend($R);Hs.extend(WR);Hs.extend(GR);Hs.extend(VR);Hs.extend(qR);Hs.extend(QR);Hs.extend(JR);Hs.extend(eP);function eo(t=void 0){return t===void 0?Hs():typeof t=="number"&&String(t).length===10?Hs.unix(t):Hs(t)}function Vm(t){const i=e=>e<10?`0${e}`:String(e),s=Math.floor(t/3600),a=Math.floor(t%3600/60),r=t%60;return[i(s),i(a),i(r)].join(":")}class aN{constructor(){}convert(i){let s="";s+=`@contest "${i.contest.name}"
326
326
  @contlen ${Math.floor(Hs.duration(i.contest.endTime.diff(i.contest.startTime)).asMinutes())}
327
327
  @problems ${i.contest.problems.length}
328
328
  @teams ${i.teams.length+100}
@@ -335,4 +335,4 @@ function print() { __p += __j.call(arguments, '') }
335
335
  iVBORw0KGgoAAAANSUhEUgAAAYYAAAFqCAMAAAAp2A0uAAACNFBMVEUAAABQd7NfgsBfgsBfgsBfgsCYLiIFRHNfgsCYLiLsuUFfgsAjVoqYLiKYLiKpTCiYLiIFRHPsuUFfgsCYLiIFRHPsuUEFRHMFRHMFRHPsuUEFRHMFRHPsuUGYLiJfgsAFRHMFRHMFRHNfgsBfgsDsuUEFRHNfgsBfgsBfgsAFRHPsuUGYLiKYLiKYLiJfgsCYLiKYLiJfgsAFRHOYLiIFRHNfgsAFRHNfgsAFRHOYLiJfgsCYLiKYLiKYLiIFRHMFRHMFRHMFRHMFRHOYLiJfgsDsuUEFRHNfgsCYLiLsuUEFRHNfgsDsuUHsuUFfgsAFRHNfgsCYLiIFRHPsuUEFRHMFRHPsuUEFRHOYLiIFRHOYLiIFRHNfgsCYLiLsuUFfgsDsuUEFRHOYLiJfgsCYLiIFRHOYLiKYLiIFRHMFRHOYLiKYLiIFRHOYLiLsuUEFRHNfgsBfgsCYLiJfgsAFRHPsuUGYLiIFRHNfgsCYLiJfgsCYLiJfgsDsuUHsuUEFRHMFRHNfgsAFRHNfgsBfgsBfgsAFRHPsuUFfgsDsuUHsuUEFRHMFRHPsuUGYLiLsuUFfgsCYLiLsuUEFRHOYLiJfgsDsuUHsuUGYLiKYLiJfgsBfgsDsuUHsuUFfgsBfgsBfgsBfgsBfgsBfgsDsuUHsuUHsuUHsuUGYLiJfgsCYLiJfgsDsuUHsuUFfgsDsuUHsuUFfgsBfgsDsuUFfgsAFRHNfgsBfgsCYLiLsuUEFRHO2wI4EAAAAuHRSTlMABAv98zX++OnoHBUH7hsDFgzo9/rL8XsU3V8o5cv0jE6WRMavBR7vhHUh+K+V2N/fLBgaB+7lxG5kJg7RwbagVS9cO8oaDdXNqmLivJA9q+nYX0ktrKb8jonYkINUEQnTinVUTAr0dEHSiYFoNx8Tz7aaRyMQozixfExGMjD14JuTkGljHxC97cHArD62e3pqKA3Zb28rKNO6ook3IrWglWhZOqOCWDIXml8iqZpyP09HQjw4p2ylG/gsHwAAJuVJREFUeNrs3LFr20AUBvA3CVSQ5UF0qzdPrYUNnkTsyUsC7WAKJQRSigk2JHgx1BBCu4YMTXExNP4D0gSTTl2+++sqpdCmtKTS3VMo8vebM91H7u7de7IQERERERERERERERERERERERHdFU7G17048AB4QdxbjSddoYc1HQ7wp3iZhEIPZRTgF8/zcMc5g3gYrZ8h9M9nnWQ9XSed2bgf4YeoVxcq2zJCJloNa/K7+qjl49Z2TahM6zYyWyP5u5NeA5mlUHmWyAy6co9DZBr7QiW5QCpO5H6Lc6SioVAZuj2kxvJvyQCpQ6ESZGsbJJLLLlK7Quq2APiSV8djDmXYBhB3JbdaxH1J3zGAthQxzXKYCSlaAIi6UkjNA6KFkJ5nAI6loElW6AmpOQGwZ3GecFtSFQNYSHEBEAgpqQM4EgvHfF5S1AN8seIDsZDaP0PL/lDpCGnVDAdipRsBPSENfYelvAYaHBVQ4XLOLgCPrQetouFEbPkAOw9aLTenW9aFkLtrp0tnKwuRVFqfLbE2vL1mkbMtp919DoDzMgp8YO5W+yVCzhpO69i9vWeRMw9eIvYYg1oMa7EWMob/IYZ9Pu7piJzOhg6AqZCzAOi4Pc9yLkBB26mhPGYVrWMALJ3GzNpCKsMxK6cQW0Lu9pye9nzOyOg4ctndQ7Z9lMxdXoWGm9UEDZvNppQEwMjhaPBlc1y+O31fVg4xsCd2Dhqb9ZXDjjGPy4rh0H4iOJvq3qSjocwYssPBNsENqxrKjKFuPyGDrObYIGXGILHtrjQBMJFqujx7nTuGnZsrcTcDIrGxquxgffOpMS/yxhC+Mua5Th90LMWFFZ6rf2LMp7wxfDFpZkqfRIdSWKvCvYZ0wc23fDFkkX3Wmp+cS2FBlSf20hje5ovhpTHmo9asUtvmtupV97eVvhpj8sVwk/2liqHFl6ALVPpTnytjzE2uGIwxH0RHo/iS7lZ8Xu/MmNM8MbxJY3gkOrIKYFx4FqAvFfadvbt7TSqM4wD+7YVIoU6Y7ELYbkoqXOViRFTblUhFDRoDGVESKxosklosiJp3YQ42S0J7cUEwXcRW0i48v7+ucx6to+d5ztHjk2576nMRUeiF3+Pze95NEVG1gxgCRIOQZi3fDHm+6kTdymDKEw20j6HCfRlkZzTGvNVn/QGUViaiqbYxZIjS4Ejd1zDvaZdYEIoLEC21i6HE9VYl+TwMxkaNkn5A5frMLHPtDR/DBtdySXrmoQP6XrHLlPwhpyJ91z2GOBGtQWB9E11a6bg83NLVOg4d56bm+EddHMMaEa2DV5Joqs50eJHMtGqFIU1Eq+BwDT8fQ4aVD041QURldEfzddT9eaAbvkEhhQgRDWrCfAJuMZSJqCScF5SZ+j4yxOcgTuEZlBIOENFACgw/KOBjsGLKgJMjyfmNkQN8DvyAQcUT6Xky+EVfh6JzDCnhQsMGGaqQ8c3M4bTrcXTDDJSjLRFRYgIGewkuOcaQJQrALkuGCuR8C7r1gt5GdWWXn2+QIQSbBNGaUwx+QQUIF83mrQRZI4fM8cMjiEya35VDz1/MP59X8KDVXTJsCsLhYnBeklhfJKK0Bimj90eBtz6HJ/7IuN7sqnLHoUPEL7kVWDTiGPgVCT8ZipDx7swBU2zl4mX2KfNLQ3YPoZgtMgxyTX1evJU4x9WAaoLlKGE8qP8xxP70zbaE4NNbKVmqS4tmDnH7SnPVqXNVlBku8N6e0QU+vEXdo5Wo3hA7PfnsCICLD5RcA9UCRBRIwRJeDOQcMssuVuwzgbQGCWNG7R2Kzc3MPLwViw5ZQUwC0Eau6swB3/AsLCNqHj4sEtFiSw4uoaHJKhl+yF56GLPe/MV7vWGI/W9QZy4fRrM7QTUvLbEGEJ4Myg8XjJocbEn2/gtfvVkCM6PXRae15hgU3SzGDyDai7Phgh9SovbVg9lxnXlkbetrGHt3EXUzu75R8ueSEFn2PCeUypDjWmhp2csM9/wdMKNHLs4F9brx5m19UZ/ecHVy5OKLr6wh29WyFMlBpEqGVXRsnc3QigPKU8JLbdAPBKOx2Jlg8ID+x2zz98WHb2O6ZffPaiTJEFiDQIUMU+hUwGm4MMUqRrbzfRY20flYy9LOo/rm7Tuzw7rlOXa1QpZMizkNnEKGNtExLSMcLmytkmlgWUOHZsd0S2x6BKO20dmZP1cbzs4NX/Yd8sWmd/+ht0KemHISdvENeJBaBsefrYewBk/mp8djsfHTDy/CdNV24HlExUEza7pNkVyP3phyYUh4a1TpYTQb2/UdI7GpLHE1QhKrCcy1OKTMcAdPnil7tGeiHkRE7sHla0Jm+W/s8D5063Sz6aCyB91QyhMTSkKef9CqCZLmdZ7SvwOaKpIpsglJqTQx18KQN66LKH0/RmVVvkag8rsmJAF5o+PDjLn+8364mWIbY1psNWrEBLqUFNYEec/V25Hkys9tk/EmzQZr4MkfeljBv8SoEXmJVwtrgrwhFVfY3G2to3vVJHrh6//76HeCWbZF479tNmpOgOO/7fZg9y/uqGA0+I/1WXeoFV3/t67T26EuK7ktbNe5o///rfqd4BnLQcN/0uRnvYf+/4DPdhsZMvTl9uEvx88e/GuunDyHjvnXBgOmgQKAGwEHORiyAaGBLQAL7K/ppR/o3ORw1NeRcdw3YO6Qz9n7dxrkfH9d+9vOfkRH7qbptwkzBhJbhmGQONYrs/RbdgudmB/TO2SddZjRXV1+iO5dOl7riXto60eELGUAyyS0CSA8SE4KAIpkWYqjnTvDujdzMB326a6iI+jSm1qvPEEbC9wTXyYR1tCkyVEYwAA1W4e7i7pnZ0Yb28bczaArL2u9cx2uVqnFAoAtEphqk0ICBts/Ff5yClZf6YPu7gG6sOdorYdOwsUatcoCKBBncaq+cdvZquCFA0k4ux/Uu/KO2+8q8gzena311CeIiR78PIA42WVKMFRX0+Qox06/2Qy67qPv0umOcrgPr37WeusmHOXJJgLWxLdKpNCgbQYiJDQFYInsKi478ro2ptWn+1xNw6v9tR67DQcTxCkIWqpEZtXqf8ZLd0VJJFlHyS7jcrane1GYHuqujuywL0Ot9hoO0sTZAJAi3sBq047UUmgpQS2WYEjwhXvdcY5IxuVRGB60qSHenKz12gmIxSPEiWjsXK7QYKgQRkNygeuchoiXc1zmlxJr3196D2+u13ruEoT8ROLnd4HEEtl1mDR/llqkYciIkoNYTJdzGSa3MXgQ3pyvSZAaS084DZY1Eln8EQezHCCbMoD1BAnIlwax923fBt4crfXcBQiFHMdhS8RZmABTWYiQXRGOU1EQO6TLWoHh29+r0ftqPXfKPQb+yS5Rq/QNMMlqngSqrK73Lwbr7OGMsjEU7aPrRL5gHV0XWYDhbr9jOKDBcEbVGCgEINyUwl3NGjPk0g5jBj/1OYbGHgFtSNUYMrA3S+mNchwNqfJGgJol/DAUpWKQmF6aUzUG2oBhk1rlN6fiaPDfsNUS5KjPMTCH2VupGgNV6uWBUyxrMCUzrU0YSrQtMVxlVVrZGMjv9IQvwzARaV37RCrRvxj4+Wx1Y0iHIVyGK9uaq8wUDOE0bVMM4zBMKhsDBeIw+NPUjO3b0DZa13qAeIAkYpDzll0moGwMv9cYcgmy3GhdoohMgWuR+h3DMAxRdWOgyI/GtSQtMSQD1gxTGKZqhLYxhkMagEmFYyDa0GDScommGBaJSYSsgXW/Y+A/bKVjIKo/8FqEjyESh2krQtscwwoM0T7FcOLxk8/H+h8DRUIwBAQxaAAqAaLtjiEKw1gfYjh64eleMOdu7+9zDPVLuZf4GNL19mj7Y9A1AB96HsPje2h2qt8x0DqwycewACC/I2I4AmCuxzHcfAqbp/v7HEMBmOBjuAaAdkQMjwA87E0M/Mf38+TjJ29gelVzse/8+aN/OYYKoPExFIDUzonhF3v3+ppUGMBx/KeuYVktOtG72gsNHV2sEYeR1TvDwAojiIiV0aKgKDQpzC4gc3SBaAV2cV1cV0b3iH7ur+tc1JN2zHk8j3NxPq9io4J9p895Hp/znMNCM+Sg+R6XqZHHoShQIwWGXyVpCE8WfS6oIoWZrGxbhq8ANv+VAcDz/skg9NUwC9VcmIaS9hWSr25A5UtTl55Go+hIzJ4M9wGsbc5wG8D7/siwBsBZgRkCUIyGTd5e/CnUzVLhh5loSrIhwz0AT5ozPALwrj8yDAHYKjADFNMeNnmNJhPkd+hWzqbvxPw/R6ZR5cp3n+ERgLvNGTYAONUXGbZD8VRchmEAbk/rHXi5eNI/A8XHKFTRgMwaKZEuQOPLW8xgAHCvOcM9tU1fZNBm0bvFZfgOIN1yz9GPZOM+sEyATWJz0Ez7u8xwEnjbnOE+gJt9keEEFBvFZYgC8PJvMSiy1HmmaiOEmfGVUI15uspwBPjanOEbgPl+yKCtsO4QuLTnBkAzLiDJmvw/t8FKr6HyzXaT4Svw3MigX7teAh73RYZnUGwRmCHSKkMWcmMUxNhSzAfF9y9dZPgMDB3RfACGHmt/AvC1LzLs1M/5EZdhusWbEuVg05WTn/9SBhBlyXqGAzB1vx8y7NefqCswwziAX2xrEln+m9+NAplwW81wD6Y+9UOGXfoyt8AMLwEU2dZwhm3dUDJQiljMsAGm7vZBhmMwBmiR07cQ2wn42d4NL8mBglkG6/ogwxkononM4Am5ALhitMN3BEjKK/+zDOf0u9wFZki4oPEFaYOcPhOM/V8Z9kK1W2CGMjTFsIc2ZUBKHc8tZdhg6vZiZ9hm3F8tKMMNqL7EaJMcFEHS47aSAabuLWIG48d8ZlBYhgGfvlRH2+Rq91+P/z8Zdhj3ggrJILmr69c2Z0CMDFvKsM/EyReLm+Fy9bxiYRly9t8sPV7f1TFlIcNmU0cXNcPh6iHqwjKk9QoCMsyQXPZ/XCnpFU6sE5chAyBNERmiJHMWMqw3tXkRMxyuPZ1PWAYZQIRCMmTUidx/MEQPXoVqaFVFXIZhAGkRGfRRf3rpZxhcbZz3ICxDCEBeTIZXJJf+Beu2NUYFcRniIg66moPKSwaW/Cx6CzSrN1aEZqAbQJH2mqxdr04v9TWls8YTi8VmGINiKmx/BomUlvjS3saL0ByuCM/AGajmJJszJNUXg6UM3w6aWYRZ9PEh42gy4RmkIjQh2b4M+rD/EZYy7IOZK73OsPwyNCf2VERmMHyBbiIs2ZVBrZDAEs4wuB/GsNCbDMbW4EguSRuUD5EccFvMcOCUmSc9zbB8NXTPKsIzGDx5VHlpA21zfgxL97PoC9Dt2FbpSQZDKGLfGt8YhtV/calm2A/jOXzCMgRpSoIiR1vM6rMGNxp9ne/ArStVT+zIsHzhg8K2E9BdXNfhcRodif1j5kt7ZPSZeQCNjsx34B6qTs134DbM7V7woLALVVsGKx1BZ9I0BfsWlzxQfCFlwKCfnLpwLyxluAJzeysLsvsyqi5stLBjoBOzNFO28RyHZO0hEWi0afP8wt19fER3pZMMB2Hu8IIinEbVjt2dz/XQGRdNeHwA3tAeWe2/8ZIzJtf+Qh29hBbajwnLd6DqzFNLB491KMu/DQBwBWkPvbasDtWNhuYFe4FWjrXbC3YRNc/WWdrF1Cl3i43EBdqjjNqrYdbkQwORNm9CKyf++Uo4ZkQ4v87i/pmO5cwPNy/RFgnoGQaMDQGG9fMi3Udrl1v/Ip9FzZnDlu8CsuAVm/kAJGiHgZXQREjCYFyzinMFrbRelhjcY0y7hi5Yf66AJSE2sW3S4HUbI5AXPe1wD620XK/efu0E6o5b/ohuDyyaZaMpm54oEHCjSmpxmMDjtfNivEU7F5pmaud3oG7N1nUVq47DuoBksge7S4kJ1Lxu/ailAyIGiCfv0d6ZPYP1BnuvwrBjf8Wy3dfRlTHZU8NDADL0dOVjoXHJREYrD24ftXW2cPTFJSzM0PmNg4qnu2DYeXZjZdCidc9OoGtu32hN3O/3Z3xdiOBPc/pncC1dWmGjD5vQgYdrVp/BnxVWX7y42pKLqx/CZjmS0iRUNwroWpAMwtG5Q1SFY2EyjG7p+wEcFqRYNwlTGe/UwhdxA3BY8iXIKglmch7SP4r29P0ADquKk6FSqEQy2XpF8NAytPGTpHcKju74SabQxHeHNbEfbrSW0W5Nj8LRLVn9WZu9FMofqUu3DDFMfW+Mo2vuoIcMzqFu2EtFMAP4RqiTD702+YtvBqhIrYTDBr4EFeHs90J0OjcSp6YEXTlGnedOaLzoQtVoLqR/Q5qDwyZxNvL4fagrHPLSEL4TvxOrf0H6CYd9pr0mC6eG0Tc0NQKHvYolvYT31esIFJkbo/hTZkIbCQzJMWfiLMZoIQqVK5ugKj6OBpGZuZFSPl8aKU8U4RDsO+uSETgWxxgV4Xz2jaRtpXEsilGSwz6oijIpu+BYBAky9OcS9g84ei8iMYG6G2QKjt5xQ+fz8CcMzsdqvTMa95L0Blx6hlRDhjAcPTHGmtfASomS689vleDohbK6bDc+M5nUb9zJk/IUdEXSMwpHLwxQ8kE1q4/HYdKThcIXJ5mGoxcmjaeWBEgXMCVT4Q0HqfgFhzAz+ZjXm3z1BYoUJVRN6LcTul6ySp6EQ5gSq1IAAkaGfP2u2pGk7JXjE3CIkyUZyw/f0e9bG6/PmnMNn0k7ixiCJaqXQitTJICgh/HxTLHsJ+msX4s28TGRTC+DIsgyNMvIKLBMYpXHeRcS7Y1xw6DMFDRj+ljgvjOgNgg6q0fCTbIqqu2zi/1m7/xf2zaiAP6UZtNgGkF4RjYyVHKGkxq2QDzXzfKDv624kMIcgk0WvFG8YkjA4G4zpNsCSbPOBBLGIAzGBu22/jQKg411Ke+fm9472ScpTpN0ThZn/vzgpj7pJN1HunenO0t3Z1//wwkOO8Bo8w9vzo+CwdnzlmfesHbd8zP1EefJfd/LGx6LHtojGHHOLMpHpTM3H8KI/4C7joid82yQKooC582Eb5tJo1qtt/vtGH/+P4JhGjEOPpKWZcKp2LUsHaDYwDU4EVuebRajyIR18LOOWARARDiKSAwz4MOydmE4iR3SUEeswakoISYBniFm4EQsy20uYY+Ah4qrQYWjMIOOFMQSDCeHNewjGnAqwqwBrDk4tYY0ojqn6QYirp1WA5j7kaCGMAwnQkPcsiBfySxrAEubiFWL6urtUjlc4MO1cjpkq7Br5TTNzlRTQDQ7sVjHAtCsKOJ2DnTLyoODnl0o7xW5estZSTAye6LM29VYObzv12AgqhwWLPfMTlRjsYp5SIO5V466miLr5VYzkrNSzoYtzmZ/tRy1dYB8DjFqRcSeZ5ZgsDz8cWdmKhR6bfH2/dkj4vqTycWZxcm/PoJ+KDfuLTrrT83sPP7pKA0LiOtImEoaiTzVvES0zYUVV3GVznoDiQIXE7OipZCBvKOPK34mrHA1ZXN2Vb7ImEbSq6GMWAems9fRATaRqQQ0ZJFQaaUcEnuIFkScrTvWY8jMgY3EEmgLSPybC8N9cYBkwzed/t6G/4kzr9FwXEhOtf8ZgnzjexTQzN3+GihOlkuI2IF15++FcJISypk0Yos1pOmQM1SMpYbzwZV6Y71CxRjJON+EW1RVZwHqpCaMHCe20aHkLIMTQLL2KiuIJY8GreGv3ecQcbWFiPs+DXEqVNo7nYoe06uIrIEzc4y0Kh1EhP0MYiPTpIMphxvO5v6lhre8gw4B7vt+STUDyqIvOTR7zGOa7ihHaKgAFBFX+Bw2OP5FRd29Sxowk4uThjJAgsujghgBugK2ODYkwNVQRswBRFRKJg1J/qoIOVQpdKi4MCE16Kqv6teQVuaw7dOg8p824jZlGaYFpYaSGhPhKQXAiU06Ct7zyKA03Dk4xFOfBm08mP5r4CFNQabG+mpQdS6VqAjRXD3sizqgBobbAsmI6gjpAPW2DmBWuhqSroaIY2oCAKqUsM1iYI9rClo+ZWBQQwMkece2u50lj4aE2HyKrswO4i5FF6lBb2ugkLkUhegW739OVI75AWmYPBDcejw9/eS6/1cjVz1vUd/59OqTxW7F9N3hRzRdfzQ9/emtA8HtE2loYZcsaVjj4hFlwGc65KjGwqAGi09I1hcmDWuiB7BEUTaGhE+Dv1IqIi67gXvbo6GJPWh3U1R7SQ2wVlIRPRps7JIbjIanB+K/88C8Iq6NkCI1EFM3ur81vHLAjMlRa+aOG5nn3TuHd0+ooRxl1qhYakENdQrfnVpQQ849oa2ABi7LWMZI+zQoXOcxRq2m7woNlPczvwY1Kuhq2JYaMk7q6mbHpyEWZZYGouHz3t1W/9Vxw6dhBhj2JF+UxVwJRpr74to5iYYst2GYfhqUNMeDfFBDEjHmdpSzPg1VUaH5NHDSQrc+QvrYc7/NSQ2U5wq4dPjKgk2pQWxwXWqo85aYgWgYdwtdMiaqHa+GEHj4qTtawTyRTzv0xxrtBBry4oq3Y+VCPw1aGqMsKBiiG6xkwvkn79PQcUO6X0MbRcm3y4hV/l8CqNhRlxroA00AKx2zocDe8jJE66I5jFJDUdSLlVgsMQgNfwZPdn4kEvHQo+Fun0fOTHs0hjTwMCsG916ooYAYqyaopbGapSaqdtTVsFyoImvoIGYqrEG0/CvZMp3AwathvbCGAQ3cI1BLK8hhnxLUatVRaINXQ46+rqgkWEcHJ3fv1dDYflZiDUDLmWLPw4hpZRAaRGTYAEbO5Hb4U2oYBz+cfgeIjw6IJ32eyX7vhRoSovuWV5FQ8xDUwEW2hUSYQ0Gh233L8kJMOuHVYEFcxOc0NnSpgRMF6TzIlUua1IBAngnOzExz901qCPNedugLiCHlHGmIHHUYhIYDeTJLxkMOX0sNv4FE1jpAzEiNkh9p/VsgqdmbJn1uaQDalk3FbXZKpSSAVlFVtQoOS/amxaGTl4UtO6s7qzipc2DbWWo1hUslSNl2gaNzTFUbrG1306b15uzNPEC8oapZMGx7F3K2bUIXs6U6yxsgyJVVNT0HYq0kQNbeAodCWlVXTXcRu6ZzS0m3bYPUqWo0mbDtfbrRUWo1AYD23B5MbPg12Lpk5gmNNfQdH53uvShrLNTvatE4AzgZijbxwlQ4Aq1/iqYcsbiuHbOy/LpZr8dlp0Am9dm3wWi4Jl8heYrnkWz0wvos10+X7fkA1E+rzdlcL54hUsMj2Qc4WsNU/wwecHNXCLlcaFGUcUJydhruybbp0Rpm+mfwV6+hdfmmltVUh5UmnClSww5XOsdo2IEgHBGe9hpKv8PlQ9c1CHDGGqaO0fBW/3dmPep1MX6FEf+FBnE74+QaastMLa7D2bFkmHA8KWOBuiK5C/AArkBsCB2jYbL/22l+7o00fHn8IGiXJJwVFvfFj6OALmV4AUYsXYCjeFaOFQaoQd4ROkbDaxDgd9Fv6LWUvj65hhicFe0GrsNx5NEhHVbxxdMr1hDnjnYkE8+23/DkA4cvZb9BAz8PhLxev+Fv8PMLrf/Ar6E4MaEsoewQtYFImL28FbMNHnTu1CVN3fOVJvtR3kx0BQLovT8of4miIi6YdOmoiAl3idThNWuIBQjuYMqMdOf2DPpq2DjoU+t8w2X7+9G96JleM1YL9avVbsuuudTg3s2ZA2N1RanxOHsNHcIsRrMRMWOWVg2AaKuaWsAU6Fm+fpYAoNpq5WmIOZVYFQWph1vZYgNxXSumnRUjAKmV1jpApbWSoqzWSE2kg4i21SrFQdDszVRyUtZ688jqpHylFdYzyEUcLdNIuS6GrbGT6tVmaQuUTMxJjOoD1QCiGOf9dU7wDus18KGJhpIs8WDHQfbpAhrWaahlE7HOt4kXPONXYSTSfNsTkQ410ksvcDJTRibFA8xIrCARBXfAYJUyIRydUO5mmpOT1KrARPL5hIwUUccDoipyzAMybciiQOc1GUMR2UcGqEE+ZhW8TLEaGRuC3exbnqK/KS+nwI3wQGzIuzf+444GYoWcoJXfQ1TFaWfs7qHQwKSWHFeJhJMSFhrqW9yxrZMY0oCN7Q6fy2u0tNSAa/EOZ5qlJeMrKDVUaexbkkRHS55cbPNW1e2lGGIFzE1Ew1TitCbt4CqPcORTcYpt5jInDlADFyMzCwIZL37zangMEu6yyVbu4qHo8pAvltsBDaVwuIUOQBrUJoDmzmqI0hUSFmEv2tVAt2KXKhWqvrsamvy5xcoM1jDB53tcjO5LDc4iOm1IU1m+4tHQIYOSGmK2N4sMOSvHfbQboqv8DSygqlCqyQ3vMwjRsqDvaIHZLuOKTPXXMHcPfI3UP4JTBGZlep+WUo41LIuJKiV3XL9Dh0r181xXQxuISLFeVbsaIrzmLoDlaohCd0jO9mnIszuEiCrGPrNSw56/BPfEwqDS1cQuKJcFoYHzqhcKhSilluliye624Uw08MvyiNCGbAUR96UkZkfx/3DuenB6zA2/pUnop2GVot2mOAydy5cPvAVlbNAGlroa3FJipIYsYvN4DaarIUW1iYMhNWz5JzCHxcKwQv+KrZoeDQvYpQlFFBgD1yDH2pjrk59e/evOuJzfIjWwp8Un125cveWmh8a87SZm6s7fVz/tPR33m6CGoqbRwILUoPGYrjuqGwtcDW7jvbFtRtRTazj6arCokJlaOm1DxtVQRkwe0sB29gtMBEC3OkiYZ6QBfiIPfiYV343u6WD6+PcgUciDn9BDOKQBBFKDimm39bRMpVfwxgbRulV1svWyGjSV/55AqSHB57PDBE+ascWeRBBR66NhXdRZZrMJTaO+C9B0cjfOSgPMXu87Z09qgICHmdePfKC0jDTHaOCTbS/Spi5dhFtK9WYVAxqSoO29tAaokoBi2KMB1rltZFJQTotpq812ylmnCkENdd6pWKqdR1QVy1m+DVoFsUAajPZgNcjnKEluzUNQA3zvuWKufA1BNsa9l8orACfREEEXWw7TSw3ufAp0aL2kBrffoHo0KGXsUuSWk0DV/BoK9F0bYjIgNLpLUuKA+g2H3xOmbUxPhpzK5NaD32f7jr4przwa5zJ+1P9VGp9/fe81x9DM3x99DodJezVkqZlO5FX3IB20Nb7vibjV06Bzco5vO5T4wKucDc941cXtqRIlUo6W28aJejW06eTflCHaQa8is2CylSwSsQR4NKSpwuTWmr6KBO1tstGbQgIx1nCOSA3M2Bi8HKlEUtZTkURCB8FS3ZjrHZDzbYFbMslEEghtu/Ys5ayb0OhDoTUpGy2RaDtLJ1IA3e9pESVJ3/CWZBbgJNv+nxql5mq1/Sa4JOeM/V0geBWRi0MzXqT4WKwbBR2YeN3Yp3w4cVeBc0NqOGv49wMK6AtUYgOjgbg5wXVfCoab89KwK4cBBkcdXTIw5JyXBthHJp2EAZJFZlWHIefcNEBke3nLiMNgMevLy/UmDD2OhtHDiP97RhouBCMNF4KRhgvBSMOF4OrB6G0yF4D5mw6jJ6SPGDFixIgRI0aMGDFixIgRI0aMGHGJmd145YKy8b95Iv/8tSsHofELSujKweP/xUtCpq9MfjemKReVsZuP/g/vup68vgEXnJu3p+bhcrM4CUPAg4PL7eHH12AoeHqp3zq+MSxnmTL+C1xe/hqaFxjfvcxTTA7GYFgIXfiWxEvzx3UYGt66CpeVa7dhaJgeon09JdMfgOSXUOg0YfDj9199/hWchi/e+BD68O3zNz+D47kxFC3rf6/hKb1b8Xhk6b3x/ntwGj55/jb4ePedNwDgh+fPPxxp+Ie9s3ltIgjD+NOmhgabJpA9rweFWsjHpoQgaXZPEbrgpbmVohRqSaAhYFsolngRW/AUWlCoCqnWS4gg6MF5/jvnnXzVRQU/Ds3HD3Z3mJ0JYX5k39nN8O6AmeV7+AM8NoB/1GATmloZUw1/i8fCf9EgTDUMWW19m5XZ04P80nprFTjZa2F5LbN1AcPKt8xS5sklumT9CJPJOtDxnaiTNEY2vTo05WRZdtVFP+2UyhBy7VL6fP+oq6HiOpFiKq61JC36fu7Mb+ck1rSdaMSrmhZetpB0HPdoEjWsKHViUmVltpaUWsH9UOiTyqwnVGil+x6U/FZ+kHypaluM2lkckumSQ8qIFZk1NrgJbHCDlhMhawAWSSsdpScaYmnapVKEfIRX0TAjTm6R1o5uE6ZTSnfb+9ykrTvwcFI1nCr1BcBtdUdrUOoUQEatA5gz8fu9CqGHF+4AMduM236Y9aAGlsyApgGk6QJ4Q9GQZQTdkTa9ARgNsTB3AbGalZP0ALj0JlXDkroLzbFSouFeL1nQJW6pNcDY+DzQUAAqTEI4ZyqowcpBQ1tLYtiUXWlU4xFEnHTMDTVUjR057QG+KJQfiD2hGvT2GsK7yxmt4SaEvHqKJb0Jzy5vXtUQ5TaEBktBDR6EqA2kdIVQG4bo+puAhjbLEDqkaNiF5pHFCdXwTKkZ9NAa+lkQ9xYSwezFRkOOzEKI0Qlq2BxoOOcRhG6Iru+WLJIBDUUWIMTDRkNtsjXoQIyhhkT/vu5iNqG+/kTDDlmHsMP0QEOqqyE10OCyCmFf6g5JK5KsbQc0OPrThMWpBq3hVG9XLkowZNTyTKI3RXr940WpP5k5ojvQ4AY1JFmBUJY6spwDENTgsgGhQGuq4WRBqcdXQvQ7aGbluKU+QkioG1c1uNyFUOKGaBAnMTuoockIBF/XdcgzaJoBDRX66Na3pxpOcFetL5jMb89Fg0nbd6HywKkKHQB4oeaBqrfR11CgFZcIHaY+nNMzgTioIU4THKpkSspZ6cCAhjp5aMosTDWcABkV+tRKqNCqaJgLtZ7PdSdPLaVeXmSU+iyDx3L/YYZHJpvnpgL7ZNSz6Qc1YJssbrhMM2U6pDYiLNJqIxalZW7fzoAK6TZ9so0J13BzXpahzLxVmr1ViIbVvC6vH0N4GNLltQMAr2w3B7TTdWhq1NjVXoQgrf1tpwlU9E4oFaGpUtNsOLtAzO+2L5HAYZhWLh4p7khni2R4G5pNxxzOis4EahhwcDycsB4/WxlOnQ5m8RMKjUX0icfxc7LZGHo8ypr2OwjSaXSmj/aCGA3XiKmGa8Hy+GpYfvA7DepaaXg7vv9FX87j18x+eIFrxJO7GFtGaZ3Sa4wteyOzZP3FOC9iPRiVNayYe4gx5ml+BqPAnfGdJxnW1kbBw/P5UfiW/8KDxCmuOQuZEVpr+719O6gBGASCANjUSj+VgA0EIARnJ48HKOB1gRkPm2w22V0taslcmNoX/fQsrJ0gEqv/FU/Q6U3qAQAAAAAAAADgLAMC+fDleFjAMgAAAABJRU5ErkJggg==
336
336
  `,t}function sI(){const t={};return t.base64=String.raw`
337
337
  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=
338
- `,t}function aI(){const t={};return t.url="/logos/hunan_cpc.png",t}function oI(t){if(!t.preset)return t;const i=t.preset.toUpperCase();return i==="ICPC"?iI():i==="CCPC"?sI():i==="HUNAN_CPC"?aI():t}const lI=t=>(B2("data-v-53a9ec18"),t=t(),U2(),t),cI={"h-32":""},uI={key:0},fI={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},hI={"w-full":"",flex:""},dI={key:0,class:"logo"},pI=["src"],gI={class:"title","w-inherit":""},mI={"overflow-hidden":"","text-2xl":"",truncate:""},vI={"text-lg":""},bI={flex:"","items-end":""},yI={"float-left":"","font-mono":"","text-base":""},_I={class:"pl-0.5"},wI=lI(()=>Ht("br",null,null,-1)),DI={"flex-1":""},FI={flex:"","items-center":"","justify-center":""},EI={"font-bold":"","font-mono":"",class:"w-[68%]"},xI={"float-right":""},CI={class:"MuiIconButton-label"},TI=ls({__name:"ContestIndexUI",props:{data:null},setup(t){const i=t,{t:s}=zd(),a=gn(()=>i.data.contest),r=ur(new Date),e=ur(null),d=_9(e),y=gn(()=>{if(a.value.logo)return oI(a.value.logo)}),w=setInterval(()=>{r.value=new Date},1e3);return sh(()=>{clearInterval(w)}),(F,C)=>{const A=WE,R=nI,L=JP,B=QP,I=ml("RouterLink");return fn(),jn("div",{ref_key:"el",ref:e},[Ht("div",cI,[gr(d)?(fn(),jn("div",uI,[Ht("div",fI,[Ht("div",hI,[gr(y)!==void 0?(fn(),jn("div",dI,[Ht("img",{class:"h-10 w-10",src:gr(MP)(gr(y)),alt:"logo"},null,8,pI)])):ro("",!0),Ht("div",gI,[Yr(A,null,{popper:bs(()=>[Ht("div",vI,Ji(gr(a).name),1)]),default:bs(()=>[Ht("div",mI,Ji(gr(a).name),1)]),_:1})])]),Ht("div",bI,[Ht("div",yI,[Hl(Ji(gr(s)("index.start"))+": "+Ji(gr(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),Ht("sup",_I,Ji(gr(a).startTime.format("z")),1),wI,Hl(" "+Ji(gr(s)("index.duration"))+": "+Ji(gr(a).getContestDuration()),1)]),Ht("div",DI,[Ht("div",FI,[Ht("div",EI,[Ht("div",null,[Yr(R,{state:gr(a).getContestState(gr(r)),"pending-time":gr(a).getContestPendingTime(gr(r))},null,8,["state","pending-time"])]),Yr(L,{width:gr(a).getContestProgressRatio(gr(r)),state:gr(a).getContestState(gr(r))},null,8,["width","state"])])])]),Ht("div",xI,[Yr(I,{class:"go MuiIconButton-root",to:i.data.boardLink},{default:bs(()=>[Ht("span",CI,[Yr(B)])]),_:1},8,["to"])])])])])):ro("",!0)])],512)}}});const AI=jd(TI,[["__scopeId","data-v-53a9ec18"]]),SI={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},kI={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},OI={key:0},RI={key:1},PI={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},II={"w-240":""},NI={key:0,"mt-4":""},MI={key:1,p10:""},LI=Ht("div",{op40:"",italic:"",mb5:""}," No result found ",-1),BI={row:"","justify-center":""},X6=ls({__name:"index",setup(t){const{t:i}=zd();S9(UP);const s=ur(new Date),a=ur(`${window.DATA_HOST}index/contest_list.json?t=${s.value.getTime()}`),r=ur(!1),e=O6("s","",{transform:String}),d=ur(e.value),y=ur(null),w=ur([]),F=ur([]);function C(){F.value=w.value.filter(I=>{var z;return((z=d.value)==null?void 0:z.length)===0&&(d.value=null),d.value===null?(e.value=void 0,!0):(e.value=d.value,!!(I.contest.name.includes(d.value)||I.contest.name.toLowerCase().includes(d.value.toLowerCase())||I.boardLink.toLocaleLowerCase().includes(d.value.toLowerCase())))})}function A(){var I;d.value=null,(I=y.value)==null||I.focus()}const{error:R,isFetching:L,isFinished:B}=T9(a,{refetch:r,afterFetch:I=>(w.value=NP(JSON.parse(I.data)),F.value=w.value.map(z=>z),C(),I)}).get();return ri(d,()=>{C()}),(I,z)=>(fn(),jn("div",SI,[Ht("div",null,[gr(L)||gr(R)?(fn(),jn("div",kI,[gr(L)?(fn(),jn("div",OI,Ji(gr(i)("common.loading"))+"... ",1)):ro("",!0),gr(R)?(fn(),jn("div",RI,Ji(gr(R)),1)):ro("",!0)])):ro("",!0),gr(B)?(fn(),jn("div",PI,[Ht("div",II,[Yr(GP,{ref_key:"searchInputRef",ref:y,modelValue:gr(d),"onUpdate:modelValue":z[0]||(z[0]=H=>Bn(d)?d.value=H:null)},null,8,["modelValue"])]),gr(F).length?(fn(),jn("div",NI,[(fn(!0),jn(Oi,null,eF(gr(F),H=>(fn(),jc(AI,{key:H.boardLink,data:H},null,8,["data"]))),128))])):(fn(),jn("div",MI,[LI,Ht("div",BI,[Ht("button",{btn:"",onClick:z[1]||(z[1]=H=>A())}," Clear search ")])]))])):ro("",!0)])]))}}),Qw={};typeof Qw=="function"&&Qw(X6);const UI=()=>ka(()=>import("./index-f4a30172.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/index-f4a30172.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/useQueryBoardData-70fc2551.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-559b723c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-dbf5b530.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/index-39ee8a2c.css"],import.meta.url),$I=()=>ka(()=>import("./index-9a87bde3.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/index-9a87bde3.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/useQueryBoardData-70fc2551.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-559b723c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-dbf5b530.js"],import.meta.url),HI=()=>ka(()=>import("./test-692adaf3.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/test-692adaf3.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-dbf5b530.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/user-4f6853c8.js"],import.meta.url),WI=()=>ka(()=>import("./board-db3354a3.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/board-db3354a3.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/Board-404734f6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/useQueryBoardData-70fc2551.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/Board-37f77529.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-559b723c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-dbf5b530.js"],import.meta.url),zI=()=>ka(()=>import("./about-a1962e3d.js"),[],import.meta.url),GI=()=>ka(()=>import("./_...all_-4133b16d.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/_...all_-4133b16d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/Board-404734f6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/useQueryBoardData-70fc2551.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/Board-37f77529.css"],import.meta.url),jI=()=>ka(()=>import("./_name_-bbabaf8c.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/_name_-bbabaf8c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.34.1/dist/assets/user-4f6853c8.js"],import.meta.url),VI=[{name:"countdown",path:"/countdown",component:UI,props:!0,meta:{layout:"headless"}},{name:"balloon",path:"/balloon",component:$I,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:HI,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:X6,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:WI,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:zI,props:!0},{name:"all",path:"/:all(.*)*",component:GI,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:jI,props:!0}];const YI=eO(VI);JS(IR,{routes:YI,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":WA,"./modules/nprogress.ts":jA,"./modules/pinia.ts":e8,"./modules/pwa.ts":r8,"./modules/toast.ts":o8})).forEach(i=>{var s;return(s=i.install)==null?void 0:s.call(i,t)}),t.app.use(iR),t.app.use(CR)});export{Gp as $,kP as A,fN as B,hN as C,eF as D,jc as E,Oi as F,uS as G,Bn as H,BF as I,O6 as J,fS as K,$P as L,zD as M,Mp as N,G2 as O,RR as P,_T as Q,uN as R,bs as S,Hl as T,ZI as U,Z0 as V,dA as W,t9 as X,Dy as Y,uf as Z,ka as _,jd as a,QI as a0,_s as a1,Ma as a2,i8 as a3,JI as a4,ql as a5,aN as a6,oN as a7,Vm as a8,n8 as a9,DR as aA,vf as aB,iN as aC,q4 as aD,sN as aE,kD as aF,Wd as aG,ol as aH,xr as aI,oy as aJ,qI as aK,KI as aa,WE as ab,B2 as ac,U2 as ad,MP as ae,bl as af,LE as ag,UP as ah,BP as ai,Bd as aj,XI as ak,nI as al,JP as am,iv as an,eN as ao,ll as ap,sv as aq,aR as ar,oR as as,P4 as at,e_ as au,cR as av,Ub as aw,la as ax,Ds as ay,fa as az,Yr as b,jn as c,Ht as d,q9 as e,Dk as f,ls as g,S9 as h,ur as i,RP as j,sh as k,gr as l,ro as m,ua as n,fn as o,hl as p,Qw as q,ml as r,gn as s,Ji as t,zd as u,_9 as v,ri as w,pl as x,lN as y,cN as z};
338
+ `,t}function aI(){const t={};return t.url="/logos/hunan_cpc.png",t}function oI(t){if(!t.preset)return t;const i=t.preset.toUpperCase();return i==="ICPC"?iI():i==="CCPC"?sI():i==="HUNAN_CPC"?aI():t}const lI=t=>(B2("data-v-53a9ec18"),t=t(),U2(),t),cI={"h-32":""},uI={key:0},fI={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},hI={"w-full":"",flex:""},dI={key:0,class:"logo"},pI=["src"],gI={class:"title","w-inherit":""},mI={"overflow-hidden":"","text-2xl":"",truncate:""},vI={"text-lg":""},bI={flex:"","items-end":""},yI={"float-left":"","font-mono":"","text-base":""},_I={class:"pl-0.5"},wI=lI(()=>Ht("br",null,null,-1)),DI={"flex-1":""},FI={flex:"","items-center":"","justify-center":""},EI={"font-bold":"","font-mono":"",class:"w-[68%]"},xI={"float-right":""},CI={class:"MuiIconButton-label"},TI=ls({__name:"ContestIndexUI",props:{data:null},setup(t){const i=t,{t:s}=zd(),a=gn(()=>i.data.contest),r=ur(new Date),e=ur(null),d=_9(e),y=gn(()=>{if(a.value.logo)return oI(a.value.logo)}),w=setInterval(()=>{r.value=new Date},1e3);return sh(()=>{clearInterval(w)}),(F,C)=>{const A=WE,R=nI,L=JP,B=QP,I=ml("RouterLink");return fn(),jn("div",{ref_key:"el",ref:e},[Ht("div",cI,[gr(d)?(fn(),jn("div",uI,[Ht("div",fI,[Ht("div",hI,[gr(y)!==void 0?(fn(),jn("div",dI,[Ht("img",{class:"h-10 w-10",src:gr(MP)(gr(y)),alt:"logo"},null,8,pI)])):ro("",!0),Ht("div",gI,[Yr(A,null,{popper:bs(()=>[Ht("div",vI,Ji(gr(a).name),1)]),default:bs(()=>[Ht("div",mI,Ji(gr(a).name),1)]),_:1})])]),Ht("div",bI,[Ht("div",yI,[Hl(Ji(gr(s)("index.start"))+": "+Ji(gr(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),Ht("sup",_I,Ji(gr(a).startTime.format("z")),1),wI,Hl(" "+Ji(gr(s)("index.duration"))+": "+Ji(gr(a).getContestDuration()),1)]),Ht("div",DI,[Ht("div",FI,[Ht("div",EI,[Ht("div",null,[Yr(R,{state:gr(a).getContestState(gr(r)),"pending-time":gr(a).getContestPendingTime(gr(r))},null,8,["state","pending-time"])]),Yr(L,{width:gr(a).getContestProgressRatio(gr(r)),state:gr(a).getContestState(gr(r))},null,8,["width","state"])])])]),Ht("div",xI,[Yr(I,{class:"go MuiIconButton-root",to:i.data.boardLink},{default:bs(()=>[Ht("span",CI,[Yr(B)])]),_:1},8,["to"])])])])])):ro("",!0)])],512)}}});const AI=jd(TI,[["__scopeId","data-v-53a9ec18"]]),SI={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},kI={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},OI={key:0},RI={key:1},PI={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},II={"w-240":""},NI={key:0,"mt-4":""},MI={key:1,p10:""},LI=Ht("div",{op40:"",italic:"",mb5:""}," No result found ",-1),BI={row:"","justify-center":""},X6=ls({__name:"index",setup(t){const{t:i}=zd();S9(UP);const s=ur(new Date),a=ur(`${window.DATA_HOST}index/contest_list.json?t=${s.value.getTime()}`),r=ur(!1),e=O6("s","",{transform:String}),d=ur(e.value),y=ur(null),w=ur([]),F=ur([]);function C(){F.value=w.value.filter(I=>{var z;return((z=d.value)==null?void 0:z.length)===0&&(d.value=null),d.value===null?(e.value=void 0,!0):(e.value=d.value,!!(I.contest.name.includes(d.value)||I.contest.name.toLowerCase().includes(d.value.toLowerCase())||I.boardLink.toLocaleLowerCase().includes(d.value.toLowerCase())))})}function A(){var I;d.value=null,(I=y.value)==null||I.focus()}const{error:R,isFetching:L,isFinished:B}=T9(a,{refetch:r,afterFetch:I=>(w.value=NP(JSON.parse(I.data)),F.value=w.value.map(z=>z),C(),I)}).get();return ri(d,()=>{C()}),(I,z)=>(fn(),jn("div",SI,[Ht("div",null,[gr(L)||gr(R)?(fn(),jn("div",kI,[gr(L)?(fn(),jn("div",OI,Ji(gr(i)("common.loading"))+"... ",1)):ro("",!0),gr(R)?(fn(),jn("div",RI,Ji(gr(R)),1)):ro("",!0)])):ro("",!0),gr(B)?(fn(),jn("div",PI,[Ht("div",II,[Yr(GP,{ref_key:"searchInputRef",ref:y,modelValue:gr(d),"onUpdate:modelValue":z[0]||(z[0]=H=>Bn(d)?d.value=H:null)},null,8,["modelValue"])]),gr(F).length?(fn(),jn("div",NI,[(fn(!0),jn(Oi,null,eF(gr(F),H=>(fn(),jc(AI,{key:H.boardLink,data:H},null,8,["data"]))),128))])):(fn(),jn("div",MI,[LI,Ht("div",BI,[Ht("button",{btn:"",onClick:z[1]||(z[1]=H=>A())}," Clear search ")])]))])):ro("",!0)])]))}}),Qw={};typeof Qw=="function"&&Qw(X6);const UI=()=>ka(()=>import("./index-a020bfea.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/index-a020bfea.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/useQueryBoardData-82598023.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-b7257fab.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-fe810a28.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/index-39ee8a2c.css"],import.meta.url),$I=()=>ka(()=>import("./index-0ce86bd1.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/index-0ce86bd1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/useQueryBoardData-82598023.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-b7257fab.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-fe810a28.js"],import.meta.url),HI=()=>ka(()=>import("./test-8c3726ee.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/test-8c3726ee.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-fe810a28.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/user-87de2ef4.js"],import.meta.url),WI=()=>ka(()=>import("./board-1be19815.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/board-1be19815.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/Board-8241725a.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/useQueryBoardData-82598023.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/Board-fd82c4fe.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-b7257fab.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-fe810a28.js"],import.meta.url),zI=()=>ka(()=>import("./about-cd4f21bd.js"),[],import.meta.url),GI=()=>ka(()=>import("./_...all_-5cef394f.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/_...all_-5cef394f.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/Board-8241725a.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/useQueryBoardData-82598023.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/Board-fd82c4fe.css"],import.meta.url),jI=()=>ka(()=>import("./_name_-526d8339.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/_name_-526d8339.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.35.0/dist/assets/user-87de2ef4.js"],import.meta.url),VI=[{name:"countdown",path:"/countdown",component:UI,props:!0,meta:{layout:"headless"}},{name:"balloon",path:"/balloon",component:$I,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:HI,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:X6,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:WI,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:zI,props:!0},{name:"all",path:"/:all(.*)*",component:GI,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:jI,props:!0}];const YI=eO(VI);JS(IR,{routes:YI,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":WA,"./modules/nprogress.ts":jA,"./modules/pinia.ts":e8,"./modules/pwa.ts":r8,"./modules/toast.ts":o8})).forEach(i=>{var s;return(s=i.install)==null?void 0:s.call(i,t)}),t.app.use(iR),t.app.use(CR)});export{Gp as $,kP as A,fN as B,hN as C,eF as D,jc as E,Oi as F,uS as G,Bn as H,BF as I,O6 as J,fS as K,$P as L,zD as M,Mp as N,G2 as O,RR as P,_T as Q,uN as R,bs as S,Hl as T,ZI as U,Z0 as V,dA as W,t9 as X,Dy as Y,uf as Z,ka as _,jd as a,QI as a0,_s as a1,Ma as a2,i8 as a3,JI as a4,ql as a5,aN as a6,oN as a7,Vm as a8,n8 as a9,DR as aA,vf as aB,iN as aC,q4 as aD,sN as aE,kD as aF,Wd as aG,ol as aH,xr as aI,oy as aJ,qI as aK,KI as aa,WE as ab,B2 as ac,U2 as ad,MP as ae,bl as af,LE as ag,UP as ah,BP as ai,Bd as aj,XI as ak,nI as al,JP as am,iv as an,eN as ao,ll as ap,sv as aq,aR as ar,oR as as,P4 as at,e_ as au,cR as av,Ub as aw,la as ax,Ds as ay,fa as az,Yr as b,jn as c,Ht as d,q9 as e,Dk as f,ls as g,S9 as h,ur as i,RP as j,sh as k,gr as l,ro as m,ua as n,fn as o,hl as p,Qw as q,ml as r,gn as s,Ji as t,zd as u,_9 as v,ri as w,pl as x,lN as y,cN as z};