function mg(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 l of i)if(l.type==="childList")for(const a of l.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerpolicy&&(l.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?l.credentials="include":i.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();var gg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $s={},Id={exports:{}},at={},U={exports:{}},J={};/** * @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 ji=Symbol.for("react.element"),yg=Symbol.for("react.portal"),_g=Symbol.for("react.fragment"),wg=Symbol.for("react.strict_mode"),kg=Symbol.for("react.profiler"),Sg=Symbol.for("react.provider"),Eg=Symbol.for("react.context"),Cg=Symbol.for("react.forward_ref"),xg=Symbol.for("react.suspense"),Pg=Symbol.for("react.memo"),Ng=Symbol.for("react.lazy"),df=Symbol.iterator;function Tg(e){return e===null||typeof e!="object"?null:(e=df&&e[df]||e["@@iterator"],typeof e=="function"?e:null)}var zd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Rd=Object.assign,Md={};function Fr(e,t,n){this.props=e,this.context=t,this.refs=Md,this.updater=n||zd}Fr.prototype.isReactComponent={};Fr.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")};Fr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function jd(){}jd.prototype=Fr.prototype;function Ua(e,t,n){this.props=e,this.context=t,this.refs=Md,this.updater=n||zd}var Wa=Ua.prototype=new jd;Wa.constructor=Ua;Rd(Wa,Fr.prototype);Wa.isPureReactComponent=!0;var pf=Array.isArray,Fd=Object.prototype.hasOwnProperty,Ha={current:null},$d={key:!0,ref:!0,__self:!0,__source:!0};function Bd(e,t,n){var r,i={},l=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(l=""+t.key),t)Fd.call(t,r)&&!$d.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(c===1)i.children=n;else if(1>>1,ue=z[pe];if(0>>1;pei(On,S))Oei(At,On)?(z[pe]=At,z[Oe]=S,pe=Oe):(z[pe]=On,z[Lt]=S,pe=Lt);else if(Oei(At,S))z[pe]=At,z[Oe]=S,pe=Oe;else break e}}return K}function i(z,K){var S=z.sortIndex-K.sortIndex;return S!==0?S:z.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var a=Date,c=a.now();e.unstable_now=function(){return a.now()-c}}var f=[],p=[],_=1,k=null,y=3,C=!1,N=!1,T=!1,B=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=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(z){for(var K=n(p);K!==null;){if(K.callback===null)r(p);else if(K.startTime<=z)r(p),K.sortIndex=K.expirationTime,t(f,K);else break;K=n(p)}}function P(z){if(T=!1,w(z),!N)if(n(f)!==null)N=!0,Jn(A);else{var K=n(p);K!==null&&Tn(P,K.startTime-z)}}function A(z,K){N=!1,T&&(T=!1,m($),$=-1),C=!0;var S=y;try{for(w(K),k=n(f);k!==null&&(!(k.expirationTime>K)||z&&!et());){var pe=k.callback;if(typeof pe=="function"){k.callback=null,y=k.priorityLevel;var ue=pe(k.expirationTime<=K);K=e.unstable_now(),typeof ue=="function"?k.callback=ue:k===n(f)&&r(f),w(K)}else r(f);k=n(f)}if(k!==null)var nn=!0;else{var Lt=n(p);Lt!==null&&Tn(P,Lt.startTime-K),nn=!1}return nn}finally{k=null,y=S,C=!1}}var b=!1,j=null,$=-1,ae=5,V=-1;function et(){return!(e.unstable_now()-Vz||125pe?(z.sortIndex=S,t(p,z),n(f)===null&&z===n(p)&&(T?(m($),$=-1):T=!0,Tn(P,S-pe))):(z.sortIndex=ue,t(f,z),N||C||(N=!0,Jn(A))),z},e.unstable_shouldYield=et,e.unstable_wrapCallback=function(z){var K=y;return function(){var S=y;y=K;try{return z.apply(this,arguments)}finally{y=S}}}})(Wd);(function(e){e.exports=Wd})(Ud);/** * @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 Hd=U.exports,st=Ud.exports;function O(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"),Us=Object.prototype.hasOwnProperty,bg=/^[: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]*$/,mf={},gf={};function Ig(e){return Us.call(gf,e)?!0:Us.call(mf,e)?!1:bg.test(e)?gf[e]=!0:(mf[e]=!0,!1)}function zg(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 Rg(e,t,n,r){if(t===null||typeof t>"u"||zg(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 Qe(e,t,n,r,i,l,a){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=l,this.removeEmptyString=a}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Qe(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){Ie[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ka=/[\-:]([a-z])/g;function Qa(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(Ka,Qa);Ie[t]=new Qe(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(Ka,Qa);Ie[t]=new Qe(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(Ka,Qa);Ie[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ya(e,t,n,r){var i=Ie.hasOwnProperty(t)?Ie[t]:null;(i!==null?i.type!==0:r||!(2c||i[a]!==l[c]){var f=` `+i[a].replace(" at new "," at ");return e.displayName&&f.includes("")&&(f=f.replace("",e.displayName)),f}while(1<=a&&0<=c);break}}}finally{ps=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ai(e):""}function Mg(e){switch(e.tag){case 5:return ai(e.type);case 16:return ai("Lazy");case 13:return ai("Suspense");case 19:return ai("SuspenseList");case 0:case 2:case 15:return e=hs(e.type,!1),e;case 11:return e=hs(e.type.render,!1),e;case 1:return e=hs(e.type,!0),e;default:return""}}function Ks(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 hr:return"Fragment";case pr:return"Portal";case Ws:return"Profiler";case Xa:return"StrictMode";case Hs:return"Suspense";case Vs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qd:return(e.displayName||"Context")+".Consumer";case Kd:return(e._context.displayName||"Context")+".Provider";case Ga:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qa:return t=e.displayName||null,t!==null?t:Ks(e.type)||"Memo";case sn:t=e._payload,e=e._init;try{return Ks(e(t))}catch{}}return null}function jg(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 Ks(t);case 8:return t===Xa?"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 Sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Xd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fg(e){var t=Xd(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,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,l.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vo(e){e._valueTracker||(e._valueTracker=Fg(e))}function Gd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Xd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vo(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 Qs(e,t){var n=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function yf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Sn(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 qd(e,t){t=t.checked,t!=null&&Ya(e,"checked",t,!1)}function Ys(e,t){qd(e,t);var n=Sn(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")?Xs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xs(e,t.type,Sn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _f(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 Xs(e,t,n){(t!=="number"||Vo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ui=Array.isArray;function xr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=yo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Si(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var di={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},$g=["Webkit","ms","Moz","O"];Object.keys(di).forEach(function(e){$g.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),di[t]=di[e]})});function tp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||di.hasOwnProperty(e)&&di[e]?(""+t).trim():t+"px"}function np(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=tp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Bg=_e({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 Zs(e,t){if(t){if(Bg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function Js(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 ea=null;function Za(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ta=null,Pr=null,Nr=null;function Sf(e){if(e=Bi(e)){if(typeof ta!="function")throw Error(O(280));var t=e.stateNode;t&&(t=wl(t),ta(e.stateNode,e.type,t))}}function rp(e){Pr?Nr?Nr.push(e):Nr=[e]:Pr=e}function ip(){if(Pr){var e=Pr,t=Nr;if(Nr=Pr=null,Sf(e),t)for(e=0;e>>=0,e===0?32:31-(Zg(e)/Jg|0)|0}var _o=64,wo=4194304;function ci(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 Xo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,a=n&268435455;if(a!==0){var c=a&~i;c!==0?r=ci(c):(l&=a,l!==0&&(r=ci(l)))}else a=n&~i,a!==0?r=ci(a):l!==0&&(r=ci(l));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function rv(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=hi),Af=String.fromCharCode(32),Df=!1;function Cp(e,t){switch(e){case"keyup":return Av.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mr=!1;function bv(e,t){switch(e){case"compositionend":return xp(t);case"keypress":return t.which!==32?null:(Df=!0,Af);case"textInput":return e=t.data,e===Af&&Df?null:e;default:return null}}function Iv(e,t){if(mr)return e==="compositionend"||!lu&&Cp(e,t)?(e=Sp(),zo=ru=fn=null,mr=!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=Rf(n)}}function Op(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Op(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lp(){for(var e=window,t=Vo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vo(e.document)}return t}function su(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 Wv(e){var t=Lp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Op(n.ownerDocument.documentElement,n)){if(r!==null&&su(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,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Mf(n,l);var a=Mf(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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,gr=null,sa=null,gi=null,aa=!1;function jf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;aa||gr==null||gr!==Vo(r)||(r=gr,"selectionStart"in r&&su(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}),gi&&Ti(gi,r)||(gi=r,r=Zo(sa,"onSelect"),0_r||(e.current=ha[_r],ha[_r]=null,_r--)}function de(e,t){_r++,ha[_r]=e.current,e.current=t}var En={},je=xn(En),Ge=xn(!1),Kn=En;function Dr(e,t){var n=e.type.contextTypes;if(!n)return En;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function qe(e){return e=e.childContextTypes,e!=null}function el(){me(Ge),me(je)}function Vf(e,t,n){if(je.current!==En)throw Error(O(168));de(je,t),de(Ge,n)}function Fp(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(O(108,jg(e)||"Unknown",i));return _e({},n,r)}function tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||En,Kn=je.current,de(je,e),de(Ge,Ge.current),!0}function Kf(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=Fp(e,t,Kn),r.__reactInternalMemoizedMergedChildContext=e,me(Ge),me(je),de(je,e)):me(Ge),de(Ge,n)}var Ht=null,kl=!1,Ts=!1;function $p(e){Ht===null?Ht=[e]:Ht.push(e)}function t0(e){kl=!0,$p(e)}function Pn(){if(!Ts&&Ht!==null){Ts=!0;var e=0,t=oe;try{var n=Ht;for(oe=1;e>=a,i-=a,Vt=1<<32-Nt(t)+i|n<$?(ae=j,j=null):ae=j.sibling;var V=y(m,j,w[$],P);if(V===null){j===null&&(j=ae);break}e&&j&&V.alternate===null&&t(m,j),h=l(V,h,$),b===null?A=V:b.sibling=V,b=V,j=ae}if($===w.length)return n(m,j),ge&&jn(m,$),A;if(j===null){for(;$$?(ae=j,j=null):ae=j.sibling;var et=y(m,j,V.value,P);if(et===null){j===null&&(j=ae);break}e&&j&&et.alternate===null&&t(m,j),h=l(et,h,$),b===null?A=et:b.sibling=et,b=et,j=ae}if(V.done)return n(m,j),ge&&jn(m,$),A;if(j===null){for(;!V.done;$++,V=w.next())V=k(m,V.value,P),V!==null&&(h=l(V,h,$),b===null?A=V:b.sibling=V,b=V);return ge&&jn(m,$),A}for(j=r(m,j);!V.done;$++,V=w.next())V=C(j,m,$,V.value,P),V!==null&&(e&&V.alternate!==null&&j.delete(V.key===null?$:V.key),h=l(V,h,$),b===null?A=V:b.sibling=V,b=V);return e&&j.forEach(function(en){return t(m,en)}),ge&&jn(m,$),A}function B(m,h,w,P){if(typeof w=="object"&&w!==null&&w.type===hr&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case go:e:{for(var A=w.key,b=h;b!==null;){if(b.key===A){if(A=w.type,A===hr){if(b.tag===7){n(m,b.sibling),h=i(b,w.props.children),h.return=m,m=h;break e}}else if(b.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===sn&&Jf(A)===b.type){n(m,b.sibling),h=i(b,w.props),h.ref=oi(m,b,w),h.return=m,m=h;break e}n(m,b);break}else t(m,b);b=b.sibling}w.type===hr?(h=Hn(w.props.children,m.mode,P,w.key),h.return=m,m=h):(P=Wo(w.type,w.key,w.props,null,m.mode,P),P.ref=oi(m,h,w),P.return=m,m=P)}return a(m);case pr:e:{for(b=w.key;h!==null;){if(h.key===b)if(h.tag===4&&h.stateNode.containerInfo===w.containerInfo&&h.stateNode.implementation===w.implementation){n(m,h.sibling),h=i(h,w.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Rs(w,m.mode,P),h.return=m,m=h}return a(m);case sn:return b=w._init,B(m,h,b(w._payload),P)}if(ui(w))return N(m,h,w,P);if(ei(w))return T(m,h,w,P);No(m,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,h!==null&&h.tag===6?(n(m,h.sibling),h=i(h,w),h.return=m,m=h):(n(m,h),h=zs(w,m.mode,P),h.return=m,m=h),a(m)):n(m,h)}return B}var Ir=Yp(!0),Xp=Yp(!1),Ui={},$t=xn(Ui),Di=xn(Ui),bi=xn(Ui);function Un(e){if(e===Ui)throw Error(O(174));return e}function gu(e,t){switch(de(bi,t),de(Di,e),de($t,Ui),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qs(t,e)}me($t),de($t,t)}function zr(){me($t),me(Di),me(bi)}function Gp(e){Un(bi.current);var t=Un($t.current),n=qs(t,e.type);t!==n&&(de(Di,e),de($t,n))}function vu(e){Di.current===e&&(me($t),me(Di))}var ve=xn(0);function sl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Os=[];function yu(){for(var e=0;en?n:4,e(!0);var r=Ls.transition;Ls.transition={};try{e(!1),t()}finally{oe=n,Ls.transition=r}}function dh(){return _t().memoizedState}function o0(e,t,n){var r=wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ph(e))hh(t,n);else if(n=Hp(e,t,n,r),n!==null){var i=Ve();Tt(n,e,r,i),mh(n,t,r)}}function l0(e,t,n){var r=wn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ph(e))hh(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var a=t.lastRenderedState,c=l(a,n);if(i.hasEagerState=!0,i.eagerState=c,Ot(c,a)){var f=t.interleaved;f===null?(i.next=i,hu(t)):(i.next=f.next,f.next=i),t.interleaved=i;return}}catch{}finally{}n=Hp(e,t,i,r),n!==null&&(i=Ve(),Tt(n,e,r,i),mh(n,t,r))}}function ph(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function hh(e,t){vi=al=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mh(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eu(e,n)}}var ul={readContext:yt,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useInsertionEffect:ze,useLayoutEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useDeferredValue:ze,useTransition:ze,useMutableSource:ze,useSyncExternalStore:ze,useId:ze,unstable_isNewReconciler:!1},s0={readContext:yt,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:yt,useEffect:td,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fo(4194308,4,sh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fo(4,2,e,t)},useMemo:function(e,t){var n=Mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mt();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=o0.bind(null,ye,e),[r.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:ed,useDebugValue:Eu,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=ed(!1),t=e[0];return e=i0.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ye,i=Mt();if(ge){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Te===null)throw Error(O(349));(Yn&30)!==0||Jp(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,td(th.bind(null,r,l,e),[e]),r.flags|=2048,Ri(9,eh.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Mt(),t=Te.identifierPrefix;if(ge){var n=Kt,r=Vt;n=(r&~(1<<32-Nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ii++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[jt]=t,e[Ai]=r,Ch(e,t,!1,!1),t.stateNode=e;e:{switch(a=Js(n,r),n){case"dialog":he("cancel",e),he("close",e),i=r;break;case"iframe":case"object":case"embed":he("load",e),i=r;break;case"video":case"audio":for(i=0;iMr&&(t.flags|=128,r=!0,li(l,!1),t.lanes=4194304)}else{if(!r)if(e=sl(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),li(l,!0),l.tail===null&&l.tailMode==="hidden"&&!a.alternate&&!ge)return Re(t),null}else 2*Se()-l.renderingStartTime>Mr&&n!==1073741824&&(t.flags|=128,r=!0,li(l,!1),t.lanes=4194304);l.isBackwards?(a.sibling=t.child,t.child=a):(n=l.last,n!==null?n.sibling=a:t.child=a,l.last=a)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Se(),t.sibling=null,n=ve.current,de(ve,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return Ou(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(it&1073741824)!==0&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function m0(e,t){switch(uu(t),t.tag){case 1:return qe(t.type)&&el(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return zr(),me(Ge),me(je),yu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return vu(t),null;case 13:if(me(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));br()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(ve),null;case 4:return zr(),null;case 10:return pu(t.type._context),null;case 22:case 23:return Ou(),null;case 24:return null;default:return null}}var Oo=!1,Me=!1,g0=typeof WeakSet=="function"?WeakSet:Set,R=null;function Er(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){we(e,t,r)}else n.current=null}function Pa(e,t,n){try{n()}catch(r){we(e,t,r)}}var cd=!1;function v0(e,t){if(ua=Go,e=Lp(),su(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,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var a=0,c=-1,f=-1,p=0,_=0,k=e,y=null;t:for(;;){for(var C;k!==n||i!==0&&k.nodeType!==3||(c=a+i),k!==l||r!==0&&k.nodeType!==3||(f=a+r),k.nodeType===3&&(a+=k.nodeValue.length),(C=k.firstChild)!==null;)y=k,k=C;for(;;){if(k===e)break t;if(y===n&&++p===i&&(c=a),y===l&&++_===r&&(f=a),(C=k.nextSibling)!==null)break;k=y,y=k.parentNode}k=C}n=c===-1||f===-1?null:{start:c,end:f}}else n=null}n=n||{start:0,end:0}}else n=null;for(ca={focusedElem:e,selectionRange:n},Go=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var N=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(N!==null){var T=N.memoizedProps,B=N.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?T:Ct(t.type,T),B);m.__reactInternalSnapshotBeforeUpdate=h}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(O(163))}}catch(P){we(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return N=cd,cd=!1,N}function yi(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 l=i.destroy;i.destroy=void 0,l!==void 0&&Pa(t,n,l)}i=i.next}while(i!==r)}}function Cl(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 Na(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 Nh(e){var t=e.alternate;t!==null&&(e.alternate=null,Nh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jt],delete t[Ai],delete t[pa],delete t[Jv],delete t[e0])),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 Th(e){return e.tag===5||e.tag===3||e.tag===4}function fd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Th(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 Ta(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=Jo));else if(r!==4&&(e=e.child,e!==null))for(Ta(e,t,n),e=e.sibling;e!==null;)Ta(e,t,n),e=e.sibling}function Oa(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(Oa(e,t,n),e=e.sibling;e!==null;)Oa(e,t,n),e=e.sibling}var Ae=null,xt=!1;function ln(e,t,n){for(n=n.child;n!==null;)Oh(e,t,n),n=n.sibling}function Oh(e,t,n){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:Me||Er(n,t);case 6:var r=Ae,i=xt;Ae=null,ln(e,t,n),Ae=r,xt=i,Ae!==null&&(xt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(xt?(e=Ae,n=n.stateNode,e.nodeType===8?Ns(e.parentNode,n):e.nodeType===1&&Ns(e,n),Pi(e)):Ns(Ae,n.stateNode));break;case 4:r=Ae,i=xt,Ae=n.stateNode.containerInfo,xt=!0,ln(e,t,n),Ae=r,xt=i;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,a=l.destroy;l=l.tag,a!==void 0&&((l&2)!==0||(l&4)!==0)&&Pa(n,t,a),i=i.next}while(i!==r)}ln(e,t,n);break;case 1:if(!Me&&(Er(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(c){we(n,t,c)}ln(e,t,n);break;case 21:ln(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,ln(e,t,n),Me=r):ln(e,t,n);break;default:ln(e,t,n)}}function dd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new g0),t.forEach(function(r){var i=P0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Et(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~l}if(r=i,r=Se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_0(r/1960))-r,10e?16:e,dn===null)var r=!1;else{if(e=dn,dn=null,dl=0,(te&6)!==0)throw Error(O(331));var i=te;for(te|=4,R=e.current;R!==null;){var l=R,a=l.child;if((R.flags&16)!==0){var c=l.deletions;if(c!==null){for(var f=0;fSe()-Nu?Wn(e,0):Pu|=n),Ze(e,t)}function Mh(e,t){t===0&&((e.mode&1)===0?t=1:(t=wo,wo<<=1,(wo&130023424)===0&&(wo=4194304)));var n=Ve();e=qt(e,t),e!==null&&(Fi(e,t,n),Ze(e,n))}function x0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Mh(e,n)}function P0(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(O(314))}r!==null&&r.delete(t),Mh(e,n)}var jh;jh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ge.current)Xe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Xe=!1,p0(e,t,n);Xe=(e.flags&131072)!==0}else Xe=!1,ge&&(t.flags&1048576)!==0&&Bp(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$o(e,t),e=t.pendingProps;var i=Dr(t,je.current);Or(t,n),i=wu(null,t,r,e,i,n);var l=ku();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,qe(r)?(l=!0,tl(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,mu(t),i.updater=Sl,t.stateNode=i,i._reactInternals=t,_a(t,r,e,n),t=Sa(null,t,r,!0,l,n)):(t.tag=0,ge&&l&&au(t),He(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch($o(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=T0(r),e=Ct(r,e),i){case 0:t=ka(null,t,r,e,n);break e;case 1:t=sd(null,t,r,e,n);break e;case 11:t=od(null,t,r,e,n);break e;case 14:t=ld(null,t,r,Ct(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),ka(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),sd(e,t,r,i,n);case 3:e:{if(kh(t),e===null)throw Error(O(387));r=t.pendingProps,l=t.memoizedState,i=l.element,Vp(e,t),ll(t,r,null,n);var a=t.memoizedState;if(r=a.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Rr(Error(O(423)),t),t=ad(e,t,r,n,i);break e}else if(r!==i){i=Rr(Error(O(424)),t),t=ad(e,t,r,n,i);break e}else for(ot=vn(t.stateNode.containerInfo.firstChild),lt=t,ge=!0,Pt=null,n=Xp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(br(),r===i){t=Zt(e,t,n);break e}He(e,t,r,n)}t=t.child}return t;case 5:return Gp(t),e===null&&ga(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,a=i.children,fa(r,i)?a=null:l!==null&&fa(r,l)&&(t.flags|=32),wh(e,t),He(e,t,a,n),t.child;case 6:return e===null&&ga(t),null;case 13:return Sh(e,t,n);case 4:return gu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ir(t,null,r,n):He(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),od(e,t,r,i,n);case 7:return He(e,t,t.pendingProps,n),t.child;case 8:return He(e,t,t.pendingProps.children,n),t.child;case 12:return He(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value,de(il,r._currentValue),r._currentValue=a,l!==null)if(Ot(l.value,a)){if(l.children===i.children&&!Ge.current){t=Zt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var c=l.dependencies;if(c!==null){a=l.child;for(var f=c.firstContext;f!==null;){if(f.context===r){if(l.tag===1){f=Qt(-1,n&-n),f.tag=2;var p=l.updateQueue;if(p!==null){p=p.shared;var _=p.pending;_===null?f.next=f:(f.next=_.next,_.next=f),p.pending=f}}l.lanes|=n,f=l.alternate,f!==null&&(f.lanes|=n),va(l.return,n,t),c.lanes|=n;break}f=f.next}}else if(l.tag===10)a=l.type===t.type?null:l.child;else if(l.tag===18){if(a=l.return,a===null)throw Error(O(341));a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),va(a,n,t),a=l.sibling}else a=l.child;if(a!==null)a.return=l;else for(a=l;a!==null;){if(a===t){a=null;break}if(l=a.sibling,l!==null){l.return=a.return,a=l;break}a=a.return}l=a}He(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Or(t,n),i=yt(i),r=r(i),t.flags|=1,He(e,t,r,n),t.child;case 14:return r=t.type,i=Ct(r,t.pendingProps),i=Ct(r.type,i),ld(e,t,r,i,n);case 15:return yh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ct(r,i),$o(e,t),t.tag=1,qe(r)?(e=!0,tl(t)):e=!1,Or(t,n),Qp(t,r,i),_a(t,r,i,n),Sa(null,t,r,!0,e,n);case 19:return Eh(e,t,n);case 22:return _h(e,t,n)}throw Error(O(156,t.tag))};function Fh(e,t){return fp(e,t)}function N0(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 gt(e,t,n,r){return new N0(e,t,n,r)}function Au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function T0(e){if(typeof e=="function")return Au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ga)return 11;if(e===qa)return 14}return 2}function kn(e,t){var n=e.alternate;return n===null?(n=gt(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 Wo(e,t,n,r,i,l){var a=2;if(r=e,typeof e=="function")Au(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case hr:return Hn(n.children,i,l,t);case Xa:a=8,i|=8;break;case Ws:return e=gt(12,n,t,i|2),e.elementType=Ws,e.lanes=l,e;case Hs:return e=gt(13,n,t,i),e.elementType=Hs,e.lanes=l,e;case Vs:return e=gt(19,n,t,i),e.elementType=Vs,e.lanes=l,e;case Yd:return Pl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kd:a=10;break e;case Qd:a=9;break e;case Ga:a=11;break e;case qa:a=14;break e;case sn:a=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=gt(a,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function Hn(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function Pl(e,t,n,r){return e=gt(22,e,r,t),e.elementType=Yd,e.lanes=n,e.stateNode={isHidden:!1},e}function zs(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function Rs(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function O0(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=gs(0),this.expirationTimes=gs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Du(e,t,n,r,i,l,a,c,f){return e=new O0(e,t,n,c,f),t===1?(t=1,l===!0&&(t|=8)):t=0,l=gt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},mu(l),e}function L0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=at})(Id);var wd=Id.exports;$s.createRoot=wd.createRoot,$s.hydrateRoot=wd.hydrateRoot;/** * @remix-run/router v1.0.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 ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t=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 j0(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,a=i.history,c=pn.Pop,f=null;function p(){c=pn.Pop,f&&f({action:c,location:y.location})}function _(C,N){c=pn.Push;let T=Ia(y.location,C,N);n&&n(T,C);let B=Sd(T),m=y.createHref(T);try{a.pushState(B,"",m)}catch{i.location.assign(m)}l&&f&&f({action:c,location:T})}function k(C,N){c=pn.Replace;let T=Ia(y.location,C,N);n&&n(T,C);let B=Sd(T),m=y.createHref(T);a.replaceState(B,"",m),l&&f&&f({action:c,location:T})}let y={get action(){return c},get location(){return e(i,a)},listen(C){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(kd,p),f=C,()=>{i.removeEventListener(kd,p),f=null}},createHref(C){return t(i,C)},push:_,replace:k,go(C){return a.go(C)}};return y}var Ed;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ed||(Ed={}));function F0(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Ur(t):t,i=Hh(r.pathname||"/",n);if(i==null)return null;let l=Wh(e);$0(l);let a=null;for(let c=0;a==null&&c{let a={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};a.relativePath.startsWith("/")&&(be(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let c=Vn([r,a.relativePath]),f=n.concat(a);i.children&&i.children.length>0&&(be(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Wh(i.children,t,f,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Q0(c,i.index),routesMeta:f})}),t}function $0(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Y0(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const B0=/^:\w+$/,U0=3,W0=2,H0=1,V0=10,K0=-2,Cd=e=>e==="*";function Q0(e,t){let n=e.split("/"),r=n.length;return n.some(Cd)&&(r+=K0),t&&(r+=W0),n.filter(i=>!Cd(i)).reduce((i,l)=>i+(B0.test(l)?U0:l===""?H0:V0),r)}function Y0(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 X0(e,t){let{routesMeta:n}=e,r={},i="/",l=[];for(let a=0;a{if(_==="*"){let y=c[k]||"";a=l.slice(0,l.length-y.length).replace(/(.)\/+$/,"$1")}return p[_]=Z0(c[k]||"",_),p},{}),pathname:l,pathnameBase:a,pattern:e}}function q0(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Vh(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,(a,c)=>(r.push(c),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Z0(e,t){try{return decodeURIComponent(e)}catch(n){return Vh(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Hh(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)||"/"}function be(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Vh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function J0(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ur(e):e;return{pathname:n?n.startsWith("/")?n:ey(n,t):t,search:ry(r),hash:iy(i)}}function ey(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 Ms(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 ty(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Ur(e):(i=ml({},e),be(!i.pathname||!i.pathname.includes("?"),Ms("?","pathname","search",i)),be(!i.pathname||!i.pathname.includes("#"),Ms("#","pathname","hash",i)),be(!i.search||!i.search.includes("#"),Ms("#","search","hash",i)));let l=e===""||i.pathname==="",a=l?"/":i.pathname,c;if(r||a==null)c=n;else{let k=t.length-1;if(a.startsWith("..")){let y=a.split("/");for(;y[0]==="..";)y.shift(),k-=1;i.pathname=y.join("/")}c=k>=0?t[k]:"/"}let f=J0(i,c),p=a&&a!=="/"&&a.endsWith("/"),_=(l||a===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||_)&&(f.pathname+="/"),f}const Vn=e=>e.join("/").replace(/\/\/+/g,"/"),ny=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ry=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,iy=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class oy{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function ly(e){return e instanceof oy}var Al={exports:{}},Dl={};/** * @license React * react-jsx-runtime.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 sy=U.exports,ay=Symbol.for("react.element"),uy=Symbol.for("react.fragment"),cy=Object.prototype.hasOwnProperty,fy=sy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dy={key:!0,ref:!0,__self:!0,__source:!0};function Kh(e,t,n){var r,i={},l=null,a=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)cy.call(t,r)&&!dy.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:ay,type:e,key:l,ref:a,props:i,_owner:fy.current}}Dl.Fragment=uy;Dl.jsx=Kh;Dl.jsxs=Kh;(function(e){e.exports=Dl})(Al);const py=Al.exports.Fragment,F=Al.exports.jsx,Yt=Al.exports.jsxs;/** * React Router v6.4.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 za(){return za=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,js(i)&&l({inst:i})},[e,r,t]),vy(()=>(js(i)&&l({inst:i}),e(()=>{js(i)&&l({inst:i})})),[e]),_y(r),r}function js(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!my(n,r)}catch{return!0}}function ky(e,t,n){return t()}const Sy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ey=!Sy,Cy=Ey?ky:wy;"useSyncExternalStore"in Bs&&(e=>e.useSyncExternalStore)(Bs);const xy=U.exports.createContext(null),Py=U.exports.createContext(null),Qh=U.exports.createContext(null),Yh=U.exports.createContext(null),bl=U.exports.createContext(null),Il=U.exports.createContext({outlet:null,matches:[]}),Xh=U.exports.createContext(null);function zl(){return U.exports.useContext(bl)!=null}function Gh(){return zl()||be(!1),U.exports.useContext(bl).location}function Ny(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function Rl(){zl()||be(!1);let{basename:e,navigator:t}=U.exports.useContext(Yh),{matches:n}=U.exports.useContext(Il),{pathname:r}=Gh(),i=JSON.stringify(Ny(n).map(c=>c.pathnameBase)),l=U.exports.useRef(!1);return U.exports.useEffect(()=>{l.current=!0}),U.exports.useCallback(function(c,f){if(f===void 0&&(f={}),!l.current)return;if(typeof c=="number"){t.go(c);return}let p=ty(c,JSON.parse(i),r,f.relative==="path");e!=="/"&&(p.pathname=p.pathname==="/"?e:Vn([e,p.pathname])),(f.replace?t.replace:t.push)(p,f.state,f)},[e,t,i,r])}function Ty(e,t){zl()||be(!1);let n=U.exports.useContext(Qh),{matches:r}=U.exports.useContext(Il),i=r[r.length-1],l=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let c=Gh(),f;if(t){var p;let N=typeof t=="string"?Ur(t):t;a==="/"||((p=N.pathname)==null?void 0:p.startsWith(a))||be(!1),f=N}else f=c;let _=f.pathname||"/",k=a==="/"?_:_.slice(a.length)||"/",y=F0(e,{pathname:k}),C=Dy(y&&y.map(N=>Object.assign({},N,{params:Object.assign({},l,N.params),pathname:Vn([a,N.pathname]),pathnameBase:N.pathnameBase==="/"?a:Vn([a,N.pathnameBase])})),r,n||void 0);return t?F(bl.Provider,{value:{location:za({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:pn.Pop},children:C}):C}function Oy(){let e=Iy(),t=ly(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},l={padding:"2px 4px",backgroundColor:r};return Yt(py,{children:[F("h2",{children:"Unhandled Thrown Error!"}),F("h3",{style:{fontStyle:"italic"},children:t}),n?F("pre",{style:i,children:n}):null,F("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),Yt("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",F("code",{style:l,children:"errorElement"})," props on\xA0",F("code",{style:l,children:""})]})]})}class Ly extends U.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?F(Xh.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function Ay(e){let{routeContext:t,match:n,children:r}=e,i=U.exports.useContext(xy);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),F(Il.Provider,{value:t,children:r})}function Dy(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let l=r.findIndex(a=>a.route.id&&(i==null?void 0:i[a.route.id]));l>=0||be(!1),r=r.slice(0,Math.min(r.length,l+1))}return r.reduceRight((l,a,c)=>{let f=a.route.id?i==null?void 0:i[a.route.id]:null,p=n?a.route.errorElement||F(Oy,{}):null,_=()=>F(Ay,{match:a,routeContext:{outlet:l,matches:t.concat(r.slice(0,c+1))},children:f?p:a.route.element!==void 0?a.route.element:l});return n&&(a.route.errorElement||c===0)?F(Ly,{location:n.location,component:p,error:f,children:_()}):_()},null)}var xd;(function(e){e.UseRevalidator="useRevalidator"})(xd||(xd={}));var Ra;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(Ra||(Ra={}));function by(e){let t=U.exports.useContext(Qh);return t||be(!1),t}function Iy(){var e;let t=U.exports.useContext(Xh),n=by(Ra.UseRouteError),r=U.exports.useContext(Il),i=r.matches[r.matches.length-1];return t||(r||be(!1),i.route.id||be(!1),(e=n.errors)==null?void 0:e[i.route.id])}function Ma(e){be(!1)}function zy(e){let{basename:t="/",children:n=null,location:r,navigationType:i=pn.Pop,navigator:l,static:a=!1}=e;zl()&&be(!1);let c=t.replace(/^\/*/,"/"),f=U.exports.useMemo(()=>({basename:c,navigator:l,static:a}),[c,l,a]);typeof r=="string"&&(r=Ur(r));let{pathname:p="/",search:_="",hash:k="",state:y=null,key:C="default"}=r,N=U.exports.useMemo(()=>{let T=Hh(p,c);return T==null?null:{pathname:T,search:_,hash:k,state:y,key:C}},[c,p,_,k,y,C]);return N==null?null:F(Yh.Provider,{value:f,children:F(bl.Provider,{children:n,value:{location:N,navigationType:i}})})}function Ry(e){let{children:t,location:n}=e,r=U.exports.useContext(Py),i=r&&!t?r.router.routes:ja(t);return Ty(i,n)}var Pd;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Pd||(Pd={}));new Promise(()=>{});function ja(e,t){t===void 0&&(t=[]);let n=[];return U.exports.Children.forEach(e,(r,i)=>{if(!U.exports.isValidElement(r))return;if(r.type===U.exports.Fragment){n.push.apply(n,ja(r.props.children,t));return}r.type!==Ma&&be(!1),!r.props.index||!r.props.children||be(!1);let l=[...t,i],a={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(a.children=ja(r.props.children,l)),n.push(a)}),n}/** * React Router DOM v6.4.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 My(e){let{basename:t,children:n,window:r}=e,i=U.exports.useRef();i.current==null&&(i.current=z0({window:r,v5Compat:!0}));let l=i.current,[a,c]=U.exports.useState({action:l.action,location:l.location});return U.exports.useLayoutEffect(()=>l.listen(c),[l]),F(zy,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:l})}var Nd;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Nd||(Nd={}));var Td;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Td||(Td={}));function Fa(){return Fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var qh={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 r=[],i=0;i1?_-1:0),y=1;y<_;y++)k[y-1]=arguments[y];n&&n.apply(void 0,[p].concat(k)),a(p)},[n])]}function By(e,t){return Object.keys(t).reduce(function(n,r){var i,l=n,a=l[Od(r)],c=l[r],f=Nn(l,[Od(r),r].map(jy)),p=t[r],_=$y(c,a,e[p]),k=_[0],y=_[1];return Fa({},f,(i={},i[r]=k,i[p]=y,i))},e)}var Ru=Je.createContext({});Ru.Consumer;Ru.Provider;function Ml(e,t){var n=U.exports.useContext(Ru);return e||n[t]||t}var Uy=Je.createContext(null),Zh=function(t,n){return n===void 0&&(n=null),t!=null?String(t):n||null};const $a=Uy;function Wy(){for(var e=arguments.length,t=new Array(e),n=0;n=j.length&&(V=0),V<0&&(V=j.length-1),j[V]},m=function(A,b){A!=null&&(i&&i(A,b),k&&k(A,b))},h=function(A){c&&c(A);var b;switch(A.key){case"ArrowLeft":case"ArrowUp":b=B(-1);break;case"ArrowRight":case"ArrowDown":b=B(1);break;default:return}!b||(A.preventDefault(),m(b.dataset.rbEventKey,A),_.current=!0,p())};U.exports.useEffect(function(){if(T.current&&_.current){var P=T.current.querySelector("[data-rb-event-key].active");P&&P.focus()}_.current=!1});var w=Zy(t,T);return F($a.Provider,{value:m,children:F(rm.Provider,{value:{role:a,activeKey:Zh(l),getControlledId:C||Dd,getControllerId:N||Dd},children:F(r,{...f,onKeyDown:h,ref:w,role:a})})})});const r_=n_;var i_={disabled:!1},om=Je.forwardRef(function(e,t){var n=e.active,r=e.className,i=e.eventKey,l=e.onSelect,a=e.onClick,c=e.as,f=Nn(e,["active","className","eventKey","onSelect","onClick","as"]),p=Zh(i,f.href),_=U.exports.useContext($a),k=U.exports.useContext(rm),y=n;if(k){!f.role&&k.role==="tablist"&&(f.role="tab");var C=k.getControllerId(p),N=k.getControlledId(p);f["data-rb-event-key"]=p,f.id=C||f.id,f["aria-controls"]=N||f["aria-controls"],y=n==null&&p!=null?k.activeKey===p:n}f.role==="tab"&&(f.tabIndex=y?f.tabIndex:-1,f["aria-selected"]=y);var T=Vy(function(B){a&&a(B),p!=null&&(l&&l(p,B),_&&_(p,B))});return F(c,{...f,ref:t,onClick:T,className:jr(r,y&&"active")})});om.defaultProps=i_;const o_=om;var bd={exports:{}},Ba={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(a,c,f,p,_,k){var y=p||"<>",C=k||f;if(c[f]==null)return a?new Error("Required "+_+" `"+C+"` was not specified "+("in `"+y+"`.")):null;for(var N=arguments.length,T=Array(N>6?N-6:0),B=6;B{U.exports.useState(0);const e=Rl();return F(c_,{className:"navbar navbar-expand-lg navbar-light bg-light",children:Yt("div",{className:"container-fluid",children:[F("a",{className:"navbar-brand",href:"#",onClick:()=>e("/"),children:"FullGreaM"}),F("button",{className:"navbar-toggler",type:"button","data-toggle":"collapse","data-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation",children:F("span",{className:"navbar-toggler-icon"})}),F("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:Yt("ul",{className:"navbar-nav mr-auto mb-2 mb-lg-0",children:[Yt("div",{className:"auth-area",children:[F("button",{className:"btn btn-outline-success",type:"submit",onClick:()=>e("/login"),children:"\u0412\u043E\u0439\u0442\u0438"})," \u0412\u044B \u043D\u0435 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u043E\u0432\u0430\u043B\u0438\u0441\u044C."]}),F("li",{className:"nav-item",children:F("a",{className:"nav-link active","aria-current":"page",href:"#",onClick:()=>e("/"),children:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F"})}),F("li",{className:"nav-item",children:F("a",{className:"nav-link",href:"#",onClick:()=>e("/blog"),children:"\u0411\u043B\u043E\u0433"})}),F("li",{className:"nav-item",children:F("a",{className:"nav-link",href:"#",onClick:()=>e("/contacts"),children:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"})}),F("li",{className:"nav-item",children:F("a",{className:"nav-link",href:"#",onClick:()=>e("/rules"),children:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430"})}),F("li",{className:"nav-item",children:F("a",{className:"nav-link",href:"#price",onClick:()=>e("/rules"),children:"\u0421\u043E\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0438 \u0443\u0441\u043B\u0443\u0433"})}),F("li",{className:"nav-item",children:F("a",{className:"nav-link",href:"#",onClick:()=>e("/my-projects"),children:"\u041F\u043E\u0440\u0442\u0444\u043E\u043B\u0438\u043E"})})]})})]})})},d_="/assets/at_work.cadc71ce.png",p_=()=>{const e=Rl();return document.title="\u0413\u043B\u0430\u0432\u043D\u0430\u044F",F("div",{className:"container",id:"atWork",children:Yt("div",{className:"center-el",children:[F("h1",{children:"\u0420\u0430\u0437\u0434\u0435\u043B \u0432 \u0440\u0430\u0431\u043E\u0442\u0435"}),F("img",{src:d_,id:"atWorkImg"}),F("h4",{children:"\u041D\u0430 \u0434\u0430\u043D\u043D\u044B\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u043F\u0440\u043E\u0432\u043E\u0434\u044F\u0442\u0441\u044F \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0440\u0430\u0431\u043E\u0442\u044B, \u0434\u0430\u043D\u043D\u044B\u0439 \u0440\u0430\u0437\u0434\u0435\u043B \u0431\u0443\u0434\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0447\u0435\u0440\u0435\u0437 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F"}),F(Ho,{onClick:()=>e("/"),id:"button-upper",children:"\u041D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E"})]})})},Fs={vk:"https://vk.com/decimus_crew",tg:"https://t.me/Nikiroy78",github:"https://github.com/Nikiroy78"},h_=()=>(Rl(),document.title="\u0413\u043B\u0430\u0432\u043D\u0430\u044F",F("div",{className:"container",children:Yt("div",{className:"center-el",children:[F("h1",{children:"\u041C\u043E\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"}),F("p",{children:F(Ho,{onClick:()=>{window.location.href=Fs.vk},children:"\u0412\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u0435"})}),F("p",{children:F(Ho,{onClick:()=>{window.location.href=Fs.tg},children:"\u0422\u0435\u043B\u0435\u0433\u0440\u0430\u043C"})}),F("p",{children:F(Ho,{onClick:()=>{window.location.href=Fs.github},children:"GitHub"})})]})})),m_=()=>(document.title="\u0413\u043B\u0430\u0432\u043D\u0430\u044F",Rl(),Yt("div",{className:"App",children:[F(f_,{}),Yt(Ry,{children:[F(Ma,{path:"/contacts",element:F(h_,{})}),F(Ma,{path:"*",element:F(p_,{})})]})]}));var g_={exports:{}};/*! * Bootstrap v5.2.2 (https://getbootstrap.com/) * Copyright 2011-2022 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()})(gg,function(){const n="transitionend",r=u=>{let o=u.getAttribute("data-bs-target");if(!o||o==="#"){let s=u.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),o=s&&s!=="#"?s.trim():null}return o},i=u=>{const o=r(u);return o&&document.querySelector(o)?o:null},l=u=>{const o=r(u);return o?document.querySelector(o):null},a=u=>{u.dispatchEvent(new Event(n))},c=u=>!(!u||typeof u!="object")&&(u.jquery!==void 0&&(u=u[0]),u.nodeType!==void 0),f=u=>c(u)?u.jquery?u[0]:u:typeof u=="string"&&u.length>0?document.querySelector(u):null,p=u=>{if(!c(u)||u.getClientRects().length===0)return!1;const o=getComputedStyle(u).getPropertyValue("visibility")==="visible",s=u.closest("details:not([open])");if(!s)return o;if(s!==u){const d=u.closest("summary");if(d&&d.parentNode!==s||d===null)return!1}return o},_=u=>!u||u.nodeType!==Node.ELEMENT_NODE||!!u.classList.contains("disabled")||(u.disabled!==void 0?u.disabled:u.hasAttribute("disabled")&&u.getAttribute("disabled")!=="false"),k=u=>{if(!document.documentElement.attachShadow)return null;if(typeof u.getRootNode=="function"){const o=u.getRootNode();return o instanceof ShadowRoot?o:null}return u instanceof ShadowRoot?u:u.parentNode?k(u.parentNode):null},y=()=>{},C=u=>{u.offsetHeight},N=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,T=[],B=()=>document.documentElement.dir==="rtl",m=u=>{var o;o=()=>{const s=N();if(s){const d=u.NAME,g=s.fn[d];s.fn[d]=u.jQueryInterface,s.fn[d].Constructor=u,s.fn[d].noConflict=()=>(s.fn[d]=g,u.jQueryInterface)}},document.readyState==="loading"?(T.length||document.addEventListener("DOMContentLoaded",()=>{for(const s of T)s()}),T.push(o)):o()},h=u=>{typeof u=="function"&&u()},w=(u,o,s=!0)=>{if(!s)return void h(u);const d=(E=>{if(!E)return 0;let{transitionDuration:x,transitionDelay:L}=window.getComputedStyle(E);const I=Number.parseFloat(x),M=Number.parseFloat(L);return I||M?(x=x.split(",")[0],L=L.split(",")[0],1e3*(Number.parseFloat(x)+Number.parseFloat(L))):0})(o)+5;let g=!1;const v=({target:E})=>{E===o&&(g=!0,o.removeEventListener(n,v),h(u))};o.addEventListener(n,v),setTimeout(()=>{g||a(o)},d)},P=(u,o,s,d)=>{const g=u.length;let v=u.indexOf(o);return v===-1?!s&&d?u[g-1]:u[0]:(v+=s?1:-1,d&&(v=(v+g)%g),u[Math.max(0,Math.min(v,g-1))])},A=/[^.]*(?=\..*)\.|.*/,b=/\..*/,j=/::\d+$/,$={};let ae=1;const V={mouseenter:"mouseover",mouseleave:"mouseout"},et=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 en(u,o){return o&&`${o}::${ae++}`||u.uidEvent||ae++}function tn(u){const o=en(u);return u.uidEvent=o,$[o]=$[o]||{},$[o]}function Wr(u,o,s=null){return Object.values(u).find(d=>d.callable===o&&d.delegationSelector===s)}function Hi(u,o,s){const d=typeof o=="string",g=d?s:o||s;let v=K(u);return et.has(v)||(v=u),[d,g,v]}function Jn(u,o,s,d,g){if(typeof o!="string"||!u)return;let[v,E,x]=Hi(o,s,d);o in V&&(E=(Q=>function(H){if(!H.relatedTarget||H.relatedTarget!==H.delegateTarget&&!H.delegateTarget.contains(H.relatedTarget))return Q.call(this,H)})(E));const L=tn(u),I=L[x]||(L[x]={}),M=Wr(I,E,v?s:null);if(M)return void(M.oneOff=M.oneOff&&g);const D=en(E,o.replace(A,"")),G=v?function(W,Q,H){return function Y(le){const fe=W.querySelectorAll(Q);for(let{target:Z}=le;Z&&Z!==this;Z=Z.parentNode)for(const ne of fe)if(ne===Z)return pe(le,{delegateTarget:Z}),Y.oneOff&&S.off(W,le.type,Q,H),H.apply(Z,[le])}}(u,s,E):function(W,Q){return function H(Y){return pe(Y,{delegateTarget:W}),H.oneOff&&S.off(W,Y.type,Q),Q.apply(W,[Y])}}(u,E);G.delegationSelector=v?s:null,G.callable=E,G.oneOff=g,G.uidEvent=D,I[D]=G,u.addEventListener(x,G,v)}function Tn(u,o,s,d,g){const v=Wr(o[s],d,g);v&&(u.removeEventListener(s,v,Boolean(g)),delete o[s][v.uidEvent])}function z(u,o,s,d){const g=o[s]||{};for(const v of Object.keys(g))if(v.includes(d)){const E=g[v];Tn(u,o,s,E.callable,E.delegationSelector)}}function K(u){return u=u.replace(b,""),V[u]||u}const S={on(u,o,s,d){Jn(u,o,s,d,!1)},one(u,o,s,d){Jn(u,o,s,d,!0)},off(u,o,s,d){if(typeof o!="string"||!u)return;const[g,v,E]=Hi(o,s,d),x=E!==o,L=tn(u),I=L[E]||{},M=o.startsWith(".");if(v===void 0){if(M)for(const D of Object.keys(L))z(u,L,D,o.slice(1));for(const D of Object.keys(I)){const G=D.replace(j,"");if(!x||o.includes(G)){const W=I[D];Tn(u,L,E,W.callable,W.delegationSelector)}}}else{if(!Object.keys(I).length)return;Tn(u,L,E,v,g?s:null)}},trigger(u,o,s){if(typeof o!="string"||!u)return null;const d=N();let g=null,v=!0,E=!0,x=!1;o!==K(o)&&d&&(g=d.Event(o,s),d(u).trigger(g),v=!g.isPropagationStopped(),E=!g.isImmediatePropagationStopped(),x=g.isDefaultPrevented());let L=new Event(o,{bubbles:v,cancelable:!0});return L=pe(L,s),x&&L.preventDefault(),E&&u.dispatchEvent(L),L.defaultPrevented&&g&&g.preventDefault(),L}};function pe(u,o){for(const[s,d]of Object.entries(o||{}))try{u[s]=d}catch{Object.defineProperty(u,s,{configurable:!0,get:()=>d})}return u}const ue=new Map,nn={set(u,o,s){ue.has(u)||ue.set(u,new Map);const d=ue.get(u);d.has(o)||d.size===0?d.set(o,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(d.keys())[0]}.`)},get:(u,o)=>ue.has(u)&&ue.get(u).get(o)||null,remove(u,o){if(!ue.has(u))return;const s=ue.get(u);s.delete(o),s.size===0&&ue.delete(u)}};function Lt(u){if(u==="true")return!0;if(u==="false")return!1;if(u===Number(u).toString())return Number(u);if(u===""||u==="null")return null;if(typeof u!="string")return u;try{return JSON.parse(decodeURIComponent(u))}catch{return u}}function On(u){return u.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`)}const Oe={setDataAttribute(u,o,s){u.setAttribute(`data-bs-${On(o)}`,s)},removeDataAttribute(u,o){u.removeAttribute(`data-bs-${On(o)}`)},getDataAttributes(u){if(!u)return{};const o={},s=Object.keys(u.dataset).filter(d=>d.startsWith("bs")&&!d.startsWith("bsConfig"));for(const d of s){let g=d.replace(/^bs/,"");g=g.charAt(0).toLowerCase()+g.slice(1,g.length),o[g]=Lt(u.dataset[d])}return o},getDataAttribute:(u,o)=>Lt(u.getAttribute(`data-bs-${On(o)}`))};class At{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(o){return o=this._mergeConfigObj(o),o=this._configAfterMerge(o),this._typeCheckConfig(o),o}_configAfterMerge(o){return o}_mergeConfigObj(o,s){const d=c(s)?Oe.getDataAttribute(s,"config"):{};return{...this.constructor.Default,...typeof d=="object"?d:{},...c(s)?Oe.getDataAttributes(s):{},...typeof o=="object"?o:{}}}_typeCheckConfig(o,s=this.constructor.DefaultType){for(const g of Object.keys(s)){const v=s[g],E=o[g],x=c(E)?"element":(d=E)==null?`${d}`:Object.prototype.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(v).test(x))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${g}" provided type "${x}" but expected type "${v}".`)}var d}}class wt extends At{constructor(o,s){super(),(o=f(o))&&(this._element=o,this._config=this._getConfig(s),nn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){nn.remove(this._element,this.constructor.DATA_KEY),S.off(this._element,this.constructor.EVENT_KEY);for(const o of Object.getOwnPropertyNames(this))this[o]=null}_queueCallback(o,s,d=!0){w(o,s,d)}_getConfig(o){return o=this._mergeConfigObj(o,this._element),o=this._configAfterMerge(o),this._typeCheckConfig(o),o}static getInstance(o){return nn.get(f(o),this.DATA_KEY)}static getOrCreateInstance(o,s={}){return this.getInstance(o)||new this(o,typeof s=="object"?s:null)}static get VERSION(){return"5.2.2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(o){return`${o}${this.EVENT_KEY}`}}const Vi=(u,o="hide")=>{const s=`click.dismiss${u.EVENT_KEY}`,d=u.NAME;S.on(document,s,`[data-bs-dismiss="${d}"]`,function(g){if(["A","AREA"].includes(this.tagName)&&g.preventDefault(),_(this))return;const v=l(this)||this.closest(`.${d}`);u.getOrCreateInstance(v)[o]()})};class Hr extends wt{static get NAME(){return"alert"}close(){if(S.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const o=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,o)}_destroyElement(){this._element.remove(),S.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(o){return this.each(function(){const s=Hr.getOrCreateInstance(this);if(typeof o=="string"){if(s[o]===void 0||o.startsWith("_")||o==="constructor")throw new TypeError(`No method named "${o}"`);s[o](this)}})}}Vi(Hr,"close"),m(Hr);const Fu='[data-bs-toggle="button"]';class Vr extends wt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(o){return this.each(function(){const s=Vr.getOrCreateInstance(this);o==="toggle"&&s[o]()})}}S.on(document,"click.bs.button.data-api",Fu,u=>{u.preventDefault();const o=u.target.closest(Fu);Vr.getOrCreateInstance(o).toggle()}),m(Vr);const X={find:(u,o=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(o,u)),findOne:(u,o=document.documentElement)=>Element.prototype.querySelector.call(o,u),children:(u,o)=>[].concat(...u.children).filter(s=>s.matches(o)),parents(u,o){const s=[];let d=u.parentNode.closest(o);for(;d;)s.push(d),d=d.parentNode.closest(o);return s},prev(u,o){let s=u.previousElementSibling;for(;s;){if(s.matches(o))return[s];s=s.previousElementSibling}return[]},next(u,o){let s=u.nextElementSibling;for(;s;){if(s.matches(o))return[s];s=s.nextElementSibling}return[]},focusableChildren(u){const o=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(s=>`${s}:not([tabindex^="-"])`).join(",");return this.find(o,u).filter(s=>!_(s)&&p(s))}},sm={endCallback:null,leftCallback:null,rightCallback:null},am={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ki extends At{constructor(o,s){super(),this._element=o,o&&Ki.isSupported()&&(this._config=this._getConfig(s),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return sm}static get DefaultType(){return am}static get NAME(){return"swipe"}dispose(){S.off(this._element,".bs.swipe")}_start(o){this._supportPointerEvents?this._eventIsPointerPenTouch(o)&&(this._deltaX=o.clientX):this._deltaX=o.touches[0].clientX}_end(o){this._eventIsPointerPenTouch(o)&&(this._deltaX=o.clientX-this._deltaX),this._handleSwipe(),h(this._config.endCallback)}_move(o){this._deltaX=o.touches&&o.touches.length>1?0:o.touches[0].clientX-this._deltaX}_handleSwipe(){const o=Math.abs(this._deltaX);if(o<=40)return;const s=o/this._deltaX;this._deltaX=0,s&&h(s>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(S.on(this._element,"pointerdown.bs.swipe",o=>this._start(o)),S.on(this._element,"pointerup.bs.swipe",o=>this._end(o)),this._element.classList.add("pointer-event")):(S.on(this._element,"touchstart.bs.swipe",o=>this._start(o)),S.on(this._element,"touchmove.bs.swipe",o=>this._move(o)),S.on(this._element,"touchend.bs.swipe",o=>this._end(o)))}_eventIsPointerPenTouch(o){return this._supportPointerEvents&&(o.pointerType==="pen"||o.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Kr="next",er="prev",tr="left",Qi="right",jl="slid.bs.carousel",$u="carousel",Yi="active",um={ArrowLeft:Qi,ArrowRight:tr},cm={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},fm={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class nr extends wt{constructor(o,s){super(o,s),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=X.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===$u&&this.cycle()}static get Default(){return cm}static get DefaultType(){return fm}static get NAME(){return"carousel"}next(){this._slide(Kr)}nextWhenVisible(){!document.hidden&&p(this._element)&&this.next()}prev(){this._slide(er)}pause(){this._isSliding&&a(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?S.one(this._element,jl,()=>this.cycle()):this.cycle())}to(o){const s=this._getItems();if(o>s.length-1||o<0)return;if(this._isSliding)return void S.one(this._element,jl,()=>this.to(o));const d=this._getItemIndex(this._getActive());if(d===o)return;const g=o>d?Kr:er;this._slide(g,s[o])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(o){return o.defaultInterval=o.interval,o}_addEventListeners(){this._config.keyboard&&S.on(this._element,"keydown.bs.carousel",o=>this._keydown(o)),this._config.pause==="hover"&&(S.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),S.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&Ki.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of X.find(".carousel-item img",this._element))S.on(s,"dragstart.bs.carousel",d=>d.preventDefault());const o={leftCallback:()=>this._slide(this._directionToOrder(tr)),rightCallback:()=>this._slide(this._directionToOrder(Qi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Ki(this._element,o)}_keydown(o){if(/input|textarea/i.test(o.target.tagName))return;const s=um[o.key];s&&(o.preventDefault(),this._slide(this._directionToOrder(s)))}_getItemIndex(o){return this._getItems().indexOf(o)}_setActiveIndicatorElement(o){if(!this._indicatorsElement)return;const s=X.findOne(".active",this._indicatorsElement);s.classList.remove(Yi),s.removeAttribute("aria-current");const d=X.findOne(`[data-bs-slide-to="${o}"]`,this._indicatorsElement);d&&(d.classList.add(Yi),d.setAttribute("aria-current","true"))}_updateInterval(){const o=this._activeElement||this._getActive();if(!o)return;const s=Number.parseInt(o.getAttribute("data-bs-interval"),10);this._config.interval=s||this._config.defaultInterval}_slide(o,s=null){if(this._isSliding)return;const d=this._getActive(),g=o===Kr,v=s||P(this._getItems(),d,g,this._config.wrap);if(v===d)return;const E=this._getItemIndex(v),x=D=>S.trigger(this._element,D,{relatedTarget:v,direction:this._orderToDirection(o),from:this._getItemIndex(d),to:E});if(x("slide.bs.carousel").defaultPrevented||!d||!v)return;const L=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(E),this._activeElement=v;const I=g?"carousel-item-start":"carousel-item-end",M=g?"carousel-item-next":"carousel-item-prev";v.classList.add(M),C(v),d.classList.add(I),v.classList.add(I),this._queueCallback(()=>{v.classList.remove(I,M),v.classList.add(Yi),d.classList.remove(Yi,M,I),this._isSliding=!1,x(jl)},d,this._isAnimated()),L&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return X.findOne(".active.carousel-item",this._element)}_getItems(){return X.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(o){return B()?o===tr?er:Kr:o===tr?Kr:er}_orderToDirection(o){return B()?o===er?tr:Qi:o===er?Qi:tr}static jQueryInterface(o){return this.each(function(){const s=nr.getOrCreateInstance(this,o);if(typeof o!="number"){if(typeof o=="string"){if(s[o]===void 0||o.startsWith("_")||o==="constructor")throw new TypeError(`No method named "${o}"`);s[o]()}}else s.to(o)})}}S.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(u){const o=l(this);if(!o||!o.classList.contains($u))return;u.preventDefault();const s=nr.getOrCreateInstance(o),d=this.getAttribute("data-bs-slide-to");return d?(s.to(d),void s._maybeEnableCycle()):Oe.getDataAttribute(this,"slide")==="next"?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())}),S.on(window,"load.bs.carousel.data-api",()=>{const u=X.find('[data-bs-ride="carousel"]');for(const o of u)nr.getOrCreateInstance(o)}),m(nr);const Fl="show",Xi="collapse",Gi="collapsing",$l='[data-bs-toggle="collapse"]',dm={parent:null,toggle:!0},pm={parent:"(null|element)",toggle:"boolean"};class rr extends wt{constructor(o,s){super(o,s),this._isTransitioning=!1,this._triggerArray=[];const d=X.find($l);for(const g of d){const v=i(g),E=X.find(v).filter(x=>x===this._element);v!==null&&E.length&&this._triggerArray.push(g)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return dm}static get DefaultType(){return pm}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let o=[];if(this._config.parent&&(o=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(g=>g!==this._element).map(g=>rr.getOrCreateInstance(g,{toggle:!1}))),o.length&&o[0]._isTransitioning||S.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const g of o)g.hide();const s=this._getDimension();this._element.classList.remove(Xi),this._element.classList.add(Gi),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const d=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Gi),this._element.classList.add(Xi,Fl),this._element.style[s]="",S.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[s]=`${this._element[d]}px`}hide(){if(this._isTransitioning||!this._isShown()||S.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const o=this._getDimension();this._element.style[o]=`${this._element.getBoundingClientRect()[o]}px`,C(this._element),this._element.classList.add(Gi),this._element.classList.remove(Xi,Fl);for(const s of this._triggerArray){const d=l(s);d&&!this._isShown(d)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0,this._element.style[o]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Gi),this._element.classList.add(Xi),S.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(o=this._element){return o.classList.contains(Fl)}_configAfterMerge(o){return o.toggle=Boolean(o.toggle),o.parent=f(o.parent),o}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const o=this._getFirstLevelChildren($l);for(const s of o){const d=l(s);d&&this._addAriaAndCollapsedClass([s],this._isShown(d))}}_getFirstLevelChildren(o){const s=X.find(":scope .collapse .collapse",this._config.parent);return X.find(o,this._config.parent).filter(d=>!s.includes(d))}_addAriaAndCollapsedClass(o,s){if(o.length)for(const d of o)d.classList.toggle("collapsed",!s),d.setAttribute("aria-expanded",s)}static jQueryInterface(o){const s={};return typeof o=="string"&&/show|hide/.test(o)&&(s.toggle=!1),this.each(function(){const d=rr.getOrCreateInstance(this,s);if(typeof o=="string"){if(d[o]===void 0)throw new TypeError(`No method named "${o}"`);d[o]()}})}}S.on(document,"click.bs.collapse.data-api",$l,function(u){(u.target.tagName==="A"||u.delegateTarget&&u.delegateTarget.tagName==="A")&&u.preventDefault();const o=i(this),s=X.find(o);for(const d of s)rr.getOrCreateInstance(d,{toggle:!1}).toggle()}),m(rr);var Fe="top",tt="bottom",nt="right",$e="left",qi="auto",ir=[Fe,tt,nt,$e],Ln="start",or="end",Bu="clippingParents",Bl="viewport",lr="popper",Uu="reference",Ul=ir.reduce(function(u,o){return u.concat([o+"-"+Ln,o+"-"+or])},[]),Wl=[].concat(ir,[qi]).reduce(function(u,o){return u.concat([o,o+"-"+Ln,o+"-"+or])},[]),Wu="beforeRead",Hu="read",Vu="afterRead",Ku="beforeMain",Qu="main",Yu="afterMain",Xu="beforeWrite",Gu="write",qu="afterWrite",Zu=[Wu,Hu,Vu,Ku,Qu,Yu,Xu,Gu,qu];function Dt(u){return u?(u.nodeName||"").toLowerCase():null}function ct(u){if(u==null)return window;if(u.toString()!=="[object Window]"){var o=u.ownerDocument;return o&&o.defaultView||window}return u}function An(u){return u instanceof ct(u).Element||u instanceof Element}function ft(u){return u instanceof ct(u).HTMLElement||u instanceof HTMLElement}function Hl(u){return typeof ShadowRoot<"u"&&(u instanceof ct(u).ShadowRoot||u instanceof ShadowRoot)}const Vl={name:"applyStyles",enabled:!0,phase:"write",fn:function(u){var o=u.state;Object.keys(o.elements).forEach(function(s){var d=o.styles[s]||{},g=o.attributes[s]||{},v=o.elements[s];ft(v)&&Dt(v)&&(Object.assign(v.style,d),Object.keys(g).forEach(function(E){var x=g[E];x===!1?v.removeAttribute(E):v.setAttribute(E,x===!0?"":x)}))})},effect:function(u){var o=u.state,s={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,s.popper),o.styles=s,o.elements.arrow&&Object.assign(o.elements.arrow.style,s.arrow),function(){Object.keys(o.elements).forEach(function(d){var g=o.elements[d],v=o.attributes[d]||{},E=Object.keys(o.styles.hasOwnProperty(d)?o.styles[d]:s[d]).reduce(function(x,L){return x[L]="",x},{});ft(g)&&Dt(g)&&(Object.assign(g.style,E),Object.keys(v).forEach(function(x){g.removeAttribute(x)}))})}},requires:["computeStyles"]};function bt(u){return u.split("-")[0]}var Dn=Math.max,Zi=Math.min,sr=Math.round;function Kl(){var u=navigator.userAgentData;return u!=null&&u.brands?u.brands.map(function(o){return o.brand+"/"+o.version}).join(" "):navigator.userAgent}function Ju(){return!/^((?!chrome|android).)*safari/i.test(Kl())}function ar(u,o,s){o===void 0&&(o=!1),s===void 0&&(s=!1);var d=u.getBoundingClientRect(),g=1,v=1;o&&ft(u)&&(g=u.offsetWidth>0&&sr(d.width)/u.offsetWidth||1,v=u.offsetHeight>0&&sr(d.height)/u.offsetHeight||1);var E=(An(u)?ct(u):window).visualViewport,x=!Ju()&&s,L=(d.left+(x&&E?E.offsetLeft:0))/g,I=(d.top+(x&&E?E.offsetTop:0))/v,M=d.width/g,D=d.height/v;return{width:M,height:D,top:I,right:L+M,bottom:I+D,left:L,x:L,y:I}}function Ql(u){var o=ar(u),s=u.offsetWidth,d=u.offsetHeight;return Math.abs(o.width-s)<=1&&(s=o.width),Math.abs(o.height-d)<=1&&(d=o.height),{x:u.offsetLeft,y:u.offsetTop,width:s,height:d}}function ec(u,o){var s=o.getRootNode&&o.getRootNode();if(u.contains(o))return!0;if(s&&Hl(s)){var d=o;do{if(d&&u.isSameNode(d))return!0;d=d.parentNode||d.host}while(d)}return!1}function Bt(u){return ct(u).getComputedStyle(u)}function hm(u){return["table","td","th"].indexOf(Dt(u))>=0}function rn(u){return((An(u)?u.ownerDocument:u.document)||window.document).documentElement}function Ji(u){return Dt(u)==="html"?u:u.assignedSlot||u.parentNode||(Hl(u)?u.host:null)||rn(u)}function tc(u){return ft(u)&&Bt(u).position!=="fixed"?u.offsetParent:null}function Qr(u){for(var o=ct(u),s=tc(u);s&&hm(s)&&Bt(s).position==="static";)s=tc(s);return s&&(Dt(s)==="html"||Dt(s)==="body"&&Bt(s).position==="static")?o:s||function(d){var g=/firefox/i.test(Kl());if(/Trident/i.test(Kl())&&ft(d)&&Bt(d).position==="fixed")return null;var v=Ji(d);for(Hl(v)&&(v=v.host);ft(v)&&["html","body"].indexOf(Dt(v))<0;){var E=Bt(v);if(E.transform!=="none"||E.perspective!=="none"||E.contain==="paint"||["transform","perspective"].indexOf(E.willChange)!==-1||g&&E.willChange==="filter"||g&&E.filter&&E.filter!=="none")return v;v=v.parentNode}return null}(u)||o}function Yl(u){return["top","bottom"].indexOf(u)>=0?"x":"y"}function Yr(u,o,s){return Dn(u,Zi(o,s))}function nc(u){return Object.assign({},{top:0,right:0,bottom:0,left:0},u)}function rc(u,o){return o.reduce(function(s,d){return s[d]=u,s},{})}const ic={name:"arrow",enabled:!0,phase:"main",fn:function(u){var o,s=u.state,d=u.name,g=u.options,v=s.elements.arrow,E=s.modifiersData.popperOffsets,x=bt(s.placement),L=Yl(x),I=[$e,nt].indexOf(x)>=0?"height":"width";if(v&&E){var M=function(se,ie){return nc(typeof(se=typeof se=="function"?se(Object.assign({},ie.rects,{placement:ie.placement})):se)!="number"?se:rc(se,ir))}(g.padding,s),D=Ql(v),G=L==="y"?Fe:$e,W=L==="y"?tt:nt,Q=s.rects.reference[I]+s.rects.reference[L]-E[L]-s.rects.popper[I],H=E[L]-s.rects.reference[L],Y=Qr(v),le=Y?L==="y"?Y.clientHeight||0:Y.clientWidth||0:0,fe=Q/2-H/2,Z=M[G],ne=le-D[I]-M[W],q=le/2-D[I]/2+fe,ee=Yr(Z,q,ne),re=L;s.modifiersData[d]=((o={})[re]=ee,o.centerOffset=ee-q,o)}},effect:function(u){var o=u.state,s=u.options.element,d=s===void 0?"[data-popper-arrow]":s;d!=null&&(typeof d!="string"||(d=o.elements.popper.querySelector(d)))&&ec(o.elements.popper,d)&&(o.elements.arrow=d)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ur(u){return u.split("-")[1]}var mm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oc(u){var o,s=u.popper,d=u.popperRect,g=u.placement,v=u.variation,E=u.offsets,x=u.position,L=u.gpuAcceleration,I=u.adaptive,M=u.roundOffsets,D=u.isFixed,G=E.x,W=G===void 0?0:G,Q=E.y,H=Q===void 0?0:Q,Y=typeof M=="function"?M({x:W,y:H}):{x:W,y:H};W=Y.x,H=Y.y;var le=E.hasOwnProperty("x"),fe=E.hasOwnProperty("y"),Z=$e,ne=Fe,q=window;if(I){var ee=Qr(s),re="clientHeight",se="clientWidth";ee===ct(s)&&Bt(ee=rn(s)).position!=="static"&&x==="absolute"&&(re="scrollHeight",se="scrollWidth"),(g===Fe||(g===$e||g===nt)&&v===or)&&(ne=tt,H-=(D&&ee===q&&q.visualViewport?q.visualViewport.height:ee[re])-d.height,H*=L?1:-1),g!==$e&&(g!==Fe&&g!==tt||v!==or)||(Z=nt,W-=(D&&ee===q&&q.visualViewport?q.visualViewport.width:ee[se])-d.width,W*=L?1:-1)}var ie,ke=Object.assign({position:x},I&&mm),rt=M===!0?function(St){var Be=St.x,dt=St.y,Ue=window.devicePixelRatio||1;return{x:sr(Be*Ue)/Ue||0,y:sr(dt*Ue)/Ue||0}}({x:W,y:H}):{x:W,y:H};return W=rt.x,H=rt.y,L?Object.assign({},ke,((ie={})[ne]=fe?"0":"",ie[Z]=le?"0":"",ie.transform=(q.devicePixelRatio||1)<=1?"translate("+W+"px, "+H+"px)":"translate3d("+W+"px, "+H+"px, 0)",ie)):Object.assign({},ke,((o={})[ne]=fe?H+"px":"",o[Z]=le?W+"px":"",o.transform="",o))}const Xl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(u){var o=u.state,s=u.options,d=s.gpuAcceleration,g=d===void 0||d,v=s.adaptive,E=v===void 0||v,x=s.roundOffsets,L=x===void 0||x,I={placement:bt(o.placement),variation:ur(o.placement),popper:o.elements.popper,popperRect:o.rects.popper,gpuAcceleration:g,isFixed:o.options.strategy==="fixed"};o.modifiersData.popperOffsets!=null&&(o.styles.popper=Object.assign({},o.styles.popper,oc(Object.assign({},I,{offsets:o.modifiersData.popperOffsets,position:o.options.strategy,adaptive:E,roundOffsets:L})))),o.modifiersData.arrow!=null&&(o.styles.arrow=Object.assign({},o.styles.arrow,oc(Object.assign({},I,{offsets:o.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:L})))),o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-placement":o.placement})},data:{}};var eo={passive:!0};const Gl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(u){var o=u.state,s=u.instance,d=u.options,g=d.scroll,v=g===void 0||g,E=d.resize,x=E===void 0||E,L=ct(o.elements.popper),I=[].concat(o.scrollParents.reference,o.scrollParents.popper);return v&&I.forEach(function(M){M.addEventListener("scroll",s.update,eo)}),x&&L.addEventListener("resize",s.update,eo),function(){v&&I.forEach(function(M){M.removeEventListener("scroll",s.update,eo)}),x&&L.removeEventListener("resize",s.update,eo)}},data:{}};var gm={left:"right",right:"left",bottom:"top",top:"bottom"};function to(u){return u.replace(/left|right|bottom|top/g,function(o){return gm[o]})}var vm={start:"end",end:"start"};function lc(u){return u.replace(/start|end/g,function(o){return vm[o]})}function ql(u){var o=ct(u);return{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Zl(u){return ar(rn(u)).left+ql(u).scrollLeft}function Jl(u){var o=Bt(u),s=o.overflow,d=o.overflowX,g=o.overflowY;return/auto|scroll|overlay|hidden/.test(s+g+d)}function sc(u){return["html","body","#document"].indexOf(Dt(u))>=0?u.ownerDocument.body:ft(u)&&Jl(u)?u:sc(Ji(u))}function Xr(u,o){var s;o===void 0&&(o=[]);var d=sc(u),g=d===((s=u.ownerDocument)==null?void 0:s.body),v=ct(d),E=g?[v].concat(v.visualViewport||[],Jl(d)?d:[]):d,x=o.concat(E);return g?x:x.concat(Xr(Ji(E)))}function es(u){return Object.assign({},u,{left:u.x,top:u.y,right:u.x+u.width,bottom:u.y+u.height})}function ac(u,o,s){return o===Bl?es(function(d,g){var v=ct(d),E=rn(d),x=v.visualViewport,L=E.clientWidth,I=E.clientHeight,M=0,D=0;if(x){L=x.width,I=x.height;var G=Ju();(G||!G&&g==="fixed")&&(M=x.offsetLeft,D=x.offsetTop)}return{width:L,height:I,x:M+Zl(d),y:D}}(u,s)):An(o)?function(d,g){var v=ar(d,!1,g==="fixed");return v.top=v.top+d.clientTop,v.left=v.left+d.clientLeft,v.bottom=v.top+d.clientHeight,v.right=v.left+d.clientWidth,v.width=d.clientWidth,v.height=d.clientHeight,v.x=v.left,v.y=v.top,v}(o,s):es(function(d){var g,v=rn(d),E=ql(d),x=(g=d.ownerDocument)==null?void 0:g.body,L=Dn(v.scrollWidth,v.clientWidth,x?x.scrollWidth:0,x?x.clientWidth:0),I=Dn(v.scrollHeight,v.clientHeight,x?x.scrollHeight:0,x?x.clientHeight:0),M=-E.scrollLeft+Zl(d),D=-E.scrollTop;return Bt(x||v).direction==="rtl"&&(M+=Dn(v.clientWidth,x?x.clientWidth:0)-L),{width:L,height:I,x:M,y:D}}(rn(u)))}function uc(u){var o,s=u.reference,d=u.element,g=u.placement,v=g?bt(g):null,E=g?ur(g):null,x=s.x+s.width/2-d.width/2,L=s.y+s.height/2-d.height/2;switch(v){case Fe:o={x,y:s.y-d.height};break;case tt:o={x,y:s.y+s.height};break;case nt:o={x:s.x+s.width,y:L};break;case $e:o={x:s.x-d.width,y:L};break;default:o={x:s.x,y:s.y}}var I=v?Yl(v):null;if(I!=null){var M=I==="y"?"height":"width";switch(E){case Ln:o[I]=o[I]-(s[M]/2-d[M]/2);break;case or:o[I]=o[I]+(s[M]/2-d[M]/2)}}return o}function cr(u,o){o===void 0&&(o={});var s=o,d=s.placement,g=d===void 0?u.placement:d,v=s.strategy,E=v===void 0?u.strategy:v,x=s.boundary,L=x===void 0?Bu:x,I=s.rootBoundary,M=I===void 0?Bl:I,D=s.elementContext,G=D===void 0?lr:D,W=s.altBoundary,Q=W!==void 0&&W,H=s.padding,Y=H===void 0?0:H,le=nc(typeof Y!="number"?Y:rc(Y,ir)),fe=G===lr?Uu:lr,Z=u.rects.popper,ne=u.elements[Q?fe:G],q=function(Be,dt,Ue,Le){var It=dt==="clippingParents"?function(ce){var We=Xr(Ji(ce)),pt=["absolute","fixed"].indexOf(Bt(ce).position)>=0&&ft(ce)?Qr(ce):ce;return An(pt)?We.filter(function(on){return An(on)&&ec(on,pt)&&Dt(on)!=="body"}):[]}(Be):[].concat(dt),zt=[].concat(It,[Ue]),fr=zt[0],Pe=zt.reduce(function(ce,We){var pt=ac(Be,We,Le);return ce.top=Dn(pt.top,ce.top),ce.right=Zi(pt.right,ce.right),ce.bottom=Zi(pt.bottom,ce.bottom),ce.left=Dn(pt.left,ce.left),ce},ac(Be,fr,Le));return Pe.width=Pe.right-Pe.left,Pe.height=Pe.bottom-Pe.top,Pe.x=Pe.left,Pe.y=Pe.top,Pe}(An(ne)?ne:ne.contextElement||rn(u.elements.popper),L,M,E),ee=ar(u.elements.reference),re=uc({reference:ee,element:Z,strategy:"absolute",placement:g}),se=es(Object.assign({},Z,re)),ie=G===lr?se:ee,ke={top:q.top-ie.top+le.top,bottom:ie.bottom-q.bottom+le.bottom,left:q.left-ie.left+le.left,right:ie.right-q.right+le.right},rt=u.modifiersData.offset;if(G===lr&&rt){var St=rt[g];Object.keys(ke).forEach(function(Be){var dt=[nt,tt].indexOf(Be)>=0?1:-1,Ue=[Fe,tt].indexOf(Be)>=0?"y":"x";ke[Be]+=St[Ue]*dt})}return ke}function ym(u,o){o===void 0&&(o={});var s=o,d=s.placement,g=s.boundary,v=s.rootBoundary,E=s.padding,x=s.flipVariations,L=s.allowedAutoPlacements,I=L===void 0?Wl:L,M=ur(d),D=M?x?Ul:Ul.filter(function(Q){return ur(Q)===M}):ir,G=D.filter(function(Q){return I.indexOf(Q)>=0});G.length===0&&(G=D);var W=G.reduce(function(Q,H){return Q[H]=cr(u,{placement:H,boundary:g,rootBoundary:v,padding:E})[bt(H)],Q},{});return Object.keys(W).sort(function(Q,H){return W[Q]-W[H]})}const cc={name:"flip",enabled:!0,phase:"main",fn:function(u){var o=u.state,s=u.options,d=u.name;if(!o.modifiersData[d]._skip){for(var g=s.mainAxis,v=g===void 0||g,E=s.altAxis,x=E===void 0||E,L=s.fallbackPlacements,I=s.padding,M=s.boundary,D=s.rootBoundary,G=s.altBoundary,W=s.flipVariations,Q=W===void 0||W,H=s.allowedAutoPlacements,Y=o.options.placement,le=bt(Y),fe=L||(le!==Y&&Q?function(ce){if(bt(ce)===qi)return[];var We=to(ce);return[lc(ce),We,lc(We)]}(Y):[to(Y)]),Z=[Y].concat(fe).reduce(function(ce,We){return ce.concat(bt(We)===qi?ym(o,{placement:We,boundary:M,rootBoundary:D,padding:I,flipVariations:Q,allowedAutoPlacements:H}):We)},[]),ne=o.rects.reference,q=o.rects.popper,ee=new Map,re=!0,se=Z[0],ie=0;ie=0,dt=Be?"width":"height",Ue=cr(o,{placement:ke,boundary:M,rootBoundary:D,altBoundary:G,padding:I}),Le=Be?St?nt:$e:St?tt:Fe;ne[dt]>q[dt]&&(Le=to(Le));var It=to(Le),zt=[];if(v&&zt.push(Ue[rt]<=0),x&&zt.push(Ue[Le]<=0,Ue[It]<=0),zt.every(function(ce){return ce})){se=ke,re=!1;break}ee.set(ke,zt)}if(re)for(var fr=function(ce){var We=Z.find(function(pt){var on=ee.get(pt);if(on)return on.slice(0,ce).every(function(fo){return fo})});if(We)return se=We,"break"},Pe=Q?3:1;Pe>0&&fr(Pe)!=="break";Pe--);o.placement!==se&&(o.modifiersData[d]._skip=!0,o.placement=se,o.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function fc(u,o,s){return s===void 0&&(s={x:0,y:0}),{top:u.top-o.height-s.y,right:u.right-o.width+s.x,bottom:u.bottom-o.height+s.y,left:u.left-o.width-s.x}}function dc(u){return[Fe,nt,tt,$e].some(function(o){return u[o]>=0})}const pc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(u){var o=u.state,s=u.name,d=o.rects.reference,g=o.rects.popper,v=o.modifiersData.preventOverflow,E=cr(o,{elementContext:"reference"}),x=cr(o,{altBoundary:!0}),L=fc(E,d),I=fc(x,g,v),M=dc(L),D=dc(I);o.modifiersData[s]={referenceClippingOffsets:L,popperEscapeOffsets:I,isReferenceHidden:M,hasPopperEscaped:D},o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-reference-hidden":M,"data-popper-escaped":D})}},hc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(u){var o=u.state,s=u.options,d=u.name,g=s.offset,v=g===void 0?[0,0]:g,E=Wl.reduce(function(M,D){return M[D]=function(G,W,Q){var H=bt(G),Y=[$e,Fe].indexOf(H)>=0?-1:1,le=typeof Q=="function"?Q(Object.assign({},W,{placement:G})):Q,fe=le[0],Z=le[1];return fe=fe||0,Z=(Z||0)*Y,[$e,nt].indexOf(H)>=0?{x:Z,y:fe}:{x:fe,y:Z}}(D,o.rects,v),M},{}),x=E[o.placement],L=x.x,I=x.y;o.modifiersData.popperOffsets!=null&&(o.modifiersData.popperOffsets.x+=L,o.modifiersData.popperOffsets.y+=I),o.modifiersData[d]=E}},ts={name:"popperOffsets",enabled:!0,phase:"read",fn:function(u){var o=u.state,s=u.name;o.modifiersData[s]=uc({reference:o.rects.reference,element:o.rects.popper,strategy:"absolute",placement:o.placement})},data:{}},mc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(u){var o=u.state,s=u.options,d=u.name,g=s.mainAxis,v=g===void 0||g,E=s.altAxis,x=E!==void 0&&E,L=s.boundary,I=s.rootBoundary,M=s.altBoundary,D=s.padding,G=s.tether,W=G===void 0||G,Q=s.tetherOffset,H=Q===void 0?0:Q,Y=cr(o,{boundary:L,rootBoundary:I,padding:D,altBoundary:M}),le=bt(o.placement),fe=ur(o.placement),Z=!fe,ne=Yl(le),q=ne==="x"?"y":"x",ee=o.modifiersData.popperOffsets,re=o.rects.reference,se=o.rects.popper,ie=typeof H=="function"?H(Object.assign({},o.rects,{placement:o.placement})):H,ke=typeof ie=="number"?{mainAxis:ie,altAxis:ie}:Object.assign({mainAxis:0,altAxis:0},ie),rt=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,St={x:0,y:0};if(ee){if(v){var Be,dt=ne==="y"?Fe:$e,Ue=ne==="y"?tt:nt,Le=ne==="y"?"height":"width",It=ee[ne],zt=It+Y[dt],fr=It-Y[Ue],Pe=W?-se[Le]/2:0,ce=fe===Ln?re[Le]:se[Le],We=fe===Ln?-se[Le]:-re[Le],pt=o.elements.arrow,on=W&&pt?Ql(pt):{width:0,height:0},fo=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Jc=fo[dt],ef=fo[Ue],po=Yr(0,re[Le],on[Le]),sg=Z?re[Le]/2-Pe-po-Jc-ke.mainAxis:ce-po-Jc-ke.mainAxis,ag=Z?-re[Le]/2+Pe+po+ef+ke.mainAxis:We+po+ef+ke.mainAxis,as=o.elements.arrow&&Qr(o.elements.arrow),ug=as?ne==="y"?as.clientTop||0:as.clientLeft||0:0,tf=(Be=rt==null?void 0:rt[ne])!=null?Be:0,cg=It+ag-tf,nf=Yr(W?Zi(zt,It+sg-tf-ug):zt,It,W?Dn(fr,cg):fr);ee[ne]=nf,St[ne]=nf-It}if(x){var rf,fg=ne==="x"?Fe:$e,dg=ne==="x"?tt:nt,Mn=ee[q],ho=q==="y"?"height":"width",of=Mn+Y[fg],lf=Mn-Y[dg],us=[Fe,$e].indexOf(le)!==-1,sf=(rf=rt==null?void 0:rt[q])!=null?rf:0,af=us?of:Mn-re[ho]-se[ho]-sf+ke.altAxis,uf=us?Mn+re[ho]+se[ho]-sf-ke.altAxis:lf,cf=W&&us?function(pg,hg,cs){var ff=Yr(pg,hg,cs);return ff>cs?cs:ff}(af,Mn,uf):Yr(W?af:of,Mn,W?uf:lf);ee[q]=cf,St[q]=cf-Mn}o.modifiersData[d]=St}},requiresIfExists:["offset"]};function _m(u,o,s){s===void 0&&(s=!1);var d,g,v=ft(o),E=ft(o)&&function(D){var G=D.getBoundingClientRect(),W=sr(G.width)/D.offsetWidth||1,Q=sr(G.height)/D.offsetHeight||1;return W!==1||Q!==1}(o),x=rn(o),L=ar(u,E,s),I={scrollLeft:0,scrollTop:0},M={x:0,y:0};return(v||!v&&!s)&&((Dt(o)!=="body"||Jl(x))&&(I=(d=o)!==ct(d)&&ft(d)?{scrollLeft:(g=d).scrollLeft,scrollTop:g.scrollTop}:ql(d)),ft(o)?((M=ar(o,!0)).x+=o.clientLeft,M.y+=o.clientTop):x&&(M.x=Zl(x))),{x:L.left+I.scrollLeft-M.x,y:L.top+I.scrollTop-M.y,width:L.width,height:L.height}}function wm(u){var o=new Map,s=new Set,d=[];function g(v){s.add(v.name),[].concat(v.requires||[],v.requiresIfExists||[]).forEach(function(E){if(!s.has(E)){var x=o.get(E);x&&g(x)}}),d.push(v)}return u.forEach(function(v){o.set(v.name,v)}),u.forEach(function(v){s.has(v.name)||g(v)}),d}var gc={placement:"bottom",modifiers:[],strategy:"absolute"};function vc(){for(var u=arguments.length,o=new Array(u),s=0;sNumber.parseInt(s,10)):typeof o=="function"?s=>o(s,this._element):o}_getPopperConfig(){const o={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"),o.modifiers=[{name:"applyStyles",enabled:!1}]),{...o,...typeof this._config.popperConfig=="function"?this._config.popperConfig(o):this._config.popperConfig}}_selectMenuItem({key:o,target:s}){const d=X.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(g=>p(g));d.length&&P(d,s,o===wc,!d.includes(s)).focus()}static jQueryInterface(o){return this.each(function(){const s=kt.getOrCreateInstance(this,o);if(typeof o=="string"){if(s[o]===void 0)throw new TypeError(`No method named "${o}"`);s[o]()}})}static clearMenus(o){if(o.button===2||o.type==="keyup"&&o.key!=="Tab")return;const s=X.find(Cm);for(const d of s){const g=kt.getInstance(d);if(!g||g._config.autoClose===!1)continue;const v=o.composedPath(),E=v.includes(g._menu);if(v.includes(g._element)||g._config.autoClose==="inside"&&!E||g._config.autoClose==="outside"&&E||g._menu.contains(o.target)&&(o.type==="keyup"&&o.key==="Tab"||/input|select|option|textarea|form/i.test(o.target.tagName)))continue;const x={relatedTarget:g._element};o.type==="click"&&(x.clickEvent=o),g._completeHide(x)}}static dataApiKeydownHandler(o){const s=/input|textarea/i.test(o.target.tagName),d=o.key==="Escape",g=[Em,wc].includes(o.key);if(!g&&!d||s&&!d)return;o.preventDefault();const v=this.matches(bn)?this:X.prev(this,bn)[0]||X.next(this,bn)[0]||X.findOne(bn,o.delegateTarget.parentNode),E=kt.getOrCreateInstance(v);if(g)return o.stopPropagation(),E.show(),void E._selectMenuItem(o);E._isShown()&&(o.stopPropagation(),E.hide(),v.focus())}}S.on(document,Sc,bn,kt.dataApiKeydownHandler),S.on(document,Sc,ro,kt.dataApiKeydownHandler),S.on(document,kc,kt.clearMenus),S.on(document,"keyup.bs.dropdown.data-api",kt.clearMenus),S.on(document,kc,bn,function(u){u.preventDefault(),kt.getOrCreateInstance(this).toggle()}),m(kt);const Ec=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Cc=".sticky-top",io="padding-right",xc="margin-right";class rs{constructor(){this._element=document.body}getWidth(){const o=document.documentElement.clientWidth;return Math.abs(window.innerWidth-o)}hide(){const o=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,io,s=>s+o),this._setElementAttributes(Ec,io,s=>s+o),this._setElementAttributes(Cc,xc,s=>s-o)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,io),this._resetElementAttributes(Ec,io),this._resetElementAttributes(Cc,xc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(o,s,d){const g=this.getWidth();this._applyManipulationCallback(o,v=>{if(v!==this._element&&window.innerWidth>v.clientWidth+g)return;this._saveInitialAttribute(v,s);const E=window.getComputedStyle(v).getPropertyValue(s);v.style.setProperty(s,`${d(Number.parseFloat(E))}px`)})}_saveInitialAttribute(o,s){const d=o.style.getPropertyValue(s);d&&Oe.setDataAttribute(o,s,d)}_resetElementAttributes(o,s){this._applyManipulationCallback(o,d=>{const g=Oe.getDataAttribute(d,s);g!==null?(Oe.removeDataAttribute(d,s),d.style.setProperty(s,g)):d.style.removeProperty(s)})}_applyManipulationCallback(o,s){if(c(o))s(o);else for(const d of X.find(o,this._element))s(d)}}const Pc="show",Nc="mousedown.bs.backdrop",bm={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Im={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Tc extends At{constructor(o){super(),this._config=this._getConfig(o),this._isAppended=!1,this._element=null}static get Default(){return bm}static get DefaultType(){return Im}static get NAME(){return"backdrop"}show(o){if(!this._config.isVisible)return void h(o);this._append();const s=this._getElement();this._config.isAnimated&&C(s),s.classList.add(Pc),this._emulateAnimation(()=>{h(o)})}hide(o){this._config.isVisible?(this._getElement().classList.remove(Pc),this._emulateAnimation(()=>{this.dispose(),h(o)})):h(o)}dispose(){this._isAppended&&(S.off(this._element,Nc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const o=document.createElement("div");o.className=this._config.className,this._config.isAnimated&&o.classList.add("fade"),this._element=o}return this._element}_configAfterMerge(o){return o.rootElement=f(o.rootElement),o}_append(){if(this._isAppended)return;const o=this._getElement();this._config.rootElement.append(o),S.on(o,Nc,()=>{h(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(o){w(o,this._getElement(),this._config.isAnimated)}}const Oc=".bs.focustrap",Lc="backward",zm={autofocus:!0,trapElement:null},Rm={autofocus:"boolean",trapElement:"element"};class Ac extends At{constructor(o){super(),this._config=this._getConfig(o),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return zm}static get DefaultType(){return Rm}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),S.off(document,Oc),S.on(document,"focusin.bs.focustrap",o=>this._handleFocusin(o)),S.on(document,"keydown.tab.bs.focustrap",o=>this._handleKeydown(o)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,S.off(document,Oc))}_handleFocusin(o){const{trapElement:s}=this._config;if(o.target===document||o.target===s||s.contains(o.target))return;const d=X.focusableChildren(s);d.length===0?s.focus():this._lastTabNavDirection===Lc?d[d.length-1].focus():d[0].focus()}_handleKeydown(o){o.key==="Tab"&&(this._lastTabNavDirection=o.shiftKey?Lc:"forward")}}const Dc="hidden.bs.modal",bc="show.bs.modal",Ic="modal-open",zc="show",is="modal-static",Mm={backdrop:!0,focus:!0,keyboard:!0},jm={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class In extends wt{constructor(o,s){super(o,s),this._dialog=X.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new rs,this._addEventListeners()}static get Default(){return Mm}static get DefaultType(){return jm}static get NAME(){return"modal"}toggle(o){return this._isShown?this.hide():this.show(o)}show(o){this._isShown||this._isTransitioning||S.trigger(this._element,bc,{relatedTarget:o}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ic),this._adjustDialog(),this._backdrop.show(()=>this._showElement(o)))}hide(){this._isShown&&!this._isTransitioning&&(S.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(zc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){for(const o of[window,this._dialog])S.off(o,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Tc({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ac({trapElement:this._element})}_showElement(o){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 s=X.findOne(".modal-body",this._dialog);s&&(s.scrollTop=0),C(this._element),this._element.classList.add(zc),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,S.trigger(this._element,"shown.bs.modal",{relatedTarget:o})},this._dialog,this._isAnimated())}_addEventListeners(){S.on(this._element,"keydown.dismiss.bs.modal",o=>{if(o.key==="Escape")return this._config.keyboard?(o.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),S.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),S.on(this._element,"mousedown.dismiss.bs.modal",o=>{S.one(this._element,"click.dismiss.bs.modal",s=>{this._element===o.target&&this._element===s.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(Ic),this._resetAdjustments(),this._scrollBar.reset(),S.trigger(this._element,Dc)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(S.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const o=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(is)||(o||(this._element.style.overflowY="hidden"),this._element.classList.add(is),this._queueCallback(()=>{this._element.classList.remove(is),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const o=this._element.scrollHeight>document.documentElement.clientHeight,s=this._scrollBar.getWidth(),d=s>0;if(d&&!o){const g=B()?"paddingLeft":"paddingRight";this._element.style[g]=`${s}px`}if(!d&&o){const g=B()?"paddingRight":"paddingLeft";this._element.style[g]=`${s}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(o,s){return this.each(function(){const d=In.getOrCreateInstance(this,o);if(typeof o=="string"){if(d[o]===void 0)throw new TypeError(`No method named "${o}"`);d[o](s)}})}}S.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(u){const o=l(this);["A","AREA"].includes(this.tagName)&&u.preventDefault(),S.one(o,bc,d=>{d.defaultPrevented||S.one(o,Dc,()=>{p(this)&&this.focus()})});const s=X.findOne(".modal.show");s&&In.getInstance(s).hide(),In.getOrCreateInstance(o).toggle(this)}),Vi(In),m(In);const Rc="show",Mc="showing",jc="hiding",Fc=".offcanvas.show",$c="hidePrevented.bs.offcanvas",Bc="hidden.bs.offcanvas",Fm={backdrop:!0,keyboard:!0,scroll:!1},$m={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ut extends wt{constructor(o,s){super(o,s),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Fm}static get DefaultType(){return $m}static get NAME(){return"offcanvas"}toggle(o){return this._isShown?this.hide():this.show(o)}show(o){this._isShown||S.trigger(this._element,"show.bs.offcanvas",{relatedTarget:o}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new rs().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mc),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Rc),this._element.classList.remove(Mc),S.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:o})},this._element,!0))}hide(){this._isShown&&(S.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(jc),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Rc,jc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new rs().reset(),S.trigger(this._element,Bc)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const o=Boolean(this._config.backdrop);return new Tc({className:"offcanvas-backdrop",isVisible:o,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:o?()=>{this._config.backdrop!=="static"?this.hide():S.trigger(this._element,$c)}:null})}_initializeFocusTrap(){return new Ac({trapElement:this._element})}_addEventListeners(){S.on(this._element,"keydown.dismiss.bs.offcanvas",o=>{o.key==="Escape"&&(this._config.keyboard?this.hide():S.trigger(this._element,$c))})}static jQueryInterface(o){return this.each(function(){const s=Ut.getOrCreateInstance(this,o);if(typeof o=="string"){if(s[o]===void 0||o.startsWith("_")||o==="constructor")throw new TypeError(`No method named "${o}"`);s[o](this)}})}}S.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(u){const o=l(this);if(["A","AREA"].includes(this.tagName)&&u.preventDefault(),_(this))return;S.one(o,Bc,()=>{p(this)&&this.focus()});const s=X.findOne(Fc);s&&s!==o&&Ut.getInstance(s).hide(),Ut.getOrCreateInstance(o).toggle(this)}),S.on(window,"load.bs.offcanvas.data-api",()=>{for(const u of X.find(Fc))Ut.getOrCreateInstance(u).show()}),S.on(window,"resize.bs.offcanvas",()=>{for(const u of X.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(u).position!=="fixed"&&Ut.getOrCreateInstance(u).hide()}),Vi(Ut),m(Ut);const Bm=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Um=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Wm=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Hm=(u,o)=>{const s=u.nodeName.toLowerCase();return o.includes(s)?!Bm.has(s)||Boolean(Um.test(u.nodeValue)||Wm.test(u.nodeValue)):o.filter(d=>d instanceof RegExp).some(d=>d.test(s))},Uc={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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:[]},Vm={allowList:Uc,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Km={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Qm={entry:"(string|element|function|null)",selector:"(string|element)"};class Ym extends At{constructor(o){super(),this._config=this._getConfig(o)}static get Default(){return Vm}static get DefaultType(){return Km}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(o=>this._resolvePossibleFunction(o)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(o){return this._checkContent(o),this._config.content={...this._config.content,...o},this}toHtml(){const o=document.createElement("div");o.innerHTML=this._maybeSanitize(this._config.template);for(const[g,v]of Object.entries(this._config.content))this._setContent(o,v,g);const s=o.children[0],d=this._resolvePossibleFunction(this._config.extraClass);return d&&s.classList.add(...d.split(" ")),s}_typeCheckConfig(o){super._typeCheckConfig(o),this._checkContent(o.content)}_checkContent(o){for(const[s,d]of Object.entries(o))super._typeCheckConfig({selector:s,entry:d},Qm)}_setContent(o,s,d){const g=X.findOne(d,o);g&&((s=this._resolvePossibleFunction(s))?c(s)?this._putElementInTemplate(f(s),g):this._config.html?g.innerHTML=this._maybeSanitize(s):g.textContent=s:g.remove())}_maybeSanitize(o){return this._config.sanitize?function(s,d,g){if(!s.length)return s;if(g&&typeof g=="function")return g(s);const v=new window.DOMParser().parseFromString(s,"text/html"),E=[].concat(...v.body.querySelectorAll("*"));for(const x of E){const L=x.nodeName.toLowerCase();if(!Object.keys(d).includes(L)){x.remove();continue}const I=[].concat(...x.attributes),M=[].concat(d["*"]||[],d[L]||[]);for(const D of I)Hm(D,M)||x.removeAttribute(D.nodeName)}return v.body.innerHTML}(o,this._config.allowList,this._config.sanitizeFn):o}_resolvePossibleFunction(o){return typeof o=="function"?o(this):o}_putElementInTemplate(o,s){if(this._config.html)return s.innerHTML="",void s.append(o);s.textContent=o.textContent}}const Xm=new Set(["sanitize","allowList","sanitizeFn"]),os="fade",oo="show",Wc=".modal",Hc="hide.bs.modal",lo="hover",Vc="focus",Gm={AUTO:"auto",TOP:"top",RIGHT:B()?"left":"right",BOTTOM:"bottom",LEFT:B()?"right":"left"},qm={allowList:Uc,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Zm={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 zn extends wt{constructor(o,s){if(yc===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(o,s),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 qm}static get DefaultType(){return Zm}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),S.off(this._element.closest(Wc),Hc,this._hideModalHandler),this.tip&&this.tip.remove(),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 o=S.trigger(this._element,this.constructor.eventName("show")),s=(k(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(o.defaultPrevented||!s)return;this.tip&&(this.tip.remove(),this.tip=null);const d=this._getTipElement();this._element.setAttribute("aria-describedby",d.getAttribute("id"));const{container:g}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(g.append(d),S.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(d),d.classList.add(oo),"ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))S.on(v,"mouseover",y);this._queueCallback(()=>{S.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!this._isShown()||S.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const o=this._getTipElement();if(o.classList.remove(oo),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))S.off(s,"mouseover",y);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||o.remove(),this._element.removeAttribute("aria-describedby"),S.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(o){const s=this._getTemplateFactory(o).toHtml();if(!s)return null;s.classList.remove(os,oo),s.classList.add(`bs-${this.constructor.NAME}-auto`);const d=(g=>{do g+=Math.floor(1e6*Math.random());while(document.getElementById(g));return g})(this.constructor.NAME).toString();return s.setAttribute("id",d),this._isAnimated()&&s.classList.add(os),s}setContent(o){this._newContent=o,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(o){return this._templateFactory?this._templateFactory.changeContent(o):this._templateFactory=new Ym({...this._config,content:o,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(o){return this.constructor.getOrCreateInstance(o.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(os)}_isShown(){return this.tip&&this.tip.classList.contains(oo)}_createPopper(o){const s=typeof this._config.placement=="function"?this._config.placement.call(this,o,this._element):this._config.placement,d=Gm[s.toUpperCase()];return ns(this._element,o,this._getPopperConfig(d))}_getOffset(){const{offset:o}=this._config;return typeof o=="string"?o.split(",").map(s=>Number.parseInt(s,10)):typeof o=="function"?s=>o(s,this._element):o}_resolvePossibleFunction(o){return typeof o=="function"?o.call(this._element):o}_getPopperConfig(o){const s={placement:o,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:d=>{this._getTipElement().setAttribute("data-popper-placement",d.state.placement)}}]};return{...s,...typeof this._config.popperConfig=="function"?this._config.popperConfig(s):this._config.popperConfig}}_setListeners(){const o=this._config.trigger.split(" ");for(const s of o)if(s==="click")S.on(this._element,this.constructor.eventName("click"),this._config.selector,d=>{this._initializeOnDelegatedTarget(d).toggle()});else if(s!=="manual"){const d=s===lo?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),g=s===lo?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");S.on(this._element,d,this._config.selector,v=>{const E=this._initializeOnDelegatedTarget(v);E._activeTrigger[v.type==="focusin"?Vc:lo]=!0,E._enter()}),S.on(this._element,g,this._config.selector,v=>{const E=this._initializeOnDelegatedTarget(v);E._activeTrigger[v.type==="focusout"?Vc:lo]=E._element.contains(v.relatedTarget),E._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},S.on(this._element.closest(Wc),Hc,this._hideModalHandler)}_fixTitle(){const o=this._element.getAttribute("title");o&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",o),this._element.setAttribute("data-bs-original-title",o),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(o,s){clearTimeout(this._timeout),this._timeout=setTimeout(o,s)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(o){const s=Oe.getDataAttributes(this._element);for(const d of Object.keys(s))Xm.has(d)&&delete s[d];return o={...s,...typeof o=="object"&&o?o:{}},o=this._mergeConfigObj(o),o=this._configAfterMerge(o),this._typeCheckConfig(o),o}_configAfterMerge(o){return o.container=o.container===!1?document.body:f(o.container),typeof o.delay=="number"&&(o.delay={show:o.delay,hide:o.delay}),typeof o.title=="number"&&(o.title=o.title.toString()),typeof o.content=="number"&&(o.content=o.content.toString()),o}_getDelegateConfig(){const o={};for(const s in this._config)this.constructor.Default[s]!==this._config[s]&&(o[s]=this._config[s]);return o.selector=!1,o.trigger="manual",o}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(o){return this.each(function(){const s=zn.getOrCreateInstance(this,o);if(typeof o=="string"){if(s[o]===void 0)throw new TypeError(`No method named "${o}"`);s[o]()}})}}m(zn);const Jm={...zn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},eg={...zn.DefaultType,content:"(null|string|element|function)"};class so extends zn{static get Default(){return Jm}static get DefaultType(){return eg}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(o){return this.each(function(){const s=so.getOrCreateInstance(this,o);if(typeof o=="string"){if(s[o]===void 0)throw new TypeError(`No method named "${o}"`);s[o]()}})}}m(so);const Kc="click.bs.scrollspy",qr="active",Qc="[href]",tg={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ng={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Zr extends wt{constructor(o,s){super(o,s),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 tg}static get DefaultType(){return ng}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const o of this._observableSections.values())this._observer.observe(o)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(o){return o.target=f(o.target)||document.body,o.rootMargin=o.offset?`${o.offset}px 0px -30%`:o.rootMargin,typeof o.threshold=="string"&&(o.threshold=o.threshold.split(",").map(s=>Number.parseFloat(s))),o}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(S.off(this._config.target,Kc),S.on(this._config.target,Kc,Qc,o=>{const s=this._observableSections.get(o.target.hash);if(s){o.preventDefault();const d=this._rootElement||window,g=s.offsetTop-this._element.offsetTop;if(d.scrollTo)return void d.scrollTo({top:g,behavior:"smooth"});d.scrollTop=g}}))}_getNewObserver(){const o={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(s=>this._observerCallback(s),o)}_observerCallback(o){const s=E=>this._targetLinks.get(`#${E.target.id}`),d=E=>{this._previousScrollData.visibleEntryTop=E.target.offsetTop,this._process(s(E))},g=(this._rootElement||document.documentElement).scrollTop,v=g>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=g;for(const E of o){if(!E.isIntersecting){this._activeTarget=null,this._clearActiveClass(s(E));continue}const x=E.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(v&&x){if(d(E),!g)return}else v||x||d(E)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const o=X.find(Qc,this._config.target);for(const s of o){if(!s.hash||_(s))continue;const d=X.findOne(s.hash,this._element);p(d)&&(this._targetLinks.set(s.hash,s),this._observableSections.set(s.hash,d))}}_process(o){this._activeTarget!==o&&(this._clearActiveClass(this._config.target),this._activeTarget=o,o.classList.add(qr),this._activateParents(o),S.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:o}))}_activateParents(o){if(o.classList.contains("dropdown-item"))X.findOne(".dropdown-toggle",o.closest(".dropdown")).classList.add(qr);else for(const s of X.parents(o,".nav, .list-group"))for(const d of X.prev(s,".nav-link, .nav-item > .nav-link, .list-group-item"))d.classList.add(qr)}_clearActiveClass(o){o.classList.remove(qr);const s=X.find("[href].active",o);for(const d of s)d.classList.remove(qr)}static jQueryInterface(o){return this.each(function(){const s=Zr.getOrCreateInstance(this,o);if(typeof o=="string"){if(s[o]===void 0||o.startsWith("_")||o==="constructor")throw new TypeError(`No method named "${o}"`);s[o]()}})}}S.on(window,"load.bs.scrollspy.data-api",()=>{for(const u of X.find('[data-bs-spy="scroll"]'))Zr.getOrCreateInstance(u)}),m(Zr);const rg="ArrowLeft",Yc="ArrowRight",ig="ArrowUp",Xc="ArrowDown",ao="active",Gc="fade",ls="show",qc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ss=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${qc}`;class Rn extends wt{constructor(o){super(o),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),S.on(this._element,"keydown.bs.tab",s=>this._keydown(s)))}static get NAME(){return"tab"}show(){const o=this._element;if(this._elemIsActive(o))return;const s=this._getActiveElem(),d=s?S.trigger(s,"hide.bs.tab",{relatedTarget:o}):null;S.trigger(o,"show.bs.tab",{relatedTarget:s}).defaultPrevented||d&&d.defaultPrevented||(this._deactivate(s,o),this._activate(o,s))}_activate(o,s){o&&(o.classList.add(ao),this._activate(l(o)),this._queueCallback(()=>{o.getAttribute("role")==="tab"?(o.removeAttribute("tabindex"),o.setAttribute("aria-selected",!0),this._toggleDropDown(o,!0),S.trigger(o,"shown.bs.tab",{relatedTarget:s})):o.classList.add(ls)},o,o.classList.contains(Gc)))}_deactivate(o,s){o&&(o.classList.remove(ao),o.blur(),this._deactivate(l(o)),this._queueCallback(()=>{o.getAttribute("role")==="tab"?(o.setAttribute("aria-selected",!1),o.setAttribute("tabindex","-1"),this._toggleDropDown(o,!1),S.trigger(o,"hidden.bs.tab",{relatedTarget:s})):o.classList.remove(ls)},o,o.classList.contains(Gc)))}_keydown(o){if(![rg,Yc,ig,Xc].includes(o.key))return;o.stopPropagation(),o.preventDefault();const s=[Yc,Xc].includes(o.key),d=P(this._getChildren().filter(g=>!_(g)),o.target,s,!0);d&&(d.focus({preventScroll:!0}),Rn.getOrCreateInstance(d).show())}_getChildren(){return X.find(ss,this._parent)}_getActiveElem(){return this._getChildren().find(o=>this._elemIsActive(o))||null}_setInitialAttributes(o,s){this._setAttributeIfNotExists(o,"role","tablist");for(const d of s)this._setInitialAttributesOnChild(d)}_setInitialAttributesOnChild(o){o=this._getInnerElement(o);const s=this._elemIsActive(o),d=this._getOuterElement(o);o.setAttribute("aria-selected",s),d!==o&&this._setAttributeIfNotExists(d,"role","presentation"),s||o.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(o,"role","tab"),this._setInitialAttributesOnTargetPanel(o)}_setInitialAttributesOnTargetPanel(o){const s=l(o);s&&(this._setAttributeIfNotExists(s,"role","tabpanel"),o.id&&this._setAttributeIfNotExists(s,"aria-labelledby",`#${o.id}`))}_toggleDropDown(o,s){const d=this._getOuterElement(o);if(!d.classList.contains("dropdown"))return;const g=(v,E)=>{const x=X.findOne(v,d);x&&x.classList.toggle(E,s)};g(".dropdown-toggle",ao),g(".dropdown-menu",ls),d.setAttribute("aria-expanded",s)}_setAttributeIfNotExists(o,s,d){o.hasAttribute(s)||o.setAttribute(s,d)}_elemIsActive(o){return o.classList.contains(ao)}_getInnerElement(o){return o.matches(ss)?o:X.findOne(ss,o)}_getOuterElement(o){return o.closest(".nav-item, .list-group-item")||o}static jQueryInterface(o){return this.each(function(){const s=Rn.getOrCreateInstance(this);if(typeof o=="string"){if(s[o]===void 0||o.startsWith("_")||o==="constructor")throw new TypeError(`No method named "${o}"`);s[o]()}})}}S.on(document,"click.bs.tab",qc,function(u){["A","AREA"].includes(this.tagName)&&u.preventDefault(),_(this)||Rn.getOrCreateInstance(this).show()}),S.on(window,"load.bs.tab",()=>{for(const u of X.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Rn.getOrCreateInstance(u)}),m(Rn);const Zc="hide",uo="show",co="showing",og={animation:"boolean",autohide:"boolean",delay:"number"},lg={animation:!0,autohide:!0,delay:5e3};class Jr extends wt{constructor(o,s){super(o,s),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return lg}static get DefaultType(){return og}static get NAME(){return"toast"}show(){S.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Zc),C(this._element),this._element.classList.add(uo,co),this._queueCallback(()=>{this._element.classList.remove(co),S.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(S.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(co),this._queueCallback(()=>{this._element.classList.add(Zc),this._element.classList.remove(co,uo),S.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(uo),super.dispose()}isShown(){return this._element.classList.contains(uo)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(o,s){switch(o.type){case"mouseover":case"mouseout":this._hasMouseInteraction=s;break;case"focusin":case"focusout":this._hasKeyboardInteraction=s}if(s)return void this._clearTimeout();const d=o.relatedTarget;this._element===d||this._element.contains(d)||this._maybeScheduleHide()}_setListeners(){S.on(this._element,"mouseover.bs.toast",o=>this._onInteraction(o,!0)),S.on(this._element,"mouseout.bs.toast",o=>this._onInteraction(o,!1)),S.on(this._element,"focusin.bs.toast",o=>this._onInteraction(o,!0)),S.on(this._element,"focusout.bs.toast",o=>this._onInteraction(o,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(o){return this.each(function(){const s=Jr.getOrCreateInstance(this,o);if(typeof o=="string"){if(s[o]===void 0)throw new TypeError(`No method named "${o}"`);s[o](this)}})}}return Vi(Jr),m(Jr),{Alert:Hr,Button:Vr,Carousel:nr,Collapse:rr,Dropdown:kt,Modal:In,Offcanvas:Ut,Popover:so,ScrollSpy:Zr,Tab:Rn,Toast:Jr,Tooltip:zn}})})(g_);$s.createRoot(document.getElementById("root")).render(F(My,{children:F(m_,{})}));