keyring-chatbot-agent-sdk-test 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +151 -0
- package/dist/chat-widget-wc.es.js +32722 -0
- package/dist/chat-widget-wc.umd.js +273 -0
- package/dist/chat-widget.es.js +3648 -0
- package/dist/chat-widget.umd.js +31 -0
- package/dist/lib.d.ts +57 -0
- package/dist/vite.svg +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".chat-button{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #00000026;transition:all .3s ease;z-index:9998}.chat-button:hover{transform:scale(1.1);box-shadow:0 6px 16px #0003}.chat-button:active{transform:scale(.95)}.chat-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;display:flex;align-items:flex-end;justify-content:flex-end;z-index:9999;pointer-events:all;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.chat-modal{width:90%;max-width:480px;height:700px;max-height:85vh;background:#f5f5f7;border-radius:24px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;margin:20px;pointer-events:all;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.chat-modal-header{background:#fff;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e5e7}.chat-modal-header-left{display:flex;align-items:center;gap:12px}.keyring-logo{width:32px;height:32px}.chat-modal-header h3{margin:0;font-size:18px;font-weight:700;color:#1a1a1d}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;border-radius:8px;color:#666;transition:all .2s}.close-button:hover{background:#f5f5f7;color:#000}.chat-user-info{background:#fff;padding:12px 20px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5e5e7}.user-avatar{width:20px;height:20px;border-radius:50%}.user-wallet{font-size:14px;font-weight:500;color:#1a1a1d}.chat-modal-messages{flex:1;padding:20px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.date-separator{text-align:center;font-size:12px;font-weight:600;color:#666;background:#e5e5e7;padding:6px 16px;border-radius:12px;align-self:center;width:fit-content;margin:8px auto}.message{display:flex;animation:messageSlide .3s ease;position:relative}.message:hover .message-reply-button{opacity:1}@keyframes messageSlide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-reply-button{position:absolute;top:50%;transform:translateY(-50%);background:#fff;border:1px solid #e5e5e7;border-radius:8px;padding:6px;cursor:pointer;opacity:0;transition:all .2s;box-shadow:0 2px 8px #0000001a;z-index:10}.message-bot .message-reply-button{right:20px}.message-user .message-reply-button{left:20px}.message-reply-button:hover{background:#f5f5f7;transform:translateY(-50%) scale(1.1)}.message-reply-button svg{display:block;width:16px;height:16px;color:#666}.message-bot{justify-content:flex-start}.message-user{justify-content:flex-end}.message-bubble{max-width:85%;padding:14px 16px;border-radius:20px}.message-bot .message-bubble{background:#fff;box-shadow:0 2px 8px #0000000f;border-bottom-left-radius:4px}.message-user .message-bubble{background:#5b7fff;color:#fff;border-bottom-right-radius:4px}.message-reply-to{background:#0000000d;padding:8px 12px;border-radius:12px;margin-bottom:8px;border-left:3px solid #5b7fff}.message-bot .message-reply-to{background:#f5f5f7}.message-user .message-reply-to{background:#ffffff26;border-left-color:#ffffff80}.message-reply-to-label{font-size:11px;font-weight:600;margin-bottom:4px}.message-bot .message-reply-to-label{color:#5b7fff}.message-user .message-reply-to-label{color:#ffffffe6}.message-reply-to-text{font-size:12px;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-text{font-size:14px;line-height:1.5;margin-bottom:6px;word-wrap:break-word;white-space:pre-line}.message-bot .message-text{color:#1a1a1d}.message-user .message-text{color:#fff}.message-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;margin-bottom:8px}.message-button{flex:0 1 calc(33.333% - 6px);min-width:100px;padding:10px 16px;background:#fffffff2;border:1px solid #e0e0e0;border-radius:12px;font-size:13px;font-weight:500;color:#1a1a1d;cursor:pointer;transition:all .2s ease;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-button.full-width{flex:1 1 100%;text-align:left;white-space:normal;padding:12px 16px;font-size:14px}.message-buttons:not(:has(.full-width)) .message-button{flex:1 1 calc(25% - 6px);min-width:60px}.message-buttons:has(.message-button:not(.full-width)):not(:has(.message-button.full-width)) .message-button{flex:1 1 calc(25% - 6px);min-width:60px}.message-button:hover{background:#fff;border-color:#007aff;color:#007aff;transform:translateY(-1px);box-shadow:0 2px 8px #007aff26}.message-button:active{transform:translateY(0);box-shadow:0 1px 4px #007aff1a}.message-user .message-button{background:#fff3;border-color:#ffffff4d;color:#fff}.message-user .message-button:hover{background:#ffffff4d;border-color:#ffffff80}.message-timestamp{font-size:11px;color:#999;display:flex;align-items:center;gap:4px;justify-content:flex-end}.message-user .message-timestamp{color:#ffffffb3}.check-icon{width:14px;height:14px}.typing-indicator .message-bubble{padding:12px 18px;display:flex;gap:6px;min-width:60px}.typing-dot{width:8px;height:8px;border-radius:50%;background:#999;animation:typingDot 1.4s infinite ease-in-out}.typing-dot:nth-child(1){animation-delay:0s}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typingDot{0%,60%,to{transform:translateY(0);opacity:.7}30%{transform:translateY(-8px);opacity:1}}.suggestions-container{display:flex;flex-direction:column;gap:10px;margin-top:8px}.suggestion-button{background:#d4d8f0;border:none;padding:14px 18px;border-radius:16px;display:flex;align-items:center;gap:12px;cursor:pointer;transition:all .2s;font-size:14px;font-weight:500;color:#1a1a1d;width:100%;text-align:left}.suggestion-button:hover{background:#c5caeb;transform:translateY(-1px)}.suggestion-icon{font-size:18px}.chat-modal-input{padding:16px 20px;background:#fff;border-top:1px solid #e5e5e7;display:flex;flex-direction:column;gap:12px}.reply-preview{background:#f5f5f7;padding:10px 14px;border-radius:12px;border-left:3px solid #5b7fff;display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.reply-preview-content{flex:1;min-width:0}.reply-preview-label{font-size:11px;color:#5b7fff;font-weight:600;margin-bottom:4px}.reply-preview-text{font-size:13px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-preview-close{background:transparent;border:none;cursor:pointer;padding:2px;color:#999;transition:color .2s;flex-shrink:0}.reply-preview-close:hover{color:#666}.chat-modal-input-row{display:flex;gap:12px}.chat-modal-input input{flex:1;padding:14px 18px;border:1px solid #e5e5e7;border-radius:24px;outline:none;font-size:14px;color:#1a1a1d;transition:all .2s}.chat-modal-input input::placeholder{color:#999}.chat-modal-input input:focus{border-color:#5b7fff;box-shadow:0 0 0 3px #5b7fff1a}.chat-modal-input input:disabled{opacity:.6;cursor:not-allowed;background:#f5f5f7}.send-button{width:44px;height:44px;border-radius:50%;background:#5b7fff;border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.send-button:hover:not(:disabled){background:#4a6fee;transform:scale(1.05)}.send-button:disabled{opacity:.4;cursor:not-allowed}.chat-modal-messages::-webkit-scrollbar{width:6px}.chat-modal-messages::-webkit-scrollbar-thumb{background:#d1d1d6;border-radius:3px}@media(max-width:640px){.chat-modal{width:100%;height:100%;max-height:100%;border-radius:0}}.message-content{display:block;word-wrap:break-word;overflow-wrap:break-word;max-width:100%;overflow:hidden;font-size:inherit;line-height:1.5}.mc-line{min-height:1.2em;word-break:break-word}.mc-empty-line{height:.5em}.mc-heading{font-weight:600;margin:.3em 0;word-break:break-word}.mc-h1{font-size:1.4em}.mc-h2{font-size:1.2em}.mc-h3{font-size:1.05em}.mc-inline-code{background:#afb8c133;padding:1px 5px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace;font-size:.88em}.mc-codeblock{background:#f6f8fa;border:1px solid #d0d7de;border-radius:6px;margin:6px 0;overflow:hidden;max-width:100%}.mc-codeblock-lang{background:#e8ecf0;padding:3px 10px;font-size:.75em;font-weight:600;color:#57606a;text-transform:uppercase;font-family:Monaco,Menlo,monospace;border-bottom:1px solid #d0d7de}.mc-codeblock pre{margin:0;padding:10px;overflow-x:auto}.mc-codeblock code{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace;font-size:.85em;line-height:1.5;color:#24292f;white-space:pre}.mc-link{color:#0969da;text-decoration:none;word-break:break-word}.mc-link:hover{text-decoration:underline}.mc-image{max-width:100%;height:auto;border-radius:6px;margin:4px 0;display:block}.mc-image-inline{width:20px;height:20px;border-radius:50%;margin:0 4px;display:inline-block;vertical-align:middle;object-fit:cover}.mc-blockquote{margin:4px 0;padding:2px 0 2px 12px;color:#57606a;border-left:3px solid #d0d7de}.mc-hr{height:1px;border:0;background:#d0d7de;margin:.4em 0}.message-content strong{font-weight:600}.message-content del{text-decoration:line-through}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
(function(zd,Zo){typeof exports=="object"&&typeof module<"u"?Zo(exports):typeof define=="function"&&define.amd?define(["exports"],Zo):(zd=typeof globalThis<"u"?globalThis:zd||self,Zo(zd.ChatWidgetWC={}))})(this,(function(zd){"use strict";var Zo={exports:{}},I0={};var qS;function tA(){if(qS)return I0;qS=1;var d=Symbol.for("react.transitional.element"),m=Symbol.for("react.fragment");function g(p,S,x){var q=null;if(x!==void 0&&(q=""+x),S.key!==void 0&&(q=""+S.key),"key"in S){x={};for(var w in S)w!=="key"&&(x[w]=S[w])}else x=S;return S=x.ref,{$$typeof:d,type:p,key:q,ref:S!==void 0?S:null,props:x}}return I0.Fragment=m,I0.jsx=g,I0.jsxs=g,I0}var P0={},cg={exports:{}},lt={};var GS;function nA(){if(GS)return lt;GS=1;var d=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),q=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),F=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),V=Symbol.iterator;function ve(E){return E===null||typeof E!="object"?null:(E=V&&E[V]||E["@@iterator"],typeof E=="function"?E:null)}var Me={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qe=Object.assign,Ge={};function Ze(E,G,ie){this.props=E,this.context=G,this.refs=Ge,this.updater=ie||Me}Ze.prototype.isReactComponent={},Ze.prototype.setState=function(E,G){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,G,"setState")},Ze.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function be(){}be.prototype=Ze.prototype;function Pe(E,G,ie){this.props=E,this.context=G,this.refs=Ge,this.updater=ie||Me}var gt=Pe.prototype=new be;gt.constructor=Pe,Qe(gt,Ze.prototype),gt.isPureReactComponent=!0;var St=Array.isArray;function Ke(){}var we={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function R(E,G,ie){var ae=ie.ref;return{$$typeof:d,type:E,key:G,ref:ae!==void 0?ae:null,props:ie}}function _(E,G){return R(E.type,G,E.props)}function W(E){return typeof E=="object"&&E!==null&&E.$$typeof===d}function N(E){var G={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(ie){return G[ie]})}var X=/\/+/g;function ee(E,G){return typeof E=="object"&&E!==null&&E.key!=null?N(""+E.key):G.toString(36)}function L(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(Ke,Ke):(E.status="pending",E.then(function(G){E.status==="pending"&&(E.status="fulfilled",E.value=G)},function(G){E.status==="pending"&&(E.status="rejected",E.reason=G)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function A(E,G,ie,ae,ye){var ze=typeof E;(ze==="undefined"||ze==="boolean")&&(E=null);var _e=!1;if(E===null)_e=!0;else switch(ze){case"bigint":case"string":case"number":_e=!0;break;case"object":switch(E.$$typeof){case d:case m:_e=!0;break;case fe:return _e=E._init,A(_e(E._payload),G,ie,ae,ye)}}if(_e)return ye=ye(E),_e=ae===""?"."+ee(E,0):ae,St(ye)?(ie="",_e!=null&&(ie=_e.replace(X,"$&/")+"/"),A(ye,G,ie,"",function(wn){return wn})):ye!=null&&(W(ye)&&(ye=_(ye,ie+(ye.key==null||E&&E.key===ye.key?"":(""+ye.key).replace(X,"$&/")+"/")+_e)),G.push(ye)),1;_e=0;var Ot=ae===""?".":ae+":";if(St(E))for(var yt=0;yt<E.length;yt++)ae=E[yt],ze=Ot+ee(ae,yt),_e+=A(ae,G,ie,ze,ye);else if(yt=ve(E),typeof yt=="function")for(E=yt.call(E),yt=0;!(ae=E.next()).done;)ae=ae.value,ze=Ot+ee(ae,yt++),_e+=A(ae,G,ie,ze,ye);else if(ze==="object"){if(typeof E.then=="function")return A(L(E),G,ie,ae,ye);throw G=String(E),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return _e}function M(E,G,ie){if(E==null)return E;var ae=[],ye=0;return A(E,ae,"","",function(ze){return G.call(ie,ze,ye++)}),ae}function C(E){if(E._status===-1){var G=E._result;G=G(),G.then(function(ie){(E._status===0||E._status===-1)&&(E._status=1,E._result=ie)},function(ie){(E._status===0||E._status===-1)&&(E._status=2,E._result=ie)}),E._status===-1&&(E._status=0,E._result=G)}if(E._status===1)return E._result.default;throw E._result}var B=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},re={map:M,forEach:function(E,G,ie){M(E,function(){G.apply(this,arguments)},ie)},count:function(E){var G=0;return M(E,function(){G++}),G},toArray:function(E){return M(E,function(G){return G})||[]},only:function(E){if(!W(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return lt.Activity=Z,lt.Children=re,lt.Component=Ze,lt.Fragment=g,lt.Profiler=S,lt.PureComponent=Pe,lt.StrictMode=p,lt.Suspense=$,lt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=we,lt.__COMPILER_RUNTIME={__proto__:null,c:function(E){return we.H.useMemoCache(E)}},lt.cache=function(E){return function(){return E.apply(null,arguments)}},lt.cacheSignal=function(){return null},lt.cloneElement=function(E,G,ie){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var ae=Qe({},E.props),ye=E.key;if(G!=null)for(ze in G.key!==void 0&&(ye=""+G.key),G)!D.call(G,ze)||ze==="key"||ze==="__self"||ze==="__source"||ze==="ref"&&G.ref===void 0||(ae[ze]=G[ze]);var ze=arguments.length-2;if(ze===1)ae.children=ie;else if(1<ze){for(var _e=Array(ze),Ot=0;Ot<ze;Ot++)_e[Ot]=arguments[Ot+2];ae.children=_e}return R(E.type,ye,ae)},lt.createContext=function(E){return E={$$typeof:q,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:x,_context:E},E},lt.createElement=function(E,G,ie){var ae,ye={},ze=null;if(G!=null)for(ae in G.key!==void 0&&(ze=""+G.key),G)D.call(G,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(ye[ae]=G[ae]);var _e=arguments.length-2;if(_e===1)ye.children=ie;else if(1<_e){for(var Ot=Array(_e),yt=0;yt<_e;yt++)Ot[yt]=arguments[yt+2];ye.children=Ot}if(E&&E.defaultProps)for(ae in _e=E.defaultProps,_e)ye[ae]===void 0&&(ye[ae]=_e[ae]);return R(E,ze,ye)},lt.createRef=function(){return{current:null}},lt.forwardRef=function(E){return{$$typeof:w,render:E}},lt.isValidElement=W,lt.lazy=function(E){return{$$typeof:fe,_payload:{_status:-1,_result:E},_init:C}},lt.memo=function(E,G){return{$$typeof:F,type:E,compare:G===void 0?null:G}},lt.startTransition=function(E){var G=we.T,ie={};we.T=ie;try{var ae=E(),ye=we.S;ye!==null&&ye(ie,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(Ke,B)}catch(ze){B(ze)}finally{G!==null&&ie.types!==null&&(G.types=ie.types),we.T=G}},lt.unstable_useCacheRefresh=function(){return we.H.useCacheRefresh()},lt.use=function(E){return we.H.use(E)},lt.useActionState=function(E,G,ie){return we.H.useActionState(E,G,ie)},lt.useCallback=function(E,G){return we.H.useCallback(E,G)},lt.useContext=function(E){return we.H.useContext(E)},lt.useDebugValue=function(){},lt.useDeferredValue=function(E,G){return we.H.useDeferredValue(E,G)},lt.useEffect=function(E,G){return we.H.useEffect(E,G)},lt.useEffectEvent=function(E){return we.H.useEffectEvent(E)},lt.useId=function(){return we.H.useId()},lt.useImperativeHandle=function(E,G,ie){return we.H.useImperativeHandle(E,G,ie)},lt.useInsertionEffect=function(E,G){return we.H.useInsertionEffect(E,G)},lt.useLayoutEffect=function(E,G){return we.H.useLayoutEffect(E,G)},lt.useMemo=function(E,G){return we.H.useMemo(E,G)},lt.useOptimistic=function(E,G){return we.H.useOptimistic(E,G)},lt.useReducer=function(E,G,ie){return we.H.useReducer(E,G,ie)},lt.useRef=function(E){return we.H.useRef(E)},lt.useState=function(E){return we.H.useState(E)},lt.useSyncExternalStore=function(E,G,ie){return we.H.useSyncExternalStore(E,G,ie)},lt.useTransition=function(){return we.H.useTransition()},lt.version="19.2.4",lt}var em={exports:{}};em.exports;var LS;function lA(){return LS||(LS=1,(function(d,m){process.env.NODE_ENV!=="production"&&(function(){function g(O,I){Object.defineProperty(x.prototype,O,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",I[0],I[1])}})}function p(O){return O===null||typeof O!="object"?null:(O=Ll&&O[Ll]||O["@@iterator"],typeof O=="function"?O:null)}function S(O,I){O=(O=O.constructor)&&(O.displayName||O.name)||"ReactClass";var Se=O+"."+I;En[Se]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",I,O),En[Se]=!0)}function x(O,I,Se){this.props=O,this.context=I,this.refs=Ct,this.updater=Se||Vt}function q(){}function w(O,I,Se){this.props=O,this.context=I,this.refs=Ct,this.updater=Se||Vt}function $(){}function F(O){return""+O}function fe(O){try{F(O);var I=!1}catch{I=!0}if(I){I=console;var Se=I.error,Te=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return Se.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Te),F(O)}}function Z(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===jr?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case E:return"Fragment";case ie:return"Profiler";case G:return"StrictMode";case _e:return"Suspense";case Ot:return"SuspenseList";case Ae:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case re:return"Portal";case ye:return O.displayName||"Context";case ae:return(O._context.displayName||"Context")+".Consumer";case ze:var I=O.render;return O=O.displayName,O||(O=I.displayName||I.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case yt:return I=O.displayName||null,I!==null?I:Z(O.type)||"Memo";case wn:I=O._payload,O=O._init;try{return Z(O(I))}catch{}}return null}function V(O){if(O===E)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===wn)return"<...>";try{var I=Z(O);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function ve(){var O=Ce.A;return O===null?null:O.getOwner()}function Me(){return Error("react-stack-top-frame")}function Qe(O){if(Vi.call(O,"key")){var I=Object.getOwnPropertyDescriptor(O,"key").get;if(I&&I.isReactWarning)return!1}return O.key!==void 0}function Ge(O,I){function Se(){Nc||(Nc=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",I))}Se.isReactWarning=!0,Object.defineProperty(O,"key",{get:Se,configurable:!0})}function Ze(){var O=Z(this.type);return Cd[O]||(Cd[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function be(O,I,Se,Te,Ue,Ve){var Ne=Se.ref;return O={$$typeof:B,type:O,key:I,props:Se,_owner:Te},(Ne!==void 0?Ne:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:Ze}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ue}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ve}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function Pe(O,I){return I=be(O.type,I,O.props,O._owner,O._debugStack,O._debugTask),O._store&&(I._store.validated=O._store.validated),I}function gt(O){St(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===wn&&(O._payload.status==="fulfilled"?St(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function St(O){return typeof O=="object"&&O!==null&&O.$$typeof===B}function Ke(O){var I={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(Se){return I[Se]})}function we(O,I){return typeof O=="object"&&O!==null&&O.key!=null?(fe(O.key),Ke(""+O.key)):I.toString(36)}function D(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then($,$):(O.status="pending",O.then(function(I){O.status==="pending"&&(O.status="fulfilled",O.value=I)},function(I){O.status==="pending"&&(O.status="rejected",O.reason=I)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function R(O,I,Se,Te,Ue){var Ve=typeof O;(Ve==="undefined"||Ve==="boolean")&&(O=null);var Ne=!1;if(O===null)Ne=!0;else switch(Ve){case"bigint":case"string":case"number":Ne=!0;break;case"object":switch(O.$$typeof){case B:case re:Ne=!0;break;case wn:return Ne=O._init,R(Ne(O._payload),I,Se,Te,Ue)}}if(Ne){Ne=O,Ue=Ue(Ne);var dt=Te===""?"."+we(Ne,0):Te;return wc(Ue)?(Se="",dt!=null&&(Se=dt.replace(Ud,"$&/")+"/"),R(Ue,I,Se,"",function(dl){return dl})):Ue!=null&&(St(Ue)&&(Ue.key!=null&&(Ne&&Ne.key===Ue.key||fe(Ue.key)),Se=Pe(Ue,Se+(Ue.key==null||Ne&&Ne.key===Ue.key?"":(""+Ue.key).replace(Ud,"$&/")+"/")+dt),Te!==""&&Ne!=null&&St(Ne)&&Ne.key==null&&Ne._store&&!Ne._store.validated&&(Se._store.validated=2),Ue=Se),I.push(Ue)),1}if(Ne=0,dt=Te===""?".":Te+":",wc(O))for(var et=0;et<O.length;et++)Te=O[et],Ve=dt+we(Te,et),Ne+=R(Te,I,Se,Ve,Ue);else if(et=p(O),typeof et=="function")for(et===O.entries&&(La||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),La=!0),O=et.call(O),et=0;!(Te=O.next()).done;)Te=Te.value,Ve=dt+we(Te,et++),Ne+=R(Te,I,Se,Ve,Ue);else if(Ve==="object"){if(typeof O.then=="function")return R(D(O),I,Se,Te,Ue);throw I=String(O),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return Ne}function _(O,I,Se){if(O==null)return O;var Te=[],Ue=0;return R(O,Te,"","",function(Ve){return I.call(Se,Ve,Ue++)}),Te}function W(O){if(O._status===-1){var I=O._ioInfo;I!=null&&(I.start=I.end=performance.now()),I=O._result;var Se=I();if(Se.then(function(Ue){if(O._status===0||O._status===-1){O._status=1,O._result=Ue;var Ve=O._ioInfo;Ve!=null&&(Ve.end=performance.now()),Se.status===void 0&&(Se.status="fulfilled",Se.value=Ue)}},function(Ue){if(O._status===0||O._status===-1){O._status=2,O._result=Ue;var Ve=O._ioInfo;Ve!=null&&(Ve.end=performance.now()),Se.status===void 0&&(Se.status="rejected",Se.reason=Ue)}}),I=O._ioInfo,I!=null){I.value=Se;var Te=Se.displayName;typeof Te=="string"&&(I.name=Te)}O._status===-1&&(O._status=0,O._result=Se)}if(O._status===1)return I=O._result,I===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
3
|
+
|
|
4
|
+
Your code should look like:
|
|
5
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
6
|
+
|
|
7
|
+
Did you accidentally put curly braces around the import?`,I),"default"in I||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
8
|
+
|
|
9
|
+
Your code should look like:
|
|
10
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,I),I.default;throw O._result}function N(){var O=Ce.H;return O===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
11
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
12
|
+
2. You might be breaking the Rules of Hooks
|
|
13
|
+
3. You might have more than one copy of React in the same app
|
|
14
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),O}function X(){Ce.asyncTransitions--}function ee(O){if(Hc===null)try{var I=("require"+Math.random()).slice(0,7);Hc=(d&&d[I]).call(d,"timers").setImmediate}catch{Hc=function(Te){Yr===!1&&(Yr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ue=new MessageChannel;Ue.port1.onmessage=Te,Ue.port2.postMessage(void 0)}}return Hc(O)}function L(O){return 1<O.length&&typeof AggregateError=="function"?new AggregateError(O):O[0]}function A(O,I){I!==Aa-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Aa=I}function M(O,I,Se){var Te=Ce.actQueue;if(Te!==null)if(Te.length!==0)try{C(Te),ee(function(){return M(O,I,Se)});return}catch(Ue){Ce.thrownErrors.push(Ue)}else Ce.actQueue=null;0<Ce.thrownErrors.length?(Te=L(Ce.thrownErrors),Ce.thrownErrors.length=0,Se(Te)):I(O)}function C(O){if(!Wl){Wl=!0;var I=0;try{for(;I<O.length;I++){var Se=O[I];do{Ce.didUsePromise=!1;var Te=Se(!1);if(Te!==null){if(Ce.didUsePromise){O[I]=Se,O.splice(0,I);return}Se=Te}else break}while(!0)}O.length=0}catch(Ue){O.splice(0,I+1),Ce.thrownErrors.push(Ue)}finally{Wl=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B=Symbol.for("react.transitional.element"),re=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),ae=Symbol.for("react.consumer"),ye=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),_e=Symbol.for("react.suspense"),Ot=Symbol.for("react.suspense_list"),yt=Symbol.for("react.memo"),wn=Symbol.for("react.lazy"),Ae=Symbol.for("react.activity"),Ll=Symbol.iterator,En={},Vt={isMounted:function(){return!1},enqueueForceUpdate:function(O){S(O,"forceUpdate")},enqueueReplaceState:function(O){S(O,"replaceState")},enqueueSetState:function(O){S(O,"setState")}},Rt=Object.assign,Ct={};Object.freeze(Ct),x.prototype.isReactComponent={},x.prototype.setState=function(O,I){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,I,"setState")},x.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};var fl={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Xi in fl)fl.hasOwnProperty(Xi)&&g(Xi,fl[Xi]);q.prototype=x.prototype,fl=w.prototype=new q,fl.constructor=w,Rt(fl,x.prototype),fl.isPureReactComponent=!0;var wc=Array.isArray,jr=Symbol.for("react.client.reference"),Ce={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Vi=Object.prototype.hasOwnProperty,Su=console.createTask?console.createTask:function(){return null};fl={react_stack_bottom_frame:function(O){return O()}};var Nc,Rn,Cd={},Wo=fl.react_stack_bottom_frame.bind(fl,Me)(),Io=Su(V(Me)),La=!1,Ud=/\/+/g,Po=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)},Yr=!1,Hc=null,Aa=0,Nn=!1,Wl=!1,Vn=typeof queueMicrotask=="function"?function(O){queueMicrotask(function(){return queueMicrotask(O)})}:ee;fl=Object.freeze({__proto__:null,c:function(O){return N().useMemoCache(O)}});var Xi={map:_,forEach:function(O,I,Se){_(O,function(){I.apply(this,arguments)},Se)},count:function(O){var I=0;return _(O,function(){I++}),I},toArray:function(O){return _(O,function(I){return I})||[]},only:function(O){if(!St(O))throw Error("React.Children.only expected to receive a single React element child.");return O}};m.Activity=Ae,m.Children=Xi,m.Component=x,m.Fragment=E,m.Profiler=ie,m.PureComponent=w,m.StrictMode=G,m.Suspense=_e,m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ce,m.__COMPILER_RUNTIME=fl,m.act=function(O){var I=Ce.actQueue,Se=Aa;Aa++;var Te=Ce.actQueue=I!==null?I:[],Ue=!1;try{var Ve=O()}catch(et){Ce.thrownErrors.push(et)}if(0<Ce.thrownErrors.length)throw A(I,Se),O=L(Ce.thrownErrors),Ce.thrownErrors.length=0,O;if(Ve!==null&&typeof Ve=="object"&&typeof Ve.then=="function"){var Ne=Ve;return Vn(function(){Ue||Nn||(Nn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(et,dl){Ue=!0,Ne.then(function(Oa){if(A(I,Se),Se===0){try{C(Te),ee(function(){return M(Oa,et,dl)})}catch(es){Ce.thrownErrors.push(es)}if(0<Ce.thrownErrors.length){var Qi=L(Ce.thrownErrors);Ce.thrownErrors.length=0,dl(Qi)}}else et(Oa)},function(Oa){A(I,Se),0<Ce.thrownErrors.length&&(Oa=L(Ce.thrownErrors),Ce.thrownErrors.length=0),dl(Oa)})}}}var dt=Ve;if(A(I,Se),Se===0&&(C(Te),Te.length!==0&&Vn(function(){Ue||Nn||(Nn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Ce.actQueue=null),0<Ce.thrownErrors.length)throw O=L(Ce.thrownErrors),Ce.thrownErrors.length=0,O;return{then:function(et,dl){Ue=!0,Se===0?(Ce.actQueue=Te,ee(function(){return M(dt,et,dl)})):et(dt)}}},m.cache=function(O){return function(){return O.apply(null,arguments)}},m.cacheSignal=function(){return null},m.captureOwnerStack=function(){var O=Ce.getCurrentStack;return O===null?null:O()},m.cloneElement=function(O,I,Se){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var Te=Rt({},O.props),Ue=O.key,Ve=O._owner;if(I!=null){var Ne;e:{if(Vi.call(I,"ref")&&(Ne=Object.getOwnPropertyDescriptor(I,"ref").get)&&Ne.isReactWarning){Ne=!1;break e}Ne=I.ref!==void 0}Ne&&(Ve=ve()),Qe(I)&&(fe(I.key),Ue=""+I.key);for(dt in I)!Vi.call(I,dt)||dt==="key"||dt==="__self"||dt==="__source"||dt==="ref"&&I.ref===void 0||(Te[dt]=I[dt])}var dt=arguments.length-2;if(dt===1)Te.children=Se;else if(1<dt){Ne=Array(dt);for(var et=0;et<dt;et++)Ne[et]=arguments[et+2];Te.children=Ne}for(Te=be(O.type,Ue,Te,Ve,O._debugStack,O._debugTask),Ue=2;Ue<arguments.length;Ue++)gt(arguments[Ue]);return Te},m.createContext=function(O){return O={$$typeof:ye,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:ae,_context:O},O._currentRenderer=null,O._currentRenderer2=null,O},m.createElement=function(O,I,Se){for(var Te=2;Te<arguments.length;Te++)gt(arguments[Te]);Te={};var Ue=null;if(I!=null)for(et in Rn||!("__self"in I)||"key"in I||(Rn=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),Qe(I)&&(fe(I.key),Ue=""+I.key),I)Vi.call(I,et)&&et!=="key"&&et!=="__self"&&et!=="__source"&&(Te[et]=I[et]);var Ve=arguments.length-2;if(Ve===1)Te.children=Se;else if(1<Ve){for(var Ne=Array(Ve),dt=0;dt<Ve;dt++)Ne[dt]=arguments[dt+2];Object.freeze&&Object.freeze(Ne),Te.children=Ne}if(O&&O.defaultProps)for(et in Ve=O.defaultProps,Ve)Te[et]===void 0&&(Te[et]=Ve[et]);Ue&&Ge(Te,typeof O=="function"?O.displayName||O.name||"Unknown":O);var et=1e4>Ce.recentlyCreatedOwnerStacks++;return be(O,Ue,Te,ve(),et?Error("react-stack-top-frame"):Wo,et?Su(V(O)):Io)},m.createRef=function(){var O={current:null};return Object.seal(O),O},m.forwardRef=function(O){O!=null&&O.$$typeof===yt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof O!="function"?console.error("forwardRef requires a render function but was given %s.",O===null?"null":typeof O):O.length!==0&&O.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",O.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),O!=null&&O.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var I={$$typeof:ze,render:O},Se;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return Se},set:function(Te){Se=Te,O.name||O.displayName||(Object.defineProperty(O,"name",{value:Te}),O.displayName=Te)}}),I},m.isValidElement=St,m.lazy=function(O){O={_status:-1,_result:O};var I={$$typeof:wn,_payload:O,_init:W},Se={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return O._ioInfo=Se,I._debugInfo=[{awaited:Se}],I},m.memo=function(O,I){O==null&&console.error("memo: The first argument must be a component. Instead received: %s",O===null?"null":typeof O),I={$$typeof:yt,type:O,compare:I===void 0?null:I};var Se;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return Se},set:function(Te){Se=Te,O.name||O.displayName||(Object.defineProperty(O,"name",{value:Te}),O.displayName=Te)}}),I},m.startTransition=function(O){var I=Ce.T,Se={};Se._updatedFibers=new Set,Ce.T=Se;try{var Te=O(),Ue=Ce.S;Ue!==null&&Ue(Se,Te),typeof Te=="object"&&Te!==null&&typeof Te.then=="function"&&(Ce.asyncTransitions++,Te.then(X,X),Te.then($,Po))}catch(Ve){Po(Ve)}finally{I===null&&Se._updatedFibers&&(O=Se._updatedFibers.size,Se._updatedFibers.clear(),10<O&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),I!==null&&Se.types!==null&&(I.types!==null&&I.types!==Se.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),I.types=Se.types),Ce.T=I}},m.unstable_useCacheRefresh=function(){return N().useCacheRefresh()},m.use=function(O){return N().use(O)},m.useActionState=function(O,I,Se){return N().useActionState(O,I,Se)},m.useCallback=function(O,I){return N().useCallback(O,I)},m.useContext=function(O){var I=N();return O.$$typeof===ae&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),I.useContext(O)},m.useDebugValue=function(O,I){return N().useDebugValue(O,I)},m.useDeferredValue=function(O,I){return N().useDeferredValue(O,I)},m.useEffect=function(O,I){return O==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),N().useEffect(O,I)},m.useEffectEvent=function(O){return N().useEffectEvent(O)},m.useId=function(){return N().useId()},m.useImperativeHandle=function(O,I,Se){return N().useImperativeHandle(O,I,Se)},m.useInsertionEffect=function(O,I){return O==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),N().useInsertionEffect(O,I)},m.useLayoutEffect=function(O,I){return O==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),N().useLayoutEffect(O,I)},m.useMemo=function(O,I){return N().useMemo(O,I)},m.useOptimistic=function(O,I){return N().useOptimistic(O,I)},m.useReducer=function(O,I,Se){return N().useReducer(O,I,Se)},m.useRef=function(O){return N().useRef(O)},m.useState=function(O){return N().useState(O)},m.useSyncExternalStore=function(O,I,Se){return N().useSyncExternalStore(O,I,Se)},m.useTransition=function(){return N().useTransition()},m.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(em,em.exports)),em.exports}var VS;function Dd(){return VS||(VS=1,process.env.NODE_ENV==="production"?cg.exports=nA():cg.exports=lA()),cg.exports}var XS;function aA(){return XS||(XS=1,process.env.NODE_ENV!=="production"&&(function(){function d(E){if(E==null)return null;if(typeof E=="function")return E.$$typeof===W?null:E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case Ge:return"Fragment";case be:return"Profiler";case Ze:return"StrictMode";case Ke:return"Suspense";case we:return"SuspenseList";case _:return"Activity"}if(typeof E=="object")switch(typeof E.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),E.$$typeof){case Qe:return"Portal";case gt:return E.displayName||"Context";case Pe:return(E._context.displayName||"Context")+".Consumer";case St:var G=E.render;return E=E.displayName,E||(E=G.displayName||G.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case D:return G=E.displayName||null,G!==null?G:d(E.type)||"Memo";case R:G=E._payload,E=E._init;try{return d(E(G))}catch{}}return null}function m(E){return""+E}function g(E){try{m(E);var G=!1}catch{G=!0}if(G){G=console;var ie=G.error,ae=typeof Symbol=="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object";return ie.call(G,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ae),m(E)}}function p(E){if(E===Ge)return"<>";if(typeof E=="object"&&E!==null&&E.$$typeof===R)return"<...>";try{var G=d(E);return G?"<"+G+">":"<...>"}catch{return"<...>"}}function S(){var E=N.A;return E===null?null:E.getOwner()}function x(){return Error("react-stack-top-frame")}function q(E){if(X.call(E,"key")){var G=Object.getOwnPropertyDescriptor(E,"key").get;if(G&&G.isReactWarning)return!1}return E.key!==void 0}function w(E,G){function ie(){A||(A=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",G))}ie.isReactWarning=!0,Object.defineProperty(E,"key",{get:ie,configurable:!0})}function $(){var E=d(this.type);return M[E]||(M[E]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),E=this.props.ref,E!==void 0?E:null}function F(E,G,ie,ae,ye,ze){var _e=ie.ref;return E={$$typeof:Me,type:E,key:G,props:ie,_owner:ae},(_e!==void 0?_e:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:$}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ye}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ze}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function fe(E,G,ie,ae,ye,ze){var _e=G.children;if(_e!==void 0)if(ae)if(ee(_e)){for(ae=0;ae<_e.length;ae++)Z(_e[ae]);Object.freeze&&Object.freeze(_e)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Z(_e);if(X.call(G,"key")){_e=d(E);var Ot=Object.keys(G).filter(function(wn){return wn!=="key"});ae=0<Ot.length?"{key: someKey, "+Ot.join(": ..., ")+": ...}":"{key: someKey}",re[_e+ae]||(Ot=0<Ot.length?"{"+Ot.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
15
|
+
let props = %s;
|
|
16
|
+
<%s {...props} />
|
|
17
|
+
React keys must be passed directly to JSX without using spread:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s key={someKey} {...props} />`,ae,_e,Ot,_e),re[_e+ae]=!0)}if(_e=null,ie!==void 0&&(g(ie),_e=""+ie),q(G)&&(g(G.key),_e=""+G.key),"key"in G){ie={};for(var yt in G)yt!=="key"&&(ie[yt]=G[yt])}else ie=G;return _e&&w(ie,typeof E=="function"?E.displayName||E.name||"Unknown":E),F(E,_e,ie,S(),ye,ze)}function Z(E){V(E)?E._store&&(E._store.validated=1):typeof E=="object"&&E!==null&&E.$$typeof===R&&(E._payload.status==="fulfilled"?V(E._payload.value)&&E._payload.value._store&&(E._payload.value._store.validated=1):E._store&&(E._store.validated=1))}function V(E){return typeof E=="object"&&E!==null&&E.$$typeof===Me}var ve=Dd(),Me=Symbol.for("react.transitional.element"),Qe=Symbol.for("react.portal"),Ge=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),be=Symbol.for("react.profiler"),Pe=Symbol.for("react.consumer"),gt=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),Ke=Symbol.for("react.suspense"),we=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),N=ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,ee=Array.isArray,L=console.createTask?console.createTask:function(){return null};ve={react_stack_bottom_frame:function(E){return E()}};var A,M={},C=ve.react_stack_bottom_frame.bind(ve,x)(),B=L(p(x)),re={};P0.Fragment=Ge,P0.jsx=function(E,G,ie){var ae=1e4>N.recentlyCreatedOwnerStacks++;return fe(E,G,ie,!1,ae?Error("react-stack-top-frame"):C,ae?L(p(E)):B)},P0.jsxs=function(E,G,ie){var ae=1e4>N.recentlyCreatedOwnerStacks++;return fe(E,G,ie,!0,ae?Error("react-stack-top-frame"):C,ae?L(p(E)):B)}})()),P0}var QS;function uA(){return QS||(QS=1,process.env.NODE_ENV==="production"?Zo.exports=tA():Zo.exports=aA()),Zo.exports}var Ee=uA(),og={exports:{}},tm={},sg={exports:{}},J1={};var ZS;function iA(){return ZS||(ZS=1,(function(d){function m(A,M){var C=A.length;A.push(M);e:for(;0<C;){var B=C-1>>>1,re=A[B];if(0<S(re,M))A[B]=M,A[C]=re,C=B;else break e}}function g(A){return A.length===0?null:A[0]}function p(A){if(A.length===0)return null;var M=A[0],C=A.pop();if(C!==M){A[0]=C;e:for(var B=0,re=A.length,E=re>>>1;B<E;){var G=2*(B+1)-1,ie=A[G],ae=G+1,ye=A[ae];if(0>S(ie,C))ae<re&&0>S(ye,ie)?(A[B]=ye,A[ae]=C,B=ae):(A[B]=ie,A[G]=C,B=G);else if(ae<re&&0>S(ye,C))A[B]=ye,A[ae]=C,B=ae;else break e}}return M}function S(A,M){var C=A.sortIndex-M.sortIndex;return C!==0?C:A.id-M.id}if(d.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var x=performance;d.unstable_now=function(){return x.now()}}else{var q=Date,w=q.now();d.unstable_now=function(){return q.now()-w}}var $=[],F=[],fe=1,Z=null,V=3,ve=!1,Me=!1,Qe=!1,Ge=!1,Ze=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,Pe=typeof setImmediate<"u"?setImmediate:null;function gt(A){for(var M=g(F);M!==null;){if(M.callback===null)p(F);else if(M.startTime<=A)p(F),M.sortIndex=M.expirationTime,m($,M);else break;M=g(F)}}function St(A){if(Qe=!1,gt(A),!Me)if(g($)!==null)Me=!0,Ke||(Ke=!0,N());else{var M=g(F);M!==null&&L(St,M.startTime-A)}}var Ke=!1,we=-1,D=5,R=-1;function _(){return Ge?!0:!(d.unstable_now()-R<D)}function W(){if(Ge=!1,Ke){var A=d.unstable_now();R=A;var M=!0;try{e:{Me=!1,Qe&&(Qe=!1,be(we),we=-1),ve=!0;var C=V;try{t:{for(gt(A),Z=g($);Z!==null&&!(Z.expirationTime>A&&_());){var B=Z.callback;if(typeof B=="function"){Z.callback=null,V=Z.priorityLevel;var re=B(Z.expirationTime<=A);if(A=d.unstable_now(),typeof re=="function"){Z.callback=re,gt(A),M=!0;break t}Z===g($)&&p($),gt(A)}else p($);Z=g($)}if(Z!==null)M=!0;else{var E=g(F);E!==null&&L(St,E.startTime-A),M=!1}}break e}finally{Z=null,V=C,ve=!1}M=void 0}}finally{M?N():Ke=!1}}}var N;if(typeof Pe=="function")N=function(){Pe(W)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,ee=X.port2;X.port1.onmessage=W,N=function(){ee.postMessage(null)}}else N=function(){Ze(W,0)};function L(A,M){we=Ze(function(){A(d.unstable_now())},M)}d.unstable_IdlePriority=5,d.unstable_ImmediatePriority=1,d.unstable_LowPriority=4,d.unstable_NormalPriority=3,d.unstable_Profiling=null,d.unstable_UserBlockingPriority=2,d.unstable_cancelCallback=function(A){A.callback=null},d.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<A?Math.floor(1e3/A):5},d.unstable_getCurrentPriorityLevel=function(){return V},d.unstable_next=function(A){switch(V){case 1:case 2:case 3:var M=3;break;default:M=V}var C=V;V=M;try{return A()}finally{V=C}},d.unstable_requestPaint=function(){Ge=!0},d.unstable_runWithPriority=function(A,M){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var C=V;V=A;try{return M()}finally{V=C}},d.unstable_scheduleCallback=function(A,M,C){var B=d.unstable_now();switch(typeof C=="object"&&C!==null?(C=C.delay,C=typeof C=="number"&&0<C?B+C:B):C=B,A){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=C+re,A={id:fe++,callback:M,priorityLevel:A,startTime:C,expirationTime:re,sortIndex:-1},C>B?(A.sortIndex=C,m(F,A),g($)===null&&A===g(F)&&(Qe?(be(we),we=-1):Qe=!0,L(St,C-B))):(A.sortIndex=re,m($,A),Me||ve||(Me=!0,Ke||(Ke=!0,N()))),A},d.unstable_shouldYield=_,d.unstable_wrapCallback=function(A){var M=V;return function(){var C=V;V=M;try{return A.apply(this,arguments)}finally{V=C}}}})(J1)),J1}var K1={};var JS;function cA(){return JS||(JS=1,(function(d){process.env.NODE_ENV!=="production"&&(function(){function m(){if(St=!1,R){var A=d.unstable_now();N=A;var M=!0;try{e:{Pe=!1,gt&&(gt=!1,we(_),_=-1),be=!0;var C=Ze;try{t:{for(q(A),Ge=p(ve);Ge!==null&&!(Ge.expirationTime>A&&$());){var B=Ge.callback;if(typeof B=="function"){Ge.callback=null,Ze=Ge.priorityLevel;var re=B(Ge.expirationTime<=A);if(A=d.unstable_now(),typeof re=="function"){Ge.callback=re,q(A),M=!0;break t}Ge===p(ve)&&S(ve),q(A)}else S(ve);Ge=p(ve)}if(Ge!==null)M=!0;else{var E=p(Me);E!==null&&F(w,E.startTime-A),M=!1}}break e}finally{Ge=null,Ze=C,be=!1}M=void 0}}finally{M?X():R=!1}}}function g(A,M){var C=A.length;A.push(M);e:for(;0<C;){var B=C-1>>>1,re=A[B];if(0<x(re,M))A[B]=M,A[C]=re,C=B;else break e}}function p(A){return A.length===0?null:A[0]}function S(A){if(A.length===0)return null;var M=A[0],C=A.pop();if(C!==M){A[0]=C;e:for(var B=0,re=A.length,E=re>>>1;B<E;){var G=2*(B+1)-1,ie=A[G],ae=G+1,ye=A[ae];if(0>x(ie,C))ae<re&&0>x(ye,ie)?(A[B]=ye,A[ae]=C,B=ae):(A[B]=ie,A[G]=C,B=G);else if(ae<re&&0>x(ye,C))A[B]=ye,A[ae]=C,B=ae;else break e}}return M}function x(A,M){var C=A.sortIndex-M.sortIndex;return C!==0?C:A.id-M.id}function q(A){for(var M=p(Me);M!==null;){if(M.callback===null)S(Me);else if(M.startTime<=A)S(Me),M.sortIndex=M.expirationTime,g(ve,M);else break;M=p(Me)}}function w(A){if(gt=!1,q(A),!Pe)if(p(ve)!==null)Pe=!0,R||(R=!0,X());else{var M=p(Me);M!==null&&F(w,M.startTime-A)}}function $(){return St?!0:!(d.unstable_now()-N<W)}function F(A,M){_=Ke(function(){A(d.unstable_now())},M)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),d.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var fe=performance;d.unstable_now=function(){return fe.now()}}else{var Z=Date,V=Z.now();d.unstable_now=function(){return Z.now()-V}}var ve=[],Me=[],Qe=1,Ge=null,Ze=3,be=!1,Pe=!1,gt=!1,St=!1,Ke=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null,R=!1,_=-1,W=5,N=-1;if(typeof D=="function")var X=function(){D(m)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,L=ee.port2;ee.port1.onmessage=m,X=function(){L.postMessage(null)}}else X=function(){Ke(m,0)};d.unstable_IdlePriority=5,d.unstable_ImmediatePriority=1,d.unstable_LowPriority=4,d.unstable_NormalPriority=3,d.unstable_Profiling=null,d.unstable_UserBlockingPriority=2,d.unstable_cancelCallback=function(A){A.callback=null},d.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<A?Math.floor(1e3/A):5},d.unstable_getCurrentPriorityLevel=function(){return Ze},d.unstable_next=function(A){switch(Ze){case 1:case 2:case 3:var M=3;break;default:M=Ze}var C=Ze;Ze=M;try{return A()}finally{Ze=C}},d.unstable_requestPaint=function(){St=!0},d.unstable_runWithPriority=function(A,M){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var C=Ze;Ze=A;try{return M()}finally{Ze=C}},d.unstable_scheduleCallback=function(A,M,C){var B=d.unstable_now();switch(typeof C=="object"&&C!==null?(C=C.delay,C=typeof C=="number"&&0<C?B+C:B):C=B,A){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=C+re,A={id:Qe++,callback:M,priorityLevel:A,startTime:C,expirationTime:re,sortIndex:-1},C>B?(A.sortIndex=C,g(Me,A),p(ve)===null&&A===p(Me)&&(gt?(we(_),_=-1):gt=!0,F(w,C-B))):(A.sortIndex=re,g(ve,A),Pe||be||(Pe=!0,R||(R=!0,X()))),A},d.unstable_shouldYield=$,d.unstable_wrapCallback=function(A){var M=Ze;return function(){var C=Ze;Ze=M;try{return A.apply(this,arguments)}finally{Ze=C}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(K1)),K1}var KS;function kS(){return KS||(KS=1,process.env.NODE_ENV==="production"?sg.exports=iA():sg.exports=cA()),sg.exports}var rg={exports:{}},ql={};var $S;function oA(){if($S)return ql;$S=1;var d=Dd();function m($){var F="https://react.dev/errors/"+$;if(1<arguments.length){F+="?args[]="+encodeURIComponent(arguments[1]);for(var fe=2;fe<arguments.length;fe++)F+="&args[]="+encodeURIComponent(arguments[fe])}return"Minified React error #"+$+"; visit "+F+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(){}var p={d:{f:g,r:function(){throw Error(m(522))},D:g,C:g,L:g,m:g,X:g,S:g,M:g},p:0,findDOMNode:null},S=Symbol.for("react.portal");function x($,F,fe){var Z=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:S,key:Z==null?null:""+Z,children:$,containerInfo:F,implementation:fe}}var q=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function w($,F){if($==="font")return"";if(typeof F=="string")return F==="use-credentials"?F:""}return ql.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=p,ql.createPortal=function($,F){var fe=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!F||F.nodeType!==1&&F.nodeType!==9&&F.nodeType!==11)throw Error(m(299));return x($,F,null,fe)},ql.flushSync=function($){var F=q.T,fe=p.p;try{if(q.T=null,p.p=2,$)return $()}finally{q.T=F,p.p=fe,p.d.f()}},ql.preconnect=function($,F){typeof $=="string"&&(F?(F=F.crossOrigin,F=typeof F=="string"?F==="use-credentials"?F:"":void 0):F=null,p.d.C($,F))},ql.prefetchDNS=function($){typeof $=="string"&&p.d.D($)},ql.preinit=function($,F){if(typeof $=="string"&&F&&typeof F.as=="string"){var fe=F.as,Z=w(fe,F.crossOrigin),V=typeof F.integrity=="string"?F.integrity:void 0,ve=typeof F.fetchPriority=="string"?F.fetchPriority:void 0;fe==="style"?p.d.S($,typeof F.precedence=="string"?F.precedence:void 0,{crossOrigin:Z,integrity:V,fetchPriority:ve}):fe==="script"&&p.d.X($,{crossOrigin:Z,integrity:V,fetchPriority:ve,nonce:typeof F.nonce=="string"?F.nonce:void 0})}},ql.preinitModule=function($,F){if(typeof $=="string")if(typeof F=="object"&&F!==null){if(F.as==null||F.as==="script"){var fe=w(F.as,F.crossOrigin);p.d.M($,{crossOrigin:fe,integrity:typeof F.integrity=="string"?F.integrity:void 0,nonce:typeof F.nonce=="string"?F.nonce:void 0})}}else F==null&&p.d.M($)},ql.preload=function($,F){if(typeof $=="string"&&typeof F=="object"&&F!==null&&typeof F.as=="string"){var fe=F.as,Z=w(fe,F.crossOrigin);p.d.L($,fe,{crossOrigin:Z,integrity:typeof F.integrity=="string"?F.integrity:void 0,nonce:typeof F.nonce=="string"?F.nonce:void 0,type:typeof F.type=="string"?F.type:void 0,fetchPriority:typeof F.fetchPriority=="string"?F.fetchPriority:void 0,referrerPolicy:typeof F.referrerPolicy=="string"?F.referrerPolicy:void 0,imageSrcSet:typeof F.imageSrcSet=="string"?F.imageSrcSet:void 0,imageSizes:typeof F.imageSizes=="string"?F.imageSizes:void 0,media:typeof F.media=="string"?F.media:void 0})}},ql.preloadModule=function($,F){if(typeof $=="string")if(F){var fe=w(F.as,F.crossOrigin);p.d.m($,{as:typeof F.as=="string"&&F.as!=="script"?F.as:void 0,crossOrigin:fe,integrity:typeof F.integrity=="string"?F.integrity:void 0})}else p.d.m($)},ql.requestFormReset=function($){p.d.r($)},ql.unstable_batchedUpdates=function($,F){return $(F)},ql.useFormState=function($,F,fe){return q.H.useFormState($,F,fe)},ql.useFormStatus=function(){return q.H.useHostTransitionStatus()},ql.version="19.2.4",ql}var Gl={};var FS;function sA(){return FS||(FS=1,process.env.NODE_ENV!=="production"&&(function(){function d(){}function m(Z){return""+Z}function g(Z,V,ve){var Me=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{m(Me);var Qe=!1}catch{Qe=!0}return Qe&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&Me[Symbol.toStringTag]||Me.constructor.name||"Object"),m(Me)),{$$typeof:F,key:Me==null?null:""+Me,children:Z,containerInfo:V,implementation:ve}}function p(Z,V){if(Z==="font")return"";if(typeof V=="string")return V==="use-credentials"?V:""}function S(Z){return Z===null?"`null`":Z===void 0?"`undefined`":Z===""?"an empty string":'something with type "'+typeof Z+'"'}function x(Z){return Z===null?"`null`":Z===void 0?"`undefined`":Z===""?"an empty string":typeof Z=="string"?JSON.stringify(Z):typeof Z=="number"?"`"+Z+"`":'something with type "'+typeof Z+'"'}function q(){var Z=fe.H;return Z===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
20
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
21
|
+
2. You might be breaking the Rules of Hooks
|
|
22
|
+
3. You might have more than one copy of React in the same app
|
|
23
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),Z}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var w=Dd(),$={d:{f:d,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},F=Symbol.for("react.portal"),fe=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Gl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Gl.createPortal=function(Z,V){var ve=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!V||V.nodeType!==1&&V.nodeType!==9&&V.nodeType!==11)throw Error("Target container is not a DOM element.");return g(Z,V,null,ve)},Gl.flushSync=function(Z){var V=fe.T,ve=$.p;try{if(fe.T=null,$.p=2,Z)return Z()}finally{fe.T=V,$.p=ve,$.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Gl.preconnect=function(Z,V){typeof Z=="string"&&Z?V!=null&&typeof V!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",x(V)):V!=null&&typeof V.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",S(V.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",S(Z)),typeof Z=="string"&&(V?(V=V.crossOrigin,V=typeof V=="string"?V==="use-credentials"?V:"":void 0):V=null,$.d.C(Z,V))},Gl.prefetchDNS=function(Z){if(typeof Z!="string"||!Z)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",S(Z));else if(1<arguments.length){var V=arguments[1];typeof V=="object"&&V.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",x(V)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",x(V))}typeof Z=="string"&&$.d.D(Z)},Gl.preinit=function(Z,V){if(typeof Z=="string"&&Z?V==null||typeof V!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",x(V)):V.as!=="style"&&V.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',x(V.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",S(Z)),typeof Z=="string"&&V&&typeof V.as=="string"){var ve=V.as,Me=p(ve,V.crossOrigin),Qe=typeof V.integrity=="string"?V.integrity:void 0,Ge=typeof V.fetchPriority=="string"?V.fetchPriority:void 0;ve==="style"?$.d.S(Z,typeof V.precedence=="string"?V.precedence:void 0,{crossOrigin:Me,integrity:Qe,fetchPriority:Ge}):ve==="script"&&$.d.X(Z,{crossOrigin:Me,integrity:Qe,fetchPriority:Ge,nonce:typeof V.nonce=="string"?V.nonce:void 0})}},Gl.preinitModule=function(Z,V){var ve="";typeof Z=="string"&&Z||(ve+=" The `href` argument encountered was "+S(Z)+"."),V!==void 0&&typeof V!="object"?ve+=" The `options` argument encountered was "+S(V)+".":V&&"as"in V&&V.as!=="script"&&(ve+=" The `as` option encountered was "+x(V.as)+"."),ve?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",ve):(ve=V&&typeof V.as=="string"?V.as:"script",ve)==="script"||(ve=x(ve),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',ve,Z)),typeof Z=="string"&&(typeof V=="object"&&V!==null?(V.as==null||V.as==="script")&&(ve=p(V.as,V.crossOrigin),$.d.M(Z,{crossOrigin:ve,integrity:typeof V.integrity=="string"?V.integrity:void 0,nonce:typeof V.nonce=="string"?V.nonce:void 0})):V==null&&$.d.M(Z))},Gl.preload=function(Z,V){var ve="";if(typeof Z=="string"&&Z||(ve+=" The `href` argument encountered was "+S(Z)+"."),V==null||typeof V!="object"?ve+=" The `options` argument encountered was "+S(V)+".":typeof V.as=="string"&&V.as||(ve+=" The `as` option encountered was "+S(V.as)+"."),ve&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',ve),typeof Z=="string"&&typeof V=="object"&&V!==null&&typeof V.as=="string"){ve=V.as;var Me=p(ve,V.crossOrigin);$.d.L(Z,ve,{crossOrigin:Me,integrity:typeof V.integrity=="string"?V.integrity:void 0,nonce:typeof V.nonce=="string"?V.nonce:void 0,type:typeof V.type=="string"?V.type:void 0,fetchPriority:typeof V.fetchPriority=="string"?V.fetchPriority:void 0,referrerPolicy:typeof V.referrerPolicy=="string"?V.referrerPolicy:void 0,imageSrcSet:typeof V.imageSrcSet=="string"?V.imageSrcSet:void 0,imageSizes:typeof V.imageSizes=="string"?V.imageSizes:void 0,media:typeof V.media=="string"?V.media:void 0})}},Gl.preloadModule=function(Z,V){var ve="";typeof Z=="string"&&Z||(ve+=" The `href` argument encountered was "+S(Z)+"."),V!==void 0&&typeof V!="object"?ve+=" The `options` argument encountered was "+S(V)+".":V&&"as"in V&&typeof V.as!="string"&&(ve+=" The `as` option encountered was "+S(V.as)+"."),ve&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',ve),typeof Z=="string"&&(V?(ve=p(V.as,V.crossOrigin),$.d.m(Z,{as:typeof V.as=="string"&&V.as!=="script"?V.as:void 0,crossOrigin:ve,integrity:typeof V.integrity=="string"?V.integrity:void 0})):$.d.m(Z))},Gl.requestFormReset=function(Z){$.d.r(Z)},Gl.unstable_batchedUpdates=function(Z,V){return Z(V)},Gl.useFormState=function(Z,V,ve){return q().useFormState(Z,V,ve)},Gl.useFormStatus=function(){return q().useHostTransitionStatus()},Gl.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Gl}var WS;function IS(){if(WS)return rg.exports;WS=1;function d(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d)}catch(m){console.error(m)}}}return process.env.NODE_ENV==="production"?(d(),rg.exports=oA()):rg.exports=sA(),rg.exports}var PS;function rA(){if(PS)return tm;PS=1;var d=kS(),m=Dd(),g=IS();function p(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)a+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function S(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function x(n){var a=n,u=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(u=a.return),n=a.return;while(n)}return a.tag===3?u:null}function q(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function w(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function $(n){if(x(n)!==n)throw Error(p(188))}function F(n){var a=n.alternate;if(!a){if(a=x(n),a===null)throw Error(p(188));return a!==n?null:n}for(var u=n,c=a;;){var r=u.return;if(r===null)break;var f=r.alternate;if(f===null){if(c=r.return,c!==null){u=c;continue}break}if(r.child===f.child){for(f=r.child;f;){if(f===u)return $(r),n;if(f===c)return $(r),a;f=f.sibling}throw Error(p(188))}if(u.return!==c.return)u=r,c=f;else{for(var v=!1,z=r.child;z;){if(z===u){v=!0,u=r,c=f;break}if(z===c){v=!0,c=r,u=f;break}z=z.sibling}if(!v){for(z=f.child;z;){if(z===u){v=!0,u=f,c=r;break}if(z===c){v=!0,c=f,u=r;break}z=z.sibling}if(!v)throw Error(p(189))}}if(u.alternate!==c)throw Error(p(190))}if(u.tag!==3)throw Error(p(188));return u.stateNode.current===u?n:a}function fe(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=fe(n),a!==null)return a;n=n.sibling}return null}var Z=Object.assign,V=Symbol.for("react.element"),ve=Symbol.for("react.transitional.element"),Me=Symbol.for("react.portal"),Qe=Symbol.for("react.fragment"),Ge=Symbol.for("react.strict_mode"),Ze=Symbol.for("react.profiler"),be=Symbol.for("react.consumer"),Pe=Symbol.for("react.context"),gt=Symbol.for("react.forward_ref"),St=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),_=Symbol.for("react.memo_cache_sentinel"),W=Symbol.iterator;function N(n){return n===null||typeof n!="object"?null:(n=W&&n[W]||n["@@iterator"],typeof n=="function"?n:null)}var X=Symbol.for("react.client.reference");function ee(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===X?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Qe:return"Fragment";case Ze:return"Profiler";case Ge:return"StrictMode";case St:return"Suspense";case Ke:return"SuspenseList";case R:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case Me:return"Portal";case Pe:return n.displayName||"Context";case be:return(n._context.displayName||"Context")+".Consumer";case gt:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case we:return a=n.displayName||null,a!==null?a:ee(n.type)||"Memo";case D:a=n._payload,n=n._init;try{return ee(n(a))}catch{}}return null}var L=Array.isArray,A=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=g.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C={pending:!1,data:null,method:null,action:null},B=[],re=-1;function E(n){return{current:n}}function G(n){0>re||(n.current=B[re],B[re]=null,re--)}function ie(n,a){re++,B[re]=n.current,n.current=a}var ae=E(null),ye=E(null),ze=E(null),_e=E(null);function Ot(n,a){switch(ie(ze,a),ie(ye,n),ie(ae,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?jv(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=jv(a),n=np(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}G(ae),ie(ae,n)}function yt(){G(ae),G(ye),G(ze)}function wn(n){n.memoizedState!==null&&ie(_e,n);var a=ae.current,u=np(a,n.type);a!==u&&(ie(ye,n),ie(ae,u))}function Ae(n){ye.current===n&&(G(ae),G(ye)),_e.current===n&&(G(_e),If._currentValue=C)}var Ll,En;function Vt(n){if(Ll===void 0)try{throw Error()}catch(u){var a=u.stack.trim().match(/\n( *(at )?)/);Ll=a&&a[1]||"",En=-1<u.stack.indexOf(`
|
|
24
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
25
|
+
`+Ll+n+En}var Rt=!1;function Ct(n,a){if(!n||Rt)return"";Rt=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(a){var pe=function(){throw Error()};if(Object.defineProperty(pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(pe,[])}catch(se){var le=se}Reflect.construct(n,[],pe)}else{try{pe.call()}catch(se){le=se}n.call(pe.prototype)}}else{try{throw Error()}catch(se){le=se}(pe=n())&&typeof pe.catch=="function"&&pe.catch(function(){})}}catch(se){if(se&&le&&typeof se.stack=="string")return[se.stack,le.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=c.DetermineComponentFrameRoot(),v=f[0],z=f[1];if(v&&z){var Y=v.split(`
|
|
26
|
+
`),ne=z.split(`
|
|
27
|
+
`);for(r=c=0;c<Y.length&&!Y[c].includes("DetermineComponentFrameRoot");)c++;for(;r<ne.length&&!ne[r].includes("DetermineComponentFrameRoot");)r++;if(c===Y.length||r===ne.length)for(c=Y.length-1,r=ne.length-1;1<=c&&0<=r&&Y[c]!==ne[r];)r--;for(;1<=c&&0<=r;c--,r--)if(Y[c]!==ne[r]){if(c!==1||r!==1)do if(c--,r--,0>r||Y[c]!==ne[r]){var de=`
|
|
28
|
+
`+Y[c].replace(" at new "," at ");return n.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",n.displayName)),de}while(1<=c&&0<=r);break}}}finally{Rt=!1,Error.prepareStackTrace=u}return(u=n?n.displayName||n.name:"")?Vt(u):""}function fl(n,a){switch(n.tag){case 26:case 27:case 5:return Vt(n.type);case 16:return Vt("Lazy");case 13:return n.child!==a&&a!==null?Vt("Suspense Fallback"):Vt("Suspense");case 19:return Vt("SuspenseList");case 0:case 15:return Ct(n.type,!1);case 11:return Ct(n.type.render,!1);case 1:return Ct(n.type,!0);case 31:return Vt("Activity");default:return""}}function wc(n){try{var a="",u=null;do a+=fl(n,u),u=n,n=n.return;while(n);return a}catch(c){return`
|
|
29
|
+
Error generating stack: `+c.message+`
|
|
30
|
+
`+c.stack}}var jr=Object.prototype.hasOwnProperty,Ce=d.unstable_scheduleCallback,Vi=d.unstable_cancelCallback,Su=d.unstable_shouldYield,Nc=d.unstable_requestPaint,Rn=d.unstable_now,Cd=d.unstable_getCurrentPriorityLevel,Wo=d.unstable_ImmediatePriority,Io=d.unstable_UserBlockingPriority,La=d.unstable_NormalPriority,Ud=d.unstable_LowPriority,Po=d.unstable_IdlePriority,Yr=d.log,Hc=d.unstable_setDisableYieldValue,Aa=null,Nn=null;function Wl(n){if(typeof Yr=="function"&&Hc(n),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(Aa,n)}catch{}}var Vn=Math.clz32?Math.clz32:I,Xi=Math.log,O=Math.LN2;function I(n){return n>>>=0,n===0?32:31-(Xi(n)/O|0)|0}var Se=256,Te=262144,Ue=4194304;function Ve(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Ne(n,a,u){var c=n.pendingLanes;if(c===0)return 0;var r=0,f=n.suspendedLanes,v=n.pingedLanes;n=n.warmLanes;var z=c&134217727;return z!==0?(c=z&~f,c!==0?r=Ve(c):(v&=z,v!==0?r=Ve(v):u||(u=z&~n,u!==0&&(r=Ve(u))))):(z=c&~f,z!==0?r=Ve(z):v!==0?r=Ve(v):u||(u=c&~n,u!==0&&(r=Ve(u)))),r===0?0:a!==0&&a!==r&&(a&f)===0&&(f=r&-r,u=a&-a,f>=u||f===32&&(u&4194048)!==0)?a:r}function dt(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function et(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function dl(){var n=Ue;return Ue<<=1,(Ue&62914560)===0&&(Ue=4194304),n}function Oa(n){for(var a=[],u=0;31>u;u++)a.push(n);return a}function Qi(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function es(n,a,u,c,r,f){var v=n.pendingLanes;n.pendingLanes=u,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=u,n.entangledLanes&=u,n.errorRecoveryDisabledLanes&=u,n.shellSuspendCounter=0;var z=n.entanglements,Y=n.expirationTimes,ne=n.hiddenUpdates;for(u=v&~u;0<u;){var de=31-Vn(u),pe=1<<de;z[de]=0,Y[de]=-1;var le=ne[de];if(le!==null)for(ne[de]=null,de=0;de<le.length;de++){var se=le[de];se!==null&&(se.lane&=-536870913)}u&=~pe}c!==0&&qr(n,c,0),f!==0&&r===0&&n.tag!==0&&(n.suspendedLanes|=f&~(v&~a))}function qr(n,a,u){n.pendingLanes|=a,n.suspendedLanes&=~a;var c=31-Vn(a);n.entangledLanes|=a,n.entanglements[c]=n.entanglements[c]|1073741824|u&261930}function Eu(n,a){var u=n.entangledLanes|=a;for(n=n.entanglements;u;){var c=31-Vn(u),r=1<<c;r&a|n[c]&a&&(n[c]|=a),u&=~r}}function Il(n,a){var u=a&-a;return u=(u&42)!==0?1:wd(u),(u&(n.suspendedLanes|a))!==0?0:u}function wd(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function dm(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Nd(){var n=M.p;return n!==0?n:(n=window.event,n===void 0?32:Pf(n.type))}function hm(n,a){var u=M.p;try{return M.p=n,a()}finally{M.p=u}}var Va=Math.random().toString(36).slice(2),Xt="__reactFiber$"+Va,Tl="__reactProps$"+Va,Zi="__reactContainer$"+Va,Hd="__reactEvents$"+Va,mm="__reactListeners$"+Va,zg="__reactHandles$"+Va,ym="__reactResources$"+Va,Tu="__reactMarker$"+Va;function Bd(n){delete n[Xt],delete n[Tl],delete n[Hd],delete n[mm],delete n[zg]}function Bc(n){var a=n[Xt];if(a)return a;for(var u=n.parentNode;u;){if(a=u[Zi]||u[Xt]){if(u=a.alternate,a.child!==null||u!==null&&u.child!==null)for(n=su(n);n!==null;){if(u=n[Xt])return u;n=su(n)}return a}n=u,u=n.parentNode}return null}function jc(n){if(n=n[Xt]||n[Zi]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function ts(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(p(33))}function Yc(n){var a=n[ym];return a||(a=n[ym]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function jt(n){n[Tu]=!0}var qc=new Set,Ji={};function Ki(n,a){Au(n,a),Au(n+"Capture",a)}function Au(n,a){for(Ji[n]=a,n=0;n<a.length;n++)qc.add(a[n])}var jd=RegExp("^[: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]*$"),Yd={},ns={};function ls(n){return jr.call(ns,n)?!0:jr.call(Yd,n)?!1:jd.test(n)?ns[n]=!0:(Yd[n]=!0,!1)}function as(n,a,u){if(ls(a))if(u===null)n.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var c=a.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+u)}}function qd(n,a,u){if(u===null)n.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+u)}}function di(n,a,u,c){if(c===null)n.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(u);return}n.setAttributeNS(a,u,""+c)}}function Pl(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Gd(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function pm(n,a,u){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var r=c.get,f=c.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return r.call(this)},set:function(v){u=""+v,f.call(this,v)}}),Object.defineProperty(n,a,{enumerable:c.enumerable}),{getValue:function(){return u},setValue:function(v){u=""+v},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Ld(n){if(!n._valueTracker){var a=Gd(n)?"checked":"value";n._valueTracker=pm(n,a,""+n[a])}}function gm(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var u=a.getValue(),c="";return n&&(c=Gd(n)?n.checked?"true":"false":n.value),n=c,n!==u?(a.setValue(n),!0):!1}function Gr(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var mb=/[\n"\\]/g;function ea(n){return n.replace(mb,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Lr(n,a,u,c,r,f,v,z){n.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?n.type=v:n.removeAttribute("type"),a!=null?v==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+Pl(a)):n.value!==""+Pl(a)&&(n.value=""+Pl(a)):v!=="submit"&&v!=="reset"||n.removeAttribute("value"),a!=null?Gc(n,v,Pl(a)):u!=null?Gc(n,v,Pl(u)):c!=null&&n.removeAttribute("value"),r==null&&f!=null&&(n.defaultChecked=!!f),r!=null&&(n.checked=r&&typeof r!="function"&&typeof r!="symbol"),z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?n.name=""+Pl(z):n.removeAttribute("name")}function Vr(n,a,u,c,r,f,v,z){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(n.type=f),a!=null||u!=null){if(!(f!=="submit"&&f!=="reset"||a!=null)){Ld(n);return}u=u!=null?""+Pl(u):"",a=a!=null?""+Pl(a):u,z||a===n.value||(n.value=a),n.defaultValue=a}c=c??r,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=z?n.checked:!!c,n.defaultChecked=!!c,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.name=v),Ld(n)}function Gc(n,a,u){a==="number"&&Gr(n.ownerDocument)===n||n.defaultValue===""+u||(n.defaultValue=""+u)}function us(n,a,u,c){if(n=n.options,a){a={};for(var r=0;r<u.length;r++)a["$"+u[r]]=!0;for(u=0;u<n.length;u++)r=a.hasOwnProperty("$"+n[u].value),n[u].selected!==r&&(n[u].selected=r),r&&c&&(n[u].defaultSelected=!0)}else{for(u=""+Pl(u),a=null,r=0;r<n.length;r++){if(n[r].value===u){n[r].selected=!0,c&&(n[r].defaultSelected=!0);return}a!==null||n[r].disabled||(a=n[r])}a!==null&&(a.selected=!0)}}function vm(n,a,u){if(a!=null&&(a=""+Pl(a),a!==n.value&&(n.value=a),u==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=u!=null?""+Pl(u):""}function bm(n,a,u,c){if(a==null){if(c!=null){if(u!=null)throw Error(p(92));if(L(c)){if(1<c.length)throw Error(p(93));c=c[0]}u=c}u==null&&(u=""),a=u}u=Pl(a),n.defaultValue=u,c=n.textContent,c===u&&c!==""&&c!==null&&(n.value=c),Ld(n)}function Ou(n,a){if(a){var u=n.firstChild;if(u&&u===n.lastChild&&u.nodeType===3){u.nodeValue=a;return}}n.textContent=a}var Dg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function _g(n,a,u){var c=a.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":c?n.setProperty(a,u):typeof u!="number"||u===0||Dg.has(a)?a==="float"?n.cssFloat=u:n[a]=(""+u).trim():n[a]=u+"px"}function Rg(n,a,u){if(a!=null&&typeof a!="object")throw Error(p(62));if(n=n.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||a!=null&&a.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var r in a)c=a[r],a.hasOwnProperty(r)&&u[r]!==c&&_g(n,r,c)}else for(var f in a)a.hasOwnProperty(f)&&_g(n,f,a[f])}function Sm(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yb=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Xr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function za(n){return Xr.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Xa(){}var Vd=null;function Xd(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var zu=null,Lc=null;function Qr(n){var a=jc(n);if(a&&(n=a.stateNode)){var u=n[Tl]||null;e:switch(n=a.stateNode,a.type){case"input":if(Lr(n,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),a=u.name,u.type==="radio"&&a!=null){for(u=n;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+ea(""+a)+'"][type="radio"]'),a=0;a<u.length;a++){var c=u[a];if(c!==n&&c.form===n.form){var r=c[Tl]||null;if(!r)throw Error(p(90));Lr(c,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(a=0;a<u.length;a++)c=u[a],c.form===n.form&&gm(c)}break e;case"textarea":vm(n,u.value,u.defaultValue);break e;case"select":a=u.value,a!=null&&us(n,!!u.multiple,a,!1)}}}var is=!1;function Em(n,a,u){if(is)return n(a,u);is=!0;try{var c=n(a);return c}finally{if(is=!1,(zu!==null||Lc!==null)&&(Vs(),zu&&(a=zu,n=Lc,Lc=zu=null,Qr(a),n)))for(a=0;a<n.length;a++)Qr(n[a])}}function Xn(n,a){var u=n.stateNode;if(u===null)return null;var c=u[Tl]||null;if(c===null)return null;u=c[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(u&&typeof u!="function")throw Error(p(231,a,typeof u));return u}var hi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zr=!1;if(hi)try{var cs={};Object.defineProperty(cs,"passive",{get:function(){Zr=!0}}),window.addEventListener("test",cs,cs),window.removeEventListener("test",cs,cs)}catch{Zr=!1}var mi=null,Tm=null,Qd=null;function Am(){if(Qd)return Qd;var n,a=Tm,u=a.length,c,r="value"in mi?mi.value:mi.textContent,f=r.length;for(n=0;n<u&&a[n]===r[n];n++);var v=u-n;for(c=1;c<=v&&a[u-c]===r[f-c];c++);return Qd=r.slice(n,1<c?1-c:void 0)}function Zd(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function Jr(){return!0}function Mg(){return!1}function al(n){function a(u,c,r,f,v){this._reactName=u,this._targetInst=r,this.type=c,this.nativeEvent=f,this.target=v,this.currentTarget=null;for(var z in n)n.hasOwnProperty(z)&&(u=n[z],this[z]=u?u(f):f[z]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Jr:Mg,this.isPropagationStopped=Mg,this}return Z(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Jr)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Jr)},persist:function(){},isPersistent:Jr}),a}var ki={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Kr=al(ki),os=Z({},ki,{view:0,detail:0}),pb=al(os),Om,zm,kr,Jd=Z({},os,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Da,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==kr&&(kr&&n.type==="mousemove"?(Om=n.screenX-kr.screenX,zm=n.screenY-kr.screenY):zm=Om=0,kr=n),Om)},movementY:function(n){return"movementY"in n?n.movementY:zm}}),ss=al(Jd),xg=Z({},Jd,{dataTransfer:0}),Cg=al(xg),Ug=Z({},os,{relatedTarget:0}),Kd=al(Ug),Dm=Z({},ki,{animationName:0,elapsedTime:0,pseudoElement:0}),wg=al(Dm),Vc=Z({},ki,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Xc=al(Vc),Qa=Z({},ki,{data:0}),Ng=al(Qa),_m={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Du={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Hg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Za(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=Hg[n])?!!a[n]:!1}function Da(){return Za}var kd=Z({},os,{key:function(n){if(n.key){var a=_m[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=Zd(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Du[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Da,charCode:function(n){return n.type==="keypress"?Zd(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Zd(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),$d=al(kd),Rm=Z({},Jd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ja=al(Rm),gb=Z({},os,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Da}),Bg=al(gb),jg=Z({},ki,{propertyName:0,elapsedTime:0,pseudoElement:0}),vb=al(jg),Mm=Z({},Jd,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),bb=al(Mm),Yg=Z({},ki,{newState:0,oldState:0}),xm=al(Yg),Fd=[9,13,27,32],rs=hi&&"CompositionEvent"in window,Qc=null;hi&&"documentMode"in document&&(Qc=document.documentMode);var hl=hi&&"TextEvent"in window&&!Qc,Cm=hi&&(!rs||Qc&&8<Qc&&11>=Qc),$r=" ",$i=!1;function Wd(n,a){switch(n){case"keyup":return Fd.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Um(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Zc=!1;function qg(n,a){switch(n){case"compositionend":return Um(a);case"keypress":return a.which!==32?null:($i=!0,$r);case"textInput":return n=a.data,n===$r&&$i?null:n;default:return null}}function Sb(n,a){if(Zc)return n==="compositionend"||!rs&&Wd(n,a)?(n=Am(),Qd=Tm=mi=null,Zc=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Cm&&a.locale!=="ko"?null:a.data;default:return null}}var wm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function _u(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!wm[n.type]:a==="textarea"}function Nm(n,a,u,c){zu?Lc?Lc.push(c):Lc=[c]:zu=c,a=Jf(a,"onChange"),0<a.length&&(u=new Kr("onChange","change",null,u,c),n.push({event:u,listeners:a}))}var Jc=null,Fi=null;function Kc(n){Nv(n,0)}function fs(n){var a=ts(n);if(gm(a))return n}function Hm(n,a){if(n==="change")return a}var Id=!1;if(hi){var Al;if(hi){var Ka="oninput"in document;if(!Ka){var Bm=document.createElement("div");Bm.setAttribute("oninput","return;"),Ka=typeof Bm.oninput=="function"}Al=Ka}else Al=!1;Id=Al&&(!document.documentMode||9<document.documentMode)}function Pd(){Jc&&(Jc.detachEvent("onpropertychange",eh),Fi=Jc=null)}function eh(n){if(n.propertyName==="value"&&fs(Fi)){var a=[];Nm(a,Fi,n,Xd(n)),Em(Kc,a)}}function Gg(n,a,u){n==="focusin"?(Pd(),Jc=a,Fi=u,Jc.attachEvent("onpropertychange",eh)):n==="focusout"&&Pd()}function Lg(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return fs(Fi)}function Wi(n,a){if(n==="click")return fs(a)}function kc(n,a){if(n==="input"||n==="change")return fs(a)}function Vg(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var ml=typeof Object.is=="function"?Object.is:Vg;function _a(n,a){if(ml(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var u=Object.keys(n),c=Object.keys(a);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var r=u[c];if(!jr.call(a,r)||!ml(n[r],a[r]))return!1}return!0}function jm(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Ym(n,a){var u=jm(n);n=0;for(var c;u;){if(u.nodeType===3){if(c=n+u.textContent.length,n<=a&&c>=a)return{node:u,offset:a-n};n=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=jm(u)}}function $c(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?$c(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Ii(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Gr(n.document);a instanceof n.HTMLIFrameElement;){try{var u=typeof a.contentWindow.location.href=="string"}catch{u=!1}if(u)n=a.contentWindow;else break;a=Gr(n.document)}return a}function Fr(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var Wr=hi&&"documentMode"in document&&11>=document.documentMode,Pi=null,ds=null,Ra=null,ka=!1;function th(n,a,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;ka||Pi==null||Pi!==Gr(c)||(c=Pi,"selectionStart"in c&&Fr(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Ra&&_a(Ra,c)||(Ra=c,c=Jf(ds,"onSelect"),0<c.length&&(a=new Kr("onSelect","select",null,a,u),n.push({event:a,listeners:c}),a.target=Pi)))}function yi(n,a){var u={};return u[n.toLowerCase()]=a.toLowerCase(),u["Webkit"+n]="webkit"+a,u["Moz"+n]="moz"+a,u}var $a={animationend:yi("Animation","AnimationEnd"),animationiteration:yi("Animation","AnimationIteration"),animationstart:yi("Animation","AnimationStart"),transitionrun:yi("Transition","TransitionRun"),transitionstart:yi("Transition","TransitionStart"),transitioncancel:yi("Transition","TransitionCancel"),transitionend:yi("Transition","TransitionEnd")},hs={},ec={};hi&&(ec=document.createElement("div").style,"AnimationEvent"in window||(delete $a.animationend.animation,delete $a.animationiteration.animation,delete $a.animationstart.animation),"TransitionEvent"in window||delete $a.transitionend.transition);function Nt(n){if(hs[n])return hs[n];if(!$a[n])return n;var a=$a[n],u;for(u in a)if(a.hasOwnProperty(u)&&u in ec)return hs[n]=a[u];return n}var Ir=Nt("animationend"),qm=Nt("animationiteration"),nh=Nt("animationstart"),Fc=Nt("transitionrun"),Pr=Nt("transitionstart"),Ru=Nt("transitioncancel"),Xg=Nt("transitionend"),Mu=new Map,ms="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ms.push("scrollEnd");function Ol(n,a){Mu.set(n,a),Ki(a,[n])}var Wc=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},ln=[],Qn=0,Ma=0;function ta(){for(var n=Qn,a=Ma=Qn=0;a<n;){var u=ln[a];ln[a++]=null;var c=ln[a];ln[a++]=null;var r=ln[a];ln[a++]=null;var f=ln[a];if(ln[a++]=null,c!==null&&r!==null){var v=c.pending;v===null?r.next=r:(r.next=v.next,v.next=r),c.pending=r}f!==0&&lh(u,r,f)}}function na(n,a,u,c){ln[Qn++]=n,ln[Qn++]=a,ln[Qn++]=u,ln[Qn++]=c,Ma|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function xa(n,a,u,c){return na(n,a,u,c),ef(n)}function pi(n,a){return na(n,null,null,a),ef(n)}function lh(n,a,u){n.lanes|=u;var c=n.alternate;c!==null&&(c.lanes|=u);for(var r=!1,f=n.return;f!==null;)f.childLanes|=u,c=f.alternate,c!==null&&(c.childLanes|=u),f.tag===22&&(n=f.stateNode,n===null||n._visibility&1||(r=!0)),n=f,f=f.return;return n.tag===3?(f=n.stateNode,r&&a!==null&&(r=31-Vn(u),n=f.hiddenUpdates,c=n[r],c===null?n[r]=[a]:c.push(a),a.lane=u|536870912),f):null}function ef(n){if(50<Ls)throw Ls=0,jf=null,Error(p(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var zl={};function Qg(n,a,u,c){this.tag=n,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(n,a,u,c){return new Qg(n,a,u,c)}function Ic(n){return n=n.prototype,!(!n||!n.isReactComponent)}function gi(n,a){var u=n.alternate;return u===null?(u=yn(n.tag,a,n.key,n.mode),u.elementType=n.elementType,u.type=n.type,u.stateNode=n.stateNode,u.alternate=n,n.alternate=u):(u.pendingProps=a,u.type=n.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=n.flags&65011712,u.childLanes=n.childLanes,u.lanes=n.lanes,u.child=n.child,u.memoizedProps=n.memoizedProps,u.memoizedState=n.memoizedState,u.updateQueue=n.updateQueue,a=n.dependencies,u.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},u.sibling=n.sibling,u.index=n.index,u.ref=n.ref,u.refCleanup=n.refCleanup,u}function Gm(n,a){n.flags&=65011714;var u=n.alternate;return u===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=u.childLanes,n.lanes=u.lanes,n.child=u.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=u.memoizedProps,n.memoizedState=u.memoizedState,n.updateQueue=u.updateQueue,n.type=u.type,a=u.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function ah(n,a,u,c,r,f){var v=0;if(c=n,typeof n=="function")Ic(n)&&(v=1);else if(typeof n=="string")v=sp(n,u,ae.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case R:return n=yn(31,u,a,r),n.elementType=R,n.lanes=f,n;case Qe:return vi(u.children,r,f,a);case Ge:v=8,r|=24;break;case Ze:return n=yn(12,u,a,r|2),n.elementType=Ze,n.lanes=f,n;case St:return n=yn(13,u,a,r),n.elementType=St,n.lanes=f,n;case Ke:return n=yn(19,u,a,r),n.elementType=Ke,n.lanes=f,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Pe:v=10;break e;case be:v=9;break e;case gt:v=11;break e;case we:v=14;break e;case D:v=16,c=null;break e}v=29,u=Error(p(130,n===null?"null":typeof n,"")),c=null}return a=yn(v,u,a,r),a.elementType=n,a.type=c,a.lanes=f,a}function vi(n,a,u,c){return n=yn(7,n,c,a),n.lanes=u,n}function ys(n,a,u){return n=yn(6,n,null,a),n.lanes=u,n}function Lm(n){var a=yn(18,null,null,0);return a.stateNode=n,a}function uh(n,a,u){return a=yn(4,n.children!==null?n.children:[],n.key,a),a.lanes=u,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var Vm=new WeakMap;function la(n,a){if(typeof n=="object"&&n!==null){var u=Vm.get(n);return u!==void 0?u:(a={value:n,source:a,stack:wc(a)},Vm.set(n,a),a)}return{value:n,source:a,stack:wc(a)}}var aa=[],Pc=0,tf=null,Tn=0,Vl=[],Dl=0,Fa=null,Xl=1,Wa="";function Ca(n,a){aa[Pc++]=Tn,aa[Pc++]=tf,tf=n,Tn=a}function Xm(n,a,u){Vl[Dl++]=Xl,Vl[Dl++]=Wa,Vl[Dl++]=Fa,Fa=n;var c=Xl;n=Wa;var r=32-Vn(c)-1;c&=~(1<<r),u+=1;var f=32-Vn(a)+r;if(30<f){var v=r-r%5;f=(c&(1<<v)-1).toString(32),c>>=v,r-=v,Xl=1<<32-Vn(a)+r|u<<r|c,Wa=f+n}else Xl=1<<f|u<<r|c,Wa=n}function ps(n){n.return!==null&&(Ca(n,1),Xm(n,1,0))}function ih(n){for(;n===tf;)tf=aa[--Pc],aa[Pc]=null,Tn=aa[--Pc],aa[Pc]=null;for(;n===Fa;)Fa=Vl[--Dl],Vl[Dl]=null,Wa=Vl[--Dl],Vl[Dl]=null,Xl=Vl[--Dl],Vl[Dl]=null}function nf(n,a){Vl[Dl++]=Xl,Vl[Dl++]=Wa,Vl[Dl++]=Fa,Xl=a.id,Wa=a.overflow,Fa=n}var Zn=null,$t=null,vt=!1,xu=null,Hn=!1,Cu=Error(p(519));function Ua(n){var a=Error(p(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw vs(la(a,n)),Cu}function lf(n){var a=n.stateNode,u=n.type,c=n.memoizedProps;switch(a[Xt]=n,a[Tl]=c,u){case"dialog":pt("cancel",a),pt("close",a);break;case"iframe":case"object":case"embed":pt("load",a);break;case"video":case"audio":for(u=0;u<Ks.length;u++)pt(Ks[u],a);break;case"source":pt("error",a);break;case"img":case"image":case"link":pt("error",a),pt("load",a);break;case"details":pt("toggle",a);break;case"input":pt("invalid",a),Vr(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":pt("invalid",a);break;case"textarea":pt("invalid",a),bm(a,c.value,c.defaultValue,c.children)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||a.textContent===""+u||c.suppressHydrationWarning===!0||Iy(a.textContent,u)?(c.popover!=null&&(pt("beforetoggle",a),pt("toggle",a)),c.onScroll!=null&&pt("scroll",a),c.onScrollEnd!=null&&pt("scrollend",a),c.onClick!=null&&(a.onclick=Xa),a=!0):a=!1,a||Ua(n,!0)}function gs(n){for(Zn=n.return;Zn;)switch(Zn.tag){case 5:case 31:case 13:Hn=!1;return;case 27:case 3:Hn=!0;return;default:Zn=Zn.return}}function Uu(n){if(n!==Zn)return!1;if(!vt)return gs(n),vt=!0,!1;var a=n.tag,u;if((u=a!==3&&a!==27)&&((u=a===5)&&(u=n.type,u=!(u!=="form"&&u!=="button")||$s(n.type,n.memoizedProps)),u=!u),u&&$t&&Ua(n),gs(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(p(317));$t=s0(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(p(317));$t=s0(n)}else a===27?(a=$t,ou(n.type)?(n=$f,$f=null,$t=n):$t=a):$t=Zn?Bl(n.stateNode.nextSibling):null;return!0}function tc(){$t=Zn=null,vt=!1}function Qm(){var n=xu;return n!==null&&(hn===null?hn=n:hn.push.apply(hn,n),xu=null),n}function vs(n){xu===null?xu=[n]:xu.push(n)}var ch=E(null),bi=null,Ia=null;function _l(n,a,u){ie(ch,a._currentValue),a._currentValue=u}function Pa(n){n._currentValue=ch.current,G(ch)}function oh(n,a,u){for(;n!==null;){var c=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,c!==null&&(c.childLanes|=a)):c!==null&&(c.childLanes&a)!==a&&(c.childLanes|=a),n===u)break;n=n.return}}function wu(n,a,u,c){var r=n.child;for(r!==null&&(r.return=n);r!==null;){var f=r.dependencies;if(f!==null){var v=r.child;f=f.firstContext;e:for(;f!==null;){var z=f;f=r;for(var Y=0;Y<a.length;Y++)if(z.context===a[Y]){f.lanes|=u,z=f.alternate,z!==null&&(z.lanes|=u),oh(f.return,u,n),c||(v=null);break e}f=z.next}}else if(r.tag===18){if(v=r.return,v===null)throw Error(p(341));v.lanes|=u,f=v.alternate,f!==null&&(f.lanes|=u),oh(v,u,n),v=null}else v=r.child;if(v!==null)v.return=r;else for(v=r;v!==null;){if(v===n){v=null;break}if(r=v.sibling,r!==null){r.return=v.return,v=r;break}v=v.return}r=v}}function Jn(n,a,u,c){n=null;for(var r=a,f=!1;r!==null;){if(!f){if((r.flags&524288)!==0)f=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var v=r.alternate;if(v===null)throw Error(p(387));if(v=v.memoizedProps,v!==null){var z=r.type;ml(r.pendingProps.value,v.value)||(n!==null?n.push(z):n=[z])}}else if(r===_e.current){if(v=r.alternate,v===null)throw Error(p(387));v.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(n!==null?n.push(If):n=[If])}r=r.return}n!==null&&wu(a,n,u,c),a.flags|=262144}function eo(n){for(n=n.firstContext;n!==null;){if(!ml(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Fe(n){bi=n,Ia=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function ge(n){return af(bi,n)}function Si(n,a){return bi===null&&Fe(n),af(n,a)}function af(n,a){var u=a._currentValue;if(a={context:a,memoizedValue:u,next:null},Ia===null){if(n===null)throw Error(p(308));Ia=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else Ia=Ia.next=a;return u}var pn=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(u,c){n.push(c)}};this.abort=function(){a.aborted=!0,n.forEach(function(u){return u()})}},Zm=d.unstable_scheduleCallback,Jm=d.unstable_NormalPriority,An={$$typeof:Pe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function uf(){return{controller:new pn,data:new Map,refCount:0}}function cf(n){n.refCount--,n.refCount===0&&Zm(Jm,function(){n.controller.abort()})}var to=null,of=0,nc=0,Mn=null;function Yt(n,a){if(to===null){var u=to=[];of=0,nc=t0(),Mn={status:"pending",value:void 0,then:function(c){u.push(c)}}}return of++,a.then(sf,sf),a}function sf(){if(--of===0&&to!==null){Mn!==null&&(Mn.status="fulfilled");var n=to;to=null,nc=0,Mn=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function rf(n,a){var u=[],c={status:"pending",value:null,reason:null,then:function(r){u.push(r)}};return n.then(function(){c.status="fulfilled",c.value=a;for(var r=0;r<u.length;r++)(0,u[r])(a)},function(r){for(c.status="rejected",c.reason=r,r=0;r<u.length;r++)(0,u[r])(void 0)}),c}var Ei=A.S;A.S=function(n,a){qy=Rn(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&Yt(n,a),Ei!==null&&Ei(n,a)};var ua=E(null);function ia(){var n=ua.current;return n!==null?n:Zt.pooledCache}function bs(n,a){a===null?ie(ua,ua.current):ie(ua,a.pool)}function no(){var n=ia();return n===null?null:{parent:An._currentValue,pool:n}}var lc=Error(p(460)),lo=Error(p(474)),Ss=Error(p(542)),ao={then:function(){}};function Km(n){return n=n.status,n==="fulfilled"||n==="rejected"}function km(n,a,u){switch(u=n[u],u===void 0?n.push(a):u!==a&&(a.then(Xa,Xa),a=u),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,sh(n),n;default:if(typeof a.status=="string")a.then(Xa,Xa);else{if(n=Zt,n!==null&&100<n.shellSuspendCounter)throw Error(p(482));n=a,n.status="pending",n.then(function(c){if(a.status==="pending"){var r=a;r.status="fulfilled",r.value=c}},function(c){if(a.status==="pending"){var r=a;r.status="rejected",r.reason=c}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,sh(n),n}throw uc=a,lc}}function ac(n){try{var a=n._init;return a(n._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(uc=u,lc):u}}var uc=null;function $m(){if(uc===null)throw Error(p(459));var n=uc;return uc=null,n}function sh(n){if(n===lc||n===Ss)throw Error(p(483))}var ic=null,uo=0;function ff(n){var a=uo;return uo+=1,ic===null&&(ic=[]),km(ic,n,a)}function Es(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function df(n,a){throw a.$$typeof===V?Error(p(525)):(n=Object.prototype.toString.call(a),Error(p(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function Zg(n){function a(P,K){if(n){var te=P.deletions;te===null?(P.deletions=[K],P.flags|=16):te.push(K)}}function u(P,K){if(!n)return null;for(;K!==null;)a(P,K),K=K.sibling;return null}function c(P){for(var K=new Map;P!==null;)P.key!==null?K.set(P.key,P):K.set(P.index,P),P=P.sibling;return K}function r(P,K){return P=gi(P,K),P.index=0,P.sibling=null,P}function f(P,K,te){return P.index=te,n?(te=P.alternate,te!==null?(te=te.index,te<K?(P.flags|=67108866,K):te):(P.flags|=67108866,K)):(P.flags|=1048576,K)}function v(P){return n&&P.alternate===null&&(P.flags|=67108866),P}function z(P,K,te,me){return K===null||K.tag!==6?(K=ys(te,P.mode,me),K.return=P,K):(K=r(K,te),K.return=P,K)}function Y(P,K,te,me){var je=te.type;return je===Qe?de(P,K,te.props.children,me,te.key):K!==null&&(K.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===D&&ac(je)===K.type)?(K=r(K,te.props),Es(K,te),K.return=P,K):(K=ah(te.type,te.key,te.props,null,P.mode,me),Es(K,te),K.return=P,K)}function ne(P,K,te,me){return K===null||K.tag!==4||K.stateNode.containerInfo!==te.containerInfo||K.stateNode.implementation!==te.implementation?(K=uh(te,P.mode,me),K.return=P,K):(K=r(K,te.children||[]),K.return=P,K)}function de(P,K,te,me,je){return K===null||K.tag!==7?(K=vi(te,P.mode,me,je),K.return=P,K):(K=r(K,te),K.return=P,K)}function pe(P,K,te){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return K=ys(""+K,P.mode,te),K.return=P,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case ve:return te=ah(K.type,K.key,K.props,null,P.mode,te),Es(te,K),te.return=P,te;case Me:return K=uh(K,P.mode,te),K.return=P,K;case D:return K=ac(K),pe(P,K,te)}if(L(K)||N(K))return K=vi(K,P.mode,te,null),K.return=P,K;if(typeof K.then=="function")return pe(P,ff(K),te);if(K.$$typeof===Pe)return pe(P,Si(P,K),te);df(P,K)}return null}function le(P,K,te,me){var je=K!==null?K.key:null;if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return je!==null?null:z(P,K,""+te,me);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case ve:return te.key===je?Y(P,K,te,me):null;case Me:return te.key===je?ne(P,K,te,me):null;case D:return te=ac(te),le(P,K,te,me)}if(L(te)||N(te))return je!==null?null:de(P,K,te,me,null);if(typeof te.then=="function")return le(P,K,ff(te),me);if(te.$$typeof===Pe)return le(P,K,Si(P,te),me);df(P,te)}return null}function se(P,K,te,me,je){if(typeof me=="string"&&me!==""||typeof me=="number"||typeof me=="bigint")return P=P.get(te)||null,z(K,P,""+me,je);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case ve:return P=P.get(me.key===null?te:me.key)||null,Y(K,P,me,je);case Me:return P=P.get(me.key===null?te:me.key)||null,ne(K,P,me,je);case D:return me=ac(me),se(P,K,te,me,je)}if(L(me)||N(me))return P=P.get(te)||null,de(K,P,me,je,null);if(typeof me.then=="function")return se(P,K,te,ff(me),je);if(me.$$typeof===Pe)return se(P,K,te,Si(K,me),je);df(K,me)}return null}function xe(P,K,te,me){for(var je=null,Mt=null,He=K,tt=K=0,it=null;He!==null&&tt<te.length;tt++){He.index>tt?(it=He,He=null):it=He.sibling;var wt=le(P,He,te[tt],me);if(wt===null){He===null&&(He=it);break}n&&He&&wt.alternate===null&&a(P,He),K=f(wt,K,tt),Mt===null?je=wt:Mt.sibling=wt,Mt=wt,He=it}if(tt===te.length)return u(P,He),vt&&Ca(P,tt),je;if(He===null){for(;tt<te.length;tt++)He=pe(P,te[tt],me),He!==null&&(K=f(He,K,tt),Mt===null?je=He:Mt.sibling=He,Mt=He);return vt&&Ca(P,tt),je}for(He=c(He);tt<te.length;tt++)it=se(He,P,tt,te[tt],me),it!==null&&(n&&it.alternate!==null&&He.delete(it.key===null?tt:it.key),K=f(it,K,tt),Mt===null?je=it:Mt.sibling=it,Mt=it);return n&&He.forEach(function(fu){return a(P,fu)}),vt&&Ca(P,tt),je}function Le(P,K,te,me){if(te==null)throw Error(p(151));for(var je=null,Mt=null,He=K,tt=K=0,it=null,wt=te.next();He!==null&&!wt.done;tt++,wt=te.next()){He.index>tt?(it=He,He=null):it=He.sibling;var fu=le(P,He,wt.value,me);if(fu===null){He===null&&(He=it);break}n&&He&&fu.alternate===null&&a(P,He),K=f(fu,K,tt),Mt===null?je=fu:Mt.sibling=fu,Mt=fu,He=it}if(wt.done)return u(P,He),vt&&Ca(P,tt),je;if(He===null){for(;!wt.done;tt++,wt=te.next())wt=pe(P,wt.value,me),wt!==null&&(K=f(wt,K,tt),Mt===null?je=wt:Mt.sibling=wt,Mt=wt);return vt&&Ca(P,tt),je}for(He=c(He);!wt.done;tt++,wt=te.next())wt=se(He,P,tt,wt.value,me),wt!==null&&(n&&wt.alternate!==null&&He.delete(wt.key===null?tt:wt.key),K=f(wt,K,tt),Mt===null?je=wt:Mt.sibling=wt,Mt=wt);return n&&He.forEach(function($v){return a(P,$v)}),vt&&Ca(P,tt),je}function Kt(P,K,te,me){if(typeof te=="object"&&te!==null&&te.type===Qe&&te.key===null&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case ve:e:{for(var je=te.key;K!==null;){if(K.key===je){if(je=te.type,je===Qe){if(K.tag===7){u(P,K.sibling),me=r(K,te.props.children),me.return=P,P=me;break e}}else if(K.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===D&&ac(je)===K.type){u(P,K.sibling),me=r(K,te.props),Es(me,te),me.return=P,P=me;break e}u(P,K);break}else a(P,K);K=K.sibling}te.type===Qe?(me=vi(te.props.children,P.mode,me,te.key),me.return=P,P=me):(me=ah(te.type,te.key,te.props,null,P.mode,me),Es(me,te),me.return=P,P=me)}return v(P);case Me:e:{for(je=te.key;K!==null;){if(K.key===je)if(K.tag===4&&K.stateNode.containerInfo===te.containerInfo&&K.stateNode.implementation===te.implementation){u(P,K.sibling),me=r(K,te.children||[]),me.return=P,P=me;break e}else{u(P,K);break}else a(P,K);K=K.sibling}me=uh(te,P.mode,me),me.return=P,P=me}return v(P);case D:return te=ac(te),Kt(P,K,te,me)}if(L(te))return xe(P,K,te,me);if(N(te)){if(je=N(te),typeof je!="function")throw Error(p(150));return te=je.call(te),Le(P,K,te,me)}if(typeof te.then=="function")return Kt(P,K,ff(te),me);if(te.$$typeof===Pe)return Kt(P,K,Si(P,te),me);df(P,te)}return typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint"?(te=""+te,K!==null&&K.tag===6?(u(P,K.sibling),me=r(K,te),me.return=P,P=me):(u(P,K),me=ys(te,P.mode,me),me.return=P,P=me),v(P)):u(P,K)}return function(P,K,te,me){try{uo=0;var je=Kt(P,K,te,me);return ic=null,je}catch(He){if(He===lc||He===Ss)throw He;var Mt=yn(29,He,null,P.mode);return Mt.lanes=me,Mt.return=P,Mt}}}var cc=Zg(!0),Fm=Zg(!1),Ti=!1;function hf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function rh(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ai(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function ca(n,a,u){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Ut&2)!==0){var r=c.pending;return r===null?a.next=a:(a.next=r.next,r.next=a),c.pending=a,a=ef(n),lh(n,null,u),a}return na(n,c,a,u),ef(n)}function oc(n,a,u){if(a=a.updateQueue,a!==null&&(a=a.shared,(u&4194048)!==0)){var c=a.lanes;c&=n.pendingLanes,u|=c,a.lanes=u,Eu(n,u)}}function fh(n,a){var u=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var r=null,f=null;if(u=u.firstBaseUpdate,u!==null){do{var v={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};f===null?r=f=v:f=f.next=v,u=u.next}while(u!==null);f===null?r=f=a:f=f.next=a}else r=f=a;u={baseState:c.baseState,firstBaseUpdate:r,lastBaseUpdate:f,shared:c.shared,callbacks:c.callbacks},n.updateQueue=u;return}n=u.lastBaseUpdate,n===null?u.firstBaseUpdate=a:n.next=a,u.lastBaseUpdate=a}var Wm=!1;function sc(){if(Wm){var n=Mn;if(n!==null)throw n}}function Nu(n,a,u,c){Wm=!1;var r=n.updateQueue;Ti=!1;var f=r.firstBaseUpdate,v=r.lastBaseUpdate,z=r.shared.pending;if(z!==null){r.shared.pending=null;var Y=z,ne=Y.next;Y.next=null,v===null?f=ne:v.next=ne,v=Y;var de=n.alternate;de!==null&&(de=de.updateQueue,z=de.lastBaseUpdate,z!==v&&(z===null?de.firstBaseUpdate=ne:z.next=ne,de.lastBaseUpdate=Y))}if(f!==null){var pe=r.baseState;v=0,de=ne=Y=null,z=f;do{var le=z.lane&-536870913,se=le!==z.lane;if(se?(ht&le)===le:(c&le)===le){le!==0&&le===nc&&(Wm=!0),de!==null&&(de=de.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});e:{var xe=n,Le=z;le=a;var Kt=u;switch(Le.tag){case 1:if(xe=Le.payload,typeof xe=="function"){pe=xe.call(Kt,pe,le);break e}pe=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=Le.payload,le=typeof xe=="function"?xe.call(Kt,pe,le):xe,le==null)break e;pe=Z({},pe,le);break e;case 2:Ti=!0}}le=z.callback,le!==null&&(n.flags|=64,se&&(n.flags|=8192),se=r.callbacks,se===null?r.callbacks=[le]:se.push(le))}else se={lane:le,tag:z.tag,payload:z.payload,callback:z.callback,next:null},de===null?(ne=de=se,Y=pe):de=de.next=se,v|=le;if(z=z.next,z===null){if(z=r.shared.pending,z===null)break;se=z,z=se.next,se.next=null,r.lastBaseUpdate=se,r.shared.pending=null}}while(!0);de===null&&(Y=pe),r.baseState=Y,r.firstBaseUpdate=ne,r.lastBaseUpdate=de,f===null&&(r.shared.lanes=0),iu|=v,n.lanes=v,n.memoizedState=pe}}function dh(n,a){if(typeof n!="function")throw Error(p(191,n));n.call(a)}function rc(n,a){var u=n.callbacks;if(u!==null)for(n.callbacks=null,n=0;n<u.length;n++)dh(u[n],a)}var Bn=E(null),io=E(0);function Jg(n,a){n=uu,ie(io,n),ie(Bn,a),uu=n|a.baseLanes}function mf(){ie(io,uu),ie(Bn,Bn.current)}function Ts(){uu=io.current,G(Bn),G(io)}var Rl=E(null),oa=null;function Hu(n){var a=n.alternate;ie(an,an.current&1),ie(Rl,n),oa===null&&(a===null||Bn.current!==null||a.memoizedState!==null)&&(oa=n)}function As(n){ie(an,an.current),ie(Rl,n),oa===null&&(oa=n)}function hh(n){n.tag===22?(ie(an,an.current),ie(Rl,n),oa===null&&(oa=n)):eu()}function eu(){ie(an,an.current),ie(Rl,Rl.current)}function Ml(n){G(Rl),oa===n&&(oa=null),G(an)}var an=E(0);function Os(n){for(var a=n;a!==null;){if(a.tag===13){var u=a.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Ba(u)||Tc(u)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Bu=0,nt=null,qt=null,On=null,co=!1,oo=!1,Oi=!1,yf=0,zs=0,fc=null,Kg=0;function fn(){throw Error(p(321))}function zi(n,a){if(a===null)return!1;for(var u=0;u<a.length&&u<n.length;u++)if(!ml(n[u],a[u]))return!1;return!0}function pf(n,a,u,c,r,f){return Bu=f,nt=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,A.H=n===null||n.memoizedState===null?tv:xh,Oi=!1,f=u(c,r),Oi=!1,oo&&(f=kg(a,u,c,r)),mh(n),f}function mh(n){A.H=zf;var a=qt!==null&&qt.next!==null;if(Bu=0,On=qt=nt=null,co=!1,zs=0,fc=null,a)throw Error(p(300));n===null||zn||(n=n.dependencies,n!==null&&eo(n)&&(zn=!0))}function kg(n,a,u,c){nt=n;var r=0;do{if(oo&&(fc=null),zs=0,oo=!1,25<=r)throw Error(p(301));if(r+=1,On=qt=null,n.updateQueue!=null){var f=n.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}A.H=nv,f=a(u,c)}while(oo);return f}function Eb(){var n=A.H,a=n.useState()[0];return a=typeof a.then=="function"?ro(a):a,n=n.useState()[0],(qt!==null?qt.memoizedState:null)!==n&&(nt.flags|=1024),a}function yh(){var n=yf!==0;return yf=0,n}function so(n,a,u){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~u}function gf(n){if(co){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}co=!1}Bu=0,On=qt=nt=null,oo=!1,zs=yf=0,fc=null}function Kn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return On===null?nt.memoizedState=On=n:On=On.next=n,On}function gn(){if(qt===null){var n=nt.alternate;n=n!==null?n.memoizedState:null}else n=qt.next;var a=On===null?nt.memoizedState:On.next;if(a!==null)On=a,qt=n;else{if(n===null)throw nt.alternate===null?Error(p(467)):Error(p(310));qt=n,n={memoizedState:qt.memoizedState,baseState:qt.baseState,baseQueue:qt.baseQueue,queue:qt.queue,next:null},On===null?nt.memoizedState=On=n:On=On.next=n}return On}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ro(n){var a=zs;return zs+=1,fc===null&&(fc=[]),n=km(fc,n,a),a=nt,(On===null?a.memoizedState:On.next)===null&&(a=a.alternate,A.H=a===null||a.memoizedState===null?tv:xh),n}function Ds(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return ro(n);if(n.$$typeof===Pe)return ge(n)}throw Error(p(438,String(n)))}function ph(n){var a=null,u=nt.updateQueue;if(u!==null&&(a=u.memoCache),a==null){var c=nt.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(a={data:c.data.map(function(r){return r.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),u===null&&(u=vf(),nt.updateQueue=u),u.memoCache=a,u=a.data[a.index],u===void 0)for(u=a.data[a.index]=Array(n),c=0;c<n;c++)u[c]=_;return a.index++,u}function ju(n,a){return typeof a=="function"?a(n):a}function Yu(n){var a=gn();return gh(a,qt,n)}function gh(n,a,u){var c=n.queue;if(c===null)throw Error(p(311));c.lastRenderedReducer=u;var r=n.baseQueue,f=c.pending;if(f!==null){if(r!==null){var v=r.next;r.next=f.next,f.next=v}a.baseQueue=r=f,c.pending=null}if(f=n.baseState,r===null)n.memoizedState=f;else{a=r.next;var z=v=null,Y=null,ne=a,de=!1;do{var pe=ne.lane&-536870913;if(pe!==ne.lane?(ht&pe)===pe:(Bu&pe)===pe){var le=ne.revertLane;if(le===0)Y!==null&&(Y=Y.next={lane:0,revertLane:0,gesture:null,action:ne.action,hasEagerState:ne.hasEagerState,eagerState:ne.eagerState,next:null}),pe===nc&&(de=!0);else if((Bu&le)===le){ne=ne.next,le===nc&&(de=!0);continue}else pe={lane:0,revertLane:ne.revertLane,gesture:null,action:ne.action,hasEagerState:ne.hasEagerState,eagerState:ne.eagerState,next:null},Y===null?(z=Y=pe,v=f):Y=Y.next=pe,nt.lanes|=le,iu|=le;pe=ne.action,Oi&&u(f,pe),f=ne.hasEagerState?ne.eagerState:u(f,pe)}else le={lane:pe,revertLane:ne.revertLane,gesture:ne.gesture,action:ne.action,hasEagerState:ne.hasEagerState,eagerState:ne.eagerState,next:null},Y===null?(z=Y=le,v=f):Y=Y.next=le,nt.lanes|=pe,iu|=pe;ne=ne.next}while(ne!==null&&ne!==a);if(Y===null?v=f:Y.next=z,!ml(f,n.memoizedState)&&(zn=!0,de&&(u=Mn,u!==null)))throw u;n.memoizedState=f,n.baseState=v,n.baseQueue=Y,c.lastRenderedState=f}return r===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function vh(n){var a=gn(),u=a.queue;if(u===null)throw Error(p(311));u.lastRenderedReducer=n;var c=u.dispatch,r=u.pending,f=a.memoizedState;if(r!==null){u.pending=null;var v=r=r.next;do f=n(f,v.action),v=v.next;while(v!==r);ml(f,a.memoizedState)||(zn=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),u.lastRenderedState=f}return[f,c]}function Im(n,a,u){var c=nt,r=gn(),f=vt;if(f){if(u===void 0)throw Error(p(407));u=u()}else u=a();var v=!ml((qt||r).memoizedState,u);if(v&&(r.memoizedState=u,zn=!0),r=r.queue,Ah(bh.bind(null,c,r,n),[n]),r.getSnapshot!==a||v||On!==null&&On.memoizedState.tag&1){if(c.flags|=2048,ho(9,{destroy:void 0},Pm.bind(null,c,r,u,a),null),Zt===null)throw Error(p(349));f||(Bu&127)!==0||bf(c,a,u)}return u}function bf(n,a,u){n.flags|=16384,n={getSnapshot:a,value:u},a=nt.updateQueue,a===null?(a=vf(),nt.updateQueue=a,a.stores=[n]):(u=a.stores,u===null?a.stores=[n]:u.push(n))}function Pm(n,a,u,c){a.value=u,a.getSnapshot=c,Sh(a)&&Eh(n)}function bh(n,a,u){return u(function(){Sh(a)&&Eh(n)})}function Sh(n){var a=n.getSnapshot;n=n.value;try{var u=a();return!ml(n,u)}catch{return!0}}function Eh(n){var a=pi(n,2);a!==null&&Hl(a,n,2)}function ey(n){var a=Kn();if(typeof n=="function"){var u=n;if(n=u(),Oi){Wl(!0);try{u()}finally{Wl(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ju,lastRenderedState:n},a}function kn(n,a,u,c){return n.baseState=u,gh(n,qt,typeof c=="function"?c:ju)}function $g(n,a,u,c,r){if(Of(n))throw Error(p(485));if(n=a.action,n!==null){var f={payload:r,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){f.listeners.push(v)}};A.T!==null?u(!0):f.isTransition=!1,c(f),u=a.pending,u===null?(f.next=a.pending=f,ty(a,f)):(f.next=u.next,a.pending=u.next=f)}}function ty(n,a){var u=a.action,c=a.payload,r=n.state;if(a.isTransition){var f=A.T,v={};A.T=v;try{var z=u(r,c),Y=A.S;Y!==null&&Y(v,z),ny(n,a,z)}catch(ne){fo(n,a,ne)}finally{f!==null&&v.types!==null&&(f.types=v.types),A.T=f}}else try{f=u(r,c),ny(n,a,f)}catch(ne){fo(n,a,ne)}}function ny(n,a,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){ly(n,a,c)},function(c){return fo(n,a,c)}):ly(n,a,u)}function ly(n,a,u){a.status="fulfilled",a.value=u,ay(a),n.state=u,a=n.pending,a!==null&&(u=a.next,u===a?n.pending=null:(u=u.next,a.next=u,ty(n,u)))}function fo(n,a,u){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=u,ay(a),a=a.next;while(a!==c)}n.action=null}function ay(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Sf(n,a){return a}function uy(n,a){if(vt){var u=Zt.formState;if(u!==null){e:{var c=nt;if(vt){if($t){t:{for(var r=$t,f=Hn;r.nodeType!==8;){if(!f){r=null;break t}if(r=Bl(r.nextSibling),r===null){r=null;break t}}f=r.data,r=f==="F!"||f==="F"?r:null}if(r){$t=Bl(r.nextSibling),c=r.data==="F!";break e}}Ua(c)}c=!1}c&&(a=u[0])}}return u=Kn(),u.memoizedState=u.baseState=a,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sf,lastRenderedState:a},u.queue=c,u=Rh.bind(null,nt,c),c.dispatch=u,c=ey(!1),f=dc.bind(null,nt,!1,c.queue),c=Kn(),r={state:a,dispatch:null,action:n,pending:null},c.queue=r,u=$g.bind(null,nt,r,f,u),r.dispatch=u,c.memoizedState=n,[a,u,!1]}function Fg(n){var a=gn();return Ef(a,qt,n)}function Ef(n,a,u){if(a=gh(n,a,Sf)[0],n=Yu(ju)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=ro(a)}catch(v){throw v===lc?Ss:v}else c=a;a=gn();var r=a.queue,f=r.dispatch;return u!==a.memoizedState&&(nt.flags|=2048,ho(9,{destroy:void 0},iy.bind(null,r,u),null)),[c,f,n]}function iy(n,a){n.action=a}function cy(n){var a=gn(),u=qt;if(u!==null)return Ef(a,u,n);gn(),a=a.memoizedState,u=gn();var c=u.queue.dispatch;return u.memoizedState=n,[a,c,!1]}function ho(n,a,u,c){return n={tag:n,create:u,deps:c,inst:a,next:null},a=nt.updateQueue,a===null&&(a=vf(),nt.updateQueue=a),u=a.lastEffect,u===null?a.lastEffect=n.next=n:(c=u.next,u.next=n,n.next=c,a.lastEffect=n),n}function oy(){return gn().memoizedState}function _s(n,a,u,c){var r=Kn();nt.flags|=n,r.memoizedState=ho(1|a,{destroy:void 0},u,c===void 0?null:c)}function Rs(n,a,u,c){var r=gn();c=c===void 0?null:c;var f=r.memoizedState.inst;qt!==null&&c!==null&&zi(c,qt.memoizedState.deps)?r.memoizedState=ho(a,f,u,c):(nt.flags|=n,r.memoizedState=ho(1|a,f,u,c))}function Th(n,a){_s(8390656,8,n,a)}function Ah(n,a){Rs(2048,8,n,a)}function sy(n){nt.flags|=4;var a=nt.updateQueue;if(a===null)a=vf(),nt.updateQueue=a,a.events=[n];else{var u=a.events;u===null?a.events=[n]:u.push(n)}}function Tf(n){var a=gn().memoizedState;return sy({ref:a,nextImpl:n}),function(){if((Ut&2)!==0)throw Error(p(440));return a.impl.apply(void 0,arguments)}}function Oh(n,a){return Rs(4,2,n,a)}function ry(n,a){return Rs(4,4,n,a)}function zh(n,a){if(typeof a=="function"){n=n();var u=a(n);return function(){typeof u=="function"?u():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function fy(n,a,u){u=u!=null?u.concat([n]):null,Rs(4,4,zh.bind(null,a,n),u)}function tu(){}function Dh(n,a){var u=gn();a=a===void 0?null:a;var c=u.memoizedState;return a!==null&&zi(a,c[1])?c[0]:(u.memoizedState=[n,a],n)}function Wg(n,a){var u=gn();a=a===void 0?null:a;var c=u.memoizedState;if(a!==null&&zi(a,c[1]))return c[0];if(c=n(),Oi){Wl(!0);try{n()}finally{Wl(!1)}}return u.memoizedState=[c,a],c}function Af(n,a,u){return u===void 0||(Bu&1073741824)!==0&&(ht&261930)===0?n.memoizedState=a:(n.memoizedState=u,n=dv(),nt.lanes|=n,iu|=n,u)}function qu(n,a,u,c){return ml(u,a)?u:Bn.current!==null?(n=Af(n,u,c),ml(n,a)||(zn=!0),n):(Bu&42)===0||(Bu&1073741824)!==0&&(ht&261930)===0?(zn=!0,n.memoizedState=u):(n=dv(),nt.lanes|=n,iu|=n,a)}function _h(n,a,u,c,r){var f=M.p;M.p=f!==0&&8>f?f:8;var v=A.T,z={};A.T=z,dc(n,!1,a,u);try{var Y=r(),ne=A.S;if(ne!==null&&ne(z,Y),Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var de=rf(Y,c);Di(n,a,de,Kl(n))}else Di(n,a,c,Kl(n))}catch(pe){Di(n,a,{then:function(){},status:"rejected",reason:pe},Kl())}finally{M.p=f,v!==null&&z.types!==null&&(v.types=z.types),A.T=v}}function Ig(){}function Ms(n,a,u,c){if(n.tag!==5)throw Error(p(476));var r=xs(n).queue;_h(n,r,a,C,u===null?Ig:function(){return Qt(n),u(c)})}function xs(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:C,baseState:C,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ju,lastRenderedState:C},next:null};var u={};return a.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ju,lastRenderedState:u},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function Qt(n){var a=xs(n);a.next===null&&(a=n.alternate.memoizedState),Di(n,a.next.queue,{},Kl())}function dy(){return ge(If)}function Pg(){return gn().memoizedState}function hy(){return gn().memoizedState}function Gu(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var u=Kl();n=Ai(u);var c=ca(a,n,u);c!==null&&(Hl(c,a,u),oc(c,a,u)),a={cache:uf()},n.payload=a;return}a=a.return}}function ev(n,a,u){var c=Kl();u={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Of(n)?Mh(a,u):(u=xa(n,a,u,c),u!==null&&(Hl(u,n,c),my(u,a,c)))}function Rh(n,a,u){var c=Kl();Di(n,a,u,c)}function Di(n,a,u,c){var r={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Of(n))Mh(a,r);else{var f=n.alternate;if(n.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var v=a.lastRenderedState,z=f(v,u);if(r.hasEagerState=!0,r.eagerState=z,ml(z,v))return na(n,a,r,0),Zt===null&&ta(),!1}catch{}if(u=xa(n,a,r,c),u!==null)return Hl(u,n,c),my(u,a,c),!0}return!1}function dc(n,a,u,c){if(c={lane:2,revertLane:t0(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Of(n)){if(a)throw Error(p(479))}else a=xa(n,u,c,2),a!==null&&Hl(a,n,2)}function Of(n){var a=n.alternate;return n===nt||a!==null&&a===nt}function Mh(n,a){oo=co=!0;var u=n.pending;u===null?a.next=a:(a.next=u.next,u.next=a),n.pending=a}function my(n,a,u){if((u&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,u|=c,a.lanes=u,Eu(n,u)}}var zf={readContext:ge,use:Ds,useCallback:fn,useContext:fn,useEffect:fn,useImperativeHandle:fn,useLayoutEffect:fn,useInsertionEffect:fn,useMemo:fn,useReducer:fn,useRef:fn,useState:fn,useDebugValue:fn,useDeferredValue:fn,useTransition:fn,useSyncExternalStore:fn,useId:fn,useHostTransitionStatus:fn,useFormState:fn,useActionState:fn,useOptimistic:fn,useMemoCache:fn,useCacheRefresh:fn};zf.useEffectEvent=fn;var tv={readContext:ge,use:Ds,useCallback:function(n,a){return Kn().memoizedState=[n,a===void 0?null:a],n},useContext:ge,useEffect:Th,useImperativeHandle:function(n,a,u){u=u!=null?u.concat([n]):null,_s(4194308,4,zh.bind(null,a,n),u)},useLayoutEffect:function(n,a){return _s(4194308,4,n,a)},useInsertionEffect:function(n,a){_s(4,2,n,a)},useMemo:function(n,a){var u=Kn();a=a===void 0?null:a;var c=n();if(Oi){Wl(!0);try{n()}finally{Wl(!1)}}return u.memoizedState=[c,a],c},useReducer:function(n,a,u){var c=Kn();if(u!==void 0){var r=u(a);if(Oi){Wl(!0);try{u(a)}finally{Wl(!1)}}}else r=a;return c.memoizedState=c.baseState=r,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},c.queue=n,n=n.dispatch=ev.bind(null,nt,n),[c.memoizedState,n]},useRef:function(n){var a=Kn();return n={current:n},a.memoizedState=n},useState:function(n){n=ey(n);var a=n.queue,u=Rh.bind(null,nt,a);return a.dispatch=u,[n.memoizedState,u]},useDebugValue:tu,useDeferredValue:function(n,a){var u=Kn();return Af(u,n,a)},useTransition:function(){var n=ey(!1);return n=_h.bind(null,nt,n.queue,!0,!1),Kn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,u){var c=nt,r=Kn();if(vt){if(u===void 0)throw Error(p(407));u=u()}else{if(u=a(),Zt===null)throw Error(p(349));(ht&127)!==0||bf(c,a,u)}r.memoizedState=u;var f={value:u,getSnapshot:a};return r.queue=f,Th(bh.bind(null,c,f,n),[n]),c.flags|=2048,ho(9,{destroy:void 0},Pm.bind(null,c,f,u,a),null),u},useId:function(){var n=Kn(),a=Zt.identifierPrefix;if(vt){var u=Wa,c=Xl;u=(c&~(1<<32-Vn(c)-1)).toString(32)+u,a="_"+a+"R_"+u,u=yf++,0<u&&(a+="H"+u.toString(32)),a+="_"}else u=Kg++,a="_"+a+"r_"+u.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:dy,useFormState:uy,useActionState:uy,useOptimistic:function(n){var a=Kn();a.memoizedState=a.baseState=n;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=u,a=dc.bind(null,nt,!0,u),u.dispatch=a,[n,a]},useMemoCache:ph,useCacheRefresh:function(){return Kn().memoizedState=Gu.bind(null,nt)},useEffectEvent:function(n){var a=Kn(),u={impl:n};return a.memoizedState=u,function(){if((Ut&2)!==0)throw Error(p(440));return u.impl.apply(void 0,arguments)}}},xh={readContext:ge,use:Ds,useCallback:Dh,useContext:ge,useEffect:Ah,useImperativeHandle:fy,useInsertionEffect:Oh,useLayoutEffect:ry,useMemo:Wg,useReducer:Yu,useRef:oy,useState:function(){return Yu(ju)},useDebugValue:tu,useDeferredValue:function(n,a){var u=gn();return qu(u,qt.memoizedState,n,a)},useTransition:function(){var n=Yu(ju)[0],a=gn().memoizedState;return[typeof n=="boolean"?n:ro(n),a]},useSyncExternalStore:Im,useId:Pg,useHostTransitionStatus:dy,useFormState:Fg,useActionState:Fg,useOptimistic:function(n,a){var u=gn();return kn(u,qt,n,a)},useMemoCache:ph,useCacheRefresh:hy};xh.useEffectEvent=Tf;var nv={readContext:ge,use:Ds,useCallback:Dh,useContext:ge,useEffect:Ah,useImperativeHandle:fy,useInsertionEffect:Oh,useLayoutEffect:ry,useMemo:Wg,useReducer:vh,useRef:oy,useState:function(){return vh(ju)},useDebugValue:tu,useDeferredValue:function(n,a){var u=gn();return qt===null?Af(u,n,a):qu(u,qt.memoizedState,n,a)},useTransition:function(){var n=vh(ju)[0],a=gn().memoizedState;return[typeof n=="boolean"?n:ro(n),a]},useSyncExternalStore:Im,useId:Pg,useHostTransitionStatus:dy,useFormState:cy,useActionState:cy,useOptimistic:function(n,a){var u=gn();return qt!==null?kn(u,qt,n,a):(u.baseState=n,[n,u.queue.dispatch])},useMemoCache:ph,useCacheRefresh:hy};nv.useEffectEvent=Tf;function mo(n,a,u,c){a=n.memoizedState,u=u(c,a),u=u==null?a:Z({},a,u),n.memoizedState=u,n.lanes===0&&(n.updateQueue.baseState=u)}var wa={enqueueSetState:function(n,a,u){n=n._reactInternals;var c=Kl(),r=Ai(c);r.payload=a,u!=null&&(r.callback=u),a=ca(n,r,c),a!==null&&(Hl(a,n,c),oc(a,n,c))},enqueueReplaceState:function(n,a,u){n=n._reactInternals;var c=Kl(),r=Ai(c);r.tag=1,r.payload=a,u!=null&&(r.callback=u),a=ca(n,r,c),a!==null&&(Hl(a,n,c),oc(a,n,c))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var u=Kl(),c=Ai(u);c.tag=2,a!=null&&(c.callback=a),a=ca(n,c,u),a!==null&&(Hl(a,n,u),oc(a,n,u))}};function yy(n,a,u,c,r,f,v){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,f,v):a.prototype&&a.prototype.isPureReactComponent?!_a(u,c)||!_a(r,f):!0}function lv(n,a,u,c){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(u,c),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(u,c),a.state!==n&&wa.enqueueReplaceState(a,a.state,null)}function hc(n,a){var u=a;if("ref"in a){u={};for(var c in a)c!=="ref"&&(u[c]=a[c])}if(n=n.defaultProps){u===a&&(u=Z({},u));for(var r in n)u[r]===void 0&&(u[r]=n[r])}return u}function Ch(n){Wc(n)}function py(n){console.error(n)}function Uh(n){Wc(n)}function Cs(n,a){try{var u=n.onUncaughtError;u(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function Df(n,a,u){try{var c=n.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function gy(n,a,u){return u=Ai(u),u.tag=3,u.payload={element:null},u.callback=function(){Cs(n,a)},u}function vy(n){return n=Ai(n),n.tag=3,n}function by(n,a,u,c){var r=u.type.getDerivedStateFromError;if(typeof r=="function"){var f=c.value;n.payload=function(){return r(f)},n.callback=function(){Df(a,u,c)}}var v=u.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(n.callback=function(){Df(a,u,c),typeof r!="function"&&(un===null?un=new Set([this]):un.add(this));var z=c.stack;this.componentDidCatch(c.value,{componentStack:z!==null?z:""})})}function Tb(n,a,u,c,r){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(a=u.alternate,a!==null&&Jn(a,u,r,!0),u=Rl.current,u!==null){switch(u.tag){case 31:case 13:return oa===null?Wh():u.alternate===null&&Wt===0&&(Wt=3),u.flags&=-257,u.flags|=65536,u.lanes=r,c===ao?u.flags|=16384:(a=u.updateQueue,a===null?u.updateQueue=new Set([c]):a.add(c),Gf(n,c,r)),!1;case 22:return u.flags|=65536,c===ao?u.flags|=16384:(a=u.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=a):(u=a.retryQueue,u===null?a.retryQueue=new Set([c]):u.add(c)),Gf(n,c,r)),!1}throw Error(p(435,u.tag))}return Gf(n,c,r),Wh(),!1}if(vt)return a=Rl.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=r,c!==Cu&&(n=Error(p(422),{cause:c}),vs(la(n,u)))):(c!==Cu&&(a=Error(p(423),{cause:c}),vs(la(a,u))),n=n.current.alternate,n.flags|=65536,r&=-r,n.lanes|=r,c=la(c,u),r=gy(n.stateNode,c,r),fh(n,r),Wt!==4&&(Wt=2)),!1;var f=Error(p(520),{cause:c});if(f=la(f,u),Bf===null?Bf=[f]:Bf.push(f),Wt!==4&&(Wt=2),a===null)return!0;c=la(c,u),u=a;do{switch(u.tag){case 3:return u.flags|=65536,n=r&-r,u.lanes|=n,n=gy(u.stateNode,c,n),fh(u,n),!1;case 1:if(a=u.type,f=u.stateNode,(u.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(un===null||!un.has(f))))return u.flags|=65536,r&=-r,u.lanes|=r,r=vy(r),by(r,n,u,c),fh(u,r),!1}u=u.return}while(u!==null);return!1}var wh=Error(p(461)),zn=!1;function en(n,a,u,c){a.child=n===null?Fm(a,null,u,c):cc(a,n.child,u,c)}function Sy(n,a,u,c,r){u=u.render;var f=a.ref;if("ref"in c){var v={};for(var z in c)z!=="ref"&&(v[z]=c[z])}else v=c;return Fe(a),c=pf(n,a,u,v,f,r),z=yh(),n!==null&&!zn?(so(n,a,r),fa(n,a,r)):(vt&&z&&ps(a),a.flags|=1,en(n,a,c,r),a.child)}function Ey(n,a,u,c,r){if(n===null){var f=u.type;return typeof f=="function"&&!Ic(f)&&f.defaultProps===void 0&&u.compare===null?(a.tag=15,a.type=f,Ty(n,a,f,c,r)):(n=ah(u.type,null,c,a,a.mode,r),n.ref=a.ref,n.return=a,a.child=n)}if(f=n.child,!Bh(n,r)){var v=f.memoizedProps;if(u=u.compare,u=u!==null?u:_a,u(v,c)&&n.ref===a.ref)return fa(n,a,r)}return a.flags|=1,n=gi(f,c),n.ref=a.ref,n.return=a,a.child=n}function Ty(n,a,u,c,r){if(n!==null){var f=n.memoizedProps;if(_a(f,c)&&n.ref===a.ref)if(zn=!1,a.pendingProps=c=f,Bh(n,r))(n.flags&131072)!==0&&(zn=!0);else return a.lanes=n.lanes,fa(n,a,r)}return Nh(n,a,u,c,r)}function av(n,a,u,c){var r=c.children,f=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((a.flags&128)!==0){if(f=f!==null?f.baseLanes|u:u,n!==null){for(c=a.child=n.child,r=0;c!==null;)r=r|c.lanes|c.childLanes,c=c.sibling;c=r&~f}else c=0,a.child=null;return xl(n,a,f,u,c)}if((u&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&bs(a,f!==null?f.cachePool:null),f!==null?Jg(a,f):mf(),hh(a);else return c=a.lanes=536870912,xl(n,a,f!==null?f.baseLanes|u:u,u,c)}else f!==null?(bs(a,f.cachePool),Jg(a,f),eu(),a.memoizedState=null):(n!==null&&bs(a,null),mf(),eu());return en(n,a,r,u),a.child}function mc(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function xl(n,a,u,c,r){var f=ia();return f=f===null?null:{parent:An._currentValue,pool:f},a.memoizedState={baseLanes:u,cachePool:f},n!==null&&bs(a,null),mf(),hh(a),n!==null&&Jn(n,a,c,!0),a.childLanes=r,null}function _f(n,a){return a=xf({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function Cl(n,a,u){return cc(a,n.child,null,u),n=_f(a,a.pendingProps),n.flags|=2,Ml(a),a.memoizedState=null,n}function uv(n,a,u){var c=a.pendingProps,r=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(vt){if(c.mode==="hidden")return n=_f(a,c),a.lanes=536870912,mc(null,n);if(As(a),(n=$t)?(n=Gv(n,Hn),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Fa!==null?{id:Xl,overflow:Wa}:null,retryLane:536870912,hydrationErrors:null},u=Lm(n),u.return=a,a.child=u,Zn=a,$t=null)):n=null,n===null)throw Ua(a);return a.lanes=536870912,null}return _f(a,c)}var f=n.memoizedState;if(f!==null){var v=f.dehydrated;if(As(a),r)if(a.flags&256)a.flags&=-257,a=Cl(n,a,u);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(p(558));else if(zn||Jn(n,a,u,!1),r=(u&n.childLanes)!==0,zn||r){if(c=Zt,c!==null&&(v=Il(c,u),v!==0&&v!==f.retryLane))throw f.retryLane=v,pi(n,v),Hl(c,n,v),wh;Wh(),a=Cl(n,a,u)}else n=f.treeContext,$t=Bl(v.nextSibling),Zn=a,vt=!0,xu=null,Hn=!1,n!==null&&nf(a,n),a=_f(a,c),a.flags|=4096;return a}return n=gi(n.child,{mode:c.mode,children:c.children}),n.ref=a.ref,a.child=n,n.return=a,n}function sa(n,a){var u=a.ref;if(u===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(p(284));(n===null||n.ref!==u)&&(a.flags|=4194816)}}function Nh(n,a,u,c,r){return Fe(a),u=pf(n,a,u,c,void 0,r),c=yh(),n!==null&&!zn?(so(n,a,r),fa(n,a,r)):(vt&&c&&ps(a),a.flags|=1,en(n,a,u,r),a.child)}function yc(n,a,u,c,r,f){return Fe(a),a.updateQueue=null,u=kg(a,c,u,r),mh(n),c=yh(),n!==null&&!zn?(so(n,a,f),fa(n,a,f)):(vt&&c&&ps(a),a.flags|=1,en(n,a,u,f),a.child)}function Ay(n,a,u,c,r){if(Fe(a),a.stateNode===null){var f=zl,v=u.contextType;typeof v=="object"&&v!==null&&(f=ge(v)),f=new u(c,f),a.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=wa,a.stateNode=f,f._reactInternals=a,f=a.stateNode,f.props=c,f.state=a.memoizedState,f.refs={},hf(a),v=u.contextType,f.context=typeof v=="object"&&v!==null?ge(v):zl,f.state=a.memoizedState,v=u.getDerivedStateFromProps,typeof v=="function"&&(mo(a,u,v,c),f.state=a.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(v=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),v!==f.state&&wa.enqueueReplaceState(f,f.state,null),Nu(a,c,f,r),sc(),f.state=a.memoizedState),typeof f.componentDidMount=="function"&&(a.flags|=4194308),c=!0}else if(n===null){f=a.stateNode;var z=a.memoizedProps,Y=hc(u,z);f.props=Y;var ne=f.context,de=u.contextType;v=zl,typeof de=="object"&&de!==null&&(v=ge(de));var pe=u.getDerivedStateFromProps;de=typeof pe=="function"||typeof f.getSnapshotBeforeUpdate=="function",z=a.pendingProps!==z,de||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(z||ne!==v)&&lv(a,f,c,v),Ti=!1;var le=a.memoizedState;f.state=le,Nu(a,c,f,r),sc(),ne=a.memoizedState,z||le!==ne||Ti?(typeof pe=="function"&&(mo(a,u,pe,c),ne=a.memoizedState),(Y=Ti||yy(a,u,Y,c,le,ne,v))?(de||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(a.flags|=4194308)):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=c,a.memoizedState=ne),f.props=c,f.state=ne,f.context=v,c=Y):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{f=a.stateNode,rh(n,a),v=a.memoizedProps,de=hc(u,v),f.props=de,pe=a.pendingProps,le=f.context,ne=u.contextType,Y=zl,typeof ne=="object"&&ne!==null&&(Y=ge(ne)),z=u.getDerivedStateFromProps,(ne=typeof z=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v!==pe||le!==Y)&&lv(a,f,c,Y),Ti=!1,le=a.memoizedState,f.state=le,Nu(a,c,f,r),sc();var se=a.memoizedState;v!==pe||le!==se||Ti||n!==null&&n.dependencies!==null&&eo(n.dependencies)?(typeof z=="function"&&(mo(a,u,z,c),se=a.memoizedState),(de=Ti||yy(a,u,de,c,le,se,Y)||n!==null&&n.dependencies!==null&&eo(n.dependencies))?(ne||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(c,se,Y),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(c,se,Y)),typeof f.componentDidUpdate=="function"&&(a.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof f.componentDidUpdate!="function"||v===n.memoizedProps&&le===n.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===n.memoizedProps&&le===n.memoizedState||(a.flags|=1024),a.memoizedProps=c,a.memoizedState=se),f.props=c,f.state=se,f.context=Y,c=de):(typeof f.componentDidUpdate!="function"||v===n.memoizedProps&&le===n.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===n.memoizedProps&&le===n.memoizedState||(a.flags|=1024),c=!1)}return f=c,sa(n,a),c=(a.flags&128)!==0,f||c?(f=a.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:f.render(),a.flags|=1,n!==null&&c?(a.child=cc(a,n.child,null,r),a.child=cc(a,null,u,r)):en(n,a,u,r),a.memoizedState=f.state,n=a.child):n=fa(n,a,r),n}function nu(n,a,u,c){return tc(),a.flags|=256,en(n,a,u,c),a.child}var Rf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mf(n){return{baseLanes:n,cachePool:no()}}function ra(n,a,u){return n=n!==null?n.childLanes&~u:0,a&&(n|=Nl),n}function Oy(n,a,u){var c=a.pendingProps,r=!1,f=(a.flags&128)!==0,v;if((v=f)||(v=n!==null&&n.memoizedState===null?!1:(an.current&2)!==0),v&&(r=!0,a.flags&=-129),v=(a.flags&32)!==0,a.flags&=-33,n===null){if(vt){if(r?Hu(a):eu(),(n=$t)?(n=Gv(n,Hn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Fa!==null?{id:Xl,overflow:Wa}:null,retryLane:536870912,hydrationErrors:null},u=Lm(n),u.return=a,a.child=u,Zn=a,$t=null)):n=null,n===null)throw Ua(a);return Tc(n)?a.lanes=32:a.lanes=536870912,null}var z=c.children;return c=c.fallback,r?(eu(),r=a.mode,z=xf({mode:"hidden",children:z},r),c=vi(c,r,u,null),z.return=a,c.return=a,z.sibling=c,a.child=z,c=a.child,c.memoizedState=Mf(u),c.childLanes=ra(n,v,u),a.memoizedState=Rf,mc(null,c)):(Hu(a),pc(a,z))}var Y=n.memoizedState;if(Y!==null&&(z=Y.dehydrated,z!==null)){if(f)a.flags&256?(Hu(a),a.flags&=-257,a=yo(n,a,u)):a.memoizedState!==null?(eu(),a.child=n.child,a.flags|=128,a=null):(eu(),z=c.fallback,r=a.mode,c=xf({mode:"visible",children:c.children},r),z=vi(z,r,u,null),z.flags|=2,c.return=a,z.return=a,c.sibling=z,a.child=c,cc(a,n.child,null,u),c=a.child,c.memoizedState=Mf(u),c.childLanes=ra(n,v,u),a.memoizedState=Rf,a=mc(null,c));else if(Hu(a),Tc(z)){if(v=z.nextSibling&&z.nextSibling.dataset,v)var ne=v.dgst;v=ne,c=Error(p(419)),c.stack="",c.digest=v,vs({value:c,source:null,stack:null}),a=yo(n,a,u)}else if(zn||Jn(n,a,u,!1),v=(u&n.childLanes)!==0,zn||v){if(v=Zt,v!==null&&(c=Il(v,u),c!==0&&c!==Y.retryLane))throw Y.retryLane=c,pi(n,c),Hl(v,n,c),wh;Ba(z)||Wh(),a=yo(n,a,u)}else Ba(z)?(a.flags|=192,a.child=n.child,a=null):(n=Y.treeContext,$t=Bl(z.nextSibling),Zn=a,vt=!0,xu=null,Hn=!1,n!==null&&nf(a,n),a=pc(a,c.children),a.flags|=4096);return a}return r?(eu(),z=c.fallback,r=a.mode,Y=n.child,ne=Y.sibling,c=gi(Y,{mode:"hidden",children:c.children}),c.subtreeFlags=Y.subtreeFlags&65011712,ne!==null?z=gi(ne,z):(z=vi(z,r,u,null),z.flags|=2),z.return=a,c.return=a,c.sibling=z,a.child=c,mc(null,c),c=a.child,z=n.child.memoizedState,z===null?z=Mf(u):(r=z.cachePool,r!==null?(Y=An._currentValue,r=r.parent!==Y?{parent:Y,pool:Y}:r):r=no(),z={baseLanes:z.baseLanes|u,cachePool:r}),c.memoizedState=z,c.childLanes=ra(n,v,u),a.memoizedState=Rf,mc(n.child,c)):(Hu(a),u=n.child,n=u.sibling,u=gi(u,{mode:"visible",children:c.children}),u.return=a,u.sibling=null,n!==null&&(v=a.deletions,v===null?(a.deletions=[n],a.flags|=16):v.push(n)),a.child=u,a.memoizedState=null,u)}function pc(n,a){return a=xf({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function xf(n,a){return n=yn(22,n,null,a),n.lanes=0,n}function yo(n,a,u){return cc(a,n.child,null,u),n=pc(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function po(n,a,u){n.lanes|=a;var c=n.alternate;c!==null&&(c.lanes|=a),oh(n.return,a,u)}function Hh(n,a,u,c,r,f){var v=n.memoizedState;v===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:r,treeForkCount:f}:(v.isBackwards=a,v.rendering=null,v.renderingStartTime=0,v.last=c,v.tail=u,v.tailMode=r,v.treeForkCount=f)}function zy(n,a,u){var c=a.pendingProps,r=c.revealOrder,f=c.tail;c=c.children;var v=an.current,z=(v&2)!==0;if(z?(v=v&1|2,a.flags|=128):v&=1,ie(an,v),en(n,a,c,u),c=vt?Tn:0,!z&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&po(n,u,a);else if(n.tag===19)po(n,u,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(r){case"forwards":for(u=a.child,r=null;u!==null;)n=u.alternate,n!==null&&Os(n)===null&&(r=u),u=u.sibling;u=r,u===null?(r=a.child,a.child=null):(r=u.sibling,u.sibling=null),Hh(a,!1,r,u,f,c);break;case"backwards":case"unstable_legacy-backwards":for(u=null,r=a.child,a.child=null;r!==null;){if(n=r.alternate,n!==null&&Os(n)===null){a.child=r;break}n=r.sibling,r.sibling=u,u=r,r=n}Hh(a,!0,u,null,f,c);break;case"together":Hh(a,!1,null,null,void 0,c);break;default:a.memoizedState=null}return a.child}function fa(n,a,u){if(n!==null&&(a.dependencies=n.dependencies),iu|=a.lanes,(u&a.childLanes)===0)if(n!==null){if(Jn(n,a,u,!1),(u&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(p(153));if(a.child!==null){for(n=a.child,u=gi(n,n.pendingProps),a.child=u,u.return=a;n.sibling!==null;)n=n.sibling,u=u.sibling=gi(n,n.pendingProps),u.return=a;u.sibling=null}return a.child}function Bh(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&eo(n)))}function jh(n,a,u){switch(a.tag){case 3:Ot(a,a.stateNode.containerInfo),_l(a,An,n.memoizedState.cache),tc();break;case 27:case 5:wn(a);break;case 4:Ot(a,a.stateNode.containerInfo);break;case 10:_l(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,As(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Hu(a),a.flags|=128,null):(u&a.child.childLanes)!==0?Oy(n,a,u):(Hu(a),n=fa(n,a,u),n!==null?n.sibling:null);Hu(a);break;case 19:var r=(n.flags&128)!==0;if(c=(u&a.childLanes)!==0,c||(Jn(n,a,u,!1),c=(u&a.childLanes)!==0),r){if(c)return zy(n,a,u);a.flags|=128}if(r=a.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),ie(an,an.current),c)break;return null;case 22:return a.lanes=0,av(n,a,u,a.pendingProps);case 24:_l(a,An,n.memoizedState.cache)}return fa(n,a,u)}function Dy(n,a,u){if(n!==null)if(n.memoizedProps!==a.pendingProps)zn=!0;else{if(!Bh(n,u)&&(a.flags&128)===0)return zn=!1,jh(n,a,u);zn=(n.flags&131072)!==0}else zn=!1,vt&&(a.flags&1048576)!==0&&Xm(a,Tn,a.index);switch(a.lanes=0,a.tag){case 16:e:{var c=a.pendingProps;if(n=ac(a.elementType),a.type=n,typeof n=="function")Ic(n)?(c=hc(n,c),a.tag=1,a=Ay(null,a,n,c,u)):(a.tag=0,a=Nh(null,a,n,c,u));else{if(n!=null){var r=n.$$typeof;if(r===gt){a.tag=11,a=Sy(null,a,n,c,u);break e}else if(r===we){a.tag=14,a=Ey(null,a,n,c,u);break e}}throw a=ee(n)||n,Error(p(306,a,""))}}return a;case 0:return Nh(n,a,a.type,a.pendingProps,u);case 1:return c=a.type,r=hc(c,a.pendingProps),Ay(n,a,c,r,u);case 3:e:{if(Ot(a,a.stateNode.containerInfo),n===null)throw Error(p(387));c=a.pendingProps;var f=a.memoizedState;r=f.element,rh(n,a),Nu(a,c,null,u);var v=a.memoizedState;if(c=v.cache,_l(a,An,c),c!==f.cache&&wu(a,[An],u,!0),sc(),c=v.element,f.isDehydrated)if(f={element:c,isDehydrated:!1,cache:v.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=nu(n,a,c,u);break e}else if(c!==r){r=la(Error(p(424)),a),vs(r),a=nu(n,a,c,u);break e}else for(n=a.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,$t=Bl(n.firstChild),Zn=a,vt=!0,xu=null,Hn=!0,u=Fm(a,null,c,u),a.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(tc(),c===r){a=fa(n,a,u);break e}en(n,a,c,u)}a=a.child}return a;case 26:return sa(n,a),n===null?(u=Ps(a.type,null,a.pendingProps,null))?a.memoizedState=u:vt||(u=a.type,n=a.pendingProps,c=Ec(ze.current).createElement(u),c[Xt]=a,c[Tl]=n,ul(c,u,n),jt(c),a.stateNode=c):a.memoizedState=Ps(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return wn(a),n===null&&vt&&(c=a.stateNode=Ws(a.type,a.pendingProps,ze.current),Zn=a,Hn=!0,r=$t,ou(a.type)?($f=r,$t=Bl(c.firstChild)):$t=r),en(n,a,a.pendingProps.children,u),sa(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&vt&&((r=c=$t)&&(c=zb(c,a.type,a.pendingProps,Hn),c!==null?(a.stateNode=c,Zn=a,$t=Bl(c.firstChild),Hn=!1,r=!0):r=!1),r||Ua(a)),wn(a),r=a.type,f=a.pendingProps,v=n!==null?n.memoizedProps:null,c=f.children,$s(r,f)?c=null:v!==null&&$s(r,v)&&(a.flags|=32),a.memoizedState!==null&&(r=pf(n,a,Eb,null,null,u),If._currentValue=r),sa(n,a),en(n,a,c,u),a.child;case 6:return n===null&&vt&&((n=u=$t)&&(u=ot(u,a.pendingProps,Hn),u!==null?(a.stateNode=u,Zn=a,$t=null,n=!0):n=!1),n||Ua(a)),null;case 13:return Oy(n,a,u);case 4:return Ot(a,a.stateNode.containerInfo),c=a.pendingProps,n===null?a.child=cc(a,null,c,u):en(n,a,c,u),a.child;case 11:return Sy(n,a,a.type,a.pendingProps,u);case 7:return en(n,a,a.pendingProps,u),a.child;case 8:return en(n,a,a.pendingProps.children,u),a.child;case 12:return en(n,a,a.pendingProps.children,u),a.child;case 10:return c=a.pendingProps,_l(a,a.type,c.value),en(n,a,c.children,u),a.child;case 9:return r=a.type._context,c=a.pendingProps.children,Fe(a),r=ge(r),c=c(r),a.flags|=1,en(n,a,c,u),a.child;case 14:return Ey(n,a,a.type,a.pendingProps,u);case 15:return Ty(n,a,a.type,a.pendingProps,u);case 19:return zy(n,a,u);case 31:return uv(n,a,u);case 22:return av(n,a,u,a.pendingProps);case 24:return Fe(a),c=ge(An),n===null?(r=ia(),r===null&&(r=Zt,f=uf(),r.pooledCache=f,f.refCount++,f!==null&&(r.pooledCacheLanes|=u),r=f),a.memoizedState={parent:c,cache:r},hf(a),_l(a,An,r)):((n.lanes&u)!==0&&(rh(n,a),Nu(a,null,null,u),sc()),r=n.memoizedState,f=a.memoizedState,r.parent!==c?(r={parent:c,cache:c},a.memoizedState=r,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=r),_l(a,An,c)):(c=f.cache,_l(a,An,c),c!==r.cache&&wu(a,[An],u,!0))),en(n,a,a.pendingProps.children,u),a.child;case 29:throw a.pendingProps}throw Error(p(156,a.tag))}function Lu(n){n.flags|=4}function _y(n,a,u,c,r){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(r&335544128)===r)if(n.stateNode.complete)n.flags|=8192;else if(yv())n.flags|=8192;else throw uc=ao,lo}else n.flags&=-16777217}function Ry(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!$l(a))if(yv())n.flags|=8192;else throw uc=ao,lo}function yl(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?dl():536870912,n.lanes|=a,dn|=a)}function Us(n,a){if(!vt)switch(n.tailMode){case"hidden":a=n.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?n.tail=null:u.sibling=null;break;case"collapsed":u=n.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function $e(n){var a=n.alternate!==null&&n.alternate.child===n.child,u=0,c=0;if(a)for(var r=n.child;r!==null;)u|=r.lanes|r.childLanes,c|=r.subtreeFlags&65011712,c|=r.flags&65011712,r.return=n,r=r.sibling;else for(r=n.child;r!==null;)u|=r.lanes|r.childLanes,c|=r.subtreeFlags,c|=r.flags,r.return=n,r=r.sibling;return n.subtreeFlags|=c,n.childLanes=u,a}function iv(n,a,u){var c=a.pendingProps;switch(ih(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $e(a),null;case 1:return $e(a),null;case 3:return u=a.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),a.memoizedState.cache!==c&&(a.flags|=2048),Pa(An),yt(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(Uu(a)?Lu(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Qm())),$e(a),null;case 26:var r=a.type,f=a.memoizedState;return n===null?(Lu(a),f!==null?($e(a),Ry(a,f)):($e(a),_y(a,r,null,c,u))):f?f!==n.memoizedState?(Lu(a),$e(a),Ry(a,f)):($e(a),a.flags&=-16777217):(n=n.memoizedProps,n!==c&&Lu(a),$e(a),_y(a,r,n,c,u)),null;case 27:if(Ae(a),u=ze.current,r=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&Lu(a);else{if(!c){if(a.stateNode===null)throw Error(p(166));return $e(a),null}n=ae.current,Uu(a)?lf(a):(n=Ws(r,c,u),a.stateNode=n,Lu(a))}return $e(a),null;case 5:if(Ae(a),r=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&Lu(a);else{if(!c){if(a.stateNode===null)throw Error(p(166));return $e(a),null}if(f=ae.current,Uu(a))lf(a);else{var v=Ec(ze.current);switch(f){case 1:f=v.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:f=v.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":f=v.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":f=v.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":f=v.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof c.is=="string"?v.createElement("select",{is:c.is}):v.createElement("select"),c.multiple?f.multiple=!0:c.size&&(f.size=c.size);break;default:f=typeof c.is=="string"?v.createElement(r,{is:c.is}):v.createElement(r)}}f[Xt]=a,f[Tl]=c;e:for(v=a.child;v!==null;){if(v.tag===5||v.tag===6)f.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===a)break e;for(;v.sibling===null;){if(v.return===null||v.return===a)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}a.stateNode=f;e:switch(ul(f,r,c),r){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Lu(a)}}return $e(a),_y(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,u),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==c&&Lu(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(p(166));if(n=ze.current,Uu(a)){if(n=a.stateNode,u=a.memoizedProps,c=null,r=Zn,r!==null)switch(r.tag){case 27:case 5:c=r.memoizedProps}n[Xt]=a,n=!!(n.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||Iy(n.nodeValue,u)),n||Ua(a,!0)}else n=Ec(n).createTextNode(c),n[Xt]=a,a.stateNode=n}return $e(a),null;case 31:if(u=a.memoizedState,n===null||n.memoizedState!==null){if(c=Uu(a),u!==null){if(n===null){if(!c)throw Error(p(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(p(557));n[Xt]=a}else tc(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;$e(a),n=!1}else u=Qm(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=u),n=!0;if(!n)return a.flags&256?(Ml(a),a):(Ml(a),null);if((a.flags&128)!==0)throw Error(p(558))}return $e(a),null;case 13:if(c=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(r=Uu(a),c!==null&&c.dehydrated!==null){if(n===null){if(!r)throw Error(p(318));if(r=a.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(p(317));r[Xt]=a}else tc(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;$e(a),r=!1}else r=Qm(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=r),r=!0;if(!r)return a.flags&256?(Ml(a),a):(Ml(a),null)}return Ml(a),(a.flags&128)!==0?(a.lanes=u,a):(u=c!==null,n=n!==null&&n.memoizedState!==null,u&&(c=a.child,r=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(r=c.alternate.memoizedState.cachePool.pool),f=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(f=c.memoizedState.cachePool.pool),f!==r&&(c.flags|=2048)),u!==n&&u&&(a.child.flags|=8192),yl(a,a.updateQueue),$e(a),null);case 4:return yt(),n===null&&ks(a.stateNode.containerInfo),$e(a),null;case 10:return Pa(a.type),$e(a),null;case 19:if(G(an),c=a.memoizedState,c===null)return $e(a),null;if(r=(a.flags&128)!==0,f=c.rendering,f===null)if(r)Us(c,!1);else{if(Wt!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(f=Os(n),f!==null){for(a.flags|=128,Us(c,!1),n=f.updateQueue,a.updateQueue=n,yl(a,n),a.subtreeFlags=0,n=u,u=a.child;u!==null;)Gm(u,n),u=u.sibling;return ie(an,an.current&1|2),vt&&Ca(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&Rn()>Ht&&(a.flags|=128,r=!0,Us(c,!1),a.lanes=4194304)}else{if(!r)if(n=Os(f),n!==null){if(a.flags|=128,r=!0,n=n.updateQueue,a.updateQueue=n,yl(a,n),Us(c,!0),c.tail===null&&c.tailMode==="hidden"&&!f.alternate&&!vt)return $e(a),null}else 2*Rn()-c.renderingStartTime>Ht&&u!==536870912&&(a.flags|=128,r=!0,Us(c,!1),a.lanes=4194304);c.isBackwards?(f.sibling=a.child,a.child=f):(n=c.last,n!==null?n.sibling=f:a.child=f,c.last=f)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=Rn(),n.sibling=null,u=an.current,ie(an,r?u&1|2:u&1),vt&&Ca(a,c.treeForkCount),n):($e(a),null);case 22:case 23:return Ml(a),Ts(),c=a.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(u&536870912)!==0&&(a.flags&128)===0&&($e(a),a.subtreeFlags&6&&(a.flags|=8192)):$e(a),u=a.updateQueue,u!==null&&yl(a,u.retryQueue),u=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==u&&(a.flags|=2048),n!==null&&G(ua),null;case 24:return u=null,n!==null&&(u=n.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),Pa(An),$e(a),null;case 25:return null;case 30:return null}throw Error(p(156,a.tag))}function cv(n,a){switch(ih(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return Pa(An),yt(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return Ae(a),null;case 31:if(a.memoizedState!==null){if(Ml(a),a.alternate===null)throw Error(p(340));tc()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Ml(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(p(340));tc()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return G(an),null;case 4:return yt(),null;case 10:return Pa(a.type),null;case 22:case 23:return Ml(a),Ts(),n!==null&&G(ua),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return Pa(An),null;case 25:return null;default:return null}}function ov(n,a){switch(ih(a),a.tag){case 3:Pa(An),yt();break;case 26:case 27:case 5:Ae(a);break;case 4:yt();break;case 31:a.memoizedState!==null&&Ml(a);break;case 13:Ml(a);break;case 19:G(an);break;case 10:Pa(a.type);break;case 22:case 23:Ml(a),Ts(),n!==null&&G(ua);break;case 24:Pa(An)}}function Na(n,a){try{var u=a.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var r=c.next;u=r;do{if((u.tag&n)===n){c=void 0;var f=u.create,v=u.inst;c=f(),v.destroy=c}u=u.next}while(u!==r)}}catch(z){Lt(a,a.return,z)}}function da(n,a,u){try{var c=a.updateQueue,r=c!==null?c.lastEffect:null;if(r!==null){var f=r.next;c=f;do{if((c.tag&n)===n){var v=c.inst,z=v.destroy;if(z!==void 0){v.destroy=void 0,r=a;var Y=u,ne=z;try{ne()}catch(de){Lt(r,Y,de)}}}c=c.next}while(c!==f)}}catch(de){Lt(a,a.return,de)}}function Yh(n){var a=n.updateQueue;if(a!==null){var u=n.stateNode;try{rc(a,u)}catch(c){Lt(n,n.return,c)}}}function gc(n,a,u){u.props=hc(n.type,n.memoizedProps),u.state=n.memoizedState;try{u.componentWillUnmount()}catch(c){Lt(n,a,c)}}function Vu(n,a){try{var u=n.ref;if(u!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof u=="function"?n.refCleanup=u(c):u.current=c}}catch(r){Lt(n,a,r)}}function lu(n,a){var u=n.ref,c=n.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(r){Lt(n,a,r)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(r){Lt(n,a,r)}else u.current=null}function My(n){var a=n.type,u=n.memoizedProps,c=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(r){Lt(n,n.return,r)}}function qh(n,a,u){try{var c=n.stateNode;ep(c,n.type,u,a),c[Tl]=a}catch(r){Lt(n,n.return,r)}}function xy(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ou(n.type)||n.tag===4}function ws(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||xy(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&ou(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Ns(n,a,u){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(n,a):(a=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,a.appendChild(n),u=u._reactRootContainer,u!=null||a.onclick!==null||(a.onclick=Xa));else if(c!==4&&(c===27&&ou(n.type)&&(u=n.stateNode,a=null),n=n.child,n!==null))for(Ns(n,a,u),n=n.sibling;n!==null;)Ns(n,a,u),n=n.sibling}function Hs(n,a,u){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?u.insertBefore(n,a):u.appendChild(n);else if(c!==4&&(c===27&&ou(n.type)&&(u=n.stateNode),n=n.child,n!==null))for(Hs(n,a,u),n=n.sibling;n!==null;)Hs(n,a,u),n=n.sibling}function Cy(n){var a=n.stateNode,u=n.memoizedProps;try{for(var c=n.type,r=a.attributes;r.length;)a.removeAttributeNode(r[0]);ul(a,c,u),a[Xt]=n,a[Tl]=u}catch(f){Lt(n,n.return,f)}}var _i=!1,xn=!1,Gh=!1,Uy=typeof WeakSet=="function"?WeakSet:Set,$n=null;function Bs(n,a){if(n=n.containerInfo,i0=Yn,n=Ii(n),Fr(n)){if("selectionStart"in n)var u={start:n.selectionStart,end:n.selectionEnd};else e:{u=(u=n.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var r=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch{u=null;break e}var v=0,z=-1,Y=-1,ne=0,de=0,pe=n,le=null;t:for(;;){for(var se;pe!==u||r!==0&&pe.nodeType!==3||(z=v+r),pe!==f||c!==0&&pe.nodeType!==3||(Y=v+c),pe.nodeType===3&&(v+=pe.nodeValue.length),(se=pe.firstChild)!==null;)le=pe,pe=se;for(;;){if(pe===n)break t;if(le===u&&++ne===r&&(z=v),le===f&&++de===c&&(Y=v),(se=pe.nextSibling)!==null)break;pe=le,le=pe.parentNode}pe=se}u=z===-1||Y===-1?null:{start:z,end:Y}}else u=null}u=u||{start:0,end:0}}else u=null;for(c0={focusedElem:n,selectionRange:u},Yn=!1,$n=a;$n!==null;)if(a=$n,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,$n=n;else for(;$n!==null;){switch(a=$n,f=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(u=0;u<n.length;u++)r=n[u],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&f!==null){n=void 0,u=a,r=f.memoizedProps,f=f.memoizedState,c=u.stateNode;try{var xe=hc(u.type,r);n=c.getSnapshotBeforeUpdate(xe,f),c.__reactInternalSnapshotBeforeUpdate=n}catch(Le){Lt(u,u.return,Le)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,u=n.nodeType,u===9)kf(n);else if(u===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":kf(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(p(163))}if(n=a.sibling,n!==null){n.return=a.return,$n=n;break}$n=a.return}}function Cf(n,a,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:Ri(n,u),c&4&&Na(5,u);break;case 1:if(Ri(n,u),c&4)if(n=u.stateNode,a===null)try{n.componentDidMount()}catch(v){Lt(u,u.return,v)}else{var r=hc(u.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(r,a,n.__reactInternalSnapshotBeforeUpdate)}catch(v){Lt(u,u.return,v)}}c&64&&Yh(u),c&512&&Vu(u,u.return);break;case 3:if(Ri(n,u),c&64&&(n=u.updateQueue,n!==null)){if(a=null,u.child!==null)switch(u.child.tag){case 27:case 5:a=u.child.stateNode;break;case 1:a=u.child.stateNode}try{rc(n,a)}catch(v){Lt(u,u.return,v)}}break;case 27:a===null&&c&4&&Cy(u);case 26:case 5:Ri(n,u),a===null&&c&4&&My(u),c&512&&Vu(u,u.return);break;case 12:Ri(n,u);break;case 31:Ri(n,u),c&4&&sv(n,u);break;case 13:Ri(n,u),c&4&&Hy(n,u),c&64&&(n=u.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(u=ha.bind(null,u),Fs(n,u))));break;case 22:if(c=u.memoizedState!==null||_i,!c){a=a!==null&&a.memoizedState!==null||xn,r=_i;var f=xn;_i=c,(xn=a)&&!f?au(n,u,(u.subtreeFlags&8772)!==0):Ri(n,u),_i=r,xn=f}break;case 30:break;default:Ri(n,u)}}function wy(n){var a=n.alternate;a!==null&&(n.alternate=null,wy(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Bd(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Ft=null,Ul=!1;function Xu(n,a,u){for(u=u.child;u!==null;)Ny(n,a,u),u=u.sibling}function Ny(n,a,u){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Aa,u)}catch{}switch(u.tag){case 26:xn||lu(u,a),Xu(n,a,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:xn||lu(u,a);var c=Ft,r=Ul;ou(u.type)&&(Ft=u.stateNode,Ul=!1),Xu(n,a,u),Oo(u.stateNode),Ft=c,Ul=r;break;case 5:xn||lu(u,a);case 6:if(c=Ft,r=Ul,Ft=null,Xu(n,a,u),Ft=c,Ul=r,Ft!==null)if(Ul)try{(Ft.nodeType===9?Ft.body:Ft.nodeName==="HTML"?Ft.ownerDocument.body:Ft).removeChild(u.stateNode)}catch(f){Lt(u,a,f)}else try{Ft.removeChild(u.stateNode)}catch(f){Lt(u,a,f)}break;case 18:Ft!==null&&(Ul?(n=Ft,ap(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,u.stateNode),cr(n)):ap(Ft,u.stateNode));break;case 4:c=Ft,r=Ul,Ft=u.stateNode.containerInfo,Ul=!0,Xu(n,a,u),Ft=c,Ul=r;break;case 0:case 11:case 14:case 15:da(2,u,a),xn||da(4,u,a),Xu(n,a,u);break;case 1:xn||(lu(u,a),c=u.stateNode,typeof c.componentWillUnmount=="function"&&gc(u,a,c)),Xu(n,a,u);break;case 21:Xu(n,a,u);break;case 22:xn=(c=xn)||u.memoizedState!==null,Xu(n,a,u),xn=c;break;default:Xu(n,a,u)}}function sv(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{cr(n)}catch(u){Lt(a,a.return,u)}}}function Hy(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{cr(n)}catch(u){Lt(a,a.return,u)}}function Uf(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new Uy),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new Uy),a;default:throw Error(p(435,n.tag))}}function wf(n,a){var u=Uf(n);a.forEach(function(c){if(!u.has(c)){u.add(c);var r=xv.bind(null,n,c);c.then(r,r)}})}function wl(n,a){var u=a.deletions;if(u!==null)for(var c=0;c<u.length;c++){var r=u[c],f=n,v=a,z=v;e:for(;z!==null;){switch(z.tag){case 27:if(ou(z.type)){Ft=z.stateNode,Ul=!1;break e}break;case 5:Ft=z.stateNode,Ul=!1;break e;case 3:case 4:Ft=z.stateNode.containerInfo,Ul=!0;break e}z=z.return}if(Ft===null)throw Error(p(160));Ny(f,v,r),Ft=null,Ul=!1,f=r.alternate,f!==null&&(f.return=null),r.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Lh(a,n),a=a.sibling}var ut=null;function Lh(n,a){var u=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:wl(a,n),Ql(n),c&4&&(da(3,n,n.return),Na(3,n),da(5,n,n.return));break;case 1:wl(a,n),Ql(n),c&512&&(xn||u===null||lu(u,u.return)),c&64&&_i&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(u=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var r=ut;if(wl(a,n),Ql(n),c&512&&(xn||u===null||lu(u,u.return)),c&4){var f=u!==null?u.memoizedState:null;if(c=n.memoizedState,u===null)if(c===null)if(n.stateNode===null){e:{c=n.type,u=n.memoizedProps,r=r.ownerDocument||r;t:switch(c){case"title":f=r.getElementsByTagName("title")[0],(!f||f[Tu]||f[Xt]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=r.createElement(c),r.head.insertBefore(f,r.querySelector("head > title"))),ul(f,c,u),f[Xt]=n,jt(f),c=f;break e;case"link":var v=op("link","href",r).get(c+(u.href||""));if(v){for(var z=0;z<v.length;z++)if(f=v[z],f.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&f.getAttribute("rel")===(u.rel==null?null:u.rel)&&f.getAttribute("title")===(u.title==null?null:u.title)&&f.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){v.splice(z,1);break t}}f=r.createElement(c),ul(f,c,u),r.head.appendChild(f);break;case"meta":if(v=op("meta","content",r).get(c+(u.content||""))){for(z=0;z<v.length;z++)if(f=v[z],f.getAttribute("content")===(u.content==null?null:""+u.content)&&f.getAttribute("name")===(u.name==null?null:u.name)&&f.getAttribute("property")===(u.property==null?null:u.property)&&f.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&f.getAttribute("charset")===(u.charSet==null?null:u.charSet)){v.splice(z,1);break t}}f=r.createElement(c),ul(f,c,u),r.head.appendChild(f);break;default:throw Error(p(468,c))}f[Xt]=n,jt(f),c=f}n.stateNode=c}else d0(r,n.type,n.stateNode);else n.stateNode=cp(r,c,n.memoizedProps);else f!==c?(f===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):f.count--,c===null?d0(r,n.type,n.stateNode):cp(r,c,n.memoizedProps)):c===null&&n.stateNode!==null&&qh(n,n.memoizedProps,u.memoizedProps)}break;case 27:wl(a,n),Ql(n),c&512&&(xn||u===null||lu(u,u.return)),u!==null&&c&4&&qh(n,n.memoizedProps,u.memoizedProps);break;case 5:if(wl(a,n),Ql(n),c&512&&(xn||u===null||lu(u,u.return)),n.flags&32){r=n.stateNode;try{Ou(r,"")}catch(xe){Lt(n,n.return,xe)}}c&4&&n.stateNode!=null&&(r=n.memoizedProps,qh(n,r,u!==null?u.memoizedProps:r)),c&1024&&(Gh=!0);break;case 6:if(wl(a,n),Ql(n),c&4){if(n.stateNode===null)throw Error(p(162));c=n.memoizedProps,u=n.stateNode;try{u.nodeValue=c}catch(xe){Lt(n,n.return,xe)}}break;case 3:if(nr=null,r=ut,ut=pl(a.containerInfo),wl(a,n),ut=r,Ql(n),c&4&&u!==null&&u.memoizedState.isDehydrated)try{cr(a.containerInfo)}catch(xe){Lt(n,n.return,xe)}Gh&&(Gh=!1,By(n));break;case 4:c=ut,ut=pl(n.stateNode.containerInfo),wl(a,n),Ql(n),ut=c;break;case 12:wl(a,n),Ql(n);break;case 31:wl(a,n),Ql(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,wf(n,c)));break;case 13:wl(a,n),Ql(n),n.child.flags&8192&&n.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(cu=Rn()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,wf(n,c)));break;case 22:r=n.memoizedState!==null;var Y=u!==null&&u.memoizedState!==null,ne=_i,de=xn;if(_i=ne||r,xn=de||Y,wl(a,n),xn=de,_i=ne,Ql(n),c&8192)e:for(a=n.stateNode,a._visibility=r?a._visibility&-2:a._visibility|1,r&&(u===null||Y||_i||xn||go(n)),u=null,a=n;;){if(a.tag===5||a.tag===26){if(u===null){Y=u=a;try{if(f=Y.stateNode,r)v=f.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{z=Y.stateNode;var pe=Y.memoizedProps.style,le=pe!=null&&pe.hasOwnProperty("display")?pe.display:null;z.style.display=le==null||typeof le=="boolean"?"":(""+le).trim()}}catch(xe){Lt(Y,Y.return,xe)}}}else if(a.tag===6){if(u===null){Y=a;try{Y.stateNode.nodeValue=r?"":Y.memoizedProps}catch(xe){Lt(Y,Y.return,xe)}}}else if(a.tag===18){if(u===null){Y=a;try{var se=Y.stateNode;r?Dn(se,!0):Dn(Y.stateNode,!1)}catch(xe){Lt(Y,Y.return,xe)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;u===a&&(u=null),a=a.return}u===a&&(u=null),a.sibling.return=a.return,a=a.sibling}c&4&&(c=n.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,wf(n,u))));break;case 19:wl(a,n),Ql(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,wf(n,c)));break;case 30:break;case 21:break;default:wl(a,n),Ql(n)}}function Ql(n){var a=n.flags;if(a&2){try{for(var u,c=n.return;c!==null;){if(xy(c)){u=c;break}c=c.return}if(u==null)throw Error(p(160));switch(u.tag){case 27:var r=u.stateNode,f=ws(n);Hs(n,f,r);break;case 5:var v=u.stateNode;u.flags&32&&(Ou(v,""),u.flags&=-33);var z=ws(n);Hs(n,z,v);break;case 3:case 4:var Y=u.stateNode.containerInfo,ne=ws(n);Ns(n,ne,Y);break;default:throw Error(p(161))}}catch(de){Lt(n,n.return,de)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function By(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;By(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function Ri(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Cf(n,a.alternate,a),a=a.sibling}function go(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:da(4,a,a.return),go(a);break;case 1:lu(a,a.return);var u=a.stateNode;typeof u.componentWillUnmount=="function"&&gc(a,a.return,u),go(a);break;case 27:Oo(a.stateNode);case 26:case 5:lu(a,a.return),go(a);break;case 22:a.memoizedState===null&&go(a);break;case 30:go(a);break;default:go(a)}n=n.sibling}}function au(n,a,u){for(u=u&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var c=a.alternate,r=n,f=a,v=f.flags;switch(f.tag){case 0:case 11:case 15:au(r,f,u),Na(4,f);break;case 1:if(au(r,f,u),c=f,r=c.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(ne){Lt(c,c.return,ne)}if(c=f,r=c.updateQueue,r!==null){var z=c.stateNode;try{var Y=r.shared.hiddenCallbacks;if(Y!==null)for(r.shared.hiddenCallbacks=null,r=0;r<Y.length;r++)dh(Y[r],z)}catch(ne){Lt(c,c.return,ne)}}u&&v&64&&Yh(f),Vu(f,f.return);break;case 27:Cy(f);case 26:case 5:au(r,f,u),u&&c===null&&v&4&&My(f),Vu(f,f.return);break;case 12:au(r,f,u);break;case 31:au(r,f,u),u&&v&4&&sv(r,f);break;case 13:au(r,f,u),u&&v&4&&Hy(r,f);break;case 22:f.memoizedState===null&&au(r,f,u),Vu(f,f.return);break;case 30:break;default:au(r,f,u)}a=a.sibling}}function Vh(n,a){var u=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(n!=null&&n.refCount++,u!=null&&cf(u))}function Xh(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&cf(n))}function Ha(n,a,u,c){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)js(n,a,u,c),a=a.sibling}function js(n,a,u,c){var r=a.flags;switch(a.tag){case 0:case 11:case 15:Ha(n,a,u,c),r&2048&&Na(9,a);break;case 1:Ha(n,a,u,c);break;case 3:Ha(n,a,u,c),r&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&cf(n)));break;case 12:if(r&2048){Ha(n,a,u,c),n=a.stateNode;try{var f=a.memoizedProps,v=f.id,z=f.onPostCommit;typeof z=="function"&&z(v,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(Y){Lt(a,a.return,Y)}}else Ha(n,a,u,c);break;case 31:Ha(n,a,u,c);break;case 13:Ha(n,a,u,c);break;case 23:break;case 22:f=a.stateNode,v=a.alternate,a.memoizedState!==null?f._visibility&2?Ha(n,a,u,c):Nf(n,a):f._visibility&2?Ha(n,a,u,c):(f._visibility|=2,Ys(n,a,u,c,(a.subtreeFlags&10256)!==0||!1)),r&2048&&Vh(v,a);break;case 24:Ha(n,a,u,c),r&2048&&Xh(a.alternate,a);break;default:Ha(n,a,u,c)}}function Ys(n,a,u,c,r){for(r=r&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var f=n,v=a,z=u,Y=c,ne=v.flags;switch(v.tag){case 0:case 11:case 15:Ys(f,v,z,Y,r),Na(8,v);break;case 23:break;case 22:var de=v.stateNode;v.memoizedState!==null?de._visibility&2?Ys(f,v,z,Y,r):Nf(f,v):(de._visibility|=2,Ys(f,v,z,Y,r)),r&&ne&2048&&Vh(v.alternate,v);break;case 24:Ys(f,v,z,Y,r),r&&ne&2048&&Xh(v.alternate,v);break;default:Ys(f,v,z,Y,r)}a=a.sibling}}function Nf(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var u=n,c=a,r=c.flags;switch(c.tag){case 22:Nf(u,c),r&2048&&Vh(c.alternate,c);break;case 24:Nf(u,c),r&2048&&Xh(c.alternate,c);break;default:Nf(u,c)}a=a.sibling}}var Zl=8192;function Qu(n,a,u){if(n.subtreeFlags&Zl)for(n=n.child;n!==null;)rv(n,a,u),n=n.sibling}function rv(n,a,u){switch(n.tag){case 26:Qu(n,a,u),n.flags&Zl&&n.memoizedState!==null&&$u(u,ut,n.memoizedState,n.memoizedProps);break;case 5:Qu(n,a,u);break;case 3:case 4:var c=ut;ut=pl(n.stateNode.containerInfo),Qu(n,a,u),ut=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=Zl,Zl=16777216,Qu(n,a,u),Zl=c):Qu(n,a,u));break;default:Qu(n,a,u)}}function Qh(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function qs(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var c=a[u];$n=c,Zh(c,n)}Qh(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)jy(n),n=n.sibling}function jy(n){switch(n.tag){case 0:case 11:case 15:qs(n),n.flags&2048&&da(9,n,n.return);break;case 3:qs(n);break;case 12:qs(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,Hf(n)):qs(n);break;default:qs(n)}}function Hf(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var c=a[u];$n=c,Zh(c,n)}Qh(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:da(8,a,a.return),Hf(a);break;case 22:u=a.stateNode,u._visibility&2&&(u._visibility&=-3,Hf(a));break;default:Hf(a)}n=n.sibling}}function Zh(n,a){for(;$n!==null;){var u=$n;switch(u.tag){case 0:case 11:case 15:da(8,u,a);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:cf(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,$n=c;else e:for(u=n;$n!==null;){c=$n;var r=c.sibling,f=c.return;if(wy(c),c===u){$n=null;break e}if(r!==null){r.return=f,$n=r;break e}$n=f}}}var fv={getCacheForType:function(n){var a=ge(An),u=a.data.get(n);return u===void 0&&(u=n(),a.data.set(n,u)),u},cacheSignal:function(){return ge(An).controller.signal}},Yy=typeof WeakMap=="function"?WeakMap:Map,Ut=0,Zt=null,bt=null,ht=0,Gt=0,Je=null,Zu=!1,vc=!1,Jh=!1,uu=0,Wt=0,iu=0,vo=0,Kh=0,Nl=0,dn=0,Bf=null,hn=null,kh=!1,cu=0,qy=0,Ht=1/0,Gs=null,un=null,jn=0,Mi=null,bc=null,Ju=0,Jl=0,$h=null,Fh=null,Ls=0,jf=null;function Kl(){return(Ut&2)!==0&&ht!==0?ht&-ht:A.T!==null?t0():Nd()}function dv(){if(Nl===0)if((ht&536870912)===0||vt){var n=Te;Te<<=1,(Te&3932160)===0&&(Te=262144),Nl=n}else Nl=536870912;return n=Rl.current,n!==null&&(n.flags|=32),Nl}function Hl(n,a,u){(n===Zt&&(Gt===2||Gt===9)||n.cancelPendingCommit!==null)&&(Ku(n,0),xi(n,ht,Nl,!1)),Qi(n,u),((Ut&2)===0||n!==Zt)&&(n===Zt&&((Ut&2)===0&&(vo|=u),Wt===4&&xi(n,ht,Nl,!1)),ku(n))}function hv(n,a,u){if((Ut&6)!==0)throw Error(p(327));var c=!u&&(a&127)===0&&(a&n.expiredLanes)===0||dt(n,a),r=c?vv(n,a):Ih(n,a,!0),f=c;do{if(r===0){vc&&!c&&xi(n,a,0,!1);break}else{if(u=n.current.alternate,f&&!mv(u)){r=Ih(n,a,!1),f=!1;continue}if(r===2){if(f=a,n.errorRecoveryDisabledLanes&f)var v=0;else v=n.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){a=v;e:{var z=n;r=Bf;var Y=z.current.memoizedState.isDehydrated;if(Y&&(Ku(z,v).flags|=256),v=Ih(z,v,!1),v!==2){if(Jh&&!Y){z.errorRecoveryDisabledLanes|=f,vo|=f,r=4;break e}f=hn,hn=r,f!==null&&(hn===null?hn=f:hn.push.apply(hn,f))}r=v}if(f=!1,r!==2)continue}}if(r===1){Ku(n,0),xi(n,a,0,!0);break}e:{switch(c=n,f=r,f){case 0:case 1:throw Error(p(345));case 4:if((a&4194048)!==a)break;case 6:xi(c,a,Nl,!Zu);break e;case 2:hn=null;break;case 3:case 5:break;default:throw Error(p(329))}if((a&62914560)===a&&(r=cu+300-Rn(),10<r)){if(xi(c,a,Nl,!Zu),Ne(c,0,!0)!==0)break e;Ju=a,c.timeoutHandle=Kf(Yf.bind(null,c,u,hn,Gs,kh,a,Nl,vo,dn,Zu,f,"Throttled",-0,0),r);break e}Yf(c,u,hn,Gs,kh,a,Nl,vo,dn,Zu,f,null,-0,0)}}break}while(!0);ku(n)}function Yf(n,a,u,c,r,f,v,z,Y,ne,de,pe,le,se){if(n.timeoutHandle=-1,pe=a.subtreeFlags,pe&8192||(pe&16785408)===16785408){pe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Xa},rv(a,f,pe);var xe=(f&62914560)===f?cu-Rn():(f&4194048)===f?qy-Rn():0;if(xe=rp(pe,xe),xe!==null){Ju=f,n.cancelPendingCommit=xe(Tv.bind(null,n,a,f,u,c,r,v,z,Y,de,pe,null,le,se)),xi(n,f,v,!ne);return}}Tv(n,a,f,u,c,r,v,z,Y)}function mv(n){for(var a=n;;){var u=a.tag;if((u===0||u===11||u===15)&&a.flags&16384&&(u=a.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var r=u[c],f=r.getSnapshot;r=r.value;try{if(!ml(f(),r))return!1}catch{return!1}}if(u=a.child,a.subtreeFlags&16384&&u!==null)u.return=a,a=u;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function xi(n,a,u,c){a&=~Kh,a&=~vo,n.suspendedLanes|=a,n.pingedLanes&=~a,c&&(n.warmLanes|=a),c=n.expirationTimes;for(var r=a;0<r;){var f=31-Vn(r),v=1<<f;c[f]=-1,r&=~v}u!==0&&qr(n,u,a)}function Vs(){return(Ut&6)===0?(Ui(0),!1):!0}function Gy(){if(bt!==null){if(Gt===0)var n=bt.return;else n=bt,Ia=bi=null,gf(n),ic=null,uo=0,n=bt;for(;n!==null;)ov(n.alternate,n),n=n.return;bt=null}}function Ku(n,a){var u=n.timeoutHandle;u!==-1&&(n.timeoutHandle=-1,Yv(u)),u=n.cancelPendingCommit,u!==null&&(n.cancelPendingCommit=null,u()),Ju=0,Gy(),Zt=n,bt=u=gi(n.current,null),ht=a,Gt=0,Je=null,Zu=!1,vc=dt(n,a),Jh=!1,dn=Nl=Kh=vo=iu=Wt=0,hn=Bf=null,kh=!1,(a&8)!==0&&(a|=a&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=a;0<c;){var r=31-Vn(c),f=1<<r;a|=n[r],c&=~f}return uu=a,ta(),u}function Xs(n,a){nt=null,A.H=zf,a===lc||a===Ss?(a=$m(),Gt=3):a===lo?(a=$m(),Gt=4):Gt=a===wh?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Je=a,bt===null&&(Wt=1,Cs(n,la(a,n.current)))}function yv(){var n=Rl.current;return n===null?!0:(ht&4194048)===ht?oa===null:(ht&62914560)===ht||(ht&536870912)!==0?n===oa:!1}function pv(){var n=A.H;return A.H=zf,n===null?zf:n}function gv(){var n=A.A;return A.A=fv,n}function Wh(){Wt=4,Zu||(ht&4194048)!==ht&&Rl.current!==null||(vc=!0),(iu&134217727)===0&&(vo&134217727)===0||Zt===null||xi(Zt,ht,Nl,!1)}function Ih(n,a,u){var c=Ut;Ut|=2;var r=pv(),f=gv();(Zt!==n||ht!==a)&&(Gs=null,Ku(n,a)),a=!1;var v=Wt;e:do try{if(Gt!==0&&bt!==null){var z=bt,Y=Je;switch(Gt){case 8:Gy(),v=6;break e;case 3:case 2:case 9:case 6:Rl.current===null&&(a=!0);var ne=Gt;if(Gt=0,Je=null,bo(n,z,Y,ne),u&&vc){v=0;break e}break;default:ne=Gt,Gt=0,Je=null,bo(n,z,Y,ne)}}Ab(),v=Wt;break}catch(de){Xs(n,de)}while(!0);return a&&n.shellSuspendCounter++,Ia=bi=null,Ut=c,A.H=r,A.A=f,bt===null&&(Zt=null,ht=0,ta()),v}function Ab(){for(;bt!==null;)bv(bt)}function vv(n,a){var u=Ut;Ut|=2;var c=pv(),r=gv();Zt!==n||ht!==a?(Gs=null,Ht=Rn()+500,Ku(n,a)):vc=dt(n,a);e:do try{if(Gt!==0&&bt!==null){a=bt;var f=Je;t:switch(Gt){case 1:Gt=0,Je=null,bo(n,a,f,1);break;case 2:case 9:if(Km(f)){Gt=0,Je=null,Sv(a);break}a=function(){Gt!==2&&Gt!==9||Zt!==n||(Gt=7),ku(n)},f.then(a,a);break e;case 3:Gt=7;break e;case 4:Gt=5;break e;case 7:Km(f)?(Gt=0,Je=null,Sv(a)):(Gt=0,Je=null,bo(n,a,f,7));break;case 5:var v=null;switch(bt.tag){case 26:v=bt.memoizedState;case 5:case 27:var z=bt;if(v?$l(v):z.stateNode.complete){Gt=0,Je=null;var Y=z.sibling;if(Y!==null)bt=Y;else{var ne=z.return;ne!==null?(bt=ne,qf(ne)):bt=null}break t}}Gt=0,Je=null,bo(n,a,f,5);break;case 6:Gt=0,Je=null,bo(n,a,f,6);break;case 8:Gy(),Wt=6;break e;default:throw Error(p(462))}}Sc();break}catch(de){Xs(n,de)}while(!0);return Ia=bi=null,A.H=c,A.A=r,Ut=u,bt!==null?0:(Zt=null,ht=0,ta(),Wt)}function Sc(){for(;bt!==null&&!Su();)bv(bt)}function bv(n){var a=Dy(n.alternate,n,uu);n.memoizedProps=n.pendingProps,a===null?qf(n):bt=a}function Sv(n){var a=n,u=a.alternate;switch(a.tag){case 15:case 0:a=yc(u,a,a.pendingProps,a.type,void 0,ht);break;case 11:a=yc(u,a,a.pendingProps,a.type.render,a.ref,ht);break;case 5:gf(a);default:ov(u,a),a=bt=Gm(a,uu),a=Dy(u,a,uu)}n.memoizedProps=n.pendingProps,a===null?qf(n):bt=a}function bo(n,a,u,c){Ia=bi=null,gf(a),ic=null,uo=0;var r=a.return;try{if(Tb(n,r,a,u,ht)){Wt=1,Cs(n,la(u,n.current)),bt=null;return}}catch(f){if(r!==null)throw bt=r,f;Wt=1,Cs(n,la(u,n.current)),bt=null;return}a.flags&32768?(vt||c===1?n=!0:vc||(ht&536870912)!==0?n=!1:(Zu=n=!0,(c===2||c===9||c===3||c===6)&&(c=Rl.current,c!==null&&c.tag===13&&(c.flags|=16384))),Ev(a,n)):qf(a)}function qf(n){var a=n;do{if((a.flags&32768)!==0){Ev(a,Zu);return}n=a.return;var u=iv(a.alternate,a,uu);if(u!==null){bt=u;return}if(a=a.sibling,a!==null){bt=a;return}bt=a=n}while(a!==null);Wt===0&&(Wt=5)}function Ev(n,a){do{var u=cv(n.alternate,n);if(u!==null){u.flags&=32767,bt=u;return}if(u=n.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!a&&(n=n.sibling,n!==null)){bt=n;return}bt=n=u}while(n!==null);Wt=6,bt=null}function Tv(n,a,u,c,r,f,v,z,Y){n.cancelPendingCommit=null;do Qs();while(jn!==0);if((Ut&6)!==0)throw Error(p(327));if(a!==null){if(a===n.current)throw Error(p(177));if(f=a.lanes|a.childLanes,f|=Ma,es(n,u,f,v,z,Y),n===Zt&&(bt=Zt=null,ht=0),bc=a,Mi=n,Ju=u,Jl=f,$h=r,Fh=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,Cv(La,function(){return _v(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||c){c=A.T,A.T=null,r=M.p,M.p=2,v=Ut,Ut|=4;try{Bs(n,a,u)}finally{Ut=v,M.p=r,A.T=c}}jn=1,Av(),Ov(),zv()}}function Av(){if(jn===1){jn=0;var n=Mi,a=bc,u=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||u){u=A.T,A.T=null;var c=M.p;M.p=2;var r=Ut;Ut|=4;try{Lh(a,n);var f=c0,v=Ii(n.containerInfo),z=f.focusedElem,Y=f.selectionRange;if(v!==z&&z&&z.ownerDocument&&$c(z.ownerDocument.documentElement,z)){if(Y!==null&&Fr(z)){var ne=Y.start,de=Y.end;if(de===void 0&&(de=ne),"selectionStart"in z)z.selectionStart=ne,z.selectionEnd=Math.min(de,z.value.length);else{var pe=z.ownerDocument||document,le=pe&&pe.defaultView||window;if(le.getSelection){var se=le.getSelection(),xe=z.textContent.length,Le=Math.min(Y.start,xe),Kt=Y.end===void 0?Le:Math.min(Y.end,xe);!se.extend&&Le>Kt&&(v=Kt,Kt=Le,Le=v);var P=Ym(z,Le),K=Ym(z,Kt);if(P&&K&&(se.rangeCount!==1||se.anchorNode!==P.node||se.anchorOffset!==P.offset||se.focusNode!==K.node||se.focusOffset!==K.offset)){var te=pe.createRange();te.setStart(P.node,P.offset),se.removeAllRanges(),Le>Kt?(se.addRange(te),se.extend(K.node,K.offset)):(te.setEnd(K.node,K.offset),se.addRange(te))}}}}for(pe=[],se=z;se=se.parentNode;)se.nodeType===1&&pe.push({element:se,left:se.scrollLeft,top:se.scrollTop});for(typeof z.focus=="function"&&z.focus(),z=0;z<pe.length;z++){var me=pe[z];me.element.scrollLeft=me.left,me.element.scrollTop=me.top}}Yn=!!i0,c0=i0=null}finally{Ut=r,M.p=c,A.T=u}}n.current=a,jn=2}}function Ov(){if(jn===2){jn=0;var n=Mi,a=bc,u=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||u){u=A.T,A.T=null;var c=M.p;M.p=2;var r=Ut;Ut|=4;try{Cf(n,a.alternate,a)}finally{Ut=r,M.p=c,A.T=u}}jn=3}}function zv(){if(jn===4||jn===3){jn=0,Nc();var n=Mi,a=bc,u=Ju,c=Fh;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?jn=5:(jn=0,bc=Mi=null,Dv(n,n.pendingLanes));var r=n.pendingLanes;if(r===0&&(un=null),dm(u),a=a.stateNode,Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(Aa,a,void 0,(a.current.flags&128)===128)}catch{}if(c!==null){a=A.T,r=M.p,M.p=2,A.T=null;try{for(var f=n.onRecoverableError,v=0;v<c.length;v++){var z=c[v];f(z.value,{componentStack:z.stack})}}finally{A.T=a,M.p=r}}(Ju&3)!==0&&Qs(),ku(n),r=n.pendingLanes,(u&261930)!==0&&(r&42)!==0?n===jf?Ls++:(Ls=0,jf=n):Ls=0,Ui(0)}}function Dv(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,cf(a)))}function Qs(){return Av(),Ov(),zv(),_v()}function _v(){if(jn!==5)return!1;var n=Mi,a=Jl;Jl=0;var u=dm(Ju),c=A.T,r=M.p;try{M.p=32>u?32:u,A.T=null,u=$h,$h=null;var f=Mi,v=Ju;if(jn=0,bc=Mi=null,Ju=0,(Ut&6)!==0)throw Error(p(331));var z=Ut;if(Ut|=4,jy(f.current),js(f,f.current,v,u),Ut=z,Ui(0,!1),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Aa,f)}catch{}return!0}finally{M.p=r,A.T=c,Dv(n,a)}}function Rv(n,a,u){a=la(u,a),a=gy(n.stateNode,a,2),n=ca(n,a,2),n!==null&&(Qi(n,2),ku(n))}function Lt(n,a,u){if(n.tag===3)Rv(n,n,u);else for(;a!==null;){if(a.tag===3){Rv(a,n,u);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(un===null||!un.has(c))){n=la(u,n),u=vy(2),c=ca(a,u,2),c!==null&&(by(u,c,a,n),Qi(c,2),ku(c));break}}a=a.return}}function Gf(n,a,u){var c=n.pingCache;if(c===null){c=n.pingCache=new Yy;var r=new Set;c.set(a,r)}else r=c.get(a),r===void 0&&(r=new Set,c.set(a,r));r.has(u)||(Jh=!0,r.add(u),n=Ly.bind(null,n,a,u),a.then(n,n))}function Ly(n,a,u){var c=n.pingCache;c!==null&&c.delete(a),n.pingedLanes|=n.suspendedLanes&u,n.warmLanes&=~u,Zt===n&&(ht&u)===u&&(Wt===4||Wt===3&&(ht&62914560)===ht&&300>Rn()-cu?(Ut&2)===0&&Ku(n,0):Kh|=u,dn===ht&&(dn=0)),ku(n)}function Mv(n,a){a===0&&(a=dl()),n=pi(n,a),n!==null&&(Qi(n,a),ku(n))}function ha(n){var a=n.memoizedState,u=0;a!==null&&(u=a.retryLane),Mv(n,u)}function xv(n,a){var u=0;switch(n.tag){case 31:case 13:var c=n.stateNode,r=n.memoizedState;r!==null&&(u=r.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(p(314))}c!==null&&c.delete(a),Mv(n,u)}function Cv(n,a){return Ce(n,a)}var Zs=null,So=null,Vy=!1,Ph=!1,Xy=!1,Ci=0;function ku(n){n!==So&&n.next===null&&(So===null?Zs=So=n:So=So.next=n),Ph=!0,Vy||(Vy=!0,Vf())}function Ui(n,a){if(!Xy&&Ph){Xy=!0;do for(var u=!1,c=Zs;c!==null;){if(n!==0){var r=c.pendingLanes;if(r===0)var f=0;else{var v=c.suspendedLanes,z=c.pingedLanes;f=(1<<31-Vn(42|n)+1)-1,f&=r&~(v&~z),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(u=!0,Eo(c,f))}else f=ht,f=Ne(c,c===Zt?f:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(f&3)===0||dt(c,f)||(u=!0,Eo(c,f));c=c.next}while(u);Xy=!1}}function e0(){Qy()}function Qy(){Ph=Vy=!1;var n=0;Ci!==0&&Ob()&&(n=Ci);for(var a=Rn(),u=null,c=Zs;c!==null;){var r=c.next,f=Zy(c,a);f===0?(c.next=null,u===null?Zs=r:u.next=r,r===null&&(So=u)):(u=c,(n!==0||(f&3)!==0)&&(Ph=!0)),c=r}jn!==0&&jn!==5||Ui(n),Ci!==0&&(Ci=0)}function Zy(n,a){for(var u=n.suspendedLanes,c=n.pingedLanes,r=n.expirationTimes,f=n.pendingLanes&-62914561;0<f;){var v=31-Vn(f),z=1<<v,Y=r[v];Y===-1?((z&u)===0||(z&c)!==0)&&(r[v]=et(z,a)):Y<=a&&(n.expiredLanes|=z),f&=~z}if(a=Zt,u=ht,u=Ne(n,n===a?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,u===0||n===a&&(Gt===2||Gt===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&Vi(c),n.callbackNode=null,n.callbackPriority=0;if((u&3)===0||dt(n,u)){if(a=u&-u,a===n.callbackPriority)return a;switch(c!==null&&Vi(c),dm(u)){case 2:case 8:u=Io;break;case 32:u=La;break;case 268435456:u=Po;break;default:u=La}return c=Lf.bind(null,n),u=Ce(u,c),n.callbackPriority=a,n.callbackNode=u,a}return c!==null&&c!==null&&Vi(c),n.callbackPriority=2,n.callbackNode=null,2}function Lf(n,a){if(jn!==0&&jn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var u=n.callbackNode;if(Qs()&&n.callbackNode!==u)return null;var c=ht;return c=Ne(n,n===Zt?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(hv(n,c,a),Zy(n,Rn()),n.callbackNode!=null&&n.callbackNode===u?Lf.bind(null,n):null)}function Eo(n,a){if(Qs())return null;hv(n,a,!0)}function Vf(){qv(function(){(Ut&6)!==0?Ce(Wo,e0):Qy()})}function t0(){if(Ci===0){var n=nc;n===0&&(n=Se,Se<<=1,(Se&261888)===0&&(Se=256)),Ci=n}return Ci}function Uv(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:za(""+n)}function To(n,a){var u=a.ownerDocument.createElement("input");return u.name=a.name,u.value=a.value,n.id&&u.setAttribute("form",n.id),a.parentNode.insertBefore(u,a),n=new FormData(n),u.parentNode.removeChild(u),n}function Xf(n,a,u,c,r){if(a==="submit"&&u&&u.stateNode===r){var f=Uv((r[Tl]||null).action),v=c.submitter;v&&(a=(a=v[Tl]||null)?Uv(a.formAction):v.getAttribute("formAction"),a!==null&&(f=a,v=null));var z=new Kr("action","action",null,c,r);n.push({event:z,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Ci!==0){var Y=v?To(r,v):new FormData(r);Ms(u,{pending:!0,data:Y,method:r.method,action:f},null,Y)}}else typeof f=="function"&&(z.preventDefault(),Y=v?To(r,v):new FormData(r),Ms(u,{pending:!0,data:Y,method:r.method,action:f},f,Y))},currentTarget:r}]})}}for(var n0=0;n0<ms.length;n0++){var Js=ms[n0],Jy=Js.toLowerCase(),Ky=Js[0].toUpperCase()+Js.slice(1);Ol(Jy,"on"+Ky)}Ol(Ir,"onAnimationEnd"),Ol(qm,"onAnimationIteration"),Ol(nh,"onAnimationStart"),Ol("dblclick","onDoubleClick"),Ol("focusin","onFocus"),Ol("focusout","onBlur"),Ol(Fc,"onTransitionRun"),Ol(Pr,"onTransitionStart"),Ol(Ru,"onTransitionCancel"),Ol(Xg,"onTransitionEnd"),Au("onMouseEnter",["mouseout","mouseover"]),Au("onMouseLeave",["mouseout","mouseover"]),Au("onPointerEnter",["pointerout","pointerover"]),Au("onPointerLeave",["pointerout","pointerover"]),Ki("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ki("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ki("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ki("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ki("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ki("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ks="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ks));function Nv(n,a){a=(a&4)!==0;for(var u=0;u<n.length;u++){var c=n[u],r=c.event;c=c.listeners;e:{var f=void 0;if(a)for(var v=c.length-1;0<=v;v--){var z=c[v],Y=z.instance,ne=z.currentTarget;if(z=z.listener,Y!==f&&r.isPropagationStopped())break e;f=z,r.currentTarget=ne;try{f(r)}catch(de){Wc(de)}r.currentTarget=null,f=Y}else for(v=0;v<c.length;v++){if(z=c[v],Y=z.instance,ne=z.currentTarget,z=z.listener,Y!==f&&r.isPropagationStopped())break e;f=z,r.currentTarget=ne;try{f(r)}catch(de){Wc(de)}r.currentTarget=null,f=Y}}}}function pt(n,a){var u=a[Hd];u===void 0&&(u=a[Hd]=new Set);var c=n+"__bubble";u.has(c)||(Qf(a,n,2,!1),u.add(c))}function ky(n,a,u){var c=0;a&&(c|=4),Qf(u,n,c,a)}var l0="_reactListening"+Math.random().toString(36).slice(2);function ks(n){if(!n[l0]){n[l0]=!0,qc.forEach(function(u){u!=="selectionchange"&&(wv.has(u)||ky(u,!1,n),ky(u,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[l0]||(a[l0]=!0,ky("selectionchange",!1,a))}}function Qf(n,a,u,c){switch(Pf(a)){case 2:var r=Fu;break;case 8:r=Wu;break;default:r=il}u=r.bind(null,a,u,n),r=void 0,!Zr||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(r=!0),c?r!==void 0?n.addEventListener(a,u,{capture:!0,passive:r}):n.addEventListener(a,u,!0):r!==void 0?n.addEventListener(a,u,{passive:r}):n.addEventListener(a,u,!1)}function $y(n,a,u,c,r){var f=c;if((a&1)===0&&(a&2)===0&&c!==null)e:for(;;){if(c===null)return;var v=c.tag;if(v===3||v===4){var z=c.stateNode.containerInfo;if(z===r)break;if(v===4)for(v=c.return;v!==null;){var Y=v.tag;if((Y===3||Y===4)&&v.stateNode.containerInfo===r)return;v=v.return}for(;z!==null;){if(v=Bc(z),v===null)return;if(Y=v.tag,Y===5||Y===6||Y===26||Y===27){c=f=v;continue e}z=z.parentNode}}c=c.return}Em(function(){var ne=f,de=Xd(u),pe=[];e:{var le=Mu.get(n);if(le!==void 0){var se=Kr,xe=n;switch(n){case"keypress":if(Zd(u)===0)break e;case"keydown":case"keyup":se=$d;break;case"focusin":xe="focus",se=Kd;break;case"focusout":xe="blur",se=Kd;break;case"beforeblur":case"afterblur":se=Kd;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":se=ss;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=Cg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=Bg;break;case Ir:case qm:case nh:se=wg;break;case Xg:se=vb;break;case"scroll":case"scrollend":se=pb;break;case"wheel":se=bb;break;case"copy":case"cut":case"paste":se=Xc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=Ja;break;case"toggle":case"beforetoggle":se=xm}var Le=(a&4)!==0,Kt=!Le&&(n==="scroll"||n==="scrollend"),P=Le?le!==null?le+"Capture":null:le;Le=[];for(var K=ne,te;K!==null;){var me=K;if(te=me.stateNode,me=me.tag,me!==5&&me!==26&&me!==27||te===null||P===null||(me=Xn(K,P),me!=null&&Le.push(Zf(K,me,te))),Kt)break;K=K.return}0<Le.length&&(le=new se(le,xe,null,u,de),pe.push({event:le,listeners:Le}))}}if((a&7)===0){e:{if(le=n==="mouseover"||n==="pointerover",se=n==="mouseout"||n==="pointerout",le&&u!==Vd&&(xe=u.relatedTarget||u.fromElement)&&(Bc(xe)||xe[Zi]))break e;if((se||le)&&(le=de.window===de?de:(le=de.ownerDocument)?le.defaultView||le.parentWindow:window,se?(xe=u.relatedTarget||u.toElement,se=ne,xe=xe?Bc(xe):null,xe!==null&&(Kt=x(xe),Le=xe.tag,xe!==Kt||Le!==5&&Le!==27&&Le!==6)&&(xe=null)):(se=null,xe=ne),se!==xe)){if(Le=ss,me="onMouseLeave",P="onMouseEnter",K="mouse",(n==="pointerout"||n==="pointerover")&&(Le=Ja,me="onPointerLeave",P="onPointerEnter",K="pointer"),Kt=se==null?le:ts(se),te=xe==null?le:ts(xe),le=new Le(me,K+"leave",se,u,de),le.target=Kt,le.relatedTarget=te,me=null,Bc(de)===ne&&(Le=new Le(P,K+"enter",xe,u,de),Le.target=te,Le.relatedTarget=Kt,me=Le),Kt=me,se&&xe)t:{for(Le=Hv,P=se,K=xe,te=0,me=P;me;me=Le(me))te++;me=0;for(var je=K;je;je=Le(je))me++;for(;0<te-me;)P=Le(P),te--;for(;0<me-te;)K=Le(K),me--;for(;te--;){if(P===K||K!==null&&P===K.alternate){Le=P;break t}P=Le(P),K=Le(K)}Le=null}else Le=null;se!==null&&a0(pe,le,se,Le,!1),xe!==null&&Kt!==null&&a0(pe,Kt,xe,Le,!0)}}e:{if(le=ne?ts(ne):window,se=le.nodeName&&le.nodeName.toLowerCase(),se==="select"||se==="input"&&le.type==="file")var Mt=Hm;else if(_u(le))if(Id)Mt=kc;else{Mt=Lg;var He=Gg}else se=le.nodeName,!se||se.toLowerCase()!=="input"||le.type!=="checkbox"&&le.type!=="radio"?ne&&Sm(ne.elementType)&&(Mt=Hm):Mt=Wi;if(Mt&&(Mt=Mt(n,ne))){Nm(pe,Mt,u,de);break e}He&&He(n,le,ne),n==="focusout"&&ne&&le.type==="number"&&ne.memoizedProps.value!=null&&Gc(le,"number",le.value)}switch(He=ne?ts(ne):window,n){case"focusin":(_u(He)||He.contentEditable==="true")&&(Pi=He,ds=ne,Ra=null);break;case"focusout":Ra=ds=Pi=null;break;case"mousedown":ka=!0;break;case"contextmenu":case"mouseup":case"dragend":ka=!1,th(pe,u,de);break;case"selectionchange":if(Wr)break;case"keydown":case"keyup":th(pe,u,de)}var tt;if(rs)e:{switch(n){case"compositionstart":var it="onCompositionStart";break e;case"compositionend":it="onCompositionEnd";break e;case"compositionupdate":it="onCompositionUpdate";break e}it=void 0}else Zc?Wd(n,u)&&(it="onCompositionEnd"):n==="keydown"&&u.keyCode===229&&(it="onCompositionStart");it&&(Cm&&u.locale!=="ko"&&(Zc||it!=="onCompositionStart"?it==="onCompositionEnd"&&Zc&&(tt=Am()):(mi=de,Tm="value"in mi?mi.value:mi.textContent,Zc=!0)),He=Jf(ne,it),0<He.length&&(it=new Ng(it,n,null,u,de),pe.push({event:it,listeners:He}),tt?it.data=tt:(tt=Um(u),tt!==null&&(it.data=tt)))),(tt=hl?qg(n,u):Sb(n,u))&&(it=Jf(ne,"onBeforeInput"),0<it.length&&(He=new Ng("onBeforeInput","beforeinput",null,u,de),pe.push({event:He,listeners:it}),He.data=tt)),Xf(pe,n,ne,u,de)}Nv(pe,a)})}function Zf(n,a,u){return{instance:n,listener:a,currentTarget:u}}function Jf(n,a){for(var u=a+"Capture",c=[];n!==null;){var r=n,f=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||f===null||(r=Xn(n,u),r!=null&&c.unshift(Zf(n,r,f)),r=Xn(n,a),r!=null&&c.push(Zf(n,r,f))),n.tag===3)return c;n=n.return}return[]}function Hv(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function a0(n,a,u,c,r){for(var f=a._reactName,v=[];u!==null&&u!==c;){var z=u,Y=z.alternate,ne=z.stateNode;if(z=z.tag,Y!==null&&Y===c)break;z!==5&&z!==26&&z!==27||ne===null||(Y=ne,r?(ne=Xn(u,f),ne!=null&&v.unshift(Zf(u,ne,Y))):r||(ne=Xn(u,f),ne!=null&&v.push(Zf(u,ne,Y)))),u=u.return}v.length!==0&&n.push({event:a,listeners:v})}var Bv=/\r\n?/g,Fy=/\u0000|\uFFFD/g;function Wy(n){return(typeof n=="string"?n:""+n).replace(Bv,`
|
|
31
|
+
`).replace(Fy,"")}function Iy(n,a){return a=Wy(a),Wy(n)===a}function Jt(n,a,u,c,r,f){switch(u){case"children":typeof c=="string"?a==="body"||a==="textarea"&&c===""||Ou(n,c):(typeof c=="number"||typeof c=="bigint")&&a!=="body"&&Ou(n,""+c);break;case"className":qd(n,"class",c);break;case"tabIndex":qd(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":qd(n,u,c);break;case"style":Rg(n,c,f);break;case"data":if(a!=="object"){qd(n,"data",c);break}case"src":case"href":if(c===""&&(a!=="a"||u!=="href")){n.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(u);break}c=za(""+c),n.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(u==="formAction"?(a!=="input"&&Jt(n,a,"name",r.name,r,null),Jt(n,a,"formEncType",r.formEncType,r,null),Jt(n,a,"formMethod",r.formMethod,r,null),Jt(n,a,"formTarget",r.formTarget,r,null)):(Jt(n,a,"encType",r.encType,r,null),Jt(n,a,"method",r.method,r,null),Jt(n,a,"target",r.target,r,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(u);break}c=za(""+c),n.setAttribute(u,c);break;case"onClick":c!=null&&(n.onclick=Xa);break;case"onScroll":c!=null&&pt("scroll",n);break;case"onScrollEnd":c!=null&&pt("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(p(61));if(u=c.__html,u!=null){if(r.children!=null)throw Error(p(60));n.innerHTML=u}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}u=za(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(u,""+c):n.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(u,""):n.removeAttribute(u);break;case"capture":case"download":c===!0?n.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(u,c):n.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(u,c):n.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(u):n.setAttribute(u,c);break;case"popover":pt("beforetoggle",n),pt("toggle",n),as(n,"popover",c);break;case"xlinkActuate":di(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":di(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":di(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":di(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":di(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":di(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":di(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":di(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":di(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":as(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=yb.get(u)||u,as(n,u,c))}}function Py(n,a,u,c,r,f){switch(u){case"style":Rg(n,c,f);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(p(61));if(u=c.__html,u!=null){if(r.children!=null)throw Error(p(60));n.innerHTML=u}}break;case"children":typeof c=="string"?Ou(n,c):(typeof c=="number"||typeof c=="bigint")&&Ou(n,""+c);break;case"onScroll":c!=null&&pt("scroll",n);break;case"onScrollEnd":c!=null&&pt("scrollend",n);break;case"onClick":c!=null&&(n.onclick=Xa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ji.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(r=u.endsWith("Capture"),a=u.slice(2,r?u.length-7:void 0),f=n[Tl]||null,f=f!=null?f[u]:null,typeof f=="function"&&n.removeEventListener(a,f,r),typeof c=="function")){typeof f!="function"&&f!==null&&(u in n?n[u]=null:n.hasAttribute(u)&&n.removeAttribute(u)),n.addEventListener(a,c,r);break e}u in n?n[u]=c:c===!0?n.setAttribute(u,""):as(n,u,c)}}}function ul(n,a,u){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":pt("error",n),pt("load",n);var c=!1,r=!1,f;for(f in u)if(u.hasOwnProperty(f)){var v=u[f];if(v!=null)switch(f){case"src":c=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(p(137,a));default:Jt(n,a,f,v,u,null)}}r&&Jt(n,a,"srcSet",u.srcSet,u,null),c&&Jt(n,a,"src",u.src,u,null);return;case"input":pt("invalid",n);var z=f=v=r=null,Y=null,ne=null;for(c in u)if(u.hasOwnProperty(c)){var de=u[c];if(de!=null)switch(c){case"name":r=de;break;case"type":v=de;break;case"checked":Y=de;break;case"defaultChecked":ne=de;break;case"value":f=de;break;case"defaultValue":z=de;break;case"children":case"dangerouslySetInnerHTML":if(de!=null)throw Error(p(137,a));break;default:Jt(n,a,c,de,u,null)}}Vr(n,f,z,Y,ne,v,r,!1);return;case"select":pt("invalid",n),c=v=f=null;for(r in u)if(u.hasOwnProperty(r)&&(z=u[r],z!=null))switch(r){case"value":f=z;break;case"defaultValue":v=z;break;case"multiple":c=z;default:Jt(n,a,r,z,u,null)}a=f,u=v,n.multiple=!!c,a!=null?us(n,!!c,a,!1):u!=null&&us(n,!!c,u,!0);return;case"textarea":pt("invalid",n),f=r=c=null;for(v in u)if(u.hasOwnProperty(v)&&(z=u[v],z!=null))switch(v){case"value":c=z;break;case"defaultValue":r=z;break;case"children":f=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(p(91));break;default:Jt(n,a,v,z,u,null)}bm(n,c,r,f);return;case"option":for(Y in u)u.hasOwnProperty(Y)&&(c=u[Y],c!=null)&&(Y==="selected"?n.selected=c&&typeof c!="function"&&typeof c!="symbol":Jt(n,a,Y,c,u,null));return;case"dialog":pt("beforetoggle",n),pt("toggle",n),pt("cancel",n),pt("close",n);break;case"iframe":case"object":pt("load",n);break;case"video":case"audio":for(c=0;c<Ks.length;c++)pt(Ks[c],n);break;case"image":pt("error",n),pt("load",n);break;case"details":pt("toggle",n);break;case"embed":case"source":case"link":pt("error",n),pt("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ne in u)if(u.hasOwnProperty(ne)&&(c=u[ne],c!=null))switch(ne){case"children":case"dangerouslySetInnerHTML":throw Error(p(137,a));default:Jt(n,a,ne,c,u,null)}return;default:if(Sm(a)){for(de in u)u.hasOwnProperty(de)&&(c=u[de],c!==void 0&&Py(n,a,de,c,u,void 0));return}}for(z in u)u.hasOwnProperty(z)&&(c=u[z],c!=null&&Jt(n,a,z,c,u,null))}function ep(n,a,u,c){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,f=null,v=null,z=null,Y=null,ne=null,de=null;for(se in u){var pe=u[se];if(u.hasOwnProperty(se)&&pe!=null)switch(se){case"checked":break;case"value":break;case"defaultValue":Y=pe;default:c.hasOwnProperty(se)||Jt(n,a,se,null,c,pe)}}for(var le in c){var se=c[le];if(pe=u[le],c.hasOwnProperty(le)&&(se!=null||pe!=null))switch(le){case"type":f=se;break;case"name":r=se;break;case"checked":ne=se;break;case"defaultChecked":de=se;break;case"value":v=se;break;case"defaultValue":z=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(p(137,a));break;default:se!==pe&&Jt(n,a,le,se,c,pe)}}Lr(n,v,z,Y,ne,de,f,r);return;case"select":se=v=z=le=null;for(f in u)if(Y=u[f],u.hasOwnProperty(f)&&Y!=null)switch(f){case"value":break;case"multiple":se=Y;default:c.hasOwnProperty(f)||Jt(n,a,f,null,c,Y)}for(r in c)if(f=c[r],Y=u[r],c.hasOwnProperty(r)&&(f!=null||Y!=null))switch(r){case"value":le=f;break;case"defaultValue":z=f;break;case"multiple":v=f;default:f!==Y&&Jt(n,a,r,f,c,Y)}a=z,u=v,c=se,le!=null?us(n,!!u,le,!1):!!c!=!!u&&(a!=null?us(n,!!u,a,!0):us(n,!!u,u?[]:"",!1));return;case"textarea":se=le=null;for(z in u)if(r=u[z],u.hasOwnProperty(z)&&r!=null&&!c.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:Jt(n,a,z,null,c,r)}for(v in c)if(r=c[v],f=u[v],c.hasOwnProperty(v)&&(r!=null||f!=null))switch(v){case"value":le=r;break;case"defaultValue":se=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(p(91));break;default:r!==f&&Jt(n,a,v,r,c,f)}vm(n,le,se);return;case"option":for(var xe in u)le=u[xe],u.hasOwnProperty(xe)&&le!=null&&!c.hasOwnProperty(xe)&&(xe==="selected"?n.selected=!1:Jt(n,a,xe,null,c,le));for(Y in c)le=c[Y],se=u[Y],c.hasOwnProperty(Y)&&le!==se&&(le!=null||se!=null)&&(Y==="selected"?n.selected=le&&typeof le!="function"&&typeof le!="symbol":Jt(n,a,Y,le,c,se));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Le in u)le=u[Le],u.hasOwnProperty(Le)&&le!=null&&!c.hasOwnProperty(Le)&&Jt(n,a,Le,null,c,le);for(ne in c)if(le=c[ne],se=u[ne],c.hasOwnProperty(ne)&&le!==se&&(le!=null||se!=null))switch(ne){case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(p(137,a));break;default:Jt(n,a,ne,le,c,se)}return;default:if(Sm(a)){for(var Kt in u)le=u[Kt],u.hasOwnProperty(Kt)&&le!==void 0&&!c.hasOwnProperty(Kt)&&Py(n,a,Kt,void 0,c,le);for(de in c)le=c[de],se=u[de],!c.hasOwnProperty(de)||le===se||le===void 0&&se===void 0||Py(n,a,de,le,c,se);return}}for(var P in u)le=u[P],u.hasOwnProperty(P)&&le!=null&&!c.hasOwnProperty(P)&&Jt(n,a,P,null,c,le);for(pe in c)le=c[pe],se=u[pe],!c.hasOwnProperty(pe)||le===se||le==null&&se==null||Jt(n,a,pe,le,c,se)}function u0(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function tp(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,u=performance.getEntriesByType("resource"),c=0;c<u.length;c++){var r=u[c],f=r.transferSize,v=r.initiatorType,z=r.duration;if(f&&z&&u0(v)){for(v=0,z=r.responseEnd,c+=1;c<u.length;c++){var Y=u[c],ne=Y.startTime;if(ne>z)break;var de=Y.transferSize,pe=Y.initiatorType;de&&u0(pe)&&(Y=Y.responseEnd,v+=de*(Y<z?1:(z-ne)/(Y-ne)))}if(--c,a+=8*(f+v)/(r.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var i0=null,c0=null;function Ec(n){return n.nodeType===9?n:n.ownerDocument}function jv(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function np(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function $s(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var o0=null;function Ob(){var n=window.event;return n&&n.type==="popstate"?n===o0?!1:(o0=n,!0):(o0=null,!1)}var Kf=typeof setTimeout=="function"?setTimeout:void 0,Yv=typeof clearTimeout=="function"?clearTimeout:void 0,Ao=typeof Promise=="function"?Promise:void 0,qv=typeof queueMicrotask=="function"?queueMicrotask:typeof Ao<"u"?function(n){return Ao.resolve(null).then(n).catch(lp)}:Kf;function lp(n){setTimeout(function(){throw n})}function ou(n){return n==="head"}function ap(n,a){var u=a,c=0;do{var r=u.nextSibling;if(n.removeChild(u),r&&r.nodeType===8)if(u=r.data,u==="/$"||u==="/&"){if(c===0){n.removeChild(r),cr(a);return}c--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")c++;else if(u==="html")Oo(n.ownerDocument.documentElement);else if(u==="head"){u=n.ownerDocument.head,Oo(u);for(var f=u.firstChild;f;){var v=f.nextSibling,z=f.nodeName;f[Tu]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&f.rel.toLowerCase()==="stylesheet"||u.removeChild(f),f=v}}else u==="body"&&Oo(n.ownerDocument.body);u=r}while(u);cr(a)}function Dn(n,a){var u=n;n=0;do{var c=u.nextSibling;if(u.nodeType===1?a?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(a?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),c&&c.nodeType===8)if(u=c.data,u==="/$"){if(n===0)break;n--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||n++;u=c}while(u)}function kf(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var u=a;switch(a=a.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":kf(u),Bd(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}n.removeChild(u)}}function zb(n,a,u,c){for(;n.nodeType===1;){var r=u;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[Tu])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(f=n.getAttribute("rel"),f==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(f!==r.rel||n.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||n.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||n.getAttribute("title")!==(r.title==null?null:r.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(f=n.getAttribute("src"),(f!==(r.src==null?null:r.src)||n.getAttribute("type")!==(r.type==null?null:r.type)||n.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&f&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var f=r.name==null?null:""+r.name;if(r.type==="hidden"&&n.getAttribute("name")===f)return n}else return n;if(n=Bl(n.nextSibling),n===null)break}return null}function ot(n,a,u){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!u||(n=Bl(n.nextSibling),n===null))return null;return n}function Gv(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=Bl(n.nextSibling),n===null))return null;return n}function Ba(n){return n.data==="$?"||n.data==="$~"}function Tc(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function Fs(n,a){var u=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||u.readyState!=="loading")a();else{var c=function(){a(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function Bl(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return n}var $f=null;function s0(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var u=n.data;if(u==="/$"||u==="/&"){if(a===0)return Bl(n.nextSibling);a--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||a++}n=n.nextSibling}return null}function su(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var u=n.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(a===0)return n;a--}else u!=="/$"&&u!=="/&"||a++}n=n.previousSibling}return null}function Ws(n,a,u){switch(a=Ec(u),n){case"html":if(n=a.documentElement,!n)throw Error(p(452));return n;case"head":if(n=a.head,!n)throw Error(p(453));return n;case"body":if(n=a.body,!n)throw Error(p(454));return n;default:throw Error(p(451))}}function Oo(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Bd(n)}var kl=new Map,Ff=new Set;function pl(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var ru=M.d;M.d={f:Db,r:Lv,D:oe,C:Bt,L:_b,m:up,X:wi,S:ip,M:Ac};function Db(){var n=ru.f(),a=Vs();return n||a}function Lv(n){var a=jc(n);a!==null&&a.tag===5&&a.type==="form"?Qt(a):ru.r(n)}var Is=typeof document>"u"?null:document;function Cn(n,a,u){var c=Is;if(c&&typeof a=="string"&&a){var r=ea(a);r='link[rel="'+n+'"][href="'+r+'"]',typeof u=="string"&&(r+='[crossorigin="'+u+'"]'),Ff.has(r)||(Ff.add(r),n={rel:n,crossOrigin:u,href:a},c.querySelector(r)===null&&(a=c.createElement("link"),ul(a,"link",n),jt(a),c.head.appendChild(a)))}}function oe(n){ru.D(n),Cn("dns-prefetch",n,null)}function Bt(n,a){ru.C(n,a),Cn("preconnect",n,a)}function _b(n,a,u){ru.L(n,a,u);var c=Is;if(c&&n&&a){var r='link[rel="preload"][as="'+ea(a)+'"]';a==="image"&&u&&u.imageSrcSet?(r+='[imagesrcset="'+ea(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(r+='[imagesizes="'+ea(u.imageSizes)+'"]')):r+='[href="'+ea(n)+'"]';var f=r;switch(a){case"style":f=ma(n);break;case"script":f=zo(n)}kl.has(f)||(n=Z({rel:"preload",href:a==="image"&&u&&u.imageSrcSet?void 0:n,as:a},u),kl.set(f,n),c.querySelector(r)!==null||a==="style"&&c.querySelector(Oc(f))||a==="script"&&c.querySelector(tr(f))||(a=c.createElement("link"),ul(a,"link",n),jt(a),c.head.appendChild(a)))}}function up(n,a){ru.m(n,a);var u=Is;if(u&&n){var c=a&&typeof a.as=="string"?a.as:"script",r='link[rel="modulepreload"][as="'+ea(c)+'"][href="'+ea(n)+'"]',f=r;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=zo(n)}if(!kl.has(f)&&(n=Z({rel:"modulepreload",href:n},a),kl.set(f,n),u.querySelector(r)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(tr(f)))return}c=u.createElement("link"),ul(c,"link",n),jt(c),u.head.appendChild(c)}}}function ip(n,a,u){ru.S(n,a,u);var c=Is;if(c&&n){var r=Yc(c).hoistableStyles,f=ma(n);a=a||"default";var v=r.get(f);if(!v){var z={loading:0,preload:null};if(v=c.querySelector(Oc(f)))z.loading=5;else{n=Z({rel:"stylesheet",href:n,"data-precedence":a},u),(u=kl.get(f))&&r0(n,u);var Y=v=c.createElement("link");jt(Y),ul(Y,"link",n),Y._p=new Promise(function(ne,de){Y.onload=ne,Y.onerror=de}),Y.addEventListener("load",function(){z.loading|=1}),Y.addEventListener("error",function(){z.loading|=2}),z.loading|=4,Wf(v,a,c)}v={type:"stylesheet",instance:v,count:1,state:z},r.set(f,v)}}}function wi(n,a){ru.X(n,a);var u=Is;if(u&&n){var c=Yc(u).hoistableScripts,r=zo(n),f=c.get(r);f||(f=u.querySelector(tr(r)),f||(n=Z({src:n,async:!0},a),(a=kl.get(r))&&f0(n,a),f=u.createElement("script"),jt(f),ul(f,"link",n),u.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},c.set(r,f))}}function Ac(n,a){ru.M(n,a);var u=Is;if(u&&n){var c=Yc(u).hoistableScripts,r=zo(n),f=c.get(r);f||(f=u.querySelector(tr(r)),f||(n=Z({src:n,async:!0,type:"module"},a),(a=kl.get(r))&&f0(n,a),f=u.createElement("script"),jt(f),ul(f,"link",n),u.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},c.set(r,f))}}function Ps(n,a,u,c){var r=(r=ze.current)?pl(r):null;if(!r)throw Error(p(446));switch(n){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(a=ma(u.href),u=Yc(r).hoistableStyles,c=u.get(a),c||(c={type:"style",instance:null,count:0,state:null},u.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){n=ma(u.href);var f=Yc(r).hoistableStyles,v=f.get(n);if(v||(r=r.ownerDocument||r,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(n,v),(f=r.querySelector(Oc(n)))&&!f._p&&(v.instance=f,v.state.loading=5),kl.has(n)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},kl.set(n,u),f||Vv(r,n,u,v.state))),a&&c===null)throw Error(p(528,""));return v}if(a&&c!==null)throw Error(p(529,""));return null;case"script":return a=u.async,u=u.src,typeof u=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=zo(u),u=Yc(r).hoistableScripts,c=u.get(a),c||(c={type:"script",instance:null,count:0,state:null},u.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(p(444,n))}}function ma(n){return'href="'+ea(n)+'"'}function Oc(n){return'link[rel="stylesheet"]['+n+"]"}function er(n){return Z({},n,{"data-precedence":n.precedence,precedence:null})}function Vv(n,a,u,c){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=n.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),ul(a,"link",u),jt(a),n.head.appendChild(a))}function zo(n){return'[src="'+ea(n)+'"]'}function tr(n){return"script[async]"+n}function cp(n,a,u){if(a.count++,a.instance===null)switch(a.type){case"style":var c=n.querySelector('style[data-href~="'+ea(u.href)+'"]');if(c)return a.instance=c,jt(c),c;var r=Z({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),jt(c),ul(c,"style",r),Wf(c,u.precedence,n),a.instance=c;case"stylesheet":r=ma(u.href);var f=n.querySelector(Oc(r));if(f)return a.state.loading|=4,a.instance=f,jt(f),f;c=er(u),(r=kl.get(r))&&r0(c,r),f=(n.ownerDocument||n).createElement("link"),jt(f);var v=f;return v._p=new Promise(function(z,Y){v.onload=z,v.onerror=Y}),ul(f,"link",c),a.state.loading|=4,Wf(f,u.precedence,n),a.instance=f;case"script":return f=zo(u.src),(r=n.querySelector(tr(f)))?(a.instance=r,jt(r),r):(c=u,(r=kl.get(f))&&(c=Z({},u),f0(c,r)),n=n.ownerDocument||n,r=n.createElement("script"),jt(r),ul(r,"link",c),n.head.appendChild(r),a.instance=r);case"void":return null;default:throw Error(p(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,Wf(c,u.precedence,n));return a.instance}function Wf(n,a,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=c.length?c[c.length-1]:null,f=r,v=0;v<c.length;v++){var z=c[v];if(z.dataset.precedence===a)f=z;else if(f!==r)break}f?f.parentNode.insertBefore(n,f.nextSibling):(a=u.nodeType===9?u.head:u,a.insertBefore(n,a.firstChild))}function r0(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function f0(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var nr=null;function op(n,a,u){if(nr===null){var c=new Map,r=nr=new Map;r.set(u,c)}else r=nr,c=r.get(u),c||(c=new Map,r.set(u,c));if(c.has(n))return c;for(c.set(n,null),u=u.getElementsByTagName(n),r=0;r<u.length;r++){var f=u[r];if(!(f[Tu]||f[Xt]||n==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var v=f.getAttribute(a)||"";v=n+v;var z=c.get(v);z?z.push(f):c.set(v,[f])}}return c}function d0(n,a,u){n=n.ownerDocument||n,n.head.insertBefore(u,a==="title"?n.querySelector("head > title"):null)}function sp(n,a,u){if(u===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(n=a.disabled,typeof a.precedence=="string"&&n==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function $l(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function $u(n,a,u,c){if(u.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var r=ma(c.href),f=a.querySelector(Oc(r));if(f){a=f._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=h0.bind(n),a.then(n,n)),u.state.loading|=4,u.instance=f,jt(f);return}f=a.ownerDocument||a,c=er(c),(r=kl.get(r))&&r0(c,r),f=f.createElement("link"),jt(f);var v=f;v._p=new Promise(function(z,Y){v.onload=z,v.onerror=Y}),ul(f,"link",c),u.instance=f}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(u,a),(a=u.state.preload)&&(u.state.loading&3)===0&&(n.count++,u=h0.bind(n),a.addEventListener("load",u),a.addEventListener("error",u))}}var ya=0;function rp(n,a){return n.stylesheets&&n.count===0&&y0(n,n.stylesheets),0<n.count||0<n.imgCount?function(u){var c=setTimeout(function(){if(n.stylesheets&&y0(n,n.stylesheets),n.unsuspend){var f=n.unsuspend;n.unsuspend=null,f()}},6e4+a);0<n.imgBytes&&ya===0&&(ya=62500*tp());var r=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&y0(n,n.stylesheets),n.unsuspend)){var f=n.unsuspend;n.unsuspend=null,f()}},(n.imgBytes>ya?50:800)+a);return n.unsuspend=u,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(r)}}:null}function h0(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)y0(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var m0=null;function y0(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,m0=new Map,a.forEach(Fn,n),m0=null,h0.call(n))}function Fn(n,a){if(!(a.state.loading&4)){var u=m0.get(n);if(u)var c=u.get(null);else{u=new Map,m0.set(n,u);for(var r=n.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<r.length;f++){var v=r[f];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(u.set(v.dataset.precedence,v),c=v)}c&&u.set(null,c)}r=a.instance,v=r.getAttribute("data-precedence"),f=u.get(v)||c,f===c&&u.set(null,r),u.set(v,r),this.count++,c=h0.bind(this),r.addEventListener("load",c),r.addEventListener("error",c),f?f.parentNode.insertBefore(r,f.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(r,n.firstChild)),a.state.loading|=4}}var If={$$typeof:Pe,Provider:null,Consumer:null,_currentValue:C,_currentValue2:C,_threadCount:0};function fp(n,a,u,c,r,f,v,z,Y){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Oa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oa(0),this.hiddenUpdates=Oa(null),this.identifierPrefix=c,this.onUncaughtError=r,this.onCaughtError=f,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Y,this.incompleteTransitions=new Map}function p0(n,a,u,c,r,f,v,z,Y,ne,de,pe){return n=new fp(n,a,u,v,Y,ne,de,pe,z),a=1,f===!0&&(a|=24),f=yn(3,null,null,a),n.current=f,f.stateNode=n,a=uf(),a.refCount++,n.pooledCache=a,a.refCount++,f.memoizedState={element:c,isDehydrated:u,cache:a},hf(f),n}function Do(n){return n?(n=zl,n):zl}function Xv(n,a,u,c,r,f){r=Do(r),c.context===null?c.context=r:c.pendingContext=r,c=Ai(a),c.payload={element:u},f=f===void 0?null:f,f!==null&&(c.callback=f),u=ca(n,c,a),u!==null&&(Hl(u,n,a),oc(u,n,a))}function g0(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var u=n.retryLane;n.retryLane=u!==0&&u<a?u:a}}function dp(n,a){g0(n,a),(n=n.alternate)&&g0(n,a)}function Qv(n){if(n.tag===13||n.tag===31){var a=pi(n,67108864);a!==null&&Hl(a,n,67108864),dp(n,67108864)}}function _o(n){if(n.tag===13||n.tag===31){var a=Kl();a=wd(a);var u=pi(n,a);u!==null&&Hl(u,n,a),dp(n,a)}}var Yn=!0;function Fu(n,a,u,c){var r=A.T;A.T=null;var f=M.p;try{M.p=2,il(n,a,u,c)}finally{M.p=f,A.T=r}}function Wu(n,a,u,c){var r=A.T;A.T=null;var f=M.p;try{M.p=8,il(n,a,u,c)}finally{M.p=f,A.T=r}}function il(n,a,u,c){if(Yn){var r=hp(c);if(r===null)$y(n,a,c,v0,u),Ni(n,c);else if(Rb(r,n,a,u,c))c.stopPropagation();else if(Ni(n,c),a&4&&-1<jl.indexOf(n)){for(;r!==null;){var f=jc(r);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var v=Ve(f.pendingLanes);if(v!==0){var z=f;for(z.pendingLanes|=2,z.entangledLanes|=2;v;){var Y=1<<31-Vn(v);z.entanglements[1]|=Y,v&=~Y}ku(f),(Ut&6)===0&&(Ht=Rn()+500,Ui(0))}}break;case 31:case 13:z=pi(f,2),z!==null&&Hl(z,f,2),Vs(),dp(f,2)}if(f=hp(c),f===null&&$y(n,a,c,v0,u),f===r)break;r=f}r!==null&&c.stopPropagation()}else $y(n,a,c,null,u)}}function hp(n){return n=Xd(n),lr(n)}var v0=null;function lr(n){if(v0=null,n=Bc(n),n!==null){var a=x(n);if(a===null)n=null;else{var u=a.tag;if(u===13){if(n=q(a),n!==null)return n;n=null}else if(u===31){if(n=w(a),n!==null)return n;n=null}else if(u===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return v0=n,null}function Pf(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Cd()){case Wo:return 2;case Io:return 8;case La:case Ud:return 32;case Po:return 268435456;default:return 32}default:return 32}}var ar=!1,qn=null,cl=null,gl=null,zc=new Map,ja=new Map,cn=[],jl="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ni(n,a){switch(n){case"focusin":case"focusout":qn=null;break;case"dragenter":case"dragleave":cl=null;break;case"mouseover":case"mouseout":gl=null;break;case"pointerover":case"pointerout":zc.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ja.delete(a.pointerId)}}function Ro(n,a,u,c,r,f){return n===null||n.nativeEvent!==f?(n={blockedOn:a,domEventName:u,eventSystemFlags:c,nativeEvent:f,targetContainers:[r]},a!==null&&(a=jc(a),a!==null&&Qv(a)),n):(n.eventSystemFlags|=c,a=n.targetContainers,r!==null&&a.indexOf(r)===-1&&a.push(r),n)}function Rb(n,a,u,c,r){switch(a){case"focusin":return qn=Ro(qn,n,a,u,c,r),!0;case"dragenter":return cl=Ro(cl,n,a,u,c,r),!0;case"mouseover":return gl=Ro(gl,n,a,u,c,r),!0;case"pointerover":var f=r.pointerId;return zc.set(f,Ro(zc.get(f)||null,n,a,u,c,r)),!0;case"gotpointercapture":return f=r.pointerId,ja.set(f,Ro(ja.get(f)||null,n,a,u,c,r)),!0}return!1}function Zv(n){var a=Bc(n.target);if(a!==null){var u=x(a);if(u!==null){if(a=u.tag,a===13){if(a=q(u),a!==null){n.blockedOn=a,hm(n.priority,function(){_o(u)});return}}else if(a===31){if(a=w(u),a!==null){n.blockedOn=a,hm(n.priority,function(){_o(u)});return}}else if(a===3&&u.stateNode.current.memoizedState.isDehydrated){n.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}n.blockedOn=null}function ed(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var u=hp(n.nativeEvent);if(u===null){u=n.nativeEvent;var c=new u.constructor(u.type,u);Vd=c,u.target.dispatchEvent(c),Vd=null}else return a=jc(u),a!==null&&Qv(a),n.blockedOn=u,!1;a.shift()}return!0}function ur(n,a,u){ed(n)&&u.delete(a)}function Jv(){ar=!1,qn!==null&&ed(qn)&&(qn=null),cl!==null&&ed(cl)&&(cl=null),gl!==null&&ed(gl)&&(gl=null),zc.forEach(ur),ja.forEach(ur)}function Iu(n,a){n.blockedOn===a&&(n.blockedOn=null,ar||(ar=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,Jv)))}var ir=null;function Kv(n){ir!==n&&(ir=n,d.unstable_scheduleCallback(d.unstable_NormalPriority,function(){ir===n&&(ir=null);for(var a=0;a<n.length;a+=3){var u=n[a],c=n[a+1],r=n[a+2];if(typeof c!="function"){if(lr(c||u)===null)continue;break}var f=jc(u);f!==null&&(n.splice(a,3),a-=3,Ms(f,{pending:!0,data:r,method:u.method,action:c},c,r))}}))}function cr(n){function a(Y){return Iu(Y,n)}qn!==null&&Iu(qn,n),cl!==null&&Iu(cl,n),gl!==null&&Iu(gl,n),zc.forEach(a),ja.forEach(a);for(var u=0;u<cn.length;u++){var c=cn[u];c.blockedOn===n&&(c.blockedOn=null)}for(;0<cn.length&&(u=cn[0],u.blockedOn===null);)Zv(u),u.blockedOn===null&&cn.shift();if(u=(n.ownerDocument||n).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var r=u[c],f=u[c+1],v=r[Tl]||null;if(typeof f=="function")v||Kv(u);else if(v){var z=null;if(f&&f.hasAttribute("formAction")){if(r=f,v=f[Tl]||null)z=v.formAction;else if(lr(r)!==null)continue}else z=v.action;typeof z=="function"?u[c+1]=z:(u.splice(c,3),c-=3),Kv(u)}}}function mp(){function n(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(v){return r=v})},focusReset:"manual",scroll:"manual"})}function a(){r!==null&&(r(),r=null),c||setTimeout(u,20)}function u(){if(!c&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,r=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(u,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),r!==null&&(r(),r=null)}}}function b0(n){this._internalRoot=n}S0.prototype.render=b0.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(p(409));var u=a.current,c=Kl();Xv(u,c,n,a,null,null)},S0.prototype.unmount=b0.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;Xv(n.current,2,null,n,null,null),Vs(),a[Zi]=null}};function S0(n){this._internalRoot=n}S0.prototype.unstable_scheduleHydration=function(n){if(n){var a=Nd();n={blockedOn:null,target:n,priority:a};for(var u=0;u<cn.length&&a!==0&&a<cn[u].priority;u++);cn.splice(u,0,n),u===0&&Zv(n)}};var yp=m.version;if(yp!=="19.2.4")throw Error(p(527,yp,"19.2.4"));M.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(p(188)):(n=Object.keys(n).join(","),Error(p(268,n)));return n=F(a),n=n!==null?fe(n):null,n=n===null?null:n.stateNode,n};var kv={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var td=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!td.isDisabled&&td.supportsFiber)try{Aa=td.inject(kv),Nn=td}catch{}}return tm.createRoot=function(n,a){if(!S(n))throw Error(p(299));var u=!1,c="",r=Ch,f=py,v=Uh;return a!=null&&(a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(r=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),a=p0(n,1,!1,null,null,u,c,null,r,f,v,mp),n[Zi]=a.current,ks(n),new b0(a)},tm.hydrateRoot=function(n,a,u){if(!S(n))throw Error(p(299));var c=!1,r="",f=Ch,v=py,z=Uh,Y=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(r=u.identifierPrefix),u.onUncaughtError!==void 0&&(f=u.onUncaughtError),u.onCaughtError!==void 0&&(v=u.onCaughtError),u.onRecoverableError!==void 0&&(z=u.onRecoverableError),u.formState!==void 0&&(Y=u.formState)),a=p0(n,1,!0,a,u??null,c,r,Y,f,v,z,mp),a.context=Do(null),u=a.current,c=Kl(),c=wd(c),r=Ai(c),r.callback=null,ca(u,r,c),u=c,a.current.lanes=u,Qi(a,u),ku(a),n[Zi]=a.current,ks(n),new S0(a)},tm.version="19.2.4",tm}var nm={};var e2;function fA(){return e2||(e2=1,process.env.NODE_ENV!=="production"&&(function(){function d(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function m(e,t,l,i){if(l>=t.length)return i;var o=t[l],s=Cn(e)?e.slice():ot({},e);return s[o]=m(e[o],t,l+1,i),s}function g(e,t,l){if(t.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<l.length-1;i++)if(t[i]!==l[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return p(e,t,l,0)}}function p(e,t,l,i){var o=t[i],s=Cn(e)?e.slice():ot({},e);return i+1===t.length?(s[l[i]]=s[o],Cn(s)?s.splice(o,1):delete s[o]):s[o]=p(e[o],t,l,i+1),s}function S(e,t,l){var i=t[l],o=Cn(e)?e.slice():ot({},e);return l+1===t.length?(Cn(o)?o.splice(i,1):delete o[i],o):(o[i]=S(e[i],t,l+1),o)}function x(){return!1}function q(){return null}function w(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function $(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function F(){}function fe(){}function Z(e){var t=[];return e.forEach(function(l){t.push(l)}),t.sort().join(", ")}function V(e,t,l,i){return new Sb(e,t,l,i)}function ve(e,t){e.context===fr&&(a0(e.current,2,t,e,null,null),da())}function Me(e,t){if(ti!==null){var l=t.staleFamilies;t=t.updatedFamilies,Uf(),qg(e.current,t,l),da()}}function Qe(e){ti=e}function Ge(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ze(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function be(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Pe(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function gt(e){if(Ze(e)!==e)throw Error("Unable to find node on an unmounted component.")}function St(e){var t=e.alternate;if(!t){if(t=Ze(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var l=e,i=t;;){var o=l.return;if(o===null)break;var s=o.alternate;if(s===null){if(i=o.return,i!==null){l=i;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===l)return gt(o),e;if(s===i)return gt(o),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==i.return)l=o,i=s;else{for(var h=!1,y=o.child;y;){if(y===l){h=!0,l=o,i=s;break}if(y===i){h=!0,i=o,l=s;break}y=y.sibling}if(!h){for(y=s.child;y;){if(y===l){h=!0,l=s,i=o;break}if(y===i){h=!0,i=s,l=o;break}y=y.sibling}if(!h)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function Ke(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Ke(e),t!==null)return t;e=e.sibling}return null}function we(e){return e===null||typeof e!="object"?null:(e=Lv&&e[Lv]||e["@@iterator"],typeof e=="function"?e:null)}function D(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Is?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fs:return"Fragment";case $f:return"Profiler";case Bl:return"StrictMode";case Oo:return"Suspense";case kl:return"SuspenseList";case ru:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Tc:return"Portal";case su:return e.displayName||"Context";case s0:return(e._context.displayName||"Context")+".Consumer";case Ws:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ff:return t=e.displayName||null,t!==null?t:D(e.type)||"Memo";case pl:t=e._payload,e=e._init;try{return D(e(t))}catch{}}return null}function R(e){return typeof e.tag=="number"?_(e):typeof e.name=="string"?e.name:null}function _(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";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 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return D(t);case 8:return t===Bl?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var l=t.length-1;0<=l;l--)if(typeof t[l].name=="string")return t[l].name}if(e.return!==null)return _(e.return)}return null}function W(e){return{current:e}}function N(e,t){0>wi?console.error("Unexpected pop."):(t!==ip[wi]&&console.error("Unexpected Fiber popped."),e.current=up[wi],up[wi]=null,ip[wi]=null,wi--)}function X(e,t,l){wi++,up[wi]=e.current,ip[wi]=l,e.current=t}function ee(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function L(e,t){X(ma,t,e),X(Ps,e,e),X(Ac,null,e);var l=t.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?mv(t):Vo;break;default:if(l=t.tagName,t=t.namespaceURI)t=mv(t),t=xi(t,l);else switch(l){case"svg":t=F0;break;case"math":t=q1;break;default:t=Vo}}l=l.toLowerCase(),l=gm(null,l),l={context:t,ancestorInfo:l},N(Ac,e),X(Ac,l,e)}function A(e){N(Ac,e),N(Ps,e),N(ma,e)}function M(){return ee(Ac.current)}function C(e){e.memoizedState!==null&&X(Oc,e,e);var t=ee(Ac.current),l=e.type,i=xi(t.context,l);l=gm(t.ancestorInfo,l),i={context:i,ancestorInfo:l},t!==i&&(X(Ps,e,e),X(Ac,i,e))}function B(e){Ps.current===e&&(N(Ac,e),N(Ps,e)),Oc.current===e&&(N(Oc,e),ag._currentValue=Od)}function re(){}function E(){if(er===0){Vv=console.log,zo=console.info,tr=console.warn,cp=console.error,Wf=console.group,r0=console.groupCollapsed,f0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}er++}function G(){if(er--,er===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ot({},e,{value:Vv}),info:ot({},e,{value:zo}),warn:ot({},e,{value:tr}),error:ot({},e,{value:cp}),group:ot({},e,{value:Wf}),groupCollapsed:ot({},e,{value:r0}),groupEnd:ot({},e,{value:f0})})}0>er&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ie(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
32
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
33
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
34
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function ae(e){if(nr===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);nr=t&&t[1]||"",op=-1<l.stack.indexOf(`
|
|
35
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
36
|
+
`+nr+e+op}function ye(e,t){if(!e||d0)return"";var l=sp.get(e);if(l!==void 0)return l;d0=!0,l=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=oe.H,oe.H=null,E();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(Oe){var ue=Oe}Reflect.construct(e,[],H)}else{try{H.call()}catch(Oe){ue=Oe}e.call(H.prototype)}}else{try{throw Error()}catch(Oe){ue=Oe}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(Oe){if(Oe&&ue&&typeof Oe.stack=="string")return[Oe.stack,ue.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=o.DetermineComponentFrameRoot(),y=h[0],b=h[1];if(y&&b){var T=y.split(`
|
|
37
|
+
`),J=b.split(`
|
|
38
|
+
`);for(h=s=0;s<T.length&&!T[s].includes("DetermineComponentFrameRoot");)s++;for(;h<J.length&&!J[h].includes("DetermineComponentFrameRoot");)h++;if(s===T.length||h===J.length)for(s=T.length-1,h=J.length-1;1<=s&&0<=h&&T[s]!==J[h];)h--;for(;1<=s&&0<=h;s--,h--)if(T[s]!==J[h]){if(s!==1||h!==1)do if(s--,h--,0>h||T[s]!==J[h]){var k=`
|
|
39
|
+
`+T[s].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),typeof e=="function"&&sp.set(e,k),k}while(1<=s&&0<=h);break}}}finally{d0=!1,oe.H=i,G(),Error.prepareStackTrace=l}return T=(T=e?e.displayName||e.name:"")?ae(T):"",typeof e=="function"&&sp.set(e,T),T}function ze(e,t){switch(e.tag){case 26:case 27:case 5:return ae(e.type);case 16:return ae("Lazy");case 13:return e.child!==t&&t!==null?ae("Suspense Fallback"):ae("Suspense");case 19:return ae("SuspenseList");case 0:case 15:return ye(e.type,!1);case 11:return ye(e.type.render,!1);case 1:return ye(e.type,!0);case 31:return ae("Activity");default:return""}}function _e(e){try{var t="",l=null;do{t+=ze(e,l);var i=e._debugInfo;if(i)for(var o=i.length-1;0<=o;o--){var s=i[o];if(typeof s.name=="string"){var h=t;e:{var y=s.name,b=s.env,T=s.debugLocation;if(T!=null){var J=ie(T),k=J.lastIndexOf(`
|
|
40
|
+
`),H=k===-1?J:J.slice(k+1);if(H.indexOf(y)!==-1){var ue=`
|
|
41
|
+
`+H;break e}}ue=ae(y+(b?" ["+b+"]":""))}t=h+ue}}l=e,e=e.return}while(e);return t}catch(Oe){return`
|
|
42
|
+
Error generating stack: `+Oe.message+`
|
|
43
|
+
`+Oe.stack}}function Ot(e){return(e=e?e.displayName||e.name:"")?ae(e):""}function yt(){if($l===null)return null;var e=$l._debugOwner;return e!=null?R(e):null}function wn(){if($l===null)return"";var e=$l;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ae(e.type);break;case 13:t+=ae("Suspense");break;case 19:t+=ae("SuspenseList");break;case 31:t+=ae("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Ot(e.type));break;case 11:e._debugOwner||t!==""||(t+=Ot(e.type.render))}for(;e;)if(typeof e.tag=="number"){var l=e;e=l._debugOwner;var i=l._debugStack;if(e&&i){var o=ie(i);o!==""&&(t+=`
|
|
44
|
+
`+o)}}else if(e.debugStack!=null){var s=e.debugStack;(e=e.owner)&&s&&(t+=`
|
|
45
|
+
`+ie(s))}else break;var h=t}catch(y){h=`
|
|
46
|
+
Error generating stack: `+y.message+`
|
|
47
|
+
`+y.stack}return h}function Ae(e,t,l,i,o,s,h){var y=$l;Ll(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,l,i,o,s,h)):t(l,i,o,s,h)}finally{Ll(y)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ll(e){oe.getCurrentStack=e===null?null:wn,$u=!1,$l=e}function En(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Vt(e){try{return Rt(e),!1}catch{return!0}}function Rt(e){return""+e}function Ct(e,t){if(Vt(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,En(e)),Rt(e)}function fl(e,t){if(Vt(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,En(e)),Rt(e)}function wc(e){if(Vt(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",En(e)),Rt(e)}function jr(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{_o=t.inject(e),Yn=t}catch(l){console.error("React instrumentation encountered an error: %o.",l)}return!!t.checkDCE}function Ce(e){if(typeof dp=="function"&&Qv(e),Yn&&typeof Yn.setStrictMode=="function")try{Yn.setStrictMode(_o,e)}catch(t){Fu||(Fu=!0,console.error("React instrumentation encountered an error: %o",t))}}function Vi(e){return e>>>=0,e===0?32:31-(hp(e)/v0|0)|0}function Su(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Nc(e,t,l){var i=e.pendingLanes;if(i===0)return 0;var o=0,s=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var y=i&134217727;return y!==0?(i=y&~s,i!==0?o=Su(i):(h&=y,h!==0?o=Su(h):l||(l=y&~e,l!==0&&(o=Su(l))))):(y=i&~s,y!==0?o=Su(y):h!==0?o=Su(h):l||(l=i&~e,l!==0&&(o=Su(l)))),o===0?0:t!==0&&t!==o&&(t&s)===0&&(s=o&-o,l=t&-t,s>=l||s===32&&(l&4194048)!==0)?t:o}function Rn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Cd(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Wo(){var e=ar;return ar<<=1,(ar&62914560)===0&&(ar=4194304),e}function Io(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function La(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ud(e,t,l,i,o,s){var h=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var y=e.entanglements,b=e.expirationTimes,T=e.hiddenUpdates;for(l=h&~l;0<l;){var J=31-il(l),k=1<<J;y[J]=0,b[J]=-1;var H=T[J];if(H!==null)for(T[J]=null,J=0;J<H.length;J++){var ue=H[J];ue!==null&&(ue.lane&=-536870913)}l&=~k}i!==0&&Po(e,i,0),s!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=s&~(h&~t))}function Po(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-il(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|l&261930}function Yr(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var i=31-il(l),o=1<<i;o&t|e[i]&t&&(e[i]|=t),l&=~o}}function Hc(e,t){var l=t&-t;return l=(l&42)!==0?1:Aa(l),(l&(e.suspendedLanes|t))!==0?0:l}function Aa(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Nn(e,t,l){if(Wu)for(e=e.pendingUpdatersLaneMap;0<l;){var i=31-il(l),o=1<<i;e[i].add(t),l&=~o}}function Wl(e,t){if(Wu)for(var l=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var o=31-il(t);e=1<<o,o=l[o],0<o.size&&(o.forEach(function(s){var h=s.alternate;h!==null&&i.has(h)||i.add(s)}),o.clear()),t&=~e}}function Vn(e){return e&=-e,qn<e?cl<e?(e&134217727)!==0?gl:zc:cl:qn}function Xi(){var e=Bt.p;return e!==0?e:(e=window.event,e===void 0?gl:i0(e.type))}function O(e,t){var l=Bt.p;try{return Bt.p=e,t()}finally{Bt.p=l}}function I(e){delete e[cn],delete e[jl],delete e[Ro],delete e[Rb],delete e[Zv]}function Se(e){var t=e[cn];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Ni]||l[cn]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=So(e);e!==null;){if(l=e[cn])return l;e=So(e)}return t}e=l,l=e.parentNode}return null}function Te(e){if(e=e[cn]||e[Ni]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ue(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ve(e){var t=e[ed];return t||(t=e[ed]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ne(e){e[ur]=!0}function dt(e,t){et(e,t),et(e+"Capture",t)}function et(e,t){Iu[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Iu[e]=t;var l=e.toLowerCase();for(ir[l]=e,e==="onDoubleClick"&&(ir.ondblclick=e),e=0;e<t.length;e++)Jv.add(t[e])}function dl(e,t){Kv[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Oa(e){return ya.call(b0,e)?!0:ya.call(mp,e)?!1:cr.test(e)?b0[e]=!0:(mp[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Qi(e,t,l){if(Oa(t)){if(!e.hasAttribute(t)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(t),e===""&&l===!0?!0:(Ct(l,t),e===""+l?l:e)}}function es(e,t,l){if(Oa(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}Ct(l,t),e.setAttribute(t,""+l)}}function qr(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Ct(l,t),e.setAttribute(t,""+l)}}function Eu(e,t,l,i){if(i===null)e.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}Ct(i,l),e.setAttributeNS(t,l,""+i)}}function Il(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return wc(e),e;default:return""}}function wd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dm(e,t,l){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,s=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(h){wc(h),l=""+h,s.call(this,h)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return l},setValue:function(h){wc(h),l=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nd(e){if(!e._valueTracker){var t=wd(e)?"checked":"value";e._valueTracker=dm(e,t,""+e[t])}}function hm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),i="";return e&&(i=wd(e)?e.checked?"true":"false":e.value),e=i,e!==l?(t.setValue(e),!0):!1}function Va(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 Xt(e){return e.replace(S0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Tl(e,t){t.checked===void 0||t.defaultChecked===void 0||kv||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",yt()||"A component",t.type),kv=!0),t.value===void 0||t.defaultValue===void 0||yp||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",yt()||"A component",t.type),yp=!0)}function Zi(e,t,l,i,o,s,h,y){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(Ct(h,"type"),e.type=h):e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Il(t)):e.value!==""+Il(t)&&(e.value=""+Il(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?mm(e,h,Il(t)):l!=null?mm(e,h,Il(l)):i!=null&&e.removeAttribute("value"),o==null&&s!=null&&(e.defaultChecked=!!s),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(Ct(y,"name"),e.name=""+Il(y)):e.removeAttribute("name")}function Hd(e,t,l,i,o,s,h,y){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(Ct(s,"type"),e.type=s),t!=null||l!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){Nd(e);return}l=l!=null?""+Il(l):"",t=t!=null?""+Il(t):l,y||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=y?e.checked:!!i,e.defaultChecked=!!i,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(Ct(h,"name"),e.name=h),Nd(e)}function mm(e,t,l){t==="number"&&Va(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function zg(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?kf.Children.forEach(t.children,function(l){l==null||typeof l=="string"||typeof l=="number"||typeof l=="bigint"||n||(n=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||a||(a=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||td||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),td=!0)}function ym(){var e=yt();return e?`
|
|
48
|
+
|
|
49
|
+
Check the render method of \``+e+"`.":""}function Tu(e,t,l,i){if(e=e.options,t){t={};for(var o=0;o<l.length;o++)t["$"+l[o]]=!0;for(l=0;l<e.length;l++)o=t.hasOwnProperty("$"+e[l].value),e[l].selected!==o&&(e[l].selected=o),o&&i&&(e[l].defaultSelected=!0)}else{for(l=""+Il(l),t=null,o=0;o<e.length;o++){if(e[o].value===l){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Bd(e,t){for(e=0;e<c.length;e++){var l=c[e];if(t[l]!=null){var i=Cn(t[l]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,ym()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,ym())}}t.value===void 0||t.defaultValue===void 0||u||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),u=!0)}function Bc(e,t){t.value===void 0||t.defaultValue===void 0||r||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",yt()||"A component"),r=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function jc(e,t,l){if(t!=null&&(t=""+Il(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Il(l):""}function ts(e,t,l,i){if(t==null){if(i!=null){if(l!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Cn(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}l=i}l==null&&(l=""),t=l}l=Il(t),e.defaultValue=l,i=e.textContent,i===l&&i!==""&&i!==null&&(e.value=i),Nd(e)}function Yc(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Yc(e.children[0],t):e}function jt(e){return" "+" ".repeat(e)}function qc(e){return"+ "+" ".repeat(e)}function Ji(e){return"- "+" ".repeat(e)}function Ki(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Au(e,t){return f.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function jd(e,t,l){var i=120-2*l;if(t===null)return qc(l)+Au(e,i)+`
|
|
50
|
+
`;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>i-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),qc(l)+Au(e,i)+`
|
|
51
|
+
`+Ji(l)+Au(t,i)+`
|
|
52
|
+
`}return jt(l)+Au(e,i)+`
|
|
53
|
+
`}function Yd(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,l){return l})}function ns(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Cn(e))return"[...]";if(e.$$typeof===Ba)return(t=D(e.type))?"<"+t+">":"<...>";var l=Yd(e);if(l==="Object"){l="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),t-=i.length-2,o=ns(e[i],15>t?t:15),t-=o.length,0>t){l+=l===""?"...":", ...";break}l+=(l===""?"":",")+i+":"+o}return"{"+l+"}"}return l;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function ls(e,t){return typeof e!="string"||f.test(e)?"{"+ns(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function as(e,t,l){var i=120-l.length-e.length,o=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var h=ls(t[s],120-l.length-s.length-1);i-=s.length+h.length+2,o.push(s+"="+h)}return o.length===0?l+"<"+e+`>
|
|
54
|
+
`:0<i?l+"<"+e+" "+o.join(" ")+`>
|
|
55
|
+
`:l+"<"+e+`
|
|
56
|
+
`+l+" "+o.join(`
|
|
57
|
+
`+l+" ")+`
|
|
58
|
+
`+l+`>
|
|
59
|
+
`}function qd(e,t,l){var i="",o=ot({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete o[s];var h=120-2*l-s.length-2,y=ns(e[s],h);t.hasOwnProperty(s)?(h=ns(t[s],h),i+=qc(l)+s+": "+y+`
|
|
60
|
+
`,i+=Ji(l)+s+": "+h+`
|
|
61
|
+
`):i+=qc(l)+s+": "+y+`
|
|
62
|
+
`}for(var b in o)o.hasOwnProperty(b)&&(e=ns(o[b],120-2*l-b.length-2),i+=Ji(l)+b+": "+e+`
|
|
63
|
+
`);return i}function di(e,t,l,i){var o="",s=new Map;for(T in l)l.hasOwnProperty(T)&&s.set(T.toLowerCase(),T);if(s.size===1&&s.has("children"))o+=as(e,t,jt(i));else{for(var h in t)if(t.hasOwnProperty(h)&&h!=="children"){var y=120-2*(i+1)-h.length-1,b=s.get(h.toLowerCase());if(b!==void 0){s.delete(h.toLowerCase());var T=t[h];b=l[b];var J=ls(T,y);y=ls(b,y),typeof T=="object"&&T!==null&&typeof b=="object"&&b!==null&&Yd(T)==="Object"&&Yd(b)==="Object"&&(2<Object.keys(T).length||2<Object.keys(b).length||-1<J.indexOf("...")||-1<y.indexOf("..."))?o+=jt(i+1)+h+`={{
|
|
64
|
+
`+qd(T,b,i+2)+jt(i+1)+`}}
|
|
65
|
+
`:(o+=qc(i+1)+h+"="+J+`
|
|
66
|
+
`,o+=Ji(i+1)+h+"="+y+`
|
|
67
|
+
`)}else o+=jt(i+1)+h+"="+ls(t[h],y)+`
|
|
68
|
+
`}s.forEach(function(k){if(k!=="children"){var H=120-2*(i+1)-k.length-1;o+=Ji(i+1)+k+"="+ls(l[k],H)+`
|
|
69
|
+
`}}),o=o===""?jt(i)+"<"+e+`>
|
|
70
|
+
`:jt(i)+"<"+e+`
|
|
71
|
+
`+o+jt(i)+`>
|
|
72
|
+
`}return e=l.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(s="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=""+t),o+=jd(s,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+jd(""+t,null,i+1):o+jd(""+t,void 0,i+1)),o}function Pl(e,t){var l=Ki(e);if(l===null){for(l="",e=e.child;e;)l+=Pl(e,t),e=e.sibling;return l}return jt(t)+"<"+l+`>
|
|
73
|
+
`}function Gd(e,t){var l=Yc(e,t);if(l!==e&&(e.children.length!==1||e.children[0]!==l))return jt(t)+`...
|
|
74
|
+
`+Gd(l,t+1);l="";var i=e.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var s=i[o].name;typeof s=="string"&&(l+=jt(t)+"<"+s+`>
|
|
75
|
+
`,t++)}if(i="",o=e.fiber.pendingProps,e.fiber.tag===6)i=jd(o,e.serverProps,t),t++;else if(s=Ki(e.fiber),s!==null)if(e.serverProps===void 0){i=t;var h=120-2*i-s.length-2,y="";for(T in o)if(o.hasOwnProperty(T)&&T!=="children"){var b=ls(o[T],15);if(h-=T.length+b.length+2,0>h){y+=" ...";break}y+=" "+T+"="+b}i=jt(i)+"<"+s+y+`>
|
|
76
|
+
`,t++}else e.serverProps===null?(i=as(s,o,qc(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=di(s,o,e.serverProps,t),t++);var T="";for(o=e.fiber.child,s=0;o&&s<e.children.length;)h=e.children[s],h.fiber===o?(T+=Gd(h,t),s++):T+=Pl(o,t),o=o.sibling;for(o&&0<e.children.length&&(T+=jt(t)+`...
|
|
77
|
+
`),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)s=o[e],T=typeof s=="string"?T+(Ji(t)+Au(s,120-2*t)+`
|
|
78
|
+
`):T+as(s.type,s.props,Ji(t));return l+i+T}function pm(e){try{return`
|
|
79
|
+
|
|
80
|
+
`+Gd(e,0)}catch{return""}}function Ld(e,t,l){for(var i=t,o=null,s=0;i;)i===e&&(s=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===t?l:i===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,i=i.return;return o!==null?pm(o).replaceAll(/^[+-]/gm,">"):""}function gm(e,t){var l=ot({},e||de),i={tag:t};return z.indexOf(t)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),Y.indexOf(t)!==-1&&(l.pTagInButtonScope=null),v.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=i,t==="form"&&(l.formTag=i),t==="a"&&(l.aTagInScope=i),t==="button"&&(l.buttonTagInScope=i),t==="nobr"&&(l.nobrTagInScope=i),t==="p"&&(l.pTagInButtonScope=i),t==="li"&&(l.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(l.dlItemTagAutoclosing=i),t==="#document"||t==="html"?l.containerTagInScope=null:l.containerTagInScope||(l.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?l.implicitRootScope===!0&&(l.implicitRootScope=!1):l.implicitRootScope=!0,l}function Gr(e,t,l){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(l)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!l)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return ne.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return l||t===null;case"html":return l&&t==="#document"||t===null;case"body":return l&&(t==="#document"||t==="html")||t===null}return!0}function mb(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function ea(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Lr(e,t){t=t||de;var l=t.current;if(t=(l=Gr(e,l&&l.tag,t.implicitRootScope)?null:l)?null:mb(e,t),t=l||t,!t)return!0;var i=t.tag;if(t=String(!!l)+"|"+e+"|"+i,pe[t])return!1;pe[t]=!0;var o=(t=$l)?ea(t.return,i):null,s=t!==null&&o!==null?Ld(o,t,null):"",h="<"+e+">";return l?(l="",i==="table"&&e==="tr"&&(l+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
81
|
+
This will cause a hydration error.%s`,h,i,l,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
82
|
+
This will cause a hydration error.%s`,h,i,s),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||Ae(o,function(){console.error(`<%s> cannot contain a nested %s.
|
|
83
|
+
See this log for the ancestor stack trace.`,i,h)})),!1}function Vr(e,t,l){if(l||Gr("#text",t,!1))return!0;if(l="#text|"+t,pe[l])return!1;pe[l]=!0;var i=(l=$l)?ea(l,t):null;return l=l!==null&&i!==null?Ld(i,l,l.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
84
|
+
This will cause a hydration error.%s`,t,l):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
85
|
+
This will cause a hydration error.%s`,t,l),!1}function Gc(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}function us(e){return e.replace(P,function(t,l){return l.toUpperCase()})}function vm(e,t,l){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?te.hasOwnProperty(t)&&te[t]||(te[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,us(t.replace(Kt,"ms-")))):Le.test(t)?te.hasOwnProperty(t)&&te[t]||(te[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!K.test(l)||me.hasOwnProperty(l)&&me[l]||(me[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,l.replace(K,""))),typeof l=="number"&&(isNaN(l)?je||(je=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(l)||Mt||(Mt=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),l==null||typeof l=="boolean"||l===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,l):typeof l!="number"||l===0||He.has(t)?t==="float"?e.cssFloat=l:(fl(l,t),e[t]=(""+l).trim()):e[t]=l+"px"}function bm(e,t,l){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,l!=null){if(t){var i={};if(l){for(var o in l)if(l.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var s=le[o]||[o],h=0;h<s.length;h++)i[s[h]]=o}for(var y in t)if(t.hasOwnProperty(y)&&(!l||l[y]!==t[y]))for(o=le[y]||[y],s=0;s<o.length;s++)i[o[s]]=y;y={};for(var b in t)for(o=le[b]||[b],s=0;s<o.length;s++)y[o[s]]=b;b={};for(var T in i)if(o=i[T],(s=y[T])&&o!==s&&(h=o+","+s,!b[h])){b[h]=!0,h=console;var J=t[o];h.error.call(h,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",J==null||typeof J=="boolean"||J===""?"Removing":"Updating",o,s)}}for(var k in l)!l.hasOwnProperty(k)||t!=null&&t.hasOwnProperty(k)||(k.indexOf("--")===0?e.setProperty(k,""):k==="float"?e.cssFloat="":e[k]="");for(var H in t)T=t[H],t.hasOwnProperty(H)&&l[H]!==T&&vm(e,H,T)}else for(i in t)t.hasOwnProperty(i)&&vm(e,i,t[i])}function Ou(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Dg(e){return wt.get(e)||e}function _g(e,t){if(ya.call(E0,t)&&E0[t])return!0;if(YO.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=$v.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),E0[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),E0[t]=!0}if(jO.test(t)){if(e=t.toLowerCase(),e=$v.hasOwnProperty(e)?e:null,e==null)return E0[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),E0[t]=!0)}return!0}function Rg(e,t){var l=[],i;for(i in t)_g(e,i)||l.push(i);t=l.map(function(o){return"`"+o+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Sm(e,t,l,i){if(ya.call(pa,t)&&pa[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),pa[t]=!0;if(typeof l=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),pa[t]=!0;if(J2.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),pa[t]=!0}else if(J2.test(t))return qO.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),pa[t]=!0;if(GO.test(t)||LO.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),pa[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),pa[t]=!0;if(o==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),pa[t]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),pa[t]=!0;if(fu.hasOwnProperty(o)){if(o=fu[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),pa[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),pa[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof l){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(l?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',l,t,t,l,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,t,t,l,t,t,t),pa[t]=!0)}case"function":case"symbol":return pa[t]=!0,!1;case"string":if(l==="false"||l==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,t,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,l),pa[t]=!0}}return!0}function yb(e,t,l){var i=[],o;for(o in t)Sm(e,o,t[o],l)||i.push(o);t=i.map(function(s){return"`"+s+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<i.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Xr(e){return VO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function za(){}function Xa(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Vd(e){var t=Te(e);if(t&&(e=t.stateNode)){var l=e[jl]||null;e:switch(e=t.stateNode,t.type){case"input":if(Zi(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(Ct(t,"name"),l=l.querySelectorAll('input[name="'+Xt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var i=l[t];if(i!==e&&i.form===e.form){var o=i[jl]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Zi(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<l.length;t++)i=l[t],i.form===e.form&&hm(i)}break e;case"textarea":jc(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Tu(e,!!l.multiple,t,!1)}}}function Xd(e,t,l){if(Mb)return e(t,l);Mb=!0;try{var i=e(t);return i}finally{if(Mb=!1,(T0!==null||A0!==null)&&(da(),T0&&(t=T0,e=A0,A0=T0=null,Vd(t),e)))for(t=0;t<e.length;t++)Vd(e[t])}}function zu(e,t){var l=e.stateNode;if(l===null)return null;var i=l[jl]||null;if(i===null)return null;l=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function Lc(){if(Fv)return Fv;var e,t=Cb,l=t.length,i,o="value"in or?or.value:or.textContent,s=o.length;for(e=0;e<l&&t[e]===o[e];e++);var h=l-e;for(i=1;i<=h&&t[l-i]===o[s-i];i++);return Fv=o.slice(e,1<i?1-i:void 0)}function Qr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function is(){return!0}function Em(){return!1}function Xn(e){function t(l,i,o,s,h){this._reactName=l,this._targetInst=o,this.type=i,this.nativeEvent=s,this.target=h,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(l=e[y],this[y]=l?l(s):s[y]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?is:Em,this.isPropagationStopped=Em,this}return ot(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=is)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=is)},persist:function(){},isPersistent:is}),t}function hi(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=t4[e])?!!t[e]:!1}function Zr(){return hi}function cs(e,t){switch(e){case"keyup":return h4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==F2;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mi(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Tm(e,t){switch(e){case"compositionend":return mi(t);case"keypress":return t.which!==I2?null:(eE=!0,P2);case"textInput":return e=t.data,e===P2&&eE?null:e;default:return null}}function Qd(e,t){if(O0)return e==="compositionend"||!Hb&&cs(e,t)?(e=Lc(),Fv=Cb=or=null,O0=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return W2&&t.locale!=="ko"?null:t.data;default:return null}}function Am(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!y4[e.type]:t==="textarea"}function Zd(e){if(!Dc)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Jr(e,t,l,i){T0?A0?A0.push(i):A0=[i]:T0=i,t=iu(t,"onChange"),0<t.length&&(l=new Wv("onChange","change",null,l,i),e.push({event:l,listeners:t}))}function Mg(e){Gt(e,0)}function al(e){var t=Ue(e);if(hm(t))return e}function ki(e,t){if(e==="change")return t}function Kr(){Ep&&(Ep.detachEvent("onpropertychange",os),Tp=Ep=null)}function os(e){if(e.propertyName==="value"&&al(Tp)){var t=[];Jr(t,Tp,e,Xa(e)),Xd(Mg,t)}}function pb(e,t,l){e==="focusin"?(Kr(),Ep=t,Tp=l,Ep.attachEvent("onpropertychange",os)):e==="focusout"&&Kr()}function Om(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return al(Tp)}function zm(e,t){if(e==="click")return al(t)}function kr(e,t){if(e==="input"||e==="change")return al(t)}function Jd(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ss(e,t){if(ga(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),i=Object.keys(t);if(l.length!==i.length)return!1;for(i=0;i<l.length;i++){var o=l[i];if(!ya.call(t,o)||!ga(e[o],t[o]))return!1}return!0}function xg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cg(e,t){var l=xg(e);e=0;for(var i;l;){if(l.nodeType===3){if(i=e+l.textContent.length,e<=t&&i>=t)return{node:l,offset:t-e};e=i}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=xg(l)}}function Ug(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ug(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Va(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Va(e.document)}return t}function Dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function wg(e,t,l){var i=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;jb||z0==null||z0!==Va(i)||(i=z0,"selectionStart"in i&&Dm(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ap&&ss(Ap,i)||(Ap=i,i=iu(Bb,"onSelect"),0<i.length&&(t=new Wv("onSelect","select",null,t,l),e.push({event:t,listeners:i}),t.target=z0)))}function Vc(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}function Xc(e){if(Yb[e])return Yb[e];if(!D0[e])return e;var t=D0[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in nE)return Yb[e]=t[l];return e}function Qa(e,t){cE.set(e,t),dt(t,[e])}function Ng(e){for(var t=Pv,l=0;l<e.length;l++){var i=e[l];if(typeof i=="object"&&i!==null)if(Cn(i)&&i.length===2&&typeof i[0]=="string"){if(t!==Pv&&t!==Xb)return Lb;t=Xb}else return Lb;else{if(typeof i=="function"||typeof i=="string"&&50<i.length||t!==Pv&&t!==Vb)return Lb;t=Vb}}return t}function _m(e,t,l,i){for(var o in e)ya.call(e,o)&&o[0]!=="_"&&Du(o,e[o],t,l,i)}function Du(e,t,l,i,o){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Ba){var s=D(t.type)||"…",h=t.key;t=t.props;var y=Object.keys(t),b=y.length;if(h==null&&b===0){t="<"+s+" />";break}if(3>i||b===1&&y[0]==="children"&&h==null){t="<"+s+" … />";break}l.push([o+" ".repeat(i)+e,"<"+s]),h!==null&&Du("key",h,l,i+1,o),e=!1;for(var T in t)T==="children"?t.children!=null&&(!Cn(t.children)||0<t.children.length)&&(e=!0):ya.call(t,T)&&T[0]!=="_"&&Du(T,t[T],l,i+1,o);l.push(["",e?">…</"+s+">":"/>"]);return}if(s=Object.prototype.toString.call(t),s=s.slice(8,s.length-1),s==="Array"){if(T=Ng(t),T===Vb||T===Pv){t=JSON.stringify(t);break}else if(T===Xb){for(l.push([o+" ".repeat(i)+e,""]),e=0;e<t.length;e++)s=t[e],Du(s[0],s[1],l,i+1,o);return}}if(s==="Promise"){if(t.status==="fulfilled"){if(s=l.length,Du(e,t.value,l,i,o),l.length>s){l=l[s],l[1]="Promise<"+(l[1]||"Object")+">";return}}else if(t.status==="rejected"&&(s=l.length,Du(e,t.reason,l,i,o),l.length>s)){l=l[s],l[1]="Rejected Promise<"+l[1]+">";return}l.push([" ".repeat(i)+e,"Promise"]);return}s==="Object"&&(T=Object.getPrototypeOf(t))&&typeof T.constructor=="function"&&(s=T.constructor.name),l.push([o+" ".repeat(i)+e,s==="Object"?3>i?"":"…":s]),3>i&&_m(t,l,i+1,o);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===T4?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}l.push([o+" ".repeat(i)+e,t])}function Hg(e,t,l,i){var o=!0;for(h in e)h in t||(l.push([e1+" ".repeat(i)+h,"…"]),o=!1);for(var s in t)if(s in e){var h=e[s],y=t[s];if(h!==y){if(i===0&&s==="children")o=" ".repeat(i)+s,l.push([e1+o,"…"],[t1+o,"…"]);else{if(!(3<=i)){if(typeof h=="object"&&typeof y=="object"&&h!==null&&y!==null&&h.$$typeof===y.$$typeof)if(y.$$typeof===Ba){if(h.type===y.type&&h.key===y.key){h=D(y.type)||"…",o=" ".repeat(i)+s,h="<"+h+" … />",l.push([e1+o,h],[t1+o,h]),o=!1;continue}}else{var b=Object.prototype.toString.call(h),T=Object.prototype.toString.call(y);if(b===T&&(T==="[object Object]"||T==="[object Array]")){b=[rE+" ".repeat(i)+s,T==="[object Array]"?"Array":""],l.push(b),T=l.length,Hg(h,y,l,i+1)?T===l.length&&(b[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof h=="function"&&typeof y=="function"&&h.name===y.name&&h.length===y.length&&(b=Function.prototype.toString.call(h),T=Function.prototype.toString.call(y),b===T)){h=y.name===""?"() => {}":y.name+"() {}",l.push([rE+" ".repeat(i)+s,h+" Referentially unequal function closure. Consider memoization."]);continue}}Du(s,h,l,i,e1),Du(s,y,l,i,t1)}o=!1}}else l.push([t1+" ".repeat(i)+s,"…"]),o=!1;return o}function Za(e){zt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Da(e,t,l,i){on&&(rr.start=t,rr.end=l,Mo.color="warning",Mo.tooltipText=i,Mo.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,i,rr)):performance.measure(i,rr))}function kd(e,t,l){Da(e,t,l,"Reconnect")}function $d(e,t,l,i,o){var s=_(e);if(s!==null&&on){var h=e.alternate,y=e.actualDuration;if(h===null||h.child!==e.child)for(var b=e.child;b!==null;b=b.sibling)y-=b.actualDuration;i=.5>y?i?"tertiary-light":"primary-light":10>y?i?"tertiary":"primary":100>y?i?"tertiary-dark":"primary-dark":"error";var T=e.memoizedProps;y=e._debugTask,T!==null&&h!==null&&h.memoizedProps!==T?(b=[A4],T=Hg(h.memoizedProps,T,b,0),1<b.length&&(T&&!sr&&(h.lanes&o)===0&&100<e.actualDuration?(sr=!0,b[0]=O4,Mo.color="warning",Mo.tooltipText=fE):(Mo.color=i,Mo.tooltipText=s),Mo.properties=b,rr.start=t,rr.end=l,y!=null?y.run(performance.measure.bind(performance,""+s,rr)):performance.measure(""+s,rr))):y!=null?y.run(console.timeStamp.bind(console,s,t,l,Pu,void 0,i)):console.timeStamp(s,t,l,Pu,void 0,i)}}function Rm(e,t,l,i){if(on){var o=_(e);if(o!==null){for(var s=null,h=[],y=0;y<i.length;y++){var b=i[y];s==null&&b.source!==null&&(s=b.source._debugTask),b=b.value,h.push(["Error",typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b)])}e.key!==null&&Du("key",e.key,h,0,""),e.memoizedProps!==null&&_m(e.memoizedProps,h,0,""),s==null&&(s=e._debugTask),e={start:t,end:l,detail:{devtools:{color:"error",track:Pu,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:h}}},s?s.run(performance.measure.bind(performance,""+o,e)):performance.measure(""+o,e)}}}function Ja(e,t,l,i,o){if(o!==null){if(on){var s=_(e);if(s!==null){i=[];for(var h=0;h<o.length;h++){var y=o[h].value;i.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&Du("key",e.key,i,0,""),e.memoizedProps!==null&&_m(e.memoizedProps,i,0,""),t={start:t,end:l,detail:{devtools:{color:"error",track:Pu,tooltipText:"A lifecycle or effect errored",properties:i}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+s,t)):performance.measure(""+s,t)}}}else s=_(e),s!==null&&on&&(o=1>i?"secondary-light":100>i?"secondary":500>i?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,s,t,l,Pu,void 0,o)):console.timeStamp(s,t,l,Pu,void 0,o))}function gb(e,t,l,i){if(on&&!(t<=e)){var o=(l&738197653)===l?"tertiary-dark":"primary-dark";l=(l&536870912)===l?"Prepared":(l&201326741)===l?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,l,e,t,zt,Tt,o)):console.timeStamp(l,e,t,zt,Tt,o)}}function Bg(e,t,l,i){!on||t<=e||(l=(l&738197653)===l?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Prewarm",e,t,zt,Tt,l)):console.timeStamp("Prewarm",e,t,zt,Tt,l))}function jg(e,t,l,i){!on||t<=e||(l=(l&738197653)===l?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Suspended",e,t,zt,Tt,l)):console.timeStamp("Suspended",e,t,zt,Tt,l))}function vb(e,t,l,i,o,s){if(on&&!(t<=e)){l=[];for(var h=0;h<i.length;h++){var y=i[h].value;l.push(["Recoverable Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:zt,trackGroup:Tt,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:l}}},s?s.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Mm(e,t,l,i){!on||t<=e||(i?i.run(console.timeStamp.bind(console,"Errored",e,t,zt,Tt,"error")):console.timeStamp("Errored",e,t,zt,Tt,"error"))}function bb(e,t,l,i){!on||t<=e||(i?i.run(console.timeStamp.bind(console,l,e,t,zt,Tt,"secondary-light")):console.timeStamp(l,e,t,zt,Tt,"secondary-light"))}function Yg(e,t,l,i,o){if(on&&!(t<=e)){for(var s=[],h=0;h<l.length;h++){var y=l[h].value;s.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e={start:e,end:t,detail:{devtools:{color:"error",track:zt,trackGroup:Tt,tooltipText:i?"Remaining Effects Errored":"Commit Errored",properties:s}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function xm(e,t,l){!on||t<=e||console.timeStamp("Animating",e,t,zt,Tt,"secondary-dark")}function Fd(){for(var e=_0,t=Qb=_0=0;t<e;){var l=ei[t];ei[t++]=null;var i=ei[t];ei[t++]=null;var o=ei[t];ei[t++]=null;var s=ei[t];if(ei[t++]=null,i!==null&&o!==null){var h=i.pending;h===null?o.next=o:(o.next=h.next,h.next=o),i.pending=o}s!==0&&Cm(l,o,s)}}function rs(e,t,l,i){ei[_0++]=e,ei[_0++]=t,ei[_0++]=l,ei[_0++]=i,Qb|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Qc(e,t,l,i){return rs(e,t,l,i),$r(e)}function hl(e,t){return rs(e,null,null,t),$r(e)}function Cm(e,t,l){e.lanes|=l;var i=e.alternate;i!==null&&(i.lanes|=l);for(var o=!1,s=e.return;s!==null;)s.childLanes|=l,i=s.alternate,i!==null&&(i.childLanes|=l),s.tag===22&&(e=s.stateNode,e===null||e._visibility&Op||(o=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,o&&t!==null&&(o=31-il(l),e=s.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=l|536870912),s):null}function $r(e){if(Wp>G4)throw vd=Wp=0,Ip=AS=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");vd>L4&&(vd=0,Ip=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Ha(e);for(var t=e,l=t.return;l!==null;)t.alternate===null&&(t.flags&4098)!==0&&Ha(e),t=l,l=t.return;return t.tag===3?t.stateNode:null}function $i(e){if(ti===null)return e;var t=ti(e);return t===void 0?e:t.current}function Wd(e){if(ti===null)return e;var t=ti(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=$i(e.render),e.render!==t)?(t={$$typeof:Ws,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Um(e,t){if(ti===null)return!1;var l=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===pl)&&(i=!0);break;case 11:(o===Ws||o===pl)&&(i=!0);break;case 14:case 15:(o===Ff||o===pl)&&(i=!0);break;default:return!1}return!!(i&&(e=ti(l),e!==void 0&&e===ti(t)))}function Zc(e){ti!==null&&typeof WeakSet=="function"&&(R0===null&&(R0=new WeakSet),R0.add(e))}function qg(e,t,l){do{var i=e,o=i.alternate,s=i.child,h=i.sibling,y=i.tag;i=i.type;var b=null;switch(y){case 0:case 15:case 1:b=i;break;case 11:b=i.render}if(ti===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(i=!1,b!==null&&(b=ti(b),b!==void 0&&(l.has(b)?i=!0:t.has(b)&&(y===1?i=!0:T=!0))),R0!==null&&(R0.has(e)||o!==null&&R0.has(o))&&(i=!0),i&&(e._debugNeedsRemount=!0),(i||T)&&(o=hl(e,2),o!==null&&$e(o,e,2)),s===null||i||qg(s,t,l),h===null)break;e=h}while(!0)}function Sb(e,t,l,i){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,dE||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function wm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _u(e,t){var l=e.alternate;switch(l===null?(l=V(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=$i(e.type);break;case 1:l.type=$i(e.type);break;case 11:l.type=Wd(e.type)}return l}function Nm(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function Jc(e,t,l,i,o,s){var h=0,y=e;if(typeof e=="function")wm(e)&&(h=1),y=$i(y);else if(typeof e=="string")h=M(),h=Nv(e,l,h)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ru:return t=V(31,l,t,o),t.elementType=ru,t.lanes=s,t;case Fs:return Kc(l.children,o,s,t);case Bl:h=8,o|=Fl,o|=Hi;break;case $f:return e=l,i=o,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=V(12,e,t,i|st),t.elementType=$f,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Oo:return t=V(13,l,t,o),t.elementType=Oo,t.lanes=s,t;case kl:return t=V(19,l,t,o),t.elementType=kl,t.lanes=s,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case su:h=10;break e;case s0:h=9;break e;case Ws:h=11,y=Wd(y);break e;case Ff:h=14;break e;case pl:h=16,y=null;break e}y="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":Cn(e)?l="array":e!==void 0&&e.$$typeof===Ba?(l="<"+(D(e.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(h=i?R(i):null)&&(y+=`
|
|
86
|
+
|
|
87
|
+
Check the render method of \``+h+"`."),h=29,l=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(l+"."+y)),y=null}return t=V(h,l,t,o),t.elementType=e,t.type=y,t.lanes=s,t._debugOwner=i,t}function Fi(e,t,l){return t=Jc(e.type,e.key,e.props,e._owner,t,l),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Kc(e,t,l,i){return e=V(7,e,i,t),e.lanes=l,e}function fs(e,t,l){return e=V(6,e,null,t),e.lanes=l,e}function Hm(e){var t=V(18,null,null,ke);return t.stateNode=e,t}function Id(e,t,l){return t=V(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Al(e,t){if(typeof e=="object"&&e!==null){var l=Zb.get(e);return l!==void 0?l:(t={value:e,source:t,stack:_e(t)},Zb.set(e,t),t)}return{value:e,source:t,stack:_e(t)}}function Ka(e,t){Wi(),M0[x0++]=zp,M0[x0++]=n1,n1=e,zp=t}function Bm(e,t,l){Wi(),ni[li++]=Co,ni[li++]=Uo,ni[li++]=ld,ld=e;var i=Co;e=Uo;var o=32-il(i)-1;i&=~(1<<o),l+=1;var s=32-il(t)+o;if(30<s){var h=o-o%5;s=(i&(1<<h)-1).toString(32),i>>=h,o-=h,Co=1<<32-il(t)+o|l<<o|i,Uo=s+e}else Co=1<<s|l<<o|i,Uo=e}function Pd(e){Wi(),e.return!==null&&(Ka(e,1),Bm(e,1,0))}function eh(e){for(;e===n1;)n1=M0[--x0],M0[x0]=null,zp=M0[--x0],M0[x0]=null;for(;e===ld;)ld=ni[--li],ni[li]=null,Uo=ni[--li],ni[li]=null,Co=ni[--li],ni[li]=null}function Gg(){return Wi(),ld!==null?{id:Co,overflow:Uo}:null}function Lg(e,t){Wi(),ni[li++]=Co,ni[li++]=Uo,ni[li++]=ld,Co=t.id,Uo=t.overflow,ld=e}function Wi(){Et||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function kc(e,t){if(e.return===null){if(du===null)du={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(du.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");du.distanceFromLeaf>t&&(du.distanceFromLeaf=t)}return du}var l=kc(e.return,t+1).children;return 0<l.length&&l[l.length-1].fiber===e?(l=l[l.length-1],l.distanceFromLeaf>t&&(l.distanceFromLeaf=t),l):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},l.push(t),t)}function Vg(){Et&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function ml(e,t){_c||(e=kc(e,0),e.serverProps=null,t!==null&&(t=xv(t),e.serverTail.push(t)))}function _a(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,l="",i=du;throw i!==null&&(du=null,l=pm(i)),Wr(Al(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
88
|
+
|
|
89
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
90
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
91
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
92
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
93
|
+
- Invalid HTML tag nesting.
|
|
94
|
+
|
|
95
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
96
|
+
|
|
97
|
+
https://react.dev/link/hydration-mismatch`+l),e)),Jb}function jm(e){var t=e.stateNode,l=e.type,i=e.memoizedProps;switch(t[cn]=e,t[jl]=i,Nl(l,i),l){case"dialog":Je("cancel",t),Je("close",t);break;case"iframe":case"object":case"embed":Je("load",t);break;case"video":case"audio":for(l=0;l<Pp.length;l++)Je(Pp[l],t);break;case"source":Je("error",t);break;case"img":case"image":case"link":Je("error",t),Je("load",t);break;case"details":Je("toggle",t);break;case"input":dl("input",i),Je("invalid",t),Tl(t,i),Hd(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":zg(t,i);break;case"select":dl("select",i),Je("invalid",t),Bd(t,i);break;case"textarea":dl("textarea",i),Je("invalid",t),Bc(t,i),ts(t,i.value,i.defaultValue,i.children)}l=i.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||i.suppressHydrationWarning===!0||qy(t.textContent,l)?(i.popover!=null&&(Je("beforetoggle",t),Je("toggle",t)),i.onScroll!=null&&Je("scroll",t),i.onScrollEnd!=null&&Je("scrollend",t),i.onClick!=null&&(t.onclick=za),t=!0):t=!1,t||_a(e,!0)}function Ym(e){for(Yl=e.return;Yl;)switch(Yl.tag){case 5:case 31:case 13:ai=!1;return;case 27:case 3:ai=!0;return;default:Yl=Yl.return}}function $c(e){if(e!==Yl)return!1;if(!Et)return Ym(e),Et=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Vs(e.type,e.memoizedProps)),l=!l),l&&sn){for(l=sn;l;){var i=kc(e,0),o=xv(l);i.serverTail.push(o),l=o.type==="Suspense"?Zs(l):ha(l.nextSibling)}_a(e)}if(Ym(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");sn=Zs(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");sn=Zs(e)}else t===27?(t=sn,Sc(e.type)?(e=HS,HS=null,sn=e):sn=t):sn=Yl?ha(e.stateNode.nextSibling):null;return!0}function Ii(){sn=Yl=null,_c=Et=!1}function Fr(){var e=dr;return e!==null&&(Ea===null?Ea=e:Ea.push.apply(Ea,e),dr=null),e}function Wr(e){dr===null?dr=[e]:dr.push(e)}function Pi(){var e=du;if(e!==null){du=null;for(var t=pm(e);0<e.children.length;)e=e.children[0];Ae(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
98
|
+
|
|
99
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
100
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
101
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
102
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
103
|
+
- Invalid HTML tag nesting.
|
|
104
|
+
|
|
105
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
106
|
+
|
|
107
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function ds(){C0=l1=null,U0=!1}function Ra(e,t,l){X(Kb,t._currentValue,e),t._currentValue=l,X(kb,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==mE&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=mE}function ka(e,t){e._currentValue=Kb.current;var l=kb.current;N(kb,t),e._currentRenderer=l,N(Kb,t)}function th(e,t,l){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===l)break;e=e.return}e!==l&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function yi(e,t,l,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){var h=o.child;s=s.firstContext;e:for(;s!==null;){var y=s;s=o;for(var b=0;b<t.length;b++)if(y.context===t[b]){s.lanes|=l,y=s.alternate,y!==null&&(y.lanes|=l),th(s.return,l,e),i||(h=null);break e}s=y.next}}else if(o.tag===18){if(h=o.return,h===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");h.lanes|=l,s=h.alternate,s!==null&&(s.lanes|=l),th(h,l,e),h=null}else h=o.child;if(h!==null)h.return=o;else for(h=o;h!==null;){if(h===e){h=null;break}if(o=h.sibling,o!==null){o.return=h.return,h=o;break}h=h.return}o=h}}function $a(e,t,l,i){e=null;for(var o=t,s=!1;o!==null;){if(!s){if((o.flags&524288)!==0)s=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var h=o.alternate;if(h===null)throw Error("Should have a current fiber. This is a bug in React.");if(h=h.memoizedProps,h!==null){var y=o.type;ga(o.pendingProps.value,h.value)||(e!==null?e.push(y):e=[y])}}else if(o===Oc.current){if(h=o.alternate,h===null)throw Error("Should have a current fiber. This is a bug in React.");h.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(ag):e=[ag])}o=o.return}e!==null&&yi(t,e,l,i),t.flags|=262144}function hs(e){for(e=e.firstContext;e!==null;){if(!ga(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ec(e){l1=e,C0=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Nt(e){return U0&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),qm(l1,e)}function Ir(e,t){return l1===null&&ec(e),qm(e,t)}function qm(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},C0===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");C0=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else C0=C0.next=t;return l}function nh(){return{controller:new _4,data:new Map,refCount:0}}function Fc(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Pr(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&R4(M4,function(){e.controller.abort()})}function Ru(e,t,l){(e&127)!==0?0>Rc&&(Rc=In(),_p=a1(t),$b=t,l!=null&&(Fb=_(l)),(xt&(sl|yu))!==Sl&&(_n=!0,mr=Dp),e=Xs(),t=Ku(),e!==w0||t!==Rp?w0=-1.1:t!==null&&(mr=Dp),id=e,Rp=t):(e&4194048)!==0&&0>ui&&(ui=In(),Mp=a1(t),yE=t,l!=null&&(pE=_(l)),0>Bo)&&(e=Xs(),t=Ku(),(e!==pr||t!==cd)&&(pr=-1.1),yr=e,cd=t)}function Xg(e){if(0>Rc){Rc=In(),_p=e._debugTask!=null?e._debugTask:null,(xt&(sl|yu))!==Sl&&(mr=Dp);var t=Xs(),l=Ku();t!==w0||l!==Rp?w0=-1.1:l!==null&&(mr=Dp),id=t,Rp=l}0>ui&&(ui=In(),Mp=e._debugTask!=null?e._debugTask:null,0>Bo)&&(e=Xs(),t=Ku(),(e!==pr||t!==cd)&&(pr=-1.1),yr=e,cd=t)}function Mu(){var e=ad;return ad=0,e}function ms(e){var t=ad;return ad=e,t}function Ol(e){var t=ad;return ad+=e,t}function Wc(){Xe=qe=-1.1}function ln(){var e=qe;return qe=-1.1,e}function Qn(e){0<=e&&(qe=e)}function Ma(){var e=vn;return vn=-0,e}function ta(e){0<=e&&(vn=e)}function na(){var e=mn;return mn=null,e}function xa(){var e=_n;return _n=!1,e}function pi(e){va=In(),0>e.actualStartTime&&(e.actualStartTime=va)}function lh(e){if(0<=va){var t=In()-va;e.actualDuration+=t,e.selfBaseDuration=t,va=-1}}function ef(e){if(0<=va){var t=In()-va;e.actualDuration+=t,va=-1}}function zl(){if(0<=va){var e=In(),t=e-va;va=-1,ad+=t,vn+=t,Xe=e}}function Qg(e){mn===null&&(mn=[]),mn.push(e),No===null&&(No=[]),No.push(e)}function yn(){va=In(),0>qe&&(qe=va)}function Ic(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function gi(e,t){if(Cp===null){var l=Cp=[];Ib=0,od=Yy(),N0={status:"pending",value:void 0,then:function(i){l.push(i)}}}return Ib++,t.then(Gm,Gm),t}function Gm(){if(--Ib===0&&(-1<ui||(Bo=-1.1),Cp!==null)){N0!==null&&(N0.status="fulfilled");var e=Cp;Cp=null,od=0,N0=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ah(e,t){var l=[],i={status:"pending",value:null,reason:null,then:function(o){l.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<l.length;o++)(0,l[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<l.length;o++)(0,l[o])(void 0)}),i}function vi(){var e=sd.current;return e!==null?e:Pt.pooledCache}function ys(e,t){t===null?X(sd,sd.current,e):X(sd,t.pool,e)}function Lm(){var e=vi();return e===null?null:{parent:Wn._currentValue,pool:e}}function uh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Vm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function la(e,t,l){oe.actQueue!==null&&(oe.didUsePromise=!0);var i=e.thenables;if(l=i[l],l===void 0?i.push(t):l!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(za,za),t=l),t._debugInfo===void 0){e=performance.now(),i=t.displayName;var o={name:typeof i=="string"?i:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:o}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){o.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,tf(e),e;default:if(typeof t.status=="string")t.then(za,za);else{if(e=Pt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var h=t;h.status="fulfilled",h.value=s}},function(s){if(t.status==="pending"){var h=t;h.status="rejected",h.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,tf(e),e}throw fd=t,Yp=!0,H0}}function aa(e){try{return N4(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(fd=t,Yp=!0,H0):t}}function Pc(){if(fd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=fd;return fd=null,Yp=!1,e}function tf(e){if(e===H0||e===d1)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Tn(e){var t=rt;return e!=null&&(rt=t===null?e:t.concat(e)),t}function Vl(){var e=rt;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var l=e[t].debugTask;if(l!=null)return l}}return null}function Dl(e,t,l){for(var i=Object.keys(e.props),o=0;o<i.length;o++){var s=i[o];if(s!=="children"&&s!=="key"){t===null&&(t=Fi(e,l.mode,0),t._debugInfo=rt,t.return=l),Ae(t,function(h){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",h)},s);break}}}function Fa(e){var t=qp;return qp+=1,B0===null&&(B0=uh()),la(B0,e,t)}function Xl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Wa(e,t){throw t.$$typeof===Gv?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
108
|
+
- Multiple copies of the "react" package is used.
|
|
109
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
110
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Ca(e,t){var l=Vl();l!==null?l.run(Wa.bind(null,e,t)):Wa(e,t)}function Xm(e,t){var l=_(e)||"Component";BE[l]||(BE[l]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
111
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
112
|
+
<%s>{%s}</%s>`,t,t,l,t,l))}function ps(e,t){var l=Vl();l!==null?l.run(Xm.bind(null,e,t)):Xm(e,t)}function ih(e,t){var l=_(e)||"Component";jE[l]||(jE[l]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
113
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
114
|
+
<%s>%s</%s>`,l,t,l))}function nf(e,t){var l=Vl();l!==null?l.run(ih.bind(null,e,t)):ih(e,t)}function Zn(e){function t(U,j){if(e){var Q=U.deletions;Q===null?(U.deletions=[j],U.flags|=16):Q.push(j)}}function l(U,j){if(!e)return null;for(;j!==null;)t(U,j),j=j.sibling;return null}function i(U){for(var j=new Map;U!==null;)U.key!==null?j.set(U.key,U):j.set(U.index,U),U=U.sibling;return j}function o(U,j){return U=_u(U,j),U.index=0,U.sibling=null,U}function s(U,j,Q){return U.index=Q,e?(Q=U.alternate,Q!==null?(Q=Q.index,Q<j?(U.flags|=67108866,j):Q):(U.flags|=67108866,j)):(U.flags|=1048576,j)}function h(U){return e&&U.alternate===null&&(U.flags|=67108866),U}function y(U,j,Q,he){return j===null||j.tag!==6?(j=fs(Q,U.mode,he),j.return=U,j._debugOwner=U,j._debugTask=U._debugTask,j._debugInfo=rt,j):(j=o(j,Q),j.return=U,j._debugInfo=rt,j)}function b(U,j,Q,he){var De=Q.type;return De===Fs?(j=J(U,j,Q.props.children,he,Q.key),Dl(Q,j,U),j):j!==null&&(j.elementType===De||Um(j,Q)||typeof De=="object"&&De!==null&&De.$$typeof===pl&&aa(De)===j.type)?(j=o(j,Q.props),Xl(j,Q),j.return=U,j._debugOwner=Q._owner,j._debugInfo=rt,j):(j=Fi(Q,U.mode,he),Xl(j,Q),j.return=U,j._debugInfo=rt,j)}function T(U,j,Q,he){return j===null||j.tag!==4||j.stateNode.containerInfo!==Q.containerInfo||j.stateNode.implementation!==Q.implementation?(j=Id(Q,U.mode,he),j.return=U,j._debugInfo=rt,j):(j=o(j,Q.children||[]),j.return=U,j._debugInfo=rt,j)}function J(U,j,Q,he,De){return j===null||j.tag!==7?(j=Kc(Q,U.mode,he,De),j.return=U,j._debugOwner=U,j._debugTask=U._debugTask,j._debugInfo=rt,j):(j=o(j,Q),j.return=U,j._debugInfo=rt,j)}function k(U,j,Q){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=fs(""+j,U.mode,Q),j.return=U,j._debugOwner=U,j._debugTask=U._debugTask,j._debugInfo=rt,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Ba:return Q=Fi(j,U.mode,Q),Xl(Q,j),Q.return=U,U=Tn(j._debugInfo),Q._debugInfo=rt,rt=U,Q;case Tc:return j=Id(j,U.mode,Q),j.return=U,j._debugInfo=rt,j;case pl:var he=Tn(j._debugInfo);return j=aa(j),U=k(U,j,Q),rt=he,U}if(Cn(j)||we(j))return Q=Kc(j,U.mode,Q,null),Q.return=U,Q._debugOwner=U,Q._debugTask=U._debugTask,U=Tn(j._debugInfo),Q._debugInfo=rt,rt=U,Q;if(typeof j.then=="function")return he=Tn(j._debugInfo),U=k(U,Fa(j),Q),rt=he,U;if(j.$$typeof===su)return k(U,Ir(U,j),Q);Ca(U,j)}return typeof j=="function"&&ps(U,j),typeof j=="symbol"&&nf(U,j),null}function H(U,j,Q,he){var De=j!==null?j.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return De!==null?null:y(U,j,""+Q,he);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Ba:return Q.key===De?(De=Tn(Q._debugInfo),U=b(U,j,Q,he),rt=De,U):null;case Tc:return Q.key===De?T(U,j,Q,he):null;case pl:return De=Tn(Q._debugInfo),Q=aa(Q),U=H(U,j,Q,he),rt=De,U}if(Cn(Q)||we(Q))return De!==null?null:(De=Tn(Q._debugInfo),U=J(U,j,Q,he,null),rt=De,U);if(typeof Q.then=="function")return De=Tn(Q._debugInfo),U=H(U,j,Fa(Q),he),rt=De,U;if(Q.$$typeof===su)return H(U,j,Ir(U,Q),he);Ca(U,Q)}return typeof Q=="function"&&ps(U,Q),typeof Q=="symbol"&&nf(U,Q),null}function ue(U,j,Q,he,De){if(typeof he=="string"&&he!==""||typeof he=="number"||typeof he=="bigint")return U=U.get(Q)||null,y(j,U,""+he,De);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case Ba:return Q=U.get(he.key===null?Q:he.key)||null,U=Tn(he._debugInfo),j=b(j,Q,he,De),rt=U,j;case Tc:return U=U.get(he.key===null?Q:he.key)||null,T(j,U,he,De);case pl:var Ie=Tn(he._debugInfo);return he=aa(he),j=ue(U,j,Q,he,De),rt=Ie,j}if(Cn(he)||we(he))return Q=U.get(Q)||null,U=Tn(he._debugInfo),j=J(j,Q,he,De,null),rt=U,j;if(typeof he.then=="function")return Ie=Tn(he._debugInfo),j=ue(U,j,Q,Fa(he),De),rt=Ie,j;if(he.$$typeof===su)return ue(U,j,Q,Ir(j,he),De);Ca(j,he)}return typeof he=="function"&&ps(j,he),typeof he=="symbol"&&nf(j,he),null}function Oe(U,j,Q,he){if(typeof Q!="object"||Q===null)return he;switch(Q.$$typeof){case Ba:case Tc:fe(U,j,Q);var De=Q.key;if(typeof De!="string")break;if(he===null){he=new Set,he.add(De);break}if(!he.has(De)){he.add(De);break}Ae(j,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",De)});break;case pl:Q=aa(Q),Oe(U,j,Q,he)}return he}function Re(U,j,Q,he){for(var De=null,Ie=null,Ye=null,Be=j,ct=j=0,rn=null;Be!==null&&ct<Q.length;ct++){Be.index>ct?(rn=Be,Be=null):rn=Be.sibling;var Ln=H(U,Be,Q[ct],he);if(Ln===null){Be===null&&(Be=rn);break}De=Oe(U,Ln,Q[ct],De),e&&Be&&Ln.alternate===null&&t(U,Be),j=s(Ln,j,ct),Ye===null?Ie=Ln:Ye.sibling=Ln,Ye=Ln,Be=rn}if(ct===Q.length)return l(U,Be),Et&&Ka(U,ct),Ie;if(Be===null){for(;ct<Q.length;ct++)Be=k(U,Q[ct],he),Be!==null&&(De=Oe(U,Be,Q[ct],De),j=s(Be,j,ct),Ye===null?Ie=Be:Ye.sibling=Be,Ye=Be);return Et&&Ka(U,ct),Ie}for(Be=i(Be);ct<Q.length;ct++)rn=ue(Be,U,ct,Q[ct],he),rn!==null&&(De=Oe(U,rn,Q[ct],De),e&&rn.alternate!==null&&Be.delete(rn.key===null?ct:rn.key),j=s(rn,j,ct),Ye===null?Ie=rn:Ye.sibling=rn,Ye=rn);return e&&Be.forEach(function(Qo){return t(U,Qo)}),Et&&Ka(U,ct),Ie}function tn(U,j,Q,he){if(Q==null)throw Error("An iterable object provided no iterator.");for(var De=null,Ie=null,Ye=j,Be=j=0,ct=null,rn=null,Ln=Q.next();Ye!==null&&!Ln.done;Be++,Ln=Q.next()){Ye.index>Be?(ct=Ye,Ye=null):ct=Ye.sibling;var Qo=H(U,Ye,Ln.value,he);if(Qo===null){Ye===null&&(Ye=ct);break}rn=Oe(U,Qo,Ln.value,rn),e&&Ye&&Qo.alternate===null&&t(U,Ye),j=s(Qo,j,Be),Ie===null?De=Qo:Ie.sibling=Qo,Ie=Qo,Ye=ct}if(Ln.done)return l(U,Ye),Et&&Ka(U,Be),De;if(Ye===null){for(;!Ln.done;Be++,Ln=Q.next())Ye=k(U,Ln.value,he),Ye!==null&&(rn=Oe(U,Ye,Ln.value,rn),j=s(Ye,j,Be),Ie===null?De=Ye:Ie.sibling=Ye,Ie=Ye);return Et&&Ka(U,Be),De}for(Ye=i(Ye);!Ln.done;Be++,Ln=Q.next())ct=ue(Ye,U,Be,Ln.value,he),ct!==null&&(rn=Oe(U,ct,Ln.value,rn),e&&ct.alternate!==null&&Ye.delete(ct.key===null?Be:ct.key),j=s(ct,j,Be),Ie===null?De=ct:Ie.sibling=ct,Ie=ct);return e&&Ye.forEach(function(az){return t(U,az)}),Et&&Ka(U,Be),De}function At(U,j,Q,he){if(typeof Q=="object"&&Q!==null&&Q.type===Fs&&Q.key===null&&(Dl(Q,null,U),Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Ba:var De=Tn(Q._debugInfo);e:{for(var Ie=Q.key;j!==null;){if(j.key===Ie){if(Ie=Q.type,Ie===Fs){if(j.tag===7){l(U,j.sibling),he=o(j,Q.props.children),he.return=U,he._debugOwner=Q._owner,he._debugInfo=rt,Dl(Q,he,U),U=he;break e}}else if(j.elementType===Ie||Um(j,Q)||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===pl&&aa(Ie)===j.type){l(U,j.sibling),he=o(j,Q.props),Xl(he,Q),he.return=U,he._debugOwner=Q._owner,he._debugInfo=rt,U=he;break e}l(U,j);break}else t(U,j);j=j.sibling}Q.type===Fs?(he=Kc(Q.props.children,U.mode,he,Q.key),he.return=U,he._debugOwner=U,he._debugTask=U._debugTask,he._debugInfo=rt,Dl(Q,he,U),U=he):(he=Fi(Q,U.mode,he),Xl(he,Q),he.return=U,he._debugInfo=rt,U=he)}return U=h(U),rt=De,U;case Tc:e:{for(De=Q,Q=De.key;j!==null;){if(j.key===Q)if(j.tag===4&&j.stateNode.containerInfo===De.containerInfo&&j.stateNode.implementation===De.implementation){l(U,j.sibling),he=o(j,De.children||[]),he.return=U,U=he;break e}else{l(U,j);break}else t(U,j);j=j.sibling}he=Id(De,U.mode,he),he.return=U,U=he}return h(U);case pl:return De=Tn(Q._debugInfo),Q=aa(Q),U=At(U,j,Q,he),rt=De,U}if(Cn(Q))return De=Tn(Q._debugInfo),U=Re(U,j,Q,he),rt=De,U;if(we(Q)){if(De=Tn(Q._debugInfo),Ie=we(Q),typeof Ie!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ye=Ie.call(Q);return Ye===Q?(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ye)!=="[object Generator]")&&(NE||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),NE=!0):Q.entries!==Ie||nS||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),nS=!0),U=tn(U,j,Ye,he),rt=De,U}if(typeof Q.then=="function")return De=Tn(Q._debugInfo),U=At(U,j,Fa(Q),he),rt=De,U;if(Q.$$typeof===su)return At(U,j,Ir(U,Q),he);Ca(U,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(De=""+Q,j!==null&&j.tag===6?(l(U,j.sibling),he=o(j,De),he.return=U,U=he):(l(U,j),he=fs(De,U.mode,he),he.return=U,he._debugOwner=U,he._debugTask=U._debugTask,he._debugInfo=rt,U=he),h(U)):(typeof Q=="function"&&ps(U,Q),typeof Q=="symbol"&&nf(U,Q),l(U,j))}return function(U,j,Q,he){var De=rt;rt=null;try{qp=0;var Ie=At(U,j,Q,he);return B0=null,Ie}catch(rn){if(rn===H0||rn===d1)throw rn;var Ye=V(29,rn,null,U.mode);Ye.lanes=he,Ye.return=U;var Be=Ye._debugInfo=rt;if(Ye._debugOwner=U._debugOwner,Ye._debugTask=U._debugTask,Be!=null){for(var ct=Be.length-1;0<=ct;ct--)if(typeof Be[ct].stack=="string"){Ye._debugOwner=Be[ct],Ye._debugTask=Be[ct].debugTask;break}}return Ye}finally{rt=De}}}function $t(e,t){var l=Cn(e);return e=!l&&typeof we(e)=="function",l||e?(l=l?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",l,t,l),!1):!0}function vt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Hn(e){return{lane:e,tag:qE,payload:null,callback:null,next:null}}function Cu(e,t,l){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,aS===i&&!VE){var o=_(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
115
|
+
|
|
116
|
+
Please update the following component: %s`,o),VE=!0}return(xt&sl)!==Sl?(o=i.pending,o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=$r(e),Cm(e,null,l),t):(rs(e,i,t,l),$r(e))}function Ua(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,l|=i,t.lanes=l,Yr(e,l)}}function lf(e,t){var l=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,l===i)){var o=null,s=null;if(l=l.firstBaseUpdate,l!==null){do{var h={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};s===null?o=s=h:s=s.next=h,l=l.next}while(l!==null);s===null?o=s=t:s=s.next=t}else o=s=t;l={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}function gs(){if(uS){var e=N0;if(e!==null)throw e}}function Uu(e,t,l,i){uS=!1;var o=e.updateQueue;gr=!1,aS=o.shared;var s=o.firstBaseUpdate,h=o.lastBaseUpdate,y=o.shared.pending;if(y!==null){o.shared.pending=null;var b=y,T=b.next;b.next=null,h===null?s=T:h.next=T,h=b;var J=e.alternate;J!==null&&(J=J.updateQueue,y=J.lastBaseUpdate,y!==h&&(y===null?J.firstBaseUpdate=T:y.next=T,J.lastBaseUpdate=b))}if(s!==null){var k=o.baseState;h=0,J=T=b=null,y=s;do{var H=y.lane&-536870913,ue=H!==y.lane;if(ue?(ft&H)===H:(i&H)===H){H!==0&&H===od&&(uS=!0),J!==null&&(J=J.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{H=e;var Oe=y,Re=t,tn=l;switch(Oe.tag){case GE:if(Oe=Oe.payload,typeof Oe=="function"){U0=!0;var At=Oe.call(tn,k,Re);if(H.mode&Fl){Ce(!0);try{Oe.call(tn,k,Re)}finally{Ce(!1)}}U0=!1,k=At;break e}k=Oe;break e;case lS:H.flags=H.flags&-65537|128;case qE:if(At=Oe.payload,typeof At=="function"){if(U0=!0,Oe=At.call(tn,k,Re),H.mode&Fl){Ce(!0);try{At.call(tn,k,Re)}finally{Ce(!1)}}U0=!1}else Oe=At;if(Oe==null)break e;k=ot({},k,Oe);break e;case LE:gr=!0}}H=y.callback,H!==null&&(e.flags|=64,ue&&(e.flags|=8192),ue=o.callbacks,ue===null?o.callbacks=[H]:ue.push(H))}else ue={lane:H,tag:y.tag,payload:y.payload,callback:y.callback,next:null},J===null?(T=J=ue,b=k):J=J.next=ue,h|=H;if(y=y.next,y===null){if(y=o.shared.pending,y===null)break;ue=y,y=ue.next,ue.next=null,o.lastBaseUpdate=ue,o.shared.pending=null}}while(!0);J===null&&(b=k),o.baseState=b,o.firstBaseUpdate=T,o.lastBaseUpdate=J,s===null&&(o.shared.lanes=0),Sr|=h,e.lanes=h,e.memoizedState=k}aS=null}function tc(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Qm(e,t){var l=e.shared.hiddenCallbacks;if(l!==null)for(e.shared.hiddenCallbacks=null,e=0;e<l.length;e++)tc(l[e],t)}function vs(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)tc(l[e],t)}function ch(e,t){var l=xc;X(m1,l,e),X(j0,t,e),xc=l|t.baseLanes}function bi(e){X(m1,xc,e),X(j0,j0.current,e)}function Ia(e){xc=m1.current,N(j0,e),N(m1,e)}function _l(e){var t=e.alternate;X(Gn,Gn.current&Y0,e),X(hu,e,e),ii===null&&(t===null||j0.current!==null||t.memoizedState!==null)&&(ii=e)}function Pa(e){X(Gn,Gn.current,e),X(hu,e,e),ii===null&&(ii=e)}function oh(e){e.tag===22?(X(Gn,Gn.current,e),X(hu,e,e),ii===null&&(ii=e)):wu(e)}function wu(e){X(Gn,Gn.current,e),X(hu,hu.current,e)}function Jn(e){N(hu,e),ii===e&&(ii=null),N(Gn,e)}function eo(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Gf(l)||Ly(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Fe(){var e=ce;oi===null?oi=[e]:oi.push(e)}function ge(){var e=ce;if(oi!==null&&(qo++,oi[qo]!==e)){var t=_(We);if(!XE.has(t)&&(XE.add(t),oi!==null)){for(var l="",i=0;i<=qo;i++){var o=oi[i],s=i===qo?e:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=s+`
|
|
117
|
+
`,l+=o}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
118
|
+
|
|
119
|
+
Previous render Next render
|
|
120
|
+
------------------------------------------------------
|
|
121
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
122
|
+
`,t,l)}}}function Si(e){e==null||Cn(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ce,typeof e)}function af(){var e=_(We);ZE.has(e)||(ZE.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function pn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
123
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
124
|
+
2. You might be breaking the Rules of Hooks
|
|
125
|
+
3. You might have more than one copy of React in the same app
|
|
126
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Zm(e,t){if(Vp)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ce),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
127
|
+
|
|
128
|
+
Previous: %s
|
|
129
|
+
Incoming: %s`,ce,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<t.length&&l<e.length;l++)if(!ga(e[l],t[l]))return!1;return!0}function Jm(e,t,l,i,o,s){jo=s,We=t,oi=e!==null?e._debugHookTypes:null,qo=-1,Vp=e!==null&&e.type!==t.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(s=_(We),iS.has(s)||(iS.add(s),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",s===null?"An unknown Component":"<"+s+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,oe.H=e!==null&&e.memoizedState!==null?oS:oi!==null?JE:cS,hd=s=(t.mode&Fl)!==ke;var h=Pb(l,i,o);if(hd=!1,G0&&(h=uf(t,l,i,o)),s){Ce(!0);try{h=uf(t,l,i,o)}finally{Ce(!1)}}return An(e,t),h}function An(e,t){t._debugHookTypes=oi,t.dependencies===null?Yo!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Yo}):t.dependencies._debugThenableState=Yo,oe.H=Xp;var l=It!==null&&It.next!==null;if(jo=0,oi=ce=Pn=It=We=null,qo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),p1=!1,Lp=0,Yo=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||el||(e=e.dependencies,e!==null&&hs(e)&&(el=!0)),Yp?(Yp=!1,e=!0):e=!1,e&&(t=_(t)||"Unknown",QE.has(t)||iS.has(t)||(QE.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function uf(e,t,l,i){We=e;var o=0;do{if(G0&&(Yo=null),Lp=0,G0=!1,o>=B4)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,Vp=!1,Pn=It=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}qo=-1,oe.H=KE,s=Pb(t,l,i)}while(G0);return s}function cf(){var e=oe.H,t=e.useState()[0];return t=typeof t.then=="function"?rf(t):t,e=e.useState()[0],(It!==null?It.memoizedState:null)!==e&&(We.flags|=1024),t}function to(){var e=g1!==0;return g1=0,e}function of(e,t,l){t.updateQueue=e.updateQueue,t.flags=(t.mode&Hi)!==ke?t.flags&-402655237:t.flags&-2053,e.lanes&=~l}function nc(e){if(p1){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}p1=!1}jo=0,oi=Pn=It=We=null,qo=-1,ce=null,G0=!1,Lp=g1=0,Yo=null}function Mn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pn===null?We.memoizedState=Pn=e:Pn=Pn.next=e,Pn}function Yt(){if(It===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=It.next;var t=Pn===null?We.memoizedState:Pn.next;if(t!==null)Pn=t,It=e;else{if(e===null)throw We.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");It=e,e={memoizedState:It.memoizedState,baseState:It.baseState,baseQueue:It.baseQueue,queue:It.queue,next:null},Pn===null?We.memoizedState=Pn=e:Pn=Pn.next=e}return Pn}function sf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function rf(e){var t=Lp;return Lp+=1,Yo===null&&(Yo=uh()),e=la(Yo,e,t),t=We,(Pn===null?t.memoizedState:Pn.next)===null&&(t=t.alternate,oe.H=t!==null&&t.memoizedState!==null?oS:cS),e}function Ei(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return rf(e);if(e.$$typeof===su)return Nt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function ua(e){var t=null,l=We.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var i=We.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=sf(),We.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0||Vp)for(l=t.data[t.index]=Array(e),i=0;i<e;i++)l[i]=Db;else l.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",l.length,e);return t.index++,l}function ia(e,t){return typeof t=="function"?t(e):t}function bs(e,t,l){var i=Mn();if(l!==void 0){var o=l(t);if(hd){Ce(!0);try{l(t)}finally{Ce(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=Eb.bind(null,We,e),[i.memoizedState,e]}function no(e){var t=Yt();return lc(t,It,e)}function lc(e,t,l){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=l;var o=e.baseQueue,s=i.pending;if(s!==null){if(o!==null){var h=o.next;o.next=s.next,s.next=h}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=s,i.pending=null}if(s=e.baseState,o===null)e.memoizedState=s;else{t=o.next;var y=h=null,b=null,T=t,J=!1;do{var k=T.lane&-536870913;if(k!==T.lane?(ft&k)===k:(jo&k)===k){var H=T.revertLane;if(H===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),k===od&&(J=!0);else if((jo&H)===H){T=T.next,H===od&&(J=!0);continue}else k={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},b===null?(y=b=k,h=s):b=b.next=k,We.lanes|=H,Sr|=H;k=T.action,hd&&l(s,k),s=T.hasEagerState?T.eagerState:l(s,k)}else H={lane:k,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},b===null?(y=b=H,h=s):b=b.next=H,We.lanes|=k,Sr|=k;T=T.next}while(T!==null&&T!==t);if(b===null?h=s:b.next=y,!ga(s,e.memoizedState)&&(el=!0,J&&(l=N0,l!==null)))throw l;e.memoizedState=s,e.baseState=h,e.baseQueue=b,i.lastRenderedState=s}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function lo(e){var t=Yt(),l=t.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var i=l.dispatch,o=l.pending,s=t.memoizedState;if(o!==null){l.pending=null;var h=o=o.next;do s=e(s,h.action),h=h.next;while(h!==o);ga(s,t.memoizedState)||(el=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),l.lastRenderedState=s}return[s,i]}function Ss(e,t,l){var i=We,o=Mn();if(Et){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=l();q0||s===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),q0=!0)}else{if(s=t(),q0||(l=t(),ga(s,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),q0=!0)),Pt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ft&127)!==0||Km(i,t,s)}return o.memoizedState=s,l={value:s,getSnapshot:t},o.queue=l,io(ac.bind(null,i,l,e),[e]),i.flags|=2048,Nu(ci|Sa,{destroy:void 0},km.bind(null,i,l,s,t),null),s}function ao(e,t,l){var i=We,o=Yt(),s=Et;if(s){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=t(),!q0){var h=t();ga(l,h)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),q0=!0)}(h=!ga((It||o).memoizedState,l))&&(o.memoizedState=l,el=!0),o=o.queue;var y=ac.bind(null,i,o,e);if(Bn(2048,Sa,y,[e]),o.getSnapshot!==t||h||Pn!==null&&Pn.memoizedState.tag&ci){if(i.flags|=2048,Nu(ci|Sa,{destroy:void 0},km.bind(null,i,o,l,t),null),Pt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(jo&127)!==0||Km(i,t,l)}return l}function Km(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=We.updateQueue,t===null?(t=sf(),We.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function km(e,t,l,i){t.value=l,t.getSnapshot=i,uc(t)&&$m(e)}function ac(e,t,l){return l(function(){uc(t)&&(Ru(2,"updateSyncExternalStore()",e),$m(e))})}function uc(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!ga(e,l)}catch{return!0}}function $m(e){var t=hl(e,2);t!==null&&$e(t,e,2)}function sh(e){var t=Mn();if(typeof e=="function"){var l=e;if(e=l(),hd){Ce(!0);try{l()}finally{Ce(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:e},t}function ic(e){e=sh(e);var t=e.queue,l=yh.bind(null,We,t);return t.dispatch=l,[e.memoizedState,l]}function uo(e){var t=Mn();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=gf.bind(null,We,!0,l),l.dispatch=t,[e,t]}function ff(e,t){var l=Yt();return Es(l,It,e,t)}function Es(e,t,l,i){return e.baseState=l,lc(e,It,typeof i=="function"?i:ia)}function df(e,t){var l=Yt();return It!==null?Es(l,It,e,t):(l.baseState=e,[e,l.queue.dispatch])}function Zg(e,t,l,i,o){if(Kn(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){s.listeners.push(h)}};oe.T!==null?l(!0):s.isTransition=!1,i(s),l=t.pending,l===null?(s.next=t.pending=s,cc(t,s)):(s.next=l.next,t.pending=l.next=s)}}function cc(e,t){var l=t.action,i=t.payload,o=e.state;if(t.isTransition){var s=oe.T,h={};h._updatedFibers=new Set,oe.T=h;try{var y=l(o,i),b=oe.S;b!==null&&b(h,y),Fm(e,t,y)}catch(T){hf(e,t,T)}finally{s!==null&&h.types!==null&&(s.types!==null&&s.types!==h.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),s.types=h.types),oe.T=s,s===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{h=l(o,i),Fm(e,t,h)}catch(T){hf(e,t,T)}}function Fm(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(oe.asyncTransitions++,l.then(co,co),l.then(function(i){Ti(e,t,i)},function(i){return hf(e,t,i)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Ti(e,t,l)}function Ti(e,t,l){t.status="fulfilled",t.value=l,rh(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,cc(e,l)))}function hf(e,t,l){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=l,rh(t),t=t.next;while(t!==i)}e.action=null}function rh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ai(e,t){return t}function ca(e,t){if(Et){var l=Pt.formState;if(l!==null){e:{var i=We;if(Et){if(sn){t:{for(var o=sn,s=ai;o.nodeType!==8;){if(!s){o=null;break t}if(o=ha(o.nextSibling),o===null){o=null;break t}}s=o.data,o=s===CS||s===UT?o:null}if(o){sn=ha(o.nextSibling),i=o.data===CS;break e}}_a(i)}i=!1}i&&(t=l[0])}}return l=Mn(),l.memoizedState=l.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ai,lastRenderedState:t},l.queue=i,l=yh.bind(null,We,i),i.dispatch=l,i=sh(!1),s=gf.bind(null,We,!1,i.queue),i=Mn(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,l=Zg.bind(null,We,o,s,l),o.dispatch=l,i.memoizedState=e,[t,l,!1]}function oc(e){var t=Yt();return fh(t,It,e)}function fh(e,t,l){if(t=lc(e,t,Ai)[0],e=no(ia)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=rf(t)}catch(h){throw h===H0?d1:h}else i=t;t=Yt();var o=t.queue,s=o.dispatch;return l!==t.memoizedState&&(We.flags|=2048,Nu(ci|Sa,{destroy:void 0},Wm.bind(null,o,l),null)),[i,s,e]}function Wm(e,t){e.action=t}function sc(e){var t=Yt(),l=It;if(l!==null)return fh(t,l,e);Yt(),t=t.memoizedState,l=Yt();var i=l.queue.dispatch;return l.memoizedState=e,[t,i,!1]}function Nu(e,t,l,i){return e={tag:e,create:l,deps:i,inst:t,next:null},t=We.updateQueue,t===null&&(t=sf(),We.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(i=l.next,l.next=e,e.next=i,t.lastEffect=e),e}function dh(e){var t=Mn();return e={current:e},t.memoizedState=e}function rc(e,t,l,i){var o=Mn();We.flags|=e,o.memoizedState=Nu(ci|t,{destroy:void 0},l,i===void 0?null:i)}function Bn(e,t,l,i){var o=Yt();i=i===void 0?null:i;var s=o.memoizedState.inst;It!==null&&i!==null&&Zm(i,It.memoizedState.deps)?o.memoizedState=Nu(t,s,l,i):(We.flags|=e,o.memoizedState=Nu(ci|t,s,l,i))}function io(e,t){(We.mode&Hi)!==ke?rc(276826112,Sa,e,t):rc(8390656,Sa,e,t)}function Jg(e){We.flags|=4;var t=We.updateQueue;if(t===null)t=sf(),We.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function mf(e){var t=Mn(),l={impl:e};return t.memoizedState=l,function(){if((xt&sl)!==Sl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return l.impl.apply(void 0,arguments)}}function Ts(e){var t=Yt().memoizedState;return Jg({ref:t,nextImpl:e}),function(){if((xt&sl)!==Sl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Rl(e,t){var l=4194308;return(We.mode&Hi)!==ke&&(l|=134217728),rc(l,mu,e,t)}function oa(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Hu(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null;var i=4194308;(We.mode&Hi)!==ke&&(i|=134217728),rc(i,mu,oa.bind(null,t,e),l)}function As(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null,Bn(4,mu,oa.bind(null,t,e),l)}function hh(e,t){return Mn().memoizedState=[e,t===void 0?null:t],e}function eu(e,t){var l=Yt();t=t===void 0?null:t;var i=l.memoizedState;return t!==null&&Zm(t,i[1])?i[0]:(l.memoizedState=[e,t],e)}function Ml(e,t){var l=Mn();t=t===void 0?null:t;var i=e();if(hd){Ce(!0);try{e()}finally{Ce(!1)}}return l.memoizedState=[i,t],i}function an(e,t){var l=Yt();t=t===void 0?null:t;var i=l.memoizedState;if(t!==null&&Zm(t,i[1]))return i[0];if(i=e(),hd){Ce(!0);try{e()}finally{Ce(!1)}}return l.memoizedState=[i,t],i}function Os(e,t){var l=Mn();return qt(l,e,t)}function Bu(e,t){var l=Yt();return On(l,It.memoizedState,e,t)}function nt(e,t){var l=Yt();return It===null?qt(l,e,t):On(l,It.memoizedState,e,t)}function qt(e,t,l){return l===void 0||(jo&1073741824)!==0&&(ft&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Us(),We.lanes|=e,Sr|=e,l)}function On(e,t,l,i){return ga(l,t)?l:j0.current!==null?(e=qt(e,l,i),ga(e,t)||(el=!0),e):(jo&42)===0||(jo&1073741824)!==0&&(ft&261930)===0?(el=!0,e.memoizedState=l):(e=Us(),We.lanes|=e,Sr|=e,t)}function co(){oe.asyncTransitions--}function oo(e,t,l,i,o){var s=Bt.p;Bt.p=s!==0&&s<cl?s:cl;var h=oe.T,y={};y._updatedFibers=new Set,oe.T=y,gf(e,!1,t,l);try{var b=o(),T=oe.S;if(T!==null&&T(y,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){oe.asyncTransitions++,b.then(co,co);var J=ah(b,i);so(e,t,J,yl(e))}else so(e,t,i,yl(e))}catch(k){so(e,t,{then:function(){},status:"rejected",reason:k},yl(e))}finally{Bt.p=s,h!==null&&y.types!==null&&(h.types!==null&&h.types!==y.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),h.types=y.types),oe.T=h,h===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Oi(e,t,l,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=yf(e).queue;Xg(e),oo(e,o,t,Od,l===null?F:function(){return zs(e),l(i)})}function yf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Od,baseState:Od,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:Od},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function zs(e){oe.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=yf(e);t.next===null&&(t=e.alternate.memoizedState),so(e,t.next.queue,{},yl(e))}function fc(){var e=sh(!1);return e=oo.bind(null,We,e.queue,!0,!1),Mn().memoizedState=e,[!1,e]}function Kg(){var e=no(ia)[0],t=Yt().memoizedState;return[typeof e=="boolean"?e:rf(e),t]}function fn(){var e=lo(ia)[0],t=Yt().memoizedState;return[typeof e=="boolean"?e:rf(e),t]}function zi(){return Nt(ag)}function pf(){var e=Mn(),t=Pt.identifierPrefix;if(Et){var l=Uo,i=Co;l=(i&~(1<<32-il(i)-1)).toString(32)+l,t="_"+t+"R_"+l,l=g1++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=H4++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t}function mh(){return Mn().memoizedState=kg.bind(null,We)}function kg(e,t){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var i=yl(l),o=Hn(i),s=Cu(l,o,i);s!==null&&(Ru(i,"refresh()",e),$e(s,l,i),Ua(s,l,i)),e=nh(),t!=null&&s!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:e};return}l=l.return}}function Eb(e,t,l){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=yl(e);var o={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};Kn(e)?gn(t,o):(o=Qc(e,t,o,i),o!==null&&(Ru(i,"dispatch()",e),$e(o,e,i),vf(o,t,i)))}function yh(e,t,l){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=yl(e),so(e,t,l,i)&&Ru(i,"setState()",e)}function so(e,t,l,i){var o={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Kn(e))gn(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var h=oe.H;oe.H=ji;try{var y=t.lastRenderedState,b=s(y,l);if(o.hasEagerState=!0,o.eagerState=b,ga(b,y))return rs(e,t,o,0),Pt===null&&Fd(),!1}catch{}finally{oe.H=h}}if(l=Qc(e,t,o,i),l!==null)return $e(l,e,i),vf(l,t,i),!0}return!1}function gf(e,t,l,i){if(oe.T===null&&od===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),i={lane:2,revertLane:Yy(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Kn(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Qc(e,l,i,2),t!==null&&(Ru(2,"setOptimistic()",e),$e(t,e,2))}function Kn(e){var t=e.alternate;return e===We||t!==null&&t===We}function gn(e,t){G0=p1=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function vf(e,t,l){if((l&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,l|=i,t.lanes=l,Yr(e,l)}}function ro(e){if(e!==null&&typeof e!="function"){var t=String(e);aT.has(t)||(aT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Ds(e,t,l,i){var o=e.memoizedState,s=l(i,o);if(e.mode&Fl){Ce(!0);try{s=l(i,o)}finally{Ce(!1)}}s===void 0&&(t=D(t)||"Component",eT.has(t)||(eT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=s==null?o:ot({},o,s),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function ph(e,t,l,i,o,s,h){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){if(l=y.shouldComponentUpdate(i,s,h),e.mode&Fl){Ce(!0);try{l=y.shouldComponentUpdate(i,s,h)}finally{Ce(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",D(t)||"Component"),l}return t.prototype&&t.prototype.isPureReactComponent?!ss(l,i)||!ss(o,s):!0}function ju(e,t,l,i){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,i),t.state!==o&&(e=_(e)||"Component",$E.has(e)||($E.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),sS.enqueueReplaceState(t,t.state,null))}function Yu(e,t){var l=t;if("ref"in t){l={};for(var i in t)i!=="ref"&&(l[i]=t[i])}if(e=e.defaultProps){l===t&&(l=ot({},l));for(var o in e)l[o]===void 0&&(l[o]=e[o])}return l}function gh(e){Gb(e),console.warn(`%s
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
`,L0?"An error occurred in the <"+L0+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
133
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function vh(e){var t=L0?"The above error occurred in the <"+L0+"> component.":"The above error occurred in one of your React components.",l="React will try to recreate this component tree from scratch using the error boundary you provided, "+((rS||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
|
|
134
|
+
|
|
135
|
+
%s
|
|
136
|
+
|
|
137
|
+
%s
|
|
138
|
+
`,e,t,l].slice(0),typeof e[0]=="string"?e.splice(0,1,GT+" "+e[0],LT,V1+i+V1,VT):e.splice(0,0,GT,LT,V1+i+V1,VT),e.unshift(console),i=nz.apply(console.error,e),i()}else console.error(`%o
|
|
139
|
+
|
|
140
|
+
%s
|
|
141
|
+
|
|
142
|
+
%s
|
|
143
|
+
`,e,t,l)}function Im(e){Gb(e)}function bf(e,t){try{L0=t.source?_(t.source):null,rS=null;var l=t.value;if(oe.actQueue!==null)oe.thrownErrors.push(l);else{var i=e.onUncaughtError;i(l,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function Pm(e,t,l){try{L0=l.source?_(l.source):null,rS=_(t);var i=e.onCaughtError;i(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function bh(e,t,l){return l=Hn(l),l.tag=lS,l.payload={element:null},l.callback=function(){Ae(t.source,bf,e,t)},l}function Sh(e){return e=Hn(e),e.tag=lS,e}function Eh(e,t,l,i){var o=l.type.getDerivedStateFromError;if(typeof o=="function"){var s=i.value;e.payload=function(){return o(s)},e.callback=function(){Zc(l),Ae(i.source,Pm,t,l,i)}}var h=l.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){Zc(l),Ae(i.source,Pm,t,l,i),typeof o!="function"&&(Tr===null?Tr=new Set([this]):Tr.add(this)),C4(this,i),typeof o=="function"||(l.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",_(l)||"Unknown")})}function ey(e,t,l,i,o){if(l.flags|=32768,Wu&&js(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=l.alternate,t!==null&&$a(t,l,o,!0),Et&&(_c=!0),l=hu.current,l!==null){switch(l.tag){case 31:case 13:return ii===null?Ns():l.alternate===null&&bn===Lo&&(bn=S1),l.flags&=-257,l.flags|=65536,l.lanes=o,i===h1?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([i]):t.add(i),Lh(e,i,o)),!1;case 22:return l.flags|=65536,i===h1?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([i]):l.add(i)),Lh(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+l.tag+"). This is a bug in React.")}return Lh(e,i,o),Ns(),!1}if(Et)return _c=!0,t=hu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==Jb&&Wr(Al(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),l))):(i!==Jb&&Wr(Al(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),l)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Al(i,l),o=bh(e.stateNode,i,o),lf(e,o),bn!==vr&&(bn=md)),!1;var s=Al(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),l);if($p===null?$p=[s]:$p.push(s),bn!==vr&&(bn=md),t===null)return!0;i=Al(i,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=o&-o,l.lanes|=e,e=bh(l.stateNode,i,e),lf(l,e),!1;case 1:if(t=l.type,s=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Tr===null||!Tr.has(s))))return l.flags|=65536,o&=-o,l.lanes|=o,o=Sh(o),Eh(o,e,l,i),lf(l,o),!1}l=l.return}while(l!==null);return!1}function kn(e,t,l,i){t.child=e===null?YE(t,null,l,i):dd(t,e.child,l,i)}function $g(e,t,l,i,o){l=l.render;var s=t.ref;if("ref"in i){var h={};for(var y in i)y!=="ref"&&(h[y]=i[y])}else h=i;return ec(t),i=Jm(e,t,l,h,s,o),y=to(),e!==null&&!el?(of(e,t,o),tu(e,t,o)):(Et&&y&&Pd(t),t.flags|=1,kn(e,t,i,o),t.child)}function ty(e,t,l,i,o){if(e===null){var s=l.type;return typeof s=="function"&&!wm(s)&&s.defaultProps===void 0&&l.compare===null?(l=$i(s),t.tag=15,t.type=l,_s(t,s),ny(e,t,l,i,o)):(e=Jc(l.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Dh(e,o)){var h=s.memoizedProps;if(l=l.compare,l=l!==null?l:ss,l(h,i)&&e.ref===t.ref)return tu(e,t,o)}return t.flags|=1,e=_u(s,i),e.ref=t.ref,e.return=t,t.child=e}function ny(e,t,l,i,o){if(e!==null){var s=e.memoizedProps;if(ss(s,i)&&e.ref===t.ref&&t.type===e.type)if(el=!1,t.pendingProps=i=s,Dh(e,o))(e.flags&131072)!==0&&(el=!0);else return t.lanes=e.lanes,tu(e,t,o)}return iy(e,t,l,i,o)}function ly(e,t,l,i){var o=i.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Op,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|l:l,e!==null){for(i=t.child=e.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~s}else i=0,t.child=null;return ay(e,t,s,l,i)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ys(t,s!==null?s.cachePool:null),s!==null?ch(t,s):bi(t),oh(t);else return i=t.lanes=536870912,ay(e,t,s!==null?s.baseLanes|l:l,l,i)}else s!==null?(ys(t,s.cachePool),ch(t,s),wu(t),t.memoizedState=null):(e!==null&&ys(t,null),bi(t),wu(t));return kn(e,t,o,l),t.child}function fo(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Op,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ay(e,t,l,i,o){var s=vi();return s=s===null?null:{parent:Wn._currentValue,pool:s},t.memoizedState={baseLanes:l,cachePool:s},e!==null&&ys(t,null),bi(t),oh(t),e!==null&&$a(e,t,i,!0),t.childLanes=o,null}function Sf(e,t){var l=t.hidden;return l!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
144
|
+
- <Activity %s>
|
|
145
|
+
+ <Activity %s>`,l===!0?"hidden":l===!1?"hidden={false}":"hidden={...}",l?'mode="hidden"':'mode="visible"'),t=Tf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function uy(e,t,l){return dd(t,e.child,null,l),e=Sf(t,t.pendingProps),e.flags|=2,Jn(t),t.memoizedState=null,e}function Fg(e,t,l){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Et){if(i.mode==="hidden")return e=Sf(t,i),t.lanes=536870912,fo(null,e);if(Pa(t),(e=sn)?(l=Lt(e,ai),l=l!==null&&l.data===Sd?l:null,l!==null&&(i={dehydrated:l,treeContext:Gg(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Hm(l),i.return=t,t.child=i,Yl=t,sn=null)):l=null,l===null)throw ml(t,e),_a(t);return t.lanes=536870912,null}return Sf(t,i)}var s=e.memoizedState;if(s!==null){var h=s.dehydrated;if(Pa(t),o)if(t.flags&256)t.flags&=-257,t=uy(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Vg(),(l&536870912)!==0&&ws(t),el||$a(e,t,l,!1),o=(l&e.childLanes)!==0,el||o){if(i=Pt,i!==null&&(h=Hc(i,l),h!==0&&h!==s.retryLane))throw s.retryLane=h,hl(e,h),$e(i,e,h),fS;Ns(),t=uy(e,t,l)}else e=s.treeContext,sn=ha(h.nextSibling),Yl=t,Et=!0,dr=null,_c=!1,du=null,ai=!1,e!==null&&Lg(t,e),t=Sf(t,i),t.flags|=4096;return t}return s=e.child,i={mode:i.mode,children:i.children},(l&536870912)!==0&&(l&e.lanes)!==0&&ws(t),e=_u(s,i),e.ref=t.ref,t.child=e,e.return=t,e}function Ef(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==l)&&(t.flags|=4194816)}}function iy(e,t,l,i,o){if(l.prototype&&typeof l.prototype.render=="function"){var s=D(l)||"Unknown";uT[s]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",s,s),uT[s]=!0)}return t.mode&Fl&&Bi.recordLegacyContextWarning(t,null),e===null&&(_s(t,t.type),l.contextTypes&&(s=D(l)||"Unknown",cT[s]||(cT[s]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",s)))),ec(t),l=Jm(e,t,l,i,void 0,o),i=to(),e!==null&&!el?(of(e,t,o),tu(e,t,o)):(Et&&i&&Pd(t),t.flags|=1,kn(e,t,l,o),t.child)}function cy(e,t,l,i,o,s){return ec(t),qo=-1,Vp=e!==null&&e.type!==t.type,t.updateQueue=null,l=uf(t,i,l,o),An(e,t),i=to(),e!==null&&!el?(of(e,t,s),tu(e,t,s)):(Et&&i&&Pd(t),t.flags|=1,kn(e,t,l,s),t.child)}function ho(e,t,l,i,o){switch(q(t)){case!1:var s=t.stateNode,h=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,h,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var y=o&-o;if(t.lanes|=y,h=Pt,h===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");y=Sh(y),Eh(y,h,t,Al(s,t)),lf(t,y)}if(ec(t),t.stateNode===null){if(h=fr,s=l.contextType,"contextType"in l&&s!==null&&(s===void 0||s.$$typeof!==su)&&!lT.has(l)&&(lT.add(l),y=s===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof s!="object"?" However, it is set to a "+typeof s+".":s.$$typeof===s0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",D(l)||"Component",y)),typeof s=="object"&&s!==null&&(h=Nt(s)),s=new l(i,h),t.mode&Fl){Ce(!0);try{s=new l(i,h)}finally{Ce(!1)}}if(h=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=sS,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=kE,typeof l.getDerivedStateFromProps=="function"&&h===null&&(h=D(l)||"Component",FE.has(h)||(FE.add(h),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",h,s.state===null?"null":"undefined",h))),typeof l.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"){var b=y=h=null;if(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?h="componentWillMount":typeof s.UNSAFE_componentWillMount=="function"&&(h="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?y="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps=="function"&&(y="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?b="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate=="function"&&(b="UNSAFE_componentWillUpdate"),h!==null||y!==null||b!==null){s=D(l)||"Component";var T=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";IE.has(s)||(IE.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
146
|
+
|
|
147
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
148
|
+
|
|
149
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
150
|
+
https://react.dev/link/unsafe-component-lifecycles`,s,T,h!==null?`
|
|
151
|
+
`+h:"",y!==null?`
|
|
152
|
+
`+y:"",b!==null?`
|
|
153
|
+
`+b:""))}}s=t.stateNode,h=D(l)||"Component",s.render||(l.prototype&&typeof l.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",h):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",h)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),l.childContextTypes&&!nT.has(l)&&(nT.add(l),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",h)),l.contextTypes&&!tT.has(l)&&(tT.add(l),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",h)),typeof s.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),l.prototype&&l.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",D(l)||"A pure component"),typeof s.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof s.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof s.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof s.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h),y=s.props!==i,s.props!==void 0&&y&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h),s.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof s.getSnapshotBeforeUpdate!="function"||typeof s.componentDidUpdate=="function"||WE.has(l)||(WE.add(l),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",D(l))),typeof s.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof s.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof l.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h),(y=s.state)&&(typeof y!="object"||Cn(y))&&console.error("%s.state: must be set to an object or null",h),typeof s.getChildContext=="function"&&typeof l.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h),s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},vt(t),h=l.contextType,s.context=typeof h=="object"&&h!==null?Nt(h):fr,s.state===i&&(h=D(l)||"Component",PE.has(h)||(PE.add(h),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",h))),t.mode&Fl&&Bi.recordLegacyContextWarning(t,s),Bi.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,h=l.getDerivedStateFromProps,typeof h=="function"&&(Ds(t,l,h,i),s.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(h=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),h!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",_(t)||"Component"),sS.enqueueReplaceState(s,s.state,null)),Uu(t,i,s,o),gs(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Hi)!==ke&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var J=t.memoizedProps;y=Yu(l,J),s.props=y;var k=s.context;b=l.contextType,h=fr,typeof b=="object"&&b!==null&&(h=Nt(b)),T=l.getDerivedStateFromProps,b=typeof T=="function"||typeof s.getSnapshotBeforeUpdate=="function",J=t.pendingProps!==J,b||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(J||k!==h)&&ju(t,s,i,h),gr=!1;var H=t.memoizedState;s.state=H,Uu(t,i,s,o),gs(),k=t.memoizedState,J||H!==k||gr?(typeof T=="function"&&(Ds(t,l,T,i),k=t.memoizedState),(y=gr||ph(t,l,y,i,H,k,h))?(b||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Hi)!==ke&&(t.flags|=134217728)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Hi)!==ke&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=k),s.props=i,s.state=k,s.context=h,s=y):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Hi)!==ke&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,xu(e,t),h=t.memoizedProps,b=Yu(l,h),s.props=b,T=t.pendingProps,H=s.context,k=l.contextType,y=fr,typeof k=="object"&&k!==null&&(y=Nt(k)),J=l.getDerivedStateFromProps,(k=typeof J=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(h!==T||H!==y)&&ju(t,s,i,y),gr=!1,H=t.memoizedState,s.state=H,Uu(t,i,s,o),gs();var ue=t.memoizedState;h!==T||H!==ue||gr||e!==null&&e.dependencies!==null&&hs(e.dependencies)?(typeof J=="function"&&(Ds(t,l,J,i),ue=t.memoizedState),(b=gr||ph(t,l,b,i,H,ue,y)||e!==null&&e.dependencies!==null&&hs(e.dependencies))?(k||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,ue,y),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,ue,y)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||h===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=ue),s.props=i,s.state=ue,s.context=y,s=b):(typeof s.componentDidUpdate!="function"||h===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),s=!1)}if(y=s,Ef(e,t),h=(t.flags&128)!==0,y||h){if(y=t.stateNode,Ll(t),h&&typeof l.getDerivedStateFromError!="function")l=null,va=-1;else if(l=OE(y),t.mode&Fl){Ce(!0);try{OE(y)}finally{Ce(!1)}}t.flags|=1,e!==null&&h?(t.child=dd(t,e.child,null,o),t.child=dd(t,null,l,o)):kn(e,t,l,o),t.memoizedState=y.state,e=t.child}else e=tu(e,t,o);return o=t.stateNode,s&&o.props!==i&&(V0||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",_(t)||"a component"),V0=!0),e}function oy(e,t,l,i){return Ii(),t.flags|=256,kn(e,t,l,i),t.child}function _s(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
154
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=D(t)||"Unknown",oT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),oT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=D(t)||"Unknown",iT[t]||(console.error("%s: Function components do not support contextType.",t),iT[t]=!0))}function Rs(e){return{baseLanes:e,cachePool:Lm()}}function Th(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Ga),e}function Ah(e,t,l){var i,o=t.pendingProps;x(t)&&(t.flags|=128);var s=!1,h=(t.flags&128)!==0;if((i=h)||(i=e!==null&&e.memoizedState===null?!1:(Gn.current&Gp)!==0),i&&(s=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(Et){if(s?_l(t):wu(t),(e=sn)?(l=Lt(e,ai),l=l!==null&&l.data!==Sd?l:null,l!==null&&(i={dehydrated:l,treeContext:Gg(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=Hm(l),i.return=t,t.child=i,Yl=t,sn=null)):l=null,l===null)throw ml(t,e),_a(t);return Ly(l)?t.lanes=32:t.lanes=536870912,null}var y=o.children;if(o=o.fallback,s){wu(t);var b=t.mode;return y=Tf({mode:"hidden",children:y},b),o=Kc(o,b,l,null),y.return=t,o.return=t,y.sibling=o,t.child=y,o=t.child,o.memoizedState=Rs(l),o.childLanes=Th(e,i,l),t.memoizedState=dS,fo(null,o)}return _l(t),sy(t,y)}var T=e.memoizedState;if(T!==null){var J=T.dehydrated;if(J!==null){if(h)t.flags&256?(_l(t),t.flags&=-257,t=Oh(e,t,l)):t.memoizedState!==null?(wu(t),t.child=e.child,t.flags|=128,t=null):(wu(t),y=o.fallback,b=t.mode,o=Tf({mode:"visible",children:o.children},b),y=Kc(y,b,l,null),y.flags|=2,o.return=t,y.return=t,o.sibling=y,t.child=o,dd(t,e.child,null,l),o=t.child,o.memoizedState=Rs(l),o.childLanes=Th(e,i,l),t.memoizedState=dS,t=fo(null,o));else if(_l(t),Vg(),(l&536870912)!==0&&ws(t),Ly(J)){if(i=J.nextSibling&&J.nextSibling.dataset,i){y=i.dgst;var k=i.msg;b=i.stck;var H=i.cstck}s=k,i=y,o=b,J=H,y=s,b=J,y=Error(y||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),y.stack=o||"",y.digest=i,i=b===void 0?null:b,o={value:y,source:null,stack:i},typeof i=="string"&&Zb.set(y,o),Wr(o),t=Oh(e,t,l)}else if(el||$a(e,t,l,!1),i=(l&e.childLanes)!==0,el||i){if(i=Pt,i!==null&&(o=Hc(i,l),o!==0&&o!==T.retryLane))throw T.retryLane=o,hl(e,o),$e(i,e,o),fS;Gf(J)||Ns(),t=Oh(e,t,l)}else Gf(J)?(t.flags|=192,t.child=e.child,t=null):(e=T.treeContext,sn=ha(J.nextSibling),Yl=t,Et=!0,dr=null,_c=!1,du=null,ai=!1,e!==null&&Lg(t,e),t=sy(t,o.children),t.flags|=4096);return t}}return s?(wu(t),y=o.fallback,b=t.mode,H=e.child,J=H.sibling,o=_u(H,{mode:"hidden",children:o.children}),o.subtreeFlags=H.subtreeFlags&65011712,J!==null?y=_u(J,y):(y=Kc(y,b,l,null),y.flags|=2),y.return=t,o.return=t,o.sibling=y,t.child=o,fo(null,o),o=t.child,y=e.child.memoizedState,y===null?y=Rs(l):(b=y.cachePool,b!==null?(H=Wn._currentValue,b=b.parent!==H?{parent:H,pool:H}:b):b=Lm(),y={baseLanes:y.baseLanes|l,cachePool:b}),o.memoizedState=y,o.childLanes=Th(e,i,l),t.memoizedState=dS,fo(e.child,o)):(T!==null&&(l&62914560)===l&&(l&e.lanes)!==0&&ws(t),_l(t),l=e.child,e=l.sibling,l=_u(l,{mode:"visible",children:o.children}),l.return=t,l.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=l,t.memoizedState=null,l)}function sy(e,t){return t=Tf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Tf(e,t){return e=V(22,e,null,t),e.lanes=0,e}function Oh(e,t,l){return dd(t,e.child,null,l),e=sy(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ry(e,t,l){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),th(e.return,t,l)}function zh(e,t,l,i,o,s){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:l,tailMode:o,treeForkCount:s}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=i,h.tail=l,h.tailMode=o,h.treeForkCount=s)}function fy(e,t,l){var i=t.pendingProps,o=i.revealOrder,s=i.tail,h=i.children,y=Gn.current;if((i=(y&Gp)!==0)?(y=y&Y0|Gp,t.flags|=128):y&=Y0,X(Gn,y,t),y=o??"null",o!=="forwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!sT[y])if(sT[y]=!0,o==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(o==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);y=s??"null",b1[y]||(s==null?(o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&(b1[y]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):s!=="visible"&&s!=="collapsed"&&s!=="hidden"?(b1[y]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',s)):o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(b1[y]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s)));e:if((o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&h!==void 0&&h!==null&&h!==!1)if(Cn(h)){for(y=0;y<h.length;y++)if(!$t(h[y],y))break e}else if(y=we(h),typeof y=="function"){if(y=y.call(h))for(var b=y.next(),T=0;!b.done;b=y.next()){if(!$t(b.value,T))break e;T++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(kn(e,t,h,l),Et?(Wi(),h=zp):h=0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ry(e,l,t);else if(e.tag===19)ry(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(l=t.child,o=null;l!==null;)e=l.alternate,e!==null&&eo(e)===null&&(o=l),l=l.sibling;l=o,l===null?(o=t.child,t.child=null):(o=l.sibling,l.sibling=null),zh(t,!1,o,l,s,h);break;case"backwards":case"unstable_legacy-backwards":for(l=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&eo(e)===null){t.child=o;break}e=o.sibling,o.sibling=l,l=o,o=e}zh(t,!0,l,null,s,h);break;case"together":zh(t,!1,null,null,void 0,h);break;default:t.memoizedState=null}return t.child}function tu(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),va=-1,Sr|=t.lanes,(l&t.childLanes)===0)if(e!==null){if($a(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,l=_u(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=_u(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Dh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&hs(e)))}function Wg(e,t,l){switch(t.tag){case 3:L(t,t.stateNode.containerInfo),Ra(t,Wn,e.memoizedState.cache),Ii();break;case 27:case 5:C(t);break;case 4:L(t,t.stateNode.containerInfo);break;case 10:Ra(t,t.type,t.memoizedProps.value);break;case 12:(l&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Pa(t),null;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(_l(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Ah(e,t,l):(_l(t),e=tu(e,t,l),e!==null?e.sibling:null);_l(t);break;case 19:var o=(e.flags&128)!==0;if(i=(l&t.childLanes)!==0,i||($a(e,t,l,!1),i=(l&t.childLanes)!==0),o){if(i)return fy(e,t,l);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),X(Gn,Gn.current,t),i)break;return null;case 22:return t.lanes=0,ly(e,t,l,t.pendingProps);case 24:Ra(t,Wn,e.memoizedState.cache)}return tu(e,t,l)}function Af(e,t,l){if(t._debugNeedsRemount&&e!==null){l=Jc(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),l._debugStack=t._debugStack,l._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,l.index=t.index,l.sibling=t.sibling,l.return=t.return,l.ref=t.ref,l._debugInfo=t._debugInfo,t===i.child)i.child=l;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=l}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)el=!0;else{if(!Dh(e,l)&&(t.flags&128)===0)return el=!1,Wg(e,t,l);el=(e.flags&131072)!==0}else el=!1,(i=Et)&&(Wi(),i=(t.flags&1048576)!==0),i&&(i=t.index,Wi(),Bm(t,zp,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=aa(t.elementType),t.type=e,typeof e=="function")wm(e)?(i=Yu(e,i),t.tag=1,t.type=e=$i(e),t=ho(null,t,e,i,l)):(t.tag=0,_s(t,e),t.type=e=$i(e),t=iy(null,t,e,i,l));else{if(e!=null){if(o=e.$$typeof,o===Ws){t.tag=11,t.type=e=Wd(e),t=$g(null,t,e,i,l);break e}else if(o===Ff){t.tag=14,t=ty(null,t,e,i,l);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===pl&&(t=" Did you wrap a component in React.lazy() more than once?"),l=D(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return iy(e,t,t.type,t.pendingProps,l);case 1:return i=t.type,o=Yu(i,t.pendingProps),ho(e,t,i,o,l);case 3:e:{if(L(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var s=t.memoizedState;o=s.element,xu(e,t),Uu(t,i,null,l);var h=t.memoizedState;if(i=h.cache,Ra(t,Wn,i),i!==s.cache&&yi(t,[Wn],l,!0),gs(),i=h.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=oy(e,t,i,l);break e}else if(i!==o){o=Al(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Wr(o),t=oy(e,t,i,l);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,sn=ha(e.firstChild),Yl=t,Et=!0,dr=null,_c=!1,du=null,ai=!0,l=YE(t,null,i,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Ii(),i===o){t=tu(e,t,l);break e}kn(e,t,i,l)}t=t.child}return t;case 26:return Ef(e,t),e===null?(l=Zy(t.type,null,t.pendingProps,null))?t.memoizedState=l:Et||(l=t.type,e=t.pendingProps,i=ee(ma.current),i=Yf(i).createElement(l),i[cn]=t,i[jl]=e,un(i,l,e),Ne(i),t.stateNode=i):t.memoizedState=Zy(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return C(t),e===null&&Et&&(i=ee(ma.current),o=M(),i=t.stateNode=Ci(t.type,t.pendingProps,i,o,!1),_c||(o=Kl(i,t.type,t.pendingProps,o),o!==null&&(kc(t,0).serverProps=o)),Yl=t,ai=!0,o=sn,Sc(t.type)?(HS=o,sn=ha(i.firstChild)):sn=o),kn(e,t,t.pendingProps.children,l),Ef(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Et&&(s=M(),i=Lr(t.type,s.ancestorInfo),o=sn,(h=!o)||(h=_v(o,t.type,t.pendingProps,ai),h!==null?(t.stateNode=h,_c||(s=Kl(h,t.type,t.pendingProps,s),s!==null&&(kc(t,0).serverProps=s)),Yl=t,sn=ha(h.firstChild),ai=!1,s=!0):s=!1,h=!s),h&&(i&&ml(t,o),_a(t))),C(t),o=t.type,s=t.pendingProps,h=e!==null?e.memoizedProps:null,i=s.children,Vs(o,s)?i=null:h!==null&&Vs(o,h)&&(t.flags|=32),t.memoizedState!==null&&(o=Jm(e,t,cf,null,null,l),ag._currentValue=o),Ef(e,t),kn(e,t,i,l),t.child;case 6:return e===null&&Et&&(l=t.pendingProps,e=M(),i=e.ancestorInfo.current,l=i!=null?Vr(l,i.tag,e.ancestorInfo.implicitRootScope):!0,e=sn,(i=!e)||(i=Rv(e,t.pendingProps,ai),i!==null?(t.stateNode=i,Yl=t,sn=null,i=!0):i=!1,i=!i),i&&(l&&ml(t,e),_a(t))),null;case 13:return Ah(e,t,l);case 4:return L(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=dd(t,null,i,l):kn(e,t,i,l),t.child;case 11:return $g(e,t,t.type,t.pendingProps,l);case 7:return kn(e,t,t.pendingProps,l),t.child;case 8:return kn(e,t,t.pendingProps.children,l),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,kn(e,t,t.pendingProps.children,l),t.child;case 10:return i=t.type,o=t.pendingProps,s=o.value,"value"in o||rT||(rT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ra(t,i,s),kn(e,t,o.children,l),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ec(t),o=Nt(o),i=Pb(i,o,void 0),t.flags|=1,kn(e,t,i,l),t.child;case 14:return ty(e,t,t.type,t.pendingProps,l);case 15:return ny(e,t,t.type,t.pendingProps,l);case 19:return fy(e,t,l);case 31:return Fg(e,t,l);case 22:return ly(e,t,l,t.pendingProps);case 24:return ec(t),i=Nt(Wn),e===null?(o=vi(),o===null&&(o=Pt,s=nh(),o.pooledCache=s,Fc(s),s!==null&&(o.pooledCacheLanes|=l),o=s),t.memoizedState={parent:i,cache:o},vt(t),Ra(t,Wn,o)):((e.lanes&l)!==0&&(xu(e,t),Uu(t,null,null,l),gs()),o=e.memoizedState,s=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Ra(t,Wn,i)):(i=s.cache,Ra(t,Wn,i),i!==o.cache&&yi(t,[Wn],l,!0))),kn(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function qu(e){e.flags|=4}function _h(e,t,l,i,o){if((t=(e.mode&D4)!==ke)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(My())e.flags|=8192;else throw fd=h1,tS}else e.flags&=-16777217}function Ig(e,t){if(t.type!=="stylesheet"||(t.state.loading&si)!==Ad)e.flags&=-16777217;else if(e.flags|=16777216,!pt(t))if(My())e.flags|=8192;else throw fd=h1,tS}function Ms(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Wo():536870912,e.lanes|=t,gd|=t)}function xs(e,t){if(!Et)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Qt(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,i=0;if(t)if((e.mode&st)!==ke){for(var o=e.selfBaseDuration,s=e.child;s!==null;)l|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,o+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)l|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&st)!==ke){o=e.actualDuration,s=e.selfBaseDuration;for(var h=e.child;h!==null;)l|=h.lanes|h.childLanes,i|=h.subtreeFlags,i|=h.flags,o+=h.actualDuration,s+=h.treeBaseDuration,h=h.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(o=e.child;o!==null;)l|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=l,t}function dy(e,t,l){var i=t.pendingProps;switch(eh(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qt(t),null;case 1:return Qt(t),null;case 3:return l=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),ka(Wn,t),A(t),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&($c(t)?(Pi(),qu(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Fr())),Qt(t),null;case 26:var o=t.type,s=t.memoizedState;return e===null?(qu(t),s!==null?(Qt(t),Ig(t,s)):(Qt(t),_h(t,o,null,i,l))):s?s!==e.memoizedState?(qu(t),Qt(t),Ig(t,s)):(Qt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&qu(t),Qt(t),_h(t,o,e,i,l)),null;case 27:if(B(t),l=ee(ma.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&qu(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Qt(t),null}e=M(),$c(t)?jm(t):(e=Ci(o,i,l,e,!0),t.stateNode=e,qu(t))}return Qt(t),null;case 5:if(B(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&qu(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Qt(t),null}var h=M();if($c(t))jm(t);else{switch(s=ee(ma.current),Lr(o,h.ancestorInfo),h=h.context,s=Yf(s),h){case F0:s=s.createElementNS(it,o);break;case q1:s=s.createElementNS(tt,o);break;default:switch(o){case"svg":s=s.createElementNS(it,o);break;case"math":s=s.createElementNS(tt,o);break;case"script":s=s.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is=="string"?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is=="string"?s.createElement(o,{is:i.is}):s.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(s)!=="[object HTMLUnknownElement]"||ya.call(NT,o)||(NT[o]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",o)))}}s[cn]=t,s[jl]=i;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)s.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=s;e:switch(un(s,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&qu(t)}}return Qt(t),_h(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&qu(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=ee(ma.current),l=M(),$c(t)){if(e=t.stateNode,l=t.memoizedProps,o=!_c,i=null,s=Yl,s!==null)switch(s.tag){case 3:o&&(o=Cv(e,l,i),o!==null&&(kc(t,0).serverProps=o));break;case 27:case 5:i=s.memoizedProps,o&&(o=Cv(e,l,i),o!==null&&(kc(t,0).serverProps=o))}e[cn]=t,e=!!(e.nodeValue===l||i!==null&&i.suppressHydrationWarning===!0||qy(e.nodeValue,l)),e||_a(t,!0)}else o=l.ancestorInfo.current,o!=null&&Vr(i,o.tag,l.ancestorInfo.implicitRootScope),e=Yf(e).createTextNode(i),e[cn]=t,t.stateNode=e}return Qt(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(i=$c(t),l!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[cn]=t,Qt(t),(t.mode&st)!==ke&&l!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Pi(),Ii(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,Qt(t),(t.mode&st)!==ke&&l!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else l=Fr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Jn(t),t):(Jn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Qt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=i,s=$c(t),o!==null&&o.dehydrated!==null){if(e===null){if(!s)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");s[cn]=t,Qt(t),(t.mode&st)!==ke&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else Pi(),Ii(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,Qt(t),(t.mode&st)!==ke&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=Fr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Jn(t),t):(Jn(t),null)}return Jn(t),(t.flags&128)!==0?(t.lanes=l,(t.mode&st)!==ke&&Ic(t),t):(l=i!==null,e=e!==null&&e.memoizedState!==null,l&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==o&&(i.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Ms(t,t.updateQueue),Qt(t),(t.mode&st)!==ke&&l&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return A(t),e===null&&vc(t.stateNode.containerInfo),Qt(t),null;case 10:return ka(t.type,t),Qt(t),null;case 19:if(N(Gn,t),i=t.memoizedState,i===null)return Qt(t),null;if(o=(t.flags&128)!==0,s=i.rendering,s===null)if(o)xs(i,!1);else{if(bn!==Lo||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=eo(e),s!==null){for(t.flags|=128,xs(i,!1),e=s.updateQueue,t.updateQueue=e,Ms(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Nm(l,e),l=l.sibling;return X(Gn,Gn.current&Y0|Gp,t),Et&&Ka(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Fn()>D1&&(t.flags|=128,o=!0,xs(i,!1),t.lanes=4194304)}else{if(!o)if(e=eo(s),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Ms(t,e),xs(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Et)return Qt(t),null}else 2*Fn()-i.renderingStartTime>D1&&l!==536870912&&(t.flags|=128,o=!0,xs(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(e=i.last,e!==null?e.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Fn(),e.sibling=null,l=Gn.current,l=o?l&Y0|Gp:l&Y0,X(Gn,l,t),Et&&Ka(t,i.treeForkCount),e):(Qt(t),null);case 22:case 23:return Jn(t),Ia(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(l&536870912)!==0&&(t.flags&128)===0&&(Qt(t),t.subtreeFlags&6&&(t.flags|=8192)):Qt(t),l=t.updateQueue,l!==null&&Ms(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==l&&(t.flags|=2048),e!==null&&N(sd,t),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ka(Wn,t),Qt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Pg(e,t){switch(eh(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&st)!==ke&&Ic(t),t):null;case 3:return ka(Wn,t),A(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return B(t),null;case 31:if(t.memoizedState!==null){if(Jn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&st)!==ke&&Ic(t),t):null;case 13:if(Jn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&st)!==ke&&Ic(t),t):null;case 19:return N(Gn,t),null;case 4:return A(t),null;case 10:return ka(t.type,t),null;case 22:case 23:return Jn(t),Ia(t),e!==null&&N(sd,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&st)!==ke&&Ic(t),t):null;case 24:return ka(Wn,t),null;case 25:return null;default:return null}}function hy(e,t){switch(eh(t),t.tag){case 3:ka(Wn,t),A(t);break;case 26:case 27:case 5:B(t);break;case 4:A(t);break;case 31:t.memoizedState!==null&&Jn(t);break;case 13:Jn(t);break;case 19:N(Gn,t);break;case 10:ka(t.type,t);break;case 22:case 23:Jn(t),Ia(t),e!==null&&N(sd,t);break;case 24:ka(Wn,t)}}function Gu(e){return(e.mode&st)!==ke}function ev(e,t){Gu(e)?(yn(),Di(t,e),zl()):Di(t,e)}function Rh(e,t,l){Gu(e)?(yn(),dc(l,e,t),zl()):dc(l,e,t)}function Di(e,t){try{var l=t.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var o=i.next;l=o;do{if((l.tag&e)===e&&(i=void 0,(e&ba)!==y1&&(K0=!0),i=Ae(t,U4,l),(e&ba)!==y1&&(K0=!1),i!==void 0&&typeof i!="function")){var s=void 0;s=(l.tag&mu)!==0?"useLayoutEffect":(l.tag&ba)!==0?"useInsertionEffect":"useEffect";var h=void 0;h=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
155
|
+
|
|
156
|
+
It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
157
|
+
|
|
158
|
+
`+s+`(() => {
|
|
159
|
+
async function fetchData() {
|
|
160
|
+
// You can await here
|
|
161
|
+
const response = await MyAPI.getData(someId);
|
|
162
|
+
// ...
|
|
163
|
+
}
|
|
164
|
+
fetchData();
|
|
165
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
166
|
+
|
|
167
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,Ae(t,function(y,b){console.error("%s must not return anything besides a function, which is used for clean-up.%s",y,b)},s,h)}l=l.next}while(l!==o)}}catch(y){ut(t,t.return,y)}}function dc(e,t,l){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var s=o.next;i=s;do{if((i.tag&e)===e){var h=i.inst,y=h.destroy;y!==void 0&&(h.destroy=void 0,(e&ba)!==y1&&(K0=!0),o=t,Ae(o,w4,o,l,y),(e&ba)!==y1&&(K0=!1))}i=i.next}while(i!==s)}}catch(b){ut(t,t.return,b)}}function Of(e,t){Gu(e)?(yn(),Di(t,e),zl()):Di(t,e)}function Mh(e,t,l){Gu(e)?(yn(),dc(l,e,t),zl()):dc(l,e,t)}function my(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||V0||(l.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",_(e)||"instance"),l.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",_(e)||"instance"));try{Ae(e,vs,t,l)}catch(i){ut(e,e.return,i)}}}function zf(e,t,l){return e.getSnapshotBeforeUpdate(t,l)}function tv(e,t){var l=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||V0||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",_(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",_(e)||"instance"));try{var o=Yu(e.type,l),s=Ae(e,zf,t,o,i);l=fT,s!==void 0||l.has(e.type)||(l.add(e.type),Ae(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",_(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(h){ut(e,e.return,h)}}function xh(e,t,l){l.props=Yu(e.type,e.memoizedProps),l.state=e.memoizedState,Gu(e)?(yn(),Ae(e,xE,e,t,l),zl()):Ae(e,xE,e,t,l)}function nv(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof t=="function")if(Gu(e))try{yn(),e.refCleanup=t(l)}finally{zl()}else e.refCleanup=t(l);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",_(e)),t.current=l}}function mo(e,t){try{Ae(e,nv,e)}catch(l){ut(e,t,l)}}function wa(e,t){var l=e.ref,i=e.refCleanup;if(l!==null)if(typeof i=="function")try{if(Gu(e))try{yn(),Ae(e,i)}finally{zl(e)}else Ae(e,i)}catch(o){ut(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if(Gu(e))try{yn(),Ae(e,l,null)}finally{zl(e)}else Ae(e,l,null)}catch(o){ut(e,t,o)}else l.current=null}function yy(e,t,l,i){var o=e.memoizedProps,s=o.id,h=o.onCommit;o=o.onRender,t=t===null?"mount":"update",s1&&(t="nested-update"),typeof o=="function"&&o(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof h=="function"&&h(s,t,i,l)}function lv(e,t,l,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",s1&&(t="nested-update"),typeof o=="function"&&o(e,t,i,l)}function hc(e){var t=e.type,l=e.memoizedProps,i=e.stateNode;try{Ae(e,pv,i,t,l,e)}catch(o){ut(e,e.return,o)}}function Ch(e,t,l){try{Ae(e,Wh,e.stateNode,e.type,l,t,e)}catch(i){ut(e,e.return,i)}}function py(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Sc(e.type)||e.tag===4}function Uh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||py(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Sc(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cs(e,t,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(vv(l),(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t)):(vv(l),t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=za));else if(i!==4&&(i===27&&Sc(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Cs(e,t,l),e=e.sibling;e!==null;)Cs(e,t,l),e=e.sibling}function Df(e,t,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(i!==4&&(i===27&&Sc(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Df(e,t,l),e=e.sibling;e!==null;)Df(e,t,l),e=e.sibling}function gy(e){for(var t,l=e.return;l!==null;){if(py(l)){t=l;break}l=l.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,l=Uh(e),Df(e,l,t);break;case 5:l=t.stateNode,t.flags&32&&(Ih(l),t.flags&=-33),t=Uh(e),Df(e,t,l);break;case 3:case 4:t=t.stateNode.containerInfo,l=Uh(e),Cs(e,l,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function vy(e){var t=e.stateNode,l=e.memoizedProps;try{Ae(e,ku,e.type,l,t,e)}catch(i){ut(e,e.return,i)}}function by(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function Tb(e,t){if(e=e.containerInfo,US=X1,e=Kd(e),Dm(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var o=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var h=0,y=-1,b=-1,T=0,J=0,k=e,H=null;t:for(;;){for(var ue;k!==l||o!==0&&k.nodeType!==3||(y=h+o),k!==s||i!==0&&k.nodeType!==3||(b=h+i),k.nodeType===3&&(h+=k.nodeValue.length),(ue=k.firstChild)!==null;)H=k,k=ue;for(;;){if(k===e)break t;if(H===l&&++T===o&&(y=h),H===s&&++J===i&&(b=h),(ue=k.nextSibling)!==null)break;k=H,H=k.parentNode}k=ue}l=y===-1||b===-1?null:{start:y,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(wS={focusedElem:e,selectionRange:l},X1=!1,bl=t;bl!==null;)if(t=bl,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,bl=e;else for(;bl!==null;){switch(e=t=bl,l=e.alternate,o=e.flags,e.tag){case 0:if((o&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)o=e[l],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:(o&1024)!==0&&l!==null&&tv(e,l);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)Qs(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Qs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,bl=e;break}bl=t.return}}function wh(e,t,l){var i=ln(),o=Ma(),s=na(),h=xa(),y=l.flags;switch(l.tag){case 0:case 11:case 15:sa(e,l),y&4&&ev(l,mu|ci);break;case 1:if(sa(e,l),y&4)if(e=l.stateNode,t===null)l.type.defaultProps||"ref"in l.memoizedProps||V0||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",_(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",_(l)||"instance")),Gu(l)?(yn(),Ae(l,eS,l,e),zl()):Ae(l,eS,l,e);else{var b=Yu(l.type,t.memoizedProps);t=t.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||V0||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",_(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",_(l)||"instance")),Gu(l)?(yn(),Ae(l,_E,l,e,b,t,e.__reactInternalSnapshotBeforeUpdate),zl()):Ae(l,_E,l,e,b,t,e.__reactInternalSnapshotBeforeUpdate)}y&64&&my(l),y&512&&mo(l,l.return);break;case 3:if(t=Mu(),sa(e,l),y&64&&(y=l.updateQueue,y!==null)){if(b=null,l.child!==null)switch(l.child.tag){case 27:case 5:b=l.child.stateNode;break;case 1:b=l.child.stateNode}try{Ae(l,vs,y,b)}catch(J){ut(l,l.return,J)}}e.effectDuration+=ms(t);break;case 27:t===null&&y&4&&vy(l);case 26:case 5:if(sa(e,l),t===null){if(y&4)hc(l);else if(y&64){e=l.type,t=l.memoizedProps,b=l.stateNode;try{Ae(l,gv,b,e,t,l)}catch(J){ut(l,l.return,J)}}}y&512&&mo(l,l.return);break;case 12:if(y&4){y=Mu(),sa(e,l),e=l.stateNode,e.effectDuration+=Ol(y);try{Ae(l,yy,l,t,hr,e.effectDuration)}catch(J){ut(l,l.return,J)}}else sa(e,l);break;case 31:sa(e,l),y&4&&Ey(e,l);break;case 13:sa(e,l),y&4&&Ty(e,l),y&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(y=Ri.bind(null,l),Mv(e,y))));break;case 22:if(y=l.memoizedState!==null||Go,!y){t=t!==null&&t.memoizedState!==null||tl,b=Go;var T=tl;Go=y,(tl=t)&&!T?(nu(e,l,(l.subtreeFlags&8772)!==0),(l.mode&st)!==ke&&0<=qe&&0<=Xe&&.05<Xe-qe&&kd(l,qe,Xe)):sa(e,l),Go=b,tl=T}break;case 30:break;default:sa(e,l)}(l.mode&st)!==ke&&0<=qe&&0<=Xe&&((_n||.05<vn)&&Ja(l,qe,Xe,vn,mn),l.alternate===null&&l.return!==null&&l.return.alternate!==null&&.05<Xe-qe&&(by(l.return.alternate,l.return)||Da(l,qe,Xe,"Mount"))),Qn(i),ta(o),mn=s,_n=h}function zn(e){var t=e.alternate;t!==null&&(e.alternate=null,zn(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&I(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function en(e,t,l){for(l=l.child;l!==null;)Sy(e,t,l),l=l.sibling}function Sy(e,t,l){if(Yn&&typeof Yn.onCommitFiberUnmount=="function")try{Yn.onCommitFiberUnmount(_o,l)}catch(T){Fu||(Fu=!0,console.error("React instrumentation encountered an error: %o",T))}var i=ln(),o=Ma(),s=na(),h=xa();switch(l.tag){case 26:tl||wa(l,t),en(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(e=l.stateNode,e.parentNode.removeChild(e));break;case 27:tl||wa(l,t);var y=nl,b=Ya;Sc(l.type)&&(nl=l.stateNode,Ya=!1),en(e,t,l),Ae(l,Ui,l.stateNode),nl=y,Ya=b;break;case 5:tl||wa(l,t);case 6:if(y=nl,b=Ya,nl=null,en(e,t,l),nl=y,Ya=b,nl!==null)if(Ya)try{Ae(l,Sv,nl,l.stateNode)}catch(T){ut(l,t,T)}else try{Ae(l,bv,nl,l.stateNode)}catch(T){ut(l,t,T)}break;case 18:nl!==null&&(Ya?(e=nl,bo(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Ao(e)):bo(nl,l.stateNode));break;case 4:y=nl,b=Ya,nl=l.stateNode.containerInfo,Ya=!0,en(e,t,l),nl=y,Ya=b;break;case 0:case 11:case 14:case 15:dc(ba,l,t),tl||Rh(l,t,mu),en(e,t,l);break;case 1:tl||(wa(l,t),y=l.stateNode,typeof y.componentWillUnmount=="function"&&xh(l,t,y)),en(e,t,l);break;case 21:en(e,t,l);break;case 22:tl=(y=tl)||l.memoizedState!==null,en(e,t,l),tl=y;break;default:en(e,t,l)}(l.mode&st)!==ke&&0<=qe&&0<=Xe&&(_n||.05<vn)&&Ja(l,qe,Xe,vn,mn),Qn(i),ta(o),mn=s,_n=h}function Ey(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ae(t,Ph,e)}catch(l){ut(t,t.return,l)}}}function Ty(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ae(t,Xy,e)}catch(l){ut(t,t.return,l)}}function av(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new dT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new dT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function mc(e,t){var l=av(e);t.forEach(function(i){if(!l.has(i)){if(l.add(i),Wu)if(X0!==null&&Q0!==null)js(Q0,X0);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=go.bind(null,e,i);i.then(o,o)}})}function xl(e,t){var l=t.deletions;if(l!==null)for(var i=0;i<l.length;i++){var o=e,s=t,h=l[i],y=ln(),b=s;e:for(;b!==null;){switch(b.tag){case 27:if(Sc(b.type)){nl=b.stateNode,Ya=!1;break e}break;case 5:nl=b.stateNode,Ya=!1;break e;case 3:case 4:nl=b.stateNode.containerInfo,Ya=!0;break e}b=b.return}if(nl===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Sy(o,s,h),nl=null,Ya=!1,(h.mode&st)!==ke&&0<=qe&&0<=Xe&&.05<Xe-qe&&Da(h,qe,Xe,"Unmount"),Qn(y),o=h,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)_f(t,e),t=t.sibling}function _f(e,t){var l=ln(),i=Ma(),o=na(),s=xa(),h=e.alternate,y=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:xl(t,e),Cl(e),y&4&&(dc(ba|ci,e,e.return),Di(ba|ci,e),Rh(e,e.return,mu|ci));break;case 1:if(xl(t,e),Cl(e),y&512&&(tl||h===null||wa(h,h.return)),y&64&&Go&&(y=e.updateQueue,y!==null&&(h=y.callbacks,h!==null))){var b=y.shared.hiddenCallbacks;y.shared.hiddenCallbacks=b===null?h:b.concat(h)}break;case 26:if(b=Yi,xl(t,e),Cl(e),y&512&&(tl||h===null||wa(h,h.return)),y&4){var T=h!==null?h.memoizedState:null;if(y=e.memoizedState,h===null)if(y===null)if(e.stateNode===null){e:{y=e.type,h=e.memoizedProps,b=b.ownerDocument||b;t:switch(y){case"title":T=b.getElementsByTagName("title")[0],(!T||T[ur]||T[cn]||T.namespaceURI===it||T.hasAttribute("itemprop"))&&(T=b.createElement(y),b.head.insertBefore(T,b.querySelector("head > title"))),un(T,y,h),T[cn]=e,Ne(T),y=T;break e;case"link":var J=Ks("link","href",b).get(y+(h.href||""));if(J){for(var k=0;k<J.length;k++)if(T=J[k],T.getAttribute("href")===(h.href==null||h.href===""?null:h.href)&&T.getAttribute("rel")===(h.rel==null?null:h.rel)&&T.getAttribute("title")===(h.title==null?null:h.title)&&T.getAttribute("crossorigin")===(h.crossOrigin==null?null:h.crossOrigin)){J.splice(k,1);break t}}T=b.createElement(y),un(T,y,h),b.head.appendChild(T);break;case"meta":if(J=Ks("meta","content",b).get(y+(h.content||""))){for(k=0;k<J.length;k++)if(T=J[k],Ct(h.content,"content"),T.getAttribute("content")===(h.content==null?null:""+h.content)&&T.getAttribute("name")===(h.name==null?null:h.name)&&T.getAttribute("property")===(h.property==null?null:h.property)&&T.getAttribute("http-equiv")===(h.httpEquiv==null?null:h.httpEquiv)&&T.getAttribute("charset")===(h.charSet==null?null:h.charSet)){J.splice(k,1);break t}}T=b.createElement(y),un(T,y,h),b.head.appendChild(T);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+y+'". This is a bug in React.')}T[cn]=e,Ne(T),y=T}e.stateNode=y}else wv(b,e.type,e.stateNode);else e.stateNode=n0(b,y,e.memoizedProps);else T!==y?(T===null?h.stateNode!==null&&(h=h.stateNode,h.parentNode.removeChild(h)):T.count--,y===null?wv(b,e.type,e.stateNode):n0(b,y,e.memoizedProps)):y===null&&e.stateNode!==null&&Ch(e,e.memoizedProps,h.memoizedProps)}break;case 27:xl(t,e),Cl(e),y&512&&(tl||h===null||wa(h,h.return)),h!==null&&y&4&&Ch(e,e.memoizedProps,h.memoizedProps);break;case 5:if(xl(t,e),Cl(e),y&512&&(tl||h===null||wa(h,h.return)),e.flags&32){b=e.stateNode;try{Ae(e,Ih,b)}catch(Re){ut(e,e.return,Re)}}y&4&&e.stateNode!=null&&(b=e.memoizedProps,Ch(e,b,h!==null?h.memoizedProps:b)),y&1024&&(hS=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(xl(t,e),Cl(e),y&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");y=e.memoizedProps,h=h!==null?h.memoizedProps:y,b=e.stateNode;try{Ae(e,Ab,b,h,y)}catch(Re){ut(e,e.return,Re)}}break;case 3:if(b=Mu(),G1=null,T=Yi,Yi=e0(t.containerInfo),xl(t,e),Yi=T,Cl(e),y&4&&h!==null&&h.memoizedState.isDehydrated)try{Ae(e,Vy,t.containerInfo)}catch(Re){ut(e,e.return,Re)}hS&&(hS=!1,uv(e)),t.effectDuration+=ms(b);break;case 4:y=Yi,Yi=e0(e.stateNode.containerInfo),xl(t,e),Cl(e),Yi=y;break;case 12:y=Mu(),xl(t,e),Cl(e),e.stateNode.effectDuration+=Ol(y);break;case 31:xl(t,e),Cl(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,mc(e,y)));break;case 13:xl(t,e),Cl(e),e.child.flags&8192&&e.memoizedState!==null!=(h!==null&&h.memoizedState!==null)&&(z1=Fn()),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,mc(e,y)));break;case 22:b=e.memoizedState!==null;var H=h!==null&&h.memoizedState!==null,ue=Go,Oe=tl;if(Go=ue||b,tl=Oe||H,xl(t,e),tl=Oe,Go=ue,H&&!b&&!ue&&!Oe&&(e.mode&st)!==ke&&0<=qe&&0<=Xe&&.05<Xe-qe&&kd(e,qe,Xe),Cl(e),y&8192)e:for(t=e.stateNode,t._visibility=b?t._visibility&~Op:t._visibility|Op,!b||h===null||H||Go||tl||(yc(e),(e.mode&st)!==ke&&0<=qe&&0<=Xe&&.05<Xe-qe&&Da(e,qe,Xe,"Disconnect")),h=null,t=e;;){if(t.tag===5||t.tag===26){if(h===null){H=h=t;try{T=H.stateNode,b?Ae(H,Tv,T):Ae(H,zv,H.stateNode,H.memoizedProps)}catch(Re){ut(H,H.return,Re)}}}else if(t.tag===6){if(h===null){H=t;try{J=H.stateNode,b?Ae(H,Av,J):Ae(H,Dv,J,H.memoizedProps)}catch(Re){ut(H,H.return,Re)}}}else if(t.tag===18){if(h===null){H=t;try{k=H.stateNode,b?Ae(H,Ev,k):Ae(H,Ov,H.stateNode)}catch(Re){ut(H,H.return,Re)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;h===t&&(h=null),t=t.return}h===t&&(h=null),t.sibling.return=t.return,t=t.sibling}y&4&&(y=e.updateQueue,y!==null&&(h=y.retryQueue,h!==null&&(y.retryQueue=null,mc(e,h))));break;case 19:xl(t,e),Cl(e),y&4&&(y=e.updateQueue,y!==null&&(e.updateQueue=null,mc(e,y)));break;case 30:break;case 21:break;default:xl(t,e),Cl(e)}(e.mode&st)!==ke&&0<=qe&&0<=Xe&&((_n||.05<vn)&&Ja(e,qe,Xe,vn,mn),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Xe-qe&&(by(e.return.alternate,e.return)||Da(e,qe,Xe,"Mount"))),Qn(l),ta(i),mn=o,_n=s}function Cl(e){var t=e.flags;if(t&2){try{Ae(e,gy,e)}catch(l){ut(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function uv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;uv(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function sa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)wh(e,t.alternate,t),t=t.sibling}function Nh(e){var t=ln(),l=Ma(),i=na(),o=xa();switch(e.tag){case 0:case 11:case 14:case 15:Rh(e,e.return,mu),yc(e);break;case 1:wa(e,e.return);var s=e.stateNode;typeof s.componentWillUnmount=="function"&&xh(e,e.return,s),yc(e);break;case 27:Ae(e,Ui,e.stateNode);case 26:case 5:wa(e,e.return),yc(e);break;case 22:e.memoizedState===null&&yc(e);break;case 30:yc(e);break;default:yc(e)}(e.mode&st)!==ke&&0<=qe&&0<=Xe&&(_n||.05<vn)&&Ja(e,qe,Xe,vn,mn),Qn(t),ta(l),mn=i,_n=o}function yc(e){for(e=e.child;e!==null;)Nh(e),e=e.sibling}function Ay(e,t,l,i){var o=ln(),s=Ma(),h=na(),y=xa(),b=l.flags;switch(l.tag){case 0:case 11:case 15:nu(e,l,i),ev(l,mu);break;case 1:if(nu(e,l,i),t=l.stateNode,typeof t.componentDidMount=="function"&&Ae(l,eS,l,t),t=l.updateQueue,t!==null){e=l.stateNode;try{Ae(l,Qm,t,e)}catch(T){ut(l,l.return,T)}}i&&b&64&&my(l),mo(l,l.return);break;case 27:vy(l);case 26:case 5:nu(e,l,i),i&&t===null&&b&4&&hc(l),mo(l,l.return);break;case 12:if(i&&b&4){b=Mu(),nu(e,l,i),i=l.stateNode,i.effectDuration+=Ol(b);try{Ae(l,yy,l,t,hr,i.effectDuration)}catch(T){ut(l,l.return,T)}}else nu(e,l,i);break;case 31:nu(e,l,i),i&&b&4&&Ey(e,l);break;case 13:nu(e,l,i),i&&b&4&&Ty(e,l);break;case 22:l.memoizedState===null&&nu(e,l,i),mo(l,l.return);break;case 30:break;default:nu(e,l,i)}(l.mode&st)!==ke&&0<=qe&&0<=Xe&&(_n||.05<vn)&&Ja(l,qe,Xe,vn,mn),Qn(o),ta(s),mn=h,_n=y}function nu(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Ay(e,t.alternate,t,l),t=t.sibling}function Rf(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&Fc(e),l!=null&&Pr(l))}function Mf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Fc(t),e!=null&&Pr(e))}function ra(e,t,l,i,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var s=t.sibling;Oy(e,t,l,i,s!==null?s.actualStartTime:o),t=s}}function Oy(e,t,l,i,o){var s=ln(),h=Ma(),y=na(),b=xa(),T=sr,J=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&st)!==ke&&0<t.actualStartTime&&(t.flags&1)!==0&&$d(t,t.actualStartTime,o,ol,l),ra(e,t,l,i,o),J&2048&&Of(t,Sa|ci);break;case 1:(t.mode&st)!==ke&&0<t.actualStartTime&&((t.flags&128)!==0?Rm(t,t.actualStartTime,o,[]):(t.flags&1)!==0&&$d(t,t.actualStartTime,o,ol,l)),ra(e,t,l,i,o);break;case 3:var k=Mu(),H=ol;ol=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,ra(e,t,l,i,o),ol=H,J&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),i=t.memoizedState.cache,i!==l&&(Fc(i),l!=null&&Pr(l))),e.passiveEffectDuration+=ms(k);break;case 12:if(J&2048){J=Mu(),ra(e,t,l,i,o),e=t.stateNode,e.passiveEffectDuration+=Ol(J);try{Ae(t,lv,t,t.alternate,hr,e.passiveEffectDuration)}catch(ue){ut(t,t.return,ue)}}else ra(e,t,l,i,o);break;case 31:J=ol,k=t.alternate!==null?t.alternate.memoizedState:null,H=t.memoizedState,k!==null&&H===null?(H=t.deletions,H!==null&&0<H.length&&H[0].tag===18?(ol=!1,k=k.hydrationErrors,k!==null&&Rm(t,t.actualStartTime,o,k)):ol=!0):ol=!1,ra(e,t,l,i,o),ol=J;break;case 13:J=ol,k=t.alternate!==null?t.alternate.memoizedState:null,H=t.memoizedState,k===null||k.dehydrated===null||H!==null&&H.dehydrated!==null?ol=!1:(H=t.deletions,H!==null&&0<H.length&&H[0].tag===18?(ol=!1,k=k.hydrationErrors,k!==null&&Rm(t,t.actualStartTime,o,k)):ol=!0),ra(e,t,l,i,o),ol=J;break;case 23:break;case 22:H=t.stateNode,k=t.alternate,t.memoizedState!==null?H._visibility&xo?ra(e,t,l,i,o):yo(e,t,l,i,o):H._visibility&xo?ra(e,t,l,i,o):(H._visibility|=xo,pc(e,t,l,i,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),o),(t.mode&st)===ke||ol||(e=t.actualStartTime,0<=e&&.05<o-e&&kd(t,e,o),0<=qe&&0<=Xe&&.05<Xe-qe&&kd(t,qe,Xe))),J&2048&&Rf(k,t);break;case 24:ra(e,t,l,i,o),J&2048&&Mf(t.alternate,t);break;default:ra(e,t,l,i,o)}(t.mode&st)!==ke&&((e=!ol&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(l=t.actualStartTime,0<=l&&.05<o-l&&Da(t,l,o,"Mount")),0<=qe&&0<=Xe&&((_n||.05<vn)&&Ja(t,qe,Xe,vn,mn),e&&.05<Xe-qe&&Da(t,qe,Xe,"Mount"))),Qn(s),ta(h),mn=y,_n=b,sr=T}function pc(e,t,l,i,o,s){for(o=o&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var h=t.sibling;xf(e,t,l,i,o,h!==null?h.actualStartTime:s),t=h}}function xf(e,t,l,i,o,s){var h=ln(),y=Ma(),b=na(),T=xa(),J=sr;o&&(t.mode&st)!==ke&&0<t.actualStartTime&&(t.flags&1)!==0&&$d(t,t.actualStartTime,s,ol,l);var k=t.flags;switch(t.tag){case 0:case 11:case 15:pc(e,t,l,i,o,s),Of(t,Sa);break;case 23:break;case 22:var H=t.stateNode;t.memoizedState!==null?H._visibility&xo?pc(e,t,l,i,o,s):yo(e,t,l,i,s):(H._visibility|=xo,pc(e,t,l,i,o,s)),o&&k&2048&&Rf(t.alternate,t);break;case 24:pc(e,t,l,i,o,s),o&&k&2048&&Mf(t.alternate,t);break;default:pc(e,t,l,i,o,s)}(t.mode&st)!==ke&&0<=qe&&0<=Xe&&(_n||.05<vn)&&Ja(t,qe,Xe,vn,mn),Qn(h),ta(y),mn=b,_n=T,sr=J}function yo(e,t,l,i,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var s=t.child;s!==null;){t=s.sibling;var h=e,y=l,b=i,T=t!==null?t.actualStartTime:o,J=sr;(s.mode&st)!==ke&&0<s.actualStartTime&&(s.flags&1)!==0&&$d(s,s.actualStartTime,T,ol,y);var k=s.flags;switch(s.tag){case 22:yo(h,s,y,b,T),k&2048&&Rf(s.alternate,s);break;case 24:yo(h,s,y,b,T),k&2048&&Mf(s.alternate,s);break;default:yo(h,s,y,b,T)}sr=J,s=t}}function po(e,t,l){if(e.subtreeFlags&Qp)for(e=e.child;e!==null;)Hh(e,t,l),e=e.sibling}function Hh(e,t,l){switch(e.tag){case 26:po(e,t,l),e.flags&Qp&&e.memoizedState!==null&&ky(l,Yi,e.memoizedState,e.memoizedProps);break;case 5:po(e,t,l);break;case 3:case 4:var i=Yi;Yi=e0(e.stateNode.containerInfo),po(e,t,l),Yi=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=Qp,Qp=16777216,po(e,t,l),Qp=i):po(e,t,l));break;default:po(e,t,l)}}function zy(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function fa(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var i=t[l],o=ln();bl=i,Lu(i,e),(i.mode&st)!==ke&&0<=qe&&0<=Xe&&.05<Xe-qe&&Da(i,qe,Xe,"Unmount"),Qn(o)}zy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bh(e),e=e.sibling}function Bh(e){var t=ln(),l=Ma(),i=na(),o=xa();switch(e.tag){case 0:case 11:case 15:fa(e),e.flags&2048&&Mh(e,e.return,Sa|ci);break;case 3:var s=Mu();fa(e),e.stateNode.passiveEffectDuration+=ms(s);break;case 12:s=Mu(),fa(e),e.stateNode.passiveEffectDuration+=Ol(s);break;case 22:s=e.stateNode,e.memoizedState!==null&&s._visibility&xo&&(e.return===null||e.return.tag!==13)?(s._visibility&=~xo,jh(e),(e.mode&st)!==ke&&0<=qe&&0<=Xe&&.05<Xe-qe&&Da(e,qe,Xe,"Disconnect")):fa(e);break;default:fa(e)}(e.mode&st)!==ke&&0<=qe&&0<=Xe&&(_n||.05<vn)&&Ja(e,qe,Xe,vn,mn),Qn(t),ta(l),_n=o,mn=i}function jh(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var i=t[l],o=ln();bl=i,Lu(i,e),(i.mode&st)!==ke&&0<=qe&&0<=Xe&&.05<Xe-qe&&Da(i,qe,Xe,"Unmount"),Qn(o)}zy(e)}for(e=e.child;e!==null;)Dy(e),e=e.sibling}function Dy(e){var t=ln(),l=Ma(),i=na(),o=xa();switch(e.tag){case 0:case 11:case 15:Mh(e,e.return,Sa),jh(e);break;case 22:var s=e.stateNode;s._visibility&xo&&(s._visibility&=~xo,jh(e));break;default:jh(e)}(e.mode&st)!==ke&&0<=qe&&0<=Xe&&(_n||.05<vn)&&Ja(e,qe,Xe,vn,mn),Qn(t),ta(l),_n=o,mn=i}function Lu(e,t){for(;bl!==null;){var l=bl,i=l,o=t,s=ln(),h=Ma(),y=na(),b=xa();switch(i.tag){case 0:case 11:case 15:Mh(i,o,Sa);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool,o!=null&&Fc(o));break;case 24:Pr(i.memoizedState.cache)}if((i.mode&st)!==ke&&0<=qe&&0<=Xe&&(_n||.05<vn)&&Ja(i,qe,Xe,vn,mn),Qn(s),ta(h),_n=b,mn=y,i=l.child,i!==null)i.return=l,bl=i;else e:for(l=e;bl!==null;){if(i=bl,s=i.sibling,h=i.return,zn(i),i===l){bl=null;break e}if(s!==null){s.return=h,bl=s;break e}bl=h}}}function _y(){Y4.forEach(function(e){return e()})}function Ry(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||oe.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function yl(e){if((xt&sl)!==Sl&&ft!==0)return ft&-ft;var t=oe.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Yy()):Xi()}function Us(){if(Ga===0)if((ft&536870912)===0||Et){var e=Pf;Pf<<=1,(Pf&3932160)===0&&(Pf=262144),Ga=e}else Ga=536870912;return e=hu.current,e!==null&&(e.flags|=32),Ga}function $e(e,t,l){if(K0&&console.error("useInsertionEffect must not schedule updates."),OS&&(M1=!0),(e===Pt&&(kt===yd||kt===pd)||e.cancelPendingCommit!==null)&&(Vu(e,0),Na(e,ft,Ga,!1)),La(e,l),(xt&sl)!==Sl&&e===Pt){if($u)switch(t.tag){case 0:case 11:case 15:e=mt&&_(mt)||"Unknown",_T.has(e)||(_T.add(e),t=_(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:DT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),DT=!0)}}else Wu&&Nn(e,t,l),Nf(t),e===Pt&&((xt&sl)===Sl&&(Er|=l),bn===vr&&Na(e,ft,Ga,!1)),Zl(e)}function iv(e,t,l){if((xt&(sl|yu))!==Sl)throw Error("Should not already be working.");if(ft!==0&&mt!==null){var i=mt,o=Fn();switch(bE){case Kp:case yd:var s=xp;on&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Suspended",s,o,Pu,void 0,"primary-light")):console.timeStamp("Suspended",s,o,Pu,void 0,"primary-light"));break;case pd:s=xp,on&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Action",s,o,Pu,void 0,"primary-light")):console.timeStamp("Action",s,o,Pu,void 0,"primary-light"));break;default:on&&(i=o-xp,3>i||console.timeStamp("Blocked",xp,o,Pu,void 0,5>i?"primary-light":10>i?"primary":100>i?"primary-dark":"error"))}}s=(l=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Rn(e,t))?_i(e,t):Hs(e,t,!0);var h=l;do{if(s===Lo){Z0&&!l&&Na(e,t,0,!1),t=kt,xp=In(),bE=t;break}else{if(i=Fn(),o=e.current.alternate,h&&!ov(o)){Za(t),o=vl,s=i,!on||s<=o||(Un?Un.run(console.timeStamp.bind(console,"Teared Render",o,s,zt,Tt,"error")):console.timeStamp("Teared Render",o,s,zt,Tt,"error")),gc(t,i),s=Hs(e,t,!1),h=!1;continue}if(s===md){if(h=t,e.errorRecoveryDisabledLanes&h)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){Za(t),Mm(vl,i,t,Un),gc(t,i),t=y;e:{i=e,s=h,h=$p;var b=i.current.memoizedState.isDehydrated;if(b&&(Vu(i,y).flags|=256),y=Hs(i,y,!1),y!==md){if(pS&&!b){i.errorRecoveryDisabledLanes|=s,Er|=s,s=vr;break e}i=Ea,Ea=h,i!==null&&(Ea===null?Ea=i:Ea.push.apply(Ea,i))}s=y}if(h=!1,s!==md)continue;i=Fn()}}if(s===Jp){Za(t),Mm(vl,i,t,Un),gc(t,i),Vu(e,0),Na(e,t,0,!0);break}e:{switch(l=e,s){case Lo:case Jp:throw Error("Root did not complete. This is a bug in React.");case vr:if((t&4194048)!==t)break;case E1:Za(t),Bg(vl,i,t,Un),gc(t,i),o=t,(o&127)!==0?i1=i:(o&4194048)!==0&&(c1=i),Na(l,t,Ga,!br);break e;case md:Ea=null;break;case S1:case hT:break;default:throw Error("Unknown root exit status.")}if(oe.actQueue!==null)Ft(l,o,t,Ea,Fp,O1,Ga,Er,gd,s,null,null,vl,i);else{if((t&62914560)===t&&(h=z1+pT-Fn(),10<h)){if(Na(l,t,Ga,!br),Nc(l,0,!0)!==0)break e;qi=t,l.timeoutHandle=HT(cv.bind(null,l,o,Ea,Fp,O1,t,Ga,Er,gd,br,s,"Throttled",vl,i),h);break e}cv(l,o,Ea,Fp,O1,t,Ga,Er,gd,br,s,null,vl,i)}}}break}while(!0);Zl(e)}function cv(e,t,l,i,o,s,h,y,b,T,J,k,H,ue){e.timeoutHandle=Td;var Oe=t.subtreeFlags,Re=null;if((Oe&8192||(Oe&16785408)===16785408)&&(Re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:za},Hh(t,s,Re),Oe=(s&62914560)===s?z1-Fn():(s&4194048)===s?yT-Fn():0,Oe=l0(Re,Oe),Oe!==null)){qi=s,e.cancelPendingCommit=Oe(Ft.bind(null,e,t,s,l,i,o,h,y,b,J,Re,Re.waitingForViewTransition?"Waiting for the previous Animation":0<Re.count?0<Re.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Re.imgCount===1?"Suspended on an Image":0<Re.imgCount?"Suspended on Images":null,H,ue)),Na(e,s,h,!T);return}Ft(e,t,s,l,i,o,h,y,b,J,Re,k,H,ue)}function ov(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var i=0;i<l.length;i++){var o=l[i],s=o.getSnapshot;o=o.value;try{if(!ga(s(),o))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Na(e,t,l,i){t&=~gS,t&=~Er,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var s=31-il(o),h=1<<s;i[s]=-1,o&=~h}l!==0&&Po(e,l,t)}function da(){return(xt&(sl|yu))===Sl?(Qu(0),!1):!0}function Yh(){if(mt!==null){if(kt===qa)var e=mt.return;else e=mt,ds(),nc(e),B0=null,qp=0,e=mt;for(;e!==null;)hy(e.alternate,e),e=e.return;mt=null}}function gc(e,t){(e&127)!==0&&(ud=t),(e&4194048)!==0&&(Ho=t),(e&62914560)!==0&&(gE=t),(e&2080374784)!==0&&(vE=t)}function Vu(e,t){on&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Tt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Tt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Tt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Tt,"primary-light"));var l=vl;if(vl=In(),ft!==0&&0<l){if(Za(ft),bn===S1||bn===vr)Bg(l,vl,t,Un);else{var i=vl,o=Un;if(on&&!(i<=l)){var s=(t&738197653)===t?"tertiary-dark":"primary-dark",h=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,h,l,i,zt,Tt,s)):console.timeStamp(h,l,i,zt,Tt,s)}}gc(ft,vl)}if(l=Un,Un=null,(t&127)!==0){Un=_p,o=0<=Rc&&Rc<ud?ud:Rc,i=0<=id&&id<ud?ud:id,s=0<=i?i:0<=o?o:vl,0<=i1?(Za(2),jg(i1,s,t,l)):o1&127,l=o;var y=i,b=Rp,T=0<w0,J=mr===Dp,k=mr===u1;if(o=vl,i=_p,s=$b,h=Fb,on){if(zt="Blocking",0<l?l>o&&(l=o):l=o,0<y?y>l&&(y=l):y=l,b!==null&&l>y){var H=T?"secondary-light":"warning";i?i.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+b,y,l,zt,Tt,H)):console.timeStamp(T?"Consecutive":"Event: "+b,y,l,zt,Tt,H)}o>l&&(y=J?"error":(t&738197653)===t?"tertiary-light":"primary-light",J=k?"Promise Resolved":J?"Cascading Update":5<o-l?"Update Blocked":"Update",k=[],h!=null&&k.push(["Component name",h]),s!=null&&k.push(["Method name",s]),l={start:l,end:o,detail:{devtools:{properties:k,track:zt,trackGroup:Tt,color:y}}},i?i.run(performance.measure.bind(performance,J,l)):performance.measure(J,l))}Rc=-1.1,mr=0,Fb=$b=null,i1=-1.1,w0=id,id=-1.1,ud=In()}if((t&4194048)!==0&&(Un=Mp,o=0<=Bo&&Bo<Ho?Ho:Bo,l=0<=ui&&ui<Ho?Ho:ui,i=0<=yr&&yr<Ho?Ho:yr,s=0<=i?i:0<=l?l:vl,0<=c1?(Za(256),jg(c1,s,t,Un)):o1&4194048,k=i,y=cd,b=0<pr,T=Wb===u1,s=vl,i=Mp,h=yE,J=pE,on&&(zt="Transition",0<l?l>s&&(l=s):l=s,0<o?o>l&&(o=l):o=l,0<k?k>o&&(k=o):k=o,o>k&&y!==null&&(H=b?"secondary-light":"warning",i?i.run(console.timeStamp.bind(console,b?"Consecutive":"Event: "+y,k,o,zt,Tt,H)):console.timeStamp(b?"Consecutive":"Event: "+y,k,o,zt,Tt,H)),l>o&&(i?i.run(console.timeStamp.bind(console,"Action",o,l,zt,Tt,"primary-dark")):console.timeStamp("Action",o,l,zt,Tt,"primary-dark")),s>l&&(o=T?"Promise Resolved":5<s-l?"Update Blocked":"Update",k=[],J!=null&&k.push(["Component name",J]),h!=null&&k.push(["Method name",h]),l={start:l,end:s,detail:{devtools:{properties:k,track:zt,trackGroup:Tt,color:"primary-light"}}},i?i.run(performance.measure.bind(performance,o,l)):performance.measure(o,l))),ui=Bo=-1.1,Wb=0,c1=-1.1,pr=yr,yr=-1.1,Ho=In()),(t&62914560)!==0&&(o1&62914560)!==0&&(Za(4194304),xm(gE,vl)),(t&2080374784)!==0&&(o1&2080374784)!==0&&(Za(268435456),xm(vE,vl)),l=e.timeoutHandle,l!==Td&&(e.timeoutHandle=Td,W4(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),qi=0,Yh(),Pt=e,mt=l=_u(e.current,null),ft=t,kt=qa,pu=null,br=!1,Z0=Rn(e,t),pS=!1,bn=Lo,gd=Ga=gS=Er=Sr=0,Ea=$p=null,O1=!1,(t&8)!==0&&(t|=t&32),i=e.entangledLanes,i!==0)for(e=e.entanglements,i&=t;0<i;)o=31-il(i),s=1<<o,t|=e[o],i&=~s;return xc=t,Fd(),e=sE(),1e3<e-oE&&(oe.recentlyCreatedOwnerStacks=0,oE=e),Bi.discardPendingWarnings(),l}function lu(e,t){We=null,oe.H=Xp,oe.getCurrentStack=null,$u=!1,$l=null,t===H0||t===d1?(t=Pc(),kt=Kp):t===tS?(t=Pc(),kt=mT):kt=t===fS?yS:t!==null&&typeof t=="object"&&typeof t.then=="function"?kp:T1,pu=t;var l=mt;l===null?(bn=Jp,bf(e,Al(t,e.current))):l.mode&st&&lh(l)}function My(){var e=hu.current;return e===null?!0:(ft&4194048)===ft?ii===null:(ft&62914560)===ft||(ft&536870912)!==0?e===ii:!1}function qh(){var e=oe.H;return oe.H=Xp,e===null?Xp:e}function xy(){var e=oe.A;return oe.A=j4,e}function ws(e){Un===null&&(Un=e._debugTask==null?null:e._debugTask)}function Ns(){bn=vr,br||(ft&4194048)!==ft&&hu.current!==null||(Z0=!0),(Sr&134217727)===0&&(Er&134217727)===0||Pt===null||Na(Pt,ft,Ga,!1)}function Hs(e,t,l){var i=xt;xt|=sl;var o=qh(),s=xy();if(Pt!==e||ft!==t){if(Wu){var h=e.memoizedUpdaters;0<h.size&&(js(e,ft),h.clear()),Wl(e,t)}Fp=null,Vu(e,t)}t=!1,h=bn;e:do try{if(kt!==qa&&mt!==null){var y=mt,b=pu;switch(kt){case yS:Yh(),h=E1;break e;case Kp:case yd:case pd:case kp:hu.current===null&&(t=!0);var T=kt;if(kt=qa,pu=null,Bs(e,y,b,T),l&&Z0){h=Lo;break e}break;default:T=kt,kt=qa,pu=null,Bs(e,y,b,T)}}Cy(),h=bn;break}catch(J){lu(e,J)}while(!0);return t&&e.shellSuspendCounter++,ds(),xt=i,oe.H=o,oe.A=s,mt===null&&(Pt=null,ft=0,Fd()),h}function Cy(){for(;mt!==null;)Gh(mt)}function _i(e,t){var l=xt;xt|=sl;var i=qh(),o=xy();if(Pt!==e||ft!==t){if(Wu){var s=e.memoizedUpdaters;0<s.size&&(js(e,ft),s.clear()),Wl(e,t)}Fp=null,D1=Fn()+gT,Vu(e,t)}else Z0=Rn(e,t);e:do try{if(kt!==qa&&mt!==null)t:switch(t=mt,s=pu,kt){case T1:kt=qa,pu=null,Bs(e,t,s,T1);break;case yd:case pd:if(Vm(s)){kt=qa,pu=null,Uy(t);break}t=function(){kt!==yd&&kt!==pd||Pt!==e||(kt=A1),Zl(e)},s.then(t,t);break e;case Kp:kt=A1;break e;case mT:kt=mS;break e;case A1:Vm(s)?(kt=qa,pu=null,Uy(t)):(kt=qa,pu=null,Bs(e,t,s,A1));break;case mS:var h=null;switch(mt.tag){case 26:h=mt.memoizedState;case 5:case 27:var y=mt;if(h?pt(h):y.stateNode.complete){kt=qa,pu=null;var b=y.sibling;if(b!==null)mt=b;else{var T=y.return;T!==null?(mt=T,Cf(T)):mt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}kt=qa,pu=null,Bs(e,t,s,mS);break;case kp:kt=qa,pu=null,Bs(e,t,s,kp);break;case yS:Yh(),bn=E1;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}oe.actQueue!==null?Cy():xn();break}catch(J){lu(e,J)}while(!0);return ds(),oe.H=i,oe.A=o,xt=l,mt!==null?Lo:(Pt=null,ft=0,Fd(),bn)}function xn(){for(;mt!==null&&!m0();)Gh(mt)}function Gh(e){var t=e.alternate;(e.mode&st)!==ke?(pi(e),t=Ae(e,Af,t,e,xc),lh(e)):t=Ae(e,Af,t,e,xc),e.memoizedProps=e.pendingProps,t===null?Cf(e):mt=t}function Uy(e){var t=Ae(e,$n,e);e.memoizedProps=e.pendingProps,t===null?Cf(e):mt=t}function $n(e){var t=e.alternate,l=(e.mode&st)!==ke;switch(l&&pi(e),e.tag){case 15:case 0:t=cy(t,e,e.pendingProps,e.type,void 0,ft);break;case 11:t=cy(t,e,e.pendingProps,e.type.render,e.ref,ft);break;case 5:nc(e);default:hy(t,e),e=mt=Nm(e,xc),t=Af(t,e,xc)}return l&&lh(e),t}function Bs(e,t,l,i){ds(),nc(t),B0=null,qp=0;var o=t.return;try{if(ey(e,o,t,l,ft)){bn=Jp,bf(e,Al(l,e.current)),mt=null;return}}catch(s){if(o!==null)throw mt=o,s;bn=Jp,bf(e,Al(l,e.current)),mt=null;return}t.flags&32768?(Et||i===T1?e=!0:Z0||(ft&536870912)!==0?e=!1:(br=e=!0,(i===yd||i===pd||i===Kp||i===kp)&&(i=hu.current,i!==null&&i.tag===13&&(i.flags|=16384))),wy(t,e)):Cf(t)}function Cf(e){var t=e;do{if((t.flags&32768)!==0){wy(t,br);return}var l=t.alternate;if(e=t.return,pi(t),l=Ae(t,dy,l,t,xc),(t.mode&st)!==ke&&ef(t),l!==null){mt=l;return}if(t=t.sibling,t!==null){mt=t;return}mt=t=e}while(t!==null);bn===Lo&&(bn=hT)}function wy(e,t){do{var l=Pg(e.alternate,e);if(l!==null){l.flags&=32767,mt=l;return}if((e.mode&st)!==ke){ef(e),l=e.actualDuration;for(var i=e.child;i!==null;)l+=i.actualDuration,i=i.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){mt=e;return}mt=e=l}while(e!==null);bn=E1,mt=null}function Ft(e,t,l,i,o,s,h,y,b,T,J,k,H,ue){e.cancelPendingCommit=null;do Uf();while(ll!==Ar);if(Bi.flushLegacyContextWarning(),Bi.flushPendingUnsafeLifecycleWarnings(),(xt&(sl|yu))!==Sl)throw Error("Should not already be working.");if(Za(l),T===md?Mm(H,ue,l,Un):i!==null?vb(H,ue,l,i,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Un):gb(H,ue,l,Un),t!==null){if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(s=t.lanes|t.childLanes,s|=Qb,Ud(e,l,s,h,y,b),e===Pt&&(mt=Pt=null,ft=0),J0=t,Or=e,qi=l,SS=s,TS=o,AT=i,ES=ue,OT=k,Gi=_1,zT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ys(Do,function(){return ng=window.event,Gi===_1&&(Gi=bS),wf(),null})):(e.callbackNode=null,e.callbackPriority=0),No=null,hr=In(),k!==null&&bb(ue,hr,k,Un),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=oe.T,oe.T=null,o=Bt.p,Bt.p=qn,h=xt,xt|=yu;try{Tb(e,t,l)}finally{xt=h,Bt.p=o,oe.T=i}}ll=bT,Ul(),Xu(),Ny()}}function Ul(){if(ll===bT){ll=Ar;var e=Or,t=J0,l=qi,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=oe.T,oe.T=null;var o=Bt.p;Bt.p=qn;var s=xt;xt|=yu;try{X0=l,Q0=e,Wc(),_f(t,e),Q0=X0=null,l=wS;var h=Kd(e.containerInfo),y=l.focusedElem,b=l.selectionRange;if(h!==y&&y&&y.ownerDocument&&Ug(y.ownerDocument.documentElement,y)){if(b!==null&&Dm(y)){var T=b.start,J=b.end;if(J===void 0&&(J=T),"selectionStart"in y)y.selectionStart=T,y.selectionEnd=Math.min(J,y.value.length);else{var k=y.ownerDocument||document,H=k&&k.defaultView||window;if(H.getSelection){var ue=H.getSelection(),Oe=y.textContent.length,Re=Math.min(b.start,Oe),tn=b.end===void 0?Re:Math.min(b.end,Oe);!ue.extend&&Re>tn&&(h=tn,tn=Re,Re=h);var At=Cg(y,Re),U=Cg(y,tn);if(At&&U&&(ue.rangeCount!==1||ue.anchorNode!==At.node||ue.anchorOffset!==At.offset||ue.focusNode!==U.node||ue.focusOffset!==U.offset)){var j=k.createRange();j.setStart(At.node,At.offset),ue.removeAllRanges(),Re>tn?(ue.addRange(j),ue.extend(U.node,U.offset)):(j.setEnd(U.node,U.offset),ue.addRange(j))}}}}for(k=[],ue=y;ue=ue.parentNode;)ue.nodeType===1&&k.push({element:ue,left:ue.scrollLeft,top:ue.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<k.length;y++){var Q=k[y];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}X1=!!US,wS=US=null}finally{xt=s,Bt.p=o,oe.T=i}}e.current=t,ll=ST}}function Xu(){if(ll===ST){ll=Ar;var e=zT;if(e!==null){hr=In();var t=wo,l=hr;!on||l<=t||console.timeStamp(e,t,l,zt,Tt,"secondary-light")}e=Or,t=J0,l=qi;var i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=oe.T,oe.T=null;var o=Bt.p;Bt.p=qn;var s=xt;xt|=yu;try{X0=l,Q0=e,Wc(),wh(e,t.alternate,t),Q0=X0=null}finally{xt=s,Bt.p=o,oe.T=i}}e=ES,t=OT,wo=In(),e=t===null?e:hr,t=wo,l=Gi===vS,i=Un,No!==null?Yg(e,t,No,!1,i):!on||t<=e||(i?i.run(console.timeStamp.bind(console,l?"Commit Interrupted View Transition":"Commit",e,t,zt,Tt,l?"error":"secondary-dark")):console.timeStamp(l?"Commit Interrupted View Transition":"Commit",e,t,zt,Tt,l?"error":"secondary-dark")),ll=ET}}function Ny(){if(ll===TT||ll===ET){if(ll===TT){var e=wo;wo=In();var t=wo,l=Gi===vS;!on||t<=e||console.timeStamp(l?"Interrupted View Transition":"Starting Animation",e,t,zt,Tt,l?" error":"secondary-light"),Gi!==vS&&(Gi=vT)}ll=Ar,y0(),e=Or;var i=J0;t=qi,l=AT;var o=i.actualDuration!==0||(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0;o?ll=R1:(ll=Ar,J0=Or=null,Hy(e,e.pendingLanes),vd=0,Ip=null);var s=e.pendingLanes;if(s===0&&(Tr=null),o||Xh(e),s=Vn(t),i=i.stateNode,Yn&&typeof Yn.onCommitFiberRoot=="function")try{var h=(i.current.flags&128)===128;switch(s){case qn:var y=fp;break;case cl:y=p0;break;case gl:y=Do;break;case zc:y=g0;break;default:y=Do}Yn.onCommitFiberRoot(_o,i,y,h)}catch(k){Fu||(Fu=!0,console.error("React instrumentation encountered an error: %o",k))}if(Wu&&e.memoizedUpdaters.clear(),_y(),l!==null){h=oe.T,y=Bt.p,Bt.p=qn,oe.T=null;try{var b=e.onRecoverableError;for(i=0;i<l.length;i++){var T=l[i],J=sv(T.stack);Ae(T.source,b,T.value,J)}}finally{oe.T=h,Bt.p=y}}(qi&3)!==0&&Uf(),Zl(e),s=e.pendingLanes,(t&261930)!==0&&(s&42)!==0?(r1=!0,e===AS?Wp++:(Wp=0,AS=e)):Wp=0,o||gc(t,wo),Qu(0)}}function sv(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Hy(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Pr(t)))}function Uf(){return Ul(),Xu(),Ny(),wf()}function wf(){if(ll!==R1)return!1;var e=Or,t=SS;SS=0;var l=Vn(qi),i=gl>l?gl:l;l=oe.T;var o=Bt.p;try{Bt.p=i,oe.T=null;var s=TS;TS=null,i=Or;var h=qi;if(ll=Ar,J0=Or=null,qi=0,(xt&(sl|yu))!==Sl)throw Error("Cannot flush passive effects while already rendering.");Za(h),OS=!0,M1=!1;var y=0;if(No=null,y=Fn(),Gi===vT)xm(wo,y,x4);else{var b=wo,T=y,J=Gi===bS;!on||T<=b||(Un?Un.run(console.timeStamp.bind(console,J?"Waiting for Paint":"Waiting",b,T,zt,Tt,"secondary-light")):console.timeStamp(J?"Waiting for Paint":"Waiting",b,T,zt,Tt,"secondary-light"))}b=xt,xt|=yu;var k=i.current;Wc(),Bh(k);var H=i.current;k=ES,Wc(),Oy(i,H,h,s,k),Xh(i),xt=b;var ue=Fn();if(H=y,k=Un,No!==null?Yg(H,ue,No,!0,k):!on||ue<=H||(k?k.run(console.timeStamp.bind(console,"Remaining Effects",H,ue,zt,Tt,"secondary-dark")):console.timeStamp("Remaining Effects",H,ue,zt,Tt,"secondary-dark")),gc(h,ue),Qu(0,!1),M1?i===Ip?vd++:(vd=0,Ip=i):vd=0,M1=OS=!1,Yn&&typeof Yn.onPostCommitFiberRoot=="function")try{Yn.onPostCommitFiberRoot(_o,i)}catch(Re){Fu||(Fu=!0,console.error("React instrumentation encountered an error: %o",Re))}var Oe=i.current.stateNode;return Oe.effectDuration=0,Oe.passiveEffectDuration=0,!0}finally{Bt.p=o,oe.T=l,Hy(e,t)}}function wl(e,t,l){t=Al(l,t),Qg(t),t=bh(e.stateNode,t,2),e=Cu(e,t,2),e!==null&&(La(e,2),Zl(e))}function ut(e,t,l){if(K0=!1,e.tag===3)wl(e,e,l);else{for(;t!==null;){if(t.tag===3){wl(t,e,l);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Tr===null||!Tr.has(i))){e=Al(l,e),Qg(e),l=Sh(2),i=Cu(t,l,2),i!==null&&(Eh(l,i,t,e),La(i,2),Zl(i));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
168
|
+
|
|
169
|
+
Error message:
|
|
170
|
+
|
|
171
|
+
%s`,l)}}function Lh(e,t,l){var i=e.pingCache;if(i===null){i=e.pingCache=new q4;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(l)||(pS=!0,o.add(l),i=Ql.bind(null,e,t,l),Wu&&js(e,l),t.then(i,i))}function Ql(e,t,l){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,(l&127)!==0?0>Rc&&(ud=Rc=In(),_p=a1("Promise Resolved"),mr=u1):(l&4194048)!==0&&0>ui&&(Ho=ui=In(),Mp=a1("Promise Resolved"),Wb=u1),Ry()&&oe.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
172
|
+
|
|
173
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
174
|
+
|
|
175
|
+
act(() => {
|
|
176
|
+
/* finish loading suspended data */
|
|
177
|
+
});
|
|
178
|
+
/* assert on the output */
|
|
179
|
+
|
|
180
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Pt===e&&(ft&l)===l&&(bn===vr||bn===S1&&(ft&62914560)===ft&&Fn()-z1<pT?(xt&sl)===Sl&&Vu(e,0):gS|=l,gd===ft&&(gd=0)),Zl(e)}function By(e,t){t===0&&(t=Wo()),e=hl(e,t),e!==null&&(La(e,t),Zl(e))}function Ri(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),By(e,l)}function go(e,t){var l=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(l=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),By(e,l)}function au(e,t,l){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,o=t,s=o.type===Bl;s=l||s,o.tag!==22?o.flags&67108864?s&&Ae(o,Vh,i,o):au(i,o,s):o.memoizedState===null&&(s&&o.flags&8192?Ae(o,Vh,i,o):o.subtreeFlags&67108864&&Ae(o,au,i,o,s)),t=t.sibling}}function Vh(e,t){Ce(!0);try{Nh(t),Dy(t),Ay(e,t.alternate,t,!1),xf(e,t,0,null,!1,0)}finally{Ce(!1)}}function Xh(e){var t=!0;e.current.mode&(Fl|Hi)||(t=!1),au(e,e.current,t)}function Ha(e){if((xt&sl)===Sl){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=_(e)||"ReactComponent",x1!==null){if(x1.has(t))return;x1.add(t)}else x1=new Set([t]);Ae(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function js(e,t){Wu&&e.memoizedUpdaters.forEach(function(l){Nn(e,l,t)})}function Ys(e,t){var l=oe.actQueue;return l!==null?(l.push(t),V4):rp(e,t)}function Nf(e){Ry()&&oe.actQueue===null&&Ae(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
181
|
+
|
|
182
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
183
|
+
|
|
184
|
+
act(() => {
|
|
185
|
+
/* fire events that update state */
|
|
186
|
+
});
|
|
187
|
+
/* assert on the output */
|
|
188
|
+
|
|
189
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,_(e))})}function Zl(e){e!==k0&&e.next===null&&(k0===null?C1=k0=e:k0=k0.next=e),U1=!0,oe.actQueue!==null?DS||(DS=!0,fv()):zS||(zS=!0,fv())}function Qu(e,t){if(!_S&&U1){_S=!0;do for(var l=!1,i=C1;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var s=0;else{var h=i.suspendedLanes,y=i.pingedLanes;s=(1<<31-il(42|e)+1)-1,s&=o&~(h&~y),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(l=!0,Hf(i,s))}else s=ft,s=Nc(i,i===Pt?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Td),(s&3)===0||Rn(i,s)||(l=!0,Hf(i,s));i=i.next}while(l);_S=!1}}function rv(){ng=window.event,Qh()}function Qh(){U1=DS=zS=!1;var e=0;zr!==0&&Gy()&&(e=zr);for(var t=Fn(),l=null,i=C1;i!==null;){var o=i.next,s=qs(i,t);s===0?(i.next=null,l===null?C1=o:l.next=o,o===null&&(k0=l)):(l=i,(e!==0||(s&3)!==0)&&(U1=!0)),i=o}ll!==Ar&&ll!==R1||Qu(e),zr!==0&&(zr=0)}function qs(e,t){for(var l=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var h=31-il(s),y=1<<h,b=o[h];b===-1?((y&l)===0||(y&i)!==0)&&(o[h]=Cd(y,t)):b<=t&&(e.expiredLanes|=y),s&=~y}if(t=Pt,l=ft,l=Nc(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Td),i=e.callbackNode,l===0||e===t&&(kt===yd||kt===pd)||e.cancelPendingCommit!==null)return i!==null&&Zh(i),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Rn(e,l)){if(t=l&-l,t!==e.callbackPriority||oe.actQueue!==null&&i!==RS)Zh(i);else return t;switch(Vn(l)){case qn:case cl:l=p0;break;case gl:l=Do;break;case zc:l=g0;break;default:l=Do}return i=jy.bind(null,e),oe.actQueue!==null?(oe.actQueue.push(i),l=RS):l=rp(l,i),e.callbackPriority=t,e.callbackNode=l,t}return i!==null&&Zh(i),e.callbackPriority=2,e.callbackNode=null,2}function jy(e,t){if(r1=s1=!1,ng=window.event,ll!==Ar&&ll!==R1)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Gi===_1&&(Gi=bS),Uf()&&e.callbackNode!==l)return null;var i=ft;return i=Nc(e,e===Pt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Td),i===0?null:(iv(e,i,t),qs(e,Fn()),e.callbackNode!=null&&e.callbackNode===l?jy.bind(null,e):null)}function Hf(e,t){if(Uf())return null;s1=r1,r1=!1,iv(e,t,!0)}function Zh(e){e!==RS&&e!==null&&h0(e)}function fv(){oe.actQueue!==null&&oe.actQueue.push(function(){return Qh(),null}),I4(function(){(xt&(sl|yu))!==Sl?rp(fp,rv):Qh()})}function Yy(){if(zr===0){var e=od;e===0&&(e=lr,lr<<=1,(lr&261888)===0&&(lr=256)),zr=e}return zr}function Ut(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Ct(e,"action"),Xr(""+e))}function Zt(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function bt(e,t,l,i,o){if(t==="submit"&&l&&l.stateNode===o){var s=Ut((o[jl]||null).action),h=i.submitter;h&&(t=(t=h[jl]||null)?Ut(t.formAction):h.getAttribute("formAction"),t!==null&&(s=t,h=null));var y=new Wv("action","action",null,i,o);e.push({event:y,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(zr!==0){var b=h?Zt(o,h):new FormData(o),T={pending:!0,data:b,method:o.method,action:s};Object.freeze(T),Oi(l,T,null,b)}}else typeof s=="function"&&(y.preventDefault(),b=h?Zt(o,h):new FormData(o),T={pending:!0,data:b,method:o.method,action:s},Object.freeze(T),Oi(l,T,s,b))},currentTarget:o}]})}}function ht(e,t,l){e.currentTarget=l;try{t(e)}catch(i){Gb(i)}e.currentTarget=null}function Gt(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var i=e[l];e:{var o=void 0,s=i.event;if(i=i.listeners,t)for(var h=i.length-1;0<=h;h--){var y=i[h],b=y.instance,T=y.currentTarget;if(y=y.listener,b!==o&&s.isPropagationStopped())break e;b!==null?Ae(b,ht,s,y,T):ht(s,y,T),o=b}else for(h=0;h<i.length;h++){if(y=i[h],b=y.instance,T=y.currentTarget,y=y.listener,b!==o&&s.isPropagationStopped())break e;b!==null?Ae(b,ht,s,y,T):ht(s,y,T),o=b}}}}function Je(e,t){MS.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=t[Ro];l===void 0&&(l=t[Ro]=new Set);var i=e+"__bubble";l.has(i)||(Jh(t,e,2,!1),l.add(i))}function Zu(e,t,l){MS.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=4),Jh(l,e,i,t)}function vc(e){if(!e[w1]){e[w1]=!0,Jv.forEach(function(l){l!=="selectionchange"&&(MS.has(l)||Zu(l,!1,e),Zu(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[w1]||(t[w1]=!0,Zu("selectionchange",!1,t))}}function Jh(e,t,l,i){switch(i0(t)){case qn:var o=Py;break;case cl:o=ul;break;default:o=ep}l=o.bind(null,t,l,e),o=void 0,!xb||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,l,{capture:!0,passive:o}):e.addEventListener(t,l,!0):o!==void 0?e.addEventListener(t,l,{passive:o}):e.addEventListener(t,l,!1)}function uu(e,t,l,i,o){var s=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var h=i.tag;if(h===3||h===4){var y=i.stateNode.containerInfo;if(y===o)break;if(h===4)for(h=i.return;h!==null;){var b=h.tag;if((b===3||b===4)&&h.stateNode.containerInfo===o)return;h=h.return}for(;y!==null;){if(h=Se(y),h===null)return;if(b=h.tag,b===5||b===6||b===26||b===27){i=s=h;continue e}y=y.parentNode}}i=i.return}Xd(function(){var T=s,J=Xa(l),k=[];e:{var H=cE.get(e);if(H!==void 0){var ue=Wv,Oe=e;switch(e){case"keypress":if(Qr(l)===0)break e;case"keydown":case"keyup":ue=l4;break;case"focusin":Oe="focus",ue=Nb;break;case"focusout":Oe="blur",ue=Nb;break;case"beforeblur":case"afterblur":ue=Nb;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ue=K2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ue=ZO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ue=i4;break;case lE:case aE:case uE:ue=kO;break;case iE:ue=o4;break;case"scroll":case"scrollend":ue=XO;break;case"wheel":ue=r4;break;case"copy":case"cut":case"paste":ue=FO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ue=$2;break;case"toggle":case"beforetoggle":ue=d4}var Re=(t&4)!==0,tn=!Re&&(e==="scroll"||e==="scrollend"),At=Re?H!==null?H+"Capture":null:H;Re=[];for(var U=T,j;U!==null;){var Q=U;if(j=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||j===null||At===null||(Q=zu(U,At),Q!=null&&Re.push(Wt(U,Q,j))),tn)break;U=U.return}0<Re.length&&(H=new ue(H,Oe,null,l,J),k.push({event:H,listeners:Re}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",ue=e==="mouseout"||e==="pointerout",H&&l!==pp&&(Oe=l.relatedTarget||l.fromElement)&&(Se(Oe)||Oe[Ni]))break e;if((ue||H)&&(H=J.window===J?J:(H=J.ownerDocument)?H.defaultView||H.parentWindow:window,ue?(Oe=l.relatedTarget||l.toElement,ue=T,Oe=Oe?Se(Oe):null,Oe!==null&&(tn=Ze(Oe),Re=Oe.tag,Oe!==tn||Re!==5&&Re!==27&&Re!==6)&&(Oe=null)):(ue=null,Oe=T),ue!==Oe)){if(Re=K2,Q="onMouseLeave",At="onMouseEnter",U="mouse",(e==="pointerout"||e==="pointerover")&&(Re=$2,Q="onPointerLeave",At="onPointerEnter",U="pointer"),tn=ue==null?H:Ue(ue),j=Oe==null?H:Ue(Oe),H=new Re(Q,U+"leave",ue,l,J),H.target=tn,H.relatedTarget=j,Q=null,Se(J)===T&&(Re=new Re(At,U+"enter",Oe,l,J),Re.target=j,Re.relatedTarget=tn,Q=Re),tn=Q,ue&&Oe)t:{for(Re=vo,At=ue,U=Oe,j=0,Q=At;Q;Q=Re(Q))j++;Q=0;for(var he=U;he;he=Re(he))Q++;for(;0<j-Q;)At=Re(At),j--;for(;0<Q-j;)U=Re(U),Q--;for(;j--;){if(At===U||U!==null&&At===U.alternate){Re=At;break t}At=Re(At),U=Re(U)}Re=null}else Re=null;ue!==null&&Kh(k,H,ue,Re,!1),Oe!==null&&tn!==null&&Kh(k,tn,Oe,Re,!0)}}e:{if(H=T?Ue(T):window,ue=H.nodeName&&H.nodeName.toLowerCase(),ue==="select"||ue==="input"&&H.type==="file")var De=ki;else if(Am(H))if(tE)De=kr;else{De=Om;var Ie=pb}else ue=H.nodeName,!ue||ue.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?T&&Ou(T.elementType)&&(De=ki):De=zm;if(De&&(De=De(e,T))){Jr(k,De,l,J);break e}Ie&&Ie(e,H,T),e==="focusout"&&T&&H.type==="number"&&T.memoizedProps.value!=null&&mm(H,"number",H.value)}switch(Ie=T?Ue(T):window,e){case"focusin":(Am(Ie)||Ie.contentEditable==="true")&&(z0=Ie,Bb=T,Ap=null);break;case"focusout":Ap=Bb=z0=null;break;case"mousedown":jb=!0;break;case"contextmenu":case"mouseup":case"dragend":jb=!1,wg(k,l,J);break;case"selectionchange":if(p4)break;case"keydown":case"keyup":wg(k,l,J)}var Ye;if(Hb)e:{switch(e){case"compositionstart":var Be="onCompositionStart";break e;case"compositionend":Be="onCompositionEnd";break e;case"compositionupdate":Be="onCompositionUpdate";break e}Be=void 0}else O0?cs(e,l)&&(Be="onCompositionEnd"):e==="keydown"&&l.keyCode===F2&&(Be="onCompositionStart");Be&&(W2&&l.locale!=="ko"&&(O0||Be!=="onCompositionStart"?Be==="onCompositionEnd"&&O0&&(Ye=Lc()):(or=J,Cb="value"in or?or.value:or.textContent,O0=!0)),Ie=iu(T,Be),0<Ie.length&&(Be=new k2(Be,e,null,l,J),k.push({event:Be,listeners:Ie}),Ye?Be.data=Ye:(Ye=mi(l),Ye!==null&&(Be.data=Ye)))),(Ye=m4?Tm(e,l):Qd(e,l))&&(Be=iu(T,"onBeforeInput"),0<Be.length&&(Ie=new IO("onBeforeInput","beforeinput",null,l,J),k.push({event:Ie,listeners:Be}),Ie.data=Ye)),bt(k,e,T,l,J)}Gt(k,t)})}function Wt(e,t,l){return{instance:e,listener:t,currentTarget:l}}function iu(e,t){for(var l=t+"Capture",i=[];e!==null;){var o=e,s=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||s===null||(o=zu(e,l),o!=null&&i.unshift(Wt(e,o,s)),o=zu(e,t),o!=null&&i.push(Wt(e,o,s))),e.tag===3)return i;e=e.return}return[]}function vo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Kh(e,t,l,i,o){for(var s=t._reactName,h=[];l!==null&&l!==i;){var y=l,b=y.alternate,T=y.stateNode;if(y=y.tag,b!==null&&b===i)break;y!==5&&y!==26&&y!==27||T===null||(b=T,o?(T=zu(l,s),T!=null&&h.unshift(Wt(l,T,b))):o||(T=zu(l,s),T!=null&&h.push(Wt(l,T,b)))),l=l.return}h.length!==0&&e.push({event:t,listeners:h})}function Nl(e,t){Rg(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Z2||(Z2=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:Iu,possibleRegistrationNames:ir};Ou(e)||typeof t.is=="string"||yb(e,t,l),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function dn(e,t,l,i){t!==l&&(l=cu(l),cu(t)!==l&&(i[e]=t))}function Bf(e,t,l){t.forEach(function(i){l[Mi(i)]=i==="style"?bc(e):e.getAttribute(i)})}function hn(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function kh(e,t){return e=e.namespaceURI===tt||e.namespaceURI===it?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function cu(e){return Vt(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",En(e)),Rt(e)),(typeof e=="string"?e:""+e).replace(X4,`
|
|
190
|
+
`).replace(Q4,"")}function qy(e,t){return t=cu(t),cu(e)===t}function Ht(e,t,l,i,o,s){switch(l){case"children":typeof i=="string"?(Vr(i,t,!1),t==="body"||t==="textarea"&&i===""||Gc(e,i)):(typeof i=="number"||typeof i=="bigint")&&(Vr(""+i,t,!1),t!=="body"&&Gc(e,""+i));break;case"className":qr(e,"class",i);break;case"tabIndex":qr(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":qr(e,l,i);break;case"style":bm(e,i,s);break;case"data":if(t!=="object"){qr(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||l!=="href")){console.error(l==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',l,l),e.removeAttribute(l);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(l);break}Ct(i,l),i=Xr(""+i),e.setAttribute(l,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||B1||(B1=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),o.target==null||H1||(H1=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||N1?t!=="button"||o.type==null||o.type==="submit"||N1?typeof i=="function"&&(o.name==null||xT||(xT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),o.formEncType==null&&o.formMethod==null||B1||(B1=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),o.formTarget==null||H1||(H1=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(N1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(N1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(l==="formAction"?(t!=="input"&&Ht(e,t,"name",o.name,o,null),Ht(e,t,"formEncType",o.formEncType,o,null),Ht(e,t,"formMethod",o.formMethod,o,null),Ht(e,t,"formTarget",o.formTarget,o,null)):(Ht(e,t,"encType",o.encType,o,null),Ht(e,t,"method",o.method,o,null),Ht(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(l);break}Ct(i,l),i=Xr(""+i),e.setAttribute(l,i);break;case"onClick":i!=null&&(typeof i!="function"&&hn(l,i),e.onclick=za);break;case"onScroll":i!=null&&(typeof i!="function"&&hn(l,i),Je("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&hn(l,i),Je("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=i.__html,l!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}Ct(i,l),l=Xr(""+i),e.setAttributeNS(bd,"xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(Ct(i,l),e.setAttribute(l,""+i)):e.removeAttribute(l);break;case"inert":i!==""||j1[l]||(j1[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":i===!0?e.setAttribute(l,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(Ct(i,l),e.setAttribute(l,i)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(Ct(i,l),e.setAttribute(l,i)):e.removeAttribute(l);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(l):(Ct(i,l),e.setAttribute(l,i));break;case"popover":Je("beforetoggle",e),Je("toggle",e),es(e,"popover",i);break;case"xlinkActuate":Eu(e,bd,"xlink:actuate",i);break;case"xlinkArcrole":Eu(e,bd,"xlink:arcrole",i);break;case"xlinkRole":Eu(e,bd,"xlink:role",i);break;case"xlinkShow":Eu(e,bd,"xlink:show",i);break;case"xlinkTitle":Eu(e,bd,"xlink:title",i);break;case"xlinkType":Eu(e,bd,"xlink:type",i);break;case"xmlBase":Eu(e,xS,"xml:base",i);break;case"xmlLang":Eu(e,xS,"xml:lang",i);break;case"xmlSpace":Eu(e,xS,"xml:space",i);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),es(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":CT||i==null||typeof i!="object"||(CT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=Dg(l),es(e,l,i)):Iu.hasOwnProperty(l)&&i!=null&&typeof i!="function"&&hn(l,i)}}function Gs(e,t,l,i,o,s){switch(l){case"style":bm(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=i.__html,l!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof i=="string"?Gc(e,i):(typeof i=="number"||typeof i=="bigint")&&Gc(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&hn(l,i),Je("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&hn(l,i),Je("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&hn(l,i),e.onclick=za);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Iu.hasOwnProperty(l))i!=null&&typeof i!="function"&&hn(l,i);else e:{if(l[0]==="o"&&l[1]==="n"&&(o=l.endsWith("Capture"),t=l.slice(2,o?l.length-7:void 0),s=e[jl]||null,s=s!=null?s[l]:null,typeof s=="function"&&e.removeEventListener(t,s,o),typeof i=="function")){typeof s!="function"&&s!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,i,o);break e}l in e?e[l]=i:i===!0?e.setAttribute(l,""):es(e,l,i)}}}function un(e,t,l){switch(Nl(t,l),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Je("error",e),Je("load",e);var i=!1,o=!1,s;for(s in l)if(l.hasOwnProperty(s)){var h=l[s];if(h!=null)switch(s){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ht(e,t,s,h,l,null)}}o&&Ht(e,t,"srcSet",l.srcSet,l,null),i&&Ht(e,t,"src",l.src,l,null);return;case"input":dl("input",l),Je("invalid",e);var y=s=h=o=null,b=null,T=null;for(i in l)if(l.hasOwnProperty(i)){var J=l[i];if(J!=null)switch(i){case"name":o=J;break;case"type":h=J;break;case"checked":b=J;break;case"defaultChecked":T=J;break;case"value":s=J;break;case"defaultValue":y=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ht(e,t,i,J,l,null)}}Tl(e,l),Hd(e,s,y,b,T,h,o,!1);return;case"select":dl("select",l),Je("invalid",e),i=h=s=null;for(o in l)if(l.hasOwnProperty(o)&&(y=l[o],y!=null))switch(o){case"value":s=y;break;case"defaultValue":h=y;break;case"multiple":i=y;default:Ht(e,t,o,y,l,null)}Bd(e,l),t=s,l=h,e.multiple=!!i,t!=null?Tu(e,!!i,t,!1):l!=null&&Tu(e,!!i,l,!0);return;case"textarea":dl("textarea",l),Je("invalid",e),s=o=i=null;for(h in l)if(l.hasOwnProperty(h)&&(y=l[h],y!=null))switch(h){case"value":i=y;break;case"defaultValue":o=y;break;case"children":s=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ht(e,t,h,y,l,null)}Bc(e,l),ts(e,i,o,s);return;case"option":zg(e,l);for(b in l)l.hasOwnProperty(b)&&(i=l[b],i!=null)&&(b==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":Ht(e,t,b,i,l,null));return;case"dialog":Je("beforetoggle",e),Je("toggle",e),Je("cancel",e),Je("close",e);break;case"iframe":case"object":Je("load",e);break;case"video":case"audio":for(i=0;i<Pp.length;i++)Je(Pp[i],e);break;case"image":Je("error",e),Je("load",e);break;case"details":Je("toggle",e);break;case"embed":case"source":case"link":Je("error",e),Je("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in l)if(l.hasOwnProperty(T)&&(i=l[T],i!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ht(e,t,T,i,l,null)}return;default:if(Ou(t)){for(J in l)l.hasOwnProperty(J)&&(i=l[J],i!==void 0&&Gs(e,t,J,i,l,void 0));return}}for(y in l)l.hasOwnProperty(y)&&(i=l[y],i!=null&&Ht(e,t,y,i,l,null))}function jn(e,t,l,i){switch(Nl(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,s=null,h=null,y=null,b=null,T=null,J=null;for(ue in l){var k=l[ue];if(l.hasOwnProperty(ue)&&k!=null)switch(ue){case"checked":break;case"value":break;case"defaultValue":b=k;default:i.hasOwnProperty(ue)||Ht(e,t,ue,null,i,k)}}for(var H in i){var ue=i[H];if(k=l[H],i.hasOwnProperty(H)&&(ue!=null||k!=null))switch(H){case"type":s=ue;break;case"name":o=ue;break;case"checked":T=ue;break;case"defaultChecked":J=ue;break;case"value":h=ue;break;case"defaultValue":y=ue;break;case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:ue!==k&&Ht(e,t,H,ue,i,k)}}t=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||MT||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),MT=!0),!t||i||RT||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),RT=!0),Zi(e,h,y,b,T,J,s,o);return;case"select":ue=h=y=H=null;for(s in l)if(b=l[s],l.hasOwnProperty(s)&&b!=null)switch(s){case"value":break;case"multiple":ue=b;default:i.hasOwnProperty(s)||Ht(e,t,s,null,i,b)}for(o in i)if(s=i[o],b=l[o],i.hasOwnProperty(o)&&(s!=null||b!=null))switch(o){case"value":H=s;break;case"defaultValue":y=s;break;case"multiple":h=s;default:s!==b&&Ht(e,t,o,s,i,b)}i=y,t=h,l=ue,H!=null?Tu(e,!!t,H,!1):!!l!=!!t&&(i!=null?Tu(e,!!t,i,!0):Tu(e,!!t,t?[]:"",!1));return;case"textarea":ue=H=null;for(y in l)if(o=l[y],l.hasOwnProperty(y)&&o!=null&&!i.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Ht(e,t,y,null,i,o)}for(h in i)if(o=i[h],s=l[h],i.hasOwnProperty(h)&&(o!=null||s!=null))switch(h){case"value":H=o;break;case"defaultValue":ue=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==s&&Ht(e,t,h,o,i,s)}jc(e,H,ue);return;case"option":for(var Oe in l)H=l[Oe],l.hasOwnProperty(Oe)&&H!=null&&!i.hasOwnProperty(Oe)&&(Oe==="selected"?e.selected=!1:Ht(e,t,Oe,null,i,H));for(b in i)H=i[b],ue=l[b],i.hasOwnProperty(b)&&H!==ue&&(H!=null||ue!=null)&&(b==="selected"?e.selected=H&&typeof H!="function"&&typeof H!="symbol":Ht(e,t,b,H,i,ue));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Re in l)H=l[Re],l.hasOwnProperty(Re)&&H!=null&&!i.hasOwnProperty(Re)&&Ht(e,t,Re,null,i,H);for(T in i)if(H=i[T],ue=l[T],i.hasOwnProperty(T)&&H!==ue&&(H!=null||ue!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ht(e,t,T,H,i,ue)}return;default:if(Ou(t)){for(var tn in l)H=l[tn],l.hasOwnProperty(tn)&&H!==void 0&&!i.hasOwnProperty(tn)&&Gs(e,t,tn,void 0,i,H);for(J in i)H=i[J],ue=l[J],!i.hasOwnProperty(J)||H===ue||H===void 0&&ue===void 0||Gs(e,t,J,H,i,ue);return}}for(var At in l)H=l[At],l.hasOwnProperty(At)&&H!=null&&!i.hasOwnProperty(At)&&Ht(e,t,At,null,i,H);for(k in i)H=i[k],ue=l[k],!i.hasOwnProperty(k)||H===ue||H==null&&ue==null||Ht(e,t,k,H,i,ue)}function Mi(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function bc(e){var t={};e=e.style;for(var l=0;l<e.length;l++){var i=e[l];t[i]=e.getPropertyValue(i)}return t}function Ju(e,t,l){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var i,o=i="",s;for(s in t)if(t.hasOwnProperty(s)){var h=t[s];h!=null&&typeof h!="boolean"&&h!==""&&(s.indexOf("--")===0?(fl(h,s),i+=o+s+":"+(""+h).trim()):typeof h!="number"||h===0||He.has(s)?(fl(h,s),i+=o+s.replace(se,"-$1").toLowerCase().replace(xe,"-ms-")+":"+(""+h).trim()):i+=o+s.replace(se,"-$1").toLowerCase().replace(xe,"-ms-")+":"+h+"px",o=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=cu(i),cu(t)!==i&&(l.style=bc(e)))}}function Jl(e,t,l,i,o,s){if(o.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Ct(i,t),e===""+i)return}dn(t,e,i,s)}function $h(e,t,l,i,o,s){if(o.delete(l),e=e.getAttribute(l),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}dn(t,e,i,s)}function Fh(e,t,l,i,o,s){if(o.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(Ct(i,l),e===""+i)return}dn(t,e,i,s)}function Ls(e,t,l,i,o,s){if(o.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(Ct(i,t),e===""+i))return}dn(t,e,i,s)}function jf(e,t,l,i,o,s){if(o.delete(l),e=e.getAttribute(l),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Ct(i,t),l=Xr(""+i),e===l)return}dn(t,e,i,s)}function Kl(e,t,l,i){for(var o={},s=new Set,h=e.attributes,y=0;y<h.length;y++)switch(h[y].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(h[y].name)}if(Ou(t)){for(var b in l)if(l.hasOwnProperty(b)){var T=l[b];if(T!=null){if(Iu.hasOwnProperty(b))typeof T!="function"&&hn(b,T);else if(l.suppressHydrationWarning!==!0)switch(b){case"children":typeof T!="string"&&typeof T!="number"||dn("children",e.textContent,T,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":h=e.innerHTML,T=T?T.__html:void 0,T!=null&&(T=kh(e,T),dn(b,h,T,o));continue;case"style":s.delete(b),Ju(e,T,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(b.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",b);continue;case"className":s.delete("class"),h=Qi(e,"class",T),dn("className",h,T,o);continue;default:i.context===Vo&&t!=="svg"&&t!=="math"?s.delete(b.toLowerCase()):s.delete(b),h=Qi(e,b,T),dn(b,h,T,o)}}}}else for(T in l)if(l.hasOwnProperty(T)&&(b=l[T],b!=null)){if(Iu.hasOwnProperty(T))typeof b!="function"&&hn(T,b);else if(l.suppressHydrationWarning!==!0)switch(T){case"children":typeof b!="string"&&typeof b!="number"||dn("children",e.textContent,b,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":h=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=kh(e,b),h!==b&&(o[T]={__html:h}));continue;case"className":Jl(e,T,"class",b,s,o);continue;case"tabIndex":Jl(e,T,"tabindex",b,s,o);continue;case"style":s.delete(T),Ju(e,b,o);continue;case"multiple":s.delete(T),dn(T,e.multiple,b,o);continue;case"muted":s.delete(T),dn(T,e.muted,b,o);continue;case"autoFocus":s.delete("autofocus"),dn(T,e.autofocus,b,o);continue;case"data":if(t!=="object"){s.delete(T),h=e.getAttribute("data"),dn(T,h,b,o);continue}case"src":case"href":if(!(b!==""||t==="a"&&T==="href"||t==="object"&&T==="data")){console.error(T==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T);continue}jf(e,T,T,b,s,o);continue;case"action":case"formAction":if(h=e.getAttribute(T),typeof b=="function"){s.delete(T.toLowerCase()),T==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(h===Z4){s.delete(T.toLowerCase()),dn(T,"function",b,o);continue}jf(e,T,T.toLowerCase(),b,s,o);continue;case"xlinkHref":jf(e,T,"xlink:href",b,s,o);continue;case"contentEditable":Fh(e,T,"contenteditable",b,s,o);continue;case"spellCheck":Fh(e,T,"spellcheck",b,s,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Fh(e,T,T,b,s,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":$h(e,T,T.toLowerCase(),b,s,o);continue;case"capture":case"download":e:{y=e;var J=h=T,k=o;if(s.delete(J),y=y.getAttribute(J),y===null)switch(typeof b){case"undefined":case"function":case"symbol":break e;default:if(b===!1)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":break;case"boolean":if(b===!0&&y==="")break e;break;default:if(Ct(b,h),y===""+b)break e}dn(h,y,b,k)}continue;case"cols":case"rows":case"size":case"span":e:{if(y=e,J=h=T,k=o,s.delete(J),y=y.getAttribute(J),y===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(b)||1>b)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(b)||1>b)&&(Ct(b,h),y===""+b))break e}dn(h,y,b,k)}continue;case"rowSpan":Ls(e,T,"rowspan",b,s,o);continue;case"start":Ls(e,T,T,b,s,o);continue;case"xHeight":Jl(e,T,"x-height",b,s,o);continue;case"xlinkActuate":Jl(e,T,"xlink:actuate",b,s,o);continue;case"xlinkArcrole":Jl(e,T,"xlink:arcrole",b,s,o);continue;case"xlinkRole":Jl(e,T,"xlink:role",b,s,o);continue;case"xlinkShow":Jl(e,T,"xlink:show",b,s,o);continue;case"xlinkTitle":Jl(e,T,"xlink:title",b,s,o);continue;case"xlinkType":Jl(e,T,"xlink:type",b,s,o);continue;case"xmlBase":Jl(e,T,"xml:base",b,s,o);continue;case"xmlLang":Jl(e,T,"xml:lang",b,s,o);continue;case"xmlSpace":Jl(e,T,"xml:space",b,s,o);continue;case"inert":b!==""||j1[T]||(j1[T]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",T)),$h(e,T,T,b,s,o);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){y=Dg(T),h=!1,i.context===Vo&&t!=="svg"&&t!=="math"?s.delete(y.toLowerCase()):(J=T.toLowerCase(),J=fu.hasOwnProperty(J)&&fu[J]||null,J!==null&&J!==T&&(h=!0,s.delete(J)),s.delete(y));e:if(J=e,k=y,y=b,Oa(k))if(J.hasAttribute(k))J=J.getAttribute(k),Ct(y,k),y=J===""+y?y:J;else{switch(typeof y){case"function":case"symbol":break e;case"boolean":if(J=k.toLowerCase().slice(0,5),J!=="data-"&&J!=="aria-")break e}y=y===void 0?void 0:null}else y=void 0;h||dn(T,y,b,o)}}}return 0<s.size&&l.suppressHydrationWarning!==!0&&Bf(e,s,o),Object.keys(o).length===0?null:o}function dv(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Hl(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function hv(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),i=0;i<l.length;i++){var o=l[i],s=o.transferSize,h=o.initiatorType,y=o.duration;if(s&&y&&Hl(h)){for(h=0,y=o.responseEnd,i+=1;i<l.length;i++){var b=l[i],T=b.startTime;if(T>y)break;var J=b.transferSize,k=b.initiatorType;J&&Hl(k)&&(b=b.responseEnd,h+=J*(b<y?1:(y-T)/(b-T)))}if(--i,t+=8*(s+h)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Yf(e){return e.nodeType===9?e:e.ownerDocument}function mv(e){switch(e){case it:return F0;case tt:return q1;default:return Vo}}function xi(e,t){if(e===Vo)switch(t){case"svg":return F0;case"math":return q1;default:return Vo}return e===F0&&t==="foreignObject"?Vo:e}function Vs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Gy(){var e=window.event;return e&&e.type==="popstate"?e===NS?!1:(NS=e,!0):(NS=null,!1)}function Ku(){var e=window.event;return e&&e!==ng?e.type:null}function Xs(){var e=window.event;return e&&e!==ng?e.timeStamp:-1.1}function yv(e){setTimeout(function(){throw e})}function pv(e,t,l){switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function gv(){}function Wh(e,t,l,i){jn(e,t,l,i),e[jl]=i}function Ih(e){Gc(e,"")}function Ab(e,t,l){e.nodeValue=l}function vv(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[jl]||null;if(t!==null){var l=Te(e);l!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,Ae(l,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,Ae(l,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Sc(e){return e==="head"}function bv(e,t){e.removeChild(t)}function Sv(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function bo(e,t){var l=t,i=0;do{var o=l.nextSibling;if(e.removeChild(l),o&&o.nodeType===8)if(l=o.data,l===tg||l===Y1){if(i===0){e.removeChild(o),Ao(t);return}i--}else if(l===eg||l===Dr||l===Ed||l===$0||l===Sd)i++;else if(l===K4)Ui(e.ownerDocument.documentElement);else if(l===$4){l=e.ownerDocument.head,Ui(l);for(var s=l.firstChild;s;){var h=s.nextSibling,y=s.nodeName;s[ur]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&s.rel.toLowerCase()==="stylesheet"||l.removeChild(s),s=h}}else l===k4&&Ui(e.ownerDocument.body);l=o}while(l);Ao(t)}function qf(e,t){var l=e;e=0;do{var i=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),i&&i.nodeType===8)if(l=i.data,l===tg){if(e===0)break;e--}else l!==eg&&l!==Dr&&l!==Ed&&l!==$0||e++;l=i}while(l)}function Ev(e){qf(e,!0)}function Tv(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Av(e){e.nodeValue=""}function Ov(e){qf(e,!1)}function zv(e,t){t=t[F4],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Dv(e,t){e.nodeValue=t}function Qs(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Qs(l),I(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function _v(e,t,l,i){for(;e.nodeType===1;){var o=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[ur])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Ct(o.name,"name");var s=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=ha(e.nextSibling),e===null)break}return null}function Rv(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=ha(e.nextSibling),e===null))return null;return e}function Lt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=ha(e.nextSibling),e===null))return null;return e}function Gf(e){return e.data===Dr||e.data===Ed}function Ly(e){return e.data===$0||e.data===Dr&&e.ownerDocument.readyState!==wT}function Mv(e,t){var l=e.ownerDocument;if(e.data===Ed)e._reactRetry=t;else if(e.data!==Dr||l.readyState!==wT)t();else{var i=function(){t(),l.removeEventListener("DOMContentLoaded",i)};l.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function ha(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===eg||t===$0||t===Dr||t===Ed||t===Sd||t===CS||t===UT)break;if(t===tg||t===Y1)return null}}return e}function xv(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),l={},i=e.attributes,o=0;o<i.length;o++){var s=i[o];l[Mi(s.name)]=s.name.toLowerCase()==="style"?bc(e):s.value}return{type:t,props:l}}return e.nodeType===8?e.data===Sd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function Cv(e,t,l){return l===null||l[J4]!==!0?(e.nodeValue===t?e=null:(t=cu(t),e=cu(e.nodeValue)===t?null:e.nodeValue),e):null}function Zs(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===tg||l===Y1){if(t===0)return ha(e.nextSibling);t--}else l!==eg&&l!==$0&&l!==Dr&&l!==Ed&&l!==Sd||t++}e=e.nextSibling}return null}function So(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===eg||l===$0||l===Dr||l===Ed||l===Sd){if(t===0)return e;t--}else l!==tg&&l!==Y1||t++}e=e.previousSibling}return null}function Vy(e){Ao(e)}function Ph(e){Ao(e)}function Xy(e){Ao(e)}function Ci(e,t,l,i,o){switch(o&&Lr(e,i.ancestorInfo),t=Yf(l),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function ku(e,t,l,i){if(!l[Ni]&&Te(l)){var o=l.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=l.attributes;o.length;)l.removeAttributeNode(o[0]);un(l,e,t),l[cn]=i,l[jl]=t}function Ui(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);I(e)}function e0(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Qy(e,t,l){var i=W0;if(i&&typeof t=="string"&&t){var o=Xt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof l=="string"&&(o+='[crossorigin="'+l+'"]'),qT.has(o)||(qT.add(o),e={rel:e,crossOrigin:l,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),un(t,"link",e),Ne(t),i.head.appendChild(t)))}}function Zy(e,t,l,i){var o=(o=ma.current)?e0(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=Eo(l.href),t=Ve(o).hoistableStyles,i=t.get(l),i||(i={type:"style",instance:null,count:0,state:null},t.set(l,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Eo(l.href);var s=Ve(o).hoistableStyles,h=s.get(e);if(!h&&(o=o.ownerDocument||o,h={type:"stylesheet",instance:null,count:0,state:{loading:Ad,preload:null}},s.set(e,h),(s=o.querySelector(Vf(e)))&&!s._p&&(h.instance=s,h.state.loading=lg|si),!ri.has(e))){var y={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};ri.set(e,y),s||Uv(o,e,y,h.state)}if(t&&i===null)throw l=`
|
|
191
|
+
|
|
192
|
+
- `+Lf(t)+`
|
|
193
|
+
+ `+Lf(l),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return h}if(t&&i!==null)throw l=`
|
|
194
|
+
|
|
195
|
+
- `+Lf(t)+`
|
|
196
|
+
+ `+Lf(l),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=To(l),t=Ve(o).hoistableScripts,i=t.get(l),i||(i={type:"script",instance:null,count:0,state:null},t.set(l,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Lf(e){var t=0,l="<link";return typeof e.rel=="string"?(t++,l+=' rel="'+e.rel+'"'):ya.call(e,"rel")&&(t++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,l+=' href="'+e.href+'"'):ya.call(e,"href")&&(t++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,l+=' precedence="'+e.precedence+'"'):ya.call(e,"precedence")&&(t++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(l+=" ..."),l+" />"}function Eo(e){return'href="'+Xt(e)+'"'}function Vf(e){return'link[rel="stylesheet"]['+e+"]"}function t0(e){return ot({},e,{"data-precedence":e.precedence,precedence:null})}function Uv(e,t,l,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=lg:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=lg}),t.addEventListener("error",function(){return i.loading|=jT}),un(t,"link",l),Ne(t),e.head.appendChild(t))}function To(e){return'[src="'+Xt(e)+'"]'}function Xf(e){return"script[async]"+e}function n0(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Xt(l.href)+'"]');if(i)return t.instance=i,Ne(i),i;var o=ot({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ne(i),un(i,"style",o),Js(i,l.precedence,e),t.instance=i;case"stylesheet":o=Eo(l.href);var s=e.querySelector(Vf(o));if(s)return t.state.loading|=si,t.instance=s,Ne(s),s;i=t0(l),(o=ri.get(o))&&Jy(i,o),s=(e.ownerDocument||e).createElement("link"),Ne(s);var h=s;return h._p=new Promise(function(y,b){h.onload=y,h.onerror=b}),un(s,"link",i),t.state.loading|=si,Js(s,l.precedence,e),t.instance=s;case"script":return s=To(l.src),(o=e.querySelector(Xf(s)))?(t.instance=o,Ne(o),o):(i=l,(o=ri.get(s))&&(i=ot({},l),Ky(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),Ne(o),un(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&si)===Ad&&(i=t.instance,t.state.loading|=si,Js(i,l.precedence,e));return t.instance}function Js(e,t,l){for(var i=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,s=o,h=0;h<i.length;h++){var y=i[h];if(y.dataset.precedence===t)s=y;else if(s!==o)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Jy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ky(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Ks(e,t,l){if(G1===null){var i=new Map,o=G1=new Map;o.set(l,i)}else o=G1,i=o.get(l),i||(i=new Map,o.set(l,i));if(i.has(e))return i;for(i.set(e,null),l=l.getElementsByTagName(e),o=0;o<l.length;o++){var s=l[o];if(!(s[ur]||s[cn]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==it){var h=s.getAttribute(t)||"";h=e+h;var y=i.get(h);y?y.push(s):i.set(h,[s])}}return i}function wv(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Nv(e,t,l){var i=!l.ancestorInfo.containerTagInScope;if(l.context===F0||t.itemProp!=null)return!i||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var o=t.onError,s=t.disabled;l=[],t.onLoad&&l.push("`onLoad`"),o&&l.push("`onError`"),s!=null&&l.push("`disabled`"),o=dv(l,"and"),o+=l.length===1?" prop":" props",s=l.length===1?"an "+o:"the "+o,l.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,s,o)}i&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&i&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){i&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function pt(e){return!(e.type==="stylesheet"&&(e.state.loading&YT)===Ad)}function ky(e,t,l,i){if(l.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(l.state.loading&si)===Ad){if(l.instance===null){var o=Eo(i.href),s=t.querySelector(Vf(o));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ks.bind(e),t.then(e,e)),l.state.loading|=si,l.instance=s,Ne(s);return}s=t.ownerDocument||t,i=t0(i),(o=ri.get(o))&&Jy(i,o),s=s.createElement("link"),Ne(s);var h=s;h._p=new Promise(function(y,b){h.onload=y,h.onerror=b}),un(s,"link",i),l.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&YT)===Ad&&(e.count++,l=ks.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}function l0(e,t){return e.stylesheets&&e.count===0&&Qf(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var i=setTimeout(function(){if(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},P4+t);0<e.imgBytes&&BS===0&&(BS=125*hv()*tz);var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>BS?50:ez)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function ks(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Qf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,L1=new Map,t.forEach($y,e),L1=null,ks.call(e))}function $y(e,t){if(!(t.state.loading&si)){var l=L1.get(e);if(l)var i=l.get(jS);else{l=new Map,L1.set(e,l);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<o.length;s++){var h=o[s];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(l.set(h.dataset.precedence,h),i=h)}i&&l.set(jS,i)}o=t.instance,h=o.getAttribute("data-precedence"),s=l.get(h)||i,s===i&&l.set(jS,o),l.set(h,o),this.count++,i=ks.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),s?s.parentNode.insertBefore(o,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=si}}function Zf(e,t,l,i,o,s,h,y,b){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Td,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Io(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Io(0),this.hiddenUpdates=Io(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=s,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function Jf(e,t,l,i,o,s,h,y,b,T,J,k){return e=new Zf(e,t,l,h,b,T,J,k,y),t=z4,s===!0&&(t|=Fl|Hi),t|=st,s=V(3,null,null,t),e.current=s,s.stateNode=e,t=nh(),Fc(t),e.pooledCache=t,Fc(t),s.memoizedState={element:i,isDehydrated:l,cache:t},vt(s),e}function Hv(e){return e?(e=fr,e):fr}function a0(e,t,l,i,o,s){if(Yn&&typeof Yn.onScheduleFiberRoot=="function")try{Yn.onScheduleFiberRoot(_o,i,l)}catch(h){Fu||(Fu=!0,console.error("React instrumentation encountered an error: %o",h))}o=Hv(o),i.context===null?i.context=o:i.pendingContext=o,$u&&$l!==null&&!XT&&(XT=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
197
|
+
|
|
198
|
+
Check the render method of %s.`,_($l)||"Unknown")),i=Hn(t),i.payload={element:l},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),i.callback=s),l=Cu(e,i,t),l!==null&&(Ru(t,"root.render()",null),$e(l,e,t),Ua(l,e,t))}function Bv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Fy(e,t){Bv(e,t),(e=e.alternate)&&Bv(e,t)}function Wy(e){if(e.tag===13||e.tag===31){var t=hl(e,67108864);t!==null&&$e(t,e,67108864),Fy(e,67108864)}}function Iy(e){if(e.tag===13||e.tag===31){var t=yl(e);t=Aa(t);var l=hl(e,t);l!==null&&$e(l,e,t),Fy(e,t)}}function Jt(){return $l}function Py(e,t,l,i){var o=oe.T;oe.T=null;var s=Bt.p;try{Bt.p=qn,ep(e,t,l,i)}finally{Bt.p=s,oe.T=o}}function ul(e,t,l,i){var o=oe.T;oe.T=null;var s=Bt.p;try{Bt.p=cl,ep(e,t,l,i)}finally{Bt.p=s,oe.T=o}}function ep(e,t,l,i){if(X1){var o=u0(i);if(o===null)uu(e,t,i,Q1,l),c0(e,i);else if(jv(o,e,t,l,i))i.stopPropagation();else if(c0(e,i),t&4&&-1<lz.indexOf(e)){for(;o!==null;){var s=Te(o);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var h=Su(s.pendingLanes);if(h!==0){var y=s;for(y.pendingLanes|=2,y.entangledLanes|=2;h;){var b=1<<31-il(h);y.entanglements[1]|=b,h&=~b}Zl(s),(xt&(sl|yu))===Sl&&(D1=Fn()+gT,Qu(0))}}break;case 31:case 13:y=hl(s,2),y!==null&&$e(y,s,2),da(),Fy(s,2)}if(s=u0(i),s===null&&uu(e,t,i,Q1,l),s===o)break;o=s}o!==null&&i.stopPropagation()}else uu(e,t,i,null,l)}}function u0(e){return e=Xa(e),tp(e)}function tp(e){if(Q1=null,e=Se(e),e!==null){var t=Ze(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=be(t),e!==null)return e;e=null}else if(l===31){if(e=Pe(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Q1=e,null}function i0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return qn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return cl;case"message":switch(If()){case fp:return qn;case p0:return cl;case Do:case Xv:return gl;case g0:return zc;default:return gl}default:return gl}}function c0(e,t){switch(e){case"focusin":case"focusout":_r=null;break;case"dragenter":case"dragleave":Rr=null;break;case"mouseover":case"mouseout":Mr=null;break;case"pointerover":case"pointerout":ug.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ig.delete(t.pointerId)}}function Ec(e,t,l,i,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:l,eventSystemFlags:i,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Te(t),t!==null&&Wy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function jv(e,t,l,i,o){switch(t){case"focusin":return _r=Ec(_r,e,t,l,i,o),!0;case"dragenter":return Rr=Ec(Rr,e,t,l,i,o),!0;case"mouseover":return Mr=Ec(Mr,e,t,l,i,o),!0;case"pointerover":var s=o.pointerId;return ug.set(s,Ec(ug.get(s)||null,e,t,l,i,o)),!0;case"gotpointercapture":return s=o.pointerId,ig.set(s,Ec(ig.get(s)||null,e,t,l,i,o)),!0}return!1}function np(e){var t=Se(e.target);if(t!==null){var l=Ze(t);if(l!==null){if(t=l.tag,t===13){if(t=be(l),t!==null){e.blockedOn=t,O(e.priority,function(){Iy(l)});return}}else if(t===31){if(t=Pe(l),t!==null){e.blockedOn=t,O(e.priority,function(){Iy(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function $s(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=u0(e.nativeEvent);if(l===null){l=e.nativeEvent;var i=new l.constructor(l.type,l),o=i;pp!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),pp=o,l.target.dispatchEvent(i),pp===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),pp=null}else return t=Te(l),t!==null&&Wy(t),e.blockedOn=l,!1;t.shift()}return!0}function o0(e,t,l){$s(e)&&l.delete(t)}function Ob(){YS=!1,_r!==null&&$s(_r)&&(_r=null),Rr!==null&&$s(Rr)&&(Rr=null),Mr!==null&&$s(Mr)&&(Mr=null),ug.forEach(o0),ig.forEach(o0)}function Kf(e,t){e.blockedOn===t&&(e.blockedOn=null,YS||(YS=!0,Dn.unstable_scheduleCallback(Dn.unstable_NormalPriority,Ob)))}function Yv(e){Z1!==e&&(Z1=e,Dn.unstable_scheduleCallback(Dn.unstable_NormalPriority,function(){Z1===e&&(Z1=null);for(var t=0;t<e.length;t+=3){var l=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(tp(i||l)===null)continue;break}var s=Te(l);s!==null&&(e.splice(t,3),t-=3,l={pending:!0,data:o,method:l.method,action:i},Object.freeze(l),Oi(s,l,i,o))}}))}function Ao(e){function t(b){return Kf(b,e)}_r!==null&&Kf(_r,e),Rr!==null&&Kf(Rr,e),Mr!==null&&Kf(Mr,e),ug.forEach(t),ig.forEach(t);for(var l=0;l<xr.length;l++){var i=xr[l];i.blockedOn===e&&(i.blockedOn=null)}for(;0<xr.length&&(l=xr[0],l.blockedOn===null);)np(l),l.blockedOn===null&&xr.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(i=0;i<l.length;i+=3){var o=l[i],s=l[i+1],h=o[jl]||null;if(typeof s=="function")h||Yv(l);else if(h){var y=null;if(s&&s.hasAttribute("formAction")){if(o=s,h=s[jl]||null)y=h.formAction;else if(tp(o)!==null)continue}else y=h.action;typeof y=="function"?l[i+1]=y:(l.splice(i,3),i-=3),Yv(l)}}}function qv(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(h){return o=h})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),i||setTimeout(l,20)}function l(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function lp(e){this._internalRoot=e}function ou(e){this._internalRoot=e}function ap(e){e[Ni]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Dn=kS(),kf=Dd(),zb=IS(),ot=Object.assign,Gv=Symbol.for("react.element"),Ba=Symbol.for("react.transitional.element"),Tc=Symbol.for("react.portal"),Fs=Symbol.for("react.fragment"),Bl=Symbol.for("react.strict_mode"),$f=Symbol.for("react.profiler"),s0=Symbol.for("react.consumer"),su=Symbol.for("react.context"),Ws=Symbol.for("react.forward_ref"),Oo=Symbol.for("react.suspense"),kl=Symbol.for("react.suspense_list"),Ff=Symbol.for("react.memo"),pl=Symbol.for("react.lazy"),ru=Symbol.for("react.activity"),Db=Symbol.for("react.memo_cache_sentinel"),Lv=Symbol.iterator,Is=Symbol.for("react.client.reference"),Cn=Array.isArray,oe=kf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bt=zb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_b=Object.freeze({pending:!1,data:null,method:null,action:null}),up=[],ip=[],wi=-1,Ac=W(null),Ps=W(null),ma=W(null),Oc=W(null),er=0,Vv,zo,tr,cp,Wf,r0,f0;re.__reactDisabledLog=!0;var nr,op,d0=!1,sp=new(typeof WeakMap=="function"?WeakMap:Map),$l=null,$u=!1,ya=Object.prototype.hasOwnProperty,rp=Dn.unstable_scheduleCallback,h0=Dn.unstable_cancelCallback,m0=Dn.unstable_shouldYield,y0=Dn.unstable_requestPaint,Fn=Dn.unstable_now,If=Dn.unstable_getCurrentPriorityLevel,fp=Dn.unstable_ImmediatePriority,p0=Dn.unstable_UserBlockingPriority,Do=Dn.unstable_NormalPriority,Xv=Dn.unstable_LowPriority,g0=Dn.unstable_IdlePriority,dp=Dn.log,Qv=Dn.unstable_setDisableYieldValue,_o=null,Yn=null,Fu=!1,Wu=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",il=Math.clz32?Math.clz32:Vi,hp=Math.log,v0=Math.LN2,lr=256,Pf=262144,ar=4194304,qn=2,cl=8,gl=32,zc=268435456,ja=Math.random().toString(36).slice(2),cn="__reactFiber$"+ja,jl="__reactProps$"+ja,Ni="__reactContainer$"+ja,Ro="__reactEvents$"+ja,Rb="__reactListeners$"+ja,Zv="__reactHandles$"+ja,ed="__reactResources$"+ja,ur="__reactMarker$"+ja,Jv=new Set,Iu={},ir={},Kv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},cr=RegExp("^[: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]*$"),mp={},b0={},S0=/[\n"\\]/g,yp=!1,kv=!1,td=!1,n=!1,a=!1,u=!1,c=["value","defaultValue"],r=!1,f=/["'&<>\n\t]|^\s|\s$/,v="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),z="applet caption html table td th marquee object template foreignObject desc title".split(" "),Y=z.concat(["button"]),ne="dd dt li option optgroup p rp rt".split(" "),de={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},pe={},le={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},se=/([A-Z])/g,xe=/^ms-/,Le=/^(?:webkit|moz|o)[A-Z]/,Kt=/^-ms-/,P=/-(.)/g,K=/;\s*$/,te={},me={},je=!1,Mt=!1,He=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),tt="http://www.w3.org/1998/Math/MathML",it="http://www.w3.org/2000/svg",wt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),fu={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},$v={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},E0={},jO=RegExp("^(aria)-[: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]*$"),YO=RegExp("^(aria)[A-Z][: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]*$"),Z2=!1,pa={},J2=/^on./,qO=/^on[^A-Z]/,GO=RegExp("^(aria)-[: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]*$"),LO=RegExp("^(aria)[A-Z][: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]*$"),VO=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,pp=null,T0=null,A0=null,Mb=!1,Dc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xb=!1;if(Dc)try{var gp={};Object.defineProperty(gp,"passive",{get:function(){xb=!0}}),window.addEventListener("test",gp,gp),window.removeEventListener("test",gp,gp)}catch{xb=!1}var or=null,Cb=null,Fv=null,nd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wv=Xn(nd),vp=ot({},nd,{view:0,detail:0}),XO=Xn(vp),Ub,wb,bp,Iv=ot({},vp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==bp&&(bp&&e.type==="mousemove"?(Ub=e.screenX-bp.screenX,wb=e.screenY-bp.screenY):wb=Ub=0,bp=e),Ub)},movementY:function(e){return"movementY"in e?e.movementY:wb}}),K2=Xn(Iv),QO=ot({},Iv,{dataTransfer:0}),ZO=Xn(QO),JO=ot({},vp,{relatedTarget:0}),Nb=Xn(JO),KO=ot({},nd,{animationName:0,elapsedTime:0,pseudoElement:0}),kO=Xn(KO),$O=ot({},nd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),FO=Xn($O),WO=ot({},nd,{data:0}),k2=Xn(WO),IO=k2,PO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},e4={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},t4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},n4=ot({},vp,{key:function(e){if(e.key){var t=PO[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?e4[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zr,charCode:function(e){return e.type==="keypress"?Qr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),l4=Xn(n4),a4=ot({},Iv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$2=Xn(a4),u4=ot({},vp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zr}),i4=Xn(u4),c4=ot({},nd,{propertyName:0,elapsedTime:0,pseudoElement:0}),o4=Xn(c4),s4=ot({},Iv,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),r4=Xn(s4),f4=ot({},nd,{newState:0,oldState:0}),d4=Xn(f4),h4=[9,13,27,32],F2=229,Hb=Dc&&"CompositionEvent"in window,Sp=null;Dc&&"documentMode"in document&&(Sp=document.documentMode);var m4=Dc&&"TextEvent"in window&&!Sp,W2=Dc&&(!Hb||Sp&&8<Sp&&11>=Sp),I2=32,P2=String.fromCharCode(I2),eE=!1,O0=!1,y4={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Ep=null,Tp=null,tE=!1;Dc&&(tE=Zd("input")&&(!document.documentMode||9<document.documentMode));var ga=typeof Object.is=="function"?Object.is:Jd,p4=Dc&&"documentMode"in document&&11>=document.documentMode,z0=null,Bb=null,Ap=null,jb=!1,D0={animationend:Vc("Animation","AnimationEnd"),animationiteration:Vc("Animation","AnimationIteration"),animationstart:Vc("Animation","AnimationStart"),transitionrun:Vc("Transition","TransitionRun"),transitionstart:Vc("Transition","TransitionStart"),transitioncancel:Vc("Transition","TransitionCancel"),transitionend:Vc("Transition","TransitionEnd")},Yb={},nE={};Dc&&(nE=document.createElement("div").style,"AnimationEvent"in window||(delete D0.animationend.animation,delete D0.animationiteration.animation,delete D0.animationstart.animation),"TransitionEvent"in window||delete D0.transitionend.transition);var lE=Xc("animationend"),aE=Xc("animationiteration"),uE=Xc("animationstart"),g4=Xc("transitionrun"),v4=Xc("transitionstart"),b4=Xc("transitioncancel"),iE=Xc("transitionend"),cE=new Map,qb="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");qb.push("scrollEnd");var oE=0;if(typeof performance=="object"&&typeof performance.now=="function")var S4=performance,sE=function(){return S4.now()};else{var E4=Date;sE=function(){return E4.now()}}var Gb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},T4="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Pv=0,Lb=1,Vb=2,Xb=3,e1="– ",t1="+ ",rE=" ",on=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Pu="Components ⚛",Tt="Scheduler ⚛",zt="Blocking",sr=!1,Mo={color:"primary",properties:null,tooltipText:"",track:Pu},rr={start:-0,end:-0,detail:{devtools:Mo}},A4=["Changed Props",""],fE="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",O4=["Changed Props",fE],Op=1,xo=2,ei=[],_0=0,Qb=0,fr={};Object.freeze(fr);var ti=null,R0=null,ke=0,z4=1,st=2,Fl=8,Hi=16,D4=32,dE=!1;try{var hE=Object.preventExtensions({})}catch{dE=!0}var Zb=new WeakMap,M0=[],x0=0,n1=null,zp=0,ni=[],li=0,ld=null,Co=1,Uo="",Yl=null,sn=null,Et=!1,_c=!1,du=null,dr=null,ai=!1,Jb=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Kb=W(null),kb=W(null),mE={},l1=null,C0=null,U0=!1,_4=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},R4=Dn.unstable_scheduleCallback,M4=Dn.unstable_NormalPriority,Wn={$$typeof:su,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},In=Dn.unstable_now,a1=console.createTask?console.createTask:function(){return null},Dp=1,u1=2,vl=-0,hr=-0,wo=-0,No=null,va=-1.1,ad=-0,vn=-0,qe=-1.1,Xe=-1.1,mn=null,_n=!1,ud=-0,Rc=-1.1,_p=null,mr=0,$b=null,Fb=null,id=-1.1,Rp=null,w0=-1.1,i1=-1.1,Ho=-0,Bo=-1.1,ui=-1.1,Wb=0,Mp=null,yE=null,pE=null,yr=-1.1,cd=null,pr=-1.1,c1=-1.1,gE=-0,vE=-0,o1=0,x4=null,bE=0,xp=-1.1,s1=!1,r1=!1,Cp=null,Ib=0,od=0,N0=null,SE=oe.S;oe.S=function(e,t){if(yT=Fn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Bo&&0>ui){Bo=In();var l=Xs(),i=Ku();(l!==pr||i!==cd)&&(pr=-1.1),yr=l,cd=i}gi(e,t)}SE!==null&&SE(e,t)};var sd=W(null),Bi={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Up=[],wp=[],Np=[],Hp=[],Bp=[],jp=[],rd=new Set;Bi.recordUnsafeLifecycleWarnings=function(e,t){rd.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Up.push(e),e.mode&Fl&&typeof t.UNSAFE_componentWillMount=="function"&&wp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Np.push(e),e.mode&Fl&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Hp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Bp.push(e),e.mode&Fl&&typeof t.UNSAFE_componentWillUpdate=="function"&&jp.push(e))},Bi.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Up.length&&(Up.forEach(function(y){e.add(_(y)||"Component"),rd.add(y.type)}),Up=[]);var t=new Set;0<wp.length&&(wp.forEach(function(y){t.add(_(y)||"Component"),rd.add(y.type)}),wp=[]);var l=new Set;0<Np.length&&(Np.forEach(function(y){l.add(_(y)||"Component"),rd.add(y.type)}),Np=[]);var i=new Set;0<Hp.length&&(Hp.forEach(function(y){i.add(_(y)||"Component"),rd.add(y.type)}),Hp=[]);var o=new Set;0<Bp.length&&(Bp.forEach(function(y){o.add(_(y)||"Component"),rd.add(y.type)}),Bp=[]);var s=new Set;if(0<jp.length&&(jp.forEach(function(y){s.add(_(y)||"Component"),rd.add(y.type)}),jp=[]),0<t.size){var h=Z(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
199
|
+
|
|
200
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,h)}0<i.size&&(h=Z(i),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
206
|
+
|
|
207
|
+
Please update the following components: %s`,h)),0<s.size&&(h=Z(s),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
208
|
+
|
|
209
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
210
|
+
|
|
211
|
+
Please update the following components: %s`,h)),0<e.size&&(h=Z(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
212
|
+
|
|
213
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
214
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
215
|
+
|
|
216
|
+
Please update the following components: %s`,h)),0<l.size&&(h=Z(l),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
217
|
+
|
|
218
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
219
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
220
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
221
|
+
|
|
222
|
+
Please update the following components: %s`,h)),0<o.size&&(h=Z(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
223
|
+
|
|
224
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
225
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
226
|
+
|
|
227
|
+
Please update the following components: %s`,h))};var f1=new Map,EE=new Set;Bi.recordLegacyContextWarning=function(e,t){for(var l=null,i=e;i!==null;)i.mode&Fl&&(l=i),i=i.return;l===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!EE.has(e.type)&&(i=f1.get(l),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],f1.set(l,i)),i.push(e))},Bi.flushLegacyContextWarning=function(){f1.forEach(function(e){if(e.length!==0){var t=e[0],l=new Set;e.forEach(function(o){l.add(_(o)||"Component"),EE.add(o.type)});var i=Z(l);Ae(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
228
|
+
|
|
229
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
230
|
+
|
|
231
|
+
Please update the following components: %s
|
|
232
|
+
|
|
233
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},Bi.discardPendingWarnings=function(){Up=[],wp=[],Np=[],Hp=[],Bp=[],jp=[],f1=new Map};var TE={react_stack_bottom_frame:function(e,t,l){var i=$u;$u=!0;try{return e(t,l)}finally{$u=i}}},Pb=TE.react_stack_bottom_frame.bind(TE),AE={react_stack_bottom_frame:function(e){var t=$u;$u=!0;try{return e.render()}finally{$u=t}}},OE=AE.react_stack_bottom_frame.bind(AE),zE={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(l){ut(e,e.return,l)}}},eS=zE.react_stack_bottom_frame.bind(zE),DE={react_stack_bottom_frame:function(e,t,l,i,o){try{t.componentDidUpdate(l,i,o)}catch(s){ut(e,e.return,s)}}},_E=DE.react_stack_bottom_frame.bind(DE),RE={react_stack_bottom_frame:function(e,t){var l=t.stack;e.componentDidCatch(t.value,{componentStack:l!==null?l:""})}},C4=RE.react_stack_bottom_frame.bind(RE),ME={react_stack_bottom_frame:function(e,t,l){try{l.componentWillUnmount()}catch(i){ut(e,t,i)}}},xE=ME.react_stack_bottom_frame.bind(ME),CE={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},U4=CE.react_stack_bottom_frame.bind(CE),UE={react_stack_bottom_frame:function(e,t,l){try{l()}catch(i){ut(e,t,i)}}},w4=UE.react_stack_bottom_frame.bind(UE),wE={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},N4=wE.react_stack_bottom_frame.bind(wE),H0=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),tS=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),d1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),h1={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},fd=null,Yp=!1,B0=null,qp=0,rt=null,nS,NE=nS=!1,HE={},BE={},jE={};fe=function(e,t,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");l._store.validated=1;var i=_(e),o=i||"null";if(!HE[o]){HE[o]=!0,l=l._owner,e=e._debugOwner;var s="";e&&typeof e.tag=="number"&&(o=_(e))&&(s=`
|
|
234
|
+
|
|
235
|
+
Check the render method of \``+o+"`."),s||i&&(s=`
|
|
236
|
+
|
|
237
|
+
Check the top-level render call using <`+i+">.");var h="";l!=null&&e!==l&&(i=null,typeof l.tag=="number"?i=_(l):typeof l.name=="string"&&(i=l.name),i&&(h=" It was passed a child from "+i+".")),Ae(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',s,h)})}}};var dd=Zn(!0),YE=Zn(!1),qE=0,GE=1,LE=2,lS=3,gr=!1,VE=!1,aS=null,uS=!1,j0=W(null),m1=W(0),hu=W(null),ii=null,Y0=1,Gp=2,Gn=W(0),y1=0,ci=1,ba=2,mu=4,Sa=8,q0,XE=new Set,QE=new Set,iS=new Set,ZE=new Set,jo=0,We=null,It=null,Pn=null,p1=!1,G0=!1,hd=!1,g1=0,Lp=0,Yo=null,H4=0,B4=25,ce=null,oi=null,qo=-1,Vp=!1,Xp={readContext:Nt,use:Ei,useCallback:pn,useContext:pn,useEffect:pn,useImperativeHandle:pn,useLayoutEffect:pn,useInsertionEffect:pn,useMemo:pn,useReducer:pn,useRef:pn,useState:pn,useDebugValue:pn,useDeferredValue:pn,useTransition:pn,useSyncExternalStore:pn,useId:pn,useHostTransitionStatus:pn,useFormState:pn,useActionState:pn,useOptimistic:pn,useMemoCache:pn,useCacheRefresh:pn};Xp.useEffectEvent=pn;var cS=null,JE=null,oS=null,KE=null,Mc=null,ji=null,v1=null;cS={readContext:function(e){return Nt(e)},use:Ei,useCallback:function(e,t){return ce="useCallback",Fe(),Si(t),hh(e,t)},useContext:function(e){return ce="useContext",Fe(),Nt(e)},useEffect:function(e,t){return ce="useEffect",Fe(),Si(t),io(e,t)},useImperativeHandle:function(e,t,l){return ce="useImperativeHandle",Fe(),Si(l),Hu(e,t,l)},useInsertionEffect:function(e,t){ce="useInsertionEffect",Fe(),Si(t),rc(4,ba,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Fe(),Si(t),Rl(e,t)},useMemo:function(e,t){ce="useMemo",Fe(),Si(t);var l=oe.H;oe.H=Mc;try{return Ml(e,t)}finally{oe.H=l}},useReducer:function(e,t,l){ce="useReducer",Fe();var i=oe.H;oe.H=Mc;try{return bs(e,t,l)}finally{oe.H=i}},useRef:function(e){return ce="useRef",Fe(),dh(e)},useState:function(e){ce="useState",Fe();var t=oe.H;oe.H=Mc;try{return ic(e)}finally{oe.H=t}},useDebugValue:function(){ce="useDebugValue",Fe()},useDeferredValue:function(e,t){return ce="useDeferredValue",Fe(),Os(e,t)},useTransition:function(){return ce="useTransition",Fe(),fc()},useSyncExternalStore:function(e,t,l){return ce="useSyncExternalStore",Fe(),Ss(e,t,l)},useId:function(){return ce="useId",Fe(),pf()},useFormState:function(e,t){return ce="useFormState",Fe(),af(),ca(e,t)},useActionState:function(e,t){return ce="useActionState",Fe(),ca(e,t)},useOptimistic:function(e){return ce="useOptimistic",Fe(),uo(e)},useHostTransitionStatus:zi,useMemoCache:ua,useCacheRefresh:function(){return ce="useCacheRefresh",Fe(),mh()},useEffectEvent:function(e){return ce="useEffectEvent",Fe(),mf(e)}},JE={readContext:function(e){return Nt(e)},use:Ei,useCallback:function(e,t){return ce="useCallback",ge(),hh(e,t)},useContext:function(e){return ce="useContext",ge(),Nt(e)},useEffect:function(e,t){return ce="useEffect",ge(),io(e,t)},useImperativeHandle:function(e,t,l){return ce="useImperativeHandle",ge(),Hu(e,t,l)},useInsertionEffect:function(e,t){ce="useInsertionEffect",ge(),rc(4,ba,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ge(),Rl(e,t)},useMemo:function(e,t){ce="useMemo",ge();var l=oe.H;oe.H=Mc;try{return Ml(e,t)}finally{oe.H=l}},useReducer:function(e,t,l){ce="useReducer",ge();var i=oe.H;oe.H=Mc;try{return bs(e,t,l)}finally{oe.H=i}},useRef:function(e){return ce="useRef",ge(),dh(e)},useState:function(e){ce="useState",ge();var t=oe.H;oe.H=Mc;try{return ic(e)}finally{oe.H=t}},useDebugValue:function(){ce="useDebugValue",ge()},useDeferredValue:function(e,t){return ce="useDeferredValue",ge(),Os(e,t)},useTransition:function(){return ce="useTransition",ge(),fc()},useSyncExternalStore:function(e,t,l){return ce="useSyncExternalStore",ge(),Ss(e,t,l)},useId:function(){return ce="useId",ge(),pf()},useActionState:function(e,t){return ce="useActionState",ge(),ca(e,t)},useFormState:function(e,t){return ce="useFormState",ge(),af(),ca(e,t)},useOptimistic:function(e){return ce="useOptimistic",ge(),uo(e)},useHostTransitionStatus:zi,useMemoCache:ua,useCacheRefresh:function(){return ce="useCacheRefresh",ge(),mh()},useEffectEvent:function(e){return ce="useEffectEvent",ge(),mf(e)}},oS={readContext:function(e){return Nt(e)},use:Ei,useCallback:function(e,t){return ce="useCallback",ge(),eu(e,t)},useContext:function(e){return ce="useContext",ge(),Nt(e)},useEffect:function(e,t){ce="useEffect",ge(),Bn(2048,Sa,e,t)},useImperativeHandle:function(e,t,l){return ce="useImperativeHandle",ge(),As(e,t,l)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ge(),Bn(4,ba,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ge(),Bn(4,mu,e,t)},useMemo:function(e,t){ce="useMemo",ge();var l=oe.H;oe.H=ji;try{return an(e,t)}finally{oe.H=l}},useReducer:function(e,t,l){ce="useReducer",ge();var i=oe.H;oe.H=ji;try{return no(e,t,l)}finally{oe.H=i}},useRef:function(){return ce="useRef",ge(),Yt().memoizedState},useState:function(){ce="useState",ge();var e=oe.H;oe.H=ji;try{return no(ia)}finally{oe.H=e}},useDebugValue:function(){ce="useDebugValue",ge()},useDeferredValue:function(e,t){return ce="useDeferredValue",ge(),Bu(e,t)},useTransition:function(){return ce="useTransition",ge(),Kg()},useSyncExternalStore:function(e,t,l){return ce="useSyncExternalStore",ge(),ao(e,t,l)},useId:function(){return ce="useId",ge(),Yt().memoizedState},useFormState:function(e){return ce="useFormState",ge(),af(),oc(e)},useActionState:function(e){return ce="useActionState",ge(),oc(e)},useOptimistic:function(e,t){return ce="useOptimistic",ge(),ff(e,t)},useHostTransitionStatus:zi,useMemoCache:ua,useCacheRefresh:function(){return ce="useCacheRefresh",ge(),Yt().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",ge(),Ts(e)}},KE={readContext:function(e){return Nt(e)},use:Ei,useCallback:function(e,t){return ce="useCallback",ge(),eu(e,t)},useContext:function(e){return ce="useContext",ge(),Nt(e)},useEffect:function(e,t){ce="useEffect",ge(),Bn(2048,Sa,e,t)},useImperativeHandle:function(e,t,l){return ce="useImperativeHandle",ge(),As(e,t,l)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ge(),Bn(4,ba,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ge(),Bn(4,mu,e,t)},useMemo:function(e,t){ce="useMemo",ge();var l=oe.H;oe.H=v1;try{return an(e,t)}finally{oe.H=l}},useReducer:function(e,t,l){ce="useReducer",ge();var i=oe.H;oe.H=v1;try{return lo(e,t,l)}finally{oe.H=i}},useRef:function(){return ce="useRef",ge(),Yt().memoizedState},useState:function(){ce="useState",ge();var e=oe.H;oe.H=v1;try{return lo(ia)}finally{oe.H=e}},useDebugValue:function(){ce="useDebugValue",ge()},useDeferredValue:function(e,t){return ce="useDeferredValue",ge(),nt(e,t)},useTransition:function(){return ce="useTransition",ge(),fn()},useSyncExternalStore:function(e,t,l){return ce="useSyncExternalStore",ge(),ao(e,t,l)},useId:function(){return ce="useId",ge(),Yt().memoizedState},useFormState:function(e){return ce="useFormState",ge(),af(),sc(e)},useActionState:function(e){return ce="useActionState",ge(),sc(e)},useOptimistic:function(e,t){return ce="useOptimistic",ge(),df(e,t)},useHostTransitionStatus:zi,useMemoCache:ua,useCacheRefresh:function(){return ce="useCacheRefresh",ge(),Yt().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",ge(),Ts(e)}},Mc={readContext:function(e){return $(),Nt(e)},use:function(e){return w(),Ei(e)},useCallback:function(e,t){return ce="useCallback",w(),Fe(),hh(e,t)},useContext:function(e){return ce="useContext",w(),Fe(),Nt(e)},useEffect:function(e,t){return ce="useEffect",w(),Fe(),io(e,t)},useImperativeHandle:function(e,t,l){return ce="useImperativeHandle",w(),Fe(),Hu(e,t,l)},useInsertionEffect:function(e,t){ce="useInsertionEffect",w(),Fe(),rc(4,ba,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",w(),Fe(),Rl(e,t)},useMemo:function(e,t){ce="useMemo",w(),Fe();var l=oe.H;oe.H=Mc;try{return Ml(e,t)}finally{oe.H=l}},useReducer:function(e,t,l){ce="useReducer",w(),Fe();var i=oe.H;oe.H=Mc;try{return bs(e,t,l)}finally{oe.H=i}},useRef:function(e){return ce="useRef",w(),Fe(),dh(e)},useState:function(e){ce="useState",w(),Fe();var t=oe.H;oe.H=Mc;try{return ic(e)}finally{oe.H=t}},useDebugValue:function(){ce="useDebugValue",w(),Fe()},useDeferredValue:function(e,t){return ce="useDeferredValue",w(),Fe(),Os(e,t)},useTransition:function(){return ce="useTransition",w(),Fe(),fc()},useSyncExternalStore:function(e,t,l){return ce="useSyncExternalStore",w(),Fe(),Ss(e,t,l)},useId:function(){return ce="useId",w(),Fe(),pf()},useFormState:function(e,t){return ce="useFormState",w(),Fe(),ca(e,t)},useActionState:function(e,t){return ce="useActionState",w(),Fe(),ca(e,t)},useOptimistic:function(e){return ce="useOptimistic",w(),Fe(),uo(e)},useMemoCache:function(e){return w(),ua(e)},useHostTransitionStatus:zi,useCacheRefresh:function(){return ce="useCacheRefresh",Fe(),mh()},useEffectEvent:function(e){return ce="useEffectEvent",w(),Fe(),mf(e)}},ji={readContext:function(e){return $(),Nt(e)},use:function(e){return w(),Ei(e)},useCallback:function(e,t){return ce="useCallback",w(),ge(),eu(e,t)},useContext:function(e){return ce="useContext",w(),ge(),Nt(e)},useEffect:function(e,t){ce="useEffect",w(),ge(),Bn(2048,Sa,e,t)},useImperativeHandle:function(e,t,l){return ce="useImperativeHandle",w(),ge(),As(e,t,l)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",w(),ge(),Bn(4,ba,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",w(),ge(),Bn(4,mu,e,t)},useMemo:function(e,t){ce="useMemo",w(),ge();var l=oe.H;oe.H=ji;try{return an(e,t)}finally{oe.H=l}},useReducer:function(e,t,l){ce="useReducer",w(),ge();var i=oe.H;oe.H=ji;try{return no(e,t,l)}finally{oe.H=i}},useRef:function(){return ce="useRef",w(),ge(),Yt().memoizedState},useState:function(){ce="useState",w(),ge();var e=oe.H;oe.H=ji;try{return no(ia)}finally{oe.H=e}},useDebugValue:function(){ce="useDebugValue",w(),ge()},useDeferredValue:function(e,t){return ce="useDeferredValue",w(),ge(),Bu(e,t)},useTransition:function(){return ce="useTransition",w(),ge(),Kg()},useSyncExternalStore:function(e,t,l){return ce="useSyncExternalStore",w(),ge(),ao(e,t,l)},useId:function(){return ce="useId",w(),ge(),Yt().memoizedState},useFormState:function(e){return ce="useFormState",w(),ge(),oc(e)},useActionState:function(e){return ce="useActionState",w(),ge(),oc(e)},useOptimistic:function(e,t){return ce="useOptimistic",w(),ge(),ff(e,t)},useMemoCache:function(e){return w(),ua(e)},useHostTransitionStatus:zi,useCacheRefresh:function(){return ce="useCacheRefresh",ge(),Yt().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",w(),ge(),Ts(e)}},v1={readContext:function(e){return $(),Nt(e)},use:function(e){return w(),Ei(e)},useCallback:function(e,t){return ce="useCallback",w(),ge(),eu(e,t)},useContext:function(e){return ce="useContext",w(),ge(),Nt(e)},useEffect:function(e,t){ce="useEffect",w(),ge(),Bn(2048,Sa,e,t)},useImperativeHandle:function(e,t,l){return ce="useImperativeHandle",w(),ge(),As(e,t,l)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",w(),ge(),Bn(4,ba,e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",w(),ge(),Bn(4,mu,e,t)},useMemo:function(e,t){ce="useMemo",w(),ge();var l=oe.H;oe.H=ji;try{return an(e,t)}finally{oe.H=l}},useReducer:function(e,t,l){ce="useReducer",w(),ge();var i=oe.H;oe.H=ji;try{return lo(e,t,l)}finally{oe.H=i}},useRef:function(){return ce="useRef",w(),ge(),Yt().memoizedState},useState:function(){ce="useState",w(),ge();var e=oe.H;oe.H=ji;try{return lo(ia)}finally{oe.H=e}},useDebugValue:function(){ce="useDebugValue",w(),ge()},useDeferredValue:function(e,t){return ce="useDeferredValue",w(),ge(),nt(e,t)},useTransition:function(){return ce="useTransition",w(),ge(),fn()},useSyncExternalStore:function(e,t,l){return ce="useSyncExternalStore",w(),ge(),ao(e,t,l)},useId:function(){return ce="useId",w(),ge(),Yt().memoizedState},useFormState:function(e){return ce="useFormState",w(),ge(),sc(e)},useActionState:function(e){return ce="useActionState",w(),ge(),sc(e)},useOptimistic:function(e,t){return ce="useOptimistic",w(),ge(),df(e,t)},useMemoCache:function(e){return w(),ua(e)},useHostTransitionStatus:zi,useCacheRefresh:function(){return ce="useCacheRefresh",ge(),Yt().memoizedState},useEffectEvent:function(e){return ce="useEffectEvent",w(),ge(),Ts(e)}};var kE={},$E=new Set,FE=new Set,WE=new Set,IE=new Set,PE=new Set,eT=new Set,tT=new Set,nT=new Set,lT=new Set,aT=new Set;Object.freeze(kE);var sS={enqueueSetState:function(e,t,l){e=e._reactInternals;var i=yl(e),o=Hn(i);o.payload=t,l!=null&&(ro(l),o.callback=l),t=Cu(e,o,i),t!==null&&(Ru(i,"this.setState()",e),$e(t,e,i),Ua(t,e,i))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var i=yl(e),o=Hn(i);o.tag=GE,o.payload=t,l!=null&&(ro(l),o.callback=l),t=Cu(e,o,i),t!==null&&(Ru(i,"this.replaceState()",e),$e(t,e,i),Ua(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=yl(e),i=Hn(l);i.tag=LE,t!=null&&(ro(t),i.callback=t),t=Cu(e,i,l),t!==null&&(Ru(l,"this.forceUpdate()",e),$e(t,e,l),Ua(t,e,l))}},L0=null,rS=null,fS=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),el=!1,uT={},iT={},cT={},oT={},V0=!1,sT={},b1={},dS={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},rT=!1,fT=null;fT=new Set;var Go=!1,tl=!1,hS=!1,dT=typeof WeakSet=="function"?WeakSet:Set,bl=null,X0=null,Q0=null,nl=null,Ya=!1,Yi=null,ol=!1,Qp=8192,j4={getCacheForType:function(e){var t=Nt(Wn),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return Nt(Wn).controller.signal},getOwner:function(){return $l}};if(typeof Symbol=="function"&&Symbol.for){var Zp=Symbol.for;Zp("selector.component"),Zp("selector.has_pseudo_class"),Zp("selector.role"),Zp("selector.test_id"),Zp("selector.text")}var Y4=[],q4=typeof WeakMap=="function"?WeakMap:Map,Sl=0,sl=2,yu=4,Lo=0,Jp=1,md=2,S1=3,vr=4,E1=6,hT=5,xt=Sl,Pt=null,mt=null,ft=0,qa=0,T1=1,yd=2,Kp=3,mT=4,mS=5,kp=6,A1=7,yS=8,pd=9,kt=qa,pu=null,br=!1,Z0=!1,pS=!1,xc=0,bn=Lo,Sr=0,Er=0,gS=0,Ga=0,gd=0,$p=null,Ea=null,O1=!1,z1=0,yT=0,pT=300,D1=1/0,gT=500,Fp=null,Un=null,Tr=null,_1=0,vS=1,bS=2,vT=3,Ar=0,bT=1,ST=2,ET=3,TT=4,R1=5,ll=0,Or=null,J0=null,qi=0,SS=0,ES=-0,TS=null,AT=null,OT=null,Gi=_1,zT=null,G4=50,Wp=0,AS=null,OS=!1,M1=!1,L4=50,vd=0,Ip=null,K0=!1,x1=null,DT=!1,_T=new Set,V4={},C1=null,k0=null,zS=!1,DS=!1,U1=!1,_S=!1,zr=0,RS={};(function(){for(var e=0;e<qb.length;e++){var t=qb[e],l=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Qa(l,"on"+t)}Qa(lE,"onAnimationEnd"),Qa(aE,"onAnimationIteration"),Qa(uE,"onAnimationStart"),Qa("dblclick","onDoubleClick"),Qa("focusin","onFocus"),Qa("focusout","onBlur"),Qa(g4,"onTransitionRun"),Qa(v4,"onTransitionStart"),Qa(b4,"onTransitionCancel"),Qa(iE,"onTransitionEnd")})(),et("onMouseEnter",["mouseout","mouseover"]),et("onMouseLeave",["mouseout","mouseover"]),et("onPointerEnter",["pointerout","pointerover"]),et("onPointerLeave",["pointerout","pointerover"]),dt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),dt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),dt("onBeforeInput",["compositionend","keypress","textInput","paste"]),dt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),dt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),dt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pp="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),MS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pp)),w1="_reactListening"+Math.random().toString(36).slice(2),RT=!1,MT=!1,N1=!1,xT=!1,H1=!1,B1=!1,CT=!1,j1={},X4=/\r\n?/g,Q4=/\u0000|\uFFFD/g,bd="http://www.w3.org/1999/xlink",xS="http://www.w3.org/XML/1998/namespace",Z4="javascript:throw new Error('React form unexpectedly submitted.')",J4="suppressHydrationWarning",Sd="&",Y1="/&",eg="$",tg="/$",Dr="$?",Ed="$~",$0="$!",K4="html",k4="body",$4="head",CS="F!",UT="F",wT="loading",F4="style",Vo=0,F0=1,q1=2,US=null,wS=null,NT={dialog:!0,webview:!0},NS=null,ng=void 0,HT=typeof setTimeout=="function"?setTimeout:void 0,W4=typeof clearTimeout=="function"?clearTimeout:void 0,Td=-1,BT=typeof Promise=="function"?Promise:void 0,I4=typeof queueMicrotask=="function"?queueMicrotask:typeof BT<"u"?function(e){return BT.resolve(null).then(e).catch(yv)}:HT,HS=null,Ad=0,lg=1,jT=2,YT=3,si=4,ri=new Map,qT=new Set,Xo=Bt.d;Bt.d={f:function(){var e=Xo.f(),t=da();return e||t},r:function(e){var t=Te(e);t!==null&&t.tag===5&&t.type==="form"?zs(t):Xo.r(e)},D:function(e){Xo.D(e),Qy("dns-prefetch",e,null)},C:function(e,t){Xo.C(e,t),Qy("preconnect",e,t)},L:function(e,t,l){Xo.L(e,t,l);var i=W0;if(i&&e&&t){var o='link[rel="preload"][as="'+Xt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(o+='[imagesrcset="'+Xt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(o+='[imagesizes="'+Xt(l.imageSizes)+'"]')):o+='[href="'+Xt(e)+'"]';var s=o;switch(t){case"style":s=Eo(e);break;case"script":s=To(e)}ri.has(s)||(e=ot({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),ri.set(s,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(Vf(s))||t==="script"&&i.querySelector(Xf(s))||(t=i.createElement("link"),un(t,"link",e),Ne(t),i.head.appendChild(t)))}},m:function(e,t){Xo.m(e,t);var l=W0;if(l&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Xt(i)+'"][href="'+Xt(e)+'"]',s=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=To(e)}if(!ri.has(s)&&(e=ot({rel:"modulepreload",href:e},t),ri.set(s,e),l.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Xf(s)))return}i=l.createElement("link"),un(i,"link",e),Ne(i),l.head.appendChild(i)}}},X:function(e,t){Xo.X(e,t);var l=W0;if(l&&e){var i=Ve(l).hoistableScripts,o=To(e),s=i.get(o);s||(s=l.querySelector(Xf(o)),s||(e=ot({src:e,async:!0},t),(t=ri.get(o))&&Ky(e,t),s=l.createElement("script"),Ne(s),un(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}},S:function(e,t,l){Xo.S(e,t,l);var i=W0;if(i&&e){var o=Ve(i).hoistableStyles,s=Eo(e);t=t||"default";var h=o.get(s);if(!h){var y={loading:Ad,preload:null};if(h=i.querySelector(Vf(s)))y.loading=lg|si;else{e=ot({rel:"stylesheet",href:e,"data-precedence":t},l),(l=ri.get(s))&&Jy(e,l);var b=h=i.createElement("link");Ne(b),un(b,"link",e),b._p=new Promise(function(T,J){b.onload=T,b.onerror=J}),b.addEventListener("load",function(){y.loading|=lg}),b.addEventListener("error",function(){y.loading|=jT}),y.loading|=si,Js(h,t,i)}h={type:"stylesheet",instance:h,count:1,state:y},o.set(s,h)}}},M:function(e,t){Xo.M(e,t);var l=W0;if(l&&e){var i=Ve(l).hoistableScripts,o=To(e),s=i.get(o);s||(s=l.querySelector(Xf(o)),s||(e=ot({src:e,async:!0,type:"module"},t),(t=ri.get(o))&&Ky(e,t),s=l.createElement("script"),Ne(s),un(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}}};var W0=typeof document>"u"?null:document,G1=null,P4=6e4,ez=800,tz=500,BS=0,jS=null,L1=null,Od=_b,ag={$$typeof:su,Provider:null,Consumer:null,_currentValue:Od,_currentValue2:Od,_threadCount:0},GT="%c%s%c",LT="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",VT="",V1=" ",nz=Function.prototype.bind,XT=!1,QT=null,ZT=null,JT=null,KT=null,kT=null,$T=null,FT=null,WT=null,IT=null,PT=null;QT=function(e,t,l,i){t=d(e,t),t!==null&&(l=m(t.memoizedState,l,0,i),t.memoizedState=l,t.baseState=l,e.memoizedProps=ot({},e.memoizedProps),l=hl(e,2),l!==null&&$e(l,e,2))},ZT=function(e,t,l){t=d(e,t),t!==null&&(l=S(t.memoizedState,l,0),t.memoizedState=l,t.baseState=l,e.memoizedProps=ot({},e.memoizedProps),l=hl(e,2),l!==null&&$e(l,e,2))},JT=function(e,t,l,i){t=d(e,t),t!==null&&(l=g(t.memoizedState,l,i),t.memoizedState=l,t.baseState=l,e.memoizedProps=ot({},e.memoizedProps),l=hl(e,2),l!==null&&$e(l,e,2))},KT=function(e,t,l){e.pendingProps=m(e.memoizedProps,t,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=hl(e,2),t!==null&&$e(t,e,2)},kT=function(e,t){e.pendingProps=S(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=hl(e,2),t!==null&&$e(t,e,2)},$T=function(e,t,l){e.pendingProps=g(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=hl(e,2),t!==null&&$e(t,e,2)},FT=function(e){var t=hl(e,2);t!==null&&$e(t,e,2)},WT=function(e){var t=Wo(),l=hl(e,t);l!==null&&$e(l,e,t)},IT=function(e){q=e},PT=function(e){x=e};var X1=!0,Q1=null,YS=!1,_r=null,Rr=null,Mr=null,ug=new Map,ig=new Map,xr=[],lz="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),Z1=null;if(ou.prototype.render=lp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Ge(l[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var i=t.current,o=yl(i);a0(i,o,l,t,null,null)},ou.prototype.unmount=lp.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(xt&(sl|yu))!==Sl&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),a0(e.current,2,null,e,null,null),da(),t[Ni]=null}},ou.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xi();e={blockedOn:null,target:e,priority:t};for(var l=0;l<xr.length&&t!==0&&t<xr[l].priority;l++);xr.splice(l,0,e),l===0&&np(e)}},(function(){var e=kf.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
238
|
+
- react: `+(e+`
|
|
239
|
+
- react-dom: 19.2.4
|
|
240
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Bt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=St(t),e=e!==null?Ke(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:oe,reconcilerVersion:"19.2.4"};return e.overrideHookState=QT,e.overrideHookStateDeletePath=ZT,e.overrideHookStateRenamePath=JT,e.overrideProps=KT,e.overridePropsDeletePath=kT,e.overridePropsRenamePath=$T,e.scheduleUpdate=FT,e.scheduleRetry=WT,e.setErrorHandler=IT,e.setSuspenseHandler=PT,e.scheduleRefresh=Me,e.scheduleRoot=ve,e.setRefreshHandler=Qe,e.getCurrentFiber=Jt,jr(e)})()&&Dc&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var eA=window.location.protocol;/^(https?|file):$/.test(eA)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(eA==="file:"?`
|
|
241
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}nm.createRoot=function(e,t){if(!Ge(e))throw Error("Target container is not a DOM element.");ap(e);var l=!1,i="",o=gh,s=vh,h=Im;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ba&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
242
|
+
|
|
243
|
+
let root = createRoot(domContainer);
|
|
244
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError)),t=Jf(e,1,!1,null,null,l,i,null,o,s,h,qv),e[Ni]=t.current,vc(e),new lp(t)},nm.hydrateRoot=function(e,t,l){if(!Ge(e))throw Error("Target container is not a DOM element.");ap(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",s=gh,h=vh,y=Im,b=null;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(o=l.identifierPrefix),l.onUncaughtError!==void 0&&(s=l.onUncaughtError),l.onCaughtError!==void 0&&(h=l.onCaughtError),l.onRecoverableError!==void 0&&(y=l.onRecoverableError),l.formState!==void 0&&(b=l.formState)),t=Jf(e,1,!0,t,l??null,i,o,b,s,h,y,qv),t.context=Hv(null),l=t.current,i=yl(l),i=Aa(i),o=Hn(i),o.callback=null,Cu(l,o,i),Ru(i,"hydrateRoot()",null),l=i,t.current.lanes=l,La(t,l),Zl(t),e[Ni]=t.current,vc(e),new ou(t)},nm.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),nm}var t2;function dA(){if(t2)return og.exports;t2=1;function d(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d)}catch(m){console.error(m)}}}return process.env.NODE_ENV==="production"?(d(),og.exports=rA()):og.exports=fA(),og.exports}var hA=dA(),Dt=Dd();const mA=Dt.memo(({onClick:d})=>{const m=g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),d())};return Ee.jsx("button",{className:"chat-button",onClick:d,onKeyDown:m,"aria-label":"Open chat",title:"Open chat support",type:"button",children:Ee.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Ee.jsx("path",{d:"M20 2H4C2.9 2 2.01 2.9 2.01 4L2 22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM18 14H6V12H18V14ZM18 11H6V9H18V11ZM18 8H6V6H18V8Z",fill:"white"})})})}),El=[];for(let d=0;d<256;++d)El.push((d+256).toString(16).slice(1));function yA(d,m=0){return(El[d[m+0]]+El[d[m+1]]+El[d[m+2]]+El[d[m+3]]+"-"+El[d[m+4]]+El[d[m+5]]+"-"+El[d[m+6]]+El[d[m+7]]+"-"+El[d[m+8]]+El[d[m+9]]+"-"+El[d[m+10]]+El[d[m+11]]+El[d[m+12]]+El[d[m+13]]+El[d[m+14]]+El[d[m+15]]).toLowerCase()}let k1;const pA=new Uint8Array(16);function gA(){if(!k1){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");k1=crypto.getRandomValues.bind(crypto)}return k1(pA)}const n2={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function vA(d,m,g){d=d||{};const p=d.random??d.rng?.()??gA();if(p.length<16)throw new Error("Random bytes length must be >= 16");return p[6]=p[6]&15|64,p[8]=p[8]&63|128,yA(p)}function fg(d,m,g){return n2.randomUUID&&!d?n2.randomUUID():vA(d)}const bA="chat_widget_messages";function Cr(d){const m={formatters:void 0,fees:void 0,serializers:void 0,...d};function g(p){return S=>{const x=typeof S=="function"?S(p):S,q={...p,...x};return Object.assign(q,{extend:g(q)})}}return Object.assign(m,{extend:g(m)})}const l2="2.45.1";let $1={getDocsUrl:({docsBaseUrl:d,docsPath:m="",docsSlug:g})=>m?`${d??"https://viem.sh"}${m}${g?`#${g}`:""}`:void 0,version:`viem@${l2}`};class nn extends Error{constructor(m,g={}){const p=g.cause instanceof nn?g.cause.details:g.cause?.message?g.cause.message:g.details,S=g.cause instanceof nn&&g.cause.docsPath||g.docsPath,x=$1.getDocsUrl?.({...g,docsPath:S}),q=[m||"An error occurred.","",...g.metaMessages?[...g.metaMessages,""]:[],...x?[`Docs: ${x}`]:[],...p?[`Details: ${p}`]:[],...$1.version?[`Version: ${$1.version}`]:[]].join(`
|
|
245
|
+
`);super(q,g.cause?{cause:g.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=p,this.docsPath=S,this.metaMessages=g.metaMessages,this.name=g.name??this.name,this.shortMessage=m,this.version=l2}walk(m){return a2(this,m)}}function a2(d,m){return m?.(d)?d:d&&typeof d=="object"&&"cause"in d&&d.cause!==void 0?a2(d.cause,m):m?null:d}class u2 extends nn{constructor({max:m,min:g,signed:p,size:S,value:x}){super(`Number "${x}" is not in safe ${S?`${S*8}-bit ${p?"signed":"unsigned"} `:""}integer range ${m?`(${g} to ${m})`:`(above ${g})`}`,{name:"IntegerOutOfRangeError"})}}class SA extends nn{constructor({givenSize:m,maxSize:g}){super(`Size cannot exceed ${g} bytes. Given size: ${m} bytes.`,{name:"SizeOverflowError"})}}function lm(d,{strict:m=!0}={}){return!d||typeof d!="string"?!1:m?/^0x[0-9a-fA-F]*$/.test(d):d.startsWith("0x")}function _d(d){return lm(d,{strict:!1})?Math.ceil((d.length-2)/2):d.length}function dg(d,{dir:m="left"}={}){let g=typeof d=="string"?d.replace("0x",""):d,p=0;for(let S=0;S<g.length-1&&g[m==="left"?S:g.length-S-1].toString()==="0";S++)p++;return g=m==="left"?g.slice(p):g.slice(0,g.length-p),typeof d=="string"?(g.length===1&&m==="right"&&(g=`${g}0`),`0x${g.length%2===1?`0${g}`:g}`):g}class EA extends nn{constructor({offset:m,position:g,size:p}){super(`Slice ${g==="start"?"starting":"ending"} at offset "${m}" is out-of-bounds (size: ${p}).`,{name:"SliceOffsetOutOfBoundsError"})}}class i2 extends nn{constructor({size:m,targetSize:g,type:p}){super(`${p.charAt(0).toUpperCase()}${p.slice(1).toLowerCase()} size (${m}) exceeds padding size (${g}).`,{name:"SizeExceedsPaddingSizeError"})}}function Rd(d,{dir:m,size:g=32}={}){return typeof d=="string"?TA(d,{dir:m,size:g}):AA(d,{dir:m,size:g})}function TA(d,{dir:m,size:g=32}={}){if(g===null)return d;const p=d.replace("0x","");if(p.length>g*2)throw new i2({size:Math.ceil(p.length/2),targetSize:g,type:"hex"});return`0x${p[m==="right"?"padEnd":"padStart"](g*2,"0")}`}function AA(d,{dir:m,size:g=32}={}){if(g===null)return d;if(d.length>g)throw new i2({size:d.length,targetSize:g,type:"bytes"});const p=new Uint8Array(g);for(let S=0;S<g;S++){const x=m==="right";p[x?S:g-S-1]=d[x?S:d.length-S-1]}return p}const OA=Array.from({length:256},(d,m)=>m.toString(16).padStart(2,"0"));function am(d,m={}){return typeof d=="number"||typeof d=="bigint"?_t(d,m):typeof d=="string"?_A(d,m):typeof d=="boolean"?zA(d,m):Jo(d,m)}function zA(d,m={}){const g=`0x${Number(d)}`;return typeof m.size=="number"?(Md(g,{size:m.size}),Rd(g,{size:m.size})):g}function Jo(d,m={}){let g="";for(let S=0;S<d.length;S++)g+=OA[d[S]];const p=`0x${g}`;return typeof m.size=="number"?(Md(p,{size:m.size}),Rd(p,{dir:"right",size:m.size})):p}function _t(d,m={}){const{signed:g,size:p}=m,S=BigInt(d);let x;p?g?x=(1n<<BigInt(p)*8n-1n)-1n:x=2n**(BigInt(p)*8n)-1n:typeof d=="number"&&(x=BigInt(Number.MAX_SAFE_INTEGER));const q=typeof x=="bigint"&&g?-x-1n:0;if(x&&S>x||S<q){const $=typeof d=="bigint"?"n":"";throw new u2({max:x?`${x}${$}`:void 0,min:`${q}${$}`,signed:g,size:p,value:`${d}${$}`})}const w=`0x${(g&&S<0?(1n<<BigInt(p*8))+BigInt(S):S).toString(16)}`;return p?Rd(w,{size:p}):w}const DA=new TextEncoder;function _A(d,m={}){const g=DA.encode(d);return Jo(g,m)}const RA=new TextEncoder;function c2(d,m={}){return typeof d=="number"||typeof d=="bigint"?xA(d,m):typeof d=="boolean"?MA(d,m):lm(d)?Ur(d,m):s2(d,m)}function MA(d,m={}){const g=new Uint8Array(1);return g[0]=Number(d),typeof m.size=="number"?(Md(g,{size:m.size}),Rd(g,{size:m.size})):g}const Cc={zero:48,nine:57,A:65,F:70,a:97,f:102};function o2(d){if(d>=Cc.zero&&d<=Cc.nine)return d-Cc.zero;if(d>=Cc.A&&d<=Cc.F)return d-(Cc.A-10);if(d>=Cc.a&&d<=Cc.f)return d-(Cc.a-10)}function Ur(d,m={}){let g=d;m.size&&(Md(g,{size:m.size}),g=Rd(g,{dir:"right",size:m.size}));let p=g.slice(2);p.length%2&&(p=`0${p}`);const S=p.length/2,x=new Uint8Array(S);for(let q=0,w=0;q<S;q++){const $=o2(p.charCodeAt(w++)),F=o2(p.charCodeAt(w++));if($===void 0||F===void 0)throw new nn(`Invalid byte sequence ("${p[w-2]}${p[w-1]}" in "${p}").`);x[q]=$*16+F}return x}function xA(d,m){const g=_t(d,m);return Ur(g)}function s2(d,m={}){const g=RA.encode(d);return typeof m.size=="number"?(Md(g,{size:m.size}),Rd(g,{dir:"right",size:m.size})):g}function Md(d,{size:m}){if(_d(d)>m)throw new SA({givenSize:_d(d),maxSize:m})}function xd(d,m={}){const{signed:g}=m;m.size&&Md(d,{size:m.size});const p=BigInt(d);if(!g)return p;const S=(d.length-2)/2,x=(1n<<BigInt(S)*8n-1n)-1n;return p<=x?p:p-BigInt(`0x${"f".padStart(S*2,"f")}`)-1n}function hg(d,m={}){const g=xd(d,m),p=Number(g);if(!Number.isSafeInteger(p))throw new u2({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:m.signed,size:m.size,value:`${g}n`});return p}function F1(d,m){return({exclude:g,format:p})=>({exclude:g,format:(S,x)=>{const q=m(S,x);if(g)for(const w of g)delete q[w];return{...q,...p(S,x)}},type:d})}const r2={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function W1(d,m){const g={...d,blockHash:d.blockHash?d.blockHash:null,blockNumber:d.blockNumber?BigInt(d.blockNumber):null,chainId:d.chainId?hg(d.chainId):void 0,gas:d.gas?BigInt(d.gas):void 0,gasPrice:d.gasPrice?BigInt(d.gasPrice):void 0,maxFeePerBlobGas:d.maxFeePerBlobGas?BigInt(d.maxFeePerBlobGas):void 0,maxFeePerGas:d.maxFeePerGas?BigInt(d.maxFeePerGas):void 0,maxPriorityFeePerGas:d.maxPriorityFeePerGas?BigInt(d.maxPriorityFeePerGas):void 0,nonce:d.nonce?hg(d.nonce):void 0,to:d.to?d.to:null,transactionIndex:d.transactionIndex?Number(d.transactionIndex):null,type:d.type?r2[d.type]:void 0,typeHex:d.type?d.type:void 0,value:d.value?BigInt(d.value):void 0,v:d.v?BigInt(d.v):void 0};return d.authorizationList&&(g.authorizationList=UA(d.authorizationList)),g.yParity=(()=>{if(d.yParity)return Number(d.yParity);if(typeof g.v=="bigint"){if(g.v===0n||g.v===27n)return 0;if(g.v===1n||g.v===28n)return 1;if(g.v>=35n)return g.v%2n===0n?1:0}})(),g.type==="legacy"&&(delete g.accessList,delete g.maxFeePerBlobGas,delete g.maxFeePerGas,delete g.maxPriorityFeePerGas,delete g.yParity),g.type==="eip2930"&&(delete g.maxFeePerBlobGas,delete g.maxFeePerGas,delete g.maxPriorityFeePerGas),g.type==="eip1559"&&delete g.maxFeePerBlobGas,g}const CA=F1("transaction",W1);function UA(d){return d.map(m=>({address:m.address,chainId:Number(m.chainId),nonce:Number(m.nonce),r:m.r,s:m.s,yParity:Number(m.yParity)}))}function wA(d,m){const g=(d.transactions??[]).map(p=>typeof p=="string"?p:W1(p));return{...d,baseFeePerGas:d.baseFeePerGas?BigInt(d.baseFeePerGas):null,blobGasUsed:d.blobGasUsed?BigInt(d.blobGasUsed):void 0,difficulty:d.difficulty?BigInt(d.difficulty):void 0,excessBlobGas:d.excessBlobGas?BigInt(d.excessBlobGas):void 0,gasLimit:d.gasLimit?BigInt(d.gasLimit):void 0,gasUsed:d.gasUsed?BigInt(d.gasUsed):void 0,hash:d.hash?d.hash:null,logsBloom:d.logsBloom?d.logsBloom:null,nonce:d.nonce?d.nonce:null,number:d.number?BigInt(d.number):null,size:d.size?BigInt(d.size):void 0,timestamp:d.timestamp?BigInt(d.timestamp):void 0,transactions:g,totalDifficulty:d.totalDifficulty?BigInt(d.totalDifficulty):null}}const NA=F1("block",wA);function HA(d,{args:m,eventName:g}={}){return{...d,blockHash:d.blockHash?d.blockHash:null,blockNumber:d.blockNumber?BigInt(d.blockNumber):null,blockTimestamp:d.blockTimestamp?BigInt(d.blockTimestamp):d.blockTimestamp===null?null:void 0,logIndex:d.logIndex?Number(d.logIndex):null,transactionHash:d.transactionHash?d.transactionHash:null,transactionIndex:d.transactionIndex?Number(d.transactionIndex):null,...g?{args:m,eventName:g}:{}}}const BA={"0x0":"reverted","0x1":"success"};function jA(d,m){const g={...d,blockNumber:d.blockNumber?BigInt(d.blockNumber):null,contractAddress:d.contractAddress?d.contractAddress:null,cumulativeGasUsed:d.cumulativeGasUsed?BigInt(d.cumulativeGasUsed):null,effectiveGasPrice:d.effectiveGasPrice?BigInt(d.effectiveGasPrice):null,gasUsed:d.gasUsed?BigInt(d.gasUsed):null,logs:d.logs?d.logs.map(p=>HA(p)):null,to:d.to?d.to:null,transactionIndex:d.transactionIndex?hg(d.transactionIndex):null,status:d.status?BA[d.status]:null,type:d.type?r2[d.type]||d.type:null};return d.blobGasPrice&&(g.blobGasPrice=BigInt(d.blobGasPrice)),d.blobGasUsed&&(g.blobGasUsed=BigInt(d.blobGasUsed)),g}const YA=F1("transactionReceipt",jA),I1=2n**256n-1n;function um(d){return`0x${d.reduce((m,g)=>m+g.replace("0x",""),"")}`}class f2 extends nn{constructor({offset:m}){super(`Offset \`${m}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class qA extends nn{constructor({length:m,position:g}){super(`Position \`${g}\` is out of bounds (\`0 < position < ${m}\`).`,{name:"PositionOutOfBoundsError"})}}class GA extends nn{constructor({count:m,limit:g}){super(`Recursive read limit of \`${g}\` exceeded (recursive read count: \`${m}\`).`,{name:"RecursiveReadLimitExceededError"})}}const LA={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new GA({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(d){if(d<0||d>this.bytes.length-1)throw new qA({length:this.bytes.length,position:d})},decrementPosition(d){if(d<0)throw new f2({offset:d});const m=this.position-d;this.assertPosition(m),this.position=m},getReadCount(d){return this.positionReadCount.get(d||this.position)||0},incrementPosition(d){if(d<0)throw new f2({offset:d});const m=this.position+d;this.assertPosition(m),this.position=m},inspectByte(d){const m=d??this.position;return this.assertPosition(m),this.bytes[m]},inspectBytes(d,m){const g=m??this.position;return this.assertPosition(g+d-1),this.bytes.subarray(g,g+d)},inspectUint8(d){const m=d??this.position;return this.assertPosition(m),this.bytes[m]},inspectUint16(d){const m=d??this.position;return this.assertPosition(m+1),this.dataView.getUint16(m)},inspectUint24(d){const m=d??this.position;return this.assertPosition(m+2),(this.dataView.getUint16(m)<<8)+this.dataView.getUint8(m+2)},inspectUint32(d){const m=d??this.position;return this.assertPosition(m+3),this.dataView.getUint32(m)},pushByte(d){this.assertPosition(this.position),this.bytes[this.position]=d,this.position++},pushBytes(d){this.assertPosition(this.position+d.length-1),this.bytes.set(d,this.position),this.position+=d.length},pushUint8(d){this.assertPosition(this.position),this.bytes[this.position]=d,this.position++},pushUint16(d){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,d),this.position+=2},pushUint24(d){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,d>>8),this.dataView.setUint8(this.position+2,d&255),this.position+=3},pushUint32(d){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,d),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const d=this.inspectByte();return this.position++,d},readBytes(d,m){this.assertReadLimit(),this._touch();const g=this.inspectBytes(d);return this.position+=m??d,g},readUint8(){this.assertReadLimit(),this._touch();const d=this.inspectUint8();return this.position+=1,d},readUint16(){this.assertReadLimit(),this._touch();const d=this.inspectUint16();return this.position+=2,d},readUint24(){this.assertReadLimit(),this._touch();const d=this.inspectUint24();return this.position+=3,d},readUint32(){this.assertReadLimit(),this._touch();const d=this.inspectUint32();return this.position+=4,d},get remaining(){return this.bytes.length-this.position},setPosition(d){const m=this.position;return this.assertPosition(d),this.position=d,()=>this.position=m},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const d=this.getReadCount();this.positionReadCount.set(this.position,d+1),d>0&&this.recursiveReadCount++}};function d2(d,{recursiveReadLimit:m=8192}={}){const g=Object.create(LA);return g.bytes=d,g.dataView=new DataView(d.buffer??d,d.byteOffset,d.byteLength),g.positionReadCount=new Map,g.recursiveReadLimit=m,g}function wr(d,m="hex"){const g=h2(d),p=d2(new Uint8Array(g.length));return g.encode(p),m==="hex"?Jo(p.bytes):p.bytes}function h2(d){return Array.isArray(d)?VA(d.map(m=>h2(m))):XA(d)}function VA(d){const m=d.reduce((S,x)=>S+x.length,0),g=m2(m);return{length:m<=55?1+m:1+g+m,encode(S){m<=55?S.pushByte(192+m):(S.pushByte(247+g),g===1?S.pushUint8(m):g===2?S.pushUint16(m):g===3?S.pushUint24(m):S.pushUint32(m));for(const{encode:x}of d)x(S)}}}function XA(d){const m=typeof d=="string"?Ur(d):d,g=m2(m.length);return{length:m.length===1&&m[0]<128?1:m.length<=55?1+m.length:1+g+m.length,encode(S){m.length===1&&m[0]<128?S.pushBytes(m):m.length<=55?(S.pushByte(128+m.length),S.pushBytes(m)):(S.pushByte(183+g),g===1?S.pushUint8(m.length):g===2?S.pushUint16(m.length):g===3?S.pushUint24(m.length):S.pushUint32(m.length),S.pushBytes(m))}}}function m2(d){if(d<2**8)return 1;if(d<2**16)return 2;if(d<2**24)return 3;if(d<2**32)return 4;throw new nn("Length is too large.")}const QA={ether:-9,wei:9};function ZA(d,m){let g=d.toString();const p=g.startsWith("-");p&&(g=g.slice(1)),g=g.padStart(m,"0");let[S,x]=[g.slice(0,g.length-m),g.slice(g.length-m)];return x=x.replace(/(0+)$/,""),`${p?"-":""}${S||"0"}${x?`.${x}`:""}`}function P1(d,m="wei"){return ZA(d,QA[m])}function JA(d){const m=Object.entries(d).map(([p,S])=>S===void 0||S===!1?null:[p,S]).filter(Boolean),g=m.reduce((p,[S])=>Math.max(p,S.length),0);return m.map(([p,S])=>` ${`${p}:`.padEnd(g+1)} ${S}`).join(`
|
|
246
|
+
`)}class KA extends nn{constructor({v:m}){super(`Invalid \`v\` value "${m}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class kA extends nn{constructor({transaction:m}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",JA(m),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class $A extends nn{constructor({storageKey:m}){super(`Size for storage key "${m}" is invalid. Expected 32 bytes. Got ${Math.floor((m.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}function FA(d){if(!d||d.length===0)return[];const m=[];for(const g of d){const{chainId:p,nonce:S,...x}=g,q=g.address;m.push([p?am(p):"0x",q,S?am(S):"0x",...sm({},x)])}return m}function y2(d){const{kzg:m}=d,g=d.to??(typeof d.blobs[0]=="string"?"hex":"bytes"),p=typeof d.blobs[0]=="string"?d.blobs.map(x=>Ur(x)):d.blobs,S=[];for(const x of p)S.push(Uint8Array.from(m.blobToKzgCommitment(x)));return g==="bytes"?S:S.map(x=>Jo(x))}function p2(d){const{kzg:m}=d,g=d.to??(typeof d.blobs[0]=="string"?"hex":"bytes"),p=typeof d.blobs[0]=="string"?d.blobs.map(q=>Ur(q)):d.blobs,S=typeof d.commitments[0]=="string"?d.commitments.map(q=>Ur(q)):d.commitments,x=[];for(let q=0;q<p.length;q++){const w=p[q],$=S[q];x.push(Uint8Array.from(m.computeBlobKzgProof(w,$)))}return g==="bytes"?x:x.map(q=>Jo(q))}function WA(d){return d instanceof Uint8Array||ArrayBuffer.isView(d)&&d.constructor.name==="Uint8Array"}function g2(d){if(!Number.isSafeInteger(d)||d<0)throw new Error("positive integer expected, got "+d)}function im(d,...m){if(!WA(d))throw new Error("Uint8Array expected");if(m.length>0&&!m.includes(d.length))throw new Error("Uint8Array expected of length "+m+", got length="+d.length)}function mg(d,m=!0){if(d.destroyed)throw new Error("Hash instance has been destroyed");if(m&&d.finished)throw new Error("Hash#digest() has already been called")}function v2(d,m){im(d);const g=m.outputLen;if(d.length<g)throw new Error("digestInto() expects output buffer of length at least "+g)}function IA(d){return new Uint32Array(d.buffer,d.byteOffset,Math.floor(d.byteLength/4))}function cm(...d){for(let m=0;m<d.length;m++)d[m].fill(0)}function eb(d){return new DataView(d.buffer,d.byteOffset,d.byteLength)}function Li(d,m){return d<<32-m|d>>>m}const PA=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function e3(d){return d<<24&4278190080|d<<8&16711680|d>>>8&65280|d>>>24&255}function t3(d){for(let m=0;m<d.length;m++)d[m]=e3(d[m]);return d}const b2=PA?d=>d:t3;function n3(d){if(typeof d!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(d))}function tb(d){return typeof d=="string"&&(d=n3(d)),im(d),d}class S2{}function E2(d){const m=p=>d().update(tb(p)).digest(),g=d();return m.outputLen=g.outputLen,m.blockLen=g.blockLen,m.create=()=>d(),m}function l3(d,m,g,p){if(typeof d.setBigUint64=="function")return d.setBigUint64(m,g,p);const S=BigInt(32),x=BigInt(4294967295),q=Number(g>>S&x),w=Number(g&x),$=p?4:0,F=p?0:4;d.setUint32(m+$,q,p),d.setUint32(m+F,w,p)}function a3(d,m,g){return d&m^~d&g}function u3(d,m,g){return d&m^d&g^m&g}class i3 extends S2{constructor(m,g,p,S){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=m,this.outputLen=g,this.padOffset=p,this.isLE=S,this.buffer=new Uint8Array(m),this.view=eb(this.buffer)}update(m){mg(this),m=tb(m),im(m);const{view:g,buffer:p,blockLen:S}=this,x=m.length;for(let q=0;q<x;){const w=Math.min(S-this.pos,x-q);if(w===S){const $=eb(m);for(;S<=x-q;q+=S)this.process($,q);continue}p.set(m.subarray(q,q+w),this.pos),this.pos+=w,q+=w,this.pos===S&&(this.process(g,0),this.pos=0)}return this.length+=m.length,this.roundClean(),this}digestInto(m){mg(this),v2(m,this),this.finished=!0;const{buffer:g,view:p,blockLen:S,isLE:x}=this;let{pos:q}=this;g[q++]=128,cm(this.buffer.subarray(q)),this.padOffset>S-q&&(this.process(p,0),q=0);for(let Z=q;Z<S;Z++)g[Z]=0;l3(p,S-8,BigInt(this.length*8),x),this.process(p,0);const w=eb(m),$=this.outputLen;if($%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const F=$/4,fe=this.get();if(F>fe.length)throw new Error("_sha2: outputLen bigger than state");for(let Z=0;Z<F;Z++)w.setUint32(4*Z,fe[Z],x)}digest(){const{buffer:m,outputLen:g}=this;this.digestInto(m);const p=m.slice(0,g);return this.destroy(),p}_cloneInto(m){m||(m=new this.constructor),m.set(...this.get());const{blockLen:g,buffer:p,length:S,finished:x,destroyed:q,pos:w}=this;return m.destroyed=q,m.finished=x,m.length=S,m.pos=w,S%g&&m.buffer.set(p),m}clone(){return this._cloneInto()}}const Ko=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),yg=BigInt(2**32-1),T2=BigInt(32);function c3(d,m=!1){return m?{h:Number(d&yg),l:Number(d>>T2&yg)}:{h:Number(d>>T2&yg)|0,l:Number(d&yg)|0}}function o3(d,m=!1){const g=d.length;let p=new Uint32Array(g),S=new Uint32Array(g);for(let x=0;x<g;x++){const{h:q,l:w}=c3(d[x],m);[p[x],S[x]]=[q,w]}return[p,S]}const s3=(d,m,g)=>d<<g|m>>>32-g,r3=(d,m,g)=>m<<g|d>>>32-g,f3=(d,m,g)=>m<<g-32|d>>>64-g,d3=(d,m,g)=>d<<g-32|m>>>64-g,h3=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),ko=new Uint32Array(64);class m3 extends i3{constructor(m=32){super(64,m,8,!1),this.A=Ko[0]|0,this.B=Ko[1]|0,this.C=Ko[2]|0,this.D=Ko[3]|0,this.E=Ko[4]|0,this.F=Ko[5]|0,this.G=Ko[6]|0,this.H=Ko[7]|0}get(){const{A:m,B:g,C:p,D:S,E:x,F:q,G:w,H:$}=this;return[m,g,p,S,x,q,w,$]}set(m,g,p,S,x,q,w,$){this.A=m|0,this.B=g|0,this.C=p|0,this.D=S|0,this.E=x|0,this.F=q|0,this.G=w|0,this.H=$|0}process(m,g){for(let Z=0;Z<16;Z++,g+=4)ko[Z]=m.getUint32(g,!1);for(let Z=16;Z<64;Z++){const V=ko[Z-15],ve=ko[Z-2],Me=Li(V,7)^Li(V,18)^V>>>3,Qe=Li(ve,17)^Li(ve,19)^ve>>>10;ko[Z]=Qe+ko[Z-7]+Me+ko[Z-16]|0}let{A:p,B:S,C:x,D:q,E:w,F:$,G:F,H:fe}=this;for(let Z=0;Z<64;Z++){const V=Li(w,6)^Li(w,11)^Li(w,25),ve=fe+V+a3(w,$,F)+h3[Z]+ko[Z]|0,Qe=(Li(p,2)^Li(p,13)^Li(p,22))+u3(p,S,x)|0;fe=F,F=$,$=w,w=q+ve|0,q=x,x=S,S=p,p=ve+Qe|0}p=p+this.A|0,S=S+this.B|0,x=x+this.C|0,q=q+this.D|0,w=w+this.E|0,$=$+this.F|0,F=F+this.G|0,fe=fe+this.H|0,this.set(p,S,x,q,w,$,F,fe)}roundClean(){cm(ko)}destroy(){this.set(0,0,0,0,0,0,0,0),cm(this.buffer)}}const y3=E2(()=>new m3);function p3(d,m){return y3(lm(d,{strict:!1})?c2(d):d)}function g3(d){const{commitment:m,version:g=1}=d,p=d.to??(typeof m=="string"?"hex":"bytes"),S=p3(m);return S.set([g],0),p==="bytes"?S:Jo(S)}function v3(d){const{commitments:m,version:g}=d,p=d.to??(typeof m[0]=="string"?"hex":"bytes"),S=[];for(const x of m)S.push(g3({commitment:x,to:p,version:g}));return S}const A2=6,O2=32,nb=4096,z2=O2*nb,D2=z2*A2-1-1*nb*A2,_2=1;class b3 extends nn{constructor({maxSize:m,size:g}){super("Blob size is too large.",{metaMessages:[`Max: ${m} bytes`,`Given: ${g} bytes`],name:"BlobSizeTooLargeError"})}}class R2 extends nn{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class S3 extends nn{constructor({hash:m,size:g}){super(`Versioned hash "${m}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${g}`],name:"InvalidVersionedHashSizeError"})}}class E3 extends nn{constructor({hash:m,version:g}){super(`Versioned hash "${m}" version is invalid.`,{metaMessages:[`Expected: ${_2}`,`Received: ${g}`],name:"InvalidVersionedHashVersionError"})}}function T3(d){const m=d.to??(typeof d.data=="string"?"hex":"bytes"),g=typeof d.data=="string"?Ur(d.data):d.data,p=_d(g);if(!p)throw new R2;if(p>D2)throw new b3({maxSize:D2,size:p});const S=[];let x=!0,q=0;for(;x;){const w=d2(new Uint8Array(z2));let $=0;for(;$<nb;){const F=g.slice(q,q+(O2-1));if(w.pushByte(0),w.pushBytes(F),F.length<31){w.pushByte(128),x=!1;break}$++,q+=31}S.push(w)}return m==="bytes"?S.map(w=>w.bytes):S.map(w=>Jo(w.bytes))}function A3(d){const{data:m,kzg:g,to:p}=d,S=d.blobs??T3({data:m,to:p}),x=d.commitments??y2({blobs:S,kzg:g,to:p}),q=d.proofs??p2({blobs:S,commitments:x,kzg:g,to:p}),w=[];for(let $=0;$<S.length;$++)w.push({blob:S[$],commitment:x[$],proof:q[$]});return w}class Nr extends nn{constructor({address:m}){super(`Address "${m}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}class pg extends nn{constructor({chainId:m}){super(typeof m=="number"?`Chain ID "${m}" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}class gg extends nn{constructor({cause:m,maxFeePerGas:g}={}){super(`The fee cap (\`maxFeePerGas\`${g?` = ${P1(g)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:m,name:"FeeCapTooHighError"})}}Object.defineProperty(gg,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class M2 extends nn{constructor({cause:m,maxPriorityFeePerGas:g,maxFeePerGas:p}={}){super([`The provided tip (\`maxPriorityFeePerGas\`${g?` = ${P1(g)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${p?` = ${P1(p)} gwei`:""}).`].join(`
|
|
247
|
+
`),{cause:m,name:"TipAboveFeeCapError"})}}Object.defineProperty(M2,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class x2 extends Map{constructor(m){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=m}get(m){const g=super.get(m);return super.has(m)&&g!==void 0&&(this.delete(m),super.set(m,g)),g}set(m,g){if(super.set(m,g),this.maxSize&&this.size>this.maxSize){const p=this.keys().next().value;p&&this.delete(p)}return this}}const O3=BigInt(0),om=BigInt(1),z3=BigInt(2),D3=BigInt(7),_3=BigInt(256),R3=BigInt(113),C2=[],U2=[],w2=[];for(let d=0,m=om,g=1,p=0;d<24;d++){[g,p]=[p,(2*g+3*p)%5],C2.push(2*(5*p+g)),U2.push((d+1)*(d+2)/2%64);let S=O3;for(let x=0;x<7;x++)m=(m<<om^(m>>D3)*R3)%_3,m&z3&&(S^=om<<(om<<BigInt(x))-om);w2.push(S)}const N2=o3(w2,!0),M3=N2[0],x3=N2[1],H2=(d,m,g)=>g>32?f3(d,m,g):s3(d,m,g),B2=(d,m,g)=>g>32?d3(d,m,g):r3(d,m,g);function C3(d,m=24){const g=new Uint32Array(10);for(let p=24-m;p<24;p++){for(let q=0;q<10;q++)g[q]=d[q]^d[q+10]^d[q+20]^d[q+30]^d[q+40];for(let q=0;q<10;q+=2){const w=(q+8)%10,$=(q+2)%10,F=g[$],fe=g[$+1],Z=H2(F,fe,1)^g[w],V=B2(F,fe,1)^g[w+1];for(let ve=0;ve<50;ve+=10)d[q+ve]^=Z,d[q+ve+1]^=V}let S=d[2],x=d[3];for(let q=0;q<24;q++){const w=U2[q],$=H2(S,x,w),F=B2(S,x,w),fe=C2[q];S=d[fe],x=d[fe+1],d[fe]=$,d[fe+1]=F}for(let q=0;q<50;q+=10){for(let w=0;w<10;w++)g[w]=d[q+w];for(let w=0;w<10;w++)d[q+w]^=~g[(w+2)%10]&g[(w+4)%10]}d[0]^=M3[p],d[1]^=x3[p]}cm(g)}class lb extends S2{constructor(m,g,p,S=!1,x=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=m,this.suffix=g,this.outputLen=p,this.enableXOF=S,this.rounds=x,g2(p),!(0<m&&m<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=IA(this.state)}clone(){return this._cloneInto()}keccak(){b2(this.state32),C3(this.state32,this.rounds),b2(this.state32),this.posOut=0,this.pos=0}update(m){mg(this),m=tb(m),im(m);const{blockLen:g,state:p}=this,S=m.length;for(let x=0;x<S;){const q=Math.min(g-this.pos,S-x);for(let w=0;w<q;w++)p[this.pos++]^=m[x++];this.pos===g&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:m,suffix:g,pos:p,blockLen:S}=this;m[p]^=g,(g&128)!==0&&p===S-1&&this.keccak(),m[S-1]^=128,this.keccak()}writeInto(m){mg(this,!1),im(m),this.finish();const g=this.state,{blockLen:p}=this;for(let S=0,x=m.length;S<x;){this.posOut>=p&&this.keccak();const q=Math.min(p-this.posOut,x-S);m.set(g.subarray(this.posOut,this.posOut+q),S),this.posOut+=q,S+=q}return m}xofInto(m){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(m)}xof(m){return g2(m),this.xofInto(new Uint8Array(m))}digestInto(m){if(v2(m,this),this.finished)throw new Error("digest() was already called");return this.writeInto(m),this.destroy(),m}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,cm(this.state)}_cloneInto(m){const{blockLen:g,suffix:p,outputLen:S,rounds:x,enableXOF:q}=this;return m||(m=new lb(g,p,S,q,x)),m.state32.set(this.state32),m.pos=this.pos,m.posOut=this.posOut,m.finished=this.finished,m.rounds=x,m.suffix=p,m.outputLen=S,m.enableXOF=q,m.destroyed=this.destroyed,m}}const U3=(d,m,g)=>E2(()=>new lb(m,d,g)),w3=U3(1,136,256/8);function N3(d,m){return w3(lm(d,{strict:!1})?c2(d):d)}const ab=new x2(8192);function H3(d,m){if(ab.has(`${d}.${m}`))return ab.get(`${d}.${m}`);const g=d.substring(2).toLowerCase(),p=N3(s2(g)),S=g.split("");for(let q=0;q<40;q+=2)p[q>>1]>>4>=8&&S[q]&&(S[q]=S[q].toUpperCase()),(p[q>>1]&15)>=8&&S[q+1]&&(S[q+1]=S[q+1].toUpperCase());const x=`0x${S.join("")}`;return ab.set(`${d}.${m}`,x),x}const B3=/^0x[a-fA-F0-9]{40}$/,ub=new x2(8192);function Hr(d,m){const{strict:g=!0}=m??{},p=`${d}.${g}`;if(ub.has(p))return ub.get(p);const S=B3.test(d)?d.toLowerCase()===d?!0:g?H3(d)===d:!0:!1;return ub.set(p,S),S}function j3(d,m,g,{strict:p}={}){return lm(d,{strict:!1})?q3(d,m,g,{strict:p}):Y3(d,m,g,{strict:p})}function j2(d,m,g){if(_d(d)!==g-m)throw new EA({offset:g,position:"end",size:_d(d)})}function Y3(d,m,g,{strict:p}={}){const S=d.slice(m,g);return p&&j2(S,m,g),S}function q3(d,m,g,{strict:p}={}){const S=`0x${d.replace("0x","").slice(m*2,g*2)}`;return p&&j2(S,m,g),S}function G3(d){const{authorizationList:m}=d;if(m)for(const g of m){const{chainId:p}=g,S=g.address;if(!Hr(S))throw new Nr({address:S});if(p<0)throw new pg({chainId:p})}ib(d)}function L3(d){const{blobVersionedHashes:m}=d;if(m){if(m.length===0)throw new R2;for(const g of m){const p=_d(g),S=hg(j3(g,0,1));if(p!==32)throw new S3({hash:g,size:p});if(S!==_2)throw new E3({hash:g,version:S})}}ib(d)}function ib(d){const{chainId:m,maxPriorityFeePerGas:g,maxFeePerGas:p,to:S}=d;if(m<=0)throw new pg({chainId:m});if(S&&!Hr(S))throw new Nr({address:S});if(p&&p>I1)throw new gg({maxFeePerGas:p});if(g&&p&&g>p)throw new M2({maxFeePerGas:p,maxPriorityFeePerGas:g})}function V3(d){const{chainId:m,maxPriorityFeePerGas:g,gasPrice:p,maxFeePerGas:S,to:x}=d;if(m<=0)throw new pg({chainId:m});if(x&&!Hr(x))throw new Nr({address:x});if(g||S)throw new nn("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(p&&p>I1)throw new gg({maxFeePerGas:p})}function X3(d){const{chainId:m,maxPriorityFeePerGas:g,gasPrice:p,maxFeePerGas:S,to:x}=d;if(x&&!Hr(x))throw new Nr({address:x});if(typeof m<"u"&&m<=0)throw new pg({chainId:m});if(g||S)throw new nn("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(p&&p>I1)throw new gg({maxFeePerGas:p})}function Q3(d){if(d.type)return d.type;if(typeof d.authorizationList<"u")return"eip7702";if(typeof d.blobs<"u"||typeof d.blobVersionedHashes<"u"||typeof d.maxFeePerBlobGas<"u"||typeof d.sidecars<"u")return"eip4844";if(typeof d.maxFeePerGas<"u"||typeof d.maxPriorityFeePerGas<"u")return"eip1559";if(typeof d.gasPrice<"u")return typeof d.accessList<"u"?"eip2930":"legacy";throw new kA({transaction:d})}function vg(d){if(!d||d.length===0)return[];const m=[];for(let g=0;g<d.length;g++){const{address:p,storageKeys:S}=d[g];for(let x=0;x<S.length;x++)if(S[x].length-2!==64)throw new $A({storageKey:S[x]});if(!Hr(p,{strict:!1}))throw new Nr({address:p});m.push([p,S])}return m}function Z3(d,m){const g=Q3(d);return g==="eip1559"?k3(d,m):g==="eip2930"?$3(d,m):g==="eip4844"?K3(d,m):g==="eip7702"?J3(d,m):F3(d,m)}function J3(d,m){const{authorizationList:g,chainId:p,gas:S,nonce:x,to:q,value:w,maxFeePerGas:$,maxPriorityFeePerGas:F,accessList:fe,data:Z}=d;G3(d);const V=vg(fe),ve=FA(g);return um(["0x04",wr([_t(p),x?_t(x):"0x",F?_t(F):"0x",$?_t($):"0x",S?_t(S):"0x",q??"0x",w?_t(w):"0x",Z??"0x",V,ve,...sm(d,m)])])}function K3(d,m){const{chainId:g,gas:p,nonce:S,to:x,value:q,maxFeePerBlobGas:w,maxFeePerGas:$,maxPriorityFeePerGas:F,accessList:fe,data:Z}=d;L3(d);let V=d.blobVersionedHashes,ve=d.sidecars;if(d.blobs&&(typeof V>"u"||typeof ve>"u")){const Pe=typeof d.blobs[0]=="string"?d.blobs:d.blobs.map(Ke=>Jo(Ke)),gt=d.kzg,St=y2({blobs:Pe,kzg:gt});if(typeof V>"u"&&(V=v3({commitments:St})),typeof ve>"u"){const Ke=p2({blobs:Pe,commitments:St,kzg:gt});ve=A3({blobs:Pe,commitments:St,proofs:Ke})}}const Me=vg(fe),Qe=[_t(g),S?_t(S):"0x",F?_t(F):"0x",$?_t($):"0x",p?_t(p):"0x",x??"0x",q?_t(q):"0x",Z??"0x",Me,w?_t(w):"0x",V??[],...sm(d,m)],Ge=[],Ze=[],be=[];if(ve)for(let Pe=0;Pe<ve.length;Pe++){const{blob:gt,commitment:St,proof:Ke}=ve[Pe];Ge.push(gt),Ze.push(St),be.push(Ke)}return um(["0x03",wr(ve?[Qe,Ge,Ze,be]:Qe)])}function k3(d,m){const{chainId:g,gas:p,nonce:S,to:x,value:q,maxFeePerGas:w,maxPriorityFeePerGas:$,accessList:F,data:fe}=d;ib(d);const Z=vg(F),V=[_t(g),S?_t(S):"0x",$?_t($):"0x",w?_t(w):"0x",p?_t(p):"0x",x??"0x",q?_t(q):"0x",fe??"0x",Z,...sm(d,m)];return um(["0x02",wr(V)])}function $3(d,m){const{chainId:g,gas:p,data:S,nonce:x,to:q,value:w,accessList:$,gasPrice:F}=d;V3(d);const fe=vg($),Z=[_t(g),x?_t(x):"0x",F?_t(F):"0x",p?_t(p):"0x",q??"0x",w?_t(w):"0x",S??"0x",fe,...sm(d,m)];return um(["0x01",wr(Z)])}function F3(d,m){const{chainId:g=0,gas:p,data:S,nonce:x,to:q,value:w,gasPrice:$}=d;X3(d);let F=[x?_t(x):"0x",$?_t($):"0x",p?_t(p):"0x",q??"0x",w?_t(w):"0x",S??"0x"];if(m){const fe=(()=>{if(m.v>=35n)return(m.v-35n)/2n>0?m.v:27n+(m.v===35n?0n:1n);if(g>0)return BigInt(g*2)+BigInt(35n+m.v-27n);const ve=27n+(m.v===27n?0n:1n);if(m.v!==ve)throw new KA({v:m.v});return ve})(),Z=dg(m.r),V=dg(m.s);F=[...F,_t(fe),Z==="0x00"?"0x":Z,V==="0x00"?"0x":V]}else g>0&&(F=[...F,_t(g),"0x","0x"]);return wr(F)}function sm(d,m){const g=m??d,{v:p,yParity:S}=g;if(typeof g.r>"u")return[];if(typeof g.s>"u")return[];if(typeof p>"u"&&typeof S>"u")return[];const x=dg(g.r),q=dg(g.s);return[typeof S=="number"?S?_t(1):"0x":p===0n?"0x":p===1n?_t(1):p===27n?"0x":_t(1),x==="0x00"?"0x":x,q==="0x00"?"0x":q]}const W3={gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},I3={block:NA({format(d){return{transactions:d.transactions?.map(g=>{if(typeof g=="string")return g;const p=W1(g);return p.typeHex==="0x7e"&&(p.isSystemTx=g.isSystemTx,p.mint=g.mint?xd(g.mint):void 0,p.sourceHash=g.sourceHash,p.type="deposit"),p}),stateRoot:d.stateRoot}}}),transaction:CA({format(d){const m={};return d.type==="0x7e"&&(m.isSystemTx=d.isSystemTx,m.mint=d.mint?xd(d.mint):void 0,m.sourceHash=d.sourceHash,m.type="deposit"),m}}),transactionReceipt:YA({format(d){return{l1GasPrice:d.l1GasPrice?xd(d.l1GasPrice):null,l1GasUsed:d.l1GasUsed?xd(d.l1GasUsed):null,l1Fee:d.l1Fee?xd(d.l1Fee):null,l1FeeScalar:d.l1FeeScalar?Number(d.l1FeeScalar):null}}})};function P3(d,m){return nO(d)?tO(d):Z3(d,m)}const eO={transaction:P3};function tO(d){lO(d);const{sourceHash:m,data:g,from:p,gas:S,isSystemTx:x,mint:q,to:w,value:$}=d,F=[m,p,w??"0x",q?am(q):"0x",$?am($):"0x",S?am(S):"0x",x?"0x1":"0x",g??"0x"];return um(["0x7e",wr(F)])}function nO(d){return d.type==="deposit"||typeof d.sourceHash<"u"}function lO(d){const{from:m,to:g}=d;if(m&&!Hr(m))throw new Nr({address:m});if(g&&!Hr(g))throw new Nr({address:g})}const bg={blockTime:2e3,contracts:W3,formatters:I3,serializers:eO},aO=Cr({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},blockTime:250,rpcUrls:{default:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://arbiscan.io",apiUrl:"https://api.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}}),rm=1,Y2=Cr({...bg,id:8453,name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://basescan.org",apiUrl:"https://api.basescan.org/api"}},contracts:{...bg.contracts,disputeGameFactory:{[rm]:{address:"0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"}},l2OutputOracle:{[rm]:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{[rm]:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:17482143}},l1StandardBridge:{[rm]:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:17482143}}},sourceId:rm});({...Y2});const uO=Cr({id:56,name:"BNB Smart Chain",blockTime:750,nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://56.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"BscScan",url:"https://bscscan.com",apiUrl:"https://api.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:15921452}}}),iO=Cr({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},blockTime:12e3,rpcUrls:{default:{http:["https://eth.merkle.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:23085558},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}}),fm=1,cO=Cr({...bg,id:10,name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.optimism.io"]}},blockExplorers:{default:{name:"Optimism Explorer",url:"https://optimistic.etherscan.io",apiUrl:"https://api-optimistic.etherscan.io/api"}},contracts:{...bg.contracts,disputeGameFactory:{[fm]:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{[fm]:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{[fm]:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{[fm]:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:fm}),oO=Cr({id:137,name:"Polygon",blockTime:2e3,nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{default:{http:["https://polygon-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.etherscan.io/v2/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:25770160}}}),cb={1:{...iO,logo:"https://cryptologos.cc/logos/ethereum-eth-logo.png?v=024",chainId:1,chainType:"ether",chainTypeMoralis:"eth",tokenTrendingDefault:["0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"]},10:{...cO,logo:"https://cryptologos.cc/logos/optimism-ethereum-op-logo.png?v=024",chainId:10,chainType:"optimism",chainTypeMoralis:"optimism",tokenTrendingDefault:["0x4200000000000000000000000000000000000006","0x68f180fcce6836688e9084f035309e29bf0a2095","0xc47da4cb96ce65a96844a01bfae509f9d5454534"]},56:{...uO,logo:"https://cryptologos.cc/logos/bnb-bnb-logo.png?v=024",chainId:56,chainType:"bsc",chainTypeMoralis:"bsc",tokenTrendingDefault:["0x2170ed0880ac9a755fd29b2688956bd959f933f8","0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c"]},137:{...oO,logo:"https://cryptologos.cc/logos/polygon-matic-logo.png?v=024",chainId:137,chainType:"matic",chainTypeMoralis:"polygon",tokenTrendingDefault:["0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6"]},8453:{...Y2,logo:"https://cryptologos.cc/logos/base-base-logo.png?v=024",chainId:8453,chainType:"base",chainTypeMoralis:"base",tokenTrendingDefault:["0x4200000000000000000000000000000000000006","0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf","0xc47da4cb96ce65a96844a01bfae509f9d5454534"]},42161:{...aO,logo:"https://cryptologos.cc/logos/arbitrum-arb-logo.png?v=024",chainId:42161,chainType:"arbitrum",chainTypeMoralis:"arbitrum",tokenTrendingDefault:["0x82af49447d8a07e3bd95bd0d56f35241523fbab1","0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"]}},sO=d=>{const m=new Date,g=new Date(m);g.setDate(g.getDate()-1);const p=new Date(d);return p.setHours(0,0,0,0),m.setHours(0,0,0,0),g.setHours(0,0,0,0),p.getTime()===m.getTime()?"Today":p.getTime()===g.getTime()?"Yesterday":p.toLocaleDateString("en-US",{month:"short",day:"numeric",year:p.getFullYear()!==m.getFullYear()?"numeric":void 0})},Sg=d=>new Promise(m=>setTimeout(m,d||0)),rO=(d,m=5,g=5)=>(d=d||"",d?.length<=m+g?d:`${d.substr(0,m)}...${d.substr(d.length-g,g)}`),fO=d=>{const m=cb[d];return m?m.chainTypeMoralis:"eth"},dO=d=>{const m=cb[d];return m?m.chainType:"ether"},q2=Dt.createContext(void 0),ob=()=>{const d=Dt.useContext(q2);if(!d)throw new Error("useConnect must be used within ConnectProvider");return{...d,chainData:cb[d.account?.chainId],chainId:d.account?.chainId||1,chainType:dO(d.account?.chainId||1),chainTypeMoralis:fO(d.account?.chainId||1)}},hO=({children:d,initialAccount:m})=>Ee.jsx(q2.Provider,{value:{account:m||null},children:d}),sb=bA,Eg=[{id:fg(),text:"Welcome! 🚀",sender:"bot",timestamp:new Date},{id:fg(),text:"You're connected and ready to explore DeFi! I can help you trade, check prices, and analyze your portfolio when you need it.",sender:"bot",timestamp:new Date},{id:fg(),text:"Can I help you with anything?",sender:"bot",timestamp:new Date}];function mO(){const{account:d}=ob(),g=d?.address&&d?.chainId?`${sb}_${d.address}_${d.chainId}`:sb,p=()=>{if(d?.address&&d?.chainId){const $=[];for(let F=0;F<localStorage.length;F++){const fe=localStorage.key(F);fe&&fe.startsWith(sb)&&fe!==g&&$.push(fe)}$.forEach(F=>localStorage.removeItem(F))}},[S,x]=Dt.useState(()=>{const $=localStorage.getItem(g);if($)try{return JSON.parse($).map(fe=>({...fe,timestamp:new Date(fe.timestamp)}))}catch{}return Eg});return Dt.useEffect(()=>{localStorage.setItem(g,JSON.stringify(S))},[S,g]),Dt.useEffect(()=>{const $=localStorage.getItem(g);if($)try{const F=JSON.parse($);x(F.map(fe=>({...fe,timestamp:new Date(fe.timestamp)})))}catch{x(Eg)}else x(Eg);p()},[d?.address,d?.chainId]),{messages:S,setMessages:x,addMessage:($,F,fe,Z)=>{const V=fe?S.find(Me=>Me.id===fe):void 0,ve={id:fg(),text:$,sender:F,timestamp:new Date,...V&&{replyTo:{id:V.id,text:V.text,sender:V.sender}},...Z&&{buttons:Z}};return x(Me=>[...Me,ve]),ve},clearMessages:()=>{x(Eg),localStorage.removeItem(g)}}}var yO=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,rb=Math.ceil,gu=Math.floor,Ta="[BigNumber Error] ",G2=Ta+"Number primitive has more than 15 significant digits: ",fi=1e14,at=14,fb=9007199254740991,db=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],$o=1e7,rl=1e9;function L2(d){var m,g,p,S=be.prototype={constructor:be,toString:null,valueOf:null},x=new be(1),q=20,w=4,$=-7,F=21,fe=-1e7,Z=1e7,V=!1,ve=1,Me=0,Qe={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},Ge="0123456789abcdefghijklmnopqrstuvwxyz",Ze=!0;function be(D,R){var _,W,N,X,ee,L,A,M,C=this;if(!(C instanceof be))return new be(D,R);if(R==null){if(D&&D._isBigNumber===!0){C.s=D.s,!D.c||D.e>Z?C.c=C.e=null:D.e<fe?C.c=[C.e=0]:(C.e=D.e,C.c=D.c.slice());return}if((L=typeof D=="number")&&D*0==0){if(C.s=1/D<0?(D=-D,-1):1,D===~~D){for(X=0,ee=D;ee>=10;ee/=10,X++);X>Z?C.c=C.e=null:(C.e=X,C.c=[D]);return}M=String(D)}else{if(!yO.test(M=String(D)))return p(C,M,L);C.s=M.charCodeAt(0)==45?(M=M.slice(1),-1):1}(X=M.indexOf("."))>-1&&(M=M.replace(".","")),(ee=M.search(/e/i))>0?(X<0&&(X=ee),X+=+M.slice(ee+1),M=M.substring(0,ee)):X<0&&(X=M.length)}else{if(Sn(R,2,Ge.length,"Base"),R==10&&Ze)return C=new be(D),Ke(C,q+C.e+1,w);if(M=String(D),L=typeof D=="number"){if(D*0!=0)return p(C,M,L,R);if(C.s=1/D<0?(M=M.slice(1),-1):1,be.DEBUG&&M.replace(/^0\.0*|\./,"").length>15)throw Error(G2+D)}else C.s=M.charCodeAt(0)===45?(M=M.slice(1),-1):1;for(_=Ge.slice(0,R),X=ee=0,A=M.length;ee<A;ee++)if(_.indexOf(W=M.charAt(ee))<0){if(W=="."){if(ee>X){X=A;continue}}else if(!N&&(M==M.toUpperCase()&&(M=M.toLowerCase())||M==M.toLowerCase()&&(M=M.toUpperCase()))){N=!0,ee=-1,X=0;continue}return p(C,String(D),L,R)}L=!1,M=g(M,R,10,C.s),(X=M.indexOf("."))>-1?M=M.replace(".",""):X=M.length}for(ee=0;M.charCodeAt(ee)===48;ee++);for(A=M.length;M.charCodeAt(--A)===48;);if(M=M.slice(ee,++A)){if(A-=ee,L&&be.DEBUG&&A>15&&(D>fb||D!==gu(D)))throw Error(G2+C.s*D);if((X=X-ee-1)>Z)C.c=C.e=null;else if(X<fe)C.c=[C.e=0];else{if(C.e=X,C.c=[],ee=(X+1)%at,X<0&&(ee+=at),ee<A){for(ee&&C.c.push(+M.slice(0,ee)),A-=at;ee<A;)C.c.push(+M.slice(ee,ee+=at));ee=at-(M=M.slice(ee)).length}else ee-=A;for(;ee--;M+="0");C.c.push(+M)}}else C.c=[C.e=0]}be.clone=L2,be.ROUND_UP=0,be.ROUND_DOWN=1,be.ROUND_CEIL=2,be.ROUND_FLOOR=3,be.ROUND_HALF_UP=4,be.ROUND_HALF_DOWN=5,be.ROUND_HALF_EVEN=6,be.ROUND_HALF_CEIL=7,be.ROUND_HALF_FLOOR=8,be.EUCLID=9,be.config=be.set=function(D){var R,_;if(D!=null)if(typeof D=="object"){if(D.hasOwnProperty(R="DECIMAL_PLACES")&&(_=D[R],Sn(_,0,rl,R),q=_),D.hasOwnProperty(R="ROUNDING_MODE")&&(_=D[R],Sn(_,0,8,R),w=_),D.hasOwnProperty(R="EXPONENTIAL_AT")&&(_=D[R],_&&_.pop?(Sn(_[0],-rl,0,R),Sn(_[1],0,rl,R),$=_[0],F=_[1]):(Sn(_,-rl,rl,R),$=-(F=_<0?-_:_))),D.hasOwnProperty(R="RANGE"))if(_=D[R],_&&_.pop)Sn(_[0],-rl,-1,R),Sn(_[1],1,rl,R),fe=_[0],Z=_[1];else if(Sn(_,-rl,rl,R),_)fe=-(Z=_<0?-_:_);else throw Error(Ta+R+" cannot be zero: "+_);if(D.hasOwnProperty(R="CRYPTO"))if(_=D[R],_===!!_)if(_)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))V=_;else throw V=!_,Error(Ta+"crypto unavailable");else V=_;else throw Error(Ta+R+" not true or false: "+_);if(D.hasOwnProperty(R="MODULO_MODE")&&(_=D[R],Sn(_,0,9,R),ve=_),D.hasOwnProperty(R="POW_PRECISION")&&(_=D[R],Sn(_,0,rl,R),Me=_),D.hasOwnProperty(R="FORMAT"))if(_=D[R],typeof _=="object")Qe=_;else throw Error(Ta+R+" not an object: "+_);if(D.hasOwnProperty(R="ALPHABET"))if(_=D[R],typeof _=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(_))Ze=_.slice(0,10)=="0123456789",Ge=_;else throw Error(Ta+R+" invalid: "+_)}else throw Error(Ta+"Object expected: "+D);return{DECIMAL_PLACES:q,ROUNDING_MODE:w,EXPONENTIAL_AT:[$,F],RANGE:[fe,Z],CRYPTO:V,MODULO_MODE:ve,POW_PRECISION:Me,FORMAT:Qe,ALPHABET:Ge}},be.isBigNumber=function(D){if(!D||D._isBigNumber!==!0)return!1;if(!be.DEBUG)return!0;var R,_,W=D.c,N=D.e,X=D.s;e:if({}.toString.call(W)=="[object Array]"){if((X===1||X===-1)&&N>=-rl&&N<=rl&&N===gu(N)){if(W[0]===0){if(N===0&&W.length===1)return!0;break e}if(R=(N+1)%at,R<1&&(R+=at),String(W[0]).length==R){for(R=0;R<W.length;R++)if(_=W[R],_<0||_>=fi||_!==gu(_))break e;if(_!==0)return!0}}}else if(W===null&&N===null&&(X===null||X===1||X===-1))return!0;throw Error(Ta+"Invalid BigNumber: "+D)},be.maximum=be.max=function(){return gt(arguments,-1)},be.minimum=be.min=function(){return gt(arguments,1)},be.random=(function(){var D=9007199254740992,R=Math.random()*D&2097151?function(){return gu(Math.random()*D)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(_){var W,N,X,ee,L,A=0,M=[],C=new be(x);if(_==null?_=q:Sn(_,0,rl),ee=rb(_/at),V)if(crypto.getRandomValues){for(W=crypto.getRandomValues(new Uint32Array(ee*=2));A<ee;)L=W[A]*131072+(W[A+1]>>>11),L>=9e15?(N=crypto.getRandomValues(new Uint32Array(2)),W[A]=N[0],W[A+1]=N[1]):(M.push(L%1e14),A+=2);A=ee/2}else if(crypto.randomBytes){for(W=crypto.randomBytes(ee*=7);A<ee;)L=(W[A]&31)*281474976710656+W[A+1]*1099511627776+W[A+2]*4294967296+W[A+3]*16777216+(W[A+4]<<16)+(W[A+5]<<8)+W[A+6],L>=9e15?crypto.randomBytes(7).copy(W,A):(M.push(L%1e14),A+=7);A=ee/7}else throw V=!1,Error(Ta+"crypto unavailable");if(!V)for(;A<ee;)L=R(),L<9e15&&(M[A++]=L%1e14);for(ee=M[--A],_%=at,ee&&_&&(L=db[at-_],M[A]=gu(ee/L)*L);M[A]===0;M.pop(),A--);if(A<0)M=[X=0];else{for(X=-1;M[0]===0;M.splice(0,1),X-=at);for(A=1,L=M[0];L>=10;L/=10,A++);A<at&&(X-=at-A)}return C.e=X,C.c=M,C}})(),be.sum=function(){for(var D=1,R=arguments,_=new be(R[0]);D<R.length;)_=_.plus(R[D++]);return _},g=(function(){var D="0123456789";function R(_,W,N,X){for(var ee,L=[0],A,M=0,C=_.length;M<C;){for(A=L.length;A--;L[A]*=W);for(L[0]+=X.indexOf(_.charAt(M++)),ee=0;ee<L.length;ee++)L[ee]>N-1&&(L[ee+1]==null&&(L[ee+1]=0),L[ee+1]+=L[ee]/N|0,L[ee]%=N)}return L.reverse()}return function(_,W,N,X,ee){var L,A,M,C,B,re,E,G,ie=_.indexOf("."),ae=q,ye=w;for(ie>=0&&(C=Me,Me=0,_=_.replace(".",""),G=new be(W),re=G.pow(_.length-ie),Me=C,G.c=R(Uc(bu(re.c),re.e,"0"),10,N,D),G.e=G.c.length),E=R(_,W,N,ee?(L=Ge,D):(L=D,Ge)),M=C=E.length;E[--C]==0;E.pop());if(!E[0])return L.charAt(0);if(ie<0?--M:(re.c=E,re.e=M,re.s=X,re=m(re,G,ae,ye,N),E=re.c,B=re.r,M=re.e),A=M+ae+1,ie=E[A],C=N/2,B=B||A<0||E[A+1]!=null,B=ye<4?(ie!=null||B)&&(ye==0||ye==(re.s<0?3:2)):ie>C||ie==C&&(ye==4||B||ye==6&&E[A-1]&1||ye==(re.s<0?8:7)),A<1||!E[0])_=B?Uc(L.charAt(1),-ae,L.charAt(0)):L.charAt(0);else{if(E.length=A,B)for(--N;++E[--A]>N;)E[A]=0,A||(++M,E=[1].concat(E));for(C=E.length;!E[--C];);for(ie=0,_="";ie<=C;_+=L.charAt(E[ie++]));_=Uc(_,M,L.charAt(0))}return _}})(),m=(function(){function D(W,N,X){var ee,L,A,M,C=0,B=W.length,re=N%$o,E=N/$o|0;for(W=W.slice();B--;)A=W[B]%$o,M=W[B]/$o|0,ee=E*A+M*re,L=re*A+ee%$o*$o+C,C=(L/X|0)+(ee/$o|0)+E*M,W[B]=L%X;return C&&(W=[C].concat(W)),W}function R(W,N,X,ee){var L,A;if(X!=ee)A=X>ee?1:-1;else for(L=A=0;L<X;L++)if(W[L]!=N[L]){A=W[L]>N[L]?1:-1;break}return A}function _(W,N,X,ee){for(var L=0;X--;)W[X]-=L,L=W[X]<N[X]?1:0,W[X]=L*ee+W[X]-N[X];for(;!W[0]&&W.length>1;W.splice(0,1));}return function(W,N,X,ee,L){var A,M,C,B,re,E,G,ie,ae,ye,ze,_e,Ot,yt,wn,Ae,Ll,En=W.s==N.s?1:-1,Vt=W.c,Rt=N.c;if(!Vt||!Vt[0]||!Rt||!Rt[0])return new be(!W.s||!N.s||(Vt?Rt&&Vt[0]==Rt[0]:!Rt)?NaN:Vt&&Vt[0]==0||!Rt?En*0:En/0);for(ie=new be(En),ae=ie.c=[],M=W.e-N.e,En=X+M+1,L||(L=fi,M=vu(W.e/at)-vu(N.e/at),En=En/at|0),C=0;Rt[C]==(Vt[C]||0);C++);if(Rt[C]>(Vt[C]||0)&&M--,En<0)ae.push(1),B=!0;else{for(yt=Vt.length,Ae=Rt.length,C=0,En+=2,re=gu(L/(Rt[0]+1)),re>1&&(Rt=D(Rt,re,L),Vt=D(Vt,re,L),Ae=Rt.length,yt=Vt.length),Ot=Ae,ye=Vt.slice(0,Ae),ze=ye.length;ze<Ae;ye[ze++]=0);Ll=Rt.slice(),Ll=[0].concat(Ll),wn=Rt[0],Rt[1]>=L/2&&wn++;do{if(re=0,A=R(Rt,ye,Ae,ze),A<0){if(_e=ye[0],Ae!=ze&&(_e=_e*L+(ye[1]||0)),re=gu(_e/wn),re>1)for(re>=L&&(re=L-1),E=D(Rt,re,L),G=E.length,ze=ye.length;R(E,ye,G,ze)==1;)re--,_(E,Ae<G?Ll:Rt,G,L),G=E.length,A=1;else re==0&&(A=re=1),E=Rt.slice(),G=E.length;if(G<ze&&(E=[0].concat(E)),_(ye,E,ze,L),ze=ye.length,A==-1)for(;R(Rt,ye,Ae,ze)<1;)re++,_(ye,Ae<ze?Ll:Rt,ze,L),ze=ye.length}else A===0&&(re++,ye=[0]);ae[C++]=re,ye[0]?ye[ze++]=Vt[Ot]||0:(ye=[Vt[Ot]],ze=1)}while((Ot++<yt||ye[0]!=null)&&En--);B=ye[0]!=null,ae[0]||ae.splice(0,1)}if(L==fi){for(C=1,En=ae[0];En>=10;En/=10,C++);Ke(ie,X+(ie.e=C+M*at-1)+1,ee,B)}else ie.e=M,ie.r=+B;return ie}})();function Pe(D,R,_,W){var N,X,ee,L,A;if(_==null?_=w:Sn(_,0,8),!D.c)return D.toString();if(N=D.c[0],ee=D.e,R==null)A=bu(D.c),A=W==1||W==2&&(ee<=$||ee>=F)?Ag(A,ee):Uc(A,ee,"0");else if(D=Ke(new be(D),R,_),X=D.e,A=bu(D.c),L=A.length,W==1||W==2&&(R<=X||X<=$)){for(;L<R;A+="0",L++);A=Ag(A,X)}else if(R-=ee+(W===2&&X>ee),A=Uc(A,X,"0"),X+1>L){if(--R>0)for(A+=".";R--;A+="0");}else if(R+=X-L,R>0)for(X+1==L&&(A+=".");R--;A+="0");return D.s<0&&N?"-"+A:A}function gt(D,R){for(var _,W,N=1,X=new be(D[0]);N<D.length;N++)W=new be(D[N]),(!W.s||(_=Br(X,W))===R||_===0&&X.s===R)&&(X=W);return X}function St(D,R,_){for(var W=1,N=R.length;!R[--N];R.pop());for(N=R[0];N>=10;N/=10,W++);return(_=W+_*at-1)>Z?D.c=D.e=null:_<fe?D.c=[D.e=0]:(D.e=_,D.c=R),D}p=(function(){var D=/^(-?)0([xbo])(?=\w[\w.]*$)/i,R=/^([^.]+)\.$/,_=/^\.([^.]+)$/,W=/^-?(Infinity|NaN)$/,N=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(X,ee,L,A){var M,C=L?ee:ee.replace(N,"");if(W.test(C))X.s=isNaN(C)?null:C<0?-1:1;else{if(!L&&(C=C.replace(D,function(B,re,E){return M=(E=E.toLowerCase())=="x"?16:E=="b"?2:8,!A||A==M?re:B}),A&&(M=A,C=C.replace(R,"$1").replace(_,"0.$1")),ee!=C))return new be(C,M);if(be.DEBUG)throw Error(Ta+"Not a"+(A?" base "+A:"")+" number: "+ee);X.s=null}X.c=X.e=null}})();function Ke(D,R,_,W){var N,X,ee,L,A,M,C,B=D.c,re=db;if(B){e:{for(N=1,L=B[0];L>=10;L/=10,N++);if(X=R-N,X<0)X+=at,ee=R,A=B[M=0],C=gu(A/re[N-ee-1]%10);else if(M=rb((X+1)/at),M>=B.length)if(W){for(;B.length<=M;B.push(0));A=C=0,N=1,X%=at,ee=X-at+1}else break e;else{for(A=L=B[M],N=1;L>=10;L/=10,N++);X%=at,ee=X-at+N,C=ee<0?0:gu(A/re[N-ee-1]%10)}if(W=W||R<0||B[M+1]!=null||(ee<0?A:A%re[N-ee-1]),W=_<4?(C||W)&&(_==0||_==(D.s<0?3:2)):C>5||C==5&&(_==4||W||_==6&&(X>0?ee>0?A/re[N-ee]:0:B[M-1])%10&1||_==(D.s<0?8:7)),R<1||!B[0])return B.length=0,W?(R-=D.e+1,B[0]=re[(at-R%at)%at],D.e=-R||0):B[0]=D.e=0,D;if(X==0?(B.length=M,L=1,M--):(B.length=M+1,L=re[at-X],B[M]=ee>0?gu(A/re[N-ee]%re[ee])*L:0),W)for(;;)if(M==0){for(X=1,ee=B[0];ee>=10;ee/=10,X++);for(ee=B[0]+=L,L=1;ee>=10;ee/=10,L++);X!=L&&(D.e++,B[0]==fi&&(B[0]=1));break}else{if(B[M]+=L,B[M]!=fi)break;B[M--]=0,L=1}for(X=B.length;B[--X]===0;B.pop());}D.e>Z?D.c=D.e=null:D.e<fe&&(D.c=[D.e=0])}return D}function we(D){var R,_=D.e;return _===null?D.toString():(R=bu(D.c),R=_<=$||_>=F?Ag(R,_):Uc(R,_,"0"),D.s<0?"-"+R:R)}return S.absoluteValue=S.abs=function(){var D=new be(this);return D.s<0&&(D.s=1),D},S.comparedTo=function(D,R){return Br(this,new be(D,R))},S.decimalPlaces=S.dp=function(D,R){var _,W,N,X=this;if(D!=null)return Sn(D,0,rl),R==null?R=w:Sn(R,0,8),Ke(new be(X),D+X.e+1,R);if(!(_=X.c))return null;if(W=((N=_.length-1)-vu(this.e/at))*at,N=_[N])for(;N%10==0;N/=10,W--);return W<0&&(W=0),W},S.dividedBy=S.div=function(D,R){return m(this,new be(D,R),q,w)},S.dividedToIntegerBy=S.idiv=function(D,R){return m(this,new be(D,R),0,1)},S.exponentiatedBy=S.pow=function(D,R){var _,W,N,X,ee,L,A,M,C,B=this;if(D=new be(D),D.c&&!D.isInteger())throw Error(Ta+"Exponent not an integer: "+we(D));if(R!=null&&(R=new be(R)),L=D.e>14,!B.c||!B.c[0]||B.c[0]==1&&!B.e&&B.c.length==1||!D.c||!D.c[0])return C=new be(Math.pow(+we(B),L?D.s*(2-Tg(D)):+we(D))),R?C.mod(R):C;if(A=D.s<0,R){if(R.c?!R.c[0]:!R.s)return new be(NaN);W=!A&&B.isInteger()&&R.isInteger(),W&&(B=B.mod(R))}else{if(D.e>9&&(B.e>0||B.e<-1||(B.e==0?B.c[0]>1||L&&B.c[1]>=24e7:B.c[0]<8e13||L&&B.c[0]<=9999975e7)))return X=B.s<0&&Tg(D)?-0:0,B.e>-1&&(X=1/X),new be(A?1/X:X);Me&&(X=rb(Me/at+2))}for(L?(_=new be(.5),A&&(D.s=1),M=Tg(D)):(N=Math.abs(+we(D)),M=N%2),C=new be(x);;){if(M){if(C=C.times(B),!C.c)break;X?C.c.length>X&&(C.c.length=X):W&&(C=C.mod(R))}if(N){if(N=gu(N/2),N===0)break;M=N%2}else if(D=D.times(_),Ke(D,D.e+1,1),D.e>14)M=Tg(D);else{if(N=+we(D),N===0)break;M=N%2}B=B.times(B),X?B.c&&B.c.length>X&&(B.c.length=X):W&&(B=B.mod(R))}return W?C:(A&&(C=x.div(C)),R?C.mod(R):X?Ke(C,Me,w,ee):C)},S.integerValue=function(D){var R=new be(this);return D==null?D=w:Sn(D,0,8),Ke(R,R.e+1,D)},S.isEqualTo=S.eq=function(D,R){return Br(this,new be(D,R))===0},S.isFinite=function(){return!!this.c},S.isGreaterThan=S.gt=function(D,R){return Br(this,new be(D,R))>0},S.isGreaterThanOrEqualTo=S.gte=function(D,R){return(R=Br(this,new be(D,R)))===1||R===0},S.isInteger=function(){return!!this.c&&vu(this.e/at)>this.c.length-2},S.isLessThan=S.lt=function(D,R){return Br(this,new be(D,R))<0},S.isLessThanOrEqualTo=S.lte=function(D,R){return(R=Br(this,new be(D,R)))===-1||R===0},S.isNaN=function(){return!this.s},S.isNegative=function(){return this.s<0},S.isPositive=function(){return this.s>0},S.isZero=function(){return!!this.c&&this.c[0]==0},S.minus=function(D,R){var _,W,N,X,ee=this,L=ee.s;if(D=new be(D,R),R=D.s,!L||!R)return new be(NaN);if(L!=R)return D.s=-R,ee.plus(D);var A=ee.e/at,M=D.e/at,C=ee.c,B=D.c;if(!A||!M){if(!C||!B)return C?(D.s=-R,D):new be(B?ee:NaN);if(!C[0]||!B[0])return B[0]?(D.s=-R,D):new be(C[0]?ee:w==3?-0:0)}if(A=vu(A),M=vu(M),C=C.slice(),L=A-M){for((X=L<0)?(L=-L,N=C):(M=A,N=B),N.reverse(),R=L;R--;N.push(0));N.reverse()}else for(W=(X=(L=C.length)<(R=B.length))?L:R,L=R=0;R<W;R++)if(C[R]!=B[R]){X=C[R]<B[R];break}if(X&&(N=C,C=B,B=N,D.s=-D.s),R=(W=B.length)-(_=C.length),R>0)for(;R--;C[_++]=0);for(R=fi-1;W>L;){if(C[--W]<B[W]){for(_=W;_&&!C[--_];C[_]=R);--C[_],C[W]+=fi}C[W]-=B[W]}for(;C[0]==0;C.splice(0,1),--M);return C[0]?St(D,C,M):(D.s=w==3?-1:1,D.c=[D.e=0],D)},S.modulo=S.mod=function(D,R){var _,W,N=this;return D=new be(D,R),!N.c||!D.s||D.c&&!D.c[0]?new be(NaN):!D.c||N.c&&!N.c[0]?new be(N):(ve==9?(W=D.s,D.s=1,_=m(N,D,0,3),D.s=W,_.s*=W):_=m(N,D,0,ve),D=N.minus(_.times(D)),!D.c[0]&&ve==1&&(D.s=N.s),D)},S.multipliedBy=S.times=function(D,R){var _,W,N,X,ee,L,A,M,C,B,re,E,G,ie,ae,ye=this,ze=ye.c,_e=(D=new be(D,R)).c;if(!ze||!_e||!ze[0]||!_e[0])return!ye.s||!D.s||ze&&!ze[0]&&!_e||_e&&!_e[0]&&!ze?D.c=D.e=D.s=null:(D.s*=ye.s,!ze||!_e?D.c=D.e=null:(D.c=[0],D.e=0)),D;for(W=vu(ye.e/at)+vu(D.e/at),D.s*=ye.s,A=ze.length,B=_e.length,A<B&&(G=ze,ze=_e,_e=G,N=A,A=B,B=N),N=A+B,G=[];N--;G.push(0));for(ie=fi,ae=$o,N=B;--N>=0;){for(_=0,re=_e[N]%ae,E=_e[N]/ae|0,ee=A,X=N+ee;X>N;)M=ze[--ee]%ae,C=ze[ee]/ae|0,L=E*M+C*re,M=re*M+L%ae*ae+G[X]+_,_=(M/ie|0)+(L/ae|0)+E*C,G[X--]=M%ie;G[X]=_}return _?++W:G.splice(0,1),St(D,G,W)},S.negated=function(){var D=new be(this);return D.s=-D.s||null,D},S.plus=function(D,R){var _,W=this,N=W.s;if(D=new be(D,R),R=D.s,!N||!R)return new be(NaN);if(N!=R)return D.s=-R,W.minus(D);var X=W.e/at,ee=D.e/at,L=W.c,A=D.c;if(!X||!ee){if(!L||!A)return new be(N/0);if(!L[0]||!A[0])return A[0]?D:new be(L[0]?W:N*0)}if(X=vu(X),ee=vu(ee),L=L.slice(),N=X-ee){for(N>0?(ee=X,_=A):(N=-N,_=L),_.reverse();N--;_.push(0));_.reverse()}for(N=L.length,R=A.length,N-R<0&&(_=A,A=L,L=_,R=N),N=0;R;)N=(L[--R]=L[R]+A[R]+N)/fi|0,L[R]=fi===L[R]?0:L[R]%fi;return N&&(L=[N].concat(L),++ee),St(D,L,ee)},S.precision=S.sd=function(D,R){var _,W,N,X=this;if(D!=null&&D!==!!D)return Sn(D,1,rl),R==null?R=w:Sn(R,0,8),Ke(new be(X),D,R);if(!(_=X.c))return null;if(N=_.length-1,W=N*at+1,N=_[N]){for(;N%10==0;N/=10,W--);for(N=_[0];N>=10;N/=10,W++);}return D&&X.e+1>W&&(W=X.e+1),W},S.shiftedBy=function(D){return Sn(D,-fb,fb),this.times("1e"+D)},S.squareRoot=S.sqrt=function(){var D,R,_,W,N,X=this,ee=X.c,L=X.s,A=X.e,M=q+4,C=new be("0.5");if(L!==1||!ee||!ee[0])return new be(!L||L<0&&(!ee||ee[0])?NaN:ee?X:1/0);if(L=Math.sqrt(+we(X)),L==0||L==1/0?(R=bu(ee),(R.length+A)%2==0&&(R+="0"),L=Math.sqrt(+R),A=vu((A+1)/2)-(A<0||A%2),L==1/0?R="5e"+A:(R=L.toExponential(),R=R.slice(0,R.indexOf("e")+1)+A),_=new be(R)):_=new be(L+""),_.c[0]){for(A=_.e,L=A+M,L<3&&(L=0);;)if(N=_,_=C.times(N.plus(m(X,N,M,1))),bu(N.c).slice(0,L)===(R=bu(_.c)).slice(0,L))if(_.e<A&&--L,R=R.slice(L-3,L+1),R=="9999"||!W&&R=="4999"){if(!W&&(Ke(N,N.e+q+2,0),N.times(N).eq(X))){_=N;break}M+=4,L+=4,W=1}else{(!+R||!+R.slice(1)&&R.charAt(0)=="5")&&(Ke(_,_.e+q+2,1),D=!_.times(_).eq(X));break}}return Ke(_,_.e+q+1,w,D)},S.toExponential=function(D,R){return D!=null&&(Sn(D,0,rl),D++),Pe(this,D,R,1)},S.toFixed=function(D,R){return D!=null&&(Sn(D,0,rl),D=D+this.e+1),Pe(this,D,R)},S.toFormat=function(D,R,_){var W,N=this;if(_==null)D!=null&&R&&typeof R=="object"?(_=R,R=null):D&&typeof D=="object"?(_=D,D=R=null):_=Qe;else if(typeof _!="object")throw Error(Ta+"Argument not an object: "+_);if(W=N.toFixed(D,R),N.c){var X,ee=W.split("."),L=+_.groupSize,A=+_.secondaryGroupSize,M=_.groupSeparator||"",C=ee[0],B=ee[1],re=N.s<0,E=re?C.slice(1):C,G=E.length;if(A&&(X=L,L=A,A=X,G-=X),L>0&&G>0){for(X=G%L||L,C=E.substr(0,X);X<G;X+=L)C+=M+E.substr(X,L);A>0&&(C+=M+E.slice(X)),re&&(C="-"+C)}W=B?C+(_.decimalSeparator||"")+((A=+_.fractionGroupSize)?B.replace(new RegExp("\\d{"+A+"}\\B","g"),"$&"+(_.fractionGroupSeparator||"")):B):C}return(_.prefix||"")+W+(_.suffix||"")},S.toFraction=function(D){var R,_,W,N,X,ee,L,A,M,C,B,re,E=this,G=E.c;if(D!=null&&(L=new be(D),!L.isInteger()&&(L.c||L.s!==1)||L.lt(x)))throw Error(Ta+"Argument "+(L.isInteger()?"out of range: ":"not an integer: ")+we(L));if(!G)return new be(E);for(R=new be(x),M=_=new be(x),W=A=new be(x),re=bu(G),X=R.e=re.length-E.e-1,R.c[0]=db[(ee=X%at)<0?at+ee:ee],D=!D||L.comparedTo(R)>0?X>0?R:M:L,ee=Z,Z=1/0,L=new be(re),A.c[0]=0;C=m(L,R,0,1),N=_.plus(C.times(W)),N.comparedTo(D)!=1;)_=W,W=N,M=A.plus(C.times(N=M)),A=N,R=L.minus(C.times(N=R)),L=N;return N=m(D.minus(_),W,0,1),A=A.plus(N.times(M)),_=_.plus(N.times(W)),A.s=M.s=E.s,X=X*2,B=m(M,W,X,w).minus(E).abs().comparedTo(m(A,_,X,w).minus(E).abs())<1?[M,W]:[A,_],Z=ee,B},S.toNumber=function(){return+we(this)},S.toPrecision=function(D,R){return D!=null&&Sn(D,1,rl),Pe(this,D,R,2)},S.toString=function(D){var R,_=this,W=_.s,N=_.e;return N===null?W?(R="Infinity",W<0&&(R="-"+R)):R="NaN":(D==null?R=N<=$||N>=F?Ag(bu(_.c),N):Uc(bu(_.c),N,"0"):D===10&&Ze?(_=Ke(new be(_),q+N+1,w),R=Uc(bu(_.c),_.e,"0")):(Sn(D,2,Ge.length,"Base"),R=g(Uc(bu(_.c),N,"0"),10,D,W,!0)),W<0&&_.c[0]&&(R="-"+R)),R},S.valueOf=S.toJSON=function(){return we(this)},S._isBigNumber=!0,S[Symbol.toStringTag]="BigNumber",S[Symbol.for("nodejs.util.inspect.custom")]=S.valueOf,d!=null&&be.set(d),be}function vu(d){var m=d|0;return d>0||d===m?m:m-1}function bu(d){for(var m,g,p=1,S=d.length,x=d[0]+"";p<S;){for(m=d[p++]+"",g=at-m.length;g--;m="0"+m);x+=m}for(S=x.length;x.charCodeAt(--S)===48;);return x.slice(0,S+1||1)}function Br(d,m){var g,p,S=d.c,x=m.c,q=d.s,w=m.s,$=d.e,F=m.e;if(!q||!w)return null;if(g=S&&!S[0],p=x&&!x[0],g||p)return g?p?0:-w:q;if(q!=w)return q;if(g=q<0,p=$==F,!S||!x)return p?0:!S^g?1:-1;if(!p)return $>F^g?1:-1;for(w=($=S.length)<(F=x.length)?$:F,q=0;q<w;q++)if(S[q]!=x[q])return S[q]>x[q]^g?1:-1;return $==F?0:$>F^g?1:-1}function Sn(d,m,g,p){if(d<m||d>g||d!==gu(d))throw Error(Ta+(p||"Argument")+(typeof d=="number"?d<m||d>g?" out of range: ":" not an integer: ":" not a primitive number: ")+String(d))}function Tg(d){var m=d.c.length-1;return vu(d.e/at)==m&&d.c[m]%2!=0}function Ag(d,m){return(d.length>1?d.charAt(0)+"."+d.slice(1):d)+(m<0?"e":"e+")+m}function Uc(d,m,g){var p,S;if(m<0){for(S=g+".";++m;S+=g);d=S+d}else if(p=d.length,++m>p){for(S=g,m-=p;--m;S+=g);d+=S}else m<p&&(d=d.slice(0,m)+"."+d.slice(m));return d}var hb=L2();class Og{baseUrl;constructor(m){this.baseUrl=m}buildUrl(m,g){const p=new URL(m,this.baseUrl);return g&&Object.entries(g).forEach(([S,x])=>{x!=null&&p.searchParams.append(S,String(x))}),p.toString()}async get(m,g={}){const p=this.buildUrl(m,g.query),S=await fetch(p,{method:"GET",headers:g.headers||{}});if(!S.ok)throw new Error(`HTTP ${S.status}: ${S.statusText}`);return{data:await S.json(),status:S.status}}async post(m,g,p={}){const S=this.buildUrl(m,p.query),x=await fetch(S,{method:"POST",headers:{"Content-Type":"application/json",...p.headers},body:JSON.stringify(g)});if(!x.ok)throw new Error(`HTTP ${x.status}: ${x.statusText}`);return{data:await x.json(),status:x.status}}}class pO extends nn{constructor({value:m}){super(`Number \`${m}\` is not a valid decimal number.`,{name:"InvalidDecimalNumberError"})}}function gO(d,m){if(!/^(-?)([0-9]*)\.?([0-9]*)$/.test(d))throw new pO({value:d});let[g,p="0"]=d.split(".");const S=g.startsWith("-");if(S&&(g=g.slice(1)),p=p.replace(/(0+)$/,""),m===0)Math.round(+`.${p}`)===1&&(g=`${BigInt(g)+1n}`),p="";else if(p.length>m){const[x,q,w]=[p.slice(0,m-1),p.slice(m-1,m),p.slice(m)],$=Math.round(+`${q}.${w}`);$>9?p=`${BigInt(x)+BigInt(1)}0`.padStart(x.length+1,"0"):p=`${x}${$}`,p.length>m&&(p=p.slice(1),g=`${BigInt(g)+1n}`),p=p.slice(0,m)}else p=p.padEnd(m,"0");return BigInt(`${S?"-":""}${g}${p}`)}const vO="0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",bO="0x0000000000000000000000000000000000000000",SO=.01,EO="https://deep-index.moralis.io";function V2(){return"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJub25jZSI6ImY4NmY0Yzc2LTA3MDQtNGEwZS04YTA0LWUwODllOGQxMGZjZCIsIm9yZ0lkIjoiMzk0MDAyIiwidXNlcklkIjoiNDA0ODUzIiwidHlwZUlkIjoiYjQyODExOTQtOGQ0Yi00NjkxLTlhZjItNjU4ODE2NzExYmRjIiwidHlwZSI6IlBST0pFQ1QiLCJpYXQiOjE3MTY4NjQyNTYsImV4cCI6NDg3MjYyNDI1Nn0.V8crfBIBardAnZkc05FD0hQIJBeZxMqvzRnYExVtnF8"}function TO(d){return{"X-API-Key":d,Accept:"application/json"}}const AO=new Og(EO);async function OO(d){const{address:m,chain:g="base",token_addresses:p,exclude_spam:S,exclude_unverified_contracts:x}=d;if(!m)throw new Error("Address is required");try{const q=V2(),w={chain:g,exclude_spam:S??!1,exclude_unverified_contracts:x??!1};p&&(w.token_addresses=p);const F=(await AO.get(`/api/v2.2/wallets/${encodeURIComponent(m)}/tokens`,{query:w,headers:TO(q)})).data;return F?.result?.length>0&&(F.result=F.result.filter(fe=>{const Z=new hb(fe?.balance||0),V=new hb(fe?.usd_value||0);return Z.gt(0)&&V.gte(SO)}),F.result=F.result.map(fe=>({...fe,token_address:fe.token_address===vO?bO:fe.token_address}))),{success:!0,data:F}}catch(q){const w=q instanceof Error?q.message:"Unknown error";return console.error("❌ Error fetching token balances:",w),{success:!1,error:w}}}async function zO(d){const{prompt:m,model:g="gpt-4.1-mini",stream:p=!1}=d;if(!m)throw new Error("Prompt is required");try{const S=V2();return{success:!0,data:(await new Og("https://cortex-api.moralis.io").post("/chat",{prompt:m,model:g,stream:p},{headers:{"X-API-Key":S,Accept:"application/json","Content-Type":"application/json"}})).data}}catch(S){const x=S instanceof Error?S.message:"Unknown error";return console.error("❌ Error chatting with Cortex AI:",x),{success:!1,error:x}}}const DO="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAx8SURBVHgB7VprbFzFFT5n9kmoil0JiUqVsuYX/7BRSeL+aOyKivKjxYYEmpbWNlQpUYvsQAtBVPHdoBYFodgWIiAK8ppWysOVbFrRh0qxUyE5BlQ7/VEqVYo3P6qq6iMbpYTEu3dOz7zuY72Jr51NIrU59u597NyZ+ea8zx2A63Sd/qcI4QoQTfW0QC3fDrLWpS4BUxUAeQwfmFyEa0xNB0xHtw9yrx7DbAlH4WGI1FkZBHq47egEXCNqGmCa3NbF3Q0z0K7IXbLD1I+zBCh24/Yjb8JVpssGTIe+WoCUP8TYbufemKvYzkdSghwcTUsKgQfnJfCrRdwxXYarRM0X6XHW3w3Ze1ln+xlTV4MWFMo4mkUBKkK6NoG9Vx74ugHfNjNXyJ/nk/P5ymJvR6VRGzpyfw+AGOFRCoF4o8BA0s0MrBQg6zdccf1eE+CWhYWWDedrg7mqP5StYUtOAuVqgHy+mPFpOi/lxK97O8v1z7Eh6+fDMH8KcdFuOCV+nnqvlEVPDLhlbq6QQpzJ+lhgkMBgQR2zPlBegfYB8vzJkvBguTYxvSMOnA71FECkPcbal0C3FZUgw/rdZDFPDPjG9+eXGGQhr0DWCHI+8keB5nMpiO9hzoGuQZnPvTce2rxCPDXwVHaEdfzeOKcvwnlkN7b9aBGaRIkAZxbm+pmz43kGmVXcVUB9ZHE2INUnq6/1Aqh7xB8+4lLmAtx3cOemFeJJh1jMBYu51m9YiTcqBUSzPPBAM7idCHBu4b2ZtISteQaTrTmuohZpw2Ut2vqYl0YC1OJkagZ43qdS2qfi/l0N9Hty2zBIZItOGxtwmMI5sm77y92X68JEkkYSZTsShZPRXoX/lb0NLC5pruhLFGQYph/hU+wTIE7ufXF+uL5v3P6zIshqN59FxZ+Mu4oyhFgVMu9w2FqAy6DVObwwV8iAWDJia0RZc5qPWZ85qa20E/PQgLnrXPx3pePlrEx5jz/+2Qb6HRHzMByNtlDLeAo+qnbgwHQF1kEJOJxWg+uRLb/MBTNAAJ1hLntIsnvPhd9M3+X/GW6ms6DbE0Cgg+Z50lEGMRjplw4+P7/wsjdXiI6EOyZLmtvEMTdJCjDGQW+EDekpWCclAFzTINWkyeiUA4TLgAMf3L25+O6XO2e/6P+psrv6Wyhe+AV8vvoXLfNBe6sO+iHDOCIJt2czqZMT++JirnVUpljExSmjDVEhVJGZilGwiw4/MATroEQ67CaNNj7W+ow0++Fdm6ejs1Hwbqb/wM7qu7D//M/pM/K0XijLYQva2SDugfSVd8SbH4EY6MNsoEQIOkZ2BQSNcEDTDlcEsOaukVIbBoIEjLkaGUzGtPqUPId7Pn6HUfkPs3ieskbIMc2KupEVATg49czxcagHzREXtzgT3lSTiIWlI7BGSgZYcRcwIl0KtTwT6yiMkK3/NJcvPtJZOvDtLW1Qk/sadm04jQy671d76kCr8JI4t44Oq39wiwdddEilpclpDRx2+uuAiZioSQMSjJ5RnUsBeO6xTo9Bt3FXJQqEhRtR4ILUVf/vnnw/rtMPTI7xYSa8Q3EuC1jh6i5FSay0HdkurlllUt75Yk8ogcAGHs/b3VneM7RlQBDewY3KtiMFF8kuEErp/f6J+Z7Yg37qYf61YhamLjhRBuzo9q2QkJJbaTM5t7Qo6zisOkK3FhBofEPa/eSmxe/s2dLGKD3UeonhA9yFkDS+MLQQlIi0PksajVi8wPIZoxAR+1UoGYetZVZ8Iyt+ogGHnfKaiawe0zzyg81FIeXDZFx0AJ1Pb/LpQtwgZWtjmstGGay7ChZ1qy48JKBkHLZdK+MCgUjXParWAiEwwUnTsK97naUU4JBxr0Zm9YpJ7PvjrvcCUeXEgSMr5rIR/EgRwXL7hnR/kvGS+2EAF2I1JGW0iMCFWGSCDKIkHW/bt2mMHxw1AbhTZv4T0os1TNfG7FQihg6M9RZ4OySgRICtycVgMpdioIlPgpYfjzxVgATkZ84VeZHOxFSfsOvDR+e63KXmskoVYxwOKJHhSgQYyfxT6Ak5MoxbJYH1VoqM+1axeALq9borKcJRhCBU1y5akBis6/ZNMxLGfTJAWxI9Tu6WzOwxKMU14DKC019yXkZN615ISNnl7BjFNEclKLB1oT+02Jx0l2Ijk3Vs6iQPzQBcKwenNuvR51KuaEmBO8IgWeDT/tMjXiIL2j3aURGIs0gmXTF9QGtLdjlYNCPWnE2FwQoG1ZJUZuNqYyQAnK9o3VXDS7qEAcYTYJ2SgaxFQn21ZCUmzmxIyhPOVpAr9BB11bU6FhT6zdjGe/i0qnNYHXBHRwXVikJgj6jhk0SLzjMqsGSttjEuYjAplzmeUUmJS69MYirrCvpCnDZjRhYfIZFHSGS0ONGfDS6CqAtjADgamuURy2jZqg4CXZxMLJU3jEMS8m1/EEQw6ruwFNVjKeMZlJ2QMzeXxpKA2CSfUGyzdS0bacEKvyelqUu5gE+n0BToYs/ZHx0YhnWQkt0MVAvhDSzHgJoTsjHSJSkR4Avi45Iu7RjdshYJu9pnFmJcznzjDY9/KJvChLPSrpCnhcM7u++lS4NOuembMFUbMB3EyNAgERZcj3DxN5QNKVmk1dHNlpGtJ7jUALQo1eTyYH1TkmKAgsmYqTtLp/wqR2ReZe9rJ09744WGYzmRtmEmOGtN1Bo2kgC21hPzx80SaUVp8IvBWpqP8sX97VN1XB54bZYXZ0hH1mBFO5Bycvfa6EJq6V/fPzx+emiqEBvIchgiObMZVMSS4BWkJtcskVZUubNzlqsSs3YShocSNqY3rORy9lsHx/i3op5naD0DmUMIE35f4B/+8d236sWcbIElEoNEsjMhG1hkbp7CVS31WpIHHtQvhr3b+Jpg+HNvvbeimJbbNer5EnqZqaccVONqMHhBbJeula+G/77r7aW/7TzW12BQwPq0RULYYdiueW7J0T87Ay6T02OTKdBU11S8xqzoxseen75h8Nk2Dlg8dOUrI+suL6IwdON6NWHplo/EXgiDG+PUsD6gsNPG0E7Y0lITAo96StOQmYmdjwFdEELMfKkBaEU3fm9vcVnKW3lWE7Ye4lyJM+LBRBlDGwRBloJhdVekIrN2Rfq61xPN1GFHf928+YTw6XErj5GMEQqc2yz1TM43dDutTz9d/uQzQ2zBBQMSZXefopmC+XZcs8GHju8oRZGWLowPtMPqTDOtdJROdm8Z5bGOOadvyz5ka5Deg4fml7750/m+Rs+2ervKrc8+0sYZez+ztxykgxYkRAomzkwrXfAx/grCHhL53iitC7CiPOa4SG5ibDsDF2moebI+QmlnaX7h0fHGYt763EMTHEx0M+Mi9epg/jpLdJZRg5Z+ua6L6EKZ81qtDKvQugEvdnMqV5XdqDabheEd2Hk75rSnpVh64tXj40+9vBJ46/4d5ZtHez2/Ktp4yhM6MHF5A5KLPAihPjEQZpRotsSeM8m743UDVrR4T2dZ8JtDVWO2t3TmEE/dQMlkP78fntn7UmP9/vQr95RveeWuAUrVbj2b47hdP+NKoLaQGZu1jMTRlrtEiTbBXBZgRccZdKZG3axis6YYhOFkbHJoiyQbhQTvudH5pQMHPmio34s35eFcBlrI1nf0UxGbFJCM5uQ2iANRggR02YAVzfZ2lt/+yiYFumhDZ8PnoKQL0UOBfH/8pf3zUz9+NizQTXkLLYipcfX+OBpoUFgKDQmjmZrWgDI+mGx/V1MAO/pl751F8Pn9Eck3LHtMgmXfJwcv1o3A96BIvfOTfcf/fWT4+JKoLZ9mdFstIFcjiufFjgjbQ1HmSM6vfgESUlMBK1L7sw5/rbNfVPEOdl2nzKSsDkoKQIf6ia18swDubbmlSAhlDVdKb3HQm1j1zh/deAzOVTvWstFlzX5srfTYq3P9WRLDWR826p0/1XCrU66m94lg3uwAIrUXxGyNUruEACO7g8qF1zerCEzt6hvXgFNiCO87cmKN02k+h+vpxZ2dJV8qSy73IdUvMOk6ClC4Syt4z2QbmIPN0o7c38eFugncPtm9HrC6J7iK5I3MFfKcGWVr2J9zXNX7uMDu+TIc15ytBbt+IIOyrXD3/gq/SoP17t5xdFUBO3rhhfmeDTUYYbCFnNmqqEQ5AGu3O2mxzlRp922vbhmFJtE1Aezo9R+qLY1imAEWAo5arud8qqRqtLvjYGcJmkjXFLCjo9677bnl9Nasj60swpSuyWOfgPxix2jHZYnvdbpO/wf0X652D+/dGV80AAAAAElFTkSuQmCC";class _O extends Og{constructor(){super("https://wallet-api.pantograph.app")}async getTokensDetails(m,g="base"){try{if(!m||!Array.isArray(m)||m.length===0)throw new Error("Addresses must be a non-empty array");const p=m.join(","),S=await this.get(`/keyrings/tokens/${g}/v2`,{query:{addresses:p}});return Array.isArray(S.data)&&(S.data=S.data.filter((x,q,w)=>q===w.findIndex($=>$.address.toLowerCase()===x.address.toLowerCase())),Array.isArray(m)&&m.length>0&&(S.data=S.data.filter(x=>m.some(q=>q.toLowerCase()===x.address.toLowerCase())),S.data.sort((x,q)=>m.findIndex(w=>w.toLowerCase()===x.address.toLowerCase())-m.findIndex(w=>w.toLowerCase()===q.address.toLowerCase())))),S}catch(p){throw console.error("❌ Error getting tokens details:",p instanceof Error?p.message:p),p}}async getTokenDetail(m,g="base"){try{if(!m)throw new Error("Address is required");const p=await this.getTokensDetails([m],g);return{data:p.data[0]||null,status:p.status}}catch(p){throw console.error(`❌ Error getting token detail for ${m}:`,p instanceof Error?p.message:p),p}}async getTopGainers(m="base",g="24h",p=3){try{return await this.get(`/token-list/top-gainers/${m}`,{query:{duration:g,limit:p}})}catch(S){throw console.error("❌ Error getting top gainers:",S instanceof Error?S.message:S),S}}}const X2=new _O,RO="https://dln.debridge.finance",MO=new Og(RO);async function xO(d){const{chainId:m,tokenIn:g,tokenInAmount:p,tokenOut:S,accesstoken:x,slippage:q="auto",tokenOutRecipient:w}=d;if(!m||!g||!p||!S)throw new Error("Missing required parameters: chainId, tokenIn, tokenInAmount, tokenOut");try{const $=await MO.get("/v1.0/chain/transaction",{query:{chainId:String(m),tokenIn:g,tokenInAmount:p,tokenOut:S,slippage:String(q),tokenOutRecipient:w,accesstoken:x}});if($.data?.error)throw new Error(`DeBridge API Error: ${$.data.error}`);return console.log("✅ Quote retrieved successfully"),{success:!0,data:$.data}}catch($){let F=$ instanceof Error?$.message:"Unknown error";const fe=$;fe.data?.errorMessage?F=fe.data.errorMessage:fe.response?.data?.errorMessage?F=fe.response.data.errorMessage:fe.data?.message?F=fe.data.message:fe.response?.data?.message&&(F=fe.response.data.message);const Z=fe.status||fe.response?.status||fe.statusCode||fe.data?.status;return console.error("📋 Error details:",{errorMessage:F,errorCode:fe.data?.errorCode,errorId:fe.data?.errorId,status:Z,reqId:fe.data?.reqId,fullError:{message:fe.message,status:fe.status,statusCode:fe.statusCode}}),{success:!1,error:$ instanceof Error?$.message:"Unknown error",status:Z,errorMessage:F,errorCode:fe.data?.errorCode,errorId:fe.data?.errorId}}}function Fo(d){const m=[],g=/!\[([^\]]*)\]\(([^)]+)\)|\[([^\]]*)\]\(([^)]+)\)|(https?:\/\/[^\s<>]+)|\*\*(.+?)\*\*|__(.+?)__|\*(.+?)\*|_(.+?)_|~~(.+?)~~|`([^`]+)`/g;let p=0,S;for(;(S=g.exec(d))!==null;)S.index>p&&m.push(d.slice(p,S.index)),S[1]!==void 0||S[2]!==void 0?m.push(Ee.jsx("img",{src:S[2],alt:S[1],className:"mc-image"},S.index)):S[3]!==void 0?m.push(Ee.jsx("a",{href:S[4],target:"_blank",rel:"noopener noreferrer",className:"mc-link",children:S[3]},S.index)):S[5]!==void 0?m.push(Ee.jsx("a",{href:S[5],target:"_blank",rel:"noopener noreferrer",className:"mc-link",children:S[5]},S.index)):S[6]!==void 0?m.push(Ee.jsx("strong",{children:Fo(S[6])},S.index)):S[7]!==void 0?m.push(Ee.jsx("strong",{children:Fo(S[7])},S.index)):S[8]!==void 0?m.push(Ee.jsx("em",{children:Fo(S[8])},S.index)):S[9]!==void 0?m.push(Ee.jsx("em",{children:Fo(S[9])},S.index)):S[10]!==void 0?m.push(Ee.jsx("del",{children:Fo(S[10])},S.index)):S[11]!==void 0&&m.push(Ee.jsx("code",{className:"mc-inline-code",children:S[11]},S.index)),p=S.index+S[0].length;return p<d.length&&m.push(d.slice(p)),m.length>0?m:[d]}const CO=({content:d})=>{const m=d.split(`
|
|
248
|
+
`),g=[];let p=0;for(;p<m.length;){const S=m[p];if(S.trimStart().startsWith("```")){const q=S.trimStart().slice(3).trim(),w=[];for(p++;p<m.length&&!m[p].trimStart().startsWith("```");)w.push(m[p]),p++;g.push(Ee.jsxs("div",{className:"mc-codeblock",children:[q&&Ee.jsx("div",{className:"mc-codeblock-lang",children:q}),Ee.jsx("pre",{children:Ee.jsx("code",{children:w.join(`
|
|
249
|
+
`)})})]},`code-${p}`)),p++;continue}if(/^(\s*[-*_]\s*){3,}$/.test(S)){g.push(Ee.jsx("hr",{className:"mc-hr"},`hr-${p}`)),p++;continue}const x=S.match(/^(#{1,3})\s+(.+)/);if(x){const q=x[1].length,w=x[2];g.push(Ee.jsx("div",{className:`mc-heading mc-h${q}`,children:Fo(w)},`h-${p}`)),p++;continue}if(S.trimStart().startsWith("> ")){const q=[];for(;p<m.length&&m[p].trimStart().startsWith("> ");)q.push(m[p].replace(/^\s*>\s?/,"")),p++;g.push(Ee.jsx("div",{className:"mc-blockquote",children:q.map((w,$)=>Ee.jsx("div",{children:Fo(w)},$))},`bq-${p}`));continue}if(S.trim()===""){g.push(Ee.jsx("div",{className:"mc-empty-line"},`empty-${p}`)),p++;continue}g.push(Ee.jsx("div",{className:"mc-line",children:Fo(S)},`line-${p}`)),p++}return Ee.jsx("div",{className:"message-content",children:g})},UO=({isOpen:d,onClose:m,onTransaction:g})=>{const{messages:p,addMessage:S}=mO(),[x,q]=Dt.useState(""),[w,$]=Dt.useState(!1),[F,fe]=Dt.useState(!0),[Z,V]=Dt.useState(null),ve=Dt.useRef(null),Me=Dt.useRef(null),{account:Qe,chainData:Ge,chainType:Ze,chainTypeMoralis:be,chainId:Pe}=ob(),gt=Dt.useCallback(()=>{const B=localStorage.getItem("dataBuyToken");if(B)try{return JSON.parse(B)}catch{return{srcTokenAddress:"",descTokenAddress:"",amount:"",srcTokenDecimals:18,descTokenDecimals:18}}return{srcTokenAddress:"",descTokenAddress:"",amount:"",srcTokenDecimals:18,descTokenDecimals:18}},[]),St=Dt.useCallback(B=>{localStorage.setItem("dataBuyToken",JSON.stringify(B))},[]),Ke=Dt.useCallback(B=>{const E={...gt(),...B};St(E)},[gt,St]),we=Dt.useCallback(B=>{q(B),fe(!1),Me.current?.focus()},[]),D=Dt.useCallback(B=>{V(B),Me.current?.focus()},[]),R=Dt.useCallback(async(B,re)=>{Ke({descTokenAddress:B,descTokenDecimals:re||18});try{$(!0);const E=await OO({address:Qe?.address||"",chain:be});if(E?.success&&E?.data?.result){const ie=E.data.result.map(ae=>({id:ae.token_address,text:`${ae.name}: ${ae.balance_formatted} ${ae.symbol} ($${ae.usd_value?.toFixed(4)||"0"})`,value:`Buy with ${ae.symbol}`,action:"click_balance_item_user_to_buy_button",fullWidth:!0,extraData:{tokenAddress:ae.token_address,symbol:ae.symbol,balance:ae.balance_formatted,usdValue:ae.usd_value,decimals:ae.decimals}}));S("This is the spendable balance of your wallet on OPTIMISM chain. Please choose the coins you want to use for this trade.","bot",void 0,ie)}else S("Sorry, I could not fetch your wallet balance. Please try again.","bot")}catch(E){console.error("Error fetching wallet balance:",E),S("Sorry, I encountered an error fetching your wallet balance.","bot")}finally{$(!1)}},[Qe?.address,be,S,Ke]),_=Dt.useCallback(async(B,re,E,G)=>{const ie=[25,50,75,100];Ke({srcTokenAddress:B,srcTokenDecimals:G||18});const ae=ie.map(ye=>({id:`percent-${ye}`,text:`${ye}%`,value:`Use ${ye}% of ${re}`,action:"select_percent",extraData:{percent:ye,tokenAddress:B,tokenSymbol:re,tokenBalance:E}}));S(`📊 Select the amount of ${re} to use:
|
|
250
|
+
|
|
251
|
+
Available: ${E} ${re}`,"bot",void 0,ae)},[S,Ke]),W=Dt.useCallback(async(B,re)=>{Ke({amount:(parseFloat(re)*(B/100)).toFixed(6)});const E=gt(),G=gO(E.amount,E.srcTokenDecimals||18).toString(),ie=await xO({chainId:Pe,tokenIn:E.srcTokenAddress,tokenInAmount:G,tokenOut:E.descTokenAddress,tokenOutRecipient:Qe?.address||"",slippage:"auto",accesstoken:"d6c45897b8f6"});if(ie.success&&ie.data){const ae=ie.data,ye=ae.tokenIn,ze=ae.tokenOut,_e=(parseFloat(ye.amount)/Math.pow(10,ye.decimals)).toFixed(6),Ot=(parseFloat(ze.amount)/Math.pow(10,ze.decimals)).toFixed(6),yt=`📋 Swap Preview
|
|
252
|
+
|
|
253
|
+
From: ${_e} ${ye.symbol}
|
|
254
|
+
To: ${Ot} ${ze.symbol}
|
|
255
|
+
|
|
256
|
+
💰 Value: ~$${ye.approximateUsdValue?.toFixed(4)||"0"}
|
|
257
|
+
📊 Slippage: ${ae.slippage}%
|
|
258
|
+
⛽ Gas Fee: ~$${ae.estimatedTransactionFee?.approximateUsdValue?.toFixed(6)||"0"}
|
|
259
|
+
💵 Protocol Fee: ~$${ae.protocolFeeApproximateUsdValue?.toFixed(6)||"0"}
|
|
260
|
+
|
|
261
|
+
Ready to proceed with the swap?`,wn=[{id:"confirm-swap",text:"✅ Yes",value:"Confirm swap",action:"confirm_swap",extraData:{tx:ae.tx}},{id:"cancel-swap",text:"❌ No",value:"Cancel swap",action:"cancel_swap"}];S(yt,"bot",void 0,wn)}else S(`⚠️ Unable to get swap estimation. Error: ${ie.errorMessage||ie.error||"Unknown error"}`,"bot")},[gt,Ke,S,Pe,Qe?.address]),N=Dt.useCallback(async(B,re,E)=>{try{if(S(B,"user"),fe(!1),$(!0),re)switch(await Sg(500),re){case"click_buy_item_token_button":await R(E?.tokenAddress||"",E?.decimals||18);break;case"click_balance_item_user_to_buy_button":await _(E?.tokenAddress||"",E?.symbol||"",E?.balance||"",E?.decimals||18);break;case"select_percent":await W(E?.percent||0,E?.tokenBalance||"");break;case"confirm_swap":if(E?.tx&&g){const G=E.tx,ie={from:Qe?.address||"",to:G.to,data:G.data,value:G.value,chainId:Pe};S("⚙️ Transaction processing... Please wait.","bot");try{const ae=await g(ie);S(ae==="success"?"✅ Transaction successful! Your swap has been completed.":"❌ Transaction failed. Please try again.","bot")}catch(ae){console.error("Transaction error:",ae),S("❌ Transaction failed. Please try again.","bot")}}else S("⚠️ Transaction data not available.","bot");break;case"cancel_swap":S("❌ Swap cancelled.","bot");break;default:S(`Action "${re}" executed for: ${B}`,"bot")}else await Sg(500),S(`Received: ${B}`,"bot");$(!1),Me.current?.focus()}catch(G){S("Sorry, I encountered an error processing your request.","bot"),$(!1),console.error("Error handling button click:",G)}},[Qe?.address,S,Pe,R,_,g,W]),X=Dt.useCallback(async()=>{try{$(!0);const B=Ge.tokenTrendingDefault||[],[re,E]=await Promise.allSettled([X2.getTopGainers(Ze,"24h",5),X2.getTokensDetails(B,Ze)]);let G=[];re.status==="fulfilled"&&re.value?.data?G=[...re.value.data]:console.warn("⚠️ Top gainers failed:"),E.status==="fulfilled"&&E.value?.data?G=[...E.value.data,...G]:console.warn("⚠️ Default tokens failed:"),G=G.filter((ye,ze,_e)=>ze===_e.findIndex(Ot=>Ot.address.toLowerCase()===ye.address.toLowerCase()));const ie=G.map(ye=>({id:ye?.symbol,text:ye?.symbol,value:`Buy ${ye.name} (${ye?.symbol})`,action:"click_buy_item_token_button",extraData:{tokenAddress:ye?.address||"",symbol:ye?.symbol||"",decimals:ye?.decimals||18}}));await Sg(1e3),$(!1),S(`📈 Here is the list of tokens that are currently trending upwards on ${Ge?.name||"Unknown"} chain`,"bot");const ae=G.map((ye,ze)=>`${ze+1}. ${ye.name} (${ye?.auditGoplus?.token_symbol||ye.symbol||"Unknown"})
|
|
262
|
+
$${hb(ye?.price||0).decimalPlaces(4).toFormat()} (${ye.price_change_percentage_24h||ye.priceChange}%)
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
`).join(`
|
|
266
|
+
`);S(`${ae}
|
|
267
|
+
Is there any token you want to buy?`,"bot",void 0,ie)}catch(B){console.error("Error fetching trending tokens:",B),S("Sorry, I encountered an error fetching trending tokens.","bot")}finally{$(!1)}},[S,Ge?.name,Ge.tokenTrendingDefault,Ze]),ee=Dt.useMemo(()=>[{id:"ask",icon:"❓",text:"Ask a question",action:()=>we("I have a question")},{id:"buy",icon:"💰",text:"Buy trending token",action:()=>we("Show me trending tokens")},{id:"test-buttons",icon:"🧪",text:"Test Buttons (Demo)",action:async()=>{await X()}}],[we,X]),L=B=>{if(B===0)return!0;const re=p[B],E=p[B-1],G=new Date(re.timestamp),ie=new Date(E.timestamp);return G.setHours(0,0,0,0),ie.setHours(0,0,0,0),G.getTime()!==ie.getTime()};Dt.useEffect(()=>{ve.current?.scrollIntoView({behavior:"smooth"})},[p]),Dt.useEffect(()=>{d&&(Me.current&&Me.current.focus(),ve.current?.scrollIntoView({behavior:"instant"}))},[d]),Dt.useEffect(()=>{const B=re=>{re.key==="Escape"&&d&&m()};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[d,m]);const A=Dt.useCallback(async()=>{if(x.trim()===""||w)return;const B=Z,re=S(x.trim(),"user",Z?.id);q(""),V(null),$(!0),fe(!1),$(!0);try{let E=`User wallet: ${Qe?.address||"Not connected"}
|
|
268
|
+
Chain: ${Ge?.name||"Unknown"}`;B&&(E+=`
|
|
269
|
+
|
|
270
|
+
User is replying to this ${B.sender==="user"?"their previous":"your"} message:
|
|
271
|
+
"${B.text}"`),E+=`
|
|
272
|
+
|
|
273
|
+
User question: ${x.trim()}`;const G=await zO({prompt:E,model:"gpt-4.1-mini",stream:!1});G.success&&G.data?S(G.data.text,"bot",re.id):S("Sorry, I encountered an error processing your request.","bot",re.id)}catch(E){console.error("Error getting AI response:",E),S("Sorry, I encountered an error processing your request.","bot",re.id)}$(!1),await Sg(50),Me.current?.focus()},[x,w,S,Z,Qe?.address,Ge?.name]),M=Dt.useCallback(B=>{B.key==="Enter"&&!B.shiftKey&&(B.preventDefault(),A())},[A]),C=Dt.useCallback(()=>{const B=window.getSelection();B&&B.toString().length>0||m()},[m]);return d?Ee.jsx("div",{className:"chat-modal-overlay",onClick:C,role:"dialog","aria-modal":"true","aria-labelledby":"chat-modal-title",children:Ee.jsxs("div",{className:"chat-modal",onClick:B=>B.stopPropagation(),children:[Ee.jsxs("div",{className:"chat-modal-header",children:[Ee.jsxs("div",{className:"chat-modal-header-left",children:[Ee.jsx("div",{className:"keyring-logo",children:Ee.jsx("img",{src:DO,alt:"Keyring Logo",width:40,height:40})}),Ee.jsx("h3",{id:"chat-modal-title",children:"Keyring Agent"})]}),Ee.jsx("button",{className:"close-button",onClick:m,"aria-label":"Close chat",type:"button",children:Ee.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:Ee.jsx("path",{d:"M15 5L5 15M5 5L15 15",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]}),Ee.jsxs("div",{className:"chat-user-info",children:[Ee.jsx("div",{className:"user-avatar",children:Ee.jsx("img",{src:Ge?.logo||"",alt:"User Avatar",width:20,height:20})}),Ee.jsx("span",{className:"user-wallet",children:rO(Qe?.address)||"Not connected"})]}),Ee.jsxs("div",{className:"chat-modal-messages",role:"log","aria-live":"polite",children:[p.map((B,re)=>Ee.jsxs("div",{children:[L(re)&&Ee.jsx("div",{className:"date-separator",children:sO(B.timestamp)}),Ee.jsxs("div",{className:`message ${B.sender==="user"?"message-user":"message-bot"}`,role:"article",children:[Ee.jsx("button",{className:"message-reply-button",onClick:()=>D(B),"aria-label":"Reply to message",type:"button",children:Ee.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:Ee.jsx("path",{d:"M3.5 8.5L1 6L3.5 3.5M1.5 6H10C12.2091 6 14 7.79086 14 10V13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Ee.jsxs("div",{className:"message-bubble",children:[B.replyTo&&Ee.jsxs("div",{className:"message-reply-to",children:[Ee.jsxs("div",{className:"message-reply-to-label",children:["Replying to"," ",B.replyTo.sender==="user"?"You":"Keyring Agent"]}),Ee.jsx("div",{className:"message-reply-to-text",children:B.replyTo.text})]}),Ee.jsx("div",{className:"message-text",children:Ee.jsx(CO,{content:B.text})}),B.buttons&&B.buttons.length>0&&Ee.jsx("div",{className:"message-buttons",children:B.buttons.map(E=>Ee.jsx("button",{className:`message-button ${E.fullWidth?"full-width":""}`,onClick:()=>N(E.value,E.action,E?.extraData),type:"button",children:E.text},E.id))}),Ee.jsxs("div",{className:"message-timestamp",children:[B.timestamp.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1}),B.sender==="user"&&Ee.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:"check-icon",children:Ee.jsx("path",{d:"M13.3333 4L6 11.3333L2.66667 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})]},B.id)),w&&Ee.jsx("div",{className:"message message-bot typing-indicator",role:"status","aria-label":"Bot is typing",children:Ee.jsxs("div",{className:"message-bubble",children:[Ee.jsx("span",{className:"typing-dot"}),Ee.jsx("span",{className:"typing-dot"}),Ee.jsx("span",{className:"typing-dot"})]})}),F&&Ee.jsx("div",{className:"suggestions-container",children:ee.map(B=>Ee.jsxs("button",{className:"suggestion-button",onClick:B.action,type:"button",children:[Ee.jsx("span",{className:"suggestion-icon",children:B.icon}),Ee.jsx("span",{className:"suggestion-text",children:B.text})]},B.id))}),Ee.jsx("div",{ref:ve})]}),Ee.jsxs("div",{className:"chat-modal-input",children:[Z&&Ee.jsxs("div",{className:"reply-preview",children:[Ee.jsxs("div",{className:"reply-preview-content",children:[Ee.jsxs("div",{className:"reply-preview-label",children:["Replying to"," ",Z.sender==="user"?"You":"Keyring Agent"]}),Ee.jsx("div",{className:"reply-preview-text",children:Z.text})]}),Ee.jsx("button",{className:"reply-preview-close",onClick:()=>V(null),"aria-label":"Cancel reply",type:"button",children:Ee.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:Ee.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]}),Ee.jsxs("div",{className:"chat-modal-input-row",children:[Ee.jsx("input",{ref:Me,type:"text",placeholder:"Message ....",value:x,onChange:B=>q(B.target.value),onKeyPress:M,disabled:w,"aria-label":"Message input"}),Ee.jsx("button",{className:"send-button",onClick:A,"aria-label":"Send message",disabled:w||x.trim()==="",type:"button",children:Ee.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:Ee.jsx("path",{d:"M18 2L9 11M18 2L12 18L9 11M18 2L2 8L9 11",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]})}):null},wO=Dt.createContext(void 0),NO=({children:d,initialConfig:m})=>Ee.jsx(wO.Provider,{value:{config:m||null},children:d}),HO=({position:d,theme:m,defaultOpen:g,onOpen:p,onClose:S,onTransaction:x})=>{const{account:q}=ob(),[w,$]=Dt.useState(g);Dt.useEffect(()=>{g&&p&&p()},[]);const F=Dt.useCallback(()=>{$(!0),p?.()},[p]),fe=Dt.useCallback(()=>{$(!1),S?.()},[S]),Z=Dt.useCallback(()=>{w?fe():F()},[w,F,fe]),V={position:"fixed",[d==="bottom-right"?"right":"left"]:"20px",bottom:"20px",zIndex:m.zIndex??9999};return Ee.jsx("div",{style:V,role:"complementary","aria-label":"Chat widget",children:q?.address&&q?.chainId&&Ee.jsxs(Ee.Fragment,{children:[Ee.jsx(mA,{onClick:Z}),Ee.jsx(UO,{isOpen:w,onClose:fe,onTransaction:x})]})})},BO=({position:d="bottom-right",theme:m={},defaultOpen:g=!1,onOpen:p,onClose:S,account:x,onTransaction:q})=>{const w={position:d,theme:m};return Ee.jsx(NO,{initialConfig:w,children:Ee.jsx(hO,{initialAccount:x,children:Ee.jsx(HO,{position:d,theme:m,defaultOpen:g,onOpen:p,onClose:S,onTransaction:q})})})};class Q2 extends HTMLElement{root=null;static get observedAttributes(){return["position","primary-color","button-size","z-index","default-open"]}connectedCallback(){const m=document.createElement("div");this.attachShadow({mode:"open"}).appendChild(m);const g={position:this.getAttribute("position")||"bottom-right",defaultOpen:this.getAttribute("default-open")==="true",theme:{primaryColor:this.getAttribute("primary-color")||"#007bff",buttonSize:parseInt(this.getAttribute("button-size")||"60"),zIndex:parseInt(this.getAttribute("z-index")||"9999")}};this.root=hA.createRoot(m),this.root.render(Ee.jsx(BO,{...g}))}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(){this.root&&this.connectedCallback()}}customElements.get("chat-widget")||customElements.define("chat-widget",Q2),zd.ChatWidgetElement=Q2,Object.defineProperty(zd,Symbol.toStringTag,{value:"Module"})}));
|