ultyt/assets/index-a21ae36a.js

134 lines
429 KiB
JavaScript
Raw Normal View History

function eb(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Xl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Lm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Am={exports:{}},fa={},Om={exports:{}},ee={};/**
* @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 mi=Symbol.for("react.element"),tb=Symbol.for("react.portal"),nb=Symbol.for("react.fragment"),rb=Symbol.for("react.strict_mode"),ob=Symbol.for("react.profiler"),ib=Symbol.for("react.provider"),sb=Symbol.for("react.context"),ab=Symbol.for("react.forward_ref"),lb=Symbol.for("react.suspense"),ub=Symbol.for("react.memo"),cb=Symbol.for("react.lazy"),xf=Symbol.iterator;function db(e){return e===null||typeof e!="object"?null:(e=xf&&e[xf]||e["@@iterator"],typeof e=="function"?e:null)}var jm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_m=Object.assign,Dm={};function Jr(e,t,n){this.props=e,this.context=t,this.refs=Dm,this.updater=n||jm}Jr.prototype.isReactComponent={};Jr.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")};Jr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Im(){}Im.prototype=Jr.prototype;function Mc(e,t,n){this.props=e,this.context=t,this.refs=Dm,this.updater=n||jm}var Lc=Mc.prototype=new Im;Lc.constructor=Mc;_m(Lc,Jr.prototype);Lc.isPureReactComponent=!0;var wf=Array.isArray,Fm=Object.prototype.hasOwnProperty,Ac={current:null},Vm={key:!0,ref:!0,__self:!0,__source:!0};function Bm(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Fm.call(t,r)&&!Vm.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:mi,type:e,key:i,ref:s,props:o,_owner:Ac.current}}function fb(e,t){return{$$typeof:mi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Oc(e){return typeof e=="object"&&e!==null&&e.$$typeof===mi}function pb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Sf=/\/+/g;function Ya(e,t){return typeof e=="object"&&e!==null&&e.key!=null?pb(""+e.key):t.toString(36)}function ts(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case mi:case tb:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Ya(s,0):r,wf(o)?(n="",e!=null&&(n=e.replace(Sf,"$&/")+"/"),ts(o,t,n,"",function(u){return u})):o!=null&&(Oc(o)&&(o=fb(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Sf,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",wf(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Ya(i,a);s+=ts(i,t,n,l,o)}else if(l=db(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Ya(i,a++),s+=ts(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ri(e,t,n){if(e==null)return e;var r=[],o=0;return ts(e,r,"","",function(i){return t.call(n,i,o++)}),r}function hb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Xe={current:null},ns={transition:null},mb={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:ns,ReactCurrentOwner:Ac};ee.Children={map:Ri,forEach:function(e,t,n){Ri(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ri(e,function(){t++}),t},toArray:function(e){return Ri(e,function(t){return t})||[]},only:function(e){if(!Oc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ee.Component=Jr;ee.Fragment=nb;ee.Profiler=ob;ee
* @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 vb=g,yb=Symbol.for("react.element"),bb=Symbol.for("react.fragment"),xb=Object.prototype.hasOwnProperty,wb=vb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Sb={key:!0,ref:!0,__self:!0,__source:!0};function zm(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)xb.call(t,r)&&!Sb.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:yb,type:e,key:i,ref:s,props:o,_owner:wb.current}}fa.Fragment=bb;fa.jsx=zm;fa.jsxs=zm;Am.exports=fa;var E=Am.exports,Yl={},Um={exports:{}},ct={},Wm={exports:{}},Hm={};/**
* @license React
* scheduler.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.
*/(function(e){function t(O,L){var I=O.length;O.push(L);e:for(;0<I;){var w=I-1>>>1,k=O[w];if(0<o(k,L))O[w]=L,O[I]=k,I=w;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var L=O[0],I=O.pop();if(I!==L){O[0]=I;e:for(var w=0,k=O.length,_=k>>>1;w<_;){var V=2*(w+1)-1,W=O[V],H=V+1,Q=O[H];if(0>o(W,I))H<k&&0>o(Q,W)?(O[w]=Q,O[H]=I,w=H):(O[w]=W,O[V]=I,w=V);else if(H<k&&0>o(Q,I))O[w]=Q,O[H]=I,w=H;else break e}}return L}function o(O,L){var I=O.sortIndex-L.sortIndex;return I!==0?I:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,m=!1,y=!1,P=typeof setTimeout=="function"?setTimeout:null,b=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 v(O){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=O)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function S(O){if(y=!1,v(O),!m)if(n(l)!==null)m=!0,Y(C);else{var L=n(u);L!==null&&oe(S,L.startTime-O)}}function C(O,L){m=!1,y&&(y=!1,b(x),x=-1),p=!0;var I=f;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||O&&!M());){var w=d.callback;if(typeof w=="function"){d.callback=null,f=d.priorityLevel;var k=w(d.expirationTime<=L);L=e.unstable_now(),typeof k=="function"?d.callback=k:d===n(l)&&r(l),v(L)}else r(l);d=n(l)}if(d!==null)var _=!0;else{var V=n(u);V!==null&&oe(S,V.startTime-L),_=!1}return _}finally{d=null,f=I,p=!1}}var R=!1,T=null,x=-1,N=5,F=-1;function M(){return!(e.unstable_now()-F<N)}function B(){if(T!==null){var O=e.unstable_now();F=O;var L=!0;try{L=T(!0,O)}finally{L?A():(R=!1,T=null)}}else R=!1}var A;if(typeof h=="function")A=function(){h(B)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,U=j.port2;j.port1.onmessage=B,A=function(){U.postMessage(null)}}else A=function(){P(B,0)};function Y(O){T=O,R||(R=!0,A())}function oe(O,L){x=P(function(){O(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,Y(C))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var I=f;f=L;try{return O()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,L){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var I=f;f=O;try{return L()}finally{f=I}},e.unstable_scheduleCallback=function(O,L,I){var w=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?w+I:w):I=w,O){case 1:var k=-1;break;case 2:k=250;break;case 5:k=1073741823;break;case 4:k=1e4;break;default:k=5e3}return k=I+k,O={id:c++,callback:L,priorityLevel:O,startTime:I,expirationTime:k,sortIndex:-1},I>w?(O.sortIndex=I,t(u,O),n(l)===null&&O===n(u)&&(y?(b(x),x=-1):y=!0,oe(S,I-w))):(O.sortIndex=k,t(l,O),m||p||(m=!0,Y(C))),O},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(O){var L=f;return function(){var I=f;f=L;try{return O.apply(this,arguments)}finally{f=I}}}})(Hm);Wm.exports=Hm;var Pb=Wm.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Km=g,lt=Pb;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Gm=new Set,Ho={};function or(e,t){zr(e,t),zr(e+"Capture",t)}function zr(e,t){for(Ho[e]=t,e=0;e<t.length;e++)Gm.add(t[e])}var Jt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ql=Object.prototype.hasOwnProperty,Cb=/^[: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]*$/,Pf={},Cf={};function Eb(e){return ql.call(Cf,e)?!0:ql.call(Pf,e)?!1:Cb.test(e)?Cf[e]=!0:(Pf[e]=!0,!1)}function kb(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 Tb(e,t,n,r){if(t===null||typeof t>"u"||kb(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 Ye(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Ye(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){De[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var jc=/[\-:]([a-z])/g;function _c(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-
`+qa+e}var Ja=!1;function Za(e,t){if(!e||Ja)return"";Ja=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
`),i=r.stack.split(`
`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Ja=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Co(e):""}function Rb(e){switch(e.tag){case 5:return Co(e.type);case 16:return Co("Lazy");case 13:return Co("Suspense");case 19:return Co("SuspenseList");case 0:case 2:case 15:return e=Za(e.type,!1),e;case 11:return e=Za(e.type.render,!1),e;case 1:return e=Za(e.type,!0),e;default:return""}}function tu(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 br:return"Fragment";case yr:return"Portal";case Jl:return"Profiler";case Ic:return"StrictMode";case Zl:return"Suspense";case eu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xm:return(e.displayName||"Context")+".Consumer";case Qm:return(e._context.displayName||"Context")+".Provider";case Fc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Vc:return t=e.displayName||null,t!==null?t:tu(e.type)||"Memo";case cn:t=e._payload,e=e._init;try{return tu(e(t))}catch{}}return null}function Nb(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 tu(t);case 8:return t===Ic?"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 $n(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $b(e){var t=qm(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $i(e){e._valueTracker||(e._valueTracker=$b(e))}function Jm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=qm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ps(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 nu(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function kf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$n(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 Zm(e,t){t=t.checked,t!=null&&Dc(e,"checked",t,!1)}function ru(e,t){Zm(e,t);var n=$n(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")?ou(e,t.type,n):t.hasOwnProperty("defaultValue")&&ou(e,t.type,$n(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Tf(e,t,n){if(t.hasOwnProperty("val
`).replace(Vx,"")}function Ii(e,t,n){if(t=Yf(t),Yf(e)!==t&&n)throw Error(D(425))}function Ms(){}var yu=null,bu=null;function xu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var wu=typeof setTimeout=="function"?setTimeout:void 0,Bx=typeof clearTimeout=="function"?clearTimeout:void 0,qf=typeof Promise=="function"?Promise:void 0,zx=typeof queueMicrotask=="function"?queueMicrotask:typeof qf<"u"?function(e){return qf.resolve(null).then(e).catch(Ux)}:wu;function Ux(e){setTimeout(function(){throw e})}function fl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Yo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Yo(t)}function Sn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Jf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var eo=Math.random().toString(36).slice(2),Mt="__reactFiber$"+eo,ti="__reactProps$"+eo,Zt="__reactContainer$"+eo,Su="__reactEvents$"+eo,Wx="__reactListeners$"+eo,Hx="__reactHandles$"+eo;function Un(e){var t=e[Mt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zt]||n[Mt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Jf(e);e!==null;){if(n=e[Mt])return n;e=Jf(e)}return t}e=n,n=e.parentNode}return null}function yi(e){return e=e[Mt]||e[Zt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Pr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function va(e){return e[ti]||null}var Pu=[],Cr=-1;function jn(e){return{current:e}}function pe(e){0>Cr||(e.current=Pu[Cr],Pu[Cr]=null,Cr--)}function ce(e,t){Cr++,Pu[Cr]=e.current,e.current=t}var Mn={},We=jn(Mn),Ze=jn(!1),qn=Mn;function Ur(e,t){var n=e.type.contextTypes;if(!n)return Mn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function et(e){return e=e.childContextTypes,e!=null}function Ls(){pe(Ze),pe(We)}function Zf(e,t,n){if(We.current!==Mn)throw Error(D(168));ce(We,t),ce(Ze,n)}function Bg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(D(108,Nb(e)||"Unknown",o));return Se({},n,r)}function As(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mn,qn=We.current,ce(We,e),ce(Ze,Ze.current),!0}function ep(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=Bg(e,t,qn),r.__reactInternalMemoizedMergedChildContext=e,pe(Ze),pe(We),ce(We,e)):pe(Ze),ce(Ze,n)}var Ut=null,ya=!1,pl=!1;function zg(e){Ut===null?Ut=[e]:Ut.push(e)}function Kx(e){ya=!0,zg(e)}function _n(){if(!pl&&Ut!==null){pl=!0;var e=0,t=se;try{var n=Ut;for(se=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ut=null,ya=!1}catch(o){throw Ut!==null&&(Ut=Ut.slice(e+1)),pg(zc,_n),o}finally{se=t,pl=!1}}return null}var Er=[],kr=0,Os=null,js=0,pt=[],ht=0,Jn=null,Wt=1,Ht="";function Fn(e,t){Er[kr++]=js,Er[kr++]=Os,Os=e,js=t}function Ug(e,t,n){pt[ht++]=Wt,pt[ht++]=Ht,pt[ht++]=Jn,Jn=e;var r=Wt;e=Ht;var o=32-Et(r)-1;r&=~(1<<o),n+=1;var i=32-Et(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Wt=1<<32-Et(t)+o|n<<o|r,Ht=i+e}else Wt=1<<i|n<<o|r,Ht=e}function qc(e){e.return!==null&&(Fn(e,1),Ug(e,1,0))}function Jc(e){for(;e===Os;)Os=Er[--kr],Er[kr]=null,js=Er[--kr],Er[kr]=null;for(;e===Jn;)Jn=pt[--ht],pt[ht]=null,Ht=pt[--ht],pt[ht]=null,Wt=pt[--ht],pt[ht]=null}var at=null,st=null,me=!1,Ct=null;function Wg(e,t){var n=mt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletio
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function yl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Nu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var tw=typeof WeakMap=="function"?WeakMap:Map;function yv(e,t,n){n=Qt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Us||(Us=!0,Fu=r),Nu(e,t)},n}function bv(e,t,n){n=Qt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Nu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Nu(e,t),typeof r!="function"&&(Cn===null?Cn=new Set([this]):Cn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function cp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new tw;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=mw.bind(null,e,t,n),t.then(e,e))}function dp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function fp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Qt(-1,1),t.tag=2,Pn(n,t,1))),n.lanes|=1),e)}var nw=rn.ReactCurrentOwner,Je=!1;function Ge(e,t,n,r){t.child=e===null?qg(t,null,n,r):Hr(t,e.child,n,r)}function pp(e,t,n,r,o){n=n.render;var i=t.ref;return Vr(t,o),r=ud(e,t,n,r,i,o),n=cd(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,tn(e,t,o)):(me&&n&&qc(t),t.flags|=1,Ge(e,t,r,o),t.child)}function hp(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!xd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,xv(e,t,i,r,o)):(e=fs(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Jo,n(s,r)&&e.ref===t.ref)return tn(e,t,o)}return t.flags|=1,e=kn(i,r),e.ref=t.ref,e.return=t,t.child=e}function xv(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Jo(i,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Je=!0);else return t.lanes=e.lanes,tn(e,t,o)}return $u(e,t,n,r,o)}function wv(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ce(Nr,it),it|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ce(Nr,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ce(Nr,it),it|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ce(Nr,it),it|=r;return Ge(e,t,o,n),t.child}function Sv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $u(e,t,n,r,o){var i=et(n)?qn:We.current;return i=Ur(t,i),Vr(t,o),n=ud(e,t,n,r,i,o),r=cd(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,tn(e,t,o)):(me&&r&&qc(t),t.flags|=1,Ge(e,t,n,o),t.child)}function mp(e,t,n,r,o){if(et(n)){var i=!0;As(t)}else i=!1;if(Vr(t,o),t.stateNode===null)us(e,t),Xg(t,n,r),Ru(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=yt(u):(u=et(n)?qn:We.current,u=Ur(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&sp(t,s,r,u),dn=!1;var f=t.memoizedState;s.state=f,Is(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Ze.current||dn?(typeof c=="function"&&(Tu(t,n,c,r),l=t.memoizedState),(a=dn||ip(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&SS[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const Op=Symbol("internals");function yo(e){return e&&String(e).trim().toLowerCase()}function hs(e){return e===!1||e==null?e:$.isArray(e)?e.map(hs):String(e)}function CS(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ES=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Pl(e,t,n,r,o){if($.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!$.isString(t)){if($.isString(r))return t.indexOf(r)!==-1;if($.isRegExp(r))return r.test(t)}}function kS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function TS(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class Aa{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,u){const c=yo(l);if(!c)throw new Error("header name must be a non-empty string");const d=$.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=hs(a))}const s=(a,l)=>$.forEach(a,(u,c)=>i(u,c,l));return $.isPlainObject(t)||t instanceof this.constructor?s(t,n):$.isString(t)&&(t=t.trim())&&!ES(t)?s(PS(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=yo(t),t){const r=$.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return CS(o);if($.isFunction(n))return n.call(this,o,r);if($.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yo(t),t){const r=$.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Pl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=yo(s),s){const a=$.findKey(r,s);a&&(!n||Pl(r,r[a],a,n))&&(delete r[a],o=!0)}}return $.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Pl(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return $.forEach(this,(o,i)=>{const s=$.findKey(r,i);if(s){n[s]=hs(o),delete n[i];return}const a=t?kS(i):String(i).trim();a!==i&&delete n[i],n[a]=hs(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Op]=this[Op]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=yo(s);r[a]||(TS(o,s),r[a]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}}Aa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.freezeMethods(Aa.prototype);$.freezeMethods(Aa);var Xt=Aa;function Cl(e,t){const n=this||Rd,r=t||n,o=Xt.from(r.headers);let i=r.data;return $.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ly(e){return!!(e&&e.__CANCEL__)}function wi(e,t,n){ne.call(this,e??"canceled",ne.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(wi,ne,{__CANCEL__:!0});function RS(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var NS=At.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),$.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),$.isString(i)&&l.push("path="+i),$.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function $S(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function MS(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function uy(e,t){return e&&!$S(t)?MS(e,t):t}var LS=At.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=$.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function AS(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function OS(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[i];s||(s=u),n[o]=l,r[o]=u;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const p=c&&u-c;return p?Math.round(f*1e3/p):void 0}}function jp(e,t){let n=0;const r=OS(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,l=r(a),u=i<=s;n=i;const c={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const jS=typeof XMLHttpRequest<"u";var _S=jS&&function(e){return new Promise(function(n,r){let o=e.data;const i=Xt.from(e.headers).normalize(),s=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}$.isFormData(o)&&(At.isStandardBrowserEnv||At.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+m))}const c=uy(e.baseURL,e.url);u.open(e.method.toUpperCase(),iy(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const p=Xt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),y={data:!s||s==="text"||s==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:p,config:e,request:u};RS(f
* @remix-run/router v1.7.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 ui(){return ui=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ui.apply(this,arguments)}var vn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(vn||(vn={}));const Fp="popstate";function GS(e){e===void 0&&(e={});function t(o,i){let{pathname:s="/",search:a="",hash:l=""}=sr(o.location.hash.substr(1));return Gu("",{pathname:s,search:a,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(o,i){let s=o.document.querySelector("base"),a="";if(s&&s.getAttribute("href")){let l=o.location.href,u=l.indexOf("#");a=u===-1?l:l.slice(0,u)}return a+"#"+(typeof i=="string"?i:Qs(i))}function r(o,i){Oa(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(i)+")")}return XS(t,n,r,e)}function Te(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Oa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function QS(){return Math.random().toString(36).substr(2,8)}function Vp(e,t){return{usr:e.state,key:e.key,idx:t}}function Gu(e,t,n,r){return n===void 0&&(n=null),ui({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?sr(t):t,{state:n,key:t&&t.key||r||QS()})}function Qs(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function sr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function XS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=vn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(ui({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=vn.Pop;let P=c(),b=P==null?null:P-u;u=P,l&&l({action:a,location:y.location,delta:b})}function f(P,b){a=vn.Push;let h=Gu(y.location,P,b);n&&n(h,P),u=c()+1;let v=Vp(h,u),S=y.createHref(h);try{s.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&l&&l({action:a,location:y.location,delta:1})}function p(P,b){a=vn.Replace;let h=Gu(y.location,P,b);n&&n(h,P),u=c();let v=Vp(h,u),S=y.createHref(h);s.replaceState(v,"",S),i&&l&&l({action:a,location:y.location,delta:0})}function m(P){let b=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof P=="string"?P:Qs(P);return Te(b,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,b)}let y={get action(){return a},get location(){return e(o,s)},listen(P){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Fp,d),l=P,()=>{o.removeEventListener(Fp,d),l=null}},createHref(P){return t(o,P)},createURL:m,encodeLocation(P){let b=m(P);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:f,replace:p,go(P){return s.go(P)}};return y}var Bp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Bp||(Bp={}));function YS(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?sr(t):t,o=Md(r.pathname||"/",n);if(o==null)return null;let i=py(e);qS(i);let s=null;for(let a=0;s==null&&a<i.length;++a)s=sP(i[a],uP(o));return s}function py(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Te(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Tn([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(Te(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),py(i.children,t,c,u)),!(i.pat
* React Router v6.14.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 Xs(){return Xs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xs.apply(this,arguments)}const Od=g.createContext(null),yP=g.createContext(null),no=g.createContext(null),ja=g.createContext(null),on=g.createContext({outlet:null,matches:[],isDataRoute:!1}),gy=g.createContext(null);function bP(e,t){let{relative:n}=t===void 0?{}:t;ro()||Te(!1);let{basename:r,navigator:o}=g.useContext(no),{hash:i,pathname:s,search:a}=yy(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:Tn([r,s])),o.createHref({pathname:l,search:a,hash:i})}function ro(){return g.useContext(ja)!=null}function oo(){return ro()||Te(!1),g.useContext(ja).location}function vy(e){g.useContext(no).static||g.useLayoutEffect(e)}function _a(){let{isDataRoute:e}=g.useContext(on);return e?AP():xP()}function xP(){ro()||Te(!1);let e=g.useContext(Od),{basename:t,navigator:n}=g.useContext(no),{matches:r}=g.useContext(on),{pathname:o}=oo(),i=JSON.stringify(Ld(r).map(l=>l.pathnameBase)),s=g.useRef(!1);return vy(()=>{s.current=!0}),g.useCallback(function(l,u){if(u===void 0&&(u={}),!s.current)return;if(typeof l=="number"){n.go(l);return}let c=Ad(l,JSON.parse(i),o,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Tn([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,i,o,e])}function wP(){let{matches:e}=g.useContext(on),t=e[e.length-1];return t?t.params:{}}function yy(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=g.useContext(on),{pathname:o}=oo(),i=JSON.stringify(Ld(r).map(s=>s.pathnameBase));return g.useMemo(()=>Ad(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function SP(e,t){return PP(e,t)}function PP(e,t,n){ro()||Te(!1);let{navigator:r}=g.useContext(no),{matches:o}=g.useContext(on),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let l=oo(),u;if(t){var c;let y=typeof t=="string"?sr(t):t;a==="/"||(c=y.pathname)!=null&&c.startsWith(a)||Te(!1),u=y}else u=l;let d=u.pathname||"/",f=a==="/"?d:d.slice(a.length)||"/",p=YS(e,{pathname:f}),m=RP(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},s,y.params),pathname:Tn([a,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?a:Tn([a,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n);return t&&m?g.createElement(ja.Provider,{value:{location:Xs({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:vn.Pop}},m):m}function CP(){let e=LP(),t=gP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:o},n):null,i)}const EP=g.createElement(CP,null);class kP extends g.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?g.createElement(on.Provider,{value:this.props.routeContext},g.createElement(gy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function TP(e){let{routeContext:t,match:n,children:r}=e,o=g.useContext(Od);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),g.createElement(on.Provider,{value:t},r)}function RP(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.err
* React Router DOM v6.14.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 Yu(){return Yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yu.apply(this,arguments)}function DP(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function IP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function FP(e,t){return e.button===0&&(!t||t==="_self")&&!IP(e)}function qu(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function VP(e,t){let n=qu(e);if(t)for(let r of t.keys())n.has(r)||t.getAll(r).forEach(o=>{n.append(r,o)});return n}const BP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],zP="startTransition",Wp=gb[zP];function UP(e){let{basename:t,children:n,future:r,window:o}=e,i=g.useRef();i.current==null&&(i.current=GS({window:o,v5Compat:!0}));let s=i.current,[a,l]=g.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=g.useCallback(d=>{u&&Wp?Wp(()=>l(d)):l(d)},[l,u]);return g.useLayoutEffect(()=>s.listen(c),[s,c]),g.createElement(jP,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s})}const WP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",HP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ro=g.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c}=t,d=DP(t,BP),{basename:f}=g.useContext(no),p,m=!1;if(typeof u=="string"&&HP.test(u)&&(p=u,WP))try{let h=new URL(window.location.href),v=u.startsWith("//")?new URL(h.protocol+u):new URL(u),S=Md(v.pathname,f);v.origin===h.origin&&S!=null?u=S+v.search+v.hash:m=!0}catch{}let y=bP(u,{relative:o}),P=KP(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o});function b(h){r&&r(h),h.defaultPrevented||P(h)}return g.createElement("a",Yu({},d,{href:p||y,onClick:m||i?r:b,ref:n,target:l}))});var Hp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Hp||(Hp={}));var Kp;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Kp||(Kp={}));function KP(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s}=t===void 0?{}:t,a=_a(),l=oo(),u=yy(e,{relative:s});return g.useCallback(c=>{if(FP(c,n)){c.preventDefault();let d=r!==void 0?r:Qs(l)===Qs(u);a(e,{replace:d,state:o,preventScrollReset:i,relative:s})}},[l,a,u,r,o,n,e,i,s])}function GP(e){let t=g.useRef(qu(e)),n=g.useRef(!1),r=oo(),o=g.useMemo(()=>VP(r.search,n.current?null:t.current),[r.search]),i=_a(),s=g.useCallback((a,l)=>{const u=qu(typeof a=="function"?a(o):a);n.current=!0,i("?"+u,l)},[i,o]);return[o,s]}const jd={prefix:String(Math.round(Math.random()*1e10)),current:0,isSSR:!1},_d=ie.createContext(jd);let QP=!!(typeof window<"u"&&window.document&&window.document.createElement),Tl=new WeakMap;function XP(e=!1){let t=g.useContext(_d),n=g.useRef(null);if(n.current===null&&!e){var r,o;let i=(r=ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(o=r.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(i){let s=Tl.get(i);s==null?Tl.set(i,{id:t.current,state:i.memoizedState}):i.memoizedState!==s.state&&(t.current=s.id,Tl.delete(i))}n.current=++t.current}return n.current}function YP(e){let t=g.useContext(_d);t===jd&&!QP&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=XP(!!e);return e||`react-aria${t.prefix}-${n}`}function qP(e){let t=ie.useId(),[n]=g.useState(Dd()),r=n?"react-aria":`react-aria${jd.prefix}`;return e||`${r}-${t}`}const JP=typeof ie.useId=="function"?qP:YP;function ZP(){return!1}function eC(){return!0}function tC(e){return()=>{}}function
* @license React
* react.development.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.
*//**
* @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 dk=new Set(["id","type","className","style","title","role","tabIndex","htmlFor","width","height"]),fk=/^(data-.*)$/,pk=/^(aria-.*)$/,hk=/^(on[A-Z].*)$/;function di(e,t={labelable:!0,enabled:!0}){let{labelable:n,propNames:r}=t,o={};if(!t.enabled)return e;for(const i in e)(Object.prototype.hasOwnProperty.call(e,i)&&(dk.has(i)||n&&pk.test(i)||r!=null&&r.has(i)||fk.test(i))||hk.test(i))&&(o[i]=e[i]);return o}var mk=e=>E.jsxs("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[E.jsx("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),E.jsx("path",{d:"M15 3h6v6"}),E.jsx("path",{d:"M10 14L21 3"})]}),gk=e=>E.jsx("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:E.jsx("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"currentColor"})});const Yy=g.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ia=g.createContext({}),Fa=g.createContext(null),Va=typeof document<"u",ra=Va?g.useLayoutEffect:g.useEffect,qy=g.createContext({strict:!1});function vk(e,t,n,r){const{visualElement:o}=g.useContext(Ia),i=g.useContext(qy),s=g.useContext(Fa),a=g.useContext(Yy).reducedMotion,l=g.useRef();r=r||i.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;return g.useInsertionEffect(()=>{u&&u.update(n,s)}),ra(()=>{u&&u.render()}),g.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?ra:g.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}function Lr(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function yk(e,t,n){return g.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Lr(n)&&(n.current=r))},[t])}function fi(e){return typeof e=="string"||Array.isArray(e)}function Ba(e){return typeof e=="object"&&typeof e.start=="function"}const Gd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Qd=["initial",...Gd];function za(e){return Ba(e.animate)||Qd.some(t=>fi(e[t]))}function Jy(e){return!!(za(e)||e.variants)}function bk(e,t){if(za(e)){const{initial:n,animate:r}=e;return{initial:n===!1||fi(n)?n:void 0,animate:fi(r)?r:void 0}}return e.inherit!==!1?t:{}}function xk(e){const{initial:t,animate:n}=bk(e,g.useContext(Ia));return g.useMemo(()=>({initial:t,animate:n}),[yh(t),yh(n)])}function yh(e){return Array.isArray(e)?e.join(" "):e}const bh={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},pi={};for(const e in bh)pi[e]={isEnabled:t=>bh[e].some(n=>!!t[n])};function wk(e){for(const t in e)pi[t]={...pi[t],...e[t]}}const Xd=g.createContext({}),Zy=g.createContext({}),Sk=Symbol.for("motionComponentSymbol");function Pk({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&wk(e);function i(a,l){let u;const c={...g.useContext(Yy),...a,layoutId:Ck(a)},{isStatic:d}=c,f=xk(a),p=r(a,d);if(!d&&Va){f.visualElement=vk(o,p,c,t);const m=g.useContext(Zy),y=g.useContext(qy).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,y,e,m))}return g.createElement(Ia.Provider,{value:f},u&&f.visualElement?g.createElement(u,{visualElement:f.visualElement,...c}):null,n(o,a,yk(p,f.visualElement,l),p,d,f.visualElement))}co
[data-motion-pop-id="${n}"] {
position: absolute !important;
width: ${i}px !important;
height: ${s}px !important;
top: ${a}px !important;
left: ${l}px !important;
}
`),()=>{document.head.removeChild(u)}},[t]),g.createElement(kN,{isPresent:t,childRef:r,sizeRef:o},g.cloneElement(e,{ref:r}))}const Kl=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s})=>{const a=f0(RN),l=g.useId(),u=g.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{a.set(c,!0);for(const d of a.values())if(!d)return;r&&r()},register:c=>(a.set(c,!1),()=>a.delete(c))}),i?void 0:[n]);return g.useMemo(()=>{a.forEach((c,d)=>a.set(d,!1))},[n]),g.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=g.createElement(TN,{isPresent:n},e)),g.createElement(Fa.Provider,{value:u},e)};function RN(){return new Map}function NN(e){return g.useEffect(()=>()=>e(),[])}const vr=e=>e.key||"";function $N(e,t){e.forEach(n=>{const r=vr(n);t.set(r,n)})}function MN(e){const t=[];return g.Children.forEach(e,n=>{g.isValidElement(n)&&t.push(n)}),t}const g1=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:s="sync"})=>{const a=g.useContext(Xd).forceRender||EN()[0],l=m1(),u=MN(e);let c=u;const d=g.useRef(new Map).current,f=g.useRef(c),p=g.useRef(new Map).current,m=g.useRef(!0);if(ra(()=>{m.current=!1,$N(u,p),f.current=c}),NN(()=>{m.current=!0,p.clear(),d.clear()}),m.current)return g.createElement(g.Fragment,null,c.map(h=>g.createElement(Kl,{key:vr(h),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:i,mode:s},h)));c=[...c];const y=f.current.map(vr),P=u.map(vr),b=y.length;for(let h=0;h<b;h++){const v=y[h];P.indexOf(v)===-1&&!d.has(v)&&d.set(v,void 0)}return s==="wait"&&d.size&&(c=[]),d.forEach((h,v)=>{if(P.indexOf(v)!==-1)return;const S=p.get(v);if(!S)return;const C=y.indexOf(v);let R=h;if(!R){const T=()=>{p.delete(v),d.delete(v);const x=f.current.findIndex(N=>N.key===v);if(f.current.splice(x,1),!d.size){if(f.current=u,l.current===!1)return;a(),r&&r()}};R=g.createElement(Kl,{key:vr(S),isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:i,mode:s},S),d.set(v,R)}c.splice(C,0,R)}),c=c.map(h=>{const v=h.key;return d.has(v)?h:g.createElement(Kl,{key:vr(h),isPresent:!0,presenceAffectsLayout:i,mode:s},h)}),g.createElement(g.Fragment,null,d.size?c:c.map(h=>g.cloneElement(h)))};var wm={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]},LN=()=>E.jsxs("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[E.jsx("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),E.jsx("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]}),[dM,AN]=Da({name:"AvatarGroupContext",strict:!1}),ON=globalThis!=null&&globalThis.document?g.useLayoutEffect:g.useEffect;function jN(e={}){const{loading:t,src:n,srcSet:r,onLoad:o,onError:i,crossOrigin:s,sizes:a,ignoreFallback:l}=e,[u,c]=g.useState("pending");g.useEffect(()=>{c(n?"loading":"pending")},[n]);const d=g.useRef(),f=g.useCallback(()=>{if(!n)return;p();const m=new Image;m.src=n,s&&(m.crossOrigin=s),r&&(m.srcset=r),a&&(m.sizes=a),t&&(m.loading=t),m.onload=y=>{p(),c("loaded"),o==null||o(y)},m.onerror=y=>{p(),c("failed"),i==null||i(y)},d.current=m},[n,s,r,a,o,i,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return ON(()=>{if(!l)return u==="loading"&&f(),()=>{p()}},[u,f,l]),l?"loaded":u}function _N(e={}){var t,n,r,o,i;const s=AN(),a=!!s,{as:l,ref:u,src:c,name:d,icon:f,classNames:p,fallback:m,alt:y=d||"avatar",imgRef:P,color:b=(t=s==null?void 0:s.color)
.`.concat(t$,` {
overflow: hidden `).concat(r,`;
padding-right: `).concat(a,"px ").concat(r,`;
}
body {
overflow: hidden `).concat(r,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
padding-left: `.concat(o,`px;
padding-top: `).concat(i,`px;
padding-right: `).concat(s,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(a,"px ").concat(r,`;
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
}
.`).concat(ws,` {
right: `).concat(a,"px ").concat(r,`;
}
.`).concat(Ss,` {
margin-right: `).concat(a,"px ").concat(r,`;
}
.`).concat(ws," .").concat(ws,` {
right: 0 `).concat(r,`;
}
.`).concat(Ss," .").concat(Ss,` {
margin-right: 0 `).concat(r,`;
}
body {
`).concat(n$,": ").concat(a,`px;
}
`)},w$=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=g.useMemo(function(){return y$(o)},[o]);return g.createElement(b$,{styles:x$(i,!t,o,n?"":"!important")})},Rc=!1;if(typeof window<"u")try{var Zi=Object.defineProperty({},"passive",{get:function(){return Rc=!0,!0}});window.addEventListener("test",Zi,Zi),window.removeEventListener("test",Zi,Zi)}catch{Rc=!1}var pr=Rc?{passive:!1}:!1,S$=function(e){return e.tagName==="TEXTAREA"},A1=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!S$(e)&&n[t]==="visible")},P$=function(e){return A1(e,"overflowY")},C$=function(e){return A1(e,"overflowX")},Em=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=O1(e,r);if(o){var i=j1(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},E$=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},k$=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},O1=function(e,t){return e==="v"?P$(t):C$(t)},j1=function(e,t){return e==="v"?E$(t):k$(t)},T$=function(e,t){return e==="h"&&t==="rtl"?-1:1},R$=function(e,t,n,r,o){var i=T$(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,c=s>0,d=0,f=0;do{var p=j1(e,a),m=p[0],y=p[1],P=p[2],b=y-P-i*m;(m||b)&&O1(e,a)&&(d+=b,f+=m),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(o&&d===0||!o&&s>d)||!c&&(o&&f===0||!o&&-s>f))&&(u=!0),u},es=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},km=function(e){return[e.deltaX,e.deltaY]},Tm=function(e){return e&&"current"in e?e.current:e},N$=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$$=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},M$=0,hr=[];function L$(e){var t=g.useRef([]),n=g.useRef([0,0]),r=g.useRef(),o=g.useState(M$++)[0],i=g.useState(L1)[0],s=g.useRef(e);g.useEffect(function(){s.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var y=EC([e.lockRef.current],(e.shards||[]).map(Tm),!0).filter(Boolean);return y.forEach(function(P){return P.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),y.forEach(function(P){return P.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=g.useCallback(function(y,P){if("touches"in y&&y.touches.length===2)return!s.current.allowPinchZoom;var b=es(y),h=n.current,v="deltaX"in y?y.deltaX:h[0]-b[0],S="deltaY"in y?y.deltaY:h[1]-b[1],C,R=y.target,T=Math.abs(v)>Math.abs(S)?"h":"v";if("touches"in y&&T==="h"&&R.type==="range")return!1;var x=Em(T,R);if(!x)return!0;if(x?C=T:(C=T==="v"?"h":"v",x=Em(T,R)),!x)return!1;if(!r.current&&"changedTouches"in y&&(v||S)&&(r.current=C),!C)return!0;var N=r.current||C;return R$(N,P,y,N==="h"?v:S,!0)},[]),l=g.useCallback(function(y){var P=y;if(!(!hr.length||hr[hr.length-1]!==i)){var b="deltaY"in P?km(P):es(P),h=t.current.filter(function(C){return C.name===P.type&&C.target===P.target&&N$(C.delta,b)})[0];if(h&&h.should){P.cancelable&&P.preventDefault();return}if(!h){var v=(s.current.shards||[]).map(Tm).filter(Boolean).filter(function(C){return C.contains(P.target)}),S=v.length>0?a(P,v[0]):!s.current.noIsolation;S&&P.cancelable&&P.preventDefault()}}},[]),u=g.useCallback(function(y,P,b,h){var v={name:y,delta:P,target:b,should:h};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(S){return S!==v})},1)},[]),c=g.useCallback(function(y){n.current=es(y),r.current=void 0},[]),d=g.useCallback(function(y){u(y.type,km(y),y.target,a(y,e.lockRef.current))},[]),f=g.useCallback(function(y){u(y.type,es(y),y.target,a(y,e.lockRef.current))},[]);g.useEffect(function(){return hr.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,pr),document.addEventListener("touchmove",l,pr),document.addEventListener("touchstart",c,pr),function(){hr=hr.filter(function(y){return y!==i}),document.removeEventListener("wheel",l,pr),document.removeEventListener("touchmove",l,pr),document.removeEventListener("touchstart",c,pr)}},[]);var p=e.removeScrollBar,m=e.inert;return g.createElement(g.Fragment,null,m?g.createElement(i,{styles:$$(o)}):null,p?g.createElement(w$,{gapMode:e.gapMode}):null)}const A$=u$(M1,L$);var _1=g.forwardRef(function(e,t){return g.createElement(Ka,Lt({},e,{ref:t,sideCar:A$}))});_1.classNames=Ka.classNames;const O$=_1;var[j$,lo]=Da({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"}),_$={enter:{height:"calc(100vh - var(--navbar-height) - 1px)",transition:{duration:.3,easings:"easeOut"}},exit:{height:0,transition:{duration:.25,easings:"easeIn"}}},D1=Ie((e,t)=>{var n,r;const{className:o,children:i,portalContainer:s,motionProps:a,style:l,...u}=e,c=He(t),{slots:d,isMenuOpen:f,height:p,disableAnimation:m,classNames:y}=lo(),P=le(y==null?void 0:y.menu,o),b=g.useCallback(({children:v})=>E.jsx(O$,{forwardProps:!0,enabled:f,removeScrollBar:!1,children:v}),[f]),h=m?E.jsx(b,{children:E.jsx("ul",{ref:c,className:(n=d.menu)==null?void 0:n.call(d,{class:P}),"data-open":X(f),style:{"--navbar-height":p},...u,children:i})}):E.jsx(g1,{children:f?E.jsx(b,{children:E.jsx(hf.ul,{ref:c,layoutScroll:!0,animate:"enter",className:(r=d.menu)==null?void 0:r.call(d,{class:P}),"data-open":X(f),exit:"exit",initial:"exit",style:{"--navbar-height":p,...l},variants:_$,...we(a,u),children:i})}):null});return E.jsx(sE,{portalContainer:s,children:h})});D1.displayName="NextUI.NavbarMenu";var I1=D1,D$={visible:{y:0,transition:{ease:wm.easeOut}},hidden:{y:"-100%",transition:{ease:wm.easeIn}}},I$=typeof window<"u";function Rm(e){return I$?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scroll