const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CNpdctLQ.js","./localeText-BJvnc1lF.js","./message-BLvFM11v.js","./dayjs.min-DZl6XMNW.js","./message-Bh5W0B3y.css","./index-CpoCtfuw.css","./configurationList-DZ8s_3m3.js","./protocolBadge-VYIlC1Ec.js","./storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-DCrotcp6.js","./storageMount-CiBujS1C.css","./configurationList-CG9tP7oL.css","./settings-Pu99wEIv.js","./peersDefaultSettingsInput-n69y01QP.js","./dashboardEmailSettings-DBnS2OTV.js","./vue-datepicker-9N8DgATH.js","./index-i3npkoSo.js","./dashboardEmailSettings-BxtXuVtX.css","./dashboardSettingsWireguardConfigurationAutostart-CLeShfcZ.js","./dashboardSettingsWireguardConfigurationAutostart-D5UlSscq.css","./wgdashboardSettings-1ZVC2T1K.js","./peerDefaultSettings-DwXMLijS.js","./wireguardConfigurationSettings-DVf20tDl.js","./ping-Dcho8zUm.js","./osmap-BMy-ioUU.js","./Vector-CuSZivra.js","./Vector-BtPuoxOl.css","./osmap-CsoM1fIq.css","./ping-DgbK5UF9.css","./traceroute-0ZnREFaN.js","./traceroute-D9mlT_ah.css","./newConfiguration-Cf-XQ6D8.js","./index-Bno8fcdN.js","./galois-field-I2lBzzs-.js","./newConfiguration-DKjGLwK7.css","./restoreConfiguration-wW2xOYsw.js","./restoreConfiguration-Go8Q_2zy.css","./systemStatus-Ba_q2UdD.js","./index-Bt0JU5XL.js","./systemStatus-Dve-9tnj.css","./clients-15IHrs0x.js","./DashboardClientAssignmentStore-Cx8hQRjk.js","./clients-CfS2KUuu.css","./clientViewer-BgfH726S.js","./clientViewer-C5axh9P7.css","./dashboardWebHooks-BmRLNEC1.js","./dashboardWebHooks-Dl-enc0Z.css","./peerList-CPiA0nLD.js","./peerList-7q3zheYP.css","./signin-7XmHRYpi.js","./signin-DHb5-H_M.css","./setup-D0Q0qQii.js","./totp-XesjjJo-.js","./browser-CUYUHo3j.js","./share-LLVdD8M-.js","./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)}})();const $g="modulepreload",Mg=function(e,t){return new URL(e,t).href},nl={},Ie=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let d=function(f){return Promise.all(f.map(h=>Promise.resolve(h).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");s=d(n.map(f=>{if(f=Mg(f,r),f in nl)return;nl[f]=!0;const h=f.endsWith(".css"),p=h?'[rel="stylesheet"]':"";if(r)for(let O=a.length-1;O>=0;O--){const A=a[O];if(A.href===f&&(!h||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${p}`))return;const m=document.createElement("link");if(m.rel=h?"stylesheet":$g,h||(m.as="script"),m.crossOrigin="",m.href=f,c&&m.setAttribute("nonce",c),document.head.appendChild(m),h)return new Promise((O,A)=>{m.addEventListener("load",O),m.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${f}`)))})}))}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)})};function yb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function kg(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 ws={exports:{}},Qe="top",st="bottom",it="right",Je="left",Gs="auto",Er=[Qe,st,it,Je],Pn="start",ar="end",Nc="clippingParents",xo="viewport",Qn="popper",xc="reference",eo=Er.reduce(function(e,t){return e.concat([t+"-"+Pn,t+"-"+ar])},[]),Ro=[].concat(Er,[Gs]).reduce(function(e,t){return e.concat([t,t+"-"+Pn,t+"-"+ar])},[]),Rc="beforeRead",Ic="read",Dc="afterRead",Lc="beforeMain",Pc="main",$c="afterMain",Mc="beforeWrite",kc="write",Vc="afterWrite",Fc=[Rc,Ic,Dc,Lc,Pc,$c,Mc,kc,Vc];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 $n(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 Io(e){if(typeof ShadowRoot>"u")return!1;var t=ot(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Vg(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 Fg(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 Do={name:"applyStyles",enabled:!0,phase:"write",fn:Vg,effect:Fg,requires:["computeStyles"]};function Lt(e){return e.split("-")[0]}var Nn=Math.max,Ds=Math.min,lr=Math.round;function to(){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 Hc(){return!/^((?!chrome|android).)*safari/i.test(to())}function cr(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&&lr(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&lr(r.height)/e.offsetHeight||1);var a=$n(e)?ot(e):window,l=a.visualViewport,c=!Hc()&&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 Lo(e){var t=cr(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 Bc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Io(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 Hg(e){return["table","td","th"].indexOf(Pt(e))>=0}function dn(e){return(($n(e)?e.ownerDocument:e.document)||window.document).documentElement}function qs(e){return Pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Io(e)?e.host:null)||dn(e)}function rl(e){return!ht(e)||Kt(e).position==="fixed"?null:e.offsetParent}function Bg(e){var t=/firefox/i.test(to()),n=/Trident/i.test(to());if(n&&ht(e)){var r=Kt(e);if(r.position==="fixed")return null}var s=qs(e);for(Io(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=rl(e);n&&Hg(n)&&Kt(n).position==="static";)n=rl(n);return n&&(Pt(n)==="html"||Pt(n)==="body"&&Kt(n).position==="static")?t:n||Bg(e)||t}function Po(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dr(e,t,n){return Nn(e,Ds(t,n))}function jg(e,t,n){var r=Dr(e,t,n);return r>n?n:r}function jc(){return{top:0,right:0,bottom:0,left:0}}function Wc(e){return Object.assign({},jc(),e)}function Uc(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Wg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Wc(typeof t!="number"?t:Uc(t,Er))};function Ug(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=Po(l),d=[Je,it].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!a)){var h=Wg(s.padding,n),p=Lo(o),m=c==="y"?Qe:Je,O=c==="y"?st:it,A=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=A/2-x/2,M=h[m],b=V-p[f]-h[O],y=V/2-p[f]/2+H,N=Dr(M,y,b),T=c;n.modifiersData[r]=(t={},t[T]=N,t.centerOffset=N-y,t)}}function Kg(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)||Bc(t.elements.popper,s)&&(t.elements.arrow=s))}const Kc={name:"arrow",enabled:!0,phase:"main",fn:Ug,effect:Kg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ur(e){return e.split("-")[1]}var Gg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qg(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:lr(n*s)/s||0,y:lr(r*s)/s||0}}function sl(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,A=O===void 0?0:O,x=typeof f=="function"?f({x:m,y:A}):{x:m,y:A};m=x.x,A=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",T="clientWidth";if(y===ot(n)&&(y=dn(n),Kt(y).position!=="static"&&l==="absolute"&&(N="scrollHeight",T="scrollWidth")),y=y,s===Qe||(s===Je||s===it)&&o===ar){M=st;var w=h&&y===b&&b.visualViewport?b.visualViewport.height:y[N];A-=w-r.height,A*=c?1:-1}if(s===Je||(s===Qe||s===st)&&o===ar){H=it;var C=h&&y===b&&b.visualViewport?b.visualViewport.width:y[T];m-=C-r.width,m*=c?1:-1}}var K=Object.assign({position:l},d&&Gg),j=f===!0?qg({x:m,y:A},ot(n)):{x:m,y:A};if(m=j.x,A=j.y,c){var te;return Object.assign({},K,(te={},te[M]=V?"0":"",te[H]=P?"0":"",te.transform=(b.devicePixelRatio||1)<=1?"translate("+m+"px, "+A+"px)":"translate3d("+m+"px, "+A+"px, 0)",te))}return Object.assign({},K,(t={},t[M]=V?A+"px":"",t[H]=P?m+"px":"",t.transform="",t))}function Yg(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:ur(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,sl(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,sl(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 $o={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Yg,data:{}};var gs={passive:!0};function zg(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 Mo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zg,data:{}};var Xg={left:"right",right:"left",bottom:"top",top:"bottom"};function Cs(e){return e.replace(/left|right|bottom|top/g,function(t){return Xg[t]})}var Qg={start:"end",end:"start"};function il(e){return e.replace(/start|end/g,function(t){return Qg[t]})}function ko(e){var t=ot(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Vo(e){return cr(dn(e)).left+ko(e).scrollLeft}function Jg(e,t){var n=ot(e),r=dn(e),s=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){o=s.width,a=s.height;var d=Hc();(d||!d&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:o,height:a,x:l+Vo(e),y:c}}function Zg(e){var t,n=dn(e),r=ko(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=Nn(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=Nn(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),l=-r.scrollLeft+Vo(e),c=-r.scrollTop;return Kt(s||n).direction==="rtl"&&(l+=Nn(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function Fo(e){var t=Kt(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Gc(e){return["html","body","#document"].indexOf(Pt(e))>=0?e.ownerDocument.body:ht(e)&&Fo(e)?e:Gc(qs(e))}function Lr(e,t){var n;t===void 0&&(t=[]);var r=Gc(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=ot(r),a=s?[o].concat(o.visualViewport||[],Fo(r)?r:[]):r,l=t.concat(a);return s?l:l.concat(Lr(qs(a)))}function no(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function em(e,t){var n=cr(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 ol(e,t,n){return t===xo?no(Jg(e,n)):$n(t)?em(t,n):no(Zg(dn(e)))}function tm(e){var t=Lr(qs(e)),n=["absolute","fixed"].indexOf(Kt(e).position)>=0,r=n&&ht(e)?Xr(e):e;return $n(r)?t.filter(function(s){return $n(s)&&Bc(s,r)&&Pt(s)!=="body"}):[]}function nm(e,t,n,r){var s=t==="clippingParents"?tm(e):[].concat(t),o=[].concat(s,[n]),a=o[0],l=o.reduce(function(c,d){var f=ol(e,d,r);return c.top=Nn(f.top,c.top),c.right=Ds(f.right,c.right),c.bottom=Ds(f.bottom,c.bottom),c.left=Nn(f.left,c.left),c},ol(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 qc(e){var t=e.reference,n=e.element,r=e.placement,s=r?Lt(r):null,o=r?ur(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?Po(s):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case Pn:c[d]=c[d]-(t[f]/2-n[f]/2);break;case ar:c[d]=c[d]+(t[f]/2-n[f]/2);break}}return c}function fr(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?Nc:l,d=n.rootBoundary,f=d===void 0?xo:d,h=n.elementContext,p=h===void 0?Qn:h,m=n.altBoundary,O=m===void 0?!1:m,A=n.padding,x=A===void 0?0:A,P=Wc(typeof x!="number"?x:Uc(x,Er)),V=p===Qn?xc:Qn,H=e.rects.popper,M=e.elements[O?V:p],b=nm($n(M)?M:M.contextElement||dn(e.elements.popper),c,f,a),y=cr(e.elements.reference),N=qc({reference:y,element:H,placement:s}),T=no(Object.assign({},H,N)),w=p===Qn?T:y,C={top:b.top-w.top+P.top,bottom:w.bottom-b.bottom+P.bottom,left:b.left-w.left+P.left,right:w.right-b.right+P.right},K=e.modifiersData.offset;if(p===Qn&&K){var j=K[s];Object.keys(C).forEach(function(te){var he=[it,st].indexOf(te)>=0?1:-1,Ee=[Qe,st].indexOf(te)>=0?"y":"x";C[te]+=j[Ee]*he})}return C}function rm(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?Ro:c,f=ur(r),h=f?l?eo:eo.filter(function(O){return ur(O)===f}):Er,p=h.filter(function(O){return d.indexOf(O)>=0});p.length===0&&(p=h);var m=p.reduce(function(O,A){return O[A]=fr(e,{placement:A,boundary:s,rootBoundary:o,padding:a})[Lt(A)],O},{});return Object.keys(m).sort(function(O,A){return m[O]-m[A]})}function sm(e){if(Lt(e)===Gs)return[];var t=Cs(e);return[il(e),t,il(t)]}function im(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,A=n.allowedAutoPlacements,x=t.options.placement,P=Lt(x),V=P===x,H=c||(V||!O?[Cs(x)]:sm(x)),M=[x].concat(H).reduce(function(de,me){return de.concat(Lt(me)===Gs?rm(t,{placement:me,boundary:f,rootBoundary:h,padding:d,flipVariations:O,allowedAutoPlacements:A}):me)},[]),b=t.rects.reference,y=t.rects.popper,N=new Map,T=!0,w=M[0],C=0;C=0,Ee=he?"width":"height",ie=fr(t,{placement:K,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),I=he?te?it:Je:te?st:Qe;b[Ee]>y[Ee]&&(I=Cs(I));var U=Cs(I),G=[];if(o&&G.push(ie[j]<=0),l&&G.push(ie[I]<=0,ie[U]<=0),G.every(function(de){return de})){w=K,T=!1;break}N.set(K,G)}if(T)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 w=ye,"break"},ne=X;ne>0;ne--){var se=re(ne);if(se==="break")break}t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}const Yc={name:"flip",enabled:!0,phase:"main",fn:im,requiresIfExists:["offset"],data:{_skip:!1}};function al(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 ll(e){return[Qe,it,st,Je].some(function(t){return e[t]>=0})}function om(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,a=fr(t,{elementContext:"reference"}),l=fr(t,{altBoundary:!0}),c=al(a,r),d=al(l,s,o),f=ll(c),h=ll(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 zc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:om};function am(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 lm(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,a=Ro.reduce(function(f,h){return f[h]=am(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 Xc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lm};function cm(e){var t=e.state,n=e.name;t.modifiersData[n]=qc({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Ho={name:"popperOffsets",enabled:!0,phase:"read",fn:cm,data:{}};function um(e){return e==="x"?"y":"x"}function fm(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,A=O===void 0?0:O,x=fr(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),P=Lt(t.placement),V=ur(t.placement),H=!V,M=Po(P),b=um(M),y=t.modifiersData.popperOffsets,N=t.rects.reference,T=t.rects.popper,w=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,C=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),K=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],U=I+x[he],G=I-x[Ee],X=m?-T[ie]/2:0,re=V===Pn?N[ie]:T[ie],ne=V===Pn?-T[ie]:-N[ie],se=t.elements.arrow,de=m&&se?Lo(se):{width:0,height:0},me=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jc(),ye=me[he],L=me[Ee],Q=Dr(0,N[ie],de[ie]),Z=H?N[ie]/2-X-Q-ye-C.mainAxis:re-Q-ye-C.mainAxis,oe=H?-N[ie]/2+X+Q+L+C.mainAxis:ne+Q+L+C.mainAxis,D=t.elements.arrow&&Xr(t.elements.arrow),g=D?M==="y"?D.clientTop||0:D.clientLeft||0:0,E=(te=K?.[M])!=null?te:0,S=I+Z-E-g,$=I+oe-E,B=Dr(m?Ds(U,S):U,I,m?Nn(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=K?.[b])!=null?F:0,pe=ae?ce:R-N[W]-T[W]-ue+C.altAxis,be=ae?R+N[W]+T[W]-ue-C.altAxis:ee,_e=m&&ae?jg(pe,R,be):Dr(m?pe:ce,R,m?be:ee);y[b]=_e,j[b]=_e-R}t.modifiersData[r]=j}}const Qc={name:"preventOverflow",enabled:!0,phase:"main",fn:fm,requiresIfExists:["offset"]};function dm(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function hm(e){return e===ot(e)||!ht(e)?ko(e):dm(e)}function pm(e){var t=e.getBoundingClientRect(),n=lr(t.width)/e.offsetWidth||1,r=lr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function gm(e,t,n){n===void 0&&(n=!1);var r=ht(t),s=ht(t)&&pm(t),o=dn(t),a=cr(e,s,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Pt(t)!=="body"||Fo(o))&&(l=hm(t)),ht(t)?(c=cr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Vo(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function mm(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 _m(e){var t=mm(e);return Fc.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function vm(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Em(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 cl={placement:"bottom",modifiers:[],strategy:"absolute"};function ul(){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))},A=_=>!_||typeof _!="object"?!1:(typeof _.jquery<"u"&&(_=_[0]),typeof _.nodeType<"u"),x=_=>A(_)?_.jquery?_[0]:_:typeof _=="string"&&_.length>0?document.querySelector(f(_)):null,P=_=>{if(!A(_)||_.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=[],T=_=>{document.readyState==="loading"?(N.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of N)i()}),N.push(_)):_()},w=()=>document.documentElement.dir==="rtl",C=_=>{T(()=>{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)}})},K=(_,i=[],u=_)=>typeof _=="function"?_.call(...i):u,j=(_,i,u=!0)=>{if(!u){K(_);return}const k=m(i)+5;let J=!1;const Y=({target:ge})=>{ge===i&&(J=!0,i.removeEventListener(d,Y),K(_))};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 U=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}::${U++}`||_.uidEvent||U++}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=(Pg=>function(Yn){if(!Yn.relatedTarget||Yn.relatedTarget!==Yn.delegateTarget&&!Yn.delegateTarget.contains(Yn.relatedTarget))return Pg.call(this,Yn)})(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 S(_){return _.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const $={setDataAttribute(_,i,u){_.setAttribute(`data-bs-${S(i)}`,u)},removeDataAttribute(_,i){_.removeAttribute(`data-bs-${S(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-${S(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=A(u)?$.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof v=="object"?v:{},...A(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=A(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 De 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=De.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(De,"close"),C(De);const je="button",at=".bs.button",gn=".data-api",ts="active",We='[data-bs-toggle="button"]',lt=`click${at}${gn}`;class zt 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=zt.getOrCreateInstance(this);i==="toggle"&&u[i]()})}}D.on(document,lt,We,_=>{_.preventDefault();const i=_.target.closest(We);zt.getOrCreateInstance(i).toggle()}),C(zt);const ns="swipe",Hn=".bs.swipe",od=`touchstart${Hn}`,ad=`touchmove${Hn}`,ld=`touchend${Hn}`,cd=`pointerdown${Hn}`,ud=`pointerup${Hn}`,fd="touch",dd="pen",hd="pointer-event",pd=40,gd={endCallback:null,leftCallback:null,rightCallback:null},md={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 gd}static get DefaultType(){return md}static get NAME(){return ns}dispose(){D.off(this._element,Hn)}_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(),K(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<=pd)return;const u=i/this._deltaX;this._deltaX=0,u&&K(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(D.on(this._element,cd,i=>this._start(i)),D.on(this._element,ud,i=>this._end(i)),this._element.classList.add(hd)):(D.on(this._element,od,i=>this._start(i)),D.on(this._element,ad,i=>this._move(i)),D.on(this._element,ld,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===dd||i.pointerType===fd)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const _d="carousel",Xt=".bs.carousel",ga=".data-api",vd="ArrowLeft",Ed="ArrowRight",yd=500,Ar="next",Bn="prev",jn="left",ss="right",bd=`slide${Xt}`,Ei=`slid${Xt}`,Ad=`keydown${Xt}`,Td=`mouseenter${Xt}`,wd=`mouseleave${Xt}`,Cd=`dragstart${Xt}`,Sd=`load${Xt}${ga}`,Od=`click${Xt}${ga}`,ma="carousel",is="active",Nd="slide",xd="carousel-item-end",Rd="carousel-item-start",Id="carousel-item-next",Dd="carousel-item-prev",_a=".active",va=".carousel-item",Ld=_a+va,Pd=".carousel-item img",$d=".carousel-indicators",Md="[data-bs-slide], [data-bs-slide-to]",kd='[data-bs-ride="carousel"]',Vd={[vd]:ss,[Ed]:jn},Fd={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Hd={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Wn 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($d,this._element),this._addEventListeners(),this._config.ride===ma&&this.cycle()}static get Default(){return Fd}static get DefaultType(){return Hd}static get NAME(){return _d}next(){this._slide(Ar)}nextWhenVisible(){!document.hidden&&P(this._element)&&this.next()}prev(){this._slide(Bn)}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,Ei,()=>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,Ei,()=>this.to(i));return}const v=this._getItemIndex(this._getActive());if(v===i)return;const k=i>v?Ar:Bn;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,Ad,i=>this._keydown(i)),this._config.pause==="hover"&&(D.on(this._element,Td,()=>this.pause()),D.on(this._element,wd,()=>this._maybeEnableCycle())),this._config.touch&&rs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const v of R.find(Pd,this._element))D.on(v,Cd,k=>k.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(jn)),rightCallback:()=>this._slide(this._directionToOrder(ss)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),yd+this._config.interval))}};this._swipeHelper=new rs(this._element,u)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const u=Vd[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(_a,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(bd).defaultPrevented||!v||!J)return;const ut=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Y),this._activeElement=J;const Me=k?Rd:xd,Ot=k?Id:Dd;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(Ei)};this._queueCallback(Et,v,this._isAnimated()),ut&&this.cycle()}_isAnimated(){return this._element.classList.contains(Nd)}_getActive(){return R.findOne(Ld,this._element)}_getItems(){return R.find(va,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return w()?i===jn?Bn:Ar:i===jn?Ar:Bn}_orderToDirection(i){return w()?i===Bn?jn:ss:i===Bn?ss:jn}static jQueryInterface(i){return this.each(function(){const u=Wn.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,Od,Md,function(_){const i=R.getElementFromSelector(this);if(!i||!i.classList.contains(ma))return;_.preventDefault();const u=Wn.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,Sd,()=>{const _=R.find(kd);for(const i of _)Wn.getOrCreateInstance(i)}),C(Wn);const Bd="collapse",Tr=".bs.collapse",jd=".data-api",Wd=`show${Tr}`,Ud=`shown${Tr}`,Kd=`hide${Tr}`,Gd=`hidden${Tr}`,qd=`click${Tr}${jd}`,yi="show",Un="collapse",os="collapsing",Yd="collapsed",zd=`:scope .${Un} .${Un}`,Xd="collapse-horizontal",Qd="width",Jd="height",Zd=".collapse.show, .collapse.collapsing",bi='[data-bs-toggle="collapse"]',eh={parent:null,toggle:!0},th={parent:"(null|element)",toggle:"boolean"};class Kn extends q{constructor(i,u){super(i,u),this._isTransitioning=!1,this._triggerArray=[];const v=R.find(bi);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 eh}static get DefaultType(){return th}static get NAME(){return Bd}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Zd).filter(ge=>ge!==this._element).map(ge=>Kn.getOrCreateInstance(ge,{toggle:!1}))),i.length&&i[0]._isTransitioning||D.trigger(this._element,Wd).defaultPrevented)return;for(const ge of i)ge.hide();const v=this._getDimension();this._element.classList.remove(Un),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(Un,yi),this._element.style[v]="",D.trigger(this._element,Ud)},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,Kd).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(Un,yi);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(Un),D.trigger(this._element,Gd)};this._element.style[u]="",this._queueCallback(v,this._element,!0)}_isShown(i=this._element){return i.classList.contains(yi)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=x(i.parent),i}_getDimension(){return this._element.classList.contains(Xd)?Qd:Jd}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(bi);for(const u of i){const v=R.getElementFromSelector(u);v&&this._addAriaAndCollapsedClass([u],this._isShown(v))}}_getFirstLevelChildren(i){const u=R.find(zd,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(Yd,!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,qd,bi,function(_){(_.target.tagName==="A"||_.delegateTarget&&_.delegateTarget.tagName==="A")&&_.preventDefault();for(const i of R.getMultipleElementsFromSelector(this))Kn.getOrCreateInstance(i,{toggle:!1}).toggle()}),C(Kn);const Ea="dropdown",mn=".bs.dropdown",Ai=".data-api",nh="Escape",ya="Tab",rh="ArrowUp",ba="ArrowDown",sh=2,ih=`hide${mn}`,oh=`hidden${mn}`,ah=`show${mn}`,lh=`shown${mn}`,Aa=`click${mn}${Ai}`,Ta=`keydown${mn}${Ai}`,ch=`keyup${mn}${Ai}`,Gn="show",uh="dropup",fh="dropend",dh="dropstart",hh="dropup-center",ph="dropdown-center",_n='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',gh=`${_n}.${Gn}`,as=".dropdown-menu",mh=".navbar",_h=".navbar-nav",vh=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Eh=w()?"top-end":"top-start",yh=w()?"top-start":"top-end",bh=w()?"bottom-end":"bottom-start",Ah=w()?"bottom-start":"bottom-end",Th=w()?"left-start":"right-start",wh=w()?"right-start":"left-start",Ch="top",Sh="bottom",Oh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Nh={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 Oh}static get DefaultType(){return Nh}static get NAME(){return Ea}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,ah,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(_h))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(Gn),this._element.classList.add(Gn),D.trigger(this._element,lh,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,ih,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(Gn),this._element.classList.remove(Gn),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),D.trigger(this._element,oh,i)}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!A(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${Ea.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof 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:A(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(Gn)}_getPlacement(){const i=this._parent;if(i.classList.contains(fh))return Th;if(i.classList.contains(dh))return wh;if(i.classList.contains(hh))return Ch;if(i.classList.contains(ph))return Sh;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(uh)?u?yh:Eh:u?Ah:bh}_detectNavbar(){return this._element.closest(mh)!==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,...K(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:u}){const v=R.find(vh,this._menu).filter(k=>P(k));v.length&&te(v,u,i===ba,!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===sh||i.type==="keyup"&&i.key!==ya)return;const u=R.find(gh);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===ya||/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===nh,k=[rh,ba].includes(i.key);if(!k&&!v||u&&!v)return;i.preventDefault();const J=this.matches(_n)?this:R.prev(this,_n)[0]||R.next(this,_n)[0]||R.findOne(_n,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,Ta,_n,vt.dataApiKeydownHandler),D.on(document,Ta,as,vt.dataApiKeydownHandler),D.on(document,Aa,vt.clearMenus),D.on(document,ch,vt.clearMenus),D.on(document,Aa,_n,function(_){_.preventDefault(),vt.getOrCreateInstance(this).toggle()}),C(vt);const wa="backdrop",xh="fade",Ca="show",Sa=`mousedown.bs.${wa}`,Rh={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ih={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Oa extends B{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return Rh}static get DefaultType(){return Ih}static get NAME(){return wa}show(i){if(!this._config.isVisible){K(i);return}this._append();const u=this._getElement();this._config.isAnimated&&b(u),u.classList.add(Ca),this._emulateAnimation(()=>{K(i)})}hide(i){if(!this._config.isVisible){K(i);return}this._getElement().classList.remove(Ca),this._emulateAnimation(()=>{this.dispose(),K(i)})}dispose(){this._isAppended&&(D.off(this._element,Sa),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(xh),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,Sa,()=>{K(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){j(i,this._getElement(),this._config.isAnimated)}}const Dh="focustrap",ls=".bs.focustrap",Lh=`focusin${ls}`,Ph=`keydown.tab${ls}`,$h="Tab",Mh="forward",Na="backward",kh={autofocus:!0,trapElement:null},Vh={autofocus:"boolean",trapElement:"element"};class xa extends B{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return kh}static get DefaultType(){return Vh}static get NAME(){return Dh}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),D.off(document,ls),D.on(document,Lh,i=>this._handleFocusin(i)),D.on(document,Ph,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===Na?v[v.length-1].focus():v[0].focus()}_handleKeydown(i){i.key===$h&&(this._lastTabNavDirection=i.shiftKey?Na:Mh)}}const Ra=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ia=".sticky-top",cs="padding-right",Da="margin-right";class Ti{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(Ra,cs,u=>u+i),this._setElementAttributes(Ia,Da,u=>u-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,cs),this._resetElementAttributes(Ra,cs),this._resetElementAttributes(Ia,Da)}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(A(i)){u(i);return}for(const v of R.find(i,this._element))u(v)}}const Fh="modal",ct=".bs.modal",Hh=".data-api",Bh="Escape",jh=`hide${ct}`,Wh=`hidePrevented${ct}`,La=`hidden${ct}`,Pa=`show${ct}`,Uh=`shown${ct}`,Kh=`resize${ct}`,Gh=`click.dismiss${ct}`,qh=`mousedown.dismiss${ct}`,Yh=`keydown.dismiss${ct}`,zh=`click${ct}${Hh}`,$a="modal-open",Xh="fade",Ma="show",wi="modal-static",Qh=".modal.show",Jh=".modal-dialog",Zh=".modal-body",ep='[data-bs-toggle="modal"]',tp={backdrop:!0,focus:!0,keyboard:!0},np={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class vn extends q{constructor(i,u){super(i,u),this._dialog=R.findOne(Jh,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ti,this._addEventListeners()}static get Default(){return tp}static get DefaultType(){return np}static get NAME(){return Fh}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||D.trigger(this._element,Pa,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add($a),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||D.trigger(this._element,jh).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ma),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 Oa({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new xa({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(Zh,this._dialog);u&&(u.scrollTop=0),b(this._element),this._element.classList.add(Ma);const v=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,D.trigger(this._element,Uh,{relatedTarget:i})};this._queueCallback(v,this._dialog,this._isAnimated())}_addEventListeners(){D.on(this._element,Yh,i=>{if(i.key===Bh){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),D.on(window,Kh,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),D.on(this._element,qh,i=>{D.one(this._element,Gh,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($a),this._resetAdjustments(),this._scrollBar.reset(),D.trigger(this._element,La)})}_isAnimated(){return this._element.classList.contains(Xh)}_triggerBackdropTransition(){if(D.trigger(this._element,Wh).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,v=this._element.style.overflowY;v==="hidden"||this._element.classList.contains(wi)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(wi),this._queueCallback(()=>{this._element.classList.remove(wi),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=w()?"paddingLeft":"paddingRight";this._element.style[k]=`${u}px`}if(!v&&i){const k=w()?"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=vn.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,zh,ep,function(_){const i=R.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&_.preventDefault(),D.one(i,Pa,k=>{k.defaultPrevented||D.one(i,La,()=>{P(this)&&this.focus()})});const u=R.findOne(Qh);u&&vn.getInstance(u).hide(),vn.getOrCreateInstance(i).toggle(this)}),W(vn),C(vn);const rp="offcanvas",Mt=".bs.offcanvas",ka=".data-api",sp=`load${Mt}${ka}`,ip="Escape",Va="show",Fa="showing",Ha="hiding",op="offcanvas-backdrop",Ba=".offcanvas.show",ap=`show${Mt}`,lp=`shown${Mt}`,cp=`hide${Mt}`,ja=`hidePrevented${Mt}`,Wa=`hidden${Mt}`,up=`resize${Mt}`,fp=`click${Mt}${ka}`,dp=`keydown.dismiss${Mt}`,hp='[data-bs-toggle="offcanvas"]',pp={backdrop:!0,keyboard:!0,scroll:!1},gp={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class kt 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 pp}static get DefaultType(){return gp}static get NAME(){return rp}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||D.trigger(this._element,ap,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ti().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Fa);const v=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Va),this._element.classList.remove(Fa),D.trigger(this._element,lp,{relatedTarget:i})};this._queueCallback(v,this._element,!0)}hide(){if(!this._isShown||D.trigger(this._element,cp).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ha),this._backdrop.hide();const u=()=>{this._element.classList.remove(Va,Ha),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ti().reset(),D.trigger(this._element,Wa)};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,ja);return}this.hide()},u=!!this._config.backdrop;return new Oa({className:op,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?i:null})}_initializeFocusTrap(){return new xa({trapElement:this._element})}_addEventListeners(){D.on(this._element,dp,i=>{if(i.key===ip){if(this._config.keyboard){this.hide();return}D.trigger(this._element,ja)}})}static jQueryInterface(i){return this.each(function(){const u=kt.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,fp,hp,function(_){const i=R.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&_.preventDefault(),V(this))return;D.one(i,Wa,()=>{P(this)&&this.focus()});const u=R.findOne(Ba);u&&u!==i&&kt.getInstance(u).hide(),kt.getOrCreateInstance(i).toggle(this)}),D.on(window,sp,()=>{for(const _ of R.find(Ba))kt.getOrCreateInstance(_).show()}),D.on(window,up,()=>{for(const _ of R.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(_).position!=="fixed"&&kt.getOrCreateInstance(_).hide()}),W(kt),C(kt);const Ua={"*":["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:[]},mp=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_p=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,vp=(_,i)=>{const u=_.nodeName.toLowerCase();return i.includes(u)?mp.has(u)?!!_p.test(_.nodeValue):!0:i.filter(v=>v instanceof RegExp).some(v=>v.test(u))};function Ep(_,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)vp(Me,ut)||Y.removeAttribute(Me.nodeName)}return k.body.innerHTML}const yp="TemplateFactory",bp={allowList:Ua,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Ap={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Tp={entry:"(string|element|function|null)",selector:"(string|element)"};class wp extends B{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return bp}static get DefaultType(){return Ap}static get NAME(){return yp}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},Tp)}_setContent(i,u,v){const k=R.findOne(v,i);if(k){if(u=this._resolvePossibleFunction(u),!u){k.remove();return}if(A(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?Ep(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return K(i,[void 0,this])}_putElementInTemplate(i,u){if(this._config.html){u.innerHTML="",u.append(i);return}u.textContent=i.textContent}}const Cp="tooltip",Sp=new Set(["sanitize","allowList","sanitizeFn"]),Ci="fade",Op="modal",us="show",Np=".tooltip-inner",Ka=`.${Op}`,Ga="hide.bs.modal",wr="hover",Si="focus",Oi="click",xp="manual",Rp="hide",Ip="hidden",Dp="show",Lp="shown",Pp="inserted",$p="click",Mp="focusin",kp="focusout",Vp="mouseenter",Fp="mouseleave",Hp={AUTO:"auto",TOP:"top",RIGHT:w()?"left":"right",BOTTOM:"bottom",LEFT:w()?"right":"left"},Bp={allowList:Ua,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"},jp={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 En 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 Bp}static get DefaultType(){return jp}static get NAME(){return Cp}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(Ka),Ga,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(Dp)),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(Pp))),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(Lp)),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(Rp)).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[Oi]=!1,this._activeTrigger[Si]=!1,this._activeTrigger[wr]=!1,this._isHovered=null;const v=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),D.trigger(this._element,this.constructor.eventName(Ip)))};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(Ci,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(Ci),u}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new wp({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Np]: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(Ci)}_isShown(){return this.tip&&this.tip.classList.contains(us)}_createPopper(i){const u=K(this._config.placement,[this,i,this._element]),v=Hp[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 K(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,...K(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($p),this._config.selector,v=>{const k=this._initializeOnDelegatedTarget(v);k._activeTrigger[Oi]=!(k._isShown()&&k._activeTrigger[Oi]),k.toggle()});else if(u!==xp){const v=u===wr?this.constructor.eventName(Vp):this.constructor.eventName(Mp),k=u===wr?this.constructor.eventName(Fp):this.constructor.eventName(kp);D.on(this._element,v,this._config.selector,J=>{const Y=this._initializeOnDelegatedTarget(J);Y._activeTrigger[J.type==="focusin"?Si:wr]=!0,Y._enter()}),D.on(this._element,k,this._config.selector,J=>{const Y=this._initializeOnDelegatedTarget(J);Y._activeTrigger[J.type==="focusout"?Si:wr]=Y._element.contains(J.relatedTarget),Y._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},D.on(this._element.closest(Ka),Ga,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))Sp.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=En.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}C(En);const Wp="popover",Up=".popover-header",Kp=".popover-body",Gp={...En.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},qp={...En.DefaultType,content:"(null|string|element|function)"};class fs extends En{static get Default(){return Gp}static get DefaultType(){return qp}static get NAME(){return Wp}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Up]:this._getTitle(),[Kp]: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]()}})}}C(fs);const Yp="scrollspy",Ni=".bs.scrollspy",zp=".data-api",Xp=`activate${Ni}`,qa=`click${Ni}`,Qp=`load${Ni}${zp}`,Jp="dropdown-item",qn="active",Zp='[data-bs-spy="scroll"]',xi="[href]",eg=".nav, .list-group",Ya=".nav-link",tg=`${Ya}, .nav-item > ${Ya}, .list-group-item`,ng=".dropdown",rg=".dropdown-toggle",sg={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ig={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Cr 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 sg}static get DefaultType(){return ig}static get NAME(){return Yp}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,qa),D.on(this._config.target,qa,xi,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(xi,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(qn),this._activateParents(i),D.trigger(this._element,Xp,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(Jp)){R.findOne(rg,i.closest(ng)).classList.add(qn);return}for(const u of R.parents(i,eg))for(const v of R.prev(u,tg))v.classList.add(qn)}_clearActiveClass(i){i.classList.remove(qn);const u=R.find(`${xi}.${qn}`,i);for(const v of u)v.classList.remove(qn)}static jQueryInterface(i){return this.each(function(){const u=Cr.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,Qp,()=>{for(const _ of R.find(Zp))Cr.getOrCreateInstance(_)}),C(Cr);const og="tab",yn=".bs.tab",ag=`hide${yn}`,lg=`hidden${yn}`,cg=`show${yn}`,ug=`shown${yn}`,fg=`click${yn}`,dg=`keydown${yn}`,hg=`load${yn}`,pg="ArrowLeft",za="ArrowRight",gg="ArrowUp",Xa="ArrowDown",Ri="Home",Qa="End",bn="active",Ja="fade",Ii="show",mg="dropdown",Za=".dropdown-toggle",_g=".dropdown-menu",Di=`:not(${Za})`,vg='.list-group, .nav, [role="tablist"]',Eg=".nav-item, .list-group-item",yg=`.nav-link${Di}, .list-group-item${Di}, [role="tab"]${Di}`,el='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Li=`${yg}, ${el}`,bg=`.${bn}[data-bs-toggle="tab"], .${bn}[data-bs-toggle="pill"], .${bn}[data-bs-toggle="list"]`;class An extends q{constructor(i){super(i),this._parent=this._element.closest(vg),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),D.on(this._element,dg,u=>this._keydown(u)))}static get NAME(){return og}show(){const i=this._element;if(this._elemIsActive(i))return;const u=this._getActiveElem(),v=u?D.trigger(u,ag,{relatedTarget:i}):null;D.trigger(i,cg,{relatedTarget:u}).defaultPrevented||v&&v.defaultPrevented||(this._deactivate(u,i),this._activate(i,u))}_activate(i,u){if(!i)return;i.classList.add(bn),this._activate(R.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(Ii);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),D.trigger(i,ug,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ja))}_deactivate(i,u){if(!i)return;i.classList.remove(bn),i.blur(),this._deactivate(R.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(Ii);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),D.trigger(i,lg,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ja))}_keydown(i){if(![pg,za,gg,Xa,Ri,Qa].includes(i.key))return;i.stopPropagation(),i.preventDefault();const u=this._getChildren().filter(k=>!V(k));let v;if([Ri,Qa].includes(i.key))v=u[i.key===Ri?0:u.length-1];else{const k=[za,Xa].includes(i.key);v=te(u,i.target,k,!0)}v&&(v.focus({preventScroll:!0}),An.getOrCreateInstance(v).show())}_getChildren(){return R.find(Li,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(mg))return;const k=(J,Y)=>{const ge=R.findOne(J,v);ge&&ge.classList.toggle(Y,u)};k(Za,bn),k(_g,Ii),v.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(i,u,v){i.hasAttribute(u)||i.setAttribute(u,v)}_elemIsActive(i){return i.classList.contains(bn)}_getInnerElement(i){return i.matches(Li)?i:R.findOne(Li,i)}_getOuterElement(i){return i.closest(Eg)||i}static jQueryInterface(i){return this.each(function(){const u=An.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,fg,el,function(_){["A","AREA"].includes(this.tagName)&&_.preventDefault(),!V(this)&&An.getOrCreateInstance(this).show()}),D.on(window,hg,()=>{for(const _ of R.find(bg))An.getOrCreateInstance(_)}),C(An);const Ag="toast",Qt=".bs.toast",Tg=`mouseover${Qt}`,wg=`mouseout${Qt}`,Cg=`focusin${Qt}`,Sg=`focusout${Qt}`,Og=`hide${Qt}`,Ng=`hidden${Qt}`,xg=`show${Qt}`,Rg=`shown${Qt}`,Ig="fade",tl="hide",ds="show",hs="showing",Dg={animation:"boolean",autohide:"boolean",delay:"number"},Lg={animation:!0,autohide:!0,delay:5e3};class Sr extends q{constructor(i,u){super(i,u),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Lg}static get DefaultType(){return Dg}static get NAME(){return Ag}show(){if(D.trigger(this._element,xg).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ig);const u=()=>{this._element.classList.remove(hs),D.trigger(this._element,Rg),this._maybeScheduleHide()};this._element.classList.remove(tl),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,Og).defaultPrevented)return;const u=()=>{this._element.classList.add(tl),this._element.classList.remove(hs,ds),D.trigger(this._element,Ng)};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,Tg,i=>this._onInteraction(i,!0)),D.on(this._element,wg,i=>this._onInteraction(i,!1)),D.on(this._element,Cg,i=>this._onInteraction(i,!0)),D.on(this._element,Sg,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const u=Sr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}return W(Sr),C(Sr),{Alert:De,Button:zt,Carousel:Wn,Collapse:Kn,Dropdown:vt,Modal:vn,Offcanvas:kt,Popover:fs,ScrollSpy:Cr,Tab:An,Toast:Sr,Tooltip:En}}))})(ws)),ws.exports}Nm();function Bo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ce={},nr=[],At=()=>{},Jc=()=>!1,zs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jo=e=>e.startsWith("onUpdate:"),$e=Object.assign,Wo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xm=Object.prototype.hasOwnProperty,Te=(e,t)=>xm.call(e,t),le=Array.isArray,rr=e=>Qr(e)==="[object Map]",yr=e=>Qr(e)==="[object Set]",dl=e=>Qr(e)==="[object Date]",fe=e=>typeof e=="function",Oe=e=>typeof e=="string",wt=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",Uo=e=>(we(e)||fe(e))&&fe(e.then)&&fe(e.catch),Zc=Object.prototype.toString,Qr=e=>Zc.call(e),Rm=e=>Qr(e).slice(8,-1),eu=e=>Qr(e)==="[object Object]",Ko=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pr=Bo(",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)))},Im=/-\w/g,mt=Xs(e=>e.replace(Im,t=>t.slice(1).toUpperCase())),Dm=/\B([A-Z])/g,hn=Xs(e=>e.replace(Dm,"-$1").toLowerCase()),Qs=Xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Pi=Xs(e=>e?`on${Qs(e)}`:""),an=(e,t)=>!Object.is(e,t),Ss=(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},nu=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let hl;const Zs=()=>hl||(hl=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(Pm);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;nMn(n,t))}const su=e=>!!(e&&e.__v_isRef===!0),Hm=e=>Oe(e)?e:e==null?"":le(e)||we(e)&&(e.toString===Zc||!fe(e.toString))?su(e)?Hm(e.value):JSON.stringify(e,iu,2):String(e),iu=(e,t)=>su(t)?iu(e,t.value):rr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[$i(r,o)+" =>"]=s,n),{})}:yr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$i(n))}:wt(t)?$i(t):we(t)&&!le(t)&&!eu(t)?String(t):t,$i=(e,t="")=>{var n;return wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Bm(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Ue;class ou{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.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&&(Ue=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 du(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function hu(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),zo(r),Wm(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function ro(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(pu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function pu(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||!ro(e))))return;e.flags|=2;const t=e.dep,n=Se,r=Tt;Se=e,Tt=!0;try{du(e);const s=e.fn(e._value);(t.version===0||an(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Se=n,Tt=r,hu(e),e.flags&=-3}}function zo(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)zo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wm(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 gu=[];function Gt(){gu.push(Tt),Tt=!1}function qt(){const e=gu.pop();Tt=e===void 0?!0:e}function pl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Se;Se=void 0;try{t()}finally{Se=n}}}let Wr=0;class Um{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Se||!Tt||Se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Se)n=this.activeLink=new Um(Se,this),Se.deps?(n.prevDep=Se.depsTail,Se.depsTail.nextDep=n,Se.depsTail=n):Se.deps=Se.depsTail=n,mu(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=Se.depsTail,n.nextDep=void 0,Se.depsTail.nextDep=n,Se.depsTail=n,Se.deps===n&&(Se.deps=r)}return n}trigger(t){this.version++,Wr++,this.notify(t)}notify(t){qo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Yo()}}}function mu(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)mu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ls=new WeakMap,xn=Symbol(""),so=Symbol(""),Ur=Symbol("");function Ke(e,t,n){if(Tt&&Se){let r=Ls.get(e);r||Ls.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Xo),s.map=r,s.key=n),s.track()}}function jt(e,t,n,r,s,o){const a=Ls.get(e);if(!a){Wr++;return}const l=c=>{c&&c.trigger()};if(qo(),t==="clear")a.forEach(l);else{const c=le(e),d=c&&Ko(n);if(c&&n==="length"){const f=Number(r);a.forEach((h,p)=>{(p==="length"||p===Ur||!wt(p)&&p>=f)&&l(h)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),d&&l(a.get(Ur)),t){case"add":c?d&&l(a.get("length")):(l(a.get(xn)),rr(e)&&l(a.get(so)));break;case"delete":c||(l(a.get(xn)),rr(e)&&l(a.get(so)));break;case"set":rr(e)&&l(a.get(xn));break}}Yo()}function Km(e,t){const n=Ls.get(e);return n&&n.get(t)}function zn(e){const t=ve(e);return t===e?t:(Ke(t,"iterate",Ur),pt(e)?t:t.map(Fe))}function ni(e){return Ke(e=ve(e),"iterate",Ur),e}const Gm={__proto__:null,[Symbol.iterator](){return ki(this,Symbol.iterator,Fe)},concat(...e){return zn(this).concat(...e.map(t=>le(t)?zn(t):t))},entries(){return ki(this,"entries",e=>(e[1]=Fe(e[1]),e))},every(e,t){return Vt(this,"every",e,t,void 0,arguments)},filter(e,t){return Vt(this,"filter",e,t,n=>n.map(Fe),arguments)},find(e,t){return Vt(this,"find",e,t,Fe,arguments)},findIndex(e,t){return Vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Vt(this,"findLast",e,t,Fe,arguments)},findLastIndex(e,t){return Vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vi(this,"includes",e)},indexOf(...e){return Vi(this,"indexOf",e)},join(e){return zn(this).join(e)},lastIndexOf(...e){return Vi(this,"lastIndexOf",e)},map(e,t){return Vt(this,"map",e,t,void 0,arguments)},pop(){return Or(this,"pop")},push(...e){return Or(this,"push",e)},reduce(e,...t){return gl(this,"reduce",e,t)},reduceRight(e,...t){return gl(this,"reduceRight",e,t)},shift(){return Or(this,"shift")},some(e,t){return Vt(this,"some",e,t,void 0,arguments)},splice(...e){return Or(this,"splice",e)},toReversed(){return zn(this).toReversed()},toSorted(e){return zn(this).toSorted(e)},toSpliced(...e){return zn(this).toSpliced(...e)},unshift(...e){return Or(this,"unshift",e)},values(){return ki(this,"values",Fe)}};function ki(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 qm=Array.prototype;function Vt(e,t,n,r,s,o){const a=ni(e),l=a!==e&&!pt(e),c=a[t];if(c!==qm[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 gl(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 Vi(e,t,n){const r=ve(e);Ke(r,"iterate",Ur);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=[]){Gt(),qo();const r=ve(e)[t].apply(e,n);return Yo(),qt(),r}const Ym=Bo("__proto__,__v_isRef,__isVue"),_u=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wt));function zm(e){wt(e)||(e=String(e));const t=ve(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class vu{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?wu:Tu:o?Au:bu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=le(t);if(!s){let c;if(a&&(c=Gm[n]))return c;if(n==="hasOwnProperty")return zm}const l=Reflect.get(t,n,Re(t)?t:r);if((wt(n)?_u.has(n):Ym(n))||(s||Ke(t,"get",n),o))return l;if(Re(l)){const c=a&&Ko(n)?l:l.value;return s&&we(c)?oo(c):c}return we(l)?s?oo(l):Jr(l):l}}class Eu extends vu{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=cn(o);if(!pt(r)&&!cn(r)&&(o=ve(o),r=ve(r)),!le(t)&&Re(o)&&!Re(r))return c||(o.value=r),!0}const a=le(t)&&Ko(n)?Number(n)e,ms=e=>Reflect.getPrototypeOf(e);function e_(e,t,n){return function(...r){const s=this.__v_raw,o=ve(s),a=rr(o),l=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,d=s[e](...r),f=n?io:t?Ps:Fe;return!t&&Ke(o,"iterate",c?so:xn),{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 t_(e,t){const n={get(s){const o=this.__v_raw,a=ve(o),l=ve(s);e||(an(s,l)&&Ke(a,"get",s),Ke(a,"get",l));const{has:c}=ms(a),d=t?io: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&&Ke(ve(s),"iterate",xn),s.size},has(s){const o=this.__v_raw,a=ve(o),l=ve(s);return e||(an(s,l)&&Ke(a,"has",s),Ke(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?io:e?Ps:Fe;return!e&&Ke(c,"iterate",xn),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)&&!cn(s)&&(s=ve(s));const o=ve(this);return ms(o).has.call(o,s)||(o.add(s),jt(o,"add",s,s)),this},set(s,o){!t&&!pt(o)&&!cn(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?an(o,f)&&jt(a,"set",s,o):jt(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&&jt(o,"delete",s,void 0),d},clear(){const s=ve(this),o=s.size!==0,a=s.clear();return o&&jt(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=e_(s,e,t)}),n}function ri(e,t){const n=t_(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 n_={get:ri(!1,!1)},r_={get:ri(!1,!0)},s_={get:ri(!0,!1)},i_={get:ri(!0,!0)},bu=new WeakMap,Au=new WeakMap,Tu=new WeakMap,wu=new WeakMap;function o_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function a_(e){return e.__v_skip||!Object.isExtensible(e)?0:o_(Rm(e))}function Jr(e){return cn(e)?e:si(e,!1,Xm,n_,bu)}function Cu(e){return si(e,!1,Jm,r_,Au)}function oo(e){return si(e,!0,Qm,s_,Tu)}function Ab(e){return si(e,!0,Zm,i_,wu)}function si(e,t,n,r,s){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=a_(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 ln(e){return cn(e)?ln(e.__v_raw):!!(e&&e.__v_isReactive)}function cn(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)&&tu(e,"__v_skip",!0),e}const Fe=e=>we(e)?Jr(e):e,Ps=e=>we(e)?oo(e):e;function Re(e){return e?e.__v_isRef===!0:!1}function Rn(e){return Ou(e,!1)}function Su(e){return Ou(e,!0)}function Ou(e,t){return Re(e)?e:new l_(e,t)}class l_{constructor(t,n){this.dep=new Xo,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)||cn(t);t=r?t:ve(t),an(t,n)&&(this._rawValue=t,this._value=r?t:Fe(t),this.dep.trigger())}}function nt(e){return Re(e)?e.value:e}function Tb(e){return fe(e)?e():nt(e)}const c_={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 Nu(e){return ln(e)?e:new Proxy(e,c_)}function u_(e){const t=le(e)?new Array(e.length):{};for(const n in e)t[n]=xu(e,n);return t}class f_{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 Km(ve(this._object),this._key)}}class d_{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 wb(e,t,n){return Re(e)?e:fe(e)?new d_(e):we(e)&&arguments.length>1?xu(e,t,n):Rn(e)}function xu(e,t,n){const r=e[t];return Re(r)?r:new f_(e,t,n)}class h_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Xo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Se!==this)return fu(this,!0),!0}get value(){const t=this.dep.track();return pu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function p_(e,t,n=!1){let r,s;return fe(e)?r=e:(r=e.get,s=e.set),new h_(r,s,n)}const vs={},$s=new WeakMap;let Sn;function g_(e,t=!1,n=Sn){if(n){let r=$s.get(n);r||$s.set(n,r=[]),r.push(e)}}function m_(e,t,n=Ce){const{immediate:r,deep:s,once:o,scheduler:a,augmentJob:l,call:c}=n,d=M=>s?M:pt(M)||s===!1||s===0?Wt(M,1):Wt(M);let f,h,p,m,O=!1,A=!1;if(Re(e)?(h=()=>e.value,O=pt(e)):ln(e)?(h=()=>d(e),O=!0):le(e)?(A=!0,O=e.some(M=>ln(M)||pt(M)),h=()=>e.map(M=>{if(Re(M))return M.value;if(ln(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){Gt();try{p()}finally{qt()}}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=()=>Wt(M(),b)}const x=lu(),P=()=>{f.stop(),x&&x.active&&Wo(x.effects,f)};if(o&&t){const M=t;t=(...b)=>{M(...b),P()}}let V=A?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||(A?b.some((y,N)=>an(y,V[N])):an(b,V))){p&&p();const y=Sn;Sn=f;try{const N=[b,V===vs?void 0:A&&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 cu(h),f.scheduler=a?()=>a(H,!1):H,m=M=>g_(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 Wt(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Re(e))Wt(e.value,t,n);else if(le(e))for(let r=0;r{Wt(r,t,n)});else if(eu(e)){for(const r in e)Wt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Wt(e[r],t,n)}return e}function Zr(e,t,n,r){try{return r?e(...r):e()}catch(s){br(s,t,n)}}function Ct(e,t,n,r){if(fe(e)){const s=Zr(e,t,n,r);return s&&Uo(s)&&s.catch(o=>{br(o,t,n)}),s}if(le(e)){const s=[];for(let o=0;o>>1,s=ze[r],o=Kr(s);o=Kr(n)?ze.push(e):ze.splice(v_(t),0,e),e.flags|=1,Iu()}}function Iu(){Ms||(Ms=Ru.then(Lu))}function ks(e){le(e)?sr.push(...e):nn&&e.id===-1?nn.splice(Jn+1,0,e):e.flags&1||(sr.push(e),e.flags|=1),Iu()}function ml(e,t,n=Rt+1){for(;nKr(n)-Kr(r));if(sr.length=0,nn){nn.push(...t);return}for(nn=t,Jn=0;Jne.id==null?e.flags&2?-1:1/0:e.id;function Lu(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 Cb(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===""),_l=e=>e&&(e.defer||e.defer===""),vl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,El=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ao=(e,t)=>{const n=e&&e.to;return Oe(n)?t?t(n):null:n},ku={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:A,createComment:x}}=d,P=kr(t.props);let{shapeFlag:V,children:H,dynamicChildren:M}=t;if(e==null){const b=t.el=A(""),y=t.anchor=A("");m(b,n,r),m(y,n,r);const N=(w,C)=>{V&16&&f(H,w,C,s,o,a,l,c)},T=()=>{const w=t.target=ao(t.props,O),C=Vu(w,t,A,m);w&&(a!=="svg"&&vl(w)?a="svg":a!=="mathml"&&El(w)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(w),P||(N(w,C),Os(t,!1)))};P&&(N(n,y),Os(t,!0)),_l(t.props)?(t.el.__isMounted=!1,qe(()=>{T(),delete t.el.__isMounted},o)):T()}else{if(_l(t.props)&&e.el.__isMounted===!1){qe(()=>{ku.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,T=kr(e.props),w=T?n:y,C=T?b:N;if(a==="svg"||vl(y)?a="svg":(a==="mathml"||El(y))&&(a="mathml"),M?(p(e.dynamicChildren,M,w,s,o,a,l),aa(e,t,!0)):c||h(e,t,w,C,s,o,a,l,!1),P)T?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 K=t.target=ao(t.props,O);K&&Es(t,K,null,d,0)}else T&&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}),zu(()=>{e.isUnmounting=!0}),e}const ft=[Function,Array],Hu={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},Bu=e=>{const t=e.subTree;return t.component?Bu(t.component):t},y_={name:"BaseTransition",props:Hu,setup(e,{slots:t}){const n=pn(),r=Fu();return()=>{const s=t.default&&Zo(t.default(),!0);if(!s||!s.length)return;const o=ju(s),a=ve(e),{mode:l}=a;if(r.isLeaving)return Fi(o);const c=yl(o);if(!c)return Fi(o);let d=Gr(c,a,r,n,h=>d=h);c.type!==ke&&kn(c,d);let f=n.subTree&&yl(n.subTree);if(f&&f.type!==ke&&!Dt(f,c)&&Bu(n).type!==ke){let h=Gr(f,a,r,n);if(kn(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},Fi(o);l==="in-out"&&c.type!==ke?h.delayLeave=(p,m,O)=>{const A=Wu(r,f);A[String(f.key)]=f,p[Bt]=()=>{m(),p[Bt]=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 ju(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ke){t=n;break}}return t}const b_=y_;function Wu(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:A,onBeforeAppear:x,onAppear:P,onAfterAppear:V,onAppearCancelled:H}=t,M=String(e.key),b=Wu(n,e),y=(w,C)=>{w&&Ct(w,r,9,C)},N=(w,C)=>{const K=C[1];y(w,C),le(w)?w.every(j=>j.length<=1)&&K():w.length<=1&&K()},T={mode:a,persisted:l,beforeEnter(w){let C=c;if(!n.isMounted)if(o)C=x||c;else return;w[Bt]&&w[Bt](!0);const K=b[M];K&&Dt(e,K)&&K.el[Bt]&&K.el[Bt](),y(C,[w])},enter(w){let C=d,K=f,j=h;if(!n.isMounted)if(o)C=P||d,K=V||f,j=H||h;else return;let te=!1;const he=w[ys]=Ee=>{te||(te=!0,Ee?y(j,[w]):y(K,[w]),T.delayedLeave&&T.delayedLeave(),w[ys]=void 0)};C?N(C,[w,he]):he()},leave(w,C){const K=String(e.key);if(w[ys]&&w[ys](!0),n.isUnmounting)return C();y(p,[w]);let j=!1;const te=w[Bt]=he=>{j||(j=!0,C(),he?y(A,[w]):y(O,[w]),w[Bt]=void 0,b[K]===e&&delete b[K])};b[K]=e,m?N(m,[w,te]):te()},clone(w){const C=Gr(w,t,n,r,s);return s&&s(C),C}};return T}function Fi(e){if(es(e))return e=un(e),e.children=null,e}function yl(e){if(!es(e))return Mu(e.type)&&e.children?ju(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 kn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,kn(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,A)=>Vr(O,t&&(le(t)?t[A]:t),n,r,s));return}if(ir(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===Ce?l.refs={}:l.refs,h=l.setupState,p=ve(h),m=h===Ce?Jc:O=>Te(p,O);if(d!=null&&d!==c){if(bl(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),A=Re(c);if(O||A){const x=()=>{if(e.f){const P=O?m(c)?h[c]:f[c]:c.value;if(s)le(P)&&Wo(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)):A&&(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 bl(e),x()}}}function bl(e){const t=Fs.get(e);t&&(t.flags|=8,Fs.delete(e))}const Al=e=>e.nodeType===8;Zs().requestIdleCallback;Zs().cancelIdleCallback;function A_(e,t){if(Al(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Al(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const ir=e=>!!e.type.__asyncLoader;function Nb(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(A=>{if(A=A instanceof Error?A:new Error(String(A)),c)return new Promise((x,P)=>{c(A,()=>x(p()),()=>P(A),h+1)});throw A}).then(A=>O!==d&&d?d:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),f=A,A)))};return ea({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(O,A,x){let P=!1;(A.bu||(A.bu=[])).push(()=>P=!0);const V=()=>{P||x()},H=o?()=>{const M=o(V,b=>A_(O,b));M&&(A.bum||(A.bum=[])).push(M)}:V;f?H():m().then(()=>!A.isUnmounted&&H())},get __asyncResolved(){return f},setup(){const O=He;if(ta(O),f)return()=>bs(f,O);const A=H=>{d=null,br(H,O,13,!r)};if(l&&O.suspense||pr)return m().then(H=>()=>bs(H,O)).catch(H=>(A(H),()=>r?Ne(r,{error:H}):null));const x=Rn(!1),P=Rn(),V=Rn(!!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.`);A(H),P.value=H}},a),m().then(()=>{x.value=!0,O.parent&&es(O.parent.vnode)&&O.parent.update()}).catch(H=>{A(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 Uu(e,t){Gu(e,"a",t)}function Ku(e,t){Gu(e,"da",t)}function Gu(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)&&T_(r,t,n,s),s=s.parent}}function T_(e,t,n,r){const s=ai(t,e,r,!0);li(()=>{Wo(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)=>{Gt();const l=Vn(n),c=Ct(t,n,e,a);return l(),qt(),c});return r?s.unshift(o):s.push(o),o}}const Yt=e=>(t,n=He)=>{(!pr||e==="sp")&&ai(e,(...r)=>t(...r),n)},w_=Yt("bm"),na=Yt("m"),qu=Yt("bu"),Yu=Yt("u"),zu=Yt("bum"),li=Yt("um"),C_=Yt("sp"),S_=Yt("rtg"),O_=Yt("rtc");function N_(e,t=He){ai("ec",e,t)}const ra="components",x_="directives";function R_(e,t){return sa(ra,e,!0,t)||e}const Xu=Symbol.for("v-ndc");function I_(e){return Oe(e)?sa(ra,e,!1)||e:e||Xu}function xb(e){return sa(x_,e)}function sa(e,t,n=!0,r=!1){const s=Be||He;if(s){const o=s.type;if(e===ra){const l=Ov(o,!1);if(l&&(l===t||l===mt(t)||l===Qs(mt(t))))return o}const a=Tl(s[e]||o[e],t)||Tl(s.appContext[e],t);return!a&&r?o:a}}function Tl(e,t){return e&&(e[t]||e[mt(t)]||e[Qs(mt(t))])}function Rb(e,t,n,r){let s;const o=n,a=le(e);if(a||Oe(e)){const l=a&&ln(e);let c=!1,d=!1;l&&(c=!pt(e),d=cn(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 Db(e,t,n={},r,s){if(Be.ce||Be.parent&&ir(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&&Qu(o(n)),l=n.key||a&&a.key,c=Yr(Xe,{key:(l&&!wt(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 Qu(e){return e.some(t=>hr(t)?!(t.type===ke||t.type===Xe&&!Qu(t.children)):!0)?e:null}const lo=e=>e?Ef(e)?fi(e):lo(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=>lo(e.parent),$root:e=>lo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Zu(e),$forceUpdate:e=>e.f||(e.f=()=>{Jo(e.update)}),$nextTick:e=>e.n||(e.n=oi.bind(e.proxy)),$watch:e=>ev.bind(e)}),Hi=(e,t)=>e!==Ce&&!e.__isScriptSetup&&Te(e,t),D_={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(Hi(r,t))return a[t]=1,r[t];if(s!==Ce&&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!==Ce&&Te(n,t))return a[t]=4,n[t];uo&&(a[t]=0)}}const f=Fr[t];let h,p;if(f)return t==="$attrs"&&Ke(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Ce&&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 Hi(s,t)?(s[t]=n,!0):r!==Ce&&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!==Ce&&l[0]!=="$"&&Te(e,l)||Hi(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 Lb(){return L_().slots}function L_(e){const t=pn();return t.setupContext||(t.setupContext=bf(t))}function co(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Pb(e,t){const n=co(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 $b(e){const t=pn();let n=e();return mo(),Uo(n)&&(n=n.catch(r=>{throw Vn(t),r})),[n,()=>Vn(t)]}let uo=!0;function P_(e){const t=Zu(e),n=e.proxy,r=e.ctx;uo=!1,t.beforeCreate&&wl(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:A,deactivated:x,beforeDestroy:P,beforeUnmount:V,destroyed:H,unmounted:M,render:b,renderTracked:y,renderTriggered:N,errorCaptured:T,serverPrefetch:w,expose:C,inheritAttrs:K,components:j,directives:te,filters:he}=t;if(d&&$_(d,r,null),a)for(const I in a){const U=a[I];fe(U)&&(r[I]=U.bind(n))}if(s){const I=s.call(n,n);we(I)&&(e.data=Jr(I))}if(uo=!0,o)for(const I in o){const U=o[I],G=fe(U)?U.bind(n,n):fe(U.get)?U.get.bind(n,n):At,X=!fe(U)&&fe(U.set)?U.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)Ju(l[I],r,n,I);if(c){const I=fe(c)?c.call(n):c;Reflect.ownKeys(I).forEach(U=>{Ns(U,I[U])})}f&&wl(f,e,"c");function ie(I,U){le(U)?U.forEach(G=>I(G.bind(n))):U&&I(U.bind(n))}if(ie(w_,h),ie(na,p),ie(qu,m),ie(Yu,O),ie(Uu,A),ie(Ku,x),ie(N_,T),ie(O_,y),ie(S_,N),ie(zu,V),ie(li,M),ie(C_,w),le(C))if(C.length){const I=e.exposed||(e.exposed={});C.forEach(U=>{Object.defineProperty(I,U,{get:()=>n[U],set:G=>n[U]=G,enumerable:!0})})}else e.exposed||(e.exposed={});b&&e.render===At&&(e.render=b),K!=null&&(e.inheritAttrs=K),j&&(e.components=j),te&&(e.directives=te),w&&ta(e)}function $_(e,t,n=At){le(e)&&(e=fo(e));for(const r in e){const s=e[r];let o;we(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 wl(e,t,n){Ct(le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ju(e,t,n,r){let s=r.includes(".")?df(n,r):()=>n[r];if(Oe(e)){const o=t[e];fe(o)&&Dn(s,o)}else if(fe(e))Dn(s,e.bind(n));else if(we(e))if(le(e))e.forEach(o=>Ju(o,t,n,r));else{const o=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(o)&&Dn(s,o,e)}}function Zu(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)),we(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=M_[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const M_={data:Cl,props:Sl,emits:Sl,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:V_,provide:Cl,inject:k_};function Cl(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 k_(e,t){return Ir(fo(e),fo(t))}function fo(e){if(le(e)){const t={};for(let n=0;n1)return n&&fe(t)?t.call(r&&r.proxy):t}}function B_(){return!!(pn()||In)}const tf={},nf=()=>Object.create(tf),rf=e=>Object.getPrototypeOf(e)===tf;function j_(e,t,n,r=!1){const s={},o=nf();e.propsDefaults=Object.create(null),sf(e,t,s,o);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=r?s:Cu(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function W_(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]=of(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 we(e)&&r.set(e,nr),nr;if(le(o))for(let f=0;fe==="_"||e==="_ctx"||e==="$stable",oa=e=>le(e)?e.map(bt):[bt(e)],K_=(e,t,n)=>{if(t._n)return t;const r=Zn((...s)=>oa(t(...s)),n);return r._c=!1,r},af=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ia(s))continue;const o=e[s];if(fe(o))t[s]=K_(s,o,r);else if(o!=null){const a=oa(o);t[s]=()=>a}}},lf=(e,t)=>{const n=oa(t);e.slots.default=()=>n},cf=(e,t,n)=>{for(const r in t)(n||!ia(r))&&(e[r]=t[r])},G_=(e,t,n)=>{const r=e.slots=nf();if(e.vnode.shapeFlag&32){const s=t._;s?(cf(r,t,n),n&&tu(r,"_",s,!0)):af(t,r)}else t&&lf(e,t)},q_=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,a=Ce;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:cf(s,t,n):(o=!t.$stable,af(t,s)),a=t}else t&&(lf(e,t),a={default:1});if(o)for(const l in s)!ia(l)&&a[l]==null&&delete s[l]},qe=pv;function Y_(e){return z_(e)}function z_(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,A=(g,E,S,$=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,S,$);break;case ke:P(g,E,S,$);break;case xs:g==null&&V(E,S,$,q);break;case Xe:j(g,E,S,$,B,F,q,z,R);break;default:ee&1?b(g,E,S,$,B,F,q,z,R):ee&6?te(g,E,S,$,B,F,q,z,R):(ee&64||ee&128)&&W.process(g,E,S,$,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,S,$)=>{if(g==null)r(E.el=l(E.children),S,$);else{const B=E.el=g.el;E.children!==g.children&&d(B,E.children)}},P=(g,E,S,$)=>{g==null?r(E.el=c(E.children||""),S,$):E.el=g.el},V=(g,E,S,$)=>{[g.el,g.anchor]=O(g.children,E,S,$,g.el,g.anchor)},H=({el:g,anchor:E},S,$)=>{let B;for(;g&&g!==E;)B=p(g),r(g,S,$),g=B;r(E,S,$)},M=({el:g,anchor:E})=>{let S;for(;g&&g!==E;)S=p(g),s(g),g=S;s(E)},b=(g,E,S,$,B,F,q,z,R)=>{if(E.type==="svg"?q="svg":E.type==="math"&&(q="mathml"),g==null)y(E,S,$,B,F,q,z,R);else{const W=g.el&&g.el._isVueCE?g.el:null;try{W&&W._beginPatch(),w(g,E,B,F,q,z,R)}finally{W&&W._endPatch()}}},y=(g,E,S,$,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&&T(g.children,R,null,$,B,Bi(g,F),q,z),ue&&Tn(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&&Tn(g,null,$,"beforeMount");const pe=X_(B,ae);pe&&ae.beforeEnter(R),r(R,E,S),((W=ce&&ce.onVnodeMounted)||pe||ue)&&qe(()=>{W&&Nt(W,$,g),pe&&ae.enter(R),ue&&Tn(g,null,$,"mounted")},B)},N=(g,E,S,$,B)=>{if(S&&m(g,S),$)for(let F=0;F<$.length;F++)m(g,$[F]);if(B){let F=B.subTree;if(E===F||pf(F.type)&&(F.ssContent===E||F.ssFallback===E)){const q=B.vnode;N(g,q,q.scopeId,q.slotScopeIds,B.parent)}}},T=(g,E,S,$,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||Ce,ae=E.props||Ce;let ue;if(S&&wn(S,!1),(ue=ae.onVnodeBeforeUpdate)&&Nt(ue,S,E,g),ce&&Tn(E,g,S,"beforeUpdate"),S&&wn(S,!0),(ee.innerHTML&&ae.innerHTML==null||ee.textContent&&ae.textContent==null)&&f(z,""),W?C(g.dynamicChildren,W,z,S,$,Bi(E,B),F):q||U(g,E,z,null,S,$,Bi(E,B),F,!1),R>0){if(R&16)K(z,ee,ae,S,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,S,E,g),ce&&Tn(E,g,S,"updated")},$)},C=(g,E,S,$,B,F,q)=>{for(let z=0;z{if(E!==S){if(E!==Ce)for(const F in E)!Pr(F)&&!(F in S)&&o(g,F,E[F],null,B,$);for(const F in S){if(Pr(F))continue;const q=S[F],z=E[F];q!==z&&F!=="value"&&o(g,F,z,q,B,$)}"value"in S&&o(g,"value",E.value,S.value,B)}},j=(g,E,S,$,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,S,$),r(ce,S,$),T(E.children||[],S,ce,B,F,q,z,R)):ee>0&&ee&64&&ae&&g.dynamicChildren?(C(g.dynamicChildren,ae,S,B,F,q,z),(E.key!=null||B&&E===B.subTree)&&aa(g,E,!0)):U(g,E,S,ce,B,F,q,z,R)},te=(g,E,S,$,B,F,q,z,R)=>{E.slotScopeIds=z,g==null?E.shapeFlag&512?B.ctx.activate(E,S,$,q,R):he(E,S,$,B,F,q,R):Ee(g,E,R)},he=(g,E,S,$,B,F,q)=>{const z=g.component=Tv(g,$,B);if(es(g)&&(z.ctx.renderer=oe),wv(z,!1,q),z.asyncDep){if(B&&B.registerDep(z,ie,q),!g.el){const R=z.subTree=Ne(ke);P(null,R,E,S),g.placeholder=R.el}}else ie(z,g,E,S,B,F,q)},Ee=(g,E,S)=>{const $=E.component=g.component;if(av(g,E,S))if($.asyncDep&&!$.asyncResolved){I($,E,S);return}else $.next=E,$.update();else E.el=g.el,$.vnode=E},ie=(g,E,S,$,B,F,q)=>{const z=()=>{if(g.isMounted){let{next:ee,bu:ae,u:ue,parent:pe,vnode:be}=g;{const at=uf(g);if(at){ee&&(ee.el=be.el,I(g,ee,q)),at.asyncDep.then(()=>{g.isUnmounted||z()});return}}let _e=ee,De;wn(g,!1),ee?(ee.el=be.el,I(g,ee,q)):ee=be,ae&&Ss(ae),(De=ee.props&&ee.props.onVnodeBeforeUpdate)&&Nt(De,pe,ee,be),wn(g,!0);const je=xl(g),_t=g.subTree;g.subTree=je,A(_t,je,h(_t.el),L(_t),g,B,F),ee.el=je.el,_e===null&&la(g,je.el),ue&&qe(ue,B),(De=ee.props&&ee.props.onVnodeUpdated)&&qe(()=>Nt(De,pe,ee,be),B)}else{let ee;const{el:ae,props:ue}=E,{bm:pe,m:be,parent:_e,root:De,type:je}=g,_t=ir(E);wn(g,!1),pe&&Ss(pe),!_t&&(ee=ue&&ue.onVnodeBeforeMount)&&Nt(ee,_e,E),wn(g,!0);{De.ce&&De.ce._def.shadowRoot!==!1&&De.ce._injectChildStyle(je);const at=g.subTree=xl(g);A(null,at,S,$,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&&ir(_e.vnode)&&_e.vnode.shapeFlag&256)&&g.a&&qe(g.a,B),g.isMounted=!0,E=S=$=null}};g.scope.on();const R=g.effect=new cu(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=()=>Jo(ce),wn(g,!0),W()},I=(g,E,S)=>{E.component=g;const $=g.vnode.props;g.vnode=E,g.next=null,W_(g,E.props,$,S),q_(g,E.children,S),Gt(),ml(g),qt()},U=(g,E,S,$,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,S,$,B,F,q,z,R);return}else if(ae&256){G(W,ee,S,$,B,F,q,z,R);return}}ue&8?(ce&16&&ye(W,B,F),ee!==W&&f(S,ee)):ce&16?ue&16?X(W,ee,S,$,B,F,q,z,R):ye(W,B,F,!0):(ce&8&&f(S,""),ue&16&&T(ee,S,$,B,F,q,z,R))},G=(g,E,S,$,B,F,q,z,R)=>{g=g||nr,E=E||nr;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):T(E,S,$,B,F,q,z,R,ee)},X=(g,E,S,$,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?rn(E[W]):bt(E[W]);if(Dt(ue,pe))A(ue,pe,S,null,B,F,q,z,R);else break;W++}for(;W<=ee&&W<=ae;){const ue=g[ee],pe=E[ae]=R?rn(E[ae]):bt(E[ae]);if(Dt(ue,pe))A(ue,pe,S,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?rn(E[W]):bt(E[W]);We.key!=null&&be.set(We.key,W)}let _e,De=0;const je=ae-pe+1;let _t=!1,at=0;const gn=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(gn[_e-pe]===0&&Dt(We,E[_e])){lt=_e;break}lt===void 0?ne(We,B,F,!0):(gn[lt-pe]=W+1,lt>=at?at=lt:_t=!0,A(We,E[lt],S,null,B,F,q,z,R),De++)}const ts=_t?Q_(gn):nr;for(_e=ts.length-1,W=je-1;W>=0;W--){const We=pe+W,lt=E[We],zt=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,S,$);return}if(W&128){g.suspense.move(E,S,$);return}if(W&64){q.move(g,E,S,oe);return}if(q===Xe){r(F,E,S);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,S)},be=()=>{F._isLeaving&&F[Bt](!0),ee(F,()=>{pe(),ue&&ue()})};ae?ae(F,pe,be):be()}else r(F,E,S)},ne=(g,E,S,$=!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&&(Gt(),Vr(z,null,S,g,!0),qt()),ue!=null&&(E.renderCache[ue]=void 0),ce&256){E.ctx.deactivate(g);return}const pe=ce&1&&ae,be=!ir(g);let _e;if(be&&(_e=q&&q.onVnodeBeforeUnmount)&&Nt(_e,E,g),ce&6)me(g.component,S,$);else{if(ce&128){g.suspense.unmount(S,$);return}pe&&Tn(g,null,E,"beforeUnmount"),ce&64?g.type.remove(g,E,S,oe,$):W&&!W.hasOnce&&(F!==Xe||ee>0&&ee&64)?ye(W,E,S,!1,!0):(F===Xe&&ee&384||!B&&ce&16)&&ye(R,E,S),$&&se(g)}(be&&(_e=q&&q.onVnodeUnmounted)||pe)&&qe(()=>{_e&&Nt(_e,E,g),pe&&Tn(g,null,E,"unmounted")},S)},se=g=>{const{type:E,el:S,anchor:$,transition:B}=g;if(E===Xe){de(S,$);return}if(E===xs){M(g);return}const F=()=>{s(S),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(g.shapeFlag&1&&B&&!B.persisted){const{leave:q,delayLeave:z}=B,R=()=>q(S,F);z?z(g.el,F,R):R()}else F()},de=(g,E)=>{let S;for(;g!==E;)S=p(g),s(g),g=S;s(E)},me=(g,E,S)=>{const{bum:$,scope:B,job:F,subTree:q,um:z,m:R,a:W}=g;Nl(R),Nl(W),$&&Ss($),B.stop(),F&&(F.flags|=8,ne(q,g,E,S)),z&&qe(z,E),qe(()=>{g.isUnmounted=!0},E)},ye=(g,E,S,$=!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),S=E&&E[$u];return S?p(S):E};let Q=!1;const Z=(g,E,S)=>{g==null?E._vnode&&ne(E._vnode,null,null,!0):A(E._vnode||null,g,E,null,null,null,S),E._vnode=g,Q||(Q=!0,ml(),Du(),Q=!1)},oe={p:A,um:ne,m:re,r:se,mt:he,mc:T,pc:U,pbc:C,n:L,o:e};return{render:Z,hydrate:void 0,createApp:H_(Z)}}function Bi({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 wn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function X_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function aa(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 uf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:uf(t)}function Nl(e){if(e)for(let t=0;trt(J_);function Dn(e,t,n){return ff(e,t,n)}function ff(e,t,n=Ce){const{immediate:r,deep:s,flush:o,once:a}=n,l=$e({},n),c=t&&r||!t&&o!=="post";let d;if(pr){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,A)=>Ct(m,f,O,A);let h=!1;o==="post"?l.scheduler=m=>{qe(m,f&&f.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(m,O)=>{O?m():Jo(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=m_(e,t,l);return pr&&(d?d.push(p):c&&p()),p}function ev(e,t,n){const r=this.proxy,s=Oe(e)?e.includes(".")?df(r,e):()=>r[e]:e.bind(r,r);let o;fe(t)?o=t:(o=t.handler,n=t);const a=Vn(this),l=ff(s,o.bind(r),n);return a(),l}function df(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[`${hn(t)}Modifiers`];function nv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let s=n;const o=t.startsWith("update:"),a=o&&tv(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=Pi(t)]||r[l=Pi(mt(t))];!c&&o&&(c=r[l=Pi(hn(t))]),c&&Ct(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,Ct(d,e,6,s)}}const rv=new WeakMap;function hf(e,t,n=!1){const r=n?rv: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=hf(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?(we(e)&&r.set(e,null),null):(le(o)?o.forEach(c=>a[c]=null):$e(a,o),we(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,hn(t))||Te(e,t))}function xl(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:A}=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:iv(l)}}catch(M){Hr.length=0,br(M,e,1),P=Ne(ke)}let H=P;if(V&&A!==!1){const M=Object.keys(V),{shapeFlag:b}=H;M.length&&b&7&&(o&&M.some(jo)&&(V=ov(V,o)),H=un(H,V,!1,!0))}return n.dirs&&(H=un(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&kn(H,n.transition),P=H,Vs(x),P}function sv(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},ov=(e,t)=>{const n={};for(const r in e)(!jo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function av(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?Rl(r,a,d):!!a;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;let po=0;const lv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,a,l,c,d){if(e==null)uv(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}fv(e,t,n,r,s,a,l,c,d)}},hydrate:dv,normalize:hv},cv=lv;function qr(e,t){const n=e.props&&e.props[t];fe(n)&&n()}function uv(e,t,n,r,s,o,a,l,c){const{p:d,o:{createElement:f}}=c,h=f("div"),p=e.suspense=gf(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),or(p,e.ssFallback)):p.resolve(!1,!0)}function fv(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:A,isInFallback:x,isHydrating:P}=h;if(A)h.pendingBranch=p,Dt(A,p)?(c(A,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),or(h,m)))):(h.pendingId=po++,P?(h.isHydrating=!1,h.activeBranch=A):d(A,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),or(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),or(h,p);else if(qr(t,"onPending"),h.pendingBranch=p,p.shapeFlag&512?h.pendingId=p.component.suspenseId:h.pendingId=po++,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 gf(e,t,n,r,s,o,a,l,c,d,f=!1){const{p:h,m:p,um:m,n:O,o:{parentNode:A,remove:x}}=d;let P;const V=gv(e);V&&t&&t.pendingBranch&&(P=t.pendingId,t.deps++);const H=e.props?nu(e.props.timeout):void 0,M=o,b={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:s,deps:0,pendingId:po++,timeout:typeof H=="number"?H:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(y=!1,N=!1){const{vnode:T,activeBranch:w,pendingBranch:C,pendingId:K,effects:j,parentComponent:te,container:he,isInFallback:Ee}=b;let ie=!1;b.isHydrating?b.isHydrating=!1:y||(ie=w&&C.transition&&C.transition.mode==="out-in",ie&&(w.transition.afterLeave=()=>{K===b.pendingId&&(p(C,he,o===M?O(w):o,0),ks(j),Ee&&T.ssFallback&&(T.ssFallback.el=null))}),w&&(A(w.el)===he&&(o=O(w)),m(w,te,b,!0),!ie&&Ee&&T.ssFallback&&(T.ssFallback.el=null)),ie||p(C,he,o,0)),or(b,C),b.pendingBranch=null,b.isInFallback=!1;let I=b.parent,U=!1;for(;I;){if(I.pendingBranch){I.effects.push(...j),U=!0;break}I=I.parent}!U&&!ie&&ks(j),b.effects=[],V&&t&&t.pendingBranch&&P===t.pendingId&&(t.deps--,t.deps===0&&!N&&t.resolve()),qr(T,"onResolve")},fallback(y){if(!b.pendingBranch)return;const{vnode:N,activeBranch:T,parentComponent:w,container:C,namespace:K}=b;qr(N,"onFallback");const j=O(T),te=()=>{b.isInFallback&&(h(null,y,C,j,w,null,K,l,c),or(b,y))},he=y.transition&&y.transition.mode==="out-in";he&&(T.transition.afterLeave=te),b.isInFallback=!0,m(T,w,null,!0),he||te()},move(y,N,T){b.activeBranch&&p(b.activeBranch,y,N,T),b.container=y},next(){return b.activeBranch&&O(b.activeBranch)},registerDep(y,N,T){const w=!!b.pendingBranch;w&&b.deps++;const C=y.vnode.el;y.asyncDep.catch(K=>{br(K,y,0)}).then(K=>{if(y.isUnmounted||b.isUnmounted||b.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:j}=y;_o(y,K),C&&(j.el=C);const te=!C&&y.subTree.el;N(y,j,A(C||y.subTree.el),C?null:O(y.subTree),b,a,T),te&&(j.placeholder=null,x(te)),la(y,j.el),w&&--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 dv(e,t,n,r,s,o,a,l,c){const d=t.suspense=gf(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 hv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Il(r?n.default:n),e.ssFallback=r?Il(n.fallback):Ne(ke)}function Il(e){let t;if(fe(e)){const n=dr&&e._c;n&&(e._d=!1,It()),e=e(),n&&(e._d=!0,t=et,mf())}return le(e)&&(e=sv(e)),e=bt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function pv(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):ks(e)}function or(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,la(r,s))}function gv(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 mf(){Hr.pop(),et=Hr[Hr.length-1]||null}let dr=1;function Bs(e,t=!1){dr+=e,e<0&&et&&t&&(et.hasOnce=!0)}function _f(e){return e.dynamicChildren=dr>0?et||nr:null,mf(),dr>0&&et&&et.push(e),e}function As(e,t,n,r,s,o){return _f(tr(e,t,n,r,s,o,!0))}function Yr(e,t,n,r,s){return _f(Ne(e,t,n,r,s,!0))}function hr(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const vf=({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 tr(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&&vf(t),ref:t&&Rs(t),scopeId:Pu,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?(ca(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Oe(n)?8:16),dr>0&&!a&&et&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&et.push(c),c}const Ne=mv;function mv(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Xu)&&(e=ke),hr(e)){const l=un(e,t,!0);return n&&ca(l,n),dr>0&&!o&&et&&(l.shapeFlag&6?et[et.indexOf(e)]=l:et.push(l)),l.patchFlag=-2,l}if(Nv(e)&&(e=e.__vccOpts),t){t=_v(t);let{class:l,style:c}=t;l&&!Oe(l)&&(t.class=ti(l)),we(c)&&(Qo(c)&&!le(c)&&(c=$e({},c)),t.style=ei(c))}const a=Oe(e)?1:pf(e)?128:Mu(e)?64:we(e)?4:fe(e)?2:0;return tr(e,t,n,r,s,a,o,!0)}function _v(e){return e?Qo(e)||rf(e)?$e({},e):e:null}function un(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:a,children:l,transition:c}=e,d=t?yv(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&vf(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&&un(e.ssContent),ssFallback:e.ssFallback&&un(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&kn(f,c.clone(f)),f}function vv(e=" ",t=0){return Ne(ui,null,e,t)}function Ev(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()):hr(e)?rn(e):Ne(ui,null,String(e))}function rn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:un(e)}function ca(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),ca(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!rf(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=[vv(t)]):n=8);e.children=t,e.shapeFlag|=n}function yv(...e){const t={};for(let n=0;nHe||Be;let js,go;{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),go=t("__VUE_SSR_SETTERS__",n=>pr=n)}const Vn=e=>{const t=He;return js(e),e.scope.on(),()=>{e.scope.off(),js(t)}},mo=()=>{He&&He.scope.off(),js(null)};function Ef(e){return e.vnode.shapeFlag&4}let pr=!1;function wv(e,t=!1,n=!1){t&&go(t);const{props:r,children:s}=e.vnode,o=Ef(e);j_(e,r,o,t),G_(e,s,n||t);const a=o?Cv(e,t):void 0;return t&&go(!1),a}function Cv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,D_);const{setup:r}=n;if(r){Gt();const s=e.setupContext=r.length>1?bf(e):null,o=Vn(e),a=Zr(r,e,0,[e.props,s]),l=Uo(a);if(qt(),o(),(l||e.sp)&&!ir(e)&&ta(e),l){if(a.then(mo,mo),t)return a.then(c=>{_o(e,c)}).catch(c=>{br(c,e,0)});e.asyncDep=a}else _o(e,a)}else yf(e)}function _o(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Nu(t)),yf(e)}function yf(e,t,n){const r=e.type;e.render||(e.render=r.render||At);{const s=Vn(e);Gt();try{P_(e)}finally{qt(),s()}}}const Sv={get(e,t){return Ke(e,"get",""),e[t]}};function bf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Sv),slots:e.slots,emit:e.emit,expose:t}}function fi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nu(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 Ov(e,t=!0){return fe(e)?e.displayName||e.name:e.name||t&&e.__name}function Nv(e){return fe(e)&&"__vccOpts"in e}const dt=(e,t)=>p_(e,t,pr);function ua(e,t,n){try{Bs(-1);const r=arguments.length;return r===2?we(t)&&!le(t)?hr(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hr(n)&&(n=[n]),Ne(e,t,n))}finally{Bs(1)}}const xv="3.5.24";let vo;const Dl=typeof window<"u"&&window.trustedTypes;if(Dl)try{vo=Dl.createPolicy("vue",{createHTML:e=>e})}catch{}const Af=vo?e=>vo.createHTML(e):e=>e,Rv="http://www.w3.org/2000/svg",Iv="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,Ll=Ht&&Ht.createElement("template"),Dv={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"?Ht.createElementNS(Rv,e):t==="mathml"?Ht.createElementNS(Iv,e):n?Ht.createElement(e,{is:n}):Ht.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.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{Ll.innerHTML=Af(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Ll.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]}},Jt="transition",Nr="animation",gr=Symbol("_vtc"),Tf={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},wf=$e({},Hu,Tf),Lv=e=>(e.displayName="Transition",e.props=wf,e),Pl=Lv((e,{slots:t})=>ua(b_,Cf(e),t)),Cn=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},$l=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function Cf(e){const t={};for(const j in e)j in Tf||(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=Pv(s),A=O&&O[0],x=O&&O[1],{onBeforeEnter:P,onEnter:V,onEnterCancelled:H,onLeave:M,onLeaveCancelled:b,onBeforeAppear:y=P,onAppear:N=V,onAppearCancelled:T=H}=t,w=(j,te,he,Ee)=>{j._enterCancelled=Ee,en(j,te?f:l),en(j,te?d:a),he&&he()},C=(j,te)=>{j._isLeaving=!1,en(j,h),en(j,m),en(j,p),te&&te()},K=j=>(te,he)=>{const Ee=j?N:V,ie=()=>w(te,j,he);Cn(Ee,[te,ie]),Ml(()=>{en(te,j?c:o),xt(te,j?f:l),$l(Ee)||kl(te,r,A,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:K(!1),onAppear:K(!0),onLeave(j,te){j._isLeaving=!0;const he=()=>C(j,te);xt(j,h),j._enterCancelled?(xt(j,p),Eo(j)):(Eo(j),xt(j,p)),Ml(()=>{j._isLeaving&&(en(j,h),xt(j,m),$l(M)||kl(j,r,x,he))}),Cn(M,[j,he])},onEnterCancelled(j){w(j,!1,void 0,!0),Cn(H,[j])},onAppearCancelled(j){w(j,!0,void 0,!0),Cn(T,[j])},onLeaveCancelled(j){C(j),Cn(b,[j])}})}function Pv(e){if(e==null)return null;if(we(e))return[ji(e.enter),ji(e.leave)];{const t=ji(e);return[t,t]}}function ji(e){return nu(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gr]||(e[gr]=new Set)).add(t)}function en(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[gr];n&&(n.delete(t),n.size||(e[gr]=void 0))}function Ml(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $v=0;function kl(e,t,n,r){const s=e._endId=++$v,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:c}=Sf(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(`${Jt}Delay`),o=r(`${Jt}Duration`),a=Vl(s,o),l=r(`${Nr}Delay`),c=r(`${Nr}Duration`),d=Vl(l,c);let f=null,h=0,p=0;t===Jt?a>0&&(f=Jt,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?Jt:Nr:null,p=f?f===Jt?o.length:c.length:0);const m=f===Jt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Jt}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:m}}function Vl(e,t){for(;e.lengthFl(n)+Fl(e[r])))}function Fl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Eo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Mv(e,t,n){const r=e[gr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ws=Symbol("_vod"),Of=Symbol("_vsh"),Mb={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[Of]=!t}const Nf=Symbol("");function kb(e){const t=pn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Us(o,s))},r=()=>{const s=e(t.proxy);t.ce?Us(t.ce,s):yo(t.subTree,s),n(s)};qu(()=>{ks(r)}),na(()=>{Dn(r,At,{flush:"post"});const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),li(()=>s.disconnect())})}function yo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{yo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Us(e.el,t);else if(e.type===Xe)e.children.forEach(n=>yo(n,t));else if(e.type===xs){let{el:n,anchor:r}=e;for(;n&&(Us(n,t),n!==r);)n=n.nextSibling}}function Us(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t){const o=Bm(t[s]);n.setProperty(`--${s}`,o),r+=`--${s}: ${o};`}n[Nf]=r}}const kv=/(?:^|;)\s*display\s*:/;function Vv(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[Nf];a&&(n+=";"+a),r.cssText=n,o=kv.test(n)}}else t&&e.removeAttribute("style");Ws in e&&(e[Ws]=o?r.display:"",e[Of]&&(r.display="none"))}const Hl=/\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=Fv(e,t);Hl.test(n)?e.setProperty(hn(r),n.replace(Hl,""),"important"):e[r]=n}}const Bl=["Webkit","Moz","ms"],Wi={};function Fv(e,t){const n=Wi[t];if(n)return n;let r=mt(t);if(r!=="filter"&&r in e)return Wi[t]=r;r=Qs(r);for(let s=0;sUi||(Wv.then(()=>Ui=0),Ui=Date.now());function Kv(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ct(Gv(r,n.value),t,5,[r])};return n.value=e,n.attached=Uv(),n}function Gv(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 ql=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qv=(e,t,n,r,s,o)=>{const a=s==="svg";t==="class"?Mv(e,r,a):t==="style"?Vv(e,n,r):zs(t)?jo(t)||Bv(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yv(e,t,r,a))?(Ul(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Wl(e,t,r,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?Ul(e,mt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Wl(e,t,r,a))};function Yv(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ql(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 ql(t)&&Oe(n)?!1:t in e}const xf=new WeakMap,Rf=new WeakMap,Ks=Symbol("_moveCb"),Yl=Symbol("_enterCb"),zv=e=>(delete e.props.mode,e),Xv=zv({name:"TransitionGroup",props:$e({},wf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=pn(),r=Fu();let s,o;return Yu(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!eE(s[0].el,n.vnode.el,a)){s=[];return}s.forEach(Qv),s.forEach(Jv);const l=s.filter(Zv);Eo(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[Ks]=p=>{p&&p.target!==d||(!p||p.propertyName.endsWith("transform"))&&(d.removeEventListener("transitionend",h),d[Ks]=null,en(d,a))};d.addEventListener("transitionend",h)}),s=[]}),()=>{const a=ve(e),l=Cf(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}=Sf(r);return o.removeChild(r),a}const fn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return le(t)?n=>Ss(t,n):t};function tE(e){e.target.composing=!0}function zl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gt=Symbol("_assign");function Xl(e,t,n){return t&&(e=e.trim()),n&&(e=Js(e)),e}const Ql={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[gt]=fn(s);const o=r||s.props&&s.props.type==="number";Ut(e,t?"change":"input",a=>{a.target.composing||e[gt](Xl(e.value,n,o))}),(n||o)&&Ut(e,"change",()=>{e.value=Xl(e.value,n,o)}),t||(Ut(e,"compositionstart",tE),Ut(e,"compositionend",zl),Ut(e,"change",zl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},a){if(e[gt]=fn(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))}},nE={deep:!0,created(e,t,n){e[gt]=fn(n),Ut(e,"change",()=>{const r=e._modelValue,s=mr(e),o=e.checked,a=e[gt];if(le(r)){const l=Go(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(yr(r)){const l=new Set(r);o?l.add(s):l.delete(s),a(l)}else a(If(e,o))})},mounted:Jl,beforeUpdate(e,t,n){e[gt]=fn(n),Jl(e,t,n)}};function Jl(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(le(t))s=Go(t,r.props.value)>-1;else if(yr(t))s=t.has(r.props.value);else{if(t===n)return;s=Mn(t,If(e,!0))}e.checked!==s&&(e.checked=s)}const rE={created(e,{value:t},n){e.checked=Mn(t,n.props.value),e[gt]=fn(n),Ut(e,"change",()=>{e[gt](mr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[gt]=fn(r),t!==n&&(e.checked=Mn(t,r.props.value))}},sE={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=yr(t);Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Js(mr(a)):mr(a));e[gt](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,oi(()=>{e._assigning=!1})}),e[gt]=fn(r)},mounted(e,{value:t}){Zl(e,t)},beforeUpdate(e,t,n){e[gt]=fn(n)},updated(e,{value:t}){e._assigning||Zl(e,t)}};function Zl(e,t){const n=e.multiple,r=le(t);if(!(n&&!r&&!yr(t))){for(let s=0,o=e.options.length;sString(d)===String(l)):a.selected=Go(t,l)>-1}else a.selected=t.has(l);else if(Mn(mr(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function mr(e){return"_value"in e?e._value:e.value}function If(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Fb={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 iE(e,t){switch(e){case"SELECT":return sE;case"TEXTAREA":return Ql;default:switch(t){case"checkbox":return nE;case"radio":return rE;default:return Ql}}}function Ts(e,t,n,r,s){const a=iE(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,r)}const oE=["ctrl","shift","alt","meta"],aE={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)=>oE.some(n=>e[`${n}Key`]&&!t.includes(n))},Hb=(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=hn(s.key);if(t.some(a=>a===o||lE[a]===o))return e(s)}))},cE=$e({patchProp:qv},Dv);let ec;function uE(){return ec||(ec=Y_(cE))}const fE=((...e)=>{const t=uE().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=hE(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,dE(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t});function dE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hE(e){return Oe(e)?document.querySelector(e):e}let Df;const di=e=>Df=e,Lf=Symbol();function bo(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 pE(){const e=au(!0),t=e.run(()=>Rn({}));let n=[],r=[];const s=ii({install(o){di(s),s._a=o,o.provide(Lf,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 Pf=()=>{};function tc(e,t,n,r=Pf){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&lu()&&jm(s),s}function Xn(e,...t){e.slice().forEach(n=>{n(...t)})}const gE=e=>e(),nc=Symbol(),Ki=Symbol();function Ao(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];bo(s)&&bo(r)&&e.hasOwnProperty(n)&&!Re(r)&&!ln(r)?e[n]=Ao(s,r):e[n]=r}return e}const mE=Symbol();function _E(e){return!bo(e)||!Object.prototype.hasOwnProperty.call(e,mE)}const{assign:tn}=Object;function vE(e){return!!(Re(e)&&e.effect)}function EE(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=u_(n.state.value[e]);return tn(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=$f(e,d,t,n,r,!0),c}function $f(e,t,n={},r,s,o){let a;const l=tn({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],m;const O=r.state.value[e];!o&&!O&&(r.state.value[e]={}),Rn({});let A;function x(T){let w;d=f=!1,typeof T=="function"?(T(r.state.value[e]),w={type:Br.patchFunction,storeId:e,events:m}):(Ao(r.state.value[e],T),w={type:Br.patchObject,payload:T,storeId:e,events:m});const C=A=Symbol();oi().then(()=>{A===C&&(d=!0)}),f=!0,Xn(h,w,r.state.value[e])}const P=o?function(){const{state:w}=n,C=w?w():{};this.$patch(K=>{tn(K,C)})}:Pf;function V(){a.stop(),h=[],p=[],r._s.delete(e)}const H=(T,w="")=>{if(nc in T)return T[Ki]=w,T;const C=function(){di(r);const K=Array.from(arguments),j=[],te=[];function he(I){j.push(I)}function Ee(I){te.push(I)}Xn(p,{args:K,name:C[Ki],store:b,after:he,onError:Ee});let ie;try{ie=T.apply(this&&this.$id===e?this:b,K)}catch(I){throw Xn(te,I),I}return ie instanceof Promise?ie.then(I=>(Xn(j,I),I)).catch(I=>(Xn(te,I),Promise.reject(I))):(Xn(j,ie),ie)};return C[nc]=!0,C[Ki]=w,C},M={_p:r,$id:e,$onAction:tc.bind(null,p),$patch:x,$reset:P,$subscribe(T,w={}){const C=tc(h,T,w.detached,()=>K()),K=a.run(()=>Dn(()=>r.state.value[e],j=>{(w.flush==="sync"?f:d)&&T({storeId:e,type:Br.direct,events:m},j)},tn({},c,w)));return C},$dispose:V},b=Jr(M);r._s.set(e,b);const N=(r._a&&r._a.runWithContext||gE)(()=>r._e.run(()=>(a=au()).run(()=>t({action:H}))));for(const T in N){const w=N[T];if(Re(w)&&!vE(w)||ln(w))o||(O&&_E(w)&&(Re(w)?w.value=O[T]:Ao(w,O[T])),r.state.value[e][T]=w);else if(typeof w=="function"){const C=H(w,T);N[T]=C,l.actions[T]=w}}return tn(b,N),tn(ve(b),N),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:T=>{x(w=>{tn(w,T)})}}),r._p.forEach(T=>{tn(b,a.run(()=>T({store:b,app:r._a,pinia:r,options:l})))}),O&&o&&n.hydrate&&n.hydrate(b.$state,O),d=!0,f=!0,b}function Mf(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(a,l){const c=B_();return a=a||(c?rt(Lf,null):null),a&&di(a),a=Df,a._s.has(e)||(s?$f(e,t,r,a):EE(e,r,a)),a._s.get(e)}return o.$id=e,o}const yE=""+new URL("../img/Logo-2-Rounded-512x512.png",import.meta.url).href;const er=typeof document<"u";function kf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&kf(e.default)}const Ae=Object.assign;function Gi(e,t){const n={};for(const r in t){const s=t[r];n[r]=St(s)?s.map(e):e(s)}return n}const jr=()=>{},St=Array.isArray;function rc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Vf=/#/g,AE=/&/g,TE=/\//g,wE=/=/g,CE=/\?/g,Ff=/\+/g,SE=/%5B/g,OE=/%5D/g,Hf=/%5E/g,NE=/%60/g,Bf=/%7B/g,xE=/%7C/g,jf=/%7D/g,RE=/%20/g;function fa(e){return e==null?"":encodeURI(""+e).replace(xE,"|").replace(SE,"[").replace(OE,"]")}function IE(e){return fa(e).replace(Bf,"{").replace(jf,"}").replace(Hf,"^")}function To(e){return fa(e).replace(Ff,"%2B").replace(RE,"+").replace(Vf,"%23").replace(AE,"%26").replace(NE,"`").replace(Bf,"{").replace(jf,"}").replace(Hf,"^")}function DE(e){return To(e).replace(wE,"%3D")}function LE(e){return fa(e).replace(Vf,"%23").replace(CE,"%3F")}function PE(e){return LE(e).replace(TE,"%2F")}function zr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $E=/\/$/,ME=e=>e.replace($E,"");function qi(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=HE(r??t,n),{fullPath:r+o+a,path:r,query:s,hash:zr(a)}}function kE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function sc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function VE(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&_r(t.matched[r],n.matched[s])&&Wf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _r(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Wf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!FE(e[n],t[n]))return!1;return!0}function FE(e,t){return St(e)?ic(e,t):St(t)?ic(t,e):e===t}function ic(e,t){return St(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function HE(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 Zt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let wo=(function(e){return e.pop="pop",e.push="push",e})({}),Yi=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function BE(e){if(!e)if(er){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ME(e)}const jE=/^[^#]+#/;function WE(e,t){return e.replace(jE,"#")+t}function UE(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 KE(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=UE(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 oc(e,t){return(history.state?history.state.position-t:-1)+e}const Co=new Map;function GE(e,t){Co.set(e,t)}function qE(e){const t=Co.get(e);return Co.delete(e),t}function YE(e){return typeof e=="string"||e&&typeof e=="object"}function Uf(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 Kf=Symbol("");xe.MATCHER_NOT_FOUND+"",xe.NAVIGATION_GUARD_REDIRECT+"",xe.NAVIGATION_ABORTED+"",xe.NAVIGATION_CANCELLED+"",xe.NAVIGATION_DUPLICATED+"";function vr(e,t){return Ae(new Error,{type:e,[Kf]:!0},t)}function Ft(e,t){return e instanceof Error&&Kf in e&&(t==null||!!(e.type&t))}const zE=["params","query","hash"];function XE(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of zE)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&&To(s)):[r&&To(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function JE(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=St(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Gf=Symbol(""),lc=Symbol(""),pi=Symbol(""),da=Symbol(""),So=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),Ku(r),Uu(()=>{e[t].add(n)}),e[t].add(n)}function jb(e){const t=rt(Gf,{}).value;t&&ZE(t,"updateGuards",e)}function sn(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(vr(xe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):YE(p)?c(vr(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 zi(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(kf(c)){const d=(c.__vccOpts||c)[t];d&&o.push(sn(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=bE(f)?f.default:f;a.mods[l]=f,a.components[l]=h;const p=(h.__vccOpts||h)[t];return p&&sn(p,n,r,a,l,s)()}))}}return o}function ey(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a_r(d,l))?r.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(d=>_r(d,c))||s.push(c))}return[n,r,s]}let ty=()=>location.protocol+"//"+location.host;function qf(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),sc(l,"")}return sc(n,e)+r+s}function ny(e,t,n,r){let s=[],o=[],a=null;const l=({state:p})=>{const m=qf(e,location),O=n.value,A=t.value;let x=0;if(p){if(n.value=m,t.value=p,a&&a===O){a=null;return}x=A?p.position-A.position:0}else r(m);s.forEach(P=>{P(n.value,O,{delta:x,type:wo.pop,direction:x?x>0?Yi.forward:Yi.back:Yi.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 cc(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 ry(e){const{history:t,location:n}=window,r={value:qf(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:ty()+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,cc(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({},cc(r.value,c,null),{position:f.position+1},d),!1),r.value=c}return{location:r,state:s,push:l,replace:a}}function sy(e){e=BE(e);const t=ry(e),n=ny(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:WE.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 iy(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),sy(e)}let On=(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 oy={type:On.Static,value:""},ay=/[a-zA-Z0-9_]/;function ly(e){if(!e)return[[]];if(e==="/")return[[oy]];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:On.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:On.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 Yf(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const hy={strict:!1,end:!0,sensitive:!1};function py(e,t,n){const r=fy(ly(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 gy(e,t){const n=[],r=new Map;t=rc(hy,t);function s(h){return r.get(h)}function o(h,p,m){const O=!m,A=hc(h);A.aliasOf=m&&m.record;const x=rc(t,h),P=[A];if("alias"in h){const M=typeof h.alias=="string"?[h.alias]:h.alias;for(const b of M)P.push(hc(Ae({},A,{components:m?m.record.components:A.components,path:b,aliasOf:m?m.record:A})))}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=py(M,p,x),m?m.alias.push(V):(H=H||V,H!==V&&H.alias.push(V),O&&h.name&&!pc(V)&&a(h.name)),zf(V)&&c(V),A.children){const y=A.children;for(let N=0;N{a(H)}:jr}function a(h){if(Uf(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=vy(h,n);n.splice(p,0,h),h.record.name&&!pc(h)&&r.set(h.record.name,h)}function d(h,p){let m,O={},A,x;if("name"in h&&h.name){if(m=r.get(h.name),!m)throw vr(xe.MATCHER_NOT_FOUND,{location:h});x=m.record.name,O=Ae(dc(p.params,m.keys.filter(H=>!H.optional).concat(m.parent?m.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),h.params&&dc(h.params,m.keys.map(H=>H.name))),A=m.stringify(O)}else if(h.path!=null)A=h.path,m=n.find(H=>H.re.test(A)),m&&(O=m.parse(A),x=m.record.name);else{if(m=p.name?r.get(p.name):n.find(H=>H.re.test(p.path)),!m)throw vr(xe.MATCHER_NOT_FOUND,{location:h,currentLocation:p});x=m.record.name,O=Ae({},p.params,h.params),A=m.stringify(O)}const P=[];let V=m;for(;V;)P.unshift(V.record),V=V.parent;return{name:x,path:A,params:O,matched:P,meta:_y(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 dc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function hc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:my(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 my(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 pc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _y(e){return e.reduce((t,n)=>Ae(t,n.meta),{})}function vy(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Yf(e,t[o])<0?r=o:n=o+1}const s=Ey(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Ey(e){let t=e;for(;t=t.parent;)if(zf(t)&&Yf(e,t)===0)return t}function zf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gc(e){const t=rt(pi),n=rt(da),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(_r.bind(null,f));if(p>-1)return p;const m=mc(c[d-2]);return d>1&&mc(f)===m&&h[h.length-1].path!==m?h.findIndex(_r.bind(null,c[d-2])):p}),o=dt(()=>s.value>-1&&wy(n.params,r.value.params)),a=dt(()=>s.value>-1&&s.value===n.matched.length-1&&Wf(n.params,r.value.params));function l(c={}){if(Ty(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 yy(e){return e.length===1?e[0]:e}const by=ea({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:gc,setup(e,{slots:t}){const n=Jr(gc(e)),{options:r}=rt(pi),s=dt(()=>({[_c(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[_c(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&yy(t.default(n));return e.custom?o:ua("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Ay=by;function Ty(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 wy(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(!St(s)||s.length!==r.length||r.some((o,a)=>o!==s[a]))return!1}return!0}function mc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const _c=(e,t,n)=>e??t??n,Cy=ea({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=rt(So),s=dt(()=>e.route||r.value),o=rt(lc,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(lc,dt(()=>a.value+1)),Ns(Gf,l),Ns(So,s);const c=Rn();return Dn(()=>[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||!_r(f,m)||!p)&&(f.enterCallbacks[h]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=s.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return vc(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=ua(p,Ae({},O,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return vc(n.default,{Component:x,route:d})||x}}});function vc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Xf=Cy;function Sy(e){const t=gy(e.routes,e),n=e.parseQuery||QE,r=e.stringifyQuery||ac,s=e.history,o=Rr(),a=Rr(),l=Rr(),c=Su(Zt);let d=Zt;er&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Gi.bind(null,L=>""+L),h=Gi.bind(null,PE),p=Gi.bind(null,zr);function m(L,Q){let Z,oe;return Uf(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 A(){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 S=qi(n,L,Q.path),$=t.resolve({path:S.path},Q),B=s.createHref(S.fullPath);return Ae(S,$,{params:p($.params),hash:zr(S.hash),redirectedFrom:void 0,href:B})}let Z;if(L.path!=null)Z=Ae({},L,{path:qi(n,L.path,Q.path).path});else{const S=Ae({},L.params);for(const $ in S)S[$]==null&&delete S[$];Z=Ae({},L,{params:h(S)}),Q.params=h(Q.params)}const oe=t.resolve(Z,Q),D=L.hash||"";oe.params=f(p(oe.params));const g=kE(r,Ae({},L,{hash:IE(D),path:oe.path})),E=s.createHref(g);return Ae({fullPath:g,hash:D,query:r===ac?JE(L.query):L.query||{}},oe,{redirectedFrom:void 0,href:E})}function V(L){return typeof L=="string"?qi(n,L,c.value.path):Ae({},L)}function H(L,Q){if(d!==L)return vr(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,S=y(Z,oe);if(S)return N(Ae(V(S),{state:typeof S=="object"?Ae({},D,S.state):D,force:g,replace:E}),Q||Z);const $=Z;$.redirectedFrom=Q;let B;return!g&&VE(r,oe,Z)&&(B=vr(xe.NAVIGATION_DUPLICATED,{to:$,from:oe}),re(oe,oe,!0,!1)),(B?Promise.resolve(B):C($,oe)).catch(F=>Ft(F)?Ft(F,xe.NAVIGATION_GUARD_REDIRECT)?F:X(F):U(F,$,oe)).then(F=>{if(F){if(Ft(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 K($,oe,F),F})}function T(L,Q){const Z=H(L,Q);return Z?Promise.reject(Z):Promise.resolve()}function w(L){const Q=de.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(L):L()}function C(L,Q){let Z;const[oe,D,g]=ey(L,Q);Z=zi(oe.reverse(),"beforeRouteLeave",L,Q);for(const S of oe)S.leaveGuards.forEach($=>{Z.push(sn($,L,Q))});const E=T.bind(null,L,Q);return Z.push(E),ye(Z).then(()=>{Z=[];for(const S of o.list())Z.push(sn(S,L,Q));return Z.push(E),ye(Z)}).then(()=>{Z=zi(D,"beforeRouteUpdate",L,Q);for(const S of D)S.updateGuards.forEach($=>{Z.push(sn($,L,Q))});return Z.push(E),ye(Z)}).then(()=>{Z=[];for(const S of g)if(S.beforeEnter)if(St(S.beforeEnter))for(const $ of S.beforeEnter)Z.push(sn($,L,Q));else Z.push(sn(S.beforeEnter,L,Q));return Z.push(E),ye(Z)}).then(()=>(L.matched.forEach(S=>S.enterCallbacks={}),Z=zi(g,"beforeRouteEnter",L,Q,w),Z.push(E),ye(Z))).then(()=>{Z=[];for(const S of a.list())Z.push(sn(S,L,Q));return Z.push(E),ye(Z)}).catch(S=>Ft(S,xe.NAVIGATION_CANCELLED)?S:Promise.reject(S))}function K(L,Q,Z){l.list().forEach(oe=>w(()=>oe(L,Q,Z)))}function j(L,Q,Z,oe,D){const g=H(L,Q);if(g)return g;const E=Q===Zt,S=er?history.state:{};Z&&(oe||E?s.replace(L.fullPath,Ae({scroll:E&&S&&S.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;er&&GE(oc(g.fullPath,Z.delta),hi()),C(oe,g).catch(E=>Ft(E,xe.NAVIGATION_ABORTED|xe.NAVIGATION_CANCELLED)?E:Ft(E,xe.NAVIGATION_GUARD_REDIRECT)?(N(Ae(V(E.to),{force:!0}),oe).then(S=>{Ft(S,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&!Z.delta&&Z.type===wo.pop&&s.go(-1,!1)}).catch(jr),Promise.reject()):(Z.delta&&s.go(-Z.delta,!1),U(E,oe,g))).then(E=>{E=E||j(oe,g,!1),E&&(Z.delta&&!Ft(E,xe.NAVIGATION_CANCELLED)?s.go(-Z.delta,!1):Z.type===wo.pop&&Ft(E,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),K(oe,g,E)}).catch(jr)}))}let Ee=Rr(),ie=Rr(),I;function U(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!==Zt?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(!er||!D)return Promise.resolve();const g=!Z&&qE(oc(L.fullPath,0))||(oe||!Z)&&history.state&&history.state.scroll||null;return oi().then(()=>D(L,Q,g)).then(E=>E&&KE(E)).catch(E=>U(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:A,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",Ay),L.component("RouterView",Xf),L.config.globalProperties.$router=me,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>nt(c)}),er&&!se&&c.value===Zt&&(se=!0,M(s.location).catch(oe=>{}));const Q={};for(const oe in Zt)Object.defineProperty(Q,oe,{get:()=>c.value[oe],enumerable:!0});L.provide(pi,me),L.provide(da,Cu(Q)),L.provide(So,c);const Z=L.unmount;de.add(L),L.unmount=function(){de.delete(L),de.size<1&&(d=Zt,te&&te(),te=null,c.value=Zt,se=!1,I=!1),Z()}}};function ye(L){return L.reduce((Q,Z)=>Q.then(()=>w(Z)),Promise.resolve())}return me}function Wb(){return rt(pi)}function Oy(e){return rt(da)}const Ec="[a-fA-F\\d:]",on=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${Ec})|(?<=${Ec})(?=\\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(),Ny=new RegExp(`(?:^${yt}$)|(?:^${gi}$)`),xy=new RegExp(`^${yt}$`),Ry=new RegExp(`^${gi}$`),mi=e=>e&&e.exact?Ny:new RegExp(`(?:${on(e)}${yt}${on(e)})|(?:${on(e)}${gi}${on(e)})`,"g");mi.v4=e=>e&&e.exact?xy:new RegExp(`${on(e)}${yt}${on(e)}`,"g");mi.v6=e=>e&&e.exact?Ry:new RegExp(`${on(e)}${gi}${on(e)}`,"g");const Qf={exact:!1},Jf=`${mi.v4().source}\\/(3[0-2]|[12]?[0-9])`,Zf=`${mi.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,Iy=new RegExp(`^${Jf}$`),Dy=new RegExp(`^${Zf}$`),Ly=({exact:e}=Qf)=>e?Iy:new RegExp(Jf,"g"),Py=({exact:e}=Qf)=>e?Dy:new RegExp(Zf,"g"),ed=Ly({exact:!0}),td=Py({exact:!0}),ha=e=>ed.test(e)?4:td.test(e)?6:0;ha.v4=e=>ed.test(e);ha.v6=e=>td.test(e);const tt=e=>{const t=$t();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 Xi={},Qi,yc;function $y(){return yc||(yc=1,Qi={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]}),Qi}var Ji,bc;function My(){if(bc)return Ji;bc=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 Ji=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},Ji}var Ac;function ky(){return Ac||(Ac=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.fromRgba=T,e.fromRgb=w,e.fromHsla=C,e.fromHsl=K,e.fromString=Ee,e.default=void 0;var t=r($y()),n=r(My());function r(I){return I&&I.__esModule?I:{default:I}}function s(I,U){if(!(I instanceof U))throw new TypeError("Cannot call a class as a function")}function o(I,U){for(var G=0;GI.length)&&(U=I.length);for(var G=0,X=new Array(U);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),!(U&&G.length===U));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])?$/,A=/^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,U){return I.indexOf(U)>-1}function b(I,U,G){var X=I/255,re=U/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,U,G){var X=I/60,re=U/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(U){var G=l(U,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 T(I){var U=l(I,4),G=U[0],X=U[1],re=U[2],ne=U[3];return new N([G,X,re,ne])}function w(I){var U=l(I,3),G=U[0],X=U[1],re=U[2];return T([G,X,re,1])}function C(I){var U=l(I,4),G=U[0],X=U[1],re=U[2],ne=U[3],se=y(G,X,re),de=l(se,3),me=de[0],ye=de[1],L=de[2];return T([me,ye,L,ne])}function K(I){var U=l(I,3),G=U[0],X=U[1],re=U[2];return C([G,X,re,1])}function j(I){var U=m.exec(I)||O.exec(I),G=l(U,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,T([X,re,ne,se])}function te(I){var U=A.exec(I)||P.exec(I)||x.exec(I)||V.exec(I),G=l(U,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),T([X,re,ne,se])}function he(I){var U=H.exec(I),G=l(U,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),C([X,ne,se,de])}function Ee(I){return t.default[I]?w(t.default[I]):m.test(I)||O.test(I)?j(I):A.test(I)||P.test(I)||x.test(I)||V.test(I)?te(I):H.test(I)?he(I):null}var ie={fromString:Ee,fromRgb:w,fromRgba:T,fromHsl:K,fromHsla:C};e.default=ie})(Xi)),Xi}var Vy=ky();const Fy=Mf("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=Vy.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 ha(e)!==0},checkWGKeyLength(e){return/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}},persist:{pick:["CurrentSort","CurrentDisplay","Filter.ShowAllPeersWhenHiddenTags"]}}),Hy=async()=>{let e=!1;return await Ln("/api/validateAuthentication",{},t=>{e=t.status}),e},Fn=Sy({history:iy(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>Ie(()=>import("./index-CNpdctLQ.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:()=>Ie(()=>import("./configurationList-DZ8s_3m3.js"),__vite__mapDeps([6,1,7,8,9,10]),import.meta.url),meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"settings",component:()=>Ie(()=>import("./settings-Pu99wEIv.js"),__vite__mapDeps([11,12,1,13,3,14,15,16,17,18]),import.meta.url),children:[{name:"WGDashboard Settings",path:"",component:()=>Ie(()=>import("./wgdashboardSettings-1ZVC2T1K.js"),__vite__mapDeps([19,1,13,3,14,15,16]),import.meta.url),meta:{title:"WGDashboard Settings"}},{name:"Peers Settings",path:"peers_settings",component:()=>Ie(()=>import("./peerDefaultSettings-DwXMLijS.js"),__vite__mapDeps([20,1,12]),import.meta.url),meta:{title:"Peers Default Settings"}},{name:"WireGuard Configuration Settings",path:"wireguard_settings",component:()=>Ie(()=>import("./wireguardConfigurationSettings-DVf20tDl.js"),__vite__mapDeps([21,17,1,18]),import.meta.url),meta:{title:"WireGuard Configuration Settings"}}],meta:{title:"Settings"}},{path:"ping",name:"Ping",component:()=>Ie(()=>import("./ping-Dcho8zUm.js"),__vite__mapDeps([22,1,23,24,25,26,27]),import.meta.url)},{path:"traceroute",name:"Traceroute",component:()=>Ie(()=>import("./traceroute-0ZnREFaN.js"),__vite__mapDeps([28,23,24,25,26,1,29]),import.meta.url)},{name:"New Configuration",path:"new_configuration",component:()=>Ie(()=>import("./newConfiguration-Cf-XQ6D8.js"),__vite__mapDeps([30,31,1,32,33]),import.meta.url),meta:{title:"New Configuration"}},{name:"Restore Configuration",path:"restore_configuration",component:()=>Ie(()=>import("./restoreConfiguration-wW2xOYsw.js"),__vite__mapDeps([34,1,3,7,31,35]),import.meta.url),meta:{title:"Restore Configuration"}},{name:"System Status",path:"system_status",component:()=>Ie(()=>import("./systemStatus-Ba_q2UdD.js"),__vite__mapDeps([36,1,8,9,37,3,38]),import.meta.url),meta:{title:"System Status"}},{name:"Clients",path:"clients",component:()=>Ie(()=>import("./clients-15IHrs0x.js"),__vite__mapDeps([39,40,1,41]),import.meta.url),meta:{title:"Clients"},children:[{name:"Client Viewer",path:":id",component:()=>Ie(()=>import("./clientViewer-BgfH726S.js"),__vite__mapDeps([42,40,1,43]),import.meta.url),meta:{title:"Clients"}}]},{name:"Webhooks",path:"webhooks",component:()=>Ie(()=>import("./dashboardWebHooks-BmRLNEC1.js"),__vite__mapDeps([44,1,45]),import.meta.url),meta:{title:"Webhooks"}},{name:"Configuration",path:"configuration/:id",component:()=>Ie(()=>import("./configuration-0xJI58FG.js"),[],import.meta.url),meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:()=>Ie(()=>import("./peerList-CPiA0nLD.js"),__vite__mapDeps([46,7,1,37,3,15,24,25,31,47]),import.meta.url)}]}]},{path:"/signin",component:()=>Ie(()=>import("./signin-7XmHRYpi.js"),__vite__mapDeps([48,2,1,3,4,49]),import.meta.url),meta:{title:"Sign In",hideTopNav:!0}},{path:"/welcome",component:()=>Ie(()=>import("./setup-D0Q0qQii.js"),__vite__mapDeps([50,1]),import.meta.url),meta:{requiresAuth:!0,title:"Welcome to WGDashboard",hideTopNav:!0}},{path:"/2FASetup",component:()=>Ie(()=>import("./totp-XesjjJo-.js"),__vite__mapDeps([51,52,32,1]),import.meta.url),meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup",hideTopNav:!0}},{path:"/share",component:()=>Ie(()=>import("./share-LLVdD8M-.js"),__vite__mapDeps([53,52,32,1,54]),import.meta.url),meta:{title:"Share",hideTopNav:!0}}]});Fn.beforeEach(async(e,t,n)=>{const r=Fy(),s=$t();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 Hy()?(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()});Fn.afterEach(()=>{document.querySelector(".loadingBar").classList.remove("loading"),document.querySelector(".loadingBar").classList.add("loadingDone")});const By=Object.freeze(Object.defineProperty({__proto__:null,default:Fn},Symbol.toStringTag,{value:"Module"})),_i=()=>{let e={"Content-Type":"application/json"};try{const n=$t().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)}catch{}return e},vi=e=>{try{const n=$t().getActiveCrossServer();if(n)return`${n.host}${e}`}catch{}return`./.${e}`},Ln=async(e,t=void 0,n=void 0)=>{const r=new URLSearchParams(t);await fetch(`${vi(e)}?${r.toString()}`,{headers:_i()}).then(s=>{const o=$t();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),Fn.push({path:"/signin"})})},Ub=async(e,t,n)=>{await fetch(`${vi(e)}`,{headers:_i(),method:"POST",body:JSON.stringify(t)}).then(r=>{const s=$t();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),Fn.push({path:"/signin"})})},Kb=async(e,t,n)=>{await fetch(`${vi(e)}`,{headers:_i(),method:"PUT",body:JSON.stringify(t)}).then(r=>{const s=$t();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),Fn.push({path:"/signin"})})},Gb=async(e,t,n)=>{await fetch(`${vi(e)}`,{headers:_i(),method:"DELETE",body:JSON.stringify(t)}).then(r=>{const s=$t();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),Fn.push({path:"/signin"})})},Ve=[];for(let e=0;e<256;++e)Ve.push((e+256).toString(16).slice(1));function jy(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 Zi;const Wy=new Uint8Array(16);function Uy(){if(!Zi){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Zi=crypto.getRandomValues.bind(crypto)}return Zi(Wy)}const Ky=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Tc={randomUUID:Ky};function Gy(e,t,n){e=e||{};const r=e.random??e.rng?.()??Uy();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 jy(r)}function wc(e,t,n){return Tc.randomUUID&&!t&&!e?Tc.randomUUID():Gy(e,t,n)}const $t=Mf("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[wc().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 Ln("/api/locale",{},t=>{this.Locale=t.data})},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await Ln("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async signOut(){await Ln("/api/signout",{},()=>{this.removeActiveCrossServer(),document.cookie="",this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:wc(),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),T[C-1]&=65535;T[15]=w[15]-32767-(T[14]>>16&1),N=T[15]>>16&1,T[14]&=65535,r(w,T,1-N)}for(var C=0;C<16;++C)b[2*C]=w[C]&255,b[2*C+1]=w[C]>>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 T,w=~(N-1),C=0;C<16;++C)T=w&(b[C]^y[C]),b[C]^=T,y[C]^=T}function s(b,y,N){for(var T=0;T<16;++T)b[T]=y[T]+N[T]|0}function o(b,y,N){for(var T=0;T<16;++T)b[T]=y[T]-N[T]|0}function a(b,y,N){for(var T=new Float64Array(31),w=0;w<16;++w)for(var C=0;C<16;++C)T[w+C]+=y[w]*N[C];for(var w=0;w<15;++w)T[w]+=38*T[w+16];for(var w=0;w<16;++w)b[w]=T[w];n(b),n(b)}function l(b,y){for(var N=e(),T=0;T<16;++T)N[T]=y[T];for(var T=253;T>=0;--T)a(N,N,N),T!==2&&T!==4&&a(N,N,y);for(var T=0;T<16;++T)b[T]=N[T]}function c(b){b[31]=b[31]&127|64,b[0]&=248}function d(b){for(var y,N=new Uint8Array(32),T=e([1]),w=e([9]),C=e(),K=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(T,w,y),r(C,K,y),s(j,T,C),o(T,T,C),s(C,w,K),o(w,w,K),a(K,j,j),a(te,T,T),a(T,C,T),a(C,w,j),s(j,T,C),o(T,T,C),a(w,T,T),o(C,K,te),a(T,C,he),s(T,T,K),a(C,C,T),a(T,K,te),a(K,w,Ee),a(w,j,j),r(T,w,y),r(C,K,y);return l(C,C),a(T,T,C),t(N,T),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]),T=0;T<4;++T)b[T]=N[T]+65+(25-N[T]>>8&6)-(51-N[T]>>8&75)-(61-N[T]>>8&15)+(62-N[T]>>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,T=new Uint8Array(N);for(let C=0;C>>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 w=-1,C=0;C>>8^H.table[(w^b[C])&255];return(w^-1)>>>0}function M(b){for(var y=[],N=[],T=0,w=0;w{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Yy=["data-bs-theme"],zy={key:0,class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Xy={class:"container-fluid d-flex text-body align-items-center"},Qy={key:0,class:"bi bi-list"},Jy={key:1,class:"bi bi-x-lg"},Zy={__name:"App",setup(e){const t=$t();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP?(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0,t.ActiveServerConfiguration&&Ln("/api/locale",{},r=>{t.Locale=r.data})):Ln("/api/locale",{},r=>{t.Locale=r.data}),Dn(t.CrossServerConfiguration,()=>{t.syncCrossServerConfiguration()},{deep:!0});const n=Oy();return(r,s)=>{const o=R_("RouterLink");return It(),As("div",{class:"h-100 bg-body","data-bs-theme":nt(t).Configuration?.Server.dashboard_theme},[s[2]||(s[2]=tr("div",{style:{"z-index":"9999",height:"5px"},class:"position-absolute loadingBar top-0 start-0"},null,-1)),nt(n).meta.hideTopNav?Ev("",!0):(It(),As("nav",zy,[tr("div",Xy,[Ne(o,{to:"/",class:"navbar-brand mb-0 h1"},{default:Zn(()=>[...s[1]||(s[1]=[tr("img",{src:yE,alt:"WGDashboard Logo",style:{width:"32px"}},null,-1)])]),_:1}),tr("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(Pl,{name:"fade2",mode:"out-in"},{default:Zn(()=>[nt(t).ShowNavBar?(It(),As("i",Jy)):(It(),As("i",Qy))]),_:1})])])])),(It(),Yr(cv,null,{default:Zn(()=>[Ne(nt(Xf),null,{default:Zn(({Component:a})=>[Ne(Pl,{name:"app",mode:"out-in",type:"transition",appear:""},{default:Zn(()=>[(It(),Yr(I_(a)))]),_:2},1024)]),_:1})]),_:1}))],8,Yy)}}},eb=qy(Zy,[["__scopeId","data-v-ddb6150e"]]);function tb(e,t){if(e==null)return;let n=e;for(let r=0;r1&&(t=pa(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 nd(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 pa(e,nd(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function rd(e,t){return t.map(n=>n.split(".")).map(n=>[n,tb(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>pa(n,r[1],r[0]),{})}function sd(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>nd(n,r),e)}function Cc(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?rd(p,o):p,O=a?sd(m,a):m;e.$patch(O)}f&&c?.(d)}catch(h){s&&console.error("[pinia-plugin-persistedstate]",h)}}function Sc(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a}){try{const l=o?rd(e,o):e,c=a?sd(l,a):l,d=n.serialize(c);t.setItem(r,d)}catch(l){s&&console.error("[pinia-plugin-persistedstate]",l)}}function nb(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function rb(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=>{Cc(s,c,e,l)})},s.$persist=()=>{a.forEach(l=>{Sc(s.$state,l)})},a.forEach(l=>{Cc(s,l,e),s.$subscribe((c,d)=>Sc(d,l),{detached:!0})})}function sb(e={}){return function(t){rb(t,n=>{const r=nb(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 ib=sb();const id=new URLSearchParams(window.location.search),Oo=id.get("state"),No=id.get("code");Oo&&No&&(window.history.replaceState({},"",window.location.pathname),console.log("After replaceState:",window.location.href));const Oc=async()=>{const{default:e}=await Ie(async()=>{const{default:r}=await Promise.resolve().then(()=>By);return{default:r}},void 0,import.meta.url),t=fE(eb);t.use(e);const n=pE();n.use(ib),n.use(({store:r})=>{r.$router=ii(e)}),t.use(n),t.mount("#app"),console.log("After router import:",window.location.href)},ob=e=>`./.${e}`;Oo&&No?await fetch(ob("/api/oidc/authenticate"),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({provider:Oo,code:No,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname})}).then(e=>e.json()).then(async e=>{e.status?window.location.replace(window.location.protocol+"//"+window.location.host+window.location.pathname):(await Oc(),$t().newMessage("Server OIDC",e.message,"danger"))}):await Oc();export{Fb as $,wc as A,ea as B,sE as C,$t as D,$b as E,Xe as F,tt as G,Dn as H,Bb as I,Jr as J,Wb as K,Oy as L,Nb as M,Ie as N,yb as O,Tb as P,Su as Q,ua as R,cv as S,Vb as T,xv as U,li as V,Fy as W,ve as X,Qo as Y,oi as Z,qy as _,tr as a,Ob as a0,jb as a1,xb as a2,Hb as a3,vi as a4,Mf as a5,Gb as a6,Kb as a7,lu as a8,jm as a9,Ab as aa,Pb as ab,Lb as ac,Ib as ad,Ns as ae,oo as af,wb as ag,Db as ah,bb as ai,_v as aj,Sb as ak,rt as al,yv as am,qu as an,Mb as ao,Ne as b,As as c,Ev as d,vv as e,It as f,Ln as g,R_ as h,Rb as i,Yr as j,Pl as k,I_ as l,Cb as m,ti as n,na as o,kb as p,dt as q,Rn as r,ei as s,Hm as t,nt as u,nE as v,Zn as w,zu as x,Ql as y,Ub as z};