const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-ElUmKQXl.js","assets/localeText-Cd7vLnRM.js","assets/message-BaA47ykS.js","assets/dayjs.min-WRW_FTL4.js","assets/message-Bh5W0B3y.css","assets/index-CpoCtfuw.css","assets/configurationList-BmBzibCH.js","assets/protocolBadge-DbN6X1oX.js","assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-BsQN0eXp.js","assets/storageMount-wWOSNV8e.css","assets/configurationList-BKKG6ypL.css","assets/settings-yh4yZgcG.js","assets/peersDefaultSettingsInput-BuZeDfeq.js","assets/dashboardEmailSettings-BLi3ez-N.js","assets/vue-datepicker-Cw5Y4tvU.js","assets/index-DPa-4xgI.js","assets/dashboardEmailSettings-BxtXuVtX.css","assets/dashboardSettingsWireguardConfigurationAutostart-Cw4a6e53.js","assets/dashboardSettingsWireguardConfigurationAutostart-D5UlSscq.css","assets/wgdashboardSettings-b-VSP6t-.js","assets/peerDefaultSettings-DrA2ujGo.js","assets/wireguardConfigurationSettings-Bz2BaANg.js","assets/ping-yn2Ok0iq.js","assets/osmap-BtV_4HvJ.js","assets/Vector-CuSZivra.js","assets/Vector-BtPuoxOl.css","assets/osmap-CsoM1fIq.css","assets/ping-DgbK5UF9.css","assets/traceroute-DW1aS4wL.js","assets/traceroute-D9mlT_ah.css","assets/newConfiguration-DKGZAANU.js","assets/index-Bno8fcdN.js","assets/galois-field-I2lBzzs-.js","assets/newConfiguration-CaR3VWG-.css","assets/restoreConfiguration-Dz1O-iX5.js","assets/restoreConfiguration-Go8Q_2zy.css","assets/systemStatus-0e9M7tEY.js","assets/index-CV5Q0a3C.js","assets/systemStatus-DdUpBwt2.css","assets/clients-B5XnFbd-.js","assets/DashboardClientAssignmentStore-DDEBJ8Q3.js","assets/clients-CfS2KUuu.css","assets/clientViewer-BYJe9WYt.js","assets/clientViewer-C5axh9P7.css","assets/dashboardWebHooks-CEc1Rq-k.js","assets/dashboardWebHooks-Dl-enc0Z.css","assets/peerList-C-bwOqvP.js","assets/peerList-Ch1hvsh1.css","assets/signin-RX8JxeCw.js","assets/signin-lFX8XtKM.css","assets/setup-DwS6cNkc.js","assets/totp-DLhlDLL5.js","assets/browser-LdOMKRZX.js","assets/share-Cyu4RGGS.js","assets/share-e5E8P3Ro.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function mb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Lg(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var s=!1;try{s=this instanceof r}catch{}return 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(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Cs={exports:{}},Qe="top",st="bottom",it="right",Je="left",Gs="auto",vr=[Qe,st,it,Je],Ln="start",or="end",Sc="clippingParents",So="viewport",Xn="popper",wc="reference",Ji=vr.reduce(function(e,t){return e.concat([t+"-"+Ln,t+"-"+or])},[]),wo=[].concat(vr,[Gs]).reduce(function(e,t){return e.concat([t,t+"-"+Ln,t+"-"+or])},[]),Oc="beforeRead",Nc="read",xc="afterRead",Rc="beforeMain",Ic="main",Dc="afterMain",Lc="beforeWrite",Pc="write",$c="afterWrite",Mc=[Oc,Nc,xc,Rc,Ic,Dc,Lc,Pc,$c];function Pt(e){return e?(e.nodeName||"").toLowerCase():null}function ot(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pn(e){var t=ot(e).Element;return e instanceof t||e instanceof Element}function ht(e){var t=ot(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Oo(e){if(typeof ShadowRoot>"u")return!1;var t=ot(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Pg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!ht(o)||!Pt(o)||(Object.assign(o.style,r),Object.keys(s).forEach(function(a){var l=s[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function $g(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(r){var s=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=a.reduce(function(c,d){return c[d]="",c},{});!ht(s)||!Pt(s)||(Object.assign(s.style,l),Object.keys(o).forEach(function(c){s.removeAttribute(c)}))})}}const No={name:"applyStyles",enabled:!0,phase:"write",fn:Pg,effect:$g,requires:["computeStyles"]};function Lt(e){return e.split("-")[0]}var On=Math.max,Ds=Math.min,ar=Math.round;function Zi(){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 kc(){return!/^((?!chrome|android).)*safari/i.test(Zi())}function lr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,o=1;t&&ht(e)&&(s=e.offsetWidth>0&&ar(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ar(r.height)/e.offsetHeight||1);var a=Pn(e)?ot(e):window,l=a.visualViewport,c=!kc()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/s,f=(r.top+(c&&l?l.offsetTop:0))/o,h=r.width/s,p=r.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}function xo(e){var t=lr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Vc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Oo(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Kt(e){return ot(e).getComputedStyle(e)}function Mg(e){return["table","td","th"].indexOf(Pt(e))>=0}function fn(e){return((Pn(e)?e.ownerDocument:e.document)||window.document).documentElement}function qs(e){return Pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Oo(e)?e.host:null)||fn(e)}function el(e){return!ht(e)||Kt(e).position==="fixed"?null:e.offsetParent}function kg(e){var t=/firefox/i.test(Zi()),n=/Trident/i.test(Zi());if(n&&ht(e)){var r=Kt(e);if(r.position==="fixed")return null}var s=qs(e);for(Oo(s)&&(s=s.host);ht(s)&&["html","body"].indexOf(Pt(s))<0;){var o=Kt(s);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 s;s=s.parentNode}return null}function Xr(e){for(var t=ot(e),n=el(e);n&&Mg(n)&&Kt(n).position==="static";)n=el(n);return n&&(Pt(n)==="html"||Pt(n)==="body"&&Kt(n).position==="static")?t:n||kg(e)||t}function Ro(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dr(e,t,n){return On(e,Ds(t,n))}function Vg(e,t,n){var r=Dr(e,t,n);return r>n?n:r}function Fc(){return{top:0,right:0,bottom:0,left:0}}function Hc(e){return Object.assign({},Fc(),e)}function Bc(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Fg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Hc(typeof t!="number"?t:Bc(t,vr))};function Hg(e){var t,n=e.state,r=e.name,s=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Lt(n.placement),c=Ro(l),d=[Je,it].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!a)){var h=Fg(s.padding,n),p=xo(o),m=c==="y"?Qe:Je,O=c==="y"?st:it,T=n.rects.reference[f]+n.rects.reference[c]-a[c]-n.rects.popper[f],x=a[c]-n.rects.reference[c],P=Xr(o),V=P?c==="y"?P.clientHeight||0:P.clientWidth||0:0,H=T/2-x/2,M=h[m],b=V-p[f]-h[O],y=V/2-p[f]/2+H,N=Dr(M,y,b),A=c;n.modifiersData[r]=(t={},t[A]=N,t.centerOffset=N-y,t)}}function Bg(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||Vc(t.elements.popper,s)&&(t.elements.arrow=s))}const jc={name:"arrow",enabled:!0,phase:"main",fn:Hg,effect:Bg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function cr(e){return e.split("-")[1]}var jg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wg(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:ar(n*s)/s||0,y:ar(r*s)/s||0}}function tl(e){var t,n=e.popper,r=e.popperRect,s=e.placement,o=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=a.x,m=p===void 0?0:p,O=a.y,T=O===void 0?0:O,x=typeof f=="function"?f({x:m,y:T}):{x:m,y:T};m=x.x,T=x.y;var P=a.hasOwnProperty("x"),V=a.hasOwnProperty("y"),H=Je,M=Qe,b=window;if(d){var y=Xr(n),N="clientHeight",A="clientWidth";if(y===ot(n)&&(y=fn(n),Kt(y).position!=="static"&&l==="absolute"&&(N="scrollHeight",A="scrollWidth")),y=y,s===Qe||(s===Je||s===it)&&o===or){M=st;var C=h&&y===b&&b.visualViewport?b.visualViewport.height:y[N];T-=C-r.height,T*=c?1:-1}if(s===Je||(s===Qe||s===st)&&o===or){H=it;var S=h&&y===b&&b.visualViewport?b.visualViewport.width:y[A];m-=S-r.width,m*=c?1:-1}}var U=Object.assign({position:l},d&&jg),j=f===!0?Wg({x:m,y:T},ot(n)):{x:m,y:T};if(m=j.x,T=j.y,c){var te;return Object.assign({},U,(te={},te[M]=V?"0":"",te[H]=P?"0":"",te.transform=(b.devicePixelRatio||1)<=1?"translate("+m+"px, "+T+"px)":"translate3d("+m+"px, "+T+"px, 0)",te))}return Object.assign({},U,(t={},t[M]=V?T+"px":"",t[H]=P?m+"px":"",t.transform="",t))}function Kg(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:Lt(t.placement),variation:cr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,tl(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,tl(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Io={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Kg,data:{}};var gs={passive:!0};function Ug(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,o=s===void 0?!0:s,a=r.resize,l=a===void 0?!0:a,c=ot(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",n.update,gs)}),l&&c.addEventListener("resize",n.update,gs),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",n.update,gs)}),l&&c.removeEventListener("resize",n.update,gs)}}const Do={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ug,data:{}};var Gg={left:"right",right:"left",bottom:"top",top:"bottom"};function Ss(e){return e.replace(/left|right|bottom|top/g,function(t){return Gg[t]})}var qg={start:"end",end:"start"};function nl(e){return e.replace(/start|end/g,function(t){return qg[t]})}function Lo(e){var t=ot(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Po(e){return lr(fn(e)).left+Lo(e).scrollLeft}function Yg(e,t){var n=ot(e),r=fn(e),s=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){o=s.width,a=s.height;var d=kc();(d||!d&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:o,height:a,x:l+Po(e),y:c}}function zg(e){var t,n=fn(e),r=Lo(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=On(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=On(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),l=-r.scrollLeft+Po(e),c=-r.scrollTop;return Kt(s||n).direction==="rtl"&&(l+=On(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function $o(e){var t=Kt(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Wc(e){return["html","body","#document"].indexOf(Pt(e))>=0?e.ownerDocument.body:ht(e)&&$o(e)?e:Wc(qs(e))}function Lr(e,t){var n;t===void 0&&(t=[]);var r=Wc(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=ot(r),a=s?[o].concat(o.visualViewport||[],$o(r)?r:[]):r,l=t.concat(a);return s?l:l.concat(Lr(qs(a)))}function eo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Xg(e,t){var n=lr(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 rl(e,t,n){return t===So?eo(Yg(e,n)):Pn(t)?Xg(t,n):eo(zg(fn(e)))}function Qg(e){var t=Lr(qs(e)),n=["absolute","fixed"].indexOf(Kt(e).position)>=0,r=n&&ht(e)?Xr(e):e;return Pn(r)?t.filter(function(s){return Pn(s)&&Vc(s,r)&&Pt(s)!=="body"}):[]}function Jg(e,t,n,r){var s=t==="clippingParents"?Qg(e):[].concat(t),o=[].concat(s,[n]),a=o[0],l=o.reduce(function(c,d){var f=rl(e,d,r);return c.top=On(f.top,c.top),c.right=Ds(f.right,c.right),c.bottom=Ds(f.bottom,c.bottom),c.left=On(f.left,c.left),c},rl(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Kc(e){var t=e.reference,n=e.element,r=e.placement,s=r?Lt(r):null,o=r?cr(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(s){case Qe:c={x:a,y:t.y-n.height};break;case st:c={x:a,y:t.y+t.height};break;case it:c={x:t.x+t.width,y:l};break;case Je:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var d=s?Ro(s):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case Ln:c[d]=c[d]-(t[f]/2-n[f]/2);break;case or:c[d]=c[d]+(t[f]/2-n[f]/2);break}}return c}function ur(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?Sc:l,d=n.rootBoundary,f=d===void 0?So:d,h=n.elementContext,p=h===void 0?Xn:h,m=n.altBoundary,O=m===void 0?!1:m,T=n.padding,x=T===void 0?0:T,P=Hc(typeof x!="number"?x:Bc(x,vr)),V=p===Xn?wc:Xn,H=e.rects.popper,M=e.elements[O?V:p],b=Jg(Pn(M)?M:M.contextElement||fn(e.elements.popper),c,f,a),y=lr(e.elements.reference),N=Kc({reference:y,element:H,placement:s}),A=eo(Object.assign({},H,N)),C=p===Xn?A:y,S={top:b.top-C.top+P.top,bottom:C.bottom-b.bottom+P.bottom,left:b.left-C.left+P.left,right:C.right-b.right+P.right},U=e.modifiersData.offset;if(p===Xn&&U){var j=U[s];Object.keys(S).forEach(function(te){var he=[it,st].indexOf(te)>=0?1:-1,Ee=[Qe,st].indexOf(te)>=0?"y":"x";S[te]+=j[Ee]*he})}return S}function Zg(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?wo:c,f=cr(r),h=f?l?Ji:Ji.filter(function(O){return cr(O)===f}):vr,p=h.filter(function(O){return d.indexOf(O)>=0});p.length===0&&(p=h);var m=p.reduce(function(O,T){return O[T]=ur(e,{placement:T,boundary:s,rootBoundary:o,padding:a})[Lt(T)],O},{});return Object.keys(m).sort(function(O,T){return m[O]-m[T]})}function em(e){if(Lt(e)===Gs)return[];var t=Ss(e);return[nl(e),t,nl(t)]}function tm(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,d=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,m=n.flipVariations,O=m===void 0?!0:m,T=n.allowedAutoPlacements,x=t.options.placement,P=Lt(x),V=P===x,H=c||(V||!O?[Ss(x)]:em(x)),M=[x].concat(H).reduce(function(de,me){return de.concat(Lt(me)===Gs?Zg(t,{placement:me,boundary:f,rootBoundary:h,padding:d,flipVariations:O,allowedAutoPlacements:T}):me)},[]),b=t.rects.reference,y=t.rects.popper,N=new Map,A=!0,C=M[0],S=0;S=0,Ee=he?"width":"height",ie=ur(t,{placement:U,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),I=he?te?it:Je:te?st:Qe;b[Ee]>y[Ee]&&(I=Ss(I));var K=Ss(I),G=[];if(o&&G.push(ie[j]<=0),l&&G.push(ie[I]<=0,ie[K]<=0),G.every(function(de){return de})){C=U,A=!1;break}N.set(U,G)}if(A)for(var X=O?3:1,re=function(me){var ye=M.find(function(L){var Q=N.get(L);if(Q)return Q.slice(0,me).every(function(Z){return Z})});if(ye)return C=ye,"break"},ne=X;ne>0;ne--){var se=re(ne);if(se==="break")break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}}const Uc={name:"flip",enabled:!0,phase:"main",fn:tm,requiresIfExists:["offset"],data:{_skip:!1}};function sl(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 il(e){return[Qe,it,st,Je].some(function(t){return e[t]>=0})}function nm(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,a=ur(t,{elementContext:"reference"}),l=ur(t,{altBoundary:!0}),c=sl(a,r),d=sl(l,s,o),f=il(c),h=il(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const Gc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:nm};function rm(e,t,n){var r=Lt(e),s=[Je,Qe].indexOf(r)>=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)*s,[Je,it].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function sm(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,a=wo.reduce(function(f,h){return f[h]=rm(h,t.rects,o),f},{}),l=a[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=a}const qc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:sm};function im(e){var t=e.state,n=e.name;t.modifiersData[n]=Kc({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Mo={name:"popperOffsets",enabled:!0,phase:"read",fn:im,data:{}};function om(e){return e==="x"?"y":"x"}function am(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,m=p===void 0?!0:p,O=n.tetherOffset,T=O===void 0?0:O,x=ur(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),P=Lt(t.placement),V=cr(t.placement),H=!V,M=Ro(P),b=om(M),y=t.modifiersData.popperOffsets,N=t.rects.reference,A=t.rects.popper,C=typeof T=="function"?T(Object.assign({},t.rects,{placement:t.placement})):T,S=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(y){if(o){var te,he=M==="y"?Qe:Je,Ee=M==="y"?st:it,ie=M==="y"?"height":"width",I=y[M],K=I+x[he],G=I-x[Ee],X=m?-A[ie]/2:0,re=V===Ln?N[ie]:A[ie],ne=V===Ln?-A[ie]:-N[ie],se=t.elements.arrow,de=m&&se?xo(se):{width:0,height:0},me=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Fc(),ye=me[he],L=me[Ee],Q=Dr(0,N[ie],de[ie]),Z=H?N[ie]/2-X-Q-ye-S.mainAxis:re-Q-ye-S.mainAxis,oe=H?-N[ie]/2+X+Q+L+S.mainAxis:ne+Q+L+S.mainAxis,D=t.elements.arrow&&Xr(t.elements.arrow),g=D?M==="y"?D.clientTop||0:D.clientLeft||0:0,E=(te=U?.[M])!=null?te:0,w=I+Z-E-g,$=I+oe-E,B=Dr(m?Ds(K,w):K,I,m?On(G,$):G);y[M]=B,j[M]=B-I}if(l){var F,q=M==="x"?Qe:Je,z=M==="x"?st:it,R=y[b],W=b==="y"?"height":"width",ce=R+x[q],ee=R-x[z],ae=[Qe,Je].indexOf(P)!==-1,ue=(F=U?.[b])!=null?F:0,pe=ae?ce:R-N[W]-A[W]-ue+S.altAxis,be=ae?R+N[W]+A[W]-ue-S.altAxis:ee,_e=m&&ae?Vg(pe,R,be):Dr(m?pe:ce,R,m?be:ee);y[b]=_e,j[b]=_e-R}t.modifiersData[r]=j}}const Yc={name:"preventOverflow",enabled:!0,phase:"main",fn:am,requiresIfExists:["offset"]};function lm(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function cm(e){return e===ot(e)||!ht(e)?Lo(e):lm(e)}function um(e){var t=e.getBoundingClientRect(),n=ar(t.width)/e.offsetWidth||1,r=ar(t.height)/e.offsetHeight||1;return n!==1||r!==1}function fm(e,t,n){n===void 0&&(n=!1);var r=ht(t),s=ht(t)&&um(t),o=fn(t),a=lr(e,s,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Pt(t)!=="body"||$o(o))&&(l=cm(t)),ht(t)?(c=lr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Po(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function dm(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function s(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&&s(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),r}function hm(e){var t=dm(e);return Mc.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function pm(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function gm(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ol={placement:"bottom",modifiers:[],strategy:"absolute"};function al(){for(var e=arguments.length,t=new Array(e),n=0;n_[u]})}}return i.default=_,Object.freeze(i)}const s=r(n),o=new Map,a={set(_,i,u){o.has(_)||o.set(_,new Map);const v=o.get(_);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(_,i){return o.has(_)&&o.get(_).get(i)||null},remove(_,i){if(!o.has(_))return;const u=o.get(_);u.delete(i),u.size===0&&o.delete(_)}},l=1e6,c=1e3,d="transitionend",f=_=>(_&&window.CSS&&window.CSS.escape&&(_=_.replace(/#([^\s"#']+)/g,(i,u)=>`#${CSS.escape(u)}`)),_),h=_=>_==null?`${_}`:Object.prototype.toString.call(_).match(/\s([a-z]+)/i)[1].toLowerCase(),p=_=>{do _+=Math.floor(Math.random()*l);while(document.getElementById(_));return _},m=_=>{if(!_)return 0;let{transitionDuration:i,transitionDelay:u}=window.getComputedStyle(_);const v=Number.parseFloat(i),k=Number.parseFloat(u);return!v&&!k?0:(i=i.split(",")[0],u=u.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(u))*c)},O=_=>{_.dispatchEvent(new Event(d))},T=_=>!_||typeof _!="object"?!1:(typeof _.jquery<"u"&&(_=_[0]),typeof _.nodeType<"u"),x=_=>T(_)?_.jquery?_[0]:_:typeof _=="string"&&_.length>0?document.querySelector(f(_)):null,P=_=>{if(!T(_)||_.getClientRects().length===0)return!1;const i=getComputedStyle(_).getPropertyValue("visibility")==="visible",u=_.closest("details:not([open])");if(!u)return i;if(u!==_){const v=_.closest("summary");if(v&&v.parentNode!==u||v===null)return!1}return i},V=_=>!_||_.nodeType!==Node.ELEMENT_NODE||_.classList.contains("disabled")?!0:typeof _.disabled<"u"?_.disabled:_.hasAttribute("disabled")&&_.getAttribute("disabled")!=="false",H=_=>{if(!document.documentElement.attachShadow)return null;if(typeof _.getRootNode=="function"){const i=_.getRootNode();return i instanceof ShadowRoot?i:null}return _ instanceof ShadowRoot?_:_.parentNode?H(_.parentNode):null},M=()=>{},b=_=>{_.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,N=[],A=_=>{document.readyState==="loading"?(N.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of N)i()}),N.push(_)):_()},C=()=>document.documentElement.dir==="rtl",S=_=>{A(()=>{const i=y();if(i){const u=_.NAME,v=i.fn[u];i.fn[u]=_.jQueryInterface,i.fn[u].Constructor=_,i.fn[u].noConflict=()=>(i.fn[u]=v,_.jQueryInterface)}})},U=(_,i=[],u=_)=>typeof _=="function"?_.call(...i):u,j=(_,i,u=!0)=>{if(!u){U(_);return}const k=m(i)+5;let J=!1;const Y=({target:ge})=>{ge===i&&(J=!0,i.removeEventListener(d,Y),U(_))};i.addEventListener(d,Y),setTimeout(()=>{J||O(i)},k)},te=(_,i,u,v)=>{const k=_.length;let J=_.indexOf(i);return J===-1?!u&&v?_[k-1]:_[0]:(J+=u?1:-1,v&&(J=(J+k)%k),_[Math.max(0,Math.min(J,k-1))])},he=/[^.]*(?=\..*)\.|.*/,Ee=/\..*/,ie=/::\d+$/,I={};let K=1;const G={mouseenter:"mouseover",mouseleave:"mouseout"},X=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 re(_,i){return i&&`${i}::${K++}`||_.uidEvent||K++}function ne(_){const i=re(_);return _.uidEvent=i,I[i]=I[i]||{},I[i]}function se(_,i){return function u(v){return g(v,{delegateTarget:_}),u.oneOff&&D.off(_,v.type,i),i.apply(_,[v])}}function de(_,i,u){return function v(k){const J=_.querySelectorAll(i);for(let{target:Y}=k;Y&&Y!==this;Y=Y.parentNode)for(const ge of J)if(ge===Y)return g(k,{delegateTarget:Y}),v.oneOff&&D.off(_,k.type,i,u),u.apply(Y,[k])}}function me(_,i,u=null){return Object.values(_).find(v=>v.callable===i&&v.delegationSelector===u)}function ye(_,i,u){const v=typeof i=="string",k=v?u:i||u;let J=oe(_);return X.has(J)||(J=_),[v,k,J]}function L(_,i,u,v,k){if(typeof i!="string"||!_)return;let[J,Y,ge]=ye(i,u,v);i in G&&(Y=(Dg=>function(qn){if(!qn.relatedTarget||qn.relatedTarget!==qn.delegateTarget&&!qn.delegateTarget.contains(qn.relatedTarget))return Dg.call(this,qn)})(Y));const Ze=ne(_),ut=Ze[ge]||(Ze[ge]={}),Me=me(ut,Y,J?u:null);if(Me){Me.oneOff=Me.oneOff&&k;return}const Ot=re(Y,i.replace(he,"")),Et=J?de(_,u,Y):se(_,Y);Et.delegationSelector=J?u:null,Et.callable=Y,Et.oneOff=k,Et.uidEvent=Ot,ut[Ot]=Et,_.addEventListener(ge,Et,J)}function Q(_,i,u,v,k){const J=me(i[u],v,k);J&&(_.removeEventListener(u,J,!!k),delete i[u][J.uidEvent])}function Z(_,i,u,v){const k=i[u]||{};for(const[J,Y]of Object.entries(k))J.includes(v)&&Q(_,i,u,Y.callable,Y.delegationSelector)}function oe(_){return _=_.replace(Ee,""),G[_]||_}const D={on(_,i,u,v){L(_,i,u,v,!1)},one(_,i,u,v){L(_,i,u,v,!0)},off(_,i,u,v){if(typeof i!="string"||!_)return;const[k,J,Y]=ye(i,u,v),ge=Y!==i,Ze=ne(_),ut=Ze[Y]||{},Me=i.startsWith(".");if(typeof J<"u"){if(!Object.keys(ut).length)return;Q(_,Ze,Y,J,k?u:null);return}if(Me)for(const Ot of Object.keys(Ze))Z(_,Ze,Ot,i.slice(1));for(const[Ot,Et]of Object.entries(ut)){const ps=Ot.replace(ie,"");(!ge||i.includes(ps))&&Q(_,Ze,Y,Et.callable,Et.delegationSelector)}},trigger(_,i,u){if(typeof i!="string"||!_)return null;const v=y(),k=oe(i),J=i!==k;let Y=null,ge=!0,Ze=!0,ut=!1;J&&v&&(Y=v.Event(i,u),v(_).trigger(Y),ge=!Y.isPropagationStopped(),Ze=!Y.isImmediatePropagationStopped(),ut=Y.isDefaultPrevented());const Me=g(new Event(i,{bubbles:ge,cancelable:!0}),u);return ut&&Me.preventDefault(),Ze&&_.dispatchEvent(Me),Me.defaultPrevented&&Y&&Y.preventDefault(),Me}};function g(_,i={}){for(const[u,v]of Object.entries(i))try{_[u]=v}catch{Object.defineProperty(_,u,{configurable:!0,get(){return v}})}return _}function E(_){if(_==="true")return!0;if(_==="false")return!1;if(_===Number(_).toString())return Number(_);if(_===""||_==="null")return null;if(typeof _!="string")return _;try{return JSON.parse(decodeURIComponent(_))}catch{return _}}function w(_){return _.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const $={setDataAttribute(_,i,u){_.setAttribute(`data-bs-${w(i)}`,u)},removeDataAttribute(_,i){_.removeAttribute(`data-bs-${w(i)}`)},getDataAttributes(_){if(!_)return{};const i={},u=Object.keys(_.dataset).filter(v=>v.startsWith("bs")&&!v.startsWith("bsConfig"));for(const v of u){let k=v.replace(/^bs/,"");k=k.charAt(0).toLowerCase()+k.slice(1),i[k]=E(_.dataset[v])}return i},getDataAttribute(_,i){return E(_.getAttribute(`data-bs-${w(i)}`))}};class B{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=T(u)?$.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof v=="object"?v:{},...T(u)?$.getDataAttributes(u):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,u=this.constructor.DefaultType){for(const[v,k]of Object.entries(u)){const J=i[v],Y=T(J)?"element":h(J);if(!new RegExp(k).test(Y))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${v}" provided type "${Y}" but expected type "${k}".`)}}}const F="5.3.8";class q extends B{constructor(i,u){super(),i=x(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),D.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,u,v=!0){j(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(x(i),this.DATA_KEY)}static getOrCreateInstance(i,u={}){return this.getInstance(i)||new this(i,typeof u=="object"?u:null)}static get VERSION(){return F}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 z=_=>{let i=_.getAttribute("data-bs-target");if(!i||i==="#"){let u=_.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},R={find(_,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,_))},findOne(_,i=document.documentElement){return Element.prototype.querySelector.call(i,_)},children(_,i){return[].concat(..._.children).filter(u=>u.matches(i))},parents(_,i){const u=[];let v=_.parentNode.closest(i);for(;v;)u.push(v),v=v.parentNode.closest(i);return u},prev(_,i){let u=_.previousElementSibling;for(;u;){if(u.matches(i))return[u];u=u.previousElementSibling}return[]},next(_,i){let u=_.nextElementSibling;for(;u;){if(u.matches(i))return[u];u=u.nextElementSibling}return[]},focusableChildren(_){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(i,_).filter(u=>!V(u)&&P(u))},getSelectorFromElement(_){const i=z(_);return i&&R.findOne(i)?i:null},getElementFromSelector(_){const i=z(_);return i?R.findOne(i):null},getMultipleElementsFromSelector(_){const i=z(_);return i?R.find(i):[]}},W=(_,i="hide")=>{const u=`click.dismiss${_.EVENT_KEY}`,v=_.NAME;D.on(document,u,`[data-bs-dismiss="${v}"]`,function(k){if(["A","AREA"].includes(this.tagName)&&k.preventDefault(),V(this))return;const J=R.getElementFromSelector(this)||this.closest(`.${v}`);_.getOrCreateInstance(J)[i]()})},ce="alert",ae=".bs.alert",ue=`close${ae}`,pe=`closed${ae}`,be="fade",_e="show";class Ie extends q{static get NAME(){return ce}close(){if(D.trigger(this._element,ue).defaultPrevented)return;this._element.classList.remove(_e);const u=this._element.classList.contains(be);this._queueCallback(()=>this._destroyElement(),this._element,u)}_destroyElement(){this._element.remove(),D.trigger(this._element,pe),this.dispose()}static jQueryInterface(i){return this.each(function(){const u=Ie.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)}})}}W(Ie,"close"),S(Ie);const je="button",at=".bs.button",pn=".data-api",ts="active",We='[data-bs-toggle="button"]',lt=`click${at}${pn}`;class Yt extends q{static get NAME(){return je}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(ts))}static jQueryInterface(i){return this.each(function(){const u=Yt.getOrCreateInstance(this);i==="toggle"&&u[i]()})}}D.on(document,lt,We,_=>{_.preventDefault();const i=_.target.closest(We);Yt.getOrCreateInstance(i).toggle()}),S(Yt);const ns="swipe",Fn=".bs.swipe",sd=`touchstart${Fn}`,id=`touchmove${Fn}`,od=`touchend${Fn}`,ad=`pointerdown${Fn}`,ld=`pointerup${Fn}`,cd="touch",ud="pen",fd="pointer-event",dd=40,hd={endCallback:null,leftCallback:null,rightCallback:null},pd={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class rs extends B{constructor(i,u){super(),this._element=i,!(!i||!rs.isSupported())&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return hd}static get DefaultType(){return pd}static get NAME(){return ns}dispose(){D.off(this._element,Fn)}_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(),U(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<=dd)return;const u=i/this._deltaX;this._deltaX=0,u&&U(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(D.on(this._element,ad,i=>this._start(i)),D.on(this._element,ld,i=>this._end(i)),this._element.classList.add(fd)):(D.on(this._element,sd,i=>this._start(i)),D.on(this._element,id,i=>this._move(i)),D.on(this._element,od,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===ud||i.pointerType===cd)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const gd="carousel",zt=".bs.carousel",ha=".data-api",md="ArrowLeft",_d="ArrowRight",vd=500,Ar="next",Hn="prev",Bn="left",ss="right",Ed=`slide${zt}`,_i=`slid${zt}`,yd=`keydown${zt}`,bd=`mouseenter${zt}`,Ad=`mouseleave${zt}`,Td=`dragstart${zt}`,Cd=`load${zt}${ha}`,Sd=`click${zt}${ha}`,pa="carousel",is="active",wd="slide",Od="carousel-item-end",Nd="carousel-item-start",xd="carousel-item-next",Rd="carousel-item-prev",ga=".active",ma=".carousel-item",Id=ga+ma,Dd=".carousel-item img",Ld=".carousel-indicators",Pd="[data-bs-slide], [data-bs-slide-to]",$d='[data-bs-ride="carousel"]',Md={[md]:ss,[_d]:Bn},kd={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Vd={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class jn extends q{constructor(i,u){super(i,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=R.findOne(Ld,this._element),this._addEventListeners(),this._config.ride===pa&&this.cycle()}static get Default(){return kd}static get DefaultType(){return Vd}static get NAME(){return gd}next(){this._slide(Ar)}nextWhenVisible(){!document.hidden&&P(this._element)&&this.next()}prev(){this._slide(Hn)}pause(){this._isSliding&&O(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){D.one(this._element,_i,()=>this.cycle());return}this.cycle()}}to(i){const u=this._getItems();if(i>u.length-1||i<0)return;if(this._isSliding){D.one(this._element,_i,()=>this.to(i));return}const v=this._getItemIndex(this._getActive());if(v===i)return;const k=i>v?Ar:Hn;this._slide(k,u[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&D.on(this._element,yd,i=>this._keydown(i)),this._config.pause==="hover"&&(D.on(this._element,bd,()=>this.pause()),D.on(this._element,Ad,()=>this._maybeEnableCycle())),this._config.touch&&rs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const v of R.find(Dd,this._element))D.on(v,Td,k=>k.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(Bn)),rightCallback:()=>this._slide(this._directionToOrder(ss)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),vd+this._config.interval))}};this._swipeHelper=new rs(this._element,u)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const u=Md[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=R.findOne(ga,this._indicatorsElement);u.classList.remove(is),u.removeAttribute("aria-current");const v=R.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);v&&(v.classList.add(is),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(),k=i===Ar,J=u||te(this._getItems(),v,k,this._config.wrap);if(J===v)return;const Y=this._getItemIndex(J),ge=ps=>D.trigger(this._element,ps,{relatedTarget:J,direction:this._orderToDirection(i),from:this._getItemIndex(v),to:Y});if(ge(Ed).defaultPrevented||!v||!J)return;const ut=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Y),this._activeElement=J;const Me=k?Nd:Od,Ot=k?xd:Rd;J.classList.add(Ot),b(J),v.classList.add(Me),J.classList.add(Me);const Et=()=>{J.classList.remove(Me,Ot),J.classList.add(is),v.classList.remove(is,Ot,Me),this._isSliding=!1,ge(_i)};this._queueCallback(Et,v,this._isAnimated()),ut&&this.cycle()}_isAnimated(){return this._element.classList.contains(wd)}_getActive(){return R.findOne(Id,this._element)}_getItems(){return R.find(ma,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return C()?i===Bn?Hn:Ar:i===Bn?Ar:Hn}_orderToDirection(i){return C()?i===Hn?Bn:ss:i===Hn?ss:Bn}static jQueryInterface(i){return this.each(function(){const u=jn.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]()}})}}D.on(document,Sd,Pd,function(_){const i=R.getElementFromSelector(this);if(!i||!i.classList.contains(pa))return;_.preventDefault();const u=jn.getOrCreateInstance(i),v=this.getAttribute("data-bs-slide-to");if(v){u.to(v),u._maybeEnableCycle();return}if($.getDataAttribute(this,"slide")==="next"){u.next(),u._maybeEnableCycle();return}u.prev(),u._maybeEnableCycle()}),D.on(window,Cd,()=>{const _=R.find($d);for(const i of _)jn.getOrCreateInstance(i)}),S(jn);const Fd="collapse",Tr=".bs.collapse",Hd=".data-api",Bd=`show${Tr}`,jd=`shown${Tr}`,Wd=`hide${Tr}`,Kd=`hidden${Tr}`,Ud=`click${Tr}${Hd}`,vi="show",Wn="collapse",os="collapsing",Gd="collapsed",qd=`:scope .${Wn} .${Wn}`,Yd="collapse-horizontal",zd="width",Xd="height",Qd=".collapse.show, .collapse.collapsing",Ei='[data-bs-toggle="collapse"]',Jd={parent:null,toggle:!0},Zd={parent:"(null|element)",toggle:"boolean"};class Kn extends q{constructor(i,u){super(i,u),this._isTransitioning=!1,this._triggerArray=[];const v=R.find(Ei);for(const k of v){const J=R.getSelectorFromElement(k),Y=R.find(J).filter(ge=>ge===this._element);J!==null&&Y.length&&this._triggerArray.push(k)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Jd}static get DefaultType(){return Zd}static get NAME(){return Fd}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Qd).filter(ge=>ge!==this._element).map(ge=>Kn.getOrCreateInstance(ge,{toggle:!1}))),i.length&&i[0]._isTransitioning||D.trigger(this._element,Bd).defaultPrevented)return;for(const ge of i)ge.hide();const v=this._getDimension();this._element.classList.remove(Wn),this._element.classList.add(os),this._element.style[v]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const k=()=>{this._isTransitioning=!1,this._element.classList.remove(os),this._element.classList.add(Wn,vi),this._element.style[v]="",D.trigger(this._element,jd)},Y=`scroll${v[0].toUpperCase()+v.slice(1)}`;this._queueCallback(k,this._element,!0),this._element.style[v]=`${this._element[Y]}px`}hide(){if(this._isTransitioning||!this._isShown()||D.trigger(this._element,Wd).defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,b(this._element),this._element.classList.add(os),this._element.classList.remove(Wn,vi);for(const k of this._triggerArray){const J=R.getElementFromSelector(k);J&&!this._isShown(J)&&this._addAriaAndCollapsedClass([k],!1)}this._isTransitioning=!0;const v=()=>{this._isTransitioning=!1,this._element.classList.remove(os),this._element.classList.add(Wn),D.trigger(this._element,Kd)};this._element.style[u]="",this._queueCallback(v,this._element,!0)}_isShown(i=this._element){return i.classList.contains(vi)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=x(i.parent),i}_getDimension(){return this._element.classList.contains(Yd)?zd:Xd}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(Ei);for(const u of i){const v=R.getElementFromSelector(u);v&&this._addAriaAndCollapsedClass([u],this._isShown(v))}}_getFirstLevelChildren(i){const u=R.find(qd,this._config.parent);return R.find(i,this._config.parent).filter(v=>!u.includes(v))}_addAriaAndCollapsedClass(i,u){if(i.length)for(const v of i)v.classList.toggle(Gd,!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]()}})}}D.on(document,Ud,Ei,function(_){(_.target.tagName==="A"||_.delegateTarget&&_.delegateTarget.tagName==="A")&&_.preventDefault();for(const i of R.getMultipleElementsFromSelector(this))Kn.getOrCreateInstance(i,{toggle:!1}).toggle()}),S(Kn);const _a="dropdown",gn=".bs.dropdown",yi=".data-api",eh="Escape",va="Tab",th="ArrowUp",Ea="ArrowDown",nh=2,rh=`hide${gn}`,sh=`hidden${gn}`,ih=`show${gn}`,oh=`shown${gn}`,ya=`click${gn}${yi}`,ba=`keydown${gn}${yi}`,ah=`keyup${gn}${yi}`,Un="show",lh="dropup",ch="dropend",uh="dropstart",fh="dropup-center",dh="dropdown-center",mn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',hh=`${mn}.${Un}`,as=".dropdown-menu",ph=".navbar",gh=".navbar-nav",mh=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",_h=C()?"top-end":"top-start",vh=C()?"top-start":"top-end",Eh=C()?"bottom-end":"bottom-start",yh=C()?"bottom-start":"bottom-end",bh=C()?"left-start":"right-start",Ah=C()?"right-start":"left-start",Th="top",Ch="bottom",Sh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},wh={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class vt extends q{constructor(i,u){super(i,u),this._popper=null,this._parent=this._element.parentNode,this._menu=R.next(this._element,as)[0]||R.prev(this._element,as)[0]||R.findOne(as,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Sh}static get DefaultType(){return wh}static get NAME(){return _a}toggle(){return this._isShown()?this.hide():this.show()}show(){if(V(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!D.trigger(this._element,ih,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(gh))for(const v of[].concat(...document.body.children))D.on(v,"mouseover",M);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Un),this._element.classList.add(Un),D.trigger(this._element,oh,i)}}hide(){if(V(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(!D.trigger(this._element,rh,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))D.off(v,"mouseover",M);this._popper&&this._popper.destroy(),this._menu.classList.remove(Un),this._element.classList.remove(Un),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),D.trigger(this._element,sh,i)}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!T(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${_a.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof s>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let i=this._element;this._config.reference==="parent"?i=this._parent:T(this._config.reference)?i=x(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const u=this._getPopperConfig();this._popper=s.createPopper(i,this._menu,u)}_isShown(){return this._menu.classList.contains(Un)}_getPlacement(){const i=this._parent;if(i.classList.contains(ch))return bh;if(i.classList.contains(uh))return Ah;if(i.classList.contains(fh))return Th;if(i.classList.contains(dh))return Ch;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(lh)?u?vh:_h:u?yh:Eh}_detectNavbar(){return this._element.closest(ph)!==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")&&($.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...U(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:u}){const v=R.find(mh,this._menu).filter(k=>P(k));v.length&&te(v,u,i===Ea,!v.includes(u)).focus()}static jQueryInterface(i){return this.each(function(){const u=vt.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===nh||i.type==="keyup"&&i.key!==va)return;const u=R.find(hh);for(const v of u){const k=vt.getInstance(v);if(!k||k._config.autoClose===!1)continue;const J=i.composedPath(),Y=J.includes(k._menu);if(J.includes(k._element)||k._config.autoClose==="inside"&&!Y||k._config.autoClose==="outside"&&Y||k._menu.contains(i.target)&&(i.type==="keyup"&&i.key===va||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const ge={relatedTarget:k._element};i.type==="click"&&(ge.clickEvent=i),k._completeHide(ge)}}static dataApiKeydownHandler(i){const u=/input|textarea/i.test(i.target.tagName),v=i.key===eh,k=[th,Ea].includes(i.key);if(!k&&!v||u&&!v)return;i.preventDefault();const J=this.matches(mn)?this:R.prev(this,mn)[0]||R.next(this,mn)[0]||R.findOne(mn,i.delegateTarget.parentNode),Y=vt.getOrCreateInstance(J);if(k){i.stopPropagation(),Y.show(),Y._selectMenuItem(i);return}Y._isShown()&&(i.stopPropagation(),Y.hide(),J.focus())}}D.on(document,ba,mn,vt.dataApiKeydownHandler),D.on(document,ba,as,vt.dataApiKeydownHandler),D.on(document,ya,vt.clearMenus),D.on(document,ah,vt.clearMenus),D.on(document,ya,mn,function(_){_.preventDefault(),vt.getOrCreateInstance(this).toggle()}),S(vt);const Aa="backdrop",Oh="fade",Ta="show",Ca=`mousedown.bs.${Aa}`,Nh={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},xh={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Sa extends B{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return Nh}static get DefaultType(){return xh}static get NAME(){return Aa}show(i){if(!this._config.isVisible){U(i);return}this._append();const u=this._getElement();this._config.isAnimated&&b(u),u.classList.add(Ta),this._emulateAnimation(()=>{U(i)})}hide(i){if(!this._config.isVisible){U(i);return}this._getElement().classList.remove(Ta),this._emulateAnimation(()=>{this.dispose(),U(i)})}dispose(){this._isAppended&&(D.off(this._element,Ca),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(Oh),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=x(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),D.on(i,Ca,()=>{U(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){j(i,this._getElement(),this._config.isAnimated)}}const Rh="focustrap",ls=".bs.focustrap",Ih=`focusin${ls}`,Dh=`keydown.tab${ls}`,Lh="Tab",Ph="forward",wa="backward",$h={autofocus:!0,trapElement:null},Mh={autofocus:"boolean",trapElement:"element"};class Oa extends B{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return $h}static get DefaultType(){return Mh}static get NAME(){return Rh}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),D.off(document,ls),D.on(document,Ih,i=>this._handleFocusin(i)),D.on(document,Dh,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,D.off(document,ls))}_handleFocusin(i){const{trapElement:u}=this._config;if(i.target===document||i.target===u||u.contains(i.target))return;const v=R.focusableChildren(u);v.length===0?u.focus():this._lastTabNavDirection===wa?v[v.length-1].focus():v[0].focus()}_handleKeydown(i){i.key===Lh&&(this._lastTabNavDirection=i.shiftKey?wa:Ph)}}const Na=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",xa=".sticky-top",cs="padding-right",Ra="margin-right";class bi{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,cs,u=>u+i),this._setElementAttributes(Na,cs,u=>u+i),this._setElementAttributes(xa,Ra,u=>u-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,cs),this._resetElementAttributes(Na,cs),this._resetElementAttributes(xa,Ra)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,u,v){const k=this.getWidth(),J=Y=>{if(Y!==this._element&&window.innerWidth>Y.clientWidth+k)return;this._saveInitialAttribute(Y,u);const ge=window.getComputedStyle(Y).getPropertyValue(u);Y.style.setProperty(u,`${v(Number.parseFloat(ge))}px`)};this._applyManipulationCallback(i,J)}_saveInitialAttribute(i,u){const v=i.style.getPropertyValue(u);v&&$.setDataAttribute(i,u,v)}_resetElementAttributes(i,u){const v=k=>{const J=$.getDataAttribute(k,u);if(J===null){k.style.removeProperty(u);return}$.removeDataAttribute(k,u),k.style.setProperty(u,J)};this._applyManipulationCallback(i,v)}_applyManipulationCallback(i,u){if(T(i)){u(i);return}for(const v of R.find(i,this._element))u(v)}}const kh="modal",ct=".bs.modal",Vh=".data-api",Fh="Escape",Hh=`hide${ct}`,Bh=`hidePrevented${ct}`,Ia=`hidden${ct}`,Da=`show${ct}`,jh=`shown${ct}`,Wh=`resize${ct}`,Kh=`click.dismiss${ct}`,Uh=`mousedown.dismiss${ct}`,Gh=`keydown.dismiss${ct}`,qh=`click${ct}${Vh}`,La="modal-open",Yh="fade",Pa="show",Ai="modal-static",zh=".modal.show",Xh=".modal-dialog",Qh=".modal-body",Jh='[data-bs-toggle="modal"]',Zh={backdrop:!0,focus:!0,keyboard:!0},ep={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class _n extends q{constructor(i,u){super(i,u),this._dialog=R.findOne(Xh,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new bi,this._addEventListeners()}static get Default(){return Zh}static get DefaultType(){return ep}static get NAME(){return kh}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||D.trigger(this._element,Da,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(La),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||D.trigger(this._element,Hh).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Pa),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){D.off(window,ct),D.off(this._dialog,ct),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Sa({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Oa({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=R.findOne(Qh,this._dialog);u&&(u.scrollTop=0),b(this._element),this._element.classList.add(Pa);const v=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,D.trigger(this._element,jh,{relatedTarget:i})};this._queueCallback(v,this._dialog,this._isAnimated())}_addEventListeners(){D.on(this._element,Gh,i=>{if(i.key===Fh){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),D.on(window,Wh,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),D.on(this._element,Uh,i=>{D.one(this._element,Kh,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(La),this._resetAdjustments(),this._scrollBar.reset(),D.trigger(this._element,Ia)})}_isAnimated(){return this._element.classList.contains(Yh)}_triggerBackdropTransition(){if(D.trigger(this._element,Bh).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,v=this._element.style.overflowY;v==="hidden"||this._element.classList.contains(Ai)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(Ai),this._queueCallback(()=>{this._element.classList.remove(Ai),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 k=C()?"paddingLeft":"paddingRight";this._element.style[k]=`${u}px`}if(!v&&i){const k=C()?"paddingRight":"paddingLeft";this._element.style[k]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,u){return this.each(function(){const v=_n.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof v[i]>"u")throw new TypeError(`No method named "${i}"`);v[i](u)}})}}D.on(document,qh,Jh,function(_){const i=R.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&_.preventDefault(),D.one(i,Da,k=>{k.defaultPrevented||D.one(i,Ia,()=>{P(this)&&this.focus()})});const u=R.findOne(zh);u&&_n.getInstance(u).hide(),_n.getOrCreateInstance(i).toggle(this)}),W(_n),S(_n);const tp="offcanvas",$t=".bs.offcanvas",$a=".data-api",np=`load${$t}${$a}`,rp="Escape",Ma="show",ka="showing",Va="hiding",sp="offcanvas-backdrop",Fa=".offcanvas.show",ip=`show${$t}`,op=`shown${$t}`,ap=`hide${$t}`,Ha=`hidePrevented${$t}`,Ba=`hidden${$t}`,lp=`resize${$t}`,cp=`click${$t}${$a}`,up=`keydown.dismiss${$t}`,fp='[data-bs-toggle="offcanvas"]',dp={backdrop:!0,keyboard:!0,scroll:!1},hp={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Mt extends q{constructor(i,u){super(i,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return dp}static get DefaultType(){return hp}static get NAME(){return tp}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||D.trigger(this._element,ip,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new bi().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ka);const v=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ma),this._element.classList.remove(ka),D.trigger(this._element,op,{relatedTarget:i})};this._queueCallback(v,this._element,!0)}hide(){if(!this._isShown||D.trigger(this._element,ap).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Va),this._backdrop.hide();const u=()=>{this._element.classList.remove(Ma,Va),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new bi().reset(),D.trigger(this._element,Ba)};this._queueCallback(u,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){D.trigger(this._element,Ha);return}this.hide()},u=!!this._config.backdrop;return new Sa({className:sp,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?i:null})}_initializeFocusTrap(){return new Oa({trapElement:this._element})}_addEventListeners(){D.on(this._element,up,i=>{if(i.key===rp){if(this._config.keyboard){this.hide();return}D.trigger(this._element,Ha)}})}static jQueryInterface(i){return this.each(function(){const u=Mt.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)}})}}D.on(document,cp,fp,function(_){const i=R.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&_.preventDefault(),V(this))return;D.one(i,Ba,()=>{P(this)&&this.focus()});const u=R.findOne(Fa);u&&u!==i&&Mt.getInstance(u).hide(),Mt.getOrCreateInstance(i).toggle(this)}),D.on(window,np,()=>{for(const _ of R.find(Fa))Mt.getOrCreateInstance(_).show()}),D.on(window,lp,()=>{for(const _ of R.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(_).position!=="fixed"&&Mt.getOrCreateInstance(_).hide()}),W(Mt),S(Mt);const ja={"*":["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:[]},pp=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),gp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,mp=(_,i)=>{const u=_.nodeName.toLowerCase();return i.includes(u)?pp.has(u)?!!gp.test(_.nodeValue):!0:i.filter(v=>v instanceof RegExp).some(v=>v.test(u))};function _p(_,i,u){if(!_.length)return _;if(u&&typeof u=="function")return u(_);const k=new window.DOMParser().parseFromString(_,"text/html"),J=[].concat(...k.body.querySelectorAll("*"));for(const Y of J){const ge=Y.nodeName.toLowerCase();if(!Object.keys(i).includes(ge)){Y.remove();continue}const Ze=[].concat(...Y.attributes),ut=[].concat(i["*"]||[],i[ge]||[]);for(const Me of Ze)mp(Me,ut)||Y.removeAttribute(Me.nodeName)}return k.body.innerHTML}const vp="TemplateFactory",Ep={allowList:ja,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},yp={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},bp={entry:"(string|element|function|null)",selector:"(string|element)"};class Ap extends B{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return Ep}static get DefaultType(){return yp}static get NAME(){return vp}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[k,J]of Object.entries(this._config.content))this._setContent(i,J,k);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},bp)}_setContent(i,u,v){const k=R.findOne(v,i);if(k){if(u=this._resolvePossibleFunction(u),!u){k.remove();return}if(T(u)){this._putElementInTemplate(x(u),k);return}if(this._config.html){k.innerHTML=this._maybeSanitize(u);return}k.textContent=u}}_maybeSanitize(i){return this._config.sanitize?_p(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return U(i,[void 0,this])}_putElementInTemplate(i,u){if(this._config.html){u.innerHTML="",u.append(i);return}u.textContent=i.textContent}}const Tp="tooltip",Cp=new Set(["sanitize","allowList","sanitizeFn"]),Ti="fade",Sp="modal",us="show",wp=".tooltip-inner",Wa=`.${Sp}`,Ka="hide.bs.modal",Cr="hover",Ci="focus",Si="click",Op="manual",Np="hide",xp="hidden",Rp="show",Ip="shown",Dp="inserted",Lp="click",Pp="focusin",$p="focusout",Mp="mouseenter",kp="mouseleave",Vp={AUTO:"auto",TOP:"top",RIGHT:C()?"left":"right",BOTTOM:"bottom",LEFT:C()?"right":"left"},Fp={allowList:ja,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"},Hp={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 vn extends q{constructor(i,u){if(typeof s>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");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 Fp}static get DefaultType(){return Hp}static get NAME(){return Tp}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),D.off(this._element.closest(Wa),Ka,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=D.trigger(this._element,this.constructor.eventName(Rp)),v=(H(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!v)return;this._disposePopper();const k=this._getTipElement();this._element.setAttribute("aria-describedby",k.getAttribute("id"));const{container:J}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(J.append(k),D.trigger(this._element,this.constructor.eventName(Dp))),this._popper=this._createPopper(k),k.classList.add(us),"ontouchstart"in document.documentElement)for(const ge of[].concat(...document.body.children))D.on(ge,"mouseover",M);const Y=()=>{D.trigger(this._element,this.constructor.eventName(Ip)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Y,this.tip,this._isAnimated())}hide(){if(!this._isShown()||D.trigger(this._element,this.constructor.eventName(Np)).defaultPrevented)return;if(this._getTipElement().classList.remove(us),"ontouchstart"in document.documentElement)for(const k of[].concat(...document.body.children))D.off(k,"mouseover",M);this._activeTrigger[Si]=!1,this._activeTrigger[Ci]=!1,this._activeTrigger[Cr]=!1,this._isHovered=null;const v=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),D.trigger(this._element,this.constructor.eventName(xp)))};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(Ti,us),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(Ti),u}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new Ap({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[wp]: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(Ti)}_isShown(){return this.tip&&this.tip.classList.contains(us)}_createPopper(i){const u=U(this._config.placement,[this,i,this._element]),v=Vp[u.toUpperCase()];return s.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 U(i,[this._element,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,...U(this._config.popperConfig,[void 0,u])}}_setListeners(){const i=this._config.trigger.split(" ");for(const u of i)if(u==="click")D.on(this._element,this.constructor.eventName(Lp),this._config.selector,v=>{const k=this._initializeOnDelegatedTarget(v);k._activeTrigger[Si]=!(k._isShown()&&k._activeTrigger[Si]),k.toggle()});else if(u!==Op){const v=u===Cr?this.constructor.eventName(Mp):this.constructor.eventName(Pp),k=u===Cr?this.constructor.eventName(kp):this.constructor.eventName($p);D.on(this._element,v,this._config.selector,J=>{const Y=this._initializeOnDelegatedTarget(J);Y._activeTrigger[J.type==="focusin"?Ci:Cr]=!0,Y._enter()}),D.on(this._element,k,this._config.selector,J=>{const Y=this._initializeOnDelegatedTarget(J);Y._activeTrigger[J.type==="focusout"?Ci:Cr]=Y._element.contains(J.relatedTarget),Y._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},D.on(this._element.closest(Wa),Ka,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=$.getDataAttributes(this._element);for(const v of Object.keys(u))Cp.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:x(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=vn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}S(vn);const Bp="popover",jp=".popover-header",Wp=".popover-body",Kp={...vn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Up={...vn.DefaultType,content:"(null|string|element|function)"};class fs extends vn{static get Default(){return Kp}static get DefaultType(){return Up}static get NAME(){return Bp}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jp]:this._getTitle(),[Wp]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const u=fs.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}S(fs);const Gp="scrollspy",wi=".bs.scrollspy",qp=".data-api",Yp=`activate${wi}`,Ua=`click${wi}`,zp=`load${wi}${qp}`,Xp="dropdown-item",Gn="active",Qp='[data-bs-spy="scroll"]',Oi="[href]",Jp=".nav, .list-group",Ga=".nav-link",Zp=`${Ga}, .nav-item > ${Ga}, .list-group-item`,eg=".dropdown",tg=".dropdown-toggle",ng={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},rg={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Sr extends q{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 ng}static get DefaultType(){return rg}static get NAME(){return Gp}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=x(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&&(D.off(this._config.target,Ua),D.on(this._config.target,Ua,Oi,i=>{const u=this._observableSections.get(i.target.hash);if(u){i.preventDefault();const v=this._rootElement||window,k=u.offsetTop-this._element.offsetTop;if(v.scrollTo){v.scrollTo({top:k,behavior:"smooth"});return}v.scrollTop=k}}))}_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=Y=>this._targetLinks.get(`#${Y.target.id}`),v=Y=>{this._previousScrollData.visibleEntryTop=Y.target.offsetTop,this._process(u(Y))},k=(this._rootElement||document.documentElement).scrollTop,J=k>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=k;for(const Y of i){if(!Y.isIntersecting){this._activeTarget=null,this._clearActiveClass(u(Y));continue}const ge=Y.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(J&&ge){if(v(Y),!k)return;continue}!J&&!ge&&v(Y)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=R.find(Oi,this._config.target);for(const u of i){if(!u.hash||V(u))continue;const v=R.findOne(decodeURI(u.hash),this._element);P(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(Gn),this._activateParents(i),D.trigger(this._element,Yp,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(Xp)){R.findOne(tg,i.closest(eg)).classList.add(Gn);return}for(const u of R.parents(i,Jp))for(const v of R.prev(u,Zp))v.classList.add(Gn)}_clearActiveClass(i){i.classList.remove(Gn);const u=R.find(`${Oi}.${Gn}`,i);for(const v of u)v.classList.remove(Gn)}static jQueryInterface(i){return this.each(function(){const u=Sr.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]()}})}}D.on(window,zp,()=>{for(const _ of R.find(Qp))Sr.getOrCreateInstance(_)}),S(Sr);const sg="tab",En=".bs.tab",ig=`hide${En}`,og=`hidden${En}`,ag=`show${En}`,lg=`shown${En}`,cg=`click${En}`,ug=`keydown${En}`,fg=`load${En}`,dg="ArrowLeft",qa="ArrowRight",hg="ArrowUp",Ya="ArrowDown",Ni="Home",za="End",yn="active",Xa="fade",xi="show",pg="dropdown",Qa=".dropdown-toggle",gg=".dropdown-menu",Ri=`:not(${Qa})`,mg='.list-group, .nav, [role="tablist"]',_g=".nav-item, .list-group-item",vg=`.nav-link${Ri}, .list-group-item${Ri}, [role="tab"]${Ri}`,Ja='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ii=`${vg}, ${Ja}`,Eg=`.${yn}[data-bs-toggle="tab"], .${yn}[data-bs-toggle="pill"], .${yn}[data-bs-toggle="list"]`;class bn extends q{constructor(i){super(i),this._parent=this._element.closest(mg),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),D.on(this._element,ug,u=>this._keydown(u)))}static get NAME(){return sg}show(){const i=this._element;if(this._elemIsActive(i))return;const u=this._getActiveElem(),v=u?D.trigger(u,ig,{relatedTarget:i}):null;D.trigger(i,ag,{relatedTarget:u}).defaultPrevented||v&&v.defaultPrevented||(this._deactivate(u,i),this._activate(i,u))}_activate(i,u){if(!i)return;i.classList.add(yn),this._activate(R.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(xi);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),D.trigger(i,lg,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Xa))}_deactivate(i,u){if(!i)return;i.classList.remove(yn),i.blur(),this._deactivate(R.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(xi);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),D.trigger(i,og,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Xa))}_keydown(i){if(![dg,qa,hg,Ya,Ni,za].includes(i.key))return;i.stopPropagation(),i.preventDefault();const u=this._getChildren().filter(k=>!V(k));let v;if([Ni,za].includes(i.key))v=u[i.key===Ni?0:u.length-1];else{const k=[qa,Ya].includes(i.key);v=te(u,i.target,k,!0)}v&&(v.focus({preventScroll:!0}),bn.getOrCreateInstance(v).show())}_getChildren(){return R.find(Ii,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=R.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(pg))return;const k=(J,Y)=>{const ge=R.findOne(J,v);ge&&ge.classList.toggle(Y,u)};k(Qa,yn),k(gg,xi),v.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(i,u,v){i.hasAttribute(u)||i.setAttribute(u,v)}_elemIsActive(i){return i.classList.contains(yn)}_getInnerElement(i){return i.matches(Ii)?i:R.findOne(Ii,i)}_getOuterElement(i){return i.closest(_g)||i}static jQueryInterface(i){return this.each(function(){const u=bn.getOrCreateInstance(this);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}D.on(document,cg,Ja,function(_){["A","AREA"].includes(this.tagName)&&_.preventDefault(),!V(this)&&bn.getOrCreateInstance(this).show()}),D.on(window,fg,()=>{for(const _ of R.find(Eg))bn.getOrCreateInstance(_)}),S(bn);const yg="toast",Xt=".bs.toast",bg=`mouseover${Xt}`,Ag=`mouseout${Xt}`,Tg=`focusin${Xt}`,Cg=`focusout${Xt}`,Sg=`hide${Xt}`,wg=`hidden${Xt}`,Og=`show${Xt}`,Ng=`shown${Xt}`,xg="fade",Za="hide",ds="show",hs="showing",Rg={animation:"boolean",autohide:"boolean",delay:"number"},Ig={animation:!0,autohide:!0,delay:5e3};class wr extends q{constructor(i,u){super(i,u),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ig}static get DefaultType(){return Rg}static get NAME(){return yg}show(){if(D.trigger(this._element,Og).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(xg);const u=()=>{this._element.classList.remove(hs),D.trigger(this._element,Ng),this._maybeScheduleHide()};this._element.classList.remove(Za),b(this._element),this._element.classList.add(ds,hs),this._queueCallback(u,this._element,this._config.animation)}hide(){if(!this.isShown()||D.trigger(this._element,Sg).defaultPrevented)return;const u=()=>{this._element.classList.add(Za),this._element.classList.remove(hs,ds),D.trigger(this._element,wg)};this._element.classList.add(hs),this._queueCallback(u,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ds),super.dispose()}isShown(){return this._element.classList.contains(ds)}_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(){D.on(this._element,bg,i=>this._onInteraction(i,!0)),D.on(this._element,Ag,i=>this._onInteraction(i,!1)),D.on(this._element,Tg,i=>this._onInteraction(i,!0)),D.on(this._element,Cg,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const u=wr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}return W(wr),S(wr),{Alert:Ie,Button:Yt,Carousel:jn,Collapse:Kn,Dropdown:vt,Modal:_n,Offcanvas:Mt,Popover:fs,ScrollSpy:Sr,Tab:bn,Toast:wr,Tooltip:vn}}))})(Cs)),Cs.exports}Cm();function ko(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Se={},tr=[],At=()=>{},zc=()=>!1,zs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vo=e=>e.startsWith("onUpdate:"),$e=Object.assign,Fo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sm=Object.prototype.hasOwnProperty,Te=(e,t)=>Sm.call(e,t),le=Array.isArray,nr=e=>Qr(e)==="[object Map]",Er=e=>Qr(e)==="[object Set]",cl=e=>Qr(e)==="[object Date]",fe=e=>typeof e=="function",Oe=e=>typeof e=="string",Ct=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",Ho=e=>(Ce(e)||fe(e))&&fe(e.then)&&fe(e.catch),Xc=Object.prototype.toString,Qr=e=>Xc.call(e),wm=e=>Qr(e).slice(8,-1),Qc=e=>Qr(e)==="[object Object]",Bo=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pr=ko(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Om=/-\w/g,mt=Xs(e=>e.replace(Om,t=>t.slice(1).toUpperCase())),Nm=/\B([A-Z])/g,dn=Xs(e=>e.replace(Nm,"-$1").toLowerCase()),Qs=Xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Di=Xs(e=>e?`on${Qs(e)}`:""),on=(e,t)=>!Object.is(e,t),ws=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Js=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zc=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let ul;const Zs=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ei(e){if(le(e)){const t={};for(let n=0;n{if(n){const r=n.split(Rm);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ti(e){let t="";if(Oe(e))t=e;else if(le(e))for(let n=0;n$n(n,t))}const tu=e=>!!(e&&e.__v_isRef===!0),Mm=e=>Oe(e)?e:e==null?"":le(e)||Ce(e)&&(e.toString===Xc||!fe(e.toString))?tu(e)?Mm(e.value):JSON.stringify(e,nu,2):String(e),nu=(e,t)=>tu(t)?nu(e,t.value):nr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Li(r,o)+" =>"]=s,n),{})}:Er(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Li(n))}:Ct(t)?Li(t):Ce(t)&&!le(t)&&!Qc(t)?String(t):t,Li=(e,t="")=>{var n;return Ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function km(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Ke;class ru{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.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&&--this._on===0&&(Ke=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Mr){let t=Mr;for(Mr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$r;){let t=$r;for($r=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function cu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function uu(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Uo(r),Fm(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function to(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Wr)||(e.globalVersion=Wr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!to(e))))return;e.flags|=2;const t=e.dep,n=we,r=Tt;we=e,Tt=!0;try{cu(e);const s=e.fn(e._value);(t.version===0||on(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{we=n,Tt=r,uu(e),e.flags&=-3}}function Uo(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Uo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Fm(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Tt=!0;const du=[];function Ut(){du.push(Tt),Tt=!1}function Gt(){const e=du.pop();Tt=e===void 0?!0:e}function fl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=we;we=void 0;try{t()}finally{we=n}}}let Wr=0;class Hm{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 Go{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,this.__v_skip=!0}track(t){if(!we||!Tt||we===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==we)n=this.activeLink=new Hm(we,this),we.deps?(n.prevDep=we.depsTail,we.depsTail.nextDep=n,we.depsTail=n):we.deps=we.depsTail=n,hu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=we.depsTail,n.nextDep=void 0,we.depsTail.nextDep=n,we.depsTail=n,we.deps===n&&(we.deps=r)}return n}trigger(t){this.version++,Wr++,this.notify(t)}notify(t){Wo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ko()}}}function hu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)hu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ls=new WeakMap,Nn=Symbol(""),no=Symbol(""),Kr=Symbol("");function Ue(e,t,n){if(Tt&&we){let r=Ls.get(e);r||Ls.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Go),s.map=r,s.key=n),s.track()}}function Bt(e,t,n,r,s,o){const a=Ls.get(e);if(!a){Wr++;return}const l=c=>{c&&c.trigger()};if(Wo(),t==="clear")a.forEach(l);else{const c=le(e),d=c&&Bo(n);if(c&&n==="length"){const f=Number(r);a.forEach((h,p)=>{(p==="length"||p===Kr||!Ct(p)&&p>=f)&&l(h)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),d&&l(a.get(Kr)),t){case"add":c?d&&l(a.get("length")):(l(a.get(Nn)),nr(e)&&l(a.get(no)));break;case"delete":c||(l(a.get(Nn)),nr(e)&&l(a.get(no)));break;case"set":nr(e)&&l(a.get(Nn));break}}Ko()}function Bm(e,t){const n=Ls.get(e);return n&&n.get(t)}function Yn(e){const t=ve(e);return t===e?t:(Ue(t,"iterate",Kr),pt(e)?t:t.map(Fe))}function ni(e){return Ue(e=ve(e),"iterate",Kr),e}const jm={__proto__:null,[Symbol.iterator](){return $i(this,Symbol.iterator,Fe)},concat(...e){return Yn(this).concat(...e.map(t=>le(t)?Yn(t):t))},entries(){return $i(this,"entries",e=>(e[1]=Fe(e[1]),e))},every(e,t){return kt(this,"every",e,t,void 0,arguments)},filter(e,t){return kt(this,"filter",e,t,n=>n.map(Fe),arguments)},find(e,t){return kt(this,"find",e,t,Fe,arguments)},findIndex(e,t){return kt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return kt(this,"findLast",e,t,Fe,arguments)},findLastIndex(e,t){return kt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return kt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Mi(this,"includes",e)},indexOf(...e){return Mi(this,"indexOf",e)},join(e){return Yn(this).join(e)},lastIndexOf(...e){return Mi(this,"lastIndexOf",e)},map(e,t){return kt(this,"map",e,t,void 0,arguments)},pop(){return Or(this,"pop")},push(...e){return Or(this,"push",e)},reduce(e,...t){return dl(this,"reduce",e,t)},reduceRight(e,...t){return dl(this,"reduceRight",e,t)},shift(){return Or(this,"shift")},some(e,t){return kt(this,"some",e,t,void 0,arguments)},splice(...e){return Or(this,"splice",e)},toReversed(){return Yn(this).toReversed()},toSorted(e){return Yn(this).toSorted(e)},toSpliced(...e){return Yn(this).toSpliced(...e)},unshift(...e){return Or(this,"unshift",e)},values(){return $i(this,"values",Fe)}};function $i(e,t,n){const r=ni(e),s=r[t]();return r!==e&&!pt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Wm=Array.prototype;function kt(e,t,n,r,s,o){const a=ni(e),l=a!==e&&!pt(e),c=a[t];if(c!==Wm[t]){const h=c.apply(e,o);return l?Fe(h):h}let d=n;a!==e&&(l?d=function(h,p){return n.call(this,Fe(h),p,e)}:n.length>2&&(d=function(h,p){return n.call(this,h,p,e)}));const f=c.call(a,d,r);return l&&s?s(f):f}function dl(e,t,n,r){const s=ni(e);let o=n;return s!==e&&(pt(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,Fe(l),c,e)}),s[t](o,...r)}function Mi(e,t,n){const r=ve(e);Ue(r,"iterate",Kr);const s=r[t](...n);return(s===-1||s===!1)&&qo(n[0])?(n[0]=ve(n[0]),r[t](...n)):s}function Or(e,t,n=[]){Ut(),Wo();const r=ve(e)[t].apply(e,n);return Ko(),Gt(),r}const Km=ko("__proto__,__v_isRef,__isVue"),pu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ct));function Um(e){Ct(e)||(e=String(e));const t=ve(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class gu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?bu:yu:o?Eu:vu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=le(t);if(!s){let c;if(a&&(c=jm[n]))return c;if(n==="hasOwnProperty")return Um}const l=Reflect.get(t,n,Re(t)?t:r);if((Ct(n)?pu.has(n):Km(n))||(s||Ue(t,"get",n),o))return l;if(Re(l)){const c=a&&Bo(n)?l:l.value;return s&&Ce(c)?so(c):c}return Ce(l)?s?so(l):Jr(l):l}}class mu extends gu{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=ln(o);if(!pt(r)&&!ln(r)&&(o=ve(o),r=ve(r)),!le(t)&&Re(o)&&!Re(r))return c||(o.value=r),!0}const a=le(t)&&Bo(n)?Number(n)e,ms=e=>Reflect.getPrototypeOf(e);function Xm(e,t,n){return function(...r){const s=this.__v_raw,o=ve(s),a=nr(o),l=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,d=s[e](...r),f=n?ro:t?Ps:Fe;return!t&&Ue(o,"iterate",c?no:Nn),{next(){const{value:h,done:p}=d.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}},[Symbol.iterator](){return this}}}}function _s(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qm(e,t){const n={get(s){const o=this.__v_raw,a=ve(o),l=ve(s);e||(on(s,l)&&Ue(a,"get",s),Ue(a,"get",l));const{has:c}=ms(a),d=t?ro:e?Ps:Fe;if(c.call(a,s))return d(o.get(s));if(c.call(a,l))return d(o.get(l));o!==a&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ue(ve(s),"iterate",Nn),s.size},has(s){const o=this.__v_raw,a=ve(o),l=ve(s);return e||(on(s,l)&&Ue(a,"has",s),Ue(a,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const a=this,l=a.__v_raw,c=ve(l),d=t?ro:e?Ps:Fe;return!e&&Ue(c,"iterate",Nn),l.forEach((f,h)=>s.call(o,d(f),d(h),a))}};return $e(n,e?{add:_s("add"),set:_s("set"),delete:_s("delete"),clear:_s("clear")}:{add(s){!t&&!pt(s)&&!ln(s)&&(s=ve(s));const o=ve(this);return ms(o).has.call(o,s)||(o.add(s),Bt(o,"add",s,s)),this},set(s,o){!t&&!pt(o)&&!ln(o)&&(o=ve(o));const a=ve(this),{has:l,get:c}=ms(a);let d=l.call(a,s);d||(s=ve(s),d=l.call(a,s));const f=c.call(a,s);return a.set(s,o),d?on(o,f)&&Bt(a,"set",s,o):Bt(a,"add",s,o),this},delete(s){const o=ve(this),{has:a,get:l}=ms(o);let c=a.call(o,s);c||(s=ve(s),c=a.call(o,s)),l&&l.call(o,s);const d=o.delete(s);return c&&Bt(o,"delete",s,void 0),d},clear(){const s=ve(this),o=s.size!==0,a=s.clear();return o&&Bt(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Xm(s,e,t)}),n}function ri(e,t){const n=Qm(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Te(n,s)&&s in r?n:r,s,o)}const Jm={get:ri(!1,!1)},Zm={get:ri(!1,!0)},e_={get:ri(!0,!1)},t_={get:ri(!0,!0)},vu=new WeakMap,Eu=new WeakMap,yu=new WeakMap,bu=new WeakMap;function n_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function r_(e){return e.__v_skip||!Object.isExtensible(e)?0:n_(wm(e))}function Jr(e){return ln(e)?e:si(e,!1,Gm,Jm,vu)}function Au(e){return si(e,!1,Ym,Zm,Eu)}function so(e){return si(e,!0,qm,e_,yu)}function vb(e){return si(e,!0,zm,t_,bu)}function si(e,t,n,r,s){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r_(e);if(o===0)return e;const a=s.get(e);if(a)return a;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function an(e){return ln(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function ln(e){return!!(e&&e.__v_isReadonly)}function pt(e){return!!(e&&e.__v_isShallow)}function qo(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function ii(e){return!Te(e,"__v_skip")&&Object.isExtensible(e)&&Jc(e,"__v_skip",!0),e}const Fe=e=>Ce(e)?Jr(e):e,Ps=e=>Ce(e)?so(e):e;function Re(e){return e?e.__v_isRef===!0:!1}function xn(e){return Cu(e,!1)}function Tu(e){return Cu(e,!0)}function Cu(e,t){return Re(e)?e:new s_(e,t)}class s_{constructor(t,n){this.dep=new Go,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:Fe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||pt(t)||ln(t);t=r?t:ve(t),on(t,n)&&(this._rawValue=t,this._value=r?t:Fe(t),this.dep.trigger())}}function nt(e){return Re(e)?e.value:e}function Eb(e){return fe(e)?e():nt(e)}const i_={get:(e,t,n)=>t==="__v_raw"?e:nt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Re(s)&&!Re(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Su(e){return an(e)?e:new Proxy(e,i_)}function o_(e){const t=le(e)?new Array(e.length):{};for(const n in e)t[n]=wu(e,n);return t}class a_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 Bm(ve(this._object),this._key)}}class l_{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 yb(e,t,n){return Re(e)?e:fe(e)?new l_(e):Ce(e)&&arguments.length>1?wu(e,t,n):xn(e)}function wu(e,t,n){const r=e[t];return Re(r)?r:new a_(e,t,n)}class c_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Go(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&we!==this)return lu(this,!0),!0}get value(){const t=this.dep.track();return fu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function u_(e,t,n=!1){let r,s;return fe(e)?r=e:(r=e.get,s=e.set),new c_(r,s,n)}const vs={},$s=new WeakMap;let Sn;function f_(e,t=!1,n=Sn){if(n){let r=$s.get(n);r||$s.set(n,r=[]),r.push(e)}}function d_(e,t,n=Se){const{immediate:r,deep:s,once:o,scheduler:a,augmentJob:l,call:c}=n,d=M=>s?M:pt(M)||s===!1||s===0?jt(M,1):jt(M);let f,h,p,m,O=!1,T=!1;if(Re(e)?(h=()=>e.value,O=pt(e)):an(e)?(h=()=>d(e),O=!0):le(e)?(T=!0,O=e.some(M=>an(M)||pt(M)),h=()=>e.map(M=>{if(Re(M))return M.value;if(an(M))return d(M);if(fe(M))return c?c(M,2):M()})):fe(e)?t?h=c?()=>c(e,2):e:h=()=>{if(p){Ut();try{p()}finally{Gt()}}const M=Sn;Sn=f;try{return c?c(e,3,[m]):e(m)}finally{Sn=M}}:h=At,t&&s){const M=h,b=s===!0?1/0:s;h=()=>jt(M(),b)}const x=iu(),P=()=>{f.stop(),x&&x.active&&Fo(x.effects,f)};if(o&&t){const M=t;t=(...b)=>{M(...b),P()}}let V=T?new Array(e.length).fill(vs):vs;const H=M=>{if(!(!(f.flags&1)||!f.dirty&&!M))if(t){const b=f.run();if(s||O||(T?b.some((y,N)=>on(y,V[N])):on(b,V))){p&&p();const y=Sn;Sn=f;try{const N=[b,V===vs?void 0:T&&V[0]===vs?[]:V,m];V=b,c?c(t,3,N):t(...N)}finally{Sn=y}}}else f.run()};return l&&l(H),f=new ou(h),f.scheduler=a?()=>a(H,!1):H,m=M=>f_(M,!1,f),p=f.onStop=()=>{const M=$s.get(f);if(M){if(c)c(M,4);else for(const b of M)b();$s.delete(f)}},t?r?H(!0):V=f.run():a?a(H.bind(null,!0),!0):f.run(),P.pause=f.pause.bind(f),P.resume=f.resume.bind(f),P.stop=P,P}function jt(e,t=1/0,n){if(t<=0||!Ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Re(e))jt(e.value,t,n);else if(le(e))for(let r=0;r{jt(r,t,n)});else if(Qc(e)){for(const r in e)jt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&jt(e[r],t,n)}return e}function Zr(e,t,n,r){try{return r?e(...r):e()}catch(s){yr(s,t,n)}}function St(e,t,n,r){if(fe(e)){const s=Zr(e,t,n,r);return s&&Ho(s)&&s.catch(o=>{yr(o,t,n)}),s}if(le(e)){const s=[];for(let o=0;o>>1,s=ze[r],o=Ur(s);o=Ur(n)?ze.push(e):ze.splice(p_(t),0,e),e.flags|=1,Nu()}}function Nu(){Ms||(Ms=Ou.then(Ru))}function ks(e){le(e)?rr.push(...e):tn&&e.id===-1?tn.splice(Qn+1,0,e):e.flags&1||(rr.push(e),e.flags|=1),Nu()}function hl(e,t,n=Rt+1){for(;nUr(n)-Ur(r));if(rr.length=0,tn){tn.push(...t);return}for(tn=t,Qn=0;Qne.id==null?e.flags&2?-1:1/0:e.id;function Ru(e){try{for(Rt=0;Rt{r._d&&Bs(-1);const o=Vs(t);let a;try{a=e(...s)}finally{Vs(o),r._d&&Bs(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function bb(e,t){if(Be===null)return e;const n=fi(Be),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,kr=e=>e&&(e.disabled||e.disabled===""),pl=e=>e&&(e.defer||e.defer===""),gl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ml=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,io=(e,t)=>{const n=e&&e.to;return Oe(n)?t?t(n):null:n},Pu={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,a,l,c,d){const{mc:f,pc:h,pbc:p,o:{insert:m,querySelector:O,createText:T,createComment:x}}=d,P=kr(t.props);let{shapeFlag:V,children:H,dynamicChildren:M}=t;if(e==null){const b=t.el=T(""),y=t.anchor=T("");m(b,n,r),m(y,n,r);const N=(C,S)=>{V&16&&f(H,C,S,s,o,a,l,c)},A=()=>{const C=t.target=io(t.props,O),S=$u(C,t,T,m);C&&(a!=="svg"&&gl(C)?a="svg":a!=="mathml"&&ml(C)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(C),P||(N(C,S),Os(t,!1)))};P&&(N(n,y),Os(t,!0)),pl(t.props)?(t.el.__isMounted=!1,qe(()=>{A(),delete t.el.__isMounted},o)):A()}else{if(pl(t.props)&&e.el.__isMounted===!1){qe(()=>{Pu.process(e,t,n,r,s,o,a,l,c,d)},o);return}t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,y=t.target=e.target,N=t.targetAnchor=e.targetAnchor,A=kr(e.props),C=A?n:y,S=A?b:N;if(a==="svg"||gl(y)?a="svg":(a==="mathml"||ml(y))&&(a="mathml"),M?(p(e.dynamicChildren,M,C,s,o,a,l),ra(e,t,!0)):c||h(e,t,C,S,s,o,a,l,!1),P)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Es(t,n,b,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=io(t.props,O);U&&Es(t,U,null,d,0)}else A&&Es(t,y,N,d,1);Os(t,P)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetStart:d,targetAnchor:f,target:h,props:p}=e;if(h&&(s(d),s(f)),o&&s(c),a&16){const m=o||!kr(p);for(let O=0;O{e.isMounted=!0}),Gu(()=>{e.isUnmounting=!0}),e}const ft=[Function,Array],ku={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ft,onEnter:ft,onAfterEnter:ft,onEnterCancelled:ft,onBeforeLeave:ft,onLeave:ft,onAfterLeave:ft,onLeaveCancelled:ft,onBeforeAppear:ft,onAppear:ft,onAfterAppear:ft,onAppearCancelled:ft},Vu=e=>{const t=e.subTree;return t.component?Vu(t.component):t},m_={name:"BaseTransition",props:ku,setup(e,{slots:t}){const n=hn(),r=Mu();return()=>{const s=t.default&&zo(t.default(),!0);if(!s||!s.length)return;const o=Fu(s),a=ve(e),{mode:l}=a;if(r.isLeaving)return ki(o);const c=_l(o);if(!c)return ki(o);let d=Gr(c,a,r,n,h=>d=h);c.type!==ke&&Mn(c,d);let f=n.subTree&&_l(n.subTree);if(f&&f.type!==ke&&!Dt(f,c)&&Vu(n).type!==ke){let h=Gr(f,a,r,n);if(Mn(f,h),l==="out-in"&&c.type!==ke)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,f=void 0},ki(o);l==="in-out"&&c.type!==ke?h.delayLeave=(p,m,O)=>{const T=Hu(r,f);T[String(f.key)]=f,p[Ht]=()=>{m(),p[Ht]=void 0,delete d.delayedLeave,f=void 0},d.delayedLeave=()=>{O(),delete d.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return o}}};function Fu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ke){t=n;break}}return t}const __=m_;function Hu(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Gr(e,t,n,r,s){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:p,onLeave:m,onAfterLeave:O,onLeaveCancelled:T,onBeforeAppear:x,onAppear:P,onAfterAppear:V,onAppearCancelled:H}=t,M=String(e.key),b=Hu(n,e),y=(C,S)=>{C&&St(C,r,9,S)},N=(C,S)=>{const U=S[1];y(C,S),le(C)?C.every(j=>j.length<=1)&&U():C.length<=1&&U()},A={mode:a,persisted:l,beforeEnter(C){let S=c;if(!n.isMounted)if(o)S=x||c;else return;C[Ht]&&C[Ht](!0);const U=b[M];U&&Dt(e,U)&&U.el[Ht]&&U.el[Ht](),y(S,[C])},enter(C){let S=d,U=f,j=h;if(!n.isMounted)if(o)S=P||d,U=V||f,j=H||h;else return;let te=!1;const he=C[ys]=Ee=>{te||(te=!0,Ee?y(j,[C]):y(U,[C]),A.delayedLeave&&A.delayedLeave(),C[ys]=void 0)};S?N(S,[C,he]):he()},leave(C,S){const U=String(e.key);if(C[ys]&&C[ys](!0),n.isUnmounting)return S();y(p,[C]);let j=!1;const te=C[Ht]=he=>{j||(j=!0,S(),he?y(T,[C]):y(O,[C]),C[Ht]=void 0,b[U]===e&&delete b[U])};b[U]=e,m?N(m,[C,te]):te()},clone(C){const S=Gr(C,t,n,r,s);return s&&s(S),S}};return A}function ki(e){if(es(e))return e=cn(e),e.children=null,e}function _l(e){if(!es(e))return Lu(e.type)&&e.children?Fu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&fe(n.default))return n.default()}}function Mn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Mn(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 zo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;on.value,set:o=>n.value=o})}return n}const Fs=new WeakMap;function Vr(e,t,n,r,s=!1){if(le(e)){e.forEach((O,T)=>Vr(O,t&&(le(t)?t[T]:t),n,r,s));return}if(sr(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Vr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?fi(r.component):r.el,a=s?null:o,{i:l,r:c}=e,d=t&&t.r,f=l.refs===Se?l.refs={}:l.refs,h=l.setupState,p=ve(h),m=h===Se?zc:O=>Te(p,O);if(d!=null&&d!==c){if(vl(t),Oe(d))f[d]=null,m(d)&&(h[d]=null);else if(Re(d)){d.value=null;const O=t;O.k&&(f[O.k]=null)}}if(fe(c))Zr(c,l,12,[a,f]);else{const O=Oe(c),T=Re(c);if(O||T){const x=()=>{if(e.f){const P=O?m(c)?h[c]:f[c]:c.value;if(s)le(P)&&Fo(P,o);else if(le(P))P.includes(o)||P.push(o);else if(O)f[c]=[o],m(c)&&(h[c]=f[c]);else{const V=[o];c.value=V,e.k&&(f[e.k]=V)}}else O?(f[c]=a,m(c)&&(h[c]=a)):T&&(c.value=a,e.k&&(f[e.k]=a))};if(a){const P=()=>{x(),Fs.delete(e)};P.id=-1,Fs.set(e,P),qe(P,n)}else vl(e),x()}}}function vl(e){const t=Fs.get(e);t&&(t.flags|=8,Fs.delete(e))}const El=e=>e.nodeType===8;Zs().requestIdleCallback;Zs().cancelIdleCallback;function v_(e,t){if(El(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(El(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const sr=e=>!!e.type.__asyncLoader;function Cb(e){fe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:a,suspensible:l=!0,onError:c}=e;let d=null,f,h=0;const p=()=>(h++,d=null,m()),m=()=>{let O;return d||(O=d=t().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),c)return new Promise((x,P)=>{c(T,()=>x(p()),()=>P(T),h+1)});throw T}).then(T=>O!==d&&d?d:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),f=T,T)))};return Xo({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(O,T,x){let P=!1;(T.bu||(T.bu=[])).push(()=>P=!0);const V=()=>{P||x()},H=o?()=>{const M=o(V,b=>v_(O,b));M&&(T.bum||(T.bum=[])).push(M)}:V;f?H():m().then(()=>!T.isUnmounted&&H())},get __asyncResolved(){return f},setup(){const O=He;if(Qo(O),f)return()=>bs(f,O);const T=H=>{d=null,yr(H,O,13,!r)};if(l&&O.suspense||hr)return m().then(H=>()=>bs(H,O)).catch(H=>(T(H),()=>r?Ne(r,{error:H}):null));const x=xn(!1),P=xn(),V=xn(!!s);return s&&setTimeout(()=>{V.value=!1},s),a!=null&&setTimeout(()=>{if(!x.value&&!P.value){const H=new Error(`Async component timed out after ${a}ms.`);T(H),P.value=H}},a),m().then(()=>{x.value=!0,O.parent&&es(O.parent.vnode)&&O.parent.update()}).catch(H=>{T(H),P.value=H}),()=>{if(x.value&&f)return bs(f,O);if(P.value&&r)return Ne(r,{error:P.value});if(n&&!V.value)return bs(n,O)}}})}function bs(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,a=Ne(e,r,s);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const es=e=>e.type.__isKeepAlive;function Bu(e,t){Wu(e,"a",t)}function ju(e,t){Wu(e,"da",t)}function Wu(e,t,n=He){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ai(t,r,n),n){let s=n.parent;for(;s&&s.parent;)es(s.parent.vnode)&&E_(r,t,n,s),s=s.parent}}function E_(e,t,n,r){const s=ai(t,e,r,!0);li(()=>{Fo(r[t],s)},n)}function ai(e,t,n=He,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{Ut();const l=kn(n),c=St(t,n,e,a);return l(),Gt(),c});return r?s.unshift(o):s.push(o),o}}const qt=e=>(t,n=He)=>{(!hr||e==="sp")&&ai(e,(...r)=>t(...r),n)},y_=qt("bm"),Jo=qt("m"),Ku=qt("bu"),Uu=qt("u"),Gu=qt("bum"),li=qt("um"),b_=qt("sp"),A_=qt("rtg"),T_=qt("rtc");function C_(e,t=He){ai("ec",e,t)}const Zo="components",S_="directives";function w_(e,t){return ea(Zo,e,!0,t)||e}const qu=Symbol.for("v-ndc");function O_(e){return Oe(e)?ea(Zo,e,!1)||e:e||qu}function Sb(e){return ea(S_,e)}function ea(e,t,n=!0,r=!1){const s=Be||He;if(s){const o=s.type;if(e===Zo){const l=Tv(o,!1);if(l&&(l===t||l===mt(t)||l===Qs(mt(t))))return o}const a=yl(s[e]||o[e],t)||yl(s.appContext[e],t);return!a&&r?o:a}}function yl(e,t){return e&&(e[t]||e[mt(t)]||e[Qs(mt(t))])}function wb(e,t,n,r){let s;const o=n,a=le(e);if(a||Oe(e)){const l=a&&an(e);let c=!1,d=!1;l&&(c=!pt(e),d=ln(e),e=ni(e)),s=new Array(e.length);for(let f=0,h=e.length;ft(l,c,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,d=l.length;c{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function Nb(e,t,n={},r,s){if(Be.ce||Be.parent&&sr(Be.parent)&&Be.parent.ce){const d=Object.keys(n).length>0;return t!=="default"&&(n.name=t),It(),Yr(Xe,null,[Ne("slot",n,r&&r())],d?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),It();const a=o&&Yu(o(n)),l=n.key||a&&a.key,c=Yr(Xe,{key:(l&&!Ct(l)?l:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),o&&o._c&&(o._d=!0),c}function Yu(e){return e.some(t=>dr(t)?!(t.type===ke||t.type===Xe&&!Yu(t.children)):!0)?e:null}const oo=e=>e?mf(e)?fi(e):oo(e.parent):null,Fr=$e(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=>oo(e.parent),$root:e=>oo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xu(e),$forceUpdate:e=>e.f||(e.f=()=>{Yo(e.update)}),$nextTick:e=>e.n||(e.n=oi.bind(e.proxy)),$watch:e=>X_.bind(e)}),Vi=(e,t)=>e!==Se&&!e.__isScriptSetup&&Te(e,t),N_={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:a,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Vi(r,t))return a[t]=1,r[t];if(s!==Se&&Te(s,t))return a[t]=2,s[t];if((d=e.propsOptions[0])&&Te(d,t))return a[t]=3,o[t];if(n!==Se&&Te(n,t))return a[t]=4,n[t];lo&&(a[t]=0)}}const f=Fr[t];let h,p;if(f)return t==="$attrs"&&Ue(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Se&&Te(n,t))return a[t]=4,n[t];if(p=c.config.globalProperties,Te(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Vi(s,t)?(s[t]=n,!0):r!==Se&&Te(r,t)?(r[t]=n,!0):Te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o,type:a}},l){let c,d;return!!(n[l]||e!==Se&&l[0]!=="$"&&Te(e,l)||Vi(t,l)||(c=o[0])&&Te(c,l)||Te(r,l)||Te(Fr,l)||Te(s.config.globalProperties,l)||(d=a.__cssModules)&&d[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xb(){return x_().slots}function x_(e){const t=hn();return t.setupContext||(t.setupContext=vf(t))}function ao(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Rb(e,t){const n=ao(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?le(s)||fe(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function Ib(e){const t=hn();let n=e();return po(),Ho(n)&&(n=n.catch(r=>{throw kn(t),r})),[n,()=>kn(t)]}let lo=!0;function R_(e){const t=Xu(e),n=e.proxy,r=e.ctx;lo=!1,t.beforeCreate&&bl(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:a,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:O,activated:T,deactivated:x,beforeDestroy:P,beforeUnmount:V,destroyed:H,unmounted:M,render:b,renderTracked:y,renderTriggered:N,errorCaptured:A,serverPrefetch:C,expose:S,inheritAttrs:U,components:j,directives:te,filters:he}=t;if(d&&I_(d,r,null),a)for(const I in a){const K=a[I];fe(K)&&(r[I]=K.bind(n))}if(s){const I=s.call(n,n);Ce(I)&&(e.data=Jr(I))}if(lo=!0,o)for(const I in o){const K=o[I],G=fe(K)?K.bind(n,n):fe(K.get)?K.get.bind(n,n):At,X=!fe(K)&&fe(K.set)?K.set.bind(n):At,re=dt({get:G,set:X});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,get:()=>re.value,set:ne=>re.value=ne})}if(l)for(const I in l)zu(l[I],r,n,I);if(c){const I=fe(c)?c.call(n):c;Reflect.ownKeys(I).forEach(K=>{Ns(K,I[K])})}f&&bl(f,e,"c");function ie(I,K){le(K)?K.forEach(G=>I(G.bind(n))):K&&I(K.bind(n))}if(ie(y_,h),ie(Jo,p),ie(Ku,m),ie(Uu,O),ie(Bu,T),ie(ju,x),ie(C_,A),ie(T_,y),ie(A_,N),ie(Gu,V),ie(li,M),ie(b_,C),le(S))if(S.length){const I=e.exposed||(e.exposed={});S.forEach(K=>{Object.defineProperty(I,K,{get:()=>n[K],set:G=>n[K]=G,enumerable:!0})})}else e.exposed||(e.exposed={});b&&e.render===At&&(e.render=b),U!=null&&(e.inheritAttrs=U),j&&(e.components=j),te&&(e.directives=te),C&&Qo(e)}function I_(e,t,n=At){le(e)&&(e=co(e));for(const r in e){const s=e[r];let o;Ce(s)?"default"in s?o=rt(s.from||r,s.default,!0):o=rt(s.from||r):o=rt(s),Re(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function bl(e,t,n){St(le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function zu(e,t,n,r){let s=r.includes(".")?cf(n,r):()=>n[r];if(Oe(e)){const o=t[e];fe(o)&&In(s,o)}else if(fe(e))In(s,e.bind(n));else if(Ce(e))if(le(e))e.forEach(o=>zu(o,t,n,r));else{const o=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(o)&&In(s,o,e)}}function Xu(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(d=>Hs(c,d,a,!0)),Hs(c,t,a)),Ce(t)&&o.set(t,c),c}function Hs(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Hs(e,o,n,!0),s&&s.forEach(a=>Hs(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const l=D_[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const D_={data:Al,props:Tl,emits:Tl,methods:Ir,computed:Ir,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:Ir,directives:Ir,watch:P_,provide:Al,inject:L_};function Al(e,t){return t?e?function(){return $e(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function L_(e,t){return Ir(co(e),co(t))}function co(e){if(le(e)){const t={};for(let n=0;n1)return n&&fe(t)?t.call(r&&r.proxy):t}}function k_(){return!!(hn()||Rn)}const Ju={},Zu=()=>Object.create(Ju),ef=e=>Object.getPrototypeOf(e)===Ju;function V_(e,t,n,r=!1){const s={},o=Zu();e.propsDefaults=Object.create(null),tf(e,t,s,o);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=r?s:Au(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function F_(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:a}}=e,l=ve(s),[c]=e.propsOptions;let d=!1;if((r||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,m]=nf(h,t,!0);$e(a,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Ce(e)&&r.set(e,tr),tr;if(le(o))for(let f=0;fe==="_"||e==="_ctx"||e==="$stable",na=e=>le(e)?e.map(bt):[bt(e)],B_=(e,t,n)=>{if(t._n)return t;const r=Jn((...s)=>na(t(...s)),n);return r._c=!1,r},rf=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ta(s))continue;const o=e[s];if(fe(o))t[s]=B_(s,o,r);else if(o!=null){const a=na(o);t[s]=()=>a}}},sf=(e,t)=>{const n=na(t);e.slots.default=()=>n},of=(e,t,n)=>{for(const r in t)(n||!ta(r))&&(e[r]=t[r])},j_=(e,t,n)=>{const r=e.slots=Zu();if(e.vnode.shapeFlag&32){const s=t._;s?(of(r,t,n),n&&Jc(r,"_",s,!0)):rf(t,r)}else t&&sf(e,t)},W_=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,a=Se;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:of(s,t,n):(o=!t.$stable,rf(t,s)),a=t}else t&&(sf(e,t),a={default:1});if(o)for(const l in s)!ta(l)&&a[l]==null&&delete s[l]},qe=uv;function K_(e){return U_(e)}function U_(e,t){const n=Zs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:a,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=At,insertStaticContent:O}=e,T=(g,E,w,$=null,B=null,F=null,q=void 0,z=null,R=!!E.dynamicChildren)=>{if(g===E)return;g&&!Dt(g,E)&&($=L(g),ne(g,B,F,!0),g=null),E.patchFlag===-2&&(R=!1,E.dynamicChildren=null);const{type:W,ref:ce,shapeFlag:ee}=E;switch(W){case ui:x(g,E,w,$);break;case ke:P(g,E,w,$);break;case xs:g==null&&V(E,w,$,q);break;case Xe:j(g,E,w,$,B,F,q,z,R);break;default:ee&1?b(g,E,w,$,B,F,q,z,R):ee&6?te(g,E,w,$,B,F,q,z,R):(ee&64||ee&128)&&W.process(g,E,w,$,B,F,q,z,R,oe)}ce!=null&&B?Vr(ce,g&&g.ref,F,E||g,!E):ce==null&&g&&g.ref!=null&&Vr(g.ref,null,F,g,!0)},x=(g,E,w,$)=>{if(g==null)r(E.el=l(E.children),w,$);else{const B=E.el=g.el;E.children!==g.children&&d(B,E.children)}},P=(g,E,w,$)=>{g==null?r(E.el=c(E.children||""),w,$):E.el=g.el},V=(g,E,w,$)=>{[g.el,g.anchor]=O(g.children,E,w,$,g.el,g.anchor)},H=({el:g,anchor:E},w,$)=>{let B;for(;g&&g!==E;)B=p(g),r(g,w,$),g=B;r(E,w,$)},M=({el:g,anchor:E})=>{let w;for(;g&&g!==E;)w=p(g),s(g),g=w;s(E)},b=(g,E,w,$,B,F,q,z,R)=>{if(E.type==="svg"?q="svg":E.type==="math"&&(q="mathml"),g==null)y(E,w,$,B,F,q,z,R);else{const W=g.el&&g.el._isVueCE?g.el:null;try{W&&W._beginPatch(),C(g,E,B,F,q,z,R)}finally{W&&W._endPatch()}}},y=(g,E,w,$,B,F,q,z)=>{let R,W;const{props:ce,shapeFlag:ee,transition:ae,dirs:ue}=g;if(R=g.el=a(g.type,F,ce&&ce.is,ce),ee&8?f(R,g.children):ee&16&&A(g.children,R,null,$,B,Fi(g,F),q,z),ue&&An(g,null,$,"created"),N(R,g,g.scopeId,q,$),ce){for(const be in ce)be!=="value"&&!Pr(be)&&o(R,be,null,ce[be],F,$);"value"in ce&&o(R,"value",null,ce.value,F),(W=ce.onVnodeBeforeMount)&&Nt(W,$,g)}ue&&An(g,null,$,"beforeMount");const pe=G_(B,ae);pe&&ae.beforeEnter(R),r(R,E,w),((W=ce&&ce.onVnodeMounted)||pe||ue)&&qe(()=>{W&&Nt(W,$,g),pe&&ae.enter(R),ue&&An(g,null,$,"mounted")},B)},N=(g,E,w,$,B)=>{if(w&&m(g,w),$)for(let F=0;F<$.length;F++)m(g,$[F]);if(B){let F=B.subTree;if(E===F||ff(F.type)&&(F.ssContent===E||F.ssFallback===E)){const q=B.vnode;N(g,q,q.scopeId,q.slotScopeIds,B.parent)}}},A=(g,E,w,$,B,F,q,z,R=0)=>{for(let W=R;W{const z=E.el=g.el;let{patchFlag:R,dynamicChildren:W,dirs:ce}=E;R|=g.patchFlag&16;const ee=g.props||Se,ae=E.props||Se;let ue;if(w&&Tn(w,!1),(ue=ae.onVnodeBeforeUpdate)&&Nt(ue,w,E,g),ce&&An(E,g,w,"beforeUpdate"),w&&Tn(w,!0),(ee.innerHTML&&ae.innerHTML==null||ee.textContent&&ae.textContent==null)&&f(z,""),W?S(g.dynamicChildren,W,z,w,$,Fi(E,B),F):q||K(g,E,z,null,w,$,Fi(E,B),F,!1),R>0){if(R&16)U(z,ee,ae,w,B);else if(R&2&&ee.class!==ae.class&&o(z,"class",null,ae.class,B),R&4&&o(z,"style",ee.style,ae.style,B),R&8){const pe=E.dynamicProps;for(let be=0;be{ue&&Nt(ue,w,E,g),ce&&An(E,g,w,"updated")},$)},S=(g,E,w,$,B,F,q)=>{for(let z=0;z{if(E!==w){if(E!==Se)for(const F in E)!Pr(F)&&!(F in w)&&o(g,F,E[F],null,B,$);for(const F in w){if(Pr(F))continue;const q=w[F],z=E[F];q!==z&&F!=="value"&&o(g,F,z,q,B,$)}"value"in w&&o(g,"value",E.value,w.value,B)}},j=(g,E,w,$,B,F,q,z,R)=>{const W=E.el=g?g.el:l(""),ce=E.anchor=g?g.anchor:l("");let{patchFlag:ee,dynamicChildren:ae,slotScopeIds:ue}=E;ue&&(z=z?z.concat(ue):ue),g==null?(r(W,w,$),r(ce,w,$),A(E.children||[],w,ce,B,F,q,z,R)):ee>0&&ee&64&&ae&&g.dynamicChildren?(S(g.dynamicChildren,ae,w,B,F,q,z),(E.key!=null||B&&E===B.subTree)&&ra(g,E,!0)):K(g,E,w,ce,B,F,q,z,R)},te=(g,E,w,$,B,F,q,z,R)=>{E.slotScopeIds=z,g==null?E.shapeFlag&512?B.ctx.activate(E,w,$,q,R):he(E,w,$,B,F,q,R):Ee(g,E,R)},he=(g,E,w,$,B,F,q)=>{const z=g.component=Ev(g,$,B);if(es(g)&&(z.ctx.renderer=oe),yv(z,!1,q),z.asyncDep){if(B&&B.registerDep(z,ie,q),!g.el){const R=z.subTree=Ne(ke);P(null,R,E,w),g.placeholder=R.el}}else ie(z,g,E,w,B,F,q)},Ee=(g,E,w)=>{const $=E.component=g.component;if(rv(g,E,w))if($.asyncDep&&!$.asyncResolved){I($,E,w);return}else $.next=E,$.update();else E.el=g.el,$.vnode=E},ie=(g,E,w,$,B,F,q)=>{const z=()=>{if(g.isMounted){let{next:ee,bu:ae,u:ue,parent:pe,vnode:be}=g;{const at=af(g);if(at){ee&&(ee.el=be.el,I(g,ee,q)),at.asyncDep.then(()=>{g.isUnmounted||z()});return}}let _e=ee,Ie;Tn(g,!1),ee?(ee.el=be.el,I(g,ee,q)):ee=be,ae&&ws(ae),(Ie=ee.props&&ee.props.onVnodeBeforeUpdate)&&Nt(Ie,pe,ee,be),Tn(g,!0);const je=wl(g),_t=g.subTree;g.subTree=je,T(_t,je,h(_t.el),L(_t),g,B,F),ee.el=je.el,_e===null&&sa(g,je.el),ue&&qe(ue,B),(Ie=ee.props&&ee.props.onVnodeUpdated)&&qe(()=>Nt(Ie,pe,ee,be),B)}else{let ee;const{el:ae,props:ue}=E,{bm:pe,m:be,parent:_e,root:Ie,type:je}=g,_t=sr(E);Tn(g,!1),pe&&ws(pe),!_t&&(ee=ue&&ue.onVnodeBeforeMount)&&Nt(ee,_e,E),Tn(g,!0);{Ie.ce&&Ie.ce._def.shadowRoot!==!1&&Ie.ce._injectChildStyle(je);const at=g.subTree=wl(g);T(null,at,w,$,g,B,F),E.el=at.el}if(be&&qe(be,B),!_t&&(ee=ue&&ue.onVnodeMounted)){const at=E;qe(()=>Nt(ee,_e,at),B)}(E.shapeFlag&256||_e&&sr(_e.vnode)&&_e.vnode.shapeFlag&256)&&g.a&&qe(g.a,B),g.isMounted=!0,E=w=$=null}};g.scope.on();const R=g.effect=new ou(z);g.scope.off();const W=g.update=R.run.bind(R),ce=g.job=R.runIfDirty.bind(R);ce.i=g,ce.id=g.uid,R.scheduler=()=>Yo(ce),Tn(g,!0),W()},I=(g,E,w)=>{E.component=g;const $=g.vnode.props;g.vnode=E,g.next=null,F_(g,E.props,$,w),W_(g,E.children,w),Ut(),hl(g),Gt()},K=(g,E,w,$,B,F,q,z,R=!1)=>{const W=g&&g.children,ce=g?g.shapeFlag:0,ee=E.children,{patchFlag:ae,shapeFlag:ue}=E;if(ae>0){if(ae&128){X(W,ee,w,$,B,F,q,z,R);return}else if(ae&256){G(W,ee,w,$,B,F,q,z,R);return}}ue&8?(ce&16&&ye(W,B,F),ee!==W&&f(w,ee)):ce&16?ue&16?X(W,ee,w,$,B,F,q,z,R):ye(W,B,F,!0):(ce&8&&f(w,""),ue&16&&A(ee,w,$,B,F,q,z,R))},G=(g,E,w,$,B,F,q,z,R)=>{g=g||tr,E=E||tr;const W=g.length,ce=E.length,ee=Math.min(W,ce);let ae;for(ae=0;aece?ye(g,B,F,!0,!1,ee):A(E,w,$,B,F,q,z,R,ee)},X=(g,E,w,$,B,F,q,z,R)=>{let W=0;const ce=E.length;let ee=g.length-1,ae=ce-1;for(;W<=ee&&W<=ae;){const ue=g[W],pe=E[W]=R?nn(E[W]):bt(E[W]);if(Dt(ue,pe))T(ue,pe,w,null,B,F,q,z,R);else break;W++}for(;W<=ee&&W<=ae;){const ue=g[ee],pe=E[ae]=R?nn(E[ae]):bt(E[ae]);if(Dt(ue,pe))T(ue,pe,w,null,B,F,q,z,R);else break;ee--,ae--}if(W>ee){if(W<=ae){const ue=ae+1,pe=ueae)for(;W<=ee;)ne(g[W],B,F,!0),W++;else{const ue=W,pe=W,be=new Map;for(W=pe;W<=ae;W++){const We=E[W]=R?nn(E[W]):bt(E[W]);We.key!=null&&be.set(We.key,W)}let _e,Ie=0;const je=ae-pe+1;let _t=!1,at=0;const pn=new Array(je);for(W=0;W=je){ne(We,B,F,!0);continue}let lt;if(We.key!=null)lt=be.get(We.key);else for(_e=pe;_e<=ae;_e++)if(pn[_e-pe]===0&&Dt(We,E[_e])){lt=_e;break}lt===void 0?ne(We,B,F,!0):(pn[lt-pe]=W+1,lt>=at?at=lt:_t=!0,T(We,E[lt],w,null,B,F,q,z,R),Ie++)}const ts=_t?q_(pn):tr;for(_e=ts.length-1,W=je-1;W>=0;W--){const We=pe+W,lt=E[We],Yt=E[We+1],ns=We+1{const{el:F,type:q,transition:z,children:R,shapeFlag:W}=g;if(W&6){re(g.component.subTree,E,w,$);return}if(W&128){g.suspense.move(E,w,$);return}if(W&64){q.move(g,E,w,oe);return}if(q===Xe){r(F,E,w);for(let ee=0;eez.enter(F),B);else{const{leave:ee,delayLeave:ae,afterLeave:ue}=z,pe=()=>{g.ctx.isUnmounted?s(F):r(F,E,w)},be=()=>{F._isLeaving&&F[Ht](!0),ee(F,()=>{pe(),ue&&ue()})};ae?ae(F,pe,be):be()}else r(F,E,w)},ne=(g,E,w,$=!1,B=!1)=>{const{type:F,props:q,ref:z,children:R,dynamicChildren:W,shapeFlag:ce,patchFlag:ee,dirs:ae,cacheIndex:ue}=g;if(ee===-2&&(B=!1),z!=null&&(Ut(),Vr(z,null,w,g,!0),Gt()),ue!=null&&(E.renderCache[ue]=void 0),ce&256){E.ctx.deactivate(g);return}const pe=ce&1&&ae,be=!sr(g);let _e;if(be&&(_e=q&&q.onVnodeBeforeUnmount)&&Nt(_e,E,g),ce&6)me(g.component,w,$);else{if(ce&128){g.suspense.unmount(w,$);return}pe&&An(g,null,E,"beforeUnmount"),ce&64?g.type.remove(g,E,w,oe,$):W&&!W.hasOnce&&(F!==Xe||ee>0&&ee&64)?ye(W,E,w,!1,!0):(F===Xe&&ee&384||!B&&ce&16)&&ye(R,E,w),$&&se(g)}(be&&(_e=q&&q.onVnodeUnmounted)||pe)&&qe(()=>{_e&&Nt(_e,E,g),pe&&An(g,null,E,"unmounted")},w)},se=g=>{const{type:E,el:w,anchor:$,transition:B}=g;if(E===Xe){de(w,$);return}if(E===xs){M(g);return}const F=()=>{s(w),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(g.shapeFlag&1&&B&&!B.persisted){const{leave:q,delayLeave:z}=B,R=()=>q(w,F);z?z(g.el,F,R):R()}else F()},de=(g,E)=>{let w;for(;g!==E;)w=p(g),s(g),g=w;s(E)},me=(g,E,w)=>{const{bum:$,scope:B,job:F,subTree:q,um:z,m:R,a:W}=g;Sl(R),Sl(W),$&&ws($),B.stop(),F&&(F.flags|=8,ne(q,g,E,w)),z&&qe(z,E),qe(()=>{g.isUnmounted=!0},E)},ye=(g,E,w,$=!1,B=!1,F=0)=>{for(let q=F;q{if(g.shapeFlag&6)return L(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const E=p(g.anchor||g.el),w=E&&E[Du];return w?p(w):E};let Q=!1;const Z=(g,E,w)=>{g==null?E._vnode&&ne(E._vnode,null,null,!0):T(E._vnode||null,g,E,null,null,null,w),E._vnode=g,Q||(Q=!0,hl(),xu(),Q=!1)},oe={p:T,um:ne,m:re,r:se,mt:he,mc:A,pc:K,pbc:S,n:L,o:e};return{render:Z,hydrate:void 0,createApp:M_(Z)}}function Fi({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 Tn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function G_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ra(e,t,n=!1){const r=e.children,s=t.children;if(le(r)&&le(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function af(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:af(t)}function Sl(e){if(e)for(let t=0;trt(Y_);function In(e,t,n){return lf(e,t,n)}function lf(e,t,n=Se){const{immediate:r,deep:s,flush:o,once:a}=n,l=$e({},n),c=t&&r||!t&&o!=="post";let d;if(hr){if(o==="sync"){const m=z_();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=At,m.resume=At,m.pause=At,m}}const f=He;l.call=(m,O,T)=>St(m,f,O,T);let h=!1;o==="post"?l.scheduler=m=>{qe(m,f&&f.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(m,O)=>{O?m():Yo(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=d_(e,t,l);return hr&&(d?d.push(p):c&&p()),p}function X_(e,t,n){const r=this.proxy,s=Oe(e)?e.includes(".")?cf(r,e):()=>r[e]:e.bind(r,r);let o;fe(t)?o=t:(o=t.handler,n=t);const a=kn(this),l=lf(s,o.bind(r),n);return a(),l}function cf(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${mt(t)}Modifiers`]||e[`${dn(t)}Modifiers`];function J_(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Se;let s=n;const o=t.startsWith("update:"),a=o&&Q_(r,t.slice(7));a&&(a.trim&&(s=n.map(f=>Oe(f)?f.trim():f)),a.number&&(s=n.map(Js)));let l,c=r[l=Di(t)]||r[l=Di(mt(t))];!c&&o&&(c=r[l=Di(dn(t))]),c&&St(c,e,6,s);const d=r[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,St(d,e,6,s)}}const Z_=new WeakMap;function uf(e,t,n=!1){const r=n?Z_:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let a={},l=!1;if(!fe(e)){const c=d=>{const f=uf(d,t,!0);f&&(l=!0,$e(a,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Ce(e)&&r.set(e,null),null):(le(o)?o.forEach(c=>a[c]=null):$e(a,o),Ce(e)&&r.set(e,a),a)}function ci(e,t){return!e||!zs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Te(e,t[0].toLowerCase()+t.slice(1))||Te(e,dn(t))||Te(e,t))}function wl(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:d,renderCache:f,props:h,data:p,setupState:m,ctx:O,inheritAttrs:T}=e,x=Vs(e);let P,V;try{if(n.shapeFlag&4){const M=s||r,b=M;P=bt(d.call(b,M,f,h,m,p,O)),V=l}else{const M=t;P=bt(M.length>1?M(h,{attrs:l,slots:a,emit:c}):M(h,null)),V=t.props?l:tv(l)}}catch(M){Hr.length=0,yr(M,e,1),P=Ne(ke)}let H=P;if(V&&T!==!1){const M=Object.keys(V),{shapeFlag:b}=H;M.length&&b&7&&(o&&M.some(Vo)&&(V=nv(V,o)),H=cn(H,V,!1,!0))}return n.dirs&&(H=cn(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&Mn(H,n.transition),P=H,Vs(x),P}function ev(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||zs(n))&&((t||(t={}))[n]=e[n]);return t},nv=(e,t)=>{const n={};for(const r in e)(!Vo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function rv(e,t,n){const{props:r,children:s,component:o}=e,{props:a,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ol(r,a,d):!!a;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;let fo=0;const sv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,a,l,c,d){if(e==null)ov(t,n,r,s,o,a,l,c,d);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}av(e,t,n,r,s,a,l,c,d)}},hydrate:lv,normalize:cv},iv=sv;function qr(e,t){const n=e.props&&e.props[t];fe(n)&&n()}function ov(e,t,n,r,s,o,a,l,c){const{p:d,o:{createElement:f}}=c,h=f("div"),p=e.suspense=df(e,s,r,t,h,n,o,a,l,c);d(null,p.pendingBranch=e.ssContent,h,null,r,p,o,a),p.deps>0?(qr(e,"onPending"),qr(e,"onFallback"),d(null,e.ssFallback,t,n,r,null,o,a),ir(p,e.ssFallback)):p.resolve(!1,!0)}function av(e,t,n,r,s,o,a,l,{p:c,um:d,o:{createElement:f}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const p=t.ssContent,m=t.ssFallback,{activeBranch:O,pendingBranch:T,isInFallback:x,isHydrating:P}=h;if(T)h.pendingBranch=p,Dt(T,p)?(c(T,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0?h.resolve():x&&(P||(c(O,m,n,r,s,null,o,a,l),ir(h,m)))):(h.pendingId=fo++,P?(h.isHydrating=!1,h.activeBranch=T):d(T,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=f("div"),x?(c(null,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0?h.resolve():(c(O,m,n,r,s,null,o,a,l),ir(h,m))):O&&Dt(O,p)?(c(O,p,n,r,s,h,o,a,l),h.resolve(!0)):(c(null,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0&&h.resolve()));else if(O&&Dt(O,p))c(O,p,n,r,s,h,o,a,l),ir(h,p);else if(qr(t,"onPending"),h.pendingBranch=p,p.shapeFlag&512?h.pendingId=p.component.suspenseId:h.pendingId=fo++,c(null,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0)h.resolve();else{const{timeout:V,pendingId:H}=h;V>0?setTimeout(()=>{h.pendingId===H&&h.fallback(m)},V):V===0&&h.fallback(m)}}function df(e,t,n,r,s,o,a,l,c,d,f=!1){const{p:h,m:p,um:m,n:O,o:{parentNode:T,remove:x}}=d;let P;const V=fv(e);V&&t&&t.pendingBranch&&(P=t.pendingId,t.deps++);const H=e.props?Zc(e.props.timeout):void 0,M=o,b={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:s,deps:0,pendingId:fo++,timeout:typeof H=="number"?H:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(y=!1,N=!1){const{vnode:A,activeBranch:C,pendingBranch:S,pendingId:U,effects:j,parentComponent:te,container:he,isInFallback:Ee}=b;let ie=!1;b.isHydrating?b.isHydrating=!1:y||(ie=C&&S.transition&&S.transition.mode==="out-in",ie&&(C.transition.afterLeave=()=>{U===b.pendingId&&(p(S,he,o===M?O(C):o,0),ks(j),Ee&&A.ssFallback&&(A.ssFallback.el=null))}),C&&(T(C.el)===he&&(o=O(C)),m(C,te,b,!0),!ie&&Ee&&A.ssFallback&&(A.ssFallback.el=null)),ie||p(S,he,o,0)),ir(b,S),b.pendingBranch=null,b.isInFallback=!1;let I=b.parent,K=!1;for(;I;){if(I.pendingBranch){I.effects.push(...j),K=!0;break}I=I.parent}!K&&!ie&&ks(j),b.effects=[],V&&t&&t.pendingBranch&&P===t.pendingId&&(t.deps--,t.deps===0&&!N&&t.resolve()),qr(A,"onResolve")},fallback(y){if(!b.pendingBranch)return;const{vnode:N,activeBranch:A,parentComponent:C,container:S,namespace:U}=b;qr(N,"onFallback");const j=O(A),te=()=>{b.isInFallback&&(h(null,y,S,j,C,null,U,l,c),ir(b,y))},he=y.transition&&y.transition.mode==="out-in";he&&(A.transition.afterLeave=te),b.isInFallback=!0,m(A,C,null,!0),he||te()},move(y,N,A){b.activeBranch&&p(b.activeBranch,y,N,A),b.container=y},next(){return b.activeBranch&&O(b.activeBranch)},registerDep(y,N,A){const C=!!b.pendingBranch;C&&b.deps++;const S=y.vnode.el;y.asyncDep.catch(U=>{yr(U,y,0)}).then(U=>{if(y.isUnmounted||b.isUnmounted||b.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:j}=y;go(y,U),S&&(j.el=S);const te=!S&&y.subTree.el;N(y,j,T(S||y.subTree.el),S?null:O(y.subTree),b,a,A),te&&(j.placeholder=null,x(te)),sa(y,j.el),C&&--b.deps===0&&b.resolve()})},unmount(y,N){b.isUnmounted=!0,b.activeBranch&&m(b.activeBranch,n,y,N),b.pendingBranch&&m(b.pendingBranch,n,y,N)}};return b}function lv(e,t,n,r,s,o,a,l,c){const d=t.suspense=df(t,r,n,e.parentNode,document.createElement("div"),null,s,o,a,l,!0),f=c(e,d.pendingBranch=t.ssContent,n,d,o,a);return d.deps===0&&d.resolve(!1,!0),f}function cv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Nl(r?n.default:n),e.ssFallback=r?Nl(n.fallback):Ne(ke)}function Nl(e){let t;if(fe(e)){const n=fr&&e._c;n&&(e._d=!1,It()),e=e(),n&&(e._d=!0,t=et,hf())}return le(e)&&(e=ev(e)),e=bt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function uv(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):ks(e)}function ir(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,sa(r,s))}function fv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Xe=Symbol.for("v-fgt"),ui=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),xs=Symbol.for("v-stc"),Hr=[];let et=null;function It(e=!1){Hr.push(et=e?null:[])}function hf(){Hr.pop(),et=Hr[Hr.length-1]||null}let fr=1;function Bs(e,t=!1){fr+=e,e<0&&et&&t&&(et.hasOnce=!0)}function pf(e){return e.dynamicChildren=fr>0?et||tr:null,hf(),fr>0&&et&&et.push(e),e}function As(e,t,n,r,s,o){return pf(er(e,t,n,r,s,o,!0))}function Yr(e,t,n,r,s){return pf(Ne(e,t,n,r,s,!0))}function dr(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const gf=({key:e})=>e??null,Rs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||Re(e)||fe(e)?{i:Be,r:e,k:t,f:!!n}:e:null);function er(e,t=null,n=null,r=0,s=null,o=e===Xe?0:1,a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gf(t),ref:t&&Rs(t),scopeId:Iu,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:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Be};return l?(ia(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Oe(n)?8:16),fr>0&&!a&&et&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&et.push(c),c}const Ne=dv;function dv(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===qu)&&(e=ke),dr(e)){const l=cn(e,t,!0);return n&&ia(l,n),fr>0&&!o&&et&&(l.shapeFlag&6?et[et.indexOf(e)]=l:et.push(l)),l.patchFlag=-2,l}if(Cv(e)&&(e=e.__vccOpts),t){t=hv(t);let{class:l,style:c}=t;l&&!Oe(l)&&(t.class=ti(l)),Ce(c)&&(qo(c)&&!le(c)&&(c=$e({},c)),t.style=ei(c))}const a=Oe(e)?1:ff(e)?128:Lu(e)?64:Ce(e)?4:fe(e)?2:0;return er(e,t,n,r,s,a,o,!0)}function hv(e){return e?qo(e)||ef(e)?$e({},e):e:null}function cn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:a,children:l,transition:c}=e,d=t?mv(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&gf(d),ref:t&&t.ref?n&&o?le(o)?o.concat(Rs(t)):[o,Rs(t)]:Rs(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!==Xe?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&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Mn(f,c.clone(f)),f}function pv(e=" ",t=0){return Ne(ui,null,e,t)}function gv(e="",t=!1){return t?(It(),Yr(ke,null,e)):Ne(ke,null,e)}function bt(e){return e==null||typeof e=="boolean"?Ne(ke):le(e)?Ne(Xe,null,e.slice()):dr(e)?nn(e):Ne(ui,null,String(e))}function nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function ia(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ia(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ef(t)?t._ctx=Be:s===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else fe(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),r&64?(n=16,t=[pv(t)]):n=8);e.children=t,e.shapeFlag|=n}function mv(...e){const t={};for(let n=0;nHe||Be;let js,ho;{const e=Zs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(a=>a(o)):s[0](o)}};js=t("__VUE_INSTANCE_SETTERS__",n=>He=n),ho=t("__VUE_SSR_SETTERS__",n=>hr=n)}const kn=e=>{const t=He;return js(e),e.scope.on(),()=>{e.scope.off(),js(t)}},po=()=>{He&&He.scope.off(),js(null)};function mf(e){return e.vnode.shapeFlag&4}let hr=!1;function yv(e,t=!1,n=!1){t&&ho(t);const{props:r,children:s}=e.vnode,o=mf(e);V_(e,r,o,t),j_(e,s,n||t);const a=o?bv(e,t):void 0;return t&&ho(!1),a}function bv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,N_);const{setup:r}=n;if(r){Ut();const s=e.setupContext=r.length>1?vf(e):null,o=kn(e),a=Zr(r,e,0,[e.props,s]),l=Ho(a);if(Gt(),o(),(l||e.sp)&&!sr(e)&&Qo(e),l){if(a.then(po,po),t)return a.then(c=>{go(e,c)}).catch(c=>{yr(c,e,0)});e.asyncDep=a}else go(e,a)}else _f(e)}function go(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=Su(t)),_f(e)}function _f(e,t,n){const r=e.type;e.render||(e.render=r.render||At);{const s=kn(e);Ut();try{R_(e)}finally{Gt(),s()}}}const Av={get(e,t){return Ue(e,"get",""),e[t]}};function vf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Av),slots:e.slots,emit:e.emit,expose:t}}function fi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Su(ii(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Fr)return Fr[n](e)},has(t,n){return n in t||n in Fr}})):e.proxy}function Tv(e,t=!0){return fe(e)?e.displayName||e.name:e.name||t&&e.__name}function Cv(e){return fe(e)&&"__vccOpts"in e}const dt=(e,t)=>u_(e,t,hr);function oa(e,t,n){try{Bs(-1);const r=arguments.length;return r===2?Ce(t)&&!le(t)?dr(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&dr(n)&&(n=[n]),Ne(e,t,n))}finally{Bs(1)}}const Sv="3.5.24";let mo;const xl=typeof window<"u"&&window.trustedTypes;if(xl)try{mo=xl.createPolicy("vue",{createHTML:e=>e})}catch{}const Ef=mo?e=>mo.createHTML(e):e=>e,wv="http://www.w3.org/2000/svg",Ov="http://www.w3.org/1998/Math/MathML",Ft=typeof document<"u"?document:null,Rl=Ft&&Ft.createElement("template"),Nv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ft.createElementNS(wv,e):t==="mathml"?Ft.createElementNS(Ov,e):n?Ft.createElement(e,{is:n}):Ft.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const a=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Rl.innerHTML=Ef(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Rl.content;if(r==="svg"||r==="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]}},Qt="transition",Nr="animation",pr=Symbol("_vtc"),yf={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},bf=$e({},ku,yf),xv=e=>(e.displayName="Transition",e.props=bf,e),Il=xv((e,{slots:t})=>oa(__,Af(e),t)),Cn=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},Dl=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function Af(e){const t={};for(const j in e)j in yf||(t[j]=e[j]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:d=a,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,O=Rv(s),T=O&&O[0],x=O&&O[1],{onBeforeEnter:P,onEnter:V,onEnterCancelled:H,onLeave:M,onLeaveCancelled:b,onBeforeAppear:y=P,onAppear:N=V,onAppearCancelled:A=H}=t,C=(j,te,he,Ee)=>{j._enterCancelled=Ee,Zt(j,te?f:l),Zt(j,te?d:a),he&&he()},S=(j,te)=>{j._isLeaving=!1,Zt(j,h),Zt(j,m),Zt(j,p),te&&te()},U=j=>(te,he)=>{const Ee=j?N:V,ie=()=>C(te,j,he);Cn(Ee,[te,ie]),Ll(()=>{Zt(te,j?c:o),xt(te,j?f:l),Dl(Ee)||Pl(te,r,T,ie)})};return $e(t,{onBeforeEnter(j){Cn(P,[j]),xt(j,o),xt(j,a)},onBeforeAppear(j){Cn(y,[j]),xt(j,c),xt(j,d)},onEnter:U(!1),onAppear:U(!0),onLeave(j,te){j._isLeaving=!0;const he=()=>S(j,te);xt(j,h),j._enterCancelled?(xt(j,p),_o(j)):(_o(j),xt(j,p)),Ll(()=>{j._isLeaving&&(Zt(j,h),xt(j,m),Dl(M)||Pl(j,r,x,he))}),Cn(M,[j,he])},onEnterCancelled(j){C(j,!1,void 0,!0),Cn(H,[j])},onAppearCancelled(j){C(j,!0,void 0,!0),Cn(A,[j])},onLeaveCancelled(j){S(j),Cn(b,[j])}})}function Rv(e){if(e==null)return null;if(Ce(e))return[Hi(e.enter),Hi(e.leave)];{const t=Hi(e);return[t,t]}}function Hi(e){return Zc(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[pr]||(e[pr]=new Set)).add(t)}function Zt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[pr];n&&(n.delete(t),n.size||(e[pr]=void 0))}function Ll(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Iv=0;function Pl(e,t,n,r){const s=e._endId=++Iv,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:c}=Tf(e,t);if(!a)return r();const d=a+"end";let f=0;const h=()=>{e.removeEventListener(d,p),o()},p=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[O]||"").split(", "),s=r(`${Qt}Delay`),o=r(`${Qt}Duration`),a=$l(s,o),l=r(`${Nr}Delay`),c=r(`${Nr}Duration`),d=$l(l,c);let f=null,h=0,p=0;t===Qt?a>0&&(f=Qt,h=a,p=o.length):t===Nr?d>0&&(f=Nr,h=d,p=c.length):(h=Math.max(a,d),f=h>0?a>d?Qt:Nr:null,p=f?f===Qt?o.length:c.length:0);const m=f===Qt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Qt}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:m}}function $l(e,t){for(;e.lengthMl(n)+Ml(e[r])))}function Ml(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function _o(e){return(e?e.ownerDocument:document).body.offsetHeight}function Dv(e,t,n){const r=e[pr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ws=Symbol("_vod"),Cf=Symbol("_vsh"),Db={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ws]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):xr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),xr(e,!0),r.enter(e)):r.leave(e,()=>{xr(e,!1)}):xr(e,t))},beforeUnmount(e,{value:t}){xr(e,t)}};function xr(e,t){e.style.display=t?e[Ws]:"none",e[Cf]=!t}const Sf=Symbol("");function Lb(e){const t=hn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Ks(o,s))},r=()=>{const s=e(t.proxy);t.ce?Ks(t.ce,s):vo(t.subTree,s),n(s)};Ku(()=>{ks(r)}),Jo(()=>{In(r,At,{flush:"post"});const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),li(()=>s.disconnect())})}function vo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{vo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ks(e.el,t);else if(e.type===Xe)e.children.forEach(n=>vo(n,t));else if(e.type===xs){let{el:n,anchor:r}=e;for(;n&&(Ks(n,t),n!==r);)n=n.nextSibling}}function Ks(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t){const o=km(t[s]);n.setProperty(`--${s}`,o),r+=`--${s}: ${o};`}n[Sf]=r}}const Lv=/(?:^|;)\s*display\s*:/;function Pv(e,t,n){const r=e.style,s=Oe(n);let o=!1;if(n&&!s){if(t)if(Oe(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Is(r,l,"")}else for(const a in t)n[a]==null&&Is(r,a,"");for(const a in n)a==="display"&&(o=!0),Is(r,a,n[a])}else if(s){if(t!==n){const a=r[Sf];a&&(n+=";"+a),r.cssText=n,o=Lv.test(n)}}else t&&e.removeAttribute("style");Ws in e&&(e[Ws]=o?r.display:"",e[Cf]&&(r.display="none"))}const kl=/\s*!important$/;function Is(e,t,n){if(le(n))n.forEach(r=>Is(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=$v(e,t);kl.test(n)?e.setProperty(dn(r),n.replace(kl,""),"important"):e[r]=n}}const Vl=["Webkit","Moz","ms"],Bi={};function $v(e,t){const n=Bi[t];if(n)return n;let r=mt(t);if(r!=="filter"&&r in e)return Bi[t]=r;r=Qs(r);for(let s=0;sji||(Fv.then(()=>ji=0),ji=Date.now());function Bv(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;St(jv(r,n.value),t,5,[r])};return n.value=e,n.attached=Hv(),n}function jv(e,t){if(le(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Kl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wv=(e,t,n,r,s,o)=>{const a=s==="svg";t==="class"?Dv(e,r,a):t==="style"?Pv(e,n,r):zs(t)?Vo(t)||kv(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kv(e,t,r,a))?(Bl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Hl(e,t,r,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?Bl(e,mt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Hl(e,t,r,a))};function Kv(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kl(t)&&fe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Kl(t)&&Oe(n)?!1:t in e}const wf=new WeakMap,Of=new WeakMap,Us=Symbol("_moveCb"),Ul=Symbol("_enterCb"),Uv=e=>(delete e.props.mode,e),Gv=Uv({name:"TransitionGroup",props:$e({},bf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=hn(),r=Mu();let s,o;return Uu(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Xv(s[0].el,n.vnode.el,a)){s=[];return}s.forEach(qv),s.forEach(Yv);const l=s.filter(zv);_o(n.vnode.el),l.forEach(c=>{const d=c.el,f=d.style;xt(d,a),f.transform=f.webkitTransform=f.transitionDuration="";const h=d[Us]=p=>{p&&p.target!==d||(!p||p.propertyName.endsWith("transform"))&&(d.removeEventListener("transitionend",h),d[Us]=null,Zt(d,a))};d.addEventListener("transitionend",h)}),s=[]}),()=>{const a=ve(e),l=Af(a);let c=a.tag||Xe;if(s=[],o)for(let d=0;d{l.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=Tf(r);return o.removeChild(r),a}const un=e=>{const t=e.props["onUpdate:modelValue"]||!1;return le(t)?n=>ws(t,n):t};function Qv(e){e.target.composing=!0}function Gl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gt=Symbol("_assign");function ql(e,t,n){return t&&(e=e.trim()),n&&(e=Js(e)),e}const Yl={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[gt]=un(s);const o=r||s.props&&s.props.type==="number";Wt(e,t?"change":"input",a=>{a.target.composing||e[gt](ql(e.value,n,o))}),(n||o)&&Wt(e,"change",()=>{e.value=ql(e.value,n,o)}),t||(Wt(e,"compositionstart",Qv),Wt(e,"compositionend",Gl),Wt(e,"change",Gl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},a){if(e[gt]=un(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Js(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Jv={deep:!0,created(e,t,n){e[gt]=un(n),Wt(e,"change",()=>{const r=e._modelValue,s=gr(e),o=e.checked,a=e[gt];if(le(r)){const l=jo(r,s),c=l!==-1;if(o&&!c)a(r.concat(s));else if(!o&&c){const d=[...r];d.splice(l,1),a(d)}}else if(Er(r)){const l=new Set(r);o?l.add(s):l.delete(s),a(l)}else a(Nf(e,o))})},mounted:zl,beforeUpdate(e,t,n){e[gt]=un(n),zl(e,t,n)}};function zl(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(le(t))s=jo(t,r.props.value)>-1;else if(Er(t))s=t.has(r.props.value);else{if(t===n)return;s=$n(t,Nf(e,!0))}e.checked!==s&&(e.checked=s)}const Zv={created(e,{value:t},n){e.checked=$n(t,n.props.value),e[gt]=un(n),Wt(e,"change",()=>{e[gt](gr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[gt]=un(r),t!==n&&(e.checked=$n(t,r.props.value))}},eE={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Er(t);Wt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Js(gr(a)):gr(a));e[gt](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,oi(()=>{e._assigning=!1})}),e[gt]=un(r)},mounted(e,{value:t}){Xl(e,t)},beforeUpdate(e,t,n){e[gt]=un(n)},updated(e,{value:t}){e._assigning||Xl(e,t)}};function Xl(e,t){const n=e.multiple,r=le(t);if(!(n&&!r&&!Er(t))){for(let s=0,o=e.options.length;sString(d)===String(l)):a.selected=jo(t,l)>-1}else a.selected=t.has(l);else if($n(gr(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function gr(e){return"_value"in e?e._value:e.value}function Nf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const $b={created(e,t,n){Ts(e,t,n,null,"created")},mounted(e,t,n){Ts(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ts(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ts(e,t,n,r,"updated")}};function tE(e,t){switch(e){case"SELECT":return eE;case"TEXTAREA":return Yl;default:switch(t){case"checkbox":return Jv;case"radio":return Zv;default:return Yl}}}function Ts(e,t,n,r,s){const a=tE(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,r)}const nE=["ctrl","shift","alt","meta"],rE={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)=>nE.some(n=>e[`${n}Key`]&&!t.includes(n))},Mb=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=dn(s.key);if(t.some(a=>a===o||sE[a]===o))return e(s)}))},iE=$e({patchProp:Wv},Nv);let Ql;function oE(){return Ql||(Ql=K_(iE))}const aE=((...e)=>{const t=oE().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=cE(r);if(!s)return;const o=t._component;!fe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,lE(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t});function lE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function cE(e){return Oe(e)?document.querySelector(e):e}let xf;const di=e=>xf=e,Rf=Symbol();function Eo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Br;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Br||(Br={}));function uE(){const e=su(!0),t=e.run(()=>xn({}));let n=[],r=[];const s=ii({install(o){di(s),s._a=o,o.provide(Rf,s),o.config.globalProperties.$pinia=s,r.forEach(a=>n.push(a)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const If=()=>{};function Jl(e,t,n,r=If){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&iu()&&Vm(s),s}function zn(e,...t){e.slice().forEach(n=>{n(...t)})}const fE=e=>e(),Zl=Symbol(),Wi=Symbol();function yo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Eo(s)&&Eo(r)&&e.hasOwnProperty(n)&&!Re(r)&&!an(r)?e[n]=yo(s,r):e[n]=r}return e}const dE=Symbol();function hE(e){return!Eo(e)||!Object.prototype.hasOwnProperty.call(e,dE)}const{assign:en}=Object;function pE(e){return!!(Re(e)&&e.effect)}function gE(e,t,n,r){const{state:s,actions:o,getters:a}=t,l=n.state.value[e];let c;function d(){l||(n.state.value[e]=s?s():{});const f=o_(n.state.value[e]);return en(f,o,Object.keys(a||{}).reduce((h,p)=>(h[p]=ii(dt(()=>{di(n);const m=n._s.get(e);return a[p].call(m,m)})),h),{}))}return c=Df(e,d,t,n,r,!0),c}function Df(e,t,n={},r,s,o){let a;const l=en({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],m;const O=r.state.value[e];!o&&!O&&(r.state.value[e]={}),xn({});let T;function x(A){let C;d=f=!1,typeof A=="function"?(A(r.state.value[e]),C={type:Br.patchFunction,storeId:e,events:m}):(yo(r.state.value[e],A),C={type:Br.patchObject,payload:A,storeId:e,events:m});const S=T=Symbol();oi().then(()=>{T===S&&(d=!0)}),f=!0,zn(h,C,r.state.value[e])}const P=o?function(){const{state:C}=n,S=C?C():{};this.$patch(U=>{en(U,S)})}:If;function V(){a.stop(),h=[],p=[],r._s.delete(e)}const H=(A,C="")=>{if(Zl in A)return A[Wi]=C,A;const S=function(){di(r);const U=Array.from(arguments),j=[],te=[];function he(I){j.push(I)}function Ee(I){te.push(I)}zn(p,{args:U,name:S[Wi],store:b,after:he,onError:Ee});let ie;try{ie=A.apply(this&&this.$id===e?this:b,U)}catch(I){throw zn(te,I),I}return ie instanceof Promise?ie.then(I=>(zn(j,I),I)).catch(I=>(zn(te,I),Promise.reject(I))):(zn(j,ie),ie)};return S[Zl]=!0,S[Wi]=C,S},M={_p:r,$id:e,$onAction:Jl.bind(null,p),$patch:x,$reset:P,$subscribe(A,C={}){const S=Jl(h,A,C.detached,()=>U()),U=a.run(()=>In(()=>r.state.value[e],j=>{(C.flush==="sync"?f:d)&&A({storeId:e,type:Br.direct,events:m},j)},en({},c,C)));return S},$dispose:V},b=Jr(M);r._s.set(e,b);const N=(r._a&&r._a.runWithContext||fE)(()=>r._e.run(()=>(a=su()).run(()=>t({action:H}))));for(const A in N){const C=N[A];if(Re(C)&&!pE(C)||an(C))o||(O&&hE(C)&&(Re(C)?C.value=O[A]:yo(C,O[A])),r.state.value[e][A]=C);else if(typeof C=="function"){const S=H(C,A);N[A]=S,l.actions[A]=C}}return en(b,N),en(ve(b),N),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:A=>{x(C=>{en(C,A)})}}),r._p.forEach(A=>{en(b,a.run(()=>A({store:b,app:r._a,pinia:r,options:l})))}),O&&o&&n.hydrate&&n.hydrate(b.$state,O),d=!0,f=!0,b}function Lf(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(a,l){const c=k_();return a=a||(c?rt(Rf,null):null),a&&di(a),a=xf,a._s.has(e)||(s?Df(e,t,r,a):gE(e,r,a)),a._s.get(e)}return o.$id=e,o}const mE="/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-512x512.png";const Zn=typeof document<"u";function Pf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _E(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Pf(e.default)}const Ae=Object.assign;function Ki(e,t){const n={};for(const r in t){const s=t[r];n[r]=wt(s)?s.map(e):e(s)}return n}const jr=()=>{},wt=Array.isArray;function ec(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const $f=/#/g,vE=/&/g,EE=/\//g,yE=/=/g,bE=/\?/g,Mf=/\+/g,AE=/%5B/g,TE=/%5D/g,kf=/%5E/g,CE=/%60/g,Vf=/%7B/g,SE=/%7C/g,Ff=/%7D/g,wE=/%20/g;function aa(e){return e==null?"":encodeURI(""+e).replace(SE,"|").replace(AE,"[").replace(TE,"]")}function OE(e){return aa(e).replace(Vf,"{").replace(Ff,"}").replace(kf,"^")}function bo(e){return aa(e).replace(Mf,"%2B").replace(wE,"+").replace($f,"%23").replace(vE,"%26").replace(CE,"`").replace(Vf,"{").replace(Ff,"}").replace(kf,"^")}function NE(e){return bo(e).replace(yE,"%3D")}function xE(e){return aa(e).replace($f,"%23").replace(bE,"%3F")}function RE(e){return xE(e).replace(EE,"%2F")}function zr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const IE=/\/$/,DE=e=>e.replace(IE,"");function Ui(e,t,n="/"){let r,s={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(r=t.slice(0,c),o=t.slice(c,l>0?l:t.length),s=e(o.slice(1))),l>=0&&(r=r||t.slice(0,l),a=t.slice(l,t.length)),r=ME(r??t,n),{fullPath:r+o+a,path:r,query:s,hash:zr(a)}}function LE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function tc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function PE(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&mr(t.matched[r],n.matched[s])&&Hf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function mr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Hf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!$E(e[n],t[n]))return!1;return!0}function $E(e,t){return wt(e)?nc(e,t):wt(t)?nc(t,e):e===t}function nc(e,t){return wt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ME(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const Jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ao=(function(e){return e.pop="pop",e.push="push",e})({}),Gi=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function kE(e){if(!e)if(Zn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DE(e)}const VE=/^[^#]+#/;function FE(e,t){return e.replace(VE,"#")+t}function HE(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const hi=()=>({left:window.scrollX,top:window.scrollY});function BE(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=HE(s,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 rc(e,t){return(history.state?history.state.position-t:-1)+e}const To=new Map;function jE(e,t){To.set(e,t)}function WE(e){const t=To.get(e);return To.delete(e),t}function KE(e){return typeof e=="string"||e&&typeof e=="object"}function Bf(e){return typeof e=="string"||typeof e=="symbol"}let xe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const jf=Symbol("");xe.MATCHER_NOT_FOUND+"",xe.NAVIGATION_GUARD_REDIRECT+"",xe.NAVIGATION_ABORTED+"",xe.NAVIGATION_CANCELLED+"",xe.NAVIGATION_DUPLICATED+"";function _r(e,t){return Ae(new Error,{type:e,[jf]:!0},t)}function Vt(e,t){return e instanceof Error&&jf in e&&(t==null||!!(e.type&t))}const UE=["params","query","hash"];function GE(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of UE)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function qE(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&bo(s)):[r&&bo(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function YE(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=wt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Wf=Symbol(""),ic=Symbol(""),pi=Symbol(""),la=Symbol(""),Co=Symbol("");function Rr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function zE(e,t,n){const r=()=>{e[t].delete(n)};li(r),ju(r),Bu(()=>{e[t].add(n)}),e[t].add(n)}function Vb(e){const t=rt(Wf,{}).value;t&&zE(t,"updateGuards",e)}function rn(e,t,n,r,s,o=a=>a()){const a=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(_r(xe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):KE(p)?c(_r(xe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(a&&r.enterCallbacks[s]===a&&typeof p=="function"&&a.push(p),l())},f=o(()=>e.call(r&&r.instances[s],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(p=>c(p))})}function qi(e,t,n,r,s=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(Pf(c)){const d=(c.__vccOpts||c)[t];d&&o.push(rn(d,n,r,a,l,s))}else{let d=c();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const h=_E(f)?f.default:f;a.mods[l]=f,a.components[l]=h;const p=(h.__vccOpts||h)[t];return p&&rn(p,n,r,a,l,s)()}))}}return o}function XE(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;amr(d,l))?r.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(d=>mr(d,c))||s.push(c))}return[n,r,s]}let QE=()=>location.protocol+"//"+location.host;function Kf(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),tc(l,"")}return tc(n,e)+r+s}function JE(e,t,n,r){let s=[],o=[],a=null;const l=({state:p})=>{const m=Kf(e,location),O=n.value,T=t.value;let x=0;if(p){if(n.value=m,t.value=p,a&&a===O){a=null;return}x=T?p.position-T.position:0}else r(m);s.forEach(P=>{P(n.value,O,{delta:x,type:Ao.pop,direction:x?x>0?Gi.forward:Gi.back:Gi.unknown})})};function c(){a=n.value}function d(p){s.push(p);const m=()=>{const O=s.indexOf(p);O>-1&&s.splice(O,1)};return o.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Ae({},p.state,{scroll:hi()}),"")}}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:c,listen:d,destroy:h}}function oc(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?hi():null}}function ZE(e){const{history:t,location:n}=window,r={value:Kf(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:QE()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),s.value=d}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function a(c,d){o(c,Ae({},t.state,oc(s.value.back,c,s.value.forward,!0),d,{position:s.value.position}),!0),r.value=c}function l(c,d){const f=Ae({},s.value,t.state,{forward:c,scroll:hi()});o(f.current,f,!0),o(c,Ae({},oc(r.value,c,null),{position:f.position+1},d),!1),r.value=c}return{location:r,state:s,push:l,replace:a}}function ey(e){e=kE(e);const t=ZE(e),n=JE(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=Ae({location:"",base:e,go:r,createHref:FE.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function ty(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ey(e)}let wn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Pe=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Pe||{});const ny={type:wn.Static,value:""},ry=/[a-zA-Z0-9_]/;function sy(e){if(!e)return[[]];if(e==="/")return[[ny]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=Pe.Static,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===Pe.Static?o.push({type:wn.Static,value:d}):n===Pe.Param||n===Pe.ParamRegExp||n===Pe.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:wn.Param,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;lt.length?t.length===1&&t[0]===Ye.Static+Ye.Segment?1:-1:0}function Uf(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const cy={strict:!1,end:!0,sensitive:!1};function uy(e,t,n){const r=ay(sy(e.path),n),s=Ae(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function fy(e,t){const n=[],r=new Map;t=ec(cy,t);function s(h){return r.get(h)}function o(h,p,m){const O=!m,T=uc(h);T.aliasOf=m&&m.record;const x=ec(t,h),P=[T];if("alias"in h){const M=typeof h.alias=="string"?[h.alias]:h.alias;for(const b of M)P.push(uc(Ae({},T,{components:m?m.record.components:T.components,path:b,aliasOf:m?m.record:T})))}let V,H;for(const M of P){const{path:b}=M;if(p&&b[0]!=="/"){const y=p.record.path,N=y[y.length-1]==="/"?"":"/";M.path=p.record.path+(b&&N+b)}if(V=uy(M,p,x),m?m.alias.push(V):(H=H||V,H!==V&&H.alias.push(V),O&&h.name&&!fc(V)&&a(h.name)),Gf(V)&&c(V),T.children){const y=T.children;for(let N=0;N{a(H)}:jr}function a(h){if(Bf(h)){const p=r.get(h);p&&(r.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function l(){return n}function c(h){const p=py(h,n);n.splice(p,0,h),h.record.name&&!fc(h)&&r.set(h.record.name,h)}function d(h,p){let m,O={},T,x;if("name"in h&&h.name){if(m=r.get(h.name),!m)throw _r(xe.MATCHER_NOT_FOUND,{location:h});x=m.record.name,O=Ae(cc(p.params,m.keys.filter(H=>!H.optional).concat(m.parent?m.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),h.params&&cc(h.params,m.keys.map(H=>H.name))),T=m.stringify(O)}else if(h.path!=null)T=h.path,m=n.find(H=>H.re.test(T)),m&&(O=m.parse(T),x=m.record.name);else{if(m=p.name?r.get(p.name):n.find(H=>H.re.test(p.path)),!m)throw _r(xe.MATCHER_NOT_FOUND,{location:h,currentLocation:p});x=m.record.name,O=Ae({},p.params,h.params),T=m.stringify(O)}const P=[];let V=m;for(;V;)P.unshift(V.record),V=V.parent;return{name:x,path:T,params:O,matched:P,meta:hy(P)}}e.forEach(h=>o(h));function f(){n.length=0,r.clear()}return{addRoute:o,resolve:d,removeRoute:a,clearRoutes:f,getRoutes:l,getRecordMatcher:s}}function cc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function uc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:dy(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 dy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function fc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hy(e){return e.reduce((t,n)=>Ae(t,n.meta),{})}function py(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Uf(e,t[o])<0?r=o:n=o+1}const s=gy(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function gy(e){let t=e;for(;t=t.parent;)if(Gf(t)&&Uf(e,t)===0)return t}function Gf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function dc(e){const t=rt(pi),n=rt(la),r=dt(()=>{const c=nt(e.to);return t.resolve(c)}),s=dt(()=>{const{matched:c}=r.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(mr.bind(null,f));if(p>-1)return p;const m=hc(c[d-2]);return d>1&&hc(f)===m&&h[h.length-1].path!==m?h.findIndex(mr.bind(null,c[d-2])):p}),o=dt(()=>s.value>-1&&yy(n.params,r.value.params)),a=dt(()=>s.value>-1&&s.value===n.matched.length-1&&Hf(n.params,r.value.params));function l(c={}){if(Ey(c)){const d=t[nt(e.replace)?"replace":"push"](nt(e.to)).catch(jr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:r,href:dt(()=>r.value.href),isActive:o,isExactActive:a,navigate:l}}function my(e){return e.length===1?e[0]:e}const _y=Xo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:dc,setup(e,{slots:t}){const n=Jr(dc(e)),{options:r}=rt(pi),s=dt(()=>({[pc(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[pc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&my(t.default(n));return e.custom?o:oa("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),vy=_y;function Ey(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 yy(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!wt(s)||s.length!==r.length||r.some((o,a)=>o!==s[a]))return!1}return!0}function hc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const pc=(e,t,n)=>e??t??n,by=Xo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=rt(Co),s=dt(()=>e.route||r.value),o=rt(ic,0),a=dt(()=>{let d=nt(o);const{matched:f}=s.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=dt(()=>s.value.matched[a.value]);Ns(ic,dt(()=>a.value+1)),Ns(Wf,l),Ns(Co,s);const c=xn();return In(()=>[c.value,l.value,e.name],([d,f,h],[p,m,O])=>{f&&(f.instances[h]=d,m&&m!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),d&&f&&(!m||!mr(f,m)||!p)&&(f.enterCallbacks[h]||[]).forEach(T=>T(d))},{flush:"post"}),()=>{const d=s.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return gc(n.default,{Component:p,route:d});const m=h.props[f],O=m?m===!0?d.params:typeof m=="function"?m(d):m:null,x=oa(p,Ae({},O,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return gc(n.default,{Component:x,route:d})||x}}});function gc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const qf=by;function Ay(e){const t=fy(e.routes,e),n=e.parseQuery||qE,r=e.stringifyQuery||sc,s=e.history,o=Rr(),a=Rr(),l=Rr(),c=Tu(Jt);let d=Jt;Zn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Ki.bind(null,L=>""+L),h=Ki.bind(null,RE),p=Ki.bind(null,zr);function m(L,Q){let Z,oe;return Bf(L)?(Z=t.getRecordMatcher(L),oe=Q):oe=L,t.addRoute(oe,Z)}function O(L){const Q=t.getRecordMatcher(L);Q&&t.removeRoute(Q)}function T(){return t.getRoutes().map(L=>L.record)}function x(L){return!!t.getRecordMatcher(L)}function P(L,Q){if(Q=Ae({},Q||c.value),typeof L=="string"){const w=Ui(n,L,Q.path),$=t.resolve({path:w.path},Q),B=s.createHref(w.fullPath);return Ae(w,$,{params:p($.params),hash:zr(w.hash),redirectedFrom:void 0,href:B})}let Z;if(L.path!=null)Z=Ae({},L,{path:Ui(n,L.path,Q.path).path});else{const w=Ae({},L.params);for(const $ in w)w[$]==null&&delete w[$];Z=Ae({},L,{params:h(w)}),Q.params=h(Q.params)}const oe=t.resolve(Z,Q),D=L.hash||"";oe.params=f(p(oe.params));const g=LE(r,Ae({},L,{hash:OE(D),path:oe.path})),E=s.createHref(g);return Ae({fullPath:g,hash:D,query:r===sc?YE(L.query):L.query||{}},oe,{redirectedFrom:void 0,href:E})}function V(L){return typeof L=="string"?Ui(n,L,c.value.path):Ae({},L)}function H(L,Q){if(d!==L)return _r(xe.NAVIGATION_CANCELLED,{from:Q,to:L})}function M(L){return N(L)}function b(L){return M(Ae(V(L),{replace:!0}))}function y(L,Q){const Z=L.matched[L.matched.length-1];if(Z&&Z.redirect){const{redirect:oe}=Z;let D=typeof oe=="function"?oe(L,Q):oe;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=V(D):{path:D},D.params={}),Ae({query:L.query,hash:L.hash,params:D.path!=null?{}:L.params},D)}}function N(L,Q){const Z=d=P(L),oe=c.value,D=L.state,g=L.force,E=L.replace===!0,w=y(Z,oe);if(w)return N(Ae(V(w),{state:typeof w=="object"?Ae({},D,w.state):D,force:g,replace:E}),Q||Z);const $=Z;$.redirectedFrom=Q;let B;return!g&&PE(r,oe,Z)&&(B=_r(xe.NAVIGATION_DUPLICATED,{to:$,from:oe}),re(oe,oe,!0,!1)),(B?Promise.resolve(B):S($,oe)).catch(F=>Vt(F)?Vt(F,xe.NAVIGATION_GUARD_REDIRECT)?F:X(F):K(F,$,oe)).then(F=>{if(F){if(Vt(F,xe.NAVIGATION_GUARD_REDIRECT))return N(Ae({replace:E},V(F.to),{state:typeof F.to=="object"?Ae({},D,F.to.state):D,force:g}),Q||$)}else F=j($,oe,!0,E,D);return U($,oe,F),F})}function A(L,Q){const Z=H(L,Q);return Z?Promise.reject(Z):Promise.resolve()}function C(L){const Q=de.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(L):L()}function S(L,Q){let Z;const[oe,D,g]=XE(L,Q);Z=qi(oe.reverse(),"beforeRouteLeave",L,Q);for(const w of oe)w.leaveGuards.forEach($=>{Z.push(rn($,L,Q))});const E=A.bind(null,L,Q);return Z.push(E),ye(Z).then(()=>{Z=[];for(const w of o.list())Z.push(rn(w,L,Q));return Z.push(E),ye(Z)}).then(()=>{Z=qi(D,"beforeRouteUpdate",L,Q);for(const w of D)w.updateGuards.forEach($=>{Z.push(rn($,L,Q))});return Z.push(E),ye(Z)}).then(()=>{Z=[];for(const w of g)if(w.beforeEnter)if(wt(w.beforeEnter))for(const $ of w.beforeEnter)Z.push(rn($,L,Q));else Z.push(rn(w.beforeEnter,L,Q));return Z.push(E),ye(Z)}).then(()=>(L.matched.forEach(w=>w.enterCallbacks={}),Z=qi(g,"beforeRouteEnter",L,Q,C),Z.push(E),ye(Z))).then(()=>{Z=[];for(const w of a.list())Z.push(rn(w,L,Q));return Z.push(E),ye(Z)}).catch(w=>Vt(w,xe.NAVIGATION_CANCELLED)?w:Promise.reject(w))}function U(L,Q,Z){l.list().forEach(oe=>C(()=>oe(L,Q,Z)))}function j(L,Q,Z,oe,D){const g=H(L,Q);if(g)return g;const E=Q===Jt,w=Zn?history.state:{};Z&&(oe||E?s.replace(L.fullPath,Ae({scroll:E&&w&&w.scroll},D)):s.push(L.fullPath,D)),c.value=L,re(L,Q,Z,E),X()}let te;function he(){te||(te=s.listen((L,Q,Z)=>{if(!me.listening)return;const oe=P(L),D=y(oe,me.currentRoute.value);if(D){N(Ae(D,{replace:!0,force:!0}),oe).catch(jr);return}d=oe;const g=c.value;Zn&&jE(rc(g.fullPath,Z.delta),hi()),S(oe,g).catch(E=>Vt(E,xe.NAVIGATION_ABORTED|xe.NAVIGATION_CANCELLED)?E:Vt(E,xe.NAVIGATION_GUARD_REDIRECT)?(N(Ae(V(E.to),{force:!0}),oe).then(w=>{Vt(w,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&!Z.delta&&Z.type===Ao.pop&&s.go(-1,!1)}).catch(jr),Promise.reject()):(Z.delta&&s.go(-Z.delta,!1),K(E,oe,g))).then(E=>{E=E||j(oe,g,!1),E&&(Z.delta&&!Vt(E,xe.NAVIGATION_CANCELLED)?s.go(-Z.delta,!1):Z.type===Ao.pop&&Vt(E,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),U(oe,g,E)}).catch(jr)}))}let Ee=Rr(),ie=Rr(),I;function K(L,Q,Z){X(L);const oe=ie.list();return oe.length?oe.forEach(D=>D(L,Q,Z)):console.error(L),Promise.reject(L)}function G(){return I&&c.value!==Jt?Promise.resolve():new Promise((L,Q)=>{Ee.add([L,Q])})}function X(L){return I||(I=!L,he(),Ee.list().forEach(([Q,Z])=>L?Z(L):Q()),Ee.reset()),L}function re(L,Q,Z,oe){const{scrollBehavior:D}=e;if(!Zn||!D)return Promise.resolve();const g=!Z&&WE(rc(L.fullPath,0))||(oe||!Z)&&history.state&&history.state.scroll||null;return oi().then(()=>D(L,Q,g)).then(E=>E&&BE(E)).catch(E=>K(E,L,Q))}const ne=L=>s.go(L);let se;const de=new Set,me={currentRoute:c,listening:!0,addRoute:m,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:T,resolve:P,options:e,push:M,replace:b,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:ie.add,isReady:G,install(L){L.component("RouterLink",vy),L.component("RouterView",qf),L.config.globalProperties.$router=me,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>nt(c)}),Zn&&!se&&c.value===Jt&&(se=!0,M(s.location).catch(oe=>{}));const Q={};for(const oe in Jt)Object.defineProperty(Q,oe,{get:()=>c.value[oe],enumerable:!0});L.provide(pi,me),L.provide(la,Au(Q)),L.provide(Co,c);const Z=L.unmount;de.add(L),L.unmount=function(){de.delete(L),de.size<1&&(d=Jt,te&&te(),te=null,c.value=Jt,se=!1,I=!1),Z()}}};function ye(L){return L.reduce((Q,Z)=>Q.then(()=>C(Z)),Promise.resolve())}return me}function Fb(){return rt(pi)}function Ty(e){return rt(la)}const Cy="modulepreload",Sy=function(e){return"/static/dist/WGDashboardAdmin/"+e},mc={},De=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=c(n.map(d=>{if(d=Sy(d),d in mc)return;mc[d]=!0;const f=d.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":Cy,f||(p.as="script"),p.crossOrigin="",p.href=d,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((m,O)=>{p.addEventListener("load",m),p.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return s.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},_c="[a-fA-F\\d:]",sn=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${_c})|(?<=${_c})(?=\\s|$))`:"",yt="(?: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}",Le="[a-fA-F\\d]{1,4}",gi=` (?: (?:${Le}:){7}(?:${Le}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 (?:${Le}:){6}(?:${yt}|:${Le}|:)| // 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 (?:${Le}:){5}(?::${yt}|(?::${Le}){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 (?:${Le}:){4}(?:(?::${Le}){0,1}:${yt}|(?::${Le}){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 (?:${Le}:){3}(?:(?::${Le}){0,2}:${yt}|(?::${Le}){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 (?:${Le}:){2}(?:(?::${Le}){0,3}:${yt}|(?::${Le}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 (?:${Le}:){1}(?:(?::${Le}){0,4}:${yt}|(?::${Le}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 (?::(?:(?::${Le}){0,5}:${yt}|(?::${Le}){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(),wy=new RegExp(`(?:^${yt}$)|(?:^${gi}$)`),Oy=new RegExp(`^${yt}$`),Ny=new RegExp(`^${gi}$`),mi=e=>e&&e.exact?wy:new RegExp(`(?:${sn(e)}${yt}${sn(e)})|(?:${sn(e)}${gi}${sn(e)})`,"g");mi.v4=e=>e&&e.exact?Oy:new RegExp(`${sn(e)}${yt}${sn(e)}`,"g");mi.v6=e=>e&&e.exact?Ny:new RegExp(`${sn(e)}${gi}${sn(e)}`,"g");const Yf={exact:!1},zf=`${mi.v4().source}\\/(3[0-2]|[12]?[0-9])`,Xf=`${mi.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,xy=new RegExp(`^${zf}$`),Ry=new RegExp(`^${Xf}$`),Iy=({exact:e}=Yf)=>e?xy:new RegExp(zf,"g"),Dy=({exact:e}=Yf)=>e?Ry:new RegExp(Xf,"g"),Qf=Iy({exact:!0}),Jf=Dy({exact:!0}),ca=e=>Qf.test(e)?4:Jf.test(e)?6:0;ca.v4=e=>Qf.test(e);ca.v6=e=>Jf.test(e);const tt=e=>{const t=Vn();if(t.Locale===null)return e;const r=Object.keys(t.Locale).filter(s=>e.match(new RegExp("^"+s+"$","gi"))!==null);return r.length===0||r.length>1||t.Locale[r[0]].length===0?e:e.replace(new RegExp(r[0],"gi"),t.Locale[r[0]])};var Yi={},zi,vc;function Ly(){return vc||(vc=1,zi={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),zi}var Xi,Ec;function Py(){if(Ec)return Xi;Ec=1;var e={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:Math.PI*2},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:1/1e3},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:1/1e3,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};return Xi=function(t,n,r,s){if(!e.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!e[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);var o=e[r][n]*t;return s!==!1?(s=Math.pow(10,parseInt(s)||5),Math.round(o*s)/s):o},Xi}var yc;function $y(){return yc||(yc=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.fromRgba=A,e.fromRgb=C,e.fromHsla=S,e.fromHsl=U,e.fromString=Ee,e.default=void 0;var t=r(Ly()),n=r(Py());function r(I){return I&&I.__esModule?I:{default:I}}function s(I,K){if(!(I instanceof K))throw new TypeError("Cannot call a class as a function")}function o(I,K){for(var G=0;GI.length)&&(K=I.length);for(var G=0,X=new Array(K);G"u"||!(Symbol.iterator in Object(I)))){var G=[],X=!0,re=!1,ne=void 0;try{for(var se=I[Symbol.iterator](),de;!(X=(de=se.next()).done)&&(G.push(de.value),!(K&&G.length===K));X=!0);}catch(me){re=!0,ne=me}finally{try{!X&&se.return!=null&&se.return()}finally{if(re)throw ne}}return G}}function p(I){if(Array.isArray(I))return I}var m=/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?$/,O=/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])?$/,T=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,x=/^rgba?\(\s*(\d+)\s+(\d+)\s+(\d+)(?:\s*\/\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,P=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,V=/^rgba?\(\s*(\d+%)\s+(\d+%)\s+(\d+%)(?:\s*\/\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,H=/^hsla?\(\s*(\d+)(deg|rad|grad|turn)?\s*,\s*(\d+)%\s*,\s*(\d+)%(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/;function M(I,K){return I.indexOf(K)>-1}function b(I,K,G){var X=I/255,re=K/255,ne=G/255,se=Math.max(X,re,ne),de=Math.min(X,re,ne),me=se-de,ye=(se+de)/2;if(me===0)return[0,0,ye*100];var L=me/(1-Math.abs(2*ye-1)),Q=(function(){switch(se){case X:return(re-ne)/me%6;case re:return(ne-X)/me+2;default:return(X-re)/me+4}})();return[Q*60,L*100,ye*100]}function y(I,K,G){var X=I/60,re=K/100,ne=G/100,se=(1-Math.abs(2*ne-1))*re,de=se*(1-Math.abs(X%2-1)),me=ne-se/2,ye=(function(){return X<1?[se,de,0]:X<2?[de,se,0]:X<3?[0,se,de]:X<4?[0,de,se]:X<5?[de,0,se]:[se,0,de]})(),L=l(ye,3),Q=L[0],Z=L[1],oe=L[2];return[(Q+me)*255,(Z+me)*255,(oe+me)*255]}var N=(function(){function I(K){var G=l(K,4),X=G[0],re=G[1],ne=G[2],se=G[3];s(this,I),this.values=[Math.max(Math.min(parseInt(X,10),255),0),Math.max(Math.min(parseInt(re,10),255),0),Math.max(Math.min(parseInt(ne,10),255),0),se==null?1:Math.max(Math.min(parseFloat(se),255),0)]}return a(I,[{key:"toRgbString",value:function(){var G=l(this.values,4),X=G[0],re=G[1],ne=G[2],se=G[3];return se===1?"rgb(".concat(X,", ").concat(re,", ").concat(ne,")"):"rgba(".concat(X,", ").concat(re,", ").concat(ne,", ").concat(se,")")}},{key:"toHslString",value:function(){var G=this.toHslaArray(),X=l(G,4),re=X[0],ne=X[1],se=X[2],de=X[3];return de===1?"hsl(".concat(re,", ").concat(ne,"%, ").concat(se,"%)"):"hsla(".concat(re,", ").concat(ne,"%, ").concat(se,"%, ").concat(de,")")}},{key:"toHexString",value:function(){var G=l(this.values,4),X=G[0],re=G[1],ne=G[2],se=G[3];return X=Number(X).toString(16).padStart(2,"0"),re=Number(re).toString(16).padStart(2,"0"),ne=Number(ne).toString(16).padStart(2,"0"),se=se<1?parseInt(se*255,10).toString(16).padStart(2,"0"):"","#".concat(X).concat(re).concat(ne).concat(se)}},{key:"toRgbaArray",value:function(){return this.values}},{key:"toHslaArray",value:function(){var G=l(this.values,4),X=G[0],re=G[1],ne=G[2],se=G[3],de=b(X,re,ne),me=l(de,3),ye=me[0],L=me[1],Q=me[2];return[ye,L,Q,se]}}]),I})();function A(I){var K=l(I,4),G=K[0],X=K[1],re=K[2],ne=K[3];return new N([G,X,re,ne])}function C(I){var K=l(I,3),G=K[0],X=K[1],re=K[2];return A([G,X,re,1])}function S(I){var K=l(I,4),G=K[0],X=K[1],re=K[2],ne=K[3],se=y(G,X,re),de=l(se,3),me=de[0],ye=de[1],L=de[2];return A([me,ye,L,ne])}function U(I){var K=l(I,3),G=K[0],X=K[1],re=K[2];return S([G,X,re,1])}function j(I){var K=m.exec(I)||O.exec(I),G=l(K,5),X=G[1],re=G[2],ne=G[3],se=G[4];return X=parseInt(X.length<2?X.repeat(2):X,16),re=parseInt(re.length<2?re.repeat(2):re,16),ne=parseInt(ne.length<2?ne.repeat(2):ne,16),se=se&&(parseInt(se.length<2?se.repeat(2):se,16)/255).toPrecision(1)||1,A([X,re,ne,se])}function te(I){var K=T.exec(I)||P.exec(I)||x.exec(I)||V.exec(I),G=l(K,5),X=G[1],re=G[2],ne=G[3],se=G[4];return X=M(X,"%")?parseInt(X,10)*255/100:parseInt(X,10),re=M(re,"%")?parseInt(re,10)*255/100:parseInt(re,10),ne=M(ne,"%")>0?parseInt(ne,10)*255/100:parseInt(ne,10),se=se===void 0?1:parseFloat(se)/(M(se,"%")?100:1),A([X,re,ne,se])}function he(I){var K=H.exec(I),G=l(K,6),X=G[1],re=G[2],ne=G[3],se=G[4],de=G[5];return re=re||"deg",X=(0,n.default)(parseFloat(X),re,"deg"),ne=parseFloat(ne),se=parseFloat(se),de=de===void 0?1:parseFloat(de)/(M(de,"%")?100:1),S([X,ne,se,de])}function Ee(I){return t.default[I]?C(t.default[I]):m.test(I)||O.test(I)?j(I):T.test(I)||P.test(I)||x.test(I)||V.test(I)?te(I):H.test(I)?he(I):null}var ie={fromString:Ee,fromRgb:C,fromRgba:A,fromHsl:U,fromHsla:S};e.default=ie})(Yi)),Yi}var My=$y();const ky=Lf("WireguardConfigurationsStore",{state:()=>({Configurations:[],ConfigurationLoaded:!1,searchString:"",ConfigurationListInterval:void 0,Filter:{HiddenTags:[],ShowAllPeersWhenHiddenTags:!0},SortOptions:{Name:tt("Name"),Status:tt("Status"),"DataUsage.Total":tt("Total Usage")},CurrentSort:{key:"Name",order:"asc"},CurrentDisplay:"List",PeerScheduleJobs:{dropdowns:{Field:[{display:tt("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:tt("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:tt("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:tt("Date"),value:"date",type:"date"}],Operator:[{display:tt("larger than"),value:"lgt"}],Action:[{display:tt("Restrict Peer"),value:"restrict"},{display:tt("Delete Peer"),value:"delete"},{display:tt("Reset Total Data Usage"),value:"reset_total_data_usage"}]}}}),getters:{sortConfigurations(){return[...this.Configurations].sort((e,t)=>this.CurrentSort.order==="desc"?this.dotNotation(e,this.CurrentSort.key)this.dotNotation(t,this.CurrentSort.key)?-1:0:this.dotNotation(e,this.CurrentSort.key)>this.dotNotation(t,this.CurrentSort.key)?1:this.dotNotation(e,this.CurrentSort.key){e.status&&(this.Configurations=e.data),this.ConfigurationLoaded=!0})},colorText(e){if(e){const t=My.fromString(e);if(t){const n=t.toRgbaArray();return+((n[0]*299+n[1]*587+n[2]*114)/255e3).toFixed(2)>.5?"#000":"#fff"}}return"#ffffff"},dotNotation(e,t){let n=t.split(".").reduce((r,s)=>r&&r[s],e);return typeof n=="string"?n.toLowerCase():n},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 ca(e)!==0},checkWGKeyLength(e){return/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}},persist:{pick:["CurrentSort","CurrentDisplay","Filter.ShowAllPeersWhenHiddenTags"]}}),Vy=async()=>{let e=!1;return await Dn("/api/validateAuthentication",{},t=>{e=t.status}),e},br=Ay({history:ty(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>De(()=>import("./index-ElUmKQXl.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:()=>De(()=>import("./configurationList-BmBzibCH.js"),__vite__mapDeps([6,1,7,8,9,10])),meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"settings",component:()=>De(()=>import("./settings-yh4yZgcG.js"),__vite__mapDeps([11,12,1,13,3,14,15,16,17,18])),children:[{name:"WGDashboard Settings",path:"",component:()=>De(()=>import("./wgdashboardSettings-b-VSP6t-.js"),__vite__mapDeps([19,1,13,3,14,15,16])),meta:{title:"WGDashboard Settings"}},{name:"Peers Settings",path:"peers_settings",component:()=>De(()=>import("./peerDefaultSettings-DrA2ujGo.js"),__vite__mapDeps([20,1,12])),meta:{title:"Peers Default Settings"}},{name:"WireGuard Configuration Settings",path:"wireguard_settings",component:()=>De(()=>import("./wireguardConfigurationSettings-Bz2BaANg.js"),__vite__mapDeps([21,17,1,18])),meta:{title:"WireGuard Configuration Settings"}}],meta:{title:"Settings"}},{path:"ping",name:"Ping",component:()=>De(()=>import("./ping-yn2Ok0iq.js"),__vite__mapDeps([22,1,23,24,25,26,27]))},{path:"traceroute",name:"Traceroute",component:()=>De(()=>import("./traceroute-DW1aS4wL.js"),__vite__mapDeps([28,23,24,25,26,1,29]))},{name:"New Configuration",path:"new_configuration",component:()=>De(()=>import("./newConfiguration-DKGZAANU.js"),__vite__mapDeps([30,31,1,32,33])),meta:{title:"New Configuration"}},{name:"Restore Configuration",path:"restore_configuration",component:()=>De(()=>import("./restoreConfiguration-Dz1O-iX5.js"),__vite__mapDeps([34,1,3,7,31,35])),meta:{title:"Restore Configuration"}},{name:"System Status",path:"system_status",component:()=>De(()=>import("./systemStatus-0e9M7tEY.js"),__vite__mapDeps([36,1,8,9,37,3,38])),meta:{title:"System Status"}},{name:"Clients",path:"clients",component:()=>De(()=>import("./clients-B5XnFbd-.js"),__vite__mapDeps([39,40,1,41])),meta:{title:"Clients"},children:[{name:"Client Viewer",path:":id",component:()=>De(()=>import("./clientViewer-BYJe9WYt.js"),__vite__mapDeps([42,40,1,43])),meta:{title:"Clients"}}]},{name:"Webhooks",path:"webhooks",component:()=>De(()=>import("./dashboardWebHooks-CEc1Rq-k.js"),__vite__mapDeps([44,1,45])),meta:{title:"Webhooks"}},{name:"Configuration",path:"configuration/:id",component:()=>De(()=>import("./configuration-Day1LioO.js"),[]),meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:()=>De(()=>import("./peerList-C-bwOqvP.js"),__vite__mapDeps([46,7,1,37,3,15,24,25,31,47]))}]}]},{path:"/signin",component:()=>De(()=>import("./signin-RX8JxeCw.js"),__vite__mapDeps([48,2,1,3,4,49])),meta:{title:"Sign In",hideTopNav:!0}},{path:"/welcome",component:()=>De(()=>import("./setup-DwS6cNkc.js"),__vite__mapDeps([50,1])),meta:{requiresAuth:!0,title:"Welcome to WGDashboard",hideTopNav:!0}},{path:"/2FASetup",component:()=>De(()=>import("./totp-DLhlDLL5.js"),__vite__mapDeps([51,52,32,1])),meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup",hideTopNav:!0}},{path:"/share",component:()=>De(()=>import("./share-Cyu4RGGS.js"),__vite__mapDeps([53,52,32,1,54])),meta:{title:"Share",hideTopNav:!0}}]});br.beforeEach(async(e,t,n)=>{const r=ky(),s=Vn();e.meta.title?document.title=e.meta.title+" | WGDashboard":e.params.id?document.title=e.params.id+" | WGDashboard":document.title="WGDashboard",s.ShowNavBar=!1,document.querySelector(".loadingBar").classList.remove("loadingDone"),document.querySelector(".loadingBar").classList.add("loading"),e.meta.requiresAuth?s.getActiveCrossServer()?(await s.getConfiguration(),!r.Configurations&&e.name!=="Configuration List"&&await r.getConfigurations(),n()):await Vy()?(await s.getConfiguration(),!r.Configurations&&e.name!=="Configuration List"&&await r.getConfigurations(),s.Redirect=void 0,n()):(s.Redirect=e,n("/signin"),s.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});br.afterEach(()=>{document.querySelector(".loadingBar").classList.remove("loading"),document.querySelector(".loadingBar").classList.add("loadingDone")});const Zf=()=>{let e={"Content-Type":"application/json"};const n=Vn().getActiveCrossServer();if(n&&(e["wg-dashboard-apikey"]=n.apiKey,n.headers))for(let r of Object.values(n.headers))r.key&&r.value&&!Object.keys(e).includes(r.key)&&(e[r.key]=r.value);return e},ed=e=>{const n=Vn().getActiveCrossServer();return n?`${n.host}${e}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`},Dn=async(e,t=void 0,n=void 0)=>{const r=new URLSearchParams(t);await fetch(`${ed(e)}?${r.toString()}`,{headers:Zf()}).then(s=>{const o=Vn();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&o.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("Error:",s),br.push({path:"/signin"})})},Hb=async(e,t,n)=>{await fetch(`${ed(e)}`,{headers:Zf(),method:"POST",body:JSON.stringify(t)}).then(r=>{const s=Vn();if(r.ok)return r.json();if(r.status!==200)throw r.status===401&&s.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("Error:",r),br.push({path:"/signin"})})},Ve=[];for(let e=0;e<256;++e)Ve.push((e+256).toString(16).slice(1));function Fy(e,t=0){return(Ve[e[t+0]]+Ve[e[t+1]]+Ve[e[t+2]]+Ve[e[t+3]]+"-"+Ve[e[t+4]]+Ve[e[t+5]]+"-"+Ve[e[t+6]]+Ve[e[t+7]]+"-"+Ve[e[t+8]]+Ve[e[t+9]]+"-"+Ve[e[t+10]]+Ve[e[t+11]]+Ve[e[t+12]]+Ve[e[t+13]]+Ve[e[t+14]]+Ve[e[t+15]]).toLowerCase()}let Qi;const Hy=new Uint8Array(16);function By(){if(!Qi){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Qi=crypto.getRandomValues.bind(crypto)}return Qi(Hy)}const jy=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),bc={randomUUID:jy};function Wy(e,t,n){e=e||{};const r=e.random??e.rng?.()??By();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let s=0;s<16;++s)t[n+s]=r[s];return t}return Fy(r)}function Ac(e,t,n){return bc.randomUUID&&!t&&!e?bc.randomUUID():Wy(e,t,n)}const Vn=Lf("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},SystemStatus:void 0,ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:null,HelpAgent:{Enable:!1}}),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[Ac().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]},async setActiveCrossServer(e){this.ActiveServerConfiguration=e,localStorage.setItem("ActiveCrossServerConfiguration",e),await Dn("/api/locale",{},t=>{this.Locale=t.data})},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await Dn("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async signOut(){await Dn("/api/signout",{},()=>{this.removeActiveCrossServer(),document.cookie="",this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:Ac(),from:tt(e),content:tt(t),type:n,show:!0})},applyLocale(e){if(this.Locale===null)return e;const n=Object.keys(this.Locale).filter(r=>e.match(new RegExp("^"+r+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?e:this.Locale[n[0]]}},persist:{pick:["HelpAgent.Enable"]}});(function(){function e(b){var y=new Float64Array(16);if(b)for(var N=0;N>16&1),A[S-1]&=65535;A[15]=C[15]-32767-(A[14]>>16&1),N=A[15]>>16&1,A[14]&=65535,r(C,A,1-N)}for(var S=0;S<16;++S)b[2*S]=C[S]&255,b[2*S+1]=C[S]>>8}function n(b){for(var y=0;y<16;++y)b[(y+1)%16]+=(y<15?1:38)*Math.floor(b[y]/65536),b[y]&=65535}function r(b,y,N){for(var A,C=~(N-1),S=0;S<16;++S)A=C&(b[S]^y[S]),b[S]^=A,y[S]^=A}function s(b,y,N){for(var A=0;A<16;++A)b[A]=y[A]+N[A]|0}function o(b,y,N){for(var A=0;A<16;++A)b[A]=y[A]-N[A]|0}function a(b,y,N){for(var A=new Float64Array(31),C=0;C<16;++C)for(var S=0;S<16;++S)A[C+S]+=y[C]*N[S];for(var C=0;C<15;++C)A[C]+=38*A[C+16];for(var C=0;C<16;++C)b[C]=A[C];n(b),n(b)}function l(b,y){for(var N=e(),A=0;A<16;++A)N[A]=y[A];for(var A=253;A>=0;--A)a(N,N,N),A!==2&&A!==4&&a(N,N,y);for(var A=0;A<16;++A)b[A]=N[A]}function c(b){b[31]=b[31]&127|64,b[0]&=248}function d(b){for(var y,N=new Uint8Array(32),A=e([1]),C=e([9]),S=e(),U=e([1]),j=e(),te=e(),he=e([56129,1]),Ee=e([9]),ie=0;ie<32;++ie)N[ie]=b[ie];c(N);for(var ie=254;ie>=0;--ie)y=N[ie>>>3]>>>(ie&7)&1,r(A,C,y),r(S,U,y),s(j,A,S),o(A,A,S),s(S,C,U),o(C,C,U),a(U,j,j),a(te,A,A),a(A,S,A),a(S,C,j),s(j,A,S),o(A,A,S),a(C,A,A),o(S,U,te),a(A,S,he),s(A,A,U),a(S,S,A),a(A,U,te),a(U,C,Ee),a(C,j,j),r(A,C,y),r(S,U,y);return l(S,S),a(A,A,S),t(N,A),N}function f(){var b=new Uint8Array(32);return window.crypto.getRandomValues(b),b}function h(){var b=f();return c(b),b}function p(b,y){for(var N=Uint8Array.from([y[0]>>2&63,(y[0]<<4|y[1]>>4)&63,(y[1]<<2|y[2]>>6)&63,y[2]&63]),A=0;A<4;++A)b[A]=N[A]+65+(25-N[A]>>8&6)-(51-N[A]>>8&75)-(61-N[A]>>8&15)+(62-N[A]>>8&3)}function m(b){var y,N=new Uint8Array(44);for(y=0;y<32/3;++y)p(N.subarray(y*4),b.subarray(y*3));return p(N.subarray(y*4),Uint8Array.from([b[y*3+0],b[y*3+1],0])),N[43]=61,String.fromCharCode.apply(null,N)}function O(b){let y=window.atob(b),N=y.length,A=new Uint8Array(N);for(let S=0;S>>8&255,y>>>16&255,y>>>24&255)}function x(b,y){b.push(y&255,y>>>8&255)}function P(b,y){for(var N=0;N>>1:y>>>1;H.table[N]=y}}for(var C=-1,S=0;S>>8^H.table[(C^b[S])&255];return(C^-1)>>>0}function M(b){for(var y=[],N=[],A=0,C=0;C{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Uy=["data-bs-theme"],Gy={key:0,class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},qy={class:"container-fluid d-flex text-body align-items-center"},Yy={key:0,class:"bi bi-list"},zy={key:1,class:"bi bi-x-lg"},Xy={__name:"App",setup(e){const t=Vn();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP?(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0,t.ActiveServerConfiguration&&Dn("/api/locale",{},r=>{t.Locale=r.data})):Dn("/api/locale",{},r=>{t.Locale=r.data}),In(t.CrossServerConfiguration,()=>{t.syncCrossServerConfiguration()},{deep:!0});const n=Ty();return(r,s)=>{const o=w_("RouterLink");return It(),As("div",{class:"h-100 bg-body","data-bs-theme":nt(t).Configuration?.Server.dashboard_theme},[s[2]||(s[2]=er("div",{style:{"z-index":"9999",height:"5px"},class:"position-absolute loadingBar top-0 start-0"},null,-1)),nt(n).meta.hideTopNav?gv("",!0):(It(),As("nav",Gy,[er("div",qy,[Ne(o,{to:"/",class:"navbar-brand mb-0 h1"},{default:Jn(()=>[...s[1]||(s[1]=[er("img",{src:mE,alt:"WGDashboard Logo",style:{width:"32px"}},null,-1)])]),_:1}),er("a",{role:"button",class:"navbarBtn text-body",onClick:s[0]||(s[0]=a=>nt(t).ShowNavBar=!nt(t).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},[Ne(Il,{name:"fade2",mode:"out-in"},{default:Jn(()=>[nt(t).ShowNavBar?(It(),As("i",zy)):(It(),As("i",Yy))]),_:1})])])])),(It(),Yr(iv,null,{default:Jn(()=>[Ne(nt(qf),null,{default:Jn(({Component:a})=>[Ne(Il,{name:"app",mode:"out-in",type:"transition",appear:""},{default:Jn(()=>[(It(),Yr(O_(a)))]),_:2},1024)]),_:1})]),_:1}))],8,Uy)}}},Qy=Ky(Xy,[["__scopeId","data-v-ddb6150e"]]);function Jy(e,t){if(e==null)return;let n=e;for(let r=0;r1&&(t=ua(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function td(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const r in e)n[r]=e[r];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const r in e)n[r]=e[r];return n}return ua(e,td(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function nd(e,t){return t.map(n=>n.split(".")).map(n=>[n,Jy(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>ua(n,r[1],r[0]),{})}function rd(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>td(n,r),e)}function Tc(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a,beforeHydrate:l,afterHydrate:c},d,f=!0){try{f&&l?.(d);const h=t.getItem(r);if(h){const p=n.deserialize(h),m=o?nd(p,o):p,O=a?rd(m,a):m;e.$patch(O)}f&&c?.(d)}catch(h){s&&console.error("[pinia-plugin-persistedstate]",h)}}function Cc(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a}){try{const l=o?nd(e,o):e,c=a?rd(l,a):l,d=n.serialize(c);t.setItem(r,d)}catch(l){s&&console.error("[pinia-plugin-persistedstate]",l)}}function Zy(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function eb(e,t,n){const{pinia:r,store:s,options:{persist:o=n}}=e;if(!o)return;if(!(s.$id in r.state.value)){const l=r._s.get(s.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const a=(Array.isArray(o)?o:o===!0?[{}]:[o]).map(t);s.$hydrate=({runHooks:l=!0}={})=>{a.forEach(c=>{Tc(s,c,e,l)})},s.$persist=()=>{a.forEach(l=>{Cc(s.$state,l)})},a.forEach(l=>{Tc(s,l,e),s.$subscribe((c,d)=>Cc(d,l),{detached:!0})})}function tb(e={}){return function(t){eb(t,n=>{const r=Zy(n.key,t.store.$id);return{key:(e.key?e.key:s=>s)(r),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:s=>JSON.stringify(s),deserialize:s=>JSON.parse(s)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var nb=tb();const fa=aE(Qy);fa.use(br);const da=uE();da.use(nb);da.use(({store:e})=>{e.$router=ii(br)});fa.use(da);fa.mount("#app");export{$b as $,Ac as A,Xo as B,eE as C,Vn as D,Ib as E,Xe as F,tt as G,kb as H,In as I,Jr as J,Fb as K,Ty as L,Cb as M,De as N,mb as O,Eb as P,Tu as Q,oa as R,iv as S,Pb as T,Sv as U,li as V,ky as W,ve as X,qo as Y,oi as Z,Ky as _,er as a,Tb as a0,Vb as a1,Sb as a2,Mb as a3,ed as a4,Lf as a5,iu as a6,Vm as a7,vb as a8,Rb as a9,xb as aa,Ob as ab,Ns as ac,so as ad,yb as ae,Nb as af,_b as ag,hv as ah,Ab as ai,rt as aj,mv as ak,Ku as al,Db as am,Ne as b,As as c,gv as d,pv as e,It as f,Dn as g,w_ as h,wb as i,Yr as j,Il as k,O_ as l,bb as m,ti as n,Jo as o,Lb as p,dt as q,xn as r,ei as s,Mm as t,nt as u,Jv as v,Jn as w,Gu as x,Yl as y,Hb as z};