estatesfunding/ef-ui/dist/assets/index-0-EQa57V.js

81 lines
308 KiB
JavaScript
Raw Normal View History

2024-09-15 08:11:03 +00:00
var $p=Object.defineProperty;var Wp=(e,t,n)=>t in e?$p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ks=(e,t,n)=>Wp(e,typeof t!="symbol"?t+"":t,n);function Hp(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const l=Object.getOwnPropertyDescriptor(r,i);l&&Object.defineProperty(e,i,l.get?l:{enumerable:!0,get:()=>r[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 s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).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)}})();function hd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yd={exports:{}},Xl={},vd={exports:{}},A={};/**
* @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.
2024-09-16 05:54:57 +00:00
*/var pi=Symbol.for("react.element"),Vp=Symbol.for("react.portal"),Qp=Symbol.for("react.fragment"),qp=Symbol.for("react.strict_mode"),Kp=Symbol.for("react.profiler"),Xp=Symbol.for("react.provider"),Yp=Symbol.for("react.context"),Gp=Symbol.for("react.forward_ref"),Jp=Symbol.for("react.suspense"),Zp=Symbol.for("react.memo"),eh=Symbol.for("react.lazy"),_u=Symbol.iterator;function th(e){return e===null||typeof e!="object"?null:(e=_u&&e[_u]||e["@@iterator"],typeof e=="function"?e:null)}var gd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xd=Object.assign,wd={};function fr(e,t,n){this.props=e,this.context=t,this.refs=wd,this.updater=n||gd}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 Nd(){}Nd.prototype=fr.prototype;function ja(e,t,n){this.props=e,this.context=t,this.refs=wd,this.updater=n||gd}var Ea=ja.prototype=new Nd;Ea.constructor=ja;xd(Ea,fr.prototype);Ea.isPureReactComponent=!0;var Cu=Array.isArray,jd=Object.prototype.hasOwnProperty,Sa={current:null},Ed={key:!0,ref:!0,__self:!0,__source:!0};function Sd(e,t,n){var r,i={},l=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(l=""+t.key),t)jd.call(t,r)&&!Ed.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var u=Array(a),c=0;c<a;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:pi,type:e,key:l,ref:s,props:i,_owner:Sa.current}}function nh(e,t){return{$$typeof:pi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ka(e){return typeof e=="object"&&e!==null&&e.$$typeof===pi}function rh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Pu=/\/+/g;function _s(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rh(""+e.key):t.toString(36)}function qi(e,t,n,r,i){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case pi:case Vp:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+_s(s,0):r,Cu(i)?(n="",e!=null&&(n=e.replace(Pu,"$&/")+"/"),qi(i,t,n,"",function(c){return c})):i!=null&&(ka(i)&&(i=nh(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Pu,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Cu(e))for(var a=0;a<e.length;a++){l=e[a];var u=r+_s(l,a);s+=qi(l,t,n,u,i)}else if(u=th(e),typeof u=="function")for(e=u.call(e),a=0;!(l=e.next()).done;)l=l.value,u=r+_s(l,a++),s+=qi(l,t,n,u,i);else if(l==="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 Ci(e,t,n){if(e==null)return e;var r=[],i=0;return qi(e,r,"","",function(l){return t.call(n,l,i++)}),r}function ih(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 we={current:null},Ki={transition:null},lh={ReactCurrentDispatcher:we,ReactCurrentBatchConfig:Ki,ReactCurrentOwner:Sa};function kd(){throw Error("act(...) is not supported in production builds of React.")}A.Children={map:Ci,forEach:function(e,t,n){Ci(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ci(e,function(){t++}),t},toArray:function(e){return Ci(e,function(t){return t})||[]},only:function(e){if(!ka(e))throw Error("React.Children.only expected to receive a sing
2024-09-15 08:11:03 +00:00
* @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 sh=_,oh=Symbol.for("react.element"),ah=Symbol.for("react.fragment"),uh=Object.prototype.hasOwnProperty,ch=sh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dh={key:!0,ref:!0,__self:!0,__source:!0};function _d(e,t,n){var r,i={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)uh.call(t,r)&&!dh.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:oh,type:e,key:l,ref:s,props:i,_owner:ch.current}}Xl.Fragment=ah;Xl.jsx=_d;Xl.jsxs=_d;yd.exports=Xl;var o=yd.exports,Cd={exports:{}},We={},Pd={exports:{}},Od={};/**
* @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.
2024-09-16 05:54:57 +00:00
*/(function(e){function t(T,M){var I=T.length;T.push(M);e:for(;0<I;){var B=I-1>>>1,U=T[B];if(0<i(U,M))T[B]=M,T[I]=U,I=B;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var M=T[0],I=T.pop();if(I!==M){T[0]=I;e:for(var B=0,U=T.length,oe=U>>>1;B<oe;){var ne=2*(B+1)-1,Ee=T[ne],ye=ne+1,dt=T[ye];if(0>i(Ee,I))ye<U&&0>i(dt,Ee)?(T[B]=dt,T[ye]=I,B=ye):(T[B]=Ee,T[ne]=I,B=ne);else if(ye<U&&0>i(dt,I))T[B]=dt,T[ye]=I,B=ye;else break e}}return M}function i(T,M){var I=T.sortIndex-M.sortIndex;return I!==0?I:T.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],c=[],d=1,f=null,y=3,N=!1,v=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(T){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=T)r(c),M.sortIndex=M.expirationTime,t(u,M);else break;M=n(c)}}function x(T){if(g=!1,p(T),!v)if(n(u)!==null)v=!0,bt(S);else{var M=n(c);M!==null&&be(x,M.startTime-T)}}function S(T,M){v=!1,g&&(g=!1,h(k),k=-1),N=!0;var I=y;try{for(p(M),f=n(u);f!==null&&(!(f.expirationTime>M)||T&&!H());){var B=f.callback;if(typeof B=="function"){f.callback=null,y=f.priorityLevel;var U=B(f.expirationTime<=M);M=e.unstable_now(),typeof U=="function"?f.callback=U:f===n(u)&&r(u),p(M)}else r(u);f=n(u)}if(f!==null)var oe=!0;else{var ne=n(c);ne!==null&&be(x,ne.startTime-M),oe=!1}return oe}finally{f=null,y=I,N=!1}}var C=!1,P=null,k=-1,b=5,L=-1;function H(){return!(e.unstable_now()-L<b)}function je(){if(P!==null){var T=e.unstable_now();L=T;var M=!0;try{M=P(!0,T)}finally{M?Ve():(C=!1,P=null)}}else C=!1}var Ve;if(typeof m=="function")Ve=function(){m(je)};else if(typeof MessageChannel<"u"){var Ze=new MessageChannel,Rt=Ze.port2;Ze.port1.onmessage=je,Ve=function(){Rt.postMessage(null)}}else Ve=function(){w(je,0)};function bt(T){P=T,C||(C=!0,Ve())}function be(T,M){k=w(function(){T(e.unstable_now())},M)}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(T){T.callback=null},e.unstable_continueExecution=function(){v||N||(v=!0,bt(S))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(T){switch(y){case 1:case 2:case 3:var M=3;break;default:M=y}var I=y;y=M;try{return T()}finally{y=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,M){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var I=y;y=T;try{return M()}finally{y=I}},e.unstable_scheduleCallback=function(T,M,I){var B=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?B+I:B):I=B,T){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=I+U,T={id:d++,callback:M,priorityLevel:T,startTime:I,expirationTime:U,sortIndex:-1},I>B?(T.sortIndex=I,t(c,T),n(u)===null&&T===n(c)&&(g?(h(k),k=-1):g=!0,be(x,I-B))):(T.sortIndex=U,t(u,T),v||N||(v=!0,bt(S))),T},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(T){var M=y;return function(){var I=y;y=M;try{return T.apply(this,arguments)}finally{y=I}}}})(Od);Pd.exports=Od;var fh=Pd.exports;/**
2024-09-15 08:11:03 +00:00
* @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.
2024-09-16 05:54:57 +00:00
*/var mh=_,Be=fh;function O(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 Td=new Set,Hr={};function Rn(e,t){rr(e,t),rr(e+"Capture",t)}function rr(e,t){for(Hr[e]=t,e=0;e<t.length;e++)Td.add(t[e])}var kt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fo=Object.prototype.hasOwnProperty,ph=/^[: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]*$/,Ou={},Tu={};function hh(e){return fo.call(Tu,e)?!0:fo.call(Ou,e)?!1:ph.test(e)?Tu[e]=!0:(Ou[e]=!0,!1)}function yh(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 vh(e,t,n,r){if(t===null||typeof t>"u"||yh(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 Ne(e,t,n,r,i,l,s){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=s}var de={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){de[e]=new Ne(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 Ne(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){de[e]=new Ne(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){de[e]=new Ne(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 Ne(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){de[e]=new Ne(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){de[e]=new Ne(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){de[e]=new Ne(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){de[e]=new Ne(e,5,!1,e.toLowerCase(),null,!1,!1)});var _a=/[\-:]([a-z])/g;function Ca(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-
2024-09-15 08:11:03 +00:00
`+Cs+e}var Ps=!1;function Os(e,t){if(!e||Ps)return"";Ps=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
`),l=r.stack.split(`
`),s=i.length-1,a=l.length-1;1<=s&&0<=a&&i[s]!==l[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==l[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==l[a]){var u=`
2024-09-16 05:54:57 +00:00
`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{Ps=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Pr(e):""}function gh(e){switch(e.tag){case 5:return Pr(e.type);case 16:return Pr("Lazy");case 13:return Pr("Suspense");case 19:return Pr("SuspenseList");case 0:case 2:case 15:return e=Os(e.type,!1),e;case 11:return e=Os(e.type.render,!1),e;case 1:return e=Os(e.type,!0),e;default:return""}}function yo(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 In:return"Fragment";case Mn:return"Portal";case mo:return"Profiler";case Oa:return"StrictMode";case po:return"Suspense";case ho:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bd:return(e.displayName||"Context")+".Consumer";case Rd:return(e._context.displayName||"Context")+".Provider";case Ta:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ra:return t=e.displayName||null,t!==null?t:yo(e.type)||"Memo";case It:t=e._payload,e=e._init;try{return yo(e(t))}catch{}}return null}function xh(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 yo(t);case 8:return t===Oa?"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 tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Md(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wh(e){var t=Md(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(s){r=""+s,l.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 Oi(e){e._valueTracker||(e._valueTracker=wh(e))}function Id(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Md(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ml(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 vo(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function bu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(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 Fd(e,t){t=t.checked,t!=null&&Pa(e,"checked",t,!1)}function go(e,t){Fd(e,t);var n=tn(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")?xo(e,t.type,n):t.hasOwnProperty("defaultValue")&&xo(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Lu(e,t,n){if(t.hasOwnProperty("valu
`).replace(Ty,"")}function zi(e,t,n){if(t=nc(t),nc(e)!==t&&n)throw Error(O(425))}function Nl(){}var Lo=null,Mo=null;function Io(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 Fo=typeof setTimeout=="function"?setTimeout:void 0,Ry=typeof clearTimeout=="function"?clearTimeout:void 0,rc=typeof Promise=="function"?Promise:void 0,by=typeof queueMicrotask=="function"?queueMicrotask:typeof rc<"u"?function(e){return rc.resolve(null).then(e).catch(Ly)}:Fo;function Ly(e){setTimeout(function(){throw e})}function $s(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Xr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Xr(t)}function Xt(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 ic(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 pr=Math.random().toString(36).slice(2),ht="__reactFiber$"+pr,ei="__reactProps$"+pr,_t="__reactContainer$"+pr,zo="__reactEvents$"+pr,My="__reactListeners$"+pr,Iy="__reactHandles$"+pr;function pn(e){var t=e[ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_t]||n[ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ic(e);e!==null;){if(n=e[ht])return n;e=ic(e)}return t}e=n,n=e.parentNode}return null}function vi(e){return e=e[ht]||e[_t],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Dn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function es(e){return e[ei]||null}var Ao=[],Bn=-1;function sn(e){return{current:e}}function Q(e){0>Bn||(e.current=Ao[Bn],Ao[Bn]=null,Bn--)}function W(e,t){Bn++,Ao[Bn]=e.current,e.current=t}var nn={},he=sn(nn),Ce=sn(!1),jn=nn;function ir(e,t){var n=e.type.contextTypes;if(!n)return nn;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 Pe(e){return e=e.childContextTypes,e!=null}function jl(){Q(Ce),Q(he)}function lc(e,t,n){if(he.current!==nn)throw Error(O(168));W(he,t),W(Ce,n)}function kf(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,xh(e)||"Unknown",i));return Y({},n,r)}function El(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,jn=he.current,W(he,e),W(Ce,Ce.current),!0}function sc(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=kf(e,t,jn),r.__reactInternalMemoizedMergedChildContext=e,Q(Ce),Q(he),W(he,e)):Q(Ce),W(Ce,n)}var Nt=null,ts=!1,Ws=!1;function _f(e){Nt===null?Nt=[e]:Nt.push(e)}function Fy(e){ts=!0,_f(e)}function on(){if(!Ws&&Nt!==null){Ws=!0;var e=0,t=$;try{var n=Nt;for($=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Nt=null,ts=!1}catch(i){throw Nt!==null&&(Nt=Nt.slice(e+1)),Yd(La,on),i}finally{$=t,Ws=!1}}return null}var Un=[],$n=0,Sl=null,kl=0,qe=[],Ke=0,En=null,jt=1,Et="";function cn(e,t){Un[$n++]=kl,Un[$n++]=Sl,Sl=e,kl=t}function Cf(e,t,n){qe[Ke++]=jt,qe[Ke++]=Et,qe[Ke++]=En,En=e;var r=jt;e=Et;var i=32-lt(r)-1;r&=~(1<<i),n+=1;var l=32-lt(t)+i;if(30<l){var s=i-i%5;l=(r&(1<<s)-1).toString(32),r>>=s,i-=s,jt=1<<32-lt(t)+i|n<<i|r,Et=l+e}else jt=1<<l|n<<i|r,Et=e}function $a(e){e.return!==null&&(cn(e,1),Cf(e,1,0))}function Wa(e){for(;e===Sl;)Sl=Un[--$n],Un[$n]=null,kl=Un[--$n],Un[$n]=null;for(;e===En;)En=qe[--Ke],qe[Ke]=null,Et=qe[--Ke],qe[Ke]=null,jt=qe[--Ke],qe[Ke]=null}var Ae=null,Ie=null,q=!1,rt=null;function Pf(e,t){var n=Xe(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.del
2024-09-15 08:11:03 +00:00
Error generating stack: `+l.message+`
2024-09-16 05:54:57 +00:00
`+l.stack}return{value:e,source:t,stack:i,digest:null}}function Ks(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ho(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Vy=typeof WeakMap=="function"?WeakMap:Map;function tm(e,t,n){n=St(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ll||(Ll=!0,ea=r),Ho(e,t)},n}function nm(e,t,n){n=St(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ho(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Ho(e,t),typeof r!="function"&&(Gt===null?Gt=new Set([this]):Gt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function yc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Vy;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=lv.bind(null,e,t,n),t.then(e,e))}function vc(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 gc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=St(-1,1),t.tag=2,Yt(n,t,1))),n.lanes|=1),e)}var Qy=Tt.ReactCurrentOwner,_e=!1;function ve(e,t,n,r){t.child=e===null?Rf(t,null,n,r):sr(t,e.child,n,r)}function xc(e,t,n,r,i){n=n.render;var l=t.ref;return tr(t,i),r=eu(e,t,n,r,l,i),n=tu(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Pt(e,t,i)):(q&&n&&$a(t),t.flags|=1,ve(e,t,r,i),t.child)}function wc(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!du(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,rm(e,t,l,r,i)):(e=il(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&i)){var s=l.memoizedProps;if(n=n.compare,n=n!==null?n:Gr,n(s,r)&&e.ref===t.ref)return Pt(e,t,i)}return t.flags|=1,e=Zt(l,r),e.ref=t.ref,e.return=t,t.child=e}function rm(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(Gr(l,r)&&e.ref===t.ref)if(_e=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(_e=!0);else return t.lanes=e.lanes,Pt(e,t,i)}return Vo(e,t,n,r,i)}function im(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(Vn,Me),Me|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,W(Vn,Me),Me|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,W(Vn,Me),Me|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,W(Vn,Me),Me|=r;return ve(e,t,i,n),t.child}function lm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Vo(e,t,n,r,i){var l=Pe(n)?jn:he.current;return l=ir(t,l),tr(t,i),n=eu(e,t,n,r,l,i),r=tu(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Pt(e,t,i)):(q&&r&&$a(t),t.flags|=1,ve(e,t,n,i),t.child)}function Nc(e,t,n,r,i){if(Pe(n)){var l=!0;El(t)}else l=!1;if(tr(t,i),t.stateNode===null)tl(e,t),em(t,n,r),Wo(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ge(c):(c=Pe(n)?jn:he.current,c=ir(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||u!==c)&&hc(t,s,r,c),Ft=!1;var y=t.memoizedState;s.state=y,Pl(t,r,s,i),u=t.memoizedState,a!==r||y!==u||Ce.current||Ft?(typeof d=="function"&&($o(t,n,d,r),u=t.memoizedState),(a=Ft||pc(t,n,a,r,y,u,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.compon
2024-09-15 08:11:03 +00:00
* @license React
* use-sync-external-store-with-selector.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.
2024-09-16 05:54:57 +00:00
*/var xi=_;function vv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gv=typeof Object.is=="function"?Object.is:vv,xv=xi.useSyncExternalStore,wv=xi.useRef,Nv=xi.useEffect,jv=xi.useMemo,Ev=xi.useDebugValue;Rm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=wv(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=jv(function(){function u(N){if(!c){if(c=!0,d=N,N=r(N),i!==void 0&&s.hasValue){var v=s.value;if(i(v,N))return f=v}return f=N}if(v=f,gv(d,N))return v;var g=r(N);return i!==void 0&&i(v,g)?v:(d=N,f=g)}var c=!1,d,f,y=n===void 0?null:n;return[function(){return u(t())},y===null?void 0:function(){return u(y())}]},[t,n,r,i]);var a=xv(e,l[0],l[1]);return Nv(function(){s.hasValue=!0,s.value=a},[a]),Ev(a),a};Tm.exports=Rm;var Sv=Tm.exports,Fe="default"in co?j:co,Ic=Symbol.for("react-redux-context"),Fc=typeof globalThis<"u"?globalThis:{};function kv(){if(!Fe.createContext)return{};const e=Fc[Ic]??(Fc[Ic]=new Map);let t=e.get(Fe.createContext);return t||(t=Fe.createContext(null),e.set(Fe.createContext,t)),t}var rn=kv(),_v=()=>{throw new Error("uSES not initialized!")};function yu(e=rn){return function(){return Fe.useContext(e)}}var bm=yu(),Lm=_v,Cv=e=>{Lm=e},Pv=(e,t)=>e===t;function Ov(e=rn){const t=e===rn?bm:yu(e),n=(r,i={})=>{const{equalityFn:l=Pv,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Fe.useRef(!0);const y=Fe.useCallback({[r.name](v){return r(v)}}[r.name],[r,d,s.stabilityCheck]),N=Lm(u.addNestedSub,a.getState,c||a.getState,y,l);return Fe.useDebugValue(N),N};return Object.assign(n,{withTypes:()=>n}),n}var Cn=Ov();function Tv(e){e()}function Rv(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Tv(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var zc={notify(){},get:()=>[]};function bv(e,t){let n,r=zc,i=0,l=!1;function s(g){d();const w=r.subscribe(g);let h=!1;return()=>{h||(h=!0,w(),f())}}function a(){r.notify()}function u(){v.onStateChange&&v.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(u),r=Rv())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=zc)}function y(){l||(l=!0,d())}function N(){l&&(l=!1,f())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:c,trySubscribe:y,tryUnsubscribe:N,getListeners:()=>r};return v}var Lv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Mv=typeof navigator<"u"&&navigator.product==="ReactNative",Iv=Lv||Mv?Fe.useLayoutEffect:Fe.useEffect;function Fv({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=Fe.useMemo(()=>{const c=bv(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=Fe.useMemo(()=>e.getState(),[e]);Iv(()=>{const{subscription:c}=s;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[s,a]);const u=t||rn;return Fe.createElement(u.Provider,{value:s},n)}var zv=Fv;function Mm(e=rn){const t=e===rn?bm:yu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Av=Mm();function Dv(e=rn){const t=e===rn?Av:Mm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var wi=Dv();Cv(Sv.useSyncExternalStoreWithSelector);function ae(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Bv=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ac=Bv,Js=()=>Math.random().toString(36).substring(7).split("").join("."),Uv={INIT:`@@redux/INIT${Js()}`,REPLACE:`@@redux/REPLACE${Js()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/P
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&Lg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Jc=Symbol("internals");function Cr(e){return e&&String(e).trim().toLowerCase()}function sl(e){return e===!1||e==null?e:E.isArray(e)?e.map(sl):String(e)}function Ig(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 Fg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ro(e,t,n,r,i){if(E.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function zg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ag(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Re{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,u,c){const d=Cr(u);if(!d)throw new Error("header name must be a non-empty string");const f=E.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||u]=sl(a))}const s=(a,u)=>E.forEach(a,(c,d)=>l(c,d,u));if(E.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(E.isString(t)&&(t=t.trim())&&!Fg(t))s(Mg(t),n);else if(E.isHeaders(t))for(const[a,u]of t.entries())l(u,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Cr(t),t){const r=E.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Ig(i);if(E.isFunction(n))return n.call(this,i,r);if(E.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Cr(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ro(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Cr(s),s){const a=E.findKey(r,s);a&&(!n||ro(r,r[a],a,n))&&(delete r[a],i=!0)}}return E.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||ro(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return E.forEach(this,(i,l)=>{const s=E.findKey(r,l);if(s){n[s]=sl(i),delete n[l];return}const a=t?zg(l):String(l).trim();a!==l&&delete n[l],n[a]=sl(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&E.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(i=>r.set(i)),r}static accessor(t){const r=(this[Jc]=this[Jc]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=Cr(s);r[a]||(Ag(i,s),r[a]=!0)}return E.isArray(t)?t.forEach(l):l(t),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(Re.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});E.freezeMethods(Re);function io(e,t){const n=this||ji,r=t||n,i=Re.from(r.headers);let l=r.data;return E.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function ap(e){return!!(e&&e.__CANCEL__)}function vr(e,t,n){F.call(this,e??"canceled",F.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(vr,F,{__CANCEL__:!0});function up(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Dg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Bg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[l];s||(s=c),n[i]=u,r[i]=c;let f=l,y=0;for(;f!==i;)y+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s<t)return;const N=d&&c-d;return N?Math.round(y*1e3/N):void 0}}function Ug(e,t){let n=0,r=1e3/t,i,l;const s=(c,d=Date.now())=>{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?s(c,d):(i=c,l||(l=setTimeout(()=>{l=null,s(i)},r-f)))},()=>i&&s(i)]}const $l=(e,t,n=3)=>{let r=0;const i=Bg(50,250);return Ug(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,u=s-r,c=i(u),d=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-s)/c:void 0,event:l,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Zc=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ed=e=>(...t)=>E.asap(()=>e(...t)),$g=Te.hasStandardBrowserEnv?function(){const t=Te.navigator&&/(msie|trident)/i.test(Te.navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;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=i(window.location.href),function(s){const a=E.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Wg=Te.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),E.isString(r)&&s.push("path="+r),E.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Hg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Vg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function cp(e,t){return e&&!Hg(t)?Vg(e,t):t}const td=e=>e instanceof Re?{...e}:e;function Tn(e,t){t=t||{};const n={};function r(c,d,f){return E.isPlainObject(c)&&E.isPlainObject(d)?E.merge.call({caseless:f},c,d):E.isPlainObject(d)?E.merge({},d):E.isArray(d)?d.slice():d}function i(c,d,f){if(E.isUndefined(d)){if(!E.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!E.isUndefined(d))return r(void 0,d)}function s(c,d){if(E.isUndefined(d)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const u
2024-09-15 08:11:03 +00:00
`+l.map(id).join(`
2024-09-16 05:54:57 +00:00
`):" "+id(l[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:pa};function lo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vr(null,e)}function ld(e){return lo(e),e.headers=Re.from(e.headers),e.data=io.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),pp.getAdapter(e.adapter||ji.adapter)(e).then(function(r){return lo(e),r.data=io.call(e,e.transformResponse,r),r.headers=Re.from(r.headers),r},function(r){return ap(r)||(lo(e),r&&r.response&&(r.response.data=io.call(e,e.transformResponse,r.response),r.response.headers=Re.from(r.response.headers))),Promise.reject(r)})}const hp="1.7.7",Su={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Su[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const sd={};Su.transitional=function(t,n,r){function i(l,s){return"[Axios v"+hp+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new F(i(s," has been removed"+(n?" in "+n:"")),F.ERR_DEPRECATED);return n&&!sd[s]&&(sd[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function i1(e,t,n){if(typeof e!="object")throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],u=a===void 0||s(a,l,e);if(u!==!0)throw new F("option "+l+" must be "+u,F.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new F("Unknown option "+l,F.ERR_BAD_OPTION)}}const ha={assertOptions:i1,validators:Su},Mt=ha.validators;class wn{constructor(t){this.defaults=t,this.interceptors={request:new Gc,response:new Gc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Tn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ha.assertOptions(r,{silentJSONParsing:Mt.transitional(Mt.boolean),forcedJSONParsing:Mt.transitional(Mt.boolean),clarifyTimeoutError:Mt.transitional(Mt.boolean)},!1),i!=null&&(E.isFunction(i)?n.paramsSerializer={serialize:i}:ha.assertOptions(i,{encode:Mt.function,serialize:Mt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&E.merge(l.common,l[n.method]);l&&E.forEach(["delete","get","head","post","put","patch","common"],v=>{delete l[v]}),n.headers=Re.concat(s,l);const a=[];let u=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(u=u&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,f=0,y;if(!u){const v=[ld.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,c),y=v.length,d=Promise.resolve(n);f<y;)d=d.then(v[f++],v[f++]);return d}y=a.length;let N=n;for(f=0;f<y;){const v=a[f++],g=a[f++];try{N=v(N)}catch(w){g.call(this,w);break}}try{d=ld.call(this,N)}catch(v){return Promise.reject(v)}for(f=0,y=c.length;f<y;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Tn(this.defaults,t);const n=cp(t.baseURL,t.url);return lp(n,t.params,t.paramsSerializer)}}E.forEach(["delete","get","head","options"],function(t){wn.prototype[t]=function(n,r){return this.request(Tn(r||{},{method:t,url:n,data:(r||{}).data}))}});E.forEach(["post","put","patch"],function(t){function n(r){return function(l,s,a){return this.request(Tn(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}wn.prototype[t]=n(),wn.prototype[t+"Form"]=n(!0)});class ku{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new vr(l,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ku(function(i){t=i}),cancel:t}}}function l1(e){return function(n){return e.apply(null,n)}}function s1(e){return E.isObject(e)&&e.isAxiosError===!0}const ya={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationReq
2024-09-15 08:11:03 +00:00
* @remix-run/router v1.19.1
*
* 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
2024-09-16 05:54:57 +00:00
*/function ci(){return ci=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},ci.apply(this,arguments)}var Ht;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ht||(Ht={}));const od="popstate";function x1(e){e===void 0&&(e={});function t(r,i){let{pathname:l,search:s,hash:a}=r.location;return va("",{pathname:l,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Hl(i)}return N1(t,n,null,e)}function J(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function gp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function w1(){return Math.random().toString(36).substr(2,8)}function ad(e,t){return{usr:e.state,key:e.key,idx:t}}function va(e,t,n,r){return n===void 0&&(n=null),ci({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?gr(t):t,{state:n,key:t&&t.key||r||w1()})}function Hl(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 gr(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 N1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,s=i.history,a=Ht.Pop,u=null,c=d();c==null&&(c=0,s.replaceState(ci({},s.state,{idx:c}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=Ht.Pop;let w=d(),h=w==null?null:w-c;c=w,u&&u({action:a,location:g.location,delta:h})}function y(w,h){a=Ht.Push;let m=va(g.location,w,h);c=d()+1;let p=ad(m,c),x=g.createHref(m);try{s.pushState(p,"",x)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(x)}l&&u&&u({action:a,location:g.location,delta:1})}function N(w,h){a=Ht.Replace;let m=va(g.location,w,h);c=d();let p=ad(m,c),x=g.createHref(m);s.replaceState(p,"",x),l&&u&&u({action:a,location:g.location,delta:0})}function v(w){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof w=="string"?w:Hl(w);return m=m.replace(/ $/,"%20"),J(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let g={get action(){return a},get location(){return e(i,s)},listen(w){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(od,f),u=w,()=>{i.removeEventListener(od,f),u=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let h=v(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:y,replace:N,go(w){return s.go(w)}};return g}var ud;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ud||(ud={}));function j1(e,t,n){return n===void 0&&(n="/"),E1(e,t,n,!1)}function E1(e,t,n,r){let i=typeof t=="string"?gr(t):t,l=dr(i.pathname||"/",n);if(l==null)return null;let s=xp(e);S1(s);let a=null;for(let u=0;a==null&&u<s.length;++u){let c=I1(l);a=L1(s[u],c,r)}return a}function xp(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(l,s,a)=>{let u={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};u.relativePath.startsWith("/")&&(J(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=en([r,u.relativePath]),d=n.concat(u);l.children&&l.children.length>0&&(J(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),xp(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:R1(c,l.index),routesMeta:d})};return e.forEach((l,s)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))i(l,s);else for(let u of wp(l.path))i(l,s,u)}),t}function wp(e){let t=e.split("/");if(t.length
2024-09-15 08:11:03 +00:00
* React Router v6.26.1
*
* 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
2024-09-16 05:54:57 +00:00
*/function di(){return di=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},di.apply(this,arguments)}const ws=_.createContext(null),Sp=_.createContext(null),an=_.createContext(null),Ns=_.createContext(null),un=_.createContext({outlet:null,matches:[],isDataRoute:!1}),kp=_.createContext(null);function H1(e,t){let{relative:n}=t===void 0?{}:t;Si()||J(!1);let{basename:r,navigator:i}=_.useContext(an),{hash:l,pathname:s,search:a}=js(e,{relative:n}),u=s;return r!=="/"&&(u=s==="/"?r:en([r,s])),i.createHref({pathname:u,search:a,hash:l})}function Si(){return _.useContext(Ns)!=null}function ki(){return Si()||J(!1),_.useContext(Ns).location}function _p(e){_.useContext(an).static||_.useLayoutEffect(e)}function _i(){let{isDataRoute:e}=_.useContext(un);return e?rx():V1()}function V1(){Si()||J(!1);let e=_.useContext(ws),{basename:t,future:n,navigator:r}=_.useContext(an),{matches:i}=_.useContext(un),{pathname:l}=ki(),s=JSON.stringify(Np(i,n.v7_relativeSplatPath)),a=_.useRef(!1);return _p(()=>{a.current=!0}),_.useCallback(function(c,d){if(d===void 0&&(d={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=jp(c,JSON.parse(s),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:en([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,l,e])}function Cp(){let{matches:e}=_.useContext(un),t=e[e.length-1];return t?t.params:{}}function js(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(an),{matches:i}=_.useContext(un),{pathname:l}=ki(),s=JSON.stringify(Np(i,r.v7_relativeSplatPath));return _.useMemo(()=>jp(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function Q1(e,t){return q1(e,t)}function q1(e,t,n,r){Si()||J(!1);let{navigator:i}=_.useContext(an),{matches:l}=_.useContext(un),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=ki(),d;if(t){var f;let w=typeof t=="string"?gr(t):t;u==="/"||(f=w.pathname)!=null&&f.startsWith(u)||J(!1),d=w}else d=c;let y=d.pathname||"/",N=y;if(u!=="/"){let w=u.replace(/^\//,"").split("/");N="/"+y.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=j1(e,{pathname:N}),g=J1(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:en([u,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:en([u,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),l,n,r);return t&&g?_.createElement(Ns.Provider,{value:{location:di({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Ht.Pop}},g):g}function K1(){let e=nx(),t=$1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:i},n):null,null)}const X1=_.createElement(K1,null);class Y1 extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?_.createElement(un.Provider,{value:this.props.routeContext},_.createElement(kp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function G1(e){let{routeContext:t,match:n,children:r}=e,i=_.useContext(ws);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.c
2024-09-15 08:11:03 +00:00
* React Router DOM v6.26.1
*
* 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
2024-09-16 05:54:57 +00:00
*/function ql(){return ql=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},ql.apply(this,arguments)}function Tp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l<r.length;l++)i=r[l],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function sx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ox(e,t){return e.button===0&&(!t||t==="_self")&&!sx(e)}const ax=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ux=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],cx="6";try{window.__reactRouterVersion=cx}catch{}const dx=_.createContext({isTransitioning:!1}),fx="startTransition",dd=co[fx];function mx(e){let{basename:t,children:n,future:r,window:i}=e,l=_.useRef();l.current==null&&(l.current=x1({window:i,v5Compat:!0}));let s=l.current,[a,u]=_.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=_.useCallback(f=>{c&&dd?dd(()=>u(f)):u(f)},[u,c]);return _.useLayoutEffect(()=>s.listen(d),[s,d]),_.createElement(ix,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const px=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yx=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,y=Tp(t,ax),{basename:N}=_.useContext(an),v,g=!1;if(typeof c=="string"&&hx.test(c)&&(v=c,px))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),S=dr(x.pathname,N);x.origin===p.origin&&S!=null?c=S+x.search+x.hash:g=!0}catch{}let w=H1(c,{relative:i}),h=gx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return _.createElement("a",ql({},y,{href:v||w,onClick:g||l?r:m,ref:n,target:u}))}),Le=_.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=Tp(t,ux),y=js(u,{relative:f.relative}),N=ki(),v=_.useContext(Sp),{navigator:g,basename:w}=_.useContext(an),h=v!=null&&xx(y)&&c===!0,m=g.encodeLocation?g.encodeLocation(y).pathname:y.pathname,p=N.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&w&&(x=dr(x,w)||x);const S=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let C=p===m||!s&&p.startsWith(m)&&p.charAt(S)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),k={isActive:C,isPending:P,isTransitioning:h},b=C?r:void 0,L;typeof l=="function"?L=l(k):L=[l,C?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(k):a;return _.createElement(yx,ql({},f,{"aria-current":b,className:L,ref:n,style:H,to:u,unstable_viewTransition:c}),typeof d=="function"?d(k):d)});var xa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(xa||(xa={}));var fd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(fd||(fd={}));function vx(e){let t=_.useContext(ws);return t||J(!1),t}function gx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=_i(),c=ki(),d=js(e,{relative:s});return _.useCallback(f=>{if(ox(f,n)){f.preventDefault();let y=r!==void 0?r:Hl(c)===Hl(d);u(e,{replace:y,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function xx(e,t){t===void 0&&(t={});let n=_.useContext(dx);n==null&&J(!1);let{basename:r}=vx(xa.useViewTransitionState),i=js(e,{relative:t.relative});if(!n.isTransitioning)retur