const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index2.js","assets/localeText.js","assets/message.js","assets/dayjs.min.js","assets/message.css","assets/index2.css","assets/configurationList.js","assets/configurationList.css","assets/settings.js","assets/vue-datepicker.js","assets/settings.css","assets/ping.js","assets/osmap.js","assets/osmap.css","assets/ping.css","assets/traceroute.js","assets/traceroute.css","assets/newConfiguration.js","assets/index3.js","assets/wireguard.js","assets/restoreConfiguration.js","assets/restoreConfiguration.css","assets/peerList.js","assets/browser.js","assets/peerCreate.js","assets/peerCreate.css","assets/peerList.css","assets/signin.js","assets/signin.css","assets/setup.js","assets/totp.js","assets/share.js","assets/share.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();var _g=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vg(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var Eg={exports:{}},qe="top",st="bottom",rt="right",ze="left",Fr="auto",cs=[qe,st,rt,ze],On="start",Jn="end",oc="clippingParents",lo="viewport",Wn="popper",ac="reference",Fi=cs.reduce(function(e,t){return e.concat([t+"-"+On,t+"-"+Jn])},[]),co=[].concat(cs,[Fr]).reduce(function(e,t){return e.concat([t,t+"-"+On,t+"-"+Jn])},[]),lc="beforeRead",cc="read",uc="afterRead",fc="beforeMain",dc="main",hc="afterMain",pc="beforeWrite",gc="write",mc="afterWrite",_c=[lc,cc,uc,fc,dc,hc,pc,gc,mc];function Ot(e){return e?(e.nodeName||"").toLowerCase():null}function it(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Nn(e){var t=it(e).Element;return e instanceof t||e instanceof Element}function ct(e){var t=it(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function uo(e){if(typeof ShadowRoot>"u")return!1;var t=it(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function bg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},o=t.elements[n];!ct(o)||!Ot(o)||(Object.assign(o.style,s),Object.keys(r).forEach(function(a){var l=r[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function yg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],o=t.attributes[s]||{},a=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=a.reduce(function(c,h){return c[h]="",c},{});!ct(r)||!Ot(r)||(Object.assign(r.style,l),Object.keys(o).forEach(function(c){r.removeAttribute(c)}))})}}const fo={name:"applyStyles",enabled:!0,phase:"write",fn:bg,effect:yg,requires:["computeStyles"]};function wt(e){return e.split("-")[0]}var Cn=Math.max,Or=Math.min,Zn=Math.round;function Hi(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function vc(){return!/^((?!chrome|android).)*safari/i.test(Hi())}function es(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,o=1;t&&ct(e)&&(r=e.offsetWidth>0&&Zn(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Zn(s.height)/e.offsetHeight||1);var a=Nn(e)?it(e):window,l=a.visualViewport,c=!vc()&&n,h=(s.left+(c&&l?l.offsetLeft:0))/r,f=(s.top+(c&&l?l.offsetTop:0))/o,d=s.width/r,p=s.height/o;return{width:d,height:p,top:f,right:h+d,bottom:f+p,left:h,x:h,y:f}}function ho(e){var t=es(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Ec(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&uo(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Bt(e){return it(e).getComputedStyle(e)}function Ag(e){return["table","td","th"].indexOf(Ot(e))>=0}function an(e){return((Nn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Hr(e){return Ot(e)==="html"?e:e.assignedSlot||e.parentNode||(uo(e)?e.host:null)||an(e)}function ka(e){return!ct(e)||Bt(e).position==="fixed"?null:e.offsetParent}function Tg(e){var t=/firefox/i.test(Hi()),n=/Trident/i.test(Hi());if(n&&ct(e)){var s=Bt(e);if(s.position==="fixed")return null}var r=Hr(e);for(uo(r)&&(r=r.host);ct(r)&&["html","body"].indexOf(Ot(r))<0;){var o=Bt(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function js(e){for(var t=it(e),n=ka(e);n&&Ag(n)&&Bt(n).position==="static";)n=ka(n);return n&&(Ot(n)==="html"||Ot(n)==="body"&&Bt(n).position==="static")?t:n||Tg(e)||t}function po(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ts(e,t,n){return Cn(e,Or(t,n))}function Cg(e,t,n){var s=Ts(e,t,n);return s>n?n:s}function bc(){return{top:0,right:0,bottom:0,left:0}}function yc(e){return Object.assign({},bc(),e)}function Ac(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var wg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,yc(typeof t!="number"?t:Ac(t,cs))};function Sg(e){var t,n=e.state,s=e.name,r=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=wt(n.placement),c=po(l),h=[ze,rt].indexOf(l)>=0,f=h?"height":"width";if(!(!o||!a)){var d=wg(r.padding,n),p=ho(o),E=c==="y"?qe:ze,A=c==="y"?st:rt,C=n.rects.reference[f]+n.rects.reference[c]-a[c]-n.rects.popper[f],k=a[c]-n.rects.reference[c],I=js(o),R=I?c==="y"?I.clientHeight||0:I.clientWidth||0:0,F=C/2-k/2,$=d[E],O=R-p[f]-d[A],V=R/2-p[f]/2+F,Y=Ts($,V,O),K=c;n.modifiersData[s]=(t={},t[K]=Y,t.centerOffset=Y-V,t)}}function Og(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Ec(t.elements.popper,r)&&(t.elements.arrow=r))}const Tc={name:"arrow",enabled:!0,phase:"main",fn:Sg,effect:Og,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ts(e){return e.split("-")[1]}var Ng={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xg(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:Zn(n*r)/r||0,y:Zn(s*r)/r||0}}function Va(e){var t,n=e.popper,s=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,h=e.adaptive,f=e.roundOffsets,d=e.isFixed,p=a.x,E=p===void 0?0:p,A=a.y,C=A===void 0?0:A,k=typeof f=="function"?f({x:E,y:C}):{x:E,y:C};E=k.x,C=k.y;var I=a.hasOwnProperty("x"),R=a.hasOwnProperty("y"),F=ze,$=qe,O=window;if(h){var V=js(n),Y="clientHeight",K="clientWidth";if(V===it(n)&&(V=an(n),Bt(V).position!=="static"&&l==="absolute"&&(Y="scrollHeight",K="scrollWidth")),V=V,r===qe||(r===ze||r===rt)&&o===Jn){$=st;var w=d&&V===O&&O.visualViewport?O.visualViewport.height:V[Y];C-=w-s.height,C*=c?1:-1}if(r===ze||(r===qe||r===st)&&o===Jn){F=rt;var P=d&&V===O&&O.visualViewport?O.visualViewport.width:V[K];E-=P-s.width,E*=c?1:-1}}var z=Object.assign({position:l},h&&Ng),H=f===!0?xg({x:E,y:C},it(n)):{x:E,y:C};if(E=H.x,C=H.y,c){var Q;return Object.assign({},z,(Q={},Q[$]=R?"0":"",Q[F]=I?"0":"",Q.transform=(O.devicePixelRatio||1)<=1?"translate("+E+"px, "+C+"px)":"translate3d("+E+"px, "+C+"px, 0)",Q))}return Object.assign({},z,(t={},t[$]=R?C+"px":"",t[F]=I?E+"px":"",t.transform="",t))}function $g(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,h={placement:wt(t.placement),variation:ts(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Va(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Va(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const go={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$g,data:{}};var lr={passive:!0};function Dg(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,o=r===void 0?!0:r,a=s.resize,l=a===void 0?!0:a,c=it(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&h.forEach(function(f){f.addEventListener("scroll",n.update,lr)}),l&&c.addEventListener("resize",n.update,lr),function(){o&&h.forEach(function(f){f.removeEventListener("scroll",n.update,lr)}),l&&c.removeEventListener("resize",n.update,lr)}}const mo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Dg,data:{}};var Lg={left:"right",right:"left",bottom:"top",top:"bottom"};function Er(e){return e.replace(/left|right|bottom|top/g,function(t){return Lg[t]})}var Rg={start:"end",end:"start"};function Fa(e){return e.replace(/start|end/g,function(t){return Rg[t]})}function _o(e){var t=it(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function vo(e){return es(an(e)).left+_o(e).scrollLeft}function Ig(e,t){var n=it(e),s=an(e),r=n.visualViewport,o=s.clientWidth,a=s.clientHeight,l=0,c=0;if(r){o=r.width,a=r.height;var h=vc();(h||!h&&t==="fixed")&&(l=r.offsetLeft,c=r.offsetTop)}return{width:o,height:a,x:l+vo(e),y:c}}function Pg(e){var t,n=an(e),s=_o(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=Cn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Cn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-s.scrollLeft+vo(e),c=-s.scrollTop;return Bt(r||n).direction==="rtl"&&(l+=Cn(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function Eo(e){var t=Bt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function Cc(e){return["html","body","#document"].indexOf(Ot(e))>=0?e.ownerDocument.body:ct(e)&&Eo(e)?e:Cc(Hr(e))}function Cs(e,t){var n;t===void 0&&(t=[]);var s=Cc(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=it(s),a=r?[o].concat(o.visualViewport||[],Eo(s)?s:[]):s,l=t.concat(a);return r?l:l.concat(Cs(Hr(a)))}function Bi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Mg(e,t){var n=es(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ha(e,t,n){return t===lo?Bi(Ig(e,n)):Nn(t)?Mg(t,n):Bi(Pg(an(e)))}function kg(e){var t=Cs(Hr(e)),n=["absolute","fixed"].indexOf(Bt(e).position)>=0,s=n&&ct(e)?js(e):e;return Nn(s)?t.filter(function(r){return Nn(r)&&Ec(r,s)&&Ot(r)!=="body"}):[]}function Vg(e,t,n,s){var r=t==="clippingParents"?kg(e):[].concat(t),o=[].concat(r,[n]),a=o[0],l=o.reduce(function(c,h){var f=Ha(e,h,s);return c.top=Cn(f.top,c.top),c.right=Or(f.right,c.right),c.bottom=Or(f.bottom,c.bottom),c.left=Cn(f.left,c.left),c},Ha(e,a,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function wc(e){var t=e.reference,n=e.element,s=e.placement,r=s?wt(s):null,o=s?ts(s):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(r){case qe:c={x:a,y:t.y-n.height};break;case st:c={x:a,y:t.y+t.height};break;case rt:c={x:t.x+t.width,y:l};break;case ze:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var h=r?po(r):null;if(h!=null){var f=h==="y"?"height":"width";switch(o){case On:c[h]=c[h]-(t[f]/2-n[f]/2);break;case Jn:c[h]=c[h]+(t[f]/2-n[f]/2);break}}return c}function ns(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?oc:l,h=n.rootBoundary,f=h===void 0?lo:h,d=n.elementContext,p=d===void 0?Wn:d,E=n.altBoundary,A=E===void 0?!1:E,C=n.padding,k=C===void 0?0:C,I=yc(typeof k!="number"?k:Ac(k,cs)),R=p===Wn?ac:Wn,F=e.rects.popper,$=e.elements[A?R:p],O=Vg(Nn($)?$:$.contextElement||an(e.elements.popper),c,f,a),V=es(e.elements.reference),Y=wc({reference:V,element:F,strategy:"absolute",placement:r}),K=Bi(Object.assign({},F,Y)),w=p===Wn?K:V,P={top:O.top-w.top+I.top,bottom:w.bottom-O.bottom+I.bottom,left:O.left-w.left+I.left,right:w.right-O.right+I.right},z=e.modifiersData.offset;if(p===Wn&&z){var H=z[r];Object.keys(P).forEach(function(Q){var ce=[rt,st].indexOf(Q)>=0?1:-1,me=[qe,st].indexOf(Q)>=0?"y":"x";P[Q]+=H[me]*ce})}return P}function Fg(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,h=c===void 0?co:c,f=ts(s),d=f?l?Fi:Fi.filter(function(A){return ts(A)===f}):cs,p=d.filter(function(A){return h.indexOf(A)>=0});p.length===0&&(p=d);var E=p.reduce(function(A,C){return A[C]=ns(e,{placement:C,boundary:r,rootBoundary:o,padding:a})[wt(C)],A},{});return Object.keys(E).sort(function(A,C){return E[A]-E[C]})}function Hg(e){if(wt(e)===Fr)return[];var t=Er(e);return[Fa(e),t,Fa(t)]}function Bg(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,o=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,h=n.padding,f=n.boundary,d=n.rootBoundary,p=n.altBoundary,E=n.flipVariations,A=E===void 0?!0:E,C=n.allowedAutoPlacements,k=t.options.placement,I=wt(k),R=I===k,F=c||(R||!A?[Er(k)]:Hg(k)),$=[k].concat(F).reduce(function(Be,Pe){return Be.concat(wt(Pe)===Fr?Fg(t,{placement:Pe,boundary:f,rootBoundary:d,padding:h,flipVariations:A,allowedAutoPlacements:C}):Pe)},[]),O=t.rects.reference,V=t.rects.popper,Y=new Map,K=!0,w=$[0],P=0;P<$.length;P++){var z=$[P],H=wt(z),Q=ts(z)===On,ce=[qe,st].indexOf(H)>=0,me=ce?"width":"height",re=ns(t,{placement:z,boundary:f,rootBoundary:d,altBoundary:p,padding:h}),Z=ce?Q?rt:ze:Q?st:qe;O[me]>V[me]&&(Z=Er(Z));var le=Er(Z),Ce=[];if(o&&Ce.push(re[H]<=0),l&&Ce.push(re[Z]<=0,re[le]<=0),Ce.every(function(Be){return Be})){w=z,K=!1;break}Y.set(z,Ce)}if(K)for(var He=A?3:1,De=function(Pe){var Te=$.find(function(N){var G=Y.get(N);if(G)return G.slice(0,Pe).every(function(q){return q})});if(Te)return w=Te,"break"},ye=He;ye>0;ye--){var et=De(ye);if(et==="break")break}t.placement!==w&&(t.modifiersData[s]._skip=!0,t.placement=w,t.reset=!0)}}const Sc={name:"flip",enabled:!0,phase:"main",fn:Bg,requiresIfExists:["offset"],data:{_skip:!1}};function Ba(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ja(e){return[qe,rt,st,ze].some(function(t){return e[t]>=0})}function jg(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=ns(t,{elementContext:"reference"}),l=ns(t,{altBoundary:!0}),c=Ba(a,s),h=Ba(l,r,o),f=ja(c),d=ja(h);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:h,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}const Oc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:jg};function Wg(e,t,n){var s=wt(e),r=[ze,qe].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*r,[ze,rt].indexOf(s)>=0?{x:l,y:a}:{x:a,y:l}}function Kg(e){var t=e.state,n=e.options,s=e.name,r=n.offset,o=r===void 0?[0,0]:r,a=co.reduce(function(f,d){return f[d]=Wg(d,t.rects,o),f},{}),l=a[t.placement],c=l.x,h=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=h),t.modifiersData[s]=a}const Nc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Kg};function Ug(e){var t=e.state,n=e.name;t.modifiersData[n]=wc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const bo={name:"popperOffsets",enabled:!0,phase:"read",fn:Ug,data:{}};function Yg(e){return e==="x"?"y":"x"}function Gg(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,o=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,h=n.rootBoundary,f=n.altBoundary,d=n.padding,p=n.tether,E=p===void 0?!0:p,A=n.tetherOffset,C=A===void 0?0:A,k=ns(t,{boundary:c,rootBoundary:h,padding:d,altBoundary:f}),I=wt(t.placement),R=ts(t.placement),F=!R,$=po(I),O=Yg($),V=t.modifiersData.popperOffsets,Y=t.rects.reference,K=t.rects.popper,w=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,P=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(V){if(o){var Q,ce=$==="y"?qe:ze,me=$==="y"?st:rt,re=$==="y"?"height":"width",Z=V[$],le=Z+k[ce],Ce=Z-k[me],He=E?-K[re]/2:0,De=R===On?Y[re]:K[re],ye=R===On?-K[re]:-Y[re],et=t.elements.arrow,Be=E&&et?ho(et):{width:0,height:0},Pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:bc(),Te=Pe[ce],N=Pe[me],G=Ts(0,Y[re],Be[re]),q=F?Y[re]/2-He-G-Te-P.mainAxis:De-G-Te-P.mainAxis,J=F?-Y[re]/2+He+G+N+P.mainAxis:ye+G+N+P.mainAxis,T=t.elements.arrow&&js(t.elements.arrow),pe=T?$==="y"?T.clientTop||0:T.clientLeft||0:0,g=(Q=z?.[$])!=null?Q:0,_=Z+q-g-pe,b=Z+J-g,L=Ts(E?Or(le,_):le,Z,E?Cn(Ce,b):Ce);V[$]=L,H[$]=L-Z}if(l){var S,D=$==="x"?qe:ze,U=$==="x"?st:rt,y=V[O],B=O==="y"?"height":"width",M=y+k[D],ne=y-k[U],X=[qe,ze].indexOf(I)!==-1,ee=(S=z?.[O])!=null?S:0,se=X?M:y-Y[B]-K[B]-ee+P.altAxis,oe=X?y+Y[B]+K[B]-ee-P.altAxis:ne,de=E&&X?Cg(se,y,oe):Ts(E?se:M,y,E?oe:ne);V[O]=de,H[O]=de-y}t.modifiersData[s]=H}}const xc={name:"preventOverflow",enabled:!0,phase:"main",fn:Gg,requiresIfExists:["offset"]};function qg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function zg(e){return e===it(e)||!ct(e)?_o(e):qg(e)}function Xg(e){var t=e.getBoundingClientRect(),n=Zn(t.width)/e.offsetWidth||1,s=Zn(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Qg(e,t,n){n===void 0&&(n=!1);var s=ct(t),r=ct(t)&&Xg(t),o=an(t),a=es(e,r,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&((Ot(t)!=="body"||Eo(o))&&(l=zg(t)),ct(t)?(c=es(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=vo(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Jg(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function r(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&r(c)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||r(o)}),s}function Zg(e){var t=Jg(e);return _c.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function em(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function tm(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var Wa={placement:"bottom",modifiers:[],strategy:"absolute"};function Ka(){for(var e=arguments.length,t=new Array(e),n=0;nm[u]})}}return i.default=m,Object.freeze(i)}const r=s(n),o=new Map,a={set(m,i,u){o.has(m)||o.set(m,new Map);const v=o.get(m);if(!v.has(i)&&v.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(v.keys())[0]}.`);return}v.set(i,u)},get(m,i){return o.has(m)&&o.get(m).get(i)||null},remove(m,i){if(!o.has(m))return;const u=o.get(m);u.delete(i),u.size===0&&o.delete(m)}},l=1e6,c=1e3,h="transitionend",f=m=>(m&&window.CSS&&window.CSS.escape&&(m=m.replace(/#([^\s"#']+)/g,(i,u)=>`#${CSS.escape(u)}`)),m),d=m=>m==null?`${m}`:Object.prototype.toString.call(m).match(/\s([a-z]+)/i)[1].toLowerCase(),p=m=>{do m+=Math.floor(Math.random()*l);while(document.getElementById(m));return m},E=m=>{if(!m)return 0;let{transitionDuration:i,transitionDelay:u}=window.getComputedStyle(m);const v=Number.parseFloat(i),x=Number.parseFloat(u);return!v&&!x?0:(i=i.split(",")[0],u=u.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(u))*c)},A=m=>{m.dispatchEvent(new Event(h))},C=m=>!m||typeof m!="object"?!1:(typeof m.jquery<"u"&&(m=m[0]),typeof m.nodeType<"u"),k=m=>C(m)?m.jquery?m[0]:m:typeof m=="string"&&m.length>0?document.querySelector(f(m)):null,I=m=>{if(!C(m)||m.getClientRects().length===0)return!1;const i=getComputedStyle(m).getPropertyValue("visibility")==="visible",u=m.closest("details:not([open])");if(!u)return i;if(u!==m){const v=m.closest("summary");if(v&&v.parentNode!==u||v===null)return!1}return i},R=m=>!m||m.nodeType!==Node.ELEMENT_NODE||m.classList.contains("disabled")?!0:typeof m.disabled<"u"?m.disabled:m.hasAttribute("disabled")&&m.getAttribute("disabled")!=="false",F=m=>{if(!document.documentElement.attachShadow)return null;if(typeof m.getRootNode=="function"){const i=m.getRootNode();return i instanceof ShadowRoot?i:null}return m instanceof ShadowRoot?m:m.parentNode?F(m.parentNode):null},$=()=>{},O=m=>{m.offsetHeight},V=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Y=[],K=m=>{document.readyState==="loading"?(Y.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of Y)i()}),Y.push(m)):m()},w=()=>document.documentElement.dir==="rtl",P=m=>{K(()=>{const i=V();if(i){const u=m.NAME,v=i.fn[u];i.fn[u]=m.jQueryInterface,i.fn[u].Constructor=m,i.fn[u].noConflict=()=>(i.fn[u]=v,m.jQueryInterface)}})},z=(m,i=[],u=m)=>typeof m=="function"?m(...i):u,H=(m,i,u=!0)=>{if(!u){z(m);return}const x=E(i)+5;let W=!1;const j=({target:ae})=>{ae===i&&(W=!0,i.removeEventListener(h,j),z(m))};i.addEventListener(h,j),setTimeout(()=>{W||A(i)},x)},Q=(m,i,u,v)=>{const x=m.length;let W=m.indexOf(i);return W===-1?!u&&v?m[x-1]:m[0]:(W+=u?1:-1,v&&(W=(W+x)%x),m[Math.max(0,Math.min(W,x-1))])},ce=/[^.]*(?=\..*)\.|.*/,me=/\..*/,re=/::\d+$/,Z={};let le=1;const Ce={mouseenter:"mouseover",mouseleave:"mouseout"},He=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function De(m,i){return i&&`${i}::${le++}`||m.uidEvent||le++}function ye(m){const i=De(m);return m.uidEvent=i,Z[i]=Z[i]||{},Z[i]}function et(m,i){return function u(v){return pe(v,{delegateTarget:m}),u.oneOff&&T.off(m,v.type,i),i.apply(m,[v])}}function Be(m,i,u){return function v(x){const W=m.querySelectorAll(i);for(let{target:j}=x;j&&j!==this;j=j.parentNode)for(const ae of W)if(ae===j)return pe(x,{delegateTarget:j}),v.oneOff&&T.off(m,x.type,i,u),u.apply(j,[x])}}function Pe(m,i,u=null){return Object.values(m).find(v=>v.callable===i&&v.delegationSelector===u)}function Te(m,i,u){const v=typeof i=="string",x=v?u:i||u;let W=J(m);return He.has(W)||(W=m),[v,x,W]}function N(m,i,u,v,x){if(typeof i!="string"||!m)return;let[W,j,ae]=Te(i,u,v);i in Ce&&(j=(mg=>function(Hn){if(!Hn.relatedTarget||Hn.relatedTarget!==Hn.delegateTarget&&!Hn.delegateTarget.contains(Hn.relatedTarget))return mg.call(this,Hn)})(j));const Xe=ye(m),at=Xe[ae]||(Xe[ae]={}),Ne=Pe(at,j,W?u:null);if(Ne){Ne.oneOff=Ne.oneOff&&x;return}const yt=De(j,i.replace(ce,"")),gt=W?Be(m,u,j):et(m,j);gt.delegationSelector=W?u:null,gt.callable=j,gt.oneOff=x,gt.uidEvent=yt,at[yt]=gt,m.addEventListener(ae,gt,W)}function G(m,i,u,v,x){const W=Pe(i[u],v,x);W&&(m.removeEventListener(u,W,!!x),delete i[u][W.uidEvent])}function q(m,i,u,v){const x=i[u]||{};for(const[W,j]of Object.entries(x))W.includes(v)&&G(m,i,u,j.callable,j.delegationSelector)}function J(m){return m=m.replace(me,""),Ce[m]||m}const T={on(m,i,u,v){N(m,i,u,v,!1)},one(m,i,u,v){N(m,i,u,v,!0)},off(m,i,u,v){if(typeof i!="string"||!m)return;const[x,W,j]=Te(i,u,v),ae=j!==i,Xe=ye(m),at=Xe[j]||{},Ne=i.startsWith(".");if(typeof W<"u"){if(!Object.keys(at).length)return;G(m,Xe,j,W,x?u:null);return}if(Ne)for(const yt of Object.keys(Xe))q(m,Xe,yt,i.slice(1));for(const[yt,gt]of Object.entries(at)){const ar=yt.replace(re,"");(!ae||i.includes(ar))&&G(m,Xe,j,gt.callable,gt.delegationSelector)}},trigger(m,i,u){if(typeof i!="string"||!m)return null;const v=V(),x=J(i),W=i!==x;let j=null,ae=!0,Xe=!0,at=!1;W&&v&&(j=v.Event(i,u),v(m).trigger(j),ae=!j.isPropagationStopped(),Xe=!j.isImmediatePropagationStopped(),at=j.isDefaultPrevented());const Ne=pe(new Event(i,{bubbles:ae,cancelable:!0}),u);return at&&Ne.preventDefault(),Xe&&m.dispatchEvent(Ne),Ne.defaultPrevented&&j&&j.preventDefault(),Ne}};function pe(m,i={}){for(const[u,v]of Object.entries(i))try{m[u]=v}catch{Object.defineProperty(m,u,{configurable:!0,get(){return v}})}return m}function g(m){if(m==="true")return!0;if(m==="false")return!1;if(m===Number(m).toString())return Number(m);if(m===""||m==="null")return null;if(typeof m!="string")return m;try{return JSON.parse(decodeURIComponent(m))}catch{return m}}function _(m){return m.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const b={setDataAttribute(m,i,u){m.setAttribute(`data-bs-${_(i)}`,u)},removeDataAttribute(m,i){m.removeAttribute(`data-bs-${_(i)}`)},getDataAttributes(m){if(!m)return{};const i={},u=Object.keys(m.dataset).filter(v=>v.startsWith("bs")&&!v.startsWith("bsConfig"));for(const v of u){let x=v.replace(/^bs/,"");x=x.charAt(0).toLowerCase()+x.slice(1,x.length),i[x]=g(m.dataset[v])}return i},getDataAttribute(m,i){return g(m.getAttribute(`data-bs-${_(i)}`))}};class L{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,u){const v=C(u)?b.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof v=="object"?v:{},...C(u)?b.getDataAttributes(u):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,u=this.constructor.DefaultType){for(const[v,x]of Object.entries(u)){const W=i[v],j=C(W)?"element":d(W);if(!new RegExp(x).test(j))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${v}" provided type "${j}" but expected type "${x}".`)}}}const S="5.3.3";class D extends L{constructor(i,u){super(),i=k(i),i&&(this._element=i,this._config=this._getConfig(u),a.set(this._element,this.constructor.DATA_KEY,this))}dispose(){a.remove(this._element,this.constructor.DATA_KEY),T.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,u,v=!0){H(i,u,v)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return a.get(k(i),this.DATA_KEY)}static getOrCreateInstance(i,u={}){return this.getInstance(i)||new this(i,typeof u=="object"?u:null)}static get VERSION(){return S}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const U=m=>{let i=m.getAttribute("data-bs-target");if(!i||i==="#"){let u=m.getAttribute("href");if(!u||!u.includes("#")&&!u.startsWith("."))return null;u.includes("#")&&!u.startsWith("#")&&(u=`#${u.split("#")[1]}`),i=u&&u!=="#"?u.trim():null}return i?i.split(",").map(u=>f(u)).join(","):null},y={find(m,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,m))},findOne(m,i=document.documentElement){return Element.prototype.querySelector.call(i,m)},children(m,i){return[].concat(...m.children).filter(u=>u.matches(i))},parents(m,i){const u=[];let v=m.parentNode.closest(i);for(;v;)u.push(v),v=v.parentNode.closest(i);return u},prev(m,i){let u=m.previousElementSibling;for(;u;){if(u.matches(i))return[u];u=u.previousElementSibling}return[]},next(m,i){let u=m.nextElementSibling;for(;u;){if(u.matches(i))return[u];u=u.nextElementSibling}return[]},focusableChildren(m){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(i,m).filter(u=>!R(u)&&I(u))},getSelectorFromElement(m){const i=U(m);return i&&y.findOne(i)?i:null},getElementFromSelector(m){const i=U(m);return i?y.findOne(i):null},getMultipleElementsFromSelector(m){const i=U(m);return i?y.find(i):[]}},B=(m,i="hide")=>{const u=`click.dismiss${m.EVENT_KEY}`,v=m.NAME;T.on(document,u,`[data-bs-dismiss="${v}"]`,function(x){if(["A","AREA"].includes(this.tagName)&&x.preventDefault(),R(this))return;const W=y.getElementFromSelector(this)||this.closest(`.${v}`);m.getOrCreateInstance(W)[i]()})},M="alert",X=".bs.alert",ee=`close${X}`,se=`closed${X}`,oe="fade",de="show";class ue extends D{static get NAME(){return M}close(){if(T.trigger(this._element,ee).defaultPrevented)return;this._element.classList.remove(de);const u=this._element.classList.contains(oe);this._queueCallback(()=>this._destroyElement(),this._element,u)}_destroyElement(){this._element.remove(),T.trigger(this._element,se),this.dispose()}static jQueryInterface(i){return this.each(function(){const u=ue.getOrCreateInstance(this);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}B(ue,"close"),P(ue);const je="button",tt=".bs.button",We=".data-api",dn="active",ds='[data-bs-toggle="button"]',Ke=`click${tt}${We}`;class Me extends D{static get NAME(){return je}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(dn))}static jQueryInterface(i){return this.each(function(){const u=Me.getOrCreateInstance(this);i==="toggle"&&u[i]()})}}T.on(document,Ke,ds,m=>{m.preventDefault();const i=m.target.closest(ds);Me.getOrCreateInstance(i).toggle()}),P(Me);const zs="swipe",Ln=".bs.swipe",Bf=`touchstart${Ln}`,jf=`touchmove${Ln}`,Wf=`touchend${Ln}`,Kf=`pointerdown${Ln}`,Uf=`pointerup${Ln}`,Yf="touch",Gf="pen",qf="pointer-event",zf=40,Xf={endCallback:null,leftCallback:null,rightCallback:null},Qf={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Xs extends L{constructor(i,u){super(),this._element=i,!(!i||!Xs.isSupported())&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Xf}static get DefaultType(){return Qf}static get NAME(){return zs}dispose(){T.off(this._element,Ln)}_start(i){if(!this._supportPointerEvents){this._deltaX=i.touches[0].clientX;return}this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX)}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),z(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=zf)return;const u=i/this._deltaX;this._deltaX=0,u&&z(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(T.on(this._element,Kf,i=>this._start(i)),T.on(this._element,Uf,i=>this._end(i)),this._element.classList.add(qf)):(T.on(this._element,Bf,i=>this._start(i)),T.on(this._element,jf,i=>this._move(i)),T.on(this._element,Wf,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===Gf||i.pointerType===Yf)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Jf="carousel",Wt=".bs.carousel",Xo=".data-api",Zf="ArrowLeft",ed="ArrowRight",td=500,hs="next",Rn="prev",In="left",Qs="right",nd=`slide${Wt}`,ci=`slid${Wt}`,sd=`keydown${Wt}`,rd=`mouseenter${Wt}`,id=`mouseleave${Wt}`,od=`dragstart${Wt}`,ad=`load${Wt}${Xo}`,ld=`click${Wt}${Xo}`,Qo="carousel",Js="active",cd="slide",ud="carousel-item-end",fd="carousel-item-start",dd="carousel-item-next",hd="carousel-item-prev",Jo=".active",Zo=".carousel-item",pd=Jo+Zo,gd=".carousel-item img",md=".carousel-indicators",_d="[data-bs-slide], [data-bs-slide-to]",vd='[data-bs-ride="carousel"]',Ed={[Zf]:Qs,[ed]:In},bd={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},yd={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Pn extends D{constructor(i,u){super(i,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=y.findOne(md,this._element),this._addEventListeners(),this._config.ride===Qo&&this.cycle()}static get Default(){return bd}static get DefaultType(){return yd}static get NAME(){return Jf}next(){this._slide(hs)}nextWhenVisible(){!document.hidden&&I(this._element)&&this.next()}prev(){this._slide(Rn)}pause(){this._isSliding&&A(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){T.one(this._element,ci,()=>this.cycle());return}this.cycle()}}to(i){const u=this._getItems();if(i>u.length-1||i<0)return;if(this._isSliding){T.one(this._element,ci,()=>this.to(i));return}const v=this._getItemIndex(this._getActive());if(v===i)return;const x=i>v?hs:Rn;this._slide(x,u[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&T.on(this._element,sd,i=>this._keydown(i)),this._config.pause==="hover"&&(T.on(this._element,rd,()=>this.pause()),T.on(this._element,id,()=>this._maybeEnableCycle())),this._config.touch&&Xs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const v of y.find(gd,this._element))T.on(v,od,x=>x.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(In)),rightCallback:()=>this._slide(this._directionToOrder(Qs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),td+this._config.interval))}};this._swipeHelper=new Xs(this._element,u)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const u=Ed[i.key];u&&(i.preventDefault(),this._slide(this._directionToOrder(u)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const u=y.findOne(Jo,this._indicatorsElement);u.classList.remove(Js),u.removeAttribute("aria-current");const v=y.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);v&&(v.classList.add(Js),v.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const u=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=u||this._config.defaultInterval}_slide(i,u=null){if(this._isSliding)return;const v=this._getActive(),x=i===hs,W=u||Q(this._getItems(),v,x,this._config.wrap);if(W===v)return;const j=this._getItemIndex(W),ae=ar=>T.trigger(this._element,ar,{relatedTarget:W,direction:this._orderToDirection(i),from:this._getItemIndex(v),to:j});if(ae(nd).defaultPrevented||!v||!W)return;const at=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(j),this._activeElement=W;const Ne=x?fd:ud,yt=x?dd:hd;W.classList.add(yt),O(W),v.classList.add(Ne),W.classList.add(Ne);const gt=()=>{W.classList.remove(Ne,yt),W.classList.add(Js),v.classList.remove(Js,yt,Ne),this._isSliding=!1,ae(ci)};this._queueCallback(gt,v,this._isAnimated()),at&&this.cycle()}_isAnimated(){return this._element.classList.contains(cd)}_getActive(){return y.findOne(pd,this._element)}_getItems(){return y.find(Zo,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return w()?i===In?Rn:hs:i===In?hs:Rn}_orderToDirection(i){return w()?i===Rn?In:Qs:i===Rn?Qs:In}static jQueryInterface(i){return this.each(function(){const u=Pn.getOrCreateInstance(this,i);if(typeof i=="number"){u.to(i);return}if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}T.on(document,ld,_d,function(m){const i=y.getElementFromSelector(this);if(!i||!i.classList.contains(Qo))return;m.preventDefault();const u=Pn.getOrCreateInstance(i),v=this.getAttribute("data-bs-slide-to");if(v){u.to(v),u._maybeEnableCycle();return}if(b.getDataAttribute(this,"slide")==="next"){u.next(),u._maybeEnableCycle();return}u.prev(),u._maybeEnableCycle()}),T.on(window,ad,()=>{const m=y.find(vd);for(const i of m)Pn.getOrCreateInstance(i)}),P(Pn);const Ad="collapse",ps=".bs.collapse",Td=".data-api",Cd=`show${ps}`,wd=`shown${ps}`,Sd=`hide${ps}`,Od=`hidden${ps}`,Nd=`click${ps}${Td}`,ui="show",Mn="collapse",Zs="collapsing",xd="collapsed",$d=`:scope .${Mn} .${Mn}`,Dd="collapse-horizontal",Ld="width",Rd="height",Id=".collapse.show, .collapse.collapsing",fi='[data-bs-toggle="collapse"]',Pd={parent:null,toggle:!0},Md={parent:"(null|element)",toggle:"boolean"};class kn extends D{constructor(i,u){super(i,u),this._isTransitioning=!1,this._triggerArray=[];const v=y.find(fi);for(const x of v){const W=y.getSelectorFromElement(x),j=y.find(W).filter(ae=>ae===this._element);W!==null&&j.length&&this._triggerArray.push(x)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Pd}static get DefaultType(){return Md}static get NAME(){return Ad}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Id).filter(ae=>ae!==this._element).map(ae=>kn.getOrCreateInstance(ae,{toggle:!1}))),i.length&&i[0]._isTransitioning||T.trigger(this._element,Cd).defaultPrevented)return;for(const ae of i)ae.hide();const v=this._getDimension();this._element.classList.remove(Mn),this._element.classList.add(Zs),this._element.style[v]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const x=()=>{this._isTransitioning=!1,this._element.classList.remove(Zs),this._element.classList.add(Mn,ui),this._element.style[v]="",T.trigger(this._element,wd)},j=`scroll${v[0].toUpperCase()+v.slice(1)}`;this._queueCallback(x,this._element,!0),this._element.style[v]=`${this._element[j]}px`}hide(){if(this._isTransitioning||!this._isShown()||T.trigger(this._element,Sd).defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,O(this._element),this._element.classList.add(Zs),this._element.classList.remove(Mn,ui);for(const x of this._triggerArray){const W=y.getElementFromSelector(x);W&&!this._isShown(W)&&this._addAriaAndCollapsedClass([x],!1)}this._isTransitioning=!0;const v=()=>{this._isTransitioning=!1,this._element.classList.remove(Zs),this._element.classList.add(Mn),T.trigger(this._element,Od)};this._element.style[u]="",this._queueCallback(v,this._element,!0)}_isShown(i=this._element){return i.classList.contains(ui)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=k(i.parent),i}_getDimension(){return this._element.classList.contains(Dd)?Ld:Rd}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(fi);for(const u of i){const v=y.getElementFromSelector(u);v&&this._addAriaAndCollapsedClass([u],this._isShown(v))}}_getFirstLevelChildren(i){const u=y.find($d,this._config.parent);return y.find(i,this._config.parent).filter(v=>!u.includes(v))}_addAriaAndCollapsedClass(i,u){if(i.length)for(const v of i)v.classList.toggle(xd,!u),v.setAttribute("aria-expanded",u)}static jQueryInterface(i){const u={};return typeof i=="string"&&/show|hide/.test(i)&&(u.toggle=!1),this.each(function(){const v=kn.getOrCreateInstance(this,u);if(typeof i=="string"){if(typeof v[i]>"u")throw new TypeError(`No method named "${i}"`);v[i]()}})}}T.on(document,Nd,fi,function(m){(m.target.tagName==="A"||m.delegateTarget&&m.delegateTarget.tagName==="A")&&m.preventDefault();for(const i of y.getMultipleElementsFromSelector(this))kn.getOrCreateInstance(i,{toggle:!1}).toggle()}),P(kn);const ea="dropdown",hn=".bs.dropdown",di=".data-api",kd="Escape",ta="Tab",Vd="ArrowUp",na="ArrowDown",Fd=2,Hd=`hide${hn}`,Bd=`hidden${hn}`,jd=`show${hn}`,Wd=`shown${hn}`,sa=`click${hn}${di}`,ra=`keydown${hn}${di}`,Kd=`keyup${hn}${di}`,Vn="show",Ud="dropup",Yd="dropend",Gd="dropstart",qd="dropup-center",zd="dropdown-center",pn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Xd=`${pn}.${Vn}`,er=".dropdown-menu",Qd=".navbar",Jd=".navbar-nav",Zd=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",eh=w()?"top-end":"top-start",th=w()?"top-start":"top-end",nh=w()?"bottom-end":"bottom-start",sh=w()?"bottom-start":"bottom-end",rh=w()?"left-start":"right-start",ih=w()?"right-start":"left-start",oh="top",ah="bottom",lh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},ch={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class pt extends D{constructor(i,u){super(i,u),this._popper=null,this._parent=this._element.parentNode,this._menu=y.next(this._element,er)[0]||y.prev(this._element,er)[0]||y.findOne(er,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return lh}static get DefaultType(){return ch}static get NAME(){return ea}toggle(){return this._isShown()?this.hide():this.show()}show(){if(R(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!T.trigger(this._element,jd,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Jd))for(const v of[].concat(...document.body.children))T.on(v,"mouseover",$);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Vn),this._element.classList.add(Vn),T.trigger(this._element,Wd,i)}}hide(){if(R(this._element)||!this._isShown())return;const i={relatedTarget:this._element};this._completeHide(i)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(i){if(!T.trigger(this._element,Hd,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))T.off(v,"mouseover",$);this._popper&&this._popper.destroy(),this._menu.classList.remove(Vn),this._element.classList.remove(Vn),this._element.setAttribute("aria-expanded","false"),b.removeDataAttribute(this._menu,"popper"),T.trigger(this._element,Bd,i)}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!C(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${ea.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof r>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;this._config.reference==="parent"?i=this._parent:C(this._config.reference)?i=k(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const u=this._getPopperConfig();this._popper=r.createPopper(i,this._menu,u)}_isShown(){return this._menu.classList.contains(Vn)}_getPlacement(){const i=this._parent;if(i.classList.contains(Yd))return rh;if(i.classList.contains(Gd))return ih;if(i.classList.contains(qd))return oh;if(i.classList.contains(zd))return ah;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(Ud)?u?th:eh:u?sh:nh}_detectNavbar(){return this._element.closest(Qd)!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(u=>Number.parseInt(u,10)):typeof i=="function"?u=>i(u,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(b.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...z(this._config.popperConfig,[i])}}_selectMenuItem({key:i,target:u}){const v=y.find(Zd,this._menu).filter(x=>I(x));v.length&&Q(v,u,i===na,!v.includes(u)).focus()}static jQueryInterface(i){return this.each(function(){const u=pt.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}static clearMenus(i){if(i.button===Fd||i.type==="keyup"&&i.key!==ta)return;const u=y.find(Xd);for(const v of u){const x=pt.getInstance(v);if(!x||x._config.autoClose===!1)continue;const W=i.composedPath(),j=W.includes(x._menu);if(W.includes(x._element)||x._config.autoClose==="inside"&&!j||x._config.autoClose==="outside"&&j||x._menu.contains(i.target)&&(i.type==="keyup"&&i.key===ta||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const ae={relatedTarget:x._element};i.type==="click"&&(ae.clickEvent=i),x._completeHide(ae)}}static dataApiKeydownHandler(i){const u=/input|textarea/i.test(i.target.tagName),v=i.key===kd,x=[Vd,na].includes(i.key);if(!x&&!v||u&&!v)return;i.preventDefault();const W=this.matches(pn)?this:y.prev(this,pn)[0]||y.next(this,pn)[0]||y.findOne(pn,i.delegateTarget.parentNode),j=pt.getOrCreateInstance(W);if(x){i.stopPropagation(),j.show(),j._selectMenuItem(i);return}j._isShown()&&(i.stopPropagation(),j.hide(),W.focus())}}T.on(document,ra,pn,pt.dataApiKeydownHandler),T.on(document,ra,er,pt.dataApiKeydownHandler),T.on(document,sa,pt.clearMenus),T.on(document,Kd,pt.clearMenus),T.on(document,sa,pn,function(m){m.preventDefault(),pt.getOrCreateInstance(this).toggle()}),P(pt);const ia="backdrop",uh="fade",oa="show",aa=`mousedown.bs.${ia}`,fh={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},dh={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class la extends L{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return fh}static get DefaultType(){return dh}static get NAME(){return ia}show(i){if(!this._config.isVisible){z(i);return}this._append();const u=this._getElement();this._config.isAnimated&&O(u),u.classList.add(oa),this._emulateAnimation(()=>{z(i)})}hide(i){if(!this._config.isVisible){z(i);return}this._getElement().classList.remove(oa),this._emulateAnimation(()=>{this.dispose(),z(i)})}dispose(){this._isAppended&&(T.off(this._element,aa),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add(uh),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=k(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),T.on(i,aa,()=>{z(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){H(i,this._getElement(),this._config.isAnimated)}}const hh="focustrap",tr=".bs.focustrap",ph=`focusin${tr}`,gh=`keydown.tab${tr}`,mh="Tab",_h="forward",ca="backward",vh={autofocus:!0,trapElement:null},Eh={autofocus:"boolean",trapElement:"element"};class ua extends L{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return vh}static get DefaultType(){return Eh}static get NAME(){return hh}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),T.off(document,tr),T.on(document,ph,i=>this._handleFocusin(i)),T.on(document,gh,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,T.off(document,tr))}_handleFocusin(i){const{trapElement:u}=this._config;if(i.target===document||i.target===u||u.contains(i.target))return;const v=y.focusableChildren(u);v.length===0?u.focus():this._lastTabNavDirection===ca?v[v.length-1].focus():v[0].focus()}_handleKeydown(i){i.key===mh&&(this._lastTabNavDirection=i.shiftKey?ca:_h)}}const fa=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",da=".sticky-top",nr="padding-right",ha="margin-right";class hi{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,nr,u=>u+i),this._setElementAttributes(fa,nr,u=>u+i),this._setElementAttributes(da,ha,u=>u-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,nr),this._resetElementAttributes(fa,nr),this._resetElementAttributes(da,ha)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,u,v){const x=this.getWidth(),W=j=>{if(j!==this._element&&window.innerWidth>j.clientWidth+x)return;this._saveInitialAttribute(j,u);const ae=window.getComputedStyle(j).getPropertyValue(u);j.style.setProperty(u,`${v(Number.parseFloat(ae))}px`)};this._applyManipulationCallback(i,W)}_saveInitialAttribute(i,u){const v=i.style.getPropertyValue(u);v&&b.setDataAttribute(i,u,v)}_resetElementAttributes(i,u){const v=x=>{const W=b.getDataAttribute(x,u);if(W===null){x.style.removeProperty(u);return}b.removeDataAttribute(x,u),x.style.setProperty(u,W)};this._applyManipulationCallback(i,v)}_applyManipulationCallback(i,u){if(C(i)){u(i);return}for(const v of y.find(i,this._element))u(v)}}const bh="modal",ot=".bs.modal",yh=".data-api",Ah="Escape",Th=`hide${ot}`,Ch=`hidePrevented${ot}`,pa=`hidden${ot}`,ga=`show${ot}`,wh=`shown${ot}`,Sh=`resize${ot}`,Oh=`click.dismiss${ot}`,Nh=`mousedown.dismiss${ot}`,xh=`keydown.dismiss${ot}`,$h=`click${ot}${yh}`,ma="modal-open",Dh="fade",_a="show",pi="modal-static",Lh=".modal.show",Rh=".modal-dialog",Ih=".modal-body",Ph='[data-bs-toggle="modal"]',Mh={backdrop:!0,focus:!0,keyboard:!0},kh={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class gn extends D{constructor(i,u){super(i,u),this._dialog=y.findOne(Rh,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new hi,this._addEventListeners()}static get Default(){return Mh}static get DefaultType(){return kh}static get NAME(){return bh}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||T.trigger(this._element,ga,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ma),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||T.trigger(this._element,Th).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_a),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){T.off(window,ot),T.off(this._dialog,ot),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new la({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ua({trapElement:this._element})}_showElement(i){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const u=y.findOne(Ih,this._dialog);u&&(u.scrollTop=0),O(this._element),this._element.classList.add(_a);const v=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,T.trigger(this._element,wh,{relatedTarget:i})};this._queueCallback(v,this._dialog,this._isAnimated())}_addEventListeners(){T.on(this._element,xh,i=>{if(i.key===Ah){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),T.on(window,Sh,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),T.on(this._element,Nh,i=>{T.one(this._element,Oh,u=>{if(!(this._element!==i.target||this._element!==u.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ma),this._resetAdjustments(),this._scrollBar.reset(),T.trigger(this._element,pa)})}_isAnimated(){return this._element.classList.contains(Dh)}_triggerBackdropTransition(){if(T.trigger(this._element,Ch).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,v=this._element.style.overflowY;v==="hidden"||this._element.classList.contains(pi)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(pi),this._queueCallback(()=>{this._element.classList.remove(pi),this._queueCallback(()=>{this._element.style.overflowY=v},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,u=this._scrollBar.getWidth(),v=u>0;if(v&&!i){const x=w()?"paddingLeft":"paddingRight";this._element.style[x]=`${u}px`}if(!v&&i){const x=w()?"paddingRight":"paddingLeft";this._element.style[x]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,u){return this.each(function(){const v=gn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof v[i]>"u")throw new TypeError(`No method named "${i}"`);v[i](u)}})}}T.on(document,$h,Ph,function(m){const i=y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&m.preventDefault(),T.one(i,ga,x=>{x.defaultPrevented||T.one(i,pa,()=>{I(this)&&this.focus()})});const u=y.findOne(Lh);u&&gn.getInstance(u).hide(),gn.getOrCreateInstance(i).toggle(this)}),B(gn),P(gn);const Vh="offcanvas",xt=".bs.offcanvas",va=".data-api",Fh=`load${xt}${va}`,Hh="Escape",Ea="show",ba="showing",ya="hiding",Bh="offcanvas-backdrop",Aa=".offcanvas.show",jh=`show${xt}`,Wh=`shown${xt}`,Kh=`hide${xt}`,Ta=`hidePrevented${xt}`,Ca=`hidden${xt}`,Uh=`resize${xt}`,Yh=`click${xt}${va}`,Gh=`keydown.dismiss${xt}`,qh='[data-bs-toggle="offcanvas"]',zh={backdrop:!0,keyboard:!0,scroll:!1},Xh={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $t extends D{constructor(i,u){super(i,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return zh}static get DefaultType(){return Xh}static get NAME(){return Vh}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||T.trigger(this._element,jh,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new hi().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ba);const v=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ea),this._element.classList.remove(ba),T.trigger(this._element,Wh,{relatedTarget:i})};this._queueCallback(v,this._element,!0)}hide(){if(!this._isShown||T.trigger(this._element,Kh).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ya),this._backdrop.hide();const u=()=>{this._element.classList.remove(Ea,ya),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new hi().reset(),T.trigger(this._element,Ca)};this._queueCallback(u,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){T.trigger(this._element,Ta);return}this.hide()},u=!!this._config.backdrop;return new la({className:Bh,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?i:null})}_initializeFocusTrap(){return new ua({trapElement:this._element})}_addEventListeners(){T.on(this._element,Gh,i=>{if(i.key===Hh){if(this._config.keyboard){this.hide();return}T.trigger(this._element,Ta)}})}static jQueryInterface(i){return this.each(function(){const u=$t.getOrCreateInstance(this,i);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}T.on(document,Yh,qh,function(m){const i=y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&m.preventDefault(),R(this))return;T.one(i,Ca,()=>{I(this)&&this.focus()});const u=y.findOne(Aa);u&&u!==i&&$t.getInstance(u).hide(),$t.getOrCreateInstance(i).toggle(this)}),T.on(window,Fh,()=>{for(const m of y.find(Aa))$t.getOrCreateInstance(m).show()}),T.on(window,Uh,()=>{for(const m of y.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(m).position!=="fixed"&&$t.getOrCreateInstance(m).hide()}),B($t),P($t);const wa={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Qh=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Jh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Zh=(m,i)=>{const u=m.nodeName.toLowerCase();return i.includes(u)?Qh.has(u)?!!Jh.test(m.nodeValue):!0:i.filter(v=>v instanceof RegExp).some(v=>v.test(u))};function ep(m,i,u){if(!m.length)return m;if(u&&typeof u=="function")return u(m);const x=new window.DOMParser().parseFromString(m,"text/html"),W=[].concat(...x.body.querySelectorAll("*"));for(const j of W){const ae=j.nodeName.toLowerCase();if(!Object.keys(i).includes(ae)){j.remove();continue}const Xe=[].concat(...j.attributes),at=[].concat(i["*"]||[],i[ae]||[]);for(const Ne of Xe)Zh(Ne,at)||j.removeAttribute(Ne.nodeName)}return x.body.innerHTML}const tp="TemplateFactory",np={allowList:wa,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},sp={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},rp={entry:"(string|element|function|null)",selector:"(string|element)"};class ip extends L{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return np}static get DefaultType(){return sp}static get NAME(){return tp}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[x,W]of Object.entries(this._config.content))this._setContent(i,W,x);const u=i.children[0],v=this._resolvePossibleFunction(this._config.extraClass);return v&&u.classList.add(...v.split(" ")),u}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[u,v]of Object.entries(i))super._typeCheckConfig({selector:u,entry:v},rp)}_setContent(i,u,v){const x=y.findOne(v,i);if(x){if(u=this._resolvePossibleFunction(u),!u){x.remove();return}if(C(u)){this._putElementInTemplate(k(u),x);return}if(this._config.html){x.innerHTML=this._maybeSanitize(u);return}x.textContent=u}}_maybeSanitize(i){return this._config.sanitize?ep(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return z(i,[this])}_putElementInTemplate(i,u){if(this._config.html){u.innerHTML="",u.append(i);return}u.textContent=i.textContent}}const op="tooltip",ap=new Set(["sanitize","allowList","sanitizeFn"]),gi="fade",lp="modal",sr="show",cp=".tooltip-inner",Sa=`.${lp}`,Oa="hide.bs.modal",gs="hover",mi="focus",up="click",fp="manual",dp="hide",hp="hidden",pp="show",gp="shown",mp="inserted",_p="click",vp="focusin",Ep="focusout",bp="mouseenter",yp="mouseleave",Ap={AUTO:"auto",TOP:"top",RIGHT:w()?"left":"right",BOTTOM:"bottom",LEFT:w()?"right":"left"},Tp={allowList:wa,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Cp={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class mn extends D{constructor(i,u){if(typeof r>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(i,u),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Tp}static get DefaultType(){return Cp}static get NAME(){return op}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),T.off(this._element.closest(Sa),Oa,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const i=T.trigger(this._element,this.constructor.eventName(pp)),v=(F(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!v)return;this._disposePopper();const x=this._getTipElement();this._element.setAttribute("aria-describedby",x.getAttribute("id"));const{container:W}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(W.append(x),T.trigger(this._element,this.constructor.eventName(mp))),this._popper=this._createPopper(x),x.classList.add(sr),"ontouchstart"in document.documentElement)for(const ae of[].concat(...document.body.children))T.on(ae,"mouseover",$);const j=()=>{T.trigger(this._element,this.constructor.eventName(gp)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(j,this.tip,this._isAnimated())}hide(){if(!this._isShown()||T.trigger(this._element,this.constructor.eventName(dp)).defaultPrevented)return;if(this._getTipElement().classList.remove(sr),"ontouchstart"in document.documentElement)for(const x of[].concat(...document.body.children))T.off(x,"mouseover",$);this._activeTrigger[up]=!1,this._activeTrigger[mi]=!1,this._activeTrigger[gs]=!1,this._isHovered=null;const v=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),T.trigger(this._element,this.constructor.eventName(hp)))};this._queueCallback(v,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(i){const u=this._getTemplateFactory(i).toHtml();if(!u)return null;u.classList.remove(gi,sr),u.classList.add(`bs-${this.constructor.NAME}-auto`);const v=p(this.constructor.NAME).toString();return u.setAttribute("id",v),this._isAnimated()&&u.classList.add(gi),u}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new ip({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[cp]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(gi)}_isShown(){return this.tip&&this.tip.classList.contains(sr)}_createPopper(i){const u=z(this._config.placement,[this,i,this._element]),v=Ap[u.toUpperCase()];return r.createPopper(this._element,i,this._getPopperConfig(v))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(u=>Number.parseInt(u,10)):typeof i=="function"?u=>i(u,this._element):i}_resolvePossibleFunction(i){return z(i,[this._element])}_getPopperConfig(i){const u={placement:i,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:v=>{this._getTipElement().setAttribute("data-popper-placement",v.state.placement)}}]};return{...u,...z(this._config.popperConfig,[u])}}_setListeners(){const i=this._config.trigger.split(" ");for(const u of i)if(u==="click")T.on(this._element,this.constructor.eventName(_p),this._config.selector,v=>{this._initializeOnDelegatedTarget(v).toggle()});else if(u!==fp){const v=u===gs?this.constructor.eventName(bp):this.constructor.eventName(vp),x=u===gs?this.constructor.eventName(yp):this.constructor.eventName(Ep);T.on(this._element,v,this._config.selector,W=>{const j=this._initializeOnDelegatedTarget(W);j._activeTrigger[W.type==="focusin"?mi:gs]=!0,j._enter()}),T.on(this._element,x,this._config.selector,W=>{const j=this._initializeOnDelegatedTarget(W);j._activeTrigger[W.type==="focusout"?mi:gs]=j._element.contains(W.relatedTarget),j._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},T.on(this._element.closest(Sa),Oa,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(i,u){clearTimeout(this._timeout),this._timeout=setTimeout(i,u)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const u=b.getDataAttributes(this._element);for(const v of Object.keys(u))ap.has(v)&&delete u[v];return i={...u,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:k(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[u,v]of Object.entries(this._config))this.constructor.Default[u]!==v&&(i[u]=v);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const u=mn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}P(mn);const wp="popover",Sp=".popover-header",Op=".popover-body",Np={...mn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},xp={...mn.DefaultType,content:"(null|string|element|function)"};class rr extends mn{static get Default(){return Np}static get DefaultType(){return xp}static get NAME(){return wp}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Sp]:this._getTitle(),[Op]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const u=rr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}P(rr);const $p="scrollspy",_i=".bs.scrollspy",Dp=".data-api",Lp=`activate${_i}`,Na=`click${_i}`,Rp=`load${_i}${Dp}`,Ip="dropdown-item",Fn="active",Pp='[data-bs-spy="scroll"]',vi="[href]",Mp=".nav, .list-group",xa=".nav-link",kp=`${xa}, .nav-item > ${xa}, .list-group-item`,Vp=".dropdown",Fp=".dropdown-toggle",Hp={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Bp={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ms extends D{constructor(i,u){super(i,u),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Hp}static get DefaultType(){return Bp}static get NAME(){return $p}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=k(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(u=>Number.parseFloat(u))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(T.off(this._config.target,Na),T.on(this._config.target,Na,vi,i=>{const u=this._observableSections.get(i.target.hash);if(u){i.preventDefault();const v=this._rootElement||window,x=u.offsetTop-this._element.offsetTop;if(v.scrollTo){v.scrollTo({top:x,behavior:"smooth"});return}v.scrollTop=x}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(u=>this._observerCallback(u),i)}_observerCallback(i){const u=j=>this._targetLinks.get(`#${j.target.id}`),v=j=>{this._previousScrollData.visibleEntryTop=j.target.offsetTop,this._process(u(j))},x=(this._rootElement||document.documentElement).scrollTop,W=x>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=x;for(const j of i){if(!j.isIntersecting){this._activeTarget=null,this._clearActiveClass(u(j));continue}const ae=j.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(W&&ae){if(v(j),!x)return;continue}!W&&!ae&&v(j)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=y.find(vi,this._config.target);for(const u of i){if(!u.hash||R(u))continue;const v=y.findOne(decodeURI(u.hash),this._element);I(v)&&(this._targetLinks.set(decodeURI(u.hash),u),this._observableSections.set(u.hash,v))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Fn),this._activateParents(i),T.trigger(this._element,Lp,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(Ip)){y.findOne(Fp,i.closest(Vp)).classList.add(Fn);return}for(const u of y.parents(i,Mp))for(const v of y.prev(u,kp))v.classList.add(Fn)}_clearActiveClass(i){i.classList.remove(Fn);const u=y.find(`${vi}.${Fn}`,i);for(const v of u)v.classList.remove(Fn)}static jQueryInterface(i){return this.each(function(){const u=ms.getOrCreateInstance(this,i);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}T.on(window,Rp,()=>{for(const m of y.find(Pp))ms.getOrCreateInstance(m)}),P(ms);const jp="tab",_n=".bs.tab",Wp=`hide${_n}`,Kp=`hidden${_n}`,Up=`show${_n}`,Yp=`shown${_n}`,Gp=`click${_n}`,qp=`keydown${_n}`,zp=`load${_n}`,Xp="ArrowLeft",$a="ArrowRight",Qp="ArrowUp",Da="ArrowDown",Ei="Home",La="End",vn="active",Ra="fade",bi="show",Jp="dropdown",Ia=".dropdown-toggle",Zp=".dropdown-menu",yi=`:not(${Ia})`,eg='.list-group, .nav, [role="tablist"]',tg=".nav-item, .list-group-item",ng=`.nav-link${yi}, .list-group-item${yi}, [role="tab"]${yi}`,Pa='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ai=`${ng}, ${Pa}`,sg=`.${vn}[data-bs-toggle="tab"], .${vn}[data-bs-toggle="pill"], .${vn}[data-bs-toggle="list"]`;class En extends D{constructor(i){super(i),this._parent=this._element.closest(eg),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),T.on(this._element,qp,u=>this._keydown(u)))}static get NAME(){return jp}show(){const i=this._element;if(this._elemIsActive(i))return;const u=this._getActiveElem(),v=u?T.trigger(u,Wp,{relatedTarget:i}):null;T.trigger(i,Up,{relatedTarget:u}).defaultPrevented||v&&v.defaultPrevented||(this._deactivate(u,i),this._activate(i,u))}_activate(i,u){if(!i)return;i.classList.add(vn),this._activate(y.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(bi);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),T.trigger(i,Yp,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ra))}_deactivate(i,u){if(!i)return;i.classList.remove(vn),i.blur(),this._deactivate(y.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(bi);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),T.trigger(i,Kp,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ra))}_keydown(i){if(![Xp,$a,Qp,Da,Ei,La].includes(i.key))return;i.stopPropagation(),i.preventDefault();const u=this._getChildren().filter(x=>!R(x));let v;if([Ei,La].includes(i.key))v=u[i.key===Ei?0:u.length-1];else{const x=[$a,Da].includes(i.key);v=Q(u,i.target,x,!0)}v&&(v.focus({preventScroll:!0}),En.getOrCreateInstance(v).show())}_getChildren(){return y.find(Ai,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,u){this._setAttributeIfNotExists(i,"role","tablist");for(const v of u)this._setInitialAttributesOnChild(v)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const u=this._elemIsActive(i),v=this._getOuterElement(i);i.setAttribute("aria-selected",u),v!==i&&this._setAttributeIfNotExists(v,"role","presentation"),u||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const u=y.getElementFromSelector(i);u&&(this._setAttributeIfNotExists(u,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(u,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,u){const v=this._getOuterElement(i);if(!v.classList.contains(Jp))return;const x=(W,j)=>{const ae=y.findOne(W,v);ae&&ae.classList.toggle(j,u)};x(Ia,vn),x(Zp,bi),v.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(i,u,v){i.hasAttribute(u)||i.setAttribute(u,v)}_elemIsActive(i){return i.classList.contains(vn)}_getInnerElement(i){return i.matches(Ai)?i:y.findOne(Ai,i)}_getOuterElement(i){return i.closest(tg)||i}static jQueryInterface(i){return this.each(function(){const u=En.getOrCreateInstance(this);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}T.on(document,Gp,Pa,function(m){["A","AREA"].includes(this.tagName)&&m.preventDefault(),!R(this)&&En.getOrCreateInstance(this).show()}),T.on(window,zp,()=>{for(const m of y.find(sg))En.getOrCreateInstance(m)}),P(En);const rg="toast",Kt=".bs.toast",ig=`mouseover${Kt}`,og=`mouseout${Kt}`,ag=`focusin${Kt}`,lg=`focusout${Kt}`,cg=`hide${Kt}`,ug=`hidden${Kt}`,fg=`show${Kt}`,dg=`shown${Kt}`,hg="fade",Ma="hide",ir="show",or="showing",pg={animation:"boolean",autohide:"boolean",delay:"number"},gg={animation:!0,autohide:!0,delay:5e3};class _s extends D{constructor(i,u){super(i,u),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return gg}static get DefaultType(){return pg}static get NAME(){return rg}show(){if(T.trigger(this._element,fg).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(hg);const u=()=>{this._element.classList.remove(or),T.trigger(this._element,dg),this._maybeScheduleHide()};this._element.classList.remove(Ma),O(this._element),this._element.classList.add(ir,or),this._queueCallback(u,this._element,this._config.animation)}hide(){if(!this.isShown()||T.trigger(this._element,cg).defaultPrevented)return;const u=()=>{this._element.classList.add(Ma),this._element.classList.remove(or,ir),T.trigger(this._element,ug)};this._element.classList.add(or),this._queueCallback(u,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ir),super.dispose()}isShown(){return this._element.classList.contains(ir)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,u){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=u;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=u;break}}if(u){this._clearTimeout();return}const v=i.relatedTarget;this._element===v||this._element.contains(v)||this._maybeScheduleHide()}_setListeners(){T.on(this._element,ig,i=>this._onInteraction(i,!0)),T.on(this._element,og,i=>this._onInteraction(i,!1)),T.on(this._element,ag,i=>this._onInteraction(i,!0)),T.on(this._element,lg,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const u=_s.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}return B(_s),P(_s),{Alert:ue,Button:Me,Carousel:Pn,Collapse:kn,Dropdown:pt,Modal:gn,Offcanvas:$t,Popover:rr,ScrollSpy:ms,Tab:En,Toast:_s,Tooltip:mn}})})(Eg);/** * @vue/shared v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function yo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const _e={},Yn=[],St=()=>{},cm=()=>!1,jr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ao=e=>e.startsWith("onUpdate:"),Se=Object.assign,To=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},um=Object.prototype.hasOwnProperty,he=(e,t)=>um.call(e,t),te=Array.isArray,Gn=e=>Ws(e)==="[object Map]",us=e=>Ws(e)==="[object Set]",Ua=e=>Ws(e)==="[object Date]",ie=e=>typeof e=="function",be=e=>typeof e=="string",Nt=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",$c=e=>(ve(e)||ie(e))&&ie(e.then)&&ie(e.catch),Dc=Object.prototype.toString,Ws=e=>Dc.call(e),fm=e=>Ws(e).slice(8,-1),Lc=e=>Ws(e)==="[object Object]",Co=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ws=yo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},dm=/-(\w)/g,ht=Wr(e=>e.replace(dm,(t,n)=>n?n.toUpperCase():"")),hm=/\B([A-Z])/g,ln=Wr(e=>e.replace(hm,"-$1").toLowerCase()),Kr=Wr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ti=Wr(e=>e?`on${Kr(e)}`:""),sn=(e,t)=>!Object.is(e,t),br=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ic=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let Ya;const Pc=()=>Ya||(Ya=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ur(e){if(te(e)){const t={};for(let n=0;n{if(n){const s=n.split(gm);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Yr(e){let t="";if(be(e))t=e;else if(te(e))for(let n=0;nxn(n,t))}const kc=e=>!!(e&&e.__v_isRef===!0),Vc=e=>be(e)?e:e==null?"":te(e)||ve(e)&&(e.toString===Dc||!ie(e.toString))?kc(e)?Vc(e.value):JSON.stringify(e,Fc,2):String(e),Fc=(e,t)=>kc(t)?Fc(e,t.value):Gn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ci(s,o)+" =>"]=r,n),{})}:us(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ci(n))}:Nt(t)?Ci(t):ve(t)&&!te(t)&&!Lc(t)?String(t):t,Ci=(e,t="")=>{var n;return Nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ye;class Hc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Os){let t=Os;for(Os=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ss;){let t=Ss;for(Ss=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Yc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Gc(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),No(s),Am(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ji(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Is))return;e.globalVersion=Is;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ji(e)){e.flags&=-3;return}const n=Ee,s=vt;Ee=e,vt=!0;try{Yc(e);const r=e.fn(e._value);(t.version===0||sn(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ee=n,vt=s,Gc(e),e.flags&=-3}}function No(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s),!n.subs&&n.computed){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)No(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Am(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let vt=!0;const zc=[];function cn(){zc.push(vt),vt=!1}function un(){const e=zc.pop();vt=e===void 0?!0:e}function Ga(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ee;Ee=void 0;try{t()}finally{Ee=n}}}let Is=0;class Tm{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class xo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ee||!vt||Ee===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ee)n=this.activeLink=new Tm(Ee,this),Ee.deps?(n.prevDep=Ee.depsTail,Ee.depsTail.nextDep=n,Ee.depsTail=n):Ee.deps=Ee.depsTail=n,Xc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ee.depsTail,n.nextDep=void 0,Ee.depsTail.nextDep=n,Ee.depsTail=n,Ee.deps===n&&(Ee.deps=s)}return n}trigger(t){this.version++,Is++,this.notify(t)}notify(t){So();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Oo()}}}function Xc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Xc(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xr=new WeakMap,wn=Symbol(""),Wi=Symbol(""),Ps=Symbol("");function Fe(e,t,n){if(vt&&Ee){let s=xr.get(e);s||xr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new xo),r.map=s,r.key=n),r.track()}}function Ft(e,t,n,s,r,o){const a=xr.get(e);if(!a){Is++;return}const l=c=>{c&&c.trigger()};if(So(),t==="clear")a.forEach(l);else{const c=te(e),h=c&&Co(n);if(c&&n==="length"){const f=Number(s);a.forEach((d,p)=>{(p==="length"||p===Ps||!Nt(p)&&p>=f)&&l(d)})}else switch(n!==void 0&&l(a.get(n)),h&&l(a.get(Ps)),t){case"add":c?h&&l(a.get("length")):(l(a.get(wn)),Gn(e)&&l(a.get(Wi)));break;case"delete":c||(l(a.get(wn)),Gn(e)&&l(a.get(Wi)));break;case"set":Gn(e)&&l(a.get(wn));break}}Oo()}function Cm(e,t){const n=xr.get(e);return n&&n.get(t)}function Bn(e){const t=fe(e);return t===e?t:(Fe(t,"iterate",Ps),ut(e)?t:t.map(ke))}function Gr(e){return Fe(e=fe(e),"iterate",Ps),e}const wm={__proto__:null,[Symbol.iterator](){return Si(this,Symbol.iterator,ke)},concat(...e){return Bn(this).concat(...e.map(t=>te(t)?Bn(t):t))},entries(){return Si(this,"entries",e=>(e[1]=ke(e[1]),e))},every(e,t){return Dt(this,"every",e,t,void 0,arguments)},filter(e,t){return Dt(this,"filter",e,t,n=>n.map(ke),arguments)},find(e,t){return Dt(this,"find",e,t,ke,arguments)},findIndex(e,t){return Dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Dt(this,"findLast",e,t,ke,arguments)},findLastIndex(e,t){return Dt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Oi(this,"includes",e)},indexOf(...e){return Oi(this,"indexOf",e)},join(e){return Bn(this).join(e)},lastIndexOf(...e){return Oi(this,"lastIndexOf",e)},map(e,t){return Dt(this,"map",e,t,void 0,arguments)},pop(){return vs(this,"pop")},push(...e){return vs(this,"push",e)},reduce(e,...t){return qa(this,"reduce",e,t)},reduceRight(e,...t){return qa(this,"reduceRight",e,t)},shift(){return vs(this,"shift")},some(e,t){return Dt(this,"some",e,t,void 0,arguments)},splice(...e){return vs(this,"splice",e)},toReversed(){return Bn(this).toReversed()},toSorted(e){return Bn(this).toSorted(e)},toSpliced(...e){return Bn(this).toSpliced(...e)},unshift(...e){return vs(this,"unshift",e)},values(){return Si(this,"values",ke)}};function Si(e,t,n){const s=Gr(e),r=s[t]();return s!==e&&!ut(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Sm=Array.prototype;function Dt(e,t,n,s,r,o){const a=Gr(e),l=a!==e&&!ut(e),c=a[t];if(c!==Sm[t]){const d=c.apply(e,o);return l?ke(d):d}let h=n;a!==e&&(l?h=function(d,p){return n.call(this,ke(d),p,e)}:n.length>2&&(h=function(d,p){return n.call(this,d,p,e)}));const f=c.call(a,h,s);return l&&r?r(f):f}function qa(e,t,n,s){const r=Gr(e);let o=n;return r!==e&&(ut(e)?n.length>3&&(o=function(a,l,c){return n.call(this,a,l,c,e)}):o=function(a,l,c){return n.call(this,a,ke(l),c,e)}),r[t](o,...s)}function Oi(e,t,n){const s=fe(e);Fe(s,"iterate",Ps);const r=s[t](...n);return(r===-1||r===!1)&&Ro(n[0])?(n[0]=fe(n[0]),s[t](...n)):r}function vs(e,t,n=[]){cn(),So();const s=fe(e)[t].apply(e,n);return Oo(),un(),s}const Om=yo("__proto__,__v_isRef,__isVue"),Qc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nt));function Nm(e){Nt(e)||(e=String(e));const t=fe(this);return Fe(t,"has",e),t.hasOwnProperty(e)}class Jc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Bm:nu:o?tu:eu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=te(t);if(!r){let c;if(a&&(c=wm[n]))return c;if(n==="hasOwnProperty")return Nm}const l=Reflect.get(t,n,Ae(t)?t:s);return(Nt(n)?Qc.has(n):Om(n))||(r||Fe(t,"get",n),o)?l:Ae(l)?a&&Co(n)?l:l.value:ve(l)?r?ru(l):Ks(l):l}}class Zc extends Jc{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=$n(o);if(!ut(s)&&!$n(s)&&(o=fe(o),s=fe(s)),!te(t)&&Ae(o)&&!Ae(s))return c?!1:(o.value=s,!0)}const a=te(t)&&Co(n)?Number(n)e,qr=e=>Reflect.getPrototypeOf(e);function cr(e,t,n=!1,s=!1){e=e.__v_raw;const r=fe(e),o=fe(t);n||(sn(t,o)&&Fe(r,"get",t),Fe(r,"get",o));const{has:a}=qr(r),l=s?$o:n?Io:ke;if(a.call(r,t))return l(e.get(t));if(a.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function ur(e,t=!1){const n=this.__v_raw,s=fe(n),r=fe(e);return t||(sn(e,r)&&Fe(s,"has",e),Fe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function fr(e,t=!1){return e=e.__v_raw,!t&&Fe(fe(e),"iterate",wn),Reflect.get(e,"size",e)}function za(e,t=!1){!t&&!ut(e)&&!$n(e)&&(e=fe(e));const n=fe(this);return qr(n).has.call(n,e)||(n.add(e),Ft(n,"add",e,e)),this}function Xa(e,t,n=!1){!n&&!ut(t)&&!$n(t)&&(t=fe(t));const s=fe(this),{has:r,get:o}=qr(s);let a=r.call(s,e);a||(e=fe(e),a=r.call(s,e));const l=o.call(s,e);return s.set(e,t),a?sn(t,l)&&Ft(s,"set",e,t):Ft(s,"add",e,t),this}function Qa(e){const t=fe(this),{has:n,get:s}=qr(t);let r=n.call(t,e);r||(e=fe(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ft(t,"delete",e,void 0),o}function Ja(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&Ft(e,"clear",void 0,void 0),n}function dr(e,t){return function(s,r){const o=this,a=o.__v_raw,l=fe(a),c=t?$o:e?Io:ke;return!e&&Fe(l,"iterate",wn),a.forEach((h,f)=>s.call(r,c(h),c(f),o))}}function hr(e,t,n){return function(...s){const r=this.__v_raw,o=fe(r),a=Gn(o),l=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,h=r[e](...s),f=n?$o:t?Io:ke;return!t&&Fe(o,"iterate",c?Wi:wn),{next(){const{value:d,done:p}=h.next();return p?{value:d,done:p}:{value:l?[f(d[0]),f(d[1])]:f(d),done:p}},[Symbol.iterator](){return this}}}}function Ut(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Rm(){const e={get(o){return cr(this,o)},get size(){return fr(this)},has:ur,add:za,set:Xa,delete:Qa,clear:Ja,forEach:dr(!1,!1)},t={get(o){return cr(this,o,!1,!0)},get size(){return fr(this)},has:ur,add(o){return za.call(this,o,!0)},set(o,a){return Xa.call(this,o,a,!0)},delete:Qa,clear:Ja,forEach:dr(!1,!0)},n={get(o){return cr(this,o,!0)},get size(){return fr(this,!0)},has(o){return ur.call(this,o,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:dr(!0,!1)},s={get(o){return cr(this,o,!0,!0)},get size(){return fr(this,!0)},has(o){return ur.call(this,o,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:dr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=hr(o,!1,!1),n[o]=hr(o,!0,!1),t[o]=hr(o,!1,!0),s[o]=hr(o,!0,!0)}),[e,n,t,s]}const[Im,Pm,Mm,km]=Rm();function Do(e,t){const n=t?e?km:Mm:e?Pm:Im;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(he(n,r)&&r in s?n:s,r,o)}const Vm={get:Do(!1,!1)},Fm={get:Do(!1,!0)},Hm={get:Do(!0,!1)};const eu=new WeakMap,tu=new WeakMap,nu=new WeakMap,Bm=new WeakMap;function jm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wm(e){return e.__v_skip||!Object.isExtensible(e)?0:jm(fm(e))}function Ks(e){return $n(e)?e:Lo(e,!1,$m,Vm,eu)}function su(e){return Lo(e,!1,Lm,Fm,tu)}function ru(e){return Lo(e,!0,Dm,Hm,nu)}function Lo(e,t,n,s,r){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const a=Wm(e);if(a===0)return e;const l=new Proxy(e,a===2?s:n);return r.set(e,l),l}function nn(e){return $n(e)?nn(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function ut(e){return!!(e&&e.__v_isShallow)}function Ro(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function zr(e){return!he(e,"__v_skip")&&Object.isExtensible(e)&&Rc(e,"__v_skip",!0),e}const ke=e=>ve(e)?Ks(e):e,Io=e=>ve(e)?ru(e):e;function Ae(e){return e?e.__v_isRef===!0:!1}function Xr(e){return ou(e,!1)}function iu(e){return ou(e,!0)}function ou(e,t){return Ae(e)?e:new Km(e,t)}class Km{constructor(t,n){this.dep=new xo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:ke(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||ut(t)||$n(t);t=s?t:fe(t),sn(t,n)&&(this._rawValue=t,this._value=s?t:ke(t),this.dep.trigger())}}function Ht(e){return Ae(e)?e.value:e}const Um={get:(e,t,n)=>t==="__v_raw"?e:Ht(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ae(r)&&!Ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function au(e){return nn(e)?e:new Proxy(e,Um)}function Ym(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=lu(e,n);return t}class Gm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Cm(fe(this._object),this._key)}}class qm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function jb(e,t,n){return Ae(e)?e:ie(e)?new qm(e):ve(e)&&arguments.length>1?lu(e,t,n):Xr(e)}function lu(e,t,n){const s=e[t];return Ae(s)?s:new Gm(e,t,n)}class zm{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Is-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ee!==this)return Uc(this,!0),!0}get value(){const t=this.dep.track();return qc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xm(e,t,n=!1){let s,r;return ie(e)?s=e:(s=e.get,r=e.set),new zm(s,r,n)}const pr={},$r=new WeakMap;let Tn;function Qm(e,t=!1,n=Tn){if(n){let s=$r.get(n);s||$r.set(n,s=[]),s.push(e)}}function Jm(e,t,n=_e){const{immediate:s,deep:r,once:o,scheduler:a,augmentJob:l,call:c}=n,h=$=>r?$:ut($)||r===!1||r===0?kt($,1):kt($);let f,d,p,E,A=!1,C=!1;if(Ae(e)?(d=()=>e.value,A=ut(e)):nn(e)?(d=()=>h(e),A=!0):te(e)?(C=!0,A=e.some($=>nn($)||ut($)),d=()=>e.map($=>{if(Ae($))return $.value;if(nn($))return h($);if(ie($))return c?c($,2):$()})):ie(e)?t?d=c?()=>c(e,2):e:d=()=>{if(p){cn();try{p()}finally{un()}}const $=Tn;Tn=f;try{return c?c(e,3,[E]):e(E)}finally{Tn=$}}:d=St,t&&r){const $=d,O=r===!0?1/0:r;d=()=>kt($(),O)}const k=jc(),I=()=>{f.stop(),k&&To(k.effects,f)};if(o&&t){const $=t;t=(...O)=>{$(...O),I()}}let R=C?new Array(e.length).fill(pr):pr;const F=$=>{if(!(!(f.flags&1)||!f.dirty&&!$))if(t){const O=f.run();if(r||A||(C?O.some((V,Y)=>sn(V,R[Y])):sn(O,R))){p&&p();const V=Tn;Tn=f;try{const Y=[O,R===pr?void 0:C&&R[0]===pr?[]:R,E];c?c(t,3,Y):t(...Y),R=O}finally{Tn=V}}}else f.run()};return l&&l(F),f=new Wc(d),f.scheduler=a?()=>a(F,!1):F,E=$=>Qm($,!1,f),p=f.onStop=()=>{const $=$r.get(f);if($){if(c)c($,4);else for(const O of $)O();$r.delete(f)}},t?s?F(!0):R=f.run():a?a(F.bind(null,!0),!0):f.run(),I.pause=f.pause.bind(f),I.resume=f.resume.bind(f),I.stop=I,I}function kt(e,t=1/0,n){if(t<=0||!ve(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ae(e))kt(e.value,t,n);else if(te(e))for(let s=0;s{kt(s,t,n)});else if(Lc(e)){for(const s in e)kt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&kt(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Us(e,t,n,s){try{return s?e(...s):e()}catch(r){Ys(r,t,n)}}function Et(e,t,n,s){if(ie(e)){const r=Us(e,t,n,s);return r&&$c(r)&&r.catch(o=>{Ys(o,t,n)}),r}if(te(e)){const r=[];for(let o=0;o>>1,r=Ge[s],o=Ms(r);o=Ms(n)?Ge.push(e):Ge.splice(e_(t),0,e),e.flags|=1,uu()}}function uu(){Dr||(Dr=cu.then(du))}function Ki(e){te(e)?qn.push(...e):Xt&&e.id===-1?Xt.splice(Kn+1,0,e):e.flags&1||(qn.push(e),e.flags|=1),uu()}function Za(e,t,n=Tt+1){for(;nMs(n)-Ms(s));if(qn.length=0,Xt){Xt.push(...t);return}for(Xt=t,Kn=0;Kne.id==null?e.flags&2?-1:1/0:e.id;function du(e){try{for(Tt=0;Tt{s._d&&dl(-1);const o=Lr(t);let a;try{a=e(...r)}finally{Lr(o),s._d&&dl(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Wb(e,t){if(Oe===null)return e;const n=si(Oe),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Ns=e=>e&&(e.disabled||e.disabled===""),t_=e=>e&&(e.defer||e.defer===""),el=e=>typeof SVGElement<"u"&&e instanceof SVGElement,tl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ui=(e,t)=>{const n=e&&e.to;return be(n)?t?t(n):null:n},n_={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,a,l,c,h){const{mc:f,pc:d,pbc:p,o:{insert:E,querySelector:A,createText:C,createComment:k}}=h,I=Ns(t.props);let{shapeFlag:R,children:F,dynamicChildren:$}=t;if(e==null){const O=t.el=C(""),V=t.anchor=C("");E(O,n,s),E(V,n,s);const Y=(w,P)=>{R&16&&(r&&r.isCE&&(r.ce._teleportTarget=w),f(F,w,P,r,o,a,l,c))},K=()=>{const w=t.target=Ui(t.props,A),P=mu(w,t,C,E);w&&(a!=="svg"&&el(w)?a="svg":a!=="mathml"&&tl(w)&&(a="mathml"),I||(Y(w,P),Ar(t)))};I&&(Y(n,V),Ar(t)),t_(t.props)?Je(K,o):K()}else{t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,V=t.target=e.target,Y=t.targetAnchor=e.targetAnchor,K=Ns(e.props),w=K?n:V,P=K?O:Y;if(a==="svg"||el(V)?a="svg":(a==="mathml"||tl(V))&&(a="mathml"),$?(p(e.dynamicChildren,$,w,r,o,a,l),Bo(e,t,!0)):c||d(e,t,w,P,r,o,a,l,!1),I)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gr(t,n,O,h,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=Ui(t.props,A);z&&gr(t,z,null,h,0)}else K&&gr(t,V,Y,h,1);Ar(t)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:a,children:l,anchor:c,targetStart:h,targetAnchor:f,target:d,props:p}=e;if(d&&(r(h),r(f)),o&&r(c),a&16){const E=o||!Ns(p);for(let A=0;A{e.isMounted=!0}),Ou(()=>{e.isUnmounting=!0}),e}const lt=[Function,Array],vu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lt,onEnter:lt,onAfterEnter:lt,onEnterCancelled:lt,onBeforeLeave:lt,onLeave:lt,onAfterLeave:lt,onLeaveCancelled:lt,onBeforeAppear:lt,onAppear:lt,onAfterAppear:lt,onAppearCancelled:lt},Eu=e=>{const t=e.subTree;return t.component?Eu(t.component):t},r_={name:"BaseTransition",props:vu,setup(e,{slots:t}){const n=Gs(),s=_u();return()=>{const r=t.default&&Mo(t.default(),!0);if(!r||!r.length)return;const o=bu(r),a=fe(e),{mode:l}=a;if(s.isLeaving)return Ni(o);const c=nl(o);if(!c)return Ni(o);let h=ks(c,a,s,n,p=>h=p);c.type!==Ie&&Dn(c,h);const f=n.subTree,d=f&&nl(f);if(d&&d.type!==Ie&&!Ct(c,d)&&Eu(n).type!==Ie){const p=ks(d,a,s,n);if(Dn(d,p),l==="out-in"&&c.type!==Ie)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},Ni(o);l==="in-out"&&c.type!==Ie&&(p.delayLeave=(E,A,C)=>{const k=yu(s,d);k[String(d.key)]=d,E[Qt]=()=>{A(),E[Qt]=void 0,delete h.delayedLeave},h.delayedLeave=C})}return o}}};function bu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ie){t=n;break}}return t}const i_=r_;function yu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ks(e,t,n,s,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:h,onAfterEnter:f,onEnterCancelled:d,onBeforeLeave:p,onLeave:E,onAfterLeave:A,onLeaveCancelled:C,onBeforeAppear:k,onAppear:I,onAfterAppear:R,onAppearCancelled:F}=t,$=String(e.key),O=yu(n,e),V=(w,P)=>{w&&Et(w,s,9,P)},Y=(w,P)=>{const z=P[1];V(w,P),te(w)?w.every(H=>H.length<=1)&&z():w.length<=1&&z()},K={mode:a,persisted:l,beforeEnter(w){let P=c;if(!n.isMounted)if(o)P=k||c;else return;w[Qt]&&w[Qt](!0);const z=O[$];z&&Ct(e,z)&&z.el[Qt]&&z.el[Qt](),V(P,[w])},enter(w){let P=h,z=f,H=d;if(!n.isMounted)if(o)P=I||h,z=R||f,H=F||d;else return;let Q=!1;const ce=w[mr]=me=>{Q||(Q=!0,me?V(H,[w]):V(z,[w]),K.delayedLeave&&K.delayedLeave(),w[mr]=void 0)};P?Y(P,[w,ce]):ce()},leave(w,P){const z=String(e.key);if(w[mr]&&w[mr](!0),n.isUnmounting)return P();V(p,[w]);let H=!1;const Q=w[Qt]=ce=>{H||(H=!0,P(),ce?V(C,[w]):V(A,[w]),w[Qt]=void 0,O[z]===e&&delete O[z])};O[z]=e,E?Y(E,[w,Q]):Q()},clone(w){const P=ks(w,t,n,s,r);return r&&r(P),P}};return K}function Ni(e){if(Jr(e))return e=rn(e),e.children=null,e}function nl(e){if(!Jr(e))return gu(e.type)&&e.children?bu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ie(n.default))return n.default()}}function Dn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Dn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mo(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;on.value,set:o=>n.value=o})}return n}function Yi(e,t,n,s,r=!1){if(te(e)){e.forEach((A,C)=>Yi(A,t&&(te(t)?t[C]:t),n,s,r));return}if(zn(s)&&!r)return;const o=s.shapeFlag&4?si(s.component):s.el,a=r?null:o,{i:l,r:c}=e,h=t&&t.r,f=l.refs===_e?l.refs={}:l.refs,d=l.setupState,p=fe(d),E=d===_e?()=>!1:A=>he(p,A);if(h!=null&&h!==c&&(be(h)?(f[h]=null,E(h)&&(d[h]=null)):Ae(h)&&(h.value=null)),ie(c))Us(c,l,12,[a,f]);else{const A=be(c),C=Ae(c);if(A||C){const k=()=>{if(e.f){const I=A?E(c)?d[c]:f[c]:c.value;r?te(I)&&To(I,o):te(I)?I.includes(o)||I.push(o):A?(f[c]=[o],E(c)&&(d[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else A?(f[c]=a,E(c)&&(d[c]=a)):C&&(c.value=a,e.k&&(f[e.k]=a))};a?(k.id=-1,Je(k,n)):k()}}}const zn=e=>!!e.type.__asyncLoader,Jr=e=>e.type.__isKeepAlive;function o_(e,t){Cu(e,"a",t)}function a_(e,t){Cu(e,"da",t)}function Cu(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zr(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Jr(r.parent.vnode)&&l_(s,t,n,r),r=r.parent}}function l_(e,t,n,s){const r=Zr(t,e,s,!0);Vo(()=>{To(s[t],r)},n)}function Zr(e,t,n=xe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{cn();const l=qs(n),c=Et(t,n,e,a);return l(),un(),c});return s?r.unshift(o):r.push(o),o}}const jt=e=>(t,n=xe)=>{(!ni||e==="sp")&&Zr(e,(...s)=>t(...s),n)},wu=jt("bm"),ko=jt("m"),c_=jt("bu"),Su=jt("u"),Ou=jt("bum"),Vo=jt("um"),u_=jt("sp"),f_=jt("rtg"),d_=jt("rtc");function h_(e,t=xe){Zr("ec",e,t)}const Nu="components";function Yb(e,t){return $u(Nu,e,!0,t)||e}const xu=Symbol.for("v-ndc");function p_(e){return be(e)?$u(Nu,e,!1)||e:e||xu}function $u(e,t,n=!0,s=!1){const r=Oe||xe;if(r){const o=r.type;{const l=lv(o,!1);if(l&&(l===t||l===ht(t)||l===Kr(ht(t))))return o}const a=sl(r[e]||o[e],t)||sl(r.appContext[e],t);return!a&&s?o:a}}function sl(e,t){return e&&(e[t]||e[ht(t)]||e[Kr(ht(t))])}function Gb(e,t,n,s){let r;const o=n,a=te(e);if(a||be(e)){const l=a&&nn(e);let c=!1;l&&(c=!ut(e),e=Gr(e)),r=new Array(e.length);for(let h=0,f=e.length;ht(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,h=l.length;c{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function zb(e,t,n={},s,r){if(Oe.ce||Oe.parent&&zn(Oe.parent)&&Oe.parent.ce)return t!=="default"&&(n.name=t),en(),Fs(Ve,null,[$e("slot",n,s)],64);let o=e[t];o&&o._c&&(o._d=!1),en();const a=o&&Du(o(n)),l=Fs(Ve,{key:(n.key||a&&a.key||`_${t}`)+(!a&&s?"_fb":"")},a||[],a&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Du(e){return e.some(t=>rs(t)?!(t.type===Ie||t.type===Ve&&!Du(t.children)):!0)?e:null}const Gi=e=>e?Zu(e)?si(e):Gi(e.parent):null,xs=Se(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Gi(e.parent),$root:e=>Gi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fo(e),$forceUpdate:e=>e.f||(e.f=()=>{Po(e.update)}),$nextTick:e=>e.n||(e.n=Qr.bind(e.proxy)),$watch:e=>k_.bind(e)}),xi=(e,t)=>e!==_e&&!e.__isScriptSetup&&he(e,t),g_={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:l,appContext:c}=e;let h;if(t[0]!=="$"){const E=a[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(xi(s,t))return a[t]=1,s[t];if(r!==_e&&he(r,t))return a[t]=2,r[t];if((h=e.propsOptions[0])&&he(h,t))return a[t]=3,o[t];if(n!==_e&&he(n,t))return a[t]=4,n[t];qi&&(a[t]=0)}}const f=xs[t];let d,p;if(f)return t==="$attrs"&&Fe(e.attrs,"get",""),f(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==_e&&he(n,t))return a[t]=4,n[t];if(p=c.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return xi(r,t)?(r[t]=n,!0):s!==_e&&he(s,t)?(s[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let l;return!!n[a]||e!==_e&&he(e,a)||xi(t,a)||(l=o[0])&&he(l,a)||he(s,a)||he(xs,a)||he(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xb(){return Lu().slots}function Qb(){return Lu().attrs}function Lu(){const e=Gs();return e.setupContext||(e.setupContext=tf(e))}function rl(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let qi=!0;function m_(e){const t=Fo(e),n=e.proxy,s=e.ctx;qi=!1,t.beforeCreate&&il(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:l,provide:c,inject:h,created:f,beforeMount:d,mounted:p,beforeUpdate:E,updated:A,activated:C,deactivated:k,beforeDestroy:I,beforeUnmount:R,destroyed:F,unmounted:$,render:O,renderTracked:V,renderTriggered:Y,errorCaptured:K,serverPrefetch:w,expose:P,inheritAttrs:z,components:H,directives:Q,filters:ce}=t;if(h&&__(h,s,null),a)for(const Z in a){const le=a[Z];ie(le)&&(s[Z]=le.bind(n))}if(r){const Z=r.call(n,n);ve(Z)&&(e.data=Ks(Z))}if(qi=!0,o)for(const Z in o){const le=o[Z],Ce=ie(le)?le.bind(n,n):ie(le.get)?le.get.bind(n,n):St,He=!ie(le)&&ie(le.set)?le.set.bind(n):St,De=nt({get:Ce,set:He});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>De.value,set:ye=>De.value=ye})}if(l)for(const Z in l)Ru(l[Z],s,n,Z);if(c){const Z=ie(c)?c.call(n):c;Reflect.ownKeys(Z).forEach(le=>{Tr(le,Z[le])})}f&&il(f,e,"c");function re(Z,le){te(le)?le.forEach(Ce=>Z(Ce.bind(n))):le&&Z(le.bind(n))}if(re(wu,d),re(ko,p),re(c_,E),re(Su,A),re(o_,C),re(a_,k),re(h_,K),re(d_,V),re(f_,Y),re(Ou,R),re(Vo,$),re(u_,w),te(P))if(P.length){const Z=e.exposed||(e.exposed={});P.forEach(le=>{Object.defineProperty(Z,le,{get:()=>n[le],set:Ce=>n[le]=Ce})})}else e.exposed||(e.exposed={});O&&e.render===St&&(e.render=O),z!=null&&(e.inheritAttrs=z),H&&(e.components=H),Q&&(e.directives=Q),w&&Tu(e)}function __(e,t,n=St){te(e)&&(e=zi(e));for(const s in e){const r=e[s];let o;ve(r)?"default"in r?o=ft(r.from||s,r.default,!0):o=ft(r.from||s):o=ft(r),Ae(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function il(e,t,n){Et(te(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ru(e,t,n,s){let r=s.includes(".")?Uu(n,s):()=>n[s];if(be(e)){const o=t[e];ie(o)&&Xn(r,o)}else if(ie(e))Xn(r,e.bind(n));else if(ve(e))if(te(e))e.forEach(o=>Ru(o,t,n,s));else{const o=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(o)&&Xn(r,o,e)}}function Fo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(h=>Rr(c,h,a,!0)),Rr(c,t,a)),ve(t)&&o.set(t,c),c}function Rr(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Rr(e,o,n,!0),r&&r.forEach(a=>Rr(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const l=v_[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const v_={data:ol,props:al,emits:al,methods:As,computed:As,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:As,directives:As,watch:b_,provide:ol,inject:E_};function ol(e,t){return t?e?function(){return Se(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function E_(e,t){return As(zi(e),zi(t))}function zi(e){if(te(e)){const t={};for(let n=0;n1)return n&&ie(t)?t.call(s&&s.proxy):t}}function T_(){return!!(xe||Oe||Sn)}const Pu={},Mu=()=>Object.create(Pu),ku=e=>Object.getPrototypeOf(e)===Pu;function C_(e,t,n,s=!1){const r={},o=Mu();e.propsDefaults=Object.create(null),Vu(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=s?r:su(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function w_(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,l=fe(r),[c]=e.propsOptions;let h=!1;if((s||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[p,E]=Fu(d,t,!0);Se(a,p),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return ve(e)&&s.set(e,Yn),Yn;if(te(o))for(let f=0;fe[0]==="_"||e==="$stable",Ho=e=>te(e)?e.map(_t):[_t(e)],O_=(e,t,n)=>{if(t._n)return t;const s=yr((...r)=>Ho(t(...r)),n);return s._c=!1,s},Bu=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Hu(r))continue;const o=e[r];if(ie(o))t[r]=O_(r,o,s);else if(o!=null){const a=Ho(o);t[r]=()=>a}}},ju=(e,t)=>{const n=Ho(t);e.slots.default=()=>n},Wu=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},N_=(e,t,n)=>{const s=e.slots=Mu();if(e.vnode.shapeFlag&32){const r=t._;r?(Wu(s,t,n),n&&Rc(s,"_",r,!0)):Bu(t,s)}else t&&ju(e,t)},x_=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,a=_e;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Wu(r,t,n):(o=!t.$stable,Bu(t,r)),a=t}else t&&(ju(e,t),a={default:1});if(o)for(const l in r)!Hu(l)&&a[l]==null&&delete r[l]},Je=X_;function $_(e){return D_(e)}function D_(e,t){const n=Pc();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:l,createComment:c,setText:h,setElementText:f,parentNode:d,nextSibling:p,setScopeId:E=St,insertStaticContent:A}=e,C=(g,_,b,L=null,S=null,D=null,U=void 0,y=null,B=!!_.dynamicChildren)=>{if(g===_)return;g&&!Ct(g,_)&&(L=N(g),ye(g,S,D,!0),g=null),_.patchFlag===-2&&(B=!1,_.dynamicChildren=null);const{type:M,ref:ne,shapeFlag:X}=_;switch(M){case ti:k(g,_,b,L);break;case Ie:I(g,_,b,L);break;case Cr:g==null&&R(_,b,L,U);break;case Ve:H(g,_,b,L,S,D,U,y,B);break;default:X&1?O(g,_,b,L,S,D,U,y,B):X&6?Q(g,_,b,L,S,D,U,y,B):(X&64||X&128)&&M.process(g,_,b,L,S,D,U,y,B,J)}ne!=null&&S&&Yi(ne,g&&g.ref,D,_||g,!_)},k=(g,_,b,L)=>{if(g==null)s(_.el=l(_.children),b,L);else{const S=_.el=g.el;_.children!==g.children&&h(S,_.children)}},I=(g,_,b,L)=>{g==null?s(_.el=c(_.children||""),b,L):_.el=g.el},R=(g,_,b,L)=>{[g.el,g.anchor]=A(g.children,_,b,L,g.el,g.anchor)},F=({el:g,anchor:_},b,L)=>{let S;for(;g&&g!==_;)S=p(g),s(g,b,L),g=S;s(_,b,L)},$=({el:g,anchor:_})=>{let b;for(;g&&g!==_;)b=p(g),r(g),g=b;r(_)},O=(g,_,b,L,S,D,U,y,B)=>{_.type==="svg"?U="svg":_.type==="math"&&(U="mathml"),g==null?V(_,b,L,S,D,U,y,B):w(g,_,S,D,U,y,B)},V=(g,_,b,L,S,D,U,y)=>{let B,M;const{props:ne,shapeFlag:X,transition:ee,dirs:se}=g;if(B=g.el=a(g.type,D,ne&&ne.is,ne),X&8?f(B,g.children):X&16&&K(g.children,B,null,L,S,$i(g,D),U,y),se&&bn(g,null,L,"created"),Y(B,g,g.scopeId,U,L),ne){for(const de in ne)de!=="value"&&!ws(de)&&o(B,de,null,ne[de],D,L);"value"in ne&&o(B,"value",null,ne.value,D),(M=ne.onVnodeBeforeMount)&&At(M,L,g)}se&&bn(g,null,L,"beforeMount");const oe=L_(S,ee);oe&&ee.beforeEnter(B),s(B,_,b),((M=ne&&ne.onVnodeMounted)||oe||se)&&Je(()=>{M&&At(M,L,g),oe&&ee.enter(B),se&&bn(g,null,L,"mounted")},S)},Y=(g,_,b,L,S)=>{if(b&&E(g,b),L)for(let D=0;D{for(let M=B;M{const y=_.el=g.el;let{patchFlag:B,dynamicChildren:M,dirs:ne}=_;B|=g.patchFlag&16;const X=g.props||_e,ee=_.props||_e;let se;if(b&&yn(b,!1),(se=ee.onVnodeBeforeUpdate)&&At(se,b,_,g),ne&&bn(_,g,b,"beforeUpdate"),b&&yn(b,!0),(X.innerHTML&&ee.innerHTML==null||X.textContent&&ee.textContent==null)&&f(y,""),M?P(g.dynamicChildren,M,y,b,L,$i(_,S),D):U||le(g,_,y,null,b,L,$i(_,S),D,!1),B>0){if(B&16)z(y,X,ee,b,S);else if(B&2&&X.class!==ee.class&&o(y,"class",null,ee.class,S),B&4&&o(y,"style",X.style,ee.style,S),B&8){const oe=_.dynamicProps;for(let de=0;de{se&&At(se,b,_,g),ne&&bn(_,g,b,"updated")},L)},P=(g,_,b,L,S,D,U)=>{for(let y=0;y<_.length;y++){const B=g[y],M=_[y],ne=B.el&&(B.type===Ve||!Ct(B,M)||B.shapeFlag&70)?d(B.el):b;C(B,M,ne,null,L,S,D,U,!0)}},z=(g,_,b,L,S)=>{if(_!==b){if(_!==_e)for(const D in _)!ws(D)&&!(D in b)&&o(g,D,_[D],null,S,L);for(const D in b){if(ws(D))continue;const U=b[D],y=_[D];U!==y&&D!=="value"&&o(g,D,y,U,S,L)}"value"in b&&o(g,"value",_.value,b.value,S)}},H=(g,_,b,L,S,D,U,y,B)=>{const M=_.el=g?g.el:l(""),ne=_.anchor=g?g.anchor:l("");let{patchFlag:X,dynamicChildren:ee,slotScopeIds:se}=_;se&&(y=y?y.concat(se):se),g==null?(s(M,b,L),s(ne,b,L),K(_.children||[],b,ne,S,D,U,y,B)):X>0&&X&64&&ee&&g.dynamicChildren?(P(g.dynamicChildren,ee,b,S,D,U,y),(_.key!=null||S&&_===S.subTree)&&Bo(g,_,!0)):le(g,_,b,ne,S,D,U,y,B)},Q=(g,_,b,L,S,D,U,y,B)=>{_.slotScopeIds=y,g==null?_.shapeFlag&512?S.ctx.activate(_,b,L,U,B):ce(_,b,L,S,D,U,B):me(g,_,B)},ce=(g,_,b,L,S,D,U)=>{const y=g.component=rv(g,L,S);if(Jr(g)&&(y.ctx.renderer=J),iv(y,!1,U),y.asyncDep){if(S&&S.registerDep(y,re,U),!g.el){const B=y.subTree=$e(Ie);I(null,B,_,b)}}else re(y,g,_,b,S,D,U)},me=(g,_,b)=>{const L=_.component=g.component;if(W_(g,_,b))if(L.asyncDep&&!L.asyncResolved){Z(L,_,b);return}else L.next=_,L.update();else _.el=g.el,L.vnode=_},re=(g,_,b,L,S,D,U)=>{const y=()=>{if(g.isMounted){let{next:X,bu:ee,u:se,parent:oe,vnode:de}=g;{const We=Ku(g);if(We){X&&(X.el=de.el,Z(g,X,U)),We.asyncDep.then(()=>{g.isUnmounted||y()});return}}let ue=X,je;yn(g,!1),X?(X.el=de.el,Z(g,X,U)):X=de,ee&&br(ee),(je=X.props&&X.props.onVnodeBeforeUpdate)&&At(je,oe,X,de),yn(g,!0);const Le=Di(g),tt=g.subTree;g.subTree=Le,C(tt,Le,d(tt.el),N(tt),g,S,D),X.el=Le.el,ue===null&&Wo(g,Le.el),se&&Je(se,S),(je=X.props&&X.props.onVnodeUpdated)&&Je(()=>At(je,oe,X,de),S)}else{let X;const{el:ee,props:se}=_,{bm:oe,m:de,parent:ue,root:je,type:Le}=g,tt=zn(_);if(yn(g,!1),oe&&br(oe),!tt&&(X=se&&se.onVnodeBeforeMount)&&At(X,ue,_),yn(g,!0),ee&&pe){const We=()=>{g.subTree=Di(g),pe(ee,g.subTree,g,S,null)};tt&&Le.__asyncHydrate?Le.__asyncHydrate(ee,g,We):We()}else{je.ce&&je.ce._injectChildStyle(Le);const We=g.subTree=Di(g);C(null,We,b,L,g,S,D),_.el=We.el}if(de&&Je(de,S),!tt&&(X=se&&se.onVnodeMounted)){const We=_;Je(()=>At(X,ue,We),S)}(_.shapeFlag&256||ue&&zn(ue.vnode)&&ue.vnode.shapeFlag&256)&&g.a&&Je(g.a,S),g.isMounted=!0,_=b=L=null}};g.scope.on();const B=g.effect=new Wc(y);g.scope.off();const M=g.update=B.run.bind(B),ne=g.job=B.runIfDirty.bind(B);ne.i=g,ne.id=g.uid,B.scheduler=()=>Po(ne),yn(g,!0),M()},Z=(g,_,b)=>{_.component=g;const L=g.vnode.props;g.vnode=_,g.next=null,w_(g,_.props,L,b),x_(g,_.children,b),cn(),Za(g),un()},le=(g,_,b,L,S,D,U,y,B=!1)=>{const M=g&&g.children,ne=g?g.shapeFlag:0,X=_.children,{patchFlag:ee,shapeFlag:se}=_;if(ee>0){if(ee&128){He(M,X,b,L,S,D,U,y,B);return}else if(ee&256){Ce(M,X,b,L,S,D,U,y,B);return}}se&8?(ne&16&&Te(M,S,D),X!==M&&f(b,X)):ne&16?se&16?He(M,X,b,L,S,D,U,y,B):Te(M,S,D,!0):(ne&8&&f(b,""),se&16&&K(X,b,L,S,D,U,y,B))},Ce=(g,_,b,L,S,D,U,y,B)=>{g=g||Yn,_=_||Yn;const M=g.length,ne=_.length,X=Math.min(M,ne);let ee;for(ee=0;eene?Te(g,S,D,!0,!1,X):K(_,b,L,S,D,U,y,B,X)},He=(g,_,b,L,S,D,U,y,B)=>{let M=0;const ne=_.length;let X=g.length-1,ee=ne-1;for(;M<=X&&M<=ee;){const se=g[M],oe=_[M]=B?Jt(_[M]):_t(_[M]);if(Ct(se,oe))C(se,oe,b,null,S,D,U,y,B);else break;M++}for(;M<=X&&M<=ee;){const se=g[X],oe=_[ee]=B?Jt(_[ee]):_t(_[ee]);if(Ct(se,oe))C(se,oe,b,null,S,D,U,y,B);else break;X--,ee--}if(M>X){if(M<=ee){const se=ee+1,oe=seee)for(;M<=X;)ye(g[M],S,D,!0),M++;else{const se=M,oe=M,de=new Map;for(M=oe;M<=ee;M++){const Ke=_[M]=B?Jt(_[M]):_t(_[M]);Ke.key!=null&&de.set(Ke.key,M)}let ue,je=0;const Le=ee-oe+1;let tt=!1,We=0;const dn=new Array(Le);for(M=0;M=Le){ye(Ke,S,D,!0);continue}let Me;if(Ke.key!=null)Me=de.get(Ke.key);else for(ue=oe;ue<=ee;ue++)if(dn[ue-oe]===0&&Ct(Ke,_[ue])){Me=ue;break}Me===void 0?ye(Ke,S,D,!0):(dn[Me-oe]=M+1,Me>=We?We=Me:tt=!0,C(Ke,_[Me],b,null,S,D,U,y,B),je++)}const ds=tt?R_(dn):Yn;for(ue=ds.length-1,M=Le-1;M>=0;M--){const Ke=oe+M,Me=_[Ke],zs=Ke+1{const{el:D,type:U,transition:y,children:B,shapeFlag:M}=g;if(M&6){De(g.component.subTree,_,b,L);return}if(M&128){g.suspense.move(_,b,L);return}if(M&64){U.move(g,_,b,J);return}if(U===Ve){s(D,_,b);for(let X=0;Xy.enter(D),S);else{const{leave:X,delayLeave:ee,afterLeave:se}=y,oe=()=>s(D,_,b),de=()=>{X(D,()=>{oe(),se&&se()})};ee?ee(D,oe,de):de()}else s(D,_,b)},ye=(g,_,b,L=!1,S=!1)=>{const{type:D,props:U,ref:y,children:B,dynamicChildren:M,shapeFlag:ne,patchFlag:X,dirs:ee,cacheIndex:se}=g;if(X===-2&&(S=!1),y!=null&&Yi(y,null,b,g,!0),se!=null&&(_.renderCache[se]=void 0),ne&256){_.ctx.deactivate(g);return}const oe=ne&1&&ee,de=!zn(g);let ue;if(de&&(ue=U&&U.onVnodeBeforeUnmount)&&At(ue,_,g),ne&6)Pe(g.component,b,L);else{if(ne&128){g.suspense.unmount(b,L);return}oe&&bn(g,null,_,"beforeUnmount"),ne&64?g.type.remove(g,_,b,J,L):M&&!M.hasOnce&&(D!==Ve||X>0&&X&64)?Te(M,_,b,!1,!0):(D===Ve&&X&384||!S&&ne&16)&&Te(B,_,b),L&&et(g)}(de&&(ue=U&&U.onVnodeUnmounted)||oe)&&Je(()=>{ue&&At(ue,_,g),oe&&bn(g,null,_,"unmounted")},b)},et=g=>{const{type:_,el:b,anchor:L,transition:S}=g;if(_===Ve){Be(b,L);return}if(_===Cr){$(g);return}const D=()=>{r(b),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(g.shapeFlag&1&&S&&!S.persisted){const{leave:U,delayLeave:y}=S,B=()=>U(b,D);y?y(g.el,D,B):B()}else D()},Be=(g,_)=>{let b;for(;g!==_;)b=p(g),r(g),g=b;r(_)},Pe=(g,_,b)=>{const{bum:L,scope:S,job:D,subTree:U,um:y,m:B,a:M}=g;cl(B),cl(M),L&&br(L),S.stop(),D&&(D.flags|=8,ye(U,g,_,b)),y&&Je(y,_),Je(()=>{g.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},Te=(g,_,b,L=!1,S=!1,D=0)=>{for(let U=D;U{if(g.shapeFlag&6)return N(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const _=p(g.anchor||g.el),b=_&&_[pu];return b?p(b):_};let G=!1;const q=(g,_,b)=>{g==null?_._vnode&&ye(_._vnode,null,null,!0):C(_._vnode||null,g,_,null,null,null,b),_._vnode=g,G||(G=!0,Za(),fu(),G=!1)},J={p:C,um:ye,m:De,r:et,mt:ce,mc:K,pc:le,pbc:P,n:N,o:e};let T,pe;return{render:q,hydrate:T,createApp:A_(q,T)}}function $i({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function L_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bo(e,t,n=!1){const s=e.children,r=t.children;if(te(s)&&te(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Ku(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ku(t)}function cl(e){if(e)for(let t=0;tft(I_);function M_(e,t){return jo(e,null,{flush:"post"})}function Xn(e,t,n){return jo(e,t,n)}function jo(e,t,n=_e){const{immediate:s,deep:r,flush:o,once:a}=n,l=Se({},n);let c;if(ni)if(o==="sync"){const p=P_();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||s)l.once=!0;else{const p=()=>{};return p.stop=St,p.resume=St,p.pause=St,p}const h=xe;l.call=(p,E,A)=>Et(p,h,E,A);let f=!1;o==="post"?l.scheduler=p=>{Je(p,h&&h.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(p,E)=>{E?p():Po(p)}),l.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,h&&(p.id=h.uid,p.i=h))};const d=Jm(e,t,l);return c&&c.push(d),d}function k_(e,t,n){const s=this.proxy,r=be(e)?e.includes(".")?Uu(s,e):()=>s[e]:e.bind(s,s);let o;ie(t)?o=t:(o=t.handler,n=t);const a=qs(this),l=jo(r,o.bind(s),n);return a(),l}function Uu(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${ln(t)}Modifiers`];function F_(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||_e;let r=n;const o=t.startsWith("update:"),a=o&&V_(s,t.slice(7));a&&(a.trim&&(r=n.map(f=>be(f)?f.trim():f)),a.number&&(r=n.map(Nr)));let l,c=s[l=Ti(t)]||s[l=Ti(ht(t))];!c&&o&&(c=s[l=Ti(ln(t))]),c&&Et(c,e,6,r);const h=s[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Et(h,e,6,r)}}function Yu(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let a={},l=!1;if(!ie(e)){const c=h=>{const f=Yu(h,t,!0);f&&(l=!0,Se(a,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ve(e)&&s.set(e,null),null):(te(o)?o.forEach(c=>a[c]=null):Se(a,o),ve(e)&&s.set(e,a),a)}function ei(e,t){return!e||!jr(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,ln(t))||he(e,t))}function Di(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:h,renderCache:f,props:d,data:p,setupState:E,ctx:A,inheritAttrs:C}=e,k=Lr(e);let I,R;try{if(n.shapeFlag&4){const $=r||s,O=$;I=_t(h.call(O,$,f,d,E,p,A)),R=l}else{const $=t;I=_t($.length>1?$(d,{attrs:l,slots:a,emit:c}):$(d,null)),R=t.props?l:B_(l)}}catch($){$s.length=0,Ys($,e,1),I=$e(Ie)}let F=I;if(R&&C!==!1){const $=Object.keys(R),{shapeFlag:O}=F;$.length&&O&7&&(o&&$.some(Ao)&&(R=j_(R,o)),F=rn(F,R,!1,!0))}return n.dirs&&(F=rn(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&Dn(F,n.transition),I=F,Lr(k),I}function H_(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||jr(n))&&((t||(t={}))[n]=e[n]);return t},j_=(e,t)=>{const n={};for(const s in e)(!Ao(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function W_(e,t,n){const{props:s,children:r,component:o}=e,{props:a,children:l,patchFlag:c}=t,h=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ul(s,a,h):!!a;if(c&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;let Qi=0;const K_={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,a,l,c,h){if(e==null)Y_(t,n,s,r,o,a,l,c,h);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}G_(e,t,n,s,r,a,l,c,h)}},hydrate:q_,normalize:z_},U_=K_;function Vs(e,t){const n=e.props&&e.props[t];ie(n)&&n()}function Y_(e,t,n,s,r,o,a,l,c){const{p:h,o:{createElement:f}}=c,d=f("div"),p=e.suspense=qu(e,r,s,t,d,n,o,a,l,c);h(null,p.pendingBranch=e.ssContent,d,null,s,p,o,a),p.deps>0?(Vs(e,"onPending"),Vs(e,"onFallback"),h(null,e.ssFallback,t,n,s,null,o,a),Qn(p,e.ssFallback)):p.resolve(!1,!0)}function G_(e,t,n,s,r,o,a,l,{p:c,um:h,o:{createElement:f}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,E=t.ssFallback,{activeBranch:A,pendingBranch:C,isInFallback:k,isHydrating:I}=d;if(C)d.pendingBranch=p,Ct(p,C)?(c(C,p,d.hiddenContainer,null,r,d,o,a,l),d.deps<=0?d.resolve():k&&(I||(c(A,E,n,s,r,null,o,a,l),Qn(d,E)))):(d.pendingId=Qi++,I?(d.isHydrating=!1,d.activeBranch=C):h(C,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=f("div"),k?(c(null,p,d.hiddenContainer,null,r,d,o,a,l),d.deps<=0?d.resolve():(c(A,E,n,s,r,null,o,a,l),Qn(d,E))):A&&Ct(p,A)?(c(A,p,n,s,r,d,o,a,l),d.resolve(!0)):(c(null,p,d.hiddenContainer,null,r,d,o,a,l),d.deps<=0&&d.resolve()));else if(A&&Ct(p,A))c(A,p,n,s,r,d,o,a,l),Qn(d,p);else if(Vs(t,"onPending"),d.pendingBranch=p,p.shapeFlag&512?d.pendingId=p.component.suspenseId:d.pendingId=Qi++,c(null,p,d.hiddenContainer,null,r,d,o,a,l),d.deps<=0)d.resolve();else{const{timeout:R,pendingId:F}=d;R>0?setTimeout(()=>{d.pendingId===F&&d.fallback(E)},R):R===0&&d.fallback(E)}}function qu(e,t,n,s,r,o,a,l,c,h,f=!1){const{p:d,m:p,um:E,n:A,o:{parentNode:C,remove:k}}=h;let I;const R=Q_(e);R&&t&&t.pendingBranch&&(I=t.pendingId,t.deps++);const F=e.props?Ic(e.props.timeout):void 0,$=o,O={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:r,deps:0,pendingId:Qi++,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(V=!1,Y=!1){const{vnode:K,activeBranch:w,pendingBranch:P,pendingId:z,effects:H,parentComponent:Q,container:ce}=O;let me=!1;O.isHydrating?O.isHydrating=!1:V||(me=w&&P.transition&&P.transition.mode==="out-in",me&&(w.transition.afterLeave=()=>{z===O.pendingId&&(p(P,ce,o===$?A(w):o,0),Ki(H))}),w&&(C(w.el)===ce&&(o=A(w)),E(w,Q,O,!0)),me||p(P,ce,o,0)),Qn(O,P),O.pendingBranch=null,O.isInFallback=!1;let re=O.parent,Z=!1;for(;re;){if(re.pendingBranch){re.effects.push(...H),Z=!0;break}re=re.parent}!Z&&!me&&Ki(H),O.effects=[],R&&t&&t.pendingBranch&&I===t.pendingId&&(t.deps--,t.deps===0&&!Y&&t.resolve()),Vs(K,"onResolve")},fallback(V){if(!O.pendingBranch)return;const{vnode:Y,activeBranch:K,parentComponent:w,container:P,namespace:z}=O;Vs(Y,"onFallback");const H=A(K),Q=()=>{O.isInFallback&&(d(null,V,P,H,w,null,z,l,c),Qn(O,V))},ce=V.transition&&V.transition.mode==="out-in";ce&&(K.transition.afterLeave=Q),O.isInFallback=!0,E(K,w,null,!0),ce||Q()},move(V,Y,K){O.activeBranch&&p(O.activeBranch,V,Y,K),O.container=V},next(){return O.activeBranch&&A(O.activeBranch)},registerDep(V,Y,K){const w=!!O.pendingBranch;w&&O.deps++;const P=V.vnode.el;V.asyncDep.catch(z=>{Ys(z,V,0)}).then(z=>{if(V.isUnmounted||O.isUnmounted||O.pendingId!==V.suspenseId)return;V.asyncResolved=!0;const{vnode:H}=V;Zi(V,z,!1),P&&(H.el=P);const Q=!P&&V.subTree.el;Y(V,H,C(P||V.subTree.el),P?null:A(V.subTree),O,a,K),Q&&k(Q),Wo(V,H.el),w&&--O.deps===0&&O.resolve()})},unmount(V,Y){O.isUnmounted=!0,O.activeBranch&&E(O.activeBranch,n,V,Y),O.pendingBranch&&E(O.pendingBranch,n,V,Y)}};return O}function q_(e,t,n,s,r,o,a,l,c){const h=t.suspense=qu(t,s,n,e.parentNode,document.createElement("div"),null,r,o,a,l,!0),f=c(e,h.pendingBranch=t.ssContent,n,h,o,a);return h.deps===0&&h.resolve(!1,!0),f}function z_(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=fl(s?n.default:n),e.ssFallback=s?fl(n.fallback):$e(Ie)}function fl(e){let t;if(ie(e)){const n=ss&&e._c;n&&(e._d=!1,en()),e=e(),n&&(e._d=!0,t=Ze,zu())}return te(e)&&(e=H_(e)),e=_t(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function X_(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Ki(e)}function Qn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Wo(s,r))}function Q_(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ve=Symbol.for("v-fgt"),ti=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),Cr=Symbol.for("v-stc"),$s=[];let Ze=null;function en(e=!1){$s.push(Ze=e?null:[])}function zu(){$s.pop(),Ze=$s[$s.length-1]||null}let ss=1;function dl(e){ss+=e,e<0&&Ze&&(Ze.hasOnce=!0)}function Xu(e){return e.dynamicChildren=ss>0?Ze||Yn:null,zu(),ss>0&&Ze&&Ze.push(e),e}function hl(e,t,n,s,r,o){return Xu(It(e,t,n,s,r,o,!0))}function Fs(e,t,n,s,r){return Xu($e(e,t,n,s,r,!0))}function rs(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const Qu=({key:e})=>e??null,wr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Ae(e)||ie(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function It(e,t=null,n=null,s=0,r=null,o=e===Ve?0:1,a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qu(t),ref:t&&wr(t),scopeId:hu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Oe};return l?(Ko(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=be(n)?8:16),ss>0&&!a&&Ze&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ze.push(c),c}const $e=J_;function J_(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===xu)&&(e=Ie),rs(e)){const l=rn(e,t,!0);return n&&Ko(l,n),ss>0&&!o&&Ze&&(l.shapeFlag&6?Ze[Ze.indexOf(e)]=l:Ze.push(l)),l.patchFlag=-2,l}if(cv(e)&&(e=e.__vccOpts),t){t=Z_(t);let{class:l,style:c}=t;l&&!be(l)&&(t.class=Yr(l)),ve(c)&&(Ro(c)&&!te(c)&&(c=Se({},c)),t.style=Ur(c))}const a=be(e)?1:Gu(e)?128:gu(e)?64:ve(e)?4:ie(e)?2:0;return It(e,t,n,s,r,a,o,!0)}function Z_(e){return e?Ro(e)||ku(e)?Se({},e):e:null}function rn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:c}=e,h=t?tv(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Qu(h),ref:t&&t.ref?n&&o?te(o)?o.concat(wr(t)):[o,wr(t)]:wr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ve?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Dn(f,c.clone(f)),f}function Ju(e=" ",t=0){return $e(ti,null,e,t)}function ev(e="",t=!1){return t?(en(),Fs(Ie,null,e)):$e(Ie,null,e)}function _t(e){return e==null||typeof e=="boolean"?$e(Ie):te(e)?$e(Ve,null,e.slice()):rs(e)?Jt(e):$e(ti,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rn(e)}function Ko(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ko(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ku(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),s&64?(n=16,t=[Ju(t)]):n=8);e.children=t,e.shapeFlag|=n}function tv(...e){const t={};for(let n=0;nxe||Oe;let Ir,Ji;{const e=Pc(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};Ir=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),Ji=t("__VUE_SSR_SETTERS__",n=>ni=n)}const qs=e=>{const t=xe;return Ir(e),e.scope.on(),()=>{e.scope.off(),Ir(t)}},pl=()=>{xe&&xe.scope.off(),Ir(null)};function Zu(e){return e.vnode.shapeFlag&4}let ni=!1;function iv(e,t=!1,n=!1){t&&Ji(t);const{props:s,children:r}=e.vnode,o=Zu(e);C_(e,s,o,t),N_(e,r,n);const a=o?ov(e,t):void 0;return t&&Ji(!1),a}function ov(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,g_);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?tf(e):null,o=qs(e);cn();const a=Us(s,e,0,[e.props,r]);if(un(),o(),$c(a)){if(zn(e)||Tu(e),a.then(pl,pl),t)return a.then(l=>{Zi(e,l,t)}).catch(l=>{Ys(l,e,0)});e.asyncDep=a}else Zi(e,a,t)}else ef(e,t)}function Zi(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=au(t)),ef(e,n)}let gl;function ef(e,t,n){const s=e.type;if(!e.render){if(!t&&gl&&!s.render){const r=s.template||Fo(e).template;if(r){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,h=Se(Se({isCustomElement:o,delimiters:l},a),c);s.render=gl(r,h)}}e.render=s.render||St}{const r=qs(e);cn();try{m_(e)}finally{un(),r()}}}const av={get(e,t){return Fe(e,"get",""),e[t]}};function tf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,av),slots:e.slots,emit:e.emit,expose:t}}function si(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(au(zr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xs)return xs[n](e)},has(t,n){return n in t||n in xs}})):e.proxy}function lv(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function cv(e){return ie(e)&&"__vccOpts"in e}const nt=(e,t)=>Xm(e,t,ni);function Uo(e,t,n){const s=arguments.length;return s===2?ve(t)&&!te(t)?rs(t)?$e(e,null,[t]):$e(e,t):$e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&rs(n)&&(n=[n]),$e(e,t,n))}const uv="3.5.11";/** * @vue/runtime-dom v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let eo;const ml=typeof window<"u"&&window.trustedTypes;if(ml)try{eo=ml.createPolicy("vue",{createHTML:e=>e})}catch{}const nf=eo?e=>eo.createHTML(e):e=>e,fv="http://www.w3.org/2000/svg",dv="http://www.w3.org/1998/Math/MathML",Pt=typeof document<"u"?document:null,_l=Pt&&Pt.createElement("template"),hv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Pt.createElementNS(fv,e):t==="mathml"?Pt.createElementNS(dv,e):n?Pt.createElement(e,{is:n}):Pt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{_l.innerHTML=nf(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=_l.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yt="transition",Es="animation",is=Symbol("_vtc"),sf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},rf=Se({},vu,sf),pv=e=>(e.displayName="Transition",e.props=rf,e),gv=pv((e,{slots:t})=>Uo(i_,of(e),t)),An=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},vl=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function of(e){const t={};for(const H in e)H in sf||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:h=a,appearToClass:f=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,A=mv(r),C=A&&A[0],k=A&&A[1],{onBeforeEnter:I,onEnter:R,onEnterCancelled:F,onLeave:$,onLeaveCancelled:O,onBeforeAppear:V=I,onAppear:Y=R,onAppearCancelled:K=F}=t,w=(H,Q,ce)=>{qt(H,Q?f:l),qt(H,Q?h:a),ce&&ce()},P=(H,Q)=>{H._isLeaving=!1,qt(H,d),qt(H,E),qt(H,p),Q&&Q()},z=H=>(Q,ce)=>{const me=H?Y:R,re=()=>w(Q,H,ce);An(me,[Q,re]),El(()=>{qt(Q,H?c:o),Rt(Q,H?f:l),vl(me)||bl(Q,s,C,re)})};return Se(t,{onBeforeEnter(H){An(I,[H]),Rt(H,o),Rt(H,a)},onBeforeAppear(H){An(V,[H]),Rt(H,c),Rt(H,h)},onEnter:z(!1),onAppear:z(!0),onLeave(H,Q){H._isLeaving=!0;const ce=()=>P(H,Q);Rt(H,d),Rt(H,p),lf(),El(()=>{H._isLeaving&&(qt(H,d),Rt(H,E),vl($)||bl(H,s,k,ce))}),An($,[H,ce])},onEnterCancelled(H){w(H,!1),An(F,[H])},onAppearCancelled(H){w(H,!0),An(K,[H])},onLeaveCancelled(H){P(H),An(O,[H])}})}function mv(e){if(e==null)return null;if(ve(e))return[Li(e.enter),Li(e.leave)];{const t=Li(e);return[t,t]}}function Li(e){return Ic(e)}function Rt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[is]||(e[is]=new Set)).add(t)}function qt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[is];n&&(n.delete(t),n.size||(e[is]=void 0))}function El(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _v=0;function bl(e,t,n,s){const r=e._endId=++_v,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:c}=af(e,t);if(!a)return s();const h=a+"end";let f=0;const d=()=>{e.removeEventListener(h,p),o()},p=E=>{E.target===e&&++f>=c&&d()};setTimeout(()=>{f(n[A]||"").split(", "),r=s(`${Yt}Delay`),o=s(`${Yt}Duration`),a=yl(r,o),l=s(`${Es}Delay`),c=s(`${Es}Duration`),h=yl(l,c);let f=null,d=0,p=0;t===Yt?a>0&&(f=Yt,d=a,p=o.length):t===Es?h>0&&(f=Es,d=h,p=c.length):(d=Math.max(a,h),f=d>0?a>h?Yt:Es:null,p=f?f===Yt?o.length:c.length:0);const E=f===Yt&&/\b(transform|all)(,|$)/.test(s(`${Yt}Property`).toString());return{type:f,timeout:d,propCount:p,hasTransform:E}}function yl(e,t){for(;e.lengthAl(n)+Al(e[s])))}function Al(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function lf(){return document.body.offsetHeight}function vv(e,t,n){const s=e[is];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Pr=Symbol("_vod"),cf=Symbol("_vsh"),Jb={beforeMount(e,{value:t},{transition:n}){e[Pr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):bs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),bs(e,!0),s.enter(e)):s.leave(e,()=>{bs(e,!1)}):bs(e,t))},beforeUnmount(e,{value:t}){bs(e,t)}};function bs(e,t){e.style.display=t?e[Pr]:"none",e[cf]=!t}const uf=Symbol("");function Zb(e){const t=Gs();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Mr(o,r))},s=()=>{const r=e(t.proxy);t.ce?Mr(t.ce,r):to(t.subTree,r),n(r)};wu(()=>{M_(s)}),ko(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Vo(()=>r.disconnect())})}function to(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{to(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Mr(e.el,t);else if(e.type===Ve)e.children.forEach(n=>to(n,t));else if(e.type===Cr){let{el:n,anchor:s}=e;for(;n&&(Mr(n,t),n!==s);)n=n.nextSibling}}function Mr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[uf]=s}}const Ev=/(^|;)\s*display\s*:/;function bv(e,t,n){const s=e.style,r=be(n);let o=!1;if(n&&!r){if(t)if(be(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Sr(s,l,"")}else for(const a in t)n[a]==null&&Sr(s,a,"");for(const a in n)a==="display"&&(o=!0),Sr(s,a,n[a])}else if(r){if(t!==n){const a=s[uf];a&&(n+=";"+a),s.cssText=n,o=Ev.test(n)}}else t&&e.removeAttribute("style");Pr in e&&(e[Pr]=o?s.display:"",e[cf]&&(s.display="none"))}const Tl=/\s*!important$/;function Sr(e,t,n){if(te(n))n.forEach(s=>Sr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=yv(e,t);Tl.test(n)?e.setProperty(ln(s),n.replace(Tl,""),"important"):e[s]=n}}const Cl=["Webkit","Moz","ms"],Ri={};function yv(e,t){const n=Ri[t];if(n)return n;let s=ht(t);if(s!=="filter"&&s in e)return Ri[t]=s;s=Kr(s);for(let r=0;rIi||(wv.then(()=>Ii=0),Ii=Date.now());function Ov(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Et(Nv(s,n.value),t,5,[s])};return n.value=e,n.attached=Sv(),n}function Nv(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const $l=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xv=(e,t,n,s,r,o)=>{const a=r==="svg";t==="class"?vv(e,s,a):t==="style"?bv(e,n,s):jr(t)?Ao(t)||Tv(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$v(e,t,s,a))?(Ol(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Sl(e,t,s,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!be(s))?Ol(e,ht(t),s):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Sl(e,t,s,a))};function $v(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&$l(t)&&ie(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return $l(t)&&be(n)?!1:t in e}const ff=new WeakMap,df=new WeakMap,kr=Symbol("_moveCb"),Dl=Symbol("_enterCb"),Dv=e=>(delete e.props.mode,e),Lv=Dv({name:"TransitionGroup",props:Se({},rf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Gs(),s=_u();let r,o;return Su(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Mv(r[0].el,n.vnode.el,a))return;r.forEach(Rv),r.forEach(Iv);const l=r.filter(Pv);lf(),l.forEach(c=>{const h=c.el,f=h.style;Rt(h,a),f.transform=f.webkitTransform=f.transitionDuration="";const d=h[kr]=p=>{p&&p.target!==h||(!p||/transform$/.test(p.propertyName))&&(h.removeEventListener("transitionend",d),h[kr]=null,qt(h,a))};h.addEventListener("transitionend",d)})}),()=>{const a=fe(e),l=of(a);let c=a.tag||Ve;if(r=[],o)for(let h=0;h{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=af(s);return o.removeChild(s),a}const on=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>br(t,n):t};function kv(e){e.target.composing=!0}function Ll(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dt=Symbol("_assign"),Rl={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[dt]=on(r);const o=s||r.props&&r.props.type==="number";Vt(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Nr(l)),e[dt](l)}),n&&Vt(e,"change",()=>{e.value=e.value.trim()}),t||(Vt(e,"compositionstart",kv),Vt(e,"compositionend",Ll),Vt(e,"change",Ll))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},a){if(e[dt]=on(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Nr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Vv={deep:!0,created(e,t,n){e[dt]=on(n),Vt(e,"change",()=>{const s=e._modelValue,r=os(e),o=e.checked,a=e[dt];if(te(s)){const l=wo(s,r),c=l!==-1;if(o&&!c)a(s.concat(r));else if(!o&&c){const h=[...s];h.splice(l,1),a(h)}}else if(us(s)){const l=new Set(s);o?l.add(r):l.delete(r),a(l)}else a(hf(e,o))})},mounted:Il,beforeUpdate(e,t,n){e[dt]=on(n),Il(e,t,n)}};function Il(e,{value:t},n){e._modelValue=t;let s;te(t)?s=wo(t,n.props.value)>-1:us(t)?s=t.has(n.props.value):s=xn(t,hf(e,!0)),e.checked!==s&&(e.checked=s)}const Fv={created(e,{value:t},n){e.checked=xn(t,n.props.value),e[dt]=on(n),Vt(e,"change",()=>{e[dt](os(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[dt]=on(s),t!==n&&(e.checked=xn(t,s.props.value))}},Hv={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=us(t);Vt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Nr(os(a)):os(a));e[dt](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Qr(()=>{e._assigning=!1})}),e[dt]=on(s)},mounted(e,{value:t}){Pl(e,t)},beforeUpdate(e,t,n){e[dt]=on(n)},updated(e,{value:t}){e._assigning||Pl(e,t)}};function Pl(e,t){const n=e.multiple,s=te(t);if(!(n&&!s&&!us(t))){for(let r=0,o=e.options.length;rString(h)===String(l)):a.selected=wo(t,l)>-1}else a.selected=t.has(l);else if(xn(os(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function os(e){return"_value"in e?e._value:e.value}function hf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ty={created(e,t,n){_r(e,t,n,null,"created")},mounted(e,t,n){_r(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){_r(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){_r(e,t,n,s,"updated")}};function Bv(e,t){switch(e){case"SELECT":return Hv;case"TEXTAREA":return Rl;default:switch(t){case"checkbox":return Vv;case"radio":return Fv;default:return Rl}}}function _r(e,t,n,s,r){const a=Bv(e.tagName,n.props&&n.props.type)[r];a&&a(e,t,n,s)}const jv=["ctrl","shift","alt","meta"],Wv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>jv.some(n=>e[`${n}Key`]&&!t.includes(n))},ny=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=ln(r.key);if(t.some(a=>a===o||Kv[a]===o))return e(r)})},Uv=Se({patchProp:xv},hv);let Ml;function pf(){return Ml||(Ml=$_(Uv))}const ry=(...e)=>{pf().render(...e)},Yv=(...e)=>{const t=pf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=qv(s);if(!r)return;const o=t._component;!ie(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=n(r,!1,Gv(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function Gv(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qv(e){return be(e)?document.querySelector(e):e}var zv=!1;/*! * pinia v2.2.4 * (c) 2024 Eduardo San Martin Morote * @license MIT */let gf;const ri=e=>gf=e,mf=Symbol();function no(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ds;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ds||(Ds={}));function Xv(){const e=Bc(!0),t=e.run(()=>Xr({}));let n=[],s=[];const r=zr({install(o){ri(r),r._a=o,o.provide(mf,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return!this._a&&!zv?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const _f=()=>{};function kl(e,t,n,s=_f){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&jc()&&ym(r),r}function jn(e,...t){e.slice().forEach(n=>{n(...t)})}const Qv=e=>e(),Vl=Symbol(),Pi=Symbol();function so(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];no(r)&&no(s)&&e.hasOwnProperty(n)&&!Ae(s)&&!nn(s)?e[n]=so(r,s):e[n]=s}return e}const Jv=Symbol();function Zv(e){return!no(e)||!e.hasOwnProperty(Jv)}const{assign:zt}=Object;function eE(e){return!!(Ae(e)&&e.effect)}function tE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let c;function h(){l||(n.state.value[e]=r?r():{});const f=Ym(n.state.value[e]);return zt(f,o,Object.keys(a||{}).reduce((d,p)=>(d[p]=zr(nt(()=>{ri(n);const E=n._s.get(e);return a[p].call(E,E)})),d),{}))}return c=vf(e,h,t,n,s,!0),c}function vf(e,t,n={},s,r,o){let a;const l=zt({actions:{}},n),c={deep:!0};let h,f,d=[],p=[],E;const A=s.state.value[e];!o&&!A&&(s.state.value[e]={}),Xr({});let C;function k(K){let w;h=f=!1,typeof K=="function"?(K(s.state.value[e]),w={type:Ds.patchFunction,storeId:e,events:E}):(so(s.state.value[e],K),w={type:Ds.patchObject,payload:K,storeId:e,events:E});const P=C=Symbol();Qr().then(()=>{C===P&&(h=!0)}),f=!0,jn(d,w,s.state.value[e])}const I=o?function(){const{state:w}=n,P=w?w():{};this.$patch(z=>{zt(z,P)})}:_f;function R(){a.stop(),d=[],p=[],s._s.delete(e)}const F=(K,w="")=>{if(Vl in K)return K[Pi]=w,K;const P=function(){ri(s);const z=Array.from(arguments),H=[],Q=[];function ce(Z){H.push(Z)}function me(Z){Q.push(Z)}jn(p,{args:z,name:P[Pi],store:O,after:ce,onError:me});let re;try{re=K.apply(this&&this.$id===e?this:O,z)}catch(Z){throw jn(Q,Z),Z}return re instanceof Promise?re.then(Z=>(jn(H,Z),Z)).catch(Z=>(jn(Q,Z),Promise.reject(Z))):(jn(H,re),re)};return P[Vl]=!0,P[Pi]=w,P},$={_p:s,$id:e,$onAction:kl.bind(null,p),$patch:k,$reset:I,$subscribe(K,w={}){const P=kl(d,K,w.detached,()=>z()),z=a.run(()=>Xn(()=>s.state.value[e],H=>{(w.flush==="sync"?f:h)&&K({storeId:e,type:Ds.direct,events:E},H)},zt({},c,w)));return P},$dispose:R},O=Ks($);s._s.set(e,O);const Y=(s._a&&s._a.runWithContext||Qv)(()=>s._e.run(()=>(a=Bc()).run(()=>t({action:F}))));for(const K in Y){const w=Y[K];if(Ae(w)&&!eE(w)||nn(w))o||(A&&Zv(w)&&(Ae(w)?w.value=A[K]:so(w,A[K])),s.state.value[e][K]=w);else if(typeof w=="function"){const P=F(w,K);Y[K]=P,l.actions[K]=w}}return zt(O,Y),zt(fe(O),Y),Object.defineProperty(O,"$state",{get:()=>s.state.value[e],set:K=>{k(w=>{zt(w,K)})}}),s._p.forEach(K=>{zt(O,a.run(()=>K({store:O,app:s._a,pinia:s,options:l})))}),A&&o&&n.hydrate&&n.hydrate(O.$state,A),h=!0,f=!0,O}function Ef(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function a(l,c){const h=T_();return l=l||(h?ft(mf,null):null),l&&ri(l),l=gf,l._s.has(s)||(o?vf(s,t,r,l):tE(s,r,l)),l._s.get(s)}return a.$id=s,a}/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Un=typeof document<"u";function bf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&bf(e.default)}const ge=Object.assign;function Mi(e,t){const n={};for(const s in t){const r=t[s];n[s]=bt(r)?r.map(e):e(r)}return n}const Ls=()=>{},bt=Array.isArray,yf=/#/g,sE=/&/g,rE=/\//g,iE=/=/g,oE=/\?/g,Af=/\+/g,aE=/%5B/g,lE=/%5D/g,Tf=/%5E/g,cE=/%60/g,Cf=/%7B/g,uE=/%7C/g,wf=/%7D/g,fE=/%20/g;function Yo(e){return encodeURI(""+e).replace(uE,"|").replace(aE,"[").replace(lE,"]")}function dE(e){return Yo(e).replace(Cf,"{").replace(wf,"}").replace(Tf,"^")}function ro(e){return Yo(e).replace(Af,"%2B").replace(fE,"+").replace(yf,"%23").replace(sE,"%26").replace(cE,"`").replace(Cf,"{").replace(wf,"}").replace(Tf,"^")}function hE(e){return ro(e).replace(iE,"%3D")}function pE(e){return Yo(e).replace(yf,"%23").replace(oE,"%3F")}function gE(e){return e==null?"":pE(e).replace(rE,"%2F")}function Hs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const mE=/\/$/,_E=e=>e.replace(mE,"");function ki(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=yE(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Hs(a)}}function vE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function EE(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&as(t.matched[s],n.matched[r])&&Sf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function as(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Sf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!bE(e[n],t[n]))return!1;return!0}function bE(e,t){return bt(e)?Hl(e,t):bt(t)?Hl(t,e):e===t}function Hl(e,t){return bt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function yE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Bs;(function(e){e.pop="pop",e.push="push"})(Bs||(Bs={}));var Rs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rs||(Rs={}));function AE(e){if(!e)if(Un){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_E(e)}const TE=/^[^#]+#/;function CE(e,t){return e.replace(TE,"#")+t}function wE(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ii=()=>({left:window.scrollX,top:window.scrollY});function SE(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wE(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Bl(e,t){return(history.state?history.state.position-t:-1)+e}const io=new Map;function OE(e,t){io.set(e,t)}function NE(e){const t=io.get(e);return io.delete(e),t}let xE=()=>location.protocol+"//"+location.host;function Of(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Fl(c,"")}return Fl(n,e)+s+r}function $E(e,t,n,s){let r=[],o=[],a=null;const l=({state:p})=>{const E=Of(e,location),A=n.value,C=t.value;let k=0;if(p){if(n.value=E,t.value=p,a&&a===A){a=null;return}k=C?p.position-C.position:0}else s(E);r.forEach(I=>{I(n.value,A,{delta:k,type:Bs.pop,direction:k?k>0?Rs.forward:Rs.back:Rs.unknown})})};function c(){a=n.value}function h(p){r.push(p);const E=()=>{const A=r.indexOf(p);A>-1&&r.splice(A,1)};return o.push(E),E}function f(){const{history:p}=window;p.state&&p.replaceState(ge({},p.state,{scroll:ii()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:h,destroy:d}}function jl(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ii():null}}function DE(e){const{history:t,location:n}=window,s={value:Of(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,h,f){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:xE()+e+c;try{t[f?"replaceState":"pushState"](h,"",p),r.value=h}catch(E){console.error(E),n[f?"replace":"assign"](p)}}function a(c,h){const f=ge({},t.state,jl(r.value.back,c,r.value.forward,!0),h,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,h){const f=ge({},r.value,t.state,{forward:c,scroll:ii()});o(f.current,f,!0);const d=ge({},jl(s.value,c,null),{position:f.position+1},h);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:a}}function LE(e){e=AE(e);const t=DE(e),n=$E(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=ge({location:"",base:e,go:s,createHref:CE.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function RE(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),LE(e)}function IE(e){return typeof e=="string"||e&&typeof e=="object"}function Nf(e){return typeof e=="string"||typeof e=="symbol"}const xf=Symbol("");var Wl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wl||(Wl={}));function ls(e,t){return ge(new Error,{type:e,[xf]:!0},t)}function Lt(e,t){return e instanceof Error&&xf in e&&(t==null||!!(e.type&t))}const Kl="[^/]+?",PE={sensitive:!1,strict:!1,start:!0,end:!0},ME=/[.+*?^${}()[\]/\\]/g;function kE(e,t){const n=ge({},PE,t),s=[];let r=n.start?"^":"";const o=[];for(const h of e){const f=h.length?[]:[90];n.strict&&!h.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function $f(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const FE={type:0,value:""},HE=/[a-zA-Z0-9_]/;function BE(e){if(!e)return[[]];if(e==="/")return[[FE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(E){throw new Error(`ERR (${n})/"${h}": ${E}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,c,h="",f="";function d(){h&&(n===0?o.push({type:0,value:h}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${h}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:h,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),h="")}function p(){h+=c}for(;l{a(F)}:Ls}function a(d){if(Nf(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function l(){return n}function c(d){const p=YE(d,n);n.splice(p,0,d),d.record.name&&!ql(d)&&s.set(d.record.name,d)}function h(d,p){let E,A={},C,k;if("name"in d&&d.name){if(E=s.get(d.name),!E)throw ls(1,{location:d});k=E.record.name,A=ge(Yl(p.params,E.keys.filter(F=>!F.optional).concat(E.parent?E.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),d.params&&Yl(d.params,E.keys.map(F=>F.name))),C=E.stringify(A)}else if(d.path!=null)C=d.path,E=n.find(F=>F.re.test(C)),E&&(A=E.parse(C),k=E.record.name);else{if(E=p.name?s.get(p.name):n.find(F=>F.re.test(p.path)),!E)throw ls(1,{location:d,currentLocation:p});k=E.record.name,A=ge({},p.params,d.params),C=E.stringify(A)}const I=[];let R=E;for(;R;)I.unshift(R.record),R=R.parent;return{name:k,path:C,params:A,matched:I,meta:UE(I)}}e.forEach(d=>o(d));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:h,removeRoute:a,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Yl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Gl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:KE(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function KE(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ql(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function UE(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function zl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function YE(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;$f(e,t[o])<0?s=o:n=o+1}const r=GE(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function GE(e){let t=e;for(;t=t.parent;)if(Df(t)&&$f(e,t)===0)return t}function Df({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qE(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&ro(o)):[s&&ro(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function zE(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=bt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const XE=Symbol(""),Ql=Symbol(""),oi=Symbol(""),Go=Symbol(""),oo=Symbol("");function ys(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Zt(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const h=p=>{p===!1?c(ls(4,{from:n,to:t})):p instanceof Error?c(p):IE(p)?c(ls(2,{from:t,to:p})):(a&&s.enterCallbacks[r]===a&&typeof p=="function"&&a.push(p),l())},f=o(()=>e.call(s&&s.instances[r],t,n,h));let d=Promise.resolve(f);e.length<3&&(d=d.then(h)),d.catch(p=>c(p))})}function Vi(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let c=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(bf(c)){const f=(c.__vccOpts||c)[t];f&&o.push(Zt(f,n,s,a,l,r))}else{let h=c();o.push(()=>h.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const d=nE(f)?f.default:f;a.mods[l]=f,a.components[l]=d;const E=(d.__vccOpts||d)[t];return E&&Zt(E,n,s,a,l,r)()}))}}return o}function Jl(e){const t=ft(oi),n=ft(Go),s=nt(()=>{const c=Ht(e.to);return t.resolve(c)}),r=nt(()=>{const{matched:c}=s.value,{length:h}=c,f=c[h-1],d=n.matched;if(!f||!d.length)return-1;const p=d.findIndex(as.bind(null,f));if(p>-1)return p;const E=Zl(c[h-2]);return h>1&&Zl(f)===E&&d[d.length-1].path!==E?d.findIndex(as.bind(null,c[h-2])):p}),o=nt(()=>r.value>-1&&eb(n.params,s.value.params)),a=nt(()=>r.value>-1&&r.value===n.matched.length-1&&Sf(n.params,s.value.params));function l(c={}){return ZE(c)?t[Ht(e.replace)?"replace":"push"](Ht(e.to)).catch(Ls):Promise.resolve()}return{route:s,href:nt(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}const QE=Au({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:Jl,setup(e,{slots:t}){const n=Ks(Jl(e)),{options:s}=ft(oi),r=nt(()=>({[ec(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ec(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Uo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),JE=QE;function ZE(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function eb(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!bt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function Zl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ec=(e,t,n)=>e??t??n,tb=Au({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ft(oo),r=nt(()=>e.route||s.value),o=ft(Ql,0),a=nt(()=>{let h=Ht(o);const{matched:f}=r.value;let d;for(;(d=f[h])&&!d.components;)h++;return h}),l=nt(()=>r.value.matched[a.value]);Tr(Ql,nt(()=>a.value+1)),Tr(XE,l),Tr(oo,r);const c=Xr();return Xn(()=>[c.value,l.value,e.name],([h,f,d],[p,E,A])=>{f&&(f.instances[d]=h,E&&E!==f&&h&&h===p&&(f.leaveGuards.size||(f.leaveGuards=E.leaveGuards),f.updateGuards.size||(f.updateGuards=E.updateGuards))),h&&f&&(!E||!as(f,E)||!p)&&(f.enterCallbacks[d]||[]).forEach(C=>C(h))},{flush:"post"}),()=>{const h=r.value,f=e.name,d=l.value,p=d&&d.components[f];if(!p)return tc(n.default,{Component:p,route:h});const E=d.props[f],A=E?E===!0?h.params:typeof E=="function"?E(h):E:null,k=Uo(p,ge({},A,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(d.instances[f]=null)},ref:c}));return tc(n.default,{Component:k,route:h})||k}}});function tc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Lf=tb;function nb(e){const t=WE(e.routes,e),n=e.parseQuery||qE,s=e.stringifyQuery||Xl,r=e.history,o=ys(),a=ys(),l=ys(),c=iu(Gt);let h=Gt;Un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Mi.bind(null,N=>""+N),d=Mi.bind(null,gE),p=Mi.bind(null,Hs);function E(N,G){let q,J;return Nf(N)?(q=t.getRecordMatcher(N),J=G):J=N,t.addRoute(J,q)}function A(N){const G=t.getRecordMatcher(N);G&&t.removeRoute(G)}function C(){return t.getRoutes().map(N=>N.record)}function k(N){return!!t.getRecordMatcher(N)}function I(N,G){if(G=ge({},G||c.value),typeof N=="string"){const _=ki(n,N,G.path),b=t.resolve({path:_.path},G),L=r.createHref(_.fullPath);return ge(_,b,{params:p(b.params),hash:Hs(_.hash),redirectedFrom:void 0,href:L})}let q;if(N.path!=null)q=ge({},N,{path:ki(n,N.path,G.path).path});else{const _=ge({},N.params);for(const b in _)_[b]==null&&delete _[b];q=ge({},N,{params:d(_)}),G.params=d(G.params)}const J=t.resolve(q,G),T=N.hash||"";J.params=f(p(J.params));const pe=vE(s,ge({},N,{hash:dE(T),path:J.path})),g=r.createHref(pe);return ge({fullPath:pe,hash:T,query:s===Xl?zE(N.query):N.query||{}},J,{redirectedFrom:void 0,href:g})}function R(N){return typeof N=="string"?ki(n,N,c.value.path):ge({},N)}function F(N,G){if(h!==N)return ls(8,{from:G,to:N})}function $(N){return Y(N)}function O(N){return $(ge(R(N),{replace:!0}))}function V(N){const G=N.matched[N.matched.length-1];if(G&&G.redirect){const{redirect:q}=G;let J=typeof q=="function"?q(N):q;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=R(J):{path:J},J.params={}),ge({query:N.query,hash:N.hash,params:J.path!=null?{}:N.params},J)}}function Y(N,G){const q=h=I(N),J=c.value,T=N.state,pe=N.force,g=N.replace===!0,_=V(q);if(_)return Y(ge(R(_),{state:typeof _=="object"?ge({},T,_.state):T,force:pe,replace:g}),G||q);const b=q;b.redirectedFrom=G;let L;return!pe&&EE(s,J,q)&&(L=ls(16,{to:b,from:J}),De(J,J,!0,!1)),(L?Promise.resolve(L):P(b,J)).catch(S=>Lt(S)?Lt(S,2)?S:He(S):le(S,b,J)).then(S=>{if(S){if(Lt(S,2))return Y(ge({replace:g},R(S.to),{state:typeof S.to=="object"?ge({},T,S.to.state):T,force:pe}),G||b)}else S=H(b,J,!0,g,T);return z(b,J,S),S})}function K(N,G){const q=F(N,G);return q?Promise.reject(q):Promise.resolve()}function w(N){const G=Be.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(N):N()}function P(N,G){let q;const[J,T,pe]=sb(N,G);q=Vi(J.reverse(),"beforeRouteLeave",N,G);for(const _ of J)_.leaveGuards.forEach(b=>{q.push(Zt(b,N,G))});const g=K.bind(null,N,G);return q.push(g),Te(q).then(()=>{q=[];for(const _ of o.list())q.push(Zt(_,N,G));return q.push(g),Te(q)}).then(()=>{q=Vi(T,"beforeRouteUpdate",N,G);for(const _ of T)_.updateGuards.forEach(b=>{q.push(Zt(b,N,G))});return q.push(g),Te(q)}).then(()=>{q=[];for(const _ of pe)if(_.beforeEnter)if(bt(_.beforeEnter))for(const b of _.beforeEnter)q.push(Zt(b,N,G));else q.push(Zt(_.beforeEnter,N,G));return q.push(g),Te(q)}).then(()=>(N.matched.forEach(_=>_.enterCallbacks={}),q=Vi(pe,"beforeRouteEnter",N,G,w),q.push(g),Te(q))).then(()=>{q=[];for(const _ of a.list())q.push(Zt(_,N,G));return q.push(g),Te(q)}).catch(_=>Lt(_,8)?_:Promise.reject(_))}function z(N,G,q){l.list().forEach(J=>w(()=>J(N,G,q)))}function H(N,G,q,J,T){const pe=F(N,G);if(pe)return pe;const g=G===Gt,_=Un?history.state:{};q&&(J||g?r.replace(N.fullPath,ge({scroll:g&&_&&_.scroll},T)):r.push(N.fullPath,T)),c.value=N,De(N,G,q,g),He()}let Q;function ce(){Q||(Q=r.listen((N,G,q)=>{if(!Pe.listening)return;const J=I(N),T=V(J);if(T){Y(ge(T,{replace:!0}),J).catch(Ls);return}h=J;const pe=c.value;Un&&OE(Bl(pe.fullPath,q.delta),ii()),P(J,pe).catch(g=>Lt(g,12)?g:Lt(g,2)?(Y(g.to,J).then(_=>{Lt(_,20)&&!q.delta&&q.type===Bs.pop&&r.go(-1,!1)}).catch(Ls),Promise.reject()):(q.delta&&r.go(-q.delta,!1),le(g,J,pe))).then(g=>{g=g||H(J,pe,!1),g&&(q.delta&&!Lt(g,8)?r.go(-q.delta,!1):q.type===Bs.pop&&Lt(g,20)&&r.go(-1,!1)),z(J,pe,g)}).catch(Ls)}))}let me=ys(),re=ys(),Z;function le(N,G,q){He(N);const J=re.list();return J.length?J.forEach(T=>T(N,G,q)):console.error(N),Promise.reject(N)}function Ce(){return Z&&c.value!==Gt?Promise.resolve():new Promise((N,G)=>{me.add([N,G])})}function He(N){return Z||(Z=!N,ce(),me.list().forEach(([G,q])=>N?q(N):G()),me.reset()),N}function De(N,G,q,J){const{scrollBehavior:T}=e;if(!Un||!T)return Promise.resolve();const pe=!q&&NE(Bl(N.fullPath,0))||(J||!q)&&history.state&&history.state.scroll||null;return Qr().then(()=>T(N,G,pe)).then(g=>g&&SE(g)).catch(g=>le(g,N,G))}const ye=N=>r.go(N);let et;const Be=new Set,Pe={currentRoute:c,listening:!0,addRoute:E,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:C,resolve:I,options:e,push:$,replace:O,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:re.add,isReady:Ce,install(N){const G=this;N.component("RouterLink",JE),N.component("RouterView",Lf),N.config.globalProperties.$router=G,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>Ht(c)}),Un&&!et&&c.value===Gt&&(et=!0,$(r.location).catch(T=>{}));const q={};for(const T in Gt)Object.defineProperty(q,T,{get:()=>c.value[T],enumerable:!0});N.provide(oi,G),N.provide(Go,su(q)),N.provide(oo,c);const J=N.unmount;Be.add(N),N.unmount=function(){Be.delete(N),Be.size<1&&(h=Gt,Q&&Q(),Q=null,c.value=Gt,et=!1,Z=!1),J()}}};function Te(N){return N.reduce((G,q)=>G.then(()=>w(q)),Promise.resolve())}return Pe}function sb(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;aas(h,l))?s.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(h=>as(h,c))||r.push(c))}return[n,s,r]}function iy(){return ft(oi)}function oy(e){return ft(Go)}const rb="modulepreload",ib=function(e){return"/static/app/dist/"+e},nc={},Qe=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");r=Promise.allSettled(n.map(c=>{if(c=ib(c),c in nc)return;nc[c]=!0;const h=c.endsWith(".css"),f=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=h?"stylesheet":rb,h||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),h)return new Promise((p,E)=>{d.addEventListener("load",p),d.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return r.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},ob={getCookie(e){const n=`; ${document.cookie}`.split(`; ${e}=`);if(n.length===2)return n.pop().split(";").shift()}},sc="[a-fA-F\\d:]",tn=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${sc})|(?<=${sc})(?=\\s|$))`:"",mt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",we="[a-fA-F\\d]{1,4}",ai=` (?: (?:${we}:){7}(?:${we}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 (?:${we}:){6}(?:${mt}|:${we}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 (?:${we}:){5}(?::${mt}|(?::${we}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 (?:${we}:){4}(?:(?::${we}){0,1}:${mt}|(?::${we}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 (?:${we}:){3}(?:(?::${we}){0,2}:${mt}|(?::${we}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 (?:${we}:){2}(?:(?::${we}){0,3}:${mt}|(?::${we}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 (?:${we}:){1}(?:(?::${we}){0,4}:${mt}|(?::${we}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 (?::(?:(?::${we}){0,5}:${mt}|(?::${we}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 `.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),ab=new RegExp(`(?:^${mt}$)|(?:^${ai}$)`),lb=new RegExp(`^${mt}$`),cb=new RegExp(`^${ai}$`),li=e=>e&&e.exact?ab:new RegExp(`(?:${tn(e)}${mt}${tn(e)})|(?:${tn(e)}${ai}${tn(e)})`,"g");li.v4=e=>e&&e.exact?lb:new RegExp(`${tn(e)}${mt}${tn(e)}`,"g");li.v6=e=>e&&e.exact?cb:new RegExp(`${tn(e)}${ai}${tn(e)}`,"g");const Rf={exact:!1},If=`${li.v4().source}\\/(3[0-2]|[12]?[0-9])`,Pf=`${li.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,ub=new RegExp(`^${If}$`),fb=new RegExp(`^${Pf}$`),db=({exact:e}=Rf)=>e?ub:new RegExp(If,"g"),hb=({exact:e}=Rf)=>e?fb:new RegExp(Pf,"g"),Mf=db({exact:!0}),kf=hb({exact:!0}),qo=e=>Mf.test(e)?4:kf.test(e)?6:0;qo.v4=e=>Mf.test(e);qo.v6=e=>kf.test(e);const Mt=e=>{const t=fn();if(t.Locale===null)return e;const s=Object.keys(t.Locale).filter(r=>e.match(new RegExp("^"+r+"$","gi"))!==null);return s.length===0||s.length>1||t.Locale[s[0]].length===0?e:e.replace(new RegExp(s[0],"gi"),t.Locale[s[0]])},pb=Ef("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:Mt("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:Mt("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:Mt("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:Mt("Date"),value:"date",type:"date"}],Operator:[{display:Mt("larger than"),value:"lgt"}],Action:[{display:Mt("Restrict Peer"),value:"restrict"},{display:Mt("Delete Peer"),value:"delete"}]}}}),actions:{async getConfigurations(){await Vr("/api/getWireguardConfigurations",{},e=>{e.status&&(this.Configurations=e.data)})},regexCheckIP(e){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(e)},checkCIDR(e){return qo(e)!==0},checkWGKeyLength(e){return console.log(e),/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}}}),gb=async()=>{let e=!1;return await Vr("/api/validateAuthentication",{},t=>{e=t.status}),e},fs=nb({history:RE(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>Qe(()=>import("./index2.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:()=>Qe(()=>import("./configurationList.js"),__vite__mapDeps([6,1,7])),meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:()=>Qe(()=>import("./settings.js"),__vite__mapDeps([8,1,3,9,10])),meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:()=>Qe(()=>import("./ping.js"),__vite__mapDeps([11,1,12,13,14]))},{path:"/traceroute",name:"Traceroute",component:()=>Qe(()=>import("./traceroute.js"),__vite__mapDeps([15,12,13,1,16]))},{name:"New Configuration",path:"/new_configuration",component:()=>Qe(()=>import("./newConfiguration.js"),__vite__mapDeps([17,18,19,1])),meta:{title:"New Configuration"}},{name:"Restore Configuration",path:"/restore_configuration",component:()=>Qe(()=>import("./restoreConfiguration.js"),__vite__mapDeps([20,1,3,18,21])),meta:{title:"Restore Configuration"}},{name:"Configuration",path:"/configuration/:id",component:()=>Qe(()=>import("./configuration.js"),[]),meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:()=>Qe(()=>import("./peerList.js"),__vite__mapDeps([22,1,3,23,24,19,25,9,26]))},{name:"Peers Create",path:"create",component:()=>Qe(()=>import("./peerCreate.js"),__vite__mapDeps([24,1,19,25]))}]}]},{path:"/signin",component:()=>Qe(()=>import("./signin.js"),__vite__mapDeps([27,2,1,3,4,28])),meta:{title:"Sign In"}},{path:"/welcome",component:()=>Qe(()=>import("./setup.js"),__vite__mapDeps([29,1])),meta:{requiresAuth:!0,title:"Welcome to WGDashboard"}},{path:"/2FASetup",component:()=>Qe(()=>import("./totp.js"),__vite__mapDeps([30,23,1])),meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup"}},{path:"/share",component:()=>Qe(()=>import("./share.js"),__vite__mapDeps([31,23,1,32])),meta:{title:"Share"}}]});fs.beforeEach(async(e,t,n)=>{const s=pb(),r=fn();e.meta.title?e.params.id?document.title=e.params.id+" | WGDashboard":document.title=e.meta.title+" | WGDashboard":document.title="WGDashboard",r.ShowNavBar=!1,document.querySelector(".loadingBar").classList.remove("loadingDone"),document.querySelector(".loadingBar").classList.add("loading"),e.meta.requiresAuth?r.getActiveCrossServer()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),n()):ob.getCookie("authToken")&&await gb()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),r.Redirect=void 0,n()):(r.Redirect=e,n("/signin"),r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});fs.afterEach(()=>{document.querySelector(".loadingBar").classList.remove("loading"),document.querySelector(".loadingBar").classList.add("loadingDone")});const Vf=()=>{let e={"content-type":"application/json"};const n=fn().getActiveCrossServer();return n&&(e["wg-dashboard-apikey"]=n.apiKey),e},Ff=e=>{const n=fn().getActiveCrossServer();return n?`${n.host}${e}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`},Vr=async(e,t=void 0,n=void 0)=>{const s=new URLSearchParams(t);await fetch(`${Ff(e)}?${s.toString()}`,{headers:Vf()}).then(r=>{const o=fn();if(r.ok)return r.json();if(r.status!==200)throw r.status===401&&o.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(r.statusText)}).then(r=>n?n(r):void 0).catch(r=>{console.log(r),fs.push({path:"/signin"})})},ay=async(e,t,n)=>{await fetch(`${Ff(e)}`,{headers:Vf(),method:"POST",body:JSON.stringify(t)}).then(s=>{const r=fn();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log(s),fs.push({path:"/signin"})})};let vr;const mb=new Uint8Array(16);function _b(){if(!vr&&(vr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!vr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return vr(mb)}const Re=[];for(let e=0;e<256;++e)Re.push((e+256).toString(16).slice(1));function vb(e,t=0){return Re[e[t+0]]+Re[e[t+1]]+Re[e[t+2]]+Re[e[t+3]]+"-"+Re[e[t+4]]+Re[e[t+5]]+"-"+Re[e[t+6]]+Re[e[t+7]]+"-"+Re[e[t+8]]+Re[e[t+9]]+"-"+Re[e[t+10]]+Re[e[t+11]]+Re[e[t+12]]+Re[e[t+13]]+Re[e[t+14]]+Re[e[t+15]]}const Eb=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),rc={randomUUID:Eb};function ic(e,t,n){if(rc.randomUUID&&!t&&!e)return rc.randomUUID();e=e||{};const s=e.random||(e.rng||_b)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,vb(s)}const fn=Ef("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:void 0}),actions:{initCrossServerConfiguration(){const e=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),e===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(e)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[ic().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(e){delete this.CrossServerConfiguration.ServerList[e]},getActiveCrossServer(){const e=localStorage.getItem("ActiveCrossServerConfiguration");if(e!==null)return this.CrossServerConfiguration.ServerList[e]},setActiveCrossServer(e){this.ActiveServerConfiguration=e,localStorage.setItem("ActiveCrossServerConfiguration",e)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await Vr("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async signOut(){await Vr("/api/signout",{},e=>{this.removeActiveCrossServer(),this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:ic(),from:Mt(e),content:Mt(t),type:n,show:!0})},applyLocale(e){if(this.Locale===null)return e;const n=Object.keys(this.Locale).filter(s=>e.match(new RegExp("^"+s+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?e:this.Locale[n[0]]}}}),bb=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},yb={class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Ab={class:"container-fluid d-flex text-body align-items-center"},Tb={key:0,class:"ms-auto text-muted"},Cb={__name:"App",setup(e){const t=fn();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0),Xn(t.CrossServerConfiguration,()=>{t.syncCrossServerConfiguration()},{deep:!0});const n=nt(()=>{if(t.ActiveServerConfiguration)return t.CrossServerConfiguration.ServerList[t.ActiveServerConfiguration]});return(s,r)=>(en(),hl(Ve,null,[r[4]||(r[4]=It("div",{style:{"z-index":"9999",height:"5px"},class:"position-absolute loadingBar top-0 start-0"},null,-1)),It("nav",yb,[It("div",Ab,[r[3]||(r[3]=It("span",{class:"navbar-brand mb-0 h1"},"WGDashboard",-1)),n.value!==void 0?(en(),hl("small",Tb,[r[1]||(r[1]=It("i",{class:"bi bi-server me-2"},null,-1)),Ju(Vc(n.value.host),1)])):ev("",!0),It("a",{role:"button",class:"navbarBtn text-body",onClick:r[0]||(r[0]=o=>Ht(t).ShowNavBar=!Ht(t).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},r[2]||(r[2]=[It("i",{class:"bi bi-list"},null,-1)]))])]),(en(),Fs(U_,null,{default:yr(()=>[$e(Ht(Lf),null,{default:yr(({Component:o})=>[$e(gv,{name:"app",mode:"out-in",type:"transition",appear:""},{default:yr(()=>[(en(),Fs(p_(o)))]),_:2},1024)]),_:1})]),_:1}))],64))}},wb=bb(Cb,[["__scopeId","data-v-ca898237"]]);let ao;await fetch("/api/locale").then(e=>e.json()).then(e=>ao=e.data).catch(()=>{ao=null});const zo=Yv(wb);zo.use(fs);const Hf=Xv();Hf.use(({store:e})=>{e.$router=zr(fs)});zo.use(Hf);const Sb=fn();Sb.Locale=ao;zo.mount("#app");export{qb as $,ko as A,Ht as B,Ks as C,fn as D,Xn as E,Ve as F,Mt as G,iy as H,jc as I,ym as J,Au as K,iu as L,Uo as M,uv as N,Vo as O,fe as P,Qr as Q,Ro as R,U_ as S,ey as T,ty as U,Ub as V,pb as W,oy as X,Xb as Y,jb as Z,bb as _,It as a,zb as a0,Bb as a1,Z_ as a2,tv as a3,Ae as a4,Kb as a5,ny as a6,ry as a7,Qb as a8,c_ as a9,Jb as aa,_g as ab,Hb as ac,$e as b,hl as c,Ju as d,Yb as e,Vr as f,Fs as g,gv as h,p_ as i,ev as j,Wb as k,ic as l,ay as m,Yr as n,en as o,Rl as p,Xr as q,Gb as r,nt as s,Vc as t,Zb as u,Vv as v,yr as w,Hv as x,Ur as y,sy as z};