const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardPage-CukNUmp0.js","assets/AdminAlert-DW1IRWce.js","assets/AdminCard-DNA70pGd.js","assets/PageHeader-BcjNf7GG.js","assets/SitePage-CeCv6Zaa.js","assets/Modal-B7V4w_St.js","assets/AdminButton-Bd2cLTu3.js","assets/AdminTable-BLiLxfnS.js","assets/EmptyState-C61VdEFl.js","assets/FilesPage-DLgTKzsa.js","assets/FtpPage-DG8coQcY.js","assets/DatabasePage-sZfqfvMQ.js","assets/TerminalPage-CXXB09nH.js","assets/TerminalPage-LcAfv9l9.css","assets/MonitorPage-CgJf2F74.js","assets/CrontabPage-BfaMKQc8.js","assets/ConfigPage-eLTvRUp2.js","assets/LogsPage-B1uIfI5z.js","assets/FirewallPage-Bu-mOiN9.js","assets/DomainsPage-DVTACiDJ.js","assets/DockerPage-D1AIK8Rv.js","assets/NodePage-BQzvbSat.js","assets/SoftPage-B7PtFv7I.js","assets/ServicesPage-DNZuAdmh.js","assets/PluginsPage-C4H8wPuq.js","assets/BackupPlansPage-CgzFMegr.js","assets/UsersPage-DqvygXkC.js","assets/RemoteInstallPage-C4gVyakl.js"])))=>i.map(i=>d[i]); function s0(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var l0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rh={exports:{}},El={},Ih={exports:{}},oe={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Mo=Symbol.for("react.element"),a0=Symbol.for("react.portal"),u0=Symbol.for("react.fragment"),c0=Symbol.for("react.strict_mode"),f0=Symbol.for("react.profiler"),d0=Symbol.for("react.provider"),p0=Symbol.for("react.context"),h0=Symbol.for("react.forward_ref"),m0=Symbol.for("react.suspense"),g0=Symbol.for("react.memo"),v0=Symbol.for("react.lazy"),Xd=Symbol.iterator;function y0(e){return e===null||typeof e!="object"?null:(e=Xd&&e[Xd]||e["@@iterator"],typeof e=="function"?e:null)}var Mh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zh=Object.assign,Fh={};function ji(e,t,n){this.props=e,this.context=t,this.refs=Fh,this.updater=n||Mh}ji.prototype.isReactComponent={};ji.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ji.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Bh(){}Bh.prototype=ji.prototype;function fc(e,t,n){this.props=e,this.context=t,this.refs=Fh,this.updater=n||Mh}var dc=fc.prototype=new Bh;dc.constructor=fc;zh(dc,ji.prototype);dc.isPureReactComponent=!0;var Jd=Array.isArray,Uh=Object.prototype.hasOwnProperty,pc={current:null},Wh={key:!0,ref:!0,__self:!0,__source:!0};function Vh(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)Uh.call(t,r)&&!Wh.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(u===1)i.children=n;else if(1>>1,de=M[T];if(0>>1;Ti(Oe,V))zei(Ne,Oe)?(M[T]=Ne,M[ze]=V,T=ze):(M[T]=Oe,M[Ue]=V,T=Ue);else if(zei(Ne,V))M[T]=Ne,M[ze]=V,T=ze;else break e}}return X}function i(M,X){var V=M.sortIndex-X.sortIndex;return V!==0?V:M.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var c=[],d=[],h=1,g=null,_=3,S=!1,C=!1,O=!1,P=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(M){for(var X=n(d);X!==null;){if(X.callback===null)r(d);else if(X.startTime<=M)r(d),X.sortIndex=X.expirationTime,t(c,X);else break;X=n(d)}}function b(M){if(O=!1,w(M),!C)if(n(c)!==null)C=!0,ke(N);else{var X=n(d);X!==null&&$e(b,X.startTime-M)}}function N(M,X){C=!1,O&&(O=!1,y($),$=-1),S=!0;var V=_;try{for(w(X),g=n(c);g!==null&&(!(g.expirationTime>X)||M&&!Y());){var T=g.callback;if(typeof T=="function"){g.callback=null,_=g.priorityLevel;var de=T(g.expirationTime<=X);X=e.unstable_now(),typeof de=="function"?g.callback=de:g===n(c)&&r(c),w(X)}else r(c);g=n(c)}if(g!==null)var Ct=!0;else{var Ue=n(d);Ue!==null&&$e(b,Ue.startTime-X),Ct=!1}return Ct}finally{g=null,_=V,S=!1}}var A=!1,D=null,$=-1,H=5,F=-1;function Y(){return!(e.unstable_now()-FM||125T?(M.sortIndex=V,t(d,M),n(c)===null&&M===n(d)&&(O?(y($),$=-1):O=!0,$e(b,V-T))):(M.sortIndex=de,t(c,M),C||S||(C=!0,ke(N))),M},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(M){var X=_;return function(){var V=_;_=X;try{return M.apply(this,arguments)}finally{_=V}}}})(Xh);Yh.exports=Xh;var T0=Yh.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var N0=x,xt=T0;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uu=Object.prototype.hasOwnProperty,L0=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qd={},Zd={};function A0(e){return uu.call(Zd,e)?!0:uu.call(qd,e)?!1:L0.test(e)?Zd[e]=!0:(qd[e]=!0,!1)}function D0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function $0(e,t,n,r){if(t===null||typeof t>"u"||D0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function st(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ye[e]=new st(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ye[t]=new st(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ye[e]=new st(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ye[e]=new st(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ye[e]=new st(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ye[e]=new st(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ye[e]=new st(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ye[e]=new st(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ye[e]=new st(e,5,!1,e.toLowerCase(),null,!1,!1)});var mc=/[\-:]([a-z])/g;function gc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(mc,gc);Ye[t]=new st(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(mc,gc);Ye[t]=new st(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mc,gc);Ye[t]=new st(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ye[e]=new st(e,1,!1,e.toLowerCase(),null,!1,!1)});Ye.xlinkHref=new st("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ye[e]=new st(e,1,!1,e.toLowerCase(),null,!0,!0)});function vc(e,t,n,r){var i=Ye.hasOwnProperty(t)?Ye[t]:null;(i!==null?i.type!==0:r||!(2u||i[l]!==o[u]){var c=` `+i[l].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=l&&0<=u);break}}}finally{Na=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?eo(e):""}function R0(e){switch(e.tag){case 5:return eo(e.type);case 16:return eo("Lazy");case 13:return eo("Suspense");case 19:return eo("SuspenseList");case 0:case 2:case 15:return e=La(e.type,!1),e;case 11:return e=La(e.type.render,!1),e;case 1:return e=La(e.type,!0),e;default:return""}}function pu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ei:return"Fragment";case Zr:return"Portal";case cu:return"Profiler";case yc:return"StrictMode";case fu:return"Suspense";case du:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qh:return(e.displayName||"Context")+".Consumer";case Gh:return(e._context.displayName||"Context")+".Provider";case wc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _c:return t=e.displayName||null,t!==null?t:pu(e.type)||"Memo";case An:t=e._payload,e=e._init;try{return pu(e(t))}catch{}}return null}function I0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pu(t);case 8:return t===yc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function em(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function M0(e){var t=em(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ys(e){e._valueTracker||(e._valueTracker=M0(e))}function tm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=em(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Js(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function hu(e,t){var n=t.checked;return Pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function tp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function nm(e,t){t=t.checked,t!=null&&vc(e,"checked",t,!1)}function mu(e,t){nm(e,t);var n=Jn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gu(e,t.type,n):t.hasOwnProperty("defaultValue")&&gu(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function np(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function gu(e,t,n){(t!=="number"||Js(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var to=Array.isArray;function fi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ws.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var io={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},z0=["Webkit","ms","Moz","O"];Object.keys(io).forEach(function(e){z0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),io[t]=io[e]})});function sm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||io.hasOwnProperty(e)&&io[e]?(""+t).trim():t+"px"}function lm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=sm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var F0=Pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function wu(e,t){if(t){if(F0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function _u(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xu=null;function xc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Su=null,di=null,pi=null;function op(e){if(e=Bo(e)){if(typeof Su!="function")throw Error(R(280));var t=e.stateNode;t&&(t=jl(t),Su(e.stateNode,e.type,t))}}function am(e){di?pi?pi.push(e):pi=[e]:di=e}function um(){if(di){var e=di,t=pi;if(pi=di=null,op(e),t)for(e=0;e>>=0,e===0?32:31-(G0(e)/q0|0)|0}var _s=64,xs=4194304;function no(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~i;u!==0?r=no(u):(o&=l,o!==0&&(r=no(o)))}else l=n&~i,l!==0?r=no(l):o!==0&&(r=no(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function zo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yt(t),e[t]=n}function n_(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=so),hp=" ",mp=!1;function jm(e,t){switch(e){case"keyup":return T_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ti=!1;function L_(e,t){switch(e){case"compositionend":return Tm(t);case"keypress":return t.which!==32?null:(mp=!0,hp);case"textInput":return e=t.data,e===hp&&mp?null:e;default:return null}}function A_(e,t){if(ti)return e==="compositionend"||!jc&&jm(e,t)?(e=Pm(),Fs=bc=In=null,ti=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=wp(n)}}function Dm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Dm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $m(){for(var e=window,t=Js();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Js(e.document)}return t}function Tc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function U_(e){var t=$m(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Dm(n.ownerDocument.documentElement,n)){if(r!==null&&Tc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=_p(n,o);var l=_p(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ni=null,Ou=null,ao=null,ju=!1;function xp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ju||ni==null||ni!==Js(r)||(r=ni,"selectionStart"in r&&Tc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ao&&Eo(ao,r)||(ao=r,r=rl(Ou,"onSelect"),0oi||(e.current=$u[oi],$u[oi]=null,oi--)}function ve(e,t){oi++,$u[oi]=e.current,e.current=t}var Gn={},qe=er(Gn),ut=er(!1),br=Gn;function yi(e,t){var n=e.type.contextTypes;if(!n)return Gn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ct(e){return e=e.childContextTypes,e!=null}function ol(){_e(ut),_e(qe)}function Op(e,t,n){if(qe.current!==Gn)throw Error(R(168));ve(qe,t),ve(ut,n)}function Vm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(R(108,I0(e)||"Unknown",i));return Pe({},n,r)}function sl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gn,br=qe.current,ve(qe,e),ve(ut,ut.current),!0}function jp(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=Vm(e,t,br),r.__reactInternalMemoizedMergedChildContext=e,_e(ut),_e(qe),ve(qe,e)):_e(ut),ve(ut,n)}var mn=null,Tl=!1,Ka=!1;function Hm(e){mn===null?mn=[e]:mn.push(e)}function ex(e){Tl=!0,Hm(e)}function tr(){if(!Ka&&mn!==null){Ka=!0;var e=0,t=fe;try{var n=mn;for(fe=1;e>=l,i-=l,gn=1<<32-Yt(t)+i|n<$?(H=D,D=null):H=D.sibling;var F=_(y,D,w[$],b);if(F===null){D===null&&(D=H);break}e&&D&&F.alternate===null&&t(y,D),v=o(F,v,$),A===null?N=F:A.sibling=F,A=F,D=H}if($===w.length)return n(y,D),Se&&yr(y,$),N;if(D===null){for(;$$?(H=D,D=null):H=D.sibling;var Y=_(y,D,F.value,b);if(Y===null){D===null&&(D=H);break}e&&D&&Y.alternate===null&&t(y,D),v=o(Y,v,$),A===null?N=Y:A.sibling=Y,A=Y,D=H}if(F.done)return n(y,D),Se&&yr(y,$),N;if(D===null){for(;!F.done;$++,F=w.next())F=g(y,F.value,b),F!==null&&(v=o(F,v,$),A===null?N=F:A.sibling=F,A=F);return Se&&yr(y,$),N}for(D=r(y,D);!F.done;$++,F=w.next())F=S(D,y,$,F.value,b),F!==null&&(e&&F.alternate!==null&&D.delete(F.key===null?$:F.key),v=o(F,v,$),A===null?N=F:A.sibling=F,A=F);return e&&D.forEach(function(ee){return t(y,ee)}),Se&&yr(y,$),N}function P(y,v,w,b){if(typeof w=="object"&&w!==null&&w.type===ei&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case vs:e:{for(var N=w.key,A=v;A!==null;){if(A.key===N){if(N=w.type,N===ei){if(A.tag===7){n(y,A.sibling),v=i(A,w.props.children),v.return=y,y=v;break e}}else if(A.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===An&&Lp(N)===A.type){n(y,A.sibling),v=i(A,w.props),v.ref=Ji(y,A,w),v.return=y,y=v;break e}n(y,A);break}else t(y,A);A=A.sibling}w.type===ei?(v=Er(w.props.children,y.mode,b,w.key),v.return=y,y=v):(b=Ys(w.type,w.key,w.props,null,y.mode,b),b.ref=Ji(y,v,w),b.return=y,y=b)}return l(y);case Zr:e:{for(A=w.key;v!==null;){if(v.key===A)if(v.tag===4&&v.stateNode.containerInfo===w.containerInfo&&v.stateNode.implementation===w.implementation){n(y,v.sibling),v=i(v,w.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=eu(w,y.mode,b),v.return=y,y=v}return l(y);case An:return A=w._init,P(y,v,A(w._payload),b)}if(to(w))return C(y,v,w,b);if(Hi(w))return O(y,v,w,b);Os(y,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,v!==null&&v.tag===6?(n(y,v.sibling),v=i(v,w),v.return=y,y=v):(n(y,v),v=Za(w,y.mode,b),v.return=y,y=v),l(y)):n(y,v)}return P}var _i=Xm(!0),Jm=Xm(!1),ul=er(null),cl=null,ai=null,Dc=null;function $c(){Dc=ai=cl=null}function Rc(e){var t=ul.current;_e(ul),e._currentValue=t}function Mu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function mi(e,t){cl=e,Dc=ai=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(at=!0),e.firstContext=null)}function Rt(e){var t=e._currentValue;if(Dc!==e)if(e={context:e,memoizedValue:t,next:null},ai===null){if(cl===null)throw Error(R(308));ai=e,cl.dependencies={lanes:0,firstContext:e}}else ai=ai.next=e;return t}var xr=null;function Ic(e){xr===null?xr=[e]:xr.push(e)}function Gm(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ic(t)):(n.next=i.next,i.next=n),t.interleaved=n,Sn(e,r)}function Sn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Dn=!1;function Mc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function yn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,le&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Sn(e,n)}return i=r.interleaved,i===null?(t.next=t,Ic(r)):(t.next=i.next,i.next=t),r.interleaved=t,Sn(e,n)}function Us(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kc(e,n)}}function Ap(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fl(e,t,n,r){var i=e.updateQueue;Dn=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var c=u,d=c.next;c.next=null,l===null?o=d:l.next=d,l=c;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==l&&(u===null?h.firstBaseUpdate=d:u.next=d,h.lastBaseUpdate=c))}if(o!==null){var g=i.baseState;l=0,h=d=c=null,u=o;do{var _=u.lane,S=u.eventTime;if((r&_)===_){h!==null&&(h=h.next={eventTime:S,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var C=e,O=u;switch(_=t,S=n,O.tag){case 1:if(C=O.payload,typeof C=="function"){g=C.call(S,g,_);break e}g=C;break e;case 3:C.flags=C.flags&-65537|128;case 0:if(C=O.payload,_=typeof C=="function"?C.call(S,g,_):C,_==null)break e;g=Pe({},g,_);break e;case 2:Dn=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,_=i.effects,_===null?i.effects=[u]:_.push(u))}else S={eventTime:S,lane:_,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(d=h=S,c=g):h=h.next=S,l|=_;if(u=u.next,u===null){if(u=i.shared.pending,u===null)break;_=u,u=_.next,_.next=null,i.lastBaseUpdate=_,i.shared.pending=null}}while(!0);if(h===null&&(c=g),i.baseState=c,i.firstBaseUpdate=d,i.lastBaseUpdate=h,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);jr|=l,e.lanes=l,e.memoizedState=g}}function Dp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ya.transition;Ya.transition={};try{e(!1),t()}finally{fe=n,Ya.transition=r}}function mg(){return It().memoizedState}function ix(e,t,n){var r=Kn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},gg(e))vg(t,n);else if(n=Gm(e,t,n,r),n!==null){var i=it();Xt(n,e,r,i),yg(n,t,r)}}function ox(e,t,n){var r=Kn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(gg(e))vg(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,u=o(l,n);if(i.hasEagerState=!0,i.eagerState=u,Jt(u,l)){var c=t.interleaved;c===null?(i.next=i,Ic(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=Gm(e,t,i,r),n!==null&&(i=it(),Xt(n,e,r,i),yg(n,t,r))}}function gg(e){var t=e.alternate;return e===Ce||t!==null&&t===Ce}function vg(e,t){uo=pl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kc(e,n)}}var hl={readContext:Rt,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useInsertionEffect:Xe,useLayoutEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useMutableSource:Xe,useSyncExternalStore:Xe,useId:Xe,unstable_isNewReconciler:!1},sx={readContext:Rt,useCallback:function(e,t){return nn().memoizedState=[e,t===void 0?null:t],e},useContext:Rt,useEffect:Rp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vs(4194308,4,cg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vs(4,2,e,t)},useMemo:function(e,t){var n=nn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ix.bind(null,Ce,e),[r.memoizedState,e]},useRef:function(e){var t=nn();return e={current:e},t.memoizedState=e},useState:$p,useDebugValue:Kc,useDeferredValue:function(e){return nn().memoizedState=e},useTransition:function(){var e=$p(!1),t=e[0];return e=rx.bind(null,e[1]),nn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ce,i=nn();if(Se){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),He===null)throw Error(R(349));Or&30||ng(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Rp(ig.bind(null,r,o,e),[e]),r.flags|=2048,Lo(9,rg.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=nn(),t=He.identifierPrefix;if(Se){var n=vn,r=gn;n=(r&~(1<<32-Yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=To++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[rn]=t,e[Po]=r,Og(e,t,!1,!1),t.stateNode=e;e:{switch(l=_u(n,r),n){case"dialog":ye("cancel",e),ye("close",e),i=r;break;case"iframe":case"object":case"embed":ye("load",e),i=r;break;case"video":case"audio":for(i=0;iki&&(t.flags|=128,r=!0,Gi(o,!1),t.lanes=4194304)}else{if(!r)if(e=dl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Gi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Se)return Je(t),null}else 2*Ae()-o.renderingStartTime>ki&&n!==1073741824&&(t.flags|=128,r=!0,Gi(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ae(),t.sibling=null,n=Ee.current,ve(Ee,r?n&1|2:n&1),t):(Je(t),null);case 22:case 23:return qc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?yt&1073741824&&(Je(t),t.subtreeFlags&6&&(t.flags|=8192)):Je(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function hx(e,t){switch(Lc(t),t.tag){case 1:return ct(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xi(),_e(ut),_e(qe),Bc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Fc(t),null;case 13:if(_e(Ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return _e(Ee),null;case 4:return xi(),null;case 10:return Rc(t.type._context),null;case 22:case 23:return qc(),null;case 24:return null;default:return null}}var Ts=!1,Ge=!1,mx=typeof WeakSet=="function"?WeakSet:Set,U=null;function ui(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Te(e,t,r)}else n.current=null}function Qu(e,t,n){try{n()}catch(r){Te(e,t,r)}}var Qp=!1;function gx(e,t){if(Tu=tl,e=$m(),Tc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,u=-1,c=-1,d=0,h=0,g=e,_=null;t:for(;;){for(var S;g!==n||i!==0&&g.nodeType!==3||(u=l+i),g!==o||r!==0&&g.nodeType!==3||(c=l+r),g.nodeType===3&&(l+=g.nodeValue.length),(S=g.firstChild)!==null;)_=g,g=S;for(;;){if(g===e)break t;if(_===n&&++d===i&&(u=l),_===o&&++h===r&&(c=l),(S=g.nextSibling)!==null)break;g=_,_=g.parentNode}g=S}n=u===-1||c===-1?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Nu={focusedElem:e,selectionRange:n},tl=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var C=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var O=C.memoizedProps,P=C.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?O:Ht(t.type,O),P);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(b){Te(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return C=Qp,Qp=!1,C}function co(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Qu(t,n,o)}i=i.next}while(i!==r)}}function Al(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Yu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ng(e){var t=e.alternate;t!==null&&(e.alternate=null,Ng(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rn],delete t[Po],delete t[Du],delete t[q_],delete t[Z_])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Lg(e){return e.tag===5||e.tag===3||e.tag===4}function Yp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=il));else if(r!==4&&(e=e.child,e!==null))for(Xu(e,t,n),e=e.sibling;e!==null;)Xu(e,t,n),e=e.sibling}function Ju(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ju(e,t,n),e=e.sibling;e!==null;)Ju(e,t,n),e=e.sibling}var Ke=null,Kt=!1;function Ln(e,t,n){for(n=n.child;n!==null;)Ag(e,t,n),n=n.sibling}function Ag(e,t,n){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:Ge||ui(n,t);case 6:var r=Ke,i=Kt;Ke=null,Ln(e,t,n),Ke=r,Kt=i,Ke!==null&&(Kt?(e=Ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ke.removeChild(n.stateNode));break;case 18:Ke!==null&&(Kt?(e=Ke,n=n.stateNode,e.nodeType===8?Ha(e.parentNode,n):e.nodeType===1&&Ha(e,n),So(e)):Ha(Ke,n.stateNode));break;case 4:r=Ke,i=Kt,Ke=n.stateNode.containerInfo,Kt=!0,Ln(e,t,n),Ke=r,Kt=i;break;case 0:case 11:case 14:case 15:if(!Ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Qu(n,t,l),i=i.next}while(i!==r)}Ln(e,t,n);break;case 1:if(!Ge&&(ui(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Te(n,t,u)}Ln(e,t,n);break;case 21:Ln(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,Ln(e,t,n),Ge=r):Ln(e,t,n);break;default:Ln(e,t,n)}}function Xp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mx),t.forEach(function(r){var i=Cx.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=Ae()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yx(r/1960))-r,10e?16:e,Mn===null)var r=!1;else{if(e=Mn,Mn=null,vl=0,le&6)throw Error(R(331));var i=le;for(le|=4,U=e.current;U!==null;){var o=U,l=o.child;if(U.flags&16){var u=o.deletions;if(u!==null){for(var c=0;cAe()-Jc?kr(e,0):Xc|=n),ft(e,t)}function Bg(e,t){t===0&&(e.mode&1?(t=xs,xs<<=1,!(xs&130023424)&&(xs=4194304)):t=1);var n=it();e=Sn(e,t),e!==null&&(zo(e,t,n),ft(e,n))}function Ex(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Bg(e,n)}function Cx(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),Bg(e,n)}var Ug;Ug=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ut.current)at=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return at=!1,dx(e,t,n);at=!!(e.flags&131072)}else at=!1,Se&&t.flags&1048576&&Km(t,al,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var i=yi(t,qe.current);mi(t,n),i=Wc(null,t,r,e,i,n);var o=Vc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ct(r)?(o=!0,sl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Mc(t),i.updater=Ll,t.stateNode=i,i._reactInternals=t,Fu(t,r,e,n),t=Wu(null,t,r,!0,o,n)):(t.tag=0,Se&&o&&Nc(t),rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Px(r),e=Ht(r,e),i){case 0:t=Uu(null,t,r,e,n);break e;case 1:t=Vp(null,t,r,e,n);break e;case 11:t=Up(null,t,r,e,n);break e;case 14:t=Wp(null,t,r,Ht(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Uu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Vp(e,t,r,i,n);case 3:e:{if(Cg(t),e===null)throw Error(R(387));r=t.pendingProps,o=t.memoizedState,i=o.element,qm(e,t),fl(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Si(Error(R(423)),t),t=Hp(e,t,r,n,i);break e}else if(r!==i){i=Si(Error(R(424)),t),t=Hp(e,t,r,n,i);break e}else for(wt=Wn(t.stateNode.containerInfo.firstChild),_t=t,Se=!0,Qt=null,n=Jm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wi(),r===i){t=kn(e,t,n);break e}rt(e,t,r,n)}t=t.child}return t;case 5:return Zm(t),e===null&&Iu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Lu(r,i)?l=null:o!==null&&Lu(r,o)&&(t.flags|=32),Eg(e,t),rt(e,t,l,n),t.child;case 6:return e===null&&Iu(t),null;case 13:return bg(e,t,n);case 4:return zc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_i(t,null,r,n):rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Up(e,t,r,i,n);case 7:return rt(e,t,t.pendingProps,n),t.child;case 8:return rt(e,t,t.pendingProps.children,n),t.child;case 12:return rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,ve(ul,r._currentValue),r._currentValue=l,o!==null)if(Jt(o.value,l)){if(o.children===i.children&&!ut.current){t=kn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){l=o.child;for(var c=u.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=yn(-1,n&-n),c.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var h=d.pending;h===null?c.next=c:(c.next=h.next,h.next=c),d.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Mu(o.return,n,t),u.lanes|=n;break}c=c.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(R(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Mu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,mi(t,n),i=Rt(i),r=r(i),t.flags|=1,rt(e,t,r,n),t.child;case 14:return r=t.type,i=Ht(r,t.pendingProps),i=Ht(r.type,i),Wp(e,t,r,i,n);case 15:return Sg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ht(r,i),Hs(e,t),t.tag=1,ct(r)?(e=!0,sl(t)):e=!1,mi(t,n),wg(t,r,i),Fu(t,r,i,n),Wu(null,t,r,!0,e,n);case 19:return Pg(e,t,n);case 22:return kg(e,t,n)}throw Error(R(156,t.tag))};function Wg(e,t){return gm(e,t)}function bx(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dt(e,t,n,r){return new bx(e,t,n,r)}function ef(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Px(e){if(typeof e=="function")return ef(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wc)return 11;if(e===_c)return 14}return 2}function Qn(e,t){var n=e.alternate;return n===null?(n=Dt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ys(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")ef(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case ei:return Er(n.children,i,o,t);case yc:l=8,i|=8;break;case cu:return e=Dt(12,n,t,i|2),e.elementType=cu,e.lanes=o,e;case fu:return e=Dt(13,n,t,i),e.elementType=fu,e.lanes=o,e;case du:return e=Dt(19,n,t,i),e.elementType=du,e.lanes=o,e;case Zh:return $l(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Gh:l=10;break e;case qh:l=9;break e;case wc:l=11;break e;case _c:l=14;break e;case An:l=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=Dt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Er(e,t,n,r){return e=Dt(7,e,r,t),e.lanes=n,e}function $l(e,t,n,r){return e=Dt(22,e,r,t),e.elementType=Zh,e.lanes=n,e.stateNode={isHidden:!1},e}function Za(e,t,n){return e=Dt(6,e,null,t),e.lanes=n,e}function eu(e,t,n){return t=Dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ox(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Da(0),this.expirationTimes=Da(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Da(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function tf(e,t,n,r,i,o,l,u,c){return e=new Ox(e,t,n,u,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Dt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mc(o),e}function jx(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qg)}catch(e){console.error(e)}}Qg(),Qh.exports=kt;var Yg=Qh.exports;const AE=kl(Yg);var rh=Yg;au.createRoot=rh.createRoot,au.hydrateRoot=rh.hydrateRoot;/** * @remix-run/router v1.23.2 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Do(){return Do=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function sf(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function $x(){return Math.random().toString(36).substr(2,8)}function oh(e,t){return{usr:e.state,key:e.key,idx:t}}function tc(e,t,n,r){return n===void 0&&(n=null),Do({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Li(t):t,{state:n,key:t&&t.key||r||$x()})}function _l(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Li(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Rx(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,u=zn.Pop,c=null,d=h();d==null&&(d=0,l.replaceState(Do({},l.state,{idx:d}),""));function h(){return(l.state||{idx:null}).idx}function g(){u=zn.Pop;let P=h(),y=P==null?null:P-d;d=P,c&&c({action:u,location:O.location,delta:y})}function _(P,y){u=zn.Push;let v=tc(O.location,P,y);d=h()+1;let w=oh(v,d),b=O.createHref(v);try{l.pushState(w,"",b)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(b)}o&&c&&c({action:u,location:O.location,delta:1})}function S(P,y){u=zn.Replace;let v=tc(O.location,P,y);d=h();let w=oh(v,d),b=O.createHref(v);l.replaceState(w,"",b),o&&c&&c({action:u,location:O.location,delta:0})}function C(P){let y=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof P=="string"?P:_l(P);return v=v.replace(/ $/,"%20"),be(y,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,y)}let O={get action(){return u},get location(){return e(i,l)},listen(P){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(ih,g),c=P,()=>{i.removeEventListener(ih,g),c=null}},createHref(P){return t(i,P)},createURL:C,encodeLocation(P){let y=C(P);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:_,replace:S,go(P){return l.go(P)}};return O}var sh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(sh||(sh={}));function Ix(e,t,n){return n===void 0&&(n="/"),Mx(e,t,n)}function Mx(e,t,n,r){let i=typeof t=="string"?Li(t):t,o=Ei(i.pathname||"/",n);if(o==null)return null;let l=Xg(e);zx(l);let u=null;for(let c=0;u==null&&c{let c={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};c.relativePath.startsWith("/")&&(be(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let d=Yn([r,c.relativePath]),h=n.concat(c);o.children&&o.children.length>0&&(be(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),Xg(o.children,t,h,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Kx(d,o.index),routesMeta:h})};return e.forEach((o,l)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))i(o,l);else for(let c of Jg(o.path))i(o,l,c)}),t}function Jg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=Jg(r.join("/")),u=[];return u.push(...l.map(c=>c===""?o:[o,c].join("/"))),i&&u.push(...l),u.map(c=>e.startsWith("/")&&c===""?"/":c)}function zx(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Qx(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Fx=/^:[\w-]+$/,Bx=3,Ux=2,Wx=1,Vx=10,Hx=-2,lh=e=>e==="*";function Kx(e,t){let n=e.split("/"),r=n.length;return n.some(lh)&&(r+=Hx),t&&(r+=Ux),n.filter(i=>!lh(i)).reduce((i,o)=>i+(Fx.test(o)?Bx:o===""?Wx:Vx),r)}function Qx(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Yx(e,t,n){let{routesMeta:r}=e,i={},o="/",l=[];for(let u=0;u{let{paramName:_,isOptional:S}=h;if(_==="*"){let O=u[g]||"";l=o.slice(0,o.length-O.length).replace(/(.)\/+$/,"$1")}const C=u[g];return S&&!C?d[_]=void 0:d[_]=(C||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:l,pattern:e}}function Xx(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),sf(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,c)=>(r.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Jx(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return sf(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ei(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const Gx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qx=e=>Gx.test(e);function Zx(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Li(e):e,o;if(n)if(qx(n))o=n;else{if(n.includes("//")){let l=n;n=n.replace(/\/\/+/g,"/"),sf(!1,"Pathnames cannot have embedded double slashes - normalizing "+(l+" -> "+n))}n.startsWith("/")?o=ah(n.substring(1),"/"):o=ah(n,t)}else o=t;return{pathname:o,search:nS(r),hash:rS(i)}}function ah(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function tu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function eS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function lf(e,t){let n=eS(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function af(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Li(e):(i=Do({},e),be(!i.pathname||!i.pathname.includes("?"),tu("?","pathname","search",i)),be(!i.pathname||!i.pathname.includes("#"),tu("#","pathname","hash",i)),be(!i.search||!i.search.includes("#"),tu("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,u;if(l==null)u=n;else{let g=t.length-1;if(!r&&l.startsWith("..")){let _=l.split("/");for(;_[0]==="..";)_.shift(),g-=1;i.pathname=_.join("/")}u=g>=0?t[g]:"/"}let c=Zx(i,u),d=l&&l!=="/"&&l.endsWith("/"),h=(o||l===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||h)&&(c.pathname+="/"),c}const Yn=e=>e.join("/").replace(/\/\/+/g,"/"),tS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),nS=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,rS=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function iS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Gg=["post","put","patch","delete"];new Set(Gg);const oS=["get",...Gg];new Set(oS);/** * React Router v6.30.3 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),x.useCallback(function(d,h){if(h===void 0&&(h={}),!u.current)return;if(typeof d=="number"){r.go(d);return}let g=af(d,JSON.parse(l),o,h.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:Yn([t,g.pathname])),(h.replace?r.replace:r.push)(g,h.state,h)},[t,r,l,o,e])}const aS=x.createContext(null);function uS(e){let t=x.useContext(Pn).outlet;return t&&x.createElement(aS.Provider,{value:e},t)}function Wl(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(bn),{matches:i}=x.useContext(Pn),{pathname:o}=Di(),l=JSON.stringify(lf(i,r.v7_relativeSplatPath));return x.useMemo(()=>af(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function cS(e,t){return fS(e,t)}function fS(e,t,n,r){Ai()||be(!1);let{navigator:i}=x.useContext(bn),{matches:o}=x.useContext(Pn),l=o[o.length-1],u=l?l.params:{};l&&l.pathname;let c=l?l.pathnameBase:"/";l&&l.route;let d=Di(),h;if(t){var g;let P=typeof t=="string"?Li(t):t;c==="/"||(g=P.pathname)!=null&&g.startsWith(c)||be(!1),h=P}else h=d;let _=h.pathname||"/",S=_;if(c!=="/"){let P=c.replace(/^\//,"").split("/");S="/"+_.replace(/^\//,"").split("/").slice(P.length).join("/")}let C=Ix(e,{pathname:S}),O=gS(C&&C.map(P=>Object.assign({},P,{params:Object.assign({},u,P.params),pathname:Yn([c,i.encodeLocation?i.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?c:Yn([c,i.encodeLocation?i.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),o,n,r);return t&&O?x.createElement(Bl.Provider,{value:{location:$o({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:zn.Pop}},O):O}function dS(){let e=_S(),t=iS(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:i},n):null,null)}const pS=x.createElement(dS,null);class hS extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Pn.Provider,{value:this.props.routeContext},x.createElement(Zg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function mS(e){let{routeContext:t,match:n,children:r}=e,i=x.useContext(Fl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Pn.Provider,{value:t},r)}function gS(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,u=(i=n)==null?void 0:i.errors;if(u!=null){let h=l.findIndex(g=>g.route.id&&(u==null?void 0:u[g.route.id])!==void 0);h>=0||be(!1),l=l.slice(0,Math.min(l.length,h+1))}let c=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((h,g,_)=>{let S,C=!1,O=null,P=null;n&&(S=u&&g.route.id?u[g.route.id]:void 0,O=g.route.errorElement||pS,c&&(d<0&&_===0?(SS("route-fallback"),C=!0,P=null):d===_&&(C=!0,P=g.route.hydrateFallbackElement||null)));let y=t.concat(l.slice(0,_+1)),v=()=>{let w;return S?w=O:C?w=P:g.route.Component?w=x.createElement(g.route.Component,null):g.route.element?w=g.route.element:w=h,x.createElement(mS,{match:g,routeContext:{outlet:h,matches:y,isDataRoute:n!=null},children:w})};return n&&(g.route.ErrorBoundary||g.route.errorElement||_===0)?x.createElement(hS,{location:n.location,revalidation:n.revalidation,component:O,error:S,children:v(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):v()},null)}var tv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(tv||{}),nv=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(nv||{});function vS(e){let t=x.useContext(Fl);return t||be(!1),t}function yS(e){let t=x.useContext(qg);return t||be(!1),t}function wS(e){let t=x.useContext(Pn);return t||be(!1),t}function rv(e){let t=wS(),n=t.matches[t.matches.length-1];return n.route.id||be(!1),n.route.id}function _S(){var e;let t=x.useContext(Zg),n=yS(),r=rv();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function xS(){let{router:e}=vS(tv.UseNavigateStable),t=rv(nv.UseNavigateStable),n=x.useRef(!1);return ev(()=>{n.current=!0}),x.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,$o({fromRouteId:t},o)))},[e,t])}const uh={};function SS(e,t,n){uh[e]||(uh[e]=!0)}function kS(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function iv(e){let{to:t,replace:n,state:r,relative:i}=e;Ai()||be(!1);let{future:o,static:l}=x.useContext(bn),{matches:u}=x.useContext(Pn),{pathname:c}=Di(),d=Ul(),h=af(t,lf(u,o.v7_relativeSplatPath),c,i==="path"),g=JSON.stringify(h);return x.useEffect(()=>d(JSON.parse(g),{replace:n,state:r,relative:i}),[d,g,i,n,r]),null}function ES(e){return uS(e.context)}function we(e){be(!1)}function CS(e){let{basename:t="/",children:n=null,location:r,navigationType:i=zn.Pop,navigator:o,static:l=!1,future:u}=e;Ai()&&be(!1);let c=t.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:c,navigator:o,static:l,future:$o({v7_relativeSplatPath:!1},u)}),[c,u,o,l]);typeof r=="string"&&(r=Li(r));let{pathname:h="/",search:g="",hash:_="",state:S=null,key:C="default"}=r,O=x.useMemo(()=>{let P=Ei(h,c);return P==null?null:{location:{pathname:P,search:g,hash:_,state:S,key:C},navigationType:i}},[c,h,g,_,S,C,i]);return O==null?null:x.createElement(bn.Provider,{value:d},x.createElement(Bl.Provider,{children:n,value:O}))}function bS(e){let{children:t,location:n}=e;return cS(rc(t),n)}new Promise(()=>{});function rc(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,i)=>{if(!x.isValidElement(r))return;let o=[...t,i];if(r.type===x.Fragment){n.push.apply(n,rc(r.props.children,o));return}r.type!==we&&be(!1),!r.props.index||!r.props.children||be(!1);let l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=rc(r.props.children,o)),n.push(l)}),n}/** * React Router DOM v6.30.3 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function PS(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function OS(e,t){return e.button===0&&(!t||t==="_self")&&!PS(e)}const jS=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],TS=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],NS="6";try{window.__reactRouterVersion=NS}catch{}const LS=x.createContext({isTransitioning:!1}),AS="startTransition",ch=k0[AS];function DS(e){let{basename:t,children:n,future:r,window:i}=e,o=x.useRef();o.current==null&&(o.current=Dx({window:i,v5Compat:!0}));let l=o.current,[u,c]=x.useState({action:l.action,location:l.location}),{v7_startTransition:d}=r||{},h=x.useCallback(g=>{d&&ch?ch(()=>c(g)):c(g)},[c,d]);return x.useLayoutEffect(()=>l.listen(h),[l,h]),x.useEffect(()=>kS(r),[r]),x.createElement(CS,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:l,future:r})}const $S=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sv=x.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:u,target:c,to:d,preventScrollReset:h,viewTransition:g}=t,_=ov(t,jS),{basename:S}=x.useContext(bn),C,O=!1;if(typeof d=="string"&&RS.test(d)&&(C=d,$S))try{let w=new URL(window.location.href),b=d.startsWith("//")?new URL(w.protocol+d):new URL(d),N=Ei(b.pathname,S);b.origin===w.origin&&N!=null?d=N+b.search+b.hash:O=!0}catch{}let P=sS(d,{relative:i}),y=MS(d,{replace:l,state:u,target:c,preventScrollReset:h,relative:i,viewTransition:g});function v(w){r&&r(w),w.defaultPrevented||y(w)}return x.createElement("a",xl({},_,{href:C||P,onClick:O||o?r:v,ref:n,target:c}))}),As=x.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:l=!1,style:u,to:c,viewTransition:d,children:h}=t,g=ov(t,TS),_=Wl(c,{relative:g.relative}),S=Di(),C=x.useContext(qg),{navigator:O,basename:P}=x.useContext(bn),y=C!=null&&zS(_)&&d===!0,v=O.encodeLocation?O.encodeLocation(_).pathname:_.pathname,w=S.pathname,b=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;i||(w=w.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&P&&(b=Ei(b,P)||b);const N=v!=="/"&&v.endsWith("/")?v.length-1:v.length;let A=w===v||!l&&w.startsWith(v)&&w.charAt(N)==="/",D=b!=null&&(b===v||!l&&b.startsWith(v)&&b.charAt(v.length)==="/"),$={isActive:A,isPending:D,isTransitioning:y},H=A?r:void 0,F;typeof o=="function"?F=o($):F=[o,A?"active":null,D?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let Y=typeof u=="function"?u($):u;return x.createElement(sv,xl({},g,{"aria-current":H,className:F,ref:n,style:Y,to:c,viewTransition:d}),typeof h=="function"?h($):h)});var ic;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ic||(ic={}));var fh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(fh||(fh={}));function IS(e){let t=x.useContext(Fl);return t||be(!1),t}function MS(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,viewTransition:u}=t===void 0?{}:t,c=Ul(),d=Di(),h=Wl(e,{relative:l});return x.useCallback(g=>{if(OS(g,n)){g.preventDefault();let _=r!==void 0?r:_l(d)===_l(h);c(e,{replace:_,state:i,preventScrollReset:o,relative:l,viewTransition:u})}},[d,c,h,r,i,n,e,o,l,u])}function zS(e,t){t===void 0&&(t={});let n=x.useContext(LS);n==null&&be(!1);let{basename:r}=IS(ic.useViewTransitionState),i=Wl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=Ei(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=Ei(n.nextLocation.pathname,r)||n.nextLocation.pathname;return nc(i.pathname,l)!=null||nc(i.pathname,o)!=null}var FS={exports:{}};/*! * Bootstrap v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */(function(e,t){(function(n,r){e.exports=r()})(l0,function(){const n=new Map,r={set(f,s,a){n.has(f)||n.set(f,new Map);const p=n.get(f);p.has(s)||p.size===0?p.set(s,a):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(p.keys())[0]}.`)},get:(f,s)=>n.has(f)&&n.get(f).get(s)||null,remove(f,s){if(!n.has(f))return;const a=n.get(f);a.delete(s),a.size===0&&n.delete(f)}},i="transitionend",o=f=>(f&&window.CSS&&window.CSS.escape&&(f=f.replace(/#([^\s"#']+)/g,(s,a)=>`#${CSS.escape(a)}`)),f),l=f=>f==null?`${f}`:Object.prototype.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase(),u=f=>{f.dispatchEvent(new Event(i))},c=f=>!(!f||typeof f!="object")&&(f.jquery!==void 0&&(f=f[0]),f.nodeType!==void 0),d=f=>c(f)?f.jquery?f[0]:f:typeof f=="string"&&f.length>0?document.querySelector(o(f)):null,h=f=>{if(!c(f)||f.getClientRects().length===0)return!1;const s=getComputedStyle(f).getPropertyValue("visibility")==="visible",a=f.closest("details:not([open])");if(!a)return s;if(a!==f){const p=f.closest("summary");if(p&&p.parentNode!==a||p===null)return!1}return s},g=f=>!f||f.nodeType!==Node.ELEMENT_NODE||!!f.classList.contains("disabled")||(f.disabled!==void 0?f.disabled:f.hasAttribute("disabled")&&f.getAttribute("disabled")!=="false"),_=f=>{if(!document.documentElement.attachShadow)return null;if(typeof f.getRootNode=="function"){const s=f.getRootNode();return s instanceof ShadowRoot?s:null}return f instanceof ShadowRoot?f:f.parentNode?_(f.parentNode):null},S=()=>{},C=f=>{f.offsetHeight},O=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,P=[],y=()=>document.documentElement.dir==="rtl",v=f=>{var s;s=()=>{const a=O();if(a){const p=f.NAME,k=a.fn[p];a.fn[p]=f.jQueryInterface,a.fn[p].Constructor=f,a.fn[p].noConflict=()=>(a.fn[p]=k,f.jQueryInterface)}},document.readyState==="loading"?(P.length||document.addEventListener("DOMContentLoaded",()=>{for(const a of P)a()}),P.push(s)):s()},w=(f,s=[],a=f)=>typeof f=="function"?f.call(...s):a,b=(f,s,a=!0)=>{if(!a)return void w(f);const p=(j=>{if(!j)return 0;let{transitionDuration:L,transitionDelay:I}=window.getComputedStyle(j);const B=Number.parseFloat(L),W=Number.parseFloat(I);return B||W?(L=L.split(",")[0],I=I.split(",")[0],1e3*(Number.parseFloat(L)+Number.parseFloat(I))):0})(s)+5;let k=!1;const E=({target:j})=>{j===s&&(k=!0,s.removeEventListener(i,E),w(f))};s.addEventListener(i,E),setTimeout(()=>{k||u(s)},p)},N=(f,s,a,p)=>{const k=f.length;let E=f.indexOf(s);return E===-1?!a&&p?f[k-1]:f[0]:(E+=a?1:-1,p&&(E=(E+k)%k),f[Math.max(0,Math.min(E,k-1))])},A=/[^.]*(?=\..*)\.|.*/,D=/\..*/,$=/::\d+$/,H={};let F=1;const Y={mouseenter:"mouseover",mouseleave:"mouseout"},ee=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 ne(f,s){return s&&`${s}::${F++}`||f.uidEvent||F++}function xe(f){const s=ne(f);return f.uidEvent=s,H[s]=H[s]||{},H[s]}function De(f,s,a=null){return Object.values(f).find(p=>p.callable===s&&p.delegationSelector===a)}function ke(f,s,a){const p=typeof s=="string",k=p?a:s||a;let E=V(f);return ee.has(E)||(E=f),[p,k,E]}function $e(f,s,a,p,k){if(typeof s!="string"||!f)return;let[E,j,L]=ke(s,a,p);s in Y&&(j=(q=>function(G){if(!G.relatedTarget||G.relatedTarget!==G.delegateTarget&&!G.delegateTarget.contains(G.relatedTarget))return q.call(this,G)})(j));const I=xe(f),B=I[L]||(I[L]={}),W=De(B,j,E?a:null);if(W)return void(W.oneOff=W.oneOff&&k);const z=ne(j,s.replace(A,"")),te=E?function(J,q,G){return function Z(pe){const ge=J.querySelectorAll(q);for(let{target:ie}=pe;ie&&ie!==this;ie=ie.parentNode)for(const ae of ge)if(ae===ie)return de(pe,{delegateTarget:ie}),Z.oneOff&&T.off(J,pe.type,q,G),G.apply(ie,[pe])}}(f,a,j):function(J,q){return function G(Z){return de(Z,{delegateTarget:J}),G.oneOff&&T.off(J,Z.type,q),q.apply(J,[Z])}}(f,j);te.delegationSelector=E?a:null,te.callable=j,te.oneOff=k,te.uidEvent=z,B[z]=te,f.addEventListener(L,te,E)}function M(f,s,a,p,k){const E=De(s[a],p,k);E&&(f.removeEventListener(a,E,!!k),delete s[a][E.uidEvent])}function X(f,s,a,p){const k=s[a]||{};for(const[E,j]of Object.entries(k))E.includes(p)&&M(f,s,a,j.callable,j.delegationSelector)}function V(f){return f=f.replace(D,""),Y[f]||f}const T={on(f,s,a,p){$e(f,s,a,p,!1)},one(f,s,a,p){$e(f,s,a,p,!0)},off(f,s,a,p){if(typeof s!="string"||!f)return;const[k,E,j]=ke(s,a,p),L=j!==s,I=xe(f),B=I[j]||{},W=s.startsWith(".");if(E===void 0){if(W)for(const z of Object.keys(I))X(f,I,z,s.slice(1));for(const[z,te]of Object.entries(B)){const J=z.replace($,"");L&&!s.includes(J)||M(f,I,j,te.callable,te.delegationSelector)}}else{if(!Object.keys(B).length)return;M(f,I,j,E,k?a:null)}},trigger(f,s,a){if(typeof s!="string"||!f)return null;const p=O();let k=null,E=!0,j=!0,L=!1;s!==V(s)&&p&&(k=p.Event(s,a),p(f).trigger(k),E=!k.isPropagationStopped(),j=!k.isImmediatePropagationStopped(),L=k.isDefaultPrevented());const I=de(new Event(s,{bubbles:E,cancelable:!0}),a);return L&&I.preventDefault(),j&&f.dispatchEvent(I),I.defaultPrevented&&k&&k.preventDefault(),I}};function de(f,s={}){for(const[a,p]of Object.entries(s))try{f[a]=p}catch{Object.defineProperty(f,a,{configurable:!0,get:()=>p})}return f}function Ct(f){if(f==="true")return!0;if(f==="false")return!1;if(f===Number(f).toString())return Number(f);if(f===""||f==="null")return null;if(typeof f!="string")return f;try{return JSON.parse(decodeURIComponent(f))}catch{return f}}function Ue(f){return f.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)}const Oe={setDataAttribute(f,s,a){f.setAttribute(`data-bs-${Ue(s)}`,a)},removeDataAttribute(f,s){f.removeAttribute(`data-bs-${Ue(s)}`)},getDataAttributes(f){if(!f)return{};const s={},a=Object.keys(f.dataset).filter(p=>p.startsWith("bs")&&!p.startsWith("bsConfig"));for(const p of a){let k=p.replace(/^bs/,"");k=k.charAt(0).toLowerCase()+k.slice(1),s[k]=Ct(f.dataset[p])}return s},getDataAttribute:(f,s)=>Ct(f.getAttribute(`data-bs-${Ue(s)}`))};class ze{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(s){return s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s}_mergeConfigObj(s,a){const p=c(a)?Oe.getDataAttribute(a,"config"):{};return{...this.constructor.Default,...typeof p=="object"?p:{},...c(a)?Oe.getDataAttributes(a):{},...typeof s=="object"?s:{}}}_typeCheckConfig(s,a=this.constructor.DefaultType){for(const[p,k]of Object.entries(a)){const E=s[p],j=c(E)?"element":l(E);if(!new RegExp(k).test(j))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${p}" provided type "${j}" but expected type "${k}".`)}}}class Ne extends ze{constructor(s,a){super(),(s=d(s))&&(this._element=s,this._config=this._getConfig(a),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),T.off(this._element,this.constructor.EVENT_KEY);for(const s of Object.getOwnPropertyNames(this))this[s]=null}_queueCallback(s,a,p=!0){b(s,a,p)}_getConfig(s){return s=this._mergeConfigObj(s,this._element),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}static getInstance(s){return r.get(d(s),this.DATA_KEY)}static getOrCreateInstance(s,a={}){return this.getInstance(s)||new this(s,typeof a=="object"?a:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(s){return`${s}${this.EVENT_KEY}`}}const Ft=f=>{let s=f.getAttribute("data-bs-target");if(!s||s==="#"){let a=f.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`),s=a&&a!=="#"?a.trim():null}return s?s.split(",").map(a=>o(a)).join(","):null},K={find:(f,s=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(s,f)),findOne:(f,s=document.documentElement)=>Element.prototype.querySelector.call(s,f),children:(f,s)=>[].concat(...f.children).filter(a=>a.matches(s)),parents(f,s){const a=[];let p=f.parentNode.closest(s);for(;p;)a.push(p),p=p.parentNode.closest(s);return a},prev(f,s){let a=f.previousElementSibling;for(;a;){if(a.matches(s))return[a];a=a.previousElementSibling}return[]},next(f,s){let a=f.nextElementSibling;for(;a;){if(a.matches(s))return[a];a=a.nextElementSibling}return[]},focusableChildren(f){const s=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(",");return this.find(s,f).filter(a=>!g(a)&&h(a))},getSelectorFromElement(f){const s=Ft(f);return s&&K.findOne(s)?s:null},getElementFromSelector(f){const s=Ft(f);return s?K.findOne(s):null},getMultipleElementsFromSelector(f){const s=Ft(f);return s?K.find(s):[]}},Dr=(f,s="hide")=>{const a=`click.dismiss${f.EVENT_KEY}`,p=f.NAME;T.on(document,a,`[data-bs-dismiss="${p}"]`,function(k){if(["A","AREA"].includes(this.tagName)&&k.preventDefault(),g(this))return;const E=K.getElementFromSelector(this)||this.closest(`.${p}`);f.getOrCreateInstance(E)[s]()})},$r=".bs.alert",Kl=`close${$r}`,Ko=`closed${$r}`;class or extends Ne{static get NAME(){return"alert"}close(){if(T.trigger(this._element,Kl).defaultPrevented)return;this._element.classList.remove("show");const s=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,s)}_destroyElement(){this._element.remove(),T.trigger(this._element,Ko),this.dispose()}static jQueryInterface(s){return this.each(function(){const a=or.getOrCreateInstance(this);if(typeof s=="string"){if(a[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);a[s](this)}})}}Dr(or,"close"),v(or);const Qo='[data-bs-toggle="button"]';class On extends Ne{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(s){return this.each(function(){const a=On.getOrCreateInstance(this);s==="toggle"&&a[s]()})}}T.on(document,"click.bs.button.data-api",Qo,f=>{f.preventDefault();const s=f.target.closest(Qo);On.getOrCreateInstance(s).toggle()}),v(On);const un=".bs.swipe",Ql=`touchstart${un}`,Yl=`touchmove${un}`,cn=`touchend${un}`,Rr=`pointerdown${un}`,Yo=`pointerup${un}`,Xo={endCallback:null,leftCallback:null,rightCallback:null},$i={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class sr extends ze{constructor(s,a){super(),this._element=s,s&&sr.isSupported()&&(this._config=this._getConfig(a),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Xo}static get DefaultType(){return $i}static get NAME(){return"swipe"}dispose(){T.off(this._element,un)}_start(s){this._supportPointerEvents?this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX):this._deltaX=s.touches[0].clientX}_end(s){this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX-this._deltaX),this._handleSwipe(),w(this._config.endCallback)}_move(s){this._deltaX=s.touches&&s.touches.length>1?0:s.touches[0].clientX-this._deltaX}_handleSwipe(){const s=Math.abs(this._deltaX);if(s<=40)return;const a=s/this._deltaX;this._deltaX=0,a&&w(a>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(T.on(this._element,Rr,s=>this._start(s)),T.on(this._element,Yo,s=>this._end(s)),this._element.classList.add("pointer-event")):(T.on(this._element,Ql,s=>this._start(s)),T.on(this._element,Yl,s=>this._move(s)),T.on(this._element,cn,s=>this._end(s)))}_eventIsPointerPenTouch(s){return this._supportPointerEvents&&(s.pointerType==="pen"||s.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Bt=".bs.carousel",Ri=".data-api",Jo="ArrowLeft",Jv="ArrowRight",Ii="next",Ir="prev",Mr="left",Go="right",Gv=`slide${Bt}`,Xl=`slid${Bt}`,qv=`keydown${Bt}`,Zv=`mouseenter${Bt}`,ey=`mouseleave${Bt}`,ty=`dragstart${Bt}`,ny=`load${Bt}${Ri}`,ry=`click${Bt}${Ri}`,_f="carousel",qo="active",xf=".active",Sf=".carousel-item",iy=xf+Sf,oy={[Jo]:Go,[Jv]:Mr},sy={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ly={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class zr extends Ne{constructor(s,a){super(s,a),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===_f&&this.cycle()}static get Default(){return sy}static get DefaultType(){return ly}static get NAME(){return"carousel"}next(){this._slide(Ii)}nextWhenVisible(){!document.hidden&&h(this._element)&&this.next()}prev(){this._slide(Ir)}pause(){this._isSliding&&u(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?T.one(this._element,Xl,()=>this.cycle()):this.cycle())}to(s){const a=this._getItems();if(s>a.length-1||s<0)return;if(this._isSliding)return void T.one(this._element,Xl,()=>this.to(s));const p=this._getItemIndex(this._getActive());if(p===s)return;const k=s>p?Ii:Ir;this._slide(k,a[s])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(s){return s.defaultInterval=s.interval,s}_addEventListeners(){this._config.keyboard&&T.on(this._element,qv,s=>this._keydown(s)),this._config.pause==="hover"&&(T.on(this._element,Zv,()=>this.pause()),T.on(this._element,ey,()=>this._maybeEnableCycle())),this._config.touch&&sr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const a of K.find(".carousel-item img",this._element))T.on(a,ty,p=>p.preventDefault());const s={leftCallback:()=>this._slide(this._directionToOrder(Mr)),rightCallback:()=>this._slide(this._directionToOrder(Go)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new sr(this._element,s)}_keydown(s){if(/input|textarea/i.test(s.target.tagName))return;const a=oy[s.key];a&&(s.preventDefault(),this._slide(this._directionToOrder(a)))}_getItemIndex(s){return this._getItems().indexOf(s)}_setActiveIndicatorElement(s){if(!this._indicatorsElement)return;const a=K.findOne(xf,this._indicatorsElement);a.classList.remove(qo),a.removeAttribute("aria-current");const p=K.findOne(`[data-bs-slide-to="${s}"]`,this._indicatorsElement);p&&(p.classList.add(qo),p.setAttribute("aria-current","true"))}_updateInterval(){const s=this._activeElement||this._getActive();if(!s)return;const a=Number.parseInt(s.getAttribute("data-bs-interval"),10);this._config.interval=a||this._config.defaultInterval}_slide(s,a=null){if(this._isSliding)return;const p=this._getActive(),k=s===Ii,E=a||N(this._getItems(),p,k,this._config.wrap);if(E===p)return;const j=this._getItemIndex(E),L=z=>T.trigger(this._element,z,{relatedTarget:E,direction:this._orderToDirection(s),from:this._getItemIndex(p),to:j});if(L(Gv).defaultPrevented||!p||!E)return;const I=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(j),this._activeElement=E;const B=k?"carousel-item-start":"carousel-item-end",W=k?"carousel-item-next":"carousel-item-prev";E.classList.add(W),C(E),p.classList.add(B),E.classList.add(B),this._queueCallback(()=>{E.classList.remove(B,W),E.classList.add(qo),p.classList.remove(qo,W,B),this._isSliding=!1,L(Xl)},p,this._isAnimated()),I&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return K.findOne(iy,this._element)}_getItems(){return K.find(Sf,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(s){return y()?s===Mr?Ir:Ii:s===Mr?Ii:Ir}_orderToDirection(s){return y()?s===Ir?Mr:Go:s===Ir?Go:Mr}static jQueryInterface(s){return this.each(function(){const a=zr.getOrCreateInstance(this,s);if(typeof s!="number"){if(typeof s=="string"){if(a[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);a[s]()}}else a.to(s)})}}T.on(document,ry,"[data-bs-slide], [data-bs-slide-to]",function(f){const s=K.getElementFromSelector(this);if(!s||!s.classList.contains(_f))return;f.preventDefault();const a=zr.getOrCreateInstance(s),p=this.getAttribute("data-bs-slide-to");return p?(a.to(p),void a._maybeEnableCycle()):Oe.getDataAttribute(this,"slide")==="next"?(a.next(),void a._maybeEnableCycle()):(a.prev(),void a._maybeEnableCycle())}),T.on(window,ny,()=>{const f=K.find('[data-bs-ride="carousel"]');for(const s of f)zr.getOrCreateInstance(s)}),v(zr);const Mi=".bs.collapse",ay=`show${Mi}`,uy=`shown${Mi}`,cy=`hide${Mi}`,fy=`hidden${Mi}`,dy=`click${Mi}.data-api`,Jl="show",Fr="collapse",Zo="collapsing",py=`:scope .${Fr} .${Fr}`,Gl='[data-bs-toggle="collapse"]',hy={parent:null,toggle:!0},my={parent:"(null|element)",toggle:"boolean"};class Br extends Ne{constructor(s,a){super(s,a),this._isTransitioning=!1,this._triggerArray=[];const p=K.find(Gl);for(const k of p){const E=K.getSelectorFromElement(k),j=K.find(E).filter(L=>L===this._element);E!==null&&j.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 hy}static get DefaultType(){return my}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let s=[];if(this._config.parent&&(s=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(k=>k!==this._element).map(k=>Br.getOrCreateInstance(k,{toggle:!1}))),s.length&&s[0]._isTransitioning||T.trigger(this._element,ay).defaultPrevented)return;for(const k of s)k.hide();const a=this._getDimension();this._element.classList.remove(Fr),this._element.classList.add(Zo),this._element.style[a]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const p=`scroll${a[0].toUpperCase()+a.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Zo),this._element.classList.add(Fr,Jl),this._element.style[a]="",T.trigger(this._element,uy)},this._element,!0),this._element.style[a]=`${this._element[p]}px`}hide(){if(this._isTransitioning||!this._isShown()||T.trigger(this._element,cy).defaultPrevented)return;const s=this._getDimension();this._element.style[s]=`${this._element.getBoundingClientRect()[s]}px`,C(this._element),this._element.classList.add(Zo),this._element.classList.remove(Fr,Jl);for(const a of this._triggerArray){const p=K.getElementFromSelector(a);p&&!this._isShown(p)&&this._addAriaAndCollapsedClass([a],!1)}this._isTransitioning=!0,this._element.style[s]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Zo),this._element.classList.add(Fr),T.trigger(this._element,fy)},this._element,!0)}_isShown(s=this._element){return s.classList.contains(Jl)}_configAfterMerge(s){return s.toggle=!!s.toggle,s.parent=d(s.parent),s}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const s=this._getFirstLevelChildren(Gl);for(const a of s){const p=K.getElementFromSelector(a);p&&this._addAriaAndCollapsedClass([a],this._isShown(p))}}_getFirstLevelChildren(s){const a=K.find(py,this._config.parent);return K.find(s,this._config.parent).filter(p=>!a.includes(p))}_addAriaAndCollapsedClass(s,a){if(s.length)for(const p of s)p.classList.toggle("collapsed",!a),p.setAttribute("aria-expanded",a)}static jQueryInterface(s){const a={};return typeof s=="string"&&/show|hide/.test(s)&&(a.toggle=!1),this.each(function(){const p=Br.getOrCreateInstance(this,a);if(typeof s=="string"){if(p[s]===void 0)throw new TypeError(`No method named "${s}"`);p[s]()}})}}T.on(document,dy,Gl,function(f){(f.target.tagName==="A"||f.delegateTarget&&f.delegateTarget.tagName==="A")&&f.preventDefault();for(const s of K.getMultipleElementsFromSelector(this))Br.getOrCreateInstance(s,{toggle:!1}).toggle()}),v(Br);var Ze="top",ht="bottom",mt="right",et="left",es="auto",Ur=[Ze,ht,mt,et],lr="start",Wr="end",kf="clippingParents",ql="viewport",Vr="popper",Ef="reference",Zl=Ur.reduce(function(f,s){return f.concat([s+"-"+lr,s+"-"+Wr])},[]),ea=[].concat(Ur,[es]).reduce(function(f,s){return f.concat([s,s+"-"+lr,s+"-"+Wr])},[]),Cf="beforeRead",bf="read",Pf="afterRead",Of="beforeMain",jf="main",Tf="afterMain",Nf="beforeWrite",Lf="write",Af="afterWrite",Df=[Cf,bf,Pf,Of,jf,Tf,Nf,Lf,Af];function Gt(f){return f?(f.nodeName||"").toLowerCase():null}function gt(f){if(f==null)return window;if(f.toString()!=="[object Window]"){var s=f.ownerDocument;return s&&s.defaultView||window}return f}function ar(f){return f instanceof gt(f).Element||f instanceof Element}function bt(f){return f instanceof gt(f).HTMLElement||f instanceof HTMLElement}function ta(f){return typeof ShadowRoot<"u"&&(f instanceof gt(f).ShadowRoot||f instanceof ShadowRoot)}const na={name:"applyStyles",enabled:!0,phase:"write",fn:function(f){var s=f.state;Object.keys(s.elements).forEach(function(a){var p=s.styles[a]||{},k=s.attributes[a]||{},E=s.elements[a];bt(E)&&Gt(E)&&(Object.assign(E.style,p),Object.keys(k).forEach(function(j){var L=k[j];L===!1?E.removeAttribute(j):E.setAttribute(j,L===!0?"":L)}))})},effect:function(f){var s=f.state,a={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(s.elements.popper.style,a.popper),s.styles=a,s.elements.arrow&&Object.assign(s.elements.arrow.style,a.arrow),function(){Object.keys(s.elements).forEach(function(p){var k=s.elements[p],E=s.attributes[p]||{},j=Object.keys(s.styles.hasOwnProperty(p)?s.styles[p]:a[p]).reduce(function(L,I){return L[I]="",L},{});bt(k)&&Gt(k)&&(Object.assign(k.style,j),Object.keys(E).forEach(function(L){k.removeAttribute(L)}))})}},requires:["computeStyles"]};function qt(f){return f.split("-")[0]}var ur=Math.max,ts=Math.min,Hr=Math.round;function ra(){var f=navigator.userAgentData;return f!=null&&f.brands&&Array.isArray(f.brands)?f.brands.map(function(s){return s.brand+"/"+s.version}).join(" "):navigator.userAgent}function $f(){return!/^((?!chrome|android).)*safari/i.test(ra())}function Kr(f,s,a){s===void 0&&(s=!1),a===void 0&&(a=!1);var p=f.getBoundingClientRect(),k=1,E=1;s&&bt(f)&&(k=f.offsetWidth>0&&Hr(p.width)/f.offsetWidth||1,E=f.offsetHeight>0&&Hr(p.height)/f.offsetHeight||1);var j=(ar(f)?gt(f):window).visualViewport,L=!$f()&&a,I=(p.left+(L&&j?j.offsetLeft:0))/k,B=(p.top+(L&&j?j.offsetTop:0))/E,W=p.width/k,z=p.height/E;return{width:W,height:z,top:B,right:I+W,bottom:B+z,left:I,x:I,y:B}}function ia(f){var s=Kr(f),a=f.offsetWidth,p=f.offsetHeight;return Math.abs(s.width-a)<=1&&(a=s.width),Math.abs(s.height-p)<=1&&(p=s.height),{x:f.offsetLeft,y:f.offsetTop,width:a,height:p}}function Rf(f,s){var a=s.getRootNode&&s.getRootNode();if(f.contains(s))return!0;if(a&&ta(a)){var p=s;do{if(p&&f.isSameNode(p))return!0;p=p.parentNode||p.host}while(p)}return!1}function fn(f){return gt(f).getComputedStyle(f)}function gy(f){return["table","td","th"].indexOf(Gt(f))>=0}function jn(f){return((ar(f)?f.ownerDocument:f.document)||window.document).documentElement}function ns(f){return Gt(f)==="html"?f:f.assignedSlot||f.parentNode||(ta(f)?f.host:null)||jn(f)}function If(f){return bt(f)&&fn(f).position!=="fixed"?f.offsetParent:null}function zi(f){for(var s=gt(f),a=If(f);a&&gy(a)&&fn(a).position==="static";)a=If(a);return a&&(Gt(a)==="html"||Gt(a)==="body"&&fn(a).position==="static")?s:a||function(p){var k=/firefox/i.test(ra());if(/Trident/i.test(ra())&&bt(p)&&fn(p).position==="fixed")return null;var E=ns(p);for(ta(E)&&(E=E.host);bt(E)&&["html","body"].indexOf(Gt(E))<0;){var j=fn(E);if(j.transform!=="none"||j.perspective!=="none"||j.contain==="paint"||["transform","perspective"].indexOf(j.willChange)!==-1||k&&j.willChange==="filter"||k&&j.filter&&j.filter!=="none")return E;E=E.parentNode}return null}(f)||s}function oa(f){return["top","bottom"].indexOf(f)>=0?"x":"y"}function Fi(f,s,a){return ur(f,ts(s,a))}function Mf(f){return Object.assign({},{top:0,right:0,bottom:0,left:0},f)}function zf(f,s){return s.reduce(function(a,p){return a[p]=f,a},{})}const Ff={name:"arrow",enabled:!0,phase:"main",fn:function(f){var s,a=f.state,p=f.name,k=f.options,E=a.elements.arrow,j=a.modifiersData.popperOffsets,L=qt(a.placement),I=oa(L),B=[et,mt].indexOf(L)>=0?"height":"width";if(E&&j){var W=function(he,ce){return Mf(typeof(he=typeof he=="function"?he(Object.assign({},ce.rects,{placement:ce.placement})):he)!="number"?he:zf(he,Ur))}(k.padding,a),z=ia(E),te=I==="y"?Ze:et,J=I==="y"?ht:mt,q=a.rects.reference[B]+a.rects.reference[I]-j[I]-a.rects.popper[B],G=j[I]-a.rects.reference[I],Z=zi(E),pe=Z?I==="y"?Z.clientHeight||0:Z.clientWidth||0:0,ge=q/2-G/2,ie=W[te],ae=pe-z[B]-W[J],re=pe/2-z[B]/2+ge,se=Fi(ie,re,ae),ue=I;a.modifiersData[p]=((s={})[ue]=se,s.centerOffset=se-re,s)}},effect:function(f){var s=f.state,a=f.options.element,p=a===void 0?"[data-popper-arrow]":a;p!=null&&(typeof p!="string"||(p=s.elements.popper.querySelector(p)))&&Rf(s.elements.popper,p)&&(s.elements.arrow=p)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qr(f){return f.split("-")[1]}var vy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bf(f){var s,a=f.popper,p=f.popperRect,k=f.placement,E=f.variation,j=f.offsets,L=f.position,I=f.gpuAcceleration,B=f.adaptive,W=f.roundOffsets,z=f.isFixed,te=j.x,J=te===void 0?0:te,q=j.y,G=q===void 0?0:q,Z=typeof W=="function"?W({x:J,y:G}):{x:J,y:G};J=Z.x,G=Z.y;var pe=j.hasOwnProperty("x"),ge=j.hasOwnProperty("y"),ie=et,ae=Ze,re=window;if(B){var se=zi(a),ue="clientHeight",he="clientWidth";se===gt(a)&&fn(se=jn(a)).position!=="static"&&L==="absolute"&&(ue="scrollHeight",he="scrollWidth"),(k===Ze||(k===et||k===mt)&&E===Wr)&&(ae=ht,G-=(z&&se===re&&re.visualViewport?re.visualViewport.height:se[ue])-p.height,G*=I?1:-1),k!==et&&(k!==Ze&&k!==ht||E!==Wr)||(ie=mt,J-=(z&&se===re&&re.visualViewport?re.visualViewport.width:se[he])-p.width,J*=I?1:-1)}var ce,Le=Object.assign({position:L},B&&vy),vt=W===!0?function(Wt,tt){var Ot=Wt.x,jt=Wt.y,je=tt.devicePixelRatio||1;return{x:Hr(Ot*je)/je||0,y:Hr(jt*je)/je||0}}({x:J,y:G},gt(a)):{x:J,y:G};return J=vt.x,G=vt.y,I?Object.assign({},Le,((ce={})[ae]=ge?"0":"",ce[ie]=pe?"0":"",ce.transform=(re.devicePixelRatio||1)<=1?"translate("+J+"px, "+G+"px)":"translate3d("+J+"px, "+G+"px, 0)",ce)):Object.assign({},Le,((s={})[ae]=ge?G+"px":"",s[ie]=pe?J+"px":"",s.transform="",s))}const sa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(f){var s=f.state,a=f.options,p=a.gpuAcceleration,k=p===void 0||p,E=a.adaptive,j=E===void 0||E,L=a.roundOffsets,I=L===void 0||L,B={placement:qt(s.placement),variation:Qr(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:k,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,Bf(Object.assign({},B,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:j,roundOffsets:I})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,Bf(Object.assign({},B,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:I})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})},data:{}};var rs={passive:!0};const la={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(f){var s=f.state,a=f.instance,p=f.options,k=p.scroll,E=k===void 0||k,j=p.resize,L=j===void 0||j,I=gt(s.elements.popper),B=[].concat(s.scrollParents.reference,s.scrollParents.popper);return E&&B.forEach(function(W){W.addEventListener("scroll",a.update,rs)}),L&&I.addEventListener("resize",a.update,rs),function(){E&&B.forEach(function(W){W.removeEventListener("scroll",a.update,rs)}),L&&I.removeEventListener("resize",a.update,rs)}},data:{}};var yy={left:"right",right:"left",bottom:"top",top:"bottom"};function is(f){return f.replace(/left|right|bottom|top/g,function(s){return yy[s]})}var wy={start:"end",end:"start"};function Uf(f){return f.replace(/start|end/g,function(s){return wy[s]})}function aa(f){var s=gt(f);return{scrollLeft:s.pageXOffset,scrollTop:s.pageYOffset}}function ua(f){return Kr(jn(f)).left+aa(f).scrollLeft}function ca(f){var s=fn(f),a=s.overflow,p=s.overflowX,k=s.overflowY;return/auto|scroll|overlay|hidden/.test(a+k+p)}function Wf(f){return["html","body","#document"].indexOf(Gt(f))>=0?f.ownerDocument.body:bt(f)&&ca(f)?f:Wf(ns(f))}function Bi(f,s){var a;s===void 0&&(s=[]);var p=Wf(f),k=p===((a=f.ownerDocument)==null?void 0:a.body),E=gt(p),j=k?[E].concat(E.visualViewport||[],ca(p)?p:[]):p,L=s.concat(j);return k?L:L.concat(Bi(ns(j)))}function fa(f){return Object.assign({},f,{left:f.x,top:f.y,right:f.x+f.width,bottom:f.y+f.height})}function Vf(f,s,a){return s===ql?fa(function(p,k){var E=gt(p),j=jn(p),L=E.visualViewport,I=j.clientWidth,B=j.clientHeight,W=0,z=0;if(L){I=L.width,B=L.height;var te=$f();(te||!te&&k==="fixed")&&(W=L.offsetLeft,z=L.offsetTop)}return{width:I,height:B,x:W+ua(p),y:z}}(f,a)):ar(s)?function(p,k){var E=Kr(p,!1,k==="fixed");return E.top=E.top+p.clientTop,E.left=E.left+p.clientLeft,E.bottom=E.top+p.clientHeight,E.right=E.left+p.clientWidth,E.width=p.clientWidth,E.height=p.clientHeight,E.x=E.left,E.y=E.top,E}(s,a):fa(function(p){var k,E=jn(p),j=aa(p),L=(k=p.ownerDocument)==null?void 0:k.body,I=ur(E.scrollWidth,E.clientWidth,L?L.scrollWidth:0,L?L.clientWidth:0),B=ur(E.scrollHeight,E.clientHeight,L?L.scrollHeight:0,L?L.clientHeight:0),W=-j.scrollLeft+ua(p),z=-j.scrollTop;return fn(L||E).direction==="rtl"&&(W+=ur(E.clientWidth,L?L.clientWidth:0)-I),{width:I,height:B,x:W,y:z}}(jn(f)))}function Hf(f){var s,a=f.reference,p=f.element,k=f.placement,E=k?qt(k):null,j=k?Qr(k):null,L=a.x+a.width/2-p.width/2,I=a.y+a.height/2-p.height/2;switch(E){case Ze:s={x:L,y:a.y-p.height};break;case ht:s={x:L,y:a.y+a.height};break;case mt:s={x:a.x+a.width,y:I};break;case et:s={x:a.x-p.width,y:I};break;default:s={x:a.x,y:a.y}}var B=E?oa(E):null;if(B!=null){var W=B==="y"?"height":"width";switch(j){case lr:s[B]=s[B]-(a[W]/2-p[W]/2);break;case Wr:s[B]=s[B]+(a[W]/2-p[W]/2)}}return s}function Yr(f,s){s===void 0&&(s={});var a=s,p=a.placement,k=p===void 0?f.placement:p,E=a.strategy,j=E===void 0?f.strategy:E,L=a.boundary,I=L===void 0?kf:L,B=a.rootBoundary,W=B===void 0?ql:B,z=a.elementContext,te=z===void 0?Vr:z,J=a.altBoundary,q=J!==void 0&&J,G=a.padding,Z=G===void 0?0:G,pe=Mf(typeof Z!="number"?Z:zf(Z,Ur)),ge=te===Vr?Ef:Vr,ie=f.rects.popper,ae=f.elements[q?ge:te],re=function(tt,Ot,jt,je){var Zt=Ot==="clippingParents"?function(me){var nt=Bi(ns(me)),Tt=["absolute","fixed"].indexOf(fn(me).position)>=0&&bt(me)?zi(me):me;return ar(Tt)?nt.filter(function(Nn){return ar(Nn)&&Rf(Nn,Tt)&&Gt(Nn)!=="body"}):[]}(tt):[].concat(Ot),en=[].concat(Zt,[jt]),Gr=en[0],We=en.reduce(function(me,nt){var Tt=Vf(tt,nt,je);return me.top=ur(Tt.top,me.top),me.right=ts(Tt.right,me.right),me.bottom=ts(Tt.bottom,me.bottom),me.left=ur(Tt.left,me.left),me},Vf(tt,Gr,je));return We.width=We.right-We.left,We.height=We.bottom-We.top,We.x=We.left,We.y=We.top,We}(ar(ae)?ae:ae.contextElement||jn(f.elements.popper),I,W,j),se=Kr(f.elements.reference),ue=Hf({reference:se,element:ie,placement:k}),he=fa(Object.assign({},ie,ue)),ce=te===Vr?he:se,Le={top:re.top-ce.top+pe.top,bottom:ce.bottom-re.bottom+pe.bottom,left:re.left-ce.left+pe.left,right:ce.right-re.right+pe.right},vt=f.modifiersData.offset;if(te===Vr&&vt){var Wt=vt[k];Object.keys(Le).forEach(function(tt){var Ot=[mt,ht].indexOf(tt)>=0?1:-1,jt=[Ze,ht].indexOf(tt)>=0?"y":"x";Le[tt]+=Wt[jt]*Ot})}return Le}function _y(f,s){s===void 0&&(s={});var a=s,p=a.placement,k=a.boundary,E=a.rootBoundary,j=a.padding,L=a.flipVariations,I=a.allowedAutoPlacements,B=I===void 0?ea:I,W=Qr(p),z=W?L?Zl:Zl.filter(function(q){return Qr(q)===W}):Ur,te=z.filter(function(q){return B.indexOf(q)>=0});te.length===0&&(te=z);var J=te.reduce(function(q,G){return q[G]=Yr(f,{placement:G,boundary:k,rootBoundary:E,padding:j})[qt(G)],q},{});return Object.keys(J).sort(function(q,G){return J[q]-J[G]})}const Kf={name:"flip",enabled:!0,phase:"main",fn:function(f){var s=f.state,a=f.options,p=f.name;if(!s.modifiersData[p]._skip){for(var k=a.mainAxis,E=k===void 0||k,j=a.altAxis,L=j===void 0||j,I=a.fallbackPlacements,B=a.padding,W=a.boundary,z=a.rootBoundary,te=a.altBoundary,J=a.flipVariations,q=J===void 0||J,G=a.allowedAutoPlacements,Z=s.options.placement,pe=qt(Z),ge=I||(pe!==Z&&q?function(me){if(qt(me)===es)return[];var nt=is(me);return[Uf(me),nt,Uf(nt)]}(Z):[is(Z)]),ie=[Z].concat(ge).reduce(function(me,nt){return me.concat(qt(nt)===es?_y(s,{placement:nt,boundary:W,rootBoundary:z,padding:B,flipVariations:q,allowedAutoPlacements:G}):nt)},[]),ae=s.rects.reference,re=s.rects.popper,se=new Map,ue=!0,he=ie[0],ce=0;ce=0,Ot=tt?"width":"height",jt=Yr(s,{placement:Le,boundary:W,rootBoundary:z,altBoundary:te,padding:B}),je=tt?Wt?mt:et:Wt?ht:Ze;ae[Ot]>re[Ot]&&(je=is(je));var Zt=is(je),en=[];if(E&&en.push(jt[vt]<=0),L&&en.push(jt[je]<=0,jt[Zt]<=0),en.every(function(me){return me})){he=Le,ue=!1;break}se.set(Le,en)}if(ue)for(var Gr=function(me){var nt=ie.find(function(Tt){var Nn=se.get(Tt);if(Nn)return Nn.slice(0,me).every(function(ps){return ps})});if(nt)return he=nt,"break"},We=q?3:1;We>0&&Gr(We)!=="break";We--);s.placement!==he&&(s.modifiersData[p]._skip=!0,s.placement=he,s.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Qf(f,s,a){return a===void 0&&(a={x:0,y:0}),{top:f.top-s.height-a.y,right:f.right-s.width+a.x,bottom:f.bottom-s.height+a.y,left:f.left-s.width-a.x}}function Yf(f){return[Ze,mt,ht,et].some(function(s){return f[s]>=0})}const Xf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(f){var s=f.state,a=f.name,p=s.rects.reference,k=s.rects.popper,E=s.modifiersData.preventOverflow,j=Yr(s,{elementContext:"reference"}),L=Yr(s,{altBoundary:!0}),I=Qf(j,p),B=Qf(L,k,E),W=Yf(I),z=Yf(B);s.modifiersData[a]={referenceClippingOffsets:I,popperEscapeOffsets:B,isReferenceHidden:W,hasPopperEscaped:z},s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-reference-hidden":W,"data-popper-escaped":z})}},Jf={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(f){var s=f.state,a=f.options,p=f.name,k=a.offset,E=k===void 0?[0,0]:k,j=ea.reduce(function(W,z){return W[z]=function(te,J,q){var G=qt(te),Z=[et,Ze].indexOf(G)>=0?-1:1,pe=typeof q=="function"?q(Object.assign({},J,{placement:te})):q,ge=pe[0],ie=pe[1];return ge=ge||0,ie=(ie||0)*Z,[et,mt].indexOf(G)>=0?{x:ie,y:ge}:{x:ge,y:ie}}(z,s.rects,E),W},{}),L=j[s.placement],I=L.x,B=L.y;s.modifiersData.popperOffsets!=null&&(s.modifiersData.popperOffsets.x+=I,s.modifiersData.popperOffsets.y+=B),s.modifiersData[p]=j}},da={name:"popperOffsets",enabled:!0,phase:"read",fn:function(f){var s=f.state,a=f.name;s.modifiersData[a]=Hf({reference:s.rects.reference,element:s.rects.popper,placement:s.placement})},data:{}},Gf={name:"preventOverflow",enabled:!0,phase:"main",fn:function(f){var s=f.state,a=f.options,p=f.name,k=a.mainAxis,E=k===void 0||k,j=a.altAxis,L=j!==void 0&&j,I=a.boundary,B=a.rootBoundary,W=a.altBoundary,z=a.padding,te=a.tether,J=te===void 0||te,q=a.tetherOffset,G=q===void 0?0:q,Z=Yr(s,{boundary:I,rootBoundary:B,padding:z,altBoundary:W}),pe=qt(s.placement),ge=Qr(s.placement),ie=!ge,ae=oa(pe),re=ae==="x"?"y":"x",se=s.modifiersData.popperOffsets,ue=s.rects.reference,he=s.rects.popper,ce=typeof G=="function"?G(Object.assign({},s.rects,{placement:s.placement})):G,Le=typeof ce=="number"?{mainAxis:ce,altAxis:ce}:Object.assign({mainAxis:0,altAxis:0},ce),vt=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,Wt={x:0,y:0};if(se){if(E){var tt,Ot=ae==="y"?Ze:et,jt=ae==="y"?ht:mt,je=ae==="y"?"height":"width",Zt=se[ae],en=Zt+Z[Ot],Gr=Zt-Z[jt],We=J?-he[je]/2:0,me=ge===lr?ue[je]:he[je],nt=ge===lr?-he[je]:-ue[je],Tt=s.elements.arrow,Nn=J&&Tt?ia(Tt):{width:0,height:0},ps=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Id=ps[Ot],Md=ps[jt],hs=Fi(0,ue[je],Nn[je]),qw=ie?ue[je]/2-We-hs-Id-Le.mainAxis:me-hs-Id-Le.mainAxis,Zw=ie?-ue[je]/2+We+hs+Md+Le.mainAxis:nt+hs+Md+Le.mainAxis,ba=s.elements.arrow&&zi(s.elements.arrow),e0=ba?ae==="y"?ba.clientTop||0:ba.clientLeft||0:0,zd=(tt=vt==null?void 0:vt[ae])!=null?tt:0,t0=Zt+Zw-zd,Fd=Fi(J?ts(en,Zt+qw-zd-e0):en,Zt,J?ur(Gr,t0):Gr);se[ae]=Fd,Wt[ae]=Fd-Zt}if(L){var Bd,n0=ae==="x"?Ze:et,r0=ae==="x"?ht:mt,vr=se[re],ms=re==="y"?"height":"width",Ud=vr+Z[n0],Wd=vr-Z[r0],Pa=[Ze,et].indexOf(pe)!==-1,Vd=(Bd=vt==null?void 0:vt[re])!=null?Bd:0,Hd=Pa?Ud:vr-ue[ms]-he[ms]-Vd+Le.altAxis,Kd=Pa?vr+ue[ms]+he[ms]-Vd-Le.altAxis:Wd,Qd=J&&Pa?function(i0,o0,Oa){var Yd=Fi(i0,o0,Oa);return Yd>Oa?Oa:Yd}(Hd,vr,Kd):Fi(J?Hd:Ud,vr,J?Kd:Wd);se[re]=Qd,Wt[re]=Qd-vr}s.modifiersData[p]=Wt}},requiresIfExists:["offset"]};function xy(f,s,a){a===void 0&&(a=!1);var p,k,E=bt(s),j=bt(s)&&function(z){var te=z.getBoundingClientRect(),J=Hr(te.width)/z.offsetWidth||1,q=Hr(te.height)/z.offsetHeight||1;return J!==1||q!==1}(s),L=jn(s),I=Kr(f,j,a),B={scrollLeft:0,scrollTop:0},W={x:0,y:0};return(E||!E&&!a)&&((Gt(s)!=="body"||ca(L))&&(B=(p=s)!==gt(p)&&bt(p)?{scrollLeft:(k=p).scrollLeft,scrollTop:k.scrollTop}:aa(p)),bt(s)?((W=Kr(s,!0)).x+=s.clientLeft,W.y+=s.clientTop):L&&(W.x=ua(L))),{x:I.left+B.scrollLeft-W.x,y:I.top+B.scrollTop-W.y,width:I.width,height:I.height}}function Sy(f){var s=new Map,a=new Set,p=[];function k(E){a.add(E.name),[].concat(E.requires||[],E.requiresIfExists||[]).forEach(function(j){if(!a.has(j)){var L=s.get(j);L&&k(L)}}),p.push(E)}return f.forEach(function(E){s.set(E.name,E)}),f.forEach(function(E){a.has(E.name)||k(E)}),p}var qf={placement:"bottom",modifiers:[],strategy:"absolute"};function Zf(){for(var f=arguments.length,s=new Array(f),a=0;aNumber.parseInt(a,10)):typeof s=="function"?a=>s(a,this._element):s}_getPopperConfig(){const s={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Oe.setDataAttribute(this._menu,"popper","static"),s.modifiers=[{name:"applyStyles",enabled:!1}]),{...s,...w(this._config.popperConfig,[void 0,s])}}_selectMenuItem({key:s,target:a}){const p=K.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(k=>h(k));p.length&&N(p,a,s===nd,!p.includes(a)).focus()}static jQueryInterface(s){return this.each(function(){const a=Ut.getOrCreateInstance(this,s);if(typeof s=="string"){if(a[s]===void 0)throw new TypeError(`No method named "${s}"`);a[s]()}})}static clearMenus(s){if(s.button===2||s.type==="keyup"&&s.key!=="Tab")return;const a=K.find(Ny);for(const p of a){const k=Ut.getInstance(p);if(!k||k._config.autoClose===!1)continue;const E=s.composedPath(),j=E.includes(k._menu);if(E.includes(k._element)||k._config.autoClose==="inside"&&!j||k._config.autoClose==="outside"&&j||k._menu.contains(s.target)&&(s.type==="keyup"&&s.key==="Tab"||/input|select|option|textarea|form/i.test(s.target.tagName)))continue;const L={relatedTarget:k._element};s.type==="click"&&(L.clickEvent=s),k._completeHide(L)}}static dataApiKeydownHandler(s){const a=/input|textarea/i.test(s.target.tagName),p=s.key==="Escape",k=[Cy,nd].includes(s.key);if(!k&&!p||a&&!p)return;s.preventDefault();const E=this.matches(fr)?this:K.prev(this,fr)[0]||K.next(this,fr)[0]||K.findOne(fr,s.delegateTarget.parentNode),j=Ut.getOrCreateInstance(E);if(k)return s.stopPropagation(),j.show(),void j._selectMenuItem(s);j._isShown()&&(s.stopPropagation(),j.hide(),E.focus())}}T.on(document,id,fr,Ut.dataApiKeydownHandler),T.on(document,id,ss,Ut.dataApiKeydownHandler),T.on(document,rd,Ut.clearMenus),T.on(document,Ty,Ut.clearMenus),T.on(document,rd,fr,function(f){f.preventDefault(),Ut.getOrCreateInstance(this).toggle()}),v(Ut);const od="backdrop",sd="show",ld=`mousedown.bs.${od}`,Fy={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},By={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ad extends ze{constructor(s){super(),this._config=this._getConfig(s),this._isAppended=!1,this._element=null}static get Default(){return Fy}static get DefaultType(){return By}static get NAME(){return od}show(s){if(!this._config.isVisible)return void w(s);this._append();const a=this._getElement();this._config.isAnimated&&C(a),a.classList.add(sd),this._emulateAnimation(()=>{w(s)})}hide(s){this._config.isVisible?(this._getElement().classList.remove(sd),this._emulateAnimation(()=>{this.dispose(),w(s)})):w(s)}dispose(){this._isAppended&&(T.off(this._element,ld),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const s=document.createElement("div");s.className=this._config.className,this._config.isAnimated&&s.classList.add("fade"),this._element=s}return this._element}_configAfterMerge(s){return s.rootElement=d(s.rootElement),s}_append(){if(this._isAppended)return;const s=this._getElement();this._config.rootElement.append(s),T.on(s,ld,()=>{w(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(s){b(s,this._getElement(),this._config.isAnimated)}}const ls=".bs.focustrap",Uy=`focusin${ls}`,Wy=`keydown.tab${ls}`,ud="backward",Vy={autofocus:!0,trapElement:null},Hy={autofocus:"boolean",trapElement:"element"};class cd extends ze{constructor(s){super(),this._config=this._getConfig(s),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Vy}static get DefaultType(){return Hy}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),T.off(document,ls),T.on(document,Uy,s=>this._handleFocusin(s)),T.on(document,Wy,s=>this._handleKeydown(s)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,T.off(document,ls))}_handleFocusin(s){const{trapElement:a}=this._config;if(s.target===document||s.target===a||a.contains(s.target))return;const p=K.focusableChildren(a);p.length===0?a.focus():this._lastTabNavDirection===ud?p[p.length-1].focus():p[0].focus()}_handleKeydown(s){s.key==="Tab"&&(this._lastTabNavDirection=s.shiftKey?ud:"forward")}}const fd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",dd=".sticky-top",as="padding-right",pd="margin-right";class ma{constructor(){this._element=document.body}getWidth(){const s=document.documentElement.clientWidth;return Math.abs(window.innerWidth-s)}hide(){const s=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,as,a=>a+s),this._setElementAttributes(fd,as,a=>a+s),this._setElementAttributes(dd,pd,a=>a-s)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,as),this._resetElementAttributes(fd,as),this._resetElementAttributes(dd,pd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(s,a,p){const k=this.getWidth();this._applyManipulationCallback(s,E=>{if(E!==this._element&&window.innerWidth>E.clientWidth+k)return;this._saveInitialAttribute(E,a);const j=window.getComputedStyle(E).getPropertyValue(a);E.style.setProperty(a,`${p(Number.parseFloat(j))}px`)})}_saveInitialAttribute(s,a){const p=s.style.getPropertyValue(a);p&&Oe.setDataAttribute(s,a,p)}_resetElementAttributes(s,a){this._applyManipulationCallback(s,p=>{const k=Oe.getDataAttribute(p,a);k!==null?(Oe.removeDataAttribute(p,a),p.style.setProperty(a,k)):p.style.removeProperty(a)})}_applyManipulationCallback(s,a){if(c(s))a(s);else for(const p of K.find(s,this._element))a(p)}}const Pt=".bs.modal",Ky=`hide${Pt}`,Qy=`hidePrevented${Pt}`,hd=`hidden${Pt}`,md=`show${Pt}`,Yy=`shown${Pt}`,Xy=`resize${Pt}`,Jy=`click.dismiss${Pt}`,Gy=`mousedown.dismiss${Pt}`,qy=`keydown.dismiss${Pt}`,Zy=`click${Pt}.data-api`,gd="modal-open",vd="show",ga="modal-static",ew={backdrop:!0,focus:!0,keyboard:!0},tw={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class dr extends Ne{constructor(s,a){super(s,a),this._dialog=K.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ma,this._addEventListeners()}static get Default(){return ew}static get DefaultType(){return tw}static get NAME(){return"modal"}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){this._isShown||this._isTransitioning||T.trigger(this._element,md,{relatedTarget:s}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gd),this._adjustDialog(),this._backdrop.show(()=>this._showElement(s)))}hide(){this._isShown&&!this._isTransitioning&&(T.trigger(this._element,Ky).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(vd),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){T.off(window,Pt),T.off(this._dialog,Pt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ad({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cd({trapElement:this._element})}_showElement(s){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 a=K.findOne(".modal-body",this._dialog);a&&(a.scrollTop=0),C(this._element),this._element.classList.add(vd),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,T.trigger(this._element,Yy,{relatedTarget:s})},this._dialog,this._isAnimated())}_addEventListeners(){T.on(this._element,qy,s=>{s.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),T.on(window,Xy,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),T.on(this._element,Gy,s=>{T.one(this._element,Jy,a=>{this._element===s.target&&this._element===a.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_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(gd),this._resetAdjustments(),this._scrollBar.reset(),T.trigger(this._element,hd)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(T.trigger(this._element,Qy).defaultPrevented)return;const s=this._element.scrollHeight>document.documentElement.clientHeight,a=this._element.style.overflowY;a==="hidden"||this._element.classList.contains(ga)||(s||(this._element.style.overflowY="hidden"),this._element.classList.add(ga),this._queueCallback(()=>{this._element.classList.remove(ga),this._queueCallback(()=>{this._element.style.overflowY=a},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const s=this._element.scrollHeight>document.documentElement.clientHeight,a=this._scrollBar.getWidth(),p=a>0;if(p&&!s){const k=y()?"paddingLeft":"paddingRight";this._element.style[k]=`${a}px`}if(!p&&s){const k=y()?"paddingRight":"paddingLeft";this._element.style[k]=`${a}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(s,a){return this.each(function(){const p=dr.getOrCreateInstance(this,s);if(typeof s=="string"){if(p[s]===void 0)throw new TypeError(`No method named "${s}"`);p[s](a)}})}}T.on(document,Zy,'[data-bs-toggle="modal"]',function(f){const s=K.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&f.preventDefault(),T.one(s,md,p=>{p.defaultPrevented||T.one(s,hd,()=>{h(this)&&this.focus()})});const a=K.findOne(".modal.show");a&&dr.getInstance(a).hide(),dr.getOrCreateInstance(s).toggle(this)}),Dr(dr),v(dr);const dn=".bs.offcanvas",yd=".data-api",nw=`load${dn}${yd}`,wd="show",_d="showing",xd="hiding",Sd=".offcanvas.show",rw=`show${dn}`,iw=`shown${dn}`,ow=`hide${dn}`,kd=`hidePrevented${dn}`,Ed=`hidden${dn}`,sw=`resize${dn}`,lw=`click${dn}${yd}`,aw=`keydown.dismiss${dn}`,uw={backdrop:!0,keyboard:!0,scroll:!1},cw={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class pn extends Ne{constructor(s,a){super(s,a),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return uw}static get DefaultType(){return cw}static get NAME(){return"offcanvas"}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){this._isShown||T.trigger(this._element,rw,{relatedTarget:s}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new ma().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_d),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(wd),this._element.classList.remove(_d),T.trigger(this._element,iw,{relatedTarget:s})},this._element,!0))}hide(){this._isShown&&(T.trigger(this._element,ow).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(xd),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(wd,xd),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ma().reset(),T.trigger(this._element,Ed)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const s=!!this._config.backdrop;return new ad({className:"offcanvas-backdrop",isVisible:s,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:s?()=>{this._config.backdrop!=="static"?this.hide():T.trigger(this._element,kd)}:null})}_initializeFocusTrap(){return new cd({trapElement:this._element})}_addEventListeners(){T.on(this._element,aw,s=>{s.key==="Escape"&&(this._config.keyboard?this.hide():T.trigger(this._element,kd))})}static jQueryInterface(s){return this.each(function(){const a=pn.getOrCreateInstance(this,s);if(typeof s=="string"){if(a[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);a[s](this)}})}}T.on(document,lw,'[data-bs-toggle="offcanvas"]',function(f){const s=K.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&f.preventDefault(),g(this))return;T.one(s,Ed,()=>{h(this)&&this.focus()});const a=K.findOne(Sd);a&&a!==s&&pn.getInstance(a).hide(),pn.getOrCreateInstance(s).toggle(this)}),T.on(window,nw,()=>{for(const f of K.find(Sd))pn.getOrCreateInstance(f).show()}),T.on(window,sw,()=>{for(const f of K.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(f).position!=="fixed"&&pn.getOrCreateInstance(f).hide()}),Dr(pn),v(pn);const Cd={"*":["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:[]},fw=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),dw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,pw=(f,s)=>{const a=f.nodeName.toLowerCase();return s.includes(a)?!fw.has(a)||!!dw.test(f.nodeValue):s.filter(p=>p instanceof RegExp).some(p=>p.test(a))},hw={allowList:Cd,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},mw={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},gw={entry:"(string|element|function|null)",selector:"(string|element)"};class vw extends ze{constructor(s){super(),this._config=this._getConfig(s)}static get Default(){return hw}static get DefaultType(){return mw}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(s=>this._resolvePossibleFunction(s)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(s){return this._checkContent(s),this._config.content={...this._config.content,...s},this}toHtml(){const s=document.createElement("div");s.innerHTML=this._maybeSanitize(this._config.template);for(const[k,E]of Object.entries(this._config.content))this._setContent(s,E,k);const a=s.children[0],p=this._resolvePossibleFunction(this._config.extraClass);return p&&a.classList.add(...p.split(" ")),a}_typeCheckConfig(s){super._typeCheckConfig(s),this._checkContent(s.content)}_checkContent(s){for(const[a,p]of Object.entries(s))super._typeCheckConfig({selector:a,entry:p},gw)}_setContent(s,a,p){const k=K.findOne(p,s);k&&((a=this._resolvePossibleFunction(a))?c(a)?this._putElementInTemplate(d(a),k):this._config.html?k.innerHTML=this._maybeSanitize(a):k.textContent=a:k.remove())}_maybeSanitize(s){return this._config.sanitize?function(a,p,k){if(!a.length)return a;if(k&&typeof k=="function")return k(a);const E=new window.DOMParser().parseFromString(a,"text/html"),j=[].concat(...E.body.querySelectorAll("*"));for(const L of j){const I=L.nodeName.toLowerCase();if(!Object.keys(p).includes(I)){L.remove();continue}const B=[].concat(...L.attributes),W=[].concat(p["*"]||[],p[I]||[]);for(const z of B)pw(z,W)||L.removeAttribute(z.nodeName)}return E.body.innerHTML}(s,this._config.allowList,this._config.sanitizeFn):s}_resolvePossibleFunction(s){return w(s,[void 0,this])}_putElementInTemplate(s,a){if(this._config.html)return a.innerHTML="",void a.append(s);a.textContent=s.textContent}}const yw=new Set(["sanitize","allowList","sanitizeFn"]),va="fade",us="show",ww=".tooltip-inner",bd=".modal",Pd="hide.bs.modal",Ui="hover",ya="focus",wa="click",_w={AUTO:"auto",TOP:"top",RIGHT:y()?"left":"right",BOTTOM:"bottom",LEFT:y()?"right":"left"},xw={allowList:Cd,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"},Sw={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 pr extends Ne{constructor(s,a){if(ed===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(s,a),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 xw}static get DefaultType(){return Sw}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),T.off(this._element.closest(bd),Pd,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 s=T.trigger(this._element,this.constructor.eventName("show")),a=(_(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(s.defaultPrevented||!a)return;this._disposePopper();const p=this._getTipElement();this._element.setAttribute("aria-describedby",p.getAttribute("id"));const{container:k}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(k.append(p),T.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(p),p.classList.add(us),"ontouchstart"in document.documentElement)for(const E of[].concat(...document.body.children))T.on(E,"mouseover",S);this._queueCallback(()=>{T.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!T.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(us),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))T.off(s,"mouseover",S);this._activeTrigger[wa]=!1,this._activeTrigger[ya]=!1,this._activeTrigger[Ui]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),T.trigger(this._element,this.constructor.eventName("hidden")))},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(s){const a=this._getTemplateFactory(s).toHtml();if(!a)return null;a.classList.remove(va,us),a.classList.add(`bs-${this.constructor.NAME}-auto`);const p=(k=>{do k+=Math.floor(1e6*Math.random());while(document.getElementById(k));return k})(this.constructor.NAME).toString();return a.setAttribute("id",p),this._isAnimated()&&a.classList.add(va),a}setContent(s){this._newContent=s,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(s){return this._templateFactory?this._templateFactory.changeContent(s):this._templateFactory=new vw({...this._config,content:s,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ww]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(s){return this.constructor.getOrCreateInstance(s.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(va)}_isShown(){return this.tip&&this.tip.classList.contains(us)}_createPopper(s){const a=w(this._config.placement,[this,s,this._element]),p=_w[a.toUpperCase()];return pa(this._element,s,this._getPopperConfig(p))}_getOffset(){const{offset:s}=this._config;return typeof s=="string"?s.split(",").map(a=>Number.parseInt(a,10)):typeof s=="function"?a=>s(a,this._element):s}_resolvePossibleFunction(s){return w(s,[this._element,this._element])}_getPopperConfig(s){const a={placement:s,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:p=>{this._getTipElement().setAttribute("data-popper-placement",p.state.placement)}}]};return{...a,...w(this._config.popperConfig,[void 0,a])}}_setListeners(){const s=this._config.trigger.split(" ");for(const a of s)if(a==="click")T.on(this._element,this.constructor.eventName("click"),this._config.selector,p=>{const k=this._initializeOnDelegatedTarget(p);k._activeTrigger[wa]=!(k._isShown()&&k._activeTrigger[wa]),k.toggle()});else if(a!=="manual"){const p=a===Ui?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),k=a===Ui?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");T.on(this._element,p,this._config.selector,E=>{const j=this._initializeOnDelegatedTarget(E);j._activeTrigger[E.type==="focusin"?ya:Ui]=!0,j._enter()}),T.on(this._element,k,this._config.selector,E=>{const j=this._initializeOnDelegatedTarget(E);j._activeTrigger[E.type==="focusout"?ya:Ui]=j._element.contains(E.relatedTarget),j._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},T.on(this._element.closest(bd),Pd,this._hideModalHandler)}_fixTitle(){const s=this._element.getAttribute("title");s&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",s),this._element.setAttribute("data-bs-original-title",s),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(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(s,a){clearTimeout(this._timeout),this._timeout=setTimeout(s,a)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(s){const a=Oe.getDataAttributes(this._element);for(const p of Object.keys(a))yw.has(p)&&delete a[p];return s={...a,...typeof s=="object"&&s?s:{}},s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s.container=s.container===!1?document.body:d(s.container),typeof s.delay=="number"&&(s.delay={show:s.delay,hide:s.delay}),typeof s.title=="number"&&(s.title=s.title.toString()),typeof s.content=="number"&&(s.content=s.content.toString()),s}_getDelegateConfig(){const s={};for(const[a,p]of Object.entries(this._config))this.constructor.Default[a]!==p&&(s[a]=p);return s.selector=!1,s.trigger="manual",s}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(s){return this.each(function(){const a=pr.getOrCreateInstance(this,s);if(typeof s=="string"){if(a[s]===void 0)throw new TypeError(`No method named "${s}"`);a[s]()}})}}v(pr);const kw=".popover-header",Ew=".popover-body",Cw={...pr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},bw={...pr.DefaultType,content:"(null|string|element|function)"};class cs extends pr{static get Default(){return Cw}static get DefaultType(){return bw}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[kw]:this._getTitle(),[Ew]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(s){return this.each(function(){const a=cs.getOrCreateInstance(this,s);if(typeof s=="string"){if(a[s]===void 0)throw new TypeError(`No method named "${s}"`);a[s]()}})}}v(cs);const _a=".bs.scrollspy",Pw=`activate${_a}`,Od=`click${_a}`,Ow=`load${_a}.data-api`,Jr="active",xa="[href]",jd=".nav-link",jw=`${jd}, .nav-item > ${jd}, .list-group-item`,Tw={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Nw={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wi extends Ne{constructor(s,a){super(s,a),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 Tw}static get DefaultType(){return Nw}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const s of this._observableSections.values())this._observer.observe(s)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(s){return s.target=d(s.target)||document.body,s.rootMargin=s.offset?`${s.offset}px 0px -30%`:s.rootMargin,typeof s.threshold=="string"&&(s.threshold=s.threshold.split(",").map(a=>Number.parseFloat(a))),s}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(T.off(this._config.target,Od),T.on(this._config.target,Od,xa,s=>{const a=this._observableSections.get(s.target.hash);if(a){s.preventDefault();const p=this._rootElement||window,k=a.offsetTop-this._element.offsetTop;if(p.scrollTo)return void p.scrollTo({top:k,behavior:"smooth"});p.scrollTop=k}}))}_getNewObserver(){const s={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(a=>this._observerCallback(a),s)}_observerCallback(s){const a=j=>this._targetLinks.get(`#${j.target.id}`),p=j=>{this._previousScrollData.visibleEntryTop=j.target.offsetTop,this._process(a(j))},k=(this._rootElement||document.documentElement).scrollTop,E=k>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=k;for(const j of s){if(!j.isIntersecting){this._activeTarget=null,this._clearActiveClass(a(j));continue}const L=j.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(E&&L){if(p(j),!k)return}else E||L||p(j)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const s=K.find(xa,this._config.target);for(const a of s){if(!a.hash||g(a))continue;const p=K.findOne(decodeURI(a.hash),this._element);h(p)&&(this._targetLinks.set(decodeURI(a.hash),a),this._observableSections.set(a.hash,p))}}_process(s){this._activeTarget!==s&&(this._clearActiveClass(this._config.target),this._activeTarget=s,s.classList.add(Jr),this._activateParents(s),T.trigger(this._element,Pw,{relatedTarget:s}))}_activateParents(s){if(s.classList.contains("dropdown-item"))K.findOne(".dropdown-toggle",s.closest(".dropdown")).classList.add(Jr);else for(const a of K.parents(s,".nav, .list-group"))for(const p of K.prev(a,jw))p.classList.add(Jr)}_clearActiveClass(s){s.classList.remove(Jr);const a=K.find(`${xa}.${Jr}`,s);for(const p of a)p.classList.remove(Jr)}static jQueryInterface(s){return this.each(function(){const a=Wi.getOrCreateInstance(this,s);if(typeof s=="string"){if(a[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);a[s]()}})}}T.on(window,Ow,()=>{for(const f of K.find('[data-bs-spy="scroll"]'))Wi.getOrCreateInstance(f)}),v(Wi);const hr=".bs.tab",Lw=`hide${hr}`,Aw=`hidden${hr}`,Dw=`show${hr}`,$w=`shown${hr}`,Rw=`click${hr}`,Iw=`keydown${hr}`,Mw=`load${hr}`,zw="ArrowLeft",Td="ArrowRight",Fw="ArrowUp",Nd="ArrowDown",Sa="Home",Ld="End",mr="active",Ad="fade",ka="show",Dd=".dropdown-toggle",Ea=`:not(${Dd})`,$d='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ca=`.nav-link${Ea}, .list-group-item${Ea}, [role="tab"]${Ea}, ${$d}`,Bw=`.${mr}[data-bs-toggle="tab"], .${mr}[data-bs-toggle="pill"], .${mr}[data-bs-toggle="list"]`;class gr extends Ne{constructor(s){super(s),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),T.on(this._element,Iw,a=>this._keydown(a)))}static get NAME(){return"tab"}show(){const s=this._element;if(this._elemIsActive(s))return;const a=this._getActiveElem(),p=a?T.trigger(a,Lw,{relatedTarget:s}):null;T.trigger(s,Dw,{relatedTarget:a}).defaultPrevented||p&&p.defaultPrevented||(this._deactivate(a,s),this._activate(s,a))}_activate(s,a){s&&(s.classList.add(mr),this._activate(K.getElementFromSelector(s)),this._queueCallback(()=>{s.getAttribute("role")==="tab"?(s.removeAttribute("tabindex"),s.setAttribute("aria-selected",!0),this._toggleDropDown(s,!0),T.trigger(s,$w,{relatedTarget:a})):s.classList.add(ka)},s,s.classList.contains(Ad)))}_deactivate(s,a){s&&(s.classList.remove(mr),s.blur(),this._deactivate(K.getElementFromSelector(s)),this._queueCallback(()=>{s.getAttribute("role")==="tab"?(s.setAttribute("aria-selected",!1),s.setAttribute("tabindex","-1"),this._toggleDropDown(s,!1),T.trigger(s,Aw,{relatedTarget:a})):s.classList.remove(ka)},s,s.classList.contains(Ad)))}_keydown(s){if(![zw,Td,Fw,Nd,Sa,Ld].includes(s.key))return;s.stopPropagation(),s.preventDefault();const a=this._getChildren().filter(k=>!g(k));let p;if([Sa,Ld].includes(s.key))p=a[s.key===Sa?0:a.length-1];else{const k=[Td,Nd].includes(s.key);p=N(a,s.target,k,!0)}p&&(p.focus({preventScroll:!0}),gr.getOrCreateInstance(p).show())}_getChildren(){return K.find(Ca,this._parent)}_getActiveElem(){return this._getChildren().find(s=>this._elemIsActive(s))||null}_setInitialAttributes(s,a){this._setAttributeIfNotExists(s,"role","tablist");for(const p of a)this._setInitialAttributesOnChild(p)}_setInitialAttributesOnChild(s){s=this._getInnerElement(s);const a=this._elemIsActive(s),p=this._getOuterElement(s);s.setAttribute("aria-selected",a),p!==s&&this._setAttributeIfNotExists(p,"role","presentation"),a||s.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(s,"role","tab"),this._setInitialAttributesOnTargetPanel(s)}_setInitialAttributesOnTargetPanel(s){const a=K.getElementFromSelector(s);a&&(this._setAttributeIfNotExists(a,"role","tabpanel"),s.id&&this._setAttributeIfNotExists(a,"aria-labelledby",`${s.id}`))}_toggleDropDown(s,a){const p=this._getOuterElement(s);if(!p.classList.contains("dropdown"))return;const k=(E,j)=>{const L=K.findOne(E,p);L&&L.classList.toggle(j,a)};k(Dd,mr),k(".dropdown-menu",ka),p.setAttribute("aria-expanded",a)}_setAttributeIfNotExists(s,a,p){s.hasAttribute(a)||s.setAttribute(a,p)}_elemIsActive(s){return s.classList.contains(mr)}_getInnerElement(s){return s.matches(Ca)?s:K.findOne(Ca,s)}_getOuterElement(s){return s.closest(".nav-item, .list-group-item")||s}static jQueryInterface(s){return this.each(function(){const a=gr.getOrCreateInstance(this);if(typeof s=="string"){if(a[s]===void 0||s.startsWith("_")||s==="constructor")throw new TypeError(`No method named "${s}"`);a[s]()}})}}T.on(document,Rw,$d,function(f){["A","AREA"].includes(this.tagName)&&f.preventDefault(),g(this)||gr.getOrCreateInstance(this).show()}),T.on(window,Mw,()=>{for(const f of K.find(Bw))gr.getOrCreateInstance(f)}),v(gr);const Tn=".bs.toast",Uw=`mouseover${Tn}`,Ww=`mouseout${Tn}`,Vw=`focusin${Tn}`,Hw=`focusout${Tn}`,Kw=`hide${Tn}`,Qw=`hidden${Tn}`,Yw=`show${Tn}`,Xw=`shown${Tn}`,Rd="hide",fs="show",ds="showing",Jw={animation:"boolean",autohide:"boolean",delay:"number"},Gw={animation:!0,autohide:!0,delay:5e3};class Vi extends Ne{constructor(s,a){super(s,a),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Gw}static get DefaultType(){return Jw}static get NAME(){return"toast"}show(){T.trigger(this._element,Yw).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Rd),C(this._element),this._element.classList.add(fs,ds),this._queueCallback(()=>{this._element.classList.remove(ds),T.trigger(this._element,Xw),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(T.trigger(this._element,Kw).defaultPrevented||(this._element.classList.add(ds),this._queueCallback(()=>{this._element.classList.add(Rd),this._element.classList.remove(ds,fs),T.trigger(this._element,Qw)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fs),super.dispose()}isShown(){return this._element.classList.contains(fs)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(s,a){switch(s.type){case"mouseover":case"mouseout":this._hasMouseInteraction=a;break;case"focusin":case"focusout":this._hasKeyboardInteraction=a}if(a)return void this._clearTimeout();const p=s.relatedTarget;this._element===p||this._element.contains(p)||this._maybeScheduleHide()}_setListeners(){T.on(this._element,Uw,s=>this._onInteraction(s,!0)),T.on(this._element,Ww,s=>this._onInteraction(s,!1)),T.on(this._element,Vw,s=>this._onInteraction(s,!0)),T.on(this._element,Hw,s=>this._onInteraction(s,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(s){return this.each(function(){const a=Vi.getOrCreateInstance(this,s);if(typeof s=="string"){if(a[s]===void 0)throw new TypeError(`No method named "${s}"`);a[s](this)}})}}return Dr(Vi),v(Vi),{Alert:or,Button:On,Carousel:zr,Collapse:Br,Dropdown:Ut,Modal:dr,Offcanvas:pn,Popover:cs,ScrollSpy:Wi,Tab:gr,Toast:Vi,Tooltip:pr}})})(FS);const BS="modulepreload",US=function(e){return"/"+e},dh={},Me=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.allSettled(n.map(c=>{if(c=US(c),c in dh)return;dh[c]=!0;const d=c.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${h}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":BS,d||(g.as="script"),g.crossOrigin="",g.href=c,u&&g.setAttribute("nonce",u),document.head.appendChild(g),d)return new Promise((_,S)=>{g.addEventListener("load",_),g.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(l){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l}return i.then(l=>{for(const u of l||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})},lv=x.createContext(null),ph="theme",hh="color",av="sidebarTheme",uv="sidebarBg";function WS(){const e=localStorage.getItem(av);return e==="light"||e==="dark"||e==="blue"||e==="green"?e:"light"}function VS(){const e=localStorage.getItem(uv);return e==="sidebarbgnone"||e==="sidebarbg1"||e==="sidebarbg2"||e==="sidebarbg3"||e==="sidebarbg4"?e:"sidebarbgnone"}function HS(e,t,n,r){const i=document.documentElement;i.setAttribute("data-theme",e),i.setAttribute("data-sidebar",n),i.setAttribute("data-color",t),i.setAttribute("data-sidebar-bg",r)}function KS({children:e}){const[t,n]=x.useState(()=>{const P=localStorage.getItem(ph);return P==="dark"||P==="light"?P:localStorage.getItem("darkMode")==="enabled"?"dark":"light"}),[r,i]=x.useState(()=>{const P=localStorage.getItem(hh);return P==="red"||P==="yellow"||P==="blue"||P==="green"?P:"red"}),[o,l]=x.useState(WS),[u,c]=x.useState(VS);x.useEffect(()=>{HS(t,r,o,u),localStorage.setItem(ph,t),localStorage.setItem(hh,r),localStorage.setItem(av,o),localStorage.setItem(uv,u),t==="dark"?localStorage.setItem("darkMode","enabled"):localStorage.removeItem("darkMode")},[t,r,o,u]);const d=x.useCallback(P=>n(P),[]),h=x.useCallback(P=>i(P),[]),g=x.useCallback(P=>l(P),[]),_=x.useCallback(P=>c(P),[]),S=x.useCallback(()=>{n(P=>P==="light"?"dark":"light")},[]),C=x.useCallback(()=>{n("light"),i("red"),l("light"),c("sidebarbgnone"),localStorage.removeItem("darkMode")},[]),O=x.useMemo(()=>({theme:t,accent:r,sidebarTheme:o,sidebarBg:u,setAccent:h,setSidebarTheme:g,setSidebarBg:_,toggleTheme:S,setTheme:d,resetTheme:C}),[t,r,o,u,h,g,_,S,d,C]);return m.jsx(lv.Provider,{value:O,children:e})}function cv(){const e=x.useContext(lv);if(!e)throw new Error("useTheme must be used within ThemeProvider");return e}var fv={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l{const[d,...h]=c;let g=n==null?void 0:n(d,...h);return o(d),g},[n])]}function JS(e){const t=x.useRef(null);return x.useEffect(()=>{t.current=e}),t.current}function GS(){const[,e]=x.useReducer(t=>t+1,0);return e}function qS(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e},[e]),t}function Xn(e){const t=qS(e);return x.useCallback(function(...n){return t.current&&t.current(...n)},[t])}function ZS(e,t,n,r=!1){const i=Xn(n);x.useEffect(()=>{const o=typeof e=="function"?e():e;return o.addEventListener(t,i,r),()=>o.removeEventListener(t,i,r)},[e])}const Vl=x.createContext(null);function e1(){return x.useState(null)}var gh=Object.prototype.hasOwnProperty;function vh(e,t,n){for(n of e.keys())if(ho(n,t))return n}function ho(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&ho(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(i=r,i&&typeof i=="object"&&(i=vh(t,i),!i)||!t.has(i))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(i=r[0],i&&typeof i=="object"&&(i=vh(t,i),!i)||!ho(r[1],t.get(i)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(gh.call(e,n)&&++r&&!gh.call(t,n)||!(n in t)||!ho(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function t1(){const e=x.useRef(!0),t=x.useRef(()=>e.current);return x.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function n1(e){const t=t1();return[e[0],x.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var dt="top",Mt="bottom",zt="right",pt="left",uf="auto",Wo=[dt,Mt,zt,pt],Ci="start",Ro="end",r1="clippingParents",hv="viewport",Zi="popper",i1="reference",yh=Wo.reduce(function(e,t){return e.concat([t+"-"+Ci,t+"-"+Ro])},[]),mv=[].concat(Wo,[uf]).reduce(function(e,t){return e.concat([t,t+"-"+Ci,t+"-"+Ro])},[]),o1="beforeRead",s1="read",l1="afterRead",a1="beforeMain",u1="main",c1="afterMain",f1="beforeWrite",d1="write",p1="afterWrite",h1=[o1,s1,l1,a1,u1,c1,f1,d1,p1];function ln(e){return e.split("-")[0]}function St(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Nr(e){var t=St(e).Element;return e instanceof t||e instanceof Element}function an(e){var t=St(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function cf(e){if(typeof ShadowRoot>"u")return!1;var t=St(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Cr=Math.max,Sl=Math.min,bi=Math.round;function lc(){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 gv(){return!/^((?!chrome|android).)*safari/i.test(lc())}function Pi(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&an(e)&&(i=e.offsetWidth>0&&bi(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&bi(r.height)/e.offsetHeight||1);var l=Nr(e)?St(e):window,u=l.visualViewport,c=!gv()&&n,d=(r.left+(c&&u?u.offsetLeft:0))/i,h=(r.top+(c&&u?u.offsetTop:0))/o,g=r.width/i,_=r.height/o;return{width:g,height:_,top:h,right:d+g,bottom:h+_,left:d,x:d,y:h}}function ff(e){var t=Pi(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 vv(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&cf(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function qn(e){return e?(e.nodeName||"").toLowerCase():null}function En(e){return St(e).getComputedStyle(e)}function m1(e){return["table","td","th"].indexOf(qn(e))>=0}function rr(e){return((Nr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Hl(e){return qn(e)==="html"?e:e.assignedSlot||e.parentNode||(cf(e)?e.host:null)||rr(e)}function wh(e){return!an(e)||En(e).position==="fixed"?null:e.offsetParent}function g1(e){var t=/firefox/i.test(lc()),n=/Trident/i.test(lc());if(n&&an(e)){var r=En(e);if(r.position==="fixed")return null}var i=Hl(e);for(cf(i)&&(i=i.host);an(i)&&["html","body"].indexOf(qn(i))<0;){var o=En(i);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 i;i=i.parentNode}return null}function Vo(e){for(var t=St(e),n=wh(e);n&&m1(n)&&En(n).position==="static";)n=wh(n);return n&&(qn(n)==="html"||qn(n)==="body"&&En(n).position==="static")?t:n||g1(e)||t}function df(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mo(e,t,n){return Cr(e,Sl(t,n))}function v1(e,t,n){var r=mo(e,t,n);return r>n?n:r}function yv(){return{top:0,right:0,bottom:0,left:0}}function wv(e){return Object.assign({},yv(),e)}function _v(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var y1=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,wv(typeof t!="number"?t:_v(t,Wo))};function w1(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,l=n.modifiersData.popperOffsets,u=ln(n.placement),c=df(u),d=[pt,zt].indexOf(u)>=0,h=d?"height":"width";if(!(!o||!l)){var g=y1(i.padding,n),_=ff(o),S=c==="y"?dt:pt,C=c==="y"?Mt:zt,O=n.rects.reference[h]+n.rects.reference[c]-l[c]-n.rects.popper[h],P=l[c]-n.rects.reference[c],y=Vo(o),v=y?c==="y"?y.clientHeight||0:y.clientWidth||0:0,w=O/2-P/2,b=g[S],N=v-_[h]-g[C],A=v/2-_[h]/2+w,D=mo(b,A,N),$=c;n.modifiersData[r]=(t={},t[$]=D,t.centerOffset=D-A,t)}}function _1(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||vv(t.elements.popper,i)&&(t.elements.arrow=i))}const x1={name:"arrow",enabled:!0,phase:"main",fn:w1,effect:_1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Oi(e){return e.split("-")[1]}var S1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function k1(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:bi(n*i)/i||0,y:bi(r*i)/i||0}}function _h(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,g=e.isFixed,_=l.x,S=_===void 0?0:_,C=l.y,O=C===void 0?0:C,P=typeof h=="function"?h({x:S,y:O}):{x:S,y:O};S=P.x,O=P.y;var y=l.hasOwnProperty("x"),v=l.hasOwnProperty("y"),w=pt,b=dt,N=window;if(d){var A=Vo(n),D="clientHeight",$="clientWidth";if(A===St(n)&&(A=rr(n),En(A).position!=="static"&&u==="absolute"&&(D="scrollHeight",$="scrollWidth")),A=A,i===dt||(i===pt||i===zt)&&o===Ro){b=Mt;var H=g&&A===N&&N.visualViewport?N.visualViewport.height:A[D];O-=H-r.height,O*=c?1:-1}if(i===pt||(i===dt||i===Mt)&&o===Ro){w=zt;var F=g&&A===N&&N.visualViewport?N.visualViewport.width:A[$];S-=F-r.width,S*=c?1:-1}}var Y=Object.assign({position:u},d&&S1),ee=h===!0?k1({x:S,y:O},St(n)):{x:S,y:O};if(S=ee.x,O=ee.y,c){var ne;return Object.assign({},Y,(ne={},ne[b]=v?"0":"",ne[w]=y?"0":"",ne.transform=(N.devicePixelRatio||1)<=1?"translate("+S+"px, "+O+"px)":"translate3d("+S+"px, "+O+"px, 0)",ne))}return Object.assign({},Y,(t={},t[b]=v?O+"px":"",t[w]=y?S+"px":"",t.transform="",t))}function E1(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,l=o===void 0?!0:o,u=n.roundOffsets,c=u===void 0?!0:u,d={placement:ln(t.placement),variation:Oi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,_h(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,_h(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 C1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:E1,data:{}};var Ds={passive:!0};function b1(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,l=r.resize,u=l===void 0?!0:l,c=St(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(h){h.addEventListener("scroll",n.update,Ds)}),u&&c.addEventListener("resize",n.update,Ds),function(){o&&d.forEach(function(h){h.removeEventListener("scroll",n.update,Ds)}),u&&c.removeEventListener("resize",n.update,Ds)}}const P1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:b1,data:{}};var O1={left:"right",right:"left",bottom:"top",top:"bottom"};function Xs(e){return e.replace(/left|right|bottom|top/g,function(t){return O1[t]})}var j1={start:"end",end:"start"};function xh(e){return e.replace(/start|end/g,function(t){return j1[t]})}function pf(e){var t=St(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function hf(e){return Pi(rr(e)).left+pf(e).scrollLeft}function T1(e,t){var n=St(e),r=rr(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,u=0,c=0;if(i){o=i.width,l=i.height;var d=gv();(d||!d&&t==="fixed")&&(u=i.offsetLeft,c=i.offsetTop)}return{width:o,height:l,x:u+hf(e),y:c}}function N1(e){var t,n=rr(e),r=pf(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Cr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=Cr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+hf(e),c=-r.scrollTop;return En(i||n).direction==="rtl"&&(u+=Cr(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:l,x:u,y:c}}function mf(e){var t=En(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function xv(e){return["html","body","#document"].indexOf(qn(e))>=0?e.ownerDocument.body:an(e)&&mf(e)?e:xv(Hl(e))}function go(e,t){var n;t===void 0&&(t=[]);var r=xv(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=St(r),l=i?[o].concat(o.visualViewport||[],mf(r)?r:[]):r,u=t.concat(l);return i?u:u.concat(go(Hl(l)))}function ac(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function L1(e,t){var n=Pi(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 Sh(e,t,n){return t===hv?ac(T1(e,n)):Nr(t)?L1(t,n):ac(N1(rr(e)))}function A1(e){var t=go(Hl(e)),n=["absolute","fixed"].indexOf(En(e).position)>=0,r=n&&an(e)?Vo(e):e;return Nr(r)?t.filter(function(i){return Nr(i)&&vv(i,r)&&qn(i)!=="body"}):[]}function D1(e,t,n,r){var i=t==="clippingParents"?A1(e):[].concat(t),o=[].concat(i,[n]),l=o[0],u=o.reduce(function(c,d){var h=Sh(e,d,r);return c.top=Cr(h.top,c.top),c.right=Sl(h.right,c.right),c.bottom=Sl(h.bottom,c.bottom),c.left=Cr(h.left,c.left),c},Sh(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Sv(e){var t=e.reference,n=e.element,r=e.placement,i=r?ln(r):null,o=r?Oi(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(i){case dt:c={x:l,y:t.y-n.height};break;case Mt:c={x:l,y:t.y+t.height};break;case zt:c={x:t.x+t.width,y:u};break;case pt:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var d=i?df(i):null;if(d!=null){var h=d==="y"?"height":"width";switch(o){case Ci:c[d]=c[d]-(t[h]/2-n[h]/2);break;case Ro:c[d]=c[d]+(t[h]/2-n[h]/2);break}}return c}function Io(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,l=o===void 0?e.strategy:o,u=n.boundary,c=u===void 0?r1:u,d=n.rootBoundary,h=d===void 0?hv:d,g=n.elementContext,_=g===void 0?Zi:g,S=n.altBoundary,C=S===void 0?!1:S,O=n.padding,P=O===void 0?0:O,y=wv(typeof P!="number"?P:_v(P,Wo)),v=_===Zi?i1:Zi,w=e.rects.popper,b=e.elements[C?v:_],N=D1(Nr(b)?b:b.contextElement||rr(e.elements.popper),c,h,l),A=Pi(e.elements.reference),D=Sv({reference:A,element:w,placement:i}),$=ac(Object.assign({},w,D)),H=_===Zi?$:A,F={top:N.top-H.top+y.top,bottom:H.bottom-N.bottom+y.bottom,left:N.left-H.left+y.left,right:H.right-N.right+y.right},Y=e.modifiersData.offset;if(_===Zi&&Y){var ee=Y[i];Object.keys(F).forEach(function(ne){var xe=[zt,Mt].indexOf(ne)>=0?1:-1,De=[dt,Mt].indexOf(ne)>=0?"y":"x";F[ne]+=ee[De]*xe})}return F}function $1(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,l=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?mv:c,h=Oi(r),g=h?u?yh:yh.filter(function(C){return Oi(C)===h}):Wo,_=g.filter(function(C){return d.indexOf(C)>=0});_.length===0&&(_=g);var S=_.reduce(function(C,O){return C[O]=Io(e,{placement:O,boundary:i,rootBoundary:o,padding:l})[ln(O)],C},{});return Object.keys(S).sort(function(C,O){return S[C]-S[O]})}function R1(e){if(ln(e)===uf)return[];var t=Xs(e);return[xh(e),t,xh(t)]}function I1(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,l=n.altAxis,u=l===void 0?!0:l,c=n.fallbackPlacements,d=n.padding,h=n.boundary,g=n.rootBoundary,_=n.altBoundary,S=n.flipVariations,C=S===void 0?!0:S,O=n.allowedAutoPlacements,P=t.options.placement,y=ln(P),v=y===P,w=c||(v||!C?[Xs(P)]:R1(P)),b=[P].concat(w).reduce(function(Ue,Oe){return Ue.concat(ln(Oe)===uf?$1(t,{placement:Oe,boundary:h,rootBoundary:g,padding:d,flipVariations:C,allowedAutoPlacements:O}):Oe)},[]),N=t.rects.reference,A=t.rects.popper,D=new Map,$=!0,H=b[0],F=0;F=0,De=xe?"width":"height",ke=Io(t,{placement:Y,boundary:h,rootBoundary:g,altBoundary:_,padding:d}),$e=xe?ne?zt:pt:ne?Mt:dt;N[De]>A[De]&&($e=Xs($e));var M=Xs($e),X=[];if(o&&X.push(ke[ee]<=0),u&&X.push(ke[$e]<=0,ke[M]<=0),X.every(function(Ue){return Ue})){H=Y,$=!1;break}D.set(Y,X)}if($)for(var V=C?3:1,T=function(Oe){var ze=b.find(function(Ne){var Ft=D.get(Ne);if(Ft)return Ft.slice(0,Oe).every(function(K){return K})});if(ze)return H=ze,"break"},de=V;de>0;de--){var Ct=T(de);if(Ct==="break")break}t.placement!==H&&(t.modifiersData[r]._skip=!0,t.placement=H,t.reset=!0)}}const M1={name:"flip",enabled:!0,phase:"main",fn:I1,requiresIfExists:["offset"],data:{_skip:!1}};function kh(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 Eh(e){return[dt,zt,Mt,pt].some(function(t){return e[t]>=0})}function z1(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,l=Io(t,{elementContext:"reference"}),u=Io(t,{altBoundary:!0}),c=kh(l,r),d=kh(u,i,o),h=Eh(c),g=Eh(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":g})}const F1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:z1};function B1(e,t,n){var r=ln(e),i=[pt,dt].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=o[0],u=o[1];return l=l||0,u=(u||0)*i,[pt,zt].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function U1(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,l=mv.reduce(function(h,g){return h[g]=B1(g,t.rects,o),h},{}),u=l[t.placement],c=u.x,d=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=l}const W1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:U1};function V1(e){var t=e.state,n=e.name;t.modifiersData[n]=Sv({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const H1={name:"popperOffsets",enabled:!0,phase:"read",fn:V1,data:{}};function K1(e){return e==="x"?"y":"x"}function Q1(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,l=n.altAxis,u=l===void 0?!1:l,c=n.boundary,d=n.rootBoundary,h=n.altBoundary,g=n.padding,_=n.tether,S=_===void 0?!0:_,C=n.tetherOffset,O=C===void 0?0:C,P=Io(t,{boundary:c,rootBoundary:d,padding:g,altBoundary:h}),y=ln(t.placement),v=Oi(t.placement),w=!v,b=df(y),N=K1(b),A=t.modifiersData.popperOffsets,D=t.rects.reference,$=t.rects.popper,H=typeof O=="function"?O(Object.assign({},t.rects,{placement:t.placement})):O,F=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),Y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ee={x:0,y:0};if(A){if(o){var ne,xe=b==="y"?dt:pt,De=b==="y"?Mt:zt,ke=b==="y"?"height":"width",$e=A[b],M=$e+P[xe],X=$e-P[De],V=S?-$[ke]/2:0,T=v===Ci?D[ke]:$[ke],de=v===Ci?-$[ke]:-D[ke],Ct=t.elements.arrow,Ue=S&&Ct?ff(Ct):{width:0,height:0},Oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yv(),ze=Oe[xe],Ne=Oe[De],Ft=mo(0,D[ke],Ue[ke]),K=w?D[ke]/2-V-Ft-ze-F.mainAxis:T-Ft-ze-F.mainAxis,Dr=w?-D[ke]/2+V+Ft+Ne+F.mainAxis:de+Ft+Ne+F.mainAxis,$r=t.elements.arrow&&Vo(t.elements.arrow),Kl=$r?b==="y"?$r.clientTop||0:$r.clientLeft||0:0,Ko=(ne=Y==null?void 0:Y[b])!=null?ne:0,or=$e+K-Ko-Kl,Qo=$e+Dr-Ko,On=mo(S?Sl(M,or):M,$e,S?Cr(X,Qo):X);A[b]=On,ee[b]=On-$e}if(u){var un,Ql=b==="x"?dt:pt,Yl=b==="x"?Mt:zt,cn=A[N],Rr=N==="y"?"height":"width",Yo=cn+P[Ql],Xo=cn-P[Yl],$i=[dt,pt].indexOf(y)!==-1,sr=(un=Y==null?void 0:Y[N])!=null?un:0,Bt=$i?Yo:cn-D[Rr]-$[Rr]-sr+F.altAxis,Ri=$i?cn+D[Rr]+$[Rr]-sr-F.altAxis:Xo,Jo=S&&$i?v1(Bt,cn,Ri):mo(S?Bt:Yo,cn,S?Ri:Xo);A[N]=Jo,ee[N]=Jo-cn}t.modifiersData[r]=ee}}const Y1={name:"preventOverflow",enabled:!0,phase:"main",fn:Q1,requiresIfExists:["offset"]};function X1(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function J1(e){return e===St(e)||!an(e)?pf(e):X1(e)}function G1(e){var t=e.getBoundingClientRect(),n=bi(t.width)/e.offsetWidth||1,r=bi(t.height)/e.offsetHeight||1;return n!==1||r!==1}function q1(e,t,n){n===void 0&&(n=!1);var r=an(t),i=an(t)&&G1(t),o=rr(t),l=Pi(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((qn(t)!=="body"||mf(o))&&(u=J1(t)),an(t)?(c=Pi(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=hf(o))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function Z1(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&i(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function ek(e){var t=Z1(e);return h1.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function tk(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function nk(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ch={placement:"bottom",modifiers:[],strategy:"absolute"};function bh(){for(var e=arguments.length,t=new Array(e),n=0;n=0)continue;n[r]=e[r]}return n}const lk={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},ak={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const r=(t.getAttribute("aria-describedby")||"").split(",").filter(i=>i.trim()!==n.id);r.length?t.setAttribute("aria-describedby",r.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,i=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();if(n.id&&i==="tooltip"&&"setAttribute"in r){const o=r.getAttribute("aria-describedby");if(o&&o.split(",").indexOf(n.id)!==-1)return;r.setAttribute("aria-describedby",o?`${o},${n.id}`:n.id)}}},uk=[];function ck(e,t,n={}){let{enabled:r=!0,placement:i="bottom",strategy:o="absolute",modifiers:l=uk}=n,u=sk(n,ok);const c=x.useRef(l),d=x.useRef(),h=x.useCallback(()=>{var P;(P=d.current)==null||P.update()},[]),g=x.useCallback(()=>{var P;(P=d.current)==null||P.forceUpdate()},[]),[_,S]=n1(x.useState({placement:i,update:h,forceUpdate:g,attributes:{},styles:{popper:{},arrow:{}}})),C=x.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:P})=>{const y={},v={};Object.keys(P.elements).forEach(w=>{y[w]=P.styles[w],v[w]=P.attributes[w]}),S({state:P,styles:y,attributes:v,update:h,forceUpdate:g,placement:P.placement})}}),[h,g,S]),O=x.useMemo(()=>(ho(c.current,l)||(c.current=l),c.current),[l]);return x.useEffect(()=>{!d.current||!r||d.current.setOptions({placement:i,strategy:o,modifiers:[...O,C,lk]})},[o,i,C,r,O]),x.useEffect(()=>{if(!(!r||e==null||t==null))return d.current=ik(e,t,Object.assign({},u,{placement:i,strategy:o,modifiers:[...O,ak,C]})),()=>{d.current!=null&&(d.current.destroy(),d.current=void 0,S(P=>Object.assign({},P,{attributes:{},styles:{popper:{}}})))}},[r,e,t]),_}function Ph(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function fk(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}function $s(e,t,n,r){return pv(e,t,n,r),function(){fk(e,t,n,r)}}function dk(e){return e&&e.ownerDocument||document}var pk=function(){},hk=pk;const mk=kl(hk),Oh=()=>{};function gk(e){return e.button===0}function vk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const ru=e=>e&&("current"in e?e.current:e),jh={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function yk(e,t=Oh,{disabled:n,clickTrigger:r="click"}={}){const i=x.useRef(!1),o=x.useRef(!1),l=x.useCallback(d=>{const h=ru(e);mk(!!h,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!h||vk(d)||!gk(d)||!!Ph(h,d.target)||o.current,o.current=!1},[e]),u=Xn(d=>{const h=ru(e);h&&Ph(h,d.target)?o.current=!0:o.current=!1}),c=Xn(d=>{i.current||t(d)});x.useEffect(()=>{var d,h;if(n||e==null)return;const g=dk(ru(e)),_=g.defaultView||window;let S=(d=_.event)!=null?d:(h=_.parent)==null?void 0:h.event,C=null;jh[r]&&(C=$s(g,jh[r],u,!0));const O=$s(g,r,l,!0),P=$s(g,r,v=>{if(v===S){S=void 0;return}c(v)});let y=[];return"ontouchstart"in g.documentElement&&(y=[].slice.call(g.body.children).map(v=>$s(v,"mousemove",Oh))),()=>{C==null||C(),O(),P(),y.forEach(v=>v())}},[e,n,r,l,u,c])}function wk(e){const t={};return Array.isArray(e)?(e==null||e.forEach(n=>{t[n.name]=n}),t):e||t}function _k(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function xk({enabled:e,enableEvents:t,placement:n,flip:r,offset:i,fixed:o,containerPadding:l,arrowElement:u,popperConfig:c={}}){var d,h,g,_,S;const C=wk(c.modifiers);return Object.assign({},c,{placement:n,enabled:e,strategy:o?"fixed":c.strategy,modifiers:_k(Object.assign({},C,{eventListeners:{enabled:t,options:(d=C.eventListeners)==null?void 0:d.options},preventOverflow:Object.assign({},C.preventOverflow,{options:l?Object.assign({padding:l},(h=C.preventOverflow)==null?void 0:h.options):(g=C.preventOverflow)==null?void 0:g.options}),offset:{options:Object.assign({offset:i},(_=C.offset)==null?void 0:_.options)},arrow:Object.assign({},C.arrow,{enabled:!!u,options:Object.assign({},(S=C.arrow)==null?void 0:S.options,{element:u})}),flip:Object.assign({enabled:!!r},C.flip)}))})}const Sk=["children","usePopper"];function kk(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const Ek=()=>{};function kv(e={}){const t=x.useContext(Vl),[n,r]=e1(),i=x.useRef(!1),{flip:o,offset:l,rootCloseEvent:u,fixed:c=!1,placement:d,popperConfig:h={},enableEventListeners:g=!0,usePopper:_=!!t}=e,S=(t==null?void 0:t.show)==null?!!e.show:t.show;S&&!i.current&&(i.current=!0);const C=A=>{t==null||t.toggle(!1,A)},{placement:O,setMenu:P,menuElement:y,toggleElement:v}=t||{},w=ck(v,y,xk({placement:d||O||"bottom-start",enabled:_,enableEvents:g??S,offset:l,flip:o,fixed:c,arrowElement:n,popperConfig:h})),b=Object.assign({ref:P||Ek,"aria-labelledby":v==null?void 0:v.id},w.attributes.popper,{style:w.styles.popper}),N={show:S,placement:O,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:_?w:null,arrowProps:_?Object.assign({ref:r},w.attributes.arrow,{style:w.styles.arrow}):{}};return yk(y,C,{clickTrigger:u,disabled:!S}),[b,N]}function Ev(e){let{children:t,usePopper:n=!0}=e,r=kk(e,Sk);const[i,o]=kv(Object.assign({},r,{usePopper:n}));return m.jsx(m.Fragment,{children:t(i,o)})}Ev.displayName="DropdownMenu";const Cv={prefix:String(Math.round(Math.random()*1e10)),current:0},bv=wn.createContext(Cv),Ck=wn.createContext(!1);let iu=new WeakMap;function bk(e=!1){let t=x.useContext(bv),n=x.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=wn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(o){let l=iu.get(o);l==null?iu.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==l.state&&(t.current=l.id,iu.delete(o))}n.current=++t.current}return n.current}function Pk(e){let t=x.useContext(bv),n=bk(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function Ok(e){let t=wn.useId(),[n]=x.useState(Ak()),r=n?"react-aria":`react-aria${Cv.prefix}`;return e||`${r}-${t}`}const jk=typeof wn.useId=="function"?Ok:Pk;function Tk(){return!1}function Nk(){return!0}function Lk(e){return()=>{}}function Ak(){return typeof wn.useSyncExternalStore=="function"?wn.useSyncExternalStore(Lk,Tk,Nk):x.useContext(Ck)}const Pv=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},Th=()=>{};function Ov(){const e=jk(),{show:t=!1,toggle:n=Th,setToggle:r,menuElement:i}=x.useContext(Vl)||{},o=x.useCallback(u=>{n(!t,u)},[t,n]),l={id:e,ref:r||Th,onClick:o,"aria-expanded":!!t};return i&&Pv(i)&&(l["aria-haspopup"]=!0),[l,{show:t,toggle:n}]}function jv({children:e}){const[t,n]=Ov();return m.jsx(m.Fragment,{children:e(t,n)})}jv.displayName="DropdownToggle";const uc=x.createContext(null),Nh=(e,t=null)=>e!=null?String(e):t||null,Tv=x.createContext(null);Tv.displayName="NavContext";const Dk=["as","disabled"];function $k(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Rk(e){return!e||e.trim()==="#"}function gf({tagName:e,disabled:t,href:n,target:r,rel:i,role:o,onClick:l,tabIndex:u=0,type:c}){e||(n!=null||r!=null||i!=null?e="a":e="button");const d={tagName:e};if(e==="button")return[{type:c||"button",disabled:t},d];const h=_=>{if((t||e==="a"&&Rk(n))&&_.preventDefault(),t){_.stopPropagation();return}l==null||l(_)},g=_=>{_.key===" "&&(_.preventDefault(),h(_))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:o??"button",disabled:void 0,tabIndex:t?void 0:u,href:n,target:e==="a"?r:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:h,onKeyDown:g},d]}const Nv=x.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=$k(e,Dk);const[o,{tagName:l}]=gf(Object.assign({tagName:n,disabled:r},i));return m.jsx(l,Object.assign({},i,o,{ref:t}))});Nv.displayName="Button";const Ik="data-rr-ui-";function Lv(e){return`${Ik}${e}`}const Mk=["eventKey","disabled","onClick","active","as"];function zk(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Av({key:e,href:t,active:n,disabled:r,onClick:i}){const o=x.useContext(uc),l=x.useContext(Tv),{activeKey:u}=l||{},c=Nh(e,t),d=n==null&&e!=null?Nh(u)===c:n;return[{onClick:Xn(g=>{r||(i==null||i(g),o&&!g.isPropagationStopped()&&o(c,g))}),"aria-disabled":r||void 0,"aria-selected":d,[Lv("dropdown-item")]:""},{isActive:d}]}const Dv=x.forwardRef((e,t)=>{let{eventKey:n,disabled:r,onClick:i,active:o,as:l=Nv}=e,u=zk(e,Mk);const[c]=Av({key:n,href:u.href,disabled:r,onClick:i,active:o});return m.jsx(l,Object.assign({},u,{ref:t},c))});Dv.displayName="DropdownItem";const $v=x.createContext(dv?window:void 0);$v.Provider;function Fk(){return x.useContext($v)}function Lh(){const e=GS(),t=x.useRef(null),n=x.useCallback(r=>{t.current=r,e()},[e]);return[t,n]}function Ho({defaultShow:e,show:t,onSelect:n,onToggle:r,itemSelector:i=`* [${Lv("dropdown-item")}]`,focusFirstItemOnShow:o,placement:l="bottom-start",children:u}){const c=Fk(),[d,h]=XS(t,e,r),[g,_]=Lh(),S=g.current,[C,O]=Lh(),P=C.current,y=JS(d),v=x.useRef(null),w=x.useRef(!1),b=x.useContext(uc),N=x.useCallback((Y,ee,ne=ee==null?void 0:ee.type)=>{h(Y,{originalEvent:ee,source:ne})},[h]),A=Xn((Y,ee)=>{n==null||n(Y,ee),N(!1,ee,"select"),ee.isPropagationStopped()||b==null||b(Y,ee)}),D=x.useMemo(()=>({toggle:N,placement:l,show:d,menuElement:S,toggleElement:P,setMenu:_,setToggle:O}),[N,l,d,S,P,_,O]);S&&y&&!d&&(w.current=S.contains(S.ownerDocument.activeElement));const $=Xn(()=>{P&&P.focus&&P.focus()}),H=Xn(()=>{const Y=v.current;let ee=o;if(ee==null&&(ee=g.current&&Pv(g.current)?"keyboard":!1),ee===!1||ee==="keyboard"&&!/^key.+$/.test(Y))return;const ne=mh(g.current,i)[0];ne&&ne.focus&&ne.focus()});x.useEffect(()=>{d?H():w.current&&(w.current=!1,$())},[d,w,$,H]),x.useEffect(()=>{v.current=null});const F=(Y,ee)=>{if(!g.current)return null;const ne=mh(g.current,i);let xe=ne.indexOf(Y)+ee;return xe=Math.max(0,Math.min(xe,ne.length)),ne[xe]};return ZS(x.useCallback(()=>c.document,[c]),"keydown",Y=>{var ee,ne;const{key:xe}=Y,De=Y.target,ke=(ee=g.current)==null?void 0:ee.contains(De),$e=(ne=C.current)==null?void 0:ne.contains(De);if(/input|textarea/i.test(De.tagName)&&(xe===" "||xe!=="Escape"&&ke||xe==="Escape"&&De.type==="search")||!ke&&!$e||xe==="Tab"&&(!g.current||!d))return;v.current=Y.type;const X={originalEvent:Y,source:Y.type};switch(xe){case"ArrowUp":{const V=F(De,-1);V&&V.focus&&V.focus(),Y.preventDefault();return}case"ArrowDown":if(Y.preventDefault(),!d)h(!0,X);else{const V=F(De,1);V&&V.focus&&V.focus()}return;case"Tab":pv(De.ownerDocument,"keyup",V=>{var T;(V.key==="Tab"&&!V.target||!((T=g.current)!=null&&T.contains(V.target)))&&h(!1,X)},{once:!0});break;case"Escape":xe==="Escape"&&(Y.preventDefault(),Y.stopPropagation()),h(!1,X);break}}),m.jsx(uc.Provider,{value:A,children:m.jsx(Vl.Provider,{value:D,children:u})})}Ho.displayName="Dropdown";Ho.Menu=Ev;Ho.Toggle=jv;Ho.Item=Dv;function cc(){return cc=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?h-1:0),_=1;_{t.current=e},[e]),t}function Qk(e){const t=Kk(e);return x.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const vf=x.createContext({});vf.displayName="DropdownContext";const Yk=["xxl","xl","lg","md","sm","xs"],Xk="xs",yf=x.createContext({prefixes:{},breakpoints:Yk,minBreakpoint:Xk}),{Consumer:DE,Provider:$E}=yf;function ir(e,t){const{prefixes:n}=x.useContext(yf);return e||n[t]||t}function Jk(){const{dir:e}=x.useContext(yf);return e==="rtl"}const Rv=x.forwardRef(({className:e,bsPrefix:t,as:n="hr",role:r="separator",...i},o)=>(t=ir(t,"dropdown-divider"),m.jsx(n,{ref:o,className:nr(e,t),role:r,...i})));Rv.displayName="DropdownDivider";const Iv=x.forwardRef(({className:e,bsPrefix:t,as:n="div",role:r="heading",...i},o)=>(t=ir(t,"dropdown-header"),m.jsx(n,{ref:o,className:nr(e,t),role:r,...i})));Iv.displayName="DropdownHeader";const Gk=["onKeyDown"];function qk(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Zk(e){return!e||e.trim()==="#"}const Mv=x.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=qk(e,Gk);const[i]=gf(Object.assign({tagName:"a"},r)),o=Xn(l=>{i.onKeyDown(l),n==null||n(l)});return Zk(r.href)||r.role==="button"?m.jsx("a",Object.assign({ref:t},r,i,{onKeyDown:o})):m.jsx("a",Object.assign({ref:t},r,{onKeyDown:n}))});Mv.displayName="Anchor";const zv=x.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:r=!1,onClick:i,active:o,as:l=Mv,...u},c)=>{const d=ir(e,"dropdown-item"),[h,g]=Av({key:n,href:u.href,disabled:r,onClick:i,active:o});return m.jsx(l,{...u,...h,ref:c,className:nr(t,d,g.isActive&&"active",r&&"disabled")})});zv.displayName="DropdownItem";const Fv=x.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=ir(t,"dropdown-item-text"),m.jsx(n,{ref:i,className:nr(e,t),...r})));Fv.displayName="DropdownItemText";const eE=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",tE=typeof document<"u",nE=tE||eE?x.useLayoutEffect:x.useEffect,Dh=e=>!e||typeof e=="function"?e:t=>{e.current=t};function rE(e,t){const n=Dh(e),r=Dh(t);return i=>{n&&n(i),r&&r(i)}}function Bv(e,t){return x.useMemo(()=>rE(e,t),[e,t])}const wf=x.createContext(null);wf.displayName="InputGroupContext";const Uv=x.createContext(null);Uv.displayName="NavbarContext";function Wv(e,t){return e}function Vv(e,t,n){const r=n?"top-end":"top-start",i=n?"top-start":"top-end",o=n?"bottom-end":"bottom-start",l=n?"bottom-start":"bottom-end",u=n?"right-start":"left-start",c=n?"right-end":"left-end",d=n?"left-start":"right-start",h=n?"left-end":"right-end";let g=e?l:o;return t==="up"?g=e?i:r:t==="end"?g=e?h:d:t==="start"?g=e?c:u:t==="down-centered"?g="bottom":t==="up-centered"&&(g="top"),g}const Hv=x.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:r,flip:i=!0,show:o,renderOnMount:l,as:u="div",popperConfig:c,variant:d,...h},g)=>{let _=!1;const S=x.useContext(Uv),C=ir(e,"dropdown-menu"),{align:O,drop:P,isRTL:y}=x.useContext(vf);n=n||O;const v=x.useContext(wf),w=[];if(n)if(typeof n=="object"){const Y=Object.keys(n);if(Y.length){const ee=Y[0],ne=n[ee];_=ne==="start",w.push(`${C}-${ee}-${ne}`)}}else n==="end"&&(_=!0);const b=Vv(_,P,y),[N,{hasShown:A,popper:D,show:$,toggle:H}]=kv({flip:i,rootCloseEvent:r,show:o,usePopper:!S&&w.length===0,offset:[0,2],popperConfig:c,placement:b});if(N.ref=Bv(Wv(g),N.ref),nE(()=>{$&&(D==null||D.update())},[$]),!A&&!l&&!v)return null;typeof u!="string"&&(N.show=$,N.close=()=>H==null?void 0:H(!1),N.align=n);let F=h.style;return D!=null&&D.placement&&(F={...h.style,...N.style},h["x-placement"]=D.placement),m.jsx(u,{...h,...N,style:F,...(w.length||S)&&{"data-bs-popper":"static"},className:nr(t,C,$&&"show",_&&`${C}-end`,d&&`${C}-${d}`,...w)})});Hv.displayName="DropdownMenu";const Kv=x.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:r,active:i=!1,disabled:o=!1,className:l,...u},c)=>{const d=ir(t,"btn"),[h,{tagName:g}]=gf({tagName:e,disabled:o,...u}),_=g;return m.jsx(_,{...h,...u,ref:c,disabled:o,className:nr(l,d,i&&"active",n&&`${d}-${n}`,r&&`${d}-${r}`,u.href&&o&&"disabled")})});Kv.displayName="Button";const Qv=x.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:r,as:i=Kv,...o},l)=>{const u=ir(e,"dropdown-toggle"),c=x.useContext(Vl);r!==void 0&&(o.bsPrefix=r);const[d]=Ov();return d.ref=Bv(d.ref,Wv(l)),m.jsx(i,{className:nr(n,u,t&&`${u}-split`,(c==null?void 0:c.show)&&"show"),...d,...o})});Qv.displayName="DropdownToggle";const Yv=x.forwardRef((e,t)=>{const{bsPrefix:n,drop:r="down",show:i,className:o,align:l="start",onSelect:u,onToggle:c,focusFirstItemOnShow:d,as:h="div",navbar:g,autoClose:_=!0,...S}=Hk(e,{show:"onToggle"}),C=x.useContext(wf),O=ir(n,"dropdown"),P=Jk(),y=D=>_===!1?D==="click":_==="inside"?D!=="rootClose":_==="outside"?D!=="select":!0,v=Qk((D,$)=>{var H;!((H=$.originalEvent)==null||(H=H.target)==null)&&H.classList.contains("dropdown-toggle")&&$.source==="mousedown"||($.originalEvent.currentTarget===document&&($.source!=="keydown"||$.originalEvent.key==="Escape")&&($.source="rootClose"),y($.source)&&(c==null||c(D,$)))}),b=Vv(l==="end",r,P),N=x.useMemo(()=>({align:l,drop:r,isRTL:P}),[l,r,P]),A={down:O,"down-centered":`${O}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return m.jsx(vf.Provider,{value:N,children:m.jsx(Ho,{placement:b,show:i,onSelect:u,onToggle:v,focusFirstItemOnShow:d,itemSelector:`.${O}-item:not(.disabled):not(:disabled)`,children:C?S.children:m.jsx(h,{...S,ref:t,className:nr(o,i&&"show",A[r])})})})});Yv.displayName="Dropdown";const Nt=Object.assign(Yv,{Toggle:Qv,Menu:Hv,Item:zv,ItemText:Fv,Divider:Rv,Header:Iv}),iE=[{title:"Home",href:"/",id:"menuHome",sort:1,iconClass:"ti ti-layout-dashboard"},{title:"Website",href:"/site",id:"menuSite",sort:2,iconClass:"ti ti-world"},{title:"FTP",href:"/ftp",id:"menuFtp",sort:3,iconClass:"ti ti-folder-share"},{title:"Databases",href:"/database",id:"menuDatabase",sort:4,iconClass:"ti ti-database"},{title:"Docker",href:"/docker",id:"menuDocker",sort:5,iconClass:"ti ti-brand-docker"},{title:"Monitor",href:"/control",id:"menuControl",sort:6,iconClass:"ti ti-heart-rate-monitor"},{title:"Security",href:"/firewall",id:"menuFirewall",sort:7,iconClass:"ti ti-shield-lock"},{title:"Files",href:"/files",id:"menuFiles",sort:8,iconClass:"ti ti-folders"},{title:"Node",href:"/node",id:"menuNode",sort:9,iconClass:"ti ti-brand-nodejs"},{title:"Logs",href:"/logs",id:"menuLogs",sort:10,iconClass:"ti ti-file-text"},{title:"Domains",href:"/ssl_domain",id:"menuDomains",sort:11,iconClass:"ti ti-world-www"},{title:"Terminal",href:"/xterm",id:"menuXterm",sort:12,iconClass:"ti ti-terminal-2"},{title:"Cron",href:"/crontab",id:"menuCrontab",sort:13,iconClass:"ti ti-clock"},{title:"App Store",href:"/soft",id:"menuSoft",sort:14,iconClass:"ti ti-package"},{title:"Services",href:"/services",id:"menuServices",sort:15,iconClass:"ti ti-server"},{title:"Plugins",href:"/plugins",id:"menuPlugins",sort:16,iconClass:"ti ti-puzzle"},{title:"Backup Plans",href:"/backup-plans",id:"menuBackupPlans",sort:17,iconClass:"ti ti-archive"},{title:"Users",href:"/users",id:"menuUsers",sort:18,iconClass:"ti ti-users"},{title:"Settings",href:"/config",id:"menuConfig",sort:19,iconClass:"ti ti-settings"},{title:"Log out",href:"/logout",id:"menuLogout",sort:20,iconClass:"ti ti-logout"}],Rs=e=>`/theme/img/theme/theme-${e}.svg`;function oE(){const{theme:e,accent:t,sidebarTheme:n,sidebarBg:r,setTheme:i,setAccent:o,setSidebarTheme:l,setSidebarBg:u,resetTheme:c}=cv(),[d,h]=x.useState(!1),g=x.useId(),_=x.useCallback(()=>h(!1),[]);return x.useEffect(()=>{if(!d)return;const S=C=>{C.key==="Escape"&&_()};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[d,_]),m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"sidebar-contact",children:m.jsx("button",{type:"button",className:"toggle-theme border-0 bg-transparent p-0","aria-expanded":d,"aria-controls":"yakpanel-theme-panel","aria-label":d?"Close theme settings":"Open theme customizer",onClick:()=>h(S=>!S),children:m.jsx("i",{className:`fa fa-cog ${d?"fa-spin":""}`,"aria-hidden":!0})})}),m.jsxs("div",{id:"yakpanel-theme-panel",className:`sidebar-themesettings ${d?"open":""}`,role:"dialog","aria-modal":"true","aria-labelledby":g,children:[m.jsxs("div",{className:"themesettings-header",children:[m.jsx("h4",{id:g,children:"Theme Customizer"}),m.jsx("button",{type:"button",className:"btn btn-link p-0 text-body","aria-label":"Close",onClick:_,children:m.jsx("i",{className:"ti ti-x","aria-hidden":!0})})]}),m.jsxs("div",{className:"themesettings-inner",children:[m.jsxs("div",{className:"themesettings-content",children:[m.jsx("h6",{children:"Layout"}),m.jsxs("div",{className:"row g-2",children:[m.jsx("div",{className:"col-6",children:m.jsx(ou,{name:"yak-theme-layout",value:"light",checked:e==="light",onChange:()=>i("light"),id:"yak-lightTheme",label:"Light",imgSrc:Rs("01")})}),m.jsx("div",{className:"col-6",children:m.jsx(ou,{name:"yak-theme-layout",value:"dark",checked:e==="dark",onChange:()=>i("dark"),id:"yak-darkTheme",label:"Dark",imgSrc:Rs("02")})})]})]}),m.jsxs("div",{className:"themesettings-content",children:[m.jsx("h6",{children:"Colors"}),m.jsx("div",{className:"theme-colorsset",children:m.jsx("ul",{className:"mb-0",children:[{v:"red",id:"yak-redColor"},{v:"yellow",id:"yak-yellowColor"},{v:"blue",id:"yak-blueColor"},{v:"green",id:"yak-greenColor"}].map(({v:S,id:C})=>m.jsx("li",{children:m.jsxs("div",{className:"input-themeselects",children:[m.jsx("input",{type:"radio",name:"yak-accent",id:C,value:S,checked:t===S,onChange:()=>o(S)}),m.jsx("label",{htmlFor:C,className:`${S}-clr`,title:S,children:m.jsx("span",{className:"visually-hidden",children:S})})]})},S))})})]}),m.jsxs("div",{className:"themesettings-content",children:[m.jsx("h6",{children:"Sidebar"}),m.jsx("div",{className:"row g-2",children:[{v:"light",n:"03",label:"Light"},{v:"dark",n:"04",label:"Dark"},{v:"blue",n:"05",label:"Blue"},{v:"green",n:"06",label:"Green"}].map(({v:S,n:C,label:O})=>m.jsx("div",{className:"col-6",children:m.jsx(ou,{name:"yak-sidebar-style",value:S,checked:n===S,onChange:()=>l(S),id:`yak-sidebar-${S}`,label:O,imgSrc:Rs(C)})},S))})]}),m.jsxs("div",{className:"themesettings-content m-0 border-0",children:[m.jsx("h6",{children:"Sidebar background"}),m.jsxs("div",{className:"row g-2",children:[m.jsx("div",{className:"col-6",children:m.jsxs("div",{className:"input-themeselect",children:[m.jsx("input",{type:"radio",name:"yak-sidebarbg",id:"yak-sidebarBgNone",value:"sidebarbgnone",checked:r==="sidebarbgnone",onChange:()=>u("sidebarbgnone")}),m.jsx("label",{htmlFor:"yak-sidebarBgNone",className:"d-flex align-items-center justify-content-center bg-body-secondary rounded",style:{minHeight:72},children:m.jsx("span",{className:"small text-muted",children:"Default"})})]})}),[{v:"sidebarbg1",n:"07"},{v:"sidebarbg2",n:"08"},{v:"sidebarbg3",n:"09"},{v:"sidebarbg4",n:"10"}].map(({v:S,n:C})=>m.jsx("div",{className:"col-6",children:m.jsxs("div",{className:"input-themeselect",children:[m.jsx("input",{type:"radio",name:"yak-sidebarbg",id:`yak-${S}`,value:S,checked:r===S,onChange:()=>u(S)}),m.jsxs("label",{htmlFor:`yak-${S}`,children:[m.jsx("img",{src:Rs(C),alt:""}),m.jsxs("span",{className:"w-100",children:[m.jsxs("span",{children:["Bg ",C.slice(-1)]}),m.jsx("span",{className:"checkboxs-theme"})]})]})]})},S))]})]})]}),m.jsx("div",{className:"themesettings-footer",children:m.jsxs("ul",{className:"mb-0",children:[m.jsx("li",{children:m.jsx("button",{type:"button",className:"btn btn-cancel close-theme btn-light border w-100",onClick:_,children:"Cancel"})}),m.jsx("li",{children:m.jsx("button",{type:"button",className:"btn btn-reset btn-primary w-100",onClick:()=>{c()},children:"Reset"})})]})})]})]})}function ou({name:e,value:t,checked:n,onChange:r,id:i,label:o,imgSrc:l}){return m.jsxs("div",{className:"input-themeselect",children:[m.jsx("input",{type:"radio",name:e,id:i,value:t,checked:n,onChange:r}),m.jsxs("label",{htmlFor:i,children:[m.jsx("img",{src:l,alt:""}),m.jsxs("span",{className:"w-100",children:[m.jsx("span",{children:o}),m.jsx("span",{className:"checkboxs-theme"})]})]})]})}const $h="yakpanel_mini_sidebar";function sE(){const e=Ul(),{theme:t,toggleTheme:n}=cv(),[r,i]=x.useState(!1),[o,l]=x.useState(()=>localStorage.getItem($h)==="1");x.useEffect(()=>{localStorage.setItem($h,o?"1":"0")},[o]),x.useEffect(()=>{o?document.body.classList.add("mini-sidebar"):document.body.classList.remove("mini-sidebar")},[o]);const u=()=>i(!1);return m.jsxs("div",{className:`main-wrapper ${r?"slide-nav":""}`,children:[m.jsxs("div",{className:"header",children:[m.jsxs("div",{className:`header-left ${o?"":"active"}`,children:[m.jsxs(As,{to:"/",className:"logo logo-normal",onClick:u,children:[m.jsx("img",{src:"/theme/img/logo.png",alt:"YakPanel"}),m.jsx("img",{src:"/theme/img/white-logo.png",className:"white-logo",alt:""})]}),m.jsx(As,{to:"/",className:"logo logo-small",onClick:u,children:m.jsx("img",{src:"/theme/img/logo-small.png",alt:""})}),m.jsx("button",{type:"button",id:"toggle_btn",className:o?"":"active","aria-label":o?"Expand sidebar":"Collapse sidebar",onClick:()=>l(!o),children:m.jsx("i",{className:"ti ti-arrow-bar-to-left"})})]}),m.jsx("button",{type:"button",id:"mobile_btn",className:"mobile_btn d-md-none btn btn-link p-0 border-0","aria-label":"Open menu",onClick:()=>i(!r),children:m.jsxs("span",{className:"bar-icon",children:[m.jsx("span",{}),m.jsx("span",{}),m.jsx("span",{})]})}),m.jsx("div",{className:"header-user",children:m.jsxs("ul",{className:"nav user-menu",children:[m.jsx("li",{className:"nav-item nav-search-inputs me-auto d-none d-md-block",children:m.jsx("div",{className:"top-nav-search",children:m.jsx("form",{className:"dropdown",onSubmit:c=>c.preventDefault(),children:m.jsxs("div",{className:"searchinputs",children:[m.jsx("input",{type:"search",className:"form-control",placeholder:"Search","aria-label":"Search"}),m.jsx("div",{className:"search-addon",children:m.jsx("button",{type:"submit",className:"btn btn-link p-0","aria-label":"Submit search",children:m.jsx("i",{className:"ti ti-command"})})})]})})})}),m.jsx("li",{className:"nav-item",children:m.jsxs("button",{type:"button",className:"btn btn-link nav-link dark-mode-toggle p-0",id:"dark-mode-toggle","aria-label":"Toggle theme",onClick:n,children:[m.jsx("i",{className:`ti ti-sun light-mode ${t==="light"?"active":""}`}),m.jsx("i",{className:`ti ti-moon dark-mode ${t==="dark"?"active":""}`})]})}),m.jsx("li",{className:"nav-item dropdown has-arrow main-drop",children:m.jsxs(Nt,{align:"end",children:[m.jsxs(Nt.Toggle,{as:"a",className:"btn btn-link nav-link user-link p-0 d-flex align-items-center text-decoration-none",children:[m.jsx("span",{className:"user-img",children:m.jsx("img",{src:"/theme/img/profiles/avatar-14.jpg",alt:"",className:"rounded-circle",width:32,height:32})}),m.jsxs("span",{className:"user-content d-none d-md-inline text-start ms-2",children:[m.jsx("span",{className:"user-name d-block fw-medium",children:"Admin"}),m.jsx("span",{className:"user-role text-muted small",children:"Panel"})]})]}),m.jsxs(Nt.Menu,{className:"dropdown-menu-end",children:[m.jsxs(Nt.Item,{onClick:()=>e("/users"),children:[m.jsx("i",{className:"ti ti-users me-2"}),"Users"]}),m.jsxs(Nt.Item,{onClick:()=>e("/config"),children:[m.jsx("i",{className:"ti ti-settings me-2"}),"Settings"]}),m.jsx(Nt.Divider,{}),m.jsxs(Nt.Item,{onClick:()=>e("/logout"),children:[m.jsx("i",{className:"ti ti-logout me-2"}),"Log out"]})]})]})})]})}),m.jsx("div",{className:"dropdown mobile-user-menu d-md-none",children:m.jsxs(Nt,{children:[m.jsx(Nt.Toggle,{as:"a",className:"nav-link dropdown-toggle",children:m.jsx("i",{className:"ti ti-dots-vertical"})}),m.jsxs(Nt.Menu,{children:[m.jsxs(Nt.Item,{onClick:()=>{e("/"),u()},children:[m.jsx("i",{className:"ti ti-layout-dashboard me-2"}),"Dashboard"]}),m.jsxs(Nt.Item,{onClick:()=>e("/logout"),children:[m.jsx("i",{className:"ti ti-logout me-2"}),"Log out"]})]})]})})]}),m.jsx("div",{className:"sidebar",id:"sidebar",children:m.jsx("div",{className:"sidebar-inner slimscroll",children:m.jsxs("div",{id:"sidebar-menu",className:"sidebar-menu",children:[m.jsx("ul",{children:m.jsx("li",{className:"clinicdropdown",children:m.jsxs(As,{to:"/users",onClick:u,children:[m.jsx("img",{src:"/theme/img/profiles/avatar-14.jpg",className:"img-fluid rounded-circle",alt:"",width:40,height:40}),m.jsxs("div",{className:"user-names",children:[m.jsx("h5",{children:"Admin"}),m.jsx("h6",{children:"YakPanel"})]})]})})}),m.jsx("ul",{children:m.jsxs("li",{children:[m.jsx("h6",{className:"submenu-hdr",children:"Main"}),m.jsx("ul",{children:iE.filter(c=>c.id!=="menuLogout").map(c=>m.jsx("li",{children:m.jsxs(As,{to:c.href,onClick:u,className:({isActive:d})=>d?"active":void 0,children:[m.jsx("i",{className:c.iconClass}),m.jsx("span",{children:c.title})]})},c.id))})]})}),m.jsx("ul",{children:m.jsx("li",{children:m.jsxs("button",{type:"button",className:"btn btn-link text-start w-100 text-decoration-none text-body py-2 border-0",onClick:()=>e("/logout"),children:[m.jsx("i",{className:"ti ti-logout me-2"}),"Log out"]})})})]})})}),m.jsx("div",{className:"page-wrapper",children:m.jsx("div",{className:"content",children:m.jsx(ES,{})})}),r?m.jsx("button",{type:"button",className:"position-fixed top-0 start-0 w-100 h-100 bg-dark bg-opacity-25 border-0 p-0 d-md-none",style:{zIndex:1040},"aria-label":"Close menu",onClick:u}):null,m.jsx(oE,{})]})}const Xv="/api/v1";function lE(e){if(typeof e=="string")return e;if(Array.isArray(e))return e.map(t=>t&&typeof t=="object"&&"msg"in t?String(t.msg):JSON.stringify(t)).join("; ")}async function Q(e,t={}){const n=localStorage.getItem("token"),r={"Content-Type":"application/json",...t.headers};n&&(r.Authorization=`Bearer ${n}`);const i=await fetch(`${Xv}${e}`,{...t,headers:r});if(i.status===401)throw localStorage.removeItem("token"),window.location.href="/login",new Error("Unauthorized");if(!i.ok){const o=await i.json().catch(()=>({}));throw new Error(o.detail||o.message||`HTTP ${i.status}`)}return i.json()}async function aE(e,t){const n=new URLSearchParams;n.set("username",e),n.set("password",t);const r=await fetch(`${Xv}/auth/login`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.toString()});if(!r.ok){const o=await r.json().catch(()=>null),u=(o?lE(o.detail):void 0)||(o&&typeof o.message=="string"?o.message:void 0)||`Login failed (${r.status})`;throw new Error(u)}const i=await r.json();return localStorage.setItem("token",i.access_token),i}async function RE(e){return Q("/site/create",{method:"POST",body:JSON.stringify(e)})}async function IE(e){return Q(`/site/${e}`)}async function ME(e,t){return Q(`/site/${e}`,{method:"PUT",body:JSON.stringify(t)})}async function zE(e){return Q(`/site/${e}/redirects`)}async function FE(e,t,n,r=301){return Q(`/site/${e}/redirects`,{method:"POST",body:JSON.stringify({source:t,target:n,code:r})})}async function BE(e,t,n="main"){return Q(`/site/${e}/git/clone`,{method:"POST",body:JSON.stringify({url:t,branch:n})})}async function UE(e){return Q(`/site/${e}/git/pull`,{method:"POST"})}async function WE(e,t){return Q(`/site/${e}/redirects/${t}`,{method:"DELETE"})}async function VE(e,t){return Q(`/site/${e}/status`,{method:"POST",body:JSON.stringify({status:t?1:0})})}async function HE(){return Q("/firewall/apply",{method:"POST"})}async function KE(e){return Q(`/site/${e}`,{method:"DELETE"})}async function QE(e){return Q(`/site/${e}/backup`,{method:"POST"})}async function YE(e){return Q(`/site/${e}/backups`)}async function XE(e,t){return Q(`/site/${e}/restore`,{method:"POST",body:JSON.stringify({filename:t})})}async function JE(e,t){const n=localStorage.getItem("token"),r=await fetch(`/api/v1/site/${e}/backups/download?file=${encodeURIComponent(t)}`,{headers:n?{Authorization:`Bearer ${n}`}:{}});if(!r.ok)throw new Error("Download failed");const i=await r.blob(),o=URL.createObjectURL(i),l=document.createElement("a");l.href=o,l.download=t,l.click(),URL.revokeObjectURL(o)}async function GE(e){return Q(`/files/list?path=${encodeURIComponent(e)}`)}async function qE(e){return Q(`/files/dir-size?path=${encodeURIComponent(e)}`)}async function ZE(e,t,n=200){return Q(`/files/search?q=${encodeURIComponent(e)}&path=${encodeURIComponent(t)}&max_results=${n}`)}async function eC(e,t,n=!1){return Q("/files/chmod",{method:"POST",body:JSON.stringify({file_path:e,mode:t,recursive:n})})}async function tC(e,t){return Q("/files/touch",{method:"POST",body:JSON.stringify({path:e,name:t})})}async function nC(e,t,n,r){return Q("/files/copy",{method:"POST",body:JSON.stringify({path:e,name:t,dest_path:n,dest_name:null})})}async function rC(e,t,n,r){return Q("/files/move",{method:"POST",body:JSON.stringify({path:e,name:t,dest_path:n,dest_name:null})})}async function iC(e,t,n){return Q("/files/compress",{method:"POST",body:JSON.stringify({path:e,names:t,archive_name:n})})}async function oC(e,t){const n=new FormData;n.append("path",e),n.append("file",t);const r=localStorage.getItem("token"),i=await fetch("/api/v1/files/upload",{method:"POST",headers:r?{Authorization:`Bearer ${r}`}:{},body:n});if(!i.ok){const o=await i.json().catch(()=>({}));throw new Error(o.detail||"Upload failed")}return i.json()}async function sC(e){return Q(`/files/read?path=${encodeURIComponent(e)}`)}async function lC(e,t){return Q("/files/write",{method:"POST",body:JSON.stringify({path:e,content:t})})}async function aC(e,t){return Q("/files/mkdir",{method:"POST",body:JSON.stringify({path:e,name:t})})}async function uC(e,t,n){return Q("/files/rename",{method:"POST",body:JSON.stringify({path:e,old_name:t,new_name:n})})}async function cC(e,t,n){return Q("/files/delete",{method:"POST",body:JSON.stringify({path:e,name:t,is_dir:n})})}async function fC(e){const t=localStorage.getItem("token"),n=await fetch(`/api/v1/files/download?path=${encodeURIComponent(e)}`,{headers:t?{Authorization:`Bearer ${t}`}:{}});if(!n.ok)throw new Error("Download failed");const r=await n.blob(),i=URL.createObjectURL(r),o=document.createElement("a");o.href=i,o.download=e.split("/").pop()||"download",o.click(),URL.revokeObjectURL(i)}async function dC(e){return Q(`/logs/list?path=${encodeURIComponent(e)}`)}async function pC(e,t=1e3){return Q(`/logs/read?path=${encodeURIComponent(e)}&tail=${t}`)}async function hC(e,t){return Q("/node/add",{method:"POST",body:JSON.stringify({script:e,name:t||""})})}async function mC(){return Q("/docker/containers")}async function gC(){return Q("/docker/images")}async function vC(e){return Q(`/docker/pull?image=${encodeURIComponent(e)}`,{method:"POST"})}async function yC(e,t,n,r){return Q("/docker/run",{method:"POST",body:JSON.stringify({image:e,name:t||"",ports:n||"",cmd:""})})}async function wC(e){return Q(`/database/${e}/backup`,{method:"POST"})}async function _C(e){return Q(`/database/${e}/backups`)}async function xC(e,t){return Q(`/database/${e}/restore`,{method:"POST",body:JSON.stringify({filename:t})})}async function SC(e,t){const n=localStorage.getItem("token"),r=await fetch(`/api/v1/database/${e}/backups/download?file=${encodeURIComponent(t)}`,{headers:n?{Authorization:`Bearer ${n}`}:{}});if(!r.ok)throw new Error("Download failed");const i=await r.blob(),o=URL.createObjectURL(i),l=document.createElement("a");l.href=o,l.download=t,l.click(),URL.revokeObjectURL(o)}async function kC(){return Q("/config/test-email",{method:"POST"})}async function EC(){return Q("/user/list")}async function CC(e){return Q("/user/create",{method:"POST",body:JSON.stringify(e)})}async function bC(e){return Q(`/user/${e}`,{method:"DELETE"})}async function PC(e){return Q(`/user/${e}/toggle-active`,{method:"PUT"})}async function OC(e,t){return Q("/auth/change-password",{method:"POST",body:JSON.stringify({old_password:e,new_password:t})})}async function jC(e,t){return Q(`/ftp/${e}/password`,{method:"PUT",body:JSON.stringify({password:t})})}async function TC(e,t){return Q(`/database/${e}/password`,{method:"PUT",body:JSON.stringify({password:t})})}async function NC(){return Q("/dashboard/stats")}async function LC(){return Q("/crontab/apply",{method:"POST"})}async function AC(e=50){return Q(`/monitor/processes?limit=${e}`)}async function DC(e){return Q("/plugin/add-from-url",{method:"POST",body:JSON.stringify({url:e})})}async function $C(e){return Q(`/plugin/${encodeURIComponent(e)}`,{method:"DELETE"})}async function RC(){return Q("/monitor/network")}async function IC(){return Q("/backup/plans")}async function MC(e){return Q("/backup/plans",{method:"POST",body:JSON.stringify(e)})}async function zC(e,t){return Q(`/backup/plans/${e}`,{method:"PUT",body:JSON.stringify(t)})}async function FC(e){return Q(`/backup/plans/${e}`,{method:"DELETE"})}async function BC(){return Q("/backup/run-scheduled",{method:"POST"})}function uE(){const[e,t]=x.useState(""),[n,r]=x.useState(""),[i,o]=x.useState(""),[l,u]=x.useState(!1),c=Ul();async function d(h){h.preventDefault(),o(""),u(!0);try{await aE(e,n),c("/")}catch(g){o(g instanceof Error?g.message:"Login failed")}finally{u(!1)}}return m.jsx("div",{className:"account-content position-relative min-vh-100 d-flex align-items-center justify-content-center p-4",children:m.jsx("div",{className:"card shadow-lg border-0",style:{maxWidth:420,width:"100%"},children:m.jsxs("div",{className:"card-body p-4 p-md-5",children:[m.jsxs("div",{className:"text-center mb-4",children:[m.jsx("img",{src:"/theme/img/logo.png",alt:"YakPanel",className:"mb-3",height:40}),m.jsx("h4",{className:"fw-bold",children:"YakPanel"}),m.jsx("p",{className:"text-muted small mb-0",children:"Sign in to continue"})]}),m.jsxs("form",{onSubmit:d,children:[i?m.jsx("div",{className:"alert alert-danger",role:"alert",children:i}):null,m.jsxs("div",{className:"mb-3",children:[m.jsx("label",{className:"form-label",children:"Username"}),m.jsx("input",{type:"text",value:e,onChange:h=>t(h.target.value),className:"form-control",required:!0,autoComplete:"username"})]}),m.jsxs("div",{className:"mb-3",children:[m.jsx("label",{className:"form-label",children:"Password"}),m.jsx("input",{type:"password",value:n,onChange:h=>r(h.target.value),className:"form-control",required:!0,autoComplete:"current-password"})]}),m.jsx("button",{type:"submit",disabled:l,className:"btn btn-primary w-100 py-2",children:l?m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status","aria-hidden":!0}),"Signing in…"]}):"Login"})]}),m.jsx("p",{className:"text-center text-muted small mt-3 mb-0",children:"Default: admin / admin"}),m.jsx("p",{className:"text-center small mt-2 mb-0",children:m.jsx(sv,{to:"/install",children:"Remote SSH install (optional)"})})]})})})}function su({className:e=""}){return m.jsx("div",{className:`placeholder-glow ${e}`.trim(),children:m.jsx("span",{className:"placeholder col-12 rounded",style:{height:"1rem"}})})}function lu(){return m.jsx("div",{className:"card",children:m.jsxs("div",{className:"card-body",children:[m.jsx(su,{className:"mb-2"}),m.jsx(su,{className:"mb-2"}),m.jsx(su,{className:"w-75"})]})})}const cE=x.lazy(()=>Me(()=>import("./DashboardPage-CukNUmp0.js"),__vite__mapDeps([0,1,2,3])).then(e=>({default:e.DashboardPage}))),fE=x.lazy(()=>Me(()=>import("./SitePage-CeCv6Zaa.js"),__vite__mapDeps([4,5,1,6,7,8,3])).then(e=>({default:e.SitePage}))),dE=x.lazy(()=>Me(()=>import("./FilesPage-DLgTKzsa.js"),__vite__mapDeps([9,5,1,6,7,8,3])).then(e=>({default:e.FilesPage}))),pE=x.lazy(()=>Me(()=>import("./FtpPage-DG8coQcY.js"),__vite__mapDeps([10,5,1,6,7,8,3])).then(e=>({default:e.FtpPage}))),hE=x.lazy(()=>Me(()=>import("./DatabasePage-sZfqfvMQ.js"),__vite__mapDeps([11,5,1,6,7,8,3])).then(e=>({default:e.DatabasePage}))),mE=x.lazy(()=>Me(()=>import("./TerminalPage-CXXB09nH.js"),__vite__mapDeps([12,3,13])).then(e=>({default:e.TerminalPage}))),gE=x.lazy(()=>Me(()=>import("./MonitorPage-CgJf2F74.js"),__vite__mapDeps([14,1,7,3])).then(e=>({default:e.MonitorPage}))),vE=x.lazy(()=>Me(()=>import("./CrontabPage-BfaMKQc8.js"),__vite__mapDeps([15,5,1,6,7,8,3])).then(e=>({default:e.CrontabPage}))),yE=x.lazy(()=>Me(()=>import("./ConfigPage-eLTvRUp2.js"),__vite__mapDeps([16,1,6,2,3])).then(e=>({default:e.ConfigPage}))),wE=x.lazy(()=>Me(()=>import("./LogsPage-B1uIfI5z.js"),__vite__mapDeps([17,1,6,3])).then(e=>({default:e.LogsPage}))),_E=x.lazy(()=>Me(()=>import("./FirewallPage-Bu-mOiN9.js"),__vite__mapDeps([18,5,1,6,7,8,3])).then(e=>({default:e.FirewallPage}))),xE=x.lazy(()=>Me(()=>import("./DomainsPage-DVTACiDJ.js"),__vite__mapDeps([19,5,1,6,3])).then(e=>({default:e.DomainsPage}))),SE=x.lazy(()=>Me(()=>import("./DockerPage-D1AIK8Rv.js"),__vite__mapDeps([20,5,1,6,7,8,3])).then(e=>({default:e.DockerPage}))),kE=x.lazy(()=>Me(()=>import("./NodePage-BQzvbSat.js"),__vite__mapDeps([21,5,1,6,7,8,3])).then(e=>({default:e.NodePage}))),EE=x.lazy(()=>Me(()=>import("./SoftPage-B7PtFv7I.js"),__vite__mapDeps([22,1,6,3])).then(e=>({default:e.SoftPage}))),CE=x.lazy(()=>Me(()=>import("./ServicesPage-DNZuAdmh.js"),__vite__mapDeps([23,1,6,7,3])).then(e=>({default:e.ServicesPage}))),bE=x.lazy(()=>Me(()=>import("./PluginsPage-C4H8wPuq.js"),__vite__mapDeps([24,5,1,6,3])).then(e=>({default:e.PluginsPage}))),PE=x.lazy(()=>Me(()=>import("./BackupPlansPage-CgzFMegr.js"),__vite__mapDeps([25,5,1,6,7,8,3])).then(e=>({default:e.BackupPlansPage}))),OE=x.lazy(()=>Me(()=>import("./UsersPage-DqvygXkC.js"),__vite__mapDeps([26,5,1,6,7,3])).then(e=>({default:e.UsersPage}))),jE=x.lazy(()=>Me(()=>import("./RemoteInstallPage-C4gVyakl.js"),__vite__mapDeps([27,1,6])).then(e=>({default:e.RemoteInstallPage})));function Re(){return m.jsxs("div",{className:"row g-3",children:[m.jsx("div",{className:"col-md-4",children:m.jsx(lu,{})}),m.jsx("div",{className:"col-md-4",children:m.jsx(lu,{})}),m.jsx("div",{className:"col-md-4",children:m.jsx(lu,{})})]})}function TE({children:e}){return localStorage.getItem("token")?m.jsx(m.Fragment,{children:e}):m.jsx(iv,{to:"/login",replace:!0})}function NE(){return m.jsx(KS,{children:m.jsxs(bS,{children:[m.jsx(we,{path:"/login",element:m.jsx(uE,{})}),m.jsx(we,{path:"/install",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(jE,{})})}),m.jsxs(we,{path:"/",element:m.jsx(TE,{children:m.jsx(sE,{})}),children:[m.jsx(we,{index:!0,element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(cE,{})})}),m.jsx(we,{path:"site",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(fE,{})})}),m.jsx(we,{path:"ftp",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(pE,{})})}),m.jsx(we,{path:"database",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(hE,{})})}),m.jsx(we,{path:"docker",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(SE,{})})}),m.jsx(we,{path:"control",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(gE,{})})}),m.jsx(we,{path:"firewall",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(_E,{})})}),m.jsx(we,{path:"files",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(dE,{})})}),m.jsx(we,{path:"node",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(kE,{})})}),m.jsx(we,{path:"logs",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(wE,{})})}),m.jsx(we,{path:"ssl_domain",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(xE,{})})}),m.jsx(we,{path:"xterm",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(mE,{})})}),m.jsx(we,{path:"crontab",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(vE,{})})}),m.jsx(we,{path:"soft",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(EE,{})})}),m.jsx(we,{path:"config",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(yE,{})})}),m.jsx(we,{path:"services",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(CE,{})})}),m.jsx(we,{path:"plugins",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(bE,{})})}),m.jsx(we,{path:"backup-plans",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(PE,{})})}),m.jsx(we,{path:"users",element:m.jsx(x.Suspense,{fallback:m.jsx(Re,{}),children:m.jsx(OE,{})})})]}),m.jsx(we,{path:"/logout",element:m.jsx(LE,{})}),m.jsx(we,{path:"*",element:m.jsx(iv,{to:"/",replace:!0})})]})})}function LE(){return localStorage.removeItem("token"),window.location.href="/login",null}au.createRoot(document.getElementById("root")).render(m.jsx(wn.StrictMode,{children:m.jsx(DS,{children:m.jsx(NE,{})})}));export{DC as $,tC as A,eC as B,iC as C,Nt as D,lC as E,qE as F,uC as G,sC as H,jC as I,_C as J,wC as K,SC as L,xC as M,TC as N,AC as O,RC as P,LC as Q,kC as R,OC as S,pC as T,dC as U,HE as V,mC as W,gC as X,vC as Y,yC as Z,hC as _,Q as a,$C as a0,IC as a1,BC as a2,FC as a3,zC as a4,MC as a5,EC as a6,PC as a7,bC as a8,CC as a9,kl as aa,dk as ab,wn as ac,AE as ad,Bk as ae,$s as af,Bv as ag,nr as ah,dv as ai,Lv as aj,Fk as ak,Xn as al,t1 as am,JS as an,Ph as ao,mh as ap,ir as aq,Qk as ar,Jk as as,fk as at,pv as au,Di as av,sv as aw,IE as b,RE as c,YE as d,KE as e,BE as f,NC as g,UE as h,FE as i,m as j,WE as k,zE as l,QE as m,JE as n,XE as o,GE as p,oC as q,x as r,VE as s,fC as t,ME as u,nC as v,rC as w,cC as x,ZE as y,aC as z};