@agrada_digital/pbm 0.0.76 → 0.0.78
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/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -29
- package/dist/index.mjs.map +1 -1
- package/dist-wc/pbm-wc.js +53 -53
- package/package.json +6 -1
package/dist-wc/pbm-wc.js
CHANGED
|
@@ -7,7 +7,7 @@ var jw=Object.defineProperty;var Bw=(Or,Qi,_o)=>Qi in Or?jw(Or,Qi,{enumerable:!0
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var p1;function Nx(){if(p1)return fm;p1=1;var d=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function m(y,g,v){var _=null;if(v!==void 0&&(_=""+v),g.key!==void 0&&(_=""+g.key),"key"in g){v={};for(var R in g)R!=="key"&&(v[R]=g[R])}else v=g;return g=v.ref,{$$typeof:d,type:y,key:_,ref:g!==void 0?g:null,props:v}}return fm.Fragment=s,fm.jsx=m,fm.jsxs=m,fm}var dm={},
|
|
10
|
+
*/var p1;function Nx(){if(p1)return fm;p1=1;var d=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function m(y,g,v){var _=null;if(v!==void 0&&(_=""+v),g.key!==void 0&&(_=""+g.key),"key"in g){v={};for(var R in g)R!=="key"&&(v[R]=g[R])}else v=g;return g=v.ref,{$$typeof:d,type:y,key:_,ref:g!==void 0?g:null,props:v}}return fm.Fragment=s,fm.jsx=m,fm.jsxs=m,fm}var dm={},vg={exports:{}},yt={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react.production.js
|
|
13
13
|
*
|
|
@@ -35,7 +35,7 @@ Your code should look like:
|
|
|
35
35
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
36
36
|
2. You might be breaking the Rules of Hooks
|
|
37
37
|
3. You might have more than one copy of React in the same app
|
|
38
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function Re(){}function Ke(x){if(tl===null)try{var L=("require"+Math.random()).slice(0,7);tl=(d&&d[L]).call(d,"timers").setImmediate}catch{tl=function(be){Do===!1&&(Do=!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 Me=new MessageChannel;Me.port1.onmessage=be,Me.port2.postMessage(void 0)}}return tl(x)}function Je(x){return 1<x.length&&typeof AggregateError=="function"?new AggregateError(x):x[0]}function W(x,L){L!==Tn-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. "),Tn=L}function Z(x,L,he){var be=k.actQueue;if(be!==null)if(be.length!==0)try{re(be),Ke(function(){return Z(x,L,he)});return}catch(Me){k.thrownErrors.push(Me)}else k.actQueue=null;0<k.thrownErrors.length?(be=Je(k.thrownErrors),k.thrownErrors.length=0,he(be)):L(x)}function re(x){if(!Ia){Ia=!0;var L=0;try{for(;L<x.length;L++){var he=x[L];do{k.didUsePromise=!1;var be=he(!1);if(be!==null){if(k.didUsePromise){x[L]=he,x.splice(0,L);return}he=be}else break}while(!0)}x.length=0}catch(Me){x.splice(0,L+1),k.thrownErrors.push(Me)}finally{Ia=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ve=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),Te=Symbol.for("react.consumer"),Le=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),Ct=Symbol.for("react.suspense_list"),Dt=Symbol.for("react.memo"),ha=Symbol.for("react.lazy"),Fa=Symbol.for("react.activity"),bl=Symbol.iterator,$i={},el={isMounted:function(){return!1},enqueueForceUpdate:function(x){v(x,"forceUpdate")},enqueueReplaceState:function(x){v(x,"replaceState")},enqueueSetState:function(x){v(x,"setState")}},Oo=Object.assign,zo={};Object.freeze(zo),_.prototype.isReactComponent={},_.prototype.setState=function(x,L){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,L,"setState")},_.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};var Bt={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)."]},yi;for(yi in Bt)Bt.hasOwnProperty(yi)&&y(yi,Bt[yi]);R.prototype=_.prototype,Bt=B.prototype=new R,Bt.constructor=B,Oo(Bt,_.prototype),Bt.isPureReactComponent=!0;var Sl=Array.isArray,U=Symbol.for("react.client.reference"),k={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ne=Object.prototype.hasOwnProperty,xe=console.createTask?console.createTask:function(){return null};Bt={"react-stack-bottom-frame":function(x){return x()}};var ge,me,ze={},Qe=Bt["react-stack-bottom-frame"].bind(Bt,fe)(),pt=xe(V(fe)),Gt=!1,pi=/\/+/g,Sn=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Do=!1,tl=null,Tn=0,Ua=!1,Ia=!1,Cn=typeof queueMicrotask=="function"?function(x){queueMicrotask(function(){return queueMicrotask(x)})}:Ke;Bt=Object.freeze({__proto__:null,c:function(x){return se().useMemoCache(x)}}),s.Children={map:Ae,forEach:function(x,L,he){Ae(x,function(){L.apply(this,arguments)},he)},count:function(x){var L=0;return Ae(x,function(){L++}),L},toArray:function(x){return Ae(x,function(L){return L})||[]},only:function(x){if(!vt(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},s.Component=_,s.Fragment=C,s.Profiler=ee,s.PureComponent=B,s.StrictMode=ie,s.Suspense=$e,s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,s.__COMPILER_RUNTIME=Bt,s.act=function(x){var L=k.actQueue,he=Tn;Tn++;var be=k.actQueue=L!==null?L:[],Me=!1;try{var mt=x()}catch(Ie){k.thrownErrors.push(Ie)}if(0<k.thrownErrors.length)throw W(L,he),x=Je(k.thrownErrors),k.thrownErrors.length=0,x;if(mt!==null&&typeof mt=="object"&&typeof mt.then=="function"){var tt=mt;return Cn(function(){Me||Ua||(Ua=!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(Ie,_a){Me=!0,tt.then(function(gi){if(W(L,he),he===0){try{re(be),Ke(function(){return Z(gi,Ie,_a)})}catch(vi){k.thrownErrors.push(vi)}if(0<k.thrownErrors.length){var Am=Je(k.thrownErrors);k.thrownErrors.length=0,_a(Am)}}else Ie(gi)},function(gi){W(L,he),0<k.thrownErrors.length&&(gi=Je(k.thrownErrors),k.thrownErrors.length=0),_a(gi)})}}}var Ot=mt;if(W(L,he),he===0&&(re(be),be.length!==0&&Cn(function(){Me||Ua||(Ua=!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(() => ...)"))}),k.actQueue=null),0<k.thrownErrors.length)throw x=Je(k.thrownErrors),k.thrownErrors.length=0,x;return{then:function(Ie,_a){Me=!0,he===0?(k.actQueue=be,Ke(function(){return Z(Ot,Ie,_a)})):Ie(Ot)}}},s.cache=function(x){return function(){return x.apply(null,arguments)}},s.captureOwnerStack=function(){var x=k.getCurrentStack;return x===null?null:x()},s.cloneElement=function(x,L,he){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var be=Oo({},x.props),Me=x.key,mt=x._owner;if(L!=null){var tt;e:{if(ne.call(L,"ref")&&(tt=Object.getOwnPropertyDescriptor(L,"ref").get)&&tt.isReactWarning){tt=!1;break e}tt=L.ref!==void 0}tt&&(mt=j()),He(L)&&(X(L.key),Me=""+L.key);for(Ot in L)!ne.call(L,Ot)||Ot==="key"||Ot==="__self"||Ot==="__source"||Ot==="ref"&&L.ref===void 0||(be[Ot]=L[Ot])}var Ot=arguments.length-2;if(Ot===1)be.children=he;else if(1<Ot){tt=Array(Ot);for(var Ie=0;Ie<Ot;Ie++)tt[Ie]=arguments[Ie+2];be.children=tt}for(be=_e(x.type,Me,void 0,void 0,mt,be,x._debugStack,x._debugTask),Me=2;Me<arguments.length;Me++)mt=arguments[Me],vt(mt)&&mt._store&&(mt._store.validated=1);return be},s.createContext=function(x){return x={$$typeof:Le,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:Te,_context:x},x._currentRenderer=null,x._currentRenderer2=null,x},s.createElement=function(x,L,he){for(var be=2;be<arguments.length;be++){var Me=arguments[be];vt(Me)&&Me._store&&(Me._store.validated=1)}if(be={},Me=null,L!=null)for(Ie in me||!("__self"in L)||"key"in L||(me=!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")),He(L)&&(X(L.key),Me=""+L.key),L)ne.call(L,Ie)&&Ie!=="key"&&Ie!=="__self"&&Ie!=="__source"&&(be[Ie]=L[Ie]);var mt=arguments.length-2;if(mt===1)be.children=he;else if(1<mt){for(var tt=Array(mt),Ot=0;Ot<mt;Ot++)tt[Ot]=arguments[Ot+2];Object.freeze&&Object.freeze(tt),be.children=tt}if(x&&x.defaultProps)for(Ie in mt=x.defaultProps,mt)be[Ie]===void 0&&(be[Ie]=mt[Ie]);Me&&Xe(be,typeof x=="function"?x.displayName||x.name||"Unknown":x);var Ie=1e4>k.recentlyCreatedOwnerStacks++;return _e(x,Me,void 0,void 0,j(),be,Ie?Error("react-stack-top-frame"):Qe,Ie?xe(V(x)):pt)},s.createRef=function(){var x={current:null};return Object.seal(x),x},s.forwardRef=function(x){x!=null&&x.$$typeof===Dt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?console.error("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&x.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var L={$$typeof:De,render:x},he;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(be){he=be,x.name||x.displayName||(Object.defineProperty(x,"name",{value:be}),x.displayName=be)}}),L},s.isValidElement=vt,s.lazy=function(x){return{$$typeof:ha,_payload:{_status:-1,_result:x},_init:ht}},s.memo=function(x,L){x==null&&console.error("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x),L={$$typeof:Dt,type:x,compare:L===void 0?null:L};var he;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(be){he=be,x.name||x.displayName||(Object.defineProperty(x,"name",{value:be}),x.displayName=be)}}),L},s.startTransition=function(x){var L=k.T,he={};k.T=he,he._updatedFibers=new Set;try{var be=x(),Me=k.S;Me!==null&&Me(he,be),typeof be=="object"&&be!==null&&typeof be.then=="function"&&be.then(Re,Sn)}catch(mt){Sn(mt)}finally{L===null&&he._updatedFibers&&(x=he._updatedFibers.size,he._updatedFibers.clear(),10<x&&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.")),k.T=L}},s.unstable_useCacheRefresh=function(){return se().useCacheRefresh()},s.use=function(x){return se().use(x)},s.useActionState=function(x,L,he){return se().useActionState(x,L,he)},s.useCallback=function(x,L){return se().useCallback(x,L)},s.useContext=function(x){var L=se();return x.$$typeof===Te&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),L.useContext(x)},s.useDebugValue=function(x,L){return se().useDebugValue(x,L)},s.useDeferredValue=function(x,L){return se().useDeferredValue(x,L)},s.useEffect=function(x,L,he){x==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var be=se();if(typeof he=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return be.useEffect(x,L)},s.useId=function(){return se().useId()},s.useImperativeHandle=function(x,L,he){return se().useImperativeHandle(x,L,he)},s.useInsertionEffect=function(x,L){return x==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useInsertionEffect(x,L)},s.useLayoutEffect=function(x,L){return x==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useLayoutEffect(x,L)},s.useMemo=function(x,L){return se().useMemo(x,L)},s.useOptimistic=function(x,L){return se().useOptimistic(x,L)},s.useReducer=function(x,L,he){return se().useReducer(x,L,he)},s.useRef=function(x){return se().useRef(x)},s.useState=function(x){return se().useState(x)},s.useSyncExternalStore=function(x,L,he){return se().useSyncExternalStore(x,L,he)},s.useTransition=function(){return se().useTransition()},s.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(hm,hm.exports)),hm.exports}var b1;function Gf(){if(b1)return bg.exports;b1=1;var d={};return d.NODE_ENV==="production"?bg.exports=Hx():bg.exports=kx(),bg.exports}var S1;function jx(){if(S1)return dm;S1=1;var d={};/**
|
|
38
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function Re(){}function Ke(x){if(tl===null)try{var L=("require"+Math.random()).slice(0,7);tl=(d&&d[L]).call(d,"timers").setImmediate}catch{tl=function(be){Do===!1&&(Do=!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 Me=new MessageChannel;Me.port1.onmessage=be,Me.port2.postMessage(void 0)}}return tl(x)}function Je(x){return 1<x.length&&typeof AggregateError=="function"?new AggregateError(x):x[0]}function W(x,L){L!==Tn-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. "),Tn=L}function Z(x,L,he){var be=k.actQueue;if(be!==null)if(be.length!==0)try{re(be),Ke(function(){return Z(x,L,he)});return}catch(Me){k.thrownErrors.push(Me)}else k.actQueue=null;0<k.thrownErrors.length?(be=Je(k.thrownErrors),k.thrownErrors.length=0,he(be)):L(x)}function re(x){if(!Ia){Ia=!0;var L=0;try{for(;L<x.length;L++){var he=x[L];do{k.didUsePromise=!1;var be=he(!1);if(be!==null){if(k.didUsePromise){x[L]=he,x.splice(0,L);return}he=be}else break}while(!0)}x.length=0}catch(Me){x.splice(0,L+1),k.thrownErrors.push(Me)}finally{Ia=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ve=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),Te=Symbol.for("react.consumer"),Le=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),Ct=Symbol.for("react.suspense_list"),Dt=Symbol.for("react.memo"),ha=Symbol.for("react.lazy"),Fa=Symbol.for("react.activity"),bl=Symbol.iterator,$i={},el={isMounted:function(){return!1},enqueueForceUpdate:function(x){v(x,"forceUpdate")},enqueueReplaceState:function(x){v(x,"replaceState")},enqueueSetState:function(x){v(x,"setState")}},Oo=Object.assign,zo={};Object.freeze(zo),_.prototype.isReactComponent={},_.prototype.setState=function(x,L){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,L,"setState")},_.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};var Bt={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)."]},yi;for(yi in Bt)Bt.hasOwnProperty(yi)&&y(yi,Bt[yi]);R.prototype=_.prototype,Bt=B.prototype=new R,Bt.constructor=B,Oo(Bt,_.prototype),Bt.isPureReactComponent=!0;var Sl=Array.isArray,U=Symbol.for("react.client.reference"),k={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ne=Object.prototype.hasOwnProperty,xe=console.createTask?console.createTask:function(){return null};Bt={"react-stack-bottom-frame":function(x){return x()}};var ge,me,ze={},Qe=Bt["react-stack-bottom-frame"].bind(Bt,fe)(),pt=xe(V(fe)),Gt=!1,pi=/\/+/g,Sn=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Do=!1,tl=null,Tn=0,Ua=!1,Ia=!1,Cn=typeof queueMicrotask=="function"?function(x){queueMicrotask(function(){return queueMicrotask(x)})}:Ke;Bt=Object.freeze({__proto__:null,c:function(x){return se().useMemoCache(x)}}),s.Children={map:Ae,forEach:function(x,L,he){Ae(x,function(){L.apply(this,arguments)},he)},count:function(x){var L=0;return Ae(x,function(){L++}),L},toArray:function(x){return Ae(x,function(L){return L})||[]},only:function(x){if(!vt(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},s.Component=_,s.Fragment=C,s.Profiler=ee,s.PureComponent=B,s.StrictMode=ie,s.Suspense=$e,s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,s.__COMPILER_RUNTIME=Bt,s.act=function(x){var L=k.actQueue,he=Tn;Tn++;var be=k.actQueue=L!==null?L:[],Me=!1;try{var mt=x()}catch(Ie){k.thrownErrors.push(Ie)}if(0<k.thrownErrors.length)throw W(L,he),x=Je(k.thrownErrors),k.thrownErrors.length=0,x;if(mt!==null&&typeof mt=="object"&&typeof mt.then=="function"){var tt=mt;return Cn(function(){Me||Ua||(Ua=!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(Ie,_a){Me=!0,tt.then(function(gi){if(W(L,he),he===0){try{re(be),Ke(function(){return Z(gi,Ie,_a)})}catch(vi){k.thrownErrors.push(vi)}if(0<k.thrownErrors.length){var wm=Je(k.thrownErrors);k.thrownErrors.length=0,_a(wm)}}else Ie(gi)},function(gi){W(L,he),0<k.thrownErrors.length&&(gi=Je(k.thrownErrors),k.thrownErrors.length=0),_a(gi)})}}}var Ot=mt;if(W(L,he),he===0&&(re(be),be.length!==0&&Cn(function(){Me||Ua||(Ua=!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(() => ...)"))}),k.actQueue=null),0<k.thrownErrors.length)throw x=Je(k.thrownErrors),k.thrownErrors.length=0,x;return{then:function(Ie,_a){Me=!0,he===0?(k.actQueue=be,Ke(function(){return Z(Ot,Ie,_a)})):Ie(Ot)}}},s.cache=function(x){return function(){return x.apply(null,arguments)}},s.captureOwnerStack=function(){var x=k.getCurrentStack;return x===null?null:x()},s.cloneElement=function(x,L,he){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var be=Oo({},x.props),Me=x.key,mt=x._owner;if(L!=null){var tt;e:{if(ne.call(L,"ref")&&(tt=Object.getOwnPropertyDescriptor(L,"ref").get)&&tt.isReactWarning){tt=!1;break e}tt=L.ref!==void 0}tt&&(mt=j()),He(L)&&(X(L.key),Me=""+L.key);for(Ot in L)!ne.call(L,Ot)||Ot==="key"||Ot==="__self"||Ot==="__source"||Ot==="ref"&&L.ref===void 0||(be[Ot]=L[Ot])}var Ot=arguments.length-2;if(Ot===1)be.children=he;else if(1<Ot){tt=Array(Ot);for(var Ie=0;Ie<Ot;Ie++)tt[Ie]=arguments[Ie+2];be.children=tt}for(be=_e(x.type,Me,void 0,void 0,mt,be,x._debugStack,x._debugTask),Me=2;Me<arguments.length;Me++)mt=arguments[Me],vt(mt)&&mt._store&&(mt._store.validated=1);return be},s.createContext=function(x){return x={$$typeof:Le,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:Te,_context:x},x._currentRenderer=null,x._currentRenderer2=null,x},s.createElement=function(x,L,he){for(var be=2;be<arguments.length;be++){var Me=arguments[be];vt(Me)&&Me._store&&(Me._store.validated=1)}if(be={},Me=null,L!=null)for(Ie in me||!("__self"in L)||"key"in L||(me=!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")),He(L)&&(X(L.key),Me=""+L.key),L)ne.call(L,Ie)&&Ie!=="key"&&Ie!=="__self"&&Ie!=="__source"&&(be[Ie]=L[Ie]);var mt=arguments.length-2;if(mt===1)be.children=he;else if(1<mt){for(var tt=Array(mt),Ot=0;Ot<mt;Ot++)tt[Ot]=arguments[Ot+2];Object.freeze&&Object.freeze(tt),be.children=tt}if(x&&x.defaultProps)for(Ie in mt=x.defaultProps,mt)be[Ie]===void 0&&(be[Ie]=mt[Ie]);Me&&Xe(be,typeof x=="function"?x.displayName||x.name||"Unknown":x);var Ie=1e4>k.recentlyCreatedOwnerStacks++;return _e(x,Me,void 0,void 0,j(),be,Ie?Error("react-stack-top-frame"):Qe,Ie?xe(V(x)):pt)},s.createRef=function(){var x={current:null};return Object.seal(x),x},s.forwardRef=function(x){x!=null&&x.$$typeof===Dt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?console.error("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&x.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var L={$$typeof:De,render:x},he;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(be){he=be,x.name||x.displayName||(Object.defineProperty(x,"name",{value:be}),x.displayName=be)}}),L},s.isValidElement=vt,s.lazy=function(x){return{$$typeof:ha,_payload:{_status:-1,_result:x},_init:ht}},s.memo=function(x,L){x==null&&console.error("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x),L={$$typeof:Dt,type:x,compare:L===void 0?null:L};var he;return Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(be){he=be,x.name||x.displayName||(Object.defineProperty(x,"name",{value:be}),x.displayName=be)}}),L},s.startTransition=function(x){var L=k.T,he={};k.T=he,he._updatedFibers=new Set;try{var be=x(),Me=k.S;Me!==null&&Me(he,be),typeof be=="object"&&be!==null&&typeof be.then=="function"&&be.then(Re,Sn)}catch(mt){Sn(mt)}finally{L===null&&he._updatedFibers&&(x=he._updatedFibers.size,he._updatedFibers.clear(),10<x&&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.")),k.T=L}},s.unstable_useCacheRefresh=function(){return se().useCacheRefresh()},s.use=function(x){return se().use(x)},s.useActionState=function(x,L,he){return se().useActionState(x,L,he)},s.useCallback=function(x,L){return se().useCallback(x,L)},s.useContext=function(x){var L=se();return x.$$typeof===Te&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),L.useContext(x)},s.useDebugValue=function(x,L){return se().useDebugValue(x,L)},s.useDeferredValue=function(x,L){return se().useDeferredValue(x,L)},s.useEffect=function(x,L,he){x==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var be=se();if(typeof he=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return be.useEffect(x,L)},s.useId=function(){return se().useId()},s.useImperativeHandle=function(x,L,he){return se().useImperativeHandle(x,L,he)},s.useInsertionEffect=function(x,L){return x==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useInsertionEffect(x,L)},s.useLayoutEffect=function(x,L){return x==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useLayoutEffect(x,L)},s.useMemo=function(x,L){return se().useMemo(x,L)},s.useOptimistic=function(x,L){return se().useOptimistic(x,L)},s.useReducer=function(x,L,he){return se().useReducer(x,L,he)},s.useRef=function(x){return se().useRef(x)},s.useState=function(x){return se().useState(x)},s.useSyncExternalStore=function(x,L,he){return se().useSyncExternalStore(x,L,he)},s.useTransition=function(){return se().useTransition()},s.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(hm,hm.exports)),hm.exports}var b1;function Gf(){if(b1)return vg.exports;b1=1;var d={};return d.NODE_ENV==="production"?vg.exports=Hx():vg.exports=kx(),vg.exports}var S1;function jx(){if(S1)return dm;S1=1;var d={};/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-jsx-runtime.development.js
|
|
41
41
|
*
|
|
@@ -48,7 +48,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
48
48
|
<%s {...props} />
|
|
49
49
|
React keys must be passed directly to JSX without using spread:
|
|
50
50
|
let props = %s;
|
|
51
|
-
<%s key={someKey} {...props} />`,Te,Dt,ha,Dt),O[Dt+Te]=!0)}if(Dt=null,ee!==void 0&&(y(ee),Dt=""+ee),R(ie)&&(y(ie.key),Dt=""+ie.key),"key"in ie){ee={};for(var Fa in ie)Fa!=="key"&&(ee[Fa]=ie[Fa])}else ee=ie;return Dt&&B(ee,typeof C=="function"?C.displayName||C.name||"Unknown":C),X(C,Dt,De,Le,v(),ee,$e,Ct)}function V(C){typeof C=="object"&&C!==null&&C.$$typeof===fe&&C._store&&(C._store.validated=1)}var j=Gf(),fe=Symbol.for("react.transitional.element"),He=Symbol.for("react.portal"),Xe=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),_e=Symbol.for("react.profiler"),Rt=Symbol.for("react.consumer"),vt=Symbol.for("react.context"),ke=Symbol.for("react.forward_ref"),Qt=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),it=Symbol.for("react.memo"),wt=Symbol.for("react.lazy"),Ae=Symbol.for("react.activity"),ht=Symbol.for("react.client.reference"),se=j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Re=Object.prototype.hasOwnProperty,Ke=Array.isArray,Je=console.createTask?console.createTask:function(){return null};j={"react-stack-bottom-frame":function(C){return C()}};var W,Z={},re=j["react-stack-bottom-frame"].bind(j,_)(),ve=Je(g(_)),O={};dm.Fragment=Xe,dm.jsx=function(C,ie,ee,Te,Le){var De=1e4>se.recentlyCreatedOwnerStacks++;return de(C,ie,ee,!1,Te,Le,De?Error("react-stack-top-frame"):re,De?Je(g(C)):ve)},dm.jsxs=function(C,ie,ee,Te,Le){var De=1e4>se.recentlyCreatedOwnerStacks++;return de(C,ie,ee,!0,Te,Le,De?Error("react-stack-top-frame"):re,De?Je(g(C)):ve)}}(),dm}var T1;function Bx(){if(T1)return _o.exports;T1=1;var d={};return d.NODE_ENV==="production"?_o.exports=Nx():_o.exports=jx(),_o.exports}var pe=Bx(),
|
|
51
|
+
<%s key={someKey} {...props} />`,Te,Dt,ha,Dt),O[Dt+Te]=!0)}if(Dt=null,ee!==void 0&&(y(ee),Dt=""+ee),R(ie)&&(y(ie.key),Dt=""+ie.key),"key"in ie){ee={};for(var Fa in ie)Fa!=="key"&&(ee[Fa]=ie[Fa])}else ee=ie;return Dt&&B(ee,typeof C=="function"?C.displayName||C.name||"Unknown":C),X(C,Dt,De,Le,v(),ee,$e,Ct)}function V(C){typeof C=="object"&&C!==null&&C.$$typeof===fe&&C._store&&(C._store.validated=1)}var j=Gf(),fe=Symbol.for("react.transitional.element"),He=Symbol.for("react.portal"),Xe=Symbol.for("react.fragment"),Fe=Symbol.for("react.strict_mode"),_e=Symbol.for("react.profiler"),Rt=Symbol.for("react.consumer"),vt=Symbol.for("react.context"),ke=Symbol.for("react.forward_ref"),Qt=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),it=Symbol.for("react.memo"),wt=Symbol.for("react.lazy"),Ae=Symbol.for("react.activity"),ht=Symbol.for("react.client.reference"),se=j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Re=Object.prototype.hasOwnProperty,Ke=Array.isArray,Je=console.createTask?console.createTask:function(){return null};j={"react-stack-bottom-frame":function(C){return C()}};var W,Z={},re=j["react-stack-bottom-frame"].bind(j,_)(),ve=Je(g(_)),O={};dm.Fragment=Xe,dm.jsx=function(C,ie,ee,Te,Le){var De=1e4>se.recentlyCreatedOwnerStacks++;return de(C,ie,ee,!1,Te,Le,De?Error("react-stack-top-frame"):re,De?Je(g(C)):ve)},dm.jsxs=function(C,ie,ee,Te,Le){var De=1e4>se.recentlyCreatedOwnerStacks++;return de(C,ie,ee,!0,Te,Le,De?Error("react-stack-top-frame"):re,De?Je(g(C)):ve)}}(),dm}var T1;function Bx(){if(T1)return _o.exports;T1=1;var d={};return d.NODE_ENV==="production"?_o.exports=Nx():_o.exports=jx(),_o.exports}var pe=Bx(),bg={exports:{}},mm={},Sg={exports:{}},Av={};/**
|
|
52
52
|
* @license React
|
|
53
53
|
* scheduler.production.js
|
|
54
54
|
*
|
|
@@ -56,7 +56,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
56
56
|
*
|
|
57
57
|
* This source code is licensed under the MIT license found in the
|
|
58
58
|
* LICENSE file in the root directory of this source tree.
|
|
59
|
-
*/var x1;function Vx(){return x1||(x1=1,function(d){function s(W,Z){var re=W.length;W.push(Z);e:for(;0<re;){var ve=re-1>>>1,O=W[ve];if(0<g(O,Z))W[ve]=Z,W[re]=O,re=ve;else break e}}function m(W){return W.length===0?null:W[0]}function y(W){if(W.length===0)return null;var Z=W[0],re=W.pop();if(re!==Z){W[0]=re;e:for(var ve=0,O=W.length,C=O>>>1;ve<C;){var ie=2*(ve+1)-1,ee=W[ie],Te=ie+1,Le=W[Te];if(0>g(ee,re))Te<O&&0>g(Le,ee)?(W[ve]=Le,W[Te]=re,ve=Te):(W[ve]=ee,W[ie]=re,ve=ie);else if(Te<O&&0>g(Le,re))W[ve]=Le,W[Te]=re,ve=Te;else break e}}return Z}function g(W,Z){var re=W.sortIndex-Z.sortIndex;return re!==0?re:W.id-Z.id}if(d.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;d.unstable_now=function(){return v.now()}}else{var _=Date,R=_.now();d.unstable_now=function(){return _.now()-R}}var B=[],w=[],X=1,de=null,V=3,j=!1,fe=!1,He=!1,Xe=!1,Fe=typeof setTimeout=="function"?setTimeout:null,_e=typeof clearTimeout=="function"?clearTimeout:null,Rt=typeof setImmediate<"u"?setImmediate:null;function vt(W){for(var Z=m(w);Z!==null;){if(Z.callback===null)y(w);else if(Z.startTime<=W)y(w),Z.sortIndex=Z.expirationTime,s(B,Z);else break;Z=m(w)}}function ke(W){if(He=!1,vt(W),!fe)if(m(B)!==null)fe=!0,Qt||(Qt=!0,se());else{var Z=m(w);Z!==null&&Je(ke,Z.startTime-W)}}var Qt=!1,_t=-1,it=5,wt=-1;function Ae(){return Xe?!0:!(d.unstable_now()-wt<it)}function ht(){if(Xe=!1,Qt){var W=d.unstable_now();wt=W;var Z=!0;try{e:{fe=!1,He&&(He=!1,_e(_t),_t=-1),j=!0;var re=V;try{t:{for(vt(W),de=m(B);de!==null&&!(de.expirationTime>W&&Ae());){var ve=de.callback;if(typeof ve=="function"){de.callback=null,V=de.priorityLevel;var O=ve(de.expirationTime<=W);if(W=d.unstable_now(),typeof O=="function"){de.callback=O,vt(W),Z=!0;break t}de===m(B)&&y(B),vt(W)}else y(B);de=m(B)}if(de!==null)Z=!0;else{var C=m(w);C!==null&&Je(ke,C.startTime-W),Z=!1}}break e}finally{de=null,V=re,j=!1}Z=void 0}}finally{Z?se():Qt=!1}}}var se;if(typeof Rt=="function")se=function(){Rt(ht)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,Ke=Re.port2;Re.port1.onmessage=ht,se=function(){Ke.postMessage(null)}}else se=function(){Fe(ht,0)};function Je(W,Z){_t=Fe(function(){W(d.unstable_now())},Z)}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(W){W.callback=null},d.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):it=0<W?Math.floor(1e3/W):5},d.unstable_getCurrentPriorityLevel=function(){return V},d.unstable_next=function(W){switch(V){case 1:case 2:case 3:var Z=3;break;default:Z=V}var re=V;V=Z;try{return W()}finally{V=re}},d.unstable_requestPaint=function(){Xe=!0},d.unstable_runWithPriority=function(W,Z){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var re=V;V=W;try{return Z()}finally{V=re}},d.unstable_scheduleCallback=function(W,Z,re){var ve=d.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?ve+re:ve):re=ve,W){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=re+O,W={id:X++,callback:Z,priorityLevel:W,startTime:re,expirationTime:O,sortIndex:-1},re>ve?(W.sortIndex=re,s(w,W),m(B)===null&&W===m(w)&&(He?(_e(_t),_t=-1):He=!0,Je(ke,re-ve))):(W.sortIndex=O,s(B,W),fe||j||(fe=!0,Qt||(Qt=!0,se()))),W},d.unstable_shouldYield=Ae,d.unstable_wrapCallback=function(W){var Z=V;return function(){var re=V;V=Z;try{return W.apply(this,arguments)}finally{V=re}}}}(
|
|
59
|
+
*/var x1;function Vx(){return x1||(x1=1,function(d){function s(W,Z){var re=W.length;W.push(Z);e:for(;0<re;){var ve=re-1>>>1,O=W[ve];if(0<g(O,Z))W[ve]=Z,W[re]=O,re=ve;else break e}}function m(W){return W.length===0?null:W[0]}function y(W){if(W.length===0)return null;var Z=W[0],re=W.pop();if(re!==Z){W[0]=re;e:for(var ve=0,O=W.length,C=O>>>1;ve<C;){var ie=2*(ve+1)-1,ee=W[ie],Te=ie+1,Le=W[Te];if(0>g(ee,re))Te<O&&0>g(Le,ee)?(W[ve]=Le,W[Te]=re,ve=Te):(W[ve]=ee,W[ie]=re,ve=ie);else if(Te<O&&0>g(Le,re))W[ve]=Le,W[Te]=re,ve=Te;else break e}}return Z}function g(W,Z){var re=W.sortIndex-Z.sortIndex;return re!==0?re:W.id-Z.id}if(d.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;d.unstable_now=function(){return v.now()}}else{var _=Date,R=_.now();d.unstable_now=function(){return _.now()-R}}var B=[],w=[],X=1,de=null,V=3,j=!1,fe=!1,He=!1,Xe=!1,Fe=typeof setTimeout=="function"?setTimeout:null,_e=typeof clearTimeout=="function"?clearTimeout:null,Rt=typeof setImmediate<"u"?setImmediate:null;function vt(W){for(var Z=m(w);Z!==null;){if(Z.callback===null)y(w);else if(Z.startTime<=W)y(w),Z.sortIndex=Z.expirationTime,s(B,Z);else break;Z=m(w)}}function ke(W){if(He=!1,vt(W),!fe)if(m(B)!==null)fe=!0,Qt||(Qt=!0,se());else{var Z=m(w);Z!==null&&Je(ke,Z.startTime-W)}}var Qt=!1,_t=-1,it=5,wt=-1;function Ae(){return Xe?!0:!(d.unstable_now()-wt<it)}function ht(){if(Xe=!1,Qt){var W=d.unstable_now();wt=W;var Z=!0;try{e:{fe=!1,He&&(He=!1,_e(_t),_t=-1),j=!0;var re=V;try{t:{for(vt(W),de=m(B);de!==null&&!(de.expirationTime>W&&Ae());){var ve=de.callback;if(typeof ve=="function"){de.callback=null,V=de.priorityLevel;var O=ve(de.expirationTime<=W);if(W=d.unstable_now(),typeof O=="function"){de.callback=O,vt(W),Z=!0;break t}de===m(B)&&y(B),vt(W)}else y(B);de=m(B)}if(de!==null)Z=!0;else{var C=m(w);C!==null&&Je(ke,C.startTime-W),Z=!1}}break e}finally{de=null,V=re,j=!1}Z=void 0}}finally{Z?se():Qt=!1}}}var se;if(typeof Rt=="function")se=function(){Rt(ht)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,Ke=Re.port2;Re.port1.onmessage=ht,se=function(){Ke.postMessage(null)}}else se=function(){Fe(ht,0)};function Je(W,Z){_t=Fe(function(){W(d.unstable_now())},Z)}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(W){W.callback=null},d.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):it=0<W?Math.floor(1e3/W):5},d.unstable_getCurrentPriorityLevel=function(){return V},d.unstable_next=function(W){switch(V){case 1:case 2:case 3:var Z=3;break;default:Z=V}var re=V;V=Z;try{return W()}finally{V=re}},d.unstable_requestPaint=function(){Xe=!0},d.unstable_runWithPriority=function(W,Z){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var re=V;V=W;try{return Z()}finally{V=re}},d.unstable_scheduleCallback=function(W,Z,re){var ve=d.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?ve+re:ve):re=ve,W){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=re+O,W={id:X++,callback:Z,priorityLevel:W,startTime:re,expirationTime:O,sortIndex:-1},re>ve?(W.sortIndex=re,s(w,W),m(B)===null&&W===m(w)&&(He?(_e(_t),_t=-1):He=!0,Je(ke,re-ve))):(W.sortIndex=O,s(B,W),fe||j||(fe=!0,Qt||(Qt=!0,se()))),W},d.unstable_shouldYield=Ae,d.unstable_wrapCallback=function(W){var Z=V;return function(){var re=V;V=Z;try{return W.apply(this,arguments)}finally{V=re}}}}(Av)),Av}var Rv={},E1;function Lx(){return E1||(E1=1,function(d){var s={};/**
|
|
60
60
|
* @license React
|
|
61
61
|
* scheduler.development.js
|
|
62
62
|
*
|
|
@@ -64,7 +64,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
64
64
|
*
|
|
65
65
|
* This source code is licensed under the MIT license found in the
|
|
66
66
|
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/s.NODE_ENV!=="production"&&function(){function m(){if(Qt=!1,Ae){var Z=d.unstable_now();Re=Z;var re=!0;try{e:{vt=!1,ke&&(ke=!1,it(ht),ht=-1),Rt=!0;var ve=_e;try{t:{for(R(Z),Fe=g(fe);Fe!==null&&!(Fe.expirationTime>Z&&w());){var O=Fe.callback;if(typeof O=="function"){Fe.callback=null,_e=Fe.priorityLevel;var C=O(Fe.expirationTime<=Z);if(Z=d.unstable_now(),typeof C=="function"){Fe.callback=C,R(Z),re=!0;break t}Fe===g(fe)&&v(fe),R(Z)}else v(fe);Fe=g(fe)}if(Fe!==null)re=!0;else{var ie=g(He);ie!==null&&X(B,ie.startTime-Z),re=!1}}break e}finally{Fe=null,_e=ve,Rt=!1}re=void 0}}finally{re?Ke():Ae=!1}}}function y(Z,re){var ve=Z.length;Z.push(re);e:for(;0<ve;){var O=ve-1>>>1,C=Z[O];if(0<_(C,re))Z[O]=re,Z[ve]=C,ve=O;else break e}}function g(Z){return Z.length===0?null:Z[0]}function v(Z){if(Z.length===0)return null;var re=Z[0],ve=Z.pop();if(ve!==re){Z[0]=ve;e:for(var O=0,C=Z.length,ie=C>>>1;O<ie;){var ee=2*(O+1)-1,Te=Z[ee],Le=ee+1,De=Z[Le];if(0>_(Te,ve))Le<C&&0>_(De,Te)?(Z[O]=De,Z[Le]=ve,O=Le):(Z[O]=Te,Z[ee]=ve,O=ee);else if(Le<C&&0>_(De,ve))Z[O]=De,Z[Le]=ve,O=Le;else break e}}return re}function _(Z,re){var ve=Z.sortIndex-re.sortIndex;return ve!==0?ve:Z.id-re.id}function R(Z){for(var re=g(He);re!==null;){if(re.callback===null)v(He);else if(re.startTime<=Z)v(He),re.sortIndex=re.expirationTime,y(fe,re);else break;re=g(He)}}function B(Z){if(ke=!1,R(Z),!vt)if(g(fe)!==null)vt=!0,Ae||(Ae=!0,Ke());else{var re=g(He);re!==null&&X(B,re.startTime-Z)}}function w(){return Qt?!0:!(d.unstable_now()-Re<se)}function X(Z,re){ht=_t(function(){Z(d.unstable_now())},re)}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 de=performance;d.unstable_now=function(){return de.now()}}else{var V=Date,j=V.now();d.unstable_now=function(){return V.now()-j}}var fe=[],He=[],Xe=1,Fe=null,_e=3,Rt=!1,vt=!1,ke=!1,Qt=!1,_t=typeof setTimeout=="function"?setTimeout:null,it=typeof clearTimeout=="function"?clearTimeout:null,wt=typeof setImmediate<"u"?setImmediate:null,Ae=!1,ht=-1,se=5,Re=-1;if(typeof wt=="function")var Ke=function(){wt(m)};else if(typeof MessageChannel<"u"){var Je=new MessageChannel,W=Je.port2;Je.port1.onmessage=m,Ke=function(){W.postMessage(null)}}else Ke=function(){_t(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(Z){Z.callback=null},d.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):se=0<Z?Math.floor(1e3/Z):5},d.unstable_getCurrentPriorityLevel=function(){return _e},d.unstable_next=function(Z){switch(_e){case 1:case 2:case 3:var re=3;break;default:re=_e}var ve=_e;_e=re;try{return Z()}finally{_e=ve}},d.unstable_requestPaint=function(){Qt=!0},d.unstable_runWithPriority=function(Z,re){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var ve=_e;_e=Z;try{return re()}finally{_e=ve}},d.unstable_scheduleCallback=function(Z,re,ve){var O=d.unstable_now();switch(typeof ve=="object"&&ve!==null?(ve=ve.delay,ve=typeof ve=="number"&&0<ve?O+ve:O):ve=O,Z){case 1:var C=-1;break;case 2:C=250;break;case 5:C=1073741823;break;case 4:C=1e4;break;default:C=5e3}return C=ve+C,Z={id:Xe++,callback:re,priorityLevel:Z,startTime:ve,expirationTime:C,sortIndex:-1},ve>O?(Z.sortIndex=ve,y(He,Z),g(fe)===null&&Z===g(He)&&(ke?(it(ht),ht=-1):ke=!0,X(B,ve-O))):(Z.sortIndex=C,y(fe,Z),vt||Rt||(vt=!0,Ae||(Ae=!0,Ke()))),Z},d.unstable_shouldYield=w,d.unstable_wrapCallback=function(Z){var re=_e;return function(){var ve=_e;_e=re;try{return Z.apply(this,arguments)}finally{_e=ve}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(
|
|
67
|
+
*/s.NODE_ENV!=="production"&&function(){function m(){if(Qt=!1,Ae){var Z=d.unstable_now();Re=Z;var re=!0;try{e:{vt=!1,ke&&(ke=!1,it(ht),ht=-1),Rt=!0;var ve=_e;try{t:{for(R(Z),Fe=g(fe);Fe!==null&&!(Fe.expirationTime>Z&&w());){var O=Fe.callback;if(typeof O=="function"){Fe.callback=null,_e=Fe.priorityLevel;var C=O(Fe.expirationTime<=Z);if(Z=d.unstable_now(),typeof C=="function"){Fe.callback=C,R(Z),re=!0;break t}Fe===g(fe)&&v(fe),R(Z)}else v(fe);Fe=g(fe)}if(Fe!==null)re=!0;else{var ie=g(He);ie!==null&&X(B,ie.startTime-Z),re=!1}}break e}finally{Fe=null,_e=ve,Rt=!1}re=void 0}}finally{re?Ke():Ae=!1}}}function y(Z,re){var ve=Z.length;Z.push(re);e:for(;0<ve;){var O=ve-1>>>1,C=Z[O];if(0<_(C,re))Z[O]=re,Z[ve]=C,ve=O;else break e}}function g(Z){return Z.length===0?null:Z[0]}function v(Z){if(Z.length===0)return null;var re=Z[0],ve=Z.pop();if(ve!==re){Z[0]=ve;e:for(var O=0,C=Z.length,ie=C>>>1;O<ie;){var ee=2*(O+1)-1,Te=Z[ee],Le=ee+1,De=Z[Le];if(0>_(Te,ve))Le<C&&0>_(De,Te)?(Z[O]=De,Z[Le]=ve,O=Le):(Z[O]=Te,Z[ee]=ve,O=ee);else if(Le<C&&0>_(De,ve))Z[O]=De,Z[Le]=ve,O=Le;else break e}}return re}function _(Z,re){var ve=Z.sortIndex-re.sortIndex;return ve!==0?ve:Z.id-re.id}function R(Z){for(var re=g(He);re!==null;){if(re.callback===null)v(He);else if(re.startTime<=Z)v(He),re.sortIndex=re.expirationTime,y(fe,re);else break;re=g(He)}}function B(Z){if(ke=!1,R(Z),!vt)if(g(fe)!==null)vt=!0,Ae||(Ae=!0,Ke());else{var re=g(He);re!==null&&X(B,re.startTime-Z)}}function w(){return Qt?!0:!(d.unstable_now()-Re<se)}function X(Z,re){ht=_t(function(){Z(d.unstable_now())},re)}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 de=performance;d.unstable_now=function(){return de.now()}}else{var V=Date,j=V.now();d.unstable_now=function(){return V.now()-j}}var fe=[],He=[],Xe=1,Fe=null,_e=3,Rt=!1,vt=!1,ke=!1,Qt=!1,_t=typeof setTimeout=="function"?setTimeout:null,it=typeof clearTimeout=="function"?clearTimeout:null,wt=typeof setImmediate<"u"?setImmediate:null,Ae=!1,ht=-1,se=5,Re=-1;if(typeof wt=="function")var Ke=function(){wt(m)};else if(typeof MessageChannel<"u"){var Je=new MessageChannel,W=Je.port2;Je.port1.onmessage=m,Ke=function(){W.postMessage(null)}}else Ke=function(){_t(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(Z){Z.callback=null},d.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):se=0<Z?Math.floor(1e3/Z):5},d.unstable_getCurrentPriorityLevel=function(){return _e},d.unstable_next=function(Z){switch(_e){case 1:case 2:case 3:var re=3;break;default:re=_e}var ve=_e;_e=re;try{return Z()}finally{_e=ve}},d.unstable_requestPaint=function(){Qt=!0},d.unstable_runWithPriority=function(Z,re){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var ve=_e;_e=Z;try{return re()}finally{_e=ve}},d.unstable_scheduleCallback=function(Z,re,ve){var O=d.unstable_now();switch(typeof ve=="object"&&ve!==null?(ve=ve.delay,ve=typeof ve=="number"&&0<ve?O+ve:O):ve=O,Z){case 1:var C=-1;break;case 2:C=250;break;case 5:C=1073741823;break;case 4:C=1e4;break;default:C=5e3}return C=ve+C,Z={id:Xe++,callback:re,priorityLevel:Z,startTime:ve,expirationTime:C,sortIndex:-1},ve>O?(Z.sortIndex=ve,y(He,Z),g(fe)===null&&Z===g(He)&&(ke?(it(ht),ht=-1):ke=!0,X(B,ve-O))):(Z.sortIndex=C,y(fe,Z),vt||Rt||(vt=!0,Ae||(Ae=!0,Ke()))),Z},d.unstable_shouldYield=w,d.unstable_wrapCallback=function(Z){var re=_e;return function(){var ve=_e;_e=re;try{return Z.apply(this,arguments)}finally{_e=ve}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(Rv)),Rv}var _1;function w1(){if(_1)return Sg.exports;_1=1;var d={};return d.NODE_ENV==="production"?Sg.exports=Vx():Sg.exports=Lx(),Sg.exports}var Tg={exports:{}},Dn={};/**
|
|
68
68
|
* @license React
|
|
69
69
|
* react-dom.production.js
|
|
70
70
|
*
|
|
@@ -84,7 +84,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
84
84
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
85
85
|
2. You might be breaking the Rules of Hooks
|
|
86
86
|
3. You might have more than one copy of React in the same app
|
|
87
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),V}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B=Gf(),w={d:{f:s,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},X=Symbol.for("react.portal"),de=B.__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"),Mn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,Mn.createPortal=function(V,j){var fe=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!j||j.nodeType!==1&&j.nodeType!==9&&j.nodeType!==11)throw Error("Target container is not a DOM element.");return y(V,j,null,fe)},Mn.flushSync=function(V){var j=de.T,fe=w.p;try{if(de.T=null,w.p=2,V)return V()}finally{de.T=j,w.p=fe,w.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.")}},Mn.preconnect=function(V,j){typeof V=="string"&&V?j!=null&&typeof j!="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.",_(j)):j!=null&&typeof j.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.",v(j.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(V)),typeof V=="string"&&(j?(j=j.crossOrigin,j=typeof j=="string"?j==="use-credentials"?j:"":void 0):j=null,w.d.C(V,j))},Mn.prefetchDNS=function(V){if(typeof V!="string"||!V)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(V));else if(1<arguments.length){var j=arguments[1];typeof j=="object"&&j.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`.",_(j)):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`.",_(j))}typeof V=="string"&&w.d.D(V)},Mn.preinit=function(V,j){if(typeof V=="string"&&V?j==null||typeof j!="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.",_(j)):j.as!=="style"&&j.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".',_(j.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(V)),typeof V=="string"&&j&&typeof j.as=="string"){var fe=j.as,He=g(fe,j.crossOrigin),Xe=typeof j.integrity=="string"?j.integrity:void 0,Fe=typeof j.fetchPriority=="string"?j.fetchPriority:void 0;fe==="style"?w.d.S(V,typeof j.precedence=="string"?j.precedence:void 0,{crossOrigin:He,integrity:Xe,fetchPriority:Fe}):fe==="script"&&w.d.X(V,{crossOrigin:He,integrity:Xe,fetchPriority:Fe,nonce:typeof j.nonce=="string"?j.nonce:void 0})}},Mn.preinitModule=function(V,j){var fe="";if(typeof V=="string"&&V||(fe+=" The `href` argument encountered was "+v(V)+"."),j!==void 0&&typeof j!="object"?fe+=" The `options` argument encountered was "+v(j)+".":j&&"as"in j&&j.as!=="script"&&(fe+=" The `as` option encountered was "+_(j.as)+"."),fe)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",fe);else switch(fe=j&&typeof j.as=="string"?j.as:"script",fe){case"script":break;default:fe=_(fe),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)',fe,V)}typeof V=="string"&&(typeof j=="object"&&j!==null?(j.as==null||j.as==="script")&&(fe=g(j.as,j.crossOrigin),w.d.M(V,{crossOrigin:fe,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0})):j==null&&w.d.M(V))},Mn.preload=function(V,j){var fe="";if(typeof V=="string"&&V||(fe+=" The `href` argument encountered was "+v(V)+"."),j==null||typeof j!="object"?fe+=" The `options` argument encountered was "+v(j)+".":typeof j.as=="string"&&j.as||(fe+=" The `as` option encountered was "+v(j.as)+"."),fe&&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',fe),typeof V=="string"&&typeof j=="object"&&j!==null&&typeof j.as=="string"){fe=j.as;var He=g(fe,j.crossOrigin);w.d.L(V,fe,{crossOrigin:He,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0,type:typeof j.type=="string"?j.type:void 0,fetchPriority:typeof j.fetchPriority=="string"?j.fetchPriority:void 0,referrerPolicy:typeof j.referrerPolicy=="string"?j.referrerPolicy:void 0,imageSrcSet:typeof j.imageSrcSet=="string"?j.imageSrcSet:void 0,imageSizes:typeof j.imageSizes=="string"?j.imageSizes:void 0,media:typeof j.media=="string"?j.media:void 0})}},Mn.preloadModule=function(V,j){var fe="";typeof V=="string"&&V||(fe+=" The `href` argument encountered was "+v(V)+"."),j!==void 0&&typeof j!="object"?fe+=" The `options` argument encountered was "+v(j)+".":j&&"as"in j&&typeof j.as!="string"&&(fe+=" The `as` option encountered was "+v(j.as)+"."),fe&&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',fe),typeof V=="string"&&(j?(fe=g(j.as,j.crossOrigin),w.d.m(V,{as:typeof j.as=="string"&&j.as!=="script"?j.as:void 0,crossOrigin:fe,integrity:typeof j.integrity=="string"?j.integrity:void 0})):w.d.m(V))},Mn.requestFormReset=function(V){w.d.r(V)},Mn.unstable_batchedUpdates=function(V,j){return V(j)},Mn.useFormState=function(V,j,fe){return R().useFormState(V,j,fe)},Mn.useFormStatus=function(){return R().useHostTransitionStatus()},Mn.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),Mn}var O1;function z1(){if(O1)return
|
|
87
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),V}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B=Gf(),w={d:{f:s,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},X=Symbol.for("react.portal"),de=B.__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"),Mn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,Mn.createPortal=function(V,j){var fe=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!j||j.nodeType!==1&&j.nodeType!==9&&j.nodeType!==11)throw Error("Target container is not a DOM element.");return y(V,j,null,fe)},Mn.flushSync=function(V){var j=de.T,fe=w.p;try{if(de.T=null,w.p=2,V)return V()}finally{de.T=j,w.p=fe,w.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.")}},Mn.preconnect=function(V,j){typeof V=="string"&&V?j!=null&&typeof j!="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.",_(j)):j!=null&&typeof j.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.",v(j.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(V)),typeof V=="string"&&(j?(j=j.crossOrigin,j=typeof j=="string"?j==="use-credentials"?j:"":void 0):j=null,w.d.C(V,j))},Mn.prefetchDNS=function(V){if(typeof V!="string"||!V)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(V));else if(1<arguments.length){var j=arguments[1];typeof j=="object"&&j.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`.",_(j)):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`.",_(j))}typeof V=="string"&&w.d.D(V)},Mn.preinit=function(V,j){if(typeof V=="string"&&V?j==null||typeof j!="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.",_(j)):j.as!=="style"&&j.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".',_(j.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(V)),typeof V=="string"&&j&&typeof j.as=="string"){var fe=j.as,He=g(fe,j.crossOrigin),Xe=typeof j.integrity=="string"?j.integrity:void 0,Fe=typeof j.fetchPriority=="string"?j.fetchPriority:void 0;fe==="style"?w.d.S(V,typeof j.precedence=="string"?j.precedence:void 0,{crossOrigin:He,integrity:Xe,fetchPriority:Fe}):fe==="script"&&w.d.X(V,{crossOrigin:He,integrity:Xe,fetchPriority:Fe,nonce:typeof j.nonce=="string"?j.nonce:void 0})}},Mn.preinitModule=function(V,j){var fe="";if(typeof V=="string"&&V||(fe+=" The `href` argument encountered was "+v(V)+"."),j!==void 0&&typeof j!="object"?fe+=" The `options` argument encountered was "+v(j)+".":j&&"as"in j&&j.as!=="script"&&(fe+=" The `as` option encountered was "+_(j.as)+"."),fe)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",fe);else switch(fe=j&&typeof j.as=="string"?j.as:"script",fe){case"script":break;default:fe=_(fe),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)',fe,V)}typeof V=="string"&&(typeof j=="object"&&j!==null?(j.as==null||j.as==="script")&&(fe=g(j.as,j.crossOrigin),w.d.M(V,{crossOrigin:fe,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0})):j==null&&w.d.M(V))},Mn.preload=function(V,j){var fe="";if(typeof V=="string"&&V||(fe+=" The `href` argument encountered was "+v(V)+"."),j==null||typeof j!="object"?fe+=" The `options` argument encountered was "+v(j)+".":typeof j.as=="string"&&j.as||(fe+=" The `as` option encountered was "+v(j.as)+"."),fe&&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',fe),typeof V=="string"&&typeof j=="object"&&j!==null&&typeof j.as=="string"){fe=j.as;var He=g(fe,j.crossOrigin);w.d.L(V,fe,{crossOrigin:He,integrity:typeof j.integrity=="string"?j.integrity:void 0,nonce:typeof j.nonce=="string"?j.nonce:void 0,type:typeof j.type=="string"?j.type:void 0,fetchPriority:typeof j.fetchPriority=="string"?j.fetchPriority:void 0,referrerPolicy:typeof j.referrerPolicy=="string"?j.referrerPolicy:void 0,imageSrcSet:typeof j.imageSrcSet=="string"?j.imageSrcSet:void 0,imageSizes:typeof j.imageSizes=="string"?j.imageSizes:void 0,media:typeof j.media=="string"?j.media:void 0})}},Mn.preloadModule=function(V,j){var fe="";typeof V=="string"&&V||(fe+=" The `href` argument encountered was "+v(V)+"."),j!==void 0&&typeof j!="object"?fe+=" The `options` argument encountered was "+v(j)+".":j&&"as"in j&&typeof j.as!="string"&&(fe+=" The `as` option encountered was "+v(j.as)+"."),fe&&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',fe),typeof V=="string"&&(j?(fe=g(j.as,j.crossOrigin),w.d.m(V,{as:typeof j.as=="string"&&j.as!=="script"?j.as:void 0,crossOrigin:fe,integrity:typeof j.integrity=="string"?j.integrity:void 0})):w.d.m(V))},Mn.requestFormReset=function(V){w.d.r(V)},Mn.unstable_batchedUpdates=function(V,j){return V(j)},Mn.useFormState=function(V,j,fe){return R().useFormState(V,j,fe)},Mn.useFormStatus=function(){return R().useHostTransitionStatus()},Mn.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),Mn}var O1;function z1(){if(O1)return Tg.exports;O1=1;var d={};function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(d.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(m){console.error(m)}}}return d.NODE_ENV==="production"?(s(),Tg.exports=qx()):Tg.exports=Yx(),Tg.exports}/**
|
|
88
88
|
* @license React
|
|
89
89
|
* react-dom-client.production.js
|
|
90
90
|
*
|
|
@@ -92,15 +92,15 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
92
92
|
*
|
|
93
93
|
* This source code is licensed under the MIT license found in the
|
|
94
94
|
* LICENSE file in the root directory of this source tree.
|
|
95
|
-
*/var D1;function Gx(){if(D1)return mm;D1=1;var d=w1(),s=Gf(),m=z1();function y(a){var l="https://react.dev/errors/"+a;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)l+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function v(a){var l=a,i=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,(l.flags&4098)!==0&&(i=l.return),a=l.return;while(a)}return l.tag===3?i:null}function _(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function R(a){if(v(a)!==a)throw Error(y(188))}function B(a){var l=a.alternate;if(!l){if(l=v(a),l===null)throw Error(y(188));return l!==a?null:a}for(var i=a,o=l;;){var f=i.return;if(f===null)break;var h=f.alternate;if(h===null){if(o=f.return,o!==null){i=o;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===i)return R(f),a;if(h===o)return R(f),l;h=h.sibling}throw Error(y(188))}if(i.return!==o.return)i=f,o=h;else{for(var S=!1,T=f.child;T;){if(T===i){S=!0,i=f,o=h;break}if(T===o){S=!0,o=f,i=h;break}T=T.sibling}if(!S){for(T=h.child;T;){if(T===i){S=!0,i=h,o=f;break}if(T===o){S=!0,o=h,i=f;break}T=T.sibling}if(!S)throw Error(y(189))}}if(i.alternate!==o)throw Error(y(190))}if(i.tag!==3)throw Error(y(188));return i.stateNode.current===i?a:l}function w(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a;for(a=a.child;a!==null;){if(l=w(a),l!==null)return l;a=a.sibling}return null}var X=Object.assign,de=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),fe=Symbol.for("react.fragment"),He=Symbol.for("react.strict_mode"),Xe=Symbol.for("react.profiler"),Fe=Symbol.for("react.provider"),_e=Symbol.for("react.consumer"),Rt=Symbol.for("react.context"),vt=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),Qt=Symbol.for("react.suspense_list"),_t=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),wt=Symbol.for("react.activity"),Ae=Symbol.for("react.memo_cache_sentinel"),ht=Symbol.iterator;function se(a){return a===null||typeof a!="object"?null:(a=ht&&a[ht]||a["@@iterator"],typeof a=="function"?a:null)}var Re=Symbol.for("react.client.reference");function Ke(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Re?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case fe:return"Fragment";case Xe:return"Profiler";case He:return"StrictMode";case ke:return"Suspense";case Qt:return"SuspenseList";case wt:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case j:return"Portal";case Rt:return(a.displayName||"Context")+".Provider";case _e:return(a._context.displayName||"Context")+".Consumer";case vt:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case _t:return l=a.displayName||null,l!==null?l:Ke(a.type)||"Memo";case it:l=a._payload,a=a._init;try{return Ke(a(l))}catch{}}return null}var Je=Array.isArray,W=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},ve=[],O=-1;function C(a){return{current:a}}function ie(a){0>O||(a.current=ve[O],ve[O]=null,O--)}function ee(a,l){O++,ve[O]=a.current,a.current=l}var Te=C(null),Le=C(null),De=C(null),$e=C(null);function Ct(a,l){switch(ee(De,l),ee(Le,a),ee(Te,null),l.nodeType){case 9:case 11:a=(a=l.documentElement)&&(a=a.namespaceURI)?Ri(a):0;break;default:if(a=l.tagName,l=l.namespaceURI)l=Ri(l),a=xu(l,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}ie(Te),ee(Te,a)}function Dt(){ie(Te),ie(Le),ie(De)}function ha(a){a.memoizedState!==null&&ee($e,a);var l=Te.current,i=xu(l,a.type);l!==i&&(ee(Le,a),ee(Te,i))}function Fa(a){Le.current===a&&(ie(Te),ie(Le)),$e.current===a&&(ie($e),un._currentValue=re)}var bl=Object.prototype.hasOwnProperty,$i=d.unstable_scheduleCallback,el=d.unstable_cancelCallback,Oo=d.unstable_shouldYield,zo=d.unstable_requestPaint,Bt=d.unstable_now,yi=d.unstable_getCurrentPriorityLevel,Sl=d.unstable_ImmediatePriority,U=d.unstable_UserBlockingPriority,k=d.unstable_NormalPriority,ne=d.unstable_LowPriority,xe=d.unstable_IdlePriority,ge=d.log,me=d.unstable_setDisableYieldValue,ze=null,Qe=null;function pt(a){if(typeof ge=="function"&&me(a),Qe&&typeof Qe.setStrictMode=="function")try{Qe.setStrictMode(ze,a)}catch{}}var Gt=Math.clz32?Math.clz32:Do,pi=Math.log,Sn=Math.LN2;function Do(a){return a>>>=0,a===0?32:31-(pi(a)/Sn|0)|0}var tl=256,Tn=4194304;function Ua(a){var l=a&42;if(l!==0)return l;switch(a&-a){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:case 262144:case 524288:case 1048576:case 2097152:return a&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Ia(a,l,i){var o=a.pendingLanes;if(o===0)return 0;var f=0,h=a.suspendedLanes,S=a.pingedLanes;a=a.warmLanes;var T=o&134217727;return T!==0?(o=T&~h,o!==0?f=Ua(o):(S&=T,S!==0?f=Ua(S):i||(i=T&~a,i!==0&&(f=Ua(i))))):(T=o&~h,T!==0?f=Ua(T):S!==0?f=Ua(S):i||(i=o&~a,i!==0&&(f=Ua(i)))),f===0?0:l!==0&&l!==f&&(l&h)===0&&(h=f&-f,i=l&-l,h>=i||h===32&&(i&4194048)!==0)?l:f}function Cn(a,l){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&l)===0}function x(a,l){switch(a){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 L(){var a=tl;return tl<<=1,(tl&4194048)===0&&(tl=256),a}function he(){var a=Tn;return Tn<<=1,(Tn&62914560)===0&&(Tn=4194304),a}function be(a){for(var l=[],i=0;31>i;i++)l.push(a);return l}function Me(a,l){a.pendingLanes|=l,l!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function mt(a,l,i,o,f,h){var S=a.pendingLanes;a.pendingLanes=i,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=i,a.entangledLanes&=i,a.errorRecoveryDisabledLanes&=i,a.shellSuspendCounter=0;var T=a.entanglements,z=a.expirationTimes,Y=a.hiddenUpdates;for(i=S&~i;0<i;){var le=31-Gt(i),oe=1<<le;T[le]=0,z[le]=-1;var Q=Y[le];if(Q!==null)for(Y[le]=null,le=0;le<Q.length;le++){var F=Q[le];F!==null&&(F.lane&=-536870913)}i&=~oe}o!==0&&tt(a,o,0),h!==0&&f===0&&a.tag!==0&&(a.suspendedLanes|=h&~(S&~l))}function tt(a,l,i){a.pendingLanes|=l,a.suspendedLanes&=~l;var o=31-Gt(l);a.entangledLanes|=l,a.entanglements[o]=a.entanglements[o]|1073741824|i&4194090}function Ot(a,l){var i=a.entangledLanes|=l;for(a=a.entanglements;i;){var o=31-Gt(i),f=1<<o;f&l|a[o]&l&&(a[o]|=l),i&=~f}}function Ie(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function _a(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function gi(){var a=Z.p;return a!==0?a:(a=window.event,a===void 0?32:Y0(a.type))}function Am(a,l){var i=Z.p;try{return Z.p=a,l()}finally{Z.p=i}}var vi=Math.random().toString(36).slice(2),ea="__reactFiber$"+vi,fn="__reactProps$"+vi,Mo="__reactContainer$"+vi,Rm="__reactEvents$"+vi,jg="__reactListeners$"+vi,Bg="__reactHandles$"+vi,us="__reactResources$"+vi,os="__reactMarker$"+vi;function je(a){delete a[ea],delete a[fn],delete a[Rm],delete a[jg],delete a[Bg]}function ku(a){var l=a[ea];if(l)return l;for(var i=a.parentNode;i;){if(l=i[Mo]||i[ea]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(a=mr(a);a!==null;){if(i=a[ea])return i;a=mr(a)}return l}a=i,i=a.parentNode}return null}function Pa(a){if(a=a[ea]||a[Mo]){var l=a.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return a}return null}function Hr(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a.stateNode;throw Error(y(33))}function kr(a){var l=a[us];return l||(l=a[us]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ta(a){a[os]=!0}var Om=new Set,rs={};function Ya(a,l){Co(a,l),Co(a+"Capture",l)}function Co(a,l){for(rs[a]=l,a=0;a<l.length;a++)Om.add(l[a])}var zm=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]*$"),Dm={},Wf={};function Vg(a){return bl.call(Wf,a)?!0:bl.call(Dm,a)?!1:zm.test(a)?Wf[a]=!0:(Dm[a]=!0,!1)}function cs(a,l,i){if(Vg(l))if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":a.removeAttribute(l);return;case"boolean":var o=l.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){a.removeAttribute(l);return}}a.setAttribute(l,""+i)}}function Wi(a,l,i){if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttribute(l,""+i)}}function bi(a,l,i,o){if(o===null)a.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttributeNS(l,i,""+o)}}var Ff,Mm;function Uo(a){if(Ff===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);Ff=l&&l[1]||"",Mm=-1<i.stack.indexOf(`
|
|
95
|
+
*/var D1;function Gx(){if(D1)return mm;D1=1;var d=w1(),s=Gf(),m=z1();function y(a){var l="https://react.dev/errors/"+a;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)l+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function v(a){var l=a,i=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,(l.flags&4098)!==0&&(i=l.return),a=l.return;while(a)}return l.tag===3?i:null}function _(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function R(a){if(v(a)!==a)throw Error(y(188))}function B(a){var l=a.alternate;if(!l){if(l=v(a),l===null)throw Error(y(188));return l!==a?null:a}for(var i=a,o=l;;){var f=i.return;if(f===null)break;var h=f.alternate;if(h===null){if(o=f.return,o!==null){i=o;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===i)return R(f),a;if(h===o)return R(f),l;h=h.sibling}throw Error(y(188))}if(i.return!==o.return)i=f,o=h;else{for(var S=!1,T=f.child;T;){if(T===i){S=!0,i=f,o=h;break}if(T===o){S=!0,o=f,i=h;break}T=T.sibling}if(!S){for(T=h.child;T;){if(T===i){S=!0,i=h,o=f;break}if(T===o){S=!0,o=h,i=f;break}T=T.sibling}if(!S)throw Error(y(189))}}if(i.alternate!==o)throw Error(y(190))}if(i.tag!==3)throw Error(y(188));return i.stateNode.current===i?a:l}function w(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a;for(a=a.child;a!==null;){if(l=w(a),l!==null)return l;a=a.sibling}return null}var X=Object.assign,de=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),fe=Symbol.for("react.fragment"),He=Symbol.for("react.strict_mode"),Xe=Symbol.for("react.profiler"),Fe=Symbol.for("react.provider"),_e=Symbol.for("react.consumer"),Rt=Symbol.for("react.context"),vt=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),Qt=Symbol.for("react.suspense_list"),_t=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),wt=Symbol.for("react.activity"),Ae=Symbol.for("react.memo_cache_sentinel"),ht=Symbol.iterator;function se(a){return a===null||typeof a!="object"?null:(a=ht&&a[ht]||a["@@iterator"],typeof a=="function"?a:null)}var Re=Symbol.for("react.client.reference");function Ke(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===Re?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case fe:return"Fragment";case Xe:return"Profiler";case He:return"StrictMode";case ke:return"Suspense";case Qt:return"SuspenseList";case wt:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case j:return"Portal";case Rt:return(a.displayName||"Context")+".Provider";case _e:return(a._context.displayName||"Context")+".Consumer";case vt:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case _t:return l=a.displayName||null,l!==null?l:Ke(a.type)||"Memo";case it:l=a._payload,a=a._init;try{return Ke(a(l))}catch{}}return null}var Je=Array.isArray,W=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},ve=[],O=-1;function C(a){return{current:a}}function ie(a){0>O||(a.current=ve[O],ve[O]=null,O--)}function ee(a,l){O++,ve[O]=a.current,a.current=l}var Te=C(null),Le=C(null),De=C(null),$e=C(null);function Ct(a,l){switch(ee(De,l),ee(Le,a),ee(Te,null),l.nodeType){case 9:case 11:a=(a=l.documentElement)&&(a=a.namespaceURI)?Ri(a):0;break;default:if(a=l.tagName,l=l.namespaceURI)l=Ri(l),a=xu(l,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}ie(Te),ee(Te,a)}function Dt(){ie(Te),ie(Le),ie(De)}function ha(a){a.memoizedState!==null&&ee($e,a);var l=Te.current,i=xu(l,a.type);l!==i&&(ee(Le,a),ee(Te,i))}function Fa(a){Le.current===a&&(ie(Te),ie(Le)),$e.current===a&&(ie($e),un._currentValue=re)}var bl=Object.prototype.hasOwnProperty,$i=d.unstable_scheduleCallback,el=d.unstable_cancelCallback,Oo=d.unstable_shouldYield,zo=d.unstable_requestPaint,Bt=d.unstable_now,yi=d.unstable_getCurrentPriorityLevel,Sl=d.unstable_ImmediatePriority,U=d.unstable_UserBlockingPriority,k=d.unstable_NormalPriority,ne=d.unstable_LowPriority,xe=d.unstable_IdlePriority,ge=d.log,me=d.unstable_setDisableYieldValue,ze=null,Qe=null;function pt(a){if(typeof ge=="function"&&me(a),Qe&&typeof Qe.setStrictMode=="function")try{Qe.setStrictMode(ze,a)}catch{}}var Gt=Math.clz32?Math.clz32:Do,pi=Math.log,Sn=Math.LN2;function Do(a){return a>>>=0,a===0?32:31-(pi(a)/Sn|0)|0}var tl=256,Tn=4194304;function Ua(a){var l=a&42;if(l!==0)return l;switch(a&-a){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:case 262144:case 524288:case 1048576:case 2097152:return a&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Ia(a,l,i){var o=a.pendingLanes;if(o===0)return 0;var f=0,h=a.suspendedLanes,S=a.pingedLanes;a=a.warmLanes;var T=o&134217727;return T!==0?(o=T&~h,o!==0?f=Ua(o):(S&=T,S!==0?f=Ua(S):i||(i=T&~a,i!==0&&(f=Ua(i))))):(T=o&~h,T!==0?f=Ua(T):S!==0?f=Ua(S):i||(i=o&~a,i!==0&&(f=Ua(i)))),f===0?0:l!==0&&l!==f&&(l&h)===0&&(h=f&-f,i=l&-l,h>=i||h===32&&(i&4194048)!==0)?l:f}function Cn(a,l){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&l)===0}function x(a,l){switch(a){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 L(){var a=tl;return tl<<=1,(tl&4194048)===0&&(tl=256),a}function he(){var a=Tn;return Tn<<=1,(Tn&62914560)===0&&(Tn=4194304),a}function be(a){for(var l=[],i=0;31>i;i++)l.push(a);return l}function Me(a,l){a.pendingLanes|=l,l!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function mt(a,l,i,o,f,h){var S=a.pendingLanes;a.pendingLanes=i,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=i,a.entangledLanes&=i,a.errorRecoveryDisabledLanes&=i,a.shellSuspendCounter=0;var T=a.entanglements,z=a.expirationTimes,Y=a.hiddenUpdates;for(i=S&~i;0<i;){var le=31-Gt(i),oe=1<<le;T[le]=0,z[le]=-1;var Q=Y[le];if(Q!==null)for(Y[le]=null,le=0;le<Q.length;le++){var F=Q[le];F!==null&&(F.lane&=-536870913)}i&=~oe}o!==0&&tt(a,o,0),h!==0&&f===0&&a.tag!==0&&(a.suspendedLanes|=h&~(S&~l))}function tt(a,l,i){a.pendingLanes|=l,a.suspendedLanes&=~l;var o=31-Gt(l);a.entangledLanes|=l,a.entanglements[o]=a.entanglements[o]|1073741824|i&4194090}function Ot(a,l){var i=a.entangledLanes|=l;for(a=a.entanglements;i;){var o=31-Gt(i),f=1<<o;f&l|a[o]&l&&(a[o]|=l),i&=~f}}function Ie(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function _a(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function gi(){var a=Z.p;return a!==0?a:(a=window.event,a===void 0?32:q0(a.type))}function wm(a,l){var i=Z.p;try{return Z.p=a,l()}finally{Z.p=i}}var vi=Math.random().toString(36).slice(2),ea="__reactFiber$"+vi,fn="__reactProps$"+vi,Mo="__reactContainer$"+vi,Am="__reactEvents$"+vi,kg="__reactListeners$"+vi,jg="__reactHandles$"+vi,us="__reactResources$"+vi,os="__reactMarker$"+vi;function je(a){delete a[ea],delete a[fn],delete a[Am],delete a[kg],delete a[jg]}function ku(a){var l=a[ea];if(l)return l;for(var i=a.parentNode;i;){if(l=i[Mo]||i[ea]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(a=mr(a);a!==null;){if(i=a[ea])return i;a=mr(a)}return l}a=i,i=a.parentNode}return null}function Pa(a){if(a=a[ea]||a[Mo]){var l=a.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return a}return null}function Hr(a){var l=a.tag;if(l===5||l===26||l===27||l===6)return a.stateNode;throw Error(y(33))}function kr(a){var l=a[us];return l||(l=a[us]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ta(a){a[os]=!0}var Rm=new Set,rs={};function Ya(a,l){Co(a,l),Co(a+"Capture",l)}function Co(a,l){for(rs[a]=l,a=0;a<l.length;a++)Rm.add(l[a])}var Om=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]*$"),zm={},Wf={};function Bg(a){return bl.call(Wf,a)?!0:bl.call(zm,a)?!1:Om.test(a)?Wf[a]=!0:(zm[a]=!0,!1)}function cs(a,l,i){if(Bg(l))if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":a.removeAttribute(l);return;case"boolean":var o=l.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){a.removeAttribute(l);return}}a.setAttribute(l,""+i)}}function Wi(a,l,i){if(i===null)a.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttribute(l,""+i)}}function bi(a,l,i,o){if(o===null)a.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttributeNS(l,i,""+o)}}var Ff,Dm;function Uo(a){if(Ff===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);Ff=l&&l[1]||"",Dm=-1<i.stack.indexOf(`
|
|
96
96
|
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
97
|
-
`+Ff+a+
|
|
97
|
+
`+Ff+a+Dm}var If=!1;function xn(a,l){if(!a||If)return"";If=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(l){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(F){var Q=F}Reflect.construct(a,[],oe)}else{try{oe.call()}catch(F){Q=F}a.call(oe.prototype)}}else{try{throw Error()}catch(F){Q=F}(oe=a())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(F){if(F&&Q&&typeof F.stack=="string")return[F.stack,Q.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=o.DetermineComponentFrameRoot(),S=h[0],T=h[1];if(S&&T){var z=S.split(`
|
|
98
98
|
`),Y=T.split(`
|
|
99
99
|
`);for(f=o=0;o<z.length&&!z[o].includes("DetermineComponentFrameRoot");)o++;for(;f<Y.length&&!Y[f].includes("DetermineComponentFrameRoot");)f++;if(o===z.length||f===Y.length)for(o=z.length-1,f=Y.length-1;1<=o&&0<=f&&z[o]!==Y[f];)f--;for(;1<=o&&0<=f;o--,f--)if(z[o]!==Y[f]){if(o!==1||f!==1)do if(o--,f--,0>f||z[o]!==Y[f]){var le=`
|
|
100
100
|
`+z[o].replace(" at new "," at ");return a.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",a.displayName)),le}while(1<=o&&0<=f);break}}}finally{If=!1,Error.prepareStackTrace=i}return(i=a?a.displayName||a.name:"")?Uo(i):""}function jr(a){switch(a.tag){case 26:case 27:case 5:return Uo(a.type);case 16:return Uo("Lazy");case 13:return Uo("Suspense");case 19:return Uo("SuspenseList");case 0:case 15:return xn(a.type,!1);case 11:return xn(a.type.render,!1);case 1:return xn(a.type,!0);case 31:return Uo("Activity");default:return""}}function ju(a){try{var l="";do l+=jr(a),a=a.return;while(a);return l}catch(i){return`
|
|
101
101
|
Error generating stack: `+i.message+`
|
|
102
|
-
`+i.stack}}function al(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Br(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Pf(a){var l=Br(a)?"checked":"value",i=Object.getOwnPropertyDescriptor(a.constructor.prototype,l),o=""+a[l];if(!a.hasOwnProperty(l)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var f=i.get,h=i.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return f.call(this)},set:function(S){o=""+S,h.call(this,S)}}),Object.defineProperty(a,l,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(S){o=""+S},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function Vr(a){a._valueTracker||(a._valueTracker=Pf(a))}function Lr(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var i=l.getValue(),o="";return a&&(o=Br(a)?a.checked?"true":"false":a.value),a=o,a!==i?(l.setValue(a),!0):!1}function Fi(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Cm=/[\n"\\]/g;function Tl(a){return a.replace(Cm,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Um(a,l,i,o,f,h,S,T){a.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?a.type=S:a.removeAttribute("type"),l!=null?S==="number"?(l===0&&a.value===""||a.value!=l)&&(a.value=""+al(l)):a.value!==""+al(l)&&(a.value=""+al(l)):S!=="submit"&&S!=="reset"||a.removeAttribute("value"),l!=null?ss(a,S,al(l)):i!=null?ss(a,S,al(i)):o!=null&&a.removeAttribute("value"),f==null&&h!=null&&(a.defaultChecked=!!h),f!=null&&(a.checked=f&&typeof f!="function"&&typeof f!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?a.name=""+al(T):a.removeAttribute("name")}function Nm(a,l,i,o,f,h,S,T){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(a.type=h),l!=null||i!=null){if(!(h!=="submit"&&h!=="reset"||l!=null))return;i=i!=null?""+al(i):"",l=l!=null?""+al(l):i,T||l===a.value||(a.value=l),a.defaultValue=l}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,a.checked=T?a.checked:!!o,a.defaultChecked=!!o,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(a.name=S)}function ss(a,l,i){l==="number"&&Fi(a.ownerDocument)===a||a.defaultValue===""+i||(a.defaultValue=""+i)}function Bu(a,l,i,o){if(a=a.options,l){l={};for(var f=0;f<i.length;f++)l["$"+i[f]]=!0;for(i=0;i<a.length;i++)f=l.hasOwnProperty("$"+a[i].value),a[i].selected!==f&&(a[i].selected=f),f&&o&&(a[i].defaultSelected=!0)}else{for(i=""+al(i),l=null,f=0;f<a.length;f++){if(a[f].value===i){a[f].selected=!0,o&&(a[f].defaultSelected=!0);return}l!==null||a[f].disabled||(l=a[f])}l!==null&&(l.selected=!0)}}function Hm(a,l,i){if(l!=null&&(l=""+al(l),l!==a.value&&(a.value=l),i==null)){a.defaultValue!==l&&(a.defaultValue=l);return}a.defaultValue=i!=null?""+al(i):""}function km(a,l,i,o){if(l==null){if(o!=null){if(i!=null)throw Error(y(92));if(Je(o)){if(1<o.length)throw Error(y(93));o=o[0]}i=o}i==null&&(i=""),l=i}i=al(l),a.defaultValue=i,o=a.textContent,o===i&&o!==""&&o!==null&&(a.value=o)}function No(a,l){if(l){var i=a.firstChild;if(i&&i===a.lastChild&&i.nodeType===3){i.nodeValue=l;return}}a.textContent=l}var Wv=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 jm(a,l,i){var o=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?o?a.setProperty(l,""):l==="float"?a.cssFloat="":a[l]="":o?a.setProperty(l,i):typeof i!="number"||i===0||Wv.has(l)?l==="float"?a.cssFloat=i:a[l]=(""+i).trim():a[l]=i+"px"}function ed(a,l,i){if(l!=null&&typeof l!="object")throw Error(y(62));if(a=a.style,i!=null){for(var o in i)!i.hasOwnProperty(o)||l!=null&&l.hasOwnProperty(o)||(o.indexOf("--")===0?a.setProperty(o,""):o==="float"?a.cssFloat="":a[o]="");for(var f in l)o=l[f],l.hasOwnProperty(f)&&i[f]!==o&&jm(a,f,o)}else for(var h in l)l.hasOwnProperty(h)&&jm(a,h,l[h])}function qr(a){if(a.indexOf("-")===-1)return!1;switch(a){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 fs=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"]]),Fv=/^[\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 ds(a){return Fv.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}var td=null;function Ho(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var ko=null,Yr=null;function Lg(a){var l=Pa(a);if(l&&(a=l.stateNode)){var i=a[fn]||null;e:switch(a=l.stateNode,l.type){case"input":if(Um(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),l=i.name,i.type==="radio"&&l!=null){for(i=a;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Tl(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var o=i[l];if(o!==a&&o.form===a.form){var f=o[fn]||null;if(!f)throw Error(y(90));Um(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(l=0;l<i.length;l++)o=i[l],o.form===a.form&&Lr(o)}break e;case"textarea":Hm(a,i.value,i.defaultValue);break e;case"select":l=i.value,l!=null&&Bu(a,!!i.multiple,l,!1)}}}var Bm=!1;function qg(a,l,i){if(Bm)return a(l,i);Bm=!0;try{var o=a(l);return o}finally{if(Bm=!1,(ko!==null||Yr!==null)&&(nf(),ko&&(l=ko,a=Yr,Yr=ko=null,Lg(l),a)))for(l=0;l<a.length;l++)Lg(a[l])}}function Ii(a,l){var i=a.stateNode;if(i===null)return null;var o=i[fn]||null;if(o===null)return null;i=o[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(a=a.type,o=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!o;break e;default:a=!1}if(a)return null;if(i&&typeof i!="function")throw Error(y(231,l,typeof i));return i}var Vl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ad=!1;if(Vl)try{var Gr={};Object.defineProperty(Gr,"passive",{get:function(){ad=!0}}),window.addEventListener("test",Gr,Gr),window.removeEventListener("test",Gr,Gr)}catch{ad=!1}var xl=null,nd=null,jo=null;function hs(){if(jo)return jo;var a,l=nd,i=l.length,o,f="value"in xl?xl.value:xl.textContent,h=f.length;for(a=0;a<i&&l[a]===f[a];a++);var S=i-a;for(o=1;o<=S&&l[i-o]===f[h-o];o++);return jo=f.slice(a,1<o?1-o:void 0)}function ms(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function en(){return!0}function Yg(){return!1}function dn(a){function l(i,o,f,h,S){this._reactName=i,this._targetInst=f,this.type=o,this.nativeEvent=h,this.target=S,this.currentTarget=null;for(var T in a)a.hasOwnProperty(T)&&(i=a[T],this[T]=i?i(h):h[T]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?en:Yg,this.isPropagationStopped=Yg,this}return X(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=en)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=en)},persist:function(){},isPersistent:en}),l}var Vu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ys=dn(Vu),ps=X({},Vu,{view:0,detail:0}),Iv=dn(ps),ld,Vm,Zr,id=X({},ps,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ud,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Zr&&(Zr&&a.type==="mousemove"?(ld=a.screenX-Zr.screenX,Vm=a.screenY-Zr.screenY):Vm=ld=0,Zr=a),ld)},movementY:function(a){return"movementY"in a?a.movementY:Vm}}),gs=dn(id),Gg=X({},id,{dataTransfer:0}),Zg=dn(Gg),Xg=X({},ps,{relatedTarget:0}),Lm=dn(Xg),Pv=X({},Vu,{animationName:0,elapsedTime:0,pseudoElement:0}),eb=dn(Pv),tb=X({},Vu,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),ab=dn(tb),vs=X({},Vu,{data:0}),qm=dn(vs),Qg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kg={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"},Jg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ym(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=Jg[a])?!!l[a]:!1}function ud(){return Ym}var Bo=X({},ps,{key:function(a){if(a.key){var l=Qg[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=ms(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Kg[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ud,charCode:function(a){return a.type==="keypress"?ms(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ms(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Vo=dn(Bo),Ll=X({},id,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Un=dn(Ll),od=X({},ps,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ud}),rd=dn(od),Gm=X({},Vu,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nn=dn(Gm),$g=X({},id,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),cd=dn($g),Lo=X({},Vu,{newState:0,oldState:0}),Zm=dn(Lo),Wg=[9,13,27,32],sd=Vl&&"CompositionEvent"in window,qo=null;Vl&&"documentMode"in document&&(qo=document.documentMode);var nb=Vl&&"TextEvent"in window&&!qo,fd=Vl&&(!sd||qo&&8<qo&&11>=qo),Si=" ",Xm=!1;function dd(a,l){switch(a){case"keyup":return Wg.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bs(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var El=!1;function Qm(a,l){switch(a){case"compositionend":return bs(l);case"keypress":return l.which!==32?null:(Xm=!0,Si);case"textInput":return a=l.data,a===Si&&Xm?null:a;default:return null}}function Km(a,l){if(El)return a==="compositionend"||!sd&&dd(a,l)?(a=hs(),jo=nd=xl=null,El=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return fd&&l.locale!=="ko"?null:l.data;default:return null}}var Yo={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 Jm(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!Yo[a.type]:l==="textarea"}function hd(a,l,i,o){ko?Yr?Yr.push(o):Yr=[o]:ko=o,l=mo(l,"onChange"),0<l.length&&(i=new ys("onChange","change",null,i,o),a.push({event:i,listeners:l}))}var Go=null,ql=null;function Zo(a){Tu(a,0)}function Xr(a){var l=Hr(a);if(Lr(l))return a}function Lu(a,l){if(a==="change")return l}var $m=!1;if(Vl){var md;if(Vl){var Xo="oninput"in document;if(!Xo){var Qr=document.createElement("div");Qr.setAttribute("oninput","return;"),Xo=typeof Qr.oninput=="function"}md=Xo}else md=!1;$m=md&&(!document.documentMode||9<document.documentMode)}function Wm(){Go&&(Go.detachEvent("onpropertychange",Kr),ql=Go=null)}function Kr(a){if(a.propertyName==="value"&&Xr(ql)){var l=[];hd(l,ql,a,Ho(a)),qg(Zo,l)}}function Fg(a,l,i){a==="focusin"?(Wm(),Go=l,ql=i,Go.attachEvent("onpropertychange",Kr)):a==="focusout"&&Wm()}function yd(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Xr(ql)}function qu(a,l){if(a==="click")return Xr(l)}function Pi(a,l){if(a==="input"||a==="change")return Xr(l)}function Fm(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var En=typeof Object.is=="function"?Object.is:Fm;function eu(a,l){if(En(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var i=Object.keys(a),o=Object.keys(l);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var f=i[o];if(!bl.call(l,f)||!En(a[f],l[f]))return!1}return!0}function Ss(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Yu(a,l){var i=Ss(a);a=0;for(var o;i;){if(i.nodeType===3){if(o=a+i.textContent.length,a<=l&&o>=l)return{node:i,offset:l-a};a=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ss(i)}}function la(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?la(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function Ts(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var l=Fi(a.document);l instanceof a.HTMLIFrameElement;){try{var i=typeof l.contentWindow.location.href=="string"}catch{i=!1}if(i)a=l.contentWindow;else break;l=Fi(a.document)}return l}function pd(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}var Im=Vl&&"documentMode"in document&&11>=document.documentMode,_l=null,Qo=null,nl=null,Jr=!1;function $r(a,l,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Jr||_l==null||_l!==Fi(o)||(o=_l,"selectionStart"in o&&pd(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),nl&&eu(nl,o)||(nl=o,o=mo(Qo,"onSelect"),0<o.length&&(l=new ys("onSelect","select",null,l,i),a.push({event:l,listeners:o}),l.target=_l)))}function tu(a,l){var i={};return i[a.toLowerCase()]=l.toLowerCase(),i["Webkit"+a]="webkit"+l,i["Moz"+a]="moz"+l,i}var Gu={animationend:tu("Animation","AnimationEnd"),animationiteration:tu("Animation","AnimationIteration"),animationstart:tu("Animation","AnimationStart"),transitionrun:tu("Transition","TransitionRun"),transitionstart:tu("Transition","TransitionStart"),transitioncancel:tu("Transition","TransitionCancel"),transitionend:tu("Transition","TransitionEnd")},gd={},Yl={};Vl&&(Yl=document.createElement("div").style,"AnimationEvent"in window||(delete Gu.animationend.animation,delete Gu.animationiteration.animation,delete Gu.animationstart.animation),"TransitionEvent"in window||delete Gu.transitionend.transition);function hn(a){if(gd[a])return gd[a];if(!Gu[a])return a;var l=Gu[a],i;for(i in l)if(l.hasOwnProperty(i)&&i in Yl)return gd[a]=l[i];return a}var xs=hn("animationend"),Ig=hn("animationiteration"),Pm=hn("animationstart"),lb=hn("transitionrun"),ey=hn("transitionstart"),vd=hn("transitioncancel"),ty=hn("transitionend"),ay=new Map,bd="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(" ");bd.push("scrollEnd");function Hn(a,l){ay.set(a,l),Ya(l,[a])}var ny=new WeakMap;function ll(a,l){if(typeof a=="object"&&a!==null){var i=ny.get(a);return i!==void 0?i:(l={value:a,source:l,stack:ju(l)},ny.set(a,l),l)}return{value:a,source:l,stack:ju(l)}}var il=[],Zu=0,Es=0;function Gl(){for(var a=Zu,l=Es=Zu=0;l<a;){var i=il[l];il[l++]=null;var o=il[l];il[l++]=null;var f=il[l];il[l++]=null;var h=il[l];if(il[l++]=null,o!==null&&f!==null){var S=o.pending;S===null?f.next=f:(f.next=S.next,S.next=f),o.pending=f}h!==0&&Wr(i,f,h)}}function Zl(a,l,i,o){il[Zu++]=a,il[Zu++]=l,il[Zu++]=i,il[Zu++]=o,Es|=o,a.lanes|=o,a=a.alternate,a!==null&&(a.lanes|=o)}function Ko(a,l,i,o){return Zl(a,l,i,o),Xu(a)}function au(a,l){return Zl(a,null,null,l),Xu(a)}function Wr(a,l,i){a.lanes|=i;var o=a.alternate;o!==null&&(o.lanes|=i);for(var f=!1,h=a.return;h!==null;)h.childLanes|=i,o=h.alternate,o!==null&&(o.childLanes|=i),h.tag===22&&(a=h.stateNode,a===null||a._visibility&1||(f=!0)),a=h,h=h.return;return a.tag===3?(h=a.stateNode,f&&l!==null&&(f=31-Gt(i),a=h.hiddenUpdates,o=a[f],o===null?a[f]=[l]:o.push(l),l.lane=i|536870912),h):null}function Xu(a){if(50<zc)throw zc=0,uh=null,Error(y(185));for(var l=a.return;l!==null;)a=l,l=a.return;return a.tag===3?a.stateNode:null}var Jo={};function ib(a,l,i,o){this.tag=a,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(a,l,i,o){return new ib(a,l,i,o)}function Sd(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Xl(a,l){var i=a.alternate;return i===null?(i=kn(a.tag,l,a.key,a.mode),i.elementType=a.elementType,i.type=a.type,i.stateNode=a.stateNode,i.alternate=a,a.alternate=i):(i.pendingProps=l,i.type=a.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=a.flags&65011712,i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,l=a.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=a.sibling,i.index=a.index,i.ref=a.ref,i.refCleanup=a.refCleanup,i}function Td(a,l){a.flags&=65011714;var i=a.alternate;return i===null?(a.childLanes=0,a.lanes=l,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,l=i.dependencies,a.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),a}function ct(a,l,i,o,f,h){var S=0;if(o=a,typeof a=="function")Sd(a)&&(S=1);else if(typeof a=="string")S=H0(a,i,Te.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case wt:return a=kn(31,i,l,f),a.elementType=wt,a.lanes=h,a;case fe:return ce(i.children,f,h,l);case He:S=8,f|=24;break;case Xe:return a=kn(12,i,l,f|2),a.elementType=Xe,a.lanes=h,a;case ke:return a=kn(13,i,l,f),a.elementType=ke,a.lanes=h,a;case Qt:return a=kn(19,i,l,f),a.elementType=Qt,a.lanes=h,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Fe:case Rt:S=10;break e;case _e:S=9;break e;case vt:S=11;break e;case _t:S=14;break e;case it:S=16,o=null;break e}S=29,i=Error(y(130,a===null?"null":typeof a,"")),o=null}return l=kn(S,i,l,f),l.elementType=a,l.type=o,l.lanes=h,l}function ce(a,l,i,o){return a=kn(7,a,o,l),a.lanes=i,a}function Qu(a,l,i){return a=kn(6,a,null,l),a.lanes=i,a}function Fr(a,l,i){return l=kn(4,a.children!==null?a.children:[],a.key,l),l.lanes=i,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}var aa=[],Ku=0,Ir=null,_s=0,jn=[],wl=0,nu=null,Ql=1,Kl="";function wa(a,l){aa[Ku++]=_s,aa[Ku++]=Ir,Ir=a,_s=l}function Zt(a,l,i){jn[wl++]=Ql,jn[wl++]=Kl,jn[wl++]=nu,nu=a;var o=Ql;a=Kl;var f=32-Gt(o)-1;o&=~(1<<f),i+=1;var h=32-Gt(l)+f;if(30<h){var S=f-f%5;h=(o&(1<<S)-1).toString(32),o>>=S,f-=S,Ql=1<<32-Gt(l)+f|i<<f|o,Kl=h+a}else Ql=1<<h|i<<f|o,Kl=a}function ws(a){a.return!==null&&(wa(a,1),Zt(a,1,0))}function $o(a){for(;a===Ir;)Ir=aa[--Ku],aa[Ku]=null,_s=aa[--Ku],aa[Ku]=null;for(;a===nu;)nu=jn[--wl],jn[wl]=null,Kl=jn[--wl],jn[wl]=null,Ql=jn[--wl],jn[wl]=null}var pa=null,Jt=null,st=!1,lu=null,_n=!1,As=Error(y(519));function Jl(a){var l=Error(y(418,""));throw tc(ll(l,a)),As}function xd(a){var l=a.stateNode,i=a.type,o=a.memoizedProps;switch(l[ea]=a,l[fn]=o,i){case"dialog":ut("cancel",l),ut("close",l);break;case"iframe":case"object":case"embed":ut("load",l);break;case"video":case"audio":for(i=0;i<Pe.length;i++)ut(Pe[i],l);break;case"source":ut("error",l);break;case"img":case"image":case"link":ut("error",l),ut("load",l);break;case"details":ut("toggle",l);break;case"input":ut("invalid",l),Nm(l,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Vr(l);break;case"select":ut("invalid",l);break;case"textarea":ut("invalid",l),km(l,o.value,o.defaultValue,o.children),Vr(l)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||o.suppressHydrationWarning===!0||C0(l.textContent,i)?(o.popover!=null&&(ut("beforetoggle",l),ut("toggle",l)),o.onScroll!=null&&ut("scroll",l),o.onScrollEnd!=null&&ut("scrollend",l),o.onClick!=null&&(l.onclick=df),l=!0):l=!1,l||Jl(a)}function Rs(a){for(pa=a.return;pa;)switch(pa.tag){case 5:case 13:_n=!1;return;case 27:case 3:_n=!0;return;default:pa=pa.return}}function Pr(a){if(a!==pa)return!1;if(!st)return Rs(a),st=!0,!1;var l=a.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=a.type,i=!(i!=="form"&&i!=="button")||hr(a.type,a.memoizedProps)),i=!i),i&&Jt&&Jl(a),Rs(a),l===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(y(317));e:{for(a=a.nextSibling,l=0;a;){if(a.nodeType===8)if(i=a.data,i==="/$"){if(l===0){Jt=oi(a.nextSibling);break e}l--}else i!=="$"&&i!=="$!"&&i!=="$?"||l++;a=a.nextSibling}Jt=null}}else l===27?(l=Jt,nn(a.type)?(a=Ep,Ep=null,Jt=a):Jt=l):Jt=pa?oi(a.stateNode.nextSibling):null;return!0}function ec(){Jt=pa=null,st=!1}function ly(){var a=lu;return a!==null&&(An===null?An=a:An.push.apply(An,a),lu=null),a}function tc(a){lu===null?lu=[a]:lu.push(a)}var Ed=C(null),iu=null,$l=null;function Ti(a,l,i){ee(Ed,l._currentValue),l._currentValue=i}function xi(a){a._currentValue=Ed.current,ie(Ed)}function _d(a,l,i){for(;a!==null;){var o=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,o!==null&&(o.childLanes|=l)):o!==null&&(o.childLanes&l)!==l&&(o.childLanes|=l),a===i)break;a=a.return}}function wd(a,l,i,o){var f=a.child;for(f!==null&&(f.return=a);f!==null;){var h=f.dependencies;if(h!==null){var S=f.child;h=h.firstContext;e:for(;h!==null;){var T=h;h=f;for(var z=0;z<l.length;z++)if(T.context===l[z]){h.lanes|=i,T=h.alternate,T!==null&&(T.lanes|=i),_d(h.return,i,a),o||(S=null);break e}h=T.next}}else if(f.tag===18){if(S=f.return,S===null)throw Error(y(341));S.lanes|=i,h=S.alternate,h!==null&&(h.lanes|=i),_d(S,i,a),S=null}else S=f.child;if(S!==null)S.return=f;else for(S=f;S!==null;){if(S===a){S=null;break}if(f=S.sibling,f!==null){f.return=S.return,S=f;break}S=S.return}f=S}}function Os(a,l,i,o){a=null;for(var f=l,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var S=f.alternate;if(S===null)throw Error(y(387));if(S=S.memoizedProps,S!==null){var T=f.type;En(f.pendingProps.value,S.value)||(a!==null?a.push(T):a=[T])}}else if(f===$e.current){if(S=f.alternate,S===null)throw Error(y(387));S.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(a!==null?a.push(un):a=[un])}f=f.return}a!==null&&wd(l,a,i,o),l.flags|=262144}function zs(a){for(a=a.firstContext;a!==null;){if(!En(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Ju(a){iu=a,$l=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function tn(a){return iy(iu,a)}function ac(a,l){return iu===null&&Ju(a),iy(a,l)}function iy(a,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},$l===null){if(a===null)throw Error(y(308));$l=l,a.dependencies={lanes:0,firstContext:l},a.flags|=524288}else $l=$l.next=l;return i}var Pg=typeof AbortController<"u"?AbortController:function(){var a=[],l=this.signal={aborted:!1,addEventListener:function(i,o){a.push(o)}};this.abort=function(){l.aborted=!0,a.forEach(function(i){return i()})}},nc=d.unstable_scheduleCallback,Ad=d.unstable_NormalPriority,Aa={$$typeof:Rt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function uy(){return{controller:new Pg,data:new Map,refCount:0}}function $u(a){a.refCount--,a.refCount===0&&nc(Ad,function(){a.controller.abort()})}var Ei=null,lc=0,Wu=0,Al=null;function Bn(a,l){if(Ei===null){var i=Ei=[];lc=0,Wu=ph(),Al={status:"pending",value:void 0,then:function(o){i.push(o)}}}return lc++,l.then(Ds,Ds),l}function Ds(){if(--lc===0&&Ei!==null){Al!==null&&(Al.status="fulfilled");var a=Ei;Ei=null,Wu=0,Al=null;for(var l=0;l<a.length;l++)(0,a[l])()}}function oy(a,l){var i=[],o={status:"pending",value:null,reason:null,then:function(f){i.push(f)}};return a.then(function(){o.status="fulfilled",o.value=l;for(var f=0;f<i.length;f++)(0,i[f])(l)},function(f){for(o.status="rejected",o.reason=f,f=0;f<i.length;f++)(0,i[f])(void 0)}),o}var ry=W.S;W.S=function(a,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&Bn(a,l),ry!==null&&ry(a,l)};var uu=C(null);function ic(){var a=uu.current;return a!==null?a:Wt.pooledCache}function uc(a,l){l===null?ee(uu,uu.current):ee(uu,l.pool)}function Ms(){var a=ic();return a===null?null:{parent:Aa._currentValue,pool:a}}var Wo=Error(y(460)),Cs=Error(y(474)),oc=Error(y(542)),Rd={then:function(){}};function cy(a){return a=a.status,a==="fulfilled"||a==="rejected"}function rc(){}function sy(a,l,i){switch(i=a[i],i===void 0?a.push(l):i!==l&&(l.then(rc,rc),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,fy(a),a;default:if(typeof l.status=="string")l.then(rc,rc);else{if(a=Wt,a!==null&&100<a.shellSuspendCounter)throw Error(y(482));a=l,a.status="pending",a.then(function(o){if(l.status==="pending"){var f=l;f.status="fulfilled",f.value=o}},function(o){if(l.status==="pending"){var f=l;f.status="rejected",f.reason=o}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,fy(a),a}throw cc=l,Wo}}var cc=null;function Od(){if(cc===null)throw Error(y(459));var a=cc;return cc=null,a}function fy(a){if(a===Wo||a===oc)throw Error(y(483))}var ou=!1;function Us(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zd(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ru(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Vn(a,l,i){var o=a.updateQueue;if(o===null)return null;if(o=o.shared,(Xt&2)!==0){var f=o.pending;return f===null?l.next=l:(l.next=f.next,f.next=l),o.pending=l,l=Xu(a),Wr(a,null,i),l}return Zl(a,o,l,i),Xu(a)}function Fo(a,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var o=l.lanes;o&=a.pendingLanes,i|=o,l.lanes=i,Ot(a,i)}}function Ns(a,l){var i=a.updateQueue,o=a.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var f=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};h===null?f=h=S:h=h.next=S,i=i.next}while(i!==null);h===null?f=h=l:h=h.next=l}else f=h=l;i={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:o.shared,callbacks:o.callbacks},a.updateQueue=i;return}a=i.lastBaseUpdate,a===null?i.firstBaseUpdate=l:a.next=l,i.lastBaseUpdate=l}var dy=!1;function Hs(){if(dy){var a=Al;if(a!==null)throw a}}function sc(a,l,i,o){dy=!1;var f=a.updateQueue;ou=!1;var h=f.firstBaseUpdate,S=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var z=T,Y=z.next;z.next=null,S===null?h=Y:S.next=Y,S=z;var le=a.alternate;le!==null&&(le=le.updateQueue,T=le.lastBaseUpdate,T!==S&&(T===null?le.firstBaseUpdate=Y:T.next=Y,le.lastBaseUpdate=z))}if(h!==null){var oe=f.baseState;S=0,le=Y=z=null,T=h;do{var Q=T.lane&-536870913,F=Q!==T.lane;if(F?(Mt&Q)===Q:(o&Q)===Q){Q!==0&&Q===Wu&&(dy=!0),le!==null&&(le=le.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});e:{var Ge=a,Ye=T;Q=l;var qt=i;switch(Ye.tag){case 1:if(Ge=Ye.payload,typeof Ge=="function"){oe=Ge.call(qt,oe,Q);break e}oe=Ge;break e;case 3:Ge.flags=Ge.flags&-65537|128;case 0:if(Ge=Ye.payload,Q=typeof Ge=="function"?Ge.call(qt,oe,Q):Ge,Q==null)break e;oe=X({},oe,Q);break e;case 2:ou=!0}}Q=T.callback,Q!==null&&(a.flags|=64,F&&(a.flags|=8192),F=f.callbacks,F===null?f.callbacks=[Q]:F.push(Q))}else F={lane:Q,tag:T.tag,payload:T.payload,callback:T.callback,next:null},le===null?(Y=le=F,z=oe):le=le.next=F,S|=Q;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;F=T,T=F.next,F.next=null,f.lastBaseUpdate=F,f.shared.pending=null}}while(!0);le===null&&(z=oe),f.baseState=z,f.firstBaseUpdate=Y,f.lastBaseUpdate=le,h===null&&(f.shared.lanes=0),uo|=S,a.lanes=S,a.memoizedState=oe}}function fc(a,l){if(typeof a!="function")throw Error(y(191,a));a.call(l)}function Dd(a,l){var i=a.callbacks;if(i!==null)for(a.callbacks=null,a=0;a<i.length;a++)fc(i[a],l)}var cu=C(null),ks=C(0);function hy(a,l){a=vu,ee(ks,a),ee(cu,l),vu=a|l.baseLanes}function Na(){ee(ks,vu),ee(cu,cu.current)}function dc(){vu=ks.current,ie(cu),ie(ks)}var Wl=0,at=null,Vt=null,ma=null,Io=!1,Po=!1,Ln=!1,js=0,Rl=0,qn=null,Md=0;function ya(){throw Error(y(321))}function Bs(a,l){if(l===null)return!1;for(var i=0;i<l.length&&i<a.length;i++)if(!En(a[i],l[i]))return!1;return!0}function Cd(a,l,i,o,f,h){return Wl=h,at=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,W.H=a===null||a.memoizedState===null?o0:Cy,Ln=!1,h=i(o,f),Ln=!1,Po&&(h=Fu(l,i,o,f)),my(a),h}function my(a){W.H=Js;var l=Vt!==null&&Vt.next!==null;if(Wl=0,ma=Vt=at=null,Io=!1,Rl=0,qn=null,l)throw Error(y(300));a===null||bt||(a=a.dependencies,a!==null&&zs(a)&&(bt=!0))}function Fu(a,l,i,o){at=a;var f=0;do{if(Po&&(qn=null),Rl=0,Po=!1,25<=f)throw Error(y(301));if(f+=1,ma=Vt=null,a.updateQueue!=null){var h=a.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}W.H=r0,h=l(i,o)}while(Po);return h}function e0(){var a=W.H,l=a.useState()[0];return l=typeof l.then=="function"?er(l):l,a=a.useState()[0],(Vt!==null?Vt.memoizedState:null)!==a&&(at.flags|=1024),l}function Ud(){var a=js!==0;return js=0,a}function Nd(a,l,i){l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~i}function hc(a){if(Io){for(a=a.memoizedState;a!==null;){var l=a.queue;l!==null&&(l.pending=null),a=a.next}Io=!1}Wl=0,ma=Vt=at=null,Po=!1,Rl=js=0,qn=null}function wn(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ma===null?at.memoizedState=ma=a:ma=ma.next=a,ma}function ga(){if(Vt===null){var a=at.alternate;a=a!==null?a.memoizedState:null}else a=Vt.next;var l=ma===null?at.memoizedState:ma.next;if(l!==null)ma=l,Vt=a;else{if(a===null)throw at.alternate===null?Error(y(467)):Error(y(310));Vt=a,a={memoizedState:Vt.memoizedState,baseState:Vt.baseState,baseQueue:Vt.baseQueue,queue:Vt.queue,next:null},ma===null?at.memoizedState=ma=a:ma=ma.next=a}return ma}function Vs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function er(a){var l=Rl;return Rl+=1,qn===null&&(qn=[]),a=sy(qn,a,l),l=at,(ma===null?l.memoizedState:ma.next)===null&&(l=l.alternate,W.H=l===null||l.memoizedState===null?o0:Cy),a}function Hd(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return er(a);if(a.$$typeof===Rt)return tn(a)}throw Error(y(438,String(a)))}function Ha(a){var l=null,i=at.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var o=at.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(l={data:o.data.map(function(f){return f.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Vs(),at.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(a),o=0;o<a;o++)i[o]=Ae;return l.index++,i}function _i(a,l){return typeof l=="function"?l(a):l}function Ls(a){var l=ga();return kd(l,Vt,a)}function kd(a,l,i){var o=a.queue;if(o===null)throw Error(y(311));o.lastRenderedReducer=i;var f=a.baseQueue,h=o.pending;if(h!==null){if(f!==null){var S=f.next;f.next=h.next,h.next=S}l.baseQueue=f=h,o.pending=null}if(h=a.baseState,f===null)a.memoizedState=h;else{l=f.next;var T=S=null,z=null,Y=l,le=!1;do{var oe=Y.lane&-536870913;if(oe!==Y.lane?(Mt&oe)===oe:(Wl&oe)===oe){var Q=Y.revertLane;if(Q===0)z!==null&&(z=z.next={lane:0,revertLane:0,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),oe===Wu&&(le=!0);else if((Wl&Q)===Q){Y=Y.next,Q===Wu&&(le=!0);continue}else oe={lane:0,revertLane:Y.revertLane,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},z===null?(T=z=oe,S=h):z=z.next=oe,at.lanes|=Q,uo|=Q;oe=Y.action,Ln&&i(h,oe),h=Y.hasEagerState?Y.eagerState:i(h,oe)}else Q={lane:oe,revertLane:Y.revertLane,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},z===null?(T=z=Q,S=h):z=z.next=Q,at.lanes|=oe,uo|=oe;Y=Y.next}while(Y!==null&&Y!==l);if(z===null?S=h:z.next=T,!En(h,a.memoizedState)&&(bt=!0,le&&(i=Al,i!==null)))throw i;a.memoizedState=h,a.baseState=S,a.baseQueue=z,o.lastRenderedState=h}return f===null&&(o.lanes=0),[a.memoizedState,o.dispatch]}function jd(a){var l=ga(),i=l.queue;if(i===null)throw Error(y(311));i.lastRenderedReducer=a;var o=i.dispatch,f=i.pending,h=l.memoizedState;if(f!==null){i.pending=null;var S=f=f.next;do h=a(h,S.action),S=S.next;while(S!==f);En(h,l.memoizedState)||(bt=!0),l.memoizedState=h,l.baseQueue===null&&(l.baseState=h),i.lastRenderedState=h}return[h,o]}function yy(a,l,i){var o=at,f=ga(),h=st;if(h){if(i===void 0)throw Error(y(407));i=i()}else i=l();var S=!En((Vt||f).memoizedState,i);S&&(f.memoizedState=i,bt=!0),f=f.queue;var T=py.bind(null,o,f,a);if(su(2048,8,T,[a]),f.getSnapshot!==l||S||ma!==null&&ma.memoizedState.tag&1){if(o.flags|=2048,Iu(9,Ol(),Bd.bind(null,o,f,i,l),null),Wt===null)throw Error(y(349));h||(Wl&124)!==0||qs(o,l,i)}return i}function qs(a,l,i){a.flags|=16384,a={getSnapshot:l,value:i},l=at.updateQueue,l===null?(l=Vs(),at.updateQueue=l,l.stores=[a]):(i=l.stores,i===null?l.stores=[a]:i.push(a))}function Bd(a,l,i,o){l.value=i,l.getSnapshot=o,gy(l)&&vy(a)}function py(a,l,i){return i(function(){gy(l)&&vy(a)})}function gy(a){var l=a.getSnapshot;a=a.value;try{var i=l();return!En(a,i)}catch{return!0}}function vy(a){var l=au(a,2);l!==null&&$n(l,a,2)}function Ys(a){var l=wn();if(typeof a=="function"){var i=a;if(a=i(),Ln){pt(!0);try{i()}finally{pt(!1)}}}return l.memoizedState=l.baseState=a,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:a},l}function Vd(a,l,i,o){return a.baseState=i,kd(a,Vt,typeof o=="function"?o:_i)}function by(a,l,i,o,f){if(pc(a))throw Error(y(485));if(a=l.action,a!==null){var h={payload:f,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){h.listeners.push(S)}};W.T!==null?i(!0):h.isTransition=!1,o(h),i=l.pending,i===null?(h.next=l.pending=h,Sy(l,h)):(h.next=i.next,l.pending=i.next=h)}}function Sy(a,l){var i=l.action,o=l.payload,f=a.state;if(l.isTransition){var h=W.T,S={};W.T=S;try{var T=i(f,o),z=W.S;z!==null&&z(S,T),Ld(a,l,T)}catch(Y){Zs(a,l,Y)}finally{W.T=h}}else try{h=i(f,o),Ld(a,l,h)}catch(Y){Zs(a,l,Y)}}function Ld(a,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(o){Gs(a,l,o)},function(o){return Zs(a,l,o)}):Gs(a,l,i)}function Gs(a,l,i){l.status="fulfilled",l.value=i,Ty(l),a.state=i,l=a.pending,l!==null&&(i=l.next,i===l?a.pending=null:(i=i.next,l.next=i,Sy(a,i)))}function Zs(a,l,i){var o=a.pending;if(a.pending=null,o!==null){o=o.next;do l.status="rejected",l.reason=i,Ty(l),l=l.next;while(l!==o)}a.action=null}function Ty(a){a=a.listeners;for(var l=0;l<a.length;l++)(0,a[l])()}function xy(a,l){return l}function qd(a,l){if(st){var i=Wt.formState;if(i!==null){e:{var o=at;if(st){if(Jt){t:{for(var f=Jt,h=_n;f.nodeType!==8;){if(!h){f=null;break t}if(f=oi(f.nextSibling),f===null){f=null;break t}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){Jt=oi(f.nextSibling),o=f.data==="F!";break e}}Jl(o)}o=!1}o&&(l=i[0])}}return i=wn(),i.memoizedState=i.baseState=l,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xy,lastRenderedState:l},i.queue=o,i=Zd.bind(null,at,o),o.dispatch=i,o=Ys(!1),h=Qs.bind(null,at,!1,o.queue),o=wn(),f={state:l,dispatch:null,action:a,pending:null},o.queue=f,i=by.bind(null,at,f,h,i),f.dispatch=i,o.memoizedState=a,[l,i,!1]}function Ey(a){var l=ga();return wi(l,Vt,a)}function wi(a,l,i){if(l=kd(a,l,xy)[0],a=Ls(_i)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var o=er(l)}catch(S){throw S===Wo?oc:S}else o=l;l=ga();var f=l.queue,h=f.dispatch;return i!==l.memoizedState&&(at.flags|=2048,Iu(9,Ol(),_y.bind(null,f,i),null)),[o,h,a]}function _y(a,l){a.action=l}function t0(a){var l=ga(),i=Vt;if(i!==null)return wi(l,i,a);ga(),l=l.memoizedState,i=ga();var o=i.queue.dispatch;return i.memoizedState=a,[l,o,!1]}function Iu(a,l,i,o){return a={tag:a,create:i,deps:o,inst:l,next:null},l=at.updateQueue,l===null&&(l=Vs(),at.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=a.next=a:(o=i.next,i.next=a,a.next=o,l.lastEffect=a),a}function Ol(){return{destroy:void 0,resource:void 0}}function wy(){return ga().memoizedState}function tr(a,l,i,o){var f=wn();o=o===void 0?null:o,at.flags|=a,f.memoizedState=Iu(1|l,Ol(),i,o)}function su(a,l,i,o){var f=ga();o=o===void 0?null:o;var h=f.memoizedState.inst;Vt!==null&&o!==null&&Bs(o,Vt.memoizedState.deps)?f.memoizedState=Iu(l,h,i,o):(at.flags|=a,f.memoizedState=Iu(1|l,h,i,o))}function ia(a,l){tr(8390656,8,a,l)}function a0(a,l){su(2048,8,a,l)}function n0(a,l){return su(4,2,a,l)}function Ay(a,l){return su(4,4,a,l)}function Fl(a,l){if(typeof l=="function"){a=a();var i=l(a);return function(){typeof i=="function"?i():l(null)}}if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function Ry(a,l,i){i=i!=null?i.concat([a]):null,su(4,4,Fl.bind(null,l,a),i)}function Xs(){}function mc(a,l){var i=ga();l=l===void 0?null:l;var o=i.memoizedState;return l!==null&&Bs(l,o[1])?o[0]:(i.memoizedState=[a,l],a)}function ar(a,l){var i=ga();l=l===void 0?null:l;var o=i.memoizedState;if(l!==null&&Bs(l,o[1]))return o[0];if(o=a(),Ln){pt(!0);try{a()}finally{pt(!1)}}return i.memoizedState=[o,l],o}function Yd(a,l,i){return i===void 0||(Wl&1073741824)!==0?a.memoizedState=l:(a.memoizedState=i,a=S0(),at.lanes|=a,uo|=a,i)}function Gd(a,l,i,o){return En(i,l)?i:cu.current!==null?(a=Yd(a,i,o),En(a,l)||(bt=!0),a):(Wl&42)===0?(bt=!0,a.memoizedState=i):(a=S0(),at.lanes|=a,uo|=a,l)}function Oy(a,l,i,o,f){var h=Z.p;Z.p=h!==0&&8>h?h:8;var S=W.T,T={};W.T=T,Qs(a,!1,l,i);try{var z=f(),Y=W.S;if(Y!==null&&Y(T,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var le=oy(z,o);yc(a,l,le,sl(a))}else yc(a,l,o,sl(a))}catch(oe){yc(a,l,{then:function(){},status:"rejected",reason:oe},sl())}finally{Z.p=h,W.T=S}}function ub(){}function zy(a,l,i,o){if(a.tag!==5)throw Error(y(476));var f=Dy(a).queue;Oy(a,f,l,re,i===null?ub:function(){return l0(a),i(o)})}function Dy(a){var l=a.memoizedState;if(l!==null)return l;l={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:re},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:i},next:null},a.memoizedState=l,a=a.alternate,a!==null&&(a.memoizedState=l),l}function l0(a){var l=Dy(a).next.queue;yc(a,l,{},sl())}function nr(){return tn(un)}function Il(){return ga().memoizedState}function My(){return ga().memoizedState}function ob(a){for(var l=a.return;l!==null;){switch(l.tag){case 24:case 3:var i=sl();a=ru(i);var o=Vn(l,a,i);o!==null&&($n(o,l,i),Fo(o,l,i)),l={cache:uy()},a.payload=l;return}l=l.return}}function i0(a,l,i){var o=sl();i={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null},pc(a)?Ks(l,i):(i=Ko(a,l,i,o),i!==null&&($n(i,a,o),u0(i,l,o)))}function Zd(a,l,i){var o=sl();yc(a,l,i,o)}function yc(a,l,i,o){var f={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null};if(pc(a))Ks(l,f);else{var h=a.alternate;if(a.lanes===0&&(h===null||h.lanes===0)&&(h=l.lastRenderedReducer,h!==null))try{var S=l.lastRenderedState,T=h(S,i);if(f.hasEagerState=!0,f.eagerState=T,En(T,S))return Zl(a,l,f,0),Wt===null&&Gl(),!1}catch{}finally{}if(i=Ko(a,l,f,o),i!==null)return $n(i,a,o),u0(i,l,o),!0}return!1}function Qs(a,l,i,o){if(o={lane:2,revertLane:ph(),action:o,hasEagerState:!1,eagerState:null,next:null},pc(a)){if(l)throw Error(y(479))}else l=Ko(a,i,o,2),l!==null&&$n(l,a,2)}function pc(a){var l=a.alternate;return a===at||l!==null&&l===at}function Ks(a,l){Po=Io=!0;var i=a.pending;i===null?l.next=l:(l.next=i.next,i.next=l),a.pending=l}function u0(a,l,i){if((i&4194048)!==0){var o=l.lanes;o&=a.pendingLanes,i|=o,l.lanes=i,Ot(a,i)}}var Js={readContext:tn,use:Hd,useCallback:ya,useContext:ya,useEffect:ya,useImperativeHandle:ya,useLayoutEffect:ya,useInsertionEffect:ya,useMemo:ya,useReducer:ya,useRef:ya,useState:ya,useDebugValue:ya,useDeferredValue:ya,useTransition:ya,useSyncExternalStore:ya,useId:ya,useHostTransitionStatus:ya,useFormState:ya,useActionState:ya,useOptimistic:ya,useMemoCache:ya,useCacheRefresh:ya},o0={readContext:tn,use:Hd,useCallback:function(a,l){return wn().memoizedState=[a,l===void 0?null:l],a},useContext:tn,useEffect:ia,useImperativeHandle:function(a,l,i){i=i!=null?i.concat([a]):null,tr(4194308,4,Fl.bind(null,l,a),i)},useLayoutEffect:function(a,l){return tr(4194308,4,a,l)},useInsertionEffect:function(a,l){tr(4,2,a,l)},useMemo:function(a,l){var i=wn();l=l===void 0?null:l;var o=a();if(Ln){pt(!0);try{a()}finally{pt(!1)}}return i.memoizedState=[o,l],o},useReducer:function(a,l,i){var o=wn();if(i!==void 0){var f=i(l);if(Ln){pt(!0);try{i(l)}finally{pt(!1)}}}else f=l;return o.memoizedState=o.baseState=f,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:f},o.queue=a,a=a.dispatch=i0.bind(null,at,a),[o.memoizedState,a]},useRef:function(a){var l=wn();return a={current:a},l.memoizedState=a},useState:function(a){a=Ys(a);var l=a.queue,i=Zd.bind(null,at,l);return l.dispatch=i,[a.memoizedState,i]},useDebugValue:Xs,useDeferredValue:function(a,l){var i=wn();return Yd(i,a,l)},useTransition:function(){var a=Ys(!1);return a=Oy.bind(null,at,a.queue,!0,!1),wn().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,l,i){var o=at,f=wn();if(st){if(i===void 0)throw Error(y(407));i=i()}else{if(i=l(),Wt===null)throw Error(y(349));(Mt&124)!==0||qs(o,l,i)}f.memoizedState=i;var h={value:i,getSnapshot:l};return f.queue=h,ia(py.bind(null,o,h,a),[a]),o.flags|=2048,Iu(9,Ol(),Bd.bind(null,o,h,i,l),null),i},useId:function(){var a=wn(),l=Wt.identifierPrefix;if(st){var i=Kl,o=Ql;i=(o&~(1<<32-Gt(o)-1)).toString(32)+i,l="«"+l+"R"+i,i=js++,0<i&&(l+="H"+i.toString(32)),l+="»"}else i=Md++,l="«"+l+"r"+i.toString(32)+"»";return a.memoizedState=l},useHostTransitionStatus:nr,useFormState:qd,useActionState:qd,useOptimistic:function(a){var l=wn();l.memoizedState=l.baseState=a;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=Qs.bind(null,at,!0,i),i.dispatch=l,[a,l]},useMemoCache:Ha,useCacheRefresh:function(){return wn().memoizedState=ob.bind(null,at)}},Cy={readContext:tn,use:Hd,useCallback:mc,useContext:tn,useEffect:a0,useImperativeHandle:Ry,useInsertionEffect:n0,useLayoutEffect:Ay,useMemo:ar,useReducer:Ls,useRef:wy,useState:function(){return Ls(_i)},useDebugValue:Xs,useDeferredValue:function(a,l){var i=ga();return Gd(i,Vt.memoizedState,a,l)},useTransition:function(){var a=Ls(_i)[0],l=ga().memoizedState;return[typeof a=="boolean"?a:er(a),l]},useSyncExternalStore:yy,useId:Il,useHostTransitionStatus:nr,useFormState:Ey,useActionState:Ey,useOptimistic:function(a,l){var i=ga();return Vd(i,Vt,a,l)},useMemoCache:Ha,useCacheRefresh:My},r0={readContext:tn,use:Hd,useCallback:mc,useContext:tn,useEffect:a0,useImperativeHandle:Ry,useInsertionEffect:n0,useLayoutEffect:Ay,useMemo:ar,useReducer:jd,useRef:wy,useState:function(){return jd(_i)},useDebugValue:Xs,useDeferredValue:function(a,l){var i=ga();return Vt===null?Yd(i,a,l):Gd(i,Vt.memoizedState,a,l)},useTransition:function(){var a=jd(_i)[0],l=ga().memoizedState;return[typeof a=="boolean"?a:er(a),l]},useSyncExternalStore:yy,useId:Il,useHostTransitionStatus:nr,useFormState:t0,useActionState:t0,useOptimistic:function(a,l){var i=ga();return Vt!==null?Vd(i,Vt,a,l):(i.baseState=a,[a,i.queue.dispatch])},useMemoCache:Ha,useCacheRefresh:My},Yn=null,gc=0;function $s(a){var l=gc;return gc+=1,Yn===null&&(Yn=[]),sy(Yn,a,l)}function Ws(a,l){l=l.props.ref,a.ref=l!==void 0?l:null}function vc(a,l){throw l.$$typeof===de?Error(y(525)):(a=Object.prototype.toString.call(l),Error(y(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a)))}function Gn(a){var l=a._init;return l(a._payload)}function Uy(a){function l(q,H){if(a){var G=q.deletions;G===null?(q.deletions=[H],q.flags|=16):G.push(H)}}function i(q,H){if(!a)return null;for(;H!==null;)l(q,H),H=H.sibling;return null}function o(q){for(var H=new Map;q!==null;)q.key!==null?H.set(q.key,q):H.set(q.index,q),q=q.sibling;return H}function f(q,H){return q=Xl(q,H),q.index=0,q.sibling=null,q}function h(q,H,G){return q.index=G,a?(G=q.alternate,G!==null?(G=G.index,G<H?(q.flags|=67108866,H):G):(q.flags|=67108866,H)):(q.flags|=1048576,H)}function S(q){return a&&q.alternate===null&&(q.flags|=67108866),q}function T(q,H,G,ue){return H===null||H.tag!==6?(H=Qu(G,q.mode,ue),H.return=q,H):(H=f(H,G),H.return=q,H)}function z(q,H,G,ue){var Oe=G.type;return Oe===fe?le(q,H,G.props.children,ue,G.key):H!==null&&(H.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===it&&Gn(Oe)===H.type)?(H=f(H,G.props),Ws(H,G),H.return=q,H):(H=ct(G.type,G.key,G.props,null,q.mode,ue),Ws(H,G),H.return=q,H)}function Y(q,H,G,ue){return H===null||H.tag!==4||H.stateNode.containerInfo!==G.containerInfo||H.stateNode.implementation!==G.implementation?(H=Fr(G,q.mode,ue),H.return=q,H):(H=f(H,G.children||[]),H.return=q,H)}function le(q,H,G,ue,Oe){return H===null||H.tag!==7?(H=ce(G,q.mode,ue,Oe),H.return=q,H):(H=f(H,G),H.return=q,H)}function oe(q,H,G){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Qu(""+H,q.mode,G),H.return=q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case V:return G=ct(H.type,H.key,H.props,null,q.mode,G),Ws(G,H),G.return=q,G;case j:return H=Fr(H,q.mode,G),H.return=q,H;case it:var ue=H._init;return H=ue(H._payload),oe(q,H,G)}if(Je(H)||se(H))return H=ce(H,q.mode,G,null),H.return=q,H;if(typeof H.then=="function")return oe(q,$s(H),G);if(H.$$typeof===Rt)return oe(q,ac(q,H),G);vc(q,H)}return null}function Q(q,H,G,ue){var Oe=H!==null?H.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return Oe!==null?null:T(q,H,""+G,ue);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case V:return G.key===Oe?z(q,H,G,ue):null;case j:return G.key===Oe?Y(q,H,G,ue):null;case it:return Oe=G._init,G=Oe(G._payload),Q(q,H,G,ue)}if(Je(G)||se(G))return Oe!==null?null:le(q,H,G,ue,null);if(typeof G.then=="function")return Q(q,H,$s(G),ue);if(G.$$typeof===Rt)return Q(q,H,ac(q,G),ue);vc(q,G)}return null}function F(q,H,G,ue,Oe){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return q=q.get(G)||null,T(H,q,""+ue,Oe);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return q=q.get(ue.key===null?G:ue.key)||null,z(H,q,ue,Oe);case j:return q=q.get(ue.key===null?G:ue.key)||null,Y(H,q,ue,Oe);case it:var ft=ue._init;return ue=ft(ue._payload),F(q,H,G,ue,Oe)}if(Je(ue)||se(ue))return q=q.get(G)||null,le(H,q,ue,Oe,null);if(typeof ue.then=="function")return F(q,H,G,$s(ue),Oe);if(ue.$$typeof===Rt)return F(q,H,G,ac(H,ue),Oe);vc(H,ue)}return null}function Ge(q,H,G,ue){for(var Oe=null,ft=null,qe=H,Ze=H=0,Ja=null;qe!==null&&Ze<G.length;Ze++){qe.index>Ze?(Ja=qe,qe=null):Ja=qe.sibling;var Ht=Q(q,qe,G[Ze],ue);if(Ht===null){qe===null&&(qe=Ja);break}a&&qe&&Ht.alternate===null&&l(q,qe),H=h(Ht,H,Ze),ft===null?Oe=Ht:ft.sibling=Ht,ft=Ht,qe=Ja}if(Ze===G.length)return i(q,qe),st&&wa(q,Ze),Oe;if(qe===null){for(;Ze<G.length;Ze++)qe=oe(q,G[Ze],ue),qe!==null&&(H=h(qe,H,Ze),ft===null?Oe=qe:ft.sibling=qe,ft=qe);return st&&wa(q,Ze),Oe}for(qe=o(qe);Ze<G.length;Ze++)Ja=F(qe,q,Ze,G[Ze],ue),Ja!==null&&(a&&Ja.alternate!==null&&qe.delete(Ja.key===null?Ze:Ja.key),H=h(Ja,H,Ze),ft===null?Oe=Ja:ft.sibling=Ja,ft=Ja);return a&&qe.forEach(function(Ni){return l(q,Ni)}),st&&wa(q,Ze),Oe}function Ye(q,H,G,ue){if(G==null)throw Error(y(151));for(var Oe=null,ft=null,qe=H,Ze=H=0,Ja=null,Ht=G.next();qe!==null&&!Ht.done;Ze++,Ht=G.next()){qe.index>Ze?(Ja=qe,qe=null):Ja=qe.sibling;var Ni=Q(q,qe,Ht.value,ue);if(Ni===null){qe===null&&(qe=Ja);break}a&&qe&&Ni.alternate===null&&l(q,qe),H=h(Ni,H,Ze),ft===null?Oe=Ni:ft.sibling=Ni,ft=Ni,qe=Ja}if(Ht.done)return i(q,qe),st&&wa(q,Ze),Oe;if(qe===null){for(;!Ht.done;Ze++,Ht=G.next())Ht=oe(q,Ht.value,ue),Ht!==null&&(H=h(Ht,H,Ze),ft===null?Oe=Ht:ft.sibling=Ht,ft=Ht);return st&&wa(q,Ze),Oe}for(qe=o(qe);!Ht.done;Ze++,Ht=G.next())Ht=F(qe,q,Ze,Ht.value,ue),Ht!==null&&(a&&Ht.alternate!==null&&qe.delete(Ht.key===null?Ze:Ht.key),H=h(Ht,H,Ze),ft===null?Oe=Ht:ft.sibling=Ht,ft=Ht);return a&&qe.forEach(function(gb){return l(q,gb)}),st&&wa(q,Ze),Oe}function qt(q,H,G,ue){if(typeof G=="object"&&G!==null&&G.type===fe&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case V:e:{for(var Oe=G.key;H!==null;){if(H.key===Oe){if(Oe=G.type,Oe===fe){if(H.tag===7){i(q,H.sibling),ue=f(H,G.props.children),ue.return=q,q=ue;break e}}else if(H.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===it&&Gn(Oe)===H.type){i(q,H.sibling),ue=f(H,G.props),Ws(ue,G),ue.return=q,q=ue;break e}i(q,H);break}else l(q,H);H=H.sibling}G.type===fe?(ue=ce(G.props.children,q.mode,ue,G.key),ue.return=q,q=ue):(ue=ct(G.type,G.key,G.props,null,q.mode,ue),Ws(ue,G),ue.return=q,q=ue)}return S(q);case j:e:{for(Oe=G.key;H!==null;){if(H.key===Oe)if(H.tag===4&&H.stateNode.containerInfo===G.containerInfo&&H.stateNode.implementation===G.implementation){i(q,H.sibling),ue=f(H,G.children||[]),ue.return=q,q=ue;break e}else{i(q,H);break}else l(q,H);H=H.sibling}ue=Fr(G,q.mode,ue),ue.return=q,q=ue}return S(q);case it:return Oe=G._init,G=Oe(G._payload),qt(q,H,G,ue)}if(Je(G))return Ge(q,H,G,ue);if(se(G)){if(Oe=se(G),typeof Oe!="function")throw Error(y(150));return G=Oe.call(G),Ye(q,H,G,ue)}if(typeof G.then=="function")return qt(q,H,$s(G),ue);if(G.$$typeof===Rt)return qt(q,H,ac(q,G),ue);vc(q,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,H!==null&&H.tag===6?(i(q,H.sibling),ue=f(H,G),ue.return=q,q=ue):(i(q,H),ue=Qu(G,q.mode,ue),ue.return=q,q=ue),S(q)):i(q,H)}return function(q,H,G,ue){try{gc=0;var Oe=qt(q,H,G,ue);return Yn=null,Oe}catch(qe){if(qe===Wo||qe===oc)throw qe;var ft=kn(29,qe,null,q.mode);return ft.lanes=ue,ft.return=q,ft}finally{}}}var Ga=Uy(!0),Ny=Uy(!1),Ra=C(null),Pl=null;function Zn(a){var l=a.alternate;ee(xa,xa.current&1),ee(Ra,a),Pl===null&&(l===null||cu.current!==null||l.memoizedState!==null)&&(Pl=a)}function Hy(a){if(a.tag===22){if(ee(xa,xa.current),ee(Ra,a),Pl===null){var l=a.alternate;l!==null&&l.memoizedState!==null&&(Pl=a)}}else mn()}function mn(){ee(xa,xa.current),ee(Ra,Ra.current)}function ei(a){ie(Ra),Pl===a&&(Pl=null),ie(xa)}var xa=C(0);function ul(a){for(var l=a;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||Tp(i)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}function Xd(a,l,i,o){l=a.memoizedState,i=i(o,l),i=i==null?l:X({},l,i),a.memoizedState=i,a.lanes===0&&(a.updateQueue.baseState=i)}var Pu={enqueueSetState:function(a,l,i){a=a._reactInternals;var o=sl(),f=ru(o);f.payload=l,i!=null&&(f.callback=i),l=Vn(a,f,o),l!==null&&($n(l,a,o),Fo(l,a,o))},enqueueReplaceState:function(a,l,i){a=a._reactInternals;var o=sl(),f=ru(o);f.tag=1,f.payload=l,i!=null&&(f.callback=i),l=Vn(a,f,o),l!==null&&($n(l,a,o),Fo(l,a,o))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var i=sl(),o=ru(i);o.tag=2,l!=null&&(o.callback=l),l=Vn(a,o,i),l!==null&&($n(l,a,i),Fo(l,a,i))}};function ky(a,l,i,o,f,h,S){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(o,h,S):l.prototype&&l.prototype.isPureReactComponent?!eu(i,o)||!eu(f,h):!0}function bc(a,l,i,o){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,o),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,o),l.state!==a&&Pu.enqueueReplaceState(l,l.state,null)}function zl(a,l){var i=l;if("ref"in l){i={};for(var o in l)o!=="ref"&&(i[o]=l[o])}if(a=a.defaultProps){i===l&&(i=X({},i));for(var f in a)i[f]===void 0&&(i[f]=a[f])}return i}var Fs=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)};function jy(a){Fs(a)}function Sc(a){console.error(a)}function By(a){Fs(a)}function lr(a,l){try{var i=a.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(o){setTimeout(function(){throw o})}}function Vy(a,l,i){try{var o=a.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Qd(a,l,i){return i=ru(i),i.tag=3,i.payload={element:null},i.callback=function(){lr(a,l)},i}function c0(a){return a=ru(a),a.tag=3,a}function Ly(a,l,i,o){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var h=o.value;a.payload=function(){return f(h)},a.callback=function(){Vy(l,i,o)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(a.callback=function(){Vy(l,i,o),typeof f!="function"&&(Ai===null?Ai=new Set([this]):Ai.add(this));var T=o.stack;this.componentDidCatch(o.value,{componentStack:T!==null?T:""})})}function ol(a,l,i,o,f){if(i.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(l=i.alternate,l!==null&&Os(l,i,f,!0),i=Ra.current,i!==null){switch(i.tag){case 13:return Pl===null?so():i.alternate===null&&ba===0&&(ba=3),i.flags&=-257,i.flags|=65536,i.lanes=f,o===Rd?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([o]):l.add(o),uf(a,o,f)),!1;case 22:return i.flags|=65536,o===Rd?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([o]):i.add(o)),uf(a,o,f)),!1}throw Error(y(435,i.tag))}return uf(a,o,f),so(),!1}if(st)return l=Ra.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=f,o!==As&&(a=Error(y(422),{cause:o}),tc(ll(a,i)))):(o!==As&&(l=Error(y(423),{cause:o}),tc(ll(l,i))),a=a.current.alternate,a.flags|=65536,f&=-f,a.lanes|=f,o=ll(o,i),f=Qd(a.stateNode,o,f),Ns(a,f),ba!==4&&(ba=2)),!1;var h=Error(y(520),{cause:o});if(h=ll(h,i),af===null?af=[h]:af.push(h),ba!==4&&(ba=2),l===null)return!0;o=ll(o,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,a=f&-f,i.lanes|=a,a=Qd(i.stateNode,o,a),Ns(i,a),!1;case 1:if(l=i.type,h=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Ai===null||!Ai.has(h))))return i.flags|=65536,f&=-f,i.lanes|=f,f=c0(f),Ly(f,a,i,o),Ns(i,f),!1}i=i.return}while(i!==null);return!1}var qy=Error(y(461)),bt=!1;function Za(a,l,i,o){l.child=a===null?Ny(l,null,i,o):Ga(l,a.child,i,o)}function Yy(a,l,i,o,f){i=i.render;var h=l.ref;if("ref"in o){var S={};for(var T in o)T!=="ref"&&(S[T]=o[T])}else S=o;return Ju(l),o=Cd(a,l,i,S,h,f),T=Ud(),a!==null&&!bt?(Nd(a,l,f),ti(a,l,f)):(st&&T&&ws(l),l.flags|=1,Za(a,l,o,f),l.child)}function s0(a,l,i,o,f){if(a===null){var h=i.type;return typeof h=="function"&&!Sd(h)&&h.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=h,fu(a,l,h,o,f)):(a=ct(i.type,null,o,l,l.mode,f),a.ref=l.ref,a.return=l,l.child=a)}if(h=a.child,!Id(a,f)){var S=h.memoizedProps;if(i=i.compare,i=i!==null?i:eu,i(S,o)&&a.ref===l.ref)return ti(a,l,f)}return l.flags|=1,a=Xl(h,o),a.ref=l.ref,a.return=l,l.child=a}function fu(a,l,i,o,f){if(a!==null){var h=a.memoizedProps;if(eu(h,o)&&a.ref===l.ref)if(bt=!1,l.pendingProps=o=h,Id(a,f))(a.flags&131072)!==0&&(bt=!0);else return l.lanes=a.lanes,ti(a,l,f)}return Jd(a,l,i,o,f)}function ir(a,l,i){var o=l.pendingProps,f=o.children,h=a!==null?a.memoizedState:null;if(o.mode==="hidden"){if((l.flags&128)!==0){if(o=h!==null?h.baseLanes|i:i,a!==null){for(f=l.child=a.child,h=0;f!==null;)h=h|f.lanes|f.childLanes,f=f.sibling;l.childLanes=h&~o}else l.childLanes=0,l.child=null;return Kd(a,l,o,i)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},a!==null&&uc(l,h!==null?h.cachePool:null),h!==null?hy(l,h):Na(),Hy(l);else return l.lanes=l.childLanes=536870912,Kd(a,l,h!==null?h.baseLanes|i:i,i)}else h!==null?(uc(l,h.cachePool),hy(l,h),mn(),l.memoizedState=null):(a!==null&&uc(l,null),Na(),mn());return Za(a,l,f,i),l.child}function Kd(a,l,i,o){var f=ic();return f=f===null?null:{parent:Aa._currentValue,pool:f},l.memoizedState={baseLanes:i,cachePool:f},a!==null&&uc(l,null),Na(),Hy(l),a!==null&&Os(a,l,o,!0),null}function du(a,l){var i=l.ref;if(i===null)a!==null&&a.ref!==null&&(l.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(y(284));(a===null||a.ref!==i)&&(l.flags|=4194816)}}function Jd(a,l,i,o,f){return Ju(l),i=Cd(a,l,i,o,void 0,f),o=Ud(),a!==null&&!bt?(Nd(a,l,f),ti(a,l,f)):(st&&o&&ws(l),l.flags|=1,Za(a,l,i,f),l.child)}function Gy(a,l,i,o,f,h){return Ju(l),l.updateQueue=null,i=Fu(l,o,i,f),my(a),o=Ud(),a!==null&&!bt?(Nd(a,l,h),ti(a,l,h)):(st&&o&&ws(l),l.flags|=1,Za(a,l,i,h),l.child)}function Zy(a,l,i,o,f){if(Ju(l),l.stateNode===null){var h=Jo,S=i.contextType;typeof S=="object"&&S!==null&&(h=tn(S)),h=new i(o,h),l.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Pu,l.stateNode=h,h._reactInternals=l,h=l.stateNode,h.props=o,h.state=l.memoizedState,h.refs={},Us(l),S=i.contextType,h.context=typeof S=="object"&&S!==null?tn(S):Jo,h.state=l.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(Xd(l,i,S,o),h.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(S=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),S!==h.state&&Pu.enqueueReplaceState(h,h.state,null),sc(l,o,h,f),Hs(),h.state=l.memoizedState),typeof h.componentDidMount=="function"&&(l.flags|=4194308),o=!0}else if(a===null){h=l.stateNode;var T=l.memoizedProps,z=zl(i,T);h.props=z;var Y=h.context,le=i.contextType;S=Jo,typeof le=="object"&&le!==null&&(S=tn(le));var oe=i.getDerivedStateFromProps;le=typeof oe=="function"||typeof h.getSnapshotBeforeUpdate=="function",T=l.pendingProps!==T,le||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(T||Y!==S)&&bc(l,h,o,S),ou=!1;var Q=l.memoizedState;h.state=Q,sc(l,o,h,f),Hs(),Y=l.memoizedState,T||Q!==Y||ou?(typeof oe=="function"&&(Xd(l,i,oe,o),Y=l.memoizedState),(z=ou||ky(l,i,z,o,Q,Y,S))?(le||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(l.flags|=4194308)):(typeof h.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=o,l.memoizedState=Y),h.props=o,h.state=Y,h.context=S,o=z):(typeof h.componentDidMount=="function"&&(l.flags|=4194308),o=!1)}else{h=l.stateNode,zd(a,l),S=l.memoizedProps,le=zl(i,S),h.props=le,oe=l.pendingProps,Q=h.context,Y=i.contextType,z=Jo,typeof Y=="object"&&Y!==null&&(z=tn(Y)),T=i.getDerivedStateFromProps,(Y=typeof T=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S!==oe||Q!==z)&&bc(l,h,o,z),ou=!1,Q=l.memoizedState,h.state=Q,sc(l,o,h,f),Hs();var F=l.memoizedState;S!==oe||Q!==F||ou||a!==null&&a.dependencies!==null&&zs(a.dependencies)?(typeof T=="function"&&(Xd(l,i,T,o),F=l.memoizedState),(le=ou||ky(l,i,le,o,Q,F,z)||a!==null&&a.dependencies!==null&&zs(a.dependencies))?(Y||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(o,F,z),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(o,F,z)),typeof h.componentDidUpdate=="function"&&(l.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof h.componentDidUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=1024),l.memoizedProps=o,l.memoizedState=F),h.props=o,h.state=F,h.context=z,o=le):(typeof h.componentDidUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=1024),o=!1)}return h=o,du(a,l),o=(l.flags&128)!==0,h||o?(h=l.stateNode,i=o&&typeof i.getDerivedStateFromError!="function"?null:h.render(),l.flags|=1,a!==null&&o?(l.child=Ga(l,a.child,null,f),l.child=Ga(l,null,i,f)):Za(a,l,i,f),l.memoizedState=h.state,a=l.child):a=ti(a,l,f),a}function $d(a,l,i,o){return ec(),l.flags|=256,Za(a,l,i,o),l.child}var Is={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wd(a){return{baseLanes:a,cachePool:Ms()}}function Xy(a,l,i){return a=a!==null?a.childLanes&~i:0,l&&(a|=ka),a}function f0(a,l,i){var o=l.pendingProps,f=!1,h=(l.flags&128)!==0,S;if((S=h)||(S=a!==null&&a.memoizedState===null?!1:(xa.current&2)!==0),S&&(f=!0,l.flags&=-129),S=(l.flags&32)!==0,l.flags&=-33,a===null){if(st){if(f?Zn(l):mn(),st){var T=Jt,z;if(z=T){e:{for(z=T,T=_n;z.nodeType!==8;){if(!T){T=null;break e}if(z=oi(z.nextSibling),z===null){T=null;break e}}T=z}T!==null?(l.memoizedState={dehydrated:T,treeContext:nu!==null?{id:Ql,overflow:Kl}:null,retryLane:536870912,hydrationErrors:null},z=kn(18,null,null,0),z.stateNode=T,z.return=l,l.child=z,pa=l,Jt=null,z=!0):z=!1}z||Jl(l)}if(T=l.memoizedState,T!==null&&(T=T.dehydrated,T!==null))return Tp(T)?l.lanes=32:l.lanes=536870912,null;ei(l)}return T=o.children,o=o.fallback,f?(mn(),f=l.mode,T=Ps({mode:"hidden",children:T},f),o=ce(o,f,i,null),T.return=l,o.return=l,T.sibling=o,l.child=T,f=l.child,f.memoizedState=Wd(i),f.childLanes=Xy(a,S,i),l.memoizedState=Is,o):(Zn(l),Fd(l,T))}if(z=a.memoizedState,z!==null&&(T=z.dehydrated,T!==null)){if(h)l.flags&256?(Zn(l),l.flags&=-257,l=Qy(a,l,i)):l.memoizedState!==null?(mn(),l.child=a.child,l.flags|=128,l=null):(mn(),f=o.fallback,T=l.mode,o=Ps({mode:"visible",children:o.children},T),f=ce(f,T,i,null),f.flags|=2,o.return=l,f.return=l,o.sibling=f,l.child=o,Ga(l,a.child,null,i),o=l.child,o.memoizedState=Wd(i),o.childLanes=Xy(a,S,i),l.memoizedState=Is,l=f);else if(Zn(l),Tp(T)){if(S=T.nextSibling&&T.nextSibling.dataset,S)var Y=S.dgst;S=Y,o=Error(y(419)),o.stack="",o.digest=S,tc({value:o,source:null,stack:null}),l=Qy(a,l,i)}else if(bt||Os(a,l,i,!1),S=(i&a.childLanes)!==0,bt||S){if(S=Wt,S!==null&&(o=i&-i,o=(o&42)!==0?1:Ie(o),o=(o&(S.suspendedLanes|i))!==0?0:o,o!==0&&o!==z.retryLane))throw z.retryLane=o,au(a,o),$n(S,a,o),qy;T.data==="$?"||so(),l=Qy(a,l,i)}else T.data==="$?"?(l.flags|=192,l.child=a.child,l=null):(a=z.treeContext,Jt=oi(T.nextSibling),pa=l,st=!0,lu=null,_n=!1,a!==null&&(jn[wl++]=Ql,jn[wl++]=Kl,jn[wl++]=nu,Ql=a.id,Kl=a.overflow,nu=l),l=Fd(l,o.children),l.flags|=4096);return l}return f?(mn(),f=o.fallback,T=l.mode,z=a.child,Y=z.sibling,o=Xl(z,{mode:"hidden",children:o.children}),o.subtreeFlags=z.subtreeFlags&65011712,Y!==null?f=Xl(Y,f):(f=ce(f,T,i,null),f.flags|=2),f.return=l,o.return=l,o.sibling=f,l.child=o,o=f,f=l.child,T=a.child.memoizedState,T===null?T=Wd(i):(z=T.cachePool,z!==null?(Y=Aa._currentValue,z=z.parent!==Y?{parent:Y,pool:Y}:z):z=Ms(),T={baseLanes:T.baseLanes|i,cachePool:z}),f.memoizedState=T,f.childLanes=Xy(a,S,i),l.memoizedState=Is,o):(Zn(l),i=a.child,a=i.sibling,i=Xl(i,{mode:"visible",children:o.children}),i.return=l,i.sibling=null,a!==null&&(S=l.deletions,S===null?(l.deletions=[a],l.flags|=16):S.push(a)),l.child=i,l.memoizedState=null,i)}function Fd(a,l){return l=Ps({mode:"visible",children:l},a.mode),l.return=a,a.child=l}function Ps(a,l){return a=kn(22,a,null,l),a.lanes=0,a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},a}function Qy(a,l,i){return Ga(l,a.child,null,i),a=Fd(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function ur(a,l,i){a.lanes|=l;var o=a.alternate;o!==null&&(o.lanes|=l),_d(a.return,l,i)}function Tc(a,l,i,o,f){var h=a.memoizedState;h===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:f}:(h.isBackwards=l,h.rendering=null,h.renderingStartTime=0,h.last=o,h.tail=i,h.tailMode=f)}function Ky(a,l,i){var o=l.pendingProps,f=o.revealOrder,h=o.tail;if(Za(a,l,o.children,i),o=xa.current,(o&2)!==0)o=o&1|2,l.flags|=128;else{if(a!==null&&(a.flags&128)!==0)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&ur(a,i,l);else if(a.tag===19)ur(a,i,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o&=1}switch(ee(xa,o),f){case"forwards":for(i=l.child,f=null;i!==null;)a=i.alternate,a!==null&&ul(a)===null&&(f=i),i=i.sibling;i=f,i===null?(f=l.child,l.child=null):(f=i.sibling,i.sibling=null),Tc(l,!1,f,i,h);break;case"backwards":for(i=null,f=l.child,l.child=null;f!==null;){if(a=f.alternate,a!==null&&ul(a)===null){l.child=f;break}a=f.sibling,f.sibling=i,i=f,f=a}Tc(l,!0,i,null,h);break;case"together":Tc(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function ti(a,l,i){if(a!==null&&(l.dependencies=a.dependencies),uo|=l.lanes,(i&l.childLanes)===0)if(a!==null){if(Os(a,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(a!==null&&l.child!==a.child)throw Error(y(153));if(l.child!==null){for(a=l.child,i=Xl(a,a.pendingProps),l.child=i,i.return=l;a.sibling!==null;)a=a.sibling,i=i.sibling=Xl(a,a.pendingProps),i.return=l;i.sibling=null}return l.child}function Id(a,l){return(a.lanes&l)!==0?!0:(a=a.dependencies,!!(a!==null&&zs(a)))}function d0(a,l,i){switch(l.tag){case 3:Ct(l,l.stateNode.containerInfo),Ti(l,Aa,a.memoizedState.cache),ec();break;case 27:case 5:ha(l);break;case 4:Ct(l,l.stateNode.containerInfo);break;case 10:Ti(l,l.type,l.memoizedProps.value);break;case 13:var o=l.memoizedState;if(o!==null)return o.dehydrated!==null?(Zn(l),l.flags|=128,null):(i&l.child.childLanes)!==0?f0(a,l,i):(Zn(l),a=ti(a,l,i),a!==null?a.sibling:null);Zn(l);break;case 19:var f=(a.flags&128)!==0;if(o=(i&l.childLanes)!==0,o||(Os(a,l,i,!1),o=(i&l.childLanes)!==0),f){if(o)return Ky(a,l,i);l.flags|=128}if(f=l.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ee(xa,xa.current),o)break;return null;case 22:case 23:return l.lanes=0,ir(a,l,i);case 24:Ti(l,Aa,a.memoizedState.cache)}return ti(a,l,i)}function Jy(a,l,i){if(a!==null)if(a.memoizedProps!==l.pendingProps)bt=!0;else{if(!Id(a,i)&&(l.flags&128)===0)return bt=!1,d0(a,l,i);bt=(a.flags&131072)!==0}else bt=!1,st&&(l.flags&1048576)!==0&&Zt(l,_s,l.index);switch(l.lanes=0,l.tag){case 16:e:{a=l.pendingProps;var o=l.elementType,f=o._init;if(o=f(o._payload),l.type=o,typeof o=="function")Sd(o)?(a=zl(o,a),l.tag=1,l=Zy(null,l,o,a,i)):(l.tag=0,l=Jd(null,l,o,a,i));else{if(o!=null){if(f=o.$$typeof,f===vt){l.tag=11,l=Yy(null,l,o,a,i);break e}else if(f===_t){l.tag=14,l=s0(null,l,o,a,i);break e}}throw l=Ke(o)||o,Error(y(306,l,""))}}return l;case 0:return Jd(a,l,l.type,l.pendingProps,i);case 1:return o=l.type,f=zl(o,l.pendingProps),Zy(a,l,o,f,i);case 3:e:{if(Ct(l,l.stateNode.containerInfo),a===null)throw Error(y(387));o=l.pendingProps;var h=l.memoizedState;f=h.element,zd(a,l),sc(l,o,null,i);var S=l.memoizedState;if(o=S.cache,Ti(l,Aa,o),o!==h.cache&&wd(l,[Aa],i,!0),Hs(),o=S.element,h.isDehydrated)if(h={element:o,isDehydrated:!1,cache:S.cache},l.updateQueue.baseState=h,l.memoizedState=h,l.flags&256){l=$d(a,l,o,i);break e}else if(o!==f){f=ll(Error(y(424)),l),tc(f),l=$d(a,l,o,i);break e}else{switch(a=l.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(Jt=oi(a.firstChild),pa=l,st=!0,lu=null,_n=!0,i=Ny(l,null,o,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(ec(),o===f){l=ti(a,l,i);break e}Za(a,l,o,i)}l=l.child}return l;case 26:return du(a,l),a===null?(i=Ah(l.type,null,l.pendingProps,null))?l.memoizedState=i:st||(i=l.type,a=l.pendingProps,o=kc(De.current).createElement(i),o[ea]=l,o[fn]=a,J(o,i,a),Ta(o),l.stateNode=o):l.memoizedState=Ah(l.type,a.memoizedProps,l.pendingProps,a.memoizedState),null;case 27:return ha(l),a===null&&st&&(o=l.stateNode=ln(l.type,l.pendingProps,De.current),pa=l,_n=!0,f=Jt,nn(l.type)?(Ep=f,Jt=oi(o.firstChild)):Jt=f),Za(a,l,l.pendingProps.children,i),du(a,l),a===null&&(l.flags|=4194304),l.child;case 5:return a===null&&st&&((f=o=Jt)&&(o=Sp(o,l.type,l.pendingProps,_n),o!==null?(l.stateNode=o,pa=l,Jt=oi(o.firstChild),_n=!1,f=!0):f=!1),f||Jl(l)),ha(l),f=l.type,h=l.pendingProps,S=a!==null?a.memoizedProps:null,o=h.children,hr(f,h)?o=null:S!==null&&hr(f,S)&&(l.flags|=32),l.memoizedState!==null&&(f=Cd(a,l,e0,null,null,i),un._currentValue=f),du(a,l),Za(a,l,o,i),l.child;case 6:return a===null&&st&&((a=i=Jt)&&(i=jc(i,l.pendingProps,_n),i!==null?(l.stateNode=i,pa=l,Jt=null,a=!0):a=!1),a||Jl(l)),null;case 13:return f0(a,l,i);case 4:return Ct(l,l.stateNode.containerInfo),o=l.pendingProps,a===null?l.child=Ga(l,null,o,i):Za(a,l,o,i),l.child;case 11:return Yy(a,l,l.type,l.pendingProps,i);case 7:return Za(a,l,l.pendingProps,i),l.child;case 8:return Za(a,l,l.pendingProps.children,i),l.child;case 12:return Za(a,l,l.pendingProps.children,i),l.child;case 10:return o=l.pendingProps,Ti(l,l.type,o.value),Za(a,l,o.children,i),l.child;case 9:return f=l.type._context,o=l.pendingProps.children,Ju(l),f=tn(f),o=o(f),l.flags|=1,Za(a,l,o,i),l.child;case 14:return s0(a,l,l.type,l.pendingProps,i);case 15:return fu(a,l,l.type,l.pendingProps,i);case 19:return Ky(a,l,i);case 31:return o=l.pendingProps,i=l.mode,o={mode:o.mode,children:o.children},a===null?(i=Ps(o,i),i.ref=l.ref,l.child=i,i.return=l,l=i):(i=Xl(a.child,o),i.ref=l.ref,l.child=i,i.return=l,l=i),l;case 22:return ir(a,l,i);case 24:return Ju(l),o=tn(Aa),a===null?(f=ic(),f===null&&(f=Wt,h=uy(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=i),f=h),l.memoizedState={parent:o,cache:f},Us(l),Ti(l,Aa,f)):((a.lanes&i)!==0&&(zd(a,l),sc(l,null,null,i),Hs()),f=a.memoizedState,h=l.memoizedState,f.parent!==o?(f={parent:o,cache:o},l.memoizedState=f,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=f),Ti(l,Aa,o)):(o=h.cache,Ti(l,Aa,o),o!==f.cache&&wd(l,[Aa],i,!0))),Za(a,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(y(156,l.tag))}function hu(a){a.flags|=4}function $y(a,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!Rp(l)){if(l=Ra.current,l!==null&&((Mt&4194048)===Mt?Pl!==null:(Mt&62914560)!==Mt&&(Mt&536870912)===0||l!==Pl))throw cc=Rd,Cs;a.flags|=8192}}function eo(a,l){l!==null&&(a.flags|=4),a.flags&16384&&(l=a.tag!==22?he():536870912,a.lanes|=l,Rc|=l)}function xc(a,l){if(!st)switch(a.tailMode){case"hidden":l=a.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?a.tail=null:i.sibling=null;break;case"collapsed":i=a.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:o.sibling=null}}function sa(a){var l=a.alternate!==null&&a.alternate.child===a.child,i=0,o=0;if(l)for(var f=a.child;f!==null;)i|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,f.return=a,f=f.sibling;else for(f=a.child;f!==null;)i|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=a,f=f.sibling;return a.subtreeFlags|=o,a.childLanes=i,l}function $t(a,l,i){var o=l.pendingProps;switch($o(l),l.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return sa(l),null;case 1:return sa(l),null;case 3:return i=l.stateNode,o=null,a!==null&&(o=a.memoizedState.cache),l.memoizedState.cache!==o&&(l.flags|=2048),xi(Aa),Dt(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(a===null||a.child===null)&&(Pr(l)?hu(l):a===null||a.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,ly())),sa(l),null;case 26:return i=l.memoizedState,a===null?(hu(l),i!==null?(sa(l),$y(l,i)):(sa(l),l.flags&=-16777217)):i?i!==a.memoizedState?(hu(l),sa(l),$y(l,i)):(sa(l),l.flags&=-16777217):(a.memoizedProps!==o&&hu(l),sa(l),l.flags&=-16777217),null;case 27:Fa(l),i=De.current;var f=l.type;if(a!==null&&l.stateNode!=null)a.memoizedProps!==o&&hu(l);else{if(!o){if(l.stateNode===null)throw Error(y(166));return sa(l),null}a=Te.current,Pr(l)?xd(l):(a=ln(f,o,i),l.stateNode=a,hu(l))}return sa(l),null;case 5:if(Fa(l),i=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==o&&hu(l);else{if(!o){if(l.stateNode===null)throw Error(y(166));return sa(l),null}if(a=Te.current,Pr(l))xd(l);else{switch(f=kc(De.current),a){case 1:a=f.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:a=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":a=f.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":a=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":a=f.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?a.multiple=!0:o.size&&(a.size=o.size);break;default:a=typeof o.is=="string"?f.createElement(i,{is:o.is}):f.createElement(i)}}a[ea]=l,a[fn]=o;e:for(f=l.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break e;for(;f.sibling===null;){if(f.return===null||f.return===l)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}l.stateNode=a;e:switch(J(a,i,o),i){case"button":case"input":case"select":case"textarea":a=!!o.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&hu(l)}}return sa(l),l.flags&=-16777217,null;case 6:if(a&&l.stateNode!=null)a.memoizedProps!==o&&hu(l);else{if(typeof o!="string"&&l.stateNode===null)throw Error(y(166));if(a=De.current,Pr(l)){if(a=l.stateNode,i=l.memoizedProps,o=null,f=pa,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}a[ea]=l,a=!!(a.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||C0(a.nodeValue,i)),a||Jl(l)}else a=kc(a).createTextNode(o),a[ea]=l,l.stateNode=a}return sa(l),null;case 13:if(o=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(f=Pr(l),o!==null&&o.dehydrated!==null){if(a===null){if(!f)throw Error(y(318));if(f=l.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(y(317));f[ea]=l}else ec(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;sa(l),f=!1}else f=ly(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=f),f=!0;if(!f)return l.flags&256?(ei(l),l):(ei(l),null)}if(ei(l),(l.flags&128)!==0)return l.lanes=i,l;if(i=o!==null,a=a!==null&&a.memoizedState!==null,i){o=l.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool);var h=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==f&&(o.flags|=2048)}return i!==a&&i&&(l.child.flags|=8192),eo(l,l.updateQueue),sa(l),null;case 4:return Dt(),a===null&&sf(l.stateNode.containerInfo),sa(l),null;case 10:return xi(l.type),sa(l),null;case 19:if(ie(xa),f=l.memoizedState,f===null)return sa(l),null;if(o=(l.flags&128)!==0,h=f.rendering,h===null)if(o)xc(f,!1);else{if(ba!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(h=ul(a),h!==null){for(l.flags|=128,xc(f,!1),a=h.updateQueue,l.updateQueue=a,eo(l,a),l.subtreeFlags=0,a=i,i=l.child;i!==null;)Td(i,a),i=i.sibling;return ee(xa,xa.current&1|2),l.child}a=a.sibling}f.tail!==null&&Bt()>nh&&(l.flags|=128,o=!0,xc(f,!1),l.lanes=4194304)}else{if(!o)if(a=ul(h),a!==null){if(l.flags|=128,o=!0,a=a.updateQueue,l.updateQueue=a,eo(l,a),xc(f,!0),f.tail===null&&f.tailMode==="hidden"&&!h.alternate&&!st)return sa(l),null}else 2*Bt()-f.renderingStartTime>nh&&i!==536870912&&(l.flags|=128,o=!0,xc(f,!1),l.lanes=4194304);f.isBackwards?(h.sibling=l.child,l.child=h):(a=f.last,a!==null?a.sibling=h:l.child=h,f.last=h)}return f.tail!==null?(l=f.tail,f.rendering=l,f.tail=l.sibling,f.renderingStartTime=Bt(),l.sibling=null,a=xa.current,ee(xa,o?a&1|2:a&1),l):(sa(l),null);case 22:case 23:return ei(l),dc(),o=l.memoizedState!==null,a!==null?a.memoizedState!==null!==o&&(l.flags|=8192):o&&(l.flags|=8192),o?(i&536870912)!==0&&(l.flags&128)===0&&(sa(l),l.subtreeFlags&6&&(l.flags|=8192)):sa(l),i=l.updateQueue,i!==null&&eo(l,i.retryQueue),i=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==i&&(l.flags|=2048),a!==null&&ie(uu),null;case 24:return i=null,a!==null&&(i=a.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),xi(Aa),sa(l),null;case 25:return null;case 30:return null}throw Error(y(156,l.tag))}function Wy(a,l){switch($o(l),l.tag){case 1:return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return xi(Aa),Dt(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 26:case 27:case 5:return Fa(l),null;case 13:if(ei(l),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(y(340));ec()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return ie(xa),null;case 4:return Dt(),null;case 10:return xi(l.type),null;case 22:case 23:return ei(l),dc(),a!==null&&ie(uu),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 24:return xi(Aa),null;case 25:return null;default:return null}}function h0(a,l){switch($o(l),l.tag){case 3:xi(Aa),Dt();break;case 26:case 27:case 5:Fa(l);break;case 4:Dt();break;case 13:ei(l);break;case 19:ie(xa);break;case 10:xi(l.type);break;case 22:case 23:ei(l),dc(),a!==null&&ie(uu);break;case 24:xi(Aa)}}function Ec(a,l){try{var i=l.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var f=o.next;i=f;do{if((i.tag&a)===a){o=void 0;var h=i.create,S=i.inst;o=h(),S.destroy=o}i=i.next}while(i!==f)}}catch(T){Ft(l,l.return,T)}}function to(a,l,i){try{var o=l.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var h=f.next;o=h;do{if((o.tag&a)===a){var S=o.inst,T=S.destroy;if(T!==void 0){S.destroy=void 0,f=l;var z=i,Y=T;try{Y()}catch(le){Ft(f,z,le)}}}o=o.next}while(o!==h)}}catch(le){Ft(l,l.return,le)}}function m0(a){var l=a.updateQueue;if(l!==null){var i=a.stateNode;try{Dd(l,i)}catch(o){Ft(a,a.return,o)}}}function Pd(a,l,i){i.props=zl(a.type,a.memoizedProps),i.state=a.memoizedState;try{i.componentWillUnmount()}catch(o){Ft(a,l,o)}}function _c(a,l){try{var i=a.ref;if(i!==null){switch(a.tag){case 26:case 27:case 5:var o=a.stateNode;break;case 30:o=a.stateNode;break;default:o=a.stateNode}typeof i=="function"?a.refCleanup=i(o):i.current=o}}catch(f){Ft(a,l,f)}}function ai(a,l){var i=a.ref,o=a.refCleanup;if(i!==null)if(typeof o=="function")try{o()}catch(f){Ft(a,l,f)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){Ft(a,l,f)}else i.current=null}function Fy(a){var l=a.type,i=a.memoizedProps,o=a.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&o.focus();break e;case"img":i.src?o.src=i.src:i.srcSet&&(o.srcset=i.srcSet)}}catch(f){Ft(a,a.return,f)}}function or(a,l,i){try{var o=a.stateNode;Lt(o,a.type,i,l),o[fn]=l}catch(f){Ft(a,a.return,f)}}function y0(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&nn(a.type)||a.tag===4}function Iy(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||y0(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&nn(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Dl(a,l,i){var o=a.tag;if(o===5||o===6)a=a.stateNode,l?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(a,l):(l=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,l.appendChild(a),i=i._reactRootContainer,i!=null||l.onclick!==null||(l.onclick=df));else if(o!==4&&(o===27&&nn(a.type)&&(i=a.stateNode,l=null),a=a.child,a!==null))for(Dl(a,l,i),a=a.sibling;a!==null;)Dl(a,l,i),a=a.sibling}function ao(a,l,i){var o=a.tag;if(o===5||o===6)a=a.stateNode,l?i.insertBefore(a,l):i.appendChild(a);else if(o!==4&&(o===27&&nn(a.type)&&(i=a.stateNode),a=a.child,a!==null))for(ao(a,l,i),a=a.sibling;a!==null;)ao(a,l,i),a=a.sibling}function p0(a){var l=a.stateNode,i=a.memoizedProps;try{for(var o=a.type,f=l.attributes;f.length;)l.removeAttributeNode(f[0]);J(l,o,i),l[ea]=a,l[fn]=i}catch(h){Ft(a,a.return,h)}}var ni=!1,va=!1,eh=!1,Py=typeof WeakSet=="function"?WeakSet:Set,Oa=null;function g0(a,l){if(a=a.containerInfo,vp=Sf,a=Ts(a),pd(a)){if("selectionStart"in a)var i={start:a.selectionStart,end:a.selectionEnd};else e:{i=(i=a.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var f=o.anchorOffset,h=o.focusNode;o=o.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var S=0,T=-1,z=-1,Y=0,le=0,oe=a,Q=null;t:for(;;){for(var F;oe!==i||f!==0&&oe.nodeType!==3||(T=S+f),oe!==h||o!==0&&oe.nodeType!==3||(z=S+o),oe.nodeType===3&&(S+=oe.nodeValue.length),(F=oe.firstChild)!==null;)Q=oe,oe=F;for(;;){if(oe===a)break t;if(Q===i&&++Y===f&&(T=S),Q===h&&++le===o&&(z=S),(F=oe.nextSibling)!==null)break;oe=Q,Q=oe.parentNode}oe=F}i=T===-1||z===-1?null:{start:T,end:z}}else i=null}i=i||{start:0,end:0}}else i=null;for(hf={focusedElem:a,selectionRange:i},Sf=!1,Oa=l;Oa!==null;)if(l=Oa,a=l.child,(l.subtreeFlags&1024)!==0&&a!==null)a.return=l,Oa=a;else for(;Oa!==null;){switch(l=Oa,h=l.alternate,a=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((a&1024)!==0&&h!==null){a=void 0,i=l,f=h.memoizedProps,h=h.memoizedState,o=i.stateNode;try{var Ge=zl(i.type,f,i.elementType===i.type);a=o.getSnapshotBeforeUpdate(Ge,h),o.__reactInternalSnapshotBeforeUpdate=a}catch(Ye){Ft(i,i.return,Ye)}}break;case 3:if((a&1024)!==0){if(a=l.stateNode.containerInfo,i=a.nodeType,i===9)mf(a);else if(i===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":mf(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(y(163))}if(a=l.sibling,a!==null){a.return=l.return,Oa=a;break}Oa=l.return}}function th(a,l,i){var o=i.flags;switch(i.tag){case 0:case 11:case 15:mu(a,i),o&4&&Ec(5,i);break;case 1:if(mu(a,i),o&4)if(a=i.stateNode,l===null)try{a.componentDidMount()}catch(S){Ft(i,i.return,S)}else{var f=zl(i.type,l.memoizedProps);l=l.memoizedState;try{a.componentDidUpdate(f,l,a.__reactInternalSnapshotBeforeUpdate)}catch(S){Ft(i,i.return,S)}}o&64&&m0(i),o&512&&_c(i,i.return);break;case 3:if(mu(a,i),o&64&&(a=i.updateQueue,a!==null)){if(l=null,i.child!==null)switch(i.child.tag){case 27:case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}try{Dd(a,l)}catch(S){Ft(i,i.return,S)}}break;case 27:l===null&&o&4&&p0(i);case 26:case 5:mu(a,i),l===null&&o&4&&Fy(i),o&512&&_c(i,i.return);break;case 12:mu(a,i);break;case 13:mu(a,i),o&4&&St(a,i),o&64&&(a=i.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(i=z0.bind(null,i),xp(a,i))));break;case 22:if(o=i.memoizedState!==null||ni,!o){l=l!==null&&l.memoizedState!==null||va,f=ni;var h=va;ni=o,(va=l)&&!h?oa(a,i,(i.subtreeFlags&8772)!==0):mu(a,i),ni=f,va=h}break;case 30:break;default:mu(a,i)}}function ep(a){var l=a.alternate;l!==null&&(a.alternate=null,ep(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&je(l)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var ua=null,Xn=!1;function Ml(a,l,i){for(i=i.child;i!==null;)tp(a,l,i),i=i.sibling}function tp(a,l,i){if(Qe&&typeof Qe.onCommitFiberUnmount=="function")try{Qe.onCommitFiberUnmount(ze,i)}catch{}switch(i.tag){case 26:va||ai(i,l),Ml(a,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:va||ai(i,l);var o=ua,f=Xn;nn(i.type)&&(ua=i.stateNode,Xn=!1),Ml(a,l,i),Ee(i.stateNode),ua=o,Xn=f;break;case 5:va||ai(i,l);case 6:if(o=ua,f=Xn,ua=null,Ml(a,l,i),ua=o,Xn=f,ua!==null)if(Xn)try{(ua.nodeType===9?ua.body:ua.nodeName==="HTML"?ua.ownerDocument.body:ua).removeChild(i.stateNode)}catch(h){Ft(i,l,h)}else try{ua.removeChild(i.stateNode)}catch(h){Ft(i,l,h)}break;case 18:ua!==null&&(Xn?(a=ua,N0(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.stateNode),Gc(a)):N0(ua,i.stateNode));break;case 4:o=ua,f=Xn,ua=i.stateNode.containerInfo,Xn=!0,Ml(a,l,i),ua=o,Xn=f;break;case 0:case 11:case 14:case 15:va||to(2,i,l),va||to(4,i,l),Ml(a,l,i);break;case 1:va||(ai(i,l),o=i.stateNode,typeof o.componentWillUnmount=="function"&&Pd(i,l,o)),Ml(a,l,i);break;case 21:Ml(a,l,i);break;case 22:va=(o=va)||i.memoizedState!==null,Ml(a,l,i),va=o;break;default:Ml(a,l,i)}}function St(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Gc(a)}catch(i){Ft(l,l.return,i)}}function ap(a){switch(a.tag){case 13:case 19:var l=a.stateNode;return l===null&&(l=a.stateNode=new Py),l;case 22:return a=a.stateNode,l=a._retryCache,l===null&&(l=a._retryCache=new Py),l;default:throw Error(y(435,a.tag))}}function ef(a,l){var i=ap(a);l.forEach(function(o){var f=rb.bind(null,a,o);i.has(o)||(i.add(o),o.then(f,f))})}function Qn(a,l){var i=l.deletions;if(i!==null)for(var o=0;o<i.length;o++){var f=i[o],h=a,S=l,T=S;e:for(;T!==null;){switch(T.tag){case 27:if(nn(T.type)){ua=T.stateNode,Xn=!1;break e}break;case 5:ua=T.stateNode,Xn=!1;break e;case 3:case 4:ua=T.stateNode.containerInfo,Xn=!0;break e}T=T.return}if(ua===null)throw Error(y(160));tp(h,S,f),ua=null,Xn=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)wc(l,a),l=l.sibling}var rl=null;function wc(a,l){var i=a.alternate,o=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Qn(l,a),yn(a),o&4&&(to(3,a,a.return),Ec(3,a),to(5,a,a.return));break;case 1:Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),o&64&&ni&&(a=a.updateQueue,a!==null&&(o=a.callbacks,o!==null&&(i=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=i===null?o:i.concat(o))));break;case 26:var f=rl;if(Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),o&4){var h=i!==null?i.memoizedState:null;if(o=a.memoizedState,i===null)if(o===null)if(a.stateNode===null){e:{o=a.type,i=a.memoizedProps,f=f.ownerDocument||f;t:switch(o){case"title":h=f.getElementsByTagName("title")[0],(!h||h[os]||h[ea]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(o),f.head.insertBefore(h,f.querySelector("head > title"))),J(h,o,i),h[ea]=a,Ta(h),o=h;break e;case"link":var S=Vc("link","href",f).get(o+(i.href||""));if(S){for(var T=0;T<S.length;T++)if(h=S[T],h.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&h.getAttribute("rel")===(i.rel==null?null:i.rel)&&h.getAttribute("title")===(i.title==null?null:i.title)&&h.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){S.splice(T,1);break t}}h=f.createElement(o),J(h,o,i),f.head.appendChild(h);break;case"meta":if(S=Vc("meta","content",f).get(o+(i.content||""))){for(T=0;T<S.length;T++)if(h=S[T],h.getAttribute("content")===(i.content==null?null:""+i.content)&&h.getAttribute("name")===(i.name==null?null:i.name)&&h.getAttribute("property")===(i.property==null?null:i.property)&&h.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&h.getAttribute("charset")===(i.charSet==null?null:i.charSet)){S.splice(T,1);break t}}h=f.createElement(o),J(h,o,i),f.head.appendChild(h);break;default:throw Error(y(468,o))}h[ea]=a,Ta(h),o=h}a.stateNode=o}else Ap(f,a.type,a.stateNode);else a.stateNode=Rh(f,o,a.memoizedProps);else h!==o?(h===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):h.count--,o===null?Ap(f,a.type,a.stateNode):Rh(f,o,a.memoizedProps)):o===null&&a.stateNode!==null&&or(a,a.memoizedProps,i.memoizedProps)}break;case 27:Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),i!==null&&o&4&&or(a,a.memoizedProps,i.memoizedProps);break;case 5:if(Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),a.flags&32){f=a.stateNode;try{No(f,"")}catch(F){Ft(a,a.return,F)}}o&4&&a.stateNode!=null&&(f=a.memoizedProps,or(a,f,i!==null?i.memoizedProps:f)),o&1024&&(eh=!0);break;case 6:if(Qn(l,a),yn(a),o&4){if(a.stateNode===null)throw Error(y(162));o=a.memoizedProps,i=a.stateNode;try{i.nodeValue=o}catch(F){Ft(a,a.return,F)}}break;case 3:if(gf=null,f=rl,rl=Qa(l.containerInfo),Qn(l,a),rl=f,yn(a),o&4&&i!==null&&i.memoizedState.isDehydrated)try{Gc(l.containerInfo)}catch(F){Ft(a,a.return,F)}eh&&(eh=!1,rr(a));break;case 4:o=rl,rl=Qa(a.stateNode.containerInfo),Qn(l,a),yn(a),rl=o;break;case 12:Qn(l,a),yn(a);break;case 13:Qn(l,a),yn(a),a.child.flags&8192&&a.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(rp=Bt()),o&4&&(o=a.updateQueue,o!==null&&(a.updateQueue=null,ef(a,o)));break;case 22:f=a.memoizedState!==null;var z=i!==null&&i.memoizedState!==null,Y=ni,le=va;if(ni=Y||f,va=le||z,Qn(l,a),va=le,ni=Y,yn(a),o&8192)e:for(l=a.stateNode,l._visibility=f?l._visibility&-2:l._visibility|1,f&&(i===null||z||ni||va||yu(a)),i=null,l=a;;){if(l.tag===5||l.tag===26){if(i===null){z=i=l;try{if(h=z.stateNode,f)S=h.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{T=z.stateNode;var oe=z.memoizedProps.style,Q=oe!=null&&oe.hasOwnProperty("display")?oe.display:null;T.style.display=Q==null||typeof Q=="boolean"?"":(""+Q).trim()}}catch(F){Ft(z,z.return,F)}}}else if(l.tag===6){if(i===null){z=l;try{z.stateNode.nodeValue=f?"":z.memoizedProps}catch(F){Ft(z,z.return,F)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===a)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break e;for(;l.sibling===null;){if(l.return===null||l.return===a)break e;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}o&4&&(o=a.updateQueue,o!==null&&(i=o.retryQueue,i!==null&&(o.retryQueue=null,ef(a,i))));break;case 19:Qn(l,a),yn(a),o&4&&(o=a.updateQueue,o!==null&&(a.updateQueue=null,ef(a,o)));break;case 30:break;case 21:break;default:Qn(l,a),yn(a)}}function yn(a){var l=a.flags;if(l&2){try{for(var i,o=a.return;o!==null;){if(y0(o)){i=o;break}o=o.return}if(i==null)throw Error(y(160));switch(i.tag){case 27:var f=i.stateNode,h=Iy(a);ao(a,h,f);break;case 5:var S=i.stateNode;i.flags&32&&(No(S,""),i.flags&=-33);var T=Iy(a);ao(a,T,S);break;case 3:case 4:var z=i.stateNode.containerInfo,Y=Iy(a);Dl(a,Y,z);break;default:throw Error(y(161))}}catch(le){Ft(a,a.return,le)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function rr(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var l=a;rr(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),a=a.sibling}}function mu(a,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)th(a,l.alternate,l),l=l.sibling}function yu(a){for(a=a.child;a!==null;){var l=a;switch(l.tag){case 0:case 11:case 14:case 15:to(4,l,l.return),yu(l);break;case 1:ai(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&Pd(l,l.return,i),yu(l);break;case 27:Ee(l.stateNode);case 26:case 5:ai(l,l.return),yu(l);break;case 22:l.memoizedState===null&&yu(l);break;case 30:yu(l);break;default:yu(l)}a=a.sibling}}function oa(a,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var o=l.alternate,f=a,h=l,S=h.flags;switch(h.tag){case 0:case 11:case 15:oa(f,h,i),Ec(4,h);break;case 1:if(oa(f,h,i),o=h,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(Y){Ft(o,o.return,Y)}if(o=h,f=o.updateQueue,f!==null){var T=o.stateNode;try{var z=f.shared.hiddenCallbacks;if(z!==null)for(f.shared.hiddenCallbacks=null,f=0;f<z.length;f++)fc(z[f],T)}catch(Y){Ft(o,o.return,Y)}}i&&S&64&&m0(h),_c(h,h.return);break;case 27:p0(h);case 26:case 5:oa(f,h,i),i&&o===null&&S&4&&Fy(h),_c(h,h.return);break;case 12:oa(f,h,i);break;case 13:oa(f,h,i),i&&S&4&&St(f,h);break;case 22:h.memoizedState===null&&oa(f,h,i),_c(h,h.return);break;case 30:break;default:oa(f,h,i)}l=l.sibling}}function np(a,l){var i=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==i&&(a!=null&&a.refCount++,i!=null&&$u(i))}function Cl(a,l){a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&$u(a))}function li(a,l,i,o){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)pu(a,l,i,o),l=l.sibling}function pu(a,l,i,o){var f=l.flags;switch(l.tag){case 0:case 11:case 15:li(a,l,i,o),f&2048&&Ec(9,l);break;case 1:li(a,l,i,o);break;case 3:li(a,l,i,o),f&2048&&(a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&$u(a)));break;case 12:if(f&2048){li(a,l,i,o),a=l.stateNode;try{var h=l.memoizedProps,S=h.id,T=h.onPostCommit;typeof T=="function"&&T(S,l.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(z){Ft(l,l.return,z)}}else li(a,l,i,o);break;case 13:li(a,l,i,o);break;case 23:break;case 22:h=l.stateNode,S=l.alternate,l.memoizedState!==null?h._visibility&2?li(a,l,i,o):no(a,l):h._visibility&2?li(a,l,i,o):(h._visibility|=2,cr(a,l,i,o,(l.subtreeFlags&10256)!==0)),f&2048&&np(S,l);break;case 24:li(a,l,i,o),f&2048&&Cl(l.alternate,l);break;default:li(a,l,i,o)}}function cr(a,l,i,o,f){for(f=f&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var h=a,S=l,T=i,z=o,Y=S.flags;switch(S.tag){case 0:case 11:case 15:cr(h,S,T,z,f),Ec(8,S);break;case 23:break;case 22:var le=S.stateNode;S.memoizedState!==null?le._visibility&2?cr(h,S,T,z,f):no(h,S):(le._visibility|=2,cr(h,S,T,z,f)),f&&Y&2048&&np(S.alternate,S);break;case 24:cr(h,S,T,z,f),f&&Y&2048&&Cl(S.alternate,S);break;default:cr(h,S,T,z,f)}l=l.sibling}}function no(a,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=a,o=l,f=o.flags;switch(o.tag){case 22:no(i,o),f&2048&&np(o.alternate,o);break;case 24:no(i,o),f&2048&&Cl(o.alternate,o);break;default:no(i,o)}l=l.sibling}}var Ut=8192;function lo(a){if(a.subtreeFlags&Ut)for(a=a.child;a!==null;)Xa(a),a=a.sibling}function Xa(a){switch(a.tag){case 26:lo(a),a.flags&Ut&&a.memoizedState!==null&&j0(rl,a.memoizedState,a.memoizedProps);break;case 5:lo(a);break;case 3:case 4:var l=rl;rl=Qa(a.stateNode.containerInfo),lo(a),rl=l;break;case 22:a.memoizedState===null&&(l=a.alternate,l!==null&&l.memoizedState!==null?(l=Ut,Ut=16777216,lo(a),Ut=l):lo(a));break;default:lo(a)}}function v0(a){var l=a.alternate;if(l!==null&&(a=l.child,a!==null)){l.child=null;do l=a.sibling,a.sibling=null,a=l;while(a!==null)}}function Ac(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var o=l[i];Oa=o,cl(o,a)}v0(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)ah(a),a=a.sibling}function ah(a){switch(a.tag){case 0:case 11:case 15:Ac(a),a.flags&2048&&to(9,a,a.return);break;case 3:Ac(a);break;case 12:Ac(a);break;case 22:var l=a.stateNode;a.memoizedState!==null&&l._visibility&2&&(a.return===null||a.return.tag!==13)?(l._visibility&=-3,tf(a)):Ac(a);break;default:Ac(a)}}function tf(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var o=l[i];Oa=o,cl(o,a)}v0(a)}for(a=a.child;a!==null;){switch(l=a,l.tag){case 0:case 11:case 15:to(8,l,l.return),tf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,tf(l));break;default:tf(l)}a=a.sibling}}function cl(a,l){for(;Oa!==null;){var i=Oa;switch(i.tag){case 0:case 11:case 15:to(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var o=i.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:$u(i.memoizedState.cache)}if(o=i.child,o!==null)o.return=i,Oa=o;else e:for(i=a;Oa!==null;){o=Oa;var f=o.sibling,h=o.return;if(ep(o),o===i){Oa=null;break e}if(f!==null){f.return=h,Oa=f;break e}Oa=h}}}var b0={getCacheForType:function(a){var l=tn(Aa),i=l.data.get(a);return i===void 0&&(i=a(),l.data.set(a,i)),i}},lp=typeof WeakMap=="function"?WeakMap:Map,Xt=0,Wt=null,Tt=null,Mt=0,Nt=0,Kn=null,gu=!1,io=!1,ip=!1,vu=0,ba=0,uo=0,oo=0,up=0,ka=0,Rc=0,af=null,An=null,op=!1,rp=0,nh=1/0,lh=null,Ai=null,an=0,ro=null,co=null,Oc=0,Jn=0,ih=null,cp=null,zc=0,uh=null;function sl(){if((Xt&2)!==0&&Mt!==0)return Mt&-Mt;if(W.T!==null){var a=Wu;return a!==0?a:ph()}return gi()}function S0(){ka===0&&(ka=(Mt&536870912)===0||st?L():536870912);var a=Ra.current;return a!==null&&(a.flags|=32),ka}function $n(a,l,i){(a===Wt&&(Nt===2||Nt===9)||a.cancelPendingCommit!==null)&&(ii(a,0),bu(a,Mt,ka,!1)),Me(a,i),((Xt&2)===0||a!==Wt)&&(a===Wt&&((Xt&2)===0&&(oo|=i),ba===4&&bu(a,Mt,ka,!1)),ui(a))}function T0(a,l,i){if((Xt&6)!==0)throw Error(y(327));var o=!i&&(l&124)===0&&(l&a.expiredLanes)===0||Cn(a,l),f=o?rh(a,l):sr(a,l,!0),h=o;do{if(f===0){io&&!o&&bu(a,l,0,!1);break}else{if(i=a.current.alternate,h&&!oh(i)){f=sr(a,l,!1),h=!1;continue}if(f===2){if(h=l,a.errorRecoveryDisabledLanes&h)var S=0;else S=a.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){l=S;e:{var T=a;f=af;var z=T.current.memoizedState.isDehydrated;if(z&&(ii(T,S).flags|=256),S=sr(T,S,!1),S!==2){if(ip&&!z){T.errorRecoveryDisabledLanes|=h,oo|=h,f=4;break e}h=An,An=f,h!==null&&(An===null?An=h:An.push.apply(An,h))}f=S}if(h=!1,f!==2)continue}}if(f===1){ii(a,0),bu(a,l,0,!0);break}e:{switch(o=a,h=f,h){case 0:case 1:throw Error(y(345));case 4:if((l&4194048)!==l)break;case 6:bu(o,l,ka,!gu);break e;case 2:An=null;break;case 3:case 5:break;default:throw Error(y(329))}if((l&62914560)===l&&(f=rp+300-Bt(),10<f)){if(bu(o,l,ka,!gu),Ia(o,0,!0)!==0)break e;o.timeoutHandle=zi(Dc.bind(null,o,i,An,lh,op,l,ka,oo,Rc,gu,h,2,-0,0),f);break e}Dc(o,i,An,lh,op,l,ka,oo,Rc,gu,h,0,-0,0)}}break}while(!0);ui(a)}function Dc(a,l,i,o,f,h,S,T,z,Y,le,oe,Q,F){if(a.timeoutHandle=-1,oe=l.subtreeFlags,(oe&8192||(oe&16785408)===16785408)&&(Lc={stylesheets:null,count:0,unsuspend:k0},Xa(l),oe=B0(),oe!==null)){a.cancelPendingCommit=oe(_0.bind(null,a,l,h,i,o,f,S,T,z,le,1,Q,F)),bu(a,h,S,!Y);return}_0(a,l,h,i,o,f,S,T,z)}function oh(a){for(var l=a;;){var i=l.tag;if((i===0||i===11||i===15)&&l.flags&16384&&(i=l.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var f=i[o],h=f.getSnapshot;f=f.value;try{if(!En(h(),f))return!1}catch{return!1}}if(i=l.child,l.subtreeFlags&16384&&i!==null)i.return=l,l=i;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function bu(a,l,i,o){l&=~up,l&=~oo,a.suspendedLanes|=l,a.pingedLanes&=~l,o&&(a.warmLanes|=l),o=a.expirationTimes;for(var f=l;0<f;){var h=31-Gt(f),S=1<<h;o[h]=-1,f&=~S}i!==0&&tt(a,i,l)}function nf(){return(Xt&6)===0?(Su(0),!1):!0}function Mc(){if(Tt!==null){if(Nt===0)var a=Tt.return;else a=Tt,$l=iu=null,hc(a),Yn=null,gc=0,a=Tt;for(;a!==null;)h0(a.alternate,a),a=a.return;Tt=null}}function ii(a,l){var i=a.timeoutHandle;i!==-1&&(a.timeoutHandle=-1,bp(i)),i=a.cancelPendingCommit,i!==null&&(a.cancelPendingCommit=null,i()),Mc(),Wt=a,Tt=i=Xl(a.current,null),Mt=l,Nt=0,Kn=null,gu=!1,io=Cn(a,l),ip=!1,Rc=ka=up=oo=uo=ba=0,An=af=null,op=!1,(l&8)!==0&&(l|=l&32);var o=a.entangledLanes;if(o!==0)for(a=a.entanglements,o&=l;0<o;){var f=31-Gt(o),h=1<<f;l|=a[f],o&=~h}return vu=l,Gl(),i}function Cc(a,l){at=null,W.H=Js,l===Wo||l===oc?(l=Od(),Nt=3):l===Cs?(l=Od(),Nt=4):Nt=l===qy?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Kn=l,Tt===null&&(ba=1,lr(a,ll(l,a.current)))}function sp(){var a=W.H;return W.H=Js,a===null?Js:a}function x0(){var a=W.A;return W.A=b0,a}function so(){ba=4,gu||(Mt&4194048)!==Mt&&Ra.current!==null||(io=!0),(uo&134217727)===0&&(oo&134217727)===0||Wt===null||bu(Wt,Mt,ka,!1)}function sr(a,l,i){var o=Xt;Xt|=2;var f=sp(),h=x0();(Wt!==a||Mt!==l)&&(lh=null,ii(a,l)),l=!1;var S=ba;e:do try{if(Nt!==0&&Tt!==null){var T=Tt,z=Kn;switch(Nt){case 8:Mc(),S=6;break e;case 3:case 2:case 9:case 6:Ra.current===null&&(l=!0);var Y=Nt;if(Nt=0,Kn=null,fr(a,T,z,Y),i&&io){S=0;break e}break;default:Y=Nt,Nt=0,Kn=null,fr(a,T,z,Y)}}E0(),S=ba;break}catch(le){Cc(a,le)}while(!0);return l&&a.shellSuspendCounter++,$l=iu=null,Xt=o,W.H=f,W.A=h,Tt===null&&(Wt=null,Mt=0,Gl()),S}function E0(){for(;Tt!==null;)ch(Tt)}function rh(a,l){var i=Xt;Xt|=2;var o=sp(),f=x0();Wt!==a||Mt!==l?(lh=null,nh=Bt()+500,ii(a,l)):io=Cn(a,l);e:do try{if(Nt!==0&&Tt!==null){l=Tt;var h=Kn;t:switch(Nt){case 1:Nt=0,Kn=null,fr(a,l,h,1);break;case 2:case 9:if(cy(h)){Nt=0,Kn=null,dp(l);break}l=function(){Nt!==2&&Nt!==9||Wt!==a||(Nt=7),ui(a)},h.then(l,l);break e;case 3:Nt=7;break e;case 4:Nt=5;break e;case 7:cy(h)?(Nt=0,Kn=null,dp(l)):(Nt=0,Kn=null,fr(a,l,h,7));break;case 5:var S=null;switch(Tt.tag){case 26:S=Tt.memoizedState;case 5:case 27:var T=Tt;if(!S||Rp(S)){Nt=0,Kn=null;var z=T.sibling;if(z!==null)Tt=z;else{var Y=T.return;Y!==null?(Tt=Y,sh(Y)):Tt=null}break t}}Nt=0,Kn=null,fr(a,l,h,5);break;case 6:Nt=0,Kn=null,fr(a,l,h,6);break;case 8:Mc(),ba=6;break e;default:throw Error(y(462))}}fp();break}catch(le){Cc(a,le)}while(!0);return $l=iu=null,W.H=o,W.A=f,Xt=i,Tt!==null?0:(Wt=null,Mt=0,Gl(),ba)}function fp(){for(;Tt!==null&&!Oo();)ch(Tt)}function ch(a){var l=Jy(a.alternate,a,vu);a.memoizedProps=a.pendingProps,l===null?sh(a):Tt=l}function dp(a){var l=a,i=l.alternate;switch(l.tag){case 15:case 0:l=Gy(i,l,l.pendingProps,l.type,void 0,Mt);break;case 11:l=Gy(i,l,l.pendingProps,l.type.render,l.ref,Mt);break;case 5:hc(l);default:h0(i,l),l=Tt=Td(l,vu),l=Jy(i,l,vu)}a.memoizedProps=a.pendingProps,l===null?sh(a):Tt=l}function fr(a,l,i,o){$l=iu=null,hc(l),Yn=null,gc=0;var f=l.return;try{if(ol(a,f,l,i,Mt)){ba=1,lr(a,ll(i,a.current)),Tt=null;return}}catch(h){if(f!==null)throw Tt=f,h;ba=1,lr(a,ll(i,a.current)),Tt=null;return}l.flags&32768?(st||o===1?a=!0:io||(Mt&536870912)!==0?a=!1:(gu=a=!0,(o===2||o===9||o===3||o===6)&&(o=Ra.current,o!==null&&o.tag===13&&(o.flags|=16384))),hp(l,a)):sh(l)}function sh(a){var l=a;do{if((l.flags&32768)!==0){hp(l,gu);return}a=l.return;var i=$t(l.alternate,l,vu);if(i!==null){Tt=i;return}if(l=l.sibling,l!==null){Tt=l;return}Tt=l=a}while(l!==null);ba===0&&(ba=5)}function hp(a,l){do{var i=Wy(a.alternate,a);if(i!==null){i.flags&=32767,Tt=i;return}if(i=a.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(a=a.sibling,a!==null)){Tt=a;return}Tt=a=i}while(a!==null);ba=6,Tt=null}function _0(a,l,i,o,f,h,S,T,z){a.cancelPendingCommit=null;do dh();while(an!==0);if((Xt&6)!==0)throw Error(y(327));if(l!==null){if(l===a.current)throw Error(y(177));if(h=l.lanes|l.childLanes,h|=Es,mt(a,i,h,S,T,z),a===Wt&&(Tt=Wt=null,Mt=0),co=l,ro=a,Oc=i,Jn=h,ih=f,cp=o,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,cb(k,function(){return R0(),null})):(a.callbackNode=null,a.callbackPriority=0),o=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||o){o=W.T,W.T=null,f=Z.p,Z.p=2,S=Xt,Xt|=4;try{g0(a,l,i)}finally{Xt=S,Z.p=f,W.T=o}}an=1,w0(),A0(),lf()}}function w0(){if(an===1){an=0;var a=ro,l=co,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=W.T,W.T=null;var o=Z.p;Z.p=2;var f=Xt;Xt|=4;try{wc(l,a);var h=hf,S=Ts(a.containerInfo),T=h.focusedElem,z=h.selectionRange;if(S!==T&&T&&T.ownerDocument&&la(T.ownerDocument.documentElement,T)){if(z!==null&&pd(T)){var Y=z.start,le=z.end;if(le===void 0&&(le=Y),"selectionStart"in T)T.selectionStart=Y,T.selectionEnd=Math.min(le,T.value.length);else{var oe=T.ownerDocument||document,Q=oe&&oe.defaultView||window;if(Q.getSelection){var F=Q.getSelection(),Ge=T.textContent.length,Ye=Math.min(z.start,Ge),qt=z.end===void 0?Ye:Math.min(z.end,Ge);!F.extend&&Ye>qt&&(S=qt,qt=Ye,Ye=S);var q=Yu(T,Ye),H=Yu(T,qt);if(q&&H&&(F.rangeCount!==1||F.anchorNode!==q.node||F.anchorOffset!==q.offset||F.focusNode!==H.node||F.focusOffset!==H.offset)){var G=oe.createRange();G.setStart(q.node,q.offset),F.removeAllRanges(),Ye>qt?(F.addRange(G),F.extend(H.node,H.offset)):(G.setEnd(H.node,H.offset),F.addRange(G))}}}}for(oe=[],F=T;F=F.parentNode;)F.nodeType===1&&oe.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<oe.length;T++){var ue=oe[T];ue.element.scrollLeft=ue.left,ue.element.scrollTop=ue.top}}Sf=!!vp,hf=vp=null}finally{Xt=f,Z.p=o,W.T=i}}a.current=l,an=2}}function A0(){if(an===2){an=0;var a=ro,l=co,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=W.T,W.T=null;var o=Z.p;Z.p=2;var f=Xt;Xt|=4;try{th(a,l.alternate,l)}finally{Xt=f,Z.p=o,W.T=i}}an=3}}function lf(){if(an===4||an===3){an=0,zo();var a=ro,l=co,i=Oc,o=cp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?an=5:(an=0,co=ro=null,fh(a,a.pendingLanes));var f=a.pendingLanes;if(f===0&&(Ai=null),_a(i),l=l.stateNode,Qe&&typeof Qe.onCommitFiberRoot=="function")try{Qe.onCommitFiberRoot(ze,l,void 0,(l.current.flags&128)===128)}catch{}if(o!==null){l=W.T,f=Z.p,Z.p=2,W.T=null;try{for(var h=a.onRecoverableError,S=0;S<o.length;S++){var T=o[S];h(T.value,{componentStack:T.stack})}}finally{W.T=l,Z.p=f}}(Oc&3)!==0&&dh(),ui(a),f=a.pendingLanes,(i&4194090)!==0&&(f&42)!==0?a===uh?zc++:(zc=0,uh=a):zc=0,Su(0)}}function fh(a,l){(a.pooledCacheLanes&=l)===0&&(l=a.pooledCache,l!=null&&(a.pooledCache=null,$u(l)))}function dh(a){return w0(),A0(),lf(),R0()}function R0(){if(an!==5)return!1;var a=ro,l=Jn;Jn=0;var i=_a(Oc),o=W.T,f=Z.p;try{Z.p=32>i?32:i,W.T=null,i=ih,ih=null;var h=ro,S=Oc;if(an=0,co=ro=null,Oc=0,(Xt&6)!==0)throw Error(y(331));var T=Xt;if(Xt|=4,ah(h.current),pu(h,h.current,S,i),Xt=T,Su(0,!1),Qe&&typeof Qe.onPostCommitFiberRoot=="function")try{Qe.onPostCommitFiberRoot(ze,h)}catch{}return!0}finally{Z.p=f,W.T=o,fh(a,l)}}function mp(a,l,i){l=ll(i,l),l=Qd(a.stateNode,l,2),a=Vn(a,l,2),a!==null&&(Me(a,2),ui(a))}function Ft(a,l,i){if(a.tag===3)mp(a,a,i);else for(;l!==null;){if(l.tag===3){mp(l,a,i);break}else if(l.tag===1){var o=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ai===null||!Ai.has(o))){a=ll(i,a),i=c0(2),o=Vn(l,i,2),o!==null&&(Ly(i,o,l,a),Me(o,2),ui(o));break}}l=l.return}}function uf(a,l,i){var o=a.pingCache;if(o===null){o=a.pingCache=new lp;var f=new Set;o.set(l,f)}else f=o.get(l),f===void 0&&(f=new Set,o.set(l,f));f.has(i)||(ip=!0,f.add(i),a=O0.bind(null,a,l,i),l.then(a,a))}function O0(a,l,i){var o=a.pingCache;o!==null&&o.delete(l),a.pingedLanes|=a.suspendedLanes&i,a.warmLanes&=~i,Wt===a&&(Mt&i)===i&&(ba===4||ba===3&&(Mt&62914560)===Mt&&300>Bt()-rp?(Xt&2)===0&&ii(a,0):up|=i,Rc===Mt&&(Rc=0)),ui(a)}function hh(a,l){l===0&&(l=he()),a=au(a,l),a!==null&&(Me(a,l),ui(a))}function z0(a){var l=a.memoizedState,i=0;l!==null&&(i=l.retryLane),hh(a,i)}function rb(a,l){var i=0;switch(a.tag){case 13:var o=a.stateNode,f=a.memoizedState;f!==null&&(i=f.retryLane);break;case 19:o=a.stateNode;break;case 22:o=a.stateNode._retryCache;break;default:throw Error(y(314))}o!==null&&o.delete(l),hh(a,i)}function cb(a,l){return $i(a,l)}var mh=null,Uc=null,of=!1,Nc=!1,rf=!1,fo=0;function ui(a){a!==Uc&&a.next===null&&(Uc===null?mh=Uc=a:Uc=Uc.next=a),Nc=!0,of||(of=!0,yh())}function Su(a,l){if(!rf&&Nc){rf=!0;do for(var i=!1,o=mh;o!==null;){if(a!==0){var f=o.pendingLanes;if(f===0)var h=0;else{var S=o.suspendedLanes,T=o.pingedLanes;h=(1<<31-Gt(42|a)+1)-1,h&=f&~(S&~T),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(i=!0,D0(o,h))}else h=Mt,h=Ia(o,o===Wt?h:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(h&3)===0||Cn(o,h)||(i=!0,D0(o,h));o=o.next}while(i);rf=!1}}function sb(){yp()}function yp(){Nc=of=!1;var a=0;fo!==0&&(Eh()&&(a=fo),fo=0);for(var l=Bt(),i=null,o=mh;o!==null;){var f=o.next,h=cf(o,l);h===0?(o.next=null,i===null?mh=f:i.next=f,f===null&&(Uc=i)):(i=o,(a!==0||(h&3)!==0)&&(Nc=!0)),o=f}Su(a)}function cf(a,l){for(var i=a.suspendedLanes,o=a.pingedLanes,f=a.expirationTimes,h=a.pendingLanes&-62914561;0<h;){var S=31-Gt(h),T=1<<S,z=f[S];z===-1?((T&i)===0||(T&o)!==0)&&(f[S]=x(T,l)):z<=l&&(a.expiredLanes|=T),h&=~T}if(l=Wt,i=Mt,i=Ia(a,a===l?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),o=a.callbackNode,i===0||a===l&&(Nt===2||Nt===9)||a.cancelPendingCommit!==null)return o!==null&&o!==null&&el(o),a.callbackNode=null,a.callbackPriority=0;if((i&3)===0||Cn(a,i)){if(l=i&-i,l===a.callbackPriority)return l;switch(o!==null&&el(o),_a(i)){case 2:case 8:i=U;break;case 32:i=k;break;case 268435456:i=xe;break;default:i=k}return o=pp.bind(null,a),i=$i(i,o),a.callbackPriority=l,a.callbackNode=i,l}return o!==null&&o!==null&&el(o),a.callbackPriority=2,a.callbackNode=null,2}function pp(a,l){if(an!==0&&an!==5)return a.callbackNode=null,a.callbackPriority=0,null;var i=a.callbackNode;if(dh()&&a.callbackNode!==i)return null;var o=Mt;return o=Ia(a,a===Wt?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),o===0?null:(T0(a,o,l),cf(a,Bt()),a.callbackNode!=null&&a.callbackNode===i?pp.bind(null,a):null)}function D0(a,l){if(dh())return null;T0(a,l,!0)}function yh(){hb(function(){(Xt&6)!==0?$i(Sl,sb):yp()})}function ph(){return fo===0&&(fo=L()),fo}function Hc(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:ds(""+a)}function gh(a,l){var i=l.ownerDocument.createElement("input");return i.name=l.name,i.value=l.value,a.id&&i.setAttribute("form",a.id),l.parentNode.insertBefore(i,l),a=new FormData(a),i.parentNode.removeChild(i),a}function vh(a,l,i,o,f){if(l==="submit"&&i&&i.stateNode===f){var h=Hc((f[fn]||null).action),S=o.submitter;S&&(l=(l=S[fn]||null)?Hc(l.formAction):S.getAttribute("formAction"),l!==null&&(h=l,S=null));var T=new ys("action","action",null,o,f);a.push({event:T,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(fo!==0){var z=S?gh(f,S):new FormData(f);zy(i,{pending:!0,data:z,method:f.method,action:h},null,z)}}else typeof h=="function"&&(T.preventDefault(),z=S?gh(f,S):new FormData(f),zy(i,{pending:!0,data:z,method:f.method,action:h},h,z))},currentTarget:f}]})}}for(var bh=0;bh<bd.length;bh++){var Sa=bd[bh],gp=Sa.toLowerCase(),fb=Sa[0].toUpperCase()+Sa.slice(1);Hn(gp,"on"+fb)}Hn(xs,"onAnimationEnd"),Hn(Ig,"onAnimationIteration"),Hn(Pm,"onAnimationStart"),Hn("dblclick","onDoubleClick"),Hn("focusin","onFocus"),Hn("focusout","onBlur"),Hn(lb,"onTransitionRun"),Hn(ey,"onTransitionStart"),Hn(vd,"onTransitionCancel"),Hn(ty,"onTransitionEnd"),Co("onMouseEnter",["mouseout","mouseover"]),Co("onMouseLeave",["mouseout","mouseover"]),Co("onPointerEnter",["pointerout","pointerover"]),Co("onPointerLeave",["pointerout","pointerover"]),Ya("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ya("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ya("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ya("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pe="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(" "),db=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pe));function Tu(a,l){l=(l&4)!==0;for(var i=0;i<a.length;i++){var o=a[i],f=o.event;o=o.listeners;e:{var h=void 0;if(l)for(var S=o.length-1;0<=S;S--){var T=o[S],z=T.instance,Y=T.currentTarget;if(T=T.listener,z!==h&&f.isPropagationStopped())break e;h=T,f.currentTarget=Y;try{h(f)}catch(le){Fs(le)}f.currentTarget=null,h=z}else for(S=0;S<o.length;S++){if(T=o[S],z=T.instance,Y=T.currentTarget,T=T.listener,z!==h&&f.isPropagationStopped())break e;h=T,f.currentTarget=Y;try{h(f)}catch(le){Fs(le)}f.currentTarget=null,h=z}}}}function ut(a,l){var i=l[Rm];i===void 0&&(i=l[Rm]=new Set);var o=a+"__bubble";i.has(o)||(M0(l,a,2,!1),i.add(o))}function ho(a,l,i){var o=0;l&&(o|=4),M0(i,a,o,l)}var dr="_reactListening"+Math.random().toString(36).slice(2);function sf(a){if(!a[dr]){a[dr]=!0,Om.forEach(function(i){i!=="selectionchange"&&(db.has(i)||ho(i,!1,a),ho(i,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[dr]||(l[dr]=!0,ho("selectionchange",!1,l))}}function M0(a,l,i,o){switch(Y0(l)){case 2:var f=L0;break;case 8:f=q0;break;default:f=Mh}i=f.bind(null,l,i,a),f=void 0,!ad||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(f=!0),o?f!==void 0?a.addEventListener(l,i,{capture:!0,passive:f}):a.addEventListener(l,i,!0):f!==void 0?a.addEventListener(l,i,{passive:f}):a.addEventListener(l,i,!1)}function ff(a,l,i,o,f){var h=o;if((l&1)===0&&(l&2)===0&&o!==null)e:for(;;){if(o===null)return;var S=o.tag;if(S===3||S===4){var T=o.stateNode.containerInfo;if(T===f)break;if(S===4)for(S=o.return;S!==null;){var z=S.tag;if((z===3||z===4)&&S.stateNode.containerInfo===f)return;S=S.return}for(;T!==null;){if(S=ku(T),S===null)return;if(z=S.tag,z===5||z===6||z===26||z===27){o=h=S;continue e}T=T.parentNode}}o=o.return}qg(function(){var Y=h,le=Ho(i),oe=[];e:{var Q=ay.get(a);if(Q!==void 0){var F=ys,Ge=a;switch(a){case"keypress":if(ms(i)===0)break e;case"keydown":case"keyup":F=Vo;break;case"focusin":Ge="focus",F=Lm;break;case"focusout":Ge="blur",F=Lm;break;case"beforeblur":case"afterblur":F=Lm;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=gs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=Zg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=rd;break;case xs:case Ig:case Pm:F=eb;break;case ty:F=Nn;break;case"scroll":case"scrollend":F=Iv;break;case"wheel":F=cd;break;case"copy":case"cut":case"paste":F=ab;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=Un;break;case"toggle":case"beforetoggle":F=Zm}var Ye=(l&4)!==0,qt=!Ye&&(a==="scroll"||a==="scrollend"),q=Ye?Q!==null?Q+"Capture":null:Q;Ye=[];for(var H=Y,G;H!==null;){var ue=H;if(G=ue.stateNode,ue=ue.tag,ue!==5&&ue!==26&&ue!==27||G===null||q===null||(ue=Ii(H,q),ue!=null&&Ye.push(Wn(H,ue,G))),qt)break;H=H.return}0<Ye.length&&(Q=new F(Q,Ge,null,i,le),oe.push({event:Q,listeners:Ye}))}}if((l&7)===0){e:{if(Q=a==="mouseover"||a==="pointerover",F=a==="mouseout"||a==="pointerout",Q&&i!==td&&(Ge=i.relatedTarget||i.fromElement)&&(ku(Ge)||Ge[Mo]))break e;if((F||Q)&&(Q=le.window===le?le:(Q=le.ownerDocument)?Q.defaultView||Q.parentWindow:window,F?(Ge=i.relatedTarget||i.toElement,F=Y,Ge=Ge?ku(Ge):null,Ge!==null&&(qt=v(Ge),Ye=Ge.tag,Ge!==qt||Ye!==5&&Ye!==27&&Ye!==6)&&(Ge=null)):(F=null,Ge=Y),F!==Ge)){if(Ye=gs,ue="onMouseLeave",q="onMouseEnter",H="mouse",(a==="pointerout"||a==="pointerover")&&(Ye=Un,ue="onPointerLeave",q="onPointerEnter",H="pointer"),qt=F==null?Q:Hr(F),G=Ge==null?Q:Hr(Ge),Q=new Ye(ue,H+"leave",F,i,le),Q.target=qt,Q.relatedTarget=G,ue=null,ku(le)===Y&&(Ye=new Ye(q,H+"enter",Ge,i,le),Ye.target=G,Ye.relatedTarget=qt,ue=Ye),qt=ue,F&&Ge)t:{for(Ye=F,q=Ge,H=0,G=Ye;G;G=yo(G))H++;for(G=0,ue=q;ue;ue=yo(ue))G++;for(;0<H-G;)Ye=yo(Ye),H--;for(;0<G-H;)q=yo(q),G--;for(;H--;){if(Ye===q||q!==null&&Ye===q.alternate)break t;Ye=yo(Ye),q=yo(q)}Ye=null}else Ye=null;F!==null&&Sh(oe,Q,F,Ye,!1),Ge!==null&&qt!==null&&Sh(oe,qt,Ge,Ye,!0)}}e:{if(Q=Y?Hr(Y):window,F=Q.nodeName&&Q.nodeName.toLowerCase(),F==="select"||F==="input"&&Q.type==="file")var Oe=Lu;else if(Jm(Q))if($m)Oe=Pi;else{Oe=yd;var ft=Fg}else F=Q.nodeName,!F||F.toLowerCase()!=="input"||Q.type!=="checkbox"&&Q.type!=="radio"?Y&&qr(Y.elementType)&&(Oe=Lu):Oe=qu;if(Oe&&(Oe=Oe(a,Y))){hd(oe,Oe,i,le);break e}ft&&ft(a,Q,Y),a==="focusout"&&Y&&Q.type==="number"&&Y.memoizedProps.value!=null&&ss(Q,"number",Q.value)}switch(ft=Y?Hr(Y):window,a){case"focusin":(Jm(ft)||ft.contentEditable==="true")&&(_l=ft,Qo=Y,nl=null);break;case"focusout":nl=Qo=_l=null;break;case"mousedown":Jr=!0;break;case"contextmenu":case"mouseup":case"dragend":Jr=!1,$r(oe,i,le);break;case"selectionchange":if(Im)break;case"keydown":case"keyup":$r(oe,i,le)}var qe;if(sd)e:{switch(a){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else El?dd(a,i)&&(Ze="onCompositionEnd"):a==="keydown"&&i.keyCode===229&&(Ze="onCompositionStart");Ze&&(fd&&i.locale!=="ko"&&(El||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&El&&(qe=hs()):(xl=le,nd="value"in xl?xl.value:xl.textContent,El=!0)),ft=mo(Y,Ze),0<ft.length&&(Ze=new qm(Ze,a,null,i,le),oe.push({event:Ze,listeners:ft}),qe?Ze.data=qe:(qe=bs(i),qe!==null&&(Ze.data=qe)))),(qe=nb?Qm(a,i):Km(a,i))&&(Ze=mo(Y,"onBeforeInput"),0<Ze.length&&(ft=new qm("onBeforeInput","beforeinput",null,i,le),oe.push({event:ft,listeners:Ze}),ft.data=qe)),vh(oe,a,Y,i,le)}Tu(oe,l)})}function Wn(a,l,i){return{instance:a,listener:l,currentTarget:i}}function mo(a,l){for(var i=l+"Capture",o=[];a!==null;){var f=a,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=Ii(a,i),f!=null&&o.unshift(Wn(a,f,h)),f=Ii(a,l),f!=null&&o.push(Wn(a,f,h))),a.tag===3)return o;a=a.return}return[]}function yo(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function Sh(a,l,i,o,f){for(var h=l._reactName,S=[];i!==null&&i!==o;){var T=i,z=T.alternate,Y=T.stateNode;if(T=T.tag,z!==null&&z===o)break;T!==5&&T!==26&&T!==27||Y===null||(z=Y,f?(Y=Ii(i,h),Y!=null&&S.unshift(Wn(i,Y,z))):f||(Y=Ii(i,h),Y!=null&&S.push(Wn(i,Y,z)))),i=i.return}S.length!==0&&a.push({event:l,listeners:S})}var Th=/\r\n?/g,fl=/\u0000|\uFFFD/g;function xh(a){return(typeof a=="string"?a:""+a).replace(Th,`
|
|
103
|
-
`).replace(fl,"")}function C0(a,l){return l=xh(l),xh(a)===l}function df(){}function It(a,l,i,o,f,h){switch(i){case"children":typeof o=="string"?l==="body"||l==="textarea"&&o===""||No(a,o):(typeof o=="number"||typeof o=="bigint")&&l!=="body"&&No(a,""+o);break;case"className":Wi(a,"class",o);break;case"tabIndex":Wi(a,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Wi(a,i,o);break;case"style":ed(a,o,h);break;case"data":if(l!=="object"){Wi(a,"data",o);break}case"src":case"href":if(o===""&&(l!=="a"||i!=="href")){a.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){a.removeAttribute(i);break}o=ds(""+o),a.setAttribute(i,o);break;case"action":case"formAction":if(typeof o=="function"){a.setAttribute(i,"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 h=="function"&&(i==="formAction"?(l!=="input"&&It(a,l,"name",f.name,f,null),It(a,l,"formEncType",f.formEncType,f,null),It(a,l,"formMethod",f.formMethod,f,null),It(a,l,"formTarget",f.formTarget,f,null)):(It(a,l,"encType",f.encType,f,null),It(a,l,"method",f.method,f,null),It(a,l,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){a.removeAttribute(i);break}o=ds(""+o),a.setAttribute(i,o);break;case"onClick":o!=null&&(a.onclick=df);break;case"onScroll":o!=null&&ut("scroll",a);break;case"onScrollEnd":o!=null&&ut("scrollend",a);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(y(61));if(i=o.__html,i!=null){if(f.children!=null)throw Error(y(60));a.innerHTML=i}}break;case"multiple":a.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":a.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){a.removeAttribute("xlink:href");break}i=ds(""+o),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?a.setAttribute(i,""+o):a.removeAttribute(i);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":o&&typeof o!="function"&&typeof o!="symbol"?a.setAttribute(i,""):a.removeAttribute(i);break;case"capture":case"download":o===!0?a.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?a.setAttribute(i,o):a.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?a.setAttribute(i,o):a.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?a.removeAttribute(i):a.setAttribute(i,o);break;case"popover":ut("beforetoggle",a),ut("toggle",a),cs(a,"popover",o);break;case"xlinkActuate":bi(a,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":bi(a,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":bi(a,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":bi(a,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":bi(a,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":bi(a,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":bi(a,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":bi(a,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":bi(a,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":cs(a,"is",o);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=fs.get(i)||i,cs(a,i,o))}}function ja(a,l,i,o,f,h){switch(i){case"style":ed(a,o,h);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(y(61));if(i=o.__html,i!=null){if(f.children!=null)throw Error(y(60));a.innerHTML=i}}break;case"children":typeof o=="string"?No(a,o):(typeof o=="number"||typeof o=="bigint")&&No(a,""+o);break;case"onScroll":o!=null&&ut("scroll",a);break;case"onScrollEnd":o!=null&&ut("scrollend",a);break;case"onClick":o!=null&&(a.onclick=df);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!rs.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),l=i.slice(2,f?i.length-7:void 0),h=a[fn]||null,h=h!=null?h[i]:null,typeof h=="function"&&a.removeEventListener(l,h,f),typeof o=="function")){typeof h!="function"&&h!==null&&(i in a?a[i]=null:a.hasAttribute(i)&&a.removeAttribute(i)),a.addEventListener(l,o,f);break e}i in a?a[i]=o:o===!0?a.setAttribute(i,""):cs(a,i,o)}}}function J(a,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ut("error",a),ut("load",a);var o=!1,f=!1,h;for(h in i)if(i.hasOwnProperty(h)){var S=i[h];if(S!=null)switch(h){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(y(137,l));default:It(a,l,h,S,i,null)}}f&&It(a,l,"srcSet",i.srcSet,i,null),o&&It(a,l,"src",i.src,i,null);return;case"input":ut("invalid",a);var T=h=S=f=null,z=null,Y=null;for(o in i)if(i.hasOwnProperty(o)){var le=i[o];if(le!=null)switch(o){case"name":f=le;break;case"type":S=le;break;case"checked":z=le;break;case"defaultChecked":Y=le;break;case"value":h=le;break;case"defaultValue":T=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(y(137,l));break;default:It(a,l,o,le,i,null)}}Nm(a,h,T,z,Y,S,f,!1),Vr(a);return;case"select":ut("invalid",a),o=S=h=null;for(f in i)if(i.hasOwnProperty(f)&&(T=i[f],T!=null))switch(f){case"value":h=T;break;case"defaultValue":S=T;break;case"multiple":o=T;default:It(a,l,f,T,i,null)}l=h,i=S,a.multiple=!!o,l!=null?Bu(a,!!o,l,!1):i!=null&&Bu(a,!!o,i,!0);return;case"textarea":ut("invalid",a),h=f=o=null;for(S in i)if(i.hasOwnProperty(S)&&(T=i[S],T!=null))switch(S){case"value":o=T;break;case"defaultValue":f=T;break;case"children":h=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error(y(91));break;default:It(a,l,S,T,i,null)}km(a,o,f,h),Vr(a);return;case"option":for(z in i)if(i.hasOwnProperty(z)&&(o=i[z],o!=null))switch(z){case"selected":a.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:It(a,l,z,o,i,null)}return;case"dialog":ut("beforetoggle",a),ut("toggle",a),ut("cancel",a),ut("close",a);break;case"iframe":case"object":ut("load",a);break;case"video":case"audio":for(o=0;o<Pe.length;o++)ut(Pe[o],a);break;case"image":ut("error",a),ut("load",a);break;case"details":ut("toggle",a);break;case"embed":case"source":case"link":ut("error",a),ut("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Y in i)if(i.hasOwnProperty(Y)&&(o=i[Y],o!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(y(137,l));default:It(a,l,Y,o,i,null)}return;default:if(qr(l)){for(le in i)i.hasOwnProperty(le)&&(o=i[le],o!==void 0&&ja(a,l,le,o,i,void 0));return}}for(T in i)i.hasOwnProperty(T)&&(o=i[T],o!=null&&It(a,l,T,o,i,null))}function Lt(a,l,i,o){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,S=null,T=null,z=null,Y=null,le=null;for(F in i){var oe=i[F];if(i.hasOwnProperty(F)&&oe!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":z=oe;default:o.hasOwnProperty(F)||It(a,l,F,null,o,oe)}}for(var Q in o){var F=o[Q];if(oe=i[Q],o.hasOwnProperty(Q)&&(F!=null||oe!=null))switch(Q){case"type":h=F;break;case"name":f=F;break;case"checked":Y=F;break;case"defaultChecked":le=F;break;case"value":S=F;break;case"defaultValue":T=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(y(137,l));break;default:F!==oe&&It(a,l,Q,F,o,oe)}}Um(a,S,T,z,Y,le,h,f);return;case"select":F=S=T=Q=null;for(h in i)if(z=i[h],i.hasOwnProperty(h)&&z!=null)switch(h){case"value":break;case"multiple":F=z;default:o.hasOwnProperty(h)||It(a,l,h,null,o,z)}for(f in o)if(h=o[f],z=i[f],o.hasOwnProperty(f)&&(h!=null||z!=null))switch(f){case"value":Q=h;break;case"defaultValue":T=h;break;case"multiple":S=h;default:h!==z&&It(a,l,f,h,o,z)}l=T,i=S,o=F,Q!=null?Bu(a,!!i,Q,!1):!!o!=!!i&&(l!=null?Bu(a,!!i,l,!0):Bu(a,!!i,i?[]:"",!1));return;case"textarea":F=Q=null;for(T in i)if(f=i[T],i.hasOwnProperty(T)&&f!=null&&!o.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:It(a,l,T,null,o,f)}for(S in o)if(f=o[S],h=i[S],o.hasOwnProperty(S)&&(f!=null||h!=null))switch(S){case"value":Q=f;break;case"defaultValue":F=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(y(91));break;default:f!==h&&It(a,l,S,f,o,h)}Hm(a,Q,F);return;case"option":for(var Ge in i)if(Q=i[Ge],i.hasOwnProperty(Ge)&&Q!=null&&!o.hasOwnProperty(Ge))switch(Ge){case"selected":a.selected=!1;break;default:It(a,l,Ge,null,o,Q)}for(z in o)if(Q=o[z],F=i[z],o.hasOwnProperty(z)&&Q!==F&&(Q!=null||F!=null))switch(z){case"selected":a.selected=Q&&typeof Q!="function"&&typeof Q!="symbol";break;default:It(a,l,z,Q,o,F)}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 Ye in i)Q=i[Ye],i.hasOwnProperty(Ye)&&Q!=null&&!o.hasOwnProperty(Ye)&&It(a,l,Ye,null,o,Q);for(Y in o)if(Q=o[Y],F=i[Y],o.hasOwnProperty(Y)&&Q!==F&&(Q!=null||F!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(y(137,l));break;default:It(a,l,Y,Q,o,F)}return;default:if(qr(l)){for(var qt in i)Q=i[qt],i.hasOwnProperty(qt)&&Q!==void 0&&!o.hasOwnProperty(qt)&&ja(a,l,qt,void 0,o,Q);for(le in o)Q=o[le],F=i[le],!o.hasOwnProperty(le)||Q===F||Q===void 0&&F===void 0||ja(a,l,le,Q,o,F);return}}for(var q in i)Q=i[q],i.hasOwnProperty(q)&&Q!=null&&!o.hasOwnProperty(q)&&It(a,l,q,null,o,Q);for(oe in o)Q=o[oe],F=i[oe],!o.hasOwnProperty(oe)||Q===F||Q==null&&F==null||It(a,l,oe,Q,o,F)}var vp=null,hf=null;function kc(a){return a.nodeType===9?a:a.ownerDocument}function Ri(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function xu(a,l){if(a===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&l==="foreignObject"?0:a}function hr(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Oi=null;function Eh(){var a=window.event;return a&&a.type==="popstate"?a===Oi?!1:(Oi=a,!0):(Oi=null,!1)}var zi=typeof setTimeout=="function"?setTimeout:void 0,bp=typeof clearTimeout=="function"?clearTimeout:void 0,U0=typeof Promise=="function"?Promise:void 0,hb=typeof queueMicrotask=="function"?queueMicrotask:typeof U0<"u"?function(a){return U0.resolve(null).then(a).catch(mb)}:zi;function mb(a){setTimeout(function(){throw a})}function nn(a){return a==="head"}function N0(a,l){var i=l,o=0,f=0;do{var h=i.nextSibling;if(a.removeChild(i),h&&h.nodeType===8)if(i=h.data,i==="/$"){if(0<o&&8>o){i=o;var S=a.ownerDocument;if(i&1&&Ee(S.documentElement),i&2&&Ee(S.body),i&4)for(i=S.head,Ee(i),S=i.firstChild;S;){var T=S.nextSibling,z=S.nodeName;S[os]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&S.rel.toLowerCase()==="stylesheet"||i.removeChild(S),S=T}}if(f===0){a.removeChild(h),Gc(l);return}f--}else i==="$"||i==="$?"||i==="$!"?f++:o=i.charCodeAt(0)-48;else o=0;i=h}while(i);Gc(l)}function mf(a){var l=a.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var i=l;switch(l=l.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":mf(i),je(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}a.removeChild(i)}}function Sp(a,l,i,o){for(;a.nodeType===1;){var f=i;if(a.nodeName.toLowerCase()!==l.toLowerCase()){if(!o&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(o){if(!a[os])switch(l){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(h=a.getAttribute("rel"),h==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(h!==f.rel||a.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||a.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||a.getAttribute("title")!==(f.title==null?null:f.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(h=a.getAttribute("src"),(h!==(f.src==null?null:f.src)||a.getAttribute("type")!==(f.type==null?null:f.type)||a.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(l==="input"&&a.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&a.getAttribute("name")===h)return a}else return a;if(a=oi(a.nextSibling),a===null)break}return null}function jc(a,l,i){if(l==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=oi(a.nextSibling),a===null))return null;return a}function Tp(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState==="complete"}function xp(a,l){var i=a.ownerDocument;if(a.data!=="$?"||i.readyState==="complete")l();else{var o=function(){l(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),a._reactRetry=o}}function oi(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return a}var Ep=null;function mr(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var i=a.data;if(i==="$"||i==="$!"||i==="$?"){if(l===0)return a;l--}else i==="/$"&&l++}a=a.previousSibling}return null}function ln(a,l,i){switch(l=kc(i),a){case"html":if(a=l.documentElement,!a)throw Error(y(452));return a;case"head":if(a=l.head,!a)throw Error(y(453));return a;case"body":if(a=l.body,!a)throw Error(y(454));return a;default:throw Error(y(451))}}function Ee(a){for(var l=a.attributes;l.length;)a.removeAttributeNode(l[0]);je(a)}var Ea=new Map,Ul=new Set;function Qa(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var Eu=Z.d;Z.d={f:yb,r:_h,D:Di,C:wu,L:wh,m:po,X:Fn,S:pn,M:go};function yb(){var a=Eu.f(),l=nf();return a||l}function _h(a){var l=Pa(a);l!==null&&l.tag===5&&l.type==="form"?l0(l):Eu.r(a)}var _u=typeof document>"u"?null:document;function dl(a,l,i){var o=_u;if(o&&typeof l=="string"&&l){var f=Tl(l);f='link[rel="'+a+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),Ul.has(f)||(Ul.add(f),a={rel:a,crossOrigin:i,href:l},o.querySelector(f)===null&&(l=o.createElement("link"),J(l,"link",a),Ta(l),o.head.appendChild(l)))}}function Di(a){Eu.D(a),dl("dns-prefetch",a,null)}function wu(a,l){Eu.C(a,l),dl("preconnect",a,l)}function wh(a,l,i){Eu.L(a,l,i);var o=_u;if(o&&a&&l){var f='link[rel="preload"][as="'+Tl(l)+'"]';l==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Tl(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Tl(i.imageSizes)+'"]')):f+='[href="'+Tl(a)+'"]';var h=f;switch(l){case"style":h=Bc(a);break;case"script":h=yr(a)}Ea.has(h)||(a=X({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:a,as:l},i),Ea.set(h,a),o.querySelector(f)!==null||l==="style"&&o.querySelector(yf(h))||l==="script"&&o.querySelector(ri(h))||(l=o.createElement("link"),J(l,"link",a),Ta(l),o.head.appendChild(l)))}}function po(a,l){Eu.m(a,l);var i=_u;if(i&&a){var o=l&&typeof l.as=="string"?l.as:"script",f='link[rel="modulepreload"][as="'+Tl(o)+'"][href="'+Tl(a)+'"]',h=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=yr(a)}if(!Ea.has(h)&&(a=X({rel:"modulepreload",href:a},l),Ea.set(h,a),i.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(ri(h)))return}o=i.createElement("link"),J(o,"link",a),Ta(o),i.head.appendChild(o)}}}function pn(a,l,i){Eu.S(a,l,i);var o=_u;if(o&&a){var f=kr(o).hoistableStyles,h=Bc(a);l=l||"default";var S=f.get(h);if(!S){var T={loading:0,preload:null};if(S=o.querySelector(yf(h)))T.loading=5;else{a=X({rel:"stylesheet",href:a,"data-precedence":l},i),(i=Ea.get(h))&&wp(a,i);var z=S=o.createElement("link");Ta(z),J(z,"link",a),z._p=new Promise(function(Y,le){z.onload=Y,z.onerror=le}),z.addEventListener("load",function(){T.loading|=1}),z.addEventListener("error",function(){T.loading|=2}),T.loading|=4,Oh(S,l,o)}S={type:"stylesheet",instance:S,count:1,state:T},f.set(h,S)}}}function Fn(a,l){Eu.X(a,l);var i=_u;if(i&&a){var o=kr(i).hoistableScripts,f=yr(a),h=o.get(f);h||(h=i.querySelector(ri(f)),h||(a=X({src:a,async:!0},l),(l=Ea.get(f))&&zh(a,l),h=i.createElement("script"),Ta(h),J(h,"link",a),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(f,h))}}function go(a,l){Eu.M(a,l);var i=_u;if(i&&a){var o=kr(i).hoistableScripts,f=yr(a),h=o.get(f);h||(h=i.querySelector(ri(f)),h||(a=X({src:a,async:!0,type:"module"},l),(l=Ea.get(f))&&zh(a,l),h=i.createElement("script"),Ta(h),J(h,"link",a),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(f,h))}}function Ah(a,l,i,o){var f=(f=De.current)?Qa(f):null;if(!f)throw Error(y(446));switch(a){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=Bc(i.href),i=kr(f).hoistableStyles,o=i.get(l),o||(o={type:"style",instance:null,count:0,state:null},i.set(l,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){a=Bc(i.href);var h=kr(f).hoistableStyles,S=h.get(a);if(S||(f=f.ownerDocument||f,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(a,S),(h=f.querySelector(yf(a)))&&!h._p&&(S.instance=h,S.state.loading=5),Ea.has(a)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Ea.set(a,i),h||pf(f,a,i,S.state))),l&&o===null)throw Error(y(528,""));return S}if(l&&o!==null)throw Error(y(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=yr(i),i=kr(f).hoistableScripts,o=i.get(l),o||(o={type:"script",instance:null,count:0,state:null},i.set(l,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(y(444,a))}}function Bc(a){return'href="'+Tl(a)+'"'}function yf(a){return'link[rel="stylesheet"]['+a+"]"}function _p(a){return X({},a,{"data-precedence":a.precedence,precedence:null})}function pf(a,l,i,o){a.querySelector('link[rel="preload"][as="style"]['+l+"]")?o.loading=1:(l=a.createElement("link"),o.preload=l,l.addEventListener("load",function(){return o.loading|=1}),l.addEventListener("error",function(){return o.loading|=2}),J(l,"link",i),Ta(l),a.head.appendChild(l))}function yr(a){return'[src="'+Tl(a)+'"]'}function ri(a){return"script[async]"+a}function Rh(a,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var o=a.querySelector('style[data-href~="'+Tl(i.href)+'"]');if(o)return l.instance=o,Ta(o),o;var f=X({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(a.ownerDocument||a).createElement("style"),Ta(o),J(o,"style",f),Oh(o,i.precedence,a),l.instance=o;case"stylesheet":f=Bc(i.href);var h=a.querySelector(yf(f));if(h)return l.state.loading|=4,l.instance=h,Ta(h),h;o=_p(i),(f=Ea.get(f))&&wp(o,f),h=(a.ownerDocument||a).createElement("link"),Ta(h);var S=h;return S._p=new Promise(function(T,z){S.onload=T,S.onerror=z}),J(h,"link",o),l.state.loading|=4,Oh(h,i.precedence,a),l.instance=h;case"script":return h=yr(i.src),(f=a.querySelector(ri(h)))?(l.instance=f,Ta(f),f):(o=i,(f=Ea.get(h))&&(o=X({},i),zh(o,f)),a=a.ownerDocument||a,f=a.createElement("script"),Ta(f),J(f,"link",o),a.head.appendChild(f),l.instance=f);case"void":return null;default:throw Error(y(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(o=l.instance,l.state.loading|=4,Oh(o,i.precedence,a));return l.instance}function Oh(a,l,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,h=f,S=0;S<o.length;S++){var T=o[S];if(T.dataset.precedence===l)h=T;else if(h!==f)break}h?h.parentNode.insertBefore(a,h.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(a,l.firstChild))}function wp(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.title==null&&(a.title=l.title)}function zh(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.integrity==null&&(a.integrity=l.integrity)}var gf=null;function Vc(a,l,i){if(gf===null){var o=new Map,f=gf=new Map;f.set(i,o)}else f=gf,o=f.get(i),o||(o=new Map,f.set(i,o));if(o.has(a))return o;for(o.set(a,null),i=i.getElementsByTagName(a),f=0;f<i.length;f++){var h=i[f];if(!(h[os]||h[ea]||a==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var S=h.getAttribute(l)||"";S=a+S;var T=o.get(S);T?T.push(h):o.set(S,[h])}}return o}function Ap(a,l,i){a=a.ownerDocument||a,a.head.insertBefore(i,l==="title"?a.querySelector("head > title"):null)}function H0(a,l,i){if(i===1||l.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return a=l.disabled,typeof l.precedence=="string"&&a==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Rp(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}var Lc=null;function k0(){}function j0(a,l,i){if(Lc===null)throw Error(y(475));var o=Lc;if(l.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var f=Bc(i.href),h=a.querySelector(yf(f));if(h){a=h._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(o.count++,o=qc.bind(o),a.then(o,o)),l.state.loading|=4,l.instance=h,Ta(h);return}h=a.ownerDocument||a,i=_p(i),(f=Ea.get(f))&&wp(i,f),h=h.createElement("link"),Ta(h);var S=h;S._p=new Promise(function(T,z){S.onload=T,S.onerror=z}),J(h,"link",i),l.instance=h}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(l,a),(a=l.state.preload)&&(l.state.loading&3)===0&&(o.count++,l=qc.bind(o),a.addEventListener("load",l),a.addEventListener("error",l))}}function B0(){if(Lc===null)throw Error(y(475));var a=Lc;return a.stylesheets&&a.count===0&&bf(a,a.stylesheets),0<a.count?function(l){var i=setTimeout(function(){if(a.stylesheets&&bf(a,a.stylesheets),a.unsuspend){var o=a.unsuspend;a.unsuspend=null,o()}},6e4);return a.unsuspend=l,function(){a.unsuspend=null,clearTimeout(i)}}:null}function qc(){if(this.count--,this.count===0){if(this.stylesheets)bf(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var vf=null;function bf(a,l){a.stylesheets=null,a.unsuspend!==null&&(a.count++,vf=new Map,l.forEach(Op,a),vf=null,qc.call(a))}function Op(a,l){if(!(l.state.loading&4)){var i=vf.get(a);if(i)var o=i.get(null);else{i=new Map,vf.set(a,i);for(var f=a.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var S=f[h];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),o=S)}o&&i.set(null,o)}f=l.instance,S=f.getAttribute("data-precedence"),h=i.get(S)||o,h===o&&i.set(null,f),i.set(S,f),this.count++,o=qc.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),h?h.parentNode.insertBefore(f,h.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(f,a.firstChild)),l.state.loading|=4}}var un={$$typeof:Rt,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function Mi(a,l,i,o,f,h,S,T){this.tag=1,this.containerInfo=a,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=be(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=be(0),this.hiddenUpdates=be(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function V0(a,l,i,o,f,h,S,T,z,Y,le,oe){return a=new Mi(a,l,i,S,T,z,Y,oe),l=1,h===!0&&(l|=24),h=kn(3,null,null,l),a.current=h,h.stateNode=a,l=uy(),l.refCount++,a.pooledCache=l,l.refCount++,h.memoizedState={element:o,isDehydrated:i,cache:l},Us(h),a}function zp(a){return a?(a=Jo,a):Jo}function Dp(a,l,i,o,f,h){f=zp(f),o.context===null?o.context=f:o.pendingContext=f,o=ru(l),o.payload={element:i},h=h===void 0?null:h,h!==null&&(o.callback=h),i=Vn(a,o,l),i!==null&&($n(i,a,l),Fo(i,a,l))}function Mp(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var i=a.retryLane;a.retryLane=i!==0&&i<l?i:l}}function Dh(a,l){Mp(a,l),(a=a.alternate)&&Mp(a,l)}function Cp(a){if(a.tag===13){var l=au(a,67108864);l!==null&&$n(l,a,67108864),Dh(a,67108864)}}var Sf=!0;function L0(a,l,i,o){var f=W.T;W.T=null;var h=Z.p;try{Z.p=2,Mh(a,l,i,o)}finally{Z.p=h,W.T=f}}function q0(a,l,i,o){var f=W.T;W.T=null;var h=Z.p;try{Z.p=8,Mh(a,l,i,o)}finally{Z.p=h,W.T=f}}function Mh(a,l,i,o){if(Sf){var f=Up(o);if(f===null)ff(a,l,o,Tf,i),Hp(a,o);else if(kp(f,a,l,i,o))o.stopPropagation();else if(Hp(a,o),l&4&&-1<pb.indexOf(a)){for(;f!==null;){var h=Pa(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var S=Ua(h.pendingLanes);if(S!==0){var T=h;for(T.pendingLanes|=2,T.entangledLanes|=2;S;){var z=1<<31-Gt(S);T.entanglements[1]|=z,S&=~z}ui(h),(Xt&6)===0&&(nh=Bt()+500,Su(0))}}break;case 13:T=au(h,2),T!==null&&$n(T,h,2),nf(),Dh(h,2)}if(h=Up(o),h===null&&ff(a,l,o,Tf,i),h===f)break;f=h}f!==null&&o.stopPropagation()}else ff(a,l,o,null,i)}}function Up(a){return a=Ho(a),Np(a)}var Tf=null;function Np(a){if(Tf=null,a=ku(a),a!==null){var l=v(a);if(l===null)a=null;else{var i=l.tag;if(i===13){if(a=_(l),a!==null)return a;a=null}else if(i===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null)}}return Tf=a,null}function Y0(a){switch(a){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(yi()){case Sl:return 2;case U:return 8;case k:case ne:return 32;case xe:return 268435456;default:return 32}default:return 32}}var Ch=!1,ci=null,Ci=null,Au=null,Yc=new Map,xf=new Map,vo=[],pb="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 Hp(a,l){switch(a){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":Au=null;break;case"pointerover":case"pointerout":Yc.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":xf.delete(l.pointerId)}}function Ui(a,l,i,o,f,h){return a===null||a.nativeEvent!==h?(a={blockedOn:l,domEventName:i,eventSystemFlags:o,nativeEvent:h,targetContainers:[f]},l!==null&&(l=Pa(l),l!==null&&Cp(l)),a):(a.eventSystemFlags|=o,l=a.targetContainers,f!==null&&l.indexOf(f)===-1&&l.push(f),a)}function kp(a,l,i,o,f){switch(l){case"focusin":return ci=Ui(ci,a,l,i,o,f),!0;case"dragenter":return Ci=Ui(Ci,a,l,i,o,f),!0;case"mouseover":return Au=Ui(Au,a,l,i,o,f),!0;case"pointerover":var h=f.pointerId;return Yc.set(h,Ui(Yc.get(h)||null,a,l,i,o,f)),!0;case"gotpointercapture":return h=f.pointerId,xf.set(h,Ui(xf.get(h)||null,a,l,i,o,f)),!0}return!1}function jp(a){var l=ku(a.target);if(l!==null){var i=v(l);if(i!==null){if(l=i.tag,l===13){if(l=_(i),l!==null){a.blockedOn=l,Am(a.priority,function(){if(i.tag===13){var o=sl();o=Ie(o);var f=au(i,o);f!==null&&$n(f,i,o),Dh(i,o)}});return}}else if(l===3&&i.stateNode.current.memoizedState.isDehydrated){a.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Ef(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var i=Up(a.nativeEvent);if(i===null){i=a.nativeEvent;var o=new i.constructor(i.type,i);td=o,i.target.dispatchEvent(o),td=null}else return l=Pa(i),l!==null&&Cp(l),a.blockedOn=i,!1;l.shift()}return!0}function Bp(a,l,i){Ef(a)&&i.delete(l)}function Uh(){Ch=!1,ci!==null&&Ef(ci)&&(ci=null),Ci!==null&&Ef(Ci)&&(Ci=null),Au!==null&&Ef(Au)&&(Au=null),Yc.forEach(Bp),xf.forEach(Bp)}function Ru(a,l){a.blockedOn===l&&(a.blockedOn=null,Ch||(Ch=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,Uh)))}var Nh=null;function _f(a){Nh!==a&&(Nh=a,d.unstable_scheduleCallback(d.unstable_NormalPriority,function(){Nh===a&&(Nh=null);for(var l=0;l<a.length;l+=3){var i=a[l],o=a[l+1],f=a[l+2];if(typeof o!="function"){if(Np(o||i)===null)continue;break}var h=Pa(i);h!==null&&(a.splice(l,3),l-=3,zy(h,{pending:!0,data:f,method:i.method,action:o},o,f))}}))}function Gc(a){function l(z){return Ru(z,a)}ci!==null&&Ru(ci,a),Ci!==null&&Ru(Ci,a),Au!==null&&Ru(Au,a),Yc.forEach(l),xf.forEach(l);for(var i=0;i<vo.length;i++){var o=vo[i];o.blockedOn===a&&(o.blockedOn=null)}for(;0<vo.length&&(i=vo[0],i.blockedOn===null);)jp(i),i.blockedOn===null&&vo.shift();if(i=(a.ownerDocument||a).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var f=i[o],h=i[o+1],S=f[fn]||null;if(typeof h=="function")S||_f(i);else if(S){var T=null;if(h&&h.hasAttribute("formAction")){if(f=h,S=h[fn]||null)T=S.formAction;else if(Np(f)!==null)continue}else T=S.action;typeof T=="function"?i[o+1]=T:(i.splice(o,3),o-=3),_f(i)}}}function bo(a){this._internalRoot=a}Hh.prototype.render=bo.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(y(409));var i=l.current,o=sl();Dp(i,o,a,l,null,null)},Hh.prototype.unmount=bo.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;Dp(a.current,2,null,a,null,null),nf(),l[Mo]=null}};function Hh(a){this._internalRoot=a}Hh.prototype.unstable_scheduleHydration=function(a){if(a){var l=gi();a={blockedOn:null,target:a,priority:l};for(var i=0;i<vo.length&&l!==0&&l<vo[i].priority;i++);vo.splice(i,0,a),i===0&&jp(a)}};var G0=s.version;if(G0!=="19.1.0")throw Error(y(527,G0,"19.1.0"));Z.findDOMNode=function(a){var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(y(188)):(a=Object.keys(a).join(","),Error(y(268,a)));return a=B(l),a=a!==null?w(a):null,a=a===null?null:a.stateNode,a};var Z0={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ka=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ka.isDisabled&&Ka.supportsFiber)try{ze=Ka.inject(Z0),Qe=Ka}catch{}}return mm.createRoot=function(a,l){if(!g(a))throw Error(y(299));var i=!1,o="",f=jy,h=Sc,S=By,T=null;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(o=l.identifierPrefix),l.onUncaughtError!==void 0&&(f=l.onUncaughtError),l.onCaughtError!==void 0&&(h=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(T=l.unstable_transitionCallbacks)),l=V0(a,1,!1,null,null,i,o,f,h,S,T,null),a[Mo]=l.current,sf(a),new bo(l)},mm.hydrateRoot=function(a,l,i){if(!g(a))throw Error(y(299));var o=!1,f="",h=jy,S=Sc,T=By,z=null,Y=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(T=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(z=i.unstable_transitionCallbacks),i.formState!==void 0&&(Y=i.formState)),l=V0(a,1,!0,l,i??null,o,f,h,S,T,z,Y),l.context=zp(null),i=l.current,o=sl(),o=Ie(o),f=ru(o),f.callback=null,Vn(i,f,o),i=o,l.current.lanes=i,Me(l,i),ui(l),a[Mo]=l.current,sf(a),new Hh(l)},mm.version="19.1.0",mm}var ym={},M1;function Zx(){if(M1)return ym;M1=1;var d={};/**
|
|
102
|
+
`+i.stack}}function al(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Br(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Pf(a){var l=Br(a)?"checked":"value",i=Object.getOwnPropertyDescriptor(a.constructor.prototype,l),o=""+a[l];if(!a.hasOwnProperty(l)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var f=i.get,h=i.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return f.call(this)},set:function(S){o=""+S,h.call(this,S)}}),Object.defineProperty(a,l,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(S){o=""+S},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function Vr(a){a._valueTracker||(a._valueTracker=Pf(a))}function Lr(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var i=l.getValue(),o="";return a&&(o=Br(a)?a.checked?"true":"false":a.value),a=o,a!==i?(l.setValue(a),!0):!1}function Fi(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Mm=/[\n"\\]/g;function Tl(a){return a.replace(Mm,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Cm(a,l,i,o,f,h,S,T){a.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?a.type=S:a.removeAttribute("type"),l!=null?S==="number"?(l===0&&a.value===""||a.value!=l)&&(a.value=""+al(l)):a.value!==""+al(l)&&(a.value=""+al(l)):S!=="submit"&&S!=="reset"||a.removeAttribute("value"),l!=null?ss(a,S,al(l)):i!=null?ss(a,S,al(i)):o!=null&&a.removeAttribute("value"),f==null&&h!=null&&(a.defaultChecked=!!h),f!=null&&(a.checked=f&&typeof f!="function"&&typeof f!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?a.name=""+al(T):a.removeAttribute("name")}function Um(a,l,i,o,f,h,S,T){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(a.type=h),l!=null||i!=null){if(!(h!=="submit"&&h!=="reset"||l!=null))return;i=i!=null?""+al(i):"",l=l!=null?""+al(l):i,T||l===a.value||(a.value=l),a.defaultValue=l}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,a.checked=T?a.checked:!!o,a.defaultChecked=!!o,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(a.name=S)}function ss(a,l,i){l==="number"&&Fi(a.ownerDocument)===a||a.defaultValue===""+i||(a.defaultValue=""+i)}function Bu(a,l,i,o){if(a=a.options,l){l={};for(var f=0;f<i.length;f++)l["$"+i[f]]=!0;for(i=0;i<a.length;i++)f=l.hasOwnProperty("$"+a[i].value),a[i].selected!==f&&(a[i].selected=f),f&&o&&(a[i].defaultSelected=!0)}else{for(i=""+al(i),l=null,f=0;f<a.length;f++){if(a[f].value===i){a[f].selected=!0,o&&(a[f].defaultSelected=!0);return}l!==null||a[f].disabled||(l=a[f])}l!==null&&(l.selected=!0)}}function Nm(a,l,i){if(l!=null&&(l=""+al(l),l!==a.value&&(a.value=l),i==null)){a.defaultValue!==l&&(a.defaultValue=l);return}a.defaultValue=i!=null?""+al(i):""}function Hm(a,l,i,o){if(l==null){if(o!=null){if(i!=null)throw Error(y(92));if(Je(o)){if(1<o.length)throw Error(y(93));o=o[0]}i=o}i==null&&(i=""),l=i}i=al(l),a.defaultValue=i,o=a.textContent,o===i&&o!==""&&o!==null&&(a.value=o)}function No(a,l){if(l){var i=a.firstChild;if(i&&i===a.lastChild&&i.nodeType===3){i.nodeValue=l;return}}a.textContent=l}var Wv=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 km(a,l,i){var o=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?o?a.setProperty(l,""):l==="float"?a.cssFloat="":a[l]="":o?a.setProperty(l,i):typeof i!="number"||i===0||Wv.has(l)?l==="float"?a.cssFloat=i:a[l]=(""+i).trim():a[l]=i+"px"}function ed(a,l,i){if(l!=null&&typeof l!="object")throw Error(y(62));if(a=a.style,i!=null){for(var o in i)!i.hasOwnProperty(o)||l!=null&&l.hasOwnProperty(o)||(o.indexOf("--")===0?a.setProperty(o,""):o==="float"?a.cssFloat="":a[o]="");for(var f in l)o=l[f],l.hasOwnProperty(f)&&i[f]!==o&&km(a,f,o)}else for(var h in l)l.hasOwnProperty(h)&&km(a,h,l[h])}function qr(a){if(a.indexOf("-")===-1)return!1;switch(a){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 fs=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"]]),Fv=/^[\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 ds(a){return Fv.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}var td=null;function Ho(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var ko=null,Yr=null;function Vg(a){var l=Pa(a);if(l&&(a=l.stateNode)){var i=a[fn]||null;e:switch(a=l.stateNode,l.type){case"input":if(Cm(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),l=i.name,i.type==="radio"&&l!=null){for(i=a;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Tl(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var o=i[l];if(o!==a&&o.form===a.form){var f=o[fn]||null;if(!f)throw Error(y(90));Cm(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(l=0;l<i.length;l++)o=i[l],o.form===a.form&&Lr(o)}break e;case"textarea":Nm(a,i.value,i.defaultValue);break e;case"select":l=i.value,l!=null&&Bu(a,!!i.multiple,l,!1)}}}var jm=!1;function Lg(a,l,i){if(jm)return a(l,i);jm=!0;try{var o=a(l);return o}finally{if(jm=!1,(ko!==null||Yr!==null)&&(nf(),ko&&(l=ko,a=Yr,Yr=ko=null,Vg(l),a)))for(l=0;l<a.length;l++)Vg(a[l])}}function Ii(a,l){var i=a.stateNode;if(i===null)return null;var o=i[fn]||null;if(o===null)return null;i=o[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(a=a.type,o=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!o;break e;default:a=!1}if(a)return null;if(i&&typeof i!="function")throw Error(y(231,l,typeof i));return i}var Vl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ad=!1;if(Vl)try{var Gr={};Object.defineProperty(Gr,"passive",{get:function(){ad=!0}}),window.addEventListener("test",Gr,Gr),window.removeEventListener("test",Gr,Gr)}catch{ad=!1}var xl=null,nd=null,jo=null;function hs(){if(jo)return jo;var a,l=nd,i=l.length,o,f="value"in xl?xl.value:xl.textContent,h=f.length;for(a=0;a<i&&l[a]===f[a];a++);var S=i-a;for(o=1;o<=S&&l[i-o]===f[h-o];o++);return jo=f.slice(a,1<o?1-o:void 0)}function ms(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function en(){return!0}function qg(){return!1}function dn(a){function l(i,o,f,h,S){this._reactName=i,this._targetInst=f,this.type=o,this.nativeEvent=h,this.target=S,this.currentTarget=null;for(var T in a)a.hasOwnProperty(T)&&(i=a[T],this[T]=i?i(h):h[T]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?en:qg,this.isPropagationStopped=qg,this}return X(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=en)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=en)},persist:function(){},isPersistent:en}),l}var Vu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ys=dn(Vu),ps=X({},Vu,{view:0,detail:0}),Iv=dn(ps),ld,Bm,Zr,id=X({},ps,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ud,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Zr&&(Zr&&a.type==="mousemove"?(ld=a.screenX-Zr.screenX,Bm=a.screenY-Zr.screenY):Bm=ld=0,Zr=a),ld)},movementY:function(a){return"movementY"in a?a.movementY:Bm}}),gs=dn(id),Yg=X({},id,{dataTransfer:0}),Gg=dn(Yg),Zg=X({},ps,{relatedTarget:0}),Vm=dn(Zg),Pv=X({},Vu,{animationName:0,elapsedTime:0,pseudoElement:0}),eb=dn(Pv),tb=X({},Vu,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),ab=dn(tb),vs=X({},Vu,{data:0}),Lm=dn(vs),Xg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qg={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"},Kg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qm(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=Kg[a])?!!l[a]:!1}function ud(){return qm}var Bo=X({},ps,{key:function(a){if(a.key){var l=Xg[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=ms(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Qg[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ud,charCode:function(a){return a.type==="keypress"?ms(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ms(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Vo=dn(Bo),Ll=X({},id,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Un=dn(Ll),od=X({},ps,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ud}),rd=dn(od),Ym=X({},Vu,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nn=dn(Ym),Jg=X({},id,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),cd=dn(Jg),Lo=X({},Vu,{newState:0,oldState:0}),Gm=dn(Lo),$g=[9,13,27,32],sd=Vl&&"CompositionEvent"in window,qo=null;Vl&&"documentMode"in document&&(qo=document.documentMode);var nb=Vl&&"TextEvent"in window&&!qo,fd=Vl&&(!sd||qo&&8<qo&&11>=qo),Si=" ",Zm=!1;function dd(a,l){switch(a){case"keyup":return $g.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bs(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var El=!1;function Xm(a,l){switch(a){case"compositionend":return bs(l);case"keypress":return l.which!==32?null:(Zm=!0,Si);case"textInput":return a=l.data,a===Si&&Zm?null:a;default:return null}}function Qm(a,l){if(El)return a==="compositionend"||!sd&&dd(a,l)?(a=hs(),jo=nd=xl=null,El=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return fd&&l.locale!=="ko"?null:l.data;default:return null}}var Yo={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 Km(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!Yo[a.type]:l==="textarea"}function hd(a,l,i,o){ko?Yr?Yr.push(o):Yr=[o]:ko=o,l=mo(l,"onChange"),0<l.length&&(i=new ys("onChange","change",null,i,o),a.push({event:i,listeners:l}))}var Go=null,ql=null;function Zo(a){Tu(a,0)}function Xr(a){var l=Hr(a);if(Lr(l))return a}function Lu(a,l){if(a==="change")return l}var Jm=!1;if(Vl){var md;if(Vl){var Xo="oninput"in document;if(!Xo){var Qr=document.createElement("div");Qr.setAttribute("oninput","return;"),Xo=typeof Qr.oninput=="function"}md=Xo}else md=!1;Jm=md&&(!document.documentMode||9<document.documentMode)}function $m(){Go&&(Go.detachEvent("onpropertychange",Kr),ql=Go=null)}function Kr(a){if(a.propertyName==="value"&&Xr(ql)){var l=[];hd(l,ql,a,Ho(a)),Lg(Zo,l)}}function Wg(a,l,i){a==="focusin"?($m(),Go=l,ql=i,Go.attachEvent("onpropertychange",Kr)):a==="focusout"&&$m()}function yd(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Xr(ql)}function qu(a,l){if(a==="click")return Xr(l)}function Pi(a,l){if(a==="input"||a==="change")return Xr(l)}function Wm(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var En=typeof Object.is=="function"?Object.is:Wm;function eu(a,l){if(En(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var i=Object.keys(a),o=Object.keys(l);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var f=i[o];if(!bl.call(l,f)||!En(a[f],l[f]))return!1}return!0}function Ss(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Yu(a,l){var i=Ss(a);a=0;for(var o;i;){if(i.nodeType===3){if(o=a+i.textContent.length,a<=l&&o>=l)return{node:i,offset:l-a};a=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ss(i)}}function la(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?la(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function Ts(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var l=Fi(a.document);l instanceof a.HTMLIFrameElement;){try{var i=typeof l.contentWindow.location.href=="string"}catch{i=!1}if(i)a=l.contentWindow;else break;l=Fi(a.document)}return l}function pd(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}var Fm=Vl&&"documentMode"in document&&11>=document.documentMode,_l=null,Qo=null,nl=null,Jr=!1;function $r(a,l,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Jr||_l==null||_l!==Fi(o)||(o=_l,"selectionStart"in o&&pd(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),nl&&eu(nl,o)||(nl=o,o=mo(Qo,"onSelect"),0<o.length&&(l=new ys("onSelect","select",null,l,i),a.push({event:l,listeners:o}),l.target=_l)))}function tu(a,l){var i={};return i[a.toLowerCase()]=l.toLowerCase(),i["Webkit"+a]="webkit"+l,i["Moz"+a]="moz"+l,i}var Gu={animationend:tu("Animation","AnimationEnd"),animationiteration:tu("Animation","AnimationIteration"),animationstart:tu("Animation","AnimationStart"),transitionrun:tu("Transition","TransitionRun"),transitionstart:tu("Transition","TransitionStart"),transitioncancel:tu("Transition","TransitionCancel"),transitionend:tu("Transition","TransitionEnd")},gd={},Yl={};Vl&&(Yl=document.createElement("div").style,"AnimationEvent"in window||(delete Gu.animationend.animation,delete Gu.animationiteration.animation,delete Gu.animationstart.animation),"TransitionEvent"in window||delete Gu.transitionend.transition);function hn(a){if(gd[a])return gd[a];if(!Gu[a])return a;var l=Gu[a],i;for(i in l)if(l.hasOwnProperty(i)&&i in Yl)return gd[a]=l[i];return a}var xs=hn("animationend"),Fg=hn("animationiteration"),Im=hn("animationstart"),lb=hn("transitionrun"),Pm=hn("transitionstart"),vd=hn("transitioncancel"),ey=hn("transitionend"),ty=new Map,bd="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(" ");bd.push("scrollEnd");function Hn(a,l){ty.set(a,l),Ya(l,[a])}var ay=new WeakMap;function ll(a,l){if(typeof a=="object"&&a!==null){var i=ay.get(a);return i!==void 0?i:(l={value:a,source:l,stack:ju(l)},ay.set(a,l),l)}return{value:a,source:l,stack:ju(l)}}var il=[],Zu=0,Es=0;function Gl(){for(var a=Zu,l=Es=Zu=0;l<a;){var i=il[l];il[l++]=null;var o=il[l];il[l++]=null;var f=il[l];il[l++]=null;var h=il[l];if(il[l++]=null,o!==null&&f!==null){var S=o.pending;S===null?f.next=f:(f.next=S.next,S.next=f),o.pending=f}h!==0&&Wr(i,f,h)}}function Zl(a,l,i,o){il[Zu++]=a,il[Zu++]=l,il[Zu++]=i,il[Zu++]=o,Es|=o,a.lanes|=o,a=a.alternate,a!==null&&(a.lanes|=o)}function Ko(a,l,i,o){return Zl(a,l,i,o),Xu(a)}function au(a,l){return Zl(a,null,null,l),Xu(a)}function Wr(a,l,i){a.lanes|=i;var o=a.alternate;o!==null&&(o.lanes|=i);for(var f=!1,h=a.return;h!==null;)h.childLanes|=i,o=h.alternate,o!==null&&(o.childLanes|=i),h.tag===22&&(a=h.stateNode,a===null||a._visibility&1||(f=!0)),a=h,h=h.return;return a.tag===3?(h=a.stateNode,f&&l!==null&&(f=31-Gt(i),a=h.hiddenUpdates,o=a[f],o===null?a[f]=[l]:o.push(l),l.lane=i|536870912),h):null}function Xu(a){if(50<zc)throw zc=0,uh=null,Error(y(185));for(var l=a.return;l!==null;)a=l,l=a.return;return a.tag===3?a.stateNode:null}var Jo={};function ib(a,l,i,o){this.tag=a,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(a,l,i,o){return new ib(a,l,i,o)}function Sd(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Xl(a,l){var i=a.alternate;return i===null?(i=kn(a.tag,l,a.key,a.mode),i.elementType=a.elementType,i.type=a.type,i.stateNode=a.stateNode,i.alternate=a,a.alternate=i):(i.pendingProps=l,i.type=a.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=a.flags&65011712,i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,l=a.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=a.sibling,i.index=a.index,i.ref=a.ref,i.refCleanup=a.refCleanup,i}function Td(a,l){a.flags&=65011714;var i=a.alternate;return i===null?(a.childLanes=0,a.lanes=l,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,l=i.dependencies,a.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),a}function ct(a,l,i,o,f,h){var S=0;if(o=a,typeof a=="function")Sd(a)&&(S=1);else if(typeof a=="string")S=N0(a,i,Te.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case wt:return a=kn(31,i,l,f),a.elementType=wt,a.lanes=h,a;case fe:return ce(i.children,f,h,l);case He:S=8,f|=24;break;case Xe:return a=kn(12,i,l,f|2),a.elementType=Xe,a.lanes=h,a;case ke:return a=kn(13,i,l,f),a.elementType=ke,a.lanes=h,a;case Qt:return a=kn(19,i,l,f),a.elementType=Qt,a.lanes=h,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Fe:case Rt:S=10;break e;case _e:S=9;break e;case vt:S=11;break e;case _t:S=14;break e;case it:S=16,o=null;break e}S=29,i=Error(y(130,a===null?"null":typeof a,"")),o=null}return l=kn(S,i,l,f),l.elementType=a,l.type=o,l.lanes=h,l}function ce(a,l,i,o){return a=kn(7,a,o,l),a.lanes=i,a}function Qu(a,l,i){return a=kn(6,a,null,l),a.lanes=i,a}function Fr(a,l,i){return l=kn(4,a.children!==null?a.children:[],a.key,l),l.lanes=i,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}var aa=[],Ku=0,Ir=null,_s=0,jn=[],wl=0,nu=null,Ql=1,Kl="";function wa(a,l){aa[Ku++]=_s,aa[Ku++]=Ir,Ir=a,_s=l}function Zt(a,l,i){jn[wl++]=Ql,jn[wl++]=Kl,jn[wl++]=nu,nu=a;var o=Ql;a=Kl;var f=32-Gt(o)-1;o&=~(1<<f),i+=1;var h=32-Gt(l)+f;if(30<h){var S=f-f%5;h=(o&(1<<S)-1).toString(32),o>>=S,f-=S,Ql=1<<32-Gt(l)+f|i<<f|o,Kl=h+a}else Ql=1<<h|i<<f|o,Kl=a}function ws(a){a.return!==null&&(wa(a,1),Zt(a,1,0))}function $o(a){for(;a===Ir;)Ir=aa[--Ku],aa[Ku]=null,_s=aa[--Ku],aa[Ku]=null;for(;a===nu;)nu=jn[--wl],jn[wl]=null,Kl=jn[--wl],jn[wl]=null,Ql=jn[--wl],jn[wl]=null}var pa=null,Jt=null,st=!1,lu=null,_n=!1,As=Error(y(519));function Jl(a){var l=Error(y(418,""));throw tc(ll(l,a)),As}function xd(a){var l=a.stateNode,i=a.type,o=a.memoizedProps;switch(l[ea]=a,l[fn]=o,i){case"dialog":ut("cancel",l),ut("close",l);break;case"iframe":case"object":case"embed":ut("load",l);break;case"video":case"audio":for(i=0;i<Pe.length;i++)ut(Pe[i],l);break;case"source":ut("error",l);break;case"img":case"image":case"link":ut("error",l),ut("load",l);break;case"details":ut("toggle",l);break;case"input":ut("invalid",l),Um(l,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Vr(l);break;case"select":ut("invalid",l);break;case"textarea":ut("invalid",l),Hm(l,o.value,o.defaultValue,o.children),Vr(l)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||o.suppressHydrationWarning===!0||M0(l.textContent,i)?(o.popover!=null&&(ut("beforetoggle",l),ut("toggle",l)),o.onScroll!=null&&ut("scroll",l),o.onScrollEnd!=null&&ut("scrollend",l),o.onClick!=null&&(l.onclick=df),l=!0):l=!1,l||Jl(a)}function Rs(a){for(pa=a.return;pa;)switch(pa.tag){case 5:case 13:_n=!1;return;case 27:case 3:_n=!0;return;default:pa=pa.return}}function Pr(a){if(a!==pa)return!1;if(!st)return Rs(a),st=!0,!1;var l=a.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=a.type,i=!(i!=="form"&&i!=="button")||hr(a.type,a.memoizedProps)),i=!i),i&&Jt&&Jl(a),Rs(a),l===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(y(317));e:{for(a=a.nextSibling,l=0;a;){if(a.nodeType===8)if(i=a.data,i==="/$"){if(l===0){Jt=oi(a.nextSibling);break e}l--}else i!=="$"&&i!=="$!"&&i!=="$?"||l++;a=a.nextSibling}Jt=null}}else l===27?(l=Jt,nn(a.type)?(a=xp,xp=null,Jt=a):Jt=l):Jt=pa?oi(a.stateNode.nextSibling):null;return!0}function ec(){Jt=pa=null,st=!1}function ny(){var a=lu;return a!==null&&(An===null?An=a:An.push.apply(An,a),lu=null),a}function tc(a){lu===null?lu=[a]:lu.push(a)}var Ed=C(null),iu=null,$l=null;function Ti(a,l,i){ee(Ed,l._currentValue),l._currentValue=i}function xi(a){a._currentValue=Ed.current,ie(Ed)}function _d(a,l,i){for(;a!==null;){var o=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,o!==null&&(o.childLanes|=l)):o!==null&&(o.childLanes&l)!==l&&(o.childLanes|=l),a===i)break;a=a.return}}function wd(a,l,i,o){var f=a.child;for(f!==null&&(f.return=a);f!==null;){var h=f.dependencies;if(h!==null){var S=f.child;h=h.firstContext;e:for(;h!==null;){var T=h;h=f;for(var z=0;z<l.length;z++)if(T.context===l[z]){h.lanes|=i,T=h.alternate,T!==null&&(T.lanes|=i),_d(h.return,i,a),o||(S=null);break e}h=T.next}}else if(f.tag===18){if(S=f.return,S===null)throw Error(y(341));S.lanes|=i,h=S.alternate,h!==null&&(h.lanes|=i),_d(S,i,a),S=null}else S=f.child;if(S!==null)S.return=f;else for(S=f;S!==null;){if(S===a){S=null;break}if(f=S.sibling,f!==null){f.return=S.return,S=f;break}S=S.return}f=S}}function Os(a,l,i,o){a=null;for(var f=l,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var S=f.alternate;if(S===null)throw Error(y(387));if(S=S.memoizedProps,S!==null){var T=f.type;En(f.pendingProps.value,S.value)||(a!==null?a.push(T):a=[T])}}else if(f===$e.current){if(S=f.alternate,S===null)throw Error(y(387));S.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(a!==null?a.push(un):a=[un])}f=f.return}a!==null&&wd(l,a,i,o),l.flags|=262144}function zs(a){for(a=a.firstContext;a!==null;){if(!En(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Ju(a){iu=a,$l=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function tn(a){return ly(iu,a)}function ac(a,l){return iu===null&&Ju(a),ly(a,l)}function ly(a,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},$l===null){if(a===null)throw Error(y(308));$l=l,a.dependencies={lanes:0,firstContext:l},a.flags|=524288}else $l=$l.next=l;return i}var Ig=typeof AbortController<"u"?AbortController:function(){var a=[],l=this.signal={aborted:!1,addEventListener:function(i,o){a.push(o)}};this.abort=function(){l.aborted=!0,a.forEach(function(i){return i()})}},nc=d.unstable_scheduleCallback,Ad=d.unstable_NormalPriority,Aa={$$typeof:Rt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function iy(){return{controller:new Ig,data:new Map,refCount:0}}function $u(a){a.refCount--,a.refCount===0&&nc(Ad,function(){a.controller.abort()})}var Ei=null,lc=0,Wu=0,Al=null;function Bn(a,l){if(Ei===null){var i=Ei=[];lc=0,Wu=ph(),Al={status:"pending",value:void 0,then:function(o){i.push(o)}}}return lc++,l.then(Ds,Ds),l}function Ds(){if(--lc===0&&Ei!==null){Al!==null&&(Al.status="fulfilled");var a=Ei;Ei=null,Wu=0,Al=null;for(var l=0;l<a.length;l++)(0,a[l])()}}function uy(a,l){var i=[],o={status:"pending",value:null,reason:null,then:function(f){i.push(f)}};return a.then(function(){o.status="fulfilled",o.value=l;for(var f=0;f<i.length;f++)(0,i[f])(l)},function(f){for(o.status="rejected",o.reason=f,f=0;f<i.length;f++)(0,i[f])(void 0)}),o}var oy=W.S;W.S=function(a,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&Bn(a,l),oy!==null&&oy(a,l)};var uu=C(null);function ic(){var a=uu.current;return a!==null?a:Wt.pooledCache}function uc(a,l){l===null?ee(uu,uu.current):ee(uu,l.pool)}function Ms(){var a=ic();return a===null?null:{parent:Aa._currentValue,pool:a}}var Wo=Error(y(460)),Cs=Error(y(474)),oc=Error(y(542)),Rd={then:function(){}};function ry(a){return a=a.status,a==="fulfilled"||a==="rejected"}function rc(){}function cy(a,l,i){switch(i=a[i],i===void 0?a.push(l):i!==l&&(l.then(rc,rc),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,sy(a),a;default:if(typeof l.status=="string")l.then(rc,rc);else{if(a=Wt,a!==null&&100<a.shellSuspendCounter)throw Error(y(482));a=l,a.status="pending",a.then(function(o){if(l.status==="pending"){var f=l;f.status="fulfilled",f.value=o}},function(o){if(l.status==="pending"){var f=l;f.status="rejected",f.reason=o}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw a=l.reason,sy(a),a}throw cc=l,Wo}}var cc=null;function Od(){if(cc===null)throw Error(y(459));var a=cc;return cc=null,a}function sy(a){if(a===Wo||a===oc)throw Error(y(483))}var ou=!1;function Us(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zd(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ru(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Vn(a,l,i){var o=a.updateQueue;if(o===null)return null;if(o=o.shared,(Xt&2)!==0){var f=o.pending;return f===null?l.next=l:(l.next=f.next,f.next=l),o.pending=l,l=Xu(a),Wr(a,null,i),l}return Zl(a,o,l,i),Xu(a)}function Fo(a,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var o=l.lanes;o&=a.pendingLanes,i|=o,l.lanes=i,Ot(a,i)}}function Ns(a,l){var i=a.updateQueue,o=a.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var f=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};h===null?f=h=S:h=h.next=S,i=i.next}while(i!==null);h===null?f=h=l:h=h.next=l}else f=h=l;i={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:o.shared,callbacks:o.callbacks},a.updateQueue=i;return}a=i.lastBaseUpdate,a===null?i.firstBaseUpdate=l:a.next=l,i.lastBaseUpdate=l}var fy=!1;function Hs(){if(fy){var a=Al;if(a!==null)throw a}}function sc(a,l,i,o){fy=!1;var f=a.updateQueue;ou=!1;var h=f.firstBaseUpdate,S=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var z=T,Y=z.next;z.next=null,S===null?h=Y:S.next=Y,S=z;var le=a.alternate;le!==null&&(le=le.updateQueue,T=le.lastBaseUpdate,T!==S&&(T===null?le.firstBaseUpdate=Y:T.next=Y,le.lastBaseUpdate=z))}if(h!==null){var oe=f.baseState;S=0,le=Y=z=null,T=h;do{var Q=T.lane&-536870913,F=Q!==T.lane;if(F?(Mt&Q)===Q:(o&Q)===Q){Q!==0&&Q===Wu&&(fy=!0),le!==null&&(le=le.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});e:{var Ge=a,Ye=T;Q=l;var qt=i;switch(Ye.tag){case 1:if(Ge=Ye.payload,typeof Ge=="function"){oe=Ge.call(qt,oe,Q);break e}oe=Ge;break e;case 3:Ge.flags=Ge.flags&-65537|128;case 0:if(Ge=Ye.payload,Q=typeof Ge=="function"?Ge.call(qt,oe,Q):Ge,Q==null)break e;oe=X({},oe,Q);break e;case 2:ou=!0}}Q=T.callback,Q!==null&&(a.flags|=64,F&&(a.flags|=8192),F=f.callbacks,F===null?f.callbacks=[Q]:F.push(Q))}else F={lane:Q,tag:T.tag,payload:T.payload,callback:T.callback,next:null},le===null?(Y=le=F,z=oe):le=le.next=F,S|=Q;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;F=T,T=F.next,F.next=null,f.lastBaseUpdate=F,f.shared.pending=null}}while(!0);le===null&&(z=oe),f.baseState=z,f.firstBaseUpdate=Y,f.lastBaseUpdate=le,h===null&&(f.shared.lanes=0),uo|=S,a.lanes=S,a.memoizedState=oe}}function fc(a,l){if(typeof a!="function")throw Error(y(191,a));a.call(l)}function Dd(a,l){var i=a.callbacks;if(i!==null)for(a.callbacks=null,a=0;a<i.length;a++)fc(i[a],l)}var cu=C(null),ks=C(0);function dy(a,l){a=vu,ee(ks,a),ee(cu,l),vu=a|l.baseLanes}function Na(){ee(ks,vu),ee(cu,cu.current)}function dc(){vu=ks.current,ie(cu),ie(ks)}var Wl=0,at=null,Vt=null,ma=null,Io=!1,Po=!1,Ln=!1,js=0,Rl=0,qn=null,Md=0;function ya(){throw Error(y(321))}function Bs(a,l){if(l===null)return!1;for(var i=0;i<l.length&&i<a.length;i++)if(!En(a[i],l[i]))return!1;return!0}function Cd(a,l,i,o,f,h){return Wl=h,at=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,W.H=a===null||a.memoizedState===null?u0:My,Ln=!1,h=i(o,f),Ln=!1,Po&&(h=Fu(l,i,o,f)),hy(a),h}function hy(a){W.H=Js;var l=Vt!==null&&Vt.next!==null;if(Wl=0,ma=Vt=at=null,Io=!1,Rl=0,qn=null,l)throw Error(y(300));a===null||bt||(a=a.dependencies,a!==null&&zs(a)&&(bt=!0))}function Fu(a,l,i,o){at=a;var f=0;do{if(Po&&(qn=null),Rl=0,Po=!1,25<=f)throw Error(y(301));if(f+=1,ma=Vt=null,a.updateQueue!=null){var h=a.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}W.H=o0,h=l(i,o)}while(Po);return h}function Pg(){var a=W.H,l=a.useState()[0];return l=typeof l.then=="function"?er(l):l,a=a.useState()[0],(Vt!==null?Vt.memoizedState:null)!==a&&(at.flags|=1024),l}function Ud(){var a=js!==0;return js=0,a}function Nd(a,l,i){l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~i}function hc(a){if(Io){for(a=a.memoizedState;a!==null;){var l=a.queue;l!==null&&(l.pending=null),a=a.next}Io=!1}Wl=0,ma=Vt=at=null,Po=!1,Rl=js=0,qn=null}function wn(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ma===null?at.memoizedState=ma=a:ma=ma.next=a,ma}function ga(){if(Vt===null){var a=at.alternate;a=a!==null?a.memoizedState:null}else a=Vt.next;var l=ma===null?at.memoizedState:ma.next;if(l!==null)ma=l,Vt=a;else{if(a===null)throw at.alternate===null?Error(y(467)):Error(y(310));Vt=a,a={memoizedState:Vt.memoizedState,baseState:Vt.baseState,baseQueue:Vt.baseQueue,queue:Vt.queue,next:null},ma===null?at.memoizedState=ma=a:ma=ma.next=a}return ma}function Vs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function er(a){var l=Rl;return Rl+=1,qn===null&&(qn=[]),a=cy(qn,a,l),l=at,(ma===null?l.memoizedState:ma.next)===null&&(l=l.alternate,W.H=l===null||l.memoizedState===null?u0:My),a}function Hd(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return er(a);if(a.$$typeof===Rt)return tn(a)}throw Error(y(438,String(a)))}function Ha(a){var l=null,i=at.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var o=at.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(l={data:o.data.map(function(f){return f.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Vs(),at.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(a),o=0;o<a;o++)i[o]=Ae;return l.index++,i}function _i(a,l){return typeof l=="function"?l(a):l}function Ls(a){var l=ga();return kd(l,Vt,a)}function kd(a,l,i){var o=a.queue;if(o===null)throw Error(y(311));o.lastRenderedReducer=i;var f=a.baseQueue,h=o.pending;if(h!==null){if(f!==null){var S=f.next;f.next=h.next,h.next=S}l.baseQueue=f=h,o.pending=null}if(h=a.baseState,f===null)a.memoizedState=h;else{l=f.next;var T=S=null,z=null,Y=l,le=!1;do{var oe=Y.lane&-536870913;if(oe!==Y.lane?(Mt&oe)===oe:(Wl&oe)===oe){var Q=Y.revertLane;if(Q===0)z!==null&&(z=z.next={lane:0,revertLane:0,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),oe===Wu&&(le=!0);else if((Wl&Q)===Q){Y=Y.next,Q===Wu&&(le=!0);continue}else oe={lane:0,revertLane:Y.revertLane,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},z===null?(T=z=oe,S=h):z=z.next=oe,at.lanes|=Q,uo|=Q;oe=Y.action,Ln&&i(h,oe),h=Y.hasEagerState?Y.eagerState:i(h,oe)}else Q={lane:oe,revertLane:Y.revertLane,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},z===null?(T=z=Q,S=h):z=z.next=Q,at.lanes|=oe,uo|=oe;Y=Y.next}while(Y!==null&&Y!==l);if(z===null?S=h:z.next=T,!En(h,a.memoizedState)&&(bt=!0,le&&(i=Al,i!==null)))throw i;a.memoizedState=h,a.baseState=S,a.baseQueue=z,o.lastRenderedState=h}return f===null&&(o.lanes=0),[a.memoizedState,o.dispatch]}function jd(a){var l=ga(),i=l.queue;if(i===null)throw Error(y(311));i.lastRenderedReducer=a;var o=i.dispatch,f=i.pending,h=l.memoizedState;if(f!==null){i.pending=null;var S=f=f.next;do h=a(h,S.action),S=S.next;while(S!==f);En(h,l.memoizedState)||(bt=!0),l.memoizedState=h,l.baseQueue===null&&(l.baseState=h),i.lastRenderedState=h}return[h,o]}function my(a,l,i){var o=at,f=ga(),h=st;if(h){if(i===void 0)throw Error(y(407));i=i()}else i=l();var S=!En((Vt||f).memoizedState,i);S&&(f.memoizedState=i,bt=!0),f=f.queue;var T=yy.bind(null,o,f,a);if(su(2048,8,T,[a]),f.getSnapshot!==l||S||ma!==null&&ma.memoizedState.tag&1){if(o.flags|=2048,Iu(9,Ol(),Bd.bind(null,o,f,i,l),null),Wt===null)throw Error(y(349));h||(Wl&124)!==0||qs(o,l,i)}return i}function qs(a,l,i){a.flags|=16384,a={getSnapshot:l,value:i},l=at.updateQueue,l===null?(l=Vs(),at.updateQueue=l,l.stores=[a]):(i=l.stores,i===null?l.stores=[a]:i.push(a))}function Bd(a,l,i,o){l.value=i,l.getSnapshot=o,py(l)&&gy(a)}function yy(a,l,i){return i(function(){py(l)&&gy(a)})}function py(a){var l=a.getSnapshot;a=a.value;try{var i=l();return!En(a,i)}catch{return!0}}function gy(a){var l=au(a,2);l!==null&&$n(l,a,2)}function Ys(a){var l=wn();if(typeof a=="function"){var i=a;if(a=i(),Ln){pt(!0);try{i()}finally{pt(!1)}}}return l.memoizedState=l.baseState=a,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:a},l}function Vd(a,l,i,o){return a.baseState=i,kd(a,Vt,typeof o=="function"?o:_i)}function vy(a,l,i,o,f){if(pc(a))throw Error(y(485));if(a=l.action,a!==null){var h={payload:f,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){h.listeners.push(S)}};W.T!==null?i(!0):h.isTransition=!1,o(h),i=l.pending,i===null?(h.next=l.pending=h,by(l,h)):(h.next=i.next,l.pending=i.next=h)}}function by(a,l){var i=l.action,o=l.payload,f=a.state;if(l.isTransition){var h=W.T,S={};W.T=S;try{var T=i(f,o),z=W.S;z!==null&&z(S,T),Ld(a,l,T)}catch(Y){Zs(a,l,Y)}finally{W.T=h}}else try{h=i(f,o),Ld(a,l,h)}catch(Y){Zs(a,l,Y)}}function Ld(a,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(o){Gs(a,l,o)},function(o){return Zs(a,l,o)}):Gs(a,l,i)}function Gs(a,l,i){l.status="fulfilled",l.value=i,Sy(l),a.state=i,l=a.pending,l!==null&&(i=l.next,i===l?a.pending=null:(i=i.next,l.next=i,by(a,i)))}function Zs(a,l,i){var o=a.pending;if(a.pending=null,o!==null){o=o.next;do l.status="rejected",l.reason=i,Sy(l),l=l.next;while(l!==o)}a.action=null}function Sy(a){a=a.listeners;for(var l=0;l<a.length;l++)(0,a[l])()}function Ty(a,l){return l}function qd(a,l){if(st){var i=Wt.formState;if(i!==null){e:{var o=at;if(st){if(Jt){t:{for(var f=Jt,h=_n;f.nodeType!==8;){if(!h){f=null;break t}if(f=oi(f.nextSibling),f===null){f=null;break t}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){Jt=oi(f.nextSibling),o=f.data==="F!";break e}}Jl(o)}o=!1}o&&(l=i[0])}}return i=wn(),i.memoizedState=i.baseState=l,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ty,lastRenderedState:l},i.queue=o,i=Zd.bind(null,at,o),o.dispatch=i,o=Ys(!1),h=Qs.bind(null,at,!1,o.queue),o=wn(),f={state:l,dispatch:null,action:a,pending:null},o.queue=f,i=vy.bind(null,at,f,h,i),f.dispatch=i,o.memoizedState=a,[l,i,!1]}function xy(a){var l=ga();return wi(l,Vt,a)}function wi(a,l,i){if(l=kd(a,l,Ty)[0],a=Ls(_i)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var o=er(l)}catch(S){throw S===Wo?oc:S}else o=l;l=ga();var f=l.queue,h=f.dispatch;return i!==l.memoizedState&&(at.flags|=2048,Iu(9,Ol(),Ey.bind(null,f,i),null)),[o,h,a]}function Ey(a,l){a.action=l}function e0(a){var l=ga(),i=Vt;if(i!==null)return wi(l,i,a);ga(),l=l.memoizedState,i=ga();var o=i.queue.dispatch;return i.memoizedState=a,[l,o,!1]}function Iu(a,l,i,o){return a={tag:a,create:i,deps:o,inst:l,next:null},l=at.updateQueue,l===null&&(l=Vs(),at.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=a.next=a:(o=i.next,i.next=a,a.next=o,l.lastEffect=a),a}function Ol(){return{destroy:void 0,resource:void 0}}function _y(){return ga().memoizedState}function tr(a,l,i,o){var f=wn();o=o===void 0?null:o,at.flags|=a,f.memoizedState=Iu(1|l,Ol(),i,o)}function su(a,l,i,o){var f=ga();o=o===void 0?null:o;var h=f.memoizedState.inst;Vt!==null&&o!==null&&Bs(o,Vt.memoizedState.deps)?f.memoizedState=Iu(l,h,i,o):(at.flags|=a,f.memoizedState=Iu(1|l,h,i,o))}function ia(a,l){tr(8390656,8,a,l)}function t0(a,l){su(2048,8,a,l)}function a0(a,l){return su(4,2,a,l)}function wy(a,l){return su(4,4,a,l)}function Fl(a,l){if(typeof l=="function"){a=a();var i=l(a);return function(){typeof i=="function"?i():l(null)}}if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function Ay(a,l,i){i=i!=null?i.concat([a]):null,su(4,4,Fl.bind(null,l,a),i)}function Xs(){}function mc(a,l){var i=ga();l=l===void 0?null:l;var o=i.memoizedState;return l!==null&&Bs(l,o[1])?o[0]:(i.memoizedState=[a,l],a)}function ar(a,l){var i=ga();l=l===void 0?null:l;var o=i.memoizedState;if(l!==null&&Bs(l,o[1]))return o[0];if(o=a(),Ln){pt(!0);try{a()}finally{pt(!1)}}return i.memoizedState=[o,l],o}function Yd(a,l,i){return i===void 0||(Wl&1073741824)!==0?a.memoizedState=l:(a.memoizedState=i,a=b0(),at.lanes|=a,uo|=a,i)}function Gd(a,l,i,o){return En(i,l)?i:cu.current!==null?(a=Yd(a,i,o),En(a,l)||(bt=!0),a):(Wl&42)===0?(bt=!0,a.memoizedState=i):(a=b0(),at.lanes|=a,uo|=a,l)}function Ry(a,l,i,o,f){var h=Z.p;Z.p=h!==0&&8>h?h:8;var S=W.T,T={};W.T=T,Qs(a,!1,l,i);try{var z=f(),Y=W.S;if(Y!==null&&Y(T,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var le=uy(z,o);yc(a,l,le,sl(a))}else yc(a,l,o,sl(a))}catch(oe){yc(a,l,{then:function(){},status:"rejected",reason:oe},sl())}finally{Z.p=h,W.T=S}}function ub(){}function Oy(a,l,i,o){if(a.tag!==5)throw Error(y(476));var f=zy(a).queue;Ry(a,f,l,re,i===null?ub:function(){return n0(a),i(o)})}function zy(a){var l=a.memoizedState;if(l!==null)return l;l={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:re},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:i},next:null},a.memoizedState=l,a=a.alternate,a!==null&&(a.memoizedState=l),l}function n0(a){var l=zy(a).next.queue;yc(a,l,{},sl())}function nr(){return tn(un)}function Il(){return ga().memoizedState}function Dy(){return ga().memoizedState}function ob(a){for(var l=a.return;l!==null;){switch(l.tag){case 24:case 3:var i=sl();a=ru(i);var o=Vn(l,a,i);o!==null&&($n(o,l,i),Fo(o,l,i)),l={cache:iy()},a.payload=l;return}l=l.return}}function l0(a,l,i){var o=sl();i={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null},pc(a)?Ks(l,i):(i=Ko(a,l,i,o),i!==null&&($n(i,a,o),i0(i,l,o)))}function Zd(a,l,i){var o=sl();yc(a,l,i,o)}function yc(a,l,i,o){var f={lane:o,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null};if(pc(a))Ks(l,f);else{var h=a.alternate;if(a.lanes===0&&(h===null||h.lanes===0)&&(h=l.lastRenderedReducer,h!==null))try{var S=l.lastRenderedState,T=h(S,i);if(f.hasEagerState=!0,f.eagerState=T,En(T,S))return Zl(a,l,f,0),Wt===null&&Gl(),!1}catch{}finally{}if(i=Ko(a,l,f,o),i!==null)return $n(i,a,o),i0(i,l,o),!0}return!1}function Qs(a,l,i,o){if(o={lane:2,revertLane:ph(),action:o,hasEagerState:!1,eagerState:null,next:null},pc(a)){if(l)throw Error(y(479))}else l=Ko(a,i,o,2),l!==null&&$n(l,a,2)}function pc(a){var l=a.alternate;return a===at||l!==null&&l===at}function Ks(a,l){Po=Io=!0;var i=a.pending;i===null?l.next=l:(l.next=i.next,i.next=l),a.pending=l}function i0(a,l,i){if((i&4194048)!==0){var o=l.lanes;o&=a.pendingLanes,i|=o,l.lanes=i,Ot(a,i)}}var Js={readContext:tn,use:Hd,useCallback:ya,useContext:ya,useEffect:ya,useImperativeHandle:ya,useLayoutEffect:ya,useInsertionEffect:ya,useMemo:ya,useReducer:ya,useRef:ya,useState:ya,useDebugValue:ya,useDeferredValue:ya,useTransition:ya,useSyncExternalStore:ya,useId:ya,useHostTransitionStatus:ya,useFormState:ya,useActionState:ya,useOptimistic:ya,useMemoCache:ya,useCacheRefresh:ya},u0={readContext:tn,use:Hd,useCallback:function(a,l){return wn().memoizedState=[a,l===void 0?null:l],a},useContext:tn,useEffect:ia,useImperativeHandle:function(a,l,i){i=i!=null?i.concat([a]):null,tr(4194308,4,Fl.bind(null,l,a),i)},useLayoutEffect:function(a,l){return tr(4194308,4,a,l)},useInsertionEffect:function(a,l){tr(4,2,a,l)},useMemo:function(a,l){var i=wn();l=l===void 0?null:l;var o=a();if(Ln){pt(!0);try{a()}finally{pt(!1)}}return i.memoizedState=[o,l],o},useReducer:function(a,l,i){var o=wn();if(i!==void 0){var f=i(l);if(Ln){pt(!0);try{i(l)}finally{pt(!1)}}}else f=l;return o.memoizedState=o.baseState=f,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:f},o.queue=a,a=a.dispatch=l0.bind(null,at,a),[o.memoizedState,a]},useRef:function(a){var l=wn();return a={current:a},l.memoizedState=a},useState:function(a){a=Ys(a);var l=a.queue,i=Zd.bind(null,at,l);return l.dispatch=i,[a.memoizedState,i]},useDebugValue:Xs,useDeferredValue:function(a,l){var i=wn();return Yd(i,a,l)},useTransition:function(){var a=Ys(!1);return a=Ry.bind(null,at,a.queue,!0,!1),wn().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,l,i){var o=at,f=wn();if(st){if(i===void 0)throw Error(y(407));i=i()}else{if(i=l(),Wt===null)throw Error(y(349));(Mt&124)!==0||qs(o,l,i)}f.memoizedState=i;var h={value:i,getSnapshot:l};return f.queue=h,ia(yy.bind(null,o,h,a),[a]),o.flags|=2048,Iu(9,Ol(),Bd.bind(null,o,h,i,l),null),i},useId:function(){var a=wn(),l=Wt.identifierPrefix;if(st){var i=Kl,o=Ql;i=(o&~(1<<32-Gt(o)-1)).toString(32)+i,l="«"+l+"R"+i,i=js++,0<i&&(l+="H"+i.toString(32)),l+="»"}else i=Md++,l="«"+l+"r"+i.toString(32)+"»";return a.memoizedState=l},useHostTransitionStatus:nr,useFormState:qd,useActionState:qd,useOptimistic:function(a){var l=wn();l.memoizedState=l.baseState=a;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=Qs.bind(null,at,!0,i),i.dispatch=l,[a,l]},useMemoCache:Ha,useCacheRefresh:function(){return wn().memoizedState=ob.bind(null,at)}},My={readContext:tn,use:Hd,useCallback:mc,useContext:tn,useEffect:t0,useImperativeHandle:Ay,useInsertionEffect:a0,useLayoutEffect:wy,useMemo:ar,useReducer:Ls,useRef:_y,useState:function(){return Ls(_i)},useDebugValue:Xs,useDeferredValue:function(a,l){var i=ga();return Gd(i,Vt.memoizedState,a,l)},useTransition:function(){var a=Ls(_i)[0],l=ga().memoizedState;return[typeof a=="boolean"?a:er(a),l]},useSyncExternalStore:my,useId:Il,useHostTransitionStatus:nr,useFormState:xy,useActionState:xy,useOptimistic:function(a,l){var i=ga();return Vd(i,Vt,a,l)},useMemoCache:Ha,useCacheRefresh:Dy},o0={readContext:tn,use:Hd,useCallback:mc,useContext:tn,useEffect:t0,useImperativeHandle:Ay,useInsertionEffect:a0,useLayoutEffect:wy,useMemo:ar,useReducer:jd,useRef:_y,useState:function(){return jd(_i)},useDebugValue:Xs,useDeferredValue:function(a,l){var i=ga();return Vt===null?Yd(i,a,l):Gd(i,Vt.memoizedState,a,l)},useTransition:function(){var a=jd(_i)[0],l=ga().memoizedState;return[typeof a=="boolean"?a:er(a),l]},useSyncExternalStore:my,useId:Il,useHostTransitionStatus:nr,useFormState:e0,useActionState:e0,useOptimistic:function(a,l){var i=ga();return Vt!==null?Vd(i,Vt,a,l):(i.baseState=a,[a,i.queue.dispatch])},useMemoCache:Ha,useCacheRefresh:Dy},Yn=null,gc=0;function $s(a){var l=gc;return gc+=1,Yn===null&&(Yn=[]),cy(Yn,a,l)}function Ws(a,l){l=l.props.ref,a.ref=l!==void 0?l:null}function vc(a,l){throw l.$$typeof===de?Error(y(525)):(a=Object.prototype.toString.call(l),Error(y(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a)))}function Gn(a){var l=a._init;return l(a._payload)}function Cy(a){function l(q,H){if(a){var G=q.deletions;G===null?(q.deletions=[H],q.flags|=16):G.push(H)}}function i(q,H){if(!a)return null;for(;H!==null;)l(q,H),H=H.sibling;return null}function o(q){for(var H=new Map;q!==null;)q.key!==null?H.set(q.key,q):H.set(q.index,q),q=q.sibling;return H}function f(q,H){return q=Xl(q,H),q.index=0,q.sibling=null,q}function h(q,H,G){return q.index=G,a?(G=q.alternate,G!==null?(G=G.index,G<H?(q.flags|=67108866,H):G):(q.flags|=67108866,H)):(q.flags|=1048576,H)}function S(q){return a&&q.alternate===null&&(q.flags|=67108866),q}function T(q,H,G,ue){return H===null||H.tag!==6?(H=Qu(G,q.mode,ue),H.return=q,H):(H=f(H,G),H.return=q,H)}function z(q,H,G,ue){var Oe=G.type;return Oe===fe?le(q,H,G.props.children,ue,G.key):H!==null&&(H.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===it&&Gn(Oe)===H.type)?(H=f(H,G.props),Ws(H,G),H.return=q,H):(H=ct(G.type,G.key,G.props,null,q.mode,ue),Ws(H,G),H.return=q,H)}function Y(q,H,G,ue){return H===null||H.tag!==4||H.stateNode.containerInfo!==G.containerInfo||H.stateNode.implementation!==G.implementation?(H=Fr(G,q.mode,ue),H.return=q,H):(H=f(H,G.children||[]),H.return=q,H)}function le(q,H,G,ue,Oe){return H===null||H.tag!==7?(H=ce(G,q.mode,ue,Oe),H.return=q,H):(H=f(H,G),H.return=q,H)}function oe(q,H,G){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Qu(""+H,q.mode,G),H.return=q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case V:return G=ct(H.type,H.key,H.props,null,q.mode,G),Ws(G,H),G.return=q,G;case j:return H=Fr(H,q.mode,G),H.return=q,H;case it:var ue=H._init;return H=ue(H._payload),oe(q,H,G)}if(Je(H)||se(H))return H=ce(H,q.mode,G,null),H.return=q,H;if(typeof H.then=="function")return oe(q,$s(H),G);if(H.$$typeof===Rt)return oe(q,ac(q,H),G);vc(q,H)}return null}function Q(q,H,G,ue){var Oe=H!==null?H.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return Oe!==null?null:T(q,H,""+G,ue);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case V:return G.key===Oe?z(q,H,G,ue):null;case j:return G.key===Oe?Y(q,H,G,ue):null;case it:return Oe=G._init,G=Oe(G._payload),Q(q,H,G,ue)}if(Je(G)||se(G))return Oe!==null?null:le(q,H,G,ue,null);if(typeof G.then=="function")return Q(q,H,$s(G),ue);if(G.$$typeof===Rt)return Q(q,H,ac(q,G),ue);vc(q,G)}return null}function F(q,H,G,ue,Oe){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return q=q.get(G)||null,T(H,q,""+ue,Oe);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return q=q.get(ue.key===null?G:ue.key)||null,z(H,q,ue,Oe);case j:return q=q.get(ue.key===null?G:ue.key)||null,Y(H,q,ue,Oe);case it:var ft=ue._init;return ue=ft(ue._payload),F(q,H,G,ue,Oe)}if(Je(ue)||se(ue))return q=q.get(G)||null,le(H,q,ue,Oe,null);if(typeof ue.then=="function")return F(q,H,G,$s(ue),Oe);if(ue.$$typeof===Rt)return F(q,H,G,ac(H,ue),Oe);vc(H,ue)}return null}function Ge(q,H,G,ue){for(var Oe=null,ft=null,qe=H,Ze=H=0,Ja=null;qe!==null&&Ze<G.length;Ze++){qe.index>Ze?(Ja=qe,qe=null):Ja=qe.sibling;var Ht=Q(q,qe,G[Ze],ue);if(Ht===null){qe===null&&(qe=Ja);break}a&&qe&&Ht.alternate===null&&l(q,qe),H=h(Ht,H,Ze),ft===null?Oe=Ht:ft.sibling=Ht,ft=Ht,qe=Ja}if(Ze===G.length)return i(q,qe),st&&wa(q,Ze),Oe;if(qe===null){for(;Ze<G.length;Ze++)qe=oe(q,G[Ze],ue),qe!==null&&(H=h(qe,H,Ze),ft===null?Oe=qe:ft.sibling=qe,ft=qe);return st&&wa(q,Ze),Oe}for(qe=o(qe);Ze<G.length;Ze++)Ja=F(qe,q,Ze,G[Ze],ue),Ja!==null&&(a&&Ja.alternate!==null&&qe.delete(Ja.key===null?Ze:Ja.key),H=h(Ja,H,Ze),ft===null?Oe=Ja:ft.sibling=Ja,ft=Ja);return a&&qe.forEach(function(Ni){return l(q,Ni)}),st&&wa(q,Ze),Oe}function Ye(q,H,G,ue){if(G==null)throw Error(y(151));for(var Oe=null,ft=null,qe=H,Ze=H=0,Ja=null,Ht=G.next();qe!==null&&!Ht.done;Ze++,Ht=G.next()){qe.index>Ze?(Ja=qe,qe=null):Ja=qe.sibling;var Ni=Q(q,qe,Ht.value,ue);if(Ni===null){qe===null&&(qe=Ja);break}a&&qe&&Ni.alternate===null&&l(q,qe),H=h(Ni,H,Ze),ft===null?Oe=Ni:ft.sibling=Ni,ft=Ni,qe=Ja}if(Ht.done)return i(q,qe),st&&wa(q,Ze),Oe;if(qe===null){for(;!Ht.done;Ze++,Ht=G.next())Ht=oe(q,Ht.value,ue),Ht!==null&&(H=h(Ht,H,Ze),ft===null?Oe=Ht:ft.sibling=Ht,ft=Ht);return st&&wa(q,Ze),Oe}for(qe=o(qe);!Ht.done;Ze++,Ht=G.next())Ht=F(qe,q,Ze,Ht.value,ue),Ht!==null&&(a&&Ht.alternate!==null&&qe.delete(Ht.key===null?Ze:Ht.key),H=h(Ht,H,Ze),ft===null?Oe=Ht:ft.sibling=Ht,ft=Ht);return a&&qe.forEach(function(gb){return l(q,gb)}),st&&wa(q,Ze),Oe}function qt(q,H,G,ue){if(typeof G=="object"&&G!==null&&G.type===fe&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case V:e:{for(var Oe=G.key;H!==null;){if(H.key===Oe){if(Oe=G.type,Oe===fe){if(H.tag===7){i(q,H.sibling),ue=f(H,G.props.children),ue.return=q,q=ue;break e}}else if(H.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===it&&Gn(Oe)===H.type){i(q,H.sibling),ue=f(H,G.props),Ws(ue,G),ue.return=q,q=ue;break e}i(q,H);break}else l(q,H);H=H.sibling}G.type===fe?(ue=ce(G.props.children,q.mode,ue,G.key),ue.return=q,q=ue):(ue=ct(G.type,G.key,G.props,null,q.mode,ue),Ws(ue,G),ue.return=q,q=ue)}return S(q);case j:e:{for(Oe=G.key;H!==null;){if(H.key===Oe)if(H.tag===4&&H.stateNode.containerInfo===G.containerInfo&&H.stateNode.implementation===G.implementation){i(q,H.sibling),ue=f(H,G.children||[]),ue.return=q,q=ue;break e}else{i(q,H);break}else l(q,H);H=H.sibling}ue=Fr(G,q.mode,ue),ue.return=q,q=ue}return S(q);case it:return Oe=G._init,G=Oe(G._payload),qt(q,H,G,ue)}if(Je(G))return Ge(q,H,G,ue);if(se(G)){if(Oe=se(G),typeof Oe!="function")throw Error(y(150));return G=Oe.call(G),Ye(q,H,G,ue)}if(typeof G.then=="function")return qt(q,H,$s(G),ue);if(G.$$typeof===Rt)return qt(q,H,ac(q,G),ue);vc(q,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,H!==null&&H.tag===6?(i(q,H.sibling),ue=f(H,G),ue.return=q,q=ue):(i(q,H),ue=Qu(G,q.mode,ue),ue.return=q,q=ue),S(q)):i(q,H)}return function(q,H,G,ue){try{gc=0;var Oe=qt(q,H,G,ue);return Yn=null,Oe}catch(qe){if(qe===Wo||qe===oc)throw qe;var ft=kn(29,qe,null,q.mode);return ft.lanes=ue,ft.return=q,ft}finally{}}}var Ga=Cy(!0),Uy=Cy(!1),Ra=C(null),Pl=null;function Zn(a){var l=a.alternate;ee(xa,xa.current&1),ee(Ra,a),Pl===null&&(l===null||cu.current!==null||l.memoizedState!==null)&&(Pl=a)}function Ny(a){if(a.tag===22){if(ee(xa,xa.current),ee(Ra,a),Pl===null){var l=a.alternate;l!==null&&l.memoizedState!==null&&(Pl=a)}}else mn()}function mn(){ee(xa,xa.current),ee(Ra,Ra.current)}function ei(a){ie(Ra),Pl===a&&(Pl=null),ie(xa)}var xa=C(0);function ul(a){for(var l=a;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||Sp(i)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}function Xd(a,l,i,o){l=a.memoizedState,i=i(o,l),i=i==null?l:X({},l,i),a.memoizedState=i,a.lanes===0&&(a.updateQueue.baseState=i)}var Pu={enqueueSetState:function(a,l,i){a=a._reactInternals;var o=sl(),f=ru(o);f.payload=l,i!=null&&(f.callback=i),l=Vn(a,f,o),l!==null&&($n(l,a,o),Fo(l,a,o))},enqueueReplaceState:function(a,l,i){a=a._reactInternals;var o=sl(),f=ru(o);f.tag=1,f.payload=l,i!=null&&(f.callback=i),l=Vn(a,f,o),l!==null&&($n(l,a,o),Fo(l,a,o))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var i=sl(),o=ru(i);o.tag=2,l!=null&&(o.callback=l),l=Vn(a,o,i),l!==null&&($n(l,a,i),Fo(l,a,i))}};function Hy(a,l,i,o,f,h,S){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(o,h,S):l.prototype&&l.prototype.isPureReactComponent?!eu(i,o)||!eu(f,h):!0}function bc(a,l,i,o){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,o),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,o),l.state!==a&&Pu.enqueueReplaceState(l,l.state,null)}function zl(a,l){var i=l;if("ref"in l){i={};for(var o in l)o!=="ref"&&(i[o]=l[o])}if(a=a.defaultProps){i===l&&(i=X({},i));for(var f in a)i[f]===void 0&&(i[f]=a[f])}return i}var Fs=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)};function ky(a){Fs(a)}function Sc(a){console.error(a)}function jy(a){Fs(a)}function lr(a,l){try{var i=a.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(o){setTimeout(function(){throw o})}}function By(a,l,i){try{var o=a.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Qd(a,l,i){return i=ru(i),i.tag=3,i.payload={element:null},i.callback=function(){lr(a,l)},i}function r0(a){return a=ru(a),a.tag=3,a}function Vy(a,l,i,o){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var h=o.value;a.payload=function(){return f(h)},a.callback=function(){By(l,i,o)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(a.callback=function(){By(l,i,o),typeof f!="function"&&(Ai===null?Ai=new Set([this]):Ai.add(this));var T=o.stack;this.componentDidCatch(o.value,{componentStack:T!==null?T:""})})}function ol(a,l,i,o,f){if(i.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(l=i.alternate,l!==null&&Os(l,i,f,!0),i=Ra.current,i!==null){switch(i.tag){case 13:return Pl===null?so():i.alternate===null&&ba===0&&(ba=3),i.flags&=-257,i.flags|=65536,i.lanes=f,o===Rd?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([o]):l.add(o),uf(a,o,f)),!1;case 22:return i.flags|=65536,o===Rd?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([o]):i.add(o)),uf(a,o,f)),!1}throw Error(y(435,i.tag))}return uf(a,o,f),so(),!1}if(st)return l=Ra.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=f,o!==As&&(a=Error(y(422),{cause:o}),tc(ll(a,i)))):(o!==As&&(l=Error(y(423),{cause:o}),tc(ll(l,i))),a=a.current.alternate,a.flags|=65536,f&=-f,a.lanes|=f,o=ll(o,i),f=Qd(a.stateNode,o,f),Ns(a,f),ba!==4&&(ba=2)),!1;var h=Error(y(520),{cause:o});if(h=ll(h,i),af===null?af=[h]:af.push(h),ba!==4&&(ba=2),l===null)return!0;o=ll(o,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,a=f&-f,i.lanes|=a,a=Qd(i.stateNode,o,a),Ns(i,a),!1;case 1:if(l=i.type,h=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Ai===null||!Ai.has(h))))return i.flags|=65536,f&=-f,i.lanes|=f,f=r0(f),Vy(f,a,i,o),Ns(i,f),!1}i=i.return}while(i!==null);return!1}var Ly=Error(y(461)),bt=!1;function Za(a,l,i,o){l.child=a===null?Uy(l,null,i,o):Ga(l,a.child,i,o)}function qy(a,l,i,o,f){i=i.render;var h=l.ref;if("ref"in o){var S={};for(var T in o)T!=="ref"&&(S[T]=o[T])}else S=o;return Ju(l),o=Cd(a,l,i,S,h,f),T=Ud(),a!==null&&!bt?(Nd(a,l,f),ti(a,l,f)):(st&&T&&ws(l),l.flags|=1,Za(a,l,o,f),l.child)}function c0(a,l,i,o,f){if(a===null){var h=i.type;return typeof h=="function"&&!Sd(h)&&h.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=h,fu(a,l,h,o,f)):(a=ct(i.type,null,o,l,l.mode,f),a.ref=l.ref,a.return=l,l.child=a)}if(h=a.child,!Id(a,f)){var S=h.memoizedProps;if(i=i.compare,i=i!==null?i:eu,i(S,o)&&a.ref===l.ref)return ti(a,l,f)}return l.flags|=1,a=Xl(h,o),a.ref=l.ref,a.return=l,l.child=a}function fu(a,l,i,o,f){if(a!==null){var h=a.memoizedProps;if(eu(h,o)&&a.ref===l.ref)if(bt=!1,l.pendingProps=o=h,Id(a,f))(a.flags&131072)!==0&&(bt=!0);else return l.lanes=a.lanes,ti(a,l,f)}return Jd(a,l,i,o,f)}function ir(a,l,i){var o=l.pendingProps,f=o.children,h=a!==null?a.memoizedState:null;if(o.mode==="hidden"){if((l.flags&128)!==0){if(o=h!==null?h.baseLanes|i:i,a!==null){for(f=l.child=a.child,h=0;f!==null;)h=h|f.lanes|f.childLanes,f=f.sibling;l.childLanes=h&~o}else l.childLanes=0,l.child=null;return Kd(a,l,o,i)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},a!==null&&uc(l,h!==null?h.cachePool:null),h!==null?dy(l,h):Na(),Ny(l);else return l.lanes=l.childLanes=536870912,Kd(a,l,h!==null?h.baseLanes|i:i,i)}else h!==null?(uc(l,h.cachePool),dy(l,h),mn(),l.memoizedState=null):(a!==null&&uc(l,null),Na(),mn());return Za(a,l,f,i),l.child}function Kd(a,l,i,o){var f=ic();return f=f===null?null:{parent:Aa._currentValue,pool:f},l.memoizedState={baseLanes:i,cachePool:f},a!==null&&uc(l,null),Na(),Ny(l),a!==null&&Os(a,l,o,!0),null}function du(a,l){var i=l.ref;if(i===null)a!==null&&a.ref!==null&&(l.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(y(284));(a===null||a.ref!==i)&&(l.flags|=4194816)}}function Jd(a,l,i,o,f){return Ju(l),i=Cd(a,l,i,o,void 0,f),o=Ud(),a!==null&&!bt?(Nd(a,l,f),ti(a,l,f)):(st&&o&&ws(l),l.flags|=1,Za(a,l,i,f),l.child)}function Yy(a,l,i,o,f,h){return Ju(l),l.updateQueue=null,i=Fu(l,o,i,f),hy(a),o=Ud(),a!==null&&!bt?(Nd(a,l,h),ti(a,l,h)):(st&&o&&ws(l),l.flags|=1,Za(a,l,i,h),l.child)}function Gy(a,l,i,o,f){if(Ju(l),l.stateNode===null){var h=Jo,S=i.contextType;typeof S=="object"&&S!==null&&(h=tn(S)),h=new i(o,h),l.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Pu,l.stateNode=h,h._reactInternals=l,h=l.stateNode,h.props=o,h.state=l.memoizedState,h.refs={},Us(l),S=i.contextType,h.context=typeof S=="object"&&S!==null?tn(S):Jo,h.state=l.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(Xd(l,i,S,o),h.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(S=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),S!==h.state&&Pu.enqueueReplaceState(h,h.state,null),sc(l,o,h,f),Hs(),h.state=l.memoizedState),typeof h.componentDidMount=="function"&&(l.flags|=4194308),o=!0}else if(a===null){h=l.stateNode;var T=l.memoizedProps,z=zl(i,T);h.props=z;var Y=h.context,le=i.contextType;S=Jo,typeof le=="object"&&le!==null&&(S=tn(le));var oe=i.getDerivedStateFromProps;le=typeof oe=="function"||typeof h.getSnapshotBeforeUpdate=="function",T=l.pendingProps!==T,le||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(T||Y!==S)&&bc(l,h,o,S),ou=!1;var Q=l.memoizedState;h.state=Q,sc(l,o,h,f),Hs(),Y=l.memoizedState,T||Q!==Y||ou?(typeof oe=="function"&&(Xd(l,i,oe,o),Y=l.memoizedState),(z=ou||Hy(l,i,z,o,Q,Y,S))?(le||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(l.flags|=4194308)):(typeof h.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=o,l.memoizedState=Y),h.props=o,h.state=Y,h.context=S,o=z):(typeof h.componentDidMount=="function"&&(l.flags|=4194308),o=!1)}else{h=l.stateNode,zd(a,l),S=l.memoizedProps,le=zl(i,S),h.props=le,oe=l.pendingProps,Q=h.context,Y=i.contextType,z=Jo,typeof Y=="object"&&Y!==null&&(z=tn(Y)),T=i.getDerivedStateFromProps,(Y=typeof T=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S!==oe||Q!==z)&&bc(l,h,o,z),ou=!1,Q=l.memoizedState,h.state=Q,sc(l,o,h,f),Hs();var F=l.memoizedState;S!==oe||Q!==F||ou||a!==null&&a.dependencies!==null&&zs(a.dependencies)?(typeof T=="function"&&(Xd(l,i,T,o),F=l.memoizedState),(le=ou||Hy(l,i,le,o,Q,F,z)||a!==null&&a.dependencies!==null&&zs(a.dependencies))?(Y||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(o,F,z),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(o,F,z)),typeof h.componentDidUpdate=="function"&&(l.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof h.componentDidUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=1024),l.memoizedProps=o,l.memoizedState=F),h.props=o,h.state=F,h.context=z,o=le):(typeof h.componentDidUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&Q===a.memoizedState||(l.flags|=1024),o=!1)}return h=o,du(a,l),o=(l.flags&128)!==0,h||o?(h=l.stateNode,i=o&&typeof i.getDerivedStateFromError!="function"?null:h.render(),l.flags|=1,a!==null&&o?(l.child=Ga(l,a.child,null,f),l.child=Ga(l,null,i,f)):Za(a,l,i,f),l.memoizedState=h.state,a=l.child):a=ti(a,l,f),a}function $d(a,l,i,o){return ec(),l.flags|=256,Za(a,l,i,o),l.child}var Is={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wd(a){return{baseLanes:a,cachePool:Ms()}}function Zy(a,l,i){return a=a!==null?a.childLanes&~i:0,l&&(a|=ka),a}function s0(a,l,i){var o=l.pendingProps,f=!1,h=(l.flags&128)!==0,S;if((S=h)||(S=a!==null&&a.memoizedState===null?!1:(xa.current&2)!==0),S&&(f=!0,l.flags&=-129),S=(l.flags&32)!==0,l.flags&=-33,a===null){if(st){if(f?Zn(l):mn(),st){var T=Jt,z;if(z=T){e:{for(z=T,T=_n;z.nodeType!==8;){if(!T){T=null;break e}if(z=oi(z.nextSibling),z===null){T=null;break e}}T=z}T!==null?(l.memoizedState={dehydrated:T,treeContext:nu!==null?{id:Ql,overflow:Kl}:null,retryLane:536870912,hydrationErrors:null},z=kn(18,null,null,0),z.stateNode=T,z.return=l,l.child=z,pa=l,Jt=null,z=!0):z=!1}z||Jl(l)}if(T=l.memoizedState,T!==null&&(T=T.dehydrated,T!==null))return Sp(T)?l.lanes=32:l.lanes=536870912,null;ei(l)}return T=o.children,o=o.fallback,f?(mn(),f=l.mode,T=Ps({mode:"hidden",children:T},f),o=ce(o,f,i,null),T.return=l,o.return=l,T.sibling=o,l.child=T,f=l.child,f.memoizedState=Wd(i),f.childLanes=Zy(a,S,i),l.memoizedState=Is,o):(Zn(l),Fd(l,T))}if(z=a.memoizedState,z!==null&&(T=z.dehydrated,T!==null)){if(h)l.flags&256?(Zn(l),l.flags&=-257,l=Xy(a,l,i)):l.memoizedState!==null?(mn(),l.child=a.child,l.flags|=128,l=null):(mn(),f=o.fallback,T=l.mode,o=Ps({mode:"visible",children:o.children},T),f=ce(f,T,i,null),f.flags|=2,o.return=l,f.return=l,o.sibling=f,l.child=o,Ga(l,a.child,null,i),o=l.child,o.memoizedState=Wd(i),o.childLanes=Zy(a,S,i),l.memoizedState=Is,l=f);else if(Zn(l),Sp(T)){if(S=T.nextSibling&&T.nextSibling.dataset,S)var Y=S.dgst;S=Y,o=Error(y(419)),o.stack="",o.digest=S,tc({value:o,source:null,stack:null}),l=Xy(a,l,i)}else if(bt||Os(a,l,i,!1),S=(i&a.childLanes)!==0,bt||S){if(S=Wt,S!==null&&(o=i&-i,o=(o&42)!==0?1:Ie(o),o=(o&(S.suspendedLanes|i))!==0?0:o,o!==0&&o!==z.retryLane))throw z.retryLane=o,au(a,o),$n(S,a,o),Ly;T.data==="$?"||so(),l=Xy(a,l,i)}else T.data==="$?"?(l.flags|=192,l.child=a.child,l=null):(a=z.treeContext,Jt=oi(T.nextSibling),pa=l,st=!0,lu=null,_n=!1,a!==null&&(jn[wl++]=Ql,jn[wl++]=Kl,jn[wl++]=nu,Ql=a.id,Kl=a.overflow,nu=l),l=Fd(l,o.children),l.flags|=4096);return l}return f?(mn(),f=o.fallback,T=l.mode,z=a.child,Y=z.sibling,o=Xl(z,{mode:"hidden",children:o.children}),o.subtreeFlags=z.subtreeFlags&65011712,Y!==null?f=Xl(Y,f):(f=ce(f,T,i,null),f.flags|=2),f.return=l,o.return=l,o.sibling=f,l.child=o,o=f,f=l.child,T=a.child.memoizedState,T===null?T=Wd(i):(z=T.cachePool,z!==null?(Y=Aa._currentValue,z=z.parent!==Y?{parent:Y,pool:Y}:z):z=Ms(),T={baseLanes:T.baseLanes|i,cachePool:z}),f.memoizedState=T,f.childLanes=Zy(a,S,i),l.memoizedState=Is,o):(Zn(l),i=a.child,a=i.sibling,i=Xl(i,{mode:"visible",children:o.children}),i.return=l,i.sibling=null,a!==null&&(S=l.deletions,S===null?(l.deletions=[a],l.flags|=16):S.push(a)),l.child=i,l.memoizedState=null,i)}function Fd(a,l){return l=Ps({mode:"visible",children:l},a.mode),l.return=a,a.child=l}function Ps(a,l){return a=kn(22,a,null,l),a.lanes=0,a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},a}function Xy(a,l,i){return Ga(l,a.child,null,i),a=Fd(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function ur(a,l,i){a.lanes|=l;var o=a.alternate;o!==null&&(o.lanes|=l),_d(a.return,l,i)}function Tc(a,l,i,o,f){var h=a.memoizedState;h===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:f}:(h.isBackwards=l,h.rendering=null,h.renderingStartTime=0,h.last=o,h.tail=i,h.tailMode=f)}function Qy(a,l,i){var o=l.pendingProps,f=o.revealOrder,h=o.tail;if(Za(a,l,o.children,i),o=xa.current,(o&2)!==0)o=o&1|2,l.flags|=128;else{if(a!==null&&(a.flags&128)!==0)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&ur(a,i,l);else if(a.tag===19)ur(a,i,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o&=1}switch(ee(xa,o),f){case"forwards":for(i=l.child,f=null;i!==null;)a=i.alternate,a!==null&&ul(a)===null&&(f=i),i=i.sibling;i=f,i===null?(f=l.child,l.child=null):(f=i.sibling,i.sibling=null),Tc(l,!1,f,i,h);break;case"backwards":for(i=null,f=l.child,l.child=null;f!==null;){if(a=f.alternate,a!==null&&ul(a)===null){l.child=f;break}a=f.sibling,f.sibling=i,i=f,f=a}Tc(l,!0,i,null,h);break;case"together":Tc(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function ti(a,l,i){if(a!==null&&(l.dependencies=a.dependencies),uo|=l.lanes,(i&l.childLanes)===0)if(a!==null){if(Os(a,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(a!==null&&l.child!==a.child)throw Error(y(153));if(l.child!==null){for(a=l.child,i=Xl(a,a.pendingProps),l.child=i,i.return=l;a.sibling!==null;)a=a.sibling,i=i.sibling=Xl(a,a.pendingProps),i.return=l;i.sibling=null}return l.child}function Id(a,l){return(a.lanes&l)!==0?!0:(a=a.dependencies,!!(a!==null&&zs(a)))}function f0(a,l,i){switch(l.tag){case 3:Ct(l,l.stateNode.containerInfo),Ti(l,Aa,a.memoizedState.cache),ec();break;case 27:case 5:ha(l);break;case 4:Ct(l,l.stateNode.containerInfo);break;case 10:Ti(l,l.type,l.memoizedProps.value);break;case 13:var o=l.memoizedState;if(o!==null)return o.dehydrated!==null?(Zn(l),l.flags|=128,null):(i&l.child.childLanes)!==0?s0(a,l,i):(Zn(l),a=ti(a,l,i),a!==null?a.sibling:null);Zn(l);break;case 19:var f=(a.flags&128)!==0;if(o=(i&l.childLanes)!==0,o||(Os(a,l,i,!1),o=(i&l.childLanes)!==0),f){if(o)return Qy(a,l,i);l.flags|=128}if(f=l.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ee(xa,xa.current),o)break;return null;case 22:case 23:return l.lanes=0,ir(a,l,i);case 24:Ti(l,Aa,a.memoizedState.cache)}return ti(a,l,i)}function Ky(a,l,i){if(a!==null)if(a.memoizedProps!==l.pendingProps)bt=!0;else{if(!Id(a,i)&&(l.flags&128)===0)return bt=!1,f0(a,l,i);bt=(a.flags&131072)!==0}else bt=!1,st&&(l.flags&1048576)!==0&&Zt(l,_s,l.index);switch(l.lanes=0,l.tag){case 16:e:{a=l.pendingProps;var o=l.elementType,f=o._init;if(o=f(o._payload),l.type=o,typeof o=="function")Sd(o)?(a=zl(o,a),l.tag=1,l=Gy(null,l,o,a,i)):(l.tag=0,l=Jd(null,l,o,a,i));else{if(o!=null){if(f=o.$$typeof,f===vt){l.tag=11,l=qy(null,l,o,a,i);break e}else if(f===_t){l.tag=14,l=c0(null,l,o,a,i);break e}}throw l=Ke(o)||o,Error(y(306,l,""))}}return l;case 0:return Jd(a,l,l.type,l.pendingProps,i);case 1:return o=l.type,f=zl(o,l.pendingProps),Gy(a,l,o,f,i);case 3:e:{if(Ct(l,l.stateNode.containerInfo),a===null)throw Error(y(387));o=l.pendingProps;var h=l.memoizedState;f=h.element,zd(a,l),sc(l,o,null,i);var S=l.memoizedState;if(o=S.cache,Ti(l,Aa,o),o!==h.cache&&wd(l,[Aa],i,!0),Hs(),o=S.element,h.isDehydrated)if(h={element:o,isDehydrated:!1,cache:S.cache},l.updateQueue.baseState=h,l.memoizedState=h,l.flags&256){l=$d(a,l,o,i);break e}else if(o!==f){f=ll(Error(y(424)),l),tc(f),l=$d(a,l,o,i);break e}else{switch(a=l.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(Jt=oi(a.firstChild),pa=l,st=!0,lu=null,_n=!0,i=Uy(l,null,o,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(ec(),o===f){l=ti(a,l,i);break e}Za(a,l,o,i)}l=l.child}return l;case 26:return du(a,l),a===null?(i=Ah(l.type,null,l.pendingProps,null))?l.memoizedState=i:st||(i=l.type,a=l.pendingProps,o=kc(De.current).createElement(i),o[ea]=l,o[fn]=a,J(o,i,a),Ta(o),l.stateNode=o):l.memoizedState=Ah(l.type,a.memoizedProps,l.pendingProps,a.memoizedState),null;case 27:return ha(l),a===null&&st&&(o=l.stateNode=ln(l.type,l.pendingProps,De.current),pa=l,_n=!0,f=Jt,nn(l.type)?(xp=f,Jt=oi(o.firstChild)):Jt=f),Za(a,l,l.pendingProps.children,i),du(a,l),a===null&&(l.flags|=4194304),l.child;case 5:return a===null&&st&&((f=o=Jt)&&(o=bp(o,l.type,l.pendingProps,_n),o!==null?(l.stateNode=o,pa=l,Jt=oi(o.firstChild),_n=!1,f=!0):f=!1),f||Jl(l)),ha(l),f=l.type,h=l.pendingProps,S=a!==null?a.memoizedProps:null,o=h.children,hr(f,h)?o=null:S!==null&&hr(f,S)&&(l.flags|=32),l.memoizedState!==null&&(f=Cd(a,l,Pg,null,null,i),un._currentValue=f),du(a,l),Za(a,l,o,i),l.child;case 6:return a===null&&st&&((a=i=Jt)&&(i=jc(i,l.pendingProps,_n),i!==null?(l.stateNode=i,pa=l,Jt=null,a=!0):a=!1),a||Jl(l)),null;case 13:return s0(a,l,i);case 4:return Ct(l,l.stateNode.containerInfo),o=l.pendingProps,a===null?l.child=Ga(l,null,o,i):Za(a,l,o,i),l.child;case 11:return qy(a,l,l.type,l.pendingProps,i);case 7:return Za(a,l,l.pendingProps,i),l.child;case 8:return Za(a,l,l.pendingProps.children,i),l.child;case 12:return Za(a,l,l.pendingProps.children,i),l.child;case 10:return o=l.pendingProps,Ti(l,l.type,o.value),Za(a,l,o.children,i),l.child;case 9:return f=l.type._context,o=l.pendingProps.children,Ju(l),f=tn(f),o=o(f),l.flags|=1,Za(a,l,o,i),l.child;case 14:return c0(a,l,l.type,l.pendingProps,i);case 15:return fu(a,l,l.type,l.pendingProps,i);case 19:return Qy(a,l,i);case 31:return o=l.pendingProps,i=l.mode,o={mode:o.mode,children:o.children},a===null?(i=Ps(o,i),i.ref=l.ref,l.child=i,i.return=l,l=i):(i=Xl(a.child,o),i.ref=l.ref,l.child=i,i.return=l,l=i),l;case 22:return ir(a,l,i);case 24:return Ju(l),o=tn(Aa),a===null?(f=ic(),f===null&&(f=Wt,h=iy(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=i),f=h),l.memoizedState={parent:o,cache:f},Us(l),Ti(l,Aa,f)):((a.lanes&i)!==0&&(zd(a,l),sc(l,null,null,i),Hs()),f=a.memoizedState,h=l.memoizedState,f.parent!==o?(f={parent:o,cache:o},l.memoizedState=f,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=f),Ti(l,Aa,o)):(o=h.cache,Ti(l,Aa,o),o!==f.cache&&wd(l,[Aa],i,!0))),Za(a,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(y(156,l.tag))}function hu(a){a.flags|=4}function Jy(a,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!Ap(l)){if(l=Ra.current,l!==null&&((Mt&4194048)===Mt?Pl!==null:(Mt&62914560)!==Mt&&(Mt&536870912)===0||l!==Pl))throw cc=Rd,Cs;a.flags|=8192}}function eo(a,l){l!==null&&(a.flags|=4),a.flags&16384&&(l=a.tag!==22?he():536870912,a.lanes|=l,Rc|=l)}function xc(a,l){if(!st)switch(a.tailMode){case"hidden":l=a.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?a.tail=null:i.sibling=null;break;case"collapsed":i=a.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:o.sibling=null}}function sa(a){var l=a.alternate!==null&&a.alternate.child===a.child,i=0,o=0;if(l)for(var f=a.child;f!==null;)i|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,f.return=a,f=f.sibling;else for(f=a.child;f!==null;)i|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=a,f=f.sibling;return a.subtreeFlags|=o,a.childLanes=i,l}function $t(a,l,i){var o=l.pendingProps;switch($o(l),l.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return sa(l),null;case 1:return sa(l),null;case 3:return i=l.stateNode,o=null,a!==null&&(o=a.memoizedState.cache),l.memoizedState.cache!==o&&(l.flags|=2048),xi(Aa),Dt(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(a===null||a.child===null)&&(Pr(l)?hu(l):a===null||a.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,ny())),sa(l),null;case 26:return i=l.memoizedState,a===null?(hu(l),i!==null?(sa(l),Jy(l,i)):(sa(l),l.flags&=-16777217)):i?i!==a.memoizedState?(hu(l),sa(l),Jy(l,i)):(sa(l),l.flags&=-16777217):(a.memoizedProps!==o&&hu(l),sa(l),l.flags&=-16777217),null;case 27:Fa(l),i=De.current;var f=l.type;if(a!==null&&l.stateNode!=null)a.memoizedProps!==o&&hu(l);else{if(!o){if(l.stateNode===null)throw Error(y(166));return sa(l),null}a=Te.current,Pr(l)?xd(l):(a=ln(f,o,i),l.stateNode=a,hu(l))}return sa(l),null;case 5:if(Fa(l),i=l.type,a!==null&&l.stateNode!=null)a.memoizedProps!==o&&hu(l);else{if(!o){if(l.stateNode===null)throw Error(y(166));return sa(l),null}if(a=Te.current,Pr(l))xd(l);else{switch(f=kc(De.current),a){case 1:a=f.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:a=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":a=f.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":a=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":a=f.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?a.multiple=!0:o.size&&(a.size=o.size);break;default:a=typeof o.is=="string"?f.createElement(i,{is:o.is}):f.createElement(i)}}a[ea]=l,a[fn]=o;e:for(f=l.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break e;for(;f.sibling===null;){if(f.return===null||f.return===l)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}l.stateNode=a;e:switch(J(a,i,o),i){case"button":case"input":case"select":case"textarea":a=!!o.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&hu(l)}}return sa(l),l.flags&=-16777217,null;case 6:if(a&&l.stateNode!=null)a.memoizedProps!==o&&hu(l);else{if(typeof o!="string"&&l.stateNode===null)throw Error(y(166));if(a=De.current,Pr(l)){if(a=l.stateNode,i=l.memoizedProps,o=null,f=pa,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}a[ea]=l,a=!!(a.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||M0(a.nodeValue,i)),a||Jl(l)}else a=kc(a).createTextNode(o),a[ea]=l,l.stateNode=a}return sa(l),null;case 13:if(o=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(f=Pr(l),o!==null&&o.dehydrated!==null){if(a===null){if(!f)throw Error(y(318));if(f=l.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(y(317));f[ea]=l}else ec(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;sa(l),f=!1}else f=ny(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=f),f=!0;if(!f)return l.flags&256?(ei(l),l):(ei(l),null)}if(ei(l),(l.flags&128)!==0)return l.lanes=i,l;if(i=o!==null,a=a!==null&&a.memoizedState!==null,i){o=l.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool);var h=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==f&&(o.flags|=2048)}return i!==a&&i&&(l.child.flags|=8192),eo(l,l.updateQueue),sa(l),null;case 4:return Dt(),a===null&&sf(l.stateNode.containerInfo),sa(l),null;case 10:return xi(l.type),sa(l),null;case 19:if(ie(xa),f=l.memoizedState,f===null)return sa(l),null;if(o=(l.flags&128)!==0,h=f.rendering,h===null)if(o)xc(f,!1);else{if(ba!==0||a!==null&&(a.flags&128)!==0)for(a=l.child;a!==null;){if(h=ul(a),h!==null){for(l.flags|=128,xc(f,!1),a=h.updateQueue,l.updateQueue=a,eo(l,a),l.subtreeFlags=0,a=i,i=l.child;i!==null;)Td(i,a),i=i.sibling;return ee(xa,xa.current&1|2),l.child}a=a.sibling}f.tail!==null&&Bt()>nh&&(l.flags|=128,o=!0,xc(f,!1),l.lanes=4194304)}else{if(!o)if(a=ul(h),a!==null){if(l.flags|=128,o=!0,a=a.updateQueue,l.updateQueue=a,eo(l,a),xc(f,!0),f.tail===null&&f.tailMode==="hidden"&&!h.alternate&&!st)return sa(l),null}else 2*Bt()-f.renderingStartTime>nh&&i!==536870912&&(l.flags|=128,o=!0,xc(f,!1),l.lanes=4194304);f.isBackwards?(h.sibling=l.child,l.child=h):(a=f.last,a!==null?a.sibling=h:l.child=h,f.last=h)}return f.tail!==null?(l=f.tail,f.rendering=l,f.tail=l.sibling,f.renderingStartTime=Bt(),l.sibling=null,a=xa.current,ee(xa,o?a&1|2:a&1),l):(sa(l),null);case 22:case 23:return ei(l),dc(),o=l.memoizedState!==null,a!==null?a.memoizedState!==null!==o&&(l.flags|=8192):o&&(l.flags|=8192),o?(i&536870912)!==0&&(l.flags&128)===0&&(sa(l),l.subtreeFlags&6&&(l.flags|=8192)):sa(l),i=l.updateQueue,i!==null&&eo(l,i.retryQueue),i=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==i&&(l.flags|=2048),a!==null&&ie(uu),null;case 24:return i=null,a!==null&&(i=a.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),xi(Aa),sa(l),null;case 25:return null;case 30:return null}throw Error(y(156,l.tag))}function $y(a,l){switch($o(l),l.tag){case 1:return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return xi(Aa),Dt(),a=l.flags,(a&65536)!==0&&(a&128)===0?(l.flags=a&-65537|128,l):null;case 26:case 27:case 5:return Fa(l),null;case 13:if(ei(l),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(y(340));ec()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return ie(xa),null;case 4:return Dt(),null;case 10:return xi(l.type),null;case 22:case 23:return ei(l),dc(),a!==null&&ie(uu),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 24:return xi(Aa),null;case 25:return null;default:return null}}function d0(a,l){switch($o(l),l.tag){case 3:xi(Aa),Dt();break;case 26:case 27:case 5:Fa(l);break;case 4:Dt();break;case 13:ei(l);break;case 19:ie(xa);break;case 10:xi(l.type);break;case 22:case 23:ei(l),dc(),a!==null&&ie(uu);break;case 24:xi(Aa)}}function Ec(a,l){try{var i=l.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var f=o.next;i=f;do{if((i.tag&a)===a){o=void 0;var h=i.create,S=i.inst;o=h(),S.destroy=o}i=i.next}while(i!==f)}}catch(T){Ft(l,l.return,T)}}function to(a,l,i){try{var o=l.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var h=f.next;o=h;do{if((o.tag&a)===a){var S=o.inst,T=S.destroy;if(T!==void 0){S.destroy=void 0,f=l;var z=i,Y=T;try{Y()}catch(le){Ft(f,z,le)}}}o=o.next}while(o!==h)}}catch(le){Ft(l,l.return,le)}}function h0(a){var l=a.updateQueue;if(l!==null){var i=a.stateNode;try{Dd(l,i)}catch(o){Ft(a,a.return,o)}}}function Pd(a,l,i){i.props=zl(a.type,a.memoizedProps),i.state=a.memoizedState;try{i.componentWillUnmount()}catch(o){Ft(a,l,o)}}function _c(a,l){try{var i=a.ref;if(i!==null){switch(a.tag){case 26:case 27:case 5:var o=a.stateNode;break;case 30:o=a.stateNode;break;default:o=a.stateNode}typeof i=="function"?a.refCleanup=i(o):i.current=o}}catch(f){Ft(a,l,f)}}function ai(a,l){var i=a.ref,o=a.refCleanup;if(i!==null)if(typeof o=="function")try{o()}catch(f){Ft(a,l,f)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){Ft(a,l,f)}else i.current=null}function Wy(a){var l=a.type,i=a.memoizedProps,o=a.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&o.focus();break e;case"img":i.src?o.src=i.src:i.srcSet&&(o.srcset=i.srcSet)}}catch(f){Ft(a,a.return,f)}}function or(a,l,i){try{var o=a.stateNode;Lt(o,a.type,i,l),o[fn]=l}catch(f){Ft(a,a.return,f)}}function m0(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&nn(a.type)||a.tag===4}function Fy(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||m0(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&nn(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Dl(a,l,i){var o=a.tag;if(o===5||o===6)a=a.stateNode,l?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(a,l):(l=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,l.appendChild(a),i=i._reactRootContainer,i!=null||l.onclick!==null||(l.onclick=df));else if(o!==4&&(o===27&&nn(a.type)&&(i=a.stateNode,l=null),a=a.child,a!==null))for(Dl(a,l,i),a=a.sibling;a!==null;)Dl(a,l,i),a=a.sibling}function ao(a,l,i){var o=a.tag;if(o===5||o===6)a=a.stateNode,l?i.insertBefore(a,l):i.appendChild(a);else if(o!==4&&(o===27&&nn(a.type)&&(i=a.stateNode),a=a.child,a!==null))for(ao(a,l,i),a=a.sibling;a!==null;)ao(a,l,i),a=a.sibling}function y0(a){var l=a.stateNode,i=a.memoizedProps;try{for(var o=a.type,f=l.attributes;f.length;)l.removeAttributeNode(f[0]);J(l,o,i),l[ea]=a,l[fn]=i}catch(h){Ft(a,a.return,h)}}var ni=!1,va=!1,eh=!1,Iy=typeof WeakSet=="function"?WeakSet:Set,Oa=null;function p0(a,l){if(a=a.containerInfo,gp=Sf,a=Ts(a),pd(a)){if("selectionStart"in a)var i={start:a.selectionStart,end:a.selectionEnd};else e:{i=(i=a.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var f=o.anchorOffset,h=o.focusNode;o=o.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var S=0,T=-1,z=-1,Y=0,le=0,oe=a,Q=null;t:for(;;){for(var F;oe!==i||f!==0&&oe.nodeType!==3||(T=S+f),oe!==h||o!==0&&oe.nodeType!==3||(z=S+o),oe.nodeType===3&&(S+=oe.nodeValue.length),(F=oe.firstChild)!==null;)Q=oe,oe=F;for(;;){if(oe===a)break t;if(Q===i&&++Y===f&&(T=S),Q===h&&++le===o&&(z=S),(F=oe.nextSibling)!==null)break;oe=Q,Q=oe.parentNode}oe=F}i=T===-1||z===-1?null:{start:T,end:z}}else i=null}i=i||{start:0,end:0}}else i=null;for(hf={focusedElem:a,selectionRange:i},Sf=!1,Oa=l;Oa!==null;)if(l=Oa,a=l.child,(l.subtreeFlags&1024)!==0&&a!==null)a.return=l,Oa=a;else for(;Oa!==null;){switch(l=Oa,h=l.alternate,a=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((a&1024)!==0&&h!==null){a=void 0,i=l,f=h.memoizedProps,h=h.memoizedState,o=i.stateNode;try{var Ge=zl(i.type,f,i.elementType===i.type);a=o.getSnapshotBeforeUpdate(Ge,h),o.__reactInternalSnapshotBeforeUpdate=a}catch(Ye){Ft(i,i.return,Ye)}}break;case 3:if((a&1024)!==0){if(a=l.stateNode.containerInfo,i=a.nodeType,i===9)mf(a);else if(i===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":mf(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(y(163))}if(a=l.sibling,a!==null){a.return=l.return,Oa=a;break}Oa=l.return}}function th(a,l,i){var o=i.flags;switch(i.tag){case 0:case 11:case 15:mu(a,i),o&4&&Ec(5,i);break;case 1:if(mu(a,i),o&4)if(a=i.stateNode,l===null)try{a.componentDidMount()}catch(S){Ft(i,i.return,S)}else{var f=zl(i.type,l.memoizedProps);l=l.memoizedState;try{a.componentDidUpdate(f,l,a.__reactInternalSnapshotBeforeUpdate)}catch(S){Ft(i,i.return,S)}}o&64&&h0(i),o&512&&_c(i,i.return);break;case 3:if(mu(a,i),o&64&&(a=i.updateQueue,a!==null)){if(l=null,i.child!==null)switch(i.child.tag){case 27:case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}try{Dd(a,l)}catch(S){Ft(i,i.return,S)}}break;case 27:l===null&&o&4&&y0(i);case 26:case 5:mu(a,i),l===null&&o&4&&Wy(i),o&512&&_c(i,i.return);break;case 12:mu(a,i);break;case 13:mu(a,i),o&4&&St(a,i),o&64&&(a=i.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(i=O0.bind(null,i),Tp(a,i))));break;case 22:if(o=i.memoizedState!==null||ni,!o){l=l!==null&&l.memoizedState!==null||va,f=ni;var h=va;ni=o,(va=l)&&!h?oa(a,i,(i.subtreeFlags&8772)!==0):mu(a,i),ni=f,va=h}break;case 30:break;default:mu(a,i)}}function Py(a){var l=a.alternate;l!==null&&(a.alternate=null,Py(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&je(l)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var ua=null,Xn=!1;function Ml(a,l,i){for(i=i.child;i!==null;)ep(a,l,i),i=i.sibling}function ep(a,l,i){if(Qe&&typeof Qe.onCommitFiberUnmount=="function")try{Qe.onCommitFiberUnmount(ze,i)}catch{}switch(i.tag){case 26:va||ai(i,l),Ml(a,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:va||ai(i,l);var o=ua,f=Xn;nn(i.type)&&(ua=i.stateNode,Xn=!1),Ml(a,l,i),Ee(i.stateNode),ua=o,Xn=f;break;case 5:va||ai(i,l);case 6:if(o=ua,f=Xn,ua=null,Ml(a,l,i),ua=o,Xn=f,ua!==null)if(Xn)try{(ua.nodeType===9?ua.body:ua.nodeName==="HTML"?ua.ownerDocument.body:ua).removeChild(i.stateNode)}catch(h){Ft(i,l,h)}else try{ua.removeChild(i.stateNode)}catch(h){Ft(i,l,h)}break;case 18:ua!==null&&(Xn?(a=ua,U0(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.stateNode),Gc(a)):U0(ua,i.stateNode));break;case 4:o=ua,f=Xn,ua=i.stateNode.containerInfo,Xn=!0,Ml(a,l,i),ua=o,Xn=f;break;case 0:case 11:case 14:case 15:va||to(2,i,l),va||to(4,i,l),Ml(a,l,i);break;case 1:va||(ai(i,l),o=i.stateNode,typeof o.componentWillUnmount=="function"&&Pd(i,l,o)),Ml(a,l,i);break;case 21:Ml(a,l,i);break;case 22:va=(o=va)||i.memoizedState!==null,Ml(a,l,i),va=o;break;default:Ml(a,l,i)}}function St(a,l){if(l.memoizedState===null&&(a=l.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Gc(a)}catch(i){Ft(l,l.return,i)}}function tp(a){switch(a.tag){case 13:case 19:var l=a.stateNode;return l===null&&(l=a.stateNode=new Iy),l;case 22:return a=a.stateNode,l=a._retryCache,l===null&&(l=a._retryCache=new Iy),l;default:throw Error(y(435,a.tag))}}function ef(a,l){var i=tp(a);l.forEach(function(o){var f=rb.bind(null,a,o);i.has(o)||(i.add(o),o.then(f,f))})}function Qn(a,l){var i=l.deletions;if(i!==null)for(var o=0;o<i.length;o++){var f=i[o],h=a,S=l,T=S;e:for(;T!==null;){switch(T.tag){case 27:if(nn(T.type)){ua=T.stateNode,Xn=!1;break e}break;case 5:ua=T.stateNode,Xn=!1;break e;case 3:case 4:ua=T.stateNode.containerInfo,Xn=!0;break e}T=T.return}if(ua===null)throw Error(y(160));ep(h,S,f),ua=null,Xn=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)wc(l,a),l=l.sibling}var rl=null;function wc(a,l){var i=a.alternate,o=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Qn(l,a),yn(a),o&4&&(to(3,a,a.return),Ec(3,a),to(5,a,a.return));break;case 1:Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),o&64&&ni&&(a=a.updateQueue,a!==null&&(o=a.callbacks,o!==null&&(i=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=i===null?o:i.concat(o))));break;case 26:var f=rl;if(Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),o&4){var h=i!==null?i.memoizedState:null;if(o=a.memoizedState,i===null)if(o===null)if(a.stateNode===null){e:{o=a.type,i=a.memoizedProps,f=f.ownerDocument||f;t:switch(o){case"title":h=f.getElementsByTagName("title")[0],(!h||h[os]||h[ea]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(o),f.head.insertBefore(h,f.querySelector("head > title"))),J(h,o,i),h[ea]=a,Ta(h),o=h;break e;case"link":var S=Vc("link","href",f).get(o+(i.href||""));if(S){for(var T=0;T<S.length;T++)if(h=S[T],h.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&h.getAttribute("rel")===(i.rel==null?null:i.rel)&&h.getAttribute("title")===(i.title==null?null:i.title)&&h.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){S.splice(T,1);break t}}h=f.createElement(o),J(h,o,i),f.head.appendChild(h);break;case"meta":if(S=Vc("meta","content",f).get(o+(i.content||""))){for(T=0;T<S.length;T++)if(h=S[T],h.getAttribute("content")===(i.content==null?null:""+i.content)&&h.getAttribute("name")===(i.name==null?null:i.name)&&h.getAttribute("property")===(i.property==null?null:i.property)&&h.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&h.getAttribute("charset")===(i.charSet==null?null:i.charSet)){S.splice(T,1);break t}}h=f.createElement(o),J(h,o,i),f.head.appendChild(h);break;default:throw Error(y(468,o))}h[ea]=a,Ta(h),o=h}a.stateNode=o}else wp(f,a.type,a.stateNode);else a.stateNode=Rh(f,o,a.memoizedProps);else h!==o?(h===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):h.count--,o===null?wp(f,a.type,a.stateNode):Rh(f,o,a.memoizedProps)):o===null&&a.stateNode!==null&&or(a,a.memoizedProps,i.memoizedProps)}break;case 27:Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),i!==null&&o&4&&or(a,a.memoizedProps,i.memoizedProps);break;case 5:if(Qn(l,a),yn(a),o&512&&(va||i===null||ai(i,i.return)),a.flags&32){f=a.stateNode;try{No(f,"")}catch(F){Ft(a,a.return,F)}}o&4&&a.stateNode!=null&&(f=a.memoizedProps,or(a,f,i!==null?i.memoizedProps:f)),o&1024&&(eh=!0);break;case 6:if(Qn(l,a),yn(a),o&4){if(a.stateNode===null)throw Error(y(162));o=a.memoizedProps,i=a.stateNode;try{i.nodeValue=o}catch(F){Ft(a,a.return,F)}}break;case 3:if(gf=null,f=rl,rl=Qa(l.containerInfo),Qn(l,a),rl=f,yn(a),o&4&&i!==null&&i.memoizedState.isDehydrated)try{Gc(l.containerInfo)}catch(F){Ft(a,a.return,F)}eh&&(eh=!1,rr(a));break;case 4:o=rl,rl=Qa(a.stateNode.containerInfo),Qn(l,a),yn(a),rl=o;break;case 12:Qn(l,a),yn(a);break;case 13:Qn(l,a),yn(a),a.child.flags&8192&&a.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(op=Bt()),o&4&&(o=a.updateQueue,o!==null&&(a.updateQueue=null,ef(a,o)));break;case 22:f=a.memoizedState!==null;var z=i!==null&&i.memoizedState!==null,Y=ni,le=va;if(ni=Y||f,va=le||z,Qn(l,a),va=le,ni=Y,yn(a),o&8192)e:for(l=a.stateNode,l._visibility=f?l._visibility&-2:l._visibility|1,f&&(i===null||z||ni||va||yu(a)),i=null,l=a;;){if(l.tag===5||l.tag===26){if(i===null){z=i=l;try{if(h=z.stateNode,f)S=h.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{T=z.stateNode;var oe=z.memoizedProps.style,Q=oe!=null&&oe.hasOwnProperty("display")?oe.display:null;T.style.display=Q==null||typeof Q=="boolean"?"":(""+Q).trim()}}catch(F){Ft(z,z.return,F)}}}else if(l.tag===6){if(i===null){z=l;try{z.stateNode.nodeValue=f?"":z.memoizedProps}catch(F){Ft(z,z.return,F)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===a)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break e;for(;l.sibling===null;){if(l.return===null||l.return===a)break e;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}o&4&&(o=a.updateQueue,o!==null&&(i=o.retryQueue,i!==null&&(o.retryQueue=null,ef(a,i))));break;case 19:Qn(l,a),yn(a),o&4&&(o=a.updateQueue,o!==null&&(a.updateQueue=null,ef(a,o)));break;case 30:break;case 21:break;default:Qn(l,a),yn(a)}}function yn(a){var l=a.flags;if(l&2){try{for(var i,o=a.return;o!==null;){if(m0(o)){i=o;break}o=o.return}if(i==null)throw Error(y(160));switch(i.tag){case 27:var f=i.stateNode,h=Fy(a);ao(a,h,f);break;case 5:var S=i.stateNode;i.flags&32&&(No(S,""),i.flags&=-33);var T=Fy(a);ao(a,T,S);break;case 3:case 4:var z=i.stateNode.containerInfo,Y=Fy(a);Dl(a,Y,z);break;default:throw Error(y(161))}}catch(le){Ft(a,a.return,le)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function rr(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var l=a;rr(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),a=a.sibling}}function mu(a,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)th(a,l.alternate,l),l=l.sibling}function yu(a){for(a=a.child;a!==null;){var l=a;switch(l.tag){case 0:case 11:case 14:case 15:to(4,l,l.return),yu(l);break;case 1:ai(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&Pd(l,l.return,i),yu(l);break;case 27:Ee(l.stateNode);case 26:case 5:ai(l,l.return),yu(l);break;case 22:l.memoizedState===null&&yu(l);break;case 30:yu(l);break;default:yu(l)}a=a.sibling}}function oa(a,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var o=l.alternate,f=a,h=l,S=h.flags;switch(h.tag){case 0:case 11:case 15:oa(f,h,i),Ec(4,h);break;case 1:if(oa(f,h,i),o=h,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(Y){Ft(o,o.return,Y)}if(o=h,f=o.updateQueue,f!==null){var T=o.stateNode;try{var z=f.shared.hiddenCallbacks;if(z!==null)for(f.shared.hiddenCallbacks=null,f=0;f<z.length;f++)fc(z[f],T)}catch(Y){Ft(o,o.return,Y)}}i&&S&64&&h0(h),_c(h,h.return);break;case 27:y0(h);case 26:case 5:oa(f,h,i),i&&o===null&&S&4&&Wy(h),_c(h,h.return);break;case 12:oa(f,h,i);break;case 13:oa(f,h,i),i&&S&4&&St(f,h);break;case 22:h.memoizedState===null&&oa(f,h,i),_c(h,h.return);break;case 30:break;default:oa(f,h,i)}l=l.sibling}}function ap(a,l){var i=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==i&&(a!=null&&a.refCount++,i!=null&&$u(i))}function Cl(a,l){a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&$u(a))}function li(a,l,i,o){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)pu(a,l,i,o),l=l.sibling}function pu(a,l,i,o){var f=l.flags;switch(l.tag){case 0:case 11:case 15:li(a,l,i,o),f&2048&&Ec(9,l);break;case 1:li(a,l,i,o);break;case 3:li(a,l,i,o),f&2048&&(a=null,l.alternate!==null&&(a=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==a&&(l.refCount++,a!=null&&$u(a)));break;case 12:if(f&2048){li(a,l,i,o),a=l.stateNode;try{var h=l.memoizedProps,S=h.id,T=h.onPostCommit;typeof T=="function"&&T(S,l.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(z){Ft(l,l.return,z)}}else li(a,l,i,o);break;case 13:li(a,l,i,o);break;case 23:break;case 22:h=l.stateNode,S=l.alternate,l.memoizedState!==null?h._visibility&2?li(a,l,i,o):no(a,l):h._visibility&2?li(a,l,i,o):(h._visibility|=2,cr(a,l,i,o,(l.subtreeFlags&10256)!==0)),f&2048&&ap(S,l);break;case 24:li(a,l,i,o),f&2048&&Cl(l.alternate,l);break;default:li(a,l,i,o)}}function cr(a,l,i,o,f){for(f=f&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var h=a,S=l,T=i,z=o,Y=S.flags;switch(S.tag){case 0:case 11:case 15:cr(h,S,T,z,f),Ec(8,S);break;case 23:break;case 22:var le=S.stateNode;S.memoizedState!==null?le._visibility&2?cr(h,S,T,z,f):no(h,S):(le._visibility|=2,cr(h,S,T,z,f)),f&&Y&2048&&ap(S.alternate,S);break;case 24:cr(h,S,T,z,f),f&&Y&2048&&Cl(S.alternate,S);break;default:cr(h,S,T,z,f)}l=l.sibling}}function no(a,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=a,o=l,f=o.flags;switch(o.tag){case 22:no(i,o),f&2048&&ap(o.alternate,o);break;case 24:no(i,o),f&2048&&Cl(o.alternate,o);break;default:no(i,o)}l=l.sibling}}var Ut=8192;function lo(a){if(a.subtreeFlags&Ut)for(a=a.child;a!==null;)Xa(a),a=a.sibling}function Xa(a){switch(a.tag){case 26:lo(a),a.flags&Ut&&a.memoizedState!==null&&k0(rl,a.memoizedState,a.memoizedProps);break;case 5:lo(a);break;case 3:case 4:var l=rl;rl=Qa(a.stateNode.containerInfo),lo(a),rl=l;break;case 22:a.memoizedState===null&&(l=a.alternate,l!==null&&l.memoizedState!==null?(l=Ut,Ut=16777216,lo(a),Ut=l):lo(a));break;default:lo(a)}}function g0(a){var l=a.alternate;if(l!==null&&(a=l.child,a!==null)){l.child=null;do l=a.sibling,a.sibling=null,a=l;while(a!==null)}}function Ac(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var o=l[i];Oa=o,cl(o,a)}g0(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)ah(a),a=a.sibling}function ah(a){switch(a.tag){case 0:case 11:case 15:Ac(a),a.flags&2048&&to(9,a,a.return);break;case 3:Ac(a);break;case 12:Ac(a);break;case 22:var l=a.stateNode;a.memoizedState!==null&&l._visibility&2&&(a.return===null||a.return.tag!==13)?(l._visibility&=-3,tf(a)):Ac(a);break;default:Ac(a)}}function tf(a){var l=a.deletions;if((a.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var o=l[i];Oa=o,cl(o,a)}g0(a)}for(a=a.child;a!==null;){switch(l=a,l.tag){case 0:case 11:case 15:to(8,l,l.return),tf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,tf(l));break;default:tf(l)}a=a.sibling}}function cl(a,l){for(;Oa!==null;){var i=Oa;switch(i.tag){case 0:case 11:case 15:to(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var o=i.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:$u(i.memoizedState.cache)}if(o=i.child,o!==null)o.return=i,Oa=o;else e:for(i=a;Oa!==null;){o=Oa;var f=o.sibling,h=o.return;if(Py(o),o===i){Oa=null;break e}if(f!==null){f.return=h,Oa=f;break e}Oa=h}}}var v0={getCacheForType:function(a){var l=tn(Aa),i=l.data.get(a);return i===void 0&&(i=a(),l.data.set(a,i)),i}},np=typeof WeakMap=="function"?WeakMap:Map,Xt=0,Wt=null,Tt=null,Mt=0,Nt=0,Kn=null,gu=!1,io=!1,lp=!1,vu=0,ba=0,uo=0,oo=0,ip=0,ka=0,Rc=0,af=null,An=null,up=!1,op=0,nh=1/0,lh=null,Ai=null,an=0,ro=null,co=null,Oc=0,Jn=0,ih=null,rp=null,zc=0,uh=null;function sl(){if((Xt&2)!==0&&Mt!==0)return Mt&-Mt;if(W.T!==null){var a=Wu;return a!==0?a:ph()}return gi()}function b0(){ka===0&&(ka=(Mt&536870912)===0||st?L():536870912);var a=Ra.current;return a!==null&&(a.flags|=32),ka}function $n(a,l,i){(a===Wt&&(Nt===2||Nt===9)||a.cancelPendingCommit!==null)&&(ii(a,0),bu(a,Mt,ka,!1)),Me(a,i),((Xt&2)===0||a!==Wt)&&(a===Wt&&((Xt&2)===0&&(oo|=i),ba===4&&bu(a,Mt,ka,!1)),ui(a))}function S0(a,l,i){if((Xt&6)!==0)throw Error(y(327));var o=!i&&(l&124)===0&&(l&a.expiredLanes)===0||Cn(a,l),f=o?rh(a,l):sr(a,l,!0),h=o;do{if(f===0){io&&!o&&bu(a,l,0,!1);break}else{if(i=a.current.alternate,h&&!oh(i)){f=sr(a,l,!1),h=!1;continue}if(f===2){if(h=l,a.errorRecoveryDisabledLanes&h)var S=0;else S=a.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){l=S;e:{var T=a;f=af;var z=T.current.memoizedState.isDehydrated;if(z&&(ii(T,S).flags|=256),S=sr(T,S,!1),S!==2){if(lp&&!z){T.errorRecoveryDisabledLanes|=h,oo|=h,f=4;break e}h=An,An=f,h!==null&&(An===null?An=h:An.push.apply(An,h))}f=S}if(h=!1,f!==2)continue}}if(f===1){ii(a,0),bu(a,l,0,!0);break}e:{switch(o=a,h=f,h){case 0:case 1:throw Error(y(345));case 4:if((l&4194048)!==l)break;case 6:bu(o,l,ka,!gu);break e;case 2:An=null;break;case 3:case 5:break;default:throw Error(y(329))}if((l&62914560)===l&&(f=op+300-Bt(),10<f)){if(bu(o,l,ka,!gu),Ia(o,0,!0)!==0)break e;o.timeoutHandle=zi(Dc.bind(null,o,i,An,lh,up,l,ka,oo,Rc,gu,h,2,-0,0),f);break e}Dc(o,i,An,lh,up,l,ka,oo,Rc,gu,h,0,-0,0)}}break}while(!0);ui(a)}function Dc(a,l,i,o,f,h,S,T,z,Y,le,oe,Q,F){if(a.timeoutHandle=-1,oe=l.subtreeFlags,(oe&8192||(oe&16785408)===16785408)&&(Lc={stylesheets:null,count:0,unsuspend:H0},Xa(l),oe=j0(),oe!==null)){a.cancelPendingCommit=oe(E0.bind(null,a,l,h,i,o,f,S,T,z,le,1,Q,F)),bu(a,h,S,!Y);return}E0(a,l,h,i,o,f,S,T,z)}function oh(a){for(var l=a;;){var i=l.tag;if((i===0||i===11||i===15)&&l.flags&16384&&(i=l.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var f=i[o],h=f.getSnapshot;f=f.value;try{if(!En(h(),f))return!1}catch{return!1}}if(i=l.child,l.subtreeFlags&16384&&i!==null)i.return=l,l=i;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function bu(a,l,i,o){l&=~ip,l&=~oo,a.suspendedLanes|=l,a.pingedLanes&=~l,o&&(a.warmLanes|=l),o=a.expirationTimes;for(var f=l;0<f;){var h=31-Gt(f),S=1<<h;o[h]=-1,f&=~S}i!==0&&tt(a,i,l)}function nf(){return(Xt&6)===0?(Su(0),!1):!0}function Mc(){if(Tt!==null){if(Nt===0)var a=Tt.return;else a=Tt,$l=iu=null,hc(a),Yn=null,gc=0,a=Tt;for(;a!==null;)d0(a.alternate,a),a=a.return;Tt=null}}function ii(a,l){var i=a.timeoutHandle;i!==-1&&(a.timeoutHandle=-1,vp(i)),i=a.cancelPendingCommit,i!==null&&(a.cancelPendingCommit=null,i()),Mc(),Wt=a,Tt=i=Xl(a.current,null),Mt=l,Nt=0,Kn=null,gu=!1,io=Cn(a,l),lp=!1,Rc=ka=ip=oo=uo=ba=0,An=af=null,up=!1,(l&8)!==0&&(l|=l&32);var o=a.entangledLanes;if(o!==0)for(a=a.entanglements,o&=l;0<o;){var f=31-Gt(o),h=1<<f;l|=a[f],o&=~h}return vu=l,Gl(),i}function Cc(a,l){at=null,W.H=Js,l===Wo||l===oc?(l=Od(),Nt=3):l===Cs?(l=Od(),Nt=4):Nt=l===Ly?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Kn=l,Tt===null&&(ba=1,lr(a,ll(l,a.current)))}function cp(){var a=W.H;return W.H=Js,a===null?Js:a}function T0(){var a=W.A;return W.A=v0,a}function so(){ba=4,gu||(Mt&4194048)!==Mt&&Ra.current!==null||(io=!0),(uo&134217727)===0&&(oo&134217727)===0||Wt===null||bu(Wt,Mt,ka,!1)}function sr(a,l,i){var o=Xt;Xt|=2;var f=cp(),h=T0();(Wt!==a||Mt!==l)&&(lh=null,ii(a,l)),l=!1;var S=ba;e:do try{if(Nt!==0&&Tt!==null){var T=Tt,z=Kn;switch(Nt){case 8:Mc(),S=6;break e;case 3:case 2:case 9:case 6:Ra.current===null&&(l=!0);var Y=Nt;if(Nt=0,Kn=null,fr(a,T,z,Y),i&&io){S=0;break e}break;default:Y=Nt,Nt=0,Kn=null,fr(a,T,z,Y)}}x0(),S=ba;break}catch(le){Cc(a,le)}while(!0);return l&&a.shellSuspendCounter++,$l=iu=null,Xt=o,W.H=f,W.A=h,Tt===null&&(Wt=null,Mt=0,Gl()),S}function x0(){for(;Tt!==null;)ch(Tt)}function rh(a,l){var i=Xt;Xt|=2;var o=cp(),f=T0();Wt!==a||Mt!==l?(lh=null,nh=Bt()+500,ii(a,l)):io=Cn(a,l);e:do try{if(Nt!==0&&Tt!==null){l=Tt;var h=Kn;t:switch(Nt){case 1:Nt=0,Kn=null,fr(a,l,h,1);break;case 2:case 9:if(ry(h)){Nt=0,Kn=null,fp(l);break}l=function(){Nt!==2&&Nt!==9||Wt!==a||(Nt=7),ui(a)},h.then(l,l);break e;case 3:Nt=7;break e;case 4:Nt=5;break e;case 7:ry(h)?(Nt=0,Kn=null,fp(l)):(Nt=0,Kn=null,fr(a,l,h,7));break;case 5:var S=null;switch(Tt.tag){case 26:S=Tt.memoizedState;case 5:case 27:var T=Tt;if(!S||Ap(S)){Nt=0,Kn=null;var z=T.sibling;if(z!==null)Tt=z;else{var Y=T.return;Y!==null?(Tt=Y,sh(Y)):Tt=null}break t}}Nt=0,Kn=null,fr(a,l,h,5);break;case 6:Nt=0,Kn=null,fr(a,l,h,6);break;case 8:Mc(),ba=6;break e;default:throw Error(y(462))}}sp();break}catch(le){Cc(a,le)}while(!0);return $l=iu=null,W.H=o,W.A=f,Xt=i,Tt!==null?0:(Wt=null,Mt=0,Gl(),ba)}function sp(){for(;Tt!==null&&!Oo();)ch(Tt)}function ch(a){var l=Ky(a.alternate,a,vu);a.memoizedProps=a.pendingProps,l===null?sh(a):Tt=l}function fp(a){var l=a,i=l.alternate;switch(l.tag){case 15:case 0:l=Yy(i,l,l.pendingProps,l.type,void 0,Mt);break;case 11:l=Yy(i,l,l.pendingProps,l.type.render,l.ref,Mt);break;case 5:hc(l);default:d0(i,l),l=Tt=Td(l,vu),l=Ky(i,l,vu)}a.memoizedProps=a.pendingProps,l===null?sh(a):Tt=l}function fr(a,l,i,o){$l=iu=null,hc(l),Yn=null,gc=0;var f=l.return;try{if(ol(a,f,l,i,Mt)){ba=1,lr(a,ll(i,a.current)),Tt=null;return}}catch(h){if(f!==null)throw Tt=f,h;ba=1,lr(a,ll(i,a.current)),Tt=null;return}l.flags&32768?(st||o===1?a=!0:io||(Mt&536870912)!==0?a=!1:(gu=a=!0,(o===2||o===9||o===3||o===6)&&(o=Ra.current,o!==null&&o.tag===13&&(o.flags|=16384))),dp(l,a)):sh(l)}function sh(a){var l=a;do{if((l.flags&32768)!==0){dp(l,gu);return}a=l.return;var i=$t(l.alternate,l,vu);if(i!==null){Tt=i;return}if(l=l.sibling,l!==null){Tt=l;return}Tt=l=a}while(l!==null);ba===0&&(ba=5)}function dp(a,l){do{var i=$y(a.alternate,a);if(i!==null){i.flags&=32767,Tt=i;return}if(i=a.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(a=a.sibling,a!==null)){Tt=a;return}Tt=a=i}while(a!==null);ba=6,Tt=null}function E0(a,l,i,o,f,h,S,T,z){a.cancelPendingCommit=null;do dh();while(an!==0);if((Xt&6)!==0)throw Error(y(327));if(l!==null){if(l===a.current)throw Error(y(177));if(h=l.lanes|l.childLanes,h|=Es,mt(a,i,h,S,T,z),a===Wt&&(Tt=Wt=null,Mt=0),co=l,ro=a,Oc=i,Jn=h,ih=f,rp=o,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,cb(k,function(){return A0(),null})):(a.callbackNode=null,a.callbackPriority=0),o=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||o){o=W.T,W.T=null,f=Z.p,Z.p=2,S=Xt,Xt|=4;try{p0(a,l,i)}finally{Xt=S,Z.p=f,W.T=o}}an=1,_0(),w0(),lf()}}function _0(){if(an===1){an=0;var a=ro,l=co,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=W.T,W.T=null;var o=Z.p;Z.p=2;var f=Xt;Xt|=4;try{wc(l,a);var h=hf,S=Ts(a.containerInfo),T=h.focusedElem,z=h.selectionRange;if(S!==T&&T&&T.ownerDocument&&la(T.ownerDocument.documentElement,T)){if(z!==null&&pd(T)){var Y=z.start,le=z.end;if(le===void 0&&(le=Y),"selectionStart"in T)T.selectionStart=Y,T.selectionEnd=Math.min(le,T.value.length);else{var oe=T.ownerDocument||document,Q=oe&&oe.defaultView||window;if(Q.getSelection){var F=Q.getSelection(),Ge=T.textContent.length,Ye=Math.min(z.start,Ge),qt=z.end===void 0?Ye:Math.min(z.end,Ge);!F.extend&&Ye>qt&&(S=qt,qt=Ye,Ye=S);var q=Yu(T,Ye),H=Yu(T,qt);if(q&&H&&(F.rangeCount!==1||F.anchorNode!==q.node||F.anchorOffset!==q.offset||F.focusNode!==H.node||F.focusOffset!==H.offset)){var G=oe.createRange();G.setStart(q.node,q.offset),F.removeAllRanges(),Ye>qt?(F.addRange(G),F.extend(H.node,H.offset)):(G.setEnd(H.node,H.offset),F.addRange(G))}}}}for(oe=[],F=T;F=F.parentNode;)F.nodeType===1&&oe.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<oe.length;T++){var ue=oe[T];ue.element.scrollLeft=ue.left,ue.element.scrollTop=ue.top}}Sf=!!gp,hf=gp=null}finally{Xt=f,Z.p=o,W.T=i}}a.current=l,an=2}}function w0(){if(an===2){an=0;var a=ro,l=co,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=W.T,W.T=null;var o=Z.p;Z.p=2;var f=Xt;Xt|=4;try{th(a,l.alternate,l)}finally{Xt=f,Z.p=o,W.T=i}}an=3}}function lf(){if(an===4||an===3){an=0,zo();var a=ro,l=co,i=Oc,o=rp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?an=5:(an=0,co=ro=null,fh(a,a.pendingLanes));var f=a.pendingLanes;if(f===0&&(Ai=null),_a(i),l=l.stateNode,Qe&&typeof Qe.onCommitFiberRoot=="function")try{Qe.onCommitFiberRoot(ze,l,void 0,(l.current.flags&128)===128)}catch{}if(o!==null){l=W.T,f=Z.p,Z.p=2,W.T=null;try{for(var h=a.onRecoverableError,S=0;S<o.length;S++){var T=o[S];h(T.value,{componentStack:T.stack})}}finally{W.T=l,Z.p=f}}(Oc&3)!==0&&dh(),ui(a),f=a.pendingLanes,(i&4194090)!==0&&(f&42)!==0?a===uh?zc++:(zc=0,uh=a):zc=0,Su(0)}}function fh(a,l){(a.pooledCacheLanes&=l)===0&&(l=a.pooledCache,l!=null&&(a.pooledCache=null,$u(l)))}function dh(a){return _0(),w0(),lf(),A0()}function A0(){if(an!==5)return!1;var a=ro,l=Jn;Jn=0;var i=_a(Oc),o=W.T,f=Z.p;try{Z.p=32>i?32:i,W.T=null,i=ih,ih=null;var h=ro,S=Oc;if(an=0,co=ro=null,Oc=0,(Xt&6)!==0)throw Error(y(331));var T=Xt;if(Xt|=4,ah(h.current),pu(h,h.current,S,i),Xt=T,Su(0,!1),Qe&&typeof Qe.onPostCommitFiberRoot=="function")try{Qe.onPostCommitFiberRoot(ze,h)}catch{}return!0}finally{Z.p=f,W.T=o,fh(a,l)}}function hp(a,l,i){l=ll(i,l),l=Qd(a.stateNode,l,2),a=Vn(a,l,2),a!==null&&(Me(a,2),ui(a))}function Ft(a,l,i){if(a.tag===3)hp(a,a,i);else for(;l!==null;){if(l.tag===3){hp(l,a,i);break}else if(l.tag===1){var o=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ai===null||!Ai.has(o))){a=ll(i,a),i=r0(2),o=Vn(l,i,2),o!==null&&(Vy(i,o,l,a),Me(o,2),ui(o));break}}l=l.return}}function uf(a,l,i){var o=a.pingCache;if(o===null){o=a.pingCache=new np;var f=new Set;o.set(l,f)}else f=o.get(l),f===void 0&&(f=new Set,o.set(l,f));f.has(i)||(lp=!0,f.add(i),a=R0.bind(null,a,l,i),l.then(a,a))}function R0(a,l,i){var o=a.pingCache;o!==null&&o.delete(l),a.pingedLanes|=a.suspendedLanes&i,a.warmLanes&=~i,Wt===a&&(Mt&i)===i&&(ba===4||ba===3&&(Mt&62914560)===Mt&&300>Bt()-op?(Xt&2)===0&&ii(a,0):ip|=i,Rc===Mt&&(Rc=0)),ui(a)}function hh(a,l){l===0&&(l=he()),a=au(a,l),a!==null&&(Me(a,l),ui(a))}function O0(a){var l=a.memoizedState,i=0;l!==null&&(i=l.retryLane),hh(a,i)}function rb(a,l){var i=0;switch(a.tag){case 13:var o=a.stateNode,f=a.memoizedState;f!==null&&(i=f.retryLane);break;case 19:o=a.stateNode;break;case 22:o=a.stateNode._retryCache;break;default:throw Error(y(314))}o!==null&&o.delete(l),hh(a,i)}function cb(a,l){return $i(a,l)}var mh=null,Uc=null,of=!1,Nc=!1,rf=!1,fo=0;function ui(a){a!==Uc&&a.next===null&&(Uc===null?mh=Uc=a:Uc=Uc.next=a),Nc=!0,of||(of=!0,yh())}function Su(a,l){if(!rf&&Nc){rf=!0;do for(var i=!1,o=mh;o!==null;){if(a!==0){var f=o.pendingLanes;if(f===0)var h=0;else{var S=o.suspendedLanes,T=o.pingedLanes;h=(1<<31-Gt(42|a)+1)-1,h&=f&~(S&~T),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(i=!0,z0(o,h))}else h=Mt,h=Ia(o,o===Wt?h:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(h&3)===0||Cn(o,h)||(i=!0,z0(o,h));o=o.next}while(i);rf=!1}}function sb(){mp()}function mp(){Nc=of=!1;var a=0;fo!==0&&(Eh()&&(a=fo),fo=0);for(var l=Bt(),i=null,o=mh;o!==null;){var f=o.next,h=cf(o,l);h===0?(o.next=null,i===null?mh=f:i.next=f,f===null&&(Uc=i)):(i=o,(a!==0||(h&3)!==0)&&(Nc=!0)),o=f}Su(a)}function cf(a,l){for(var i=a.suspendedLanes,o=a.pingedLanes,f=a.expirationTimes,h=a.pendingLanes&-62914561;0<h;){var S=31-Gt(h),T=1<<S,z=f[S];z===-1?((T&i)===0||(T&o)!==0)&&(f[S]=x(T,l)):z<=l&&(a.expiredLanes|=T),h&=~T}if(l=Wt,i=Mt,i=Ia(a,a===l?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),o=a.callbackNode,i===0||a===l&&(Nt===2||Nt===9)||a.cancelPendingCommit!==null)return o!==null&&o!==null&&el(o),a.callbackNode=null,a.callbackPriority=0;if((i&3)===0||Cn(a,i)){if(l=i&-i,l===a.callbackPriority)return l;switch(o!==null&&el(o),_a(i)){case 2:case 8:i=U;break;case 32:i=k;break;case 268435456:i=xe;break;default:i=k}return o=yp.bind(null,a),i=$i(i,o),a.callbackPriority=l,a.callbackNode=i,l}return o!==null&&o!==null&&el(o),a.callbackPriority=2,a.callbackNode=null,2}function yp(a,l){if(an!==0&&an!==5)return a.callbackNode=null,a.callbackPriority=0,null;var i=a.callbackNode;if(dh()&&a.callbackNode!==i)return null;var o=Mt;return o=Ia(a,a===Wt?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),o===0?null:(S0(a,o,l),cf(a,Bt()),a.callbackNode!=null&&a.callbackNode===i?yp.bind(null,a):null)}function z0(a,l){if(dh())return null;S0(a,l,!0)}function yh(){hb(function(){(Xt&6)!==0?$i(Sl,sb):mp()})}function ph(){return fo===0&&(fo=L()),fo}function Hc(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:ds(""+a)}function gh(a,l){var i=l.ownerDocument.createElement("input");return i.name=l.name,i.value=l.value,a.id&&i.setAttribute("form",a.id),l.parentNode.insertBefore(i,l),a=new FormData(a),i.parentNode.removeChild(i),a}function vh(a,l,i,o,f){if(l==="submit"&&i&&i.stateNode===f){var h=Hc((f[fn]||null).action),S=o.submitter;S&&(l=(l=S[fn]||null)?Hc(l.formAction):S.getAttribute("formAction"),l!==null&&(h=l,S=null));var T=new ys("action","action",null,o,f);a.push({event:T,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(fo!==0){var z=S?gh(f,S):new FormData(f);Oy(i,{pending:!0,data:z,method:f.method,action:h},null,z)}}else typeof h=="function"&&(T.preventDefault(),z=S?gh(f,S):new FormData(f),Oy(i,{pending:!0,data:z,method:f.method,action:h},h,z))},currentTarget:f}]})}}for(var bh=0;bh<bd.length;bh++){var Sa=bd[bh],pp=Sa.toLowerCase(),fb=Sa[0].toUpperCase()+Sa.slice(1);Hn(pp,"on"+fb)}Hn(xs,"onAnimationEnd"),Hn(Fg,"onAnimationIteration"),Hn(Im,"onAnimationStart"),Hn("dblclick","onDoubleClick"),Hn("focusin","onFocus"),Hn("focusout","onBlur"),Hn(lb,"onTransitionRun"),Hn(Pm,"onTransitionStart"),Hn(vd,"onTransitionCancel"),Hn(ey,"onTransitionEnd"),Co("onMouseEnter",["mouseout","mouseover"]),Co("onMouseLeave",["mouseout","mouseover"]),Co("onPointerEnter",["pointerout","pointerover"]),Co("onPointerLeave",["pointerout","pointerover"]),Ya("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ya("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ya("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ya("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pe="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(" "),db=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pe));function Tu(a,l){l=(l&4)!==0;for(var i=0;i<a.length;i++){var o=a[i],f=o.event;o=o.listeners;e:{var h=void 0;if(l)for(var S=o.length-1;0<=S;S--){var T=o[S],z=T.instance,Y=T.currentTarget;if(T=T.listener,z!==h&&f.isPropagationStopped())break e;h=T,f.currentTarget=Y;try{h(f)}catch(le){Fs(le)}f.currentTarget=null,h=z}else for(S=0;S<o.length;S++){if(T=o[S],z=T.instance,Y=T.currentTarget,T=T.listener,z!==h&&f.isPropagationStopped())break e;h=T,f.currentTarget=Y;try{h(f)}catch(le){Fs(le)}f.currentTarget=null,h=z}}}}function ut(a,l){var i=l[Am];i===void 0&&(i=l[Am]=new Set);var o=a+"__bubble";i.has(o)||(D0(l,a,2,!1),i.add(o))}function ho(a,l,i){var o=0;l&&(o|=4),D0(i,a,o,l)}var dr="_reactListening"+Math.random().toString(36).slice(2);function sf(a){if(!a[dr]){a[dr]=!0,Rm.forEach(function(i){i!=="selectionchange"&&(db.has(i)||ho(i,!1,a),ho(i,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[dr]||(l[dr]=!0,ho("selectionchange",!1,l))}}function D0(a,l,i,o){switch(q0(l)){case 2:var f=V0;break;case 8:f=L0;break;default:f=Mh}i=f.bind(null,l,i,a),f=void 0,!ad||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(f=!0),o?f!==void 0?a.addEventListener(l,i,{capture:!0,passive:f}):a.addEventListener(l,i,!0):f!==void 0?a.addEventListener(l,i,{passive:f}):a.addEventListener(l,i,!1)}function ff(a,l,i,o,f){var h=o;if((l&1)===0&&(l&2)===0&&o!==null)e:for(;;){if(o===null)return;var S=o.tag;if(S===3||S===4){var T=o.stateNode.containerInfo;if(T===f)break;if(S===4)for(S=o.return;S!==null;){var z=S.tag;if((z===3||z===4)&&S.stateNode.containerInfo===f)return;S=S.return}for(;T!==null;){if(S=ku(T),S===null)return;if(z=S.tag,z===5||z===6||z===26||z===27){o=h=S;continue e}T=T.parentNode}}o=o.return}Lg(function(){var Y=h,le=Ho(i),oe=[];e:{var Q=ty.get(a);if(Q!==void 0){var F=ys,Ge=a;switch(a){case"keypress":if(ms(i)===0)break e;case"keydown":case"keyup":F=Vo;break;case"focusin":Ge="focus",F=Vm;break;case"focusout":Ge="blur",F=Vm;break;case"beforeblur":case"afterblur":F=Vm;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=gs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=Gg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=rd;break;case xs:case Fg:case Im:F=eb;break;case ey:F=Nn;break;case"scroll":case"scrollend":F=Iv;break;case"wheel":F=cd;break;case"copy":case"cut":case"paste":F=ab;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=Un;break;case"toggle":case"beforetoggle":F=Gm}var Ye=(l&4)!==0,qt=!Ye&&(a==="scroll"||a==="scrollend"),q=Ye?Q!==null?Q+"Capture":null:Q;Ye=[];for(var H=Y,G;H!==null;){var ue=H;if(G=ue.stateNode,ue=ue.tag,ue!==5&&ue!==26&&ue!==27||G===null||q===null||(ue=Ii(H,q),ue!=null&&Ye.push(Wn(H,ue,G))),qt)break;H=H.return}0<Ye.length&&(Q=new F(Q,Ge,null,i,le),oe.push({event:Q,listeners:Ye}))}}if((l&7)===0){e:{if(Q=a==="mouseover"||a==="pointerover",F=a==="mouseout"||a==="pointerout",Q&&i!==td&&(Ge=i.relatedTarget||i.fromElement)&&(ku(Ge)||Ge[Mo]))break e;if((F||Q)&&(Q=le.window===le?le:(Q=le.ownerDocument)?Q.defaultView||Q.parentWindow:window,F?(Ge=i.relatedTarget||i.toElement,F=Y,Ge=Ge?ku(Ge):null,Ge!==null&&(qt=v(Ge),Ye=Ge.tag,Ge!==qt||Ye!==5&&Ye!==27&&Ye!==6)&&(Ge=null)):(F=null,Ge=Y),F!==Ge)){if(Ye=gs,ue="onMouseLeave",q="onMouseEnter",H="mouse",(a==="pointerout"||a==="pointerover")&&(Ye=Un,ue="onPointerLeave",q="onPointerEnter",H="pointer"),qt=F==null?Q:Hr(F),G=Ge==null?Q:Hr(Ge),Q=new Ye(ue,H+"leave",F,i,le),Q.target=qt,Q.relatedTarget=G,ue=null,ku(le)===Y&&(Ye=new Ye(q,H+"enter",Ge,i,le),Ye.target=G,Ye.relatedTarget=qt,ue=Ye),qt=ue,F&&Ge)t:{for(Ye=F,q=Ge,H=0,G=Ye;G;G=yo(G))H++;for(G=0,ue=q;ue;ue=yo(ue))G++;for(;0<H-G;)Ye=yo(Ye),H--;for(;0<G-H;)q=yo(q),G--;for(;H--;){if(Ye===q||q!==null&&Ye===q.alternate)break t;Ye=yo(Ye),q=yo(q)}Ye=null}else Ye=null;F!==null&&Sh(oe,Q,F,Ye,!1),Ge!==null&&qt!==null&&Sh(oe,qt,Ge,Ye,!0)}}e:{if(Q=Y?Hr(Y):window,F=Q.nodeName&&Q.nodeName.toLowerCase(),F==="select"||F==="input"&&Q.type==="file")var Oe=Lu;else if(Km(Q))if(Jm)Oe=Pi;else{Oe=yd;var ft=Wg}else F=Q.nodeName,!F||F.toLowerCase()!=="input"||Q.type!=="checkbox"&&Q.type!=="radio"?Y&&qr(Y.elementType)&&(Oe=Lu):Oe=qu;if(Oe&&(Oe=Oe(a,Y))){hd(oe,Oe,i,le);break e}ft&&ft(a,Q,Y),a==="focusout"&&Y&&Q.type==="number"&&Y.memoizedProps.value!=null&&ss(Q,"number",Q.value)}switch(ft=Y?Hr(Y):window,a){case"focusin":(Km(ft)||ft.contentEditable==="true")&&(_l=ft,Qo=Y,nl=null);break;case"focusout":nl=Qo=_l=null;break;case"mousedown":Jr=!0;break;case"contextmenu":case"mouseup":case"dragend":Jr=!1,$r(oe,i,le);break;case"selectionchange":if(Fm)break;case"keydown":case"keyup":$r(oe,i,le)}var qe;if(sd)e:{switch(a){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else El?dd(a,i)&&(Ze="onCompositionEnd"):a==="keydown"&&i.keyCode===229&&(Ze="onCompositionStart");Ze&&(fd&&i.locale!=="ko"&&(El||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&El&&(qe=hs()):(xl=le,nd="value"in xl?xl.value:xl.textContent,El=!0)),ft=mo(Y,Ze),0<ft.length&&(Ze=new Lm(Ze,a,null,i,le),oe.push({event:Ze,listeners:ft}),qe?Ze.data=qe:(qe=bs(i),qe!==null&&(Ze.data=qe)))),(qe=nb?Xm(a,i):Qm(a,i))&&(Ze=mo(Y,"onBeforeInput"),0<Ze.length&&(ft=new Lm("onBeforeInput","beforeinput",null,i,le),oe.push({event:ft,listeners:Ze}),ft.data=qe)),vh(oe,a,Y,i,le)}Tu(oe,l)})}function Wn(a,l,i){return{instance:a,listener:l,currentTarget:i}}function mo(a,l){for(var i=l+"Capture",o=[];a!==null;){var f=a,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=Ii(a,i),f!=null&&o.unshift(Wn(a,f,h)),f=Ii(a,l),f!=null&&o.push(Wn(a,f,h))),a.tag===3)return o;a=a.return}return[]}function yo(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function Sh(a,l,i,o,f){for(var h=l._reactName,S=[];i!==null&&i!==o;){var T=i,z=T.alternate,Y=T.stateNode;if(T=T.tag,z!==null&&z===o)break;T!==5&&T!==26&&T!==27||Y===null||(z=Y,f?(Y=Ii(i,h),Y!=null&&S.unshift(Wn(i,Y,z))):f||(Y=Ii(i,h),Y!=null&&S.push(Wn(i,Y,z)))),i=i.return}S.length!==0&&a.push({event:l,listeners:S})}var Th=/\r\n?/g,fl=/\u0000|\uFFFD/g;function xh(a){return(typeof a=="string"?a:""+a).replace(Th,`
|
|
103
|
+
`).replace(fl,"")}function M0(a,l){return l=xh(l),xh(a)===l}function df(){}function It(a,l,i,o,f,h){switch(i){case"children":typeof o=="string"?l==="body"||l==="textarea"&&o===""||No(a,o):(typeof o=="number"||typeof o=="bigint")&&l!=="body"&&No(a,""+o);break;case"className":Wi(a,"class",o);break;case"tabIndex":Wi(a,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Wi(a,i,o);break;case"style":ed(a,o,h);break;case"data":if(l!=="object"){Wi(a,"data",o);break}case"src":case"href":if(o===""&&(l!=="a"||i!=="href")){a.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){a.removeAttribute(i);break}o=ds(""+o),a.setAttribute(i,o);break;case"action":case"formAction":if(typeof o=="function"){a.setAttribute(i,"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 h=="function"&&(i==="formAction"?(l!=="input"&&It(a,l,"name",f.name,f,null),It(a,l,"formEncType",f.formEncType,f,null),It(a,l,"formMethod",f.formMethod,f,null),It(a,l,"formTarget",f.formTarget,f,null)):(It(a,l,"encType",f.encType,f,null),It(a,l,"method",f.method,f,null),It(a,l,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){a.removeAttribute(i);break}o=ds(""+o),a.setAttribute(i,o);break;case"onClick":o!=null&&(a.onclick=df);break;case"onScroll":o!=null&&ut("scroll",a);break;case"onScrollEnd":o!=null&&ut("scrollend",a);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(y(61));if(i=o.__html,i!=null){if(f.children!=null)throw Error(y(60));a.innerHTML=i}}break;case"multiple":a.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":a.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){a.removeAttribute("xlink:href");break}i=ds(""+o),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?a.setAttribute(i,""+o):a.removeAttribute(i);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":o&&typeof o!="function"&&typeof o!="symbol"?a.setAttribute(i,""):a.removeAttribute(i);break;case"capture":case"download":o===!0?a.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?a.setAttribute(i,o):a.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?a.setAttribute(i,o):a.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?a.removeAttribute(i):a.setAttribute(i,o);break;case"popover":ut("beforetoggle",a),ut("toggle",a),cs(a,"popover",o);break;case"xlinkActuate":bi(a,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":bi(a,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":bi(a,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":bi(a,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":bi(a,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":bi(a,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":bi(a,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":bi(a,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":bi(a,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":cs(a,"is",o);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=fs.get(i)||i,cs(a,i,o))}}function ja(a,l,i,o,f,h){switch(i){case"style":ed(a,o,h);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(y(61));if(i=o.__html,i!=null){if(f.children!=null)throw Error(y(60));a.innerHTML=i}}break;case"children":typeof o=="string"?No(a,o):(typeof o=="number"||typeof o=="bigint")&&No(a,""+o);break;case"onScroll":o!=null&&ut("scroll",a);break;case"onScrollEnd":o!=null&&ut("scrollend",a);break;case"onClick":o!=null&&(a.onclick=df);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!rs.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),l=i.slice(2,f?i.length-7:void 0),h=a[fn]||null,h=h!=null?h[i]:null,typeof h=="function"&&a.removeEventListener(l,h,f),typeof o=="function")){typeof h!="function"&&h!==null&&(i in a?a[i]=null:a.hasAttribute(i)&&a.removeAttribute(i)),a.addEventListener(l,o,f);break e}i in a?a[i]=o:o===!0?a.setAttribute(i,""):cs(a,i,o)}}}function J(a,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ut("error",a),ut("load",a);var o=!1,f=!1,h;for(h in i)if(i.hasOwnProperty(h)){var S=i[h];if(S!=null)switch(h){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(y(137,l));default:It(a,l,h,S,i,null)}}f&&It(a,l,"srcSet",i.srcSet,i,null),o&&It(a,l,"src",i.src,i,null);return;case"input":ut("invalid",a);var T=h=S=f=null,z=null,Y=null;for(o in i)if(i.hasOwnProperty(o)){var le=i[o];if(le!=null)switch(o){case"name":f=le;break;case"type":S=le;break;case"checked":z=le;break;case"defaultChecked":Y=le;break;case"value":h=le;break;case"defaultValue":T=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(y(137,l));break;default:It(a,l,o,le,i,null)}}Um(a,h,T,z,Y,S,f,!1),Vr(a);return;case"select":ut("invalid",a),o=S=h=null;for(f in i)if(i.hasOwnProperty(f)&&(T=i[f],T!=null))switch(f){case"value":h=T;break;case"defaultValue":S=T;break;case"multiple":o=T;default:It(a,l,f,T,i,null)}l=h,i=S,a.multiple=!!o,l!=null?Bu(a,!!o,l,!1):i!=null&&Bu(a,!!o,i,!0);return;case"textarea":ut("invalid",a),h=f=o=null;for(S in i)if(i.hasOwnProperty(S)&&(T=i[S],T!=null))switch(S){case"value":o=T;break;case"defaultValue":f=T;break;case"children":h=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error(y(91));break;default:It(a,l,S,T,i,null)}Hm(a,o,f,h),Vr(a);return;case"option":for(z in i)if(i.hasOwnProperty(z)&&(o=i[z],o!=null))switch(z){case"selected":a.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:It(a,l,z,o,i,null)}return;case"dialog":ut("beforetoggle",a),ut("toggle",a),ut("cancel",a),ut("close",a);break;case"iframe":case"object":ut("load",a);break;case"video":case"audio":for(o=0;o<Pe.length;o++)ut(Pe[o],a);break;case"image":ut("error",a),ut("load",a);break;case"details":ut("toggle",a);break;case"embed":case"source":case"link":ut("error",a),ut("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Y in i)if(i.hasOwnProperty(Y)&&(o=i[Y],o!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(y(137,l));default:It(a,l,Y,o,i,null)}return;default:if(qr(l)){for(le in i)i.hasOwnProperty(le)&&(o=i[le],o!==void 0&&ja(a,l,le,o,i,void 0));return}}for(T in i)i.hasOwnProperty(T)&&(o=i[T],o!=null&&It(a,l,T,o,i,null))}function Lt(a,l,i,o){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,S=null,T=null,z=null,Y=null,le=null;for(F in i){var oe=i[F];if(i.hasOwnProperty(F)&&oe!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":z=oe;default:o.hasOwnProperty(F)||It(a,l,F,null,o,oe)}}for(var Q in o){var F=o[Q];if(oe=i[Q],o.hasOwnProperty(Q)&&(F!=null||oe!=null))switch(Q){case"type":h=F;break;case"name":f=F;break;case"checked":Y=F;break;case"defaultChecked":le=F;break;case"value":S=F;break;case"defaultValue":T=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(y(137,l));break;default:F!==oe&&It(a,l,Q,F,o,oe)}}Cm(a,S,T,z,Y,le,h,f);return;case"select":F=S=T=Q=null;for(h in i)if(z=i[h],i.hasOwnProperty(h)&&z!=null)switch(h){case"value":break;case"multiple":F=z;default:o.hasOwnProperty(h)||It(a,l,h,null,o,z)}for(f in o)if(h=o[f],z=i[f],o.hasOwnProperty(f)&&(h!=null||z!=null))switch(f){case"value":Q=h;break;case"defaultValue":T=h;break;case"multiple":S=h;default:h!==z&&It(a,l,f,h,o,z)}l=T,i=S,o=F,Q!=null?Bu(a,!!i,Q,!1):!!o!=!!i&&(l!=null?Bu(a,!!i,l,!0):Bu(a,!!i,i?[]:"",!1));return;case"textarea":F=Q=null;for(T in i)if(f=i[T],i.hasOwnProperty(T)&&f!=null&&!o.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:It(a,l,T,null,o,f)}for(S in o)if(f=o[S],h=i[S],o.hasOwnProperty(S)&&(f!=null||h!=null))switch(S){case"value":Q=f;break;case"defaultValue":F=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(y(91));break;default:f!==h&&It(a,l,S,f,o,h)}Nm(a,Q,F);return;case"option":for(var Ge in i)if(Q=i[Ge],i.hasOwnProperty(Ge)&&Q!=null&&!o.hasOwnProperty(Ge))switch(Ge){case"selected":a.selected=!1;break;default:It(a,l,Ge,null,o,Q)}for(z in o)if(Q=o[z],F=i[z],o.hasOwnProperty(z)&&Q!==F&&(Q!=null||F!=null))switch(z){case"selected":a.selected=Q&&typeof Q!="function"&&typeof Q!="symbol";break;default:It(a,l,z,Q,o,F)}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 Ye in i)Q=i[Ye],i.hasOwnProperty(Ye)&&Q!=null&&!o.hasOwnProperty(Ye)&&It(a,l,Ye,null,o,Q);for(Y in o)if(Q=o[Y],F=i[Y],o.hasOwnProperty(Y)&&Q!==F&&(Q!=null||F!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(y(137,l));break;default:It(a,l,Y,Q,o,F)}return;default:if(qr(l)){for(var qt in i)Q=i[qt],i.hasOwnProperty(qt)&&Q!==void 0&&!o.hasOwnProperty(qt)&&ja(a,l,qt,void 0,o,Q);for(le in o)Q=o[le],F=i[le],!o.hasOwnProperty(le)||Q===F||Q===void 0&&F===void 0||ja(a,l,le,Q,o,F);return}}for(var q in i)Q=i[q],i.hasOwnProperty(q)&&Q!=null&&!o.hasOwnProperty(q)&&It(a,l,q,null,o,Q);for(oe in o)Q=o[oe],F=i[oe],!o.hasOwnProperty(oe)||Q===F||Q==null&&F==null||It(a,l,oe,Q,o,F)}var gp=null,hf=null;function kc(a){return a.nodeType===9?a:a.ownerDocument}function Ri(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function xu(a,l){if(a===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&l==="foreignObject"?0:a}function hr(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Oi=null;function Eh(){var a=window.event;return a&&a.type==="popstate"?a===Oi?!1:(Oi=a,!0):(Oi=null,!1)}var zi=typeof setTimeout=="function"?setTimeout:void 0,vp=typeof clearTimeout=="function"?clearTimeout:void 0,C0=typeof Promise=="function"?Promise:void 0,hb=typeof queueMicrotask=="function"?queueMicrotask:typeof C0<"u"?function(a){return C0.resolve(null).then(a).catch(mb)}:zi;function mb(a){setTimeout(function(){throw a})}function nn(a){return a==="head"}function U0(a,l){var i=l,o=0,f=0;do{var h=i.nextSibling;if(a.removeChild(i),h&&h.nodeType===8)if(i=h.data,i==="/$"){if(0<o&&8>o){i=o;var S=a.ownerDocument;if(i&1&&Ee(S.documentElement),i&2&&Ee(S.body),i&4)for(i=S.head,Ee(i),S=i.firstChild;S;){var T=S.nextSibling,z=S.nodeName;S[os]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&S.rel.toLowerCase()==="stylesheet"||i.removeChild(S),S=T}}if(f===0){a.removeChild(h),Gc(l);return}f--}else i==="$"||i==="$?"||i==="$!"?f++:o=i.charCodeAt(0)-48;else o=0;i=h}while(i);Gc(l)}function mf(a){var l=a.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var i=l;switch(l=l.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":mf(i),je(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}a.removeChild(i)}}function bp(a,l,i,o){for(;a.nodeType===1;){var f=i;if(a.nodeName.toLowerCase()!==l.toLowerCase()){if(!o&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(o){if(!a[os])switch(l){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(h=a.getAttribute("rel"),h==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(h!==f.rel||a.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||a.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||a.getAttribute("title")!==(f.title==null?null:f.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(h=a.getAttribute("src"),(h!==(f.src==null?null:f.src)||a.getAttribute("type")!==(f.type==null?null:f.type)||a.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(l==="input"&&a.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&a.getAttribute("name")===h)return a}else return a;if(a=oi(a.nextSibling),a===null)break}return null}function jc(a,l,i){if(l==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=oi(a.nextSibling),a===null))return null;return a}function Sp(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState==="complete"}function Tp(a,l){var i=a.ownerDocument;if(a.data!=="$?"||i.readyState==="complete")l();else{var o=function(){l(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),a._reactRetry=o}}function oi(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return a}var xp=null;function mr(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var i=a.data;if(i==="$"||i==="$!"||i==="$?"){if(l===0)return a;l--}else i==="/$"&&l++}a=a.previousSibling}return null}function ln(a,l,i){switch(l=kc(i),a){case"html":if(a=l.documentElement,!a)throw Error(y(452));return a;case"head":if(a=l.head,!a)throw Error(y(453));return a;case"body":if(a=l.body,!a)throw Error(y(454));return a;default:throw Error(y(451))}}function Ee(a){for(var l=a.attributes;l.length;)a.removeAttributeNode(l[0]);je(a)}var Ea=new Map,Ul=new Set;function Qa(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var Eu=Z.d;Z.d={f:yb,r:_h,D:Di,C:wu,L:wh,m:po,X:Fn,S:pn,M:go};function yb(){var a=Eu.f(),l=nf();return a||l}function _h(a){var l=Pa(a);l!==null&&l.tag===5&&l.type==="form"?n0(l):Eu.r(a)}var _u=typeof document>"u"?null:document;function dl(a,l,i){var o=_u;if(o&&typeof l=="string"&&l){var f=Tl(l);f='link[rel="'+a+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),Ul.has(f)||(Ul.add(f),a={rel:a,crossOrigin:i,href:l},o.querySelector(f)===null&&(l=o.createElement("link"),J(l,"link",a),Ta(l),o.head.appendChild(l)))}}function Di(a){Eu.D(a),dl("dns-prefetch",a,null)}function wu(a,l){Eu.C(a,l),dl("preconnect",a,l)}function wh(a,l,i){Eu.L(a,l,i);var o=_u;if(o&&a&&l){var f='link[rel="preload"][as="'+Tl(l)+'"]';l==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Tl(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Tl(i.imageSizes)+'"]')):f+='[href="'+Tl(a)+'"]';var h=f;switch(l){case"style":h=Bc(a);break;case"script":h=yr(a)}Ea.has(h)||(a=X({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:a,as:l},i),Ea.set(h,a),o.querySelector(f)!==null||l==="style"&&o.querySelector(yf(h))||l==="script"&&o.querySelector(ri(h))||(l=o.createElement("link"),J(l,"link",a),Ta(l),o.head.appendChild(l)))}}function po(a,l){Eu.m(a,l);var i=_u;if(i&&a){var o=l&&typeof l.as=="string"?l.as:"script",f='link[rel="modulepreload"][as="'+Tl(o)+'"][href="'+Tl(a)+'"]',h=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=yr(a)}if(!Ea.has(h)&&(a=X({rel:"modulepreload",href:a},l),Ea.set(h,a),i.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(ri(h)))return}o=i.createElement("link"),J(o,"link",a),Ta(o),i.head.appendChild(o)}}}function pn(a,l,i){Eu.S(a,l,i);var o=_u;if(o&&a){var f=kr(o).hoistableStyles,h=Bc(a);l=l||"default";var S=f.get(h);if(!S){var T={loading:0,preload:null};if(S=o.querySelector(yf(h)))T.loading=5;else{a=X({rel:"stylesheet",href:a,"data-precedence":l},i),(i=Ea.get(h))&&_p(a,i);var z=S=o.createElement("link");Ta(z),J(z,"link",a),z._p=new Promise(function(Y,le){z.onload=Y,z.onerror=le}),z.addEventListener("load",function(){T.loading|=1}),z.addEventListener("error",function(){T.loading|=2}),T.loading|=4,Oh(S,l,o)}S={type:"stylesheet",instance:S,count:1,state:T},f.set(h,S)}}}function Fn(a,l){Eu.X(a,l);var i=_u;if(i&&a){var o=kr(i).hoistableScripts,f=yr(a),h=o.get(f);h||(h=i.querySelector(ri(f)),h||(a=X({src:a,async:!0},l),(l=Ea.get(f))&&zh(a,l),h=i.createElement("script"),Ta(h),J(h,"link",a),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(f,h))}}function go(a,l){Eu.M(a,l);var i=_u;if(i&&a){var o=kr(i).hoistableScripts,f=yr(a),h=o.get(f);h||(h=i.querySelector(ri(f)),h||(a=X({src:a,async:!0,type:"module"},l),(l=Ea.get(f))&&zh(a,l),h=i.createElement("script"),Ta(h),J(h,"link",a),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(f,h))}}function Ah(a,l,i,o){var f=(f=De.current)?Qa(f):null;if(!f)throw Error(y(446));switch(a){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=Bc(i.href),i=kr(f).hoistableStyles,o=i.get(l),o||(o={type:"style",instance:null,count:0,state:null},i.set(l,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){a=Bc(i.href);var h=kr(f).hoistableStyles,S=h.get(a);if(S||(f=f.ownerDocument||f,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(a,S),(h=f.querySelector(yf(a)))&&!h._p&&(S.instance=h,S.state.loading=5),Ea.has(a)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Ea.set(a,i),h||pf(f,a,i,S.state))),l&&o===null)throw Error(y(528,""));return S}if(l&&o!==null)throw Error(y(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=yr(i),i=kr(f).hoistableScripts,o=i.get(l),o||(o={type:"script",instance:null,count:0,state:null},i.set(l,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(y(444,a))}}function Bc(a){return'href="'+Tl(a)+'"'}function yf(a){return'link[rel="stylesheet"]['+a+"]"}function Ep(a){return X({},a,{"data-precedence":a.precedence,precedence:null})}function pf(a,l,i,o){a.querySelector('link[rel="preload"][as="style"]['+l+"]")?o.loading=1:(l=a.createElement("link"),o.preload=l,l.addEventListener("load",function(){return o.loading|=1}),l.addEventListener("error",function(){return o.loading|=2}),J(l,"link",i),Ta(l),a.head.appendChild(l))}function yr(a){return'[src="'+Tl(a)+'"]'}function ri(a){return"script[async]"+a}function Rh(a,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var o=a.querySelector('style[data-href~="'+Tl(i.href)+'"]');if(o)return l.instance=o,Ta(o),o;var f=X({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(a.ownerDocument||a).createElement("style"),Ta(o),J(o,"style",f),Oh(o,i.precedence,a),l.instance=o;case"stylesheet":f=Bc(i.href);var h=a.querySelector(yf(f));if(h)return l.state.loading|=4,l.instance=h,Ta(h),h;o=Ep(i),(f=Ea.get(f))&&_p(o,f),h=(a.ownerDocument||a).createElement("link"),Ta(h);var S=h;return S._p=new Promise(function(T,z){S.onload=T,S.onerror=z}),J(h,"link",o),l.state.loading|=4,Oh(h,i.precedence,a),l.instance=h;case"script":return h=yr(i.src),(f=a.querySelector(ri(h)))?(l.instance=f,Ta(f),f):(o=i,(f=Ea.get(h))&&(o=X({},i),zh(o,f)),a=a.ownerDocument||a,f=a.createElement("script"),Ta(f),J(f,"link",o),a.head.appendChild(f),l.instance=f);case"void":return null;default:throw Error(y(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(o=l.instance,l.state.loading|=4,Oh(o,i.precedence,a));return l.instance}function Oh(a,l,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,h=f,S=0;S<o.length;S++){var T=o[S];if(T.dataset.precedence===l)h=T;else if(h!==f)break}h?h.parentNode.insertBefore(a,h.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(a,l.firstChild))}function _p(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.title==null&&(a.title=l.title)}function zh(a,l){a.crossOrigin==null&&(a.crossOrigin=l.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=l.referrerPolicy),a.integrity==null&&(a.integrity=l.integrity)}var gf=null;function Vc(a,l,i){if(gf===null){var o=new Map,f=gf=new Map;f.set(i,o)}else f=gf,o=f.get(i),o||(o=new Map,f.set(i,o));if(o.has(a))return o;for(o.set(a,null),i=i.getElementsByTagName(a),f=0;f<i.length;f++){var h=i[f];if(!(h[os]||h[ea]||a==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var S=h.getAttribute(l)||"";S=a+S;var T=o.get(S);T?T.push(h):o.set(S,[h])}}return o}function wp(a,l,i){a=a.ownerDocument||a,a.head.insertBefore(i,l==="title"?a.querySelector("head > title"):null)}function N0(a,l,i){if(i===1||l.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return a=l.disabled,typeof l.precedence=="string"&&a==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Ap(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}var Lc=null;function H0(){}function k0(a,l,i){if(Lc===null)throw Error(y(475));var o=Lc;if(l.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var f=Bc(i.href),h=a.querySelector(yf(f));if(h){a=h._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(o.count++,o=qc.bind(o),a.then(o,o)),l.state.loading|=4,l.instance=h,Ta(h);return}h=a.ownerDocument||a,i=Ep(i),(f=Ea.get(f))&&_p(i,f),h=h.createElement("link"),Ta(h);var S=h;S._p=new Promise(function(T,z){S.onload=T,S.onerror=z}),J(h,"link",i),l.instance=h}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(l,a),(a=l.state.preload)&&(l.state.loading&3)===0&&(o.count++,l=qc.bind(o),a.addEventListener("load",l),a.addEventListener("error",l))}}function j0(){if(Lc===null)throw Error(y(475));var a=Lc;return a.stylesheets&&a.count===0&&bf(a,a.stylesheets),0<a.count?function(l){var i=setTimeout(function(){if(a.stylesheets&&bf(a,a.stylesheets),a.unsuspend){var o=a.unsuspend;a.unsuspend=null,o()}},6e4);return a.unsuspend=l,function(){a.unsuspend=null,clearTimeout(i)}}:null}function qc(){if(this.count--,this.count===0){if(this.stylesheets)bf(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var vf=null;function bf(a,l){a.stylesheets=null,a.unsuspend!==null&&(a.count++,vf=new Map,l.forEach(Rp,a),vf=null,qc.call(a))}function Rp(a,l){if(!(l.state.loading&4)){var i=vf.get(a);if(i)var o=i.get(null);else{i=new Map,vf.set(a,i);for(var f=a.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var S=f[h];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),o=S)}o&&i.set(null,o)}f=l.instance,S=f.getAttribute("data-precedence"),h=i.get(S)||o,h===o&&i.set(null,f),i.set(S,f),this.count++,o=qc.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),h?h.parentNode.insertBefore(f,h.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(f,a.firstChild)),l.state.loading|=4}}var un={$$typeof:Rt,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function Mi(a,l,i,o,f,h,S,T){this.tag=1,this.containerInfo=a,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=be(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=be(0),this.hiddenUpdates=be(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function B0(a,l,i,o,f,h,S,T,z,Y,le,oe){return a=new Mi(a,l,i,S,T,z,Y,oe),l=1,h===!0&&(l|=24),h=kn(3,null,null,l),a.current=h,h.stateNode=a,l=iy(),l.refCount++,a.pooledCache=l,l.refCount++,h.memoizedState={element:o,isDehydrated:i,cache:l},Us(h),a}function Op(a){return a?(a=Jo,a):Jo}function zp(a,l,i,o,f,h){f=Op(f),o.context===null?o.context=f:o.pendingContext=f,o=ru(l),o.payload={element:i},h=h===void 0?null:h,h!==null&&(o.callback=h),i=Vn(a,o,l),i!==null&&($n(i,a,l),Fo(i,a,l))}function Dp(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var i=a.retryLane;a.retryLane=i!==0&&i<l?i:l}}function Dh(a,l){Dp(a,l),(a=a.alternate)&&Dp(a,l)}function Mp(a){if(a.tag===13){var l=au(a,67108864);l!==null&&$n(l,a,67108864),Dh(a,67108864)}}var Sf=!0;function V0(a,l,i,o){var f=W.T;W.T=null;var h=Z.p;try{Z.p=2,Mh(a,l,i,o)}finally{Z.p=h,W.T=f}}function L0(a,l,i,o){var f=W.T;W.T=null;var h=Z.p;try{Z.p=8,Mh(a,l,i,o)}finally{Z.p=h,W.T=f}}function Mh(a,l,i,o){if(Sf){var f=Cp(o);if(f===null)ff(a,l,o,Tf,i),Np(a,o);else if(Hp(f,a,l,i,o))o.stopPropagation();else if(Np(a,o),l&4&&-1<pb.indexOf(a)){for(;f!==null;){var h=Pa(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var S=Ua(h.pendingLanes);if(S!==0){var T=h;for(T.pendingLanes|=2,T.entangledLanes|=2;S;){var z=1<<31-Gt(S);T.entanglements[1]|=z,S&=~z}ui(h),(Xt&6)===0&&(nh=Bt()+500,Su(0))}}break;case 13:T=au(h,2),T!==null&&$n(T,h,2),nf(),Dh(h,2)}if(h=Cp(o),h===null&&ff(a,l,o,Tf,i),h===f)break;f=h}f!==null&&o.stopPropagation()}else ff(a,l,o,null,i)}}function Cp(a){return a=Ho(a),Up(a)}var Tf=null;function Up(a){if(Tf=null,a=ku(a),a!==null){var l=v(a);if(l===null)a=null;else{var i=l.tag;if(i===13){if(a=_(l),a!==null)return a;a=null}else if(i===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null)}}return Tf=a,null}function q0(a){switch(a){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(yi()){case Sl:return 2;case U:return 8;case k:case ne:return 32;case xe:return 268435456;default:return 32}default:return 32}}var Ch=!1,ci=null,Ci=null,Au=null,Yc=new Map,xf=new Map,vo=[],pb="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 Np(a,l){switch(a){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":Au=null;break;case"pointerover":case"pointerout":Yc.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":xf.delete(l.pointerId)}}function Ui(a,l,i,o,f,h){return a===null||a.nativeEvent!==h?(a={blockedOn:l,domEventName:i,eventSystemFlags:o,nativeEvent:h,targetContainers:[f]},l!==null&&(l=Pa(l),l!==null&&Mp(l)),a):(a.eventSystemFlags|=o,l=a.targetContainers,f!==null&&l.indexOf(f)===-1&&l.push(f),a)}function Hp(a,l,i,o,f){switch(l){case"focusin":return ci=Ui(ci,a,l,i,o,f),!0;case"dragenter":return Ci=Ui(Ci,a,l,i,o,f),!0;case"mouseover":return Au=Ui(Au,a,l,i,o,f),!0;case"pointerover":var h=f.pointerId;return Yc.set(h,Ui(Yc.get(h)||null,a,l,i,o,f)),!0;case"gotpointercapture":return h=f.pointerId,xf.set(h,Ui(xf.get(h)||null,a,l,i,o,f)),!0}return!1}function kp(a){var l=ku(a.target);if(l!==null){var i=v(l);if(i!==null){if(l=i.tag,l===13){if(l=_(i),l!==null){a.blockedOn=l,wm(a.priority,function(){if(i.tag===13){var o=sl();o=Ie(o);var f=au(i,o);f!==null&&$n(f,i,o),Dh(i,o)}});return}}else if(l===3&&i.stateNode.current.memoizedState.isDehydrated){a.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Ef(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var i=Cp(a.nativeEvent);if(i===null){i=a.nativeEvent;var o=new i.constructor(i.type,i);td=o,i.target.dispatchEvent(o),td=null}else return l=Pa(i),l!==null&&Mp(l),a.blockedOn=i,!1;l.shift()}return!0}function jp(a,l,i){Ef(a)&&i.delete(l)}function Uh(){Ch=!1,ci!==null&&Ef(ci)&&(ci=null),Ci!==null&&Ef(Ci)&&(Ci=null),Au!==null&&Ef(Au)&&(Au=null),Yc.forEach(jp),xf.forEach(jp)}function Ru(a,l){a.blockedOn===l&&(a.blockedOn=null,Ch||(Ch=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,Uh)))}var Nh=null;function _f(a){Nh!==a&&(Nh=a,d.unstable_scheduleCallback(d.unstable_NormalPriority,function(){Nh===a&&(Nh=null);for(var l=0;l<a.length;l+=3){var i=a[l],o=a[l+1],f=a[l+2];if(typeof o!="function"){if(Up(o||i)===null)continue;break}var h=Pa(i);h!==null&&(a.splice(l,3),l-=3,Oy(h,{pending:!0,data:f,method:i.method,action:o},o,f))}}))}function Gc(a){function l(z){return Ru(z,a)}ci!==null&&Ru(ci,a),Ci!==null&&Ru(Ci,a),Au!==null&&Ru(Au,a),Yc.forEach(l),xf.forEach(l);for(var i=0;i<vo.length;i++){var o=vo[i];o.blockedOn===a&&(o.blockedOn=null)}for(;0<vo.length&&(i=vo[0],i.blockedOn===null);)kp(i),i.blockedOn===null&&vo.shift();if(i=(a.ownerDocument||a).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var f=i[o],h=i[o+1],S=f[fn]||null;if(typeof h=="function")S||_f(i);else if(S){var T=null;if(h&&h.hasAttribute("formAction")){if(f=h,S=h[fn]||null)T=S.formAction;else if(Up(f)!==null)continue}else T=S.action;typeof T=="function"?i[o+1]=T:(i.splice(o,3),o-=3),_f(i)}}}function bo(a){this._internalRoot=a}Hh.prototype.render=bo.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(y(409));var i=l.current,o=sl();zp(i,o,a,l,null,null)},Hh.prototype.unmount=bo.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;zp(a.current,2,null,a,null,null),nf(),l[Mo]=null}};function Hh(a){this._internalRoot=a}Hh.prototype.unstable_scheduleHydration=function(a){if(a){var l=gi();a={blockedOn:null,target:a,priority:l};for(var i=0;i<vo.length&&l!==0&&l<vo[i].priority;i++);vo.splice(i,0,a),i===0&&kp(a)}};var Y0=s.version;if(Y0!=="19.1.0")throw Error(y(527,Y0,"19.1.0"));Z.findDOMNode=function(a){var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(y(188)):(a=Object.keys(a).join(","),Error(y(268,a)));return a=B(l),a=a!==null?w(a):null,a=a===null?null:a.stateNode,a};var G0={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ka=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ka.isDisabled&&Ka.supportsFiber)try{ze=Ka.inject(G0),Qe=Ka}catch{}}return mm.createRoot=function(a,l){if(!g(a))throw Error(y(299));var i=!1,o="",f=ky,h=Sc,S=jy,T=null;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(o=l.identifierPrefix),l.onUncaughtError!==void 0&&(f=l.onUncaughtError),l.onCaughtError!==void 0&&(h=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(T=l.unstable_transitionCallbacks)),l=B0(a,1,!1,null,null,i,o,f,h,S,T,null),a[Mo]=l.current,sf(a),new bo(l)},mm.hydrateRoot=function(a,l,i){if(!g(a))throw Error(y(299));var o=!1,f="",h=ky,S=Sc,T=jy,z=null,Y=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(T=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(z=i.unstable_transitionCallbacks),i.formState!==void 0&&(Y=i.formState)),l=B0(a,1,!0,l,i??null,o,f,h,S,T,z,Y),l.context=Op(null),i=l.current,o=sl(),o=Ie(o),f=ru(o),f.callback=null,Vn(i,f,o),i=o,l.current.lanes=i,Me(l,i),ui(l),a[Mo]=l.current,sf(a),new Hh(l)},mm.version="19.1.0",mm}var ym={},M1;function Zx(){if(M1)return ym;M1=1;var d={};/**
|
|
104
104
|
* @license React
|
|
105
105
|
* react-dom-client.development.js
|
|
106
106
|
*
|
|
@@ -108,27 +108,27 @@ Error generating stack: `+i.message+`
|
|
|
108
108
|
*
|
|
109
109
|
* This source code is licensed under the MIT license found in the
|
|
110
110
|
* LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/return d.NODE_ENV!=="production"&&function(){function s(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function m(e,t,n,u){if(n>=t.length)return u;var r=t[n],c=ja(e)?e.slice():Pe({},e);return c[r]=m(e[r],t,n+1,u),c}function y(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var u=0;u<n.length-1;u++)if(t[u]!==n[u]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return g(e,t,n,0)}}function g(e,t,n,u){var r=t[u],c=ja(e)?e.slice():Pe({},e);return u+1===t.length?(c[n[u]]=c[r],ja(c)?c.splice(r,1):delete c[r]):c[r]=g(e[r],t,n,u+1),c}function v(e,t,n){var u=t[n],r=ja(e)?e.slice():Pe({},e);return n+1===t.length?(ja(r)?r.splice(u,1):delete r[u],r):(r[u]=v(e[u],t,n+1),r)}function _(){return!1}function R(){return null}function B(){}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 X(){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 de(){}function V(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function j(e,t,n,u){return new nb(e,t,n,u)}function fe(e,t){e.context===Zc&&(uf(e.current,2,t,e,null,null),ir())}function He(e,t){if(ki!==null){var n=t.staleFamilies;t=t.updatedFamilies,eo(),qo(e.current,t,n),ir()}}function Xe(e){ki=e}function Fe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Rt(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 vt(e){if(_e(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ke(e){var t=e.alternate;if(!t){if(t=_e(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,u=t;;){var r=n.return;if(r===null)break;var c=r.alternate;if(c===null){if(u=r.return,u!==null){n=u;continue}break}if(r.child===c.child){for(c=r.child;c;){if(c===n)return vt(r),e;if(c===u)return vt(r),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==u.return)n=r,u=c;else{for(var p=!1,b=r.child;b;){if(b===n){p=!0,n=r,u=c;break}if(b===u){p=!0,u=r,n=c;break}b=b.sibling}if(!p){for(b=c.child;b;){if(b===n){p=!0,n=c,u=r;break}if(b===u){p=!0,u=c,n=r;break}b=b.sibling}if(!p)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(n.alternate!==u)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function Qt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Qt(e),t!==null)return t;e=e.sibling}return null}function _t(e){return e===null||typeof e!="object"?null:(e=df&&e[df]||e["@@iterator"],typeof e=="function"?e:null)}function it(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===It?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ho:return"Fragment";case sf:return"Profiler";case dr:return"StrictMode";case yo:return"Suspense";case Sh:return"SuspenseList";case xh: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 ut:return"Portal";case Wn:return(e.displayName||"Context")+".Provider";case ff:return(e._context.displayName||"Context")+".Consumer";case mo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Th:return t=e.displayName||null,t!==null?t:it(e.type)||"Memo";case fl:t=e._payload,e=e._init;try{return it(e(t))}catch{}}return null}function wt(e){return typeof e.tag=="number"?Ae(e):typeof e.name=="string"?e.name:null}function Ae(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")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return it(t);case 8:return t===dr?"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 n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return Ae(e.return)}return null}function ht(e){return{current:e}}function se(e,t){0>Ri?console.error("Unexpected pop."):(t!==kc[Ri]&&console.error("Unexpected Fiber popped."),e.current=hf[Ri],hf[Ri]=null,kc[Ri]=null,Ri--)}function Re(e,t,n){Ri++,hf[Ri]=e.current,kc[Ri]=n,e.current=t}function Ke(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 Je(e,t){Re(Oi,t,e),Re(hr,e,e),Re(xu,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Kn(t):wr;break;default:if(n=t.tagName,t=t.namespaceURI)t=Kn(t),t=gu(t,n);else switch(n){case"svg":t=cm;break;case"math":t=Sv;break;default:t=wr}}n=n.toLowerCase(),n=km(null,n),n={context:t,ancestorInfo:n},se(xu,e),Re(xu,n,e)}function W(e){se(xu,e),se(hr,e),se(Oi,e)}function Z(){return Ke(xu.current)}function re(e){e.memoizedState!==null&&Re(Eh,e,e);var t=Ke(xu.current),n=e.type,u=gu(t.context,n);n=km(t.ancestorInfo,n),u={context:u,ancestorInfo:n},t!==u&&(Re(hr,e,e),Re(xu,u,e))}function ve(e){hr.current===e&&(se(xu,e),se(hr,e)),Eh.current===e&&(se(Eh,e),pg._currentValue=Yf)}function O(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function C(e){try{return ie(e),!1}catch{return!0}}function ie(e){return""+e}function ee(e,t){if(C(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,O(e)),ie(e)}function Te(e,t){if(C(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,O(e)),ie(e)}function Le(e){if(C(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.",O(e)),ie(e)}function De(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{mr=t.inject(e),ln=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function $e(e){if(typeof oi=="function"&&Ep(e),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(mr,e)}catch(t){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",t))}}function Ct(e){Ee=e}function Dt(){Ee!==null&&typeof Ee.markCommitStopped=="function"&&Ee.markCommitStopped()}function ha(e){Ee!==null&&typeof Ee.markComponentRenderStarted=="function"&&Ee.markComponentRenderStarted(e)}function Fa(){Ee!==null&&typeof Ee.markComponentRenderStopped=="function"&&Ee.markComponentRenderStopped()}function bl(e){Ee!==null&&typeof Ee.markRenderStarted=="function"&&Ee.markRenderStarted(e)}function $i(){Ee!==null&&typeof Ee.markRenderStopped=="function"&&Ee.markRenderStopped()}function el(e,t){Ee!==null&&typeof Ee.markStateUpdateScheduled=="function"&&Ee.markStateUpdateScheduled(e,t)}function Oo(e){return e>>>=0,e===0?32:31-(Eu(e)/yb|0)|0}function zo(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function Bt(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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;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 yi(e,t,n){var u=e.pendingLanes;if(u===0)return 0;var r=0,c=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var b=u&134217727;return b!==0?(u=b&~c,u!==0?r=Bt(u):(p&=b,p!==0?r=Bt(p):n||(n=b&~e,n!==0&&(r=Bt(n))))):(b=u&~c,b!==0?r=Bt(b):p!==0?r=Bt(p):n||(n=u&~e,n!==0&&(r=Bt(n)))),r===0?0:t!==0&&t!==r&&(t&c)===0&&(c=r&-r,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:r}function Sl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function U(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 k(){var e=_h;return _h<<=1,(_h&4194048)===0&&(_h=256),e}function ne(){var e=_u;return _u<<=1,(_u&62914560)===0&&(_u=4194304),e}function xe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ge(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function me(e,t,n,u,r,c){var p=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var b=e.entanglements,E=e.expirationTimes,A=e.hiddenUpdates;for(n=p&~n;0<n;){var $=31-Qa(n),P=1<<$;b[$]=0,E[$]=-1;var K=A[$];if(K!==null)for(A[$]=null,$=0;$<K.length;$++){var te=K[$];te!==null&&(te.lane&=-536870913)}n&=~P}u!==0&&ze(e,u,0),c!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=c&~(p&~t))}function ze(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var u=31-Qa(t);e.entangledLanes|=t,e.entanglements[u]=e.entanglements[u]|1073741824|n&4194090}function Qe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-Qa(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}function pt(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 Gt(e,t,n){if(Ul)for(e=e.pendingUpdatersLaneMap;0<n;){var u=31-Qa(n),r=1<<u;e[u].add(t),n&=~r}}function pi(e,t){if(Ul)for(var n=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;0<t;){var r=31-Qa(t);e=1<<r,r=n[r],0<r.size&&(r.forEach(function(c){var p=c.alternate;p!==null&&u.has(p)||u.add(c)}),r.clear()),t&=~e}}function Sn(e){return e&=-e,dl<e?Di<e?(e&134217727)!==0?wu:wh:Di:dl}function Do(){var e=Lt.p;return e!==0?e:(e=window.event,e===void 0?wu:fo(e.type))}function tl(e,t){var n=Lt.p;try{return Lt.p=e,t()}finally{Lt.p=n}}function Tn(e){delete e[pn],delete e[Fn],delete e[Ah],delete e[Bc],delete e[yf]}function Ua(e){var t=e[pn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[pn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=uh(e);e!==null;){if(n=e[pn])return n;e=uh(e)}return t}e=n,n=e.parentNode}return null}function Ia(e){if(e=e[pn]||e[go]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Cn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function x(e){var t=e[_p];return t||(t=e[_p]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function L(e){e[pf]=!0}function he(e,t){be(e,t),be(e+"Capture",t)}function be(e,t){ri[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ri[e]=t;var n=e.toLowerCase();for(Rh[n]=e,e==="onDoubleClick"&&(Rh.ondblclick=e),e=0;e<t.length;e++)yr.add(t[e])}function Me(e,t){Oh[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 mt(e){return zi.call(gf,e)?!0:zi.call(zh,e)?!1:wp.test(e)?gf[e]=!0:(zh[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function tt(e,t,n){if(mt(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(ee(n,t),e===""+n?n:e)}}function Ot(e,t,n){if(mt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var u=t.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(t);return}}ee(n,t),e.setAttribute(t,""+n)}}function Ie(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ee(n,t),e.setAttribute(t,""+n)}}function _a(e,t,n,u){if(u===null)e.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}ee(u,n),e.setAttributeNS(t,n,""+u)}}function gi(){}function Am(){if(Vc===0){Ap=console.log,H0=console.info,Rp=console.warn,Lc=console.error,k0=console.group,j0=console.groupCollapsed,B0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:gi,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Vc++}function vi(){if(Vc--,Vc===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pe({},e,{value:Ap}),info:Pe({},e,{value:H0}),warn:Pe({},e,{value:Rp}),error:Pe({},e,{value:Lc}),group:Pe({},e,{value:k0}),groupCollapsed:Pe({},e,{value:j0}),groupEnd:Pe({},e,{value:B0})})}0>Vc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ea(e){if(qc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);qc=t&&t[1]||"",vf=-1<n.stack.indexOf(`
|
|
111
|
+
*/return d.NODE_ENV!=="production"&&function(){function s(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function m(e,t,n,u){if(n>=t.length)return u;var r=t[n],c=ja(e)?e.slice():Pe({},e);return c[r]=m(e[r],t,n+1,u),c}function y(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var u=0;u<n.length-1;u++)if(t[u]!==n[u]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return g(e,t,n,0)}}function g(e,t,n,u){var r=t[u],c=ja(e)?e.slice():Pe({},e);return u+1===t.length?(c[n[u]]=c[r],ja(c)?c.splice(r,1):delete c[r]):c[r]=g(e[r],t,n,u+1),c}function v(e,t,n){var u=t[n],r=ja(e)?e.slice():Pe({},e);return n+1===t.length?(ja(r)?r.splice(u,1):delete r[u],r):(r[u]=v(e[u],t,n+1),r)}function _(){return!1}function R(){return null}function B(){}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 X(){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 de(){}function V(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function j(e,t,n,u){return new nb(e,t,n,u)}function fe(e,t){e.context===Zc&&(uf(e.current,2,t,e,null,null),ir())}function He(e,t){if(ki!==null){var n=t.staleFamilies;t=t.updatedFamilies,eo(),qo(e.current,t,n),ir()}}function Xe(e){ki=e}function Fe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Rt(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 vt(e){if(_e(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ke(e){var t=e.alternate;if(!t){if(t=_e(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,u=t;;){var r=n.return;if(r===null)break;var c=r.alternate;if(c===null){if(u=r.return,u!==null){n=u;continue}break}if(r.child===c.child){for(c=r.child;c;){if(c===n)return vt(r),e;if(c===u)return vt(r),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==u.return)n=r,u=c;else{for(var p=!1,b=r.child;b;){if(b===n){p=!0,n=r,u=c;break}if(b===u){p=!0,u=r,n=c;break}b=b.sibling}if(!p){for(b=c.child;b;){if(b===n){p=!0,n=c,u=r;break}if(b===u){p=!0,u=c,n=r;break}b=b.sibling}if(!p)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(n.alternate!==u)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function Qt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Qt(e),t!==null)return t;e=e.sibling}return null}function _t(e){return e===null||typeof e!="object"?null:(e=df&&e[df]||e["@@iterator"],typeof e=="function"?e:null)}function it(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===It?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ho:return"Fragment";case sf:return"Profiler";case dr:return"StrictMode";case yo:return"Suspense";case Sh:return"SuspenseList";case xh: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 ut:return"Portal";case Wn:return(e.displayName||"Context")+".Provider";case ff:return(e._context.displayName||"Context")+".Consumer";case mo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Th:return t=e.displayName||null,t!==null?t:it(e.type)||"Memo";case fl:t=e._payload,e=e._init;try{return it(e(t))}catch{}}return null}function wt(e){return typeof e.tag=="number"?Ae(e):typeof e.name=="string"?e.name:null}function Ae(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")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return it(t);case 8:return t===dr?"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 n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return Ae(e.return)}return null}function ht(e){return{current:e}}function se(e,t){0>Ri?console.error("Unexpected pop."):(t!==kc[Ri]&&console.error("Unexpected Fiber popped."),e.current=hf[Ri],hf[Ri]=null,kc[Ri]=null,Ri--)}function Re(e,t,n){Ri++,hf[Ri]=e.current,kc[Ri]=n,e.current=t}function Ke(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 Je(e,t){Re(Oi,t,e),Re(hr,e,e),Re(xu,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Kn(t):wr;break;default:if(n=t.tagName,t=t.namespaceURI)t=Kn(t),t=gu(t,n);else switch(n){case"svg":t=cm;break;case"math":t=bv;break;default:t=wr}}n=n.toLowerCase(),n=Hm(null,n),n={context:t,ancestorInfo:n},se(xu,e),Re(xu,n,e)}function W(e){se(xu,e),se(hr,e),se(Oi,e)}function Z(){return Ke(xu.current)}function re(e){e.memoizedState!==null&&Re(Eh,e,e);var t=Ke(xu.current),n=e.type,u=gu(t.context,n);n=Hm(t.ancestorInfo,n),u={context:u,ancestorInfo:n},t!==u&&(Re(hr,e,e),Re(xu,u,e))}function ve(e){hr.current===e&&(se(xu,e),se(hr,e)),Eh.current===e&&(se(Eh,e),yg._currentValue=Yf)}function O(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function C(e){try{return ie(e),!1}catch{return!0}}function ie(e){return""+e}function ee(e,t){if(C(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,O(e)),ie(e)}function Te(e,t){if(C(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,O(e)),ie(e)}function Le(e){if(C(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.",O(e)),ie(e)}function De(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{mr=t.inject(e),ln=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function $e(e){if(typeof oi=="function"&&xp(e),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(mr,e)}catch(t){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",t))}}function Ct(e){Ee=e}function Dt(){Ee!==null&&typeof Ee.markCommitStopped=="function"&&Ee.markCommitStopped()}function ha(e){Ee!==null&&typeof Ee.markComponentRenderStarted=="function"&&Ee.markComponentRenderStarted(e)}function Fa(){Ee!==null&&typeof Ee.markComponentRenderStopped=="function"&&Ee.markComponentRenderStopped()}function bl(e){Ee!==null&&typeof Ee.markRenderStarted=="function"&&Ee.markRenderStarted(e)}function $i(){Ee!==null&&typeof Ee.markRenderStopped=="function"&&Ee.markRenderStopped()}function el(e,t){Ee!==null&&typeof Ee.markStateUpdateScheduled=="function"&&Ee.markStateUpdateScheduled(e,t)}function Oo(e){return e>>>=0,e===0?32:31-(Eu(e)/yb|0)|0}function zo(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function Bt(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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;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 yi(e,t,n){var u=e.pendingLanes;if(u===0)return 0;var r=0,c=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var b=u&134217727;return b!==0?(u=b&~c,u!==0?r=Bt(u):(p&=b,p!==0?r=Bt(p):n||(n=b&~e,n!==0&&(r=Bt(n))))):(b=u&~c,b!==0?r=Bt(b):p!==0?r=Bt(p):n||(n=u&~e,n!==0&&(r=Bt(n)))),r===0?0:t!==0&&t!==r&&(t&c)===0&&(c=r&-r,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:r}function Sl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function U(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 k(){var e=_h;return _h<<=1,(_h&4194048)===0&&(_h=256),e}function ne(){var e=_u;return _u<<=1,(_u&62914560)===0&&(_u=4194304),e}function xe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ge(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function me(e,t,n,u,r,c){var p=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var b=e.entanglements,E=e.expirationTimes,A=e.hiddenUpdates;for(n=p&~n;0<n;){var $=31-Qa(n),P=1<<$;b[$]=0,E[$]=-1;var K=A[$];if(K!==null)for(A[$]=null,$=0;$<K.length;$++){var te=K[$];te!==null&&(te.lane&=-536870913)}n&=~P}u!==0&&ze(e,u,0),c!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=c&~(p&~t))}function ze(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var u=31-Qa(t);e.entangledLanes|=t,e.entanglements[u]=e.entanglements[u]|1073741824|n&4194090}function Qe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-Qa(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}function pt(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 Gt(e,t,n){if(Ul)for(e=e.pendingUpdatersLaneMap;0<n;){var u=31-Qa(n),r=1<<u;e[u].add(t),n&=~r}}function pi(e,t){if(Ul)for(var n=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;0<t;){var r=31-Qa(t);e=1<<r,r=n[r],0<r.size&&(r.forEach(function(c){var p=c.alternate;p!==null&&u.has(p)||u.add(c)}),r.clear()),t&=~e}}function Sn(e){return e&=-e,dl<e?Di<e?(e&134217727)!==0?wu:wh:Di:dl}function Do(){var e=Lt.p;return e!==0?e:(e=window.event,e===void 0?wu:fo(e.type))}function tl(e,t){var n=Lt.p;try{return Lt.p=e,t()}finally{Lt.p=n}}function Tn(e){delete e[pn],delete e[Fn],delete e[Ah],delete e[Bc],delete e[yf]}function Ua(e){var t=e[pn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[pn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=uh(e);e!==null;){if(n=e[pn])return n;e=uh(e)}return t}e=n,n=e.parentNode}return null}function Ia(e){if(e=e[pn]||e[go]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Cn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function x(e){var t=e[Ep];return t||(t=e[Ep]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function L(e){e[pf]=!0}function he(e,t){be(e,t),be(e+"Capture",t)}function be(e,t){ri[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ri[e]=t;var n=e.toLowerCase();for(Rh[n]=e,e==="onDoubleClick"&&(Rh.ondblclick=e),e=0;e<t.length;e++)yr.add(t[e])}function Me(e,t){Oh[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 mt(e){return zi.call(gf,e)?!0:zi.call(zh,e)?!1:_p.test(e)?gf[e]=!0:(zh[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function tt(e,t,n){if(mt(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(ee(n,t),e===""+n?n:e)}}function Ot(e,t,n){if(mt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var u=t.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(t);return}}ee(n,t),e.setAttribute(t,""+n)}}function Ie(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ee(n,t),e.setAttribute(t,""+n)}}function _a(e,t,n,u){if(u===null)e.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}ee(u,n),e.setAttributeNS(t,n,""+u)}}function gi(){}function wm(){if(Vc===0){wp=console.log,N0=console.info,Ap=console.warn,Lc=console.error,H0=console.group,k0=console.groupCollapsed,j0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:gi,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Vc++}function vi(){if(Vc--,Vc===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pe({},e,{value:wp}),info:Pe({},e,{value:N0}),warn:Pe({},e,{value:Ap}),error:Pe({},e,{value:Lc}),group:Pe({},e,{value:H0}),groupCollapsed:Pe({},e,{value:k0}),groupEnd:Pe({},e,{value:j0})})}0>Vc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ea(e){if(qc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);qc=t&&t[1]||"",vf=-1<n.stack.indexOf(`
|
|
112
112
|
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
113
|
-
`+qc+e+vf}function fn(e,t){if(!e||bf)return"";var n=
|
|
113
|
+
`+qc+e+vf}function fn(e,t){if(!e||bf)return"";var n=Rp.get(e);if(n!==void 0)return n;bf=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var u=null;u=J.H,J.H=null,wm();try{var r={DetermineComponentFrameRoot:function(){try{if(t){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(Ue){var te=Ue}Reflect.construct(e,[],K)}else{try{K.call()}catch(Ue){te=Ue}e.call(K.prototype)}}else{try{throw Error()}catch(Ue){te=Ue}(K=e())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(Ue){if(Ue&&te&&typeof Ue.stack=="string")return[Ue.stack,te.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=r.DetermineComponentFrameRoot(),b=p[0],E=p[1];if(b&&E){var A=b.split(`
|
|
114
114
|
`),$=E.split(`
|
|
115
115
|
`);for(p=c=0;c<A.length&&!A[c].includes("DetermineComponentFrameRoot");)c++;for(;p<$.length&&!$[p].includes("DetermineComponentFrameRoot");)p++;if(c===A.length||p===$.length)for(c=A.length-1,p=$.length-1;1<=c&&0<=p&&A[c]!==$[p];)p--;for(;1<=c&&0<=p;c--,p--)if(A[c]!==$[p]){if(c!==1||p!==1)do if(c--,p--,0>p||A[c]!==$[p]){var P=`
|
|
116
|
-
`+A[c].replace(" at new "," at ");return e.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",e.displayName)),typeof e=="function"&&
|
|
116
|
+
`+A[c].replace(" at new "," at ");return e.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",e.displayName)),typeof e=="function"&&Rp.set(e,P),P}while(1<=c&&0<=p);break}}}finally{bf=!1,J.H=u,vi(),Error.prepareStackTrace=n}return A=(A=e?e.displayName||e.name:"")?ea(A):"",typeof e=="function"&&Rp.set(e,A),A}function Mo(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
117
117
|
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
118
118
|
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react-stack-bottom-frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
119
|
-
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function
|
|
119
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Am(e){switch(e.tag){case 26:case 27:case 5:return ea(e.type);case 16:return ea("Lazy");case 13:return ea("Suspense");case 19:return ea("SuspenseList");case 0:case 15:return fn(e.type,!1);case 11:return fn(e.type.render,!1);case 1:return fn(e.type,!0);case 31:return ea("Activity");default:return""}}function kg(e){try{var t="";do{t+=Am(e);var n=e._debugInfo;if(n)for(var u=n.length-1;0<=u;u--){var r=n[u];if(typeof r.name=="string"){var c=t,p=r.env,b=ea(r.name+(p?" ["+p+"]":""));t=c+b}}e=e.return}while(e);return t}catch(E){return`
|
|
120
120
|
Error generating stack: `+E.message+`
|
|
121
|
-
`+E.stack}}function
|
|
121
|
+
`+E.stack}}function jg(e){return(e=e?e.displayName||e.name:"")?ea(e):""}function us(){if(un===null)return null;var e=un._debugOwner;return e!=null?wt(e):null}function os(){if(un===null)return"";var e=un;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ea(e.type);break;case 13:t+=ea("Suspense");break;case 19:t+=ea("SuspenseList");break;case 31:t+=ea("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=jg(e.type));break;case 11:e._debugOwner||t!==""||(t+=jg(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var u=n._debugStack;e&&u&&(typeof u!="string"&&(n._debugStack=u=Mo(u)),u!==""&&(t+=`
|
|
122
122
|
`+u))}else if(e.debugStack!=null){var r=e.debugStack;(e=e.owner)&&r&&(t+=`
|
|
123
123
|
`+Mo(r))}else break;var c=t}catch(p){c=`
|
|
124
124
|
Error generating stack: `+p.message+`
|
|
125
|
-
`+p.stack}return c}function je(e,t,n,u,r,c,p){var b=un;ku(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,u,r,c,p)):t(n,u,r,c,p)}finally{ku(b)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function ku(e){J.getCurrentStack=e===null?null:os,Mi=!1,un=e}function Pa(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Le(e),e;default:return""}}function Hr(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kr(e){var t=Hr(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Le(e[t]);var u=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,c=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(p){Le(p),u=""+p,c.call(this,p)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(p){Le(p),u=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ta(e){e._valueTracker||(e._valueTracker=kr(e))}function
|
|
125
|
+
`+p.stack}return c}function je(e,t,n,u,r,c,p){var b=un;ku(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,u,r,c,p)):t(n,u,r,c,p)}finally{ku(b)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function ku(e){J.getCurrentStack=e===null?null:os,Mi=!1,un=e}function Pa(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Le(e),e;default:return""}}function Hr(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kr(e){var t=Hr(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Le(e[t]);var u=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,c=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(p){Le(p),u=""+p,c.call(this,p)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(p){Le(p),u=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ta(e){e._valueTracker||(e._valueTracker=kr(e))}function Rm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=Hr(e)?e.checked?"true":"false":e.value),e=u,e!==n?(t.setValue(e),!0):!1}function rs(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 Ya(e){return e.replace(B0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Co(e,t){t.checked===void 0||t.defaultChecked===void 0||zp||(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",us()||"A component",t.type),zp=!0),t.value===void 0||t.defaultValue===void 0||Op||(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",us()||"A component",t.type),Op=!0)}function Om(e,t,n,u,r,c,p,b){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?(ee(p,"type"),e.type=p):e.removeAttribute("type"),t!=null?p==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Pa(t)):e.value!==""+Pa(t)&&(e.value=""+Pa(t)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),t!=null?Wf(e,p,Pa(t)):n!=null?Wf(e,p,Pa(n)):u!=null&&e.removeAttribute("value"),r==null&&c!=null&&(e.defaultChecked=!!c),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?(ee(b,"name"),e.name=""+Pa(b)):e.removeAttribute("name")}function zm(e,t,n,u,r,c,p,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(ee(c,"type"),e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null))return;n=n!=null?""+Pa(n):"",t=t!=null?""+Pa(t):n,b||t===e.value||(e.value=t),e.defaultValue=t}u=u??r,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=b?e.checked:!!u,e.defaultChecked=!!u,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(ee(p,"name"),e.name=p)}function Wf(e,t,n){t==="number"&&rs(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Bg(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?pp.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||Dh||(Dh=!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||Mp||(Mp=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Dp||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Dp=!0)}function cs(){var e=us();return e?`
|
|
126
126
|
|
|
127
|
-
Check the render method of \``+e+"`.":""}function Wi(e,t,n,u){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&u&&(e[n].defaultSelected=!0)}else{for(n=""+Pa(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,u&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function bi(e,t){for(e=0;e<
|
|
127
|
+
Check the render method of \``+e+"`.":""}function Wi(e,t,n,u){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&u&&(e[n].defaultSelected=!0)}else{for(n=""+Pa(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,u&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function bi(e,t){for(e=0;e<V0.length;e++){var n=V0[e];if(t[n]!=null){var u=ja(t[n]);t.multiple&&!u?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,cs()):!t.multiple&&u&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,cs())}}t.value===void 0||t.defaultValue===void 0||Sf||(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"),Sf=!0)}function Ff(e,t){t.value===void 0||t.defaultValue===void 0||L0||(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",us()||"A component"),L0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Dm(e,t,n){if(t!=null&&(t=""+Pa(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Pa(n):""}function Uo(e,t,n,u){if(t==null){if(u!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ja(u)){if(1<u.length)throw Error("<textarea> can only have at most one child.");u=u[0]}n=u}n==null&&(n=""),t=n}n=Pa(t),e.defaultValue=n,u=e.textContent,u===n&&u!==""&&u!==null&&(e.value=u)}function If(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?If(e.children[0],t):e}function xn(e){return" "+" ".repeat(e)}function jr(e){return"+ "+" ".repeat(e)}function ju(e){return"- "+" ".repeat(e)}function al(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";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 Br(e,t){return Mh.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 Pf(e,t,n){var u=120-2*n;if(t===null)return jr(n)+Br(e,u)+`
|
|
128
128
|
`;if(typeof t=="string"){for(var r=0;r<t.length&&r<e.length&&t.charCodeAt(r)===e.charCodeAt(r);r++);return r>u-8&&10<r&&(e="..."+e.slice(r-8),t="..."+t.slice(r-8)),jr(n)+Br(e,u)+`
|
|
129
129
|
`+ju(n)+Br(t,u)+`
|
|
130
130
|
`}return xn(n)+Br(e,u)+`
|
|
131
|
-
`}function Vr(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Lr(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(ja(e))return"[...]";if(e.$$typeof===Tu)return(t=it(e.type))?"<"+t+">":"<...>";var n=Vr(e);if(n==="Object"){n="",t-=2;for(var u in e)if(e.hasOwnProperty(u)){var r=JSON.stringify(u);if(r!=='"'+u+'"'&&(u=r),t-=u.length-2,r=Lr(e[u],15>t?t:15),t-=r.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+u+":"+r}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Fi(e,t){return typeof e!="string"||Mh.test(e)?"{"+Lr(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function
|
|
131
|
+
`}function Vr(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Lr(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(ja(e))return"[...]";if(e.$$typeof===Tu)return(t=it(e.type))?"<"+t+">":"<...>";var n=Vr(e);if(n==="Object"){n="",t-=2;for(var u in e)if(e.hasOwnProperty(u)){var r=JSON.stringify(u);if(r!=='"'+u+'"'&&(u=r),t-=u.length-2,r=Lr(e[u],15>t?t:15),t-=r.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+u+":"+r}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Fi(e,t){return typeof e!="string"||Mh.test(e)?"{"+Lr(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Mm(e,t,n){var u=120-n.length-e.length,r=[],c;for(c in t)if(t.hasOwnProperty(c)&&c!=="children"){var p=Fi(t[c],120-n.length-c.length-1);u-=c.length+p.length+2,r.push(c+"="+p)}return r.length===0?n+"<"+e+`>
|
|
132
132
|
`:0<u?n+"<"+e+" "+r.join(" ")+`>
|
|
133
133
|
`:n+"<"+e+`
|
|
134
134
|
`+n+" "+r.join(`
|
|
@@ -138,7 +138,7 @@ Check the render method of \``+e+"`.":""}function Wi(e,t,n,u){if(e=e.options,t){
|
|
|
138
138
|
`,u+=ju(n)+c+": "+p+`
|
|
139
139
|
`):u+=jr(n)+c+": "+b+`
|
|
140
140
|
`}for(var E in r)r.hasOwnProperty(E)&&(e=Lr(r[E],120-2*n-E.length-2),u+=ju(n)+E+": "+e+`
|
|
141
|
-
`);return u}function
|
|
141
|
+
`);return u}function Cm(e,t,n,u){var r="",c=new Map;for(A in n)n.hasOwnProperty(A)&&c.set(A.toLowerCase(),A);if(c.size===1&&c.has("children"))r+=Mm(e,t,xn(u));else{for(var p in t)if(t.hasOwnProperty(p)&&p!=="children"){var b=120-2*(u+1)-p.length-1,E=c.get(p.toLowerCase());if(E!==void 0){c.delete(p.toLowerCase());var A=t[p];E=n[E];var $=Fi(A,b);b=Fi(E,b),typeof A=="object"&&A!==null&&typeof E=="object"&&E!==null&&Vr(A)==="Object"&&Vr(E)==="Object"&&(2<Object.keys(A).length||2<Object.keys(E).length||-1<$.indexOf("...")||-1<b.indexOf("..."))?r+=xn(u+1)+p+`={{
|
|
142
142
|
`+Tl(A,E,u+2)+xn(u+1)+`}}
|
|
143
143
|
`:(r+=jr(u+1)+p+"="+$+`
|
|
144
144
|
`,r+=ju(u+1)+p+"="+b+`
|
|
@@ -147,22 +147,22 @@ Check the render method of \``+e+"`.":""}function Wi(e,t,n,u){if(e=e.options,t){
|
|
|
147
147
|
`}}),r=r===""?xn(u)+"<"+e+`>
|
|
148
148
|
`:xn(u)+"<"+e+`
|
|
149
149
|
`+r+xn(u)+`>
|
|
150
|
-
`}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(c="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=""+t),r+=Pf(c,""+e,u+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(r=e==null?r+Pf(""+t,null,u+1):r+Pf(""+t,void 0,u+1)),r}function
|
|
150
|
+
`}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(c="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=""+t),r+=Pf(c,""+e,u+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(r=e==null?r+Pf(""+t,null,u+1):r+Pf(""+t,void 0,u+1)),r}function Um(e,t){var n=al(e);if(n===null){for(n="",e=e.child;e;)n+=Um(e,t),e=e.sibling;return n}return xn(t)+"<"+n+`>
|
|
151
151
|
`}function ss(e,t){var n=If(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return xn(t)+`...
|
|
152
152
|
`+ss(n,t+1);n="";var u=e.fiber._debugInfo;if(u)for(var r=0;r<u.length;r++){var c=u[r].name;typeof c=="string"&&(n+=xn(t)+"<"+c+`>
|
|
153
153
|
`,t++)}if(u="",r=e.fiber.pendingProps,e.fiber.tag===6)u=Pf(r,e.serverProps,t),t++;else if(c=al(e.fiber),c!==null)if(e.serverProps===void 0){u=t;var p=120-2*u-c.length-2,b="";for(A in r)if(r.hasOwnProperty(A)&&A!=="children"){var E=Fi(r[A],15);if(p-=A.length+E.length+2,0>p){b+=" ...";break}b+=" "+A+"="+E}u=xn(u)+"<"+c+b+`>
|
|
154
|
-
`,t++}else e.serverProps===null?(u=
|
|
154
|
+
`,t++}else e.serverProps===null?(u=Mm(c,r,jr(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."):(u=Cm(c,r,e.serverProps,t),t++);var A="";for(r=e.fiber.child,c=0;r&&c<e.children.length;)p=e.children[c],p.fiber===r?(A+=ss(p,t),c++):A+=Um(r,t),r=r.sibling;for(r&&0<e.children.length&&(A+=xn(t)+`...
|
|
155
155
|
`),r=e.serverTail,e.serverProps===null&&t--,e=0;e<r.length;e++)c=r[e],A=typeof c=="string"?A+(ju(t)+Br(c,120-2*t)+`
|
|
156
|
-
`):A+
|
|
156
|
+
`):A+Mm(c.type,c.props,ju(t));return n+u+A}function Bu(e){try{return`
|
|
157
157
|
|
|
158
|
-
`+ss(e,0)}catch{return""}}function
|
|
158
|
+
`+ss(e,0)}catch{return""}}function Nm(e,t,n){for(var u=t,r=null,c=0;u;)u===e&&(c=0),r={fiber:u,children:r!==null?[r]:[],serverProps:u===t?n:u===e?null:void 0,serverTail:[],distanceFromLeaf:c},c++,u=u.return;return r!==null?Bu(r).replaceAll(/^[+-]/gm,">"):""}function Hm(e,t){var n=Pe({},e||Ch),u={tag:t};return Tf.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),Up.indexOf(t)!==-1&&(n.pTagInButtonScope=null),Cp.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=u,t==="form"&&(n.formTag=u),t==="a"&&(n.aTagInScope=u),t==="button"&&(n.buttonTagInScope=u),t==="nobr"&&(n.nobrTagInScope=u),t==="p"&&(n.pTagInButtonScope=u),t==="li"&&(n.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=u),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=u),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function No(e,t,n){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(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)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 q0.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 n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function Wv(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 km(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 ed(e,t){t=t||Ch;var n=t.current;if(t=(n=No(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Wv(e,t),t=n||t,!t)return!0;var u=t.tag;if(t=String(!!n)+"|"+e+"|"+u,ci[t])return!1;ci[t]=!0;var r=(t=un)?km(t.return,u):null,c=t!==null&&r!==null?Nm(r,t,null):"",p="<"+e+">";return n?(n="",u==="table"&&e==="tr"&&(n+=" 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
|
|
159
159
|
This will cause a hydration error.%s`,p,u,n,c)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
160
160
|
This will cause a hydration error.%s`,p,u,c),t&&(e=t.return,r===null||e===null||r===e&&e._debugOwner===t._debugOwner||je(r,function(){console.error(`<%s> cannot contain a nested %s.
|
|
161
|
-
See this log for the ancestor stack trace.`,u,p)})),!1}function qr(e,t,n){if(n||No("#text",t,!1))return!0;if(n="#text|"+t,ci[n])return!1;ci[n]=!0;var u=(n=un)?
|
|
161
|
+
See this log for the ancestor stack trace.`,u,p)})),!1}function qr(e,t,n){if(n||No("#text",t,!1))return!0;if(n="#text|"+t,ci[n])return!1;ci[n]=!0;var u=(n=un)?km(n,t):null;return n=n!==null&&u!==null?Nm(u,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
162
162
|
This will cause a hydration error.%s`,t,n):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.
|
|
163
|
-
This will cause a hydration error.%s`,t,n),!1}function fs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Fv(e){return e.replace(pb,function(t,n){return n.toUpperCase()})}function ds(e,t,n){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?Ui.hasOwnProperty(t)&&Ui[t]||(Ui[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Fv(t.replace(vo,"ms-")))):xf.test(t)?Ui.hasOwnProperty(t)&&Ui[t]||(Ui[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Hp.test(n)||kp.hasOwnProperty(n)&&kp[n]||(kp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Hp,""))),typeof n=="number"&&(isNaN(n)?jp||(jp=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Ef||(Ef=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,n):typeof n!="number"||n===0||Bp.has(t)?t==="float"?e.cssFloat=n:(Te(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function td(e,t,n){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,n!=null){if(t){var u={};if(n){for(var r in n)if(n.hasOwnProperty(r)&&!t.hasOwnProperty(r))for(var c=Ci[r]||[r],p=0;p<c.length;p++)u[c[p]]=r}for(var b in t)if(t.hasOwnProperty(b)&&(!n||n[b]!==t[b]))for(r=Ci[b]||[b],c=0;c<r.length;c++)u[r[c]]=b;b={};for(var E in t)for(r=Ci[E]||[E],c=0;c<r.length;c++)b[r[c]]=E;E={};for(var A in u)if(r=u[A],(c=b[A])&&r!==c&&(p=r+","+c,!E[p])){E[p]=!0,p=console;var $=t[r];p.error.call(p,"%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.",$==null||typeof $=="boolean"||$===""?"Removing":"Updating",r,c)}}for(var P in n)!n.hasOwnProperty(P)||t!=null&&t.hasOwnProperty(P)||(P.indexOf("--")===0?e.setProperty(P,""):P==="float"?e.cssFloat="":e[P]="");for(var K in t)A=t[K],t.hasOwnProperty(K)&&n[K]!==A&&ds(e,K,A)}else for(u in t)t.hasOwnProperty(u)&&ds(e,u,t[u])}function Ho(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 ko(e){return Nh.get(e)||e}function Yr(e,t){if(zi.call(bo,t)&&bo[t])return!0;if(G0.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),bo[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0}if(Hh.test(t)){if(e=t.toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return bo[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0)}return!0}function Lg(e,t){var n=[],u;for(u in t)Yr(e,u)||n.push(u);t=n.map(function(r){return"`"+r+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Bm(e,t,n,u){if(zi.call(Ka,t)&&Ka[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="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."),Ka[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(r)?e[r]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),Ka[t]=!0;if(a.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ka[t]=!0}else if(a.test(t))return l.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ka[t]=!0;if(i.test(t)||o.test(t))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ka[t]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ka[t]=!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Ka[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ka[t]=!0;if(_f.hasOwnProperty(r)){if(r=_f[r],r!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,r),Ka[t]=!0}else if(t!==r)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,r),Ka[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 n){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 r=t.toLowerCase().slice(0,5),r==="data-"||r==="aria-"?!0:(n?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,t,t,n,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.',n,t,t,n,t,t,t),Ka[t]=!0)}case"function":case"symbol":return Ka[t]=!0,!1;case"string":if(n==="false"||n==="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}?",n,t,n==="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,n),Ka[t]=!0}}return!0}function qg(e,t,n){var u=[],r;for(r in t)Bm(e,r,t[r],n)||u.push(r);t=u.map(function(c){return"`"+c+"`"}).join(", "),u.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<u.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 Ii(e){return f.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Vl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ad(e){var t=Ia(e);if(t&&(e=t.stateNode)){var n=e[Fn]||null;e:switch(e=t.stateNode,t.type){case"input":if(zm(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(ee(t,"name"),n=n.querySelectorAll('input[name="'+Ya(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var r=u[Fn]||null;if(!r)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");zm(u,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)u=n[t],u.form===e.form&&Om(u)}break e;case"textarea":Mm(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Wi(e,!!n.multiple,t,!1)}}}function Gr(e,t,n){if(z)return e(t,n);z=!0;try{var u=e(t);return u}finally{if(z=!1,(S!==null||T!==null)&&(ir(),S&&(t=S,e=T,T=S=null,ad(t),e)))for(t=0;t<e.length;t++)ad(e[t])}}function xl(e,t){var n=e.stateNode;if(n===null)return null;var u=n[Fn]||null;if(u===null)return null;n=u[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":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function nd(){if(Ge)return Ge;var e,t=F,n=t.length,u,r="value"in Q?Q.value:Q.textContent,c=r.length;for(e=0;e<n&&t[e]===r[e];e++);var p=n-e;for(u=1;u<=p&&t[n-u]===r[c-u];u++);return Ge=r.slice(e,1<u?1-u:void 0)}function jo(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 hs(){return!0}function ms(){return!1}function en(e){function t(n,u,r,c,p){this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(n=e[b],this[b]=n?n(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?hs:ms,this.isPropagationStopped=ms,this}return Pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=hs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}function Yg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=B_[e])?!!t[e]:!1}function dn(){return Yg}function Vu(e,t){switch(e){case"keyup":return W_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==BS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ys(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function ps(e,t){switch(e){case"compositionend":return ys(t);case"keypress":return t.which!==LS?null:(YS=!0,qS);case"textInput":return e=t.data,e===qS&&YS?null:e;default:return null}}function Iv(e,t){if(kh)return e==="compositionend"||!vb&&Vu(e,t)?(e=nd(),Ge=F=Q=null,kh=!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 VS&&t.locale!=="ko"?null:t.data;default:return null}}function ld(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!I_[e.type]:t==="textarea"}function Vm(e){if(!Y)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 Zr(e,t,n,u){S?T?T.push(u):T=[u]:S=u,t=yn(t,"onChange"),0<t.length&&(n=new qt("onChange","change",null,n,u),e.push({event:n,listeners:t}))}function id(e){tp(e,0)}function gs(e){var t=Cn(e);if(Om(t))return e}function Gg(e,t){if(e==="change")return t}function Zg(){Lp&&(Lp.detachEvent("onpropertychange",Xg),qp=Lp=null)}function Xg(e){if(e.propertyName==="value"&&gs(qp)){var t=[];Zr(t,qp,e,Vl(e)),Gr(id,t)}}function Lm(e,t,n){e==="focusin"?(Zg(),Lp=t,qp=n,Lp.attachEvent("onpropertychange",Xg)):e==="focusout"&&Zg()}function Pv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gs(qp)}function eb(e,t){if(e==="click")return gs(t)}function tb(e,t){if(e==="input"||e==="change")return gs(t)}function ab(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function vs(e,t){if(hl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var r=n[u];if(!zi.call(t,r)||!hl(e[r],t[r]))return!1}return!0}function qm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qg(e,t){var n=qm(e);e=0;for(var u;n;){if(n.nodeType===3){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qm(n)}}function Kg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=rs(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=rs(e.document)}return t}function Ym(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 ud(e,t,n){var u=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sb||jh==null||jh!==rs(u)||(u=jh,"selectionStart"in u&&Ym(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Yp&&vs(Yp,u)||(Yp=u,u=yn(bb,"onSelect"),0<u.length&&(t=new qt("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=jh)))}function Bo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Vo(e){if(Tb[e])return Tb[e];if(!Bh[e])return e;var t=Bh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ZS)return Tb[e]=t[n];return e}function Ll(e,t){$S.set(e,t),he(t,[e])}function Un(e,t){if(typeof e=="object"&&e!==null){var n=Eb.get(e);return n!==void 0?n:(t={value:e,source:t,stack:jg(t)},Eb.set(e,t),t)}return{value:e,source:t,stack:jg(t)}}function od(){for(var e=Vh,t=_b=Vh=0;t<e;){var n=Hi[t];Hi[t++]=null;var u=Hi[t];Hi[t++]=null;var r=Hi[t];Hi[t++]=null;var c=Hi[t];if(Hi[t++]=null,u!==null&&r!==null){var p=u.pending;p===null?r.next=r:(r.next=p.next,p.next=r),u.pending=r}c!==0&&$g(n,r,c)}}function rd(e,t,n,u){Hi[Vh++]=e,Hi[Vh++]=t,Hi[Vh++]=n,Hi[Vh++]=u,_b|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Gm(e,t,n,u){return rd(e,t,n,u),cd(e)}function Nn(e,t){return rd(e,null,null,t),cd(e)}function $g(e,t,n){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n);for(var r=!1,c=e.return;c!==null;)c.childLanes|=n,u=c.alternate,u!==null&&(u.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&X0||(r=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,r&&t!==null&&(r=31-Qa(n),e=c.hiddenUpdates,u=e[r],u===null?e[r]=[t]:u.push(t),t.lane=n|536870912),c):null}function cd(e){if(sg>Tw)throw jf=sg=0,fg=e1=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.");jf>xw&&(jf=0,fg=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&&Fy(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Fy(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Lo(e){if(ki===null)return e;var t=ki(e);return t===void 0?e:t.current}function Zm(e){if(ki===null)return e;var t=ki(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Lo(e.render),e.render!==t)?(t={$$typeof:mo,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Wg(e,t){if(ki===null)return!1;var n=e.elementType;t=t.type;var u=!1,r=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||r===fl)&&(u=!0);break;case 11:(r===mo||r===fl)&&(u=!0);break;case 14:case 15:(r===Th||r===fl)&&(u=!0);break;default:return!1}return!!(u&&(e=ki(n),e!==void 0&&e===ki(t)))}function sd(e){ki!==null&&typeof WeakSet=="function"&&(Lh===null&&(Lh=new WeakSet),Lh.add(e))}function qo(e,t,n){var u=e.alternate,r=e.child,c=e.sibling,p=e.tag,b=e.type,E=null;switch(p){case 0:case 15:case 1:E=b;break;case 11:E=b.render}if(ki===null)throw Error("Expected resolveFamily to be set during hot reload.");var A=!1;b=!1,E!==null&&(E=ki(E),E!==void 0&&(n.has(E)?b=!0:t.has(E)&&(p===1?b=!0:A=!0))),Lh!==null&&(Lh.has(e)||u!==null&&Lh.has(u))&&(b=!0),b&&(e._debugNeedsRemount=!0),(b||A)&&(u=Nn(e,2),u!==null&&bt(u,e,2)),r===null||b||qo(r,t,n),c!==null&&qo(c,t,n)}function nb(e,t,n,u){this.tag=e,this.key=n,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=u,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,FS||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function fd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Si(e,t){var n=e.alternate;switch(n===null?(n=j(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Lo(e.type);break;case 1:n.type=Lo(e.type);break;case 11:n.type=Zm(e.type)}return n}function Xm(e,t){e.flags&=65011714;var n=e.alternate;return n===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=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function dd(e,t,n,u,r,c){var p=0,b=e;if(typeof e=="function")fd(e)&&(p=1),b=Lo(b);else if(typeof e=="string")p=Z(),p=sh(e,n,p)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xh:return t=j(31,n,t,r),t.elementType=xh,t.lanes=c,t;case ho:return El(n.children,r,c,t);case dr:p=8,r|=In,r|=Ou;break;case sf:return e=n,u=r,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=j(12,e,t,u|Rn),t.elementType=sf,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case yo:return t=j(13,n,t,r),t.elementType=yo,t.lanes=c,t;case Sh:return t=j(19,n,t,r),t.elementType=Sh,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M0:case Wn:p=10;break e;case ff:p=9;break e;case mo:p=11,b=Zm(b);break e;case Th:p=14;break e;case fl:p=16,b=null;break e}b="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(b+=" 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?n="null":ja(e)?n="array":e!==void 0&&e.$$typeof===Tu?(n="<"+(it(e.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(p=u?wt(u):null)&&(b+=`
|
|
163
|
+
This will cause a hydration error.%s`,t,n),!1}function fs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Fv(e){return e.replace(pb,function(t,n){return n.toUpperCase()})}function ds(e,t,n){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?Ui.hasOwnProperty(t)&&Ui[t]||(Ui[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Fv(t.replace(vo,"ms-")))):xf.test(t)?Ui.hasOwnProperty(t)&&Ui[t]||(Ui[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Np.test(n)||Hp.hasOwnProperty(n)&&Hp[n]||(Hp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Np,""))),typeof n=="number"&&(isNaN(n)?kp||(kp=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Ef||(Ef=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,n):typeof n!="number"||n===0||jp.has(t)?t==="float"?e.cssFloat=n:(Te(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function td(e,t,n){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,n!=null){if(t){var u={};if(n){for(var r in n)if(n.hasOwnProperty(r)&&!t.hasOwnProperty(r))for(var c=Ci[r]||[r],p=0;p<c.length;p++)u[c[p]]=r}for(var b in t)if(t.hasOwnProperty(b)&&(!n||n[b]!==t[b]))for(r=Ci[b]||[b],c=0;c<r.length;c++)u[r[c]]=b;b={};for(var E in t)for(r=Ci[E]||[E],c=0;c<r.length;c++)b[r[c]]=E;E={};for(var A in u)if(r=u[A],(c=b[A])&&r!==c&&(p=r+","+c,!E[p])){E[p]=!0,p=console;var $=t[r];p.error.call(p,"%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.",$==null||typeof $=="boolean"||$===""?"Removing":"Updating",r,c)}}for(var P in n)!n.hasOwnProperty(P)||t!=null&&t.hasOwnProperty(P)||(P.indexOf("--")===0?e.setProperty(P,""):P==="float"?e.cssFloat="":e[P]="");for(var K in t)A=t[K],t.hasOwnProperty(K)&&n[K]!==A&&ds(e,K,A)}else for(u in t)t.hasOwnProperty(u)&&ds(e,u,t[u])}function Ho(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 ko(e){return Nh.get(e)||e}function Yr(e,t){if(zi.call(bo,t)&&bo[t])return!0;if(Y0.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),bo[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0}if(Hh.test(t)){if(e=t.toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return bo[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0)}return!0}function Vg(e,t){var n=[],u;for(u in t)Yr(e,u)||n.push(u);t=n.map(function(r){return"`"+r+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function jm(e,t,n,u){if(zi.call(Ka,t)&&Ka[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="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."),Ka[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(r)?e[r]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),Ka[t]=!0;if(a.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ka[t]=!0}else if(a.test(t))return l.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ka[t]=!0;if(i.test(t)||o.test(t))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ka[t]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ka[t]=!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Ka[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ka[t]=!0;if(_f.hasOwnProperty(r)){if(r=_f[r],r!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,r),Ka[t]=!0}else if(t!==r)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,r),Ka[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 n){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 r=t.toLowerCase().slice(0,5),r==="data-"||r==="aria-"?!0:(n?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,t,t,n,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.',n,t,t,n,t,t,t),Ka[t]=!0)}case"function":case"symbol":return Ka[t]=!0,!1;case"string":if(n==="false"||n==="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}?",n,t,n==="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,n),Ka[t]=!0}}return!0}function Lg(e,t,n){var u=[],r;for(r in t)jm(e,r,t[r],n)||u.push(r);t=u.map(function(c){return"`"+c+"`"}).join(", "),u.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<u.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 Ii(e){return f.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Vl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ad(e){var t=Ia(e);if(t&&(e=t.stateNode)){var n=e[Fn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Om(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(ee(t,"name"),n=n.querySelectorAll('input[name="'+Ya(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var r=u[Fn]||null;if(!r)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Om(u,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)u=n[t],u.form===e.form&&Rm(u)}break e;case"textarea":Dm(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Wi(e,!!n.multiple,t,!1)}}}function Gr(e,t,n){if(z)return e(t,n);z=!0;try{var u=e(t);return u}finally{if(z=!1,(S!==null||T!==null)&&(ir(),S&&(t=S,e=T,T=S=null,ad(t),e)))for(t=0;t<e.length;t++)ad(e[t])}}function xl(e,t){var n=e.stateNode;if(n===null)return null;var u=n[Fn]||null;if(u===null)return null;n=u[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":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function nd(){if(Ge)return Ge;var e,t=F,n=t.length,u,r="value"in Q?Q.value:Q.textContent,c=r.length;for(e=0;e<n&&t[e]===r[e];e++);var p=n-e;for(u=1;u<=p&&t[n-u]===r[c-u];u++);return Ge=r.slice(e,1<u?1-u:void 0)}function jo(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 hs(){return!0}function ms(){return!1}function en(e){function t(n,u,r,c,p){this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(n=e[b],this[b]=n?n(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?hs:ms,this.isPropagationStopped=ms,this}return Pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=hs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}function qg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=B_[e])?!!t[e]:!1}function dn(){return qg}function Vu(e,t){switch(e){case"keyup":return W_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==BS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ys(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function ps(e,t){switch(e){case"compositionend":return ys(t);case"keypress":return t.which!==LS?null:(YS=!0,qS);case"textInput":return e=t.data,e===qS&&YS?null:e;default:return null}}function Iv(e,t){if(kh)return e==="compositionend"||!vb&&Vu(e,t)?(e=nd(),Ge=F=Q=null,kh=!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 VS&&t.locale!=="ko"?null:t.data;default:return null}}function ld(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!I_[e.type]:t==="textarea"}function Bm(e){if(!Y)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 Zr(e,t,n,u){S?T?T.push(u):T=[u]:S=u,t=yn(t,"onChange"),0<t.length&&(n=new qt("onChange","change",null,n,u),e.push({event:n,listeners:t}))}function id(e){ep(e,0)}function gs(e){var t=Cn(e);if(Rm(t))return e}function Yg(e,t){if(e==="change")return t}function Gg(){Vp&&(Vp.detachEvent("onpropertychange",Zg),Lp=Vp=null)}function Zg(e){if(e.propertyName==="value"&&gs(Lp)){var t=[];Zr(t,Lp,e,Vl(e)),Gr(id,t)}}function Vm(e,t,n){e==="focusin"?(Gg(),Vp=t,Lp=n,Vp.attachEvent("onpropertychange",Zg)):e==="focusout"&&Gg()}function Pv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gs(Lp)}function eb(e,t){if(e==="click")return gs(t)}function tb(e,t){if(e==="input"||e==="change")return gs(t)}function ab(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function vs(e,t){if(hl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var r=n[u];if(!zi.call(t,r)||!hl(e[r],t[r]))return!1}return!0}function Lm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xg(e,t){var n=Lm(e);e=0;for(var u;n;){if(n.nodeType===3){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Lm(n)}}function Qg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=rs(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=rs(e.document)}return t}function qm(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 ud(e,t,n){var u=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sb||jh==null||jh!==rs(u)||(u=jh,"selectionStart"in u&&qm(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),qp&&vs(qp,u)||(qp=u,u=yn(bb,"onSelect"),0<u.length&&(t=new qt("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=jh)))}function Bo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Vo(e){if(Tb[e])return Tb[e];if(!Bh[e])return e;var t=Bh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ZS)return Tb[e]=t[n];return e}function Ll(e,t){$S.set(e,t),he(t,[e])}function Un(e,t){if(typeof e=="object"&&e!==null){var n=Eb.get(e);return n!==void 0?n:(t={value:e,source:t,stack:kg(t)},Eb.set(e,t),t)}return{value:e,source:t,stack:kg(t)}}function od(){for(var e=Vh,t=_b=Vh=0;t<e;){var n=Hi[t];Hi[t++]=null;var u=Hi[t];Hi[t++]=null;var r=Hi[t];Hi[t++]=null;var c=Hi[t];if(Hi[t++]=null,u!==null&&r!==null){var p=u.pending;p===null?r.next=r:(r.next=p.next,p.next=r),u.pending=r}c!==0&&Jg(n,r,c)}}function rd(e,t,n,u){Hi[Vh++]=e,Hi[Vh++]=t,Hi[Vh++]=n,Hi[Vh++]=u,_b|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Ym(e,t,n,u){return rd(e,t,n,u),cd(e)}function Nn(e,t){return rd(e,null,null,t),cd(e)}function Jg(e,t,n){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n);for(var r=!1,c=e.return;c!==null;)c.childLanes|=n,u=c.alternate,u!==null&&(u.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&Z0||(r=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,r&&t!==null&&(r=31-Qa(n),e=c.hiddenUpdates,u=e[r],u===null?e[r]=[t]:u.push(t),t.lane=n|536870912),c):null}function cd(e){if(cg>Tw)throw jf=cg=0,sg=e1=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.");jf>xw&&(jf=0,sg=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&&Wy(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Wy(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Lo(e){if(ki===null)return e;var t=ki(e);return t===void 0?e:t.current}function Gm(e){if(ki===null)return e;var t=ki(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Lo(e.render),e.render!==t)?(t={$$typeof:mo,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function $g(e,t){if(ki===null)return!1;var n=e.elementType;t=t.type;var u=!1,r=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||r===fl)&&(u=!0);break;case 11:(r===mo||r===fl)&&(u=!0);break;case 14:case 15:(r===Th||r===fl)&&(u=!0);break;default:return!1}return!!(u&&(e=ki(n),e!==void 0&&e===ki(t)))}function sd(e){ki!==null&&typeof WeakSet=="function"&&(Lh===null&&(Lh=new WeakSet),Lh.add(e))}function qo(e,t,n){var u=e.alternate,r=e.child,c=e.sibling,p=e.tag,b=e.type,E=null;switch(p){case 0:case 15:case 1:E=b;break;case 11:E=b.render}if(ki===null)throw Error("Expected resolveFamily to be set during hot reload.");var A=!1;b=!1,E!==null&&(E=ki(E),E!==void 0&&(n.has(E)?b=!0:t.has(E)&&(p===1?b=!0:A=!0))),Lh!==null&&(Lh.has(e)||u!==null&&Lh.has(u))&&(b=!0),b&&(e._debugNeedsRemount=!0),(b||A)&&(u=Nn(e,2),u!==null&&bt(u,e,2)),r===null||b||qo(r,t,n),c!==null&&qo(c,t,n)}function nb(e,t,n,u){this.tag=e,this.key=n,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=u,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,FS||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function fd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Si(e,t){var n=e.alternate;switch(n===null?(n=j(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Lo(e.type);break;case 1:n.type=Lo(e.type);break;case 11:n.type=Gm(e.type)}return n}function Zm(e,t){e.flags&=65011714;var n=e.alternate;return n===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=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function dd(e,t,n,u,r,c){var p=0,b=e;if(typeof e=="function")fd(e)&&(p=1),b=Lo(b);else if(typeof e=="string")p=Z(),p=sh(e,n,p)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xh:return t=j(31,n,t,r),t.elementType=xh,t.lanes=c,t;case ho:return El(n.children,r,c,t);case dr:p=8,r|=In,r|=Ou;break;case sf:return e=n,u=r,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=j(12,e,t,u|Rn),t.elementType=sf,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case yo:return t=j(13,n,t,r),t.elementType=yo,t.lanes=c,t;case Sh:return t=j(19,n,t,r),t.elementType=Sh,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D0:case Wn:p=10;break e;case ff:p=9;break e;case mo:p=11,b=Gm(b);break e;case Th:p=14;break e;case fl:p=16,b=null;break e}b="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(b+=" 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?n="null":ja(e)?n="array":e!==void 0&&e.$$typeof===Tu?(n="<"+(it(e.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(p=u?wt(u):null)&&(b+=`
|
|
164
164
|
|
|
165
|
-
Check the render method of \``+p+"`."),p=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+b)),b=null}return t=j(p,n,t,r),t.elementType=e,t.type=b,t.lanes=c,t._debugOwner=u,t}function bs(e,t,n){return t=dd(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function El(e,t,n,u){return e=j(7,e,u,t),e.lanes=n,e}function
|
|
165
|
+
Check the render method of \``+p+"`."),p=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+b)),b=null}return t=j(p,n,t,r),t.elementType=e,t.type=b,t.lanes=c,t._debugOwner=u,t}function bs(e,t,n){return t=dd(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function El(e,t,n,u){return e=j(7,e,u,t),e.lanes=n,e}function Xm(e,t,n){return e=j(6,e,null,t),e.lanes=n,e}function Qm(e,t,n){return t=j(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yo(e,t){ql(),qh[Yh++]=Q0,qh[Yh++]=X0,X0=e,Q0=t}function Km(e,t,n){ql(),ji[Bi++]=gr,ji[Bi++]=vr,ji[Bi++]=wf,wf=e;var u=gr;e=vr;var r=32-Qa(u)-1;u&=~(1<<r),n+=1;var c=32-Qa(t)+r;if(30<c){var p=r-r%5;c=(u&(1<<p)-1).toString(32),u>>=p,r-=p,gr=1<<32-Qa(t)+r|n<<r|u,vr=c+e}else gr=1<<c|n<<r|u,vr=e}function hd(e){ql(),e.return!==null&&(Yo(e,1),Km(e,1,0))}function Go(e){for(;e===X0;)X0=qh[--Yh],qh[Yh]=null,Q0=qh[--Yh],qh[Yh]=null;for(;e===wf;)wf=ji[--Bi],ji[Bi]=null,vr=ji[--Bi],ji[Bi]=null,gr=ji[--Bi],ji[Bi]=null}function ql(){kt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Zo(e,t){if(e.return===null){if(Vi===null)Vi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Vi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Vi.distanceFromLeaf>t&&(Vi.distanceFromLeaf=t)}return Vi}var n=Zo(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Xr(e,t){br||(e=Zo(e,0),e.serverProps=null,t!==null&&(t=ih(t),e.serverTail.push(t)))}function Lu(e){var t="",n=Vi;throw n!==null&&(Vi=null,t=Bu(n)),Kr(Un(Error(`Hydration failed because the server rendered 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:
|
|
166
166
|
|
|
167
167
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
168
168
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -172,7 +172,7 @@ Check the render method of \``+p+"`."),p=29,n=Error("Element type is invalid: ex
|
|
|
172
172
|
|
|
173
173
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
174
174
|
|
|
175
|
-
https://react.dev/link/hydration-mismatch`+t),e)),wb}function
|
|
175
|
+
https://react.dev/link/hydration-mismatch`+t),e)),wb}function Jm(e){var t=e.stateNode,n=e.type,u=e.memoizedProps;switch(t[pn]=e,t[Fn]=u,yu(n,u),n){case"dialog":St("cancel",t),St("close",t);break;case"iframe":case"object":case"embed":St("load",t);break;case"video":case"audio":for(n=0;n<fg.length;n++)St(fg[n],t);break;case"source":St("error",t);break;case"img":case"image":case"link":St("error",t),St("load",t);break;case"details":St("toggle",t);break;case"input":Me("input",u),St("invalid",t),Co(t,u),zm(t,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),Ta(t);break;case"option":Bg(t,u);break;case"select":Me("select",u),St("invalid",t),bi(t,u);break;case"textarea":Me("textarea",u),St("invalid",t),Ff(t,u),Uo(t,u.value,u.defaultValue,u.children),Ta(t)}n=u.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||u.suppressHydrationWarning===!0||cr(t.textContent,n)?(u.popover!=null&&(St("beforetoggle",t),St("toggle",t)),u.onScroll!=null&&St("scroll",t),u.onScrollEnd!=null&&St("scrollend",t),u.onClick!=null&&(t.onclick=no),t=!0):t=!1,t||Lu(e)}function md(e){for(ml=e.return;ml;)switch(ml.tag){case 5:case 13:So=!1;return;case 27:case 3:So=!0;return;default:ml=ml.return}}function Xo(e){if(e!==ml)return!1;if(!kt)return md(e),kt=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||io(e.type,e.memoizedProps)),n=!n),n&&za){for(n=za;n;){var u=Zo(e,0),r=ih(n);u.serverTail.push(r),n=r.type==="Suspense"?zc(n):Jn(n.nextSibling)}Lu(e)}if(md(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.");za=zc(e)}else t===27?(t=za,ka(e.type)?(e=d1,d1=null,za=e):za=t):za=ml?Jn(e.stateNode.nextSibling):null;return!0}function Qr(){za=ml=null,br=kt=!1}function $m(){var e=Af;return e!==null&&(gl===null?gl=e:gl.push.apply(gl,e),Af=null),e}function Kr(e){Af===null?Af=[e]:Af.push(e)}function Wg(){var e=Vi;if(e!==null){Vi=null;for(var t=Bu(e);0<e.children.length;)e=e.children[0];je(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:
|
|
176
176
|
|
|
177
177
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
178
178
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -182,9 +182,9 @@ https://react.dev/link/hydration-mismatch`+t),e)),wb}function $m(e){var t=e.stat
|
|
|
182
182
|
|
|
183
183
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
184
184
|
|
|
185
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function yd(){Gh=
|
|
185
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function yd(){Gh=K0=null,Zh=!1}function qu(e,t,n){Re(Ab,t._currentValue,e),t._currentValue=n,Re(Rb,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==tT&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=tT}function Pi(e,t){e._currentValue=Ab.current;var n=Rb.current;se(Rb,t),e._currentRenderer=n,se(Ab,t)}function Wm(e,t,n){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}e!==n&&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 En(e,t,n,u){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var c=r.dependencies;if(c!==null){var p=r.child;c=c.firstContext;e:for(;c!==null;){var b=c;c=r;for(var E=0;E<t.length;E++)if(b.context===t[E]){c.lanes|=n,b=c.alternate,b!==null&&(b.lanes|=n),Wm(c.return,n,e),u||(p=null);break e}c=b.next}}else if(r.tag===18){if(p=r.return,p===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");p.lanes|=n,c=p.alternate,c!==null&&(c.lanes|=n),Wm(p,n,e),p=null}else p=r.child;if(p!==null)p.return=r;else for(p=r;p!==null;){if(p===e){p=null;break}if(r=p.sibling,r!==null){r.return=p.return,p=r;break}p=p.return}r=p}}function eu(e,t,n,u){e=null;for(var r=t,c=!1;r!==null;){if(!c){if((r.flags&524288)!==0)c=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var p=r.alternate;if(p===null)throw Error("Should have a current fiber. This is a bug in React.");if(p=p.memoizedProps,p!==null){var b=r.type;hl(r.pendingProps.value,p.value)||(e!==null?e.push(b):e=[b])}}else if(r===Eh.current){if(p=r.alternate,p===null)throw Error("Should have a current fiber. This is a bug in React.");p.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(yg):e=[yg])}r=r.return}e!==null&&En(t,e,n,u),t.flags|=262144}function Ss(e){for(e=e.firstContext;e!==null;){if(!hl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Yu(e){K0=e,Gh=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function la(e){return Zh&&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()."),pd(K0,e)}function Ts(e,t){return K0===null&&Yu(e),pd(e,t)}function pd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Gh===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().");Gh=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Gh=Gh.next=t;return n}function Fm(){return{controller:new uw,data:new Map,refCount:0}}function _l(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 Qo(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&&ow(rw,function(){e.controller.abort()})}function nl(){var e=Rf;return Rf=0,e}function Jr(e){var t=Rf;return Rf=e,t}function $r(e){var t=Rf;return Rf+=e,t}function tu(e){Nl=Xh(),0>e.actualStartTime&&(e.actualStartTime=Nl)}function Gu(e){if(0<=Nl){var t=Xh()-Nl;e.actualDuration+=t,e.selfBaseDuration=t,Nl=-1}}function gd(e){if(0<=Nl){var t=Xh()-Nl;e.actualDuration+=t,Nl=-1}}function Yl(){if(0<=Nl){var e=Xh()-Nl;Nl=-1,Rf+=e}}function hn(){Nl=Xh()}function xs(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Fg(e,t){if(Yp===null){var n=Yp=[];Ob=0,Of=th(),Qh={status:"pending",value:void 0,then:function(u){n.push(u)}}}return Ob++,t.then(Im,Im),t}function Im(){if(--Ob===0&&Yp!==null){Qh!==null&&(Qh.status="fulfilled");var e=Yp;Yp=null,Of=0,Qh=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function lb(e,t){var n=[],u={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(u.status="rejected",u.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),u}function Pm(){var e=zf.current;return e!==null?e:ra.pooledCache}function vd(e,t){t===null?Re(zf,zf.current,e):Re(zf,t.pool,e)}function ey(){var e=Pm();return e===null?null:{parent:on._currentValue,pool:e}}function ty(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function bd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Hn(){}function ay(e,t,n){J.actQueue!==null&&(J.didUsePromise=!0);var u=e.thenables;switch(n=u[n],n===void 0?u.push(t):n!==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(Hn,Hn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,il(e),e;default:if(typeof t.status=="string")t.then(Hn,Hn);else{if(e=ra,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(r){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=r}},function(r){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,il(e),e}throw Wp=t,P0=!0,$p}}function ll(){if(Wp===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Wp;return Wp=null,P0=!1,e}function il(e){if(e===$p||e===I0)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 Zu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Es(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 Gl(e){return{lane:e,tag:uT,payload:null,callback:null,next:null}}function Zl(e,t,n){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,Mb===u&&!cT){var r=Ae(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.
|
|
186
186
|
|
|
187
|
-
Please update the following component: %s`,r),cT=!0}return(Kt&pl)!==si?(r=u.pending,r===null?t.next=t:(t.next=r.next,r.next=t),u.pending=t,t=cd(e)
|
|
187
|
+
Please update the following component: %s`,r),cT=!0}return(Kt&pl)!==si?(r=u.pending,r===null?t.next=t:(t.next=r.next,r.next=t),u.pending=t,t=cd(e),Jg(e,null,n),t):(rd(e,u,t,n),cd(e))}function Ko(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,Qe(e,n)}}function au(e,t){var n=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,n===u)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var p={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=p:c=c.next=p,n=n.next}while(n!==null);c===null?r=c=t:c=c.next=t}else r=c=t;n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:c,shared:u.shared,callbacks:u.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wr(){if(Cb){var e=Qh;if(e!==null)throw e}}function Xu(e,t,n,u){Cb=!1;var r=e.updateQueue;Xc=!1,Mb=r.shared;var c=r.firstBaseUpdate,p=r.lastBaseUpdate,b=r.shared.pending;if(b!==null){r.shared.pending=null;var E=b,A=E.next;E.next=null,p===null?c=A:p.next=A,p=E;var $=e.alternate;$!==null&&($=$.updateQueue,b=$.lastBaseUpdate,b!==p&&(b===null?$.firstBaseUpdate=A:b.next=A,$.lastBaseUpdate=E))}if(c!==null){var P=r.baseState;p=0,$=A=E=null,b=c;do{var K=b.lane&-536870913,te=K!==b.lane;if(te?(At&K)===K:(u&K)===K){K!==0&&K===Of&&(Cb=!0),$!==null&&($=$.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{K=e;var Ue=b,We=t,ca=n;switch(Ue.tag){case oT:if(Ue=Ue.payload,typeof Ue=="function"){Zh=!0;var zt=Ue.call(ca,P,We);if(K.mode&In){$e(!0);try{Ue.call(ca,P,We)}finally{$e(!1)}}Zh=!1,P=zt;break e}P=Ue;break e;case Db:K.flags=K.flags&-65537|128;case uT:if(zt=Ue.payload,typeof zt=="function"){if(Zh=!0,Ue=zt.call(ca,P,We),K.mode&In){$e(!0);try{zt.call(ca,P,We)}finally{$e(!1)}}Zh=!1}else Ue=zt;if(Ue==null)break e;P=Pe({},P,Ue);break e;case rT:Xc=!0}}K=b.callback,K!==null&&(e.flags|=64,te&&(e.flags|=8192),te=r.callbacks,te===null?r.callbacks=[K]:te.push(K))}else te={lane:K,tag:b.tag,payload:b.payload,callback:b.callback,next:null},$===null?(A=$=te,E=P):$=$.next=te,p|=K;if(b=b.next,b===null){if(b=r.shared.pending,b===null)break;te=b,b=te.next,te.next=null,r.lastBaseUpdate=te,r.shared.pending=null}}while(!0);$===null&&(E=P),r.baseState=E,r.firstBaseUpdate=A,r.lastBaseUpdate=$,c===null&&(r.shared.lanes=0),$c|=p,e.lanes=p,e.memoizedState=P}Mb=null}function Jo(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function ib(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Jo(n[e],t)}function kn(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Jo(n[e],t)}function Sd(e,t){var n=Eo;Re(ev,n,e),Re(Kh,t,e),Eo=n|t.baseLanes}function Xl(e){Re(ev,Eo,e),Re(Kh,Kh.current,e)}function Td(e){Eo=ev.current,se(Kh,e),se(ev,e)}function ct(){var e=I;Yi===null?Yi=[e]:Yi.push(e)}function ce(){var e=I;if(Yi!==null&&(Tr++,Yi[Tr]!==e)){var t=Ae(et);if(!sT.has(t)&&(sT.add(t),Yi!==null)){for(var n="",u=0;u<=Tr;u++){var r=Yi[u],c=u===Tr?e:r;for(r=u+1+". "+r;30>r.length;)r+=" ";r+=c+`
|
|
188
188
|
`,n+=r}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
|
|
189
189
|
|
|
190
190
|
Previous render Next render
|
|
@@ -194,17 +194,17 @@ Please update the following component: %s`,r),cT=!0}return(Kt&pl)!==si?(r=u.pend
|
|
|
194
194
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
195
195
|
2. You might be breaking the Rules of Hooks
|
|
196
196
|
3. You might have more than one copy of React in the same app
|
|
197
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Ku(e,t){if(
|
|
197
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Ku(e,t){if(Ip)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.",I),!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.
|
|
198
198
|
|
|
199
199
|
Previous: %s
|
|
200
|
-
Incoming: %s`,I,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!hl(e[n],t[n]))return!1;return!0}function Ir(e,t,n,u,r,c){Qc=c,et=t,Yi=e!==null?e._debugHookTypes:null,Tr=-1,Pp=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(c=Ae(et),Ub.has(c)||(Ub.add(c),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.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e!==null&&e.memoizedState!==null?Hb:Yi!==null?hT:Nb,Mf=c=(t.mode&In)!==fa;var p=kb(n,u,r);if(Mf=!1,$h&&(p=jn(t,n,u,r)),c){$e(!0);try{p=jn(t,n,u,r)}finally{$e(!1)}}return _s(e,t),p}function _s(e,t){t._debugHookTypes=Yi,t.dependencies===null?Sr!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Sr}):t.dependencies._debugThenableState=Sr,J.H=lv;var n=na!==null&&na.next!==null;if(Qc=0,Yi=I=$a=na=et=null,Tr=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),av=!1,Ip=0,Sr=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||gn||(e=e.dependencies,e!==null&&Ss(e)&&(gn=!0)),ev?(ev=!1,e=!0):e=!1,e&&(t=Ae(t)||"Unknown",fT.has(t)||Ub.has(t)||(fT.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 jn(e,t,n,u){et=e;var r=0;do{if($h&&(Sr=null),Ip=0,$h=!1,r>=sw)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,Pp=!1,$a=na=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}Tr=-1,J.H=mT,c=kb(t,n,u)}while($h);return c}function wl(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?$o(t):t,e=e.useState()[0],(na!==null?na.memoizedState:null)!==e&&(et.flags|=1024),t}function nu(){var e=nv!==0;return nv=0,e}function Ql(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ou)!==fa?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Kl(e){if(av){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}av=!1}Qc=0,Yi=$a=na=et=null,Tr=-1,I=null,$h=!1,Ip=nv=0,Sr=null}function wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $a===null?et.memoizedState=$a=e:$a=$a.next=e,$a}function Zt(){if(na===null){var e=et.alternate;e=e!==null?e.memoizedState:null}else e=na.next;var t=$a===null?et.memoizedState:$a.next;if(t!==null)$a=t,na=e;else{if(e===null)throw et.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.");na=e,e={memoizedState:na.memoizedState,baseState:na.baseState,baseQueue:na.baseQueue,queue:na.queue,next:null},$a===null?et.memoizedState=$a=e:$a=$a.next=e}return $a}function ws(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $o(e){var t=Ip;return Ip+=1,Sr===null&&(Sr=ay()),e=ny(Sr,e,t),t=et,($a===null?t.memoizedState:$a.next)===null&&(t=t.alternate,J.H=t!==null&&t.memoizedState!==null?Hb:Nb),e}function pa(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return $o(e);if(e.$$typeof===Wn)return la(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Jt(e){var t=null,n=et.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var u=et.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ws(),et.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Pp)for(n=t.data[t.index]=Array(e),u=0;u<e;u++)n[u]=C0;else n.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.",n.length,e);return t.index++,n}function st(e,t){return typeof t=="function"?t(e):t}function lu(e,t,n){var u=wa();if(n!==void 0){var r=n(t);if(Mf){$e(!0);try{n(t)}finally{$e(!1)}}}else r=t;return u.memoizedState=u.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},u.queue=e,e=e.dispatch=Hs.bind(null,et,e),[u.memoizedState,e]}function _n(e){var t=Zt();return As(t,na,e)}function As(e,t,n){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=n;var r=e.baseQueue,c=u.pending;if(c!==null){if(r!==null){var p=r.next;r.next=c.next,c.next=p}t.baseQueue!==r&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=r=c,u.pending=null}if(c=e.baseState,r===null)e.memoizedState=c;else{t=r.next;var b=p=null,E=null,A=t,$=!1;do{var P=A.lane&-536870913;if(P!==A.lane?(At&P)===P:(Qc&P)===P){var K=A.revertLane;if(K===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),P===Of&&($=!0);else if((Qc&K)===K){A=A.next,K===Of&&($=!0);continue}else P={lane:0,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},E===null?(b=E=P,p=c):E=E.next=P,et.lanes|=K,$c|=K;P=A.action,Mf&&n(c,P),c=A.hasEagerState?A.eagerState:n(c,P)}else K={lane:P,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},E===null?(b=E=K,p=c):E=E.next=K,et.lanes|=P,$c|=P;A=A.next}while(A!==null&&A!==t);if(E===null?p=c:E.next=b,!hl(c,e.memoizedState)&&(gn=!0,$&&(n=Qh,n!==null)))throw n;e.memoizedState=c,e.baseState=p,e.baseQueue=E,u.lastRenderedState=c}return r===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Jl(e){var t=Zt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,c=t.memoizedState;if(r!==null){n.pending=null;var p=r=r.next;do c=e(c,p.action),p=p.next;while(p!==r);hl(c,t.memoizedState)||(gn=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,u]}function xd(e,t,n){var u=et,r=wa();if(kt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=n();Jh||c===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Jh=!0)}else{if(c=t(),Jh||(n=t(),hl(c,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(At&124)!==0||Pr(u,t,c)}return r.memoizedState=c,n={value:c,getSnapshot:t},r.queue=n,Ds(ly.bind(null,u,n,e),[e]),u.flags|=2048,Ei(qi|rn,lc(),ec.bind(null,u,n,c,t),null),c}function Rs(e,t,n){var u=et,r=Zt(),c=kt;if(c){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Jh){var p=t();hl(n,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)}(p=!hl((na||r).memoizedState,n))&&(r.memoizedState=n,gn=!0),r=r.queue;var b=ly.bind(null,u,r,e);if(Bn(2048,rn,b,[e]),r.getSnapshot!==t||p||$a!==null&&$a.memoizedState.tag&qi){if(u.flags|=2048,Ei(qi|rn,lc(),ec.bind(null,u,r,n,t),null),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(Qc&124)!==0||Pr(u,t,n)}return n}function Pr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=et.updateQueue,t===null?(t=ws(),et.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ec(e,t,n,u){t.value=n,t.getSnapshot=u,tc(t)&&Ed(e)}function ly(e,t,n){return n(function(){tc(t)&&Ed(e)})}function tc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!hl(e,n)}catch{return!0}}function Ed(e){var t=Nn(e,2);t!==null&&bt(t,e,2)}function iu(e){var t=wa();if(typeof e=="function"){var n=e;if(e=n(),Mf){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:e},t}function $l(e){e=iu(e);var t=e.queue,n=sc.bind(null,et,t);return t.dispatch=n,[e.memoizedState,n]}function Ti(e){var t=wa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Dd.bind(null,et,!0,n),n.dispatch=t,[e,t]}function xi(e,t){var n=Zt();return _d(n,na,e,t)}function _d(e,t,n,u){return e.baseState=n,As(e,na,typeof u=="function"?u:st)}function wd(e,t){var n=Zt();return na!==null?_d(n,na,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Os(e,t,n,u,r){if(cu(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};J.T!==null?n(!0):c.isTransition=!1,u(c),n=t.pending,n===null?(c.next=t.pending=c,zs(t,c)):(c.next=n.next,t.pending=n.next=c)}}function zs(e,t){var n=t.action,u=t.payload,r=e.state;if(t.isTransition){var c=J.T,p={};J.T=p,J.T._updatedFibers=new Set;try{var b=n(r,u),E=J.S;E!==null&&E(p,b),Ju(e,t,b)}catch(A){ac(e,t,A)}finally{J.T=c,c===null&&p._updatedFibers&&(e=p._updatedFibers.size,p._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{p=n(r,u),Ju(e,t,p)}catch(A){ac(e,t,A)}}function Ju(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(u){tn(e,t,u)},function(u){return ac(e,t,u)}),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.")):tn(e,t,n)}function tn(e,t,n){t.status="fulfilled",t.value=n,iy(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,zs(e,n)))}function ac(e,t,n){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=n,iy(t),t=t.next;while(t!==u)}e.action=null}function iy(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Pg(e,t){return t}function nc(e,t){if(kt){var n=ra.formState;if(n!==null){e:{var u=et;if(kt){if(za){t:{for(var r=za,c=So;r.nodeType!==8;){if(!c){r=null;break t}if(r=Jn(r.nextSibling),r===null){r=null;break t}}c=r.data,r=c===r1||c===dx?r:null}if(r){za=Jn(r.nextSibling),u=r.data===r1;break e}}Lu(u)}u=!1}u&&(t=n[0])}}return n=wa(),n.memoizedState=n.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pg,lastRenderedState:t},n.queue=u,n=sc.bind(null,et,u),u.dispatch=n,u=iu(!1),c=Dd.bind(null,et,!1,u.queue),u=wa(),r={state:t,dispatch:null,action:e,pending:null},u.queue=r,n=Os.bind(null,et,r,c,n),r.dispatch=n,u.memoizedState=e,[t,n,!1]}function Ad(e){var t=Zt();return Aa(t,na,e)}function Aa(e,t,n){if(t=As(e,t,Pg)[0],e=_n(st)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=$o(t)}catch(p){throw p===Wp?P0:p}else u=t;t=Zt();var r=t.queue,c=r.dispatch;return n!==t.memoizedState&&(et.flags|=2048,Ei(qi|rn,lc(),uy.bind(null,r,n),null)),[u,c,e]}function uy(e,t){e.action=t}function $u(e){var t=Zt(),n=na;if(n!==null)return Aa(t,n,e);Zt(),t=t.memoizedState,n=Zt();var u=n.queue.dispatch;return n.memoizedState=e,[t,u,!1]}function Ei(e,t,n,u){return e={tag:e,create:n,deps:u,inst:t,next:null},t=et.updateQueue,t===null&&(t=ws(),et.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function lc(){return{destroy:void 0,resource:void 0}}function Wu(e){var t=wa();return e={current:e},t.memoizedState=e}function Al(e,t,n,u){var r=wa();u=u===void 0?null:u,et.flags|=e,r.memoizedState=Ei(qi|t,lc(),n,u)}function Bn(e,t,n,u){var r=Zt();u=u===void 0?null:u;var c=r.memoizedState.inst;na!==null&&u!==null&&Ku(u,na.memoizedState.deps)?r.memoizedState=Ei(t,c,n,u):(et.flags|=e,r.memoizedState=Ei(qi|t,c,n,u))}function Ds(e,t){(et.mode&Ou)!==fa&&(et.mode&WS)===fa?Al(276826112,rn,e,t):Al(8390656,rn,e,t)}function oy(e,t){var n=4194308;return(et.mode&Ou)!==fa&&(n|=134217728),Al(n,On,e,t)}function ry(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():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 uu(e,t,n){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"),n=n!=null?n.concat([e]):null;var u=4194308;(et.mode&Ou)!==fa&&(u|=134217728),Al(u,On,ry.bind(null,t,e),n)}function ic(e,t,n){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"),n=n!=null?n.concat([e]):null,Bn(4,On,ry.bind(null,t,e),n)}function uc(e,t){return wa().memoizedState=[e,t===void 0?null:t],e}function Ms(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;return t!==null&&Ku(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Wo(e,t){var n=wa();t=t===void 0?null:t;var u=e();if(Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function Cs(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;if(t!==null&&Ku(t,u[1]))return u[0];if(u=e(),Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function oc(e,t){var n=wa();return rc(n,e,t)}function Rd(e,t){var n=Zt();return sy(n,na.memoizedState,e,t)}function cy(e,t){var n=Zt();return na===null?rc(n,e,t):sy(n,na.memoizedState,e,t)}function rc(e,t,n){return n===void 0||(Qc&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=qy(),et.lanes|=e,$c|=e,n)}function sy(e,t,n,u){return hl(n,t)?n:Kh.current!==null?(e=rc(e,n,u),hl(e,t)||(gn=!0),e):(Qc&42)===0?(gn=!0,e.memoizedState=n):(e=qy(),et.lanes|=e,$c|=e,t)}function cc(e,t,n,u,r){var c=Lt.p;Lt.p=c!==0&&c<Di?c:Di;var p=J.T,b={};J.T=b,Dd(e,!1,t,n),b._updatedFibers=new Set;try{var E=r(),A=J.S;if(A!==null&&A(b,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var $=lb(E,u);fc(e,t,$,ol(e))}else fc(e,t,u,ol(e))}catch(P){fc(e,t,{then:function(){},status:"rejected",reason:P},ol(e))}finally{Lt.p=c,J.T=p,p===null&&b._updatedFibers&&(e=b._updatedFibers.size,b._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 Od(e,t,n,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var r=fy(e).queue;cc(e,r,t,Yf,n===null?de:function(){return ou(e),n(u)})}function fy(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Yf,baseState:Yf,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:Yf},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ou(e){J.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=fy(e).next.queue;fc(e,t,{},ol(e))}function Us(){var e=iu(!1);return e=cc.bind(null,et,e.queue,!0,!1),wa().memoizedState=e,[!1,e]}function zd(){var e=_n(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:$o(e),t]}function ru(){var e=Jl(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:$o(e),t]}function Vn(){return la(pg)}function Fo(){var e=wa(),t=ra.identifierPrefix;if(kt){var n=vr,u=gr;n=(u&~(1<<32-Qa(u)-1)).toString(32)+n,t="«"+t+"R"+n,n=nv++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=cw++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Ns(){return wa().memoizedState=dy.bind(null,et)}function dy(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var u=ol(n);e=Gl(u);var r=Zl(n,e,u);r!==null&&(bt(r,n,u),Ko(r,n,u)),n=Im(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Hs(e,t,n){var u=arguments;typeof u[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()."),u=ol(e);var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};cu(e)?ks(t,r):(r=Gm(e,t,r,u),r!==null&&(bt(r,e,u),hy(r,t,u))),el(e,u)}function sc(e,t,n){var u=arguments;typeof u[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()."),u=ol(e),fc(e,t,n,u),el(e,u)}function fc(e,t,n,u){var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))ks(t,r);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var p=J.H;J.H=Du;try{var b=t.lastRenderedState,E=c(b,n);if(r.hasEagerState=!0,r.eagerState=E,hl(E,b))return rd(e,t,r,0),ra===null&&od(),!1}catch{}finally{J.H=p}}if(n=Gm(e,t,r,u),n!==null)return bt(n,e,u),hy(n,t,u),!0}return!1}function Dd(e,t,n,u){if(J.T===null&&Of===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."),u={lane:2,revertLane:th(),action:u,hasEagerState:!1,eagerState:null,next:null},cu(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Gm(e,n,u,2),t!==null&&bt(t,e,2);el(e,2)}function cu(e){var t=e.alternate;return e===et||t!==null&&t===et}function ks(e,t){$h=av=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hy(e,t,n){if((n&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,Qe(e,n)}}function Na(e){var t=gt;return e!=null&&(gt=t===null?e:t.concat(e)),t}function dc(e,t,n){for(var u=Object.keys(e.props),r=0;r<u.length;r++){var c=u[r];if(c!=="children"&&c!=="key"){t===null&&(t=bs(e,n.mode,0),t._debugInfo=gt,t.return=n),je(t,function(p){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p)},c);break}}}function Wl(e){var t=eg;return eg+=1,Wh===null&&(Wh=ay()),ny(Wh,e,t)}function at(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Vt(e,t){throw t.$$typeof===db?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
200
|
+
Incoming: %s`,I,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!hl(e[n],t[n]))return!1;return!0}function Ir(e,t,n,u,r,c){Qc=c,et=t,Yi=e!==null?e._debugHookTypes:null,Tr=-1,Ip=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(c=Ae(et),Ub.has(c)||(Ub.add(c),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.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e!==null&&e.memoizedState!==null?Hb:Yi!==null?hT:Nb,Mf=c=(t.mode&In)!==fa;var p=kb(n,u,r);if(Mf=!1,$h&&(p=jn(t,n,u,r)),c){$e(!0);try{p=jn(t,n,u,r)}finally{$e(!1)}}return _s(e,t),p}function _s(e,t){t._debugHookTypes=Yi,t.dependencies===null?Sr!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Sr}):t.dependencies._debugThenableState=Sr,J.H=nv;var n=na!==null&&na.next!==null;if(Qc=0,Yi=I=$a=na=et=null,Tr=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),tv=!1,Fp=0,Sr=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||gn||(e=e.dependencies,e!==null&&Ss(e)&&(gn=!0)),P0?(P0=!1,e=!0):e=!1,e&&(t=Ae(t)||"Unknown",fT.has(t)||Ub.has(t)||(fT.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 jn(e,t,n,u){et=e;var r=0;do{if($h&&(Sr=null),Fp=0,$h=!1,r>=sw)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,Ip=!1,$a=na=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}Tr=-1,J.H=mT,c=kb(t,n,u)}while($h);return c}function wl(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?$o(t):t,e=e.useState()[0],(na!==null?na.memoizedState:null)!==e&&(et.flags|=1024),t}function nu(){var e=av!==0;return av=0,e}function Ql(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ou)!==fa?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Kl(e){if(tv){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}tv=!1}Qc=0,Yi=$a=na=et=null,Tr=-1,I=null,$h=!1,Fp=av=0,Sr=null}function wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $a===null?et.memoizedState=$a=e:$a=$a.next=e,$a}function Zt(){if(na===null){var e=et.alternate;e=e!==null?e.memoizedState:null}else e=na.next;var t=$a===null?et.memoizedState:$a.next;if(t!==null)$a=t,na=e;else{if(e===null)throw et.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.");na=e,e={memoizedState:na.memoizedState,baseState:na.baseState,baseQueue:na.baseQueue,queue:na.queue,next:null},$a===null?et.memoizedState=$a=e:$a=$a.next=e}return $a}function ws(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $o(e){var t=Fp;return Fp+=1,Sr===null&&(Sr=ty()),e=ay(Sr,e,t),t=et,($a===null?t.memoizedState:$a.next)===null&&(t=t.alternate,J.H=t!==null&&t.memoizedState!==null?Hb:Nb),e}function pa(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return $o(e);if(e.$$typeof===Wn)return la(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Jt(e){var t=null,n=et.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var u=et.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ws(),et.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Ip)for(n=t.data[t.index]=Array(e),u=0;u<e;u++)n[u]=M0;else n.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.",n.length,e);return t.index++,n}function st(e,t){return typeof t=="function"?t(e):t}function lu(e,t,n){var u=wa();if(n!==void 0){var r=n(t);if(Mf){$e(!0);try{n(t)}finally{$e(!1)}}}else r=t;return u.memoizedState=u.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},u.queue=e,e=e.dispatch=Hs.bind(null,et,e),[u.memoizedState,e]}function _n(e){var t=Zt();return As(t,na,e)}function As(e,t,n){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=n;var r=e.baseQueue,c=u.pending;if(c!==null){if(r!==null){var p=r.next;r.next=c.next,c.next=p}t.baseQueue!==r&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=r=c,u.pending=null}if(c=e.baseState,r===null)e.memoizedState=c;else{t=r.next;var b=p=null,E=null,A=t,$=!1;do{var P=A.lane&-536870913;if(P!==A.lane?(At&P)===P:(Qc&P)===P){var K=A.revertLane;if(K===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),P===Of&&($=!0);else if((Qc&K)===K){A=A.next,K===Of&&($=!0);continue}else P={lane:0,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},E===null?(b=E=P,p=c):E=E.next=P,et.lanes|=K,$c|=K;P=A.action,Mf&&n(c,P),c=A.hasEagerState?A.eagerState:n(c,P)}else K={lane:P,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},E===null?(b=E=K,p=c):E=E.next=K,et.lanes|=P,$c|=P;A=A.next}while(A!==null&&A!==t);if(E===null?p=c:E.next=b,!hl(c,e.memoizedState)&&(gn=!0,$&&(n=Qh,n!==null)))throw n;e.memoizedState=c,e.baseState=p,e.baseQueue=E,u.lastRenderedState=c}return r===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Jl(e){var t=Zt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,c=t.memoizedState;if(r!==null){n.pending=null;var p=r=r.next;do c=e(c,p.action),p=p.next;while(p!==r);hl(c,t.memoizedState)||(gn=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,u]}function xd(e,t,n){var u=et,r=wa();if(kt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=n();Jh||c===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Jh=!0)}else{if(c=t(),Jh||(n=t(),hl(c,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(At&124)!==0||Pr(u,t,c)}return r.memoizedState=c,n={value:c,getSnapshot:t},r.queue=n,Ds(ny.bind(null,u,n,e),[e]),u.flags|=2048,Ei(qi|rn,lc(),ec.bind(null,u,n,c,t),null),c}function Rs(e,t,n){var u=et,r=Zt(),c=kt;if(c){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Jh){var p=t();hl(n,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)}(p=!hl((na||r).memoizedState,n))&&(r.memoizedState=n,gn=!0),r=r.queue;var b=ny.bind(null,u,r,e);if(Bn(2048,rn,b,[e]),r.getSnapshot!==t||p||$a!==null&&$a.memoizedState.tag&qi){if(u.flags|=2048,Ei(qi|rn,lc(),ec.bind(null,u,r,n,t),null),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(Qc&124)!==0||Pr(u,t,n)}return n}function Pr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=et.updateQueue,t===null?(t=ws(),et.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ec(e,t,n,u){t.value=n,t.getSnapshot=u,tc(t)&&Ed(e)}function ny(e,t,n){return n(function(){tc(t)&&Ed(e)})}function tc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!hl(e,n)}catch{return!0}}function Ed(e){var t=Nn(e,2);t!==null&&bt(t,e,2)}function iu(e){var t=wa();if(typeof e=="function"){var n=e;if(e=n(),Mf){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:e},t}function $l(e){e=iu(e);var t=e.queue,n=sc.bind(null,et,t);return t.dispatch=n,[e.memoizedState,n]}function Ti(e){var t=wa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Dd.bind(null,et,!0,n),n.dispatch=t,[e,t]}function xi(e,t){var n=Zt();return _d(n,na,e,t)}function _d(e,t,n,u){return e.baseState=n,As(e,na,typeof u=="function"?u:st)}function wd(e,t){var n=Zt();return na!==null?_d(n,na,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Os(e,t,n,u,r){if(cu(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};J.T!==null?n(!0):c.isTransition=!1,u(c),n=t.pending,n===null?(c.next=t.pending=c,zs(t,c)):(c.next=n.next,t.pending=n.next=c)}}function zs(e,t){var n=t.action,u=t.payload,r=e.state;if(t.isTransition){var c=J.T,p={};J.T=p,J.T._updatedFibers=new Set;try{var b=n(r,u),E=J.S;E!==null&&E(p,b),Ju(e,t,b)}catch(A){ac(e,t,A)}finally{J.T=c,c===null&&p._updatedFibers&&(e=p._updatedFibers.size,p._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{p=n(r,u),Ju(e,t,p)}catch(A){ac(e,t,A)}}function Ju(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(u){tn(e,t,u)},function(u){return ac(e,t,u)}),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.")):tn(e,t,n)}function tn(e,t,n){t.status="fulfilled",t.value=n,ly(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,zs(e,n)))}function ac(e,t,n){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=n,ly(t),t=t.next;while(t!==u)}e.action=null}function ly(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ig(e,t){return t}function nc(e,t){if(kt){var n=ra.formState;if(n!==null){e:{var u=et;if(kt){if(za){t:{for(var r=za,c=So;r.nodeType!==8;){if(!c){r=null;break t}if(r=Jn(r.nextSibling),r===null){r=null;break t}}c=r.data,r=c===r1||c===dx?r:null}if(r){za=Jn(r.nextSibling),u=r.data===r1;break e}}Lu(u)}u=!1}u&&(t=n[0])}}return n=wa(),n.memoizedState=n.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ig,lastRenderedState:t},n.queue=u,n=sc.bind(null,et,u),u.dispatch=n,u=iu(!1),c=Dd.bind(null,et,!1,u.queue),u=wa(),r={state:t,dispatch:null,action:e,pending:null},u.queue=r,n=Os.bind(null,et,r,c,n),r.dispatch=n,u.memoizedState=e,[t,n,!1]}function Ad(e){var t=Zt();return Aa(t,na,e)}function Aa(e,t,n){if(t=As(e,t,Ig)[0],e=_n(st)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=$o(t)}catch(p){throw p===$p?I0:p}else u=t;t=Zt();var r=t.queue,c=r.dispatch;return n!==t.memoizedState&&(et.flags|=2048,Ei(qi|rn,lc(),iy.bind(null,r,n),null)),[u,c,e]}function iy(e,t){e.action=t}function $u(e){var t=Zt(),n=na;if(n!==null)return Aa(t,n,e);Zt(),t=t.memoizedState,n=Zt();var u=n.queue.dispatch;return n.memoizedState=e,[t,u,!1]}function Ei(e,t,n,u){return e={tag:e,create:n,deps:u,inst:t,next:null},t=et.updateQueue,t===null&&(t=ws(),et.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function lc(){return{destroy:void 0,resource:void 0}}function Wu(e){var t=wa();return e={current:e},t.memoizedState=e}function Al(e,t,n,u){var r=wa();u=u===void 0?null:u,et.flags|=e,r.memoizedState=Ei(qi|t,lc(),n,u)}function Bn(e,t,n,u){var r=Zt();u=u===void 0?null:u;var c=r.memoizedState.inst;na!==null&&u!==null&&Ku(u,na.memoizedState.deps)?r.memoizedState=Ei(t,c,n,u):(et.flags|=e,r.memoizedState=Ei(qi|t,c,n,u))}function Ds(e,t){(et.mode&Ou)!==fa&&(et.mode&WS)===fa?Al(276826112,rn,e,t):Al(8390656,rn,e,t)}function uy(e,t){var n=4194308;return(et.mode&Ou)!==fa&&(n|=134217728),Al(n,On,e,t)}function oy(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():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 uu(e,t,n){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"),n=n!=null?n.concat([e]):null;var u=4194308;(et.mode&Ou)!==fa&&(u|=134217728),Al(u,On,oy.bind(null,t,e),n)}function ic(e,t,n){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"),n=n!=null?n.concat([e]):null,Bn(4,On,oy.bind(null,t,e),n)}function uc(e,t){return wa().memoizedState=[e,t===void 0?null:t],e}function Ms(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;return t!==null&&Ku(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Wo(e,t){var n=wa();t=t===void 0?null:t;var u=e();if(Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function Cs(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;if(t!==null&&Ku(t,u[1]))return u[0];if(u=e(),Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function oc(e,t){var n=wa();return rc(n,e,t)}function Rd(e,t){var n=Zt();return cy(n,na.memoizedState,e,t)}function ry(e,t){var n=Zt();return na===null?rc(n,e,t):cy(n,na.memoizedState,e,t)}function rc(e,t,n){return n===void 0||(Qc&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Ly(),et.lanes|=e,$c|=e,n)}function cy(e,t,n,u){return hl(n,t)?n:Kh.current!==null?(e=rc(e,n,u),hl(e,t)||(gn=!0),e):(Qc&42)===0?(gn=!0,e.memoizedState=n):(e=Ly(),et.lanes|=e,$c|=e,t)}function cc(e,t,n,u,r){var c=Lt.p;Lt.p=c!==0&&c<Di?c:Di;var p=J.T,b={};J.T=b,Dd(e,!1,t,n),b._updatedFibers=new Set;try{var E=r(),A=J.S;if(A!==null&&A(b,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var $=lb(E,u);fc(e,t,$,ol(e))}else fc(e,t,u,ol(e))}catch(P){fc(e,t,{then:function(){},status:"rejected",reason:P},ol(e))}finally{Lt.p=c,J.T=p,p===null&&b._updatedFibers&&(e=b._updatedFibers.size,b._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 Od(e,t,n,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var r=sy(e).queue;cc(e,r,t,Yf,n===null?de:function(){return ou(e),n(u)})}function sy(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Yf,baseState:Yf,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:Yf},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ou(e){J.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=sy(e).next.queue;fc(e,t,{},ol(e))}function Us(){var e=iu(!1);return e=cc.bind(null,et,e.queue,!0,!1),wa().memoizedState=e,[!1,e]}function zd(){var e=_n(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:$o(e),t]}function ru(){var e=Jl(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:$o(e),t]}function Vn(){return la(yg)}function Fo(){var e=wa(),t=ra.identifierPrefix;if(kt){var n=vr,u=gr;n=(u&~(1<<32-Qa(u)-1)).toString(32)+n,t="«"+t+"R"+n,n=av++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=cw++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Ns(){return wa().memoizedState=fy.bind(null,et)}function fy(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var u=ol(n);e=Gl(u);var r=Zl(n,e,u);r!==null&&(bt(r,n,u),Ko(r,n,u)),n=Fm(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Hs(e,t,n){var u=arguments;typeof u[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()."),u=ol(e);var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};cu(e)?ks(t,r):(r=Ym(e,t,r,u),r!==null&&(bt(r,e,u),dy(r,t,u))),el(e,u)}function sc(e,t,n){var u=arguments;typeof u[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()."),u=ol(e),fc(e,t,n,u),el(e,u)}function fc(e,t,n,u){var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))ks(t,r);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var p=J.H;J.H=Du;try{var b=t.lastRenderedState,E=c(b,n);if(r.hasEagerState=!0,r.eagerState=E,hl(E,b))return rd(e,t,r,0),ra===null&&od(),!1}catch{}finally{J.H=p}}if(n=Ym(e,t,r,u),n!==null)return bt(n,e,u),dy(n,t,u),!0}return!1}function Dd(e,t,n,u){if(J.T===null&&Of===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."),u={lane:2,revertLane:th(),action:u,hasEagerState:!1,eagerState:null,next:null},cu(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Ym(e,n,u,2),t!==null&&bt(t,e,2);el(e,2)}function cu(e){var t=e.alternate;return e===et||t!==null&&t===et}function ks(e,t){$h=tv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function dy(e,t,n){if((n&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,Qe(e,n)}}function Na(e){var t=gt;return e!=null&&(gt=t===null?e:t.concat(e)),t}function dc(e,t,n){for(var u=Object.keys(e.props),r=0;r<u.length;r++){var c=u[r];if(c!=="children"&&c!=="key"){t===null&&(t=bs(e,n.mode,0),t._debugInfo=gt,t.return=n),je(t,function(p){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p)},c);break}}}function Wl(e){var t=Pp;return Pp+=1,Wh===null&&(Wh=ty()),ay(Wh,e,t)}function at(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Vt(e,t){throw t.$$typeof===db?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
201
201
|
- Multiple copies of the "react" package is used.
|
|
202
202
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
203
203
|
- 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 ma(e,t){var n=Ae(e)||"Component";zT[n]||(zT[n]=!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.
|
|
204
204
|
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.
|
|
205
205
|
<%s>{%s}</%s>`,t,t,n,t,n))}function Io(e,t){var n=Ae(e)||"Component";DT[n]||(DT[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
206
206
|
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
207
|
-
<%s>%s</%s>`,n,t,n))}function Po(e){function t(D,M){if(e){var N=D.deletions;N===null?(D.deletions=[M],D.flags|=16):N.push(M)}}function n(D,M){if(!e)return null;for(;M!==null;)t(D,M),M=M.sibling;return null}function u(D){for(var M=new Map;D!==null;)D.key!==null?M.set(D.key,D):M.set(D.index,D),D=D.sibling;return M}function r(D,M){return D=Si(D,M),D.index=0,D.sibling=null,D}function c(D,M,N){return D.index=N,e?(N=D.alternate,N!==null?(N=N.index,N<M?(D.flags|=67108866,M):N):(D.flags|=67108866,M)):(D.flags|=1048576,M)}function p(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function b(D,M,N,ae){return M===null||M.tag!==6?(M=Qm(N,D.mode,ae),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function E(D,M,N,ae){var Se=N.type;return Se===ho?(M=$(D,M,N.props.children,ae,N.key),dc(N,M,D),M):M!==null&&(M.elementType===Se||Wg(M,N)||typeof Se=="object"&&Se!==null&&Se.$$typeof===fl&&Kc(Se)===M.type)?(M=r(M,N.props),at(M,N),M.return=D,M._debugOwner=N._owner,M._debugInfo=gt,M):(M=bs(N,D.mode,ae),at(M,N),M.return=D,M._debugInfo=gt,M)}function A(D,M,N,ae){return M===null||M.tag!==4||M.stateNode.containerInfo!==N.containerInfo||M.stateNode.implementation!==N.implementation?(M=Km(N,D.mode,ae),M.return=D,M._debugInfo=gt,M):(M=r(M,N.children||[]),M.return=D,M._debugInfo=gt,M)}function $(D,M,N,ae,Se){return M===null||M.tag!==7?(M=El(N,D.mode,ae,Se),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function P(D,M,N){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Qm(""+M,D.mode,N),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Tu:return N=bs(M,D.mode,N),at(N,M),N.return=D,D=Na(M._debugInfo),N._debugInfo=gt,gt=D,N;case ut:return M=Km(M,D.mode,N),M.return=D,M._debugInfo=gt,M;case fl:var ae=Na(M._debugInfo);return M=Kc(M),D=P(D,M,N),gt=ae,D}if(ja(M)||_t(M))return N=El(M,D.mode,N,null),N.return=D,N._debugOwner=D,N._debugTask=D._debugTask,D=Na(M._debugInfo),N._debugInfo=gt,gt=D,N;if(typeof M.then=="function")return ae=Na(M._debugInfo),D=P(D,Wl(M),N),gt=ae,D;if(M.$$typeof===Wn)return P(D,Ts(D,M),N);Vt(D,M)}return typeof M=="function"&&ma(D,M),typeof M=="symbol"&&Io(D,M),null}function K(D,M,N,ae){var Se=M!==null?M.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return Se!==null?null:b(D,M,""+N,ae);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:return N.key===Se?(Se=Na(N._debugInfo),D=E(D,M,N,ae),gt=Se,D):null;case ut:return N.key===Se?A(D,M,N,ae):null;case fl:return Se=Na(N._debugInfo),N=Kc(N),D=K(D,M,N,ae),gt=Se,D}if(ja(N)||_t(N))return Se!==null?null:(Se=Na(N._debugInfo),D=$(D,M,N,ae,null),gt=Se,D);if(typeof N.then=="function")return Se=Na(N._debugInfo),D=K(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return K(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Io(D,N),null}function te(D,M,N,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return D=D.get(N)||null,b(M,D,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case Tu:return N=D.get(ae.key===null?N:ae.key)||null,D=Na(ae._debugInfo),M=E(M,N,ae,Se),gt=D,M;case ut:return D=D.get(ae.key===null?N:ae.key)||null,A(M,D,ae,Se);case fl:var ot=Na(ae._debugInfo);return ae=Kc(ae),M=te(D,M,N,ae,Se),gt=ot,M}if(ja(ae)||_t(ae))return N=D.get(N)||null,D=Na(ae._debugInfo),M=$(M,N,ae,Se,null),gt=D,M;if(typeof ae.then=="function")return ot=Na(ae._debugInfo),M=te(D,M,N,Wl(ae),Se),gt=ot,M;if(ae.$$typeof===Wn)return te(D,M,N,Ts(M,ae),Se);Vt(M,ae)}return typeof ae=="function"&&ma(M,ae),typeof ae=="symbol"&&Io(M,ae),null}function Ue(D,M,N,ae){if(typeof N!="object"||N===null)return ae;switch(N.$$typeof){case Tu:case ut:B(D,M,N);var Se=N.key;if(typeof Se!="string")break;if(ae===null){ae=new Set,ae.add(Se);break}if(!ae.has(Se)){ae.add(Se);break}je(M,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.",Se)});break;case fl:N=Kc(N),Ue(D,M,N,ae)}return ae}function We(D,M,N,ae){for(var Se=null,ot=null,Ne=null,rt=M,dt=M=0,da=null;rt!==null&&dt<N.length;dt++){rt.index>dt?(da=rt,rt=null):da=rt.sibling;var Va=K(D,rt,N[dt],ae);if(Va===null){rt===null&&(rt=da);break}Se=Ue(D,Va,N[dt],Se),e&&rt&&Va.alternate===null&&t(D,rt),M=c(Va,M,dt),Ne===null?ot=Va:Ne.sibling=Va,Ne=Va,rt=da}if(dt===N.length)return n(D,rt),kt&&Yo(D,dt),ot;if(rt===null){for(;dt<N.length;dt++)rt=P(D,N[dt],ae),rt!==null&&(Se=Ue(D,rt,N[dt],Se),M=c(rt,M,dt),Ne===null?ot=rt:Ne.sibling=rt,Ne=rt);return kt&&Yo(D,dt),ot}for(rt=u(rt);dt<N.length;dt++)da=te(rt,D,dt,N[dt],ae),da!==null&&(Se=Ue(D,da,N[dt],Se),e&&da.alternate!==null&&rt.delete(da.key===null?dt:da.key),M=c(da,M,dt),Ne===null?ot=da:Ne.sibling=da,Ne=da);return e&&rt.forEach(function(Rr){return t(D,Rr)}),kt&&Yo(D,dt),ot}function ca(D,M,N,ae){if(N==null)throw Error("An iterable object provided no iterator.");for(var Se=null,ot=null,Ne=M,rt=M=0,dt=null,da=null,Va=N.next();Ne!==null&&!Va.done;rt++,Va=N.next()){Ne.index>rt?(dt=Ne,Ne=null):dt=Ne.sibling;var Rr=K(D,Ne,Va.value,ae);if(Rr===null){Ne===null&&(Ne=dt);break}da=Ue(D,Rr,Va.value,da),e&&Ne&&Rr.alternate===null&&t(D,Ne),M=c(Rr,M,rt),ot===null?Se=Rr:ot.sibling=Rr,ot=Rr,Ne=dt}if(Va.done)return n(D,Ne),kt&&Yo(D,rt),Se;if(Ne===null){for(;!Va.done;rt++,Va=N.next())Ne=P(D,Va.value,ae),Ne!==null&&(da=Ue(D,Ne,Va.value,da),M=c(Ne,M,rt),ot===null?Se=Ne:ot.sibling=Ne,ot=Ne);return kt&&Yo(D,rt),Se}for(Ne=u(Ne);!Va.done;rt++,Va=N.next())dt=te(Ne,D,rt,Va.value,ae),dt!==null&&(da=Ue(D,dt,Va.value,da),e&&dt.alternate!==null&&Ne.delete(dt.key===null?rt:dt.key),M=c(dt,M,rt),ot===null?Se=dt:ot.sibling=dt,ot=dt);return e&&Ne.forEach(function(kw){return t(D,kw)}),kt&&Yo(D,rt),Se}function zt(D,M,N,ae){if(typeof N=="object"&&N!==null&&N.type===ho&&N.key===null&&(dc(N,null,D),N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:var Se=Na(N._debugInfo);e:{for(var ot=N.key;M!==null;){if(M.key===ot){if(ot=N.type,ot===ho){if(M.tag===7){n(D,M.sibling),ae=r(M,N.props.children),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,dc(N,ae,D),D=ae;break e}}else if(M.elementType===ot||Wg(M,N)||typeof ot=="object"&&ot!==null&&ot.$$typeof===fl&&Kc(ot)===M.type){n(D,M.sibling),ae=r(M,N.props),at(ae,N),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,D=ae;break e}n(D,M);break}else t(D,M);M=M.sibling}N.type===ho?(ae=El(N.props.children,D.mode,ae,N.key),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,dc(N,ae,D),D=ae):(ae=bs(N,D.mode,ae),at(ae,N),ae.return=D,ae._debugInfo=gt,D=ae)}return D=p(D),gt=Se,D;case ut:e:{for(Se=N,N=Se.key;M!==null;){if(M.key===N)if(M.tag===4&&M.stateNode.containerInfo===Se.containerInfo&&M.stateNode.implementation===Se.implementation){n(D,M.sibling),ae=r(M,Se.children||[]),ae.return=D,D=ae;break e}else{n(D,M);break}else t(D,M);M=M.sibling}ae=Km(Se,D.mode,ae),ae.return=D,D=ae}return p(D);case fl:return Se=Na(N._debugInfo),N=Kc(N),D=zt(D,M,N,ae),gt=Se,D}if(ja(N))return Se=Na(N._debugInfo),D=We(D,M,N,ae),gt=Se,D;if(_t(N)){if(Se=Na(N._debugInfo),ot=_t(N),typeof ot!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ne=ot.call(N);return Ne===N?(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ne)!=="[object Generator]")&&(RT||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."),RT=!0):N.entries!==ot||Bb||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Bb=!0),D=ca(D,M,Ne,ae),gt=Se,D}if(typeof N.then=="function")return Se=Na(N._debugInfo),D=zt(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return zt(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(Se=""+N,M!==null&&M.tag===6?(n(D,M.sibling),ae=r(M,Se),ae.return=D,D=ae):(n(D,M),ae=Qm(Se,D.mode,ae),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,D=ae),p(D)):(typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Io(D,N),n(D,M))}return function(D,M,N,ae){var Se=gt;gt=null;try{eg=0;var ot=zt(D,M,N,ae);return Wh=null,ot}catch(da){if(da===Wp||da===P0)throw da;var Ne=j(29,da,null,D.mode);Ne.lanes=ae,Ne.return=D;var rt=Ne._debugInfo=gt;if(Ne._debugOwner=D._debugOwner,Ne._debugTask=D._debugTask,rt!=null){for(var dt=rt.length-1;0<=dt;dt--)if(typeof rt[dt].stack=="string"){Ne._debugOwner=rt[dt],Ne._debugTask=rt[dt].debugTask;break}}return Ne}finally{gt=Se}}}function Ln(e){var t=e.alternate;Re(cn,cn.current&Ih,e),Re(Gi,e,e),xo===null&&(t===null||Kh.current!==null||t.memoizedState!==null)&&(xo=e)}function js(e){if(e.tag===22){if(Re(cn,cn.current,e),Re(Gi,e,e),xo===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(xo=e)}}else Rl(e)}function Rl(e){Re(cn,cn.current,e),Re(Gi,Gi.current,e)}function qn(e){se(Gi,e),xo===e&&(xo=null),se(cn,e)}function Md(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===_r||co(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ya(e){if(e!==null&&typeof e!="function"){var t=String(e);YT.has(t)||(YT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Bs(e,t,n,u){var r=e.memoizedState,c=n(u,r);if(e.mode&In){$e(!0);try{c=n(u,r)}finally{$e(!1)}}c===void 0&&(t=it(t)||"Component",BT.has(t)||(BT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),r=c==null?r:Pe({},r,c),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}function Cd(e,t,n,u,r,c,p){var b=e.stateNode;if(typeof b.shouldComponentUpdate=="function"){if(n=b.shouldComponentUpdate(u,c,p),e.mode&In){$e(!0);try{n=b.shouldComponentUpdate(u,c,p)}finally{$e(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",it(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!vs(n,u)||!vs(r,c):!0}function my(e,t,n,u){var r=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==r&&(e=Ae(e)||"Component",UT.has(e)||(UT.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Vb.enqueueReplaceState(t,t.state,null))}function Fu(e,t){var n=t;if("ref"in t){n={};for(var u in t)u!=="ref"&&(n[u]=t[u])}if(e=e.defaultProps){n===t&&(n=Pe({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function e0(e){Lb(e),console.warn(`%s
|
|
207
|
+
<%s>%s</%s>`,n,t,n))}function Po(e){function t(D,M){if(e){var N=D.deletions;N===null?(D.deletions=[M],D.flags|=16):N.push(M)}}function n(D,M){if(!e)return null;for(;M!==null;)t(D,M),M=M.sibling;return null}function u(D){for(var M=new Map;D!==null;)D.key!==null?M.set(D.key,D):M.set(D.index,D),D=D.sibling;return M}function r(D,M){return D=Si(D,M),D.index=0,D.sibling=null,D}function c(D,M,N){return D.index=N,e?(N=D.alternate,N!==null?(N=N.index,N<M?(D.flags|=67108866,M):N):(D.flags|=67108866,M)):(D.flags|=1048576,M)}function p(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function b(D,M,N,ae){return M===null||M.tag!==6?(M=Xm(N,D.mode,ae),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function E(D,M,N,ae){var Se=N.type;return Se===ho?(M=$(D,M,N.props.children,ae,N.key),dc(N,M,D),M):M!==null&&(M.elementType===Se||$g(M,N)||typeof Se=="object"&&Se!==null&&Se.$$typeof===fl&&Kc(Se)===M.type)?(M=r(M,N.props),at(M,N),M.return=D,M._debugOwner=N._owner,M._debugInfo=gt,M):(M=bs(N,D.mode,ae),at(M,N),M.return=D,M._debugInfo=gt,M)}function A(D,M,N,ae){return M===null||M.tag!==4||M.stateNode.containerInfo!==N.containerInfo||M.stateNode.implementation!==N.implementation?(M=Qm(N,D.mode,ae),M.return=D,M._debugInfo=gt,M):(M=r(M,N.children||[]),M.return=D,M._debugInfo=gt,M)}function $(D,M,N,ae,Se){return M===null||M.tag!==7?(M=El(N,D.mode,ae,Se),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function P(D,M,N){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Xm(""+M,D.mode,N),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Tu:return N=bs(M,D.mode,N),at(N,M),N.return=D,D=Na(M._debugInfo),N._debugInfo=gt,gt=D,N;case ut:return M=Qm(M,D.mode,N),M.return=D,M._debugInfo=gt,M;case fl:var ae=Na(M._debugInfo);return M=Kc(M),D=P(D,M,N),gt=ae,D}if(ja(M)||_t(M))return N=El(M,D.mode,N,null),N.return=D,N._debugOwner=D,N._debugTask=D._debugTask,D=Na(M._debugInfo),N._debugInfo=gt,gt=D,N;if(typeof M.then=="function")return ae=Na(M._debugInfo),D=P(D,Wl(M),N),gt=ae,D;if(M.$$typeof===Wn)return P(D,Ts(D,M),N);Vt(D,M)}return typeof M=="function"&&ma(D,M),typeof M=="symbol"&&Io(D,M),null}function K(D,M,N,ae){var Se=M!==null?M.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return Se!==null?null:b(D,M,""+N,ae);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:return N.key===Se?(Se=Na(N._debugInfo),D=E(D,M,N,ae),gt=Se,D):null;case ut:return N.key===Se?A(D,M,N,ae):null;case fl:return Se=Na(N._debugInfo),N=Kc(N),D=K(D,M,N,ae),gt=Se,D}if(ja(N)||_t(N))return Se!==null?null:(Se=Na(N._debugInfo),D=$(D,M,N,ae,null),gt=Se,D);if(typeof N.then=="function")return Se=Na(N._debugInfo),D=K(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return K(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Io(D,N),null}function te(D,M,N,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return D=D.get(N)||null,b(M,D,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case Tu:return N=D.get(ae.key===null?N:ae.key)||null,D=Na(ae._debugInfo),M=E(M,N,ae,Se),gt=D,M;case ut:return D=D.get(ae.key===null?N:ae.key)||null,A(M,D,ae,Se);case fl:var ot=Na(ae._debugInfo);return ae=Kc(ae),M=te(D,M,N,ae,Se),gt=ot,M}if(ja(ae)||_t(ae))return N=D.get(N)||null,D=Na(ae._debugInfo),M=$(M,N,ae,Se,null),gt=D,M;if(typeof ae.then=="function")return ot=Na(ae._debugInfo),M=te(D,M,N,Wl(ae),Se),gt=ot,M;if(ae.$$typeof===Wn)return te(D,M,N,Ts(M,ae),Se);Vt(M,ae)}return typeof ae=="function"&&ma(M,ae),typeof ae=="symbol"&&Io(M,ae),null}function Ue(D,M,N,ae){if(typeof N!="object"||N===null)return ae;switch(N.$$typeof){case Tu:case ut:B(D,M,N);var Se=N.key;if(typeof Se!="string")break;if(ae===null){ae=new Set,ae.add(Se);break}if(!ae.has(Se)){ae.add(Se);break}je(M,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.",Se)});break;case fl:N=Kc(N),Ue(D,M,N,ae)}return ae}function We(D,M,N,ae){for(var Se=null,ot=null,Ne=null,rt=M,dt=M=0,da=null;rt!==null&&dt<N.length;dt++){rt.index>dt?(da=rt,rt=null):da=rt.sibling;var Va=K(D,rt,N[dt],ae);if(Va===null){rt===null&&(rt=da);break}Se=Ue(D,Va,N[dt],Se),e&&rt&&Va.alternate===null&&t(D,rt),M=c(Va,M,dt),Ne===null?ot=Va:Ne.sibling=Va,Ne=Va,rt=da}if(dt===N.length)return n(D,rt),kt&&Yo(D,dt),ot;if(rt===null){for(;dt<N.length;dt++)rt=P(D,N[dt],ae),rt!==null&&(Se=Ue(D,rt,N[dt],Se),M=c(rt,M,dt),Ne===null?ot=rt:Ne.sibling=rt,Ne=rt);return kt&&Yo(D,dt),ot}for(rt=u(rt);dt<N.length;dt++)da=te(rt,D,dt,N[dt],ae),da!==null&&(Se=Ue(D,da,N[dt],Se),e&&da.alternate!==null&&rt.delete(da.key===null?dt:da.key),M=c(da,M,dt),Ne===null?ot=da:Ne.sibling=da,Ne=da);return e&&rt.forEach(function(Rr){return t(D,Rr)}),kt&&Yo(D,dt),ot}function ca(D,M,N,ae){if(N==null)throw Error("An iterable object provided no iterator.");for(var Se=null,ot=null,Ne=M,rt=M=0,dt=null,da=null,Va=N.next();Ne!==null&&!Va.done;rt++,Va=N.next()){Ne.index>rt?(dt=Ne,Ne=null):dt=Ne.sibling;var Rr=K(D,Ne,Va.value,ae);if(Rr===null){Ne===null&&(Ne=dt);break}da=Ue(D,Rr,Va.value,da),e&&Ne&&Rr.alternate===null&&t(D,Ne),M=c(Rr,M,rt),ot===null?Se=Rr:ot.sibling=Rr,ot=Rr,Ne=dt}if(Va.done)return n(D,Ne),kt&&Yo(D,rt),Se;if(Ne===null){for(;!Va.done;rt++,Va=N.next())Ne=P(D,Va.value,ae),Ne!==null&&(da=Ue(D,Ne,Va.value,da),M=c(Ne,M,rt),ot===null?Se=Ne:ot.sibling=Ne,ot=Ne);return kt&&Yo(D,rt),Se}for(Ne=u(Ne);!Va.done;rt++,Va=N.next())dt=te(Ne,D,rt,Va.value,ae),dt!==null&&(da=Ue(D,dt,Va.value,da),e&&dt.alternate!==null&&Ne.delete(dt.key===null?rt:dt.key),M=c(dt,M,rt),ot===null?Se=dt:ot.sibling=dt,ot=dt);return e&&Ne.forEach(function(kw){return t(D,kw)}),kt&&Yo(D,rt),Se}function zt(D,M,N,ae){if(typeof N=="object"&&N!==null&&N.type===ho&&N.key===null&&(dc(N,null,D),N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:var Se=Na(N._debugInfo);e:{for(var ot=N.key;M!==null;){if(M.key===ot){if(ot=N.type,ot===ho){if(M.tag===7){n(D,M.sibling),ae=r(M,N.props.children),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,dc(N,ae,D),D=ae;break e}}else if(M.elementType===ot||$g(M,N)||typeof ot=="object"&&ot!==null&&ot.$$typeof===fl&&Kc(ot)===M.type){n(D,M.sibling),ae=r(M,N.props),at(ae,N),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,D=ae;break e}n(D,M);break}else t(D,M);M=M.sibling}N.type===ho?(ae=El(N.props.children,D.mode,ae,N.key),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,dc(N,ae,D),D=ae):(ae=bs(N,D.mode,ae),at(ae,N),ae.return=D,ae._debugInfo=gt,D=ae)}return D=p(D),gt=Se,D;case ut:e:{for(Se=N,N=Se.key;M!==null;){if(M.key===N)if(M.tag===4&&M.stateNode.containerInfo===Se.containerInfo&&M.stateNode.implementation===Se.implementation){n(D,M.sibling),ae=r(M,Se.children||[]),ae.return=D,D=ae;break e}else{n(D,M);break}else t(D,M);M=M.sibling}ae=Qm(Se,D.mode,ae),ae.return=D,D=ae}return p(D);case fl:return Se=Na(N._debugInfo),N=Kc(N),D=zt(D,M,N,ae),gt=Se,D}if(ja(N))return Se=Na(N._debugInfo),D=We(D,M,N,ae),gt=Se,D;if(_t(N)){if(Se=Na(N._debugInfo),ot=_t(N),typeof ot!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ne=ot.call(N);return Ne===N?(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ne)!=="[object Generator]")&&(RT||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."),RT=!0):N.entries!==ot||Bb||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Bb=!0),D=ca(D,M,Ne,ae),gt=Se,D}if(typeof N.then=="function")return Se=Na(N._debugInfo),D=zt(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return zt(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(Se=""+N,M!==null&&M.tag===6?(n(D,M.sibling),ae=r(M,Se),ae.return=D,D=ae):(n(D,M),ae=Xm(Se,D.mode,ae),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,D=ae),p(D)):(typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Io(D,N),n(D,M))}return function(D,M,N,ae){var Se=gt;gt=null;try{Pp=0;var ot=zt(D,M,N,ae);return Wh=null,ot}catch(da){if(da===$p||da===I0)throw da;var Ne=j(29,da,null,D.mode);Ne.lanes=ae,Ne.return=D;var rt=Ne._debugInfo=gt;if(Ne._debugOwner=D._debugOwner,Ne._debugTask=D._debugTask,rt!=null){for(var dt=rt.length-1;0<=dt;dt--)if(typeof rt[dt].stack=="string"){Ne._debugOwner=rt[dt],Ne._debugTask=rt[dt].debugTask;break}}return Ne}finally{gt=Se}}}function Ln(e){var t=e.alternate;Re(cn,cn.current&Ih,e),Re(Gi,e,e),xo===null&&(t===null||Kh.current!==null||t.memoizedState!==null)&&(xo=e)}function js(e){if(e.tag===22){if(Re(cn,cn.current,e),Re(Gi,e,e),xo===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(xo=e)}}else Rl(e)}function Rl(e){Re(cn,cn.current,e),Re(Gi,Gi.current,e)}function qn(e){se(Gi,e),xo===e&&(xo=null),se(cn,e)}function Md(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===_r||co(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ya(e){if(e!==null&&typeof e!="function"){var t=String(e);YT.has(t)||(YT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Bs(e,t,n,u){var r=e.memoizedState,c=n(u,r);if(e.mode&In){$e(!0);try{c=n(u,r)}finally{$e(!1)}}c===void 0&&(t=it(t)||"Component",BT.has(t)||(BT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),r=c==null?r:Pe({},r,c),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}function Cd(e,t,n,u,r,c,p){var b=e.stateNode;if(typeof b.shouldComponentUpdate=="function"){if(n=b.shouldComponentUpdate(u,c,p),e.mode&In){$e(!0);try{n=b.shouldComponentUpdate(u,c,p)}finally{$e(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",it(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!vs(n,u)||!vs(r,c):!0}function hy(e,t,n,u){var r=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==r&&(e=Ae(e)||"Component",UT.has(e)||(UT.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Vb.enqueueReplaceState(t,t.state,null))}function Fu(e,t){var n=t;if("ref"in t){n={};for(var u in t)u!=="ref"&&(n[u]=t[u])}if(e=e.defaultProps){n===t&&(n=Pe({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function Pg(e){Lb(e),console.warn(`%s
|
|
208
208
|
|
|
209
209
|
%s
|
|
210
210
|
`,Ph?"An error occurred in the <"+Ph+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
@@ -213,12 +213,12 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
213
213
|
%s
|
|
214
214
|
|
|
215
215
|
%s
|
|
216
|
-
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,Sx+e[0],Tx,
|
|
216
|
+
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,Sx+e[0],Tx,xv+u+xv,xx):e.splice(0,0,Sx,Tx,xv+u+xv,xx),e.unshift(console),u=Nw.apply(console.error,e),u()}else console.error(`%o
|
|
217
217
|
|
|
218
218
|
%s
|
|
219
219
|
|
|
220
220
|
%s
|
|
221
|
-
`,e,t,n)}function Nd(e){Lb(e)}function hc(e,t){try{Ph=t.source?Ae(t.source):null,qb=null;var n=t.value;if(J.actQueue!==null)J.thrownErrors.push(n);else{var u=e.onUncaughtError;u(n,{componentStack:t.stack})}}catch(r){setTimeout(function(){throw r})}}function wn(e,t,n){try{Ph=n.source?Ae(n.source):null,qb=Ae(t);var u=e.onCaughtError;u(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ga(e,t,n){return n=Gl(n),n.tag=Db,n.payload={element:null},n.callback=function(){je(t.source,hc,e,t)},n}function Vs(e){return e=Gl(e),e.tag=Db,e}function er(e,t,n,u){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=u.value;e.payload=function(){return r(c)},e.callback=function(){sd(n),je(u.source,wn,t,n,u)}}var p=n.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){sd(n),je(u.source,wn,t,n,u),typeof r!="function"&&(Fc===null?Fc=new Set([this]):Fc.add(this)),fw(this,u),typeof r=="function"||(n.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.",Ae(n)||"Unknown")})}function Hd(e,t,n,u,r){if(n.flags|=32768,Ul&&or(e,r),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=n.alternate,t!==null&&eu(t,n,r,!0),kt&&(br=!0),n=Gi.current,n!==null){switch(n.tag){case 13:return xo===null?$d():n.alternate===null&&Da===Er&&(Da=Xb),n.flags&=-257,n.flags|=65536,n.lanes=r,u===zb?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([u]):t.add(u)
|
|
221
|
+
`,e,t,n)}function Nd(e){Lb(e)}function hc(e,t){try{Ph=t.source?Ae(t.source):null,qb=null;var n=t.value;if(J.actQueue!==null)J.thrownErrors.push(n);else{var u=e.onUncaughtError;u(n,{componentStack:t.stack})}}catch(r){setTimeout(function(){throw r})}}function wn(e,t,n){try{Ph=n.source?Ae(n.source):null,qb=Ae(t);var u=e.onCaughtError;u(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ga(e,t,n){return n=Gl(n),n.tag=Db,n.payload={element:null},n.callback=function(){je(t.source,hc,e,t)},n}function Vs(e){return e=Gl(e),e.tag=Db,e}function er(e,t,n,u){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=u.value;e.payload=function(){return r(c)},e.callback=function(){sd(n),je(u.source,wn,t,n,u)}}var p=n.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){sd(n),je(u.source,wn,t,n,u),typeof r!="function"&&(Fc===null?Fc=new Set([this]):Fc.add(this)),fw(this,u),typeof r=="function"||(n.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.",Ae(n)||"Unknown")})}function Hd(e,t,n,u,r){if(n.flags|=32768,Ul&&or(e,r),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=n.alternate,t!==null&&eu(t,n,r,!0),kt&&(br=!0),n=Gi.current,n!==null){switch(n.tag){case 13:return xo===null?$d():n.alternate===null&&Da===Er&&(Da=Xb),n.flags&=-257,n.flags|=65536,n.lanes=r,u===zb?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([u]):t.add(u),$y(e,u,r)),!1;case 22:return n.flags|=65536,u===zb?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([u]):n.add(u)),$y(e,u,r)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return $y(e,u,r),$d(),!1}if(kt)return br=!0,t=Gi.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,u!==wb&&Kr(Un(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),n))):(u!==wb&&Kr(Un(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),n)),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,u=Un(u,n),r=ga(e.stateNode,u,r),au(e,r),Da!==Cf&&(Da=nm)),!1;var c=Un(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),n);if(og===null?og=[c]:og.push(c),Da!==Cf&&(Da=nm),t===null)return!0;u=Un(u,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=ga(n.stateNode,u,e),au(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Fc===null||!Fc.has(c))))return n.flags|=65536,r&=-r,n.lanes|=r,r=Vs(r),er(r,e,n,u),au(n,r),!1}n=n.return}while(n!==null);return!1}function Ha(e,t,n,u){t.child=e===null?MT(t,null,n,u):Fh(t,e.child,n,u)}function _i(e,t,n,u,r){n=n.render;var c=t.ref;if("ref"in u){var p={};for(var b in u)b!=="ref"&&(p[b]=u[b])}else p=u;return Yu(t),ha(t),u=Ir(e,t,n,p,c,r),b=nu(),Fa(),e!==null&&!gn?(Ql(e,t,r),wi(e,t,r)):(kt&&b&&hd(t),t.flags|=1,Ha(e,t,u,r),t.child)}function Ls(e,t,n,u,r){if(e===null){var c=n.type;return typeof c=="function"&&!fd(c)&&c.defaultProps===void 0&&n.compare===null?(n=Lo(c),t.tag=15,t.type=n,Ys(t,c),kd(e,t,n,u,r)):(e=dd(n.type,null,u,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Ey(e,r)){var p=c.memoizedProps;if(n=n.compare,n=n!==null?n:vs,n(p,u)&&e.ref===t.ref)return wi(e,t,r)}return t.flags|=1,e=Si(c,u),e.ref=t.ref,e.return=t,t.child=e}function kd(e,t,n,u,r){if(e!==null){var c=e.memoizedProps;if(vs(c,u)&&e.ref===t.ref&&t.type===e.type)if(gn=!1,t.pendingProps=u=c,Ey(e,r))(e.flags&131072)!==0&&(gn=!0);else return t.lanes=e.lanes,wi(e,t,r)}return Bd(e,t,n,u,r)}function jd(e,t,n){var u=t.pendingProps,r=u.children,c=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((t.flags&128)!==0){if(u=c!==null?c.baseLanes|n:n,e!==null){for(r=t.child=e.child,c=0;r!==null;)c=c|r.lanes|r.childLanes,r=r.sibling;t.childLanes=c&~u}else t.childLanes=0,t.child=null;return my(e,t,u,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&vd(t,c!==null?c.cachePool:null),c!==null?Sd(t,c):Xl(t),js(t);else return t.lanes=t.childLanes=536870912,my(e,t,c!==null?c.baseLanes|n:n,n)}else c!==null?(vd(t,c.cachePool),Sd(t,c),Rl(t),t.memoizedState=null):(e!==null&&vd(t,null),Xl(t),Rl(t));return Ha(e,t,r,n),t.child}function my(e,t,n,u){var r=Pm();return r=r===null?null:{parent:on._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&vd(t,null),Xl(t),js(t),e!==null&&eu(e,t,u,!0),null}function qs(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Bd(e,t,n,u,r){if(n.prototype&&typeof n.prototype.render=="function"){var c=it(n)||"Unknown";ZT[c]||(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.",c,c),ZT[c]=!0)}return t.mode&In&&zu.recordLegacyContextWarning(t,null),e===null&&(Ys(t,t.type),n.contextTypes&&(c=it(n)||"Unknown",QT[c]||(QT[c]=!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)",c)))),Yu(t),ha(t),n=Ir(e,t,n,u,void 0,r),u=nu(),Fa(),e!==null&&!gn?(Ql(e,t,r),wi(e,t,r)):(kt&&u&&hd(t),t.flags|=1,Ha(e,t,n,r),t.child)}function yy(e,t,n,u,r,c){return Yu(t),ha(t),Tr=-1,Ip=e!==null&&e.type!==t.type,t.updateQueue=null,n=jn(t,u,n,r),_s(e,t),u=nu(),Fa(),e!==null&&!gn?(Ql(e,t,c),wi(e,t,c)):(kt&&u&&hd(t),t.flags|=1,Ha(e,t,n,c),t.child)}function py(e,t,n,u,r){switch(R(t)){case!1:var c=t.stateNode,p=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,p,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var b=r&-r;if(t.lanes|=b,p=ra,p===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");b=Vs(b),er(b,p,t,Un(c,t)),au(t,b)}if(Yu(t),t.stateNode===null){if(p=Zc,c=n.contextType,"contextType"in n&&c!==null&&(c===void 0||c.$$typeof!==Wn)&&!qT.has(n)&&(qT.add(n),b=c===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 c!="object"?" However, it is set to a "+typeof c+".":c.$$typeof===ff?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",it(n)||"Component",b)),typeof c=="object"&&c!==null&&(p=la(c)),c=new n(u,p),t.mode&In){$e(!0);try{c=new n(u,p)}finally{$e(!1)}}if(p=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Vb,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=CT,typeof n.getDerivedStateFromProps=="function"&&p===null&&(p=it(n)||"Component",NT.has(p)||(NT.add(p),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.",p,c.state===null?"null":"undefined",p))),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"){var E=b=p=null;if(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?p="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(p="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?b="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(b="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),p!==null||b!==null||E!==null){c=it(n)||"Component";var A=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kT.has(c)||(kT.add(c),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
222
222
|
|
|
223
223
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
224
224
|
|
|
@@ -226,8 +226,8 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
226
226
|
https://react.dev/link/unsafe-component-lifecycles`,c,A,p!==null?`
|
|
227
227
|
`+p:"",b!==null?`
|
|
228
228
|
`+b:"",E!==null?`
|
|
229
|
-
`+E:""))}}c=t.stateNode,p=it(n)||"Component",c.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",p):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",p)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.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?",p),c.getDefaultProps&&!c.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.",p),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),n.childContextTypes&&!LT.has(n)&&(LT.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",p)),n.contextTypes&&!VT.has(n)&&(VT.add(n),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)",p)),typeof c.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.",p),n.prototype&&n.prototype.isPureReactComponent&&typeof c.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.",it(n)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof c.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().",p),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p),b=c.props!==u,c.props!==void 0&&b&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p),c.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.",p,p),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||HT.has(n)||(HT.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",it(n))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p),(b=c.state)&&(typeof b!="object"||ja(b))&&console.error("%s.state: must be set to an object or null",p),typeof c.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p),c=t.stateNode,c.props=u,c.state=t.memoizedState,c.refs={},Zu(t),p=n.contextType,c.context=typeof p=="object"&&p!==null?la(p):Zc,c.state===u&&(p=it(n)||"Component",jT.has(p)||(jT.add(p),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.",p))),t.mode&In&&zu.recordLegacyContextWarning(t,c),zu.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,p=n.getDerivedStateFromProps,typeof p=="function"&&(Bs(t,n,p,u),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ae(t)||"Component"),Vb.enqueueReplaceState(c,c.state,null)),Xu(t,u,c,r),Wr(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var $=t.memoizedProps;b=Fu(n,$),c.props=b;var P=c.context;E=n.contextType,p=Zc,typeof E=="object"&&E!==null&&(p=la(E)),A=n.getDerivedStateFromProps,E=typeof A=="function"||typeof c.getSnapshotBeforeUpdate=="function",$=t.pendingProps!==$,E||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||($||P!==p)&&
|
|
230
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=it(t)||"Unknown",KT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),KT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=it(t)||"Unknown",XT[t]||(console.error("%s: Function components do not support contextType.",t),XT[t]=!0))}function Vd(e){return{baseLanes:e,cachePool:ty()}}function by(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=di),e}function Sy(e,t,n){var u,r=t.pendingProps;_(t)&&(t.flags|=128);var c=!1,p=(t.flags&128)!==0;if((u=p)||(u=e!==null&&e.memoizedState===null?!1:(cn.current&tg)!==0),u&&(c=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(kt){if(c?Ln(t):Rl(t),kt){var b=za,E;if(!(E=!b)){e:{var A=b;for(E=So;A.nodeType!==8;){if(!E){E=null;break e}if(A=Jn(A.nextSibling),A===null){E=null;break e}}E=A}E!==null?(ql(),t.memoizedState={dehydrated:E,treeContext:wf!==null?{id:gr,overflow:vr}:null,retryLane:536870912,hydrationErrors:null},A=j(18,null,null,fa),A.stateNode=E,A.return=t,t.child=A,ml=t,za=null,E=!0):E=!1,E=!E}E&&(Xr(t,b),Lu(t))}if(b=t.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return co(b)?t.lanes=32:t.lanes=536870912,null;qn(t)}return b=r.children,r=r.fallback,c?(Rl(t),c=t.mode,b=Gs({mode:"hidden",children:b},c),r=El(r,c,n,null),b.return=t,r.return=t,b.sibling=r,t.child=b,c=t.child,c.memoizedState=Vd(n),c.childLanes=by(e,u,n),t.memoizedState=Gb,r):(Ln(t),Ld(t,b))}var $=e.memoizedState;if($!==null&&(b=$.dehydrated,b!==null)){if(p)t.flags&256?(Ln(t),t.flags&=-257,t=Zs(e,t,n)):t.memoizedState!==null?(Rl(t),t.child=e.child,t.flags|=128,t=null):(Rl(t),c=r.fallback,b=t.mode,r=Gs({mode:"visible",children:r.children},b),c=El(c,b,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fh(t,e.child,null,n),r=t.child,r.memoizedState=Vd(n),r.childLanes=by(e,u,n),t.memoizedState=Gb,t=c);else if(Ln(t),kt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),co(b)){if(u=b.nextSibling&&b.nextSibling.dataset,u){E=u.dgst;var P=u.msg;A=u.stck;var K=u.cstck}b=P,u=E,r=A,E=c=K,c=Error(b||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),c.stack=r||"",c.digest=u,u=E===void 0?null:E,r={value:c,source:null,stack:u},typeof u=="string"&&Eb.set(c,r),Kr(r),t=Zs(e,t,n)}else if(gn||eu(e,t,n,!1),u=(n&e.childLanes)!==0,gn||u){if(u=ra,u!==null&&(r=n&-n,r=(r&42)!==0?1:pt(r),r=(r&(u.suspendedLanes|n))!==0?0:r,r!==0&&r!==$.retryLane))throw $.retryLane=r,Nn(e,r),bt(u,e,r),GT;b.data===_r||$d(),t=Zs(e,t,n)}else b.data===_r?(t.flags|=192,t.child=e.child,t=null):(e=$.treeContext,za=Jn(b.nextSibling),ml=t,kt=!0,Af=null,br=!1,Vi=null,So=!1,e!==null&&(ql(),ji[Bi++]=gr,ji[Bi++]=vr,ji[Bi++]=wf,gr=e.id,vr=e.overflow,wf=t),t=Ld(t,r.children),t.flags|=4096);return t}return c?(Rl(t),c=r.fallback,b=t.mode,E=e.child,A=E.sibling,r=Si(E,{mode:"hidden",children:r.children}),r.subtreeFlags=E.subtreeFlags&65011712,A!==null?c=Si(A,c):(c=El(c,b,n,null),c.flags|=2),c.return=t,r.return=t,r.sibling=c,t.child=r,r=c,c=t.child,b=e.child.memoizedState,b===null?b=Vd(n):(E=b.cachePool,E!==null?(A=on._currentValue,E=E.parent!==A?{parent:A,pool:A}:E):E=ty(),b={baseLanes:b.baseLanes|n,cachePool:E}),c.memoizedState=b,c.childLanes=by(e,u,n),t.memoizedState=Gb,r):(Ln(t),n=e.child,e=n.sibling,n=Si(n,{mode:"visible",children:r.children}),n.return=t,n.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=n,t.memoizedState=null,n)}function Ld(e,t){return t=Gs({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Gs(e,t){return e=j(22,e,null,t),e.lanes=0,e.stateNode={_visibility:X0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Zs(e,t,n){return Fh(t,e.child,null,n),e=Ld(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ty(e,t,n){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),Fm(e.return,t,n)}function xy(e,t){var n=ja(e);return e=!n&&typeof _t(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function qd(e,t,n,u,r){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=u,c.tail=n,c.tailMode=r)}function Ey(e,t,n){var u=t.pendingProps,r=u.revealOrder,c=u.tail;if(u=u.children,r!==void 0&&r!=="forwards"&&r!=="backwards"&&r!=="together"&&!JT[r])if(JT[r]=!0,typeof r=="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.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.',r,r.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r);c===void 0||Yb[c]||(c!=="collapsed"&&c!=="hidden"?(Yb[c]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',c)):r!=="forwards"&&r!=="backwards"&&(Yb[c]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((r==="forwards"||r==="backwards")&&u!==void 0&&u!==null&&u!==!1)if(ja(u)){for(var p=0;p<u.length;p++)if(!xy(u[p],p))break e}else if(p=_t(u),typeof p=="function"){if(p=p.call(u))for(var b=p.next(),E=0;!b.done;b=p.next()){if(!xy(b.value,E))break e;E++}}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?',r);if(Ha(e,t,u,n),u=cn.current,(u&tg)!==0)u=u&Ih|tg,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ty(e,n,t);else if(e.tag===19)Ty(e,n,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}u&=Ih}switch(Re(cn,u,t),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Md(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),qd(t,!1,r,n,c);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Md(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}qd(t,!0,n,null,c);break;case"together":qd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function wi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nl=-1,$c|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(eu(e,t,n,!1),(n&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,n=Si(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Si(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _y(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ss(e)))}function t0(e,t,n){switch(t.tag){case 3:Je(t,t.stateNode.containerInfo),qu(t,on,e.memoizedState.cache),Qr();break;case 27:case 5:re(t);break;case 4:Je(t,t.stateNode.containerInfo);break;case 10:qu(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ln(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Sy(e,t,n):(Ln(t),e=wi(e,t,n),e!==null?e.sibling:null);Ln(t);break;case 19:var r=(e.flags&128)!==0;if(u=(n&t.childLanes)!==0,u||(eu(e,t,n,!1),u=(n&t.childLanes)!==0),r){if(u)return Ey(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Re(cn,cn.current,t),u)break;return null;case 22:case 23:return t.lanes=0,jd(e,t,n);case 24:qu(t,on,e.memoizedState.cache)}return wi(e,t,n)}function Iu(e,t,n){if(t._debugNeedsRemount&&e!==null){n=dd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===u.child)u.child=n;else{var r=u.child;if(r===null)throw Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw Error("Expected to find the previous sibling.");r.sibling=n}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)gn=!0;else{if(!_y(e,n)&&(t.flags&128)===0)return gn=!1,t0(e,t,n);gn=(e.flags&131072)!==0}else gn=!1,(u=kt)&&(ql(),u=(t.flags&1048576)!==0),u&&(u=t.index,ql(),Jm(t,K0,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Kc(t.elementType),t.type=e,typeof e=="function")fd(e)?(u=Fu(e,u),t.tag=1,t.type=e=Lo(e),t=gy(null,t,e,u,n)):(t.tag=0,Ys(t,e),t.type=e=Lo(e),t=Bd(null,t,e,u,n));else{if(e!=null){if(r=e.$$typeof,r===mo){t.tag=11,t.type=e=Zm(e),t=_i(null,t,e,u,n);break e}else if(r===Th){t.tag=14,t=Ls(null,t,e,u,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===fl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=it(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Bd(e,t,t.type,t.pendingProps,n);case 1:return u=t.type,r=Fu(u,t.pendingProps),gy(e,t,u,r,n);case 3:e:{if(Je(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var c=t.memoizedState;r=c.element,Es(e,t),Xu(t,u,null,n);var p=t.memoizedState;if(u=p.cache,qu(t,on,u),u!==c.cache&&En(t,[on],n,!0),Wr(),u=p.element,c.isDehydrated)if(c={element:u,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=vy(e,t,u,n);break e}else if(u!==r){r=Un(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Kr(r),t=vy(e,t,u,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(za=Jn(e.firstChild),ml=t,kt=!0,Af=null,br=!1,Vi=null,So=!0,e=MT(t,null,u,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Qr(),u===r){t=wi(e,t,n);break e}Ha(e,t,u,n)}t=t.child}return t;case 26:return qs(e,t),e===null?(e=nf(t.type,null,t.pendingProps,null))?t.memoizedState=e:kt||(e=t.type,n=t.pendingProps,u=Ke(Oi.current),u=Nt(u).createElement(e),u[pn]=t,u[Fn]=n,Xa(u,e,n),L(u),t.stateNode=u):t.memoizedState=nf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return re(t),e===null&&kt&&(u=Ke(Oi.current),r=Z(),u=t.stateNode=$n(t.type,t.pendingProps,u,r,!1),br||(r=Tt(u,t.type,t.pendingProps,r),r!==null&&(Zo(t,0).serverProps=r)),ml=t,So=!0,r=za,ka(t.type)?(d1=r,za=Jn(u.firstChild)):za=r),Ha(e,t,t.pendingProps.children,n),qs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&kt&&(c=Z(),u=ed(t.type,c.ancestorInfo),r=za,(p=!r)||(p=an(r,t.type,t.pendingProps,So),p!==null?(t.stateNode=p,br||(c=Tt(p,t.type,t.pendingProps,c),c!==null&&(Zo(t,0).serverProps=c)),ml=t,za=Jn(p.firstChild),So=!1,c=!0):c=!1,p=!c),p&&(u&&Xr(t,r),Lu(t))),re(t),r=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,u=c.children,io(r,c)?u=null:p!==null&&io(r,p)&&(t.flags|=32),t.memoizedState!==null&&(r=Ir(e,t,wl,null,null,n),pg._currentValue=r),qs(e,t),Ha(e,t,u,n),t.child;case 6:return e===null&&kt&&(e=t.pendingProps,n=Z(),u=n.ancestorInfo.current,e=u!=null?qr(e,u.tag,n.ancestorInfo.implicitRootScope):!0,n=za,(u=!n)||(u=ro(n,t.pendingProps,So),u!==null?(t.stateNode=u,ml=t,za=null,u=!0):u=!1,u=!u),u&&(e&&Xr(t,n),Lu(t))),null;case 13:return Sy(e,t,n);case 4:return Je(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=Fh(t,null,u,n):Ha(e,t,u,n),t.child;case 11:return _i(e,t,t.type,t.pendingProps,n);case 7:return Ha(e,t,t.pendingProps,n),t.child;case 8:return Ha(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,Ha(e,t,t.pendingProps.children,n),t.child;case 10:return u=t.type,r=t.pendingProps,c=r.value,"value"in r||$T||($T=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),qu(t,u,c),Ha(e,t,r.children,n),t.child;case 9:return r=t.type._context,u=t.pendingProps.children,typeof u!="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."),Yu(t),r=la(r),ha(t),u=kb(u,r,void 0),Fa(),t.flags|=1,Ha(e,t,u,n),t.child;case 14:return Ls(e,t,t.type,t.pendingProps,n);case 15:return kd(e,t,t.type,t.pendingProps,n);case 19:return Ey(e,t,n);case 31:return u=t.pendingProps,n=t.mode,u={mode:u.mode,children:u.children},e===null?(e=Gs(u,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Si(e.child,u),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return jd(e,t,n);case 24:return Yu(t),u=la(on),e===null?(r=ey(),r===null&&(r=ra,c=Im(),r.pooledCache=c,_l(c),c!==null&&(r.pooledCacheLanes|=n),r=c),t.memoizedState={parent:u,cache:r},Zu(t),qu(t,on,r)):((e.lanes&n)!==0&&(Es(e,t),Xu(t,null,null,n),Wr()),r=e.memoizedState,c=t.memoizedState,r.parent!==u?(r={parent:u,cache:u},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),qu(t,on,u)):(u=c.cache,qu(t,on,u),u!==r.cache&&En(t,[on],n,!0))),Ha(e,t,t.pendingProps.children,n),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 Ol(e){e.flags|=4}function wy(e,t){if(t.type!=="stylesheet"||(t.state.loading&Zi)!==qf)e.flags&=-16777217;else if(e.flags|=16777216,!hp(t)){if(t=Gi.current,t!==null&&((At&4194048)===At?xo!==null:(At&62914560)!==At&&(At&536870912)===0||t!==xo))throw Fp=zb,iT;e.flags|=8192}}function tr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ne():536870912,e.lanes|=t,Hf|=t)}function su(e,t){if(!kt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function ia(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,u=0;if(t)if((e.mode&Rn)!==fa){for(var r=e.selfBaseDuration,c=e.child;c!==null;)n|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,r+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=r}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags&65011712,u|=r.flags&65011712,r.return=e,r=r.sibling;else if((e.mode&Rn)!==fa){r=e.actualDuration,c=e.selfBaseDuration;for(var p=e.child;p!==null;)n|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,r+=p.actualDuration,c+=p.treeBaseDuration,p=p.sibling;e.actualDuration=r,e.treeBaseDuration=c}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function a0(e,t,n){var u=t.pendingProps;switch(Go(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ia(t),null;case 1:return ia(t),null;case 3:return n=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Pi(on,t),W(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Xo(t)?(Fg(),Ol(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Wm())),ia(t),null;case 26:return n=t.memoizedState,e===null?(Ol(t),n!==null?(ia(t),wy(t,n)):(ia(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Ol(t),ia(t),wy(t,n)):(ia(t),t.flags&=-16777217):(e.memoizedProps!==u&&Ol(t),ia(t),t.flags&=-16777217),null;case 27:ve(t),n=Ke(Oi.current);var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){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 ia(t),null}e=Z(),Xo(t)?$m(t):(e=$n(r,u,n,e,!0),t.stateNode=e,Ol(t))}return ia(t),null;case 5:if(ve(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){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 ia(t),null}if(r=Z(),Xo(t))$m(t);else{switch(e=Ke(Oi.current),ed(n,r.ancestorInfo),r=r.context,e=Nt(e),r){case cm:e=e.createElementNS(Ru,n);break;case Sv:e=e.createElementNS(Uh,n);break;default:switch(n){case"svg":e=e.createElementNS(Ru,n);break;case"math":e=e.createElementNS(Uh,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?e.createElement("select",{is:u.is}):e.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?e.createElement(n,{is:u.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||zi.call(mx,n)||(mx[n]=!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.",n)))}}e[pn]=t,e[Fn]=u;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Xa(e,n,u),n){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ol(t)}}return ia(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(typeof u!="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=Ke(Oi.current),n=Z(),Xo(t)){e=t.stateNode,n=t.memoizedProps,r=!br,u=null;var c=ml;if(c!==null)switch(c.tag){case 3:r&&(r=cp(e,n,u),r!==null&&(Zo(t,0).serverProps=r));break;case 27:case 5:u=c.memoizedProps,r&&(r=cp(e,n,u),r!==null&&(Zo(t,0).serverProps=r))}e[pn]=t,e=!!(e.nodeValue===n||u!==null&&u.suppressHydrationWarning===!0||cr(e.nodeValue,n)),e||Lu(t)}else r=n.ancestorInfo.current,r!=null&&qr(u,r.tag,n.ancestorInfo.implicitRootScope),e=Nt(e).createTextNode(u),e[pn]=t,t.stateNode=e}return ia(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Xo(t),u!==null&&u.dehydrated!==null){if(e===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[pn]=t,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration))}else Fg(),Qr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration));r=!1}else r=Wm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(qn(t),t):(qn(t),null)}return qn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Rn)!==fa&&xs(t),t):(n=u!==null,e=e!==null&&e.memoizedState!==null,n&&(u=t.child,r=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(r=u.alternate.memoizedState.cachePool.pool),c=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(c=u.memoizedState.cachePool.pool),c!==r&&(u.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),tr(t,t.updateQueue),ia(t),(t.mode&Rn)!==fa&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return W(t),e===null&&ef(t.stateNode.containerInfo),ia(t),null;case 10:return Pi(t.type,t),ia(t),null;case 19:if(se(cn,t),r=t.memoizedState,r===null)return ia(t),null;if(u=(t.flags&128)!==0,c=r.rendering,c===null)if(u)su(r,!1);else{if(Da!==Er||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Md(e),c!==null){for(t.flags|=128,su(r,!1),e=c.updateQueue,t.updateQueue=e,tr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Xm(n,e),n=n.sibling;return Re(cn,cn.current&Ih|tg,t),t.child}e=e.sibling}r.tail!==null&&nn()>rv&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304)}else{if(!u)if(e=Md(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,tr(t,e),su(r,!0),r.tail===null&&r.tailMode==="hidden"&&!c.alternate&&!kt)return ia(t),null}else 2*nn()-r.renderingStartTime>rv&&n!==536870912&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304);r.isBackwards?(c.sibling=t.child,t.child=c):(e=r.last,e!==null?e.sibling=c:t.child=c,r.last=c)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=nn(),e.sibling=null,n=cn.current,n=u?n&Ih|tg:n&Ih,Re(cn,n,t),e):(ia(t),null);case 22:case 23:return qn(t),Td(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(n&536870912)!==0&&(t.flags&128)===0&&(ia(t),t.subtreeFlags&6&&(t.flags|=8192)):ia(t),n=t.updateQueue,n!==null&&tr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==n&&(t.flags|=2048),e!==null&&se(zf,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Pi(on,t),ia(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 n0(e,t){switch(Go(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 3:return Pi(on,t),W(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ve(t),null;case 13:if(qn(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.");Qr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 19:return se(cn,t),null;case 4:return W(t),null;case 10:return Pi(t.type,t),null;case 22:case 23:return qn(t),Td(t),e!==null&&se(zf,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 24:return Pi(on,t),null;case 25:return null;default:return null}}function Ay(e,t){switch(Go(t),t.tag){case 3:Pi(on,t),W(t);break;case 26:case 27:case 5:ve(t);break;case 4:W(t);break;case 13:qn(t);break;case 19:se(cn,t);break;case 10:Pi(t.type,t);break;case 22:case 23:qn(t),Td(t),e!==null&&se(zf,t);break;case 24:Pi(on,t)}}function Fl(e){return(e.mode&Rn)!==fa}function Ry(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Xs(e,t,n){Fl(e)?(hn(),ar(n,e,t),Yl()):ar(n,e,t)}function mc(e,t){try{var n=t.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var r=u.next;n=r;do{if((n.tag&e)===e&&((e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStarted=="function"&&Ee.markComponentPassiveEffectMountStarted(t):(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStarted=="function"&&Ee.markComponentLayoutEffectMountStarted(t),u=void 0,(e&yl)!==Li&&(om=!0),u=je(t,dw,n),(e&yl)!==Li&&(om=!1),(e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStopped=="function"&&Ee.markComponentPassiveEffectMountStopped():(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStopped=="function"&&Ee.markComponentLayoutEffectMountStopped(),u!==void 0&&typeof u!="function")){var c=void 0;c=(n.tag&On)!==0?"useLayoutEffect":(n.tag&yl)!==0?"useInsertionEffect":"useEffect";var p=void 0;p=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
|
|
229
|
+
`+E:""))}}c=t.stateNode,p=it(n)||"Component",c.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",p):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",p)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.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?",p),c.getDefaultProps&&!c.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.",p),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),n.childContextTypes&&!LT.has(n)&&(LT.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",p)),n.contextTypes&&!VT.has(n)&&(VT.add(n),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)",p)),typeof c.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.",p),n.prototype&&n.prototype.isPureReactComponent&&typeof c.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.",it(n)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof c.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().",p),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p),b=c.props!==u,c.props!==void 0&&b&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p),c.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.",p,p),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||HT.has(n)||(HT.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",it(n))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p),(b=c.state)&&(typeof b!="object"||ja(b))&&console.error("%s.state: must be set to an object or null",p),typeof c.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p),c=t.stateNode,c.props=u,c.state=t.memoizedState,c.refs={},Zu(t),p=n.contextType,c.context=typeof p=="object"&&p!==null?la(p):Zc,c.state===u&&(p=it(n)||"Component",jT.has(p)||(jT.add(p),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.",p))),t.mode&In&&zu.recordLegacyContextWarning(t,c),zu.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,p=n.getDerivedStateFromProps,typeof p=="function"&&(Bs(t,n,p,u),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ae(t)||"Component"),Vb.enqueueReplaceState(c,c.state,null)),Xu(t,u,c,r),Wr(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var $=t.memoizedProps;b=Fu(n,$),c.props=b;var P=c.context;E=n.contextType,p=Zc,typeof E=="object"&&E!==null&&(p=la(E)),A=n.getDerivedStateFromProps,E=typeof A=="function"||typeof c.getSnapshotBeforeUpdate=="function",$=t.pendingProps!==$,E||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||($||P!==p)&&hy(t,c,u,p),Xc=!1;var K=t.memoizedState;c.state=K,Xu(t,u,c,r),Wr(),P=t.memoizedState,$||K!==P||Xc?(typeof A=="function"&&(Bs(t,n,A,u),P=t.memoizedState),(b=Xc||Cd(t,n,b,u,K,P,p))?(E||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728),t.memoizedProps=u,t.memoizedState=P),c.props=u,c.state=P,c.context=p,c=b):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728),c=!1)}else{c=t.stateNode,Es(e,t),p=t.memoizedProps,E=Fu(n,p),c.props=E,A=t.pendingProps,K=c.context,P=n.contextType,b=Zc,typeof P=="object"&&P!==null&&(b=la(P)),$=n.getDerivedStateFromProps,(P=typeof $=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==A||K!==b)&&hy(t,c,u,b),Xc=!1,K=t.memoizedState,c.state=K,Xu(t,u,c,r),Wr();var te=t.memoizedState;p!==A||K!==te||Xc||e!==null&&e.dependencies!==null&&Ss(e.dependencies)?(typeof $=="function"&&(Bs(t,n,$,u),te=t.memoizedState),(E=Xc||Cd(t,n,E,u,K,te,b)||e!==null&&e.dependencies!==null&&Ss(e.dependencies))?(P||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(u,te,b),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(u,te,b)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=te),c.props=u,c.state=te,c.context=b,c=E):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=1024),c=!1)}if(b=c,qs(e,t),p=(t.flags&128)!==0,b||p){if(b=t.stateNode,ku(t),p&&typeof n.getDerivedStateFromError!="function")n=null,Nl=-1;else{if(ha(t),n=gT(b),t.mode&In){$e(!0);try{gT(b)}finally{$e(!1)}}Fa()}t.flags|=1,e!==null&&p?(t.child=Fh(t,e.child,null,r),t.child=Fh(t,null,n,r)):Ha(e,t,n,r),t.memoizedState=b.state,e=t.child}else e=wi(e,t,r);return r=t.stateNode,c&&r.props!==u&&(em||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ae(t)||"a component"),em=!0),e}function gy(e,t,n,u){return Qr(),t.flags|=256,Ha(e,t,n,u),t.child}function Ys(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
230
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=it(t)||"Unknown",KT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),KT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=it(t)||"Unknown",XT[t]||(console.error("%s: Function components do not support contextType.",t),XT[t]=!0))}function Vd(e){return{baseLanes:e,cachePool:ey()}}function vy(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=di),e}function by(e,t,n){var u,r=t.pendingProps;_(t)&&(t.flags|=128);var c=!1,p=(t.flags&128)!==0;if((u=p)||(u=e!==null&&e.memoizedState===null?!1:(cn.current&eg)!==0),u&&(c=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(kt){if(c?Ln(t):Rl(t),kt){var b=za,E;if(!(E=!b)){e:{var A=b;for(E=So;A.nodeType!==8;){if(!E){E=null;break e}if(A=Jn(A.nextSibling),A===null){E=null;break e}}E=A}E!==null?(ql(),t.memoizedState={dehydrated:E,treeContext:wf!==null?{id:gr,overflow:vr}:null,retryLane:536870912,hydrationErrors:null},A=j(18,null,null,fa),A.stateNode=E,A.return=t,t.child=A,ml=t,za=null,E=!0):E=!1,E=!E}E&&(Xr(t,b),Lu(t))}if(b=t.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return co(b)?t.lanes=32:t.lanes=536870912,null;qn(t)}return b=r.children,r=r.fallback,c?(Rl(t),c=t.mode,b=Gs({mode:"hidden",children:b},c),r=El(r,c,n,null),b.return=t,r.return=t,b.sibling=r,t.child=b,c=t.child,c.memoizedState=Vd(n),c.childLanes=vy(e,u,n),t.memoizedState=Gb,r):(Ln(t),Ld(t,b))}var $=e.memoizedState;if($!==null&&(b=$.dehydrated,b!==null)){if(p)t.flags&256?(Ln(t),t.flags&=-257,t=Zs(e,t,n)):t.memoizedState!==null?(Rl(t),t.child=e.child,t.flags|=128,t=null):(Rl(t),c=r.fallback,b=t.mode,r=Gs({mode:"visible",children:r.children},b),c=El(c,b,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fh(t,e.child,null,n),r=t.child,r.memoizedState=Vd(n),r.childLanes=vy(e,u,n),t.memoizedState=Gb,t=c);else if(Ln(t),kt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),co(b)){if(u=b.nextSibling&&b.nextSibling.dataset,u){E=u.dgst;var P=u.msg;A=u.stck;var K=u.cstck}b=P,u=E,r=A,E=c=K,c=Error(b||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),c.stack=r||"",c.digest=u,u=E===void 0?null:E,r={value:c,source:null,stack:u},typeof u=="string"&&Eb.set(c,r),Kr(r),t=Zs(e,t,n)}else if(gn||eu(e,t,n,!1),u=(n&e.childLanes)!==0,gn||u){if(u=ra,u!==null&&(r=n&-n,r=(r&42)!==0?1:pt(r),r=(r&(u.suspendedLanes|n))!==0?0:r,r!==0&&r!==$.retryLane))throw $.retryLane=r,Nn(e,r),bt(u,e,r),GT;b.data===_r||$d(),t=Zs(e,t,n)}else b.data===_r?(t.flags|=192,t.child=e.child,t=null):(e=$.treeContext,za=Jn(b.nextSibling),ml=t,kt=!0,Af=null,br=!1,Vi=null,So=!1,e!==null&&(ql(),ji[Bi++]=gr,ji[Bi++]=vr,ji[Bi++]=wf,gr=e.id,vr=e.overflow,wf=t),t=Ld(t,r.children),t.flags|=4096);return t}return c?(Rl(t),c=r.fallback,b=t.mode,E=e.child,A=E.sibling,r=Si(E,{mode:"hidden",children:r.children}),r.subtreeFlags=E.subtreeFlags&65011712,A!==null?c=Si(A,c):(c=El(c,b,n,null),c.flags|=2),c.return=t,r.return=t,r.sibling=c,t.child=r,r=c,c=t.child,b=e.child.memoizedState,b===null?b=Vd(n):(E=b.cachePool,E!==null?(A=on._currentValue,E=E.parent!==A?{parent:A,pool:A}:E):E=ey(),b={baseLanes:b.baseLanes|n,cachePool:E}),c.memoizedState=b,c.childLanes=vy(e,u,n),t.memoizedState=Gb,r):(Ln(t),n=e.child,e=n.sibling,n=Si(n,{mode:"visible",children:r.children}),n.return=t,n.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=n,t.memoizedState=null,n)}function Ld(e,t){return t=Gs({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Gs(e,t){return e=j(22,e,null,t),e.lanes=0,e.stateNode={_visibility:Z0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Zs(e,t,n){return Fh(t,e.child,null,n),e=Ld(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sy(e,t,n){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),Wm(e.return,t,n)}function Ty(e,t){var n=ja(e);return e=!n&&typeof _t(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function qd(e,t,n,u,r){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=u,c.tail=n,c.tailMode=r)}function xy(e,t,n){var u=t.pendingProps,r=u.revealOrder,c=u.tail;if(u=u.children,r!==void 0&&r!=="forwards"&&r!=="backwards"&&r!=="together"&&!JT[r])if(JT[r]=!0,typeof r=="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.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.',r,r.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r);c===void 0||Yb[c]||(c!=="collapsed"&&c!=="hidden"?(Yb[c]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',c)):r!=="forwards"&&r!=="backwards"&&(Yb[c]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((r==="forwards"||r==="backwards")&&u!==void 0&&u!==null&&u!==!1)if(ja(u)){for(var p=0;p<u.length;p++)if(!Ty(u[p],p))break e}else if(p=_t(u),typeof p=="function"){if(p=p.call(u))for(var b=p.next(),E=0;!b.done;b=p.next()){if(!Ty(b.value,E))break e;E++}}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?',r);if(Ha(e,t,u,n),u=cn.current,(u&eg)!==0)u=u&Ih|eg,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sy(e,n,t);else if(e.tag===19)Sy(e,n,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}u&=Ih}switch(Re(cn,u,t),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Md(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),qd(t,!1,r,n,c);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Md(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}qd(t,!0,n,null,c);break;case"together":qd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function wi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nl=-1,$c|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(eu(e,t,n,!1),(n&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,n=Si(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Si(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ey(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ss(e)))}function e0(e,t,n){switch(t.tag){case 3:Je(t,t.stateNode.containerInfo),qu(t,on,e.memoizedState.cache),Qr();break;case 27:case 5:re(t);break;case 4:Je(t,t.stateNode.containerInfo);break;case 10:qu(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ln(t),t.flags|=128,null):(n&t.child.childLanes)!==0?by(e,t,n):(Ln(t),e=wi(e,t,n),e!==null?e.sibling:null);Ln(t);break;case 19:var r=(e.flags&128)!==0;if(u=(n&t.childLanes)!==0,u||(eu(e,t,n,!1),u=(n&t.childLanes)!==0),r){if(u)return xy(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Re(cn,cn.current,t),u)break;return null;case 22:case 23:return t.lanes=0,jd(e,t,n);case 24:qu(t,on,e.memoizedState.cache)}return wi(e,t,n)}function Iu(e,t,n){if(t._debugNeedsRemount&&e!==null){n=dd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===u.child)u.child=n;else{var r=u.child;if(r===null)throw Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw Error("Expected to find the previous sibling.");r.sibling=n}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)gn=!0;else{if(!Ey(e,n)&&(t.flags&128)===0)return gn=!1,e0(e,t,n);gn=(e.flags&131072)!==0}else gn=!1,(u=kt)&&(ql(),u=(t.flags&1048576)!==0),u&&(u=t.index,ql(),Km(t,Q0,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Kc(t.elementType),t.type=e,typeof e=="function")fd(e)?(u=Fu(e,u),t.tag=1,t.type=e=Lo(e),t=py(null,t,e,u,n)):(t.tag=0,Ys(t,e),t.type=e=Lo(e),t=Bd(null,t,e,u,n));else{if(e!=null){if(r=e.$$typeof,r===mo){t.tag=11,t.type=e=Gm(e),t=_i(null,t,e,u,n);break e}else if(r===Th){t.tag=14,t=Ls(null,t,e,u,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===fl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=it(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Bd(e,t,t.type,t.pendingProps,n);case 1:return u=t.type,r=Fu(u,t.pendingProps),py(e,t,u,r,n);case 3:e:{if(Je(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var c=t.memoizedState;r=c.element,Es(e,t),Xu(t,u,null,n);var p=t.memoizedState;if(u=p.cache,qu(t,on,u),u!==c.cache&&En(t,[on],n,!0),Wr(),u=p.element,c.isDehydrated)if(c={element:u,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=gy(e,t,u,n);break e}else if(u!==r){r=Un(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Kr(r),t=gy(e,t,u,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(za=Jn(e.firstChild),ml=t,kt=!0,Af=null,br=!1,Vi=null,So=!0,e=MT(t,null,u,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Qr(),u===r){t=wi(e,t,n);break e}Ha(e,t,u,n)}t=t.child}return t;case 26:return qs(e,t),e===null?(e=nf(t.type,null,t.pendingProps,null))?t.memoizedState=e:kt||(e=t.type,n=t.pendingProps,u=Ke(Oi.current),u=Nt(u).createElement(e),u[pn]=t,u[Fn]=n,Xa(u,e,n),L(u),t.stateNode=u):t.memoizedState=nf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return re(t),e===null&&kt&&(u=Ke(Oi.current),r=Z(),u=t.stateNode=$n(t.type,t.pendingProps,u,r,!1),br||(r=Tt(u,t.type,t.pendingProps,r),r!==null&&(Zo(t,0).serverProps=r)),ml=t,So=!0,r=za,ka(t.type)?(d1=r,za=Jn(u.firstChild)):za=r),Ha(e,t,t.pendingProps.children,n),qs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&kt&&(c=Z(),u=ed(t.type,c.ancestorInfo),r=za,(p=!r)||(p=an(r,t.type,t.pendingProps,So),p!==null?(t.stateNode=p,br||(c=Tt(p,t.type,t.pendingProps,c),c!==null&&(Zo(t,0).serverProps=c)),ml=t,za=Jn(p.firstChild),So=!1,c=!0):c=!1,p=!c),p&&(u&&Xr(t,r),Lu(t))),re(t),r=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,u=c.children,io(r,c)?u=null:p!==null&&io(r,p)&&(t.flags|=32),t.memoizedState!==null&&(r=Ir(e,t,wl,null,null,n),yg._currentValue=r),qs(e,t),Ha(e,t,u,n),t.child;case 6:return e===null&&kt&&(e=t.pendingProps,n=Z(),u=n.ancestorInfo.current,e=u!=null?qr(e,u.tag,n.ancestorInfo.implicitRootScope):!0,n=za,(u=!n)||(u=ro(n,t.pendingProps,So),u!==null?(t.stateNode=u,ml=t,za=null,u=!0):u=!1,u=!u),u&&(e&&Xr(t,n),Lu(t))),null;case 13:return by(e,t,n);case 4:return Je(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=Fh(t,null,u,n):Ha(e,t,u,n),t.child;case 11:return _i(e,t,t.type,t.pendingProps,n);case 7:return Ha(e,t,t.pendingProps,n),t.child;case 8:return Ha(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,Ha(e,t,t.pendingProps.children,n),t.child;case 10:return u=t.type,r=t.pendingProps,c=r.value,"value"in r||$T||($T=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),qu(t,u,c),Ha(e,t,r.children,n),t.child;case 9:return r=t.type._context,u=t.pendingProps.children,typeof u!="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."),Yu(t),r=la(r),ha(t),u=kb(u,r,void 0),Fa(),t.flags|=1,Ha(e,t,u,n),t.child;case 14:return Ls(e,t,t.type,t.pendingProps,n);case 15:return kd(e,t,t.type,t.pendingProps,n);case 19:return xy(e,t,n);case 31:return u=t.pendingProps,n=t.mode,u={mode:u.mode,children:u.children},e===null?(e=Gs(u,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Si(e.child,u),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return jd(e,t,n);case 24:return Yu(t),u=la(on),e===null?(r=Pm(),r===null&&(r=ra,c=Fm(),r.pooledCache=c,_l(c),c!==null&&(r.pooledCacheLanes|=n),r=c),t.memoizedState={parent:u,cache:r},Zu(t),qu(t,on,r)):((e.lanes&n)!==0&&(Es(e,t),Xu(t,null,null,n),Wr()),r=e.memoizedState,c=t.memoizedState,r.parent!==u?(r={parent:u,cache:u},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),qu(t,on,u)):(u=c.cache,qu(t,on,u),u!==r.cache&&En(t,[on],n,!0))),Ha(e,t,t.pendingProps.children,n),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 Ol(e){e.flags|=4}function _y(e,t){if(t.type!=="stylesheet"||(t.state.loading&Zi)!==qf)e.flags&=-16777217;else if(e.flags|=16777216,!dp(t)){if(t=Gi.current,t!==null&&((At&4194048)===At?xo!==null:(At&62914560)!==At&&(At&536870912)===0||t!==xo))throw Wp=zb,iT;e.flags|=8192}}function tr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ne():536870912,e.lanes|=t,Hf|=t)}function su(e,t){if(!kt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function ia(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,u=0;if(t)if((e.mode&Rn)!==fa){for(var r=e.selfBaseDuration,c=e.child;c!==null;)n|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,r+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=r}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags&65011712,u|=r.flags&65011712,r.return=e,r=r.sibling;else if((e.mode&Rn)!==fa){r=e.actualDuration,c=e.selfBaseDuration;for(var p=e.child;p!==null;)n|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,r+=p.actualDuration,c+=p.treeBaseDuration,p=p.sibling;e.actualDuration=r,e.treeBaseDuration=c}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function t0(e,t,n){var u=t.pendingProps;switch(Go(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ia(t),null;case 1:return ia(t),null;case 3:return n=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Pi(on,t),W(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Xo(t)?(Wg(),Ol(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,$m())),ia(t),null;case 26:return n=t.memoizedState,e===null?(Ol(t),n!==null?(ia(t),_y(t,n)):(ia(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Ol(t),ia(t),_y(t,n)):(ia(t),t.flags&=-16777217):(e.memoizedProps!==u&&Ol(t),ia(t),t.flags&=-16777217),null;case 27:ve(t),n=Ke(Oi.current);var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){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 ia(t),null}e=Z(),Xo(t)?Jm(t):(e=$n(r,u,n,e,!0),t.stateNode=e,Ol(t))}return ia(t),null;case 5:if(ve(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){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 ia(t),null}if(r=Z(),Xo(t))Jm(t);else{switch(e=Ke(Oi.current),ed(n,r.ancestorInfo),r=r.context,e=Nt(e),r){case cm:e=e.createElementNS(Ru,n);break;case bv:e=e.createElementNS(Uh,n);break;default:switch(n){case"svg":e=e.createElementNS(Ru,n);break;case"math":e=e.createElementNS(Uh,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?e.createElement("select",{is:u.is}):e.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?e.createElement(n,{is:u.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||zi.call(mx,n)||(mx[n]=!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.",n)))}}e[pn]=t,e[Fn]=u;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Xa(e,n,u),n){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ol(t)}}return ia(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(typeof u!="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=Ke(Oi.current),n=Z(),Xo(t)){e=t.stateNode,n=t.memoizedProps,r=!br,u=null;var c=ml;if(c!==null)switch(c.tag){case 3:r&&(r=rp(e,n,u),r!==null&&(Zo(t,0).serverProps=r));break;case 27:case 5:u=c.memoizedProps,r&&(r=rp(e,n,u),r!==null&&(Zo(t,0).serverProps=r))}e[pn]=t,e=!!(e.nodeValue===n||u!==null&&u.suppressHydrationWarning===!0||cr(e.nodeValue,n)),e||Lu(t)}else r=n.ancestorInfo.current,r!=null&&qr(u,r.tag,n.ancestorInfo.implicitRootScope),e=Nt(e).createTextNode(u),e[pn]=t,t.stateNode=e}return ia(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Xo(t),u!==null&&u.dehydrated!==null){if(e===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[pn]=t,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration))}else Wg(),Qr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration));r=!1}else r=$m(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(qn(t),t):(qn(t),null)}return qn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Rn)!==fa&&xs(t),t):(n=u!==null,e=e!==null&&e.memoizedState!==null,n&&(u=t.child,r=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(r=u.alternate.memoizedState.cachePool.pool),c=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(c=u.memoizedState.cachePool.pool),c!==r&&(u.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),tr(t,t.updateQueue),ia(t),(t.mode&Rn)!==fa&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return W(t),e===null&&ef(t.stateNode.containerInfo),ia(t),null;case 10:return Pi(t.type,t),ia(t),null;case 19:if(se(cn,t),r=t.memoizedState,r===null)return ia(t),null;if(u=(t.flags&128)!==0,c=r.rendering,c===null)if(u)su(r,!1);else{if(Da!==Er||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Md(e),c!==null){for(t.flags|=128,su(r,!1),e=c.updateQueue,t.updateQueue=e,tr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Zm(n,e),n=n.sibling;return Re(cn,cn.current&Ih|eg,t),t.child}e=e.sibling}r.tail!==null&&nn()>ov&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304)}else{if(!u)if(e=Md(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,tr(t,e),su(r,!0),r.tail===null&&r.tailMode==="hidden"&&!c.alternate&&!kt)return ia(t),null}else 2*nn()-r.renderingStartTime>ov&&n!==536870912&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304);r.isBackwards?(c.sibling=t.child,t.child=c):(e=r.last,e!==null?e.sibling=c:t.child=c,r.last=c)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=nn(),e.sibling=null,n=cn.current,n=u?n&Ih|eg:n&Ih,Re(cn,n,t),e):(ia(t),null);case 22:case 23:return qn(t),Td(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(n&536870912)!==0&&(t.flags&128)===0&&(ia(t),t.subtreeFlags&6&&(t.flags|=8192)):ia(t),n=t.updateQueue,n!==null&&tr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==n&&(t.flags|=2048),e!==null&&se(zf,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Pi(on,t),ia(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 a0(e,t){switch(Go(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 3:return Pi(on,t),W(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ve(t),null;case 13:if(qn(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.");Qr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 19:return se(cn,t),null;case 4:return W(t),null;case 10:return Pi(t.type,t),null;case 22:case 23:return qn(t),Td(t),e!==null&&se(zf,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 24:return Pi(on,t),null;case 25:return null;default:return null}}function wy(e,t){switch(Go(t),t.tag){case 3:Pi(on,t),W(t);break;case 26:case 27:case 5:ve(t);break;case 4:W(t);break;case 13:qn(t);break;case 19:se(cn,t);break;case 10:Pi(t.type,t);break;case 22:case 23:qn(t),Td(t),e!==null&&se(zf,t);break;case 24:Pi(on,t)}}function Fl(e){return(e.mode&Rn)!==fa}function Ay(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Xs(e,t,n){Fl(e)?(hn(),ar(n,e,t),Yl()):ar(n,e,t)}function mc(e,t){try{var n=t.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var r=u.next;n=r;do{if((n.tag&e)===e&&((e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStarted=="function"&&Ee.markComponentPassiveEffectMountStarted(t):(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStarted=="function"&&Ee.markComponentLayoutEffectMountStarted(t),u=void 0,(e&yl)!==Li&&(om=!0),u=je(t,dw,n),(e&yl)!==Li&&(om=!1),(e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStopped=="function"&&Ee.markComponentPassiveEffectMountStopped():(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStopped=="function"&&Ee.markComponentLayoutEffectMountStopped(),u!==void 0&&typeof u!="function")){var c=void 0;c=(n.tag&On)!==0?"useLayoutEffect":(n.tag&yl)!==0?"useInsertionEffect":"useEffect";var p=void 0;p=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
|
|
231
231
|
|
|
232
232
|
It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
233
233
|
|
|
@@ -240,11 +240,11 @@ It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, w
|
|
|
240
240
|
fetchData();
|
|
241
241
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
242
242
|
|
|
243
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,je(t,function(b,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",b,E)},c,p)}n=n.next}while(n!==r)}}catch(b){$t(t,t.return,b)}}function ar(e,t,n){try{var u=t.updateQueue,r=u!==null?u.lastEffect:null;if(r!==null){var c=r.next;u=c;do{if((u.tag&e)===e){var p=u.inst,b=p.destroy;b!==void 0&&(p.destroy=void 0,(e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStarted=="function"&&Ee.markComponentPassiveEffectUnmountStarted(t):(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStarted=="function"&&Ee.markComponentLayoutEffectUnmountStarted(t),(e&yl)!==Li&&(om=!0),r=t,je(r,hw,r,n,b),(e&yl)!==Li&&(om=!1),(e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStopped=="function"&&Ee.markComponentPassiveEffectUnmountStopped():(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStopped=="function"&&Ee.markComponentLayoutEffectUnmountStopped())}u=u.next}while(u!==c)}}catch(E){$t(t,t.return,E)}}function Yd(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Gd(e,t,n){Fl(e)?(hn(),ar(n,e,t),Yl()):ar(n,e,t)}function Oy(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||em||(n.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.",Ae(e)||"instance"),n.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.",Ae(e)||"instance"));try{je(e,kn,t,n)}catch(u){$t(e,e.return,u)}}}function ub(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function zy(e,t){var n=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||em||(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.",Ae(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.",Ae(e)||"instance"));try{var r=Fu(e.type,n,e.elementType===e.type),c=je(e,ub,t,r,u);n=WT,c!==void 0||n.has(e.type)||(n.add(e.type),je(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ae(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(p){$t(e,e.return,p)}}function Dy(e,t,n){n.props=Fu(e.type,e.memoizedProps),n.state=e.memoizedState,Fl(e)?(hn(),je(e,ET,e,t,n),Yl()):je(e,ET,e,t,n)}function l0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Fl(e))try{hn(),e.refCleanup=t(n)}finally{Yl()}else e.refCleanup=t(n);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().",Ae(e)),t.current=n}}function nr(e,t){try{je(e,l0,e)}catch(n){$t(e,t,n)}}function Il(e,t){var n=e.ref,u=e.refCleanup;if(n!==null)if(typeof u=="function")try{if(Fl(e))try{hn(),je(e,u)}finally{Yl(e)}else je(e,u)}catch(r){$t(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Fl(e))try{hn(),je(e,n,null)}finally{Yl(e)}else je(e,n,null)}catch(r){$t(e,t,r)}else n.current=null}function My(e,t,n,u){var r=e.memoizedProps,c=r.id,p=r.onCommit;r=r.onRender,t=t===null?"mount":"update",W0&&(t="nested-update"),typeof r=="function"&&r(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof p=="function"&&p(e.memoizedProps.id,t,u,n)}function ob(e,t,n,u){var r=e.memoizedProps;e=r.id,r=r.onPostCommit,t=t===null?"mount":"update",W0&&(t="nested-update"),typeof r=="function"&&r(e,t,u,n)}function i0(e){var t=e.type,n=e.memoizedProps,u=e.stateNode;try{je(e,ba,u,t,n,e)}catch(r){$t(e,e.return,r)}}function Zd(e,t,n){try{je(e,uo,e.stateNode,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function yc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ka(e.type)||e.tag===4}function Qs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yc(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&&ka(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 pc(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=no));else if(u!==4&&(u===27&&ka(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pc(e,t,n),e=e.sibling;e!==null;)pc(e,t,n),e=e.sibling}function Ks(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(u!==4&&(u===27&&ka(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ks(e,t,n),e=e.sibling;e!==null;)Ks(e,t,n),e=e.sibling}function u0(e){for(var t,n=e.return;n!==null;){if(yc(n)){t=n;break}n=n.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,n=Qs(e),Ks(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(oo(n),t.flags&=-33),t=Qs(e),Ks(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Qs(e),pc(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Js(e){var t=e.stateNode,n=e.memoizedProps;try{je(e,T0,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function o0(e,t){if(e=e.containerInfo,c1=_v,e=Jg(e),Ym(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var u=n.getSelection&&n.getSelection();if(u&&u.rangeCount!==0){n=u.anchorNode;var r=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var p=0,b=-1,E=-1,A=0,$=0,P=e,K=null;t:for(;;){for(var te;P!==n||r!==0&&P.nodeType!==3||(b=p+r),P!==c||u!==0&&P.nodeType!==3||(E=p+u),P.nodeType===3&&(p+=P.nodeValue.length),(te=P.firstChild)!==null;)K=P,P=te;for(;;){if(P===e)break t;if(K===n&&++A===r&&(b=p),K===c&&++$===u&&(E=p),(te=P.nextSibling)!==null)break;P=K,K=P.parentNode}P=te}n=b===-1||E===-1?null:{start:b,end:E}}else n=null}n=n||{start:0,end:0}}else n=null;for(s1={focusedElem:e,selectionRange:n},_v=!1,vn=t;vn!==null;)if(t=vn,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,vn=e;else for(;vn!==null;){switch(e=t=vn,n=e.alternate,r=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(r&1024)!==0&&n!==null&&zy(e,n);break;case 3:if((r&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Ai(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ai(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&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,vn=e;break}vn=t.return}}function Cy(e,t,n){var u=n.flags;switch(n.tag){case 0:case 11:case 15:Ra(e,n),u&4&&Ry(n,On|qi);break;case 1:if(Ra(e,n),u&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.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.",Ae(n)||"instance"),e.state!==n.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.",Ae(n)||"instance")),Fl(n)?(hn(),je(n,jb,n,e),Yl()):je(n,jb,n,e);else{var r=Fu(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.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.",Ae(n)||"instance"),e.state!==n.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.",Ae(n)||"instance")),Fl(n)?(hn(),je(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate),Yl()):je(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate)}u&64&&Oy(n),u&512&&nr(n,n.return);break;case 3:if(t=nl(),Ra(e,n),u&64&&(u=n.updateQueue,u!==null)){if(r=null,n.child!==null)switch(n.child.tag){case 27:case 5:r=n.child.stateNode;break;case 1:r=n.child.stateNode}try{je(n,kn,u,r)}catch(p){$t(n,n.return,p)}}e.effectDuration+=Jr(t);break;case 27:t===null&&u&4&&Js(n);case 26:case 5:Ra(e,n),t===null&&u&4&&i0(n),u&512&&nr(n,n.return);break;case 12:if(u&4){u=nl(),Ra(e,n),e=n.stateNode,e.effectDuration+=$r(u);try{je(n,My,n,t,$0,e.effectDuration)}catch(p){$t(n,n.return,p)}}else Ra(e,n);break;case 13:Ra(e,n),u&4&&$s(e,n),u&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=to.bind(null,n),Oc(e,n))));break;case 22:if(u=n.memoizedState!==null||xr,!u){t=t!==null&&t.memoizedState!==null||Ba,r=xr;var c=Ba;xr=u,(Ba=t)&&!c?mn(e,n,(n.subtreeFlags&8772)!==0):Ra(e,n),xr=r,Ba=c}break;case 30:break;default:Ra(e,n)}}function r0(e){var t=e.alternate;t!==null&&(e.alternate=null,r0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Tn(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 Yn(e,t,n){for(n=n.child;n!==null;)gc(e,t,n),n=n.sibling}function gc(e,t,n){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(mr,n)}catch(c){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",c))}switch(n.tag){case 26:Ba||Il(n,t),Yn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ba||Il(n,t);var u=Wa,r=Hl;ka(n.type)&&(Wa=n.stateNode,Hl=!1),Yn(e,t,n),je(n,Dc,n.stateNode),Wa=u,Hl=r;break;case 5:Ba||Il(n,t);case 6:if(u=Wa,r=Hl,Wa=null,Yn(e,t,n),Wa=u,Hl=r,Wa!==null)if(Hl)try{je(n,af,Wa,n.stateNode)}catch(c){$t(n,t,c)}else try{je(n,Rc,Wa,n.stateNode)}catch(c){$t(n,t,c)}break;case 18:Wa!==null&&(Hl?(e=Wa,An(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Hc(e)):An(Wa,n.stateNode));break;case 4:u=Wa,r=Hl,Wa=n.stateNode.containerInfo,Hl=!0,Yn(e,t,n),Wa=u,Hl=r;break;case 0:case 11:case 14:case 15:Ba||ar(yl,n,t),Ba||Xs(n,t,On),Yn(e,t,n);break;case 1:Ba||(Il(n,t),u=n.stateNode,typeof u.componentWillUnmount=="function"&&Dy(n,t,u)),Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:Ba=(u=Ba)||n.memoizedState!==null,Yn(e,t,n),Ba=u;break;default:Yn(e,t,n)}}function $s(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{je(t,S0,e)}catch(n){$t(t,t.return,n)}}function Ws(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new FT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new FT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function vc(e,t){var n=Ws(e);t.forEach(function(u){var r=m0.bind(null,e,u);if(!n.has(u)){if(n.add(u),Ul)if(tm!==null&&am!==null)or(am,tm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(r,r)}})}function Gn(e,t){var n=t.deletions;if(n!==null)for(var u=0;u<n.length;u++){var r=e,c=t,p=n[u],b=c;e:for(;b!==null;){switch(b.tag){case 27:if(ka(b.type)){Wa=b.stateNode,Hl=!1;break e}break;case 5:Wa=b.stateNode,Hl=!1;break e;case 3:case 4:Wa=b.stateNode.containerInfo,Hl=!0;break e}b=b.return}if(Wa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");gc(r,c,p),Wa=null,Hl=!1,r=p,c=r.alternate,c!==null&&(c.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Uy(t,e),t=t.sibling}function Uy(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Gn(t,e),Ga(e),u&4&&(ar(yl|qi,e,e.return),mc(yl|qi,e),Xs(e,e.return,On|qi));break;case 1:Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),u&64&&xr&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?u:n.concat(u))));break;case 26:var r=Mu;if(Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),u&4)if(t=n!==null?n.memoizedState:null,u=e.memoizedState,n===null)if(u===null)if(e.stateNode===null){e:{u=e.type,n=e.memoizedProps,t=r.ownerDocument||r;t:switch(u){case"title":r=t.getElementsByTagName("title")[0],(!r||r[pf]||r[pn]||r.namespaceURI===Ru||r.hasAttribute("itemprop"))&&(r=t.createElement(u),t.head.insertBefore(r,t.querySelector("head > title"))),Xa(r,u,n),r[pn]=e,L(r),u=r;break e;case"link":var c=dp("link","href",t).get(u+(n.href||""));if(c){for(var p=0;p<c.length;p++)if(r=c[p],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){c.splice(p,1);break t}}r=t.createElement(u),Xa(r,u,n),t.head.appendChild(r);break;case"meta":if(c=dp("meta","content",t).get(u+(n.content||""))){for(p=0;p<c.length;p++)if(r=c[p],ee(n.content,"content"),r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){c.splice(p,1);break t}}r=t.createElement(u),Xa(r,u,n),t.head.appendChild(r);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+u+'". This is a bug in React.')}r[pn]=e,L(r),u=r}e.stateNode=u}else fr(r,e.type,e.stateNode);else e.stateNode=E0(r,u,e.memoizedProps);else t!==u?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,u===null?fr(r,e.type,e.stateNode):E0(r,u,e.memoizedProps)):u===null&&e.stateNode!==null&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 27:Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),n!==null&&u&4&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),e.flags&32){t=e.stateNode;try{je(e,oo,t)}catch($){$t(e,e.return,$)}}u&4&&e.stateNode!=null&&(t=e.memoizedProps,Zd(e,t,n!==null?n.memoizedProps:t)),u&1024&&(Zb=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Gn(t,e),Ga(e),u&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.");u=e.memoizedProps,n=n!==null?n.memoizedProps:u,t=e.stateNode;try{je(e,up,t,n,u)}catch($){$t(e,e.return,$)}}break;case 3:if(r=nl(),Tv=null,c=Mu,Mu=oh(t.containerInfo),Gn(t,e),Mu=c,Ga(e),u&4&&n!==null&&n.memoizedState.isDehydrated)try{je(e,sl,t.containerInfo)}catch($){$t(e,e.return,$)}Zb&&(Zb=!1,Ny(e)),t.effectDuration+=Jr(r);break;case 4:u=Mu,Mu=oh(e.stateNode.containerInfo),Gn(t,e),Ga(e),Mu=u;break;case 12:u=nl(),Gn(t,e),Ga(e),e.stateNode.effectDuration+=$r(u);break;case 13:Gn(t,e),Ga(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Wb=nn()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 22:r=e.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,E=xr,A=Ba;if(xr=E||r,Ba=A||b,Gn(t,e),Ba=A,xr=E,Ga(e),u&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&~X0:t._visibility|X0,r&&(n===null||b||xr||Ba||Zn(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){b=n=t;try{c=b.stateNode,r?je(b,op,c):je(b,nh,b.stateNode,b.memoizedProps)}catch($){$t(b,b.return,$)}}}else if(t.tag===6){if(n===null){b=t;try{p=b.stateNode,r?je(b,rp,p):je(b,lh,p,b.memoizedProps)}catch($){$t(b,b.return,$)}}}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;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=e.updateQueue,u!==null&&(n=u.retryQueue,n!==null&&(u.retryQueue=null,vc(e,n))));break;case 19:Gn(t,e),Ga(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 30:break;case 21:break;default:Gn(t,e),Ga(e)}}function Ga(e){var t=e.flags;if(t&2){try{je(e,u0,e)}catch(n){$t(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ny(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ny(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ra(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Cy(e,t.alternate,t),t=t.sibling}function Pl(e){switch(e.tag){case 0:case 11:case 14:case 15:Xs(e,e.return,On),Zn(e);break;case 1:Il(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Dy(e,e.return,t),Zn(e);break;case 27:je(e,Dc,e.stateNode);case 26:case 5:Il(e,e.return),Zn(e);break;case 22:e.memoizedState===null&&Zn(e);break;case 30:Zn(e);break;default:Zn(e)}}function Zn(e){for(e=e.child;e!==null;)Pl(e),e=e.sibling}function Hy(e,t,n,u){var r=n.flags;switch(n.tag){case 0:case 11:case 15:mn(e,n,u),Ry(n,On);break;case 1:if(mn(e,n,u),t=n.stateNode,typeof t.componentDidMount=="function"&&je(n,jb,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{je(n,ib,t,e)}catch(c){$t(n,n.return,c)}}u&&r&64&&Oy(n),nr(n,n.return);break;case 27:Js(n);case 26:case 5:mn(e,n,u),u&&t===null&&r&4&&i0(n),nr(n,n.return);break;case 12:if(u&&r&4){r=nl(),mn(e,n,u),u=n.stateNode,u.effectDuration+=$r(r);try{je(n,My,n,t,$0,u.effectDuration)}catch(c){$t(n,n.return,c)}}else mn(e,n,u);break;case 13:mn(e,n,u),u&&r&4&&$s(e,n);break;case 22:n.memoizedState===null&&mn(e,n,u),nr(n,n.return);break;case 30:break;default:mn(e,n,u)}}function mn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Hy(e,t.alternate,t,n),t=t.sibling}function ei(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&_l(e),n!=null&&Qo(n))}function xa(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(_l(t),e!=null&&Qo(e))}function ul(e,t,n,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xd(e,t,n,u),t=t.sibling}function Xd(e,t,n,u){var r=t.flags;switch(t.tag){case 0:case 11:case 15:ul(e,t,n,u),r&2048&&Yd(t,rn|qi);break;case 1:ul(e,t,n,u);break;case 3:var c=nl();ul(e,t,n,u),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(_l(t),n!=null&&Qo(n))),e.passiveEffectDuration+=Jr(c);break;case 12:if(r&2048){r=nl(),ul(e,t,n,u),e=t.stateNode,e.passiveEffectDuration+=$r(r);try{je(t,ob,t,t.alternate,$0,e.passiveEffectDuration)}catch(b){$t(t,t.return,b)}}else ul(e,t,n,u);break;case 13:ul(e,t,n,u);break;case 23:break;case 22:c=t.stateNode;var p=t.alternate;t.memoizedState!==null?c._visibility&pr?ul(e,t,n,u):bc(e,t):c._visibility&pr?ul(e,t,n,u):(c._visibility|=pr,Pu(e,t,n,u,(t.subtreeFlags&10256)!==0)),r&2048&&ei(p,t);break;case 24:ul(e,t,n,u),r&2048&&xa(t.alternate,t);break;default:ul(e,t,n,u)}}function Pu(e,t,n,u,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)ky(e,t,n,u,r),t=t.sibling}function ky(e,t,n,u,r){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Pu(e,t,n,u,r),Yd(t,rn);break;case 23:break;case 22:var p=t.stateNode;t.memoizedState!==null?p._visibility&pr?Pu(e,t,n,u,r):bc(e,t):(p._visibility|=pr,Pu(e,t,n,u,r)),r&&c&2048&&ei(t.alternate,t);break;case 24:Pu(e,t,n,u,r),r&&c&2048&&xa(t.alternate,t);break;default:Pu(e,t,n,u,r)}}function bc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,u=t,r=u.flags;switch(u.tag){case 22:bc(n,u),r&2048&&ei(u.alternate,u);break;case 24:bc(n,u),r&2048&&xa(u.alternate,u);break;default:bc(n,u)}t=t.sibling}}function zl(e){if(e.subtreeFlags&ag)for(e=e.child;e!==null;)Fs(e),e=e.sibling}function Fs(e){switch(e.tag){case 26:zl(e),e.flags&ag&&e.memoizedState!==null&&w0(Mu,e.memoizedState,e.memoizedProps);break;case 5:zl(e);break;case 3:case 4:var t=Mu;Mu=oh(e.stateNode.containerInfo),zl(e),Mu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=ag,ag=16777216,zl(e),ag=t):zl(e));break;default:zl(e)}}function jy(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 Sc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}jy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)By(e),e=e.sibling}function By(e){switch(e.tag){case 0:case 11:case 15:Sc(e),e.flags&2048&&Gd(e,e.return,rn|qi);break;case 3:var t=nl();Sc(e),e.stateNode.passiveEffectDuration+=Jr(t);break;case 12:t=nl(),Sc(e),e.stateNode.passiveEffectDuration+=$r(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&pr&&(e.return===null||e.return.tag!==13)?(t._visibility&=~pr,lr(e)):Sc(e);break;default:Sc(e)}}function lr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}jy(e)}for(e=e.child;e!==null;)Vy(e),e=e.sibling}function Vy(e){switch(e.tag){case 0:case 11:case 15:Gd(e,e.return,rn),lr(e);break;case 22:var t=e.stateNode;t._visibility&pr&&(t._visibility&=~pr,lr(e));break;default:lr(e)}}function Qd(e,t){for(;vn!==null;){var n=vn,u=n;switch(u.tag){case 0:case 11:case 15:Gd(u,t,rn);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(u=u.memoizedState.cachePool.pool,u!=null&&_l(u));break;case 24:Qo(u.memoizedState.cache)}if(u=n.child,u!==null)u.return=n,vn=u;else e:for(n=e;vn!==null;){u=vn;var r=u.sibling,c=u.return;if(r0(u),u===n){vn=null;break e}if(r!==null){r.return=c,vn=r;break e}vn=c}}}function c0(){yw.forEach(function(e){return e()})}function Ly(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||J.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ol(e){if((Kt&pl)!==si&&At!==0)return At&-At;var t=J.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Of,e!==0?e:th()):Do()}function qy(){di===0&&(di=(At&536870912)===0||kt?k():536870912);var e=Gi.current;return e!==null&&(e.flags|=32),di}function bt(e,t,n){if(om&&console.error("useInsertionEffect must not schedule updates."),t1&&(cv=!0),(e===ra&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)&&(du(e,0),fu(e,At,di,!1)),ge(e,n),(Kt&pl)!==0&&e===ra){if(Mi)switch(t.tag){case 0:case 11:case 15:e=xt&&Ae(xt)||"Unknown",ox.has(e)||(ox.add(e),t=Ae(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:ux||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ux=!0)}}else Ul&&Gt(e,t,n),Iy(t),e===ra&&((Kt&pl)===si&&(Wc|=n),Da===Cf&&fu(e,At,di,!1)),Dl(e)}function Za(e,t,n){if((Kt&(pl|Cu))!==si)throw Error("Should not already be working.");var u=!n&&(t&124)===0&&(t&e.expiredLanes)===0||Sl(e,t),r=u?Xy(e,t):Is(e,t,!0),c=u;do{if(r===Er){im&&!u&&fu(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!s0(n)){r=Is(e,t,!1),c=!1;continue}if(r===nm){if(c=t,e.errorRecoveryDisabledLanes&c)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{r=e;var b=p;p=rg;var E=r.current.memoizedState.isDehydrated;if(E&&(du(r,b).flags|=256),b=Is(r,b,!1),b!==nm){if(Jb&&!E){r.errorRecoveryDisabledLanes|=c,Wc|=c,r=Cf;break e}r=gl,gl=p,r!==null&&(gl===null?gl=r:gl.push.apply(gl,r))}r=b}if(c=!1,r!==nm)continue}}if(r===lg){du(e,0),fu(e,t,0,!0);break}e:{switch(u=e,r){case Er:case lg:throw Error("Root did not complete. This is a bug in React.");case Cf:if((t&4194048)!==t)break;case uv:fu(u,t,di,!Jc);break e;case nm:gl=null;break;case Xb:case IT:break;default:throw Error("Unknown root exit status.")}if(J.actQueue!==null)ti(u,n,t,gl,cg,ov,di,Wc,Hf);else{if((t&62914560)===t&&(c=Wb+ex-nn(),10<c)){if(fu(u,t,di,!Jc),yi(u,0,!0)!==0)break e;u.timeoutHandle=yx(Yy.bind(null,u,n,gl,cg,ov,t,di,Wc,Hf,Jc,r,bw,aT,0),c);break e}Yy(u,n,gl,cg,ov,t,di,Wc,Hf,Jc,r,gw,aT,0)}}}break}while(!0);Dl(e)}function Yy(e,t,n,u,r,c,p,b,E,A,$,P,K,te){if(e.timeoutHandle=Lf,P=t.subtreeFlags,(P&8192||(P&16785408)===16785408)&&(yg={stylesheets:null,count:0,unsuspend:_0},Fs(t),P=A0(),P!==null)){e.cancelPendingCommit=P(ti.bind(null,e,t,c,n,u,r,p,b,E,$,vw,K,te)),fu(e,c,p,!A);return}ti(e,t,c,n,u,r,p,b,E)}function s0(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var u=0;u<n.length;u++){var r=n[u],c=r.getSnapshot;r=r.value;try{if(!hl(c(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 fu(e,t,n,u){t&=~$b,t&=~Wc,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var r=t;0<r;){var c=31-Qa(r),p=1<<c;u[c]=-1,r&=~p}n!==0&&ze(e,n,t)}function ir(){return(Kt&(pl|Cu))===si?(ao(0),!1):!0}function Kd(){if(xt!==null){if(Pt===kl)var e=xt.return;else e=xt,yd(),Kl(e),Wh=null,eg=0,e=xt;for(;e!==null;)Ay(e.alternate,e),e=e.return;xt=null}}function du(e,t){var n=e.timeoutHandle;n!==Lf&&(e.timeoutHandle=Lf,Cw(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Kd(),ra=e,xt=n=Si(e.current,null),At=t,Pt=kl,fi=null,Jc=!1,im=Sl(e,t),Jb=!1,Da=Er,Hf=di=$b=Wc=$c=0,gl=rg=null,ov=!1,(t&8)!==0&&(t|=t&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=t;0<u;){var r=31-Qa(u),c=1<<r;t|=e[r],u&=~c}return Eo=t,od(),t=eT(),1e3<t-PS&&(J.recentlyCreatedOwnerStacks=0,PS=t),zu.discardPendingWarnings(),n}function Jd(e,t){et=null,J.H=lv,J.getCurrentStack=null,Mi=!1,un=null,t===Wp||t===P0?(t=ll(),Pt=ug):t===iT?(t=ll(),Pt=PT):Pt=t===GT?Kb:t!==null&&typeof t=="object"&&typeof t.then=="function"?lm:ig,fi=t;var n=xt;if(n===null)Da=lg,hc(e,Un(t,e.current));else switch(n.mode&Rn&&Gu(n),Fa(),Pt){case ig:Ee!==null&&typeof Ee.markComponentErrored=="function"&&Ee.markComponentErrored(n,t,At);break;case Uf:case Nf:case ug:case lm:case og:Ee!==null&&typeof Ee.markComponentSuspended=="function"&&Ee.markComponentSuspended(n,t,At)}}function Gy(){var e=J.H;return J.H=lv,e===null?lv:e}function Zy(){var e=J.A;return J.A=mw,e}function $d(){Da=Cf,Jc||(At&4194048)!==At&&Gi.current!==null||(im=!0),($c&134217727)===0&&(Wc&134217727)===0||ra===null||fu(ra,At,di,!1)}function Is(e,t,n){var u=Kt;Kt|=pl;var r=Gy(),c=Zy();if(ra!==e||At!==t){if(Ul){var p=e.memoizedUpdaters;0<p.size&&(or(e,At),p.clear()),pi(e,t)}cg=null,du(e,t)}bl(t),t=!1,p=Da;e:do try{if(Pt!==kl&&xt!==null){var b=xt,E=fi;switch(Pt){case Kb:Kd(),p=uv;break e;case ug:case Uf:case Nf:case lm:Gi.current===null&&(t=!0);var A=Pt;if(Pt=kl,fi=null,ur(e,b,E,A),n&&im){p=Er;break e}break;default:A=Pt,Pt=kl,fi=null,ur(e,b,E,A)}}Wd(),p=Da;break}catch($){Jd(e,$)}while(!0);return t&&e.shellSuspendCounter++,yd(),Kt=u,J.H=r,J.A=c,$i(),xt===null&&(ra=null,At=0,od()),p}function Wd(){for(;xt!==null;)Fd(xt)}function Xy(e,t){var n=Kt;Kt|=pl;var u=Gy(),r=Zy();if(ra!==e||At!==t){if(Ul){var c=e.memoizedUpdaters;0<c.size&&(or(e,At),c.clear()),pi(e,t)}cg=null,rv=nn()+tx,du(e,t)}else im=Sl(e,t);bl(t);e:do try{if(Pt!==kl&&xt!==null)t:switch(t=xt,c=fi,Pt){case ig:Pt=kl,fi=null,ur(e,t,c,ig);break;case Uf:case Nf:if(bd(c)){Pt=kl,fi=null,Ps(t);break}t=function(){Pt!==Uf&&Pt!==Nf||ra!==e||(Pt=og),Dl(e)},c.then(t,t);break e;case ug:Pt=og;break e;case PT:Pt=Qb;break e;case og:bd(c)?(Pt=kl,fi=null,Ps(t)):(Pt=kl,fi=null,ur(e,t,c,og));break;case Qb:var p=null;switch(xt.tag){case 26:p=xt.memoizedState;case 5:case 27:var b=xt;if(!p||hp(p)){Pt=kl,fi=null;var E=b.sibling;if(E!==null)xt=E;else{var A=b.return;A!==null?(xt=A,Tc(A)):xt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Pt=kl,fi=null,ur(e,t,c,Qb);break;case lm:Pt=kl,fi=null,ur(e,t,c,lm);break;case Kb:Kd(),Da=uv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}J.actQueue!==null?Wd():f0();break}catch($){Jd(e,$)}while(!0);return yd(),J.H=u,J.A=r,Kt=n,xt!==null?(Ee!==null&&typeof Ee.markRenderYielded=="function"&&Ee.markRenderYielded(),Er):($i(),ra=null,At=0,od(),Da)}function f0(){for(;xt!==null&&!hb();)Fd(xt)}function Fd(e){var t=e.alternate;(e.mode&Rn)!==fa?(tu(e),t=je(e,Iu,t,e,Eo),Gu(e)):t=je(e,Iu,t,e,Eo),e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Ps(e){var t=je(e,Qy,e);e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Qy(e){var t=e.alternate,n=(e.mode&Rn)!==fa;switch(n&&tu(e),e.tag){case 15:case 0:t=py(t,e,e.pendingProps,e.type,void 0,At);break;case 11:t=py(t,e,e.pendingProps,e.type.render,e.ref,At);break;case 5:Kl(e);default:Ay(t,e),e=xt=Xm(e,Eo),t=Iu(t,e,Eo)}return n&&Gu(e),t}function ur(e,t,n,u){yd(),Kl(t),Wh=null,eg=0;var r=t.return;try{if(Hd(e,r,t,n,At)){Da=lg,hc(e,Un(n,e.current)),xt=null;return}}catch(c){if(r!==null)throw xt=r,c;Da=lg,hc(e,Un(n,e.current)),xt=null;return}t.flags&32768?(kt||u===ig?e=!0:im||(At&536870912)!==0?e=!1:(Jc=e=!0,(u===Uf||u===Nf||u===ug||u===lm)&&(u=Gi.current,u!==null&&u.tag===13&&(u.flags|=16384))),Ky(t,e)):Tc(t)}function Tc(e){var t=e;do{if((t.flags&32768)!==0){Ky(t,Jc);return}var n=t.alternate;if(e=t.return,tu(t),n=je(t,a0,n,t,Eo),(t.mode&Rn)!==fa&&gd(t),n!==null){xt=n;return}if(t=t.sibling,t!==null){xt=t;return}xt=t=e}while(t!==null);Da===Er&&(Da=IT)}function Ky(e,t){do{var n=n0(e.alternate,e);if(n!==null){n.flags&=32767,xt=n;return}if((e.mode&Rn)!==fa){gd(e),n=e.actualDuration;for(var u=e.child;u!==null;)n+=u.actualDuration,u=u.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){xt=e;return}xt=e=n}while(e!==null);Da=uv,xt=null}function ti(e,t,n,u,r,c,p,b,E){e.cancelPendingCommit=null;do eo();while(zn!==kf);if(zu.flushLegacyContextWarning(),zu.flushPendingUnsafeLifecycleWarnings(),(Kt&(pl|Cu))!==si)throw Error("Should not already be working.");if(Ee!==null&&typeof Ee.markCommitStarted=="function"&&Ee.markCommitStarted(n),t===null)Dt();else{if(n===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(c=t.lanes|t.childLanes,c|=_b,me(e,n,c,p,b,E),e===ra&&(xt=ra=null,At=0),um=t,Ic=e,Pc=n,Ib=c,Pb=r,ix=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,y0(jc,function(){return xc(),null})):(e.callbackNode=null,e.callbackPriority=0),$0=Xh(),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null,r=Lt.p,Lt.p=dl,p=Kt,Kt|=Cu;try{o0(e,t,n)}finally{Kt=p,Lt.p=r,J.T=u}}zn=ax,Id(),d0(),Jy()}}function Id(){if(zn===ax){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{tm=n,am=e,Uy(t,e),am=tm=null,n=s1;var p=Jg(e.containerInfo),b=n.focusedElem,E=n.selectionRange;if(p!==b&&b&&b.ownerDocument&&Kg(b.ownerDocument.documentElement,b)){if(E!==null&&Ym(b)){var A=E.start,$=E.end;if($===void 0&&($=A),"selectionStart"in b)b.selectionStart=A,b.selectionEnd=Math.min($,b.value.length);else{var P=b.ownerDocument||document,K=P&&P.defaultView||window;if(K.getSelection){var te=K.getSelection(),Ue=b.textContent.length,We=Math.min(E.start,Ue),ca=E.end===void 0?We:Math.min(E.end,Ue);!te.extend&&We>ca&&(p=ca,ca=We,We=p);var zt=Qg(b,We),D=Qg(b,ca);if(zt&&D&&(te.rangeCount!==1||te.anchorNode!==zt.node||te.anchorOffset!==zt.offset||te.focusNode!==D.node||te.focusOffset!==D.offset)){var M=P.createRange();M.setStart(zt.node,zt.offset),te.removeAllRanges(),We>ca?(te.addRange(M),te.extend(D.node,D.offset)):(M.setEnd(D.node,D.offset),te.addRange(M))}}}}for(P=[],te=b;te=te.parentNode;)te.nodeType===1&&P.push({element:te,left:te.scrollLeft,top:te.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<P.length;b++){var N=P[b];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}_v=!!c1,s1=c1=null}finally{Kt=c,Lt.p=r,J.T=u}}e.current=t,zn=nx}}function d0(){if(zn===nx){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{Ee!==null&&typeof Ee.markLayoutEffectsStarted=="function"&&Ee.markLayoutEffectsStarted(n),tm=n,am=e,Cy(e,t.alternate,t),am=tm=null,Ee!==null&&typeof Ee.markLayoutEffectsStopped=="function"&&Ee.markLayoutEffectsStopped()}finally{Kt=c,Lt.p=r,J.T=u}}zn=lx}}function Jy(){if(zn===Sw||zn===lx){zn=kf,mb();var e=Ic,t=um,n=Pc,u=ix,r=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;r?zn=Fb:(zn=kf,um=Ic=null,$y(e,e.pendingLanes),jf=0,fg=null);var c=e.pendingLanes;if(c===0&&(Fc=null),r||ai(e),r=Sn(n),t=t.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{var p=(t.current.flags&128)===128;switch(r){case dl:var b=mf;break;case Di:b=Sp;break;case wu:b=jc;break;case wh:b=xp;break;default:b=jc}ln.onCommitFiberRoot(mr,t,b,p)}catch(P){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",P))}if(Ul&&e.memoizedUpdaters.clear(),c0(),u!==null){p=J.T,b=Lt.p,Lt.p=dl,J.T=null;try{var E=e.onRecoverableError;for(t=0;t<u.length;t++){var A=u[t],$=hu(A.stack);je(A.source,E,A.value,$)}}finally{J.T=p,Lt.p=b}}(Pc&3)!==0&&eo(),Dl(e),c=e.pendingLanes,(n&4194090)!==0&&(c&42)!==0?(F0=!0,e===e1?sg++:(sg=0,e1=e)):sg=0,ao(0),Dt()}}function hu(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 $y(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qo(t)))}function eo(e){return Id(),d0(),Jy(),xc()}function xc(){if(zn!==Fb)return!1;var e=Ic,t=Ib;Ib=0;var n=Sn(Pc),u=wu>n?wu:n;n=J.T;var r=Lt.p;try{Lt.p=u,J.T=null,u=Pb,Pb=null;var c=Ic,p=Pc;if(zn=kf,um=Ic=null,Pc=0,(Kt&(pl|Cu))!==si)throw Error("Cannot flush passive effects while already rendering.");t1=!0,cv=!1,Ee!==null&&typeof Ee.markPassiveEffectsStarted=="function"&&Ee.markPassiveEffectsStarted(p);var b=Kt;if(Kt|=Cu,By(c.current),Xd(c,c.current,p,u),Ee!==null&&typeof Ee.markPassiveEffectsStopped=="function"&&Ee.markPassiveEffectsStopped(),ai(c),Kt=b,ao(0,!1),cv?c===fg?jf++:(jf=0,fg=c):jf=0,cv=t1=!1,ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(mr,c)}catch(A){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",A))}var E=c.current.stateNode;return E.effectDuration=0,E.passiveEffectDuration=0,!0}finally{Lt.p=r,J.T=n,$y(e,t)}}function sa(e,t,n){t=Un(n,t),t=ga(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(ge(e,2),Dl(e))}function $t(e,t,n){if(om=!1,e.tag===3)sa(e,e,n);else{for(;t!==null;){if(t.tag===3){sa(t,e,n);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Fc===null||!Fc.has(u))){e=Un(n,e),n=Vs(2),u=Zl(t,n,2),u!==null&&(er(n,u,t,e),ge(u,2),Dl(u));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.
|
|
243
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,je(t,function(b,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",b,E)},c,p)}n=n.next}while(n!==r)}}catch(b){$t(t,t.return,b)}}function ar(e,t,n){try{var u=t.updateQueue,r=u!==null?u.lastEffect:null;if(r!==null){var c=r.next;u=c;do{if((u.tag&e)===e){var p=u.inst,b=p.destroy;b!==void 0&&(p.destroy=void 0,(e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStarted=="function"&&Ee.markComponentPassiveEffectUnmountStarted(t):(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStarted=="function"&&Ee.markComponentLayoutEffectUnmountStarted(t),(e&yl)!==Li&&(om=!0),r=t,je(r,hw,r,n,b),(e&yl)!==Li&&(om=!1),(e&rn)!==Li?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStopped=="function"&&Ee.markComponentPassiveEffectUnmountStopped():(e&On)!==Li&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStopped=="function"&&Ee.markComponentLayoutEffectUnmountStopped())}u=u.next}while(u!==c)}}catch(E){$t(t,t.return,E)}}function Yd(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Gd(e,t,n){Fl(e)?(hn(),ar(n,e,t),Yl()):ar(n,e,t)}function Ry(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||em||(n.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.",Ae(e)||"instance"),n.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.",Ae(e)||"instance"));try{je(e,kn,t,n)}catch(u){$t(e,e.return,u)}}}function ub(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Oy(e,t){var n=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||em||(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.",Ae(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.",Ae(e)||"instance"));try{var r=Fu(e.type,n,e.elementType===e.type),c=je(e,ub,t,r,u);n=WT,c!==void 0||n.has(e.type)||(n.add(e.type),je(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ae(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(p){$t(e,e.return,p)}}function zy(e,t,n){n.props=Fu(e.type,e.memoizedProps),n.state=e.memoizedState,Fl(e)?(hn(),je(e,ET,e,t,n),Yl()):je(e,ET,e,t,n)}function n0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Fl(e))try{hn(),e.refCleanup=t(n)}finally{Yl()}else e.refCleanup=t(n);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().",Ae(e)),t.current=n}}function nr(e,t){try{je(e,n0,e)}catch(n){$t(e,t,n)}}function Il(e,t){var n=e.ref,u=e.refCleanup;if(n!==null)if(typeof u=="function")try{if(Fl(e))try{hn(),je(e,u)}finally{Yl(e)}else je(e,u)}catch(r){$t(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Fl(e))try{hn(),je(e,n,null)}finally{Yl(e)}else je(e,n,null)}catch(r){$t(e,t,r)}else n.current=null}function Dy(e,t,n,u){var r=e.memoizedProps,c=r.id,p=r.onCommit;r=r.onRender,t=t===null?"mount":"update",$0&&(t="nested-update"),typeof r=="function"&&r(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof p=="function"&&p(e.memoizedProps.id,t,u,n)}function ob(e,t,n,u){var r=e.memoizedProps;e=r.id,r=r.onPostCommit,t=t===null?"mount":"update",$0&&(t="nested-update"),typeof r=="function"&&r(e,t,u,n)}function l0(e){var t=e.type,n=e.memoizedProps,u=e.stateNode;try{je(e,ba,u,t,n,e)}catch(r){$t(e,e.return,r)}}function Zd(e,t,n){try{je(e,uo,e.stateNode,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function yc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ka(e.type)||e.tag===4}function Qs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yc(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&&ka(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 pc(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=no));else if(u!==4&&(u===27&&ka(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pc(e,t,n),e=e.sibling;e!==null;)pc(e,t,n),e=e.sibling}function Ks(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(u!==4&&(u===27&&ka(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ks(e,t,n),e=e.sibling;e!==null;)Ks(e,t,n),e=e.sibling}function i0(e){for(var t,n=e.return;n!==null;){if(yc(n)){t=n;break}n=n.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,n=Qs(e),Ks(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(oo(n),t.flags&=-33),t=Qs(e),Ks(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Qs(e),pc(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Js(e){var t=e.stateNode,n=e.memoizedProps;try{je(e,S0,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function u0(e,t){if(e=e.containerInfo,c1=Ev,e=Kg(e),qm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var u=n.getSelection&&n.getSelection();if(u&&u.rangeCount!==0){n=u.anchorNode;var r=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var p=0,b=-1,E=-1,A=0,$=0,P=e,K=null;t:for(;;){for(var te;P!==n||r!==0&&P.nodeType!==3||(b=p+r),P!==c||u!==0&&P.nodeType!==3||(E=p+u),P.nodeType===3&&(p+=P.nodeValue.length),(te=P.firstChild)!==null;)K=P,P=te;for(;;){if(P===e)break t;if(K===n&&++A===r&&(b=p),K===c&&++$===u&&(E=p),(te=P.nextSibling)!==null)break;P=K,K=P.parentNode}P=te}n=b===-1||E===-1?null:{start:b,end:E}}else n=null}n=n||{start:0,end:0}}else n=null;for(s1={focusedElem:e,selectionRange:n},Ev=!1,vn=t;vn!==null;)if(t=vn,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,vn=e;else for(;vn!==null;){switch(e=t=vn,n=e.alternate,r=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(r&1024)!==0&&n!==null&&Oy(e,n);break;case 3:if((r&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Ai(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ai(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&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,vn=e;break}vn=t.return}}function My(e,t,n){var u=n.flags;switch(n.tag){case 0:case 11:case 15:Ra(e,n),u&4&&Ay(n,On|qi);break;case 1:if(Ra(e,n),u&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.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.",Ae(n)||"instance"),e.state!==n.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.",Ae(n)||"instance")),Fl(n)?(hn(),je(n,jb,n,e),Yl()):je(n,jb,n,e);else{var r=Fu(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.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.",Ae(n)||"instance"),e.state!==n.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.",Ae(n)||"instance")),Fl(n)?(hn(),je(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate),Yl()):je(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate)}u&64&&Ry(n),u&512&&nr(n,n.return);break;case 3:if(t=nl(),Ra(e,n),u&64&&(u=n.updateQueue,u!==null)){if(r=null,n.child!==null)switch(n.child.tag){case 27:case 5:r=n.child.stateNode;break;case 1:r=n.child.stateNode}try{je(n,kn,u,r)}catch(p){$t(n,n.return,p)}}e.effectDuration+=Jr(t);break;case 27:t===null&&u&4&&Js(n);case 26:case 5:Ra(e,n),t===null&&u&4&&l0(n),u&512&&nr(n,n.return);break;case 12:if(u&4){u=nl(),Ra(e,n),e=n.stateNode,e.effectDuration+=$r(u);try{je(n,Dy,n,t,J0,e.effectDuration)}catch(p){$t(n,n.return,p)}}else Ra(e,n);break;case 13:Ra(e,n),u&4&&$s(e,n),u&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=to.bind(null,n),Oc(e,n))));break;case 22:if(u=n.memoizedState!==null||xr,!u){t=t!==null&&t.memoizedState!==null||Ba,r=xr;var c=Ba;xr=u,(Ba=t)&&!c?mn(e,n,(n.subtreeFlags&8772)!==0):Ra(e,n),xr=r,Ba=c}break;case 30:break;default:Ra(e,n)}}function o0(e){var t=e.alternate;t!==null&&(e.alternate=null,o0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Tn(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 Yn(e,t,n){for(n=n.child;n!==null;)gc(e,t,n),n=n.sibling}function gc(e,t,n){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(mr,n)}catch(c){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",c))}switch(n.tag){case 26:Ba||Il(n,t),Yn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ba||Il(n,t);var u=Wa,r=Hl;ka(n.type)&&(Wa=n.stateNode,Hl=!1),Yn(e,t,n),je(n,Dc,n.stateNode),Wa=u,Hl=r;break;case 5:Ba||Il(n,t);case 6:if(u=Wa,r=Hl,Wa=null,Yn(e,t,n),Wa=u,Hl=r,Wa!==null)if(Hl)try{je(n,af,Wa,n.stateNode)}catch(c){$t(n,t,c)}else try{je(n,Rc,Wa,n.stateNode)}catch(c){$t(n,t,c)}break;case 18:Wa!==null&&(Hl?(e=Wa,An(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Hc(e)):An(Wa,n.stateNode));break;case 4:u=Wa,r=Hl,Wa=n.stateNode.containerInfo,Hl=!0,Yn(e,t,n),Wa=u,Hl=r;break;case 0:case 11:case 14:case 15:Ba||ar(yl,n,t),Ba||Xs(n,t,On),Yn(e,t,n);break;case 1:Ba||(Il(n,t),u=n.stateNode,typeof u.componentWillUnmount=="function"&&zy(n,t,u)),Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:Ba=(u=Ba)||n.memoizedState!==null,Yn(e,t,n),Ba=u;break;default:Yn(e,t,n)}}function $s(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{je(t,b0,e)}catch(n){$t(t,t.return,n)}}function Ws(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new FT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new FT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function vc(e,t){var n=Ws(e);t.forEach(function(u){var r=h0.bind(null,e,u);if(!n.has(u)){if(n.add(u),Ul)if(tm!==null&&am!==null)or(am,tm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(r,r)}})}function Gn(e,t){var n=t.deletions;if(n!==null)for(var u=0;u<n.length;u++){var r=e,c=t,p=n[u],b=c;e:for(;b!==null;){switch(b.tag){case 27:if(ka(b.type)){Wa=b.stateNode,Hl=!1;break e}break;case 5:Wa=b.stateNode,Hl=!1;break e;case 3:case 4:Wa=b.stateNode.containerInfo,Hl=!0;break e}b=b.return}if(Wa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");gc(r,c,p),Wa=null,Hl=!1,r=p,c=r.alternate,c!==null&&(c.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Cy(t,e),t=t.sibling}function Cy(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Gn(t,e),Ga(e),u&4&&(ar(yl|qi,e,e.return),mc(yl|qi,e),Xs(e,e.return,On|qi));break;case 1:Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),u&64&&xr&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?u:n.concat(u))));break;case 26:var r=Mu;if(Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),u&4)if(t=n!==null?n.memoizedState:null,u=e.memoizedState,n===null)if(u===null)if(e.stateNode===null){e:{u=e.type,n=e.memoizedProps,t=r.ownerDocument||r;t:switch(u){case"title":r=t.getElementsByTagName("title")[0],(!r||r[pf]||r[pn]||r.namespaceURI===Ru||r.hasAttribute("itemprop"))&&(r=t.createElement(u),t.head.insertBefore(r,t.querySelector("head > title"))),Xa(r,u,n),r[pn]=e,L(r),u=r;break e;case"link":var c=fp("link","href",t).get(u+(n.href||""));if(c){for(var p=0;p<c.length;p++)if(r=c[p],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){c.splice(p,1);break t}}r=t.createElement(u),Xa(r,u,n),t.head.appendChild(r);break;case"meta":if(c=fp("meta","content",t).get(u+(n.content||""))){for(p=0;p<c.length;p++)if(r=c[p],ee(n.content,"content"),r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){c.splice(p,1);break t}}r=t.createElement(u),Xa(r,u,n),t.head.appendChild(r);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+u+'". This is a bug in React.')}r[pn]=e,L(r),u=r}e.stateNode=u}else fr(r,e.type,e.stateNode);else e.stateNode=x0(r,u,e.memoizedProps);else t!==u?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,u===null?fr(r,e.type,e.stateNode):x0(r,u,e.memoizedProps)):u===null&&e.stateNode!==null&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 27:Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),n!==null&&u&4&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Gn(t,e),Ga(e),u&512&&(Ba||n===null||Il(n,n.return)),e.flags&32){t=e.stateNode;try{je(e,oo,t)}catch($){$t(e,e.return,$)}}u&4&&e.stateNode!=null&&(t=e.memoizedProps,Zd(e,t,n!==null?n.memoizedProps:t)),u&1024&&(Zb=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Gn(t,e),Ga(e),u&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.");u=e.memoizedProps,n=n!==null?n.memoizedProps:u,t=e.stateNode;try{je(e,ip,t,n,u)}catch($){$t(e,e.return,$)}}break;case 3:if(r=nl(),Sv=null,c=Mu,Mu=oh(t.containerInfo),Gn(t,e),Mu=c,Ga(e),u&4&&n!==null&&n.memoizedState.isDehydrated)try{je(e,sl,t.containerInfo)}catch($){$t(e,e.return,$)}Zb&&(Zb=!1,Uy(e)),t.effectDuration+=Jr(r);break;case 4:u=Mu,Mu=oh(e.stateNode.containerInfo),Gn(t,e),Ga(e),Mu=u;break;case 12:u=nl(),Gn(t,e),Ga(e),e.stateNode.effectDuration+=$r(u);break;case 13:Gn(t,e),Ga(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Wb=nn()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 22:r=e.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,E=xr,A=Ba;if(xr=E||r,Ba=A||b,Gn(t,e),Ba=A,xr=E,Ga(e),u&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&~Z0:t._visibility|Z0,r&&(n===null||b||xr||Ba||Zn(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){b=n=t;try{c=b.stateNode,r?je(b,up,c):je(b,nh,b.stateNode,b.memoizedProps)}catch($){$t(b,b.return,$)}}}else if(t.tag===6){if(n===null){b=t;try{p=b.stateNode,r?je(b,op,p):je(b,lh,p,b.memoizedProps)}catch($){$t(b,b.return,$)}}}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;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=e.updateQueue,u!==null&&(n=u.retryQueue,n!==null&&(u.retryQueue=null,vc(e,n))));break;case 19:Gn(t,e),Ga(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 30:break;case 21:break;default:Gn(t,e),Ga(e)}}function Ga(e){var t=e.flags;if(t&2){try{je(e,i0,e)}catch(n){$t(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Uy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Uy(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ra(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)My(e,t.alternate,t),t=t.sibling}function Pl(e){switch(e.tag){case 0:case 11:case 14:case 15:Xs(e,e.return,On),Zn(e);break;case 1:Il(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&zy(e,e.return,t),Zn(e);break;case 27:je(e,Dc,e.stateNode);case 26:case 5:Il(e,e.return),Zn(e);break;case 22:e.memoizedState===null&&Zn(e);break;case 30:Zn(e);break;default:Zn(e)}}function Zn(e){for(e=e.child;e!==null;)Pl(e),e=e.sibling}function Ny(e,t,n,u){var r=n.flags;switch(n.tag){case 0:case 11:case 15:mn(e,n,u),Ay(n,On);break;case 1:if(mn(e,n,u),t=n.stateNode,typeof t.componentDidMount=="function"&&je(n,jb,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{je(n,ib,t,e)}catch(c){$t(n,n.return,c)}}u&&r&64&&Ry(n),nr(n,n.return);break;case 27:Js(n);case 26:case 5:mn(e,n,u),u&&t===null&&r&4&&l0(n),nr(n,n.return);break;case 12:if(u&&r&4){r=nl(),mn(e,n,u),u=n.stateNode,u.effectDuration+=$r(r);try{je(n,Dy,n,t,J0,u.effectDuration)}catch(c){$t(n,n.return,c)}}else mn(e,n,u);break;case 13:mn(e,n,u),u&&r&4&&$s(e,n);break;case 22:n.memoizedState===null&&mn(e,n,u),nr(n,n.return);break;case 30:break;default:mn(e,n,u)}}function mn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Ny(e,t.alternate,t,n),t=t.sibling}function ei(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&_l(e),n!=null&&Qo(n))}function xa(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(_l(t),e!=null&&Qo(e))}function ul(e,t,n,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xd(e,t,n,u),t=t.sibling}function Xd(e,t,n,u){var r=t.flags;switch(t.tag){case 0:case 11:case 15:ul(e,t,n,u),r&2048&&Yd(t,rn|qi);break;case 1:ul(e,t,n,u);break;case 3:var c=nl();ul(e,t,n,u),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(_l(t),n!=null&&Qo(n))),e.passiveEffectDuration+=Jr(c);break;case 12:if(r&2048){r=nl(),ul(e,t,n,u),e=t.stateNode,e.passiveEffectDuration+=$r(r);try{je(t,ob,t,t.alternate,J0,e.passiveEffectDuration)}catch(b){$t(t,t.return,b)}}else ul(e,t,n,u);break;case 13:ul(e,t,n,u);break;case 23:break;case 22:c=t.stateNode;var p=t.alternate;t.memoizedState!==null?c._visibility&pr?ul(e,t,n,u):bc(e,t):c._visibility&pr?ul(e,t,n,u):(c._visibility|=pr,Pu(e,t,n,u,(t.subtreeFlags&10256)!==0)),r&2048&&ei(p,t);break;case 24:ul(e,t,n,u),r&2048&&xa(t.alternate,t);break;default:ul(e,t,n,u)}}function Pu(e,t,n,u,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)Hy(e,t,n,u,r),t=t.sibling}function Hy(e,t,n,u,r){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Pu(e,t,n,u,r),Yd(t,rn);break;case 23:break;case 22:var p=t.stateNode;t.memoizedState!==null?p._visibility&pr?Pu(e,t,n,u,r):bc(e,t):(p._visibility|=pr,Pu(e,t,n,u,r)),r&&c&2048&&ei(t.alternate,t);break;case 24:Pu(e,t,n,u,r),r&&c&2048&&xa(t.alternate,t);break;default:Pu(e,t,n,u,r)}}function bc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,u=t,r=u.flags;switch(u.tag){case 22:bc(n,u),r&2048&&ei(u.alternate,u);break;case 24:bc(n,u),r&2048&&xa(u.alternate,u);break;default:bc(n,u)}t=t.sibling}}function zl(e){if(e.subtreeFlags&tg)for(e=e.child;e!==null;)Fs(e),e=e.sibling}function Fs(e){switch(e.tag){case 26:zl(e),e.flags&tg&&e.memoizedState!==null&&_0(Mu,e.memoizedState,e.memoizedProps);break;case 5:zl(e);break;case 3:case 4:var t=Mu;Mu=oh(e.stateNode.containerInfo),zl(e),Mu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=tg,tg=16777216,zl(e),tg=t):zl(e));break;default:zl(e)}}function ky(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 Sc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}ky(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jy(e),e=e.sibling}function jy(e){switch(e.tag){case 0:case 11:case 15:Sc(e),e.flags&2048&&Gd(e,e.return,rn|qi);break;case 3:var t=nl();Sc(e),e.stateNode.passiveEffectDuration+=Jr(t);break;case 12:t=nl(),Sc(e),e.stateNode.passiveEffectDuration+=$r(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&pr&&(e.return===null||e.return.tag!==13)?(t._visibility&=~pr,lr(e)):Sc(e);break;default:Sc(e)}}function lr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}ky(e)}for(e=e.child;e!==null;)By(e),e=e.sibling}function By(e){switch(e.tag){case 0:case 11:case 15:Gd(e,e.return,rn),lr(e);break;case 22:var t=e.stateNode;t._visibility&pr&&(t._visibility&=~pr,lr(e));break;default:lr(e)}}function Qd(e,t){for(;vn!==null;){var n=vn,u=n;switch(u.tag){case 0:case 11:case 15:Gd(u,t,rn);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(u=u.memoizedState.cachePool.pool,u!=null&&_l(u));break;case 24:Qo(u.memoizedState.cache)}if(u=n.child,u!==null)u.return=n,vn=u;else e:for(n=e;vn!==null;){u=vn;var r=u.sibling,c=u.return;if(o0(u),u===n){vn=null;break e}if(r!==null){r.return=c,vn=r;break e}vn=c}}}function r0(){yw.forEach(function(e){return e()})}function Vy(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||J.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ol(e){if((Kt&pl)!==si&&At!==0)return At&-At;var t=J.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Of,e!==0?e:th()):Do()}function Ly(){di===0&&(di=(At&536870912)===0||kt?k():536870912);var e=Gi.current;return e!==null&&(e.flags|=32),di}function bt(e,t,n){if(om&&console.error("useInsertionEffect must not schedule updates."),t1&&(rv=!0),(e===ra&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)&&(du(e,0),fu(e,At,di,!1)),ge(e,n),(Kt&pl)!==0&&e===ra){if(Mi)switch(t.tag){case 0:case 11:case 15:e=xt&&Ae(xt)||"Unknown",ox.has(e)||(ox.add(e),t=Ae(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:ux||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ux=!0)}}else Ul&&Gt(e,t,n),Fy(t),e===ra&&((Kt&pl)===si&&(Wc|=n),Da===Cf&&fu(e,At,di,!1)),Dl(e)}function Za(e,t,n){if((Kt&(pl|Cu))!==si)throw Error("Should not already be working.");var u=!n&&(t&124)===0&&(t&e.expiredLanes)===0||Sl(e,t),r=u?Zy(e,t):Is(e,t,!0),c=u;do{if(r===Er){im&&!u&&fu(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!c0(n)){r=Is(e,t,!1),c=!1;continue}if(r===nm){if(c=t,e.errorRecoveryDisabledLanes&c)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{r=e;var b=p;p=og;var E=r.current.memoizedState.isDehydrated;if(E&&(du(r,b).flags|=256),b=Is(r,b,!1),b!==nm){if(Jb&&!E){r.errorRecoveryDisabledLanes|=c,Wc|=c,r=Cf;break e}r=gl,gl=p,r!==null&&(gl===null?gl=r:gl.push.apply(gl,r))}r=b}if(c=!1,r!==nm)continue}}if(r===ng){du(e,0),fu(e,t,0,!0);break}e:{switch(u=e,r){case Er:case ng:throw Error("Root did not complete. This is a bug in React.");case Cf:if((t&4194048)!==t)break;case iv:fu(u,t,di,!Jc);break e;case nm:gl=null;break;case Xb:case IT:break;default:throw Error("Unknown root exit status.")}if(J.actQueue!==null)ti(u,n,t,gl,rg,uv,di,Wc,Hf);else{if((t&62914560)===t&&(c=Wb+ex-nn(),10<c)){if(fu(u,t,di,!Jc),yi(u,0,!0)!==0)break e;u.timeoutHandle=yx(qy.bind(null,u,n,gl,rg,uv,t,di,Wc,Hf,Jc,r,bw,aT,0),c);break e}qy(u,n,gl,rg,uv,t,di,Wc,Hf,Jc,r,gw,aT,0)}}}break}while(!0);Dl(e)}function qy(e,t,n,u,r,c,p,b,E,A,$,P,K,te){if(e.timeoutHandle=Lf,P=t.subtreeFlags,(P&8192||(P&16785408)===16785408)&&(mg={stylesheets:null,count:0,unsuspend:E0},Fs(t),P=w0(),P!==null)){e.cancelPendingCommit=P(ti.bind(null,e,t,c,n,u,r,p,b,E,$,vw,K,te)),fu(e,c,p,!A);return}ti(e,t,c,n,u,r,p,b,E)}function c0(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var u=0;u<n.length;u++){var r=n[u],c=r.getSnapshot;r=r.value;try{if(!hl(c(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 fu(e,t,n,u){t&=~$b,t&=~Wc,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var r=t;0<r;){var c=31-Qa(r),p=1<<c;u[c]=-1,r&=~p}n!==0&&ze(e,n,t)}function ir(){return(Kt&(pl|Cu))===si?(ao(0),!1):!0}function Kd(){if(xt!==null){if(Pt===kl)var e=xt.return;else e=xt,yd(),Kl(e),Wh=null,Pp=0,e=xt;for(;e!==null;)wy(e.alternate,e),e=e.return;xt=null}}function du(e,t){var n=e.timeoutHandle;n!==Lf&&(e.timeoutHandle=Lf,Cw(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Kd(),ra=e,xt=n=Si(e.current,null),At=t,Pt=kl,fi=null,Jc=!1,im=Sl(e,t),Jb=!1,Da=Er,Hf=di=$b=Wc=$c=0,gl=og=null,uv=!1,(t&8)!==0&&(t|=t&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=t;0<u;){var r=31-Qa(u),c=1<<r;t|=e[r],u&=~c}return Eo=t,od(),t=eT(),1e3<t-PS&&(J.recentlyCreatedOwnerStacks=0,PS=t),zu.discardPendingWarnings(),n}function Jd(e,t){et=null,J.H=nv,J.getCurrentStack=null,Mi=!1,un=null,t===$p||t===I0?(t=ll(),Pt=ig):t===iT?(t=ll(),Pt=PT):Pt=t===GT?Kb:t!==null&&typeof t=="object"&&typeof t.then=="function"?lm:lg,fi=t;var n=xt;if(n===null)Da=ng,hc(e,Un(t,e.current));else switch(n.mode&Rn&&Gu(n),Fa(),Pt){case lg:Ee!==null&&typeof Ee.markComponentErrored=="function"&&Ee.markComponentErrored(n,t,At);break;case Uf:case Nf:case ig:case lm:case ug:Ee!==null&&typeof Ee.markComponentSuspended=="function"&&Ee.markComponentSuspended(n,t,At)}}function Yy(){var e=J.H;return J.H=nv,e===null?nv:e}function Gy(){var e=J.A;return J.A=mw,e}function $d(){Da=Cf,Jc||(At&4194048)!==At&&Gi.current!==null||(im=!0),($c&134217727)===0&&(Wc&134217727)===0||ra===null||fu(ra,At,di,!1)}function Is(e,t,n){var u=Kt;Kt|=pl;var r=Yy(),c=Gy();if(ra!==e||At!==t){if(Ul){var p=e.memoizedUpdaters;0<p.size&&(or(e,At),p.clear()),pi(e,t)}rg=null,du(e,t)}bl(t),t=!1,p=Da;e:do try{if(Pt!==kl&&xt!==null){var b=xt,E=fi;switch(Pt){case Kb:Kd(),p=iv;break e;case ig:case Uf:case Nf:case lm:Gi.current===null&&(t=!0);var A=Pt;if(Pt=kl,fi=null,ur(e,b,E,A),n&&im){p=Er;break e}break;default:A=Pt,Pt=kl,fi=null,ur(e,b,E,A)}}Wd(),p=Da;break}catch($){Jd(e,$)}while(!0);return t&&e.shellSuspendCounter++,yd(),Kt=u,J.H=r,J.A=c,$i(),xt===null&&(ra=null,At=0,od()),p}function Wd(){for(;xt!==null;)Fd(xt)}function Zy(e,t){var n=Kt;Kt|=pl;var u=Yy(),r=Gy();if(ra!==e||At!==t){if(Ul){var c=e.memoizedUpdaters;0<c.size&&(or(e,At),c.clear()),pi(e,t)}rg=null,ov=nn()+tx,du(e,t)}else im=Sl(e,t);bl(t);e:do try{if(Pt!==kl&&xt!==null)t:switch(t=xt,c=fi,Pt){case lg:Pt=kl,fi=null,ur(e,t,c,lg);break;case Uf:case Nf:if(bd(c)){Pt=kl,fi=null,Ps(t);break}t=function(){Pt!==Uf&&Pt!==Nf||ra!==e||(Pt=ug),Dl(e)},c.then(t,t);break e;case ig:Pt=ug;break e;case PT:Pt=Qb;break e;case ug:bd(c)?(Pt=kl,fi=null,Ps(t)):(Pt=kl,fi=null,ur(e,t,c,ug));break;case Qb:var p=null;switch(xt.tag){case 26:p=xt.memoizedState;case 5:case 27:var b=xt;if(!p||dp(p)){Pt=kl,fi=null;var E=b.sibling;if(E!==null)xt=E;else{var A=b.return;A!==null?(xt=A,Tc(A)):xt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Pt=kl,fi=null,ur(e,t,c,Qb);break;case lm:Pt=kl,fi=null,ur(e,t,c,lm);break;case Kb:Kd(),Da=iv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}J.actQueue!==null?Wd():s0();break}catch($){Jd(e,$)}while(!0);return yd(),J.H=u,J.A=r,Kt=n,xt!==null?(Ee!==null&&typeof Ee.markRenderYielded=="function"&&Ee.markRenderYielded(),Er):($i(),ra=null,At=0,od(),Da)}function s0(){for(;xt!==null&&!hb();)Fd(xt)}function Fd(e){var t=e.alternate;(e.mode&Rn)!==fa?(tu(e),t=je(e,Iu,t,e,Eo),Gu(e)):t=je(e,Iu,t,e,Eo),e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Ps(e){var t=je(e,Xy,e);e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Xy(e){var t=e.alternate,n=(e.mode&Rn)!==fa;switch(n&&tu(e),e.tag){case 15:case 0:t=yy(t,e,e.pendingProps,e.type,void 0,At);break;case 11:t=yy(t,e,e.pendingProps,e.type.render,e.ref,At);break;case 5:Kl(e);default:wy(t,e),e=xt=Zm(e,Eo),t=Iu(t,e,Eo)}return n&&Gu(e),t}function ur(e,t,n,u){yd(),Kl(t),Wh=null,Pp=0;var r=t.return;try{if(Hd(e,r,t,n,At)){Da=ng,hc(e,Un(n,e.current)),xt=null;return}}catch(c){if(r!==null)throw xt=r,c;Da=ng,hc(e,Un(n,e.current)),xt=null;return}t.flags&32768?(kt||u===lg?e=!0:im||(At&536870912)!==0?e=!1:(Jc=e=!0,(u===Uf||u===Nf||u===ig||u===lm)&&(u=Gi.current,u!==null&&u.tag===13&&(u.flags|=16384))),Qy(t,e)):Tc(t)}function Tc(e){var t=e;do{if((t.flags&32768)!==0){Qy(t,Jc);return}var n=t.alternate;if(e=t.return,tu(t),n=je(t,t0,n,t,Eo),(t.mode&Rn)!==fa&&gd(t),n!==null){xt=n;return}if(t=t.sibling,t!==null){xt=t;return}xt=t=e}while(t!==null);Da===Er&&(Da=IT)}function Qy(e,t){do{var n=a0(e.alternate,e);if(n!==null){n.flags&=32767,xt=n;return}if((e.mode&Rn)!==fa){gd(e),n=e.actualDuration;for(var u=e.child;u!==null;)n+=u.actualDuration,u=u.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){xt=e;return}xt=e=n}while(e!==null);Da=iv,xt=null}function ti(e,t,n,u,r,c,p,b,E){e.cancelPendingCommit=null;do eo();while(zn!==kf);if(zu.flushLegacyContextWarning(),zu.flushPendingUnsafeLifecycleWarnings(),(Kt&(pl|Cu))!==si)throw Error("Should not already be working.");if(Ee!==null&&typeof Ee.markCommitStarted=="function"&&Ee.markCommitStarted(n),t===null)Dt();else{if(n===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(c=t.lanes|t.childLanes,c|=_b,me(e,n,c,p,b,E),e===ra&&(xt=ra=null,At=0),um=t,Ic=e,Pc=n,Ib=c,Pb=r,ix=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,m0(jc,function(){return xc(),null})):(e.callbackNode=null,e.callbackPriority=0),J0=Xh(),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null,r=Lt.p,Lt.p=dl,p=Kt,Kt|=Cu;try{u0(e,t,n)}finally{Kt=p,Lt.p=r,J.T=u}}zn=ax,Id(),f0(),Ky()}}function Id(){if(zn===ax){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{tm=n,am=e,Cy(t,e),am=tm=null,n=s1;var p=Kg(e.containerInfo),b=n.focusedElem,E=n.selectionRange;if(p!==b&&b&&b.ownerDocument&&Qg(b.ownerDocument.documentElement,b)){if(E!==null&&qm(b)){var A=E.start,$=E.end;if($===void 0&&($=A),"selectionStart"in b)b.selectionStart=A,b.selectionEnd=Math.min($,b.value.length);else{var P=b.ownerDocument||document,K=P&&P.defaultView||window;if(K.getSelection){var te=K.getSelection(),Ue=b.textContent.length,We=Math.min(E.start,Ue),ca=E.end===void 0?We:Math.min(E.end,Ue);!te.extend&&We>ca&&(p=ca,ca=We,We=p);var zt=Xg(b,We),D=Xg(b,ca);if(zt&&D&&(te.rangeCount!==1||te.anchorNode!==zt.node||te.anchorOffset!==zt.offset||te.focusNode!==D.node||te.focusOffset!==D.offset)){var M=P.createRange();M.setStart(zt.node,zt.offset),te.removeAllRanges(),We>ca?(te.addRange(M),te.extend(D.node,D.offset)):(M.setEnd(D.node,D.offset),te.addRange(M))}}}}for(P=[],te=b;te=te.parentNode;)te.nodeType===1&&P.push({element:te,left:te.scrollLeft,top:te.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<P.length;b++){var N=P[b];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Ev=!!c1,s1=c1=null}finally{Kt=c,Lt.p=r,J.T=u}}e.current=t,zn=nx}}function f0(){if(zn===nx){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{Ee!==null&&typeof Ee.markLayoutEffectsStarted=="function"&&Ee.markLayoutEffectsStarted(n),tm=n,am=e,My(e,t.alternate,t),am=tm=null,Ee!==null&&typeof Ee.markLayoutEffectsStopped=="function"&&Ee.markLayoutEffectsStopped()}finally{Kt=c,Lt.p=r,J.T=u}}zn=lx}}function Ky(){if(zn===Sw||zn===lx){zn=kf,mb();var e=Ic,t=um,n=Pc,u=ix,r=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;r?zn=Fb:(zn=kf,um=Ic=null,Jy(e,e.pendingLanes),jf=0,sg=null);var c=e.pendingLanes;if(c===0&&(Fc=null),r||ai(e),r=Sn(n),t=t.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{var p=(t.current.flags&128)===128;switch(r){case dl:var b=mf;break;case Di:b=bp;break;case wu:b=jc;break;case wh:b=Tp;break;default:b=jc}ln.onCommitFiberRoot(mr,t,b,p)}catch(P){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",P))}if(Ul&&e.memoizedUpdaters.clear(),r0(),u!==null){p=J.T,b=Lt.p,Lt.p=dl,J.T=null;try{var E=e.onRecoverableError;for(t=0;t<u.length;t++){var A=u[t],$=hu(A.stack);je(A.source,E,A.value,$)}}finally{J.T=p,Lt.p=b}}(Pc&3)!==0&&eo(),Dl(e),c=e.pendingLanes,(n&4194090)!==0&&(c&42)!==0?(W0=!0,e===e1?cg++:(cg=0,e1=e)):cg=0,ao(0),Dt()}}function hu(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 Jy(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qo(t)))}function eo(e){return Id(),f0(),Ky(),xc()}function xc(){if(zn!==Fb)return!1;var e=Ic,t=Ib;Ib=0;var n=Sn(Pc),u=wu>n?wu:n;n=J.T;var r=Lt.p;try{Lt.p=u,J.T=null,u=Pb,Pb=null;var c=Ic,p=Pc;if(zn=kf,um=Ic=null,Pc=0,(Kt&(pl|Cu))!==si)throw Error("Cannot flush passive effects while already rendering.");t1=!0,rv=!1,Ee!==null&&typeof Ee.markPassiveEffectsStarted=="function"&&Ee.markPassiveEffectsStarted(p);var b=Kt;if(Kt|=Cu,jy(c.current),Xd(c,c.current,p,u),Ee!==null&&typeof Ee.markPassiveEffectsStopped=="function"&&Ee.markPassiveEffectsStopped(),ai(c),Kt=b,ao(0,!1),rv?c===sg?jf++:(jf=0,sg=c):jf=0,rv=t1=!1,ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(mr,c)}catch(A){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",A))}var E=c.current.stateNode;return E.effectDuration=0,E.passiveEffectDuration=0,!0}finally{Lt.p=r,J.T=n,Jy(e,t)}}function sa(e,t,n){t=Un(n,t),t=ga(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(ge(e,2),Dl(e))}function $t(e,t,n){if(om=!1,e.tag===3)sa(e,e,n);else{for(;t!==null;){if(t.tag===3){sa(t,e,n);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Fc===null||!Fc.has(u))){e=Un(n,e),n=Vs(2),u=Zl(t,n,2),u!==null&&(er(n,u,t,e),ge(u,2),Dl(u));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.
|
|
244
244
|
|
|
245
245
|
Error message:
|
|
246
246
|
|
|
247
|
-
%s`,n)}}function
|
|
247
|
+
%s`,n)}}function $y(e,t,n){var u=e.pingCache;if(u===null){u=e.pingCache=new pw;var r=new Set;u.set(t,r)}else r=u.get(t),r===void 0&&(r=new Set,u.set(t,r));r.has(n)||(Jb=!0,r.add(n),u=d0.bind(null,e,t,n),Ul&&or(e,n),t.then(u,u))}function d0(e,t,n){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Vy()&&J.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
248
248
|
|
|
249
249
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
250
250
|
|
|
@@ -253,7 +253,7 @@ act(() => {
|
|
|
253
253
|
});
|
|
254
254
|
/* assert on the output */
|
|
255
255
|
|
|
256
|
-
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`),ra===e&&(At&n)===n&&(Da===Cf||Da===Xb&&(At&62914560)===At&&nn()-Wb<ex?(Kt&pl)===si&&du(e,0):$b|=n,Hf===At&&(Hf=0)),Dl(e)}function Ec(e,t){t===0&&(t=ne()),e=Nn(e,t),e!==null&&(ge(e,t),Dl(e))}function to(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ec(e,n)}function
|
|
256
|
+
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`),ra===e&&(At&n)===n&&(Da===Cf||Da===Xb&&(At&62914560)===At&&nn()-Wb<ex?(Kt&pl)===si&&du(e,0):$b|=n,Hf===At&&(Hf=0)),Dl(e)}function Ec(e,t){t===0&&(t=ne()),e=Nn(e,t),e!==null&&(ge(e,t),Dl(e))}function to(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ec(e,n)}function h0(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),Ec(e,n)}function Pd(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,r=t,c=r.type===dr;c=n||c,r.tag!==22?r.flags&67108864?c&&je(r,_c,u,r,(r.mode&WS)===fa):Pd(u,r,c):r.memoizedState===null&&(c&&r.flags&8192?je(r,_c,u,r):r.subtreeFlags&67108864&&je(r,Pd,u,r,c)),t=t.sibling}}function _c(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;$e(!0);try{Pl(t),n&&By(t),Ny(e,t.alternate,t,!1),n&&Hy(e,t,0,null,!1,0)}finally{$e(!1)}}function ai(e){var t=!0;e.current.mode&(In|Ou)||(t=!1),Pd(e,e.current,t)}function Wy(e){if((Kt&pl)===si){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=Ae(e)||"ReactComponent",cv!==null){if(cv.has(t))return;cv.add(t)}else cv=new Set([t]);je(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 later calls tries to update the component. Move this work to useEffect instead.")})}}}function or(e,t){Ul&&e.memoizedUpdaters.forEach(function(n){Gt(e,n,t)})}function m0(e,t){var n=J.actQueue;return n!==null?(n.push(t),Ew):vp(e,t)}function Fy(e){Vy()&&J.actQueue===null&&je(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
257
257
|
|
|
258
258
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
259
259
|
|
|
@@ -262,16 +262,16 @@ act(() => {
|
|
|
262
262
|
});
|
|
263
263
|
/* assert on the output */
|
|
264
264
|
|
|
265
|
-
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`,Ae(e))})}function Dl(e){e!==rm&&e.next===null&&(rm===null?fv=rm=e:rm=rm.next=e),dv=!0,J.actQueue!==null?n1||(n1=!0,g0()):a1||(a1=!0,g0())}function ao(e,t){if(!l1&&dv){l1=!0;do for(var n=!1,u=fv;u!==null;){if(e!==0){var r=u.pendingLanes;if(r===0)var c=0;else{var p=u.suspendedLanes,b=u.pingedLanes;c=(1<<31-Qa(42|e)+1)-1,c&=r&~(p&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Py(u,c))}else c=At,c=yi(u,u===ra?c:0,u.cancelPendingCommit!==null||u.timeoutHandle!==Lf),(c&3)===0||Sl(u,c)||(n=!0,Py(u,c));u=u.next}while(n);l1=!1}}function p0(){ni()}function ni(){dv=n1=a1=!1;var e=0;Bf!==0&&(ip()&&(e=Bf),Bf=0);for(var t=nn(),n=null,u=fv;u!==null;){var r=u.next,c=va(u,t);c===0?(u.next=null,n===null?fv=r:n.next=r,r===null&&(rm=n)):(n=u,(e!==0||(c&3)!==0)&&(dv=!0)),u=r}ao(e)}function va(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var p=31-Qa(c),b=1<<p,E=r[p];E===-1?((b&n)===0||(b&u)!==0)&&(r[p]=U(b,t)):E<=t&&(e.expiredLanes|=b),c&=~b}if(t=ra,n=At,n=yi(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u=e.callbackNode,n===0||e===t&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)return u!==null&&Oa(u),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Sl(e,n)){if(t=n&-n,t!==e.callbackPriority||J.actQueue!==null&&u!==i1)Oa(u);else return t;switch(Sn(n)){case dl:case Di:n=Sp;break;case wu:n=jc;break;case wh:n=xp;break;default:n=jc}return u=eh.bind(null,e),J.actQueue!==null?(J.actQueue.push(u),n=i1):n=bp(n,u),e.callbackPriority=t,e.callbackNode=n,t}return u!==null&&Oa(u),e.callbackPriority=2,e.callbackNode=null,2}function eh(e,t){if(F0=W0=!1,zn!==kf&&zn!==Fb)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(eo()&&e.callbackNode!==n)return null;var u=At;return u=yi(e,e===ra?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u===0?null:(Za(e,u,t),va(e,nn()),e.callbackNode!=null&&e.callbackNode===n?eh.bind(null,e):null)}function Py(e,t){if(eo())return null;W0=F0,F0=!1,Za(e,t,!0)}function Oa(e){e!==i1&&e!==null&&U0(e)}function g0(){J.actQueue!==null&&J.actQueue.push(function(){return ni(),null}),Uw(function(){(Kt&(pl|Cu))!==si?bp(mf,p0):ni()})}function th(){return Bf===0&&(Bf=k()),Bf}function ep(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ee(e,"action"),Ii(""+e))}function ua(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Xn(e,t,n,u,r){if(t==="submit"&&n&&n.stateNode===r){var c=ep((r[Fn]||null).action),p=u.submitter;p&&(t=(t=p[Fn]||null)?ep(t.formAction):p.getAttribute("formAction"),t!==null&&(c=t,p=null));var b=new qt("action","action",null,u,r);e.push({event:b,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Bf!==0){var E=p?ua(r,p):new FormData(r),A={pending:!0,data:E,method:r.method,action:c};Object.freeze(A),Od(n,A,null,E)}}else typeof c=="function"&&(b.preventDefault(),E=p?ua(r,p):new FormData(r),A={pending:!0,data:E,method:r.method,action:c},Object.freeze(A),Od(n,A,c,E))},currentTarget:r}]})}}function Ml(e,t,n){e.currentTarget=n;try{t(e)}catch(u){Lb(u)}e.currentTarget=null}function tp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var u=e[n];e:{var r=void 0,c=u.event;if(u=u.listeners,t)for(var p=u.length-1;0<=p;p--){var b=u[p],E=b.instance,A=b.currentTarget;if(b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?je(E,Ml,c,b,A):Ml(c,b,A),r=E}else for(p=0;p<u.length;p++){if(b=u[p],E=b.instance,A=b.currentTarget,b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?je(E,Ml,c,b,A):Ml(c,b,A),r=E}}}}function St(e,t){u1.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Ah];n===void 0&&(n=t[Ah]=new Set);var u=e+"__bubble";n.has(u)||(Qn(t,e,2,!1),n.add(u))}function ap(e,t,n){u1.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 u=0;t&&(u|=4),Qn(n,e,u,t)}function ef(e){if(!e[hv]){e[hv]=!0,yr.forEach(function(n){n!=="selectionchange"&&(u1.has(n)||ap(n,!1,e),ap(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[hv]||(t[hv]=!0,ap("selectionchange",!1,t))}}function Qn(e,t,n,u){switch(fo(t)){case dl:var r=mh;break;case Di:r=Uc;break;default:r=of}n=r.bind(null,t,n,e),r=void 0,!le||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),u?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function rl(e,t,n,u,r){var c=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var p=u.tag;if(p===3||p===4){var b=u.stateNode.containerInfo;if(b===r)break;if(p===4)for(p=u.return;p!==null;){var E=p.tag;if((E===3||E===4)&&p.stateNode.containerInfo===r)return;p=p.return}for(;b!==null;){if(p=Ua(b),p===null)return;if(E=p.tag,E===5||E===6||E===26||E===27){u=c=p;continue e}b=b.parentNode}}u=u.return}Gr(function(){var A=c,$=Vl(n),P=[];e:{var K=$S.get(e);if(K!==void 0){var te=qt,Ue=e;switch(e){case"keypress":if(jo(n)===0)break e;case"keydown":case"keyup":te=L_;break;case"focusin":Ue="focus",te=Ni;break;case"focusout":Ue="blur",te=Ni;break;case"beforeblur":case"afterblur":te=Ni;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":te=qe;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=Ja;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=G_;break;case XS:case QS:case KS:te=M_;break;case JS:te=X_;break;case"scroll":case"scrollend":te=H;break;case"wheel":te=K_;break;case"copy":case"cut":case"paste":te=U_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=jS;break;case"toggle":case"beforetoggle":te=$_}var We=(t&4)!==0,ca=!We&&(e==="scroll"||e==="scrollend"),zt=We?K!==null?K+"Capture":null:K;We=[];for(var D=A,M;D!==null;){var N=D;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||zt===null||(N=xl(D,zt),N!=null&&We.push(wc(D,N,M))),ca)break;D=D.return}0<We.length&&(K=new te(K,Ue,null,n,$),P.push({event:K,listeners:We}))}}if((t&7)===0){e:{if(K=e==="mouseover"||e==="pointerover",te=e==="mouseout"||e==="pointerout",K&&n!==h&&(Ue=n.relatedTarget||n.fromElement)&&(Ua(Ue)||Ue[go]))break e;if((te||K)&&(K=$.window===$?$:(K=$.ownerDocument)?K.defaultView||K.parentWindow:window,te?(Ue=n.relatedTarget||n.toElement,te=A,Ue=Ue?Ua(Ue):null,Ue!==null&&(ca=_e(Ue),We=Ue.tag,Ue!==ca||We!==5&&We!==27&&We!==6)&&(Ue=null)):(te=null,Ue=A),te!==Ue)){if(We=qe,N="onMouseLeave",zt="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(We=jS,N="onPointerLeave",zt="onPointerEnter",D="pointer"),ca=te==null?K:Cn(te),M=Ue==null?K:Cn(Ue),K=new We(N,D+"leave",te,n,$),K.target=ca,K.relatedTarget=M,N=null,Ua($)===A&&(We=new We(zt,D+"enter",Ue,n,$),We.target=M,We.relatedTarget=ca,N=We),ca=N,te&&Ue)t:{for(We=te,zt=Ue,D=0,M=We;M;M=rr(M))D++;for(M=0,N=zt;N;N=rr(N))M++;for(;0<D-M;)We=rr(We),D--;for(;0<M-D;)zt=rr(zt),M--;for(;D--;){if(We===zt||zt!==null&&We===zt.alternate)break t;We=rr(We),zt=rr(zt)}We=null}else We=null;te!==null&&mu(P,K,te,We,!1),Ue!==null&&ca!==null&&mu(P,ca,Ue,We,!0)}}e:{if(K=A?Cn(A):window,te=K.nodeName&&K.nodeName.toLowerCase(),te==="select"||te==="input"&&K.type==="file")var ae=Gg;else if(ld(K))if(GS)ae=tb;else{ae=Pv;var Se=Lm}else te=K.nodeName,!te||te.toLowerCase()!=="input"||K.type!=="checkbox"&&K.type!=="radio"?A&&Ho(A.elementType)&&(ae=Gg):ae=eb;if(ae&&(ae=ae(e,A))){Zr(P,ae,n,$);break e}Se&&Se(e,K,A),e==="focusout"&&A&&K.type==="number"&&A.memoizedProps.value!=null&&Wf(K,"number",K.value)}switch(Se=A?Cn(A):window,e){case"focusin":(ld(Se)||Se.contentEditable==="true")&&(jh=Se,bb=A,Yp=null);break;case"focusout":Yp=bb=jh=null;break;case"mousedown":Sb=!0;break;case"contextmenu":case"mouseup":case"dragend":Sb=!1,ud(P,n,$);break;case"selectionchange":if(P_)break;case"keydown":case"keyup":ud(P,n,$)}var ot;if(vb)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else kh?Vu(e,n)&&(Ne="onCompositionEnd"):e==="keydown"&&n.keyCode===BS&&(Ne="onCompositionStart");Ne&&(VS&&n.locale!=="ko"&&(kh||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&kh&&(ot=nd()):(Q=$,F="value"in Q?Q.value:Q.textContent,kh=!0)),Se=yn(A,Ne),0<Se.length&&(Ne=new kS(Ne,e,null,n,$),P.push({event:Ne,listeners:Se}),ot?Ne.data=ot:(ot=ys(n),ot!==null&&(Ne.data=ot)))),(ot=F_?ps(e,n):Iv(e,n))&&(Ne=yn(A,"onBeforeInput"),0<Ne.length&&(Se=new H_("onBeforeInput","beforeinput",null,n,$),P.push({event:Se,listeners:Ne}),Se.data=ot)),Xn(P,e,A,n,$)}tp(P,t)})}function wc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yn(e,t){for(var n=t+"Capture",u=[];e!==null;){var r=e,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=xl(e,n),r!=null&&u.unshift(wc(e,r,c)),r=xl(e,t),r!=null&&u.push(wc(e,r,c))),e.tag===3)return u;e=e.return}return[]}function rr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function mu(e,t,n,u,r){for(var c=t._reactName,p=[];n!==null&&n!==u;){var b=n,E=b.alternate,A=b.stateNode;if(b=b.tag,E!==null&&E===u)break;b!==5&&b!==26&&b!==27||A===null||(E=A,r?(A=xl(n,c),A!=null&&p.unshift(wc(n,A,E))):r||(A=xl(n,c),A!=null&&p.push(wc(n,A,E)))),n=n.return}p.length!==0&&e.push({event:t,listeners:p})}function yu(e,t){Lg(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Z0||(Z0=!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 n={registrationNameDependencies:ri,possibleRegistrationNames:Rh};Ho(e)||typeof t.is=="string"||qg(e,t,n),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 oa(e,t,n,u){t!==n&&(n=pu(n),pu(t)!==n&&(u[e]=t))}function np(e,t,n){t.forEach(function(u){n[Ac(u)]=u==="style"?ah(e):e.getAttribute(u)})}function Cl(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 li(e,t){return e=e.namespaceURI===Uh||e.namespaceURI===Ru?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function pu(e){return C(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.",O(e)),ie(e)),(typeof e=="string"?e:""+e).replace(_w,`
|
|
266
|
-
`).replace(ww,"")}function cr(e,t){return t=pu(t),pu(e)===t}function no(){}function Ut(e,t,n,u,r,c){switch(n){case"children":typeof u=="string"?(qr(u,t,!1),t==="body"||t==="textarea"&&u===""||fs(e,u)):(typeof u=="number"||typeof u=="bigint")&&(qr(""+u,t,!1),t!=="body"&&fs(e,""+u));break;case"className":Ie(e,"class",u);break;case"tabIndex":Ie(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ie(e,n,u);break;case"style":td(e,u,c);break;case"data":if(t!=="object"){Ie(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||n!=="href")){console.error(n==="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.',n,n),e.removeAttribute(n);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(r.encType==null&&r.method==null||pv||(pv=!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.")),r.target==null||yv||(yv=!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"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||r.type==="submit"||r.type==="image"||mv?t!=="button"||r.type==null||r.type==="submit"||mv?typeof u=="function"&&(r.name==null||sx||(sx=!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.')),r.formEncType==null&&r.formMethod==null||pv||(pv=!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.")),r.formTarget==null||yv||(yv=!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."))):(mv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(mv=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){e.setAttribute(n,"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 c=="function"&&(n==="formAction"?(t!=="input"&&Ut(e,t,"name",r.name,r,null),Ut(e,t,"formEncType",r.formEncType,r,null),Ut(e,t,"formMethod",r.formMethod,r,null),Ut(e,t,"formTarget",r.formTarget,r,null)):(Ut(e,t,"encType",r.encType,r,null),Ut(e,t,"method",r.method,r,null),Ut(e,t,"target",r.target,r,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}ee(u,n),n=Ii(""+u),e.setAttributeNS(Vf,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,""+u)):e.removeAttribute(n);break;case"inert":u!==""||gv[n]||(gv[n]=!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.",n));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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":u===!0?e.setAttribute(n,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(n):(ee(u,n),e.setAttribute(n,u));break;case"popover":St("beforetoggle",e),St("toggle",e),Ot(e,"popover",u);break;case"xlinkActuate":_a(e,Vf,"xlink:actuate",u);break;case"xlinkArcrole":_a(e,Vf,"xlink:arcrole",u);break;case"xlinkRole":_a(e,Vf,"xlink:role",u);break;case"xlinkShow":_a(e,Vf,"xlink:show",u);break;case"xlinkTitle":_a(e,Vf,"xlink:title",u);break;case"xlinkType":_a(e,Vf,"xlink:type",u);break;case"xmlBase":_a(e,o1,"xml:base",u);break;case"xmlLang":_a(e,o1,"xml:lang",u);break;case"xmlSpace":_a(e,o1,"xml:space",u);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ot(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":fx||u==null||typeof u!="object"||(fx=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=ko(n),Ot(e,n,u)):ri.hasOwnProperty(n)&&u!=null&&typeof u!="function"&&Cl(n,u)}}function lo(e,t,n,u,r,c){switch(n){case"style":td(e,u,c);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof u=="string"?fs(e,u):(typeof u=="number"||typeof u=="bigint")&&fs(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ri.hasOwnProperty(n))u!=null&&typeof u!="function"&&Cl(n,u);else e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),c=e[Fn]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,r),typeof u=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,u,r);break e}n in e?e[n]=u:u===!0?e.setAttribute(n,""):Ot(e,n,u)}}}function Xa(e,t,n){switch(yu(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",e),St("load",e);var u=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var p=n[c];if(p!=null)switch(c){case"src":u=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,c,p,n,null)}}r&&Ut(e,t,"srcSet",n.srcSet,n,null),u&&Ut(e,t,"src",n.src,n,null);return;case"input":Me("input",n),St("invalid",e);var b=c=p=r=null,E=null,A=null;for(u in n)if(n.hasOwnProperty(u)){var $=n[u];if($!=null)switch(u){case"name":r=$;break;case"type":p=$;break;case"checked":E=$;break;case"defaultChecked":A=$;break;case"value":c=$;break;case"defaultValue":b=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,u,$,n,null)}}Co(e,n),Dm(e,c,b,E,A,p,r,!1),Ta(e);return;case"select":Me("select",n),St("invalid",e),u=p=c=null;for(r in n)if(n.hasOwnProperty(r)&&(b=n[r],b!=null))switch(r){case"value":c=b;break;case"defaultValue":p=b;break;case"multiple":u=b;default:Ut(e,t,r,b,n,null)}bi(e,n),t=c,n=p,e.multiple=!!u,t!=null?Wi(e,!!u,t,!1):n!=null&&Wi(e,!!u,n,!0);return;case"textarea":Me("textarea",n),St("invalid",e),c=r=u=null;for(p in n)if(n.hasOwnProperty(p)&&(b=n[p],b!=null))switch(p){case"value":u=b;break;case"defaultValue":r=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ut(e,t,p,b,n,null)}Ff(e,n),Uo(e,u,r,c),Ta(e);return;case"option":Vg(e,n);for(E in n)if(n.hasOwnProperty(E)&&(u=n[E],u!=null))switch(E){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Ut(e,t,E,u,n,null)}return;case"dialog":St("beforetoggle",e),St("toggle",e),St("cancel",e),St("close",e);break;case"iframe":case"object":St("load",e);break;case"video":case"audio":for(u=0;u<dg.length;u++)St(dg[u],e);break;case"image":St("error",e),St("load",e);break;case"details":St("toggle",e);break;case"embed":case"source":case"link":St("error",e),St("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(A in n)if(n.hasOwnProperty(A)&&(u=n[A],u!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,A,u,n,null)}return;default:if(Ho(t)){for($ in n)n.hasOwnProperty($)&&(u=n[$],u!==void 0&&lo(e,t,$,u,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(u=n[b],u!=null&&Ut(e,t,b,u,n,null))}function v0(e,t,n,u){switch(yu(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,c=null,p=null,b=null,E=null,A=null,$=null;for(te in n){var P=n[te];if(n.hasOwnProperty(te)&&P!=null)switch(te){case"checked":break;case"value":break;case"defaultValue":E=P;default:u.hasOwnProperty(te)||Ut(e,t,te,null,u,P)}}for(var K in u){var te=u[K];if(P=n[K],u.hasOwnProperty(K)&&(te!=null||P!=null))switch(K){case"type":c=te;break;case"name":r=te;break;case"checked":A=te;break;case"defaultChecked":$=te;break;case"value":p=te;break;case"defaultValue":b=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:te!==P&&Ut(e,t,K,te,u,P)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||cx||(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"),cx=!0),!t||u||rx||(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"),rx=!0),zm(e,p,b,E,A,$,c,r);return;case"select":te=p=b=K=null;for(c in n)if(E=n[c],n.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":te=E;default:u.hasOwnProperty(c)||Ut(e,t,c,null,u,E)}for(r in u)if(c=u[r],E=n[r],u.hasOwnProperty(r)&&(c!=null||E!=null))switch(r){case"value":K=c;break;case"defaultValue":b=c;break;case"multiple":p=c;default:c!==E&&Ut(e,t,r,c,u,E)}u=b,t=p,n=te,K!=null?Wi(e,!!t,K,!1):!!n!=!!t&&(u!=null?Wi(e,!!t,u,!0):Wi(e,!!t,t?[]:"",!1));return;case"textarea":te=K=null;for(b in n)if(r=n[b],n.hasOwnProperty(b)&&r!=null&&!u.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ut(e,t,b,null,u,r)}for(p in u)if(r=u[p],c=n[p],u.hasOwnProperty(p)&&(r!=null||c!=null))switch(p){case"value":K=r;break;case"defaultValue":te=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==c&&Ut(e,t,p,r,u,c)}Mm(e,K,te);return;case"option":for(var Ue in n)if(K=n[Ue],n.hasOwnProperty(Ue)&&K!=null&&!u.hasOwnProperty(Ue))switch(Ue){case"selected":e.selected=!1;break;default:Ut(e,t,Ue,null,u,K)}for(E in u)if(K=u[E],te=n[E],u.hasOwnProperty(E)&&K!==te&&(K!=null||te!=null))switch(E){case"selected":e.selected=K&&typeof K!="function"&&typeof K!="symbol";break;default:Ut(e,t,E,K,u,te)}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 We in n)K=n[We],n.hasOwnProperty(We)&&K!=null&&!u.hasOwnProperty(We)&&Ut(e,t,We,null,u,K);for(A in u)if(K=u[A],te=n[A],u.hasOwnProperty(A)&&K!==te&&(K!=null||te!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,A,K,u,te)}return;default:if(Ho(t)){for(var ca in n)K=n[ca],n.hasOwnProperty(ca)&&K!==void 0&&!u.hasOwnProperty(ca)&&lo(e,t,ca,void 0,u,K);for($ in u)K=u[$],te=n[$],!u.hasOwnProperty($)||K===te||K===void 0&&te===void 0||lo(e,t,$,K,u,te);return}}for(var zt in n)K=n[zt],n.hasOwnProperty(zt)&&K!=null&&!u.hasOwnProperty(zt)&&Ut(e,t,zt,null,u,K);for(P in u)K=u[P],te=n[P],!u.hasOwnProperty(P)||K===te||K==null&&te==null||Ut(e,t,P,K,u,te)}function Ac(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function ah(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var u=e[n];t[u]=e.getPropertyValue(u)}return t}function tf(e,t,n){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 u,r=u="",c;for(c in t)if(t.hasOwnProperty(c)){var p=t[c];p!=null&&typeof p!="boolean"&&p!==""&&(c.indexOf("--")===0?(Te(p,c),u+=r+c+":"+(""+p).trim()):typeof p!="number"||p===0||Bp.has(c)?(Te(p,c),u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+(""+p).trim()):u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+p+"px",r=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=pu(u),pu(t)!==u&&(n.style=ah(e)))}}function cl(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),e===""+u)return}oa(t,e,u,c)}function b0(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}oa(t,e,u,c)}function lp(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(ee(u,n),e===""+u)return}oa(t,e,u,c)}function Xt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(ee(u,t),e===""+u))return}oa(t,e,u,c)}function Wt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),n=Ii(""+u),e===n)return}oa(t,e,u,c)}function Tt(e,t,n,u){for(var r={},c=new Set,p=e.attributes,b=0;b<p.length;b++)switch(p[b].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(p[b].name)}if(Ho(t)){for(var E in n)if(n.hasOwnProperty(E)){var A=n[E];if(A!=null){if(ri.hasOwnProperty(E))typeof A!="function"&&Cl(E,A);else if(n.suppressHydrationWarning!==!0)switch(E){case"children":typeof A!="string"&&typeof A!="number"||oa("children",e.textContent,A,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,A=A?A.__html:void 0,A!=null&&(A=li(e,A),oa(E,p,A,r));continue;case"style":c.delete(E),tf(e,A,r);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":c.delete("class"),p=tt(e,"class",A),oa("className",p,A,r);continue;default:u.context===wr&&t!=="svg"&&t!=="math"?c.delete(E.toLowerCase()):c.delete(E),p=tt(e,E,A),oa(E,p,A,r)}}}}else for(A in n)if(n.hasOwnProperty(A)&&(E=n[A],E!=null)){if(ri.hasOwnProperty(A))typeof E!="function"&&Cl(A,E);else if(n.suppressHydrationWarning!==!0)switch(A){case"children":typeof E!="string"&&typeof E!="number"||oa("children",e.textContent,E,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=li(e,E),p!==E&&(r[A]={__html:p}));continue;case"className":cl(e,A,"class",E,c,r);continue;case"tabIndex":cl(e,A,"tabindex",E,c,r);continue;case"style":c.delete(A),tf(e,E,r);continue;case"multiple":c.delete(A),oa(A,e.multiple,E,r);continue;case"muted":c.delete(A),oa(A,e.muted,E,r);continue;case"autoFocus":c.delete("autofocus"),oa(A,e.autofocus,E,r);continue;case"data":if(t!=="object"){c.delete(A),p=e.getAttribute("data"),oa(A,p,E,r);continue}case"src":case"href":if(!(E!==""||t==="a"&&A==="href"||t==="object"&&A==="data")){console.error(A==="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.',A,A);continue}Wt(e,A,A,E,c,r);continue;case"action":case"formAction":if(p=e.getAttribute(A),typeof E=="function"){c.delete(A.toLowerCase()),A==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(p===Aw){c.delete(A.toLowerCase()),oa(A,"function",E,r);continue}Wt(e,A,A.toLowerCase(),E,c,r);continue;case"xlinkHref":Wt(e,A,"xlink:href",E,c,r);continue;case"contentEditable":lp(e,A,"contenteditable",E,c,r);continue;case"spellCheck":lp(e,A,"spellcheck",E,c,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":lp(e,A,A,E,c,r);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":b0(e,A,A.toLowerCase(),E,c,r);continue;case"capture":case"download":e:{b=e;var $=p=A,P=r;if(c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&b==="")break e;break;default:if(ee(E,p),b===""+E)break e}oa(p,b,E,P)}continue;case"cols":case"rows":case"size":case"span":e:{if(b=e,$=p=A,P=r,c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(ee(E,p),b===""+E))break e}oa(p,b,E,P)}continue;case"rowSpan":Xt(e,A,"rowspan",E,c,r);continue;case"start":Xt(e,A,A,E,c,r);continue;case"xHeight":cl(e,A,"x-height",E,c,r);continue;case"xlinkActuate":cl(e,A,"xlink:actuate",E,c,r);continue;case"xlinkArcrole":cl(e,A,"xlink:arcrole",E,c,r);continue;case"xlinkRole":cl(e,A,"xlink:role",E,c,r);continue;case"xlinkShow":cl(e,A,"xlink:show",E,c,r);continue;case"xlinkTitle":cl(e,A,"xlink:title",E,c,r);continue;case"xlinkType":cl(e,A,"xlink:type",E,c,r);continue;case"xmlBase":cl(e,A,"xml:base",E,c,r);continue;case"xmlLang":cl(e,A,"xml:lang",E,c,r);continue;case"xmlSpace":cl(e,A,"xml:space",E,c,r);continue;case"inert":E!==""||gv[A]||(gv[A]=!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.",A)),b0(e,A,A,E,c,r);continue;default:if(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N"){b=ko(A),p=!1,u.context===wr&&t!=="svg"&&t!=="math"?c.delete(b.toLowerCase()):($=A.toLowerCase(),$=_f.hasOwnProperty($)&&_f[$]||null,$!==null&&$!==A&&(p=!0,c.delete($)),c.delete(b));e:if($=e,P=b,b=E,mt(P))if($.hasAttribute(P))$=$.getAttribute(P),ee(b,P),b=$===""+b?b:$;else{switch(typeof b){case"function":case"symbol":break e;case"boolean":if($=P.toLowerCase().slice(0,5),$!=="data-"&&$!=="aria-")break e}b=b===void 0?void 0:null}else b=void 0;p||oa(A,b,E,r)}}}return 0<c.size&&n.suppressHydrationWarning!==!0&&np(e,c,r),Object.keys(r).length===0?null:r}function Mt(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 Nt(e){return e.nodeType===9?e:e.ownerDocument}function Kn(e){switch(e){case Ru:return cm;case Uh:return Sv;default:return wr}}function gu(e,t){if(e===wr)switch(t){case"svg":return cm;case"math":return Sv;default:return wr}return e===cm&&t==="foreignObject"?wr:e}function io(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 ip(){var e=window.event;return e&&e.type==="popstate"?e===f1?!1:(f1=e,!0):(f1=null,!1)}function vu(e){setTimeout(function(){throw e})}function ba(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function uo(e,t,n,u){v0(e,t,n,u),e[Fn]=u}function oo(e){fs(e,"")}function up(e,t,n){e.nodeValue=n}function ka(e){return e==="head"}function Rc(e,t){e.removeChild(t)}function af(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function An(e,t){var n=t,u=0,r=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===8)if(n=c.data,n===bv){if(0<u&&8>u){n=u;var p=e.ownerDocument;if(n&Ow&&Dc(p.documentElement),n&zw&&Dc(p.body),n&Dw)for(n=p.head,Dc(n),p=n.firstChild;p;){var b=p.nextSibling,E=p.nodeName;p[pf]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&p.rel.toLowerCase()==="stylesheet"||n.removeChild(p),p=b}}if(r===0){e.removeChild(c),Hc(t);return}r--}else n===vv||n===_r||n===hg?r++:u=n.charCodeAt(0)-48;else u=0;n=c}while(n);Hc(t)}function op(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function rp(e){e.nodeValue=""}function nh(e,t){t=t[Mw],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function lh(e,t){e.nodeValue=t}function Ai(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ai(n),Tn(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function an(e,t,n,u){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[pf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ee(r.name,"name");var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Jn(e.nextSibling),e===null)break}return null}function ro(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Jn(e.nextSibling),e===null))return null;return e}function co(e){return e.data===hg||e.data===_r&&e.ownerDocument.readyState===hx}function Oc(e,t){var n=e.ownerDocument;if(e.data!==_r||n.readyState===hx)t();else{var u=function(){t(),n.removeEventListener("DOMContentLoaded",u)};n.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Jn(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===vv||t===hg||t===_r||t===r1||t===dx)break;if(t===bv)return null}}return e}function ih(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},u=e.attributes,r=0;r<u.length;r++){var c=u[r];n[Ac(c.name)]=c.name.toLowerCase()==="style"?ah(e):c.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function cp(e,t,n){return n===null||n[Rw]!==!0?(e.nodeValue===t?e=null:(t=pu(t),e=pu(e.nodeValue)===t?null:e.nodeValue),e):null}function zc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===bv){if(t===0)return Jn(e.nextSibling);t--}else n!==vv&&n!==hg&&n!==_r||t++}e=e.nextSibling}return null}function uh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===vv||n===hg||n===_r){if(t===0)return e;t--}else n===bv&&t++}e=e.previousSibling}return null}function sl(e){Hc(e)}function S0(e){Hc(e)}function $n(e,t,n,u,r){switch(r&&ed(e,u.ancestorInfo),t=Nt(n),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 T0(e,t,n,u){if(!n[go]&&Ia(n)){var r=n.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.",r,r,r)}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(r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Xa(n,e,t),n[pn]=u,n[Fn]=t}function Dc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Tn(e)}function oh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function bu(e,t,n){var u=sm;if(u&&typeof t=="string"&&t){var r=Ya(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),bx.has(r)||(bx.add(r),e={rel:e,crossOrigin:n,href:t},u.querySelector(r)===null&&(t=u.createElement("link"),Xa(t,"link",e),L(t),u.head.appendChild(t)))}}function nf(e,t,n,u){var r=(r=Oi.current)?oh(r):null;if(!r)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 n.precedence=="string"&&typeof n.href=="string"?(n=ii(n.href),t=x(r).hoistableStyles,u=t.get(n),u||(u={type:"style",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ii(n.href);var c=x(r).hoistableStyles,p=c.get(e);if(!p&&(r=r.ownerDocument||r,p={type:"stylesheet",instance:null,count:0,state:{loading:qf,preload:null}},c.set(e,p),(c=r.querySelector(Cc(e)))&&!c._p&&(p.instance=c,p.state.loading=mg|Zi),!Xi.has(e))){var b={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Xi.set(e,b),c||x0(r,e,b,p.state)}if(t&&u===null)throw n=`
|
|
265
|
+
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`,Ae(e))})}function Dl(e){e!==rm&&e.next===null&&(rm===null?sv=rm=e:rm=rm.next=e),fv=!0,J.actQueue!==null?n1||(n1=!0,p0()):a1||(a1=!0,p0())}function ao(e,t){if(!l1&&fv){l1=!0;do for(var n=!1,u=sv;u!==null;){if(e!==0){var r=u.pendingLanes;if(r===0)var c=0;else{var p=u.suspendedLanes,b=u.pingedLanes;c=(1<<31-Qa(42|e)+1)-1,c&=r&~(p&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Iy(u,c))}else c=At,c=yi(u,u===ra?c:0,u.cancelPendingCommit!==null||u.timeoutHandle!==Lf),(c&3)===0||Sl(u,c)||(n=!0,Iy(u,c));u=u.next}while(n);l1=!1}}function y0(){ni()}function ni(){fv=n1=a1=!1;var e=0;Bf!==0&&(lp()&&(e=Bf),Bf=0);for(var t=nn(),n=null,u=sv;u!==null;){var r=u.next,c=va(u,t);c===0?(u.next=null,n===null?sv=r:n.next=r,r===null&&(rm=n)):(n=u,(e!==0||(c&3)!==0)&&(fv=!0)),u=r}ao(e)}function va(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var p=31-Qa(c),b=1<<p,E=r[p];E===-1?((b&n)===0||(b&u)!==0)&&(r[p]=U(b,t)):E<=t&&(e.expiredLanes|=b),c&=~b}if(t=ra,n=At,n=yi(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u=e.callbackNode,n===0||e===t&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)return u!==null&&Oa(u),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Sl(e,n)){if(t=n&-n,t!==e.callbackPriority||J.actQueue!==null&&u!==i1)Oa(u);else return t;switch(Sn(n)){case dl:case Di:n=bp;break;case wu:n=jc;break;case wh:n=Tp;break;default:n=jc}return u=eh.bind(null,e),J.actQueue!==null?(J.actQueue.push(u),n=i1):n=vp(n,u),e.callbackPriority=t,e.callbackNode=n,t}return u!==null&&Oa(u),e.callbackPriority=2,e.callbackNode=null,2}function eh(e,t){if(W0=$0=!1,zn!==kf&&zn!==Fb)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(eo()&&e.callbackNode!==n)return null;var u=At;return u=yi(e,e===ra?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u===0?null:(Za(e,u,t),va(e,nn()),e.callbackNode!=null&&e.callbackNode===n?eh.bind(null,e):null)}function Iy(e,t){if(eo())return null;$0=W0,W0=!1,Za(e,t,!0)}function Oa(e){e!==i1&&e!==null&&C0(e)}function p0(){J.actQueue!==null&&J.actQueue.push(function(){return ni(),null}),Uw(function(){(Kt&(pl|Cu))!==si?vp(mf,y0):ni()})}function th(){return Bf===0&&(Bf=k()),Bf}function Py(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ee(e,"action"),Ii(""+e))}function ua(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Xn(e,t,n,u,r){if(t==="submit"&&n&&n.stateNode===r){var c=Py((r[Fn]||null).action),p=u.submitter;p&&(t=(t=p[Fn]||null)?Py(t.formAction):p.getAttribute("formAction"),t!==null&&(c=t,p=null));var b=new qt("action","action",null,u,r);e.push({event:b,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Bf!==0){var E=p?ua(r,p):new FormData(r),A={pending:!0,data:E,method:r.method,action:c};Object.freeze(A),Od(n,A,null,E)}}else typeof c=="function"&&(b.preventDefault(),E=p?ua(r,p):new FormData(r),A={pending:!0,data:E,method:r.method,action:c},Object.freeze(A),Od(n,A,c,E))},currentTarget:r}]})}}function Ml(e,t,n){e.currentTarget=n;try{t(e)}catch(u){Lb(u)}e.currentTarget=null}function ep(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var u=e[n];e:{var r=void 0,c=u.event;if(u=u.listeners,t)for(var p=u.length-1;0<=p;p--){var b=u[p],E=b.instance,A=b.currentTarget;if(b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?je(E,Ml,c,b,A):Ml(c,b,A),r=E}else for(p=0;p<u.length;p++){if(b=u[p],E=b.instance,A=b.currentTarget,b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?je(E,Ml,c,b,A):Ml(c,b,A),r=E}}}}function St(e,t){u1.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Ah];n===void 0&&(n=t[Ah]=new Set);var u=e+"__bubble";n.has(u)||(Qn(t,e,2,!1),n.add(u))}function tp(e,t,n){u1.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 u=0;t&&(u|=4),Qn(n,e,u,t)}function ef(e){if(!e[dv]){e[dv]=!0,yr.forEach(function(n){n!=="selectionchange"&&(u1.has(n)||tp(n,!1,e),tp(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[dv]||(t[dv]=!0,tp("selectionchange",!1,t))}}function Qn(e,t,n,u){switch(fo(t)){case dl:var r=mh;break;case Di:r=Uc;break;default:r=of}n=r.bind(null,t,n,e),r=void 0,!le||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),u?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function rl(e,t,n,u,r){var c=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var p=u.tag;if(p===3||p===4){var b=u.stateNode.containerInfo;if(b===r)break;if(p===4)for(p=u.return;p!==null;){var E=p.tag;if((E===3||E===4)&&p.stateNode.containerInfo===r)return;p=p.return}for(;b!==null;){if(p=Ua(b),p===null)return;if(E=p.tag,E===5||E===6||E===26||E===27){u=c=p;continue e}b=b.parentNode}}u=u.return}Gr(function(){var A=c,$=Vl(n),P=[];e:{var K=$S.get(e);if(K!==void 0){var te=qt,Ue=e;switch(e){case"keypress":if(jo(n)===0)break e;case"keydown":case"keyup":te=L_;break;case"focusin":Ue="focus",te=Ni;break;case"focusout":Ue="blur",te=Ni;break;case"beforeblur":case"afterblur":te=Ni;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":te=qe;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=Ja;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=G_;break;case XS:case QS:case KS:te=M_;break;case JS:te=X_;break;case"scroll":case"scrollend":te=H;break;case"wheel":te=K_;break;case"copy":case"cut":case"paste":te=U_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=jS;break;case"toggle":case"beforetoggle":te=$_}var We=(t&4)!==0,ca=!We&&(e==="scroll"||e==="scrollend"),zt=We?K!==null?K+"Capture":null:K;We=[];for(var D=A,M;D!==null;){var N=D;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||zt===null||(N=xl(D,zt),N!=null&&We.push(wc(D,N,M))),ca)break;D=D.return}0<We.length&&(K=new te(K,Ue,null,n,$),P.push({event:K,listeners:We}))}}if((t&7)===0){e:{if(K=e==="mouseover"||e==="pointerover",te=e==="mouseout"||e==="pointerout",K&&n!==h&&(Ue=n.relatedTarget||n.fromElement)&&(Ua(Ue)||Ue[go]))break e;if((te||K)&&(K=$.window===$?$:(K=$.ownerDocument)?K.defaultView||K.parentWindow:window,te?(Ue=n.relatedTarget||n.toElement,te=A,Ue=Ue?Ua(Ue):null,Ue!==null&&(ca=_e(Ue),We=Ue.tag,Ue!==ca||We!==5&&We!==27&&We!==6)&&(Ue=null)):(te=null,Ue=A),te!==Ue)){if(We=qe,N="onMouseLeave",zt="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(We=jS,N="onPointerLeave",zt="onPointerEnter",D="pointer"),ca=te==null?K:Cn(te),M=Ue==null?K:Cn(Ue),K=new We(N,D+"leave",te,n,$),K.target=ca,K.relatedTarget=M,N=null,Ua($)===A&&(We=new We(zt,D+"enter",Ue,n,$),We.target=M,We.relatedTarget=ca,N=We),ca=N,te&&Ue)t:{for(We=te,zt=Ue,D=0,M=We;M;M=rr(M))D++;for(M=0,N=zt;N;N=rr(N))M++;for(;0<D-M;)We=rr(We),D--;for(;0<M-D;)zt=rr(zt),M--;for(;D--;){if(We===zt||zt!==null&&We===zt.alternate)break t;We=rr(We),zt=rr(zt)}We=null}else We=null;te!==null&&mu(P,K,te,We,!1),Ue!==null&&ca!==null&&mu(P,ca,Ue,We,!0)}}e:{if(K=A?Cn(A):window,te=K.nodeName&&K.nodeName.toLowerCase(),te==="select"||te==="input"&&K.type==="file")var ae=Yg;else if(ld(K))if(GS)ae=tb;else{ae=Pv;var Se=Vm}else te=K.nodeName,!te||te.toLowerCase()!=="input"||K.type!=="checkbox"&&K.type!=="radio"?A&&Ho(A.elementType)&&(ae=Yg):ae=eb;if(ae&&(ae=ae(e,A))){Zr(P,ae,n,$);break e}Se&&Se(e,K,A),e==="focusout"&&A&&K.type==="number"&&A.memoizedProps.value!=null&&Wf(K,"number",K.value)}switch(Se=A?Cn(A):window,e){case"focusin":(ld(Se)||Se.contentEditable==="true")&&(jh=Se,bb=A,qp=null);break;case"focusout":qp=bb=jh=null;break;case"mousedown":Sb=!0;break;case"contextmenu":case"mouseup":case"dragend":Sb=!1,ud(P,n,$);break;case"selectionchange":if(P_)break;case"keydown":case"keyup":ud(P,n,$)}var ot;if(vb)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else kh?Vu(e,n)&&(Ne="onCompositionEnd"):e==="keydown"&&n.keyCode===BS&&(Ne="onCompositionStart");Ne&&(VS&&n.locale!=="ko"&&(kh||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&kh&&(ot=nd()):(Q=$,F="value"in Q?Q.value:Q.textContent,kh=!0)),Se=yn(A,Ne),0<Se.length&&(Ne=new kS(Ne,e,null,n,$),P.push({event:Ne,listeners:Se}),ot?Ne.data=ot:(ot=ys(n),ot!==null&&(Ne.data=ot)))),(ot=F_?ps(e,n):Iv(e,n))&&(Ne=yn(A,"onBeforeInput"),0<Ne.length&&(Se=new H_("onBeforeInput","beforeinput",null,n,$),P.push({event:Se,listeners:Ne}),Se.data=ot)),Xn(P,e,A,n,$)}ep(P,t)})}function wc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yn(e,t){for(var n=t+"Capture",u=[];e!==null;){var r=e,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=xl(e,n),r!=null&&u.unshift(wc(e,r,c)),r=xl(e,t),r!=null&&u.push(wc(e,r,c))),e.tag===3)return u;e=e.return}return[]}function rr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function mu(e,t,n,u,r){for(var c=t._reactName,p=[];n!==null&&n!==u;){var b=n,E=b.alternate,A=b.stateNode;if(b=b.tag,E!==null&&E===u)break;b!==5&&b!==26&&b!==27||A===null||(E=A,r?(A=xl(n,c),A!=null&&p.unshift(wc(n,A,E))):r||(A=xl(n,c),A!=null&&p.push(wc(n,A,E)))),n=n.return}p.length!==0&&e.push({event:t,listeners:p})}function yu(e,t){Vg(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||G0||(G0=!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 n={registrationNameDependencies:ri,possibleRegistrationNames:Rh};Ho(e)||typeof t.is=="string"||Lg(e,t,n),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 oa(e,t,n,u){t!==n&&(n=pu(n),pu(t)!==n&&(u[e]=t))}function ap(e,t,n){t.forEach(function(u){n[Ac(u)]=u==="style"?ah(e):e.getAttribute(u)})}function Cl(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 li(e,t){return e=e.namespaceURI===Uh||e.namespaceURI===Ru?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function pu(e){return C(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.",O(e)),ie(e)),(typeof e=="string"?e:""+e).replace(_w,`
|
|
266
|
+
`).replace(ww,"")}function cr(e,t){return t=pu(t),pu(e)===t}function no(){}function Ut(e,t,n,u,r,c){switch(n){case"children":typeof u=="string"?(qr(u,t,!1),t==="body"||t==="textarea"&&u===""||fs(e,u)):(typeof u=="number"||typeof u=="bigint")&&(qr(""+u,t,!1),t!=="body"&&fs(e,""+u));break;case"className":Ie(e,"class",u);break;case"tabIndex":Ie(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ie(e,n,u);break;case"style":td(e,u,c);break;case"data":if(t!=="object"){Ie(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||n!=="href")){console.error(n==="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.',n,n),e.removeAttribute(n);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(r.encType==null&&r.method==null||yv||(yv=!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.")),r.target==null||mv||(mv=!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"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||r.type==="submit"||r.type==="image"||hv?t!=="button"||r.type==null||r.type==="submit"||hv?typeof u=="function"&&(r.name==null||sx||(sx=!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.')),r.formEncType==null&&r.formMethod==null||yv||(yv=!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.")),r.formTarget==null||mv||(mv=!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."))):(hv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(hv=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){e.setAttribute(n,"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 c=="function"&&(n==="formAction"?(t!=="input"&&Ut(e,t,"name",r.name,r,null),Ut(e,t,"formEncType",r.formEncType,r,null),Ut(e,t,"formMethod",r.formMethod,r,null),Ut(e,t,"formTarget",r.formTarget,r,null)):(Ut(e,t,"encType",r.encType,r,null),Ut(e,t,"method",r.method,r,null),Ut(e,t,"target",r.target,r,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}ee(u,n),n=Ii(""+u),e.setAttributeNS(Vf,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,""+u)):e.removeAttribute(n);break;case"inert":u!==""||pv[n]||(pv[n]=!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.",n));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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":u===!0?e.setAttribute(n,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(n):(ee(u,n),e.setAttribute(n,u));break;case"popover":St("beforetoggle",e),St("toggle",e),Ot(e,"popover",u);break;case"xlinkActuate":_a(e,Vf,"xlink:actuate",u);break;case"xlinkArcrole":_a(e,Vf,"xlink:arcrole",u);break;case"xlinkRole":_a(e,Vf,"xlink:role",u);break;case"xlinkShow":_a(e,Vf,"xlink:show",u);break;case"xlinkTitle":_a(e,Vf,"xlink:title",u);break;case"xlinkType":_a(e,Vf,"xlink:type",u);break;case"xmlBase":_a(e,o1,"xml:base",u);break;case"xmlLang":_a(e,o1,"xml:lang",u);break;case"xmlSpace":_a(e,o1,"xml:space",u);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ot(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":fx||u==null||typeof u!="object"||(fx=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=ko(n),Ot(e,n,u)):ri.hasOwnProperty(n)&&u!=null&&typeof u!="function"&&Cl(n,u)}}function lo(e,t,n,u,r,c){switch(n){case"style":td(e,u,c);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof u=="string"?fs(e,u):(typeof u=="number"||typeof u=="bigint")&&fs(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ri.hasOwnProperty(n))u!=null&&typeof u!="function"&&Cl(n,u);else e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),c=e[Fn]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,r),typeof u=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,u,r);break e}n in e?e[n]=u:u===!0?e.setAttribute(n,""):Ot(e,n,u)}}}function Xa(e,t,n){switch(yu(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",e),St("load",e);var u=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var p=n[c];if(p!=null)switch(c){case"src":u=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,c,p,n,null)}}r&&Ut(e,t,"srcSet",n.srcSet,n,null),u&&Ut(e,t,"src",n.src,n,null);return;case"input":Me("input",n),St("invalid",e);var b=c=p=r=null,E=null,A=null;for(u in n)if(n.hasOwnProperty(u)){var $=n[u];if($!=null)switch(u){case"name":r=$;break;case"type":p=$;break;case"checked":E=$;break;case"defaultChecked":A=$;break;case"value":c=$;break;case"defaultValue":b=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,u,$,n,null)}}Co(e,n),zm(e,c,b,E,A,p,r,!1),Ta(e);return;case"select":Me("select",n),St("invalid",e),u=p=c=null;for(r in n)if(n.hasOwnProperty(r)&&(b=n[r],b!=null))switch(r){case"value":c=b;break;case"defaultValue":p=b;break;case"multiple":u=b;default:Ut(e,t,r,b,n,null)}bi(e,n),t=c,n=p,e.multiple=!!u,t!=null?Wi(e,!!u,t,!1):n!=null&&Wi(e,!!u,n,!0);return;case"textarea":Me("textarea",n),St("invalid",e),c=r=u=null;for(p in n)if(n.hasOwnProperty(p)&&(b=n[p],b!=null))switch(p){case"value":u=b;break;case"defaultValue":r=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ut(e,t,p,b,n,null)}Ff(e,n),Uo(e,u,r,c),Ta(e);return;case"option":Bg(e,n);for(E in n)if(n.hasOwnProperty(E)&&(u=n[E],u!=null))switch(E){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Ut(e,t,E,u,n,null)}return;case"dialog":St("beforetoggle",e),St("toggle",e),St("cancel",e),St("close",e);break;case"iframe":case"object":St("load",e);break;case"video":case"audio":for(u=0;u<fg.length;u++)St(fg[u],e);break;case"image":St("error",e),St("load",e);break;case"details":St("toggle",e);break;case"embed":case"source":case"link":St("error",e),St("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(A in n)if(n.hasOwnProperty(A)&&(u=n[A],u!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,A,u,n,null)}return;default:if(Ho(t)){for($ in n)n.hasOwnProperty($)&&(u=n[$],u!==void 0&&lo(e,t,$,u,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(u=n[b],u!=null&&Ut(e,t,b,u,n,null))}function g0(e,t,n,u){switch(yu(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,c=null,p=null,b=null,E=null,A=null,$=null;for(te in n){var P=n[te];if(n.hasOwnProperty(te)&&P!=null)switch(te){case"checked":break;case"value":break;case"defaultValue":E=P;default:u.hasOwnProperty(te)||Ut(e,t,te,null,u,P)}}for(var K in u){var te=u[K];if(P=n[K],u.hasOwnProperty(K)&&(te!=null||P!=null))switch(K){case"type":c=te;break;case"name":r=te;break;case"checked":A=te;break;case"defaultChecked":$=te;break;case"value":p=te;break;case"defaultValue":b=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:te!==P&&Ut(e,t,K,te,u,P)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||cx||(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"),cx=!0),!t||u||rx||(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"),rx=!0),Om(e,p,b,E,A,$,c,r);return;case"select":te=p=b=K=null;for(c in n)if(E=n[c],n.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":te=E;default:u.hasOwnProperty(c)||Ut(e,t,c,null,u,E)}for(r in u)if(c=u[r],E=n[r],u.hasOwnProperty(r)&&(c!=null||E!=null))switch(r){case"value":K=c;break;case"defaultValue":b=c;break;case"multiple":p=c;default:c!==E&&Ut(e,t,r,c,u,E)}u=b,t=p,n=te,K!=null?Wi(e,!!t,K,!1):!!n!=!!t&&(u!=null?Wi(e,!!t,u,!0):Wi(e,!!t,t?[]:"",!1));return;case"textarea":te=K=null;for(b in n)if(r=n[b],n.hasOwnProperty(b)&&r!=null&&!u.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ut(e,t,b,null,u,r)}for(p in u)if(r=u[p],c=n[p],u.hasOwnProperty(p)&&(r!=null||c!=null))switch(p){case"value":K=r;break;case"defaultValue":te=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==c&&Ut(e,t,p,r,u,c)}Dm(e,K,te);return;case"option":for(var Ue in n)if(K=n[Ue],n.hasOwnProperty(Ue)&&K!=null&&!u.hasOwnProperty(Ue))switch(Ue){case"selected":e.selected=!1;break;default:Ut(e,t,Ue,null,u,K)}for(E in u)if(K=u[E],te=n[E],u.hasOwnProperty(E)&&K!==te&&(K!=null||te!=null))switch(E){case"selected":e.selected=K&&typeof K!="function"&&typeof K!="symbol";break;default:Ut(e,t,E,K,u,te)}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 We in n)K=n[We],n.hasOwnProperty(We)&&K!=null&&!u.hasOwnProperty(We)&&Ut(e,t,We,null,u,K);for(A in u)if(K=u[A],te=n[A],u.hasOwnProperty(A)&&K!==te&&(K!=null||te!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,A,K,u,te)}return;default:if(Ho(t)){for(var ca in n)K=n[ca],n.hasOwnProperty(ca)&&K!==void 0&&!u.hasOwnProperty(ca)&&lo(e,t,ca,void 0,u,K);for($ in u)K=u[$],te=n[$],!u.hasOwnProperty($)||K===te||K===void 0&&te===void 0||lo(e,t,$,K,u,te);return}}for(var zt in n)K=n[zt],n.hasOwnProperty(zt)&&K!=null&&!u.hasOwnProperty(zt)&&Ut(e,t,zt,null,u,K);for(P in u)K=u[P],te=n[P],!u.hasOwnProperty(P)||K===te||K==null&&te==null||Ut(e,t,P,K,u,te)}function Ac(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function ah(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var u=e[n];t[u]=e.getPropertyValue(u)}return t}function tf(e,t,n){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 u,r=u="",c;for(c in t)if(t.hasOwnProperty(c)){var p=t[c];p!=null&&typeof p!="boolean"&&p!==""&&(c.indexOf("--")===0?(Te(p,c),u+=r+c+":"+(""+p).trim()):typeof p!="number"||p===0||jp.has(c)?(Te(p,c),u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+(""+p).trim()):u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+p+"px",r=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=pu(u),pu(t)!==u&&(n.style=ah(e)))}}function cl(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),e===""+u)return}oa(t,e,u,c)}function v0(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}oa(t,e,u,c)}function np(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(ee(u,n),e===""+u)return}oa(t,e,u,c)}function Xt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(ee(u,t),e===""+u))return}oa(t,e,u,c)}function Wt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),n=Ii(""+u),e===n)return}oa(t,e,u,c)}function Tt(e,t,n,u){for(var r={},c=new Set,p=e.attributes,b=0;b<p.length;b++)switch(p[b].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(p[b].name)}if(Ho(t)){for(var E in n)if(n.hasOwnProperty(E)){var A=n[E];if(A!=null){if(ri.hasOwnProperty(E))typeof A!="function"&&Cl(E,A);else if(n.suppressHydrationWarning!==!0)switch(E){case"children":typeof A!="string"&&typeof A!="number"||oa("children",e.textContent,A,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,A=A?A.__html:void 0,A!=null&&(A=li(e,A),oa(E,p,A,r));continue;case"style":c.delete(E),tf(e,A,r);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":c.delete("class"),p=tt(e,"class",A),oa("className",p,A,r);continue;default:u.context===wr&&t!=="svg"&&t!=="math"?c.delete(E.toLowerCase()):c.delete(E),p=tt(e,E,A),oa(E,p,A,r)}}}}else for(A in n)if(n.hasOwnProperty(A)&&(E=n[A],E!=null)){if(ri.hasOwnProperty(A))typeof E!="function"&&Cl(A,E);else if(n.suppressHydrationWarning!==!0)switch(A){case"children":typeof E!="string"&&typeof E!="number"||oa("children",e.textContent,E,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=li(e,E),p!==E&&(r[A]={__html:p}));continue;case"className":cl(e,A,"class",E,c,r);continue;case"tabIndex":cl(e,A,"tabindex",E,c,r);continue;case"style":c.delete(A),tf(e,E,r);continue;case"multiple":c.delete(A),oa(A,e.multiple,E,r);continue;case"muted":c.delete(A),oa(A,e.muted,E,r);continue;case"autoFocus":c.delete("autofocus"),oa(A,e.autofocus,E,r);continue;case"data":if(t!=="object"){c.delete(A),p=e.getAttribute("data"),oa(A,p,E,r);continue}case"src":case"href":if(!(E!==""||t==="a"&&A==="href"||t==="object"&&A==="data")){console.error(A==="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.',A,A);continue}Wt(e,A,A,E,c,r);continue;case"action":case"formAction":if(p=e.getAttribute(A),typeof E=="function"){c.delete(A.toLowerCase()),A==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(p===Aw){c.delete(A.toLowerCase()),oa(A,"function",E,r);continue}Wt(e,A,A.toLowerCase(),E,c,r);continue;case"xlinkHref":Wt(e,A,"xlink:href",E,c,r);continue;case"contentEditable":np(e,A,"contenteditable",E,c,r);continue;case"spellCheck":np(e,A,"spellcheck",E,c,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":np(e,A,A,E,c,r);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":v0(e,A,A.toLowerCase(),E,c,r);continue;case"capture":case"download":e:{b=e;var $=p=A,P=r;if(c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&b==="")break e;break;default:if(ee(E,p),b===""+E)break e}oa(p,b,E,P)}continue;case"cols":case"rows":case"size":case"span":e:{if(b=e,$=p=A,P=r,c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(ee(E,p),b===""+E))break e}oa(p,b,E,P)}continue;case"rowSpan":Xt(e,A,"rowspan",E,c,r);continue;case"start":Xt(e,A,A,E,c,r);continue;case"xHeight":cl(e,A,"x-height",E,c,r);continue;case"xlinkActuate":cl(e,A,"xlink:actuate",E,c,r);continue;case"xlinkArcrole":cl(e,A,"xlink:arcrole",E,c,r);continue;case"xlinkRole":cl(e,A,"xlink:role",E,c,r);continue;case"xlinkShow":cl(e,A,"xlink:show",E,c,r);continue;case"xlinkTitle":cl(e,A,"xlink:title",E,c,r);continue;case"xlinkType":cl(e,A,"xlink:type",E,c,r);continue;case"xmlBase":cl(e,A,"xml:base",E,c,r);continue;case"xmlLang":cl(e,A,"xml:lang",E,c,r);continue;case"xmlSpace":cl(e,A,"xml:space",E,c,r);continue;case"inert":E!==""||pv[A]||(pv[A]=!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.",A)),v0(e,A,A,E,c,r);continue;default:if(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N"){b=ko(A),p=!1,u.context===wr&&t!=="svg"&&t!=="math"?c.delete(b.toLowerCase()):($=A.toLowerCase(),$=_f.hasOwnProperty($)&&_f[$]||null,$!==null&&$!==A&&(p=!0,c.delete($)),c.delete(b));e:if($=e,P=b,b=E,mt(P))if($.hasAttribute(P))$=$.getAttribute(P),ee(b,P),b=$===""+b?b:$;else{switch(typeof b){case"function":case"symbol":break e;case"boolean":if($=P.toLowerCase().slice(0,5),$!=="data-"&&$!=="aria-")break e}b=b===void 0?void 0:null}else b=void 0;p||oa(A,b,E,r)}}}return 0<c.size&&n.suppressHydrationWarning!==!0&&ap(e,c,r),Object.keys(r).length===0?null:r}function Mt(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 Nt(e){return e.nodeType===9?e:e.ownerDocument}function Kn(e){switch(e){case Ru:return cm;case Uh:return bv;default:return wr}}function gu(e,t){if(e===wr)switch(t){case"svg":return cm;case"math":return bv;default:return wr}return e===cm&&t==="foreignObject"?wr:e}function io(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 lp(){var e=window.event;return e&&e.type==="popstate"?e===f1?!1:(f1=e,!0):(f1=null,!1)}function vu(e){setTimeout(function(){throw e})}function ba(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function uo(e,t,n,u){g0(e,t,n,u),e[Fn]=u}function oo(e){fs(e,"")}function ip(e,t,n){e.nodeValue=n}function ka(e){return e==="head"}function Rc(e,t){e.removeChild(t)}function af(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function An(e,t){var n=t,u=0,r=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===8)if(n=c.data,n===vv){if(0<u&&8>u){n=u;var p=e.ownerDocument;if(n&Ow&&Dc(p.documentElement),n&zw&&Dc(p.body),n&Dw)for(n=p.head,Dc(n),p=n.firstChild;p;){var b=p.nextSibling,E=p.nodeName;p[pf]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&p.rel.toLowerCase()==="stylesheet"||n.removeChild(p),p=b}}if(r===0){e.removeChild(c),Hc(t);return}r--}else n===gv||n===_r||n===dg?r++:u=n.charCodeAt(0)-48;else u=0;n=c}while(n);Hc(t)}function up(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function op(e){e.nodeValue=""}function nh(e,t){t=t[Mw],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function lh(e,t){e.nodeValue=t}function Ai(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ai(n),Tn(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function an(e,t,n,u){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[pf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ee(r.name,"name");var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Jn(e.nextSibling),e===null)break}return null}function ro(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Jn(e.nextSibling),e===null))return null;return e}function co(e){return e.data===dg||e.data===_r&&e.ownerDocument.readyState===hx}function Oc(e,t){var n=e.ownerDocument;if(e.data!==_r||n.readyState===hx)t();else{var u=function(){t(),n.removeEventListener("DOMContentLoaded",u)};n.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Jn(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===gv||t===dg||t===_r||t===r1||t===dx)break;if(t===vv)return null}}return e}function ih(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},u=e.attributes,r=0;r<u.length;r++){var c=u[r];n[Ac(c.name)]=c.name.toLowerCase()==="style"?ah(e):c.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function rp(e,t,n){return n===null||n[Rw]!==!0?(e.nodeValue===t?e=null:(t=pu(t),e=pu(e.nodeValue)===t?null:e.nodeValue),e):null}function zc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===vv){if(t===0)return Jn(e.nextSibling);t--}else n!==gv&&n!==dg&&n!==_r||t++}e=e.nextSibling}return null}function uh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===gv||n===dg||n===_r){if(t===0)return e;t--}else n===vv&&t++}e=e.previousSibling}return null}function sl(e){Hc(e)}function b0(e){Hc(e)}function $n(e,t,n,u,r){switch(r&&ed(e,u.ancestorInfo),t=Nt(n),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 S0(e,t,n,u){if(!n[go]&&Ia(n)){var r=n.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.",r,r,r)}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(r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Xa(n,e,t),n[pn]=u,n[Fn]=t}function Dc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Tn(e)}function oh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function bu(e,t,n){var u=sm;if(u&&typeof t=="string"&&t){var r=Ya(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),bx.has(r)||(bx.add(r),e={rel:e,crossOrigin:n,href:t},u.querySelector(r)===null&&(t=u.createElement("link"),Xa(t,"link",e),L(t),u.head.appendChild(t)))}}function nf(e,t,n,u){var r=(r=Oi.current)?oh(r):null;if(!r)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 n.precedence=="string"&&typeof n.href=="string"?(n=ii(n.href),t=x(r).hoistableStyles,u=t.get(n),u||(u={type:"style",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ii(n.href);var c=x(r).hoistableStyles,p=c.get(e);if(!p&&(r=r.ownerDocument||r,p={type:"stylesheet",instance:null,count:0,state:{loading:qf,preload:null}},c.set(e,p),(c=r.querySelector(Cc(e)))&&!c._p&&(p.instance=c,p.state.loading=hg|Zi),!Xi.has(e))){var b={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Xi.set(e,b),c||T0(r,e,b,p.state)}if(t&&u===null)throw n=`
|
|
267
267
|
|
|
268
268
|
- `+Mc(t)+`
|
|
269
269
|
+ `+Mc(n),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."+n);return p}if(t&&u!==null)throw n=`
|
|
270
270
|
|
|
271
271
|
- `+Mc(t)+`
|
|
272
|
-
+ `+Mc(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=so(n),t=x(r).hoistableScripts,u=t.get(n),u||(u={type:"script",instance:null,count:0,state:null},t.set(n,u)),u):{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 Mc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):zi.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):zi.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):zi.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function ii(e){return'href="'+Ya(e)+'"'}function Cc(e){return'link[rel="stylesheet"]['+e+"]"}function sp(e){return Pe({},e,{"data-precedence":e.precedence,precedence:null})}function x0(e,t,n,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=mg:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=mg}),t.addEventListener("error",function(){return u.loading|=gx}),Xa(t,"link",n),L(t),e.head.appendChild(t))}function so(e){return'[src="'+Ya(e)+'"]'}function sr(e){return"script[async]"+e}function E0(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Ya(n.href)+'"]');if(u)return t.instance=u,L(u),u;var r=Pe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),L(u),Xa(u,"style",r),rh(u,n.precedence,e),t.instance=u;case"stylesheet":r=ii(n.href);var c=e.querySelector(Cc(r));if(c)return t.state.loading|=Zi,t.instance=c,L(c),c;u=sp(n),(r=Xi.get(r))&&fp(u,r),c=(e.ownerDocument||e).createElement("link"),L(c);var p=c;return p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Xa(c,"link",u),t.state.loading|=Zi,rh(c,n.precedence,e),t.instance=c;case"script":return c=so(n.src),(r=e.querySelector(sr(c)))?(t.instance=r,L(r),r):(u=n,(r=Xi.get(c))&&(u=Pe({},n),ch(u,r)),e=e.ownerDocument||e,r=e.createElement("script"),L(r),Xa(r,"link",u),e.head.appendChild(r),t.instance=r);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&Zi)===qf&&(u=t.instance,t.state.loading|=Zi,rh(u,n.precedence,e));return t.instance}function rh(e,t,n){for(var u=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=u.length?u[u.length-1]:null,c=r,p=0;p<u.length;p++){var b=u[p];if(b.dataset.precedence===t)c=b;else if(c!==r)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function fp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ch(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function dp(e,t,n){if(Tv===null){var u=new Map,r=Tv=new Map;r.set(n,u)}else r=Tv,u=r.get(n),u||(u=new Map,r.set(n,u));if(u.has(e))return u;for(u.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var c=n[r];if(!(c[pf]||c[pn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==Ru){var p=c.getAttribute(t)||"";p=e+p;var b=u.get(p);b?b.push(c):u.set(p,[c])}}return u}function fr(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function sh(e,t,n){var u=!n.ancestorInfo.containerTagInScope;if(n.context===cm||t.itemProp!=null)return!u||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===""){u&&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 r=t.onError,c=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),r&&n.push("`onError`"),c!=null&&n.push("`disabled`"),r=Mt(n,"and"),r+=n.length===1?" prop":" props",c=n.length===1?"an "+r:"the "+r,n.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,c,r)}u&&(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}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&u&&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;default:return!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"){u&&(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":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function hp(e){return!(e.type==="stylesheet"&&(e.state.loading&vx)===qf)}function _0(){}function w0(e,t,n){if(yg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var u=yg;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&Zi)===qf){if(t.instance===null){var r=ii(n.href),c=e.querySelector(Cc(r));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=lf.bind(u),e.then(u,u)),t.state.loading|=Zi,t.instance=c,L(c);return}c=e.ownerDocument||e,n=sp(n),(r=Xi.get(r))&&fp(n,r),c=c.createElement("link"),L(c);var p=c;p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Xa(c,"link",n),t.instance=c}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&vx)===qf&&(u.count++,t=lf.bind(u),e.addEventListener("load",t),e.addEventListener("error",t))}}function A0(){if(yg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=yg;return e.stylesheets&&e.count===0&&fh(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&fh(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function lf(){if(this.count--,this.count===0){if(this.stylesheets)fh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function fh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,xv=new Map,t.forEach(dh,e),xv=null,lf.call(e))}function dh(e,t){if(!(t.state.loading&Zi)){var n=xv.get(e);if(n)var u=n.get(h1);else{n=new Map,xv.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var p=r[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(n.set(p.dataset.precedence,p),u=p)}u&&n.set(h1,u)}r=t.instance,p=r.getAttribute("data-precedence"),c=n.get(p)||u,c===u&&n.set(h1,r),n.set(p,r),this.count++,u=lf.bind(this),r.addEventListener("load",u),r.addEventListener("error",u),c?c.parentNode.insertBefore(r,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=Zi}}function R0(e,t,n,u,r,c,p,b){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Lf,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=xe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xe(0),this.hiddenUpdates=xe(null),this.identifierPrefix=u,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=p,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=n?"hydrateRoot()":"createRoot()"}function mp(e,t,n,u,r,c,p,b,E,A,$,P){return e=new R0(e,t,n,p,b,E,A,P),t=nw,c===!0&&(t|=In|Ou),Ul&&(t|=Rn),c=j(3,null,null,t),e.current=c,c.stateNode=e,t=Im(),_l(t),e.pooledCache=t,_l(t),c.memoizedState={element:u,isDehydrated:n,cache:t},Zu(c),e}function Ft(e){return e?(e=Zc,e):Zc}function uf(e,t,n,u,r,c){if(ln&&typeof ln.onScheduleFiberRoot=="function")try{ln.onScheduleFiberRoot(mr,u,n)}catch(p){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",p))}Ee!==null&&typeof Ee.markRenderScheduled=="function"&&Ee.markRenderScheduled(t),r=Ft(r),u.context===null?u.context=r:u.pendingContext=r,Mi&&un!==null&&!Ex&&(Ex=!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.
|
|
272
|
+
+ `+Mc(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=so(n),t=x(r).hoistableScripts,u=t.get(n),u||(u={type:"script",instance:null,count:0,state:null},t.set(n,u)),u):{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 Mc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):zi.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):zi.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):zi.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function ii(e){return'href="'+Ya(e)+'"'}function Cc(e){return'link[rel="stylesheet"]['+e+"]"}function cp(e){return Pe({},e,{"data-precedence":e.precedence,precedence:null})}function T0(e,t,n,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=hg:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=hg}),t.addEventListener("error",function(){return u.loading|=gx}),Xa(t,"link",n),L(t),e.head.appendChild(t))}function so(e){return'[src="'+Ya(e)+'"]'}function sr(e){return"script[async]"+e}function x0(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Ya(n.href)+'"]');if(u)return t.instance=u,L(u),u;var r=Pe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),L(u),Xa(u,"style",r),rh(u,n.precedence,e),t.instance=u;case"stylesheet":r=ii(n.href);var c=e.querySelector(Cc(r));if(c)return t.state.loading|=Zi,t.instance=c,L(c),c;u=cp(n),(r=Xi.get(r))&&sp(u,r),c=(e.ownerDocument||e).createElement("link"),L(c);var p=c;return p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Xa(c,"link",u),t.state.loading|=Zi,rh(c,n.precedence,e),t.instance=c;case"script":return c=so(n.src),(r=e.querySelector(sr(c)))?(t.instance=r,L(r),r):(u=n,(r=Xi.get(c))&&(u=Pe({},n),ch(u,r)),e=e.ownerDocument||e,r=e.createElement("script"),L(r),Xa(r,"link",u),e.head.appendChild(r),t.instance=r);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&Zi)===qf&&(u=t.instance,t.state.loading|=Zi,rh(u,n.precedence,e));return t.instance}function rh(e,t,n){for(var u=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=u.length?u[u.length-1]:null,c=r,p=0;p<u.length;p++){var b=u[p];if(b.dataset.precedence===t)c=b;else if(c!==r)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function sp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ch(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function fp(e,t,n){if(Sv===null){var u=new Map,r=Sv=new Map;r.set(n,u)}else r=Sv,u=r.get(n),u||(u=new Map,r.set(n,u));if(u.has(e))return u;for(u.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var c=n[r];if(!(c[pf]||c[pn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==Ru){var p=c.getAttribute(t)||"";p=e+p;var b=u.get(p);b?b.push(c):u.set(p,[c])}}return u}function fr(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function sh(e,t,n){var u=!n.ancestorInfo.containerTagInScope;if(n.context===cm||t.itemProp!=null)return!u||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===""){u&&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 r=t.onError,c=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),r&&n.push("`onError`"),c!=null&&n.push("`disabled`"),r=Mt(n,"and"),r+=n.length===1?" prop":" props",c=n.length===1?"an "+r:"the "+r,n.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,c,r)}u&&(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}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&u&&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;default:return!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"){u&&(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":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function dp(e){return!(e.type==="stylesheet"&&(e.state.loading&vx)===qf)}function E0(){}function _0(e,t,n){if(mg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var u=mg;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&Zi)===qf){if(t.instance===null){var r=ii(n.href),c=e.querySelector(Cc(r));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=lf.bind(u),e.then(u,u)),t.state.loading|=Zi,t.instance=c,L(c);return}c=e.ownerDocument||e,n=cp(n),(r=Xi.get(r))&&sp(n,r),c=c.createElement("link"),L(c);var p=c;p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Xa(c,"link",n),t.instance=c}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&vx)===qf&&(u.count++,t=lf.bind(u),e.addEventListener("load",t),e.addEventListener("error",t))}}function w0(){if(mg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=mg;return e.stylesheets&&e.count===0&&fh(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&fh(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function lf(){if(this.count--,this.count===0){if(this.stylesheets)fh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function fh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Tv=new Map,t.forEach(dh,e),Tv=null,lf.call(e))}function dh(e,t){if(!(t.state.loading&Zi)){var n=Tv.get(e);if(n)var u=n.get(h1);else{n=new Map,Tv.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var p=r[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(n.set(p.dataset.precedence,p),u=p)}u&&n.set(h1,u)}r=t.instance,p=r.getAttribute("data-precedence"),c=n.get(p)||u,c===u&&n.set(h1,r),n.set(p,r),this.count++,u=lf.bind(this),r.addEventListener("load",u),r.addEventListener("error",u),c?c.parentNode.insertBefore(r,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=Zi}}function A0(e,t,n,u,r,c,p,b){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Lf,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=xe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xe(0),this.hiddenUpdates=xe(null),this.identifierPrefix=u,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=p,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=n?"hydrateRoot()":"createRoot()"}function hp(e,t,n,u,r,c,p,b,E,A,$,P){return e=new A0(e,t,n,p,b,E,A,P),t=nw,c===!0&&(t|=In|Ou),Ul&&(t|=Rn),c=j(3,null,null,t),e.current=c,c.stateNode=e,t=Fm(),_l(t),e.pooledCache=t,_l(t),c.memoizedState={element:u,isDehydrated:n,cache:t},Zu(c),e}function Ft(e){return e?(e=Zc,e):Zc}function uf(e,t,n,u,r,c){if(ln&&typeof ln.onScheduleFiberRoot=="function")try{ln.onScheduleFiberRoot(mr,u,n)}catch(p){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",p))}Ee!==null&&typeof Ee.markRenderScheduled=="function"&&Ee.markRenderScheduled(t),r=Ft(r),u.context===null?u.context=r:u.pendingContext=r,Mi&&un!==null&&!Ex&&(Ex=!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.
|
|
273
273
|
|
|
274
|
-
Check the render method of %s.`,Ae(un)||"Unknown")),u=Gl(t),u.payload={element:n},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),u.callback=c),n=Zl(e,u,t),n!==null&&(bt(n,e,t),Ko(n,e,t))}function O0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hh(e,t){O0(e,t),(e=e.alternate)&&O0(e,t)}function z0(e){if(e.tag===13){var t=Nn(e,67108864);t!==null&&bt(t,e,67108864),hh(e,67108864)}}function rb(){return un}function cb(){for(var e=new Map,t=1,n=0;31>n;n++){var u=zo(t);e.set(t,u),t*=2}return e}function mh(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=dl,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function Uc(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=Di,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function of(e,t,n,u){if(_v){var r=Nc(u);if(r===null)rl(e,t,u,wv,n),ui(e,u);else if(sb(r,e,t,n,u))u.stopPropagation();else if(ui(e,u),t&4&&-1<Hw.indexOf(e)){for(;r!==null;){var c=Ia(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=Bt(c.pendingLanes);if(p!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;p;){var E=1<<31-Qa(p);b.entanglements[1]|=E,p&=~E}Dl(c),(Kt&(pl|Cu))===si&&(rv=nn()+tx,ao(0))}}break;case 13:b=Nn(c,2),b!==null&&bt(b,c,2),ir(),hh(c,2)}if(c=Nc(u),c===null&&rl(e,t,u,wv,n),c===r)break;r=c}r!==null&&u.stopPropagation()}else rl(e,t,u,null,n)}}function Nc(e){return e=Vl(e),rf(e)}function rf(e){if(wv=null,e=Ua(e),e!==null){var t=_e(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Rt(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return wv=e,null}function fo(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 dl;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 Di;case"message":switch(N0()){case mf:return dl;case Sp:return Di;case jc:case Tp:return wu;case xp:return wh;default:return wu}default:return wu}}function ui(e,t){switch(e){case"focusin":case"focusout":es=null;break;case"dragenter":case"dragleave":ts=null;break;case"mouseover":case"mouseout":as=null;break;case"pointerover":case"pointerout":gg.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vg.delete(t.pointerId)}}function Su(e,t,n,u,r,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:c,targetContainers:[r]},t!==null&&(t=Ia(t),t!==null&&z0(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function sb(e,t,n,u,r){switch(t){case"focusin":return es=Su(es,e,t,n,u,r),!0;case"dragenter":return ts=Su(ts,e,t,n,u,r),!0;case"mouseover":return as=Su(as,e,t,n,u,r),!0;case"pointerover":var c=r.pointerId;return gg.set(c,Su(gg.get(c)||null,e,t,n,u,r)),!0;case"gotpointercapture":return c=r.pointerId,vg.set(c,Su(vg.get(c)||null,e,t,n,u,r)),!0}return!1}function yp(e){var t=Ua(e.target);if(t!==null){var n=_e(t);if(n!==null){if(t=n.tag,t===13){if(t=Rt(n),t!==null){e.blockedOn=t,tl(e.priority,function(){if(n.tag===13){var u=ol(n);u=pt(u);var r=Nn(n,u);r!==null&&bt(r,n,u),hh(n,u)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Nc(e.nativeEvent);if(n===null){n=e.nativeEvent;var u=new n.constructor(n.type,n),r=u;h!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),h=r,n.target.dispatchEvent(u),h===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."),h=null}else return t=Ia(n),t!==null&&z0(t),e.blockedOn=n,!1;t.shift()}return!0}function pp(e,t,n){cf(e)&&n.delete(t)}function D0(){m1=!1,es!==null&&cf(es)&&(es=null),ts!==null&&cf(ts)&&(ts=null),as!==null&&cf(as)&&(as=null),gg.forEach(pp),vg.forEach(pp)}function yh(e,t){e.blockedOn===t&&(e.blockedOn=null,m1||(m1=!0,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,D0)))}function ph(e){Av!==e&&(Av=e,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,function(){Av===e&&(Av=null);for(var t=0;t<e.length;t+=3){var n=e[t],u=e[t+1],r=e[t+2];if(typeof u!="function"){if(rf(u||n)===null)continue;break}var c=Ia(n);c!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:r,method:n.method,action:u},Object.freeze(n),Od(c,n,u,r))}}))}function Hc(e){function t(E){return yh(E,e)}es!==null&&yh(es,e),ts!==null&&yh(ts,e),as!==null&&yh(as,e),gg.forEach(t),vg.forEach(t);for(var n=0;n<ns.length;n++){var u=ns[n];u.blockedOn===e&&(u.blockedOn=null)}for(;0<ns.length&&(n=ns[0],n.blockedOn===null);)yp(n),n.blockedOn===null&&ns.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(u=0;u<n.length;u+=3){var r=n[u],c=n[u+1],p=r[Fn]||null;if(typeof c=="function")p||ph(n);else if(p){var b=null;if(c&&c.hasAttribute("formAction")){if(r=c,p=c[Fn]||null)b=p.formAction;else if(rf(r)!==null)continue}else b=p.action;typeof b=="function"?n[u+1]=b:(n.splice(u,3),u-=3),ph(n)}}}function gh(e){this._internalRoot=e}function vh(e){this._internalRoot=e}function bh(e){e[go]&&(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 Sa=w1(),gp=Gf(),fb=z1(),Pe=Object.assign,db=Symbol.for("react.element"),Tu=Symbol.for("react.transitional.element"),ut=Symbol.for("react.portal"),ho=Symbol.for("react.fragment"),dr=Symbol.for("react.strict_mode"),sf=Symbol.for("react.profiler"),M0=Symbol.for("react.provider"),ff=Symbol.for("react.consumer"),Wn=Symbol.for("react.context"),mo=Symbol.for("react.forward_ref"),yo=Symbol.for("react.suspense"),Sh=Symbol.for("react.suspense_list"),Th=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),xh=Symbol.for("react.activity"),C0=Symbol.for("react.memo_cache_sentinel"),df=Symbol.iterator,It=Symbol.for("react.client.reference"),ja=Array.isArray,J=gp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Lt=fb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vp=Object.freeze({pending:!1,data:null,method:null,action:null}),hf=[],kc=[],Ri=-1,xu=ht(null),hr=ht(null),Oi=ht(null),Eh=ht(null),zi=Object.prototype.hasOwnProperty,bp=Sa.unstable_scheduleCallback,U0=Sa.unstable_cancelCallback,hb=Sa.unstable_shouldYield,mb=Sa.unstable_requestPaint,nn=Sa.unstable_now,N0=Sa.unstable_getCurrentPriorityLevel,mf=Sa.unstable_ImmediatePriority,Sp=Sa.unstable_UserBlockingPriority,jc=Sa.unstable_NormalPriority,Tp=Sa.unstable_LowPriority,xp=Sa.unstable_IdlePriority,oi=Sa.log,Ep=Sa.unstable_setDisableYieldValue,mr=null,ln=null,Ee=null,Ea=!1,Ul=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Qa=Math.clz32?Math.clz32:Oo,Eu=Math.log,yb=Math.LN2,_h=256,_u=4194304,dl=2,Di=8,wu=32,wh=268435456,po=Math.random().toString(36).slice(2),pn="__reactFiber$"+po,Fn="__reactProps$"+po,go="__reactContainer$"+po,Ah="__reactEvents$"+po,Bc="__reactListeners$"+po,yf="__reactHandles$"+po,_p="__reactResources$"+po,pf="__reactMarker$"+po,yr=new Set,ri={},Rh={},Oh={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},wp=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]*$"),zh={},gf={},Vc=0,Ap,H0,Rp,Lc,k0,j0,B0;gi.__reactDisabledLog=!0;var qc,vf,bf=!1,Op=new(typeof WeakMap=="function"?WeakMap:Map),un=null,Mi=!1,V0=/[\n"\\]/g,zp=!1,Dp=!1,Mp=!1,Dh=!1,Cp=!1,Sf=!1,L0=["value","defaultValue"],q0=!1,Mh=/["'&<>\n\t]|^\s|\s$/,Up="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(" "),Tf="applet caption html table td th marquee object template foreignObject desc title".split(" "),Np=Tf.concat(["button"]),Y0="dd dt li option optgroup p rp rt".split(" "),Ch={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ci={},Ci={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"]},Au=/([A-Z])/g,Yc=/^ms-/,xf=/^(?:webkit|moz|o)[A-Z]/,vo=/^-ms-/,pb=/-(.)/g,Hp=/;\s*$/,Ui={},kp={},jp=!1,Ef=!1,Bp=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(" ")),Uh="http://www.w3.org/1998/Math/MathML",Ru="http://www.w3.org/2000/svg",Nh=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"]]),_f={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"},Gc={"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},bo={},Hh=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]*$"),G0=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]*$"),Z0=!1,Ka={},a=/^on./,l=/^on[^A-Z]/,i=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]*$"),o=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]*$"),f=/^[\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,h=null,S=null,T=null,z=!1,Y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),le=!1;if(Y)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){le=!0}}),window.addEventListener("test",oe,oe),window.removeEventListener("test",oe,oe)}catch{le=!1}var Q=null,F=null,Ge=null,Ye={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qt=en(Ye),q=Pe({},Ye,{view:0,detail:0}),H=en(q),G,ue,Oe,ft=Pe({},q,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dn,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!==Oe&&(Oe&&e.type==="mousemove"?(G=e.screenX-Oe.screenX,ue=e.screenY-Oe.screenY):ue=G=0,Oe=e),G)},movementY:function(e){return"movementY"in e?e.movementY:ue}}),qe=en(ft),Ze=Pe({},ft,{dataTransfer:0}),Ja=en(Ze),Ht=Pe({},q,{relatedTarget:0}),Ni=en(Ht),gb=Pe({},Ye,{animationName:0,elapsedTime:0,pseudoElement:0}),M_=en(gb),C_=Pe({},Ye,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),U_=en(C_),N_=Pe({},Ye,{data:0}),kS=en(N_),H_=kS,k_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j_={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"},B_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},V_=Pe({},q,{key:function(e){if(e.key){var t=k_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=jo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?j_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dn,charCode:function(e){return e.type==="keypress"?jo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?jo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),L_=en(V_),q_=Pe({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jS=en(q_),Y_=Pe({},q,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dn}),G_=en(Y_),Z_=Pe({},Ye,{propertyName:0,elapsedTime:0,pseudoElement:0}),X_=en(Z_),Q_=Pe({},ft,{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}),K_=en(Q_),J_=Pe({},Ye,{newState:0,oldState:0}),$_=en(J_),W_=[9,13,27,32],BS=229,vb=Y&&"CompositionEvent"in window,Vp=null;Y&&"documentMode"in document&&(Vp=document.documentMode);var F_=Y&&"TextEvent"in window&&!Vp,VS=Y&&(!vb||Vp&&8<Vp&&11>=Vp),LS=32,qS=String.fromCharCode(LS),YS=!1,kh=!1,I_={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},Lp=null,qp=null,GS=!1;Y&&(GS=Vm("input")&&(!document.documentMode||9<document.documentMode));var hl=typeof Object.is=="function"?Object.is:ab,P_=Y&&"documentMode"in document&&11>=document.documentMode,jh=null,bb=null,Yp=null,Sb=!1,Bh={animationend:Bo("Animation","AnimationEnd"),animationiteration:Bo("Animation","AnimationIteration"),animationstart:Bo("Animation","AnimationStart"),transitionrun:Bo("Transition","TransitionRun"),transitionstart:Bo("Transition","TransitionStart"),transitioncancel:Bo("Transition","TransitionCancel"),transitionend:Bo("Transition","TransitionEnd")},Tb={},ZS={};Y&&(ZS=document.createElement("div").style,"AnimationEvent"in window||(delete Bh.animationend.animation,delete Bh.animationiteration.animation,delete Bh.animationstart.animation),"TransitionEvent"in window||delete Bh.transitionend.transition);var XS=Vo("animationend"),QS=Vo("animationiteration"),KS=Vo("animationstart"),ew=Vo("transitionrun"),tw=Vo("transitionstart"),aw=Vo("transitioncancel"),JS=Vo("transitionend"),$S=new Map,xb="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(" ");xb.push("scrollEnd");var Eb=new WeakMap,X0=1,pr=2,Hi=[],Vh=0,_b=0,Zc={};Object.freeze(Zc);var ki=null,Lh=null,fa=0,nw=1,Rn=2,In=8,Ou=16,WS=64,FS=!1;try{var IS=Object.preventExtensions({})}catch{FS=!0}var qh=[],Yh=0,Q0=null,K0=0,ji=[],Bi=0,wf=null,gr=1,vr="",ml=null,za=null,kt=!1,br=!1,Vi=null,Af=null,So=!1,wb=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."),PS=0;if(typeof performance=="object"&&typeof performance.now=="function")var lw=performance,eT=function(){return lw.now()};else{var iw=Date;eT=function(){return iw.now()}}var Ab=ht(null),Rb=ht(null),tT={},J0=null,Gh=null,Zh=!1,uw=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ow=Sa.unstable_scheduleCallback,rw=Sa.unstable_NormalPriority,on={$$typeof:Wn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Xh=Sa.unstable_now,aT=-0,$0=-0,Nl=-1.1,Rf=-0,W0=!1,F0=!1,Gp=null,Ob=0,Of=0,Qh=null,nT=J.S;J.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ig(e,t),nT!==null&&nT(e,t)};var zf=ht(null),zu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],$p=[],Df=new Set;zu.recordUnsafeLifecycleWarnings=function(e,t){Df.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Zp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillMount=="function"&&Xp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Qp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Kp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Jp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillUpdate=="function"&&$p.push(e))},zu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Zp.length&&(Zp.forEach(function(b){e.add(Ae(b)||"Component"),Df.add(b.type)}),Zp=[]);var t=new Set;0<Xp.length&&(Xp.forEach(function(b){t.add(Ae(b)||"Component"),Df.add(b.type)}),Xp=[]);var n=new Set;0<Qp.length&&(Qp.forEach(function(b){n.add(Ae(b)||"Component"),Df.add(b.type)}),Qp=[]);var u=new Set;0<Kp.length&&(Kp.forEach(function(b){u.add(Ae(b)||"Component"),Df.add(b.type)}),Kp=[]);var r=new Set;0<Jp.length&&(Jp.forEach(function(b){r.add(Ae(b)||"Component"),Df.add(b.type)}),Jp=[]);var c=new Set;if(0<$p.length&&($p.forEach(function(b){c.add(Ae(b)||"Component"),Df.add(b.type)}),$p=[]),0<t.size){var p=V(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.
|
|
274
|
+
Check the render method of %s.`,Ae(un)||"Unknown")),u=Gl(t),u.payload={element:n},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),u.callback=c),n=Zl(e,u,t),n!==null&&(bt(n,e,t),Ko(n,e,t))}function R0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hh(e,t){R0(e,t),(e=e.alternate)&&R0(e,t)}function O0(e){if(e.tag===13){var t=Nn(e,67108864);t!==null&&bt(t,e,67108864),hh(e,67108864)}}function rb(){return un}function cb(){for(var e=new Map,t=1,n=0;31>n;n++){var u=zo(t);e.set(t,u),t*=2}return e}function mh(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=dl,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function Uc(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=Di,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function of(e,t,n,u){if(Ev){var r=Nc(u);if(r===null)rl(e,t,u,_v,n),ui(e,u);else if(sb(r,e,t,n,u))u.stopPropagation();else if(ui(e,u),t&4&&-1<Hw.indexOf(e)){for(;r!==null;){var c=Ia(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=Bt(c.pendingLanes);if(p!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;p;){var E=1<<31-Qa(p);b.entanglements[1]|=E,p&=~E}Dl(c),(Kt&(pl|Cu))===si&&(ov=nn()+tx,ao(0))}}break;case 13:b=Nn(c,2),b!==null&&bt(b,c,2),ir(),hh(c,2)}if(c=Nc(u),c===null&&rl(e,t,u,_v,n),c===r)break;r=c}r!==null&&u.stopPropagation()}else rl(e,t,u,null,n)}}function Nc(e){return e=Vl(e),rf(e)}function rf(e){if(_v=null,e=Ua(e),e!==null){var t=_e(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Rt(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return _v=e,null}function fo(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 dl;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 Di;case"message":switch(U0()){case mf:return dl;case bp:return Di;case jc:case Sp:return wu;case Tp:return wh;default:return wu}default:return wu}}function ui(e,t){switch(e){case"focusin":case"focusout":es=null;break;case"dragenter":case"dragleave":ts=null;break;case"mouseover":case"mouseout":as=null;break;case"pointerover":case"pointerout":pg.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":gg.delete(t.pointerId)}}function Su(e,t,n,u,r,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:c,targetContainers:[r]},t!==null&&(t=Ia(t),t!==null&&O0(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function sb(e,t,n,u,r){switch(t){case"focusin":return es=Su(es,e,t,n,u,r),!0;case"dragenter":return ts=Su(ts,e,t,n,u,r),!0;case"mouseover":return as=Su(as,e,t,n,u,r),!0;case"pointerover":var c=r.pointerId;return pg.set(c,Su(pg.get(c)||null,e,t,n,u,r)),!0;case"gotpointercapture":return c=r.pointerId,gg.set(c,Su(gg.get(c)||null,e,t,n,u,r)),!0}return!1}function mp(e){var t=Ua(e.target);if(t!==null){var n=_e(t);if(n!==null){if(t=n.tag,t===13){if(t=Rt(n),t!==null){e.blockedOn=t,tl(e.priority,function(){if(n.tag===13){var u=ol(n);u=pt(u);var r=Nn(n,u);r!==null&&bt(r,n,u),hh(n,u)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Nc(e.nativeEvent);if(n===null){n=e.nativeEvent;var u=new n.constructor(n.type,n),r=u;h!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),h=r,n.target.dispatchEvent(u),h===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."),h=null}else return t=Ia(n),t!==null&&O0(t),e.blockedOn=n,!1;t.shift()}return!0}function yp(e,t,n){cf(e)&&n.delete(t)}function z0(){m1=!1,es!==null&&cf(es)&&(es=null),ts!==null&&cf(ts)&&(ts=null),as!==null&&cf(as)&&(as=null),pg.forEach(yp),gg.forEach(yp)}function yh(e,t){e.blockedOn===t&&(e.blockedOn=null,m1||(m1=!0,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,z0)))}function ph(e){wv!==e&&(wv=e,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,function(){wv===e&&(wv=null);for(var t=0;t<e.length;t+=3){var n=e[t],u=e[t+1],r=e[t+2];if(typeof u!="function"){if(rf(u||n)===null)continue;break}var c=Ia(n);c!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:r,method:n.method,action:u},Object.freeze(n),Od(c,n,u,r))}}))}function Hc(e){function t(E){return yh(E,e)}es!==null&&yh(es,e),ts!==null&&yh(ts,e),as!==null&&yh(as,e),pg.forEach(t),gg.forEach(t);for(var n=0;n<ns.length;n++){var u=ns[n];u.blockedOn===e&&(u.blockedOn=null)}for(;0<ns.length&&(n=ns[0],n.blockedOn===null);)mp(n),n.blockedOn===null&&ns.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(u=0;u<n.length;u+=3){var r=n[u],c=n[u+1],p=r[Fn]||null;if(typeof c=="function")p||ph(n);else if(p){var b=null;if(c&&c.hasAttribute("formAction")){if(r=c,p=c[Fn]||null)b=p.formAction;else if(rf(r)!==null)continue}else b=p.action;typeof b=="function"?n[u+1]=b:(n.splice(u,3),u-=3),ph(n)}}}function gh(e){this._internalRoot=e}function vh(e){this._internalRoot=e}function bh(e){e[go]&&(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 Sa=w1(),pp=Gf(),fb=z1(),Pe=Object.assign,db=Symbol.for("react.element"),Tu=Symbol.for("react.transitional.element"),ut=Symbol.for("react.portal"),ho=Symbol.for("react.fragment"),dr=Symbol.for("react.strict_mode"),sf=Symbol.for("react.profiler"),D0=Symbol.for("react.provider"),ff=Symbol.for("react.consumer"),Wn=Symbol.for("react.context"),mo=Symbol.for("react.forward_ref"),yo=Symbol.for("react.suspense"),Sh=Symbol.for("react.suspense_list"),Th=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),xh=Symbol.for("react.activity"),M0=Symbol.for("react.memo_cache_sentinel"),df=Symbol.iterator,It=Symbol.for("react.client.reference"),ja=Array.isArray,J=pp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Lt=fb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,gp=Object.freeze({pending:!1,data:null,method:null,action:null}),hf=[],kc=[],Ri=-1,xu=ht(null),hr=ht(null),Oi=ht(null),Eh=ht(null),zi=Object.prototype.hasOwnProperty,vp=Sa.unstable_scheduleCallback,C0=Sa.unstable_cancelCallback,hb=Sa.unstable_shouldYield,mb=Sa.unstable_requestPaint,nn=Sa.unstable_now,U0=Sa.unstable_getCurrentPriorityLevel,mf=Sa.unstable_ImmediatePriority,bp=Sa.unstable_UserBlockingPriority,jc=Sa.unstable_NormalPriority,Sp=Sa.unstable_LowPriority,Tp=Sa.unstable_IdlePriority,oi=Sa.log,xp=Sa.unstable_setDisableYieldValue,mr=null,ln=null,Ee=null,Ea=!1,Ul=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Qa=Math.clz32?Math.clz32:Oo,Eu=Math.log,yb=Math.LN2,_h=256,_u=4194304,dl=2,Di=8,wu=32,wh=268435456,po=Math.random().toString(36).slice(2),pn="__reactFiber$"+po,Fn="__reactProps$"+po,go="__reactContainer$"+po,Ah="__reactEvents$"+po,Bc="__reactListeners$"+po,yf="__reactHandles$"+po,Ep="__reactResources$"+po,pf="__reactMarker$"+po,yr=new Set,ri={},Rh={},Oh={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},_p=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]*$"),zh={},gf={},Vc=0,wp,N0,Ap,Lc,H0,k0,j0;gi.__reactDisabledLog=!0;var qc,vf,bf=!1,Rp=new(typeof WeakMap=="function"?WeakMap:Map),un=null,Mi=!1,B0=/[\n"\\]/g,Op=!1,zp=!1,Dp=!1,Dh=!1,Mp=!1,Sf=!1,V0=["value","defaultValue"],L0=!1,Mh=/["'&<>\n\t]|^\s|\s$/,Cp="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(" "),Tf="applet caption html table td th marquee object template foreignObject desc title".split(" "),Up=Tf.concat(["button"]),q0="dd dt li option optgroup p rp rt".split(" "),Ch={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ci={},Ci={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"]},Au=/([A-Z])/g,Yc=/^ms-/,xf=/^(?:webkit|moz|o)[A-Z]/,vo=/^-ms-/,pb=/-(.)/g,Np=/;\s*$/,Ui={},Hp={},kp=!1,Ef=!1,jp=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(" ")),Uh="http://www.w3.org/1998/Math/MathML",Ru="http://www.w3.org/2000/svg",Nh=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"]]),_f={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"},Gc={"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},bo={},Hh=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]*$"),Y0=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]*$"),G0=!1,Ka={},a=/^on./,l=/^on[^A-Z]/,i=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]*$"),o=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]*$"),f=/^[\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,h=null,S=null,T=null,z=!1,Y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),le=!1;if(Y)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){le=!0}}),window.addEventListener("test",oe,oe),window.removeEventListener("test",oe,oe)}catch{le=!1}var Q=null,F=null,Ge=null,Ye={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qt=en(Ye),q=Pe({},Ye,{view:0,detail:0}),H=en(q),G,ue,Oe,ft=Pe({},q,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dn,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!==Oe&&(Oe&&e.type==="mousemove"?(G=e.screenX-Oe.screenX,ue=e.screenY-Oe.screenY):ue=G=0,Oe=e),G)},movementY:function(e){return"movementY"in e?e.movementY:ue}}),qe=en(ft),Ze=Pe({},ft,{dataTransfer:0}),Ja=en(Ze),Ht=Pe({},q,{relatedTarget:0}),Ni=en(Ht),gb=Pe({},Ye,{animationName:0,elapsedTime:0,pseudoElement:0}),M_=en(gb),C_=Pe({},Ye,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),U_=en(C_),N_=Pe({},Ye,{data:0}),kS=en(N_),H_=kS,k_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j_={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"},B_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},V_=Pe({},q,{key:function(e){if(e.key){var t=k_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=jo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?j_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dn,charCode:function(e){return e.type==="keypress"?jo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?jo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),L_=en(V_),q_=Pe({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jS=en(q_),Y_=Pe({},q,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dn}),G_=en(Y_),Z_=Pe({},Ye,{propertyName:0,elapsedTime:0,pseudoElement:0}),X_=en(Z_),Q_=Pe({},ft,{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}),K_=en(Q_),J_=Pe({},Ye,{newState:0,oldState:0}),$_=en(J_),W_=[9,13,27,32],BS=229,vb=Y&&"CompositionEvent"in window,Bp=null;Y&&"documentMode"in document&&(Bp=document.documentMode);var F_=Y&&"TextEvent"in window&&!Bp,VS=Y&&(!vb||Bp&&8<Bp&&11>=Bp),LS=32,qS=String.fromCharCode(LS),YS=!1,kh=!1,I_={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},Vp=null,Lp=null,GS=!1;Y&&(GS=Bm("input")&&(!document.documentMode||9<document.documentMode));var hl=typeof Object.is=="function"?Object.is:ab,P_=Y&&"documentMode"in document&&11>=document.documentMode,jh=null,bb=null,qp=null,Sb=!1,Bh={animationend:Bo("Animation","AnimationEnd"),animationiteration:Bo("Animation","AnimationIteration"),animationstart:Bo("Animation","AnimationStart"),transitionrun:Bo("Transition","TransitionRun"),transitionstart:Bo("Transition","TransitionStart"),transitioncancel:Bo("Transition","TransitionCancel"),transitionend:Bo("Transition","TransitionEnd")},Tb={},ZS={};Y&&(ZS=document.createElement("div").style,"AnimationEvent"in window||(delete Bh.animationend.animation,delete Bh.animationiteration.animation,delete Bh.animationstart.animation),"TransitionEvent"in window||delete Bh.transitionend.transition);var XS=Vo("animationend"),QS=Vo("animationiteration"),KS=Vo("animationstart"),ew=Vo("transitionrun"),tw=Vo("transitionstart"),aw=Vo("transitioncancel"),JS=Vo("transitionend"),$S=new Map,xb="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(" ");xb.push("scrollEnd");var Eb=new WeakMap,Z0=1,pr=2,Hi=[],Vh=0,_b=0,Zc={};Object.freeze(Zc);var ki=null,Lh=null,fa=0,nw=1,Rn=2,In=8,Ou=16,WS=64,FS=!1;try{var IS=Object.preventExtensions({})}catch{FS=!0}var qh=[],Yh=0,X0=null,Q0=0,ji=[],Bi=0,wf=null,gr=1,vr="",ml=null,za=null,kt=!1,br=!1,Vi=null,Af=null,So=!1,wb=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."),PS=0;if(typeof performance=="object"&&typeof performance.now=="function")var lw=performance,eT=function(){return lw.now()};else{var iw=Date;eT=function(){return iw.now()}}var Ab=ht(null),Rb=ht(null),tT={},K0=null,Gh=null,Zh=!1,uw=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ow=Sa.unstable_scheduleCallback,rw=Sa.unstable_NormalPriority,on={$$typeof:Wn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Xh=Sa.unstable_now,aT=-0,J0=-0,Nl=-1.1,Rf=-0,$0=!1,W0=!1,Yp=null,Ob=0,Of=0,Qh=null,nT=J.S;J.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Fg(e,t),nT!==null&&nT(e,t)};var zf=ht(null),zu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Gp=[],Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],Df=new Set;zu.recordUnsafeLifecycleWarnings=function(e,t){Df.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Gp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillMount=="function"&&Zp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Xp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Qp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Kp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillUpdate=="function"&&Jp.push(e))},zu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Gp.length&&(Gp.forEach(function(b){e.add(Ae(b)||"Component"),Df.add(b.type)}),Gp=[]);var t=new Set;0<Zp.length&&(Zp.forEach(function(b){t.add(Ae(b)||"Component"),Df.add(b.type)}),Zp=[]);var n=new Set;0<Xp.length&&(Xp.forEach(function(b){n.add(Ae(b)||"Component"),Df.add(b.type)}),Xp=[]);var u=new Set;0<Qp.length&&(Qp.forEach(function(b){u.add(Ae(b)||"Component"),Df.add(b.type)}),Qp=[]);var r=new Set;0<Kp.length&&(Kp.forEach(function(b){r.add(Ae(b)||"Component"),Df.add(b.type)}),Kp=[]);var c=new Set;if(0<Jp.length&&(Jp.forEach(function(b){c.add(Ae(b)||"Component"),Df.add(b.type)}),Jp=[]),0<t.size){var p=V(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.
|
|
275
275
|
|
|
276
276
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
277
277
|
|
|
@@ -300,28 +300,28 @@ Please update the following components: %s`,p)),0<r.size&&(p=V(r),console.warn(`
|
|
|
300
300
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
301
301
|
* 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.
|
|
302
302
|
|
|
303
|
-
Please update the following components: %s`,p))};var
|
|
303
|
+
Please update the following components: %s`,p))};var F0=new Map,lT=new Set;zu.recordLegacyContextWarning=function(e,t){for(var n=null,u=e;u!==null;)u.mode&In&&(n=u),u=u.return;n===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."):!lT.has(e.type)&&(u=F0.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],F0.set(n,u)),u.push(e))},zu.flushLegacyContextWarning=function(){F0.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(r){n.add(Ae(r)||"Component"),lT.add(r.type)});var u=V(n);je(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
304
304
|
|
|
305
305
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
306
306
|
|
|
307
307
|
Please update the following components: %s
|
|
308
308
|
|
|
309
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},zu.discardPendingWarnings=function(){Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],$p=[],I0=new Map};var Wp=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`."),iT=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."),P0=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."),zb={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.')}},Fp=null,ev=!1,Li=0,qi=1,yl=2,On=4,rn=8,uT=0,oT=1,rT=2,Db=3,Xc=!1,cT=!1,Mb=null,Cb=!1,Kh=ht(null),tv=ht(0),Jh,sT=new Set,fT=new Set,Ub=new Set,dT=new Set,Qc=0,et=null,na=null,$a=null,av=!1,$h=!1,Mf=!1,nv=0,Ip=0,Sr=null,cw=0,sw=25,I=null,Yi=null,Tr=-1,Pp=!1,lv={readContext:la,use:pa,useCallback:aa,useContext:aa,useEffect:aa,useImperativeHandle:aa,useLayoutEffect:aa,useInsertionEffect:aa,useMemo:aa,useReducer:aa,useRef:aa,useState:aa,useDebugValue:aa,useDeferredValue:aa,useTransition:aa,useSyncExternalStore:aa,useId:aa,useHostTransitionStatus:aa,useFormState:aa,useActionState:aa,useOptimistic:aa,useMemoCache:aa,useCacheRefresh:aa},Nb=null,hT=null,Hb=null,mT=null,To=null,Du=null,iv=null;Nb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ct(),Qu(t),uc(e,t)},useContext:function(e){return I="useContext",ct(),la(e)},useEffect:function(e,t){return I="useEffect",ct(),Qu(t),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ct(),Qu(n),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ct(),Qu(t),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ct(),Qu(t),oy(e,t)},useMemo:function(e,t){I="useMemo",ct(),Qu(t);var n=J.H;J.H=To;try{return Wo(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ct(),Wu(e)},useState:function(e){I="useState",ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ct()},useDeferredValue:function(e,t){return I="useDeferredValue",ct(),oc(e,t)},useTransition:function(){return I="useTransition",ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ct(),xd(e,t,n)},useId:function(){return I="useId",ct(),Fo()},useFormState:function(e,t){return I="useFormState",ct(),Fr(),nc(e,t)},useActionState:function(e,t){return I="useActionState",ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ct(),Ti(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},hT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),uc(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){return I="useEffect",ce(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ce(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),oy(e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=To;try{return Wo(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ce(),Wu(e)},useState:function(e){I="useState",ce();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),oc(e,t)},useTransition:function(){return I="useTransition",ce(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),xd(e,t,n)},useId:function(){return I="useId",ce(),Fo()},useActionState:function(e,t){return I="useActionState",ce(),nc(e,t)},useFormState:function(e,t){return I="useFormState",ce(),Fr(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ce(),Ti(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Ns()}},Hb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),Rd(e,t)},useTransition:function(){return I="useTransition",ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),Ad(e)},useActionState:function(e){return I="useActionState",ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),xi(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},mT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=iv;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=iv;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=iv;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),cy(e,t)},useTransition:function(){return I="useTransition",ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),$u(e)},useActionState:function(e){return I="useActionState",ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),wd(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},To={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ct(),uc(e,t)},useContext:function(e){return I="useContext",w(),ct(),la(e)},useEffect:function(e,t){return I="useEffect",w(),ct(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ct(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",w(),ct(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ct(),oy(e,t)},useMemo:function(e,t){I="useMemo",w(),ct();var n=J.H;J.H=To;try{return Wo(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",w(),ct(),Wu(e)},useState:function(e){I="useState",w(),ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",w(),ct()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ct(),oc(e,t)},useTransition:function(){return I="useTransition",w(),ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ct(),xd(e,t,n)},useId:function(){return I="useId",w(),ct(),Fo()},useFormState:function(e,t){return I="useFormState",w(),ct(),nc(e,t)},useActionState:function(e,t){return I="useActionState",w(),ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",w(),ct(),Ti(e)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},Du={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),Rd(e,t)},useTransition:function(){return I="useTransition",w(),ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),Ad(e)},useActionState:function(e){return I="useActionState",w(),ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),xi(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},iv={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),cy(e,t)},useTransition:function(){return I="useTransition",w(),ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),$u(e)},useActionState:function(e){return I="useActionState",w(),ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),wd(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}};var yT={"react-stack-bottom-frame":function(e,t,n){var u=Mi;Mi=!0;try{return e(t,n)}finally{Mi=u}}},kb=yT["react-stack-bottom-frame"].bind(yT),pT={"react-stack-bottom-frame":function(e){var t=Mi;Mi=!0;try{return e.render()}finally{Mi=t}}},gT=pT["react-stack-bottom-frame"].bind(pT),vT={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){$t(e,e.return,n)}}},jb=vT["react-stack-bottom-frame"].bind(vT),bT={"react-stack-bottom-frame":function(e,t,n,u,r){try{t.componentDidUpdate(n,u,r)}catch(c){$t(e,e.return,c)}}},ST=bT["react-stack-bottom-frame"].bind(bT),TT={"react-stack-bottom-frame":function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},fw=TT["react-stack-bottom-frame"].bind(TT),xT={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(u){$t(e,t,u)}}},ET=xT["react-stack-bottom-frame"].bind(xT),_T={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},dw=_T["react-stack-bottom-frame"].bind(_T),wT={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(u){$t(e,t,u)}}},hw=wT["react-stack-bottom-frame"].bind(wT),AT={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Kc=AT["react-stack-bottom-frame"].bind(AT),Wh=null,eg=0,gt=null,Bb,RT=Bb=!1,OT={},zT={},DT={};B=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var u=Ae(e),r=u||"null";if(!OT[r]){OT[r]=!0,n=n._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(r=Ae(e))&&(c=`
|
|
309
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},zu.discardPendingWarnings=function(){Gp=[],Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],F0=new Map};var $p=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`."),iT=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."),I0=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."),zb={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.')}},Wp=null,P0=!1,Li=0,qi=1,yl=2,On=4,rn=8,uT=0,oT=1,rT=2,Db=3,Xc=!1,cT=!1,Mb=null,Cb=!1,Kh=ht(null),ev=ht(0),Jh,sT=new Set,fT=new Set,Ub=new Set,dT=new Set,Qc=0,et=null,na=null,$a=null,tv=!1,$h=!1,Mf=!1,av=0,Fp=0,Sr=null,cw=0,sw=25,I=null,Yi=null,Tr=-1,Ip=!1,nv={readContext:la,use:pa,useCallback:aa,useContext:aa,useEffect:aa,useImperativeHandle:aa,useLayoutEffect:aa,useInsertionEffect:aa,useMemo:aa,useReducer:aa,useRef:aa,useState:aa,useDebugValue:aa,useDeferredValue:aa,useTransition:aa,useSyncExternalStore:aa,useId:aa,useHostTransitionStatus:aa,useFormState:aa,useActionState:aa,useOptimistic:aa,useMemoCache:aa,useCacheRefresh:aa},Nb=null,hT=null,Hb=null,mT=null,To=null,Du=null,lv=null;Nb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ct(),Qu(t),uc(e,t)},useContext:function(e){return I="useContext",ct(),la(e)},useEffect:function(e,t){return I="useEffect",ct(),Qu(t),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ct(),Qu(n),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ct(),Qu(t),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ct(),Qu(t),uy(e,t)},useMemo:function(e,t){I="useMemo",ct(),Qu(t);var n=J.H;J.H=To;try{return Wo(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ct(),Wu(e)},useState:function(e){I="useState",ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ct()},useDeferredValue:function(e,t){return I="useDeferredValue",ct(),oc(e,t)},useTransition:function(){return I="useTransition",ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ct(),xd(e,t,n)},useId:function(){return I="useId",ct(),Fo()},useFormState:function(e,t){return I="useFormState",ct(),Fr(),nc(e,t)},useActionState:function(e,t){return I="useActionState",ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ct(),Ti(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},hT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),uc(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){return I="useEffect",ce(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ce(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),uy(e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=To;try{return Wo(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ce(),Wu(e)},useState:function(e){I="useState",ce();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),oc(e,t)},useTransition:function(){return I="useTransition",ce(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),xd(e,t,n)},useId:function(){return I="useId",ce(),Fo()},useActionState:function(e,t){return I="useActionState",ce(),nc(e,t)},useFormState:function(e,t){return I="useFormState",ce(),Fr(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ce(),Ti(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Ns()}},Hb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),Rd(e,t)},useTransition:function(){return I="useTransition",ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),Ad(e)},useActionState:function(e){return I="useActionState",ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),xi(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},mT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=lv;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=lv;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=lv;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),ry(e,t)},useTransition:function(){return I="useTransition",ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),$u(e)},useActionState:function(e){return I="useActionState",ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),wd(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},To={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ct(),uc(e,t)},useContext:function(e){return I="useContext",w(),ct(),la(e)},useEffect:function(e,t){return I="useEffect",w(),ct(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ct(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",w(),ct(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ct(),uy(e,t)},useMemo:function(e,t){I="useMemo",w(),ct();var n=J.H;J.H=To;try{return Wo(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",w(),ct(),Wu(e)},useState:function(e){I="useState",w(),ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",w(),ct()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ct(),oc(e,t)},useTransition:function(){return I="useTransition",w(),ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ct(),xd(e,t,n)},useId:function(){return I="useId",w(),ct(),Fo()},useFormState:function(e,t){return I="useFormState",w(),ct(),nc(e,t)},useActionState:function(e,t){return I="useActionState",w(),ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",w(),ct(),Ti(e)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},Du={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),Rd(e,t)},useTransition:function(){return I="useTransition",w(),ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),Ad(e)},useActionState:function(e){return I="useActionState",w(),ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),xi(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},lv={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,rn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),ry(e,t)},useTransition:function(){return I="useTransition",w(),ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),$u(e)},useActionState:function(e){return I="useActionState",w(),ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),wd(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}};var yT={"react-stack-bottom-frame":function(e,t,n){var u=Mi;Mi=!0;try{return e(t,n)}finally{Mi=u}}},kb=yT["react-stack-bottom-frame"].bind(yT),pT={"react-stack-bottom-frame":function(e){var t=Mi;Mi=!0;try{return e.render()}finally{Mi=t}}},gT=pT["react-stack-bottom-frame"].bind(pT),vT={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){$t(e,e.return,n)}}},jb=vT["react-stack-bottom-frame"].bind(vT),bT={"react-stack-bottom-frame":function(e,t,n,u,r){try{t.componentDidUpdate(n,u,r)}catch(c){$t(e,e.return,c)}}},ST=bT["react-stack-bottom-frame"].bind(bT),TT={"react-stack-bottom-frame":function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},fw=TT["react-stack-bottom-frame"].bind(TT),xT={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(u){$t(e,t,u)}}},ET=xT["react-stack-bottom-frame"].bind(xT),_T={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},dw=_T["react-stack-bottom-frame"].bind(_T),wT={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(u){$t(e,t,u)}}},hw=wT["react-stack-bottom-frame"].bind(wT),AT={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Kc=AT["react-stack-bottom-frame"].bind(AT),Wh=null,Pp=0,gt=null,Bb,RT=Bb=!1,OT={},zT={},DT={};B=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var u=Ae(e),r=u||"null";if(!OT[r]){OT[r]=!0,n=n._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(r=Ae(e))&&(c=`
|
|
310
310
|
|
|
311
311
|
Check the render method of \``+r+"`."),c||u&&(c=`
|
|
312
312
|
|
|
313
|
-
Check the top-level render call using <`+u+">.");var p="";n!=null&&e!==n&&(u=null,typeof n.tag=="number"?u=Ae(n):typeof n.name=="string"&&(u=n.name),u&&(p=" It was passed a child from "+u+".")),je(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.',c,p)})}}};var Fh=Po(!0),MT=Po(!1),Gi=ht(null),xo=null,Ih=1,tg=2,cn=ht(0),CT={},UT=new Set,NT=new Set,HT=new Set,kT=new Set,jT=new Set,BT=new Set,VT=new Set,LT=new Set,qT=new Set,YT=new Set;Object.freeze(CT);var Vb={enqueueSetState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Ko(t,e,u)),el(e,u)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.tag=oT,r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Ko(t,e,u)),el(e,u)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ol(e),u=Gl(n);u.tag=rT,t!=null&&(ya(t),u.callback=t),t=Zl(e,u,n),t!==null&&(bt(t,e,n),Ko(t,e,n)),Ee!==null&&typeof Ee.markForceUpdateScheduled=="function"&&Ee.markForceUpdateScheduled(e,n)}},Lb=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)},Ph=null,qb=null,GT=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."),gn=!1,ZT={},XT={},QT={},KT={},em=!1,JT={},Yb={},Gb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},$T=!1,WT=null;WT=new Set;var xr=!1,Ba=!1,Zb=!1,FT=typeof WeakSet=="function"?WeakSet:Set,vn=null,tm=null,am=null,Wa=null,Hl=!1,Mu=null,ag=8192,mw={getCacheForType:function(e){var t=la(on),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return un}};if(typeof Symbol=="function"&&Symbol.for){var ng=Symbol.for;ng("selector.component"),ng("selector.has_pseudo_class"),ng("selector.role"),ng("selector.test_id"),ng("selector.text")}var yw=[],pw=typeof WeakMap=="function"?WeakMap:Map,si=0,pl=2,Cu=4,Er=0,lg=1,nm=2,Xb=3,Cf=4,uv=6,IT=5,Kt=si,ra=null,xt=null,At=0,kl=0,ig=1,Uf=2,ug=3,PT=4,Qb=5,lm=6,og=7,Kb=8,Nf=9,Pt=kl,fi=null,Jc=!1,im=!1,Jb=!1,Eo=0,Da=Er,$c=0,Wc=0,$b=0,di=0,Hf=0,rg=null,gl=null,ov=!1,Wb=0,ex=300,rv=1/0,tx=500,cg=null,Fc=null,gw=0,vw=1,bw=2,kf=0,ax=1,nx=2,lx=3,Sw=4,Fb=5,zn=0,Ic=null,um=null,Pc=0,Ib=0,Pb=null,ix=null,Tw=50,sg=0,e1=null,t1=!1,cv=!1,xw=50,jf=0,fg=null,om=!1,sv=null,ux=!1,ox=new Set,Ew={},fv=null,rm=null,a1=!1,n1=!1,dv=!1,l1=!1,Bf=0,i1={};(function(){for(var e=0;e<xb.length;e++){var t=xb[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ll(n,"on"+t)}Ll(XS,"onAnimationEnd"),Ll(QS,"onAnimationIteration"),Ll(KS,"onAnimationStart"),Ll("dblclick","onDoubleClick"),Ll("focusin","onFocus"),Ll("focusout","onBlur"),Ll(ew,"onTransitionRun"),Ll(tw,"onTransitionStart"),Ll(aw,"onTransitionCancel"),Ll(JS,"onTransitionEnd")})(),be("onMouseEnter",["mouseout","mouseover"]),be("onMouseLeave",["mouseout","mouseover"]),be("onPointerEnter",["pointerout","pointerover"]),be("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dg="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(" "),u1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(dg)),hv="_reactListening"+Math.random().toString(36).slice(2),rx=!1,cx=!1,mv=!1,sx=!1,yv=!1,pv=!1,fx=!1,gv={},_w=/\r\n?/g,ww=/\u0000|\uFFFD/g,Vf="http://www.w3.org/1999/xlink",o1="http://www.w3.org/XML/1998/namespace",Aw="javascript:throw new Error('React form unexpectedly submitted.')",Rw="suppressHydrationWarning",vv="$",bv="/$",_r="$?",hg="$!",Ow=1,zw=2,Dw=4,r1="F!",dx="F",hx="complete",Mw="style",wr=0,cm=1,Sv=2,c1=null,s1=null,mx={dialog:!0,webview:!0},f1=null,yx=typeof setTimeout=="function"?setTimeout:void 0,Cw=typeof clearTimeout=="function"?clearTimeout:void 0,Lf=-1,px=typeof Promise=="function"?Promise:void 0,Uw=typeof queueMicrotask=="function"?queueMicrotask:typeof px<"u"?function(e){return px.resolve(null).then(e).catch(vu)}:yx,d1=null,qf=0,mg=1,gx=2,vx=3,Zi=4,Xi=new Map,bx=new Set,Ar=Lt.d;Lt.d={f:function(){var e=Ar.f(),t=ir();return e||t},r:function(e){var t=Ia(e);t!==null&&t.tag===5&&t.type==="form"?ou(t):Ar.r(e)},D:function(e){Ar.D(e),bu("dns-prefetch",e,null)},C:function(e,t){Ar.C(e,t),bu("preconnect",e,t)},L:function(e,t,n){Ar.L(e,t,n);var u=sm;if(u&&e&&t){var r='link[rel="preload"][as="'+Ya(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ya(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ya(n.imageSizes)+'"]')):r+='[href="'+Ya(e)+'"]';var c=r;switch(t){case"style":c=ii(e);break;case"script":c=so(e)}Xi.has(c)||(e=Pe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Xi.set(c,e),u.querySelector(r)!==null||t==="style"&&u.querySelector(Cc(c))||t==="script"&&u.querySelector(sr(c))||(t=u.createElement("link"),Xa(t,"link",e),L(t),u.head.appendChild(t)))}},m:function(e,t){Ar.m(e,t);var n=sm;if(n&&e){var u=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ya(u)+'"][href="'+Ya(e)+'"]',c=r;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=so(e)}if(!Xi.has(c)&&(e=Pe({rel:"modulepreload",href:e},t),Xi.set(c,e),n.querySelector(r)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(sr(c)))return}u=n.createElement("link"),Xa(u,"link",e),L(u),n.head.appendChild(u)}}},X:function(e,t){Ar.X(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(sr(r)),c||(e=Pe({src:e,async:!0},t),(t=Xi.get(r))&&ch(e,t),c=n.createElement("script"),L(c),Xa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}},S:function(e,t,n){Ar.S(e,t,n);var u=sm;if(u&&e){var r=x(u).hoistableStyles,c=ii(e);t=t||"default";var p=r.get(c);if(!p){var b={loading:qf,preload:null};if(p=u.querySelector(Cc(c)))b.loading=mg|Zi;else{e=Pe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Xi.get(c))&&fp(e,n);var E=p=u.createElement("link");L(E),Xa(E,"link",e),E._p=new Promise(function(A,$){E.onload=A,E.onerror=$}),E.addEventListener("load",function(){b.loading|=mg}),E.addEventListener("error",function(){b.loading|=gx}),b.loading|=Zi,rh(p,t,u)}p={type:"stylesheet",instance:p,count:1,state:b},r.set(c,p)}}},M:function(e,t){Ar.M(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(sr(r)),c||(e=Pe({src:e,async:!0,type:"module"},t),(t=Xi.get(r))&&ch(e,t),c=n.createElement("script"),L(c),Xa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}}};var sm=typeof document>"u"?null:document,Tv=null,yg=null,h1=null,xv=null,Yf=vp,pg={$$typeof:Wn,Provider:null,Consumer:null,_currentValue:Yf,_currentValue2:Yf,_threadCount:0},Sx="%c%s%c ",Tx="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",xx="",Ev=" ",Nw=Function.prototype.bind,Ex=!1,_x=null,wx=null,Ax=null,Rx=null,Ox=null,zx=null,Dx=null,Mx=null,Cx=null;_x=function(e,t,n,u){t=s(e,t),t!==null&&(n=m(t.memoizedState,n,0,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},wx=function(e,t,n){t=s(e,t),t!==null&&(n=v(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Ax=function(e,t,n,u){t=s(e,t),t!==null&&(n=y(t.memoizedState,n,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Rx=function(e,t,n){e.pendingProps=m(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Ox=function(e,t){e.pendingProps=v(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},zx=function(e,t,n){e.pendingProps=y(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Dx=function(e){var t=Nn(e,2);t!==null&&bt(t,e,2)},Mx=function(e){R=e},Cx=function(e){_=e};var _v=!0,wv=null,m1=!1,es=null,ts=null,as=null,gg=new Map,vg=new Map,ns=[],Hw="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(" "),Av=null;if(vh.prototype.render=gh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):Fe(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var u=t.current,r=ol(u);uf(u,r,n,t,null,null)},vh.prototype.unmount=gh.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;(Kt&(pl|Cu))!==si&&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."),uf(e.current,2,null,e,null,null),ir(),t[go]=null}},vh.prototype.unstable_scheduleHydration=function(e){if(e){var t=Do();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ns.length&&t!==0&&t<ns[n].priority;n++);ns.splice(n,0,e),n===0&&yp(e)}},function(){var e=gp.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
313
|
+
Check the top-level render call using <`+u+">.");var p="";n!=null&&e!==n&&(u=null,typeof n.tag=="number"?u=Ae(n):typeof n.name=="string"&&(u=n.name),u&&(p=" It was passed a child from "+u+".")),je(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.',c,p)})}}};var Fh=Po(!0),MT=Po(!1),Gi=ht(null),xo=null,Ih=1,eg=2,cn=ht(0),CT={},UT=new Set,NT=new Set,HT=new Set,kT=new Set,jT=new Set,BT=new Set,VT=new Set,LT=new Set,qT=new Set,YT=new Set;Object.freeze(CT);var Vb={enqueueSetState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Ko(t,e,u)),el(e,u)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.tag=oT,r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Ko(t,e,u)),el(e,u)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ol(e),u=Gl(n);u.tag=rT,t!=null&&(ya(t),u.callback=t),t=Zl(e,u,n),t!==null&&(bt(t,e,n),Ko(t,e,n)),Ee!==null&&typeof Ee.markForceUpdateScheduled=="function"&&Ee.markForceUpdateScheduled(e,n)}},Lb=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)},Ph=null,qb=null,GT=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."),gn=!1,ZT={},XT={},QT={},KT={},em=!1,JT={},Yb={},Gb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},$T=!1,WT=null;WT=new Set;var xr=!1,Ba=!1,Zb=!1,FT=typeof WeakSet=="function"?WeakSet:Set,vn=null,tm=null,am=null,Wa=null,Hl=!1,Mu=null,tg=8192,mw={getCacheForType:function(e){var t=la(on),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return un}};if(typeof Symbol=="function"&&Symbol.for){var ag=Symbol.for;ag("selector.component"),ag("selector.has_pseudo_class"),ag("selector.role"),ag("selector.test_id"),ag("selector.text")}var yw=[],pw=typeof WeakMap=="function"?WeakMap:Map,si=0,pl=2,Cu=4,Er=0,ng=1,nm=2,Xb=3,Cf=4,iv=6,IT=5,Kt=si,ra=null,xt=null,At=0,kl=0,lg=1,Uf=2,ig=3,PT=4,Qb=5,lm=6,ug=7,Kb=8,Nf=9,Pt=kl,fi=null,Jc=!1,im=!1,Jb=!1,Eo=0,Da=Er,$c=0,Wc=0,$b=0,di=0,Hf=0,og=null,gl=null,uv=!1,Wb=0,ex=300,ov=1/0,tx=500,rg=null,Fc=null,gw=0,vw=1,bw=2,kf=0,ax=1,nx=2,lx=3,Sw=4,Fb=5,zn=0,Ic=null,um=null,Pc=0,Ib=0,Pb=null,ix=null,Tw=50,cg=0,e1=null,t1=!1,rv=!1,xw=50,jf=0,sg=null,om=!1,cv=null,ux=!1,ox=new Set,Ew={},sv=null,rm=null,a1=!1,n1=!1,fv=!1,l1=!1,Bf=0,i1={};(function(){for(var e=0;e<xb.length;e++){var t=xb[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ll(n,"on"+t)}Ll(XS,"onAnimationEnd"),Ll(QS,"onAnimationIteration"),Ll(KS,"onAnimationStart"),Ll("dblclick","onDoubleClick"),Ll("focusin","onFocus"),Ll("focusout","onBlur"),Ll(ew,"onTransitionRun"),Ll(tw,"onTransitionStart"),Ll(aw,"onTransitionCancel"),Ll(JS,"onTransitionEnd")})(),be("onMouseEnter",["mouseout","mouseover"]),be("onMouseLeave",["mouseout","mouseover"]),be("onPointerEnter",["pointerout","pointerover"]),be("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fg="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(" "),u1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(fg)),dv="_reactListening"+Math.random().toString(36).slice(2),rx=!1,cx=!1,hv=!1,sx=!1,mv=!1,yv=!1,fx=!1,pv={},_w=/\r\n?/g,ww=/\u0000|\uFFFD/g,Vf="http://www.w3.org/1999/xlink",o1="http://www.w3.org/XML/1998/namespace",Aw="javascript:throw new Error('React form unexpectedly submitted.')",Rw="suppressHydrationWarning",gv="$",vv="/$",_r="$?",dg="$!",Ow=1,zw=2,Dw=4,r1="F!",dx="F",hx="complete",Mw="style",wr=0,cm=1,bv=2,c1=null,s1=null,mx={dialog:!0,webview:!0},f1=null,yx=typeof setTimeout=="function"?setTimeout:void 0,Cw=typeof clearTimeout=="function"?clearTimeout:void 0,Lf=-1,px=typeof Promise=="function"?Promise:void 0,Uw=typeof queueMicrotask=="function"?queueMicrotask:typeof px<"u"?function(e){return px.resolve(null).then(e).catch(vu)}:yx,d1=null,qf=0,hg=1,gx=2,vx=3,Zi=4,Xi=new Map,bx=new Set,Ar=Lt.d;Lt.d={f:function(){var e=Ar.f(),t=ir();return e||t},r:function(e){var t=Ia(e);t!==null&&t.tag===5&&t.type==="form"?ou(t):Ar.r(e)},D:function(e){Ar.D(e),bu("dns-prefetch",e,null)},C:function(e,t){Ar.C(e,t),bu("preconnect",e,t)},L:function(e,t,n){Ar.L(e,t,n);var u=sm;if(u&&e&&t){var r='link[rel="preload"][as="'+Ya(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ya(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ya(n.imageSizes)+'"]')):r+='[href="'+Ya(e)+'"]';var c=r;switch(t){case"style":c=ii(e);break;case"script":c=so(e)}Xi.has(c)||(e=Pe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Xi.set(c,e),u.querySelector(r)!==null||t==="style"&&u.querySelector(Cc(c))||t==="script"&&u.querySelector(sr(c))||(t=u.createElement("link"),Xa(t,"link",e),L(t),u.head.appendChild(t)))}},m:function(e,t){Ar.m(e,t);var n=sm;if(n&&e){var u=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ya(u)+'"][href="'+Ya(e)+'"]',c=r;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=so(e)}if(!Xi.has(c)&&(e=Pe({rel:"modulepreload",href:e},t),Xi.set(c,e),n.querySelector(r)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(sr(c)))return}u=n.createElement("link"),Xa(u,"link",e),L(u),n.head.appendChild(u)}}},X:function(e,t){Ar.X(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(sr(r)),c||(e=Pe({src:e,async:!0},t),(t=Xi.get(r))&&ch(e,t),c=n.createElement("script"),L(c),Xa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}},S:function(e,t,n){Ar.S(e,t,n);var u=sm;if(u&&e){var r=x(u).hoistableStyles,c=ii(e);t=t||"default";var p=r.get(c);if(!p){var b={loading:qf,preload:null};if(p=u.querySelector(Cc(c)))b.loading=hg|Zi;else{e=Pe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Xi.get(c))&&sp(e,n);var E=p=u.createElement("link");L(E),Xa(E,"link",e),E._p=new Promise(function(A,$){E.onload=A,E.onerror=$}),E.addEventListener("load",function(){b.loading|=hg}),E.addEventListener("error",function(){b.loading|=gx}),b.loading|=Zi,rh(p,t,u)}p={type:"stylesheet",instance:p,count:1,state:b},r.set(c,p)}}},M:function(e,t){Ar.M(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(sr(r)),c||(e=Pe({src:e,async:!0,type:"module"},t),(t=Xi.get(r))&&ch(e,t),c=n.createElement("script"),L(c),Xa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}}};var sm=typeof document>"u"?null:document,Sv=null,mg=null,h1=null,Tv=null,Yf=gp,yg={$$typeof:Wn,Provider:null,Consumer:null,_currentValue:Yf,_currentValue2:Yf,_threadCount:0},Sx="%c%s%c ",Tx="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",xx="",xv=" ",Nw=Function.prototype.bind,Ex=!1,_x=null,wx=null,Ax=null,Rx=null,Ox=null,zx=null,Dx=null,Mx=null,Cx=null;_x=function(e,t,n,u){t=s(e,t),t!==null&&(n=m(t.memoizedState,n,0,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},wx=function(e,t,n){t=s(e,t),t!==null&&(n=v(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Ax=function(e,t,n,u){t=s(e,t),t!==null&&(n=y(t.memoizedState,n,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Rx=function(e,t,n){e.pendingProps=m(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Ox=function(e,t){e.pendingProps=v(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},zx=function(e,t,n){e.pendingProps=y(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Dx=function(e){var t=Nn(e,2);t!==null&&bt(t,e,2)},Mx=function(e){R=e},Cx=function(e){_=e};var Ev=!0,_v=null,m1=!1,es=null,ts=null,as=null,pg=new Map,gg=new Map,ns=[],Hw="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(" "),wv=null;if(vh.prototype.render=gh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):Fe(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var u=t.current,r=ol(u);uf(u,r,n,t,null,null)},vh.prototype.unmount=gh.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;(Kt&(pl|Cu))!==si&&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."),uf(e.current,2,null,e,null,null),ir(),t[go]=null}},vh.prototype.unstable_scheduleHydration=function(e){if(e){var t=Do();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ns.length&&t!==0&&t<ns[n].priority;n++);ns.splice(n,0,e),n===0&&mp(e)}},function(){var e=pp.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
314
314
|
- react: `+(e+`
|
|
315
315
|
- react-dom: 19.1.0
|
|
316
316
|
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"),Lt.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=ke(t),e=e!==null?Qt(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:J,reconcilerVersion:"19.1.0"};return e.overrideHookState=_x,e.overrideHookStateDeletePath=wx,e.overrideHookStateRenamePath=Ax,e.overrideProps=Rx,e.overridePropsDeletePath=Ox,e.overridePropsRenamePath=zx,e.scheduleUpdate=Dx,e.setErrorHandler=Mx,e.setSuspenseHandler=Cx,e.scheduleRefresh=He,e.scheduleRoot=fe,e.setRefreshHandler=Xe,e.getCurrentFiber=rb,e.getLaneLabelMap=cb,e.injectProfilingHooks=Ct,De(e)}()&&Y&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Ux=window.location.protocol;/^(https?|file):$/.test(Ux)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Ux==="file:"?`
|
|
317
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}ym.createRoot=function(e,t){if(!Fe(e))throw Error("Target container is not a DOM element.");bh(e);var n=!1,u="",r=
|
|
317
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}ym.createRoot=function(e,t){if(!Fe(e))throw Error("Target container is not a DOM element.");bh(e);var n=!1,u="",r=Pg,c=Ud,p=Nd,b=null;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===Tu&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
318
318
|
|
|
319
319
|
let root = createRoot(domContainer);
|
|
320
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(b=t.unstable_transitionCallbacks)),t=
|
|
320
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(b=t.unstable_transitionCallbacks)),t=hp(e,1,!1,null,null,n,u,r,c,p,b,null),e[go]=t.current,ef(e),new gh(t)},ym.hydrateRoot=function(e,t,n){if(!Fe(e))throw Error("Target container is not a DOM element.");bh(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=!1,r="",c=Pg,p=Ud,b=Nd,E=null,A=null;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(p=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(E=n.unstable_transitionCallbacks),n.formState!==void 0&&(A=n.formState)),t=hp(e,1,!0,t,n??null,u,r,c,p,b,E,A),t.context=Ft(null),n=t.current,u=ol(n),u=pt(u),r=Gl(u),r.callback=null,Zl(n,r,u),n=u,t.current.lanes=n,ge(t,n),Dl(t),e[go]=t.current,ef(e),new vh(t)},ym.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),ym}var C1;function Xx(){if(C1)return bg.exports;C1=1;var d={};function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(d.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(m){console.error(m)}}}return d.NODE_ENV==="production"?(s(),bg.exports=Gx()):bg.exports=Zx(),bg.exports}var Qx=Xx();const Kx=Qi(Qx),U1=d=>{let s;const m=new Set,y=(w,X)=>{const de=typeof w=="function"?w(s):w;if(!Object.is(de,s)){const V=s;s=X??(typeof de!="object"||de===null)?de:Object.assign({},s,de),m.forEach(j=>j(s,V))}},g=()=>s,R={setState:y,getState:g,getInitialState:()=>B,subscribe:w=>(m.add(w),()=>m.delete(w))},B=s=d(y,g,R);return R},Jx=d=>d?U1(d):U1;var sn=Gf();const jl=Qi(sn),$x=d=>d;function Wx(d,s=$x){const m=jl.useSyncExternalStore(d.subscribe,()=>s(d.getState()),()=>s(d.getInitialState()));return jl.useDebugValue(m),m}const Fx={securityNumber:"",state:"isEmpty",availableDiscountSelected:{quantity:0,discount:{unit:0,total:0},totalPrice:0,grossPrice:0},targetProduct:null,campaign:"pbm_campaign"},xg=Jx(d=>({...Fx,setSecurityNumber:s=>d({securityNumber:s}),setState:s=>d({state:s}),setTargetProduct:s=>d({targetProduct:s}),setAvailableDiscountSelected:s=>d({availableDiscountSelected:s}),setUrlAcceptTerms:s=>d({urlAcceptTerms:s}),setUrlRegisterIndustry:s=>d({urlRegisterIndustry:s})})),Ix=()=>({getState:()=>{const d=xg.getState(),{setSecurityNumber:s,setState:m,setAvailableDiscountSelected:y,setTargetProduct:g,setUrlAcceptTerms:v,setUrlRegisterIndustry:_,...R}=d,{quantity:B,productId:w,skuId:X,discountMax:de,netPrice:V,stockBalance:j,listPrice:fe,price:He,...Xe}=d.targetProduct;return{...R,targetProduct:Xe}}});function wo(d){return Wx(xg,s=>s)}function Px({originalProductPrice:d}){var g;const{targetProduct:s}=wo(),m=(s==null?void 0:s.listPrice)||d,y=m*(((s==null?void 0:s.discountMax)||0)/100);return pe.jsxs("header",{className:"flex items-center justify-between w-full p-0.5 rounded-xl bg-[#44c2c0]/30 mt-5",id:"header_pbm",children:[pe.jsxs("span",{className:"py-1 px-6 rounded-xl bg-[#44c2c0] shrink-0 text-white text-xl font-bold flex items-center justify-start gap-2 relative","data-testid":"test_id_header_price",id:"header_price",children:[pe.jsxs("span",{className:"absolute -top-6 left-10 bg-emerald-500 px-4 py-1 rounded-t-lg text-xs font-medium text-white",children:[s==null?void 0:s.discountMax,"% OFF"]}),pe.jsxs("svg",{width:"32px",height:"32px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[pe.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),pe.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),pe.jsxs("g",{id:"SVGRepo_iconCarrier",children:[pe.jsx("path",{d:"M10 8.99998C10.5523 8.99998 11 9.44769 11 9.99998C11 10.5523 10.5523 11 10 11C9.44775 11 9.00004 10.5523 9.00004 9.99998C9.00004 9.44769 9.44775 8.99998 10 8.99998Z",fill:"#fff"}),pe.jsx("path",{d:"M13 14C13 14.5523 13.4478 15 14 15C14.5523 15 15 14.5523 15 14C15 13.4477 14.5523 13 14 13C13.4478 13 13 13.4477 13 14Z",fill:"#fff"}),pe.jsx("path",{d:"M10.7071 14.7071L14.7071 10.7071C15.0977 10.3166 15.0977 9.6834 14.7071 9.29287C14.3166 8.90235 13.6835 8.90235 13.2929 9.29287L9.29293 13.2929C8.90241 13.6834 8.90241 14.3166 9.29293 14.7071C9.68346 15.0976 10.3166 15.0976 10.7071 14.7071Z",fill:"#fff"}),pe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3117 4.07145L15.1708 4.34503L14.5575 3.34485C13.3869 1.43575 10.6131 1.43575 9.44254 3.34485L8.82926 4.34503L7.68836 4.07145C5.51069 3.54925 3.54931 5.51063 4.07151 7.6883L4.34509 8.8292L3.34491 9.44248C1.43581 10.6131 1.43581 13.3869 3.34491 14.5575L4.34509 15.1708L4.07151 16.3117C3.54931 18.4893 5.51069 20.4507 7.68836 19.9285L8.82926 19.6549L9.44254 20.6551C10.6131 22.5642 13.3869 22.5642 14.5575 20.6551L15.1708 19.6549L16.3117 19.9285C18.4894 20.4507 20.4508 18.4893 19.9286 16.3117L19.655 15.1708L20.6552 14.5575C22.5643 13.3869 22.5643 10.6131 20.6552 9.44248L19.655 8.8292L19.9286 7.6883C20.4508 5.51063 18.4894 3.54925 16.3117 4.07145ZM11.1475 4.3903C11.5377 3.75393 12.4623 3.75393 12.8525 4.3903L13.8454 6.00951C14.0717 6.37867 14.51 6.56019 14.9311 6.45922L16.7781 6.01631C17.504 5.84225 18.1578 6.49604 17.9837 7.22193L17.5408 9.06894C17.4398 9.49003 17.6213 9.92827 17.9905 10.1546L19.6097 11.1475C20.2461 11.5377 20.2461 12.4623 19.6097 12.8525L17.9905 13.8453C17.6213 14.0717 17.4398 14.5099 17.5408 14.931L17.9837 16.778C18.1578 17.5039 17.504 18.1577 16.7781 17.9836L14.9311 17.5407C14.51 17.4398 14.0717 17.6213 13.8454 17.9904L12.8525 19.6097C12.4623 20.246 11.5377 20.246 11.1475 19.6097L10.1547 17.9904C9.92833 17.6213 9.49009 17.4398 9.069 17.5407L7.22199 17.9836C6.4961 18.1577 5.84231 17.5039 6.01637 16.778L6.45928 14.931C6.56026 14.5099 6.37873 14.0717 6.00957 13.8453L4.39036 12.8525C3.75399 12.4623 3.75399 11.5377 4.39036 11.1475L6.00957 10.1546C6.37873 9.92827 6.56026 9.49003 6.45928 9.06894L6.01637 7.22193C5.84231 6.49604 6.4961 5.84225 7.22199 6.01631L9.069 6.45922C9.49009 6.56019 9.92833 6.37867 10.1547 6.00951L11.1475 4.3903Z",fill:"#fff"})]})]}),(g=Number(m-y))==null?void 0:g.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})]}),pe.jsx("h1",{id:"header_title",className:"text-center w-full text-[#339c9b] font-bold text-xs px-4 md:text-sm",children:"Desconto de Laboratório"})]})}var Ov={exports:{}};/*!
|
|
321
321
|
Copyright (c) 2018 Jed Watson.
|
|
322
322
|
Licensed under the MIT License (MIT), see
|
|
323
323
|
http://jedwatson.github.io/classnames
|
|
324
|
-
*/var N1;function eE(){return N1||(N1=1,function(d){(function(){var s={}.hasOwnProperty;function m(){for(var v="",_=0;_<arguments.length;_++){var R=arguments[_];R&&(v=g(v,y(R)))}return v}function y(v){if(typeof v=="string"||typeof v=="number")return v;if(typeof v!="object")return"";if(Array.isArray(v))return m.apply(null,v);if(v.toString!==Object.prototype.toString&&!v.toString.toString().includes("[native code]"))return v.toString();var _="";for(var R in v)s.call(v,R)&&v[R]&&(_=g(_,R));return _}function g(v,_){return _?v?v+" "+_:v+_:v}d.exports?(m.default=m,d.exports=m):window.classNames=m})()}(zv)),zv.exports}var tE=eE();const hi=Qi(tE);function H1({children:d,variant:s}){return pe.jsx("main",{className:hi({"border-3 border-[#44c2c0] flex flex-col items-center justify-center min-w-[var(--min-container)] max-w-[var(--max-container)] w-full h-auto rounded-xl p-4 bg-white gap-4 relative":s==="main","w-full h-auto relative":s==="simple"}),"data-testid":"test_id_container","data-variant":s,id:"container_pbm",children:d})}function aE(){const{targetProduct:d,setTargetProduct:s,state:m}=wo();return pe.jsxs("footer",{className:"w-full h-auto relative",id:"footer_pbm",children:[m!=="isActivated"&&(d==null?void 0:d.informativeMessage)&&pe.jsx("p",{className:"text-start mb-3 font-semibold text-sm text-amber-500",children:d==null?void 0:d.informativeMessage}),pe.jsxs("section",{className:hi("flex items-center w-full h-auto gap-4",{"justify-center":d==null?void 0:d.industryLogo,"justify-start":!(d!=null&&d.industryLogo)}),children:[pe.jsxs("section",{className:"w-4/5 h-auto",children:[pe.jsx("h3",{className:"text-start font-semibold text-sm",children:"Economize com o benefício do laboratório."}),pe.jsx("p",{className:"text-start font-normal text-sm",children:"Este produto tem preço exclusivo para clientes cadastrados no programa."})]}),(d==null?void 0:d.industryLogo)&&pe.jsx("img",{src:d.industryLogo,alt:"parceiro",className:"w-1/5 min-w-20 h-auto aspect-auto rounded-xl",loading:"eager",id:"footer_industry_logo_pbm","data-testid":"footer_industry_logo_pbm"})]})]})}var Yt;(function(d){d.assertEqual=g=>{};function s(g){}d.assertIs=s;function m(g){throw new Error}d.assertNever=m,d.arrayToEnum=g=>{const v={};for(const _ of g)v[_]=_;return v},d.getValidEnumValues=g=>{const v=d.objectKeys(g).filter(R=>typeof g[g[R]]!="number"),_={};for(const R of v)_[R]=g[R];return d.objectValues(_)},d.objectValues=g=>d.objectKeys(g).map(function(v){return g[v]}),d.objectKeys=typeof Object.keys=="function"?g=>Object.keys(g):g=>{const v=[];for(const _ in g)Object.prototype.hasOwnProperty.call(g,_)&&v.push(_);return v},d.find=(g,v)=>{for(const _ of g)if(v(_))return _},d.isInteger=typeof Number.isInteger=="function"?g=>Number.isInteger(g):g=>typeof g=="number"&&Number.isFinite(g)&&Math.floor(g)===g;function y(g,v=" | "){return g.map(_=>typeof _=="string"?`'${_}'`:_).join(v)}d.joinValues=y,d.jsonStringifyReplacer=(g,v)=>typeof v=="bigint"?v.toString():v})(Yt||(Yt={}));var k1;(function(d){d.mergeShapes=(s,m)=>({...s,...m})})(k1||(k1={}));const Be=Yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),zr=d=>{switch(typeof d){case"undefined":return Be.undefined;case"string":return Be.string;case"number":return Number.isNaN(d)?Be.nan:Be.number;case"boolean":return Be.boolean;case"function":return Be.function;case"bigint":return Be.bigint;case"symbol":return Be.symbol;case"object":return Array.isArray(d)?Be.array:d===null?Be.null:d.then&&typeof d.then=="function"&&d.catch&&typeof d.catch=="function"?Be.promise:typeof Map<"u"&&d instanceof Map?Be.map:typeof Set<"u"&&d instanceof Set?Be.set:typeof Date<"u"&&d instanceof Date?Be.date:Be.object;default:return Be.unknown}},ye=Yt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Ao extends Error{get errors(){return this.issues}constructor(s){super(),this.issues=[],this.addIssue=y=>{this.issues=[...this.issues,y]},this.addIssues=(y=[])=>{this.issues=[...this.issues,...y]};const m=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,m):this.__proto__=m,this.name="ZodError",this.issues=s}format(s){const m=s||function(v){return v.message},y={_errors:[]},g=v=>{for(const _ of v.issues)if(_.code==="invalid_union")_.unionErrors.map(g);else if(_.code==="invalid_return_type")g(_.returnTypeError);else if(_.code==="invalid_arguments")g(_.argumentsError);else if(_.path.length===0)y._errors.push(m(_));else{let R=y,B=0;for(;B<_.path.length;){const w=_.path[B];B===_.path.length-1?(R[w]=R[w]||{_errors:[]},R[w]._errors.push(m(_))):R[w]=R[w]||{_errors:[]},R=R[w],B++}}};return g(this),y}static assert(s){if(!(s instanceof Ao))throw new Error(`Not a ZodError: ${s}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(s=m=>m.message){const m={},y=[];for(const g of this.issues)g.path.length>0?(m[g.path[0]]=m[g.path[0]]||[],m[g.path[0]].push(s(g))):y.push(s(g));return{formErrors:y,fieldErrors:m}}get formErrors(){return this.flatten()}}Ao.create=d=>new Ao(d);const Dv=(d,s)=>{let m;switch(d.code){case ye.invalid_type:d.received===Be.undefined?m="Required":m=`Expected ${d.expected}, received ${d.received}`;break;case ye.invalid_literal:m=`Invalid literal value, expected ${JSON.stringify(d.expected,Yt.jsonStringifyReplacer)}`;break;case ye.unrecognized_keys:m=`Unrecognized key(s) in object: ${Yt.joinValues(d.keys,", ")}`;break;case ye.invalid_union:m="Invalid input";break;case ye.invalid_union_discriminator:m=`Invalid discriminator value. Expected ${Yt.joinValues(d.options)}`;break;case ye.invalid_enum_value:m=`Invalid enum value. Expected ${Yt.joinValues(d.options)}, received '${d.received}'`;break;case ye.invalid_arguments:m="Invalid function arguments";break;case ye.invalid_return_type:m="Invalid function return type";break;case ye.invalid_date:m="Invalid date";break;case ye.invalid_string:typeof d.validation=="object"?"includes"in d.validation?(m=`Invalid input: must include "${d.validation.includes}"`,typeof d.validation.position=="number"&&(m=`${m} at one or more positions greater than or equal to ${d.validation.position}`)):"startsWith"in d.validation?m=`Invalid input: must start with "${d.validation.startsWith}"`:"endsWith"in d.validation?m=`Invalid input: must end with "${d.validation.endsWith}"`:Yt.assertNever(d.validation):d.validation!=="regex"?m=`Invalid ${d.validation}`:m="Invalid";break;case ye.too_small:d.type==="array"?m=`Array must contain ${d.exact?"exactly":d.inclusive?"at least":"more than"} ${d.minimum} element(s)`:d.type==="string"?m=`String must contain ${d.exact?"exactly":d.inclusive?"at least":"over"} ${d.minimum} character(s)`:d.type==="number"?m=`Number must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${d.minimum}`:d.type==="date"?m=`Date must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(d.minimum))}`:m="Invalid input";break;case ye.too_big:d.type==="array"?m=`Array must contain ${d.exact?"exactly":d.inclusive?"at most":"less than"} ${d.maximum} element(s)`:d.type==="string"?m=`String must contain ${d.exact?"exactly":d.inclusive?"at most":"under"} ${d.maximum} character(s)`:d.type==="number"?m=`Number must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="bigint"?m=`BigInt must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="date"?m=`Date must be ${d.exact?"exactly":d.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(d.maximum))}`:m="Invalid input";break;case ye.custom:m="Invalid input";break;case ye.invalid_intersection_types:m="Intersection results could not be merged";break;case ye.not_multiple_of:m=`Number must be a multiple of ${d.multipleOf}`;break;case ye.not_finite:m="Number must be finite";break;default:m=s.defaultError,Yt.assertNever(d)}return{message:m}};let nE=Dv;function lE(){return nE}const iE=d=>{const{data:s,path:m,errorMaps:y,issueData:g}=d,v=[...m,...g.path||[]],_={...g,path:v};if(g.message!==void 0)return{...g,path:v,message:g.message};let R="";const B=y.filter(w=>!!w).slice().reverse();for(const w of B)R=w(_,{data:s,defaultError:R}).message;return{...g,path:v,message:R}};function we(d,s){const m=lE(),y=iE({issueData:s,data:d.data,path:d.path,errorMaps:[d.common.contextualErrorMap,d.schemaErrorMap,m,m===Dv?void 0:Dv].filter(g=>!!g)});d.common.issues.push(y)}class Bl{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(s,m){const y=[];for(const g of m){if(g.status==="aborted")return nt;g.status==="dirty"&&s.dirty(),y.push(g.value)}return{status:s.value,value:y}}static async mergeObjectAsync(s,m){const y=[];for(const g of m){const v=await g.key,_=await g.value;y.push({key:v,value:_})}return Bl.mergeObjectSync(s,y)}static mergeObjectSync(s,m){const y={};for(const g of m){const{key:v,value:_}=g;if(v.status==="aborted"||_.status==="aborted")return nt;v.status==="dirty"&&s.dirty(),_.status==="dirty"&&s.dirty(),v.value!=="__proto__"&&(typeof _.value<"u"||g.alwaysSet)&&(y[v.value]=_.value)}return{status:s.value,value:y}}}const nt=Object.freeze({status:"aborted"}),pm=d=>({status:"dirty",value:d}),mi=d=>({status:"valid",value:d}),j1=d=>d.status==="aborted",B1=d=>d.status==="dirty",Zf=d=>d.status==="valid",_g=d=>typeof Promise<"u"&&d instanceof Promise;var Ve;(function(d){d.errToObj=s=>typeof s=="string"?{message:s}:s||{},d.toString=s=>typeof s=="string"?s:s==null?void 0:s.message})(Ve||(Ve={}));class Dr{constructor(s,m,y,g){this._cachedPath=[],this.parent=s,this.data=m,this._path=y,this._key=g}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const V1=(d,s)=>{if(Zf(s))return{success:!0,data:s.value};if(!d.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const m=new Ao(d.common.issues);return this._error=m,this._error}}};function Et(d){if(!d)return{};const{errorMap:s,invalid_type_error:m,required_error:y,description:g}=d;if(s&&(m||y))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return s?{errorMap:s,description:g}:{errorMap:(_,R)=>{const{message:B}=d;return _.code==="invalid_enum_value"?{message:B??R.defaultError}:typeof R.data>"u"?{message:B??y??R.defaultError}:_.code!=="invalid_type"?{message:R.defaultError}:{message:B??m??R.defaultError}},description:g}}class jt{get description(){return this._def.description}_getType(s){return zr(s.data)}_getOrReturnCtx(s,m){return m||{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}_processInputParams(s){return{status:new Bl,ctx:{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}}_parseSync(s){const m=this._parse(s);if(_g(m))throw new Error("Synchronous parse encountered promise.");return m}_parseAsync(s){const m=this._parse(s);return Promise.resolve(m)}parse(s,m){const y=this.safeParse(s,m);if(y.success)return y.data;throw y.error}safeParse(s,m){const y={common:{issues:[],async:(m==null?void 0:m.async)??!1,contextualErrorMap:m==null?void 0:m.errorMap},path:(m==null?void 0:m.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parseSync({data:s,path:y.path,parent:y});return V1(y,g)}"~validate"(s){var y,g;const m={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)};if(!this["~standard"].async)try{const v=this._parseSync({data:s,path:[],parent:m});return Zf(v)?{value:v.value}:{issues:m.common.issues}}catch(v){(g=(y=v==null?void 0:v.message)==null?void 0:y.toLowerCase())!=null&&g.includes("encountered")&&(this["~standard"].async=!0),m.common={issues:[],async:!0}}return this._parseAsync({data:s,path:[],parent:m}).then(v=>Zf(v)?{value:v.value}:{issues:m.common.issues})}async parseAsync(s,m){const y=await this.safeParseAsync(s,m);if(y.success)return y.data;throw y.error}async safeParseAsync(s,m){const y={common:{issues:[],contextualErrorMap:m==null?void 0:m.errorMap,async:!0},path:(m==null?void 0:m.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parse({data:s,path:y.path,parent:y}),v=await(_g(g)?g:Promise.resolve(g));return V1(y,v)}refine(s,m){const y=g=>typeof m=="string"||typeof m>"u"?{message:m}:typeof m=="function"?m(g):m;return this._refinement((g,v)=>{const _=s(g),R=()=>v.addIssue({code:ye.custom,...y(g)});return typeof Promise<"u"&&_ instanceof Promise?_.then(B=>B?!0:(R(),!1)):_?!0:(R(),!1)})}refinement(s,m){return this._refinement((y,g)=>s(y)?!0:(g.addIssue(typeof m=="function"?m(y,g):m),!1))}_refinement(s){return new Kf({schema:this,typeName:lt.ZodEffects,effect:{type:"refinement",refinement:s}})}superRefine(s){return this._refinement(s)}constructor(s){this.spa=this.safeParseAsync,this._def=s,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:m=>this["~validate"](m)}}optional(){return Ur.create(this,this._def)}nullable(){return Jf.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Uu.create(this)}promise(){return Og.create(this,this._def)}or(s){return Ag.create([this,s],this._def)}and(s){return Rg.create(this,s,this._def)}transform(s){return new Kf({...Et(this._def),schema:this,typeName:lt.ZodEffects,effect:{type:"transform",transform:s}})}default(s){const m=typeof s=="function"?s:()=>s;return new Uv({...Et(this._def),innerType:this,defaultValue:m,typeName:lt.ZodDefault})}brand(){return new OE({typeName:lt.ZodBranded,type:this,...Et(this._def)})}catch(s){const m=typeof s=="function"?s:()=>s;return new Nv({...Et(this._def),innerType:this,catchValue:m,typeName:lt.ZodCatch})}describe(s){const m=this.constructor;return new m({...this._def,description:s})}pipe(s){return Hv.create(this,s)}readonly(){return kv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const uE=/^c[^\s-]{8,}$/i,oE=/^[0-9a-z]+$/,rE=/^[0-9A-HJKMNP-TV-Z]{26}$/i,cE=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,sE=/^[a-z0-9_-]{21}$/i,fE=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,dE=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,hE=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,mE="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Mv;const yE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,pE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,gE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,vE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,bE=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,SE=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,L1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",TE=new RegExp(`^${L1}$`);function q1(d){let s="[0-5]\\d";d.precision?s=`${s}\\.\\d{${d.precision}}`:d.precision==null&&(s=`${s}(\\.\\d+)?`);const m=d.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${s})${m}`}function xE(d){return new RegExp(`^${q1(d)}$`)}function EE(d){let s=`${L1}T${q1(d)}`;const m=[];return m.push(d.local?"Z?":"Z"),d.offset&&m.push("([+-]\\d{2}:?\\d{2})"),s=`${s}(${m.join("|")})`,new RegExp(`^${s}$`)}function _E(d,s){return!!((s==="v4"||!s)&&yE.test(d)||(s==="v6"||!s)&&gE.test(d))}function wE(d,s){if(!fE.test(d))return!1;try{const[m]=d.split("."),y=m.replace(/-/g,"+").replace(/_/g,"/").padEnd(m.length+(4-m.length%4)%4,"="),g=JSON.parse(atob(y));return!(typeof g!="object"||g===null||"typ"in g&&(g==null?void 0:g.typ)!=="JWT"||!g.alg||s&&g.alg!==s)}catch{return!1}}function AE(d,s){return!!((s==="v4"||!s)&&pE.test(d)||(s==="v6"||!s)&&vE.test(d))}class Mr extends jt{_parse(s){if(this._def.coerce&&(s.data=String(s.data)),this._getType(s)!==Be.string){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:Be.string,received:v.parsedType}),nt}const y=new Bl;let g;for(const v of this._def.checks)if(v.kind==="min")s.data.length<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="max")s.data.length>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="length"){const _=s.data.length>v.value,R=s.data.length<v.value;(_||R)&&(g=this._getOrReturnCtx(s,g),_?we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}):R&&we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}),y.dirty())}else if(v.kind==="email")hE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"email",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="emoji")Mv||(Mv=new RegExp(mE,"u")),Mv.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"emoji",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="uuid")cE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"uuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="nanoid")sE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"nanoid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid")uE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid2")oE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid2",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="ulid")rE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ulid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="url")try{new URL(s.data)}catch{g=this._getOrReturnCtx(s,g),we(g,{validation:"url",code:ye.invalid_string,message:v.message}),y.dirty()}else v.kind==="regex"?(v.regex.lastIndex=0,v.regex.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"regex",code:ye.invalid_string,message:v.message}),y.dirty())):v.kind==="trim"?s.data=s.data.trim():v.kind==="includes"?s.data.includes(v.value,v.position)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{includes:v.value,position:v.position},message:v.message}),y.dirty()):v.kind==="toLowerCase"?s.data=s.data.toLowerCase():v.kind==="toUpperCase"?s.data=s.data.toUpperCase():v.kind==="startsWith"?s.data.startsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{startsWith:v.value},message:v.message}),y.dirty()):v.kind==="endsWith"?s.data.endsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{endsWith:v.value},message:v.message}),y.dirty()):v.kind==="datetime"?EE(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"datetime",message:v.message}),y.dirty()):v.kind==="date"?TE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"date",message:v.message}),y.dirty()):v.kind==="time"?xE(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"time",message:v.message}),y.dirty()):v.kind==="duration"?dE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"duration",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="ip"?_E(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ip",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="jwt"?wE(s.data,v.alg)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"jwt",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="cidr"?AE(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cidr",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64"?bE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64url"?SE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64url",code:ye.invalid_string,message:v.message}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:s.data}}_regex(s,m,y){return this.refinement(g=>s.test(g),{validation:m,code:ye.invalid_string,...Ve.errToObj(y)})}_addCheck(s){return new Mr({...this._def,checks:[...this._def.checks,s]})}email(s){return this._addCheck({kind:"email",...Ve.errToObj(s)})}url(s){return this._addCheck({kind:"url",...Ve.errToObj(s)})}emoji(s){return this._addCheck({kind:"emoji",...Ve.errToObj(s)})}uuid(s){return this._addCheck({kind:"uuid",...Ve.errToObj(s)})}nanoid(s){return this._addCheck({kind:"nanoid",...Ve.errToObj(s)})}cuid(s){return this._addCheck({kind:"cuid",...Ve.errToObj(s)})}cuid2(s){return this._addCheck({kind:"cuid2",...Ve.errToObj(s)})}ulid(s){return this._addCheck({kind:"ulid",...Ve.errToObj(s)})}base64(s){return this._addCheck({kind:"base64",...Ve.errToObj(s)})}base64url(s){return this._addCheck({kind:"base64url",...Ve.errToObj(s)})}jwt(s){return this._addCheck({kind:"jwt",...Ve.errToObj(s)})}ip(s){return this._addCheck({kind:"ip",...Ve.errToObj(s)})}cidr(s){return this._addCheck({kind:"cidr",...Ve.errToObj(s)})}datetime(s){return typeof s=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:s}):this._addCheck({kind:"datetime",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,offset:(s==null?void 0:s.offset)??!1,local:(s==null?void 0:s.local)??!1,...Ve.errToObj(s==null?void 0:s.message)})}date(s){return this._addCheck({kind:"date",message:s})}time(s){return typeof s=="string"?this._addCheck({kind:"time",precision:null,message:s}):this._addCheck({kind:"time",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,...Ve.errToObj(s==null?void 0:s.message)})}duration(s){return this._addCheck({kind:"duration",...Ve.errToObj(s)})}regex(s,m){return this._addCheck({kind:"regex",regex:s,...Ve.errToObj(m)})}includes(s,m){return this._addCheck({kind:"includes",value:s,position:m==null?void 0:m.position,...Ve.errToObj(m==null?void 0:m.message)})}startsWith(s,m){return this._addCheck({kind:"startsWith",value:s,...Ve.errToObj(m)})}endsWith(s,m){return this._addCheck({kind:"endsWith",value:s,...Ve.errToObj(m)})}min(s,m){return this._addCheck({kind:"min",value:s,...Ve.errToObj(m)})}max(s,m){return this._addCheck({kind:"max",value:s,...Ve.errToObj(m)})}length(s,m){return this._addCheck({kind:"length",value:s,...Ve.errToObj(m)})}nonempty(s){return this.min(1,Ve.errToObj(s))}trim(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(s=>s.kind==="datetime")}get isDate(){return!!this._def.checks.find(s=>s.kind==="date")}get isTime(){return!!this._def.checks.find(s=>s.kind==="time")}get isDuration(){return!!this._def.checks.find(s=>s.kind==="duration")}get isEmail(){return!!this._def.checks.find(s=>s.kind==="email")}get isURL(){return!!this._def.checks.find(s=>s.kind==="url")}get isEmoji(){return!!this._def.checks.find(s=>s.kind==="emoji")}get isUUID(){return!!this._def.checks.find(s=>s.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(s=>s.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(s=>s.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(s=>s.kind==="cuid2")}get isULID(){return!!this._def.checks.find(s=>s.kind==="ulid")}get isIP(){return!!this._def.checks.find(s=>s.kind==="ip")}get isCIDR(){return!!this._def.checks.find(s=>s.kind==="cidr")}get isBase64(){return!!this._def.checks.find(s=>s.kind==="base64")}get isBase64url(){return!!this._def.checks.find(s=>s.kind==="base64url")}get minLength(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s}get maxLength(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s}}Mr.create=d=>new Mr({checks:[],typeName:lt.ZodString,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});function RE(d,s){const m=(d.toString().split(".")[1]||"").length,y=(s.toString().split(".")[1]||"").length,g=m>y?m:y,v=Number.parseInt(d.toFixed(g).replace(".","")),_=Number.parseInt(s.toFixed(g).replace(".",""));return v%_/10**g}class gm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(s){if(this._def.coerce&&(s.data=Number(s.data)),this._getType(s)!==Be.number){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:Be.number,received:v.parsedType}),nt}let y;const g=new Bl;for(const v of this._def.checks)v.kind==="int"?Yt.isInteger(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.invalid_type,expected:"integer",received:"float",message:v.message}),g.dirty()):v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,minimum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,maximum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="multipleOf"?RE(s.data,v.value)!==0&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):v.kind==="finite"?Number.isFinite(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_finite,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}gte(s,m){return this.setLimit("min",s,!0,Ve.toString(m))}gt(s,m){return this.setLimit("min",s,!1,Ve.toString(m))}lte(s,m){return this.setLimit("max",s,!0,Ve.toString(m))}lt(s,m){return this.setLimit("max",s,!1,Ve.toString(m))}setLimit(s,m,y,g){return new gm({...this._def,checks:[...this._def.checks,{kind:s,value:m,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new gm({...this._def,checks:[...this._def.checks,s]})}int(s){return this._addCheck({kind:"int",message:Ve.toString(s)})}positive(s){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ve.toString(s)})}multipleOf(s,m){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(m)})}finite(s){return this._addCheck({kind:"finite",message:Ve.toString(s)})}safe(s){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ve.toString(s)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ve.toString(s)})}get minValue(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s}get maxValue(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s}get isInt(){return!!this._def.checks.find(s=>s.kind==="int"||s.kind==="multipleOf"&&Yt.isInteger(s.value))}get isFinite(){let s=null,m=null;for(const y of this._def.checks){if(y.kind==="finite"||y.kind==="int"||y.kind==="multipleOf")return!0;y.kind==="min"?(m===null||y.value>m)&&(m=y.value):y.kind==="max"&&(s===null||y.value<s)&&(s=y.value)}return Number.isFinite(m)&&Number.isFinite(s)}}gm.create=d=>new gm({checks:[],typeName:lt.ZodNumber,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class vm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(s){if(this._def.coerce)try{s.data=BigInt(s.data)}catch{return this._getInvalidInput(s)}if(this._getType(s)!==Be.bigint)return this._getInvalidInput(s);let y;const g=new Bl;for(const v of this._def.checks)v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,type:"bigint",minimum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,type:"bigint",maximum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="multipleOf"?s.data%v.value!==BigInt(0)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}_getInvalidInput(s){const m=this._getOrReturnCtx(s);return we(m,{code:ye.invalid_type,expected:Be.bigint,received:m.parsedType}),nt}gte(s,m){return this.setLimit("min",s,!0,Ve.toString(m))}gt(s,m){return this.setLimit("min",s,!1,Ve.toString(m))}lte(s,m){return this.setLimit("max",s,!0,Ve.toString(m))}lt(s,m){return this.setLimit("max",s,!1,Ve.toString(m))}setLimit(s,m,y,g){return new vm({...this._def,checks:[...this._def.checks,{kind:s,value:m,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new vm({...this._def,checks:[...this._def.checks,s]})}positive(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}multipleOf(s,m){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(m)})}get minValue(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s}get maxValue(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s}}vm.create=d=>new vm({checks:[],typeName:lt.ZodBigInt,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});class Y1 extends jt{_parse(s){if(this._def.coerce&&(s.data=!!s.data),this._getType(s)!==Be.boolean){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.boolean,received:y.parsedType}),nt}return mi(s.data)}}Y1.create=d=>new Y1({typeName:lt.ZodBoolean,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class wg extends jt{_parse(s){if(this._def.coerce&&(s.data=new Date(s.data)),this._getType(s)!==Be.date){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:Be.date,received:v.parsedType}),nt}if(Number.isNaN(s.data.getTime())){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_date}),nt}const y=new Bl;let g;for(const v of this._def.checks)v.kind==="min"?s.data.getTime()<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,message:v.message,inclusive:!0,exact:!1,minimum:v.value,type:"date"}),y.dirty()):v.kind==="max"?s.data.getTime()>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,message:v.message,inclusive:!0,exact:!1,maximum:v.value,type:"date"}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:new Date(s.data.getTime())}}_addCheck(s){return new wg({...this._def,checks:[...this._def.checks,s]})}min(s,m){return this._addCheck({kind:"min",value:s.getTime(),message:Ve.toString(m)})}max(s,m){return this._addCheck({kind:"max",value:s.getTime(),message:Ve.toString(m)})}get minDate(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s!=null?new Date(s):null}get maxDate(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s!=null?new Date(s):null}}wg.create=d=>new wg({checks:[],coerce:(d==null?void 0:d.coerce)||!1,typeName:lt.ZodDate,...Et(d)});class G1 extends jt{_parse(s){if(this._getType(s)!==Be.symbol){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.symbol,received:y.parsedType}),nt}return mi(s.data)}}G1.create=d=>new G1({typeName:lt.ZodSymbol,...Et(d)});class Z1 extends jt{_parse(s){if(this._getType(s)!==Be.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.undefined,received:y.parsedType}),nt}return mi(s.data)}}Z1.create=d=>new Z1({typeName:lt.ZodUndefined,...Et(d)});class X1 extends jt{_parse(s){if(this._getType(s)!==Be.null){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.null,received:y.parsedType}),nt}return mi(s.data)}}X1.create=d=>new X1({typeName:lt.ZodNull,...Et(d)});class Q1 extends jt{constructor(){super(...arguments),this._any=!0}_parse(s){return mi(s.data)}}Q1.create=d=>new Q1({typeName:lt.ZodAny,...Et(d)});class K1 extends jt{constructor(){super(...arguments),this._unknown=!0}_parse(s){return mi(s.data)}}K1.create=d=>new K1({typeName:lt.ZodUnknown,...Et(d)});class Cr extends jt{_parse(s){const m=this._getOrReturnCtx(s);return we(m,{code:ye.invalid_type,expected:Be.never,received:m.parsedType}),nt}}Cr.create=d=>new Cr({typeName:lt.ZodNever,...Et(d)});class J1 extends jt{_parse(s){if(this._getType(s)!==Be.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.void,received:y.parsedType}),nt}return mi(s.data)}}J1.create=d=>new J1({typeName:lt.ZodVoid,...Et(d)});class Uu extends jt{_parse(s){const{ctx:m,status:y}=this._processInputParams(s),g=this._def;if(m.parsedType!==Be.array)return we(m,{code:ye.invalid_type,expected:Be.array,received:m.parsedType}),nt;if(g.exactLength!==null){const _=m.data.length>g.exactLength.value,R=m.data.length<g.exactLength.value;(_||R)&&(we(m,{code:_?ye.too_big:ye.too_small,minimum:R?g.exactLength.value:void 0,maximum:_?g.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:g.exactLength.message}),y.dirty())}if(g.minLength!==null&&m.data.length<g.minLength.value&&(we(m,{code:ye.too_small,minimum:g.minLength.value,type:"array",inclusive:!0,exact:!1,message:g.minLength.message}),y.dirty()),g.maxLength!==null&&m.data.length>g.maxLength.value&&(we(m,{code:ye.too_big,maximum:g.maxLength.value,type:"array",inclusive:!0,exact:!1,message:g.maxLength.message}),y.dirty()),m.common.async)return Promise.all([...m.data].map((_,R)=>g.type._parseAsync(new Dr(m,_,m.path,R)))).then(_=>Bl.mergeArray(y,_));const v=[...m.data].map((_,R)=>g.type._parseSync(new Dr(m,_,m.path,R)));return Bl.mergeArray(y,v)}get element(){return this._def.type}min(s,m){return new Uu({...this._def,minLength:{value:s,message:Ve.toString(m)}})}max(s,m){return new Uu({...this._def,maxLength:{value:s,message:Ve.toString(m)}})}length(s,m){return new Uu({...this._def,exactLength:{value:s,message:Ve.toString(m)}})}nonempty(s){return this.min(1,s)}}Uu.create=(d,s)=>new Uu({type:d,minLength:null,maxLength:null,exactLength:null,typeName:lt.ZodArray,...Et(s)});function Xf(d){if(d instanceof La){const s={};for(const m in d.shape){const y=d.shape[m];s[m]=Ur.create(Xf(y))}return new La({...d._def,shape:()=>s})}else return d instanceof Uu?new Uu({...d._def,type:Xf(d.element)}):d instanceof Ur?Ur.create(Xf(d.unwrap())):d instanceof Jf?Jf.create(Xf(d.unwrap())):d instanceof ls?ls.create(d.items.map(s=>Xf(s))):d}class La extends jt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const s=this._def.shape(),m=Yt.objectKeys(s);return this._cached={shape:s,keys:m},this._cached}_parse(s){if(this._getType(s)!==Be.object){const w=this._getOrReturnCtx(s);return we(w,{code:ye.invalid_type,expected:Be.object,received:w.parsedType}),nt}const{status:y,ctx:g}=this._processInputParams(s),{shape:v,keys:_}=this._getCached(),R=[];if(!(this._def.catchall instanceof Cr&&this._def.unknownKeys==="strip"))for(const w in g.data)_.includes(w)||R.push(w);const B=[];for(const w of _){const X=v[w],de=g.data[w];B.push({key:{status:"valid",value:w},value:X._parse(new Dr(g,de,g.path,w)),alwaysSet:w in g.data})}if(this._def.catchall instanceof Cr){const w=this._def.unknownKeys;if(w==="passthrough")for(const X of R)B.push({key:{status:"valid",value:X},value:{status:"valid",value:g.data[X]}});else if(w==="strict")R.length>0&&(we(g,{code:ye.unrecognized_keys,keys:R}),y.dirty());else if(w!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const w=this._def.catchall;for(const X of R){const de=g.data[X];B.push({key:{status:"valid",value:X},value:w._parse(new Dr(g,de,g.path,X)),alwaysSet:X in g.data})}}return g.common.async?Promise.resolve().then(async()=>{const w=[];for(const X of B){const de=await X.key,V=await X.value;w.push({key:de,value:V,alwaysSet:X.alwaysSet})}return w}).then(w=>Bl.mergeObjectSync(y,w)):Bl.mergeObjectSync(y,B)}get shape(){return this._def.shape()}strict(s){return Ve.errToObj,new La({...this._def,unknownKeys:"strict",...s!==void 0?{errorMap:(m,y)=>{var v,_;const g=((_=(v=this._def).errorMap)==null?void 0:_.call(v,m,y).message)??y.defaultError;return m.code==="unrecognized_keys"?{message:Ve.errToObj(s).message??g}:{message:g}}}:{}})}strip(){return new La({...this._def,unknownKeys:"strip"})}passthrough(){return new La({...this._def,unknownKeys:"passthrough"})}extend(s){return new La({...this._def,shape:()=>({...this._def.shape(),...s})})}merge(s){return new La({unknownKeys:s._def.unknownKeys,catchall:s._def.catchall,shape:()=>({...this._def.shape(),...s._def.shape()}),typeName:lt.ZodObject})}setKey(s,m){return this.augment({[s]:m})}catchall(s){return new La({...this._def,catchall:s})}pick(s){const m={};for(const y of Yt.objectKeys(s))s[y]&&this.shape[y]&&(m[y]=this.shape[y]);return new La({...this._def,shape:()=>m})}omit(s){const m={};for(const y of Yt.objectKeys(this.shape))s[y]||(m[y]=this.shape[y]);return new La({...this._def,shape:()=>m})}deepPartial(){return Xf(this)}partial(s){const m={};for(const y of Yt.objectKeys(this.shape)){const g=this.shape[y];s&&!s[y]?m[y]=g:m[y]=g.optional()}return new La({...this._def,shape:()=>m})}required(s){const m={};for(const y of Yt.objectKeys(this.shape))if(s&&!s[y])m[y]=this.shape[y];else{let v=this.shape[y];for(;v instanceof Ur;)v=v._def.innerType;m[y]=v}return new La({...this._def,shape:()=>m})}keyof(){return I1(Yt.objectKeys(this.shape))}}La.create=(d,s)=>new La({shape:()=>d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),La.strictCreate=(d,s)=>new La({shape:()=>d,unknownKeys:"strict",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),La.lazycreate=(d,s)=>new La({shape:d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)});class Ag extends jt{_parse(s){const{ctx:m}=this._processInputParams(s),y=this._def.options;function g(v){for(const R of v)if(R.result.status==="valid")return R.result;for(const R of v)if(R.result.status==="dirty")return m.common.issues.push(...R.ctx.common.issues),R.result;const _=v.map(R=>new Ao(R.ctx.common.issues));return we(m,{code:ye.invalid_union,unionErrors:_}),nt}if(m.common.async)return Promise.all(y.map(async v=>{const _={...m,common:{...m.common,issues:[]},parent:null};return{result:await v._parseAsync({data:m.data,path:m.path,parent:_}),ctx:_}})).then(g);{let v;const _=[];for(const B of y){const w={...m,common:{...m.common,issues:[]},parent:null},X=B._parseSync({data:m.data,path:m.path,parent:w});if(X.status==="valid")return X;X.status==="dirty"&&!v&&(v={result:X,ctx:w}),w.common.issues.length&&_.push(w.common.issues)}if(v)return m.common.issues.push(...v.ctx.common.issues),v.result;const R=_.map(B=>new Ao(B));return we(m,{code:ye.invalid_union,unionErrors:R}),nt}}get options(){return this._def.options}}Ag.create=(d,s)=>new Ag({options:d,typeName:lt.ZodUnion,...Et(s)});function Cv(d,s){const m=zr(d),y=zr(s);if(d===s)return{valid:!0,data:d};if(m===Be.object&&y===Be.object){const g=Yt.objectKeys(s),v=Yt.objectKeys(d).filter(R=>g.indexOf(R)!==-1),_={...d,...s};for(const R of v){const B=Cv(d[R],s[R]);if(!B.valid)return{valid:!1};_[R]=B.data}return{valid:!0,data:_}}else if(m===Be.array&&y===Be.array){if(d.length!==s.length)return{valid:!1};const g=[];for(let v=0;v<d.length;v++){const _=d[v],R=s[v],B=Cv(_,R);if(!B.valid)return{valid:!1};g.push(B.data)}return{valid:!0,data:g}}else return m===Be.date&&y===Be.date&&+d==+s?{valid:!0,data:d}:{valid:!1}}class Rg extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s),g=(v,_)=>{if(j1(v)||j1(_))return nt;const R=Cv(v.value,_.value);return R.valid?((B1(v)||B1(_))&&m.dirty(),{status:m.value,value:R.data}):(we(y,{code:ye.invalid_intersection_types}),nt)};return y.common.async?Promise.all([this._def.left._parseAsync({data:y.data,path:y.path,parent:y}),this._def.right._parseAsync({data:y.data,path:y.path,parent:y})]).then(([v,_])=>g(v,_)):g(this._def.left._parseSync({data:y.data,path:y.path,parent:y}),this._def.right._parseSync({data:y.data,path:y.path,parent:y}))}}Rg.create=(d,s,m)=>new Rg({left:d,right:s,typeName:lt.ZodIntersection,...Et(m)});class ls extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.parsedType!==Be.array)return we(y,{code:ye.invalid_type,expected:Be.array,received:y.parsedType}),nt;if(y.data.length<this._def.items.length)return we(y,{code:ye.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),nt;!this._def.rest&&y.data.length>this._def.items.length&&(we(y,{code:ye.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),m.dirty());const v=[...y.data].map((_,R)=>{const B=this._def.items[R]||this._def.rest;return B?B._parse(new Dr(y,_,y.path,R)):null}).filter(_=>!!_);return y.common.async?Promise.all(v).then(_=>Bl.mergeArray(m,_)):Bl.mergeArray(m,v)}get items(){return this._def.items}rest(s){return new ls({...this._def,rest:s})}}ls.create=(d,s)=>{if(!Array.isArray(d))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ls({items:d,typeName:lt.ZodTuple,rest:null,...Et(s)})};class $1 extends jt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.parsedType!==Be.map)return we(y,{code:ye.invalid_type,expected:Be.map,received:y.parsedType}),nt;const g=this._def.keyType,v=this._def.valueType,_=[...y.data.entries()].map(([R,B],w)=>({key:g._parse(new Dr(y,R,y.path,[w,"key"])),value:v._parse(new Dr(y,B,y.path,[w,"value"]))}));if(y.common.async){const R=new Map;return Promise.resolve().then(async()=>{for(const B of _){const w=await B.key,X=await B.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&m.dirty(),R.set(w.value,X.value)}return{status:m.value,value:R}})}else{const R=new Map;for(const B of _){const w=B.key,X=B.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&m.dirty(),R.set(w.value,X.value)}return{status:m.value,value:R}}}}$1.create=(d,s,m)=>new $1({valueType:s,keyType:d,typeName:lt.ZodMap,...Et(m)});class bm extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.parsedType!==Be.set)return we(y,{code:ye.invalid_type,expected:Be.set,received:y.parsedType}),nt;const g=this._def;g.minSize!==null&&y.data.size<g.minSize.value&&(we(y,{code:ye.too_small,minimum:g.minSize.value,type:"set",inclusive:!0,exact:!1,message:g.minSize.message}),m.dirty()),g.maxSize!==null&&y.data.size>g.maxSize.value&&(we(y,{code:ye.too_big,maximum:g.maxSize.value,type:"set",inclusive:!0,exact:!1,message:g.maxSize.message}),m.dirty());const v=this._def.valueType;function _(B){const w=new Set;for(const X of B){if(X.status==="aborted")return nt;X.status==="dirty"&&m.dirty(),w.add(X.value)}return{status:m.value,value:w}}const R=[...y.data.values()].map((B,w)=>v._parse(new Dr(y,B,y.path,w)));return y.common.async?Promise.all(R).then(B=>_(B)):_(R)}min(s,m){return new bm({...this._def,minSize:{value:s,message:Ve.toString(m)}})}max(s,m){return new bm({...this._def,maxSize:{value:s,message:Ve.toString(m)}})}size(s,m){return this.min(s,m).max(s,m)}nonempty(s){return this.min(1,s)}}bm.create=(d,s)=>new bm({valueType:d,minSize:null,maxSize:null,typeName:lt.ZodSet,...Et(s)});class W1 extends jt{get schema(){return this._def.getter()}_parse(s){const{ctx:m}=this._processInputParams(s);return this._def.getter()._parse({data:m.data,path:m.path,parent:m})}}W1.create=(d,s)=>new W1({getter:d,typeName:lt.ZodLazy,...Et(s)});class F1 extends jt{_parse(s){if(s.data!==this._def.value){const m=this._getOrReturnCtx(s);return we(m,{received:m.data,code:ye.invalid_literal,expected:this._def.value}),nt}return{status:"valid",value:s.data}}get value(){return this._def.value}}F1.create=(d,s)=>new F1({value:d,typeName:lt.ZodLiteral,...Et(s)});function I1(d,s){return new Qf({values:d,typeName:lt.ZodEnum,...Et(s)})}class Qf extends jt{_parse(s){if(typeof s.data!="string"){const m=this._getOrReturnCtx(s),y=this._def.values;return we(m,{expected:Yt.joinValues(y),received:m.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(s.data)){const m=this._getOrReturnCtx(s),y=this._def.values;return we(m,{received:m.data,code:ye.invalid_enum_value,options:y}),nt}return mi(s.data)}get options(){return this._def.values}get enum(){const s={};for(const m of this._def.values)s[m]=m;return s}get Values(){const s={};for(const m of this._def.values)s[m]=m;return s}get Enum(){const s={};for(const m of this._def.values)s[m]=m;return s}extract(s,m=this._def){return Qf.create(s,{...this._def,...m})}exclude(s,m=this._def){return Qf.create(this.options.filter(y=>!s.includes(y)),{...this._def,...m})}}Qf.create=I1;class P1 extends jt{_parse(s){const m=Yt.getValidEnumValues(this._def.values),y=this._getOrReturnCtx(s);if(y.parsedType!==Be.string&&y.parsedType!==Be.number){const g=Yt.objectValues(m);return we(y,{expected:Yt.joinValues(g),received:y.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(Yt.getValidEnumValues(this._def.values))),!this._cache.has(s.data)){const g=Yt.objectValues(m);return we(y,{received:y.data,code:ye.invalid_enum_value,options:g}),nt}return mi(s.data)}get enum(){return this._def.values}}P1.create=(d,s)=>new P1({values:d,typeName:lt.ZodNativeEnum,...Et(s)});class Og extends jt{unwrap(){return this._def.type}_parse(s){const{ctx:m}=this._processInputParams(s);if(m.parsedType!==Be.promise&&m.common.async===!1)return we(m,{code:ye.invalid_type,expected:Be.promise,received:m.parsedType}),nt;const y=m.parsedType===Be.promise?m.data:Promise.resolve(m.data);return mi(y.then(g=>this._def.type.parseAsync(g,{path:m.path,errorMap:m.common.contextualErrorMap})))}}Og.create=(d,s)=>new Og({type:d,typeName:lt.ZodPromise,...Et(s)});class Kf extends jt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(s){const{status:m,ctx:y}=this._processInputParams(s),g=this._def.effect||null,v={addIssue:_=>{we(y,_),_.fatal?m.abort():m.dirty()},get path(){return y.path}};if(v.addIssue=v.addIssue.bind(v),g.type==="preprocess"){const _=g.transform(y.data,v);if(y.common.async)return Promise.resolve(_).then(async R=>{if(m.value==="aborted")return nt;const B=await this._def.schema._parseAsync({data:R,path:y.path,parent:y});return B.status==="aborted"?nt:B.status==="dirty"||m.value==="dirty"?pm(B.value):B});{if(m.value==="aborted")return nt;const R=this._def.schema._parseSync({data:_,path:y.path,parent:y});return R.status==="aborted"?nt:R.status==="dirty"||m.value==="dirty"?pm(R.value):R}}if(g.type==="refinement"){const _=R=>{const B=g.refinement(R,v);if(y.common.async)return Promise.resolve(B);if(B instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return R};if(y.common.async===!1){const R=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});return R.status==="aborted"?nt:(R.status==="dirty"&&m.dirty(),_(R.value),{status:m.value,value:R.value})}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(R=>R.status==="aborted"?nt:(R.status==="dirty"&&m.dirty(),_(R.value).then(()=>({status:m.value,value:R.value}))))}if(g.type==="transform")if(y.common.async===!1){const _=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});if(!Zf(_))return nt;const R=g.transform(_.value,v);if(R instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:m.value,value:R}}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(_=>Zf(_)?Promise.resolve(g.transform(_.value,v)).then(R=>({status:m.value,value:R})):nt);Yt.assertNever(g)}}Kf.create=(d,s,m)=>new Kf({schema:d,typeName:lt.ZodEffects,effect:s,...Et(m)}),Kf.createWithPreprocess=(d,s,m)=>new Kf({schema:s,effect:{type:"preprocess",transform:d},typeName:lt.ZodEffects,...Et(m)});class Ur extends jt{_parse(s){return this._getType(s)===Be.undefined?mi(void 0):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Ur.create=(d,s)=>new Ur({innerType:d,typeName:lt.ZodOptional,...Et(s)});class Jf extends jt{_parse(s){return this._getType(s)===Be.null?mi(null):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Jf.create=(d,s)=>new Jf({innerType:d,typeName:lt.ZodNullable,...Et(s)});class Uv extends jt{_parse(s){const{ctx:m}=this._processInputParams(s);let y=m.data;return m.parsedType===Be.undefined&&(y=this._def.defaultValue()),this._def.innerType._parse({data:y,path:m.path,parent:m})}removeDefault(){return this._def.innerType}}Uv.create=(d,s)=>new Uv({innerType:d,typeName:lt.ZodDefault,defaultValue:typeof s.default=="function"?s.default:()=>s.default,...Et(s)});class Nv extends jt{_parse(s){const{ctx:m}=this._processInputParams(s),y={...m,common:{...m.common,issues:[]}},g=this._def.innerType._parse({data:y.data,path:y.path,parent:{...y}});return _g(g)?g.then(v=>({status:"valid",value:v.status==="valid"?v.value:this._def.catchValue({get error(){return new Ao(y.common.issues)},input:y.data})})):{status:"valid",value:g.status==="valid"?g.value:this._def.catchValue({get error(){return new Ao(y.common.issues)},input:y.data})}}removeCatch(){return this._def.innerType}}Nv.create=(d,s)=>new Nv({innerType:d,typeName:lt.ZodCatch,catchValue:typeof s.catch=="function"?s.catch:()=>s.catch,...Et(s)});class eS extends jt{_parse(s){if(this._getType(s)!==Be.nan){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.nan,received:y.parsedType}),nt}return{status:"valid",value:s.data}}}eS.create=d=>new eS({typeName:lt.ZodNaN,...Et(d)});class OE extends jt{_parse(s){const{ctx:m}=this._processInputParams(s),y=m.data;return this._def.type._parse({data:y,path:m.path,parent:m})}unwrap(){return this._def.type}}class Hv extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.common.async)return(async()=>{const v=await this._def.in._parseAsync({data:y.data,path:y.path,parent:y});return v.status==="aborted"?nt:v.status==="dirty"?(m.dirty(),pm(v.value)):this._def.out._parseAsync({data:v.value,path:y.path,parent:y})})();{const g=this._def.in._parseSync({data:y.data,path:y.path,parent:y});return g.status==="aborted"?nt:g.status==="dirty"?(m.dirty(),{status:"dirty",value:g.value}):this._def.out._parseSync({data:g.value,path:y.path,parent:y})}}static create(s,m){return new Hv({in:s,out:m,typeName:lt.ZodPipeline})}}class kv extends jt{_parse(s){const m=this._def.innerType._parse(s),y=g=>(Zf(g)&&(g.value=Object.freeze(g.value)),g);return _g(m)?m.then(g=>y(g)):y(m)}unwrap(){return this._def.innerType}}kv.create=(d,s)=>new kv({innerType:d,typeName:lt.ZodReadonly,...Et(s)});var lt;(function(d){d.ZodString="ZodString",d.ZodNumber="ZodNumber",d.ZodNaN="ZodNaN",d.ZodBigInt="ZodBigInt",d.ZodBoolean="ZodBoolean",d.ZodDate="ZodDate",d.ZodSymbol="ZodSymbol",d.ZodUndefined="ZodUndefined",d.ZodNull="ZodNull",d.ZodAny="ZodAny",d.ZodUnknown="ZodUnknown",d.ZodNever="ZodNever",d.ZodVoid="ZodVoid",d.ZodArray="ZodArray",d.ZodObject="ZodObject",d.ZodUnion="ZodUnion",d.ZodDiscriminatedUnion="ZodDiscriminatedUnion",d.ZodIntersection="ZodIntersection",d.ZodTuple="ZodTuple",d.ZodRecord="ZodRecord",d.ZodMap="ZodMap",d.ZodSet="ZodSet",d.ZodFunction="ZodFunction",d.ZodLazy="ZodLazy",d.ZodLiteral="ZodLiteral",d.ZodEnum="ZodEnum",d.ZodEffects="ZodEffects",d.ZodNativeEnum="ZodNativeEnum",d.ZodOptional="ZodOptional",d.ZodNullable="ZodNullable",d.ZodDefault="ZodDefault",d.ZodCatch="ZodCatch",d.ZodPromise="ZodPromise",d.ZodBranded="ZodBranded",d.ZodPipeline="ZodPipeline",d.ZodReadonly="ZodReadonly"})(lt||(lt={}));const tS=Mr.create;Cr.create,Uu.create;const zE=La.create;Ag.create,Rg.create,ls.create,Qf.create,Og.create,Ur.create,Jf.create;const DE=zE({securityNumber:tS({required_error:"CPF é obrigatório."}).refine(d=>d.replace(/\D/g,"").length>=11,"CPF deve conter no mínimo 11 caracteres.").refine(d=>{const s=d.replace(/\D/g,"");return!!Number(s)},"CPF deve conter apenas números."),coupon:tS({required_error:"Cupom / ID do Cartão obrigatório."}).optional()}),ME=d=>{const s=d.replace(/\D/g,"");if(s.length<=11)return s.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1")};var Sm=d=>d.type==="checkbox",is=d=>d instanceof Date,Pn=d=>d==null;const aS=d=>typeof d=="object";var Ma=d=>!Pn(d)&&!Array.isArray(d)&&aS(d)&&!is(d),CE=d=>Ma(d)&&d.target?Sm(d.target)?d.target.checked:d.target.value:d,UE=d=>d.substring(0,d.search(/\.\d+(\.|$)/))||d,NE=(d,s)=>d.has(UE(s)),HE=d=>{const s=d.constructor&&d.constructor.prototype;return Ma(s)&&s.hasOwnProperty("isPrototypeOf")},jv=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function bn(d){let s;const m=Array.isArray(d),y=typeof FileList<"u"?d instanceof FileList:!1;if(d instanceof Date)s=new Date(d);else if(d instanceof Set)s=new Set(d);else if(!(jv&&(d instanceof Blob||y))&&(m||Ma(d)))if(s=m?[]:{},!m&&!HE(d))s=d;else for(const g in d)d.hasOwnProperty(g)&&(s[g]=bn(d[g]));else return d;return s}var zg=d=>/^\w*$/.test(d),Ca=d=>d===void 0,Bv=d=>Array.isArray(d)?d.filter(Boolean):[],Vv=d=>Bv(d.replace(/["|']|\]/g,"").split(/\.|\[/)),Ce=(d,s,m)=>{if(!s||!Ma(d))return m;const y=(zg(s)?[s]:Vv(s)).reduce((g,v)=>Pn(g)?g:g[v],d);return Ca(y)||y===d?Ca(d[s])?m:d[s]:y},Nu=d=>typeof d=="boolean",ta=(d,s,m)=>{let y=-1;const g=zg(s)?[s]:Vv(s),v=g.length,_=v-1;for(;++y<v;){const R=g[y];let B=m;if(y!==_){const w=d[R];B=Ma(w)||Array.isArray(w)?w:isNaN(+g[y+1])?{}:[]}if(R==="__proto__"||R==="constructor"||R==="prototype")return;d[R]=B,d=d[R]}};const nS={BLUR:"blur",FOCUS_OUT:"focusout"},Ki={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ro={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},kE=jl.createContext(null);kE.displayName="HookFormContext";var jE=(d,s,m,y=!0)=>{const g={defaultValues:s._defaultValues};for(const v in d)Object.defineProperty(g,v,{get:()=>{const _=v;return s._proxyFormState[_]!==Ki.all&&(s._proxyFormState[_]=!y||Ki.all),d[_]}});return g};const BE=typeof window<"u"?sn.useLayoutEffect:sn.useEffect;var Hu=d=>typeof d=="string",VE=(d,s,m,y,g)=>Hu(d)?(y&&s.watch.add(d),Ce(m,d,g)):Array.isArray(d)?d.map(v=>(y&&s.watch.add(v),Ce(m,v))):(y&&(s.watchAll=!0),m),Lv=(d,s,m,y,g)=>s?{...m[d],types:{...m[d]&&m[d].types?m[d].types:{},[y]:g||!0}}:{},Tm=d=>Array.isArray(d)?d:[d],lS=()=>{let d=[];return{get observers(){return d},next:g=>{for(const v of d)v.next&&v.next(g)},subscribe:g=>(d.push(g),{unsubscribe:()=>{d=d.filter(v=>v!==g)}}),unsubscribe:()=>{d=[]}}},qv=d=>Pn(d)||!aS(d);function Nr(d,s,m=new WeakSet){if(qv(d)||qv(s))return d===s;if(is(d)&&is(s))return d.getTime()===s.getTime();const y=Object.keys(d),g=Object.keys(s);if(y.length!==g.length)return!1;if(m.has(d)||m.has(s))return!0;m.add(d),m.add(s);for(const v of y){const _=d[v];if(!g.includes(v))return!1;if(v!=="ref"){const R=s[v];if(is(_)&&is(R)||Ma(_)&&Ma(R)||Array.isArray(_)&&Array.isArray(R)?!Nr(_,R,m):_!==R)return!1}}return!0}var vl=d=>Ma(d)&&!Object.keys(d).length,Yv=d=>d.type==="file",Ji=d=>typeof d=="function",Dg=d=>{if(!jv)return!1;const s=d?d.ownerDocument:0;return d instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},iS=d=>d.type==="select-multiple",Gv=d=>d.type==="radio",LE=d=>Gv(d)||Sm(d),Zv=d=>Dg(d)&&d.isConnected;function qE(d,s){const m=s.slice(0,-1).length;let y=0;for(;y<m;)d=Ca(d)?y++:d[s[y++]];return d}function YE(d){for(const s in d)if(d.hasOwnProperty(s)&&!Ca(d[s]))return!1;return!0}function qa(d,s){const m=Array.isArray(s)?s:zg(s)?[s]:Vv(s),y=m.length===1?d:qE(d,m),g=m.length-1,v=m[g];return y&&delete y[v],g!==0&&(Ma(y)&&vl(y)||Array.isArray(y)&&YE(y))&&qa(d,m.slice(0,-1)),d}var uS=d=>{for(const s in d)if(Ji(d[s]))return!0;return!1};function Mg(d,s={}){const m=Array.isArray(d);if(Ma(d)||m)for(const y in d)Array.isArray(d[y])||Ma(d[y])&&!uS(d[y])?(s[y]=Array.isArray(d[y])?[]:{},Mg(d[y],s[y])):Pn(d[y])||(s[y]=!0);return s}function oS(d,s,m){const y=Array.isArray(d);if(Ma(d)||y)for(const g in d)Array.isArray(d[g])||Ma(d[g])&&!uS(d[g])?Ca(s)||qv(m[g])?m[g]=Array.isArray(d[g])?Mg(d[g],[]):{...Mg(d[g])}:oS(d[g],Pn(s)?{}:s[g],m[g]):m[g]=!Nr(d[g],s[g]);return m}var xm=(d,s)=>oS(d,s,Mg(s));const rS={value:!1,isValid:!1},cS={value:!0,isValid:!0};var sS=d=>{if(Array.isArray(d)){if(d.length>1){const s=d.filter(m=>m&&m.checked&&!m.disabled).map(m=>m.value);return{value:s,isValid:!!s.length}}return d[0].checked&&!d[0].disabled?d[0].attributes&&!Ca(d[0].attributes.value)?Ca(d[0].value)||d[0].value===""?cS:{value:d[0].value,isValid:!0}:cS:rS}return rS},fS=(d,{valueAsNumber:s,valueAsDate:m,setValueAs:y})=>Ca(d)?d:s?d===""?NaN:d&&+d:m&&Hu(d)?new Date(d):y?y(d):d;const dS={isValid:!1,value:null};var hS=d=>Array.isArray(d)?d.reduce((s,m)=>m&&m.checked&&!m.disabled?{isValid:!0,value:m.value}:s,dS):dS;function mS(d){const s=d.ref;return Yv(s)?s.files:Gv(s)?hS(d.refs).value:iS(s)?[...s.selectedOptions].map(({value:m})=>m):Sm(s)?sS(d.refs).value:fS(Ca(s.value)?d.ref.value:s.value,d)}var GE=(d,s,m,y)=>{const g={};for(const v of d){const _=Ce(s,v);_&&ta(g,v,_._f)}return{criteriaMode:m,names:[...d],fields:g,shouldUseNativeValidation:y}},Cg=d=>d instanceof RegExp,Em=d=>Ca(d)?d:Cg(d)?d.source:Ma(d)?Cg(d.value)?d.value.source:d.value:d,yS=d=>({isOnSubmit:!d||d===Ki.onSubmit,isOnBlur:d===Ki.onBlur,isOnChange:d===Ki.onChange,isOnAll:d===Ki.all,isOnTouch:d===Ki.onTouched});const pS="AsyncFunction";var ZE=d=>!!d&&!!d.validate&&!!(Ji(d.validate)&&d.validate.constructor.name===pS||Ma(d.validate)&&Object.values(d.validate).find(s=>s.constructor.name===pS)),XE=d=>d.mount&&(d.required||d.min||d.max||d.maxLength||d.minLength||d.pattern||d.validate),gS=(d,s,m)=>!m&&(s.watchAll||s.watch.has(d)||[...s.watch].some(y=>d.startsWith(y)&&/^\.\w+/.test(d.slice(y.length))));const _m=(d,s,m,y)=>{for(const g of m||Object.keys(d)){const v=Ce(d,g);if(v){const{_f:_,...R}=v;if(_){if(_.refs&&_.refs[0]&&s(_.refs[0],g)&&!y)return!0;if(_.ref&&s(_.ref,_.name)&&!y)return!0;if(_m(R,s))break}else if(Ma(R)&&_m(R,s))break}}};function vS(d,s,m){const y=Ce(d,m);if(y||zg(m))return{error:y,name:m};const g=m.split(".");for(;g.length;){const v=g.join("."),_=Ce(s,v),R=Ce(d,v);if(_&&!Array.isArray(_)&&m!==v)return{name:m};if(R&&R.type)return{name:v,error:R};if(R&&R.root&&R.root.type)return{name:`${v}.root`,error:R.root};g.pop()}return{name:m}}var QE=(d,s,m,y)=>{m(d);const{name:g,...v}=d;return vl(v)||Object.keys(v).length>=Object.keys(s).length||Object.keys(v).find(_=>s[_]===(!y||Ki.all))},KE=(d,s,m)=>!d||!s||d===s||Tm(d).some(y=>y&&(m?y===s:y.startsWith(s)||s.startsWith(y))),JE=(d,s,m,y,g)=>g.isOnAll?!1:!m&&g.isOnTouch?!(s||d):(m?y.isOnBlur:g.isOnBlur)?!d:(m?y.isOnChange:g.isOnChange)?d:!0,$E=(d,s)=>!Bv(Ce(d,s)).length&&qa(d,s),WE=(d,s,m)=>{const y=Tm(Ce(d,m));return ta(y,"root",s[m]),ta(d,m,y),d},Ug=d=>Hu(d);function bS(d,s,m="validate"){if(Ug(d)||Array.isArray(d)&&d.every(Ug)||Nu(d)&&!d)return{type:m,message:Ug(d)?d:"",ref:s}}var $f=d=>Ma(d)&&!Cg(d)?d:{value:d,message:""},SS=async(d,s,m,y,g,v)=>{const{ref:_,refs:R,required:B,maxLength:w,minLength:X,min:de,max:V,pattern:j,validate:fe,name:He,valueAsNumber:Xe,mount:Fe}=d._f,_e=Ce(m,He);if(!Fe||s.has(He))return{};const Rt=R?R[0]:_,vt=se=>{g&&Rt.reportValidity&&(Rt.setCustomValidity(Nu(se)?"":se||""),Rt.reportValidity())},ke={},Qt=Gv(_),_t=Sm(_),it=Qt||_t,wt=(Xe||Yv(_))&&Ca(_.value)&&Ca(_e)||Dg(_)&&_.value===""||_e===""||Array.isArray(_e)&&!_e.length,Ae=Lv.bind(null,He,y,ke),ht=(se,Re,Ke,Je=Ro.maxLength,W=Ro.minLength)=>{const Z=se?Re:Ke;ke[He]={type:se?Je:W,message:Z,ref:_,...Ae(se?Je:W,Z)}};if(v?!Array.isArray(_e)||!_e.length:B&&(!it&&(wt||Pn(_e))||Nu(_e)&&!_e||_t&&!sS(R).isValid||Qt&&!hS(R).isValid)){const{value:se,message:Re}=Ug(B)?{value:!!B,message:B}:$f(B);if(se&&(ke[He]={type:Ro.required,message:Re,ref:Rt,...Ae(Ro.required,Re)},!y))return vt(Re),ke}if(!wt&&(!Pn(de)||!Pn(V))){let se,Re;const Ke=$f(V),Je=$f(de);if(!Pn(_e)&&!isNaN(_e)){const W=_.valueAsNumber||_e&&+_e;Pn(Ke.value)||(se=W>Ke.value),Pn(Je.value)||(Re=W<Je.value)}else{const W=_.valueAsDate||new Date(_e),Z=O=>new Date(new Date().toDateString()+" "+O),re=_.type=="time",ve=_.type=="week";Hu(Ke.value)&&_e&&(se=re?Z(_e)>Z(Ke.value):ve?_e>Ke.value:W>new Date(Ke.value)),Hu(Je.value)&&_e&&(Re=re?Z(_e)<Z(Je.value):ve?_e<Je.value:W<new Date(Je.value))}if((se||Re)&&(ht(!!se,Ke.message,Je.message,Ro.max,Ro.min),!y))return vt(ke[He].message),ke}if((w||X)&&!wt&&(Hu(_e)||v&&Array.isArray(_e))){const se=$f(w),Re=$f(X),Ke=!Pn(se.value)&&_e.length>+se.value,Je=!Pn(Re.value)&&_e.length<+Re.value;if((Ke||Je)&&(ht(Ke,se.message,Re.message),!y))return vt(ke[He].message),ke}if(j&&!wt&&Hu(_e)){const{value:se,message:Re}=$f(j);if(Cg(se)&&!_e.match(se)&&(ke[He]={type:Ro.pattern,message:Re,ref:_,...Ae(Ro.pattern,Re)},!y))return vt(Re),ke}if(fe){if(Ji(fe)){const se=await fe(_e,m),Re=bS(se,Rt);if(Re&&(ke[He]={...Re,...Ae(Ro.validate,Re.message)},!y))return vt(Re.message),ke}else if(Ma(fe)){let se={};for(const Re in fe){if(!vl(se)&&!y)break;const Ke=bS(await fe[Re](_e,m),Rt,Re);Ke&&(se={...Ke,...Ae(Re,Ke.message)},vt(Ke.message),y&&(ke[He]=se))}if(!vl(se)&&(ke[He]={ref:Rt,...se},!y))return ke}}return vt(!0),ke};const FE={mode:Ki.onSubmit,reValidateMode:Ki.onChange,shouldFocusError:!0};function IE(d={}){let s={...FE,...d},m={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ji(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1};const y={};let g=Ma(s.defaultValues)||Ma(s.values)?bn(s.defaultValues||s.values)||{}:{},v=s.shouldUnregister?{}:bn(g),_={action:!1,mount:!1,watch:!1},R={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},B,w=0;const X={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let de={...X};const V={array:lS(),state:lS()},j=s.criteriaMode===Ki.all,fe=U=>k=>{clearTimeout(w),w=setTimeout(U,k)},He=async U=>{if(!s.disabled&&(X.isValid||de.isValid||U)){const k=s.resolver?vl((await _t()).errors):await wt(y,!0);k!==m.isValid&&V.state.next({isValid:k})}},Xe=(U,k)=>{!s.disabled&&(X.isValidating||X.validatingFields||de.isValidating||de.validatingFields)&&((U||Array.from(R.mount)).forEach(ne=>{ne&&(k?ta(m.validatingFields,ne,k):qa(m.validatingFields,ne))}),V.state.next({validatingFields:m.validatingFields,isValidating:!vl(m.validatingFields)}))},Fe=(U,k=[],ne,xe,ge=!0,me=!0)=>{if(xe&&ne&&!s.disabled){if(_.action=!0,me&&Array.isArray(Ce(y,U))){const ze=ne(Ce(y,U),xe.argA,xe.argB);ge&&ta(y,U,ze)}if(me&&Array.isArray(Ce(m.errors,U))){const ze=ne(Ce(m.errors,U),xe.argA,xe.argB);ge&&ta(m.errors,U,ze),$E(m.errors,U)}if((X.touchedFields||de.touchedFields)&&me&&Array.isArray(Ce(m.touchedFields,U))){const ze=ne(Ce(m.touchedFields,U),xe.argA,xe.argB);ge&&ta(m.touchedFields,U,ze)}(X.dirtyFields||de.dirtyFields)&&(m.dirtyFields=xm(g,v)),V.state.next({name:U,isDirty:ht(U,k),dirtyFields:m.dirtyFields,errors:m.errors,isValid:m.isValid})}else ta(v,U,k)},_e=(U,k)=>{ta(m.errors,U,k),V.state.next({errors:m.errors})},Rt=U=>{m.errors=U,V.state.next({errors:m.errors,isValid:!1})},vt=(U,k,ne,xe)=>{const ge=Ce(y,U);if(ge){const me=Ce(v,U,Ca(ne)?Ce(g,U):ne);Ca(me)||xe&&xe.defaultChecked||k?ta(v,U,k?me:mS(ge._f)):Ke(U,me),_.mount&&He()}},ke=(U,k,ne,xe,ge)=>{let me=!1,ze=!1;const Qe={name:U};if(!s.disabled){if(!ne||xe){(X.isDirty||de.isDirty)&&(ze=m.isDirty,m.isDirty=Qe.isDirty=ht(),me=ze!==Qe.isDirty);const pt=Nr(Ce(g,U),k);ze=!!Ce(m.dirtyFields,U),pt?qa(m.dirtyFields,U):ta(m.dirtyFields,U,!0),Qe.dirtyFields=m.dirtyFields,me=me||(X.dirtyFields||de.dirtyFields)&&ze!==!pt}if(ne){const pt=Ce(m.touchedFields,U);pt||(ta(m.touchedFields,U,ne),Qe.touchedFields=m.touchedFields,me=me||(X.touchedFields||de.touchedFields)&&pt!==ne)}me&&ge&&V.state.next(Qe)}return me?Qe:{}},Qt=(U,k,ne,xe)=>{const ge=Ce(m.errors,U),me=(X.isValid||de.isValid)&&Nu(k)&&m.isValid!==k;if(s.delayError&&ne?(B=fe(()=>_e(U,ne)),B(s.delayError)):(clearTimeout(w),B=null,ne?ta(m.errors,U,ne):qa(m.errors,U)),(ne?!Nr(ge,ne):ge)||!vl(xe)||me){const ze={...xe,...me&&Nu(k)?{isValid:k}:{},errors:m.errors,name:U};m={...m,...ze},V.state.next(ze)}},_t=async U=>{Xe(U,!0);const k=await s.resolver(v,s.context,GE(U||R.mount,y,s.criteriaMode,s.shouldUseNativeValidation));return Xe(U),k},it=async U=>{const{errors:k}=await _t(U);if(U)for(const ne of U){const xe=Ce(k,ne);xe?ta(m.errors,ne,xe):qa(m.errors,ne)}else m.errors=k;return k},wt=async(U,k,ne={valid:!0})=>{for(const xe in U){const ge=U[xe];if(ge){const{_f:me,...ze}=ge;if(me){const Qe=R.array.has(me.name),pt=ge._f&&ZE(ge._f);pt&&X.validatingFields&&Xe([xe],!0);const Gt=await SS(ge,R.disabled,v,j,s.shouldUseNativeValidation&&!k,Qe);if(pt&&X.validatingFields&&Xe([xe]),Gt[me.name]&&(ne.valid=!1,k))break;!k&&(Ce(Gt,me.name)?Qe?WE(m.errors,Gt,me.name):ta(m.errors,me.name,Gt[me.name]):qa(m.errors,me.name))}!vl(ze)&&await wt(ze,k,ne)}}return ne.valid},Ae=()=>{for(const U of R.unMount){const k=Ce(y,U);k&&(k._f.refs?k._f.refs.every(ne=>!Zv(ne)):!Zv(k._f.ref))&&$e(U)}R.unMount=new Set},ht=(U,k)=>!s.disabled&&(U&&k&&ta(v,U,k),!Nr(O(),g)),se=(U,k,ne)=>VE(U,R,{..._.mount?v:Ca(k)?g:Hu(U)?{[U]:k}:k},ne,k),Re=U=>Bv(Ce(_.mount?v:g,U,s.shouldUnregister?Ce(g,U,[]):[])),Ke=(U,k,ne={})=>{const xe=Ce(y,U);let ge=k;if(xe){const me=xe._f;me&&(!me.disabled&&ta(v,U,fS(k,me)),ge=Dg(me.ref)&&Pn(k)?"":k,iS(me.ref)?[...me.ref.options].forEach(ze=>ze.selected=ge.includes(ze.value)):me.refs?Sm(me.ref)?me.refs.forEach(ze=>{(!ze.defaultChecked||!ze.disabled)&&(Array.isArray(ge)?ze.checked=!!ge.find(Qe=>Qe===ze.value):ze.checked=ge===ze.value||!!ge)}):me.refs.forEach(ze=>ze.checked=ze.value===ge):Yv(me.ref)?me.ref.value="":(me.ref.value=ge,me.ref.type||V.state.next({name:U,values:bn(v)})))}(ne.shouldDirty||ne.shouldTouch)&&ke(U,ge,ne.shouldTouch,ne.shouldDirty,!0),ne.shouldValidate&&ve(U)},Je=(U,k,ne)=>{for(const xe in k){if(!k.hasOwnProperty(xe))return;const ge=k[xe],me=U+"."+xe,ze=Ce(y,me);(R.array.has(U)||Ma(ge)||ze&&!ze._f)&&!is(ge)?Je(me,ge,ne):Ke(me,ge,ne)}},W=(U,k,ne={})=>{const xe=Ce(y,U),ge=R.array.has(U),me=bn(k);ta(v,U,me),ge?(V.array.next({name:U,values:bn(v)}),(X.isDirty||X.dirtyFields||de.isDirty||de.dirtyFields)&&ne.shouldDirty&&V.state.next({name:U,dirtyFields:xm(g,v),isDirty:ht(U,me)})):xe&&!xe._f&&!Pn(me)?Je(U,me,ne):Ke(U,me,ne),gS(U,R)&&V.state.next({...m}),V.state.next({name:_.mount?U:void 0,values:bn(v)})},Z=async U=>{_.mount=!0;const k=U.target;let ne=k.name,xe=!0;const ge=Ce(y,ne),me=pt=>{xe=Number.isNaN(pt)||is(pt)&&isNaN(pt.getTime())||Nr(pt,Ce(v,ne,pt))},ze=yS(s.mode),Qe=yS(s.reValidateMode);if(ge){let pt,Gt;const pi=k.type?mS(ge._f):CE(U),Sn=U.type===nS.BLUR||U.type===nS.FOCUS_OUT,Do=!XE(ge._f)&&!s.resolver&&!Ce(m.errors,ne)&&!ge._f.deps||JE(Sn,Ce(m.touchedFields,ne),m.isSubmitted,Qe,ze),tl=gS(ne,R,Sn);ta(v,ne,pi),Sn?(ge._f.onBlur&&ge._f.onBlur(U),B&&B(0)):ge._f.onChange&&ge._f.onChange(U);const Tn=ke(ne,pi,Sn),Ua=!vl(Tn)||tl;if(!Sn&&V.state.next({name:ne,type:U.type,values:bn(v)}),Do)return(X.isValid||de.isValid)&&(s.mode==="onBlur"?Sn&&He():Sn||He()),Ua&&V.state.next({name:ne,...tl?{}:Tn});if(!Sn&&tl&&V.state.next({...m}),s.resolver){const{errors:Ia}=await _t([ne]);if(me(pi),xe){const Cn=vS(m.errors,y,ne),x=vS(Ia,y,Cn.name||ne);pt=x.error,ne=x.name,Gt=vl(Ia)}}else Xe([ne],!0),pt=(await SS(ge,R.disabled,v,j,s.shouldUseNativeValidation))[ne],Xe([ne]),me(pi),xe&&(pt?Gt=!1:(X.isValid||de.isValid)&&(Gt=await wt(y,!0)));xe&&(ge._f.deps&&ve(ge._f.deps),Qt(ne,Gt,pt,Tn))}},re=(U,k)=>{if(Ce(m.errors,k)&&U.focus)return U.focus(),1},ve=async(U,k={})=>{let ne,xe;const ge=Tm(U);if(s.resolver){const me=await it(Ca(U)?U:ge);ne=vl(me),xe=U?!ge.some(ze=>Ce(me,ze)):ne}else U?(xe=(await Promise.all(ge.map(async me=>{const ze=Ce(y,me);return await wt(ze&&ze._f?{[me]:ze}:ze)}))).every(Boolean),!(!xe&&!m.isValid)&&He()):xe=ne=await wt(y);return V.state.next({...!Hu(U)||(X.isValid||de.isValid)&&ne!==m.isValid?{}:{name:U},...s.resolver||!U?{isValid:ne}:{},errors:m.errors}),k.shouldFocus&&!xe&&_m(y,re,U?ge:R.mount),xe},O=U=>{const k={..._.mount?v:g};return Ca(U)?k:Hu(U)?Ce(k,U):U.map(ne=>Ce(k,ne))},C=(U,k)=>({invalid:!!Ce((k||m).errors,U),isDirty:!!Ce((k||m).dirtyFields,U),error:Ce((k||m).errors,U),isValidating:!!Ce(m.validatingFields,U),isTouched:!!Ce((k||m).touchedFields,U)}),ie=U=>{U&&Tm(U).forEach(k=>qa(m.errors,k)),V.state.next({errors:U?m.errors:{}})},ee=(U,k,ne)=>{const xe=(Ce(y,U,{_f:{}})._f||{}).ref,ge=Ce(m.errors,U)||{},{ref:me,message:ze,type:Qe,...pt}=ge;ta(m.errors,U,{...pt,...k,ref:xe}),V.state.next({name:U,errors:m.errors,isValid:!1}),ne&&ne.shouldFocus&&xe&&xe.focus&&xe.focus()},Te=(U,k)=>Ji(U)?V.state.subscribe({next:ne=>U(se(void 0,k),ne)}):se(U,k,!0),Le=U=>V.state.subscribe({next:k=>{KE(U.name,k.name,U.exact)&&QE(k,U.formState||X,Bt,U.reRenderRoot)&&U.callback({values:{...v},...m,...k})}}).unsubscribe,De=U=>(_.mount=!0,de={...de,...U.formState},Le({...U,formState:de})),$e=(U,k={})=>{for(const ne of U?Tm(U):R.mount)R.mount.delete(ne),R.array.delete(ne),k.keepValue||(qa(y,ne),qa(v,ne)),!k.keepError&&qa(m.errors,ne),!k.keepDirty&&qa(m.dirtyFields,ne),!k.keepTouched&&qa(m.touchedFields,ne),!k.keepIsValidating&&qa(m.validatingFields,ne),!s.shouldUnregister&&!k.keepDefaultValue&&qa(g,ne);V.state.next({values:bn(v)}),V.state.next({...m,...k.keepDirty?{isDirty:ht()}:{}}),!k.keepIsValid&&He()},Ct=({disabled:U,name:k})=>{(Nu(U)&&_.mount||U||R.disabled.has(k))&&(U?R.disabled.add(k):R.disabled.delete(k))},Dt=(U,k={})=>{let ne=Ce(y,U);const xe=Nu(k.disabled)||Nu(s.disabled);return ta(y,U,{...ne||{},_f:{...ne&&ne._f?ne._f:{ref:{name:U}},name:U,mount:!0,...k}}),R.mount.add(U),ne?Ct({disabled:Nu(k.disabled)?k.disabled:s.disabled,name:U}):vt(U,!0,k.value),{...xe?{disabled:k.disabled||s.disabled}:{},...s.progressive?{required:!!k.required,min:Em(k.min),max:Em(k.max),minLength:Em(k.minLength),maxLength:Em(k.maxLength),pattern:Em(k.pattern)}:{},name:U,onChange:Z,onBlur:Z,ref:ge=>{if(ge){Dt(U,k),ne=Ce(y,U);const me=Ca(ge.value)&&ge.querySelectorAll&&ge.querySelectorAll("input,select,textarea")[0]||ge,ze=LE(me),Qe=ne._f.refs||[];if(ze?Qe.find(pt=>pt===me):me===ne._f.ref)return;ta(y,U,{_f:{...ne._f,...ze?{refs:[...Qe.filter(Zv),me,...Array.isArray(Ce(g,U))?[{}]:[]],ref:{type:me.type,name:U}}:{ref:me}}}),vt(U,!1,void 0,me)}else ne=Ce(y,U,{}),ne._f&&(ne._f.mount=!1),(s.shouldUnregister||k.shouldUnregister)&&!(NE(R.array,U)&&_.action)&&R.unMount.add(U)}}},ha=()=>s.shouldFocusError&&_m(y,re,R.mount),Fa=U=>{Nu(U)&&(V.state.next({disabled:U}),_m(y,(k,ne)=>{const xe=Ce(y,ne);xe&&(k.disabled=xe._f.disabled||U,Array.isArray(xe._f.refs)&&xe._f.refs.forEach(ge=>{ge.disabled=xe._f.disabled||U}))},0,!1))},bl=(U,k)=>async ne=>{let xe;ne&&(ne.preventDefault&&ne.preventDefault(),ne.persist&&ne.persist());let ge=bn(v);if(V.state.next({isSubmitting:!0}),s.resolver){const{errors:me,values:ze}=await _t();m.errors=me,ge=bn(ze)}else await wt(y);if(R.disabled.size)for(const me of R.disabled)qa(ge,me);if(qa(m.errors,"root"),vl(m.errors)){V.state.next({errors:{}});try{await U(ge,ne)}catch(me){xe=me}}else k&&await k({...m.errors},ne),ha(),setTimeout(ha);if(V.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vl(m.errors)&&!xe,submitCount:m.submitCount+1,errors:m.errors}),xe)throw xe},$i=(U,k={})=>{Ce(y,U)&&(Ca(k.defaultValue)?W(U,bn(Ce(g,U))):(W(U,k.defaultValue),ta(g,U,bn(k.defaultValue))),k.keepTouched||qa(m.touchedFields,U),k.keepDirty||(qa(m.dirtyFields,U),m.isDirty=k.defaultValue?ht(U,bn(Ce(g,U))):ht()),k.keepError||(qa(m.errors,U),X.isValid&&He()),V.state.next({...m}))},el=(U,k={})=>{const ne=U?bn(U):g,xe=bn(ne),ge=vl(U),me=ge?g:xe;if(k.keepDefaultValues||(g=ne),!k.keepValues){if(k.keepDirtyValues){const ze=new Set([...R.mount,...Object.keys(xm(g,v))]);for(const Qe of Array.from(ze))Ce(m.dirtyFields,Qe)?ta(me,Qe,Ce(v,Qe)):W(Qe,Ce(me,Qe))}else{if(jv&&Ca(U))for(const ze of R.mount){const Qe=Ce(y,ze);if(Qe&&Qe._f){const pt=Array.isArray(Qe._f.refs)?Qe._f.refs[0]:Qe._f.ref;if(Dg(pt)){const Gt=pt.closest("form");if(Gt){Gt.reset();break}}}}for(const ze of R.mount){const Qe=Ce(me,ze,Ce(g,ze));Ca(Qe)||(ta(me,ze,Qe),W(ze,Ce(me,ze)))}}v=bn(me),V.array.next({values:{...me}}),V.state.next({values:{...me}})}R={mount:k.keepDirtyValues?R.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},_.mount=!X.isValid||!!k.keepIsValid||!!k.keepDirtyValues,_.watch=!!s.shouldUnregister,V.state.next({submitCount:k.keepSubmitCount?m.submitCount:0,isDirty:ge?!1:k.keepDirty?m.isDirty:!!(k.keepDefaultValues&&!Nr(U,g)),isSubmitted:k.keepIsSubmitted?m.isSubmitted:!1,dirtyFields:ge?{}:k.keepDirtyValues?k.keepDefaultValues&&v?xm(g,v):m.dirtyFields:k.keepDefaultValues&&U?xm(g,U):k.keepDirty?m.dirtyFields:{},touchedFields:k.keepTouched?m.touchedFields:{},errors:k.keepErrors?m.errors:{},isSubmitSuccessful:k.keepIsSubmitSuccessful?m.isSubmitSuccessful:!1,isSubmitting:!1})},Oo=(U,k)=>el(Ji(U)?U(v):U,k),zo=(U,k={})=>{const ne=Ce(y,U),xe=ne&&ne._f;if(xe){const ge=xe.refs?xe.refs[0]:xe.ref;ge.focus&&(ge.focus(),k.shouldSelect&&Ji(ge.select)&&ge.select())}},Bt=U=>{m={...m,...U}},Sl={control:{register:Dt,unregister:$e,getFieldState:C,handleSubmit:bl,setError:ee,_subscribe:Le,_runSchema:_t,_focusError:ha,_getWatch:se,_getDirty:ht,_setValid:He,_setFieldArray:Fe,_setDisabledField:Ct,_setErrors:Rt,_getFieldArray:Re,_reset:el,_resetDefaultValues:()=>Ji(s.defaultValues)&&s.defaultValues().then(U=>{Oo(U,s.resetOptions),V.state.next({isLoading:!1})}),_removeUnmounted:Ae,_disableForm:Fa,_subjects:V,_proxyFormState:X,get _fields(){return y},get _formValues(){return v},get _state(){return _},set _state(U){_=U},get _defaultValues(){return g},get _names(){return R},set _names(U){R=U},get _formState(){return m},get _options(){return s},set _options(U){s={...s,...U}}},subscribe:De,trigger:ve,register:Dt,handleSubmit:bl,watch:Te,setValue:W,getValues:O,reset:Oo,resetField:$i,clearErrors:ie,unregister:$e,setError:ee,setFocus:zo,getFieldState:C};return{...Sl,formControl:Sl}}function PE(d={}){const s=jl.useRef(void 0),m=jl.useRef(void 0),[y,g]=jl.useState({isDirty:!1,isValidating:!1,isLoading:Ji(d.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:d.errors||{},disabled:d.disabled||!1,isReady:!1,defaultValues:Ji(d.defaultValues)?void 0:d.defaultValues});if(!s.current)if(d.formControl)s.current={...d.formControl,formState:y},d.defaultValues&&!Ji(d.defaultValues)&&d.formControl.reset(d.defaultValues,d.resetOptions);else{const{formControl:_,...R}=IE(d);s.current={...R,formState:y}}const v=s.current.control;return v._options=d,BE(()=>{const _=v._subscribe({formState:v._proxyFormState,callback:()=>g({...v._formState}),reRenderRoot:!0});return g(R=>({...R,isReady:!0})),v._formState.isReady=!0,_},[v]),jl.useEffect(()=>v._disableForm(d.disabled),[v,d.disabled]),jl.useEffect(()=>{d.mode&&(v._options.mode=d.mode),d.reValidateMode&&(v._options.reValidateMode=d.reValidateMode)},[v,d.mode,d.reValidateMode]),jl.useEffect(()=>{d.errors&&(v._setErrors(d.errors),v._focusError())},[v,d.errors]),jl.useEffect(()=>{d.shouldUnregister&&v._subjects.state.next({values:v._getWatch()})},[v,d.shouldUnregister]),jl.useEffect(()=>{if(v._proxyFormState.isDirty){const _=v._getDirty();_!==y.isDirty&&v._subjects.state.next({isDirty:_})}},[v,y.isDirty]),jl.useEffect(()=>{d.values&&!Nr(d.values,m.current)?(v._reset(d.values,v._options.resetOptions),m.current=d.values,g(_=>({..._}))):v._resetDefaultValues()},[v,d.values]),jl.useEffect(()=>{v._state.mount||(v._setValid(),v._state.mount=!0),v._state.watch&&(v._state.watch=!1,v._subjects.state.next({...v._formState})),v._removeUnmounted()}),s.current.formState=jE(y,v),s.current}const TS=(d,s,m)=>{if(d&&"reportValidity"in d){const y=Ce(m,s);d.setCustomValidity(y&&y.message||""),d.reportValidity()}},Xv=(d,s)=>{for(const m in s.fields){const y=s.fields[m];y&&y.ref&&"reportValidity"in y.ref?TS(y.ref,m,d):y&&y.refs&&y.refs.forEach(g=>TS(g,m,d))}},xS=(d,s)=>{s.shouldUseNativeValidation&&Xv(d,s);const m={};for(const y in d){const g=Ce(s.fields,y),v=Object.assign(d[y]||{},{ref:g&&g.ref});if(e_(s.names||Object.keys(d),y)){const _=Object.assign({},Ce(m,y));ta(_,"root",v),ta(m,y,_)}else ta(m,y,v)}return m},e_=(d,s)=>{const m=ES(s);return d.some(y=>ES(y).match(`^${m}\\.\\d+`))};function ES(d){return d.replace(/\]|\[/g,"")}function _S(d,s,m){function y(R,B){var w;Object.defineProperty(R,"_zod",{value:R._zod??{},enumerable:!1}),(w=R._zod).traits??(w.traits=new Set),R._zod.traits.add(d),s(R,B);for(const X in _.prototype)X in R||Object.defineProperty(R,X,{value:_.prototype[X].bind(R)});R._zod.constr=_,R._zod.def=B}const g=(m==null?void 0:m.Parent)??Object;class v extends g{}Object.defineProperty(v,"name",{value:d});function _(R){var B;const w=m!=null&&m.Parent?new v:this;y(w,R),(B=w._zod).deferred??(B.deferred=[]);for(const X of w._zod.deferred)X();return w}return Object.defineProperty(_,"init",{value:y}),Object.defineProperty(_,Symbol.hasInstance,{value:R=>{var B,w;return m!=null&&m.Parent&&R instanceof m.Parent?!0:(w=(B=R==null?void 0:R._zod)==null?void 0:B.traits)==null?void 0:w.has(d)}}),Object.defineProperty(_,"name",{value:d}),_}class t_ extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const a_={};function wS(d){return a_}function n_(d,s){return typeof s=="bigint"?s.toString():s}const AS=Error.captureStackTrace?Error.captureStackTrace:(...d)=>{};function Ng(d){return typeof d=="string"?d:d==null?void 0:d.message}function RS(d,s,m){var g,v,_,R,B,w;const y={...d,path:d.path??[]};if(!d.message){const X=Ng((_=(v=(g=d.inst)==null?void 0:g._zod.def)==null?void 0:v.error)==null?void 0:_.call(v,d))??Ng((R=s==null?void 0:s.error)==null?void 0:R.call(s,d))??Ng((B=m.customError)==null?void 0:B.call(m,d))??Ng((w=m.localeError)==null?void 0:w.call(m,d))??"Invalid input";y.message=X}return delete y.inst,delete y.continue,s!=null&&s.reportInput||delete y.input,y}const OS=(d,s)=>{d.name="$ZodError",Object.defineProperty(d,"_zod",{value:d._zod,enumerable:!1}),Object.defineProperty(d,"issues",{value:s,enumerable:!1}),Object.defineProperty(d,"message",{get(){return JSON.stringify(s,n_,2)},enumerable:!0})},l_=_S("$ZodError",OS),zS=_S("$ZodError",OS,{Parent:Error}),i_=(d=>(s,m,y,g)=>{const v=y?Object.assign(y,{async:!1}):{async:!1},_=s._zod.run({value:m,issues:[]},v);if(_ instanceof Promise)throw new t_;if(_.issues.length){const R=new((g==null?void 0:g.Err)??d)(_.issues.map(B=>RS(B,v,wS())));throw AS(R,g==null?void 0:g.callee),R}return _.value})(zS),u_=(d=>async(s,m,y,g)=>{const v=y?Object.assign(y,{async:!0}):{async:!0};let _=s._zod.run({value:m,issues:[]},v);if(_ instanceof Promise&&(_=await _),_.issues.length){const R=new((g==null?void 0:g.Err)??d)(_.issues.map(B=>RS(B,v,wS())));throw AS(R,g==null?void 0:g.callee),R}return _.value})(zS);function DS(d,s){try{var m=d()}catch(y){return s(y)}return m&&m.then?m.then(void 0,s):m}function o_(d,s){for(var m={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!m[_])if("unionErrors"in y){var R=y.unionErrors[0].errors[0];m[_]={message:R.message,type:R.code}}else m[_]={message:v,type:g};if("unionErrors"in y&&y.unionErrors.forEach(function(X){return X.errors.forEach(function(de){return d.push(de)})}),s){var B=m[_].types,w=B&&B[y.code];m[_]=Lv(_,s,m,g,w?[].concat(w,y.message):y.message)}d.shift()}return m}function r_(d,s){for(var m={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!m[_])if(y.code==="invalid_union"){var R=y.errors[0][0];m[_]={message:R.message,type:R.code}}else m[_]={message:v,type:g};if(y.code==="invalid_union"&&y.errors.forEach(function(X){return X.forEach(function(de){return d.push(de)})}),s){var B=m[_].types,w=B&&B[y.code];m[_]=Lv(_,s,m,g,w?[].concat(w,y.message):y.message)}d.shift()}return m}function c_(d,s,m){if(m===void 0&&(m={}),function(y){return"_def"in y&&typeof y._def=="object"&&"typeName"in y._def}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve(d[m.mode==="sync"?"parse":"parseAsync"](y,s)).then(function(_){return v.shouldUseNativeValidation&&Xv({},v),{errors:{},values:m.raw?Object.assign({},y):_}})},function(_){if(function(R){return Array.isArray(R==null?void 0:R.issues)}(_))return{values:{},errors:xS(o_(_.errors,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};if(function(y){return"_zod"in y&&typeof y._zod=="object"}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve((m.mode==="sync"?i_:u_)(d,y,s)).then(function(_){return v.shouldUseNativeValidation&&Xv({},v),{errors:{},values:m.raw?Object.assign({},y):_}})},function(_){if(function(R){return R instanceof l_}(_))return{values:{},errors:xS(r_(_.issues,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};throw new Error("Invalid input: not a Zod schema")}/**
|
|
324
|
+
*/var N1;function eE(){return N1||(N1=1,function(d){(function(){var s={}.hasOwnProperty;function m(){for(var v="",_=0;_<arguments.length;_++){var R=arguments[_];R&&(v=g(v,y(R)))}return v}function y(v){if(typeof v=="string"||typeof v=="number")return v;if(typeof v!="object")return"";if(Array.isArray(v))return m.apply(null,v);if(v.toString!==Object.prototype.toString&&!v.toString.toString().includes("[native code]"))return v.toString();var _="";for(var R in v)s.call(v,R)&&v[R]&&(_=g(_,R));return _}function g(v,_){return _?v?v+" "+_:v+_:v}d.exports?(m.default=m,d.exports=m):window.classNames=m})()}(Ov)),Ov.exports}var tE=eE();const hi=Qi(tE);function H1({children:d,variant:s}){return pe.jsx("main",{className:hi({"border-3 border-[#44c2c0] flex flex-col items-center justify-center min-w-[var(--min-container)] max-w-[var(--max-container)] w-full h-auto rounded-xl p-4 bg-white gap-4 relative":s==="main","w-full h-auto relative":s==="simple"}),"data-testid":"test_id_container","data-variant":s,id:"container_pbm",children:d})}function aE(){const{targetProduct:d,setTargetProduct:s,state:m}=wo();return pe.jsxs("footer",{className:"w-full h-auto relative",id:"footer_pbm",children:[m!=="isActivated"&&(d==null?void 0:d.informativeMessage)&&pe.jsx("p",{className:"text-start mb-3 font-semibold text-sm text-amber-500",children:d==null?void 0:d.informativeMessage}),pe.jsxs("section",{className:hi("flex items-center w-full h-auto gap-4",{"justify-center":d==null?void 0:d.industryLogo,"justify-start":!(d!=null&&d.industryLogo)}),children:[pe.jsxs("section",{className:"w-4/5 h-auto",children:[pe.jsx("h3",{className:"text-start font-semibold text-sm",children:"Economize com o benefício do laboratório."}),pe.jsx("p",{className:"text-start font-normal text-sm",children:"Este produto tem preço exclusivo para clientes cadastrados no programa."})]}),(d==null?void 0:d.industryLogo)&&pe.jsx("img",{src:d.industryLogo,alt:"parceiro",className:"w-1/5 min-w-20 h-auto aspect-auto rounded-xl",loading:"eager",id:"footer_industry_logo_pbm","data-testid":"footer_industry_logo_pbm"})]})]})}var Yt;(function(d){d.assertEqual=g=>{};function s(g){}d.assertIs=s;function m(g){throw new Error}d.assertNever=m,d.arrayToEnum=g=>{const v={};for(const _ of g)v[_]=_;return v},d.getValidEnumValues=g=>{const v=d.objectKeys(g).filter(R=>typeof g[g[R]]!="number"),_={};for(const R of v)_[R]=g[R];return d.objectValues(_)},d.objectValues=g=>d.objectKeys(g).map(function(v){return g[v]}),d.objectKeys=typeof Object.keys=="function"?g=>Object.keys(g):g=>{const v=[];for(const _ in g)Object.prototype.hasOwnProperty.call(g,_)&&v.push(_);return v},d.find=(g,v)=>{for(const _ of g)if(v(_))return _},d.isInteger=typeof Number.isInteger=="function"?g=>Number.isInteger(g):g=>typeof g=="number"&&Number.isFinite(g)&&Math.floor(g)===g;function y(g,v=" | "){return g.map(_=>typeof _=="string"?`'${_}'`:_).join(v)}d.joinValues=y,d.jsonStringifyReplacer=(g,v)=>typeof v=="bigint"?v.toString():v})(Yt||(Yt={}));var k1;(function(d){d.mergeShapes=(s,m)=>({...s,...m})})(k1||(k1={}));const Be=Yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),zr=d=>{switch(typeof d){case"undefined":return Be.undefined;case"string":return Be.string;case"number":return Number.isNaN(d)?Be.nan:Be.number;case"boolean":return Be.boolean;case"function":return Be.function;case"bigint":return Be.bigint;case"symbol":return Be.symbol;case"object":return Array.isArray(d)?Be.array:d===null?Be.null:d.then&&typeof d.then=="function"&&d.catch&&typeof d.catch=="function"?Be.promise:typeof Map<"u"&&d instanceof Map?Be.map:typeof Set<"u"&&d instanceof Set?Be.set:typeof Date<"u"&&d instanceof Date?Be.date:Be.object;default:return Be.unknown}},ye=Yt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Ao extends Error{get errors(){return this.issues}constructor(s){super(),this.issues=[],this.addIssue=y=>{this.issues=[...this.issues,y]},this.addIssues=(y=[])=>{this.issues=[...this.issues,...y]};const m=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,m):this.__proto__=m,this.name="ZodError",this.issues=s}format(s){const m=s||function(v){return v.message},y={_errors:[]},g=v=>{for(const _ of v.issues)if(_.code==="invalid_union")_.unionErrors.map(g);else if(_.code==="invalid_return_type")g(_.returnTypeError);else if(_.code==="invalid_arguments")g(_.argumentsError);else if(_.path.length===0)y._errors.push(m(_));else{let R=y,B=0;for(;B<_.path.length;){const w=_.path[B];B===_.path.length-1?(R[w]=R[w]||{_errors:[]},R[w]._errors.push(m(_))):R[w]=R[w]||{_errors:[]},R=R[w],B++}}};return g(this),y}static assert(s){if(!(s instanceof Ao))throw new Error(`Not a ZodError: ${s}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(s=m=>m.message){const m={},y=[];for(const g of this.issues)g.path.length>0?(m[g.path[0]]=m[g.path[0]]||[],m[g.path[0]].push(s(g))):y.push(s(g));return{formErrors:y,fieldErrors:m}}get formErrors(){return this.flatten()}}Ao.create=d=>new Ao(d);const zv=(d,s)=>{let m;switch(d.code){case ye.invalid_type:d.received===Be.undefined?m="Required":m=`Expected ${d.expected}, received ${d.received}`;break;case ye.invalid_literal:m=`Invalid literal value, expected ${JSON.stringify(d.expected,Yt.jsonStringifyReplacer)}`;break;case ye.unrecognized_keys:m=`Unrecognized key(s) in object: ${Yt.joinValues(d.keys,", ")}`;break;case ye.invalid_union:m="Invalid input";break;case ye.invalid_union_discriminator:m=`Invalid discriminator value. Expected ${Yt.joinValues(d.options)}`;break;case ye.invalid_enum_value:m=`Invalid enum value. Expected ${Yt.joinValues(d.options)}, received '${d.received}'`;break;case ye.invalid_arguments:m="Invalid function arguments";break;case ye.invalid_return_type:m="Invalid function return type";break;case ye.invalid_date:m="Invalid date";break;case ye.invalid_string:typeof d.validation=="object"?"includes"in d.validation?(m=`Invalid input: must include "${d.validation.includes}"`,typeof d.validation.position=="number"&&(m=`${m} at one or more positions greater than or equal to ${d.validation.position}`)):"startsWith"in d.validation?m=`Invalid input: must start with "${d.validation.startsWith}"`:"endsWith"in d.validation?m=`Invalid input: must end with "${d.validation.endsWith}"`:Yt.assertNever(d.validation):d.validation!=="regex"?m=`Invalid ${d.validation}`:m="Invalid";break;case ye.too_small:d.type==="array"?m=`Array must contain ${d.exact?"exactly":d.inclusive?"at least":"more than"} ${d.minimum} element(s)`:d.type==="string"?m=`String must contain ${d.exact?"exactly":d.inclusive?"at least":"over"} ${d.minimum} character(s)`:d.type==="number"?m=`Number must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${d.minimum}`:d.type==="date"?m=`Date must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(d.minimum))}`:m="Invalid input";break;case ye.too_big:d.type==="array"?m=`Array must contain ${d.exact?"exactly":d.inclusive?"at most":"less than"} ${d.maximum} element(s)`:d.type==="string"?m=`String must contain ${d.exact?"exactly":d.inclusive?"at most":"under"} ${d.maximum} character(s)`:d.type==="number"?m=`Number must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="bigint"?m=`BigInt must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="date"?m=`Date must be ${d.exact?"exactly":d.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(d.maximum))}`:m="Invalid input";break;case ye.custom:m="Invalid input";break;case ye.invalid_intersection_types:m="Intersection results could not be merged";break;case ye.not_multiple_of:m=`Number must be a multiple of ${d.multipleOf}`;break;case ye.not_finite:m="Number must be finite";break;default:m=s.defaultError,Yt.assertNever(d)}return{message:m}};let nE=zv;function lE(){return nE}const iE=d=>{const{data:s,path:m,errorMaps:y,issueData:g}=d,v=[...m,...g.path||[]],_={...g,path:v};if(g.message!==void 0)return{...g,path:v,message:g.message};let R="";const B=y.filter(w=>!!w).slice().reverse();for(const w of B)R=w(_,{data:s,defaultError:R}).message;return{...g,path:v,message:R}};function we(d,s){const m=lE(),y=iE({issueData:s,data:d.data,path:d.path,errorMaps:[d.common.contextualErrorMap,d.schemaErrorMap,m,m===zv?void 0:zv].filter(g=>!!g)});d.common.issues.push(y)}class Bl{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(s,m){const y=[];for(const g of m){if(g.status==="aborted")return nt;g.status==="dirty"&&s.dirty(),y.push(g.value)}return{status:s.value,value:y}}static async mergeObjectAsync(s,m){const y=[];for(const g of m){const v=await g.key,_=await g.value;y.push({key:v,value:_})}return Bl.mergeObjectSync(s,y)}static mergeObjectSync(s,m){const y={};for(const g of m){const{key:v,value:_}=g;if(v.status==="aborted"||_.status==="aborted")return nt;v.status==="dirty"&&s.dirty(),_.status==="dirty"&&s.dirty(),v.value!=="__proto__"&&(typeof _.value<"u"||g.alwaysSet)&&(y[v.value]=_.value)}return{status:s.value,value:y}}}const nt=Object.freeze({status:"aborted"}),pm=d=>({status:"dirty",value:d}),mi=d=>({status:"valid",value:d}),j1=d=>d.status==="aborted",B1=d=>d.status==="dirty",Zf=d=>d.status==="valid",Eg=d=>typeof Promise<"u"&&d instanceof Promise;var Ve;(function(d){d.errToObj=s=>typeof s=="string"?{message:s}:s||{},d.toString=s=>typeof s=="string"?s:s==null?void 0:s.message})(Ve||(Ve={}));class Dr{constructor(s,m,y,g){this._cachedPath=[],this.parent=s,this.data=m,this._path=y,this._key=g}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const V1=(d,s)=>{if(Zf(s))return{success:!0,data:s.value};if(!d.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const m=new Ao(d.common.issues);return this._error=m,this._error}}};function Et(d){if(!d)return{};const{errorMap:s,invalid_type_error:m,required_error:y,description:g}=d;if(s&&(m||y))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return s?{errorMap:s,description:g}:{errorMap:(_,R)=>{const{message:B}=d;return _.code==="invalid_enum_value"?{message:B??R.defaultError}:typeof R.data>"u"?{message:B??y??R.defaultError}:_.code!=="invalid_type"?{message:R.defaultError}:{message:B??m??R.defaultError}},description:g}}class jt{get description(){return this._def.description}_getType(s){return zr(s.data)}_getOrReturnCtx(s,m){return m||{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}_processInputParams(s){return{status:new Bl,ctx:{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}}_parseSync(s){const m=this._parse(s);if(Eg(m))throw new Error("Synchronous parse encountered promise.");return m}_parseAsync(s){const m=this._parse(s);return Promise.resolve(m)}parse(s,m){const y=this.safeParse(s,m);if(y.success)return y.data;throw y.error}safeParse(s,m){const y={common:{issues:[],async:(m==null?void 0:m.async)??!1,contextualErrorMap:m==null?void 0:m.errorMap},path:(m==null?void 0:m.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parseSync({data:s,path:y.path,parent:y});return V1(y,g)}"~validate"(s){var y,g;const m={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)};if(!this["~standard"].async)try{const v=this._parseSync({data:s,path:[],parent:m});return Zf(v)?{value:v.value}:{issues:m.common.issues}}catch(v){(g=(y=v==null?void 0:v.message)==null?void 0:y.toLowerCase())!=null&&g.includes("encountered")&&(this["~standard"].async=!0),m.common={issues:[],async:!0}}return this._parseAsync({data:s,path:[],parent:m}).then(v=>Zf(v)?{value:v.value}:{issues:m.common.issues})}async parseAsync(s,m){const y=await this.safeParseAsync(s,m);if(y.success)return y.data;throw y.error}async safeParseAsync(s,m){const y={common:{issues:[],contextualErrorMap:m==null?void 0:m.errorMap,async:!0},path:(m==null?void 0:m.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parse({data:s,path:y.path,parent:y}),v=await(Eg(g)?g:Promise.resolve(g));return V1(y,v)}refine(s,m){const y=g=>typeof m=="string"||typeof m>"u"?{message:m}:typeof m=="function"?m(g):m;return this._refinement((g,v)=>{const _=s(g),R=()=>v.addIssue({code:ye.custom,...y(g)});return typeof Promise<"u"&&_ instanceof Promise?_.then(B=>B?!0:(R(),!1)):_?!0:(R(),!1)})}refinement(s,m){return this._refinement((y,g)=>s(y)?!0:(g.addIssue(typeof m=="function"?m(y,g):m),!1))}_refinement(s){return new Kf({schema:this,typeName:lt.ZodEffects,effect:{type:"refinement",refinement:s}})}superRefine(s){return this._refinement(s)}constructor(s){this.spa=this.safeParseAsync,this._def=s,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:m=>this["~validate"](m)}}optional(){return Ur.create(this,this._def)}nullable(){return Jf.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Uu.create(this)}promise(){return Rg.create(this,this._def)}or(s){return wg.create([this,s],this._def)}and(s){return Ag.create(this,s,this._def)}transform(s){return new Kf({...Et(this._def),schema:this,typeName:lt.ZodEffects,effect:{type:"transform",transform:s}})}default(s){const m=typeof s=="function"?s:()=>s;return new Cv({...Et(this._def),innerType:this,defaultValue:m,typeName:lt.ZodDefault})}brand(){return new OE({typeName:lt.ZodBranded,type:this,...Et(this._def)})}catch(s){const m=typeof s=="function"?s:()=>s;return new Uv({...Et(this._def),innerType:this,catchValue:m,typeName:lt.ZodCatch})}describe(s){const m=this.constructor;return new m({...this._def,description:s})}pipe(s){return Nv.create(this,s)}readonly(){return Hv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const uE=/^c[^\s-]{8,}$/i,oE=/^[0-9a-z]+$/,rE=/^[0-9A-HJKMNP-TV-Z]{26}$/i,cE=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,sE=/^[a-z0-9_-]{21}$/i,fE=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,dE=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,hE=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,mE="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Dv;const yE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,pE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,gE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,vE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,bE=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,SE=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,L1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",TE=new RegExp(`^${L1}$`);function q1(d){let s="[0-5]\\d";d.precision?s=`${s}\\.\\d{${d.precision}}`:d.precision==null&&(s=`${s}(\\.\\d+)?`);const m=d.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${s})${m}`}function xE(d){return new RegExp(`^${q1(d)}$`)}function EE(d){let s=`${L1}T${q1(d)}`;const m=[];return m.push(d.local?"Z?":"Z"),d.offset&&m.push("([+-]\\d{2}:?\\d{2})"),s=`${s}(${m.join("|")})`,new RegExp(`^${s}$`)}function _E(d,s){return!!((s==="v4"||!s)&&yE.test(d)||(s==="v6"||!s)&&gE.test(d))}function wE(d,s){if(!fE.test(d))return!1;try{const[m]=d.split("."),y=m.replace(/-/g,"+").replace(/_/g,"/").padEnd(m.length+(4-m.length%4)%4,"="),g=JSON.parse(atob(y));return!(typeof g!="object"||g===null||"typ"in g&&(g==null?void 0:g.typ)!=="JWT"||!g.alg||s&&g.alg!==s)}catch{return!1}}function AE(d,s){return!!((s==="v4"||!s)&&pE.test(d)||(s==="v6"||!s)&&vE.test(d))}class Mr extends jt{_parse(s){if(this._def.coerce&&(s.data=String(s.data)),this._getType(s)!==Be.string){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:Be.string,received:v.parsedType}),nt}const y=new Bl;let g;for(const v of this._def.checks)if(v.kind==="min")s.data.length<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="max")s.data.length>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="length"){const _=s.data.length>v.value,R=s.data.length<v.value;(_||R)&&(g=this._getOrReturnCtx(s,g),_?we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}):R&&we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}),y.dirty())}else if(v.kind==="email")hE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"email",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="emoji")Dv||(Dv=new RegExp(mE,"u")),Dv.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"emoji",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="uuid")cE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"uuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="nanoid")sE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"nanoid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid")uE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid2")oE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid2",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="ulid")rE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ulid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="url")try{new URL(s.data)}catch{g=this._getOrReturnCtx(s,g),we(g,{validation:"url",code:ye.invalid_string,message:v.message}),y.dirty()}else v.kind==="regex"?(v.regex.lastIndex=0,v.regex.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"regex",code:ye.invalid_string,message:v.message}),y.dirty())):v.kind==="trim"?s.data=s.data.trim():v.kind==="includes"?s.data.includes(v.value,v.position)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{includes:v.value,position:v.position},message:v.message}),y.dirty()):v.kind==="toLowerCase"?s.data=s.data.toLowerCase():v.kind==="toUpperCase"?s.data=s.data.toUpperCase():v.kind==="startsWith"?s.data.startsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{startsWith:v.value},message:v.message}),y.dirty()):v.kind==="endsWith"?s.data.endsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{endsWith:v.value},message:v.message}),y.dirty()):v.kind==="datetime"?EE(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"datetime",message:v.message}),y.dirty()):v.kind==="date"?TE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"date",message:v.message}),y.dirty()):v.kind==="time"?xE(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"time",message:v.message}),y.dirty()):v.kind==="duration"?dE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"duration",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="ip"?_E(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ip",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="jwt"?wE(s.data,v.alg)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"jwt",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="cidr"?AE(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cidr",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64"?bE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64url"?SE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64url",code:ye.invalid_string,message:v.message}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:s.data}}_regex(s,m,y){return this.refinement(g=>s.test(g),{validation:m,code:ye.invalid_string,...Ve.errToObj(y)})}_addCheck(s){return new Mr({...this._def,checks:[...this._def.checks,s]})}email(s){return this._addCheck({kind:"email",...Ve.errToObj(s)})}url(s){return this._addCheck({kind:"url",...Ve.errToObj(s)})}emoji(s){return this._addCheck({kind:"emoji",...Ve.errToObj(s)})}uuid(s){return this._addCheck({kind:"uuid",...Ve.errToObj(s)})}nanoid(s){return this._addCheck({kind:"nanoid",...Ve.errToObj(s)})}cuid(s){return this._addCheck({kind:"cuid",...Ve.errToObj(s)})}cuid2(s){return this._addCheck({kind:"cuid2",...Ve.errToObj(s)})}ulid(s){return this._addCheck({kind:"ulid",...Ve.errToObj(s)})}base64(s){return this._addCheck({kind:"base64",...Ve.errToObj(s)})}base64url(s){return this._addCheck({kind:"base64url",...Ve.errToObj(s)})}jwt(s){return this._addCheck({kind:"jwt",...Ve.errToObj(s)})}ip(s){return this._addCheck({kind:"ip",...Ve.errToObj(s)})}cidr(s){return this._addCheck({kind:"cidr",...Ve.errToObj(s)})}datetime(s){return typeof s=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:s}):this._addCheck({kind:"datetime",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,offset:(s==null?void 0:s.offset)??!1,local:(s==null?void 0:s.local)??!1,...Ve.errToObj(s==null?void 0:s.message)})}date(s){return this._addCheck({kind:"date",message:s})}time(s){return typeof s=="string"?this._addCheck({kind:"time",precision:null,message:s}):this._addCheck({kind:"time",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,...Ve.errToObj(s==null?void 0:s.message)})}duration(s){return this._addCheck({kind:"duration",...Ve.errToObj(s)})}regex(s,m){return this._addCheck({kind:"regex",regex:s,...Ve.errToObj(m)})}includes(s,m){return this._addCheck({kind:"includes",value:s,position:m==null?void 0:m.position,...Ve.errToObj(m==null?void 0:m.message)})}startsWith(s,m){return this._addCheck({kind:"startsWith",value:s,...Ve.errToObj(m)})}endsWith(s,m){return this._addCheck({kind:"endsWith",value:s,...Ve.errToObj(m)})}min(s,m){return this._addCheck({kind:"min",value:s,...Ve.errToObj(m)})}max(s,m){return this._addCheck({kind:"max",value:s,...Ve.errToObj(m)})}length(s,m){return this._addCheck({kind:"length",value:s,...Ve.errToObj(m)})}nonempty(s){return this.min(1,Ve.errToObj(s))}trim(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(s=>s.kind==="datetime")}get isDate(){return!!this._def.checks.find(s=>s.kind==="date")}get isTime(){return!!this._def.checks.find(s=>s.kind==="time")}get isDuration(){return!!this._def.checks.find(s=>s.kind==="duration")}get isEmail(){return!!this._def.checks.find(s=>s.kind==="email")}get isURL(){return!!this._def.checks.find(s=>s.kind==="url")}get isEmoji(){return!!this._def.checks.find(s=>s.kind==="emoji")}get isUUID(){return!!this._def.checks.find(s=>s.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(s=>s.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(s=>s.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(s=>s.kind==="cuid2")}get isULID(){return!!this._def.checks.find(s=>s.kind==="ulid")}get isIP(){return!!this._def.checks.find(s=>s.kind==="ip")}get isCIDR(){return!!this._def.checks.find(s=>s.kind==="cidr")}get isBase64(){return!!this._def.checks.find(s=>s.kind==="base64")}get isBase64url(){return!!this._def.checks.find(s=>s.kind==="base64url")}get minLength(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s}get maxLength(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s}}Mr.create=d=>new Mr({checks:[],typeName:lt.ZodString,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});function RE(d,s){const m=(d.toString().split(".")[1]||"").length,y=(s.toString().split(".")[1]||"").length,g=m>y?m:y,v=Number.parseInt(d.toFixed(g).replace(".","")),_=Number.parseInt(s.toFixed(g).replace(".",""));return v%_/10**g}class gm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(s){if(this._def.coerce&&(s.data=Number(s.data)),this._getType(s)!==Be.number){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:Be.number,received:v.parsedType}),nt}let y;const g=new Bl;for(const v of this._def.checks)v.kind==="int"?Yt.isInteger(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.invalid_type,expected:"integer",received:"float",message:v.message}),g.dirty()):v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,minimum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,maximum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="multipleOf"?RE(s.data,v.value)!==0&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):v.kind==="finite"?Number.isFinite(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_finite,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}gte(s,m){return this.setLimit("min",s,!0,Ve.toString(m))}gt(s,m){return this.setLimit("min",s,!1,Ve.toString(m))}lte(s,m){return this.setLimit("max",s,!0,Ve.toString(m))}lt(s,m){return this.setLimit("max",s,!1,Ve.toString(m))}setLimit(s,m,y,g){return new gm({...this._def,checks:[...this._def.checks,{kind:s,value:m,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new gm({...this._def,checks:[...this._def.checks,s]})}int(s){return this._addCheck({kind:"int",message:Ve.toString(s)})}positive(s){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ve.toString(s)})}multipleOf(s,m){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(m)})}finite(s){return this._addCheck({kind:"finite",message:Ve.toString(s)})}safe(s){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ve.toString(s)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ve.toString(s)})}get minValue(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s}get maxValue(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s}get isInt(){return!!this._def.checks.find(s=>s.kind==="int"||s.kind==="multipleOf"&&Yt.isInteger(s.value))}get isFinite(){let s=null,m=null;for(const y of this._def.checks){if(y.kind==="finite"||y.kind==="int"||y.kind==="multipleOf")return!0;y.kind==="min"?(m===null||y.value>m)&&(m=y.value):y.kind==="max"&&(s===null||y.value<s)&&(s=y.value)}return Number.isFinite(m)&&Number.isFinite(s)}}gm.create=d=>new gm({checks:[],typeName:lt.ZodNumber,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class vm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(s){if(this._def.coerce)try{s.data=BigInt(s.data)}catch{return this._getInvalidInput(s)}if(this._getType(s)!==Be.bigint)return this._getInvalidInput(s);let y;const g=new Bl;for(const v of this._def.checks)v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,type:"bigint",minimum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,type:"bigint",maximum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="multipleOf"?s.data%v.value!==BigInt(0)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}_getInvalidInput(s){const m=this._getOrReturnCtx(s);return we(m,{code:ye.invalid_type,expected:Be.bigint,received:m.parsedType}),nt}gte(s,m){return this.setLimit("min",s,!0,Ve.toString(m))}gt(s,m){return this.setLimit("min",s,!1,Ve.toString(m))}lte(s,m){return this.setLimit("max",s,!0,Ve.toString(m))}lt(s,m){return this.setLimit("max",s,!1,Ve.toString(m))}setLimit(s,m,y,g){return new vm({...this._def,checks:[...this._def.checks,{kind:s,value:m,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new vm({...this._def,checks:[...this._def.checks,s]})}positive(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}multipleOf(s,m){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(m)})}get minValue(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s}get maxValue(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s}}vm.create=d=>new vm({checks:[],typeName:lt.ZodBigInt,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});class Y1 extends jt{_parse(s){if(this._def.coerce&&(s.data=!!s.data),this._getType(s)!==Be.boolean){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.boolean,received:y.parsedType}),nt}return mi(s.data)}}Y1.create=d=>new Y1({typeName:lt.ZodBoolean,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class _g extends jt{_parse(s){if(this._def.coerce&&(s.data=new Date(s.data)),this._getType(s)!==Be.date){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:Be.date,received:v.parsedType}),nt}if(Number.isNaN(s.data.getTime())){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_date}),nt}const y=new Bl;let g;for(const v of this._def.checks)v.kind==="min"?s.data.getTime()<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,message:v.message,inclusive:!0,exact:!1,minimum:v.value,type:"date"}),y.dirty()):v.kind==="max"?s.data.getTime()>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,message:v.message,inclusive:!0,exact:!1,maximum:v.value,type:"date"}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:new Date(s.data.getTime())}}_addCheck(s){return new _g({...this._def,checks:[...this._def.checks,s]})}min(s,m){return this._addCheck({kind:"min",value:s.getTime(),message:Ve.toString(m)})}max(s,m){return this._addCheck({kind:"max",value:s.getTime(),message:Ve.toString(m)})}get minDate(){let s=null;for(const m of this._def.checks)m.kind==="min"&&(s===null||m.value>s)&&(s=m.value);return s!=null?new Date(s):null}get maxDate(){let s=null;for(const m of this._def.checks)m.kind==="max"&&(s===null||m.value<s)&&(s=m.value);return s!=null?new Date(s):null}}_g.create=d=>new _g({checks:[],coerce:(d==null?void 0:d.coerce)||!1,typeName:lt.ZodDate,...Et(d)});class G1 extends jt{_parse(s){if(this._getType(s)!==Be.symbol){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.symbol,received:y.parsedType}),nt}return mi(s.data)}}G1.create=d=>new G1({typeName:lt.ZodSymbol,...Et(d)});class Z1 extends jt{_parse(s){if(this._getType(s)!==Be.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.undefined,received:y.parsedType}),nt}return mi(s.data)}}Z1.create=d=>new Z1({typeName:lt.ZodUndefined,...Et(d)});class X1 extends jt{_parse(s){if(this._getType(s)!==Be.null){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.null,received:y.parsedType}),nt}return mi(s.data)}}X1.create=d=>new X1({typeName:lt.ZodNull,...Et(d)});class Q1 extends jt{constructor(){super(...arguments),this._any=!0}_parse(s){return mi(s.data)}}Q1.create=d=>new Q1({typeName:lt.ZodAny,...Et(d)});class K1 extends jt{constructor(){super(...arguments),this._unknown=!0}_parse(s){return mi(s.data)}}K1.create=d=>new K1({typeName:lt.ZodUnknown,...Et(d)});class Cr extends jt{_parse(s){const m=this._getOrReturnCtx(s);return we(m,{code:ye.invalid_type,expected:Be.never,received:m.parsedType}),nt}}Cr.create=d=>new Cr({typeName:lt.ZodNever,...Et(d)});class J1 extends jt{_parse(s){if(this._getType(s)!==Be.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.void,received:y.parsedType}),nt}return mi(s.data)}}J1.create=d=>new J1({typeName:lt.ZodVoid,...Et(d)});class Uu extends jt{_parse(s){const{ctx:m,status:y}=this._processInputParams(s),g=this._def;if(m.parsedType!==Be.array)return we(m,{code:ye.invalid_type,expected:Be.array,received:m.parsedType}),nt;if(g.exactLength!==null){const _=m.data.length>g.exactLength.value,R=m.data.length<g.exactLength.value;(_||R)&&(we(m,{code:_?ye.too_big:ye.too_small,minimum:R?g.exactLength.value:void 0,maximum:_?g.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:g.exactLength.message}),y.dirty())}if(g.minLength!==null&&m.data.length<g.minLength.value&&(we(m,{code:ye.too_small,minimum:g.minLength.value,type:"array",inclusive:!0,exact:!1,message:g.minLength.message}),y.dirty()),g.maxLength!==null&&m.data.length>g.maxLength.value&&(we(m,{code:ye.too_big,maximum:g.maxLength.value,type:"array",inclusive:!0,exact:!1,message:g.maxLength.message}),y.dirty()),m.common.async)return Promise.all([...m.data].map((_,R)=>g.type._parseAsync(new Dr(m,_,m.path,R)))).then(_=>Bl.mergeArray(y,_));const v=[...m.data].map((_,R)=>g.type._parseSync(new Dr(m,_,m.path,R)));return Bl.mergeArray(y,v)}get element(){return this._def.type}min(s,m){return new Uu({...this._def,minLength:{value:s,message:Ve.toString(m)}})}max(s,m){return new Uu({...this._def,maxLength:{value:s,message:Ve.toString(m)}})}length(s,m){return new Uu({...this._def,exactLength:{value:s,message:Ve.toString(m)}})}nonempty(s){return this.min(1,s)}}Uu.create=(d,s)=>new Uu({type:d,minLength:null,maxLength:null,exactLength:null,typeName:lt.ZodArray,...Et(s)});function Xf(d){if(d instanceof La){const s={};for(const m in d.shape){const y=d.shape[m];s[m]=Ur.create(Xf(y))}return new La({...d._def,shape:()=>s})}else return d instanceof Uu?new Uu({...d._def,type:Xf(d.element)}):d instanceof Ur?Ur.create(Xf(d.unwrap())):d instanceof Jf?Jf.create(Xf(d.unwrap())):d instanceof ls?ls.create(d.items.map(s=>Xf(s))):d}class La extends jt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const s=this._def.shape(),m=Yt.objectKeys(s);return this._cached={shape:s,keys:m},this._cached}_parse(s){if(this._getType(s)!==Be.object){const w=this._getOrReturnCtx(s);return we(w,{code:ye.invalid_type,expected:Be.object,received:w.parsedType}),nt}const{status:y,ctx:g}=this._processInputParams(s),{shape:v,keys:_}=this._getCached(),R=[];if(!(this._def.catchall instanceof Cr&&this._def.unknownKeys==="strip"))for(const w in g.data)_.includes(w)||R.push(w);const B=[];for(const w of _){const X=v[w],de=g.data[w];B.push({key:{status:"valid",value:w},value:X._parse(new Dr(g,de,g.path,w)),alwaysSet:w in g.data})}if(this._def.catchall instanceof Cr){const w=this._def.unknownKeys;if(w==="passthrough")for(const X of R)B.push({key:{status:"valid",value:X},value:{status:"valid",value:g.data[X]}});else if(w==="strict")R.length>0&&(we(g,{code:ye.unrecognized_keys,keys:R}),y.dirty());else if(w!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const w=this._def.catchall;for(const X of R){const de=g.data[X];B.push({key:{status:"valid",value:X},value:w._parse(new Dr(g,de,g.path,X)),alwaysSet:X in g.data})}}return g.common.async?Promise.resolve().then(async()=>{const w=[];for(const X of B){const de=await X.key,V=await X.value;w.push({key:de,value:V,alwaysSet:X.alwaysSet})}return w}).then(w=>Bl.mergeObjectSync(y,w)):Bl.mergeObjectSync(y,B)}get shape(){return this._def.shape()}strict(s){return Ve.errToObj,new La({...this._def,unknownKeys:"strict",...s!==void 0?{errorMap:(m,y)=>{var v,_;const g=((_=(v=this._def).errorMap)==null?void 0:_.call(v,m,y).message)??y.defaultError;return m.code==="unrecognized_keys"?{message:Ve.errToObj(s).message??g}:{message:g}}}:{}})}strip(){return new La({...this._def,unknownKeys:"strip"})}passthrough(){return new La({...this._def,unknownKeys:"passthrough"})}extend(s){return new La({...this._def,shape:()=>({...this._def.shape(),...s})})}merge(s){return new La({unknownKeys:s._def.unknownKeys,catchall:s._def.catchall,shape:()=>({...this._def.shape(),...s._def.shape()}),typeName:lt.ZodObject})}setKey(s,m){return this.augment({[s]:m})}catchall(s){return new La({...this._def,catchall:s})}pick(s){const m={};for(const y of Yt.objectKeys(s))s[y]&&this.shape[y]&&(m[y]=this.shape[y]);return new La({...this._def,shape:()=>m})}omit(s){const m={};for(const y of Yt.objectKeys(this.shape))s[y]||(m[y]=this.shape[y]);return new La({...this._def,shape:()=>m})}deepPartial(){return Xf(this)}partial(s){const m={};for(const y of Yt.objectKeys(this.shape)){const g=this.shape[y];s&&!s[y]?m[y]=g:m[y]=g.optional()}return new La({...this._def,shape:()=>m})}required(s){const m={};for(const y of Yt.objectKeys(this.shape))if(s&&!s[y])m[y]=this.shape[y];else{let v=this.shape[y];for(;v instanceof Ur;)v=v._def.innerType;m[y]=v}return new La({...this._def,shape:()=>m})}keyof(){return I1(Yt.objectKeys(this.shape))}}La.create=(d,s)=>new La({shape:()=>d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),La.strictCreate=(d,s)=>new La({shape:()=>d,unknownKeys:"strict",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),La.lazycreate=(d,s)=>new La({shape:d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)});class wg extends jt{_parse(s){const{ctx:m}=this._processInputParams(s),y=this._def.options;function g(v){for(const R of v)if(R.result.status==="valid")return R.result;for(const R of v)if(R.result.status==="dirty")return m.common.issues.push(...R.ctx.common.issues),R.result;const _=v.map(R=>new Ao(R.ctx.common.issues));return we(m,{code:ye.invalid_union,unionErrors:_}),nt}if(m.common.async)return Promise.all(y.map(async v=>{const _={...m,common:{...m.common,issues:[]},parent:null};return{result:await v._parseAsync({data:m.data,path:m.path,parent:_}),ctx:_}})).then(g);{let v;const _=[];for(const B of y){const w={...m,common:{...m.common,issues:[]},parent:null},X=B._parseSync({data:m.data,path:m.path,parent:w});if(X.status==="valid")return X;X.status==="dirty"&&!v&&(v={result:X,ctx:w}),w.common.issues.length&&_.push(w.common.issues)}if(v)return m.common.issues.push(...v.ctx.common.issues),v.result;const R=_.map(B=>new Ao(B));return we(m,{code:ye.invalid_union,unionErrors:R}),nt}}get options(){return this._def.options}}wg.create=(d,s)=>new wg({options:d,typeName:lt.ZodUnion,...Et(s)});function Mv(d,s){const m=zr(d),y=zr(s);if(d===s)return{valid:!0,data:d};if(m===Be.object&&y===Be.object){const g=Yt.objectKeys(s),v=Yt.objectKeys(d).filter(R=>g.indexOf(R)!==-1),_={...d,...s};for(const R of v){const B=Mv(d[R],s[R]);if(!B.valid)return{valid:!1};_[R]=B.data}return{valid:!0,data:_}}else if(m===Be.array&&y===Be.array){if(d.length!==s.length)return{valid:!1};const g=[];for(let v=0;v<d.length;v++){const _=d[v],R=s[v],B=Mv(_,R);if(!B.valid)return{valid:!1};g.push(B.data)}return{valid:!0,data:g}}else return m===Be.date&&y===Be.date&&+d==+s?{valid:!0,data:d}:{valid:!1}}class Ag extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s),g=(v,_)=>{if(j1(v)||j1(_))return nt;const R=Mv(v.value,_.value);return R.valid?((B1(v)||B1(_))&&m.dirty(),{status:m.value,value:R.data}):(we(y,{code:ye.invalid_intersection_types}),nt)};return y.common.async?Promise.all([this._def.left._parseAsync({data:y.data,path:y.path,parent:y}),this._def.right._parseAsync({data:y.data,path:y.path,parent:y})]).then(([v,_])=>g(v,_)):g(this._def.left._parseSync({data:y.data,path:y.path,parent:y}),this._def.right._parseSync({data:y.data,path:y.path,parent:y}))}}Ag.create=(d,s,m)=>new Ag({left:d,right:s,typeName:lt.ZodIntersection,...Et(m)});class ls extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.parsedType!==Be.array)return we(y,{code:ye.invalid_type,expected:Be.array,received:y.parsedType}),nt;if(y.data.length<this._def.items.length)return we(y,{code:ye.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),nt;!this._def.rest&&y.data.length>this._def.items.length&&(we(y,{code:ye.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),m.dirty());const v=[...y.data].map((_,R)=>{const B=this._def.items[R]||this._def.rest;return B?B._parse(new Dr(y,_,y.path,R)):null}).filter(_=>!!_);return y.common.async?Promise.all(v).then(_=>Bl.mergeArray(m,_)):Bl.mergeArray(m,v)}get items(){return this._def.items}rest(s){return new ls({...this._def,rest:s})}}ls.create=(d,s)=>{if(!Array.isArray(d))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ls({items:d,typeName:lt.ZodTuple,rest:null,...Et(s)})};class $1 extends jt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.parsedType!==Be.map)return we(y,{code:ye.invalid_type,expected:Be.map,received:y.parsedType}),nt;const g=this._def.keyType,v=this._def.valueType,_=[...y.data.entries()].map(([R,B],w)=>({key:g._parse(new Dr(y,R,y.path,[w,"key"])),value:v._parse(new Dr(y,B,y.path,[w,"value"]))}));if(y.common.async){const R=new Map;return Promise.resolve().then(async()=>{for(const B of _){const w=await B.key,X=await B.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&m.dirty(),R.set(w.value,X.value)}return{status:m.value,value:R}})}else{const R=new Map;for(const B of _){const w=B.key,X=B.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&m.dirty(),R.set(w.value,X.value)}return{status:m.value,value:R}}}}$1.create=(d,s,m)=>new $1({valueType:s,keyType:d,typeName:lt.ZodMap,...Et(m)});class bm extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.parsedType!==Be.set)return we(y,{code:ye.invalid_type,expected:Be.set,received:y.parsedType}),nt;const g=this._def;g.minSize!==null&&y.data.size<g.minSize.value&&(we(y,{code:ye.too_small,minimum:g.minSize.value,type:"set",inclusive:!0,exact:!1,message:g.minSize.message}),m.dirty()),g.maxSize!==null&&y.data.size>g.maxSize.value&&(we(y,{code:ye.too_big,maximum:g.maxSize.value,type:"set",inclusive:!0,exact:!1,message:g.maxSize.message}),m.dirty());const v=this._def.valueType;function _(B){const w=new Set;for(const X of B){if(X.status==="aborted")return nt;X.status==="dirty"&&m.dirty(),w.add(X.value)}return{status:m.value,value:w}}const R=[...y.data.values()].map((B,w)=>v._parse(new Dr(y,B,y.path,w)));return y.common.async?Promise.all(R).then(B=>_(B)):_(R)}min(s,m){return new bm({...this._def,minSize:{value:s,message:Ve.toString(m)}})}max(s,m){return new bm({...this._def,maxSize:{value:s,message:Ve.toString(m)}})}size(s,m){return this.min(s,m).max(s,m)}nonempty(s){return this.min(1,s)}}bm.create=(d,s)=>new bm({valueType:d,minSize:null,maxSize:null,typeName:lt.ZodSet,...Et(s)});class W1 extends jt{get schema(){return this._def.getter()}_parse(s){const{ctx:m}=this._processInputParams(s);return this._def.getter()._parse({data:m.data,path:m.path,parent:m})}}W1.create=(d,s)=>new W1({getter:d,typeName:lt.ZodLazy,...Et(s)});class F1 extends jt{_parse(s){if(s.data!==this._def.value){const m=this._getOrReturnCtx(s);return we(m,{received:m.data,code:ye.invalid_literal,expected:this._def.value}),nt}return{status:"valid",value:s.data}}get value(){return this._def.value}}F1.create=(d,s)=>new F1({value:d,typeName:lt.ZodLiteral,...Et(s)});function I1(d,s){return new Qf({values:d,typeName:lt.ZodEnum,...Et(s)})}class Qf extends jt{_parse(s){if(typeof s.data!="string"){const m=this._getOrReturnCtx(s),y=this._def.values;return we(m,{expected:Yt.joinValues(y),received:m.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(s.data)){const m=this._getOrReturnCtx(s),y=this._def.values;return we(m,{received:m.data,code:ye.invalid_enum_value,options:y}),nt}return mi(s.data)}get options(){return this._def.values}get enum(){const s={};for(const m of this._def.values)s[m]=m;return s}get Values(){const s={};for(const m of this._def.values)s[m]=m;return s}get Enum(){const s={};for(const m of this._def.values)s[m]=m;return s}extract(s,m=this._def){return Qf.create(s,{...this._def,...m})}exclude(s,m=this._def){return Qf.create(this.options.filter(y=>!s.includes(y)),{...this._def,...m})}}Qf.create=I1;class P1 extends jt{_parse(s){const m=Yt.getValidEnumValues(this._def.values),y=this._getOrReturnCtx(s);if(y.parsedType!==Be.string&&y.parsedType!==Be.number){const g=Yt.objectValues(m);return we(y,{expected:Yt.joinValues(g),received:y.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(Yt.getValidEnumValues(this._def.values))),!this._cache.has(s.data)){const g=Yt.objectValues(m);return we(y,{received:y.data,code:ye.invalid_enum_value,options:g}),nt}return mi(s.data)}get enum(){return this._def.values}}P1.create=(d,s)=>new P1({values:d,typeName:lt.ZodNativeEnum,...Et(s)});class Rg extends jt{unwrap(){return this._def.type}_parse(s){const{ctx:m}=this._processInputParams(s);if(m.parsedType!==Be.promise&&m.common.async===!1)return we(m,{code:ye.invalid_type,expected:Be.promise,received:m.parsedType}),nt;const y=m.parsedType===Be.promise?m.data:Promise.resolve(m.data);return mi(y.then(g=>this._def.type.parseAsync(g,{path:m.path,errorMap:m.common.contextualErrorMap})))}}Rg.create=(d,s)=>new Rg({type:d,typeName:lt.ZodPromise,...Et(s)});class Kf extends jt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(s){const{status:m,ctx:y}=this._processInputParams(s),g=this._def.effect||null,v={addIssue:_=>{we(y,_),_.fatal?m.abort():m.dirty()},get path(){return y.path}};if(v.addIssue=v.addIssue.bind(v),g.type==="preprocess"){const _=g.transform(y.data,v);if(y.common.async)return Promise.resolve(_).then(async R=>{if(m.value==="aborted")return nt;const B=await this._def.schema._parseAsync({data:R,path:y.path,parent:y});return B.status==="aborted"?nt:B.status==="dirty"||m.value==="dirty"?pm(B.value):B});{if(m.value==="aborted")return nt;const R=this._def.schema._parseSync({data:_,path:y.path,parent:y});return R.status==="aborted"?nt:R.status==="dirty"||m.value==="dirty"?pm(R.value):R}}if(g.type==="refinement"){const _=R=>{const B=g.refinement(R,v);if(y.common.async)return Promise.resolve(B);if(B instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return R};if(y.common.async===!1){const R=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});return R.status==="aborted"?nt:(R.status==="dirty"&&m.dirty(),_(R.value),{status:m.value,value:R.value})}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(R=>R.status==="aborted"?nt:(R.status==="dirty"&&m.dirty(),_(R.value).then(()=>({status:m.value,value:R.value}))))}if(g.type==="transform")if(y.common.async===!1){const _=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});if(!Zf(_))return nt;const R=g.transform(_.value,v);if(R instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:m.value,value:R}}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(_=>Zf(_)?Promise.resolve(g.transform(_.value,v)).then(R=>({status:m.value,value:R})):nt);Yt.assertNever(g)}}Kf.create=(d,s,m)=>new Kf({schema:d,typeName:lt.ZodEffects,effect:s,...Et(m)}),Kf.createWithPreprocess=(d,s,m)=>new Kf({schema:s,effect:{type:"preprocess",transform:d},typeName:lt.ZodEffects,...Et(m)});class Ur extends jt{_parse(s){return this._getType(s)===Be.undefined?mi(void 0):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Ur.create=(d,s)=>new Ur({innerType:d,typeName:lt.ZodOptional,...Et(s)});class Jf extends jt{_parse(s){return this._getType(s)===Be.null?mi(null):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Jf.create=(d,s)=>new Jf({innerType:d,typeName:lt.ZodNullable,...Et(s)});class Cv extends jt{_parse(s){const{ctx:m}=this._processInputParams(s);let y=m.data;return m.parsedType===Be.undefined&&(y=this._def.defaultValue()),this._def.innerType._parse({data:y,path:m.path,parent:m})}removeDefault(){return this._def.innerType}}Cv.create=(d,s)=>new Cv({innerType:d,typeName:lt.ZodDefault,defaultValue:typeof s.default=="function"?s.default:()=>s.default,...Et(s)});class Uv extends jt{_parse(s){const{ctx:m}=this._processInputParams(s),y={...m,common:{...m.common,issues:[]}},g=this._def.innerType._parse({data:y.data,path:y.path,parent:{...y}});return Eg(g)?g.then(v=>({status:"valid",value:v.status==="valid"?v.value:this._def.catchValue({get error(){return new Ao(y.common.issues)},input:y.data})})):{status:"valid",value:g.status==="valid"?g.value:this._def.catchValue({get error(){return new Ao(y.common.issues)},input:y.data})}}removeCatch(){return this._def.innerType}}Uv.create=(d,s)=>new Uv({innerType:d,typeName:lt.ZodCatch,catchValue:typeof s.catch=="function"?s.catch:()=>s.catch,...Et(s)});class eS extends jt{_parse(s){if(this._getType(s)!==Be.nan){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:Be.nan,received:y.parsedType}),nt}return{status:"valid",value:s.data}}}eS.create=d=>new eS({typeName:lt.ZodNaN,...Et(d)});class OE extends jt{_parse(s){const{ctx:m}=this._processInputParams(s),y=m.data;return this._def.type._parse({data:y,path:m.path,parent:m})}unwrap(){return this._def.type}}class Nv extends jt{_parse(s){const{status:m,ctx:y}=this._processInputParams(s);if(y.common.async)return(async()=>{const v=await this._def.in._parseAsync({data:y.data,path:y.path,parent:y});return v.status==="aborted"?nt:v.status==="dirty"?(m.dirty(),pm(v.value)):this._def.out._parseAsync({data:v.value,path:y.path,parent:y})})();{const g=this._def.in._parseSync({data:y.data,path:y.path,parent:y});return g.status==="aborted"?nt:g.status==="dirty"?(m.dirty(),{status:"dirty",value:g.value}):this._def.out._parseSync({data:g.value,path:y.path,parent:y})}}static create(s,m){return new Nv({in:s,out:m,typeName:lt.ZodPipeline})}}class Hv extends jt{_parse(s){const m=this._def.innerType._parse(s),y=g=>(Zf(g)&&(g.value=Object.freeze(g.value)),g);return Eg(m)?m.then(g=>y(g)):y(m)}unwrap(){return this._def.innerType}}Hv.create=(d,s)=>new Hv({innerType:d,typeName:lt.ZodReadonly,...Et(s)});var lt;(function(d){d.ZodString="ZodString",d.ZodNumber="ZodNumber",d.ZodNaN="ZodNaN",d.ZodBigInt="ZodBigInt",d.ZodBoolean="ZodBoolean",d.ZodDate="ZodDate",d.ZodSymbol="ZodSymbol",d.ZodUndefined="ZodUndefined",d.ZodNull="ZodNull",d.ZodAny="ZodAny",d.ZodUnknown="ZodUnknown",d.ZodNever="ZodNever",d.ZodVoid="ZodVoid",d.ZodArray="ZodArray",d.ZodObject="ZodObject",d.ZodUnion="ZodUnion",d.ZodDiscriminatedUnion="ZodDiscriminatedUnion",d.ZodIntersection="ZodIntersection",d.ZodTuple="ZodTuple",d.ZodRecord="ZodRecord",d.ZodMap="ZodMap",d.ZodSet="ZodSet",d.ZodFunction="ZodFunction",d.ZodLazy="ZodLazy",d.ZodLiteral="ZodLiteral",d.ZodEnum="ZodEnum",d.ZodEffects="ZodEffects",d.ZodNativeEnum="ZodNativeEnum",d.ZodOptional="ZodOptional",d.ZodNullable="ZodNullable",d.ZodDefault="ZodDefault",d.ZodCatch="ZodCatch",d.ZodPromise="ZodPromise",d.ZodBranded="ZodBranded",d.ZodPipeline="ZodPipeline",d.ZodReadonly="ZodReadonly"})(lt||(lt={}));const tS=Mr.create;Cr.create,Uu.create;const zE=La.create;wg.create,Ag.create,ls.create,Qf.create,Rg.create,Ur.create,Jf.create;const DE=zE({securityNumber:tS({required_error:"CPF é obrigatório."}).refine(d=>d.replace(/\D/g,"").length>=11,"CPF deve conter no mínimo 11 caracteres.").refine(d=>{const s=d.replace(/\D/g,"");return!!Number(s)},"CPF deve conter apenas números."),coupon:tS({required_error:"Cupom / ID do Cartão obrigatório."}).optional()}),ME=d=>{const s=d.replace(/\D/g,"");if(s.length<=11)return s.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1")};var Sm=d=>d.type==="checkbox",is=d=>d instanceof Date,Pn=d=>d==null;const aS=d=>typeof d=="object";var Ma=d=>!Pn(d)&&!Array.isArray(d)&&aS(d)&&!is(d),CE=d=>Ma(d)&&d.target?Sm(d.target)?d.target.checked:d.target.value:d,UE=d=>d.substring(0,d.search(/\.\d+(\.|$)/))||d,NE=(d,s)=>d.has(UE(s)),HE=d=>{const s=d.constructor&&d.constructor.prototype;return Ma(s)&&s.hasOwnProperty("isPrototypeOf")},kv=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function bn(d){let s;const m=Array.isArray(d),y=typeof FileList<"u"?d instanceof FileList:!1;if(d instanceof Date)s=new Date(d);else if(d instanceof Set)s=new Set(d);else if(!(kv&&(d instanceof Blob||y))&&(m||Ma(d)))if(s=m?[]:{},!m&&!HE(d))s=d;else for(const g in d)d.hasOwnProperty(g)&&(s[g]=bn(d[g]));else return d;return s}var Og=d=>/^\w*$/.test(d),Ca=d=>d===void 0,jv=d=>Array.isArray(d)?d.filter(Boolean):[],Bv=d=>jv(d.replace(/["|']|\]/g,"").split(/\.|\[/)),Ce=(d,s,m)=>{if(!s||!Ma(d))return m;const y=(Og(s)?[s]:Bv(s)).reduce((g,v)=>Pn(g)?g:g[v],d);return Ca(y)||y===d?Ca(d[s])?m:d[s]:y},Nu=d=>typeof d=="boolean",ta=(d,s,m)=>{let y=-1;const g=Og(s)?[s]:Bv(s),v=g.length,_=v-1;for(;++y<v;){const R=g[y];let B=m;if(y!==_){const w=d[R];B=Ma(w)||Array.isArray(w)?w:isNaN(+g[y+1])?{}:[]}if(R==="__proto__"||R==="constructor"||R==="prototype")return;d[R]=B,d=d[R]}};const nS={BLUR:"blur",FOCUS_OUT:"focusout"},Ki={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ro={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},kE=jl.createContext(null);kE.displayName="HookFormContext";var jE=(d,s,m,y=!0)=>{const g={defaultValues:s._defaultValues};for(const v in d)Object.defineProperty(g,v,{get:()=>{const _=v;return s._proxyFormState[_]!==Ki.all&&(s._proxyFormState[_]=!y||Ki.all),d[_]}});return g};const BE=typeof window<"u"?sn.useLayoutEffect:sn.useEffect;var Hu=d=>typeof d=="string",VE=(d,s,m,y,g)=>Hu(d)?(y&&s.watch.add(d),Ce(m,d,g)):Array.isArray(d)?d.map(v=>(y&&s.watch.add(v),Ce(m,v))):(y&&(s.watchAll=!0),m),Vv=(d,s,m,y,g)=>s?{...m[d],types:{...m[d]&&m[d].types?m[d].types:{},[y]:g||!0}}:{},Tm=d=>Array.isArray(d)?d:[d],lS=()=>{let d=[];return{get observers(){return d},next:g=>{for(const v of d)v.next&&v.next(g)},subscribe:g=>(d.push(g),{unsubscribe:()=>{d=d.filter(v=>v!==g)}}),unsubscribe:()=>{d=[]}}},Lv=d=>Pn(d)||!aS(d);function Nr(d,s,m=new WeakSet){if(Lv(d)||Lv(s))return d===s;if(is(d)&&is(s))return d.getTime()===s.getTime();const y=Object.keys(d),g=Object.keys(s);if(y.length!==g.length)return!1;if(m.has(d)||m.has(s))return!0;m.add(d),m.add(s);for(const v of y){const _=d[v];if(!g.includes(v))return!1;if(v!=="ref"){const R=s[v];if(is(_)&&is(R)||Ma(_)&&Ma(R)||Array.isArray(_)&&Array.isArray(R)?!Nr(_,R,m):_!==R)return!1}}return!0}var vl=d=>Ma(d)&&!Object.keys(d).length,qv=d=>d.type==="file",Ji=d=>typeof d=="function",zg=d=>{if(!kv)return!1;const s=d?d.ownerDocument:0;return d instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},iS=d=>d.type==="select-multiple",Yv=d=>d.type==="radio",LE=d=>Yv(d)||Sm(d),Gv=d=>zg(d)&&d.isConnected;function qE(d,s){const m=s.slice(0,-1).length;let y=0;for(;y<m;)d=Ca(d)?y++:d[s[y++]];return d}function YE(d){for(const s in d)if(d.hasOwnProperty(s)&&!Ca(d[s]))return!1;return!0}function qa(d,s){const m=Array.isArray(s)?s:Og(s)?[s]:Bv(s),y=m.length===1?d:qE(d,m),g=m.length-1,v=m[g];return y&&delete y[v],g!==0&&(Ma(y)&&vl(y)||Array.isArray(y)&&YE(y))&&qa(d,m.slice(0,-1)),d}var uS=d=>{for(const s in d)if(Ji(d[s]))return!0;return!1};function Dg(d,s={}){const m=Array.isArray(d);if(Ma(d)||m)for(const y in d)Array.isArray(d[y])||Ma(d[y])&&!uS(d[y])?(s[y]=Array.isArray(d[y])?[]:{},Dg(d[y],s[y])):Pn(d[y])||(s[y]=!0);return s}function oS(d,s,m){const y=Array.isArray(d);if(Ma(d)||y)for(const g in d)Array.isArray(d[g])||Ma(d[g])&&!uS(d[g])?Ca(s)||Lv(m[g])?m[g]=Array.isArray(d[g])?Dg(d[g],[]):{...Dg(d[g])}:oS(d[g],Pn(s)?{}:s[g],m[g]):m[g]=!Nr(d[g],s[g]);return m}var xm=(d,s)=>oS(d,s,Dg(s));const rS={value:!1,isValid:!1},cS={value:!0,isValid:!0};var sS=d=>{if(Array.isArray(d)){if(d.length>1){const s=d.filter(m=>m&&m.checked&&!m.disabled).map(m=>m.value);return{value:s,isValid:!!s.length}}return d[0].checked&&!d[0].disabled?d[0].attributes&&!Ca(d[0].attributes.value)?Ca(d[0].value)||d[0].value===""?cS:{value:d[0].value,isValid:!0}:cS:rS}return rS},fS=(d,{valueAsNumber:s,valueAsDate:m,setValueAs:y})=>Ca(d)?d:s?d===""?NaN:d&&+d:m&&Hu(d)?new Date(d):y?y(d):d;const dS={isValid:!1,value:null};var hS=d=>Array.isArray(d)?d.reduce((s,m)=>m&&m.checked&&!m.disabled?{isValid:!0,value:m.value}:s,dS):dS;function mS(d){const s=d.ref;return qv(s)?s.files:Yv(s)?hS(d.refs).value:iS(s)?[...s.selectedOptions].map(({value:m})=>m):Sm(s)?sS(d.refs).value:fS(Ca(s.value)?d.ref.value:s.value,d)}var GE=(d,s,m,y)=>{const g={};for(const v of d){const _=Ce(s,v);_&&ta(g,v,_._f)}return{criteriaMode:m,names:[...d],fields:g,shouldUseNativeValidation:y}},Mg=d=>d instanceof RegExp,Em=d=>Ca(d)?d:Mg(d)?d.source:Ma(d)?Mg(d.value)?d.value.source:d.value:d,yS=d=>({isOnSubmit:!d||d===Ki.onSubmit,isOnBlur:d===Ki.onBlur,isOnChange:d===Ki.onChange,isOnAll:d===Ki.all,isOnTouch:d===Ki.onTouched});const pS="AsyncFunction";var ZE=d=>!!d&&!!d.validate&&!!(Ji(d.validate)&&d.validate.constructor.name===pS||Ma(d.validate)&&Object.values(d.validate).find(s=>s.constructor.name===pS)),XE=d=>d.mount&&(d.required||d.min||d.max||d.maxLength||d.minLength||d.pattern||d.validate),gS=(d,s,m)=>!m&&(s.watchAll||s.watch.has(d)||[...s.watch].some(y=>d.startsWith(y)&&/^\.\w+/.test(d.slice(y.length))));const _m=(d,s,m,y)=>{for(const g of m||Object.keys(d)){const v=Ce(d,g);if(v){const{_f:_,...R}=v;if(_){if(_.refs&&_.refs[0]&&s(_.refs[0],g)&&!y)return!0;if(_.ref&&s(_.ref,_.name)&&!y)return!0;if(_m(R,s))break}else if(Ma(R)&&_m(R,s))break}}};function vS(d,s,m){const y=Ce(d,m);if(y||Og(m))return{error:y,name:m};const g=m.split(".");for(;g.length;){const v=g.join("."),_=Ce(s,v),R=Ce(d,v);if(_&&!Array.isArray(_)&&m!==v)return{name:m};if(R&&R.type)return{name:v,error:R};if(R&&R.root&&R.root.type)return{name:`${v}.root`,error:R.root};g.pop()}return{name:m}}var QE=(d,s,m,y)=>{m(d);const{name:g,...v}=d;return vl(v)||Object.keys(v).length>=Object.keys(s).length||Object.keys(v).find(_=>s[_]===(!y||Ki.all))},KE=(d,s,m)=>!d||!s||d===s||Tm(d).some(y=>y&&(m?y===s:y.startsWith(s)||s.startsWith(y))),JE=(d,s,m,y,g)=>g.isOnAll?!1:!m&&g.isOnTouch?!(s||d):(m?y.isOnBlur:g.isOnBlur)?!d:(m?y.isOnChange:g.isOnChange)?d:!0,$E=(d,s)=>!jv(Ce(d,s)).length&&qa(d,s),WE=(d,s,m)=>{const y=Tm(Ce(d,m));return ta(y,"root",s[m]),ta(d,m,y),d},Cg=d=>Hu(d);function bS(d,s,m="validate"){if(Cg(d)||Array.isArray(d)&&d.every(Cg)||Nu(d)&&!d)return{type:m,message:Cg(d)?d:"",ref:s}}var $f=d=>Ma(d)&&!Mg(d)?d:{value:d,message:""},SS=async(d,s,m,y,g,v)=>{const{ref:_,refs:R,required:B,maxLength:w,minLength:X,min:de,max:V,pattern:j,validate:fe,name:He,valueAsNumber:Xe,mount:Fe}=d._f,_e=Ce(m,He);if(!Fe||s.has(He))return{};const Rt=R?R[0]:_,vt=se=>{g&&Rt.reportValidity&&(Rt.setCustomValidity(Nu(se)?"":se||""),Rt.reportValidity())},ke={},Qt=Yv(_),_t=Sm(_),it=Qt||_t,wt=(Xe||qv(_))&&Ca(_.value)&&Ca(_e)||zg(_)&&_.value===""||_e===""||Array.isArray(_e)&&!_e.length,Ae=Vv.bind(null,He,y,ke),ht=(se,Re,Ke,Je=Ro.maxLength,W=Ro.minLength)=>{const Z=se?Re:Ke;ke[He]={type:se?Je:W,message:Z,ref:_,...Ae(se?Je:W,Z)}};if(v?!Array.isArray(_e)||!_e.length:B&&(!it&&(wt||Pn(_e))||Nu(_e)&&!_e||_t&&!sS(R).isValid||Qt&&!hS(R).isValid)){const{value:se,message:Re}=Cg(B)?{value:!!B,message:B}:$f(B);if(se&&(ke[He]={type:Ro.required,message:Re,ref:Rt,...Ae(Ro.required,Re)},!y))return vt(Re),ke}if(!wt&&(!Pn(de)||!Pn(V))){let se,Re;const Ke=$f(V),Je=$f(de);if(!Pn(_e)&&!isNaN(_e)){const W=_.valueAsNumber||_e&&+_e;Pn(Ke.value)||(se=W>Ke.value),Pn(Je.value)||(Re=W<Je.value)}else{const W=_.valueAsDate||new Date(_e),Z=O=>new Date(new Date().toDateString()+" "+O),re=_.type=="time",ve=_.type=="week";Hu(Ke.value)&&_e&&(se=re?Z(_e)>Z(Ke.value):ve?_e>Ke.value:W>new Date(Ke.value)),Hu(Je.value)&&_e&&(Re=re?Z(_e)<Z(Je.value):ve?_e<Je.value:W<new Date(Je.value))}if((se||Re)&&(ht(!!se,Ke.message,Je.message,Ro.max,Ro.min),!y))return vt(ke[He].message),ke}if((w||X)&&!wt&&(Hu(_e)||v&&Array.isArray(_e))){const se=$f(w),Re=$f(X),Ke=!Pn(se.value)&&_e.length>+se.value,Je=!Pn(Re.value)&&_e.length<+Re.value;if((Ke||Je)&&(ht(Ke,se.message,Re.message),!y))return vt(ke[He].message),ke}if(j&&!wt&&Hu(_e)){const{value:se,message:Re}=$f(j);if(Mg(se)&&!_e.match(se)&&(ke[He]={type:Ro.pattern,message:Re,ref:_,...Ae(Ro.pattern,Re)},!y))return vt(Re),ke}if(fe){if(Ji(fe)){const se=await fe(_e,m),Re=bS(se,Rt);if(Re&&(ke[He]={...Re,...Ae(Ro.validate,Re.message)},!y))return vt(Re.message),ke}else if(Ma(fe)){let se={};for(const Re in fe){if(!vl(se)&&!y)break;const Ke=bS(await fe[Re](_e,m),Rt,Re);Ke&&(se={...Ke,...Ae(Re,Ke.message)},vt(Ke.message),y&&(ke[He]=se))}if(!vl(se)&&(ke[He]={ref:Rt,...se},!y))return ke}}return vt(!0),ke};const FE={mode:Ki.onSubmit,reValidateMode:Ki.onChange,shouldFocusError:!0};function IE(d={}){let s={...FE,...d},m={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ji(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1};const y={};let g=Ma(s.defaultValues)||Ma(s.values)?bn(s.defaultValues||s.values)||{}:{},v=s.shouldUnregister?{}:bn(g),_={action:!1,mount:!1,watch:!1},R={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},B,w=0;const X={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let de={...X};const V={array:lS(),state:lS()},j=s.criteriaMode===Ki.all,fe=U=>k=>{clearTimeout(w),w=setTimeout(U,k)},He=async U=>{if(!s.disabled&&(X.isValid||de.isValid||U)){const k=s.resolver?vl((await _t()).errors):await wt(y,!0);k!==m.isValid&&V.state.next({isValid:k})}},Xe=(U,k)=>{!s.disabled&&(X.isValidating||X.validatingFields||de.isValidating||de.validatingFields)&&((U||Array.from(R.mount)).forEach(ne=>{ne&&(k?ta(m.validatingFields,ne,k):qa(m.validatingFields,ne))}),V.state.next({validatingFields:m.validatingFields,isValidating:!vl(m.validatingFields)}))},Fe=(U,k=[],ne,xe,ge=!0,me=!0)=>{if(xe&&ne&&!s.disabled){if(_.action=!0,me&&Array.isArray(Ce(y,U))){const ze=ne(Ce(y,U),xe.argA,xe.argB);ge&&ta(y,U,ze)}if(me&&Array.isArray(Ce(m.errors,U))){const ze=ne(Ce(m.errors,U),xe.argA,xe.argB);ge&&ta(m.errors,U,ze),$E(m.errors,U)}if((X.touchedFields||de.touchedFields)&&me&&Array.isArray(Ce(m.touchedFields,U))){const ze=ne(Ce(m.touchedFields,U),xe.argA,xe.argB);ge&&ta(m.touchedFields,U,ze)}(X.dirtyFields||de.dirtyFields)&&(m.dirtyFields=xm(g,v)),V.state.next({name:U,isDirty:ht(U,k),dirtyFields:m.dirtyFields,errors:m.errors,isValid:m.isValid})}else ta(v,U,k)},_e=(U,k)=>{ta(m.errors,U,k),V.state.next({errors:m.errors})},Rt=U=>{m.errors=U,V.state.next({errors:m.errors,isValid:!1})},vt=(U,k,ne,xe)=>{const ge=Ce(y,U);if(ge){const me=Ce(v,U,Ca(ne)?Ce(g,U):ne);Ca(me)||xe&&xe.defaultChecked||k?ta(v,U,k?me:mS(ge._f)):Ke(U,me),_.mount&&He()}},ke=(U,k,ne,xe,ge)=>{let me=!1,ze=!1;const Qe={name:U};if(!s.disabled){if(!ne||xe){(X.isDirty||de.isDirty)&&(ze=m.isDirty,m.isDirty=Qe.isDirty=ht(),me=ze!==Qe.isDirty);const pt=Nr(Ce(g,U),k);ze=!!Ce(m.dirtyFields,U),pt?qa(m.dirtyFields,U):ta(m.dirtyFields,U,!0),Qe.dirtyFields=m.dirtyFields,me=me||(X.dirtyFields||de.dirtyFields)&&ze!==!pt}if(ne){const pt=Ce(m.touchedFields,U);pt||(ta(m.touchedFields,U,ne),Qe.touchedFields=m.touchedFields,me=me||(X.touchedFields||de.touchedFields)&&pt!==ne)}me&&ge&&V.state.next(Qe)}return me?Qe:{}},Qt=(U,k,ne,xe)=>{const ge=Ce(m.errors,U),me=(X.isValid||de.isValid)&&Nu(k)&&m.isValid!==k;if(s.delayError&&ne?(B=fe(()=>_e(U,ne)),B(s.delayError)):(clearTimeout(w),B=null,ne?ta(m.errors,U,ne):qa(m.errors,U)),(ne?!Nr(ge,ne):ge)||!vl(xe)||me){const ze={...xe,...me&&Nu(k)?{isValid:k}:{},errors:m.errors,name:U};m={...m,...ze},V.state.next(ze)}},_t=async U=>{Xe(U,!0);const k=await s.resolver(v,s.context,GE(U||R.mount,y,s.criteriaMode,s.shouldUseNativeValidation));return Xe(U),k},it=async U=>{const{errors:k}=await _t(U);if(U)for(const ne of U){const xe=Ce(k,ne);xe?ta(m.errors,ne,xe):qa(m.errors,ne)}else m.errors=k;return k},wt=async(U,k,ne={valid:!0})=>{for(const xe in U){const ge=U[xe];if(ge){const{_f:me,...ze}=ge;if(me){const Qe=R.array.has(me.name),pt=ge._f&&ZE(ge._f);pt&&X.validatingFields&&Xe([xe],!0);const Gt=await SS(ge,R.disabled,v,j,s.shouldUseNativeValidation&&!k,Qe);if(pt&&X.validatingFields&&Xe([xe]),Gt[me.name]&&(ne.valid=!1,k))break;!k&&(Ce(Gt,me.name)?Qe?WE(m.errors,Gt,me.name):ta(m.errors,me.name,Gt[me.name]):qa(m.errors,me.name))}!vl(ze)&&await wt(ze,k,ne)}}return ne.valid},Ae=()=>{for(const U of R.unMount){const k=Ce(y,U);k&&(k._f.refs?k._f.refs.every(ne=>!Gv(ne)):!Gv(k._f.ref))&&$e(U)}R.unMount=new Set},ht=(U,k)=>!s.disabled&&(U&&k&&ta(v,U,k),!Nr(O(),g)),se=(U,k,ne)=>VE(U,R,{..._.mount?v:Ca(k)?g:Hu(U)?{[U]:k}:k},ne,k),Re=U=>jv(Ce(_.mount?v:g,U,s.shouldUnregister?Ce(g,U,[]):[])),Ke=(U,k,ne={})=>{const xe=Ce(y,U);let ge=k;if(xe){const me=xe._f;me&&(!me.disabled&&ta(v,U,fS(k,me)),ge=zg(me.ref)&&Pn(k)?"":k,iS(me.ref)?[...me.ref.options].forEach(ze=>ze.selected=ge.includes(ze.value)):me.refs?Sm(me.ref)?me.refs.forEach(ze=>{(!ze.defaultChecked||!ze.disabled)&&(Array.isArray(ge)?ze.checked=!!ge.find(Qe=>Qe===ze.value):ze.checked=ge===ze.value||!!ge)}):me.refs.forEach(ze=>ze.checked=ze.value===ge):qv(me.ref)?me.ref.value="":(me.ref.value=ge,me.ref.type||V.state.next({name:U,values:bn(v)})))}(ne.shouldDirty||ne.shouldTouch)&&ke(U,ge,ne.shouldTouch,ne.shouldDirty,!0),ne.shouldValidate&&ve(U)},Je=(U,k,ne)=>{for(const xe in k){if(!k.hasOwnProperty(xe))return;const ge=k[xe],me=U+"."+xe,ze=Ce(y,me);(R.array.has(U)||Ma(ge)||ze&&!ze._f)&&!is(ge)?Je(me,ge,ne):Ke(me,ge,ne)}},W=(U,k,ne={})=>{const xe=Ce(y,U),ge=R.array.has(U),me=bn(k);ta(v,U,me),ge?(V.array.next({name:U,values:bn(v)}),(X.isDirty||X.dirtyFields||de.isDirty||de.dirtyFields)&&ne.shouldDirty&&V.state.next({name:U,dirtyFields:xm(g,v),isDirty:ht(U,me)})):xe&&!xe._f&&!Pn(me)?Je(U,me,ne):Ke(U,me,ne),gS(U,R)&&V.state.next({...m}),V.state.next({name:_.mount?U:void 0,values:bn(v)})},Z=async U=>{_.mount=!0;const k=U.target;let ne=k.name,xe=!0;const ge=Ce(y,ne),me=pt=>{xe=Number.isNaN(pt)||is(pt)&&isNaN(pt.getTime())||Nr(pt,Ce(v,ne,pt))},ze=yS(s.mode),Qe=yS(s.reValidateMode);if(ge){let pt,Gt;const pi=k.type?mS(ge._f):CE(U),Sn=U.type===nS.BLUR||U.type===nS.FOCUS_OUT,Do=!XE(ge._f)&&!s.resolver&&!Ce(m.errors,ne)&&!ge._f.deps||JE(Sn,Ce(m.touchedFields,ne),m.isSubmitted,Qe,ze),tl=gS(ne,R,Sn);ta(v,ne,pi),Sn?(ge._f.onBlur&&ge._f.onBlur(U),B&&B(0)):ge._f.onChange&&ge._f.onChange(U);const Tn=ke(ne,pi,Sn),Ua=!vl(Tn)||tl;if(!Sn&&V.state.next({name:ne,type:U.type,values:bn(v)}),Do)return(X.isValid||de.isValid)&&(s.mode==="onBlur"?Sn&&He():Sn||He()),Ua&&V.state.next({name:ne,...tl?{}:Tn});if(!Sn&&tl&&V.state.next({...m}),s.resolver){const{errors:Ia}=await _t([ne]);if(me(pi),xe){const Cn=vS(m.errors,y,ne),x=vS(Ia,y,Cn.name||ne);pt=x.error,ne=x.name,Gt=vl(Ia)}}else Xe([ne],!0),pt=(await SS(ge,R.disabled,v,j,s.shouldUseNativeValidation))[ne],Xe([ne]),me(pi),xe&&(pt?Gt=!1:(X.isValid||de.isValid)&&(Gt=await wt(y,!0)));xe&&(ge._f.deps&&ve(ge._f.deps),Qt(ne,Gt,pt,Tn))}},re=(U,k)=>{if(Ce(m.errors,k)&&U.focus)return U.focus(),1},ve=async(U,k={})=>{let ne,xe;const ge=Tm(U);if(s.resolver){const me=await it(Ca(U)?U:ge);ne=vl(me),xe=U?!ge.some(ze=>Ce(me,ze)):ne}else U?(xe=(await Promise.all(ge.map(async me=>{const ze=Ce(y,me);return await wt(ze&&ze._f?{[me]:ze}:ze)}))).every(Boolean),!(!xe&&!m.isValid)&&He()):xe=ne=await wt(y);return V.state.next({...!Hu(U)||(X.isValid||de.isValid)&&ne!==m.isValid?{}:{name:U},...s.resolver||!U?{isValid:ne}:{},errors:m.errors}),k.shouldFocus&&!xe&&_m(y,re,U?ge:R.mount),xe},O=U=>{const k={..._.mount?v:g};return Ca(U)?k:Hu(U)?Ce(k,U):U.map(ne=>Ce(k,ne))},C=(U,k)=>({invalid:!!Ce((k||m).errors,U),isDirty:!!Ce((k||m).dirtyFields,U),error:Ce((k||m).errors,U),isValidating:!!Ce(m.validatingFields,U),isTouched:!!Ce((k||m).touchedFields,U)}),ie=U=>{U&&Tm(U).forEach(k=>qa(m.errors,k)),V.state.next({errors:U?m.errors:{}})},ee=(U,k,ne)=>{const xe=(Ce(y,U,{_f:{}})._f||{}).ref,ge=Ce(m.errors,U)||{},{ref:me,message:ze,type:Qe,...pt}=ge;ta(m.errors,U,{...pt,...k,ref:xe}),V.state.next({name:U,errors:m.errors,isValid:!1}),ne&&ne.shouldFocus&&xe&&xe.focus&&xe.focus()},Te=(U,k)=>Ji(U)?V.state.subscribe({next:ne=>U(se(void 0,k),ne)}):se(U,k,!0),Le=U=>V.state.subscribe({next:k=>{KE(U.name,k.name,U.exact)&&QE(k,U.formState||X,Bt,U.reRenderRoot)&&U.callback({values:{...v},...m,...k})}}).unsubscribe,De=U=>(_.mount=!0,de={...de,...U.formState},Le({...U,formState:de})),$e=(U,k={})=>{for(const ne of U?Tm(U):R.mount)R.mount.delete(ne),R.array.delete(ne),k.keepValue||(qa(y,ne),qa(v,ne)),!k.keepError&&qa(m.errors,ne),!k.keepDirty&&qa(m.dirtyFields,ne),!k.keepTouched&&qa(m.touchedFields,ne),!k.keepIsValidating&&qa(m.validatingFields,ne),!s.shouldUnregister&&!k.keepDefaultValue&&qa(g,ne);V.state.next({values:bn(v)}),V.state.next({...m,...k.keepDirty?{isDirty:ht()}:{}}),!k.keepIsValid&&He()},Ct=({disabled:U,name:k})=>{(Nu(U)&&_.mount||U||R.disabled.has(k))&&(U?R.disabled.add(k):R.disabled.delete(k))},Dt=(U,k={})=>{let ne=Ce(y,U);const xe=Nu(k.disabled)||Nu(s.disabled);return ta(y,U,{...ne||{},_f:{...ne&&ne._f?ne._f:{ref:{name:U}},name:U,mount:!0,...k}}),R.mount.add(U),ne?Ct({disabled:Nu(k.disabled)?k.disabled:s.disabled,name:U}):vt(U,!0,k.value),{...xe?{disabled:k.disabled||s.disabled}:{},...s.progressive?{required:!!k.required,min:Em(k.min),max:Em(k.max),minLength:Em(k.minLength),maxLength:Em(k.maxLength),pattern:Em(k.pattern)}:{},name:U,onChange:Z,onBlur:Z,ref:ge=>{if(ge){Dt(U,k),ne=Ce(y,U);const me=Ca(ge.value)&&ge.querySelectorAll&&ge.querySelectorAll("input,select,textarea")[0]||ge,ze=LE(me),Qe=ne._f.refs||[];if(ze?Qe.find(pt=>pt===me):me===ne._f.ref)return;ta(y,U,{_f:{...ne._f,...ze?{refs:[...Qe.filter(Gv),me,...Array.isArray(Ce(g,U))?[{}]:[]],ref:{type:me.type,name:U}}:{ref:me}}}),vt(U,!1,void 0,me)}else ne=Ce(y,U,{}),ne._f&&(ne._f.mount=!1),(s.shouldUnregister||k.shouldUnregister)&&!(NE(R.array,U)&&_.action)&&R.unMount.add(U)}}},ha=()=>s.shouldFocusError&&_m(y,re,R.mount),Fa=U=>{Nu(U)&&(V.state.next({disabled:U}),_m(y,(k,ne)=>{const xe=Ce(y,ne);xe&&(k.disabled=xe._f.disabled||U,Array.isArray(xe._f.refs)&&xe._f.refs.forEach(ge=>{ge.disabled=xe._f.disabled||U}))},0,!1))},bl=(U,k)=>async ne=>{let xe;ne&&(ne.preventDefault&&ne.preventDefault(),ne.persist&&ne.persist());let ge=bn(v);if(V.state.next({isSubmitting:!0}),s.resolver){const{errors:me,values:ze}=await _t();m.errors=me,ge=bn(ze)}else await wt(y);if(R.disabled.size)for(const me of R.disabled)qa(ge,me);if(qa(m.errors,"root"),vl(m.errors)){V.state.next({errors:{}});try{await U(ge,ne)}catch(me){xe=me}}else k&&await k({...m.errors},ne),ha(),setTimeout(ha);if(V.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vl(m.errors)&&!xe,submitCount:m.submitCount+1,errors:m.errors}),xe)throw xe},$i=(U,k={})=>{Ce(y,U)&&(Ca(k.defaultValue)?W(U,bn(Ce(g,U))):(W(U,k.defaultValue),ta(g,U,bn(k.defaultValue))),k.keepTouched||qa(m.touchedFields,U),k.keepDirty||(qa(m.dirtyFields,U),m.isDirty=k.defaultValue?ht(U,bn(Ce(g,U))):ht()),k.keepError||(qa(m.errors,U),X.isValid&&He()),V.state.next({...m}))},el=(U,k={})=>{const ne=U?bn(U):g,xe=bn(ne),ge=vl(U),me=ge?g:xe;if(k.keepDefaultValues||(g=ne),!k.keepValues){if(k.keepDirtyValues){const ze=new Set([...R.mount,...Object.keys(xm(g,v))]);for(const Qe of Array.from(ze))Ce(m.dirtyFields,Qe)?ta(me,Qe,Ce(v,Qe)):W(Qe,Ce(me,Qe))}else{if(kv&&Ca(U))for(const ze of R.mount){const Qe=Ce(y,ze);if(Qe&&Qe._f){const pt=Array.isArray(Qe._f.refs)?Qe._f.refs[0]:Qe._f.ref;if(zg(pt)){const Gt=pt.closest("form");if(Gt){Gt.reset();break}}}}for(const ze of R.mount){const Qe=Ce(me,ze,Ce(g,ze));Ca(Qe)||(ta(me,ze,Qe),W(ze,Ce(me,ze)))}}v=bn(me),V.array.next({values:{...me}}),V.state.next({values:{...me}})}R={mount:k.keepDirtyValues?R.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},_.mount=!X.isValid||!!k.keepIsValid||!!k.keepDirtyValues,_.watch=!!s.shouldUnregister,V.state.next({submitCount:k.keepSubmitCount?m.submitCount:0,isDirty:ge?!1:k.keepDirty?m.isDirty:!!(k.keepDefaultValues&&!Nr(U,g)),isSubmitted:k.keepIsSubmitted?m.isSubmitted:!1,dirtyFields:ge?{}:k.keepDirtyValues?k.keepDefaultValues&&v?xm(g,v):m.dirtyFields:k.keepDefaultValues&&U?xm(g,U):k.keepDirty?m.dirtyFields:{},touchedFields:k.keepTouched?m.touchedFields:{},errors:k.keepErrors?m.errors:{},isSubmitSuccessful:k.keepIsSubmitSuccessful?m.isSubmitSuccessful:!1,isSubmitting:!1})},Oo=(U,k)=>el(Ji(U)?U(v):U,k),zo=(U,k={})=>{const ne=Ce(y,U),xe=ne&&ne._f;if(xe){const ge=xe.refs?xe.refs[0]:xe.ref;ge.focus&&(ge.focus(),k.shouldSelect&&Ji(ge.select)&&ge.select())}},Bt=U=>{m={...m,...U}},Sl={control:{register:Dt,unregister:$e,getFieldState:C,handleSubmit:bl,setError:ee,_subscribe:Le,_runSchema:_t,_focusError:ha,_getWatch:se,_getDirty:ht,_setValid:He,_setFieldArray:Fe,_setDisabledField:Ct,_setErrors:Rt,_getFieldArray:Re,_reset:el,_resetDefaultValues:()=>Ji(s.defaultValues)&&s.defaultValues().then(U=>{Oo(U,s.resetOptions),V.state.next({isLoading:!1})}),_removeUnmounted:Ae,_disableForm:Fa,_subjects:V,_proxyFormState:X,get _fields(){return y},get _formValues(){return v},get _state(){return _},set _state(U){_=U},get _defaultValues(){return g},get _names(){return R},set _names(U){R=U},get _formState(){return m},get _options(){return s},set _options(U){s={...s,...U}}},subscribe:De,trigger:ve,register:Dt,handleSubmit:bl,watch:Te,setValue:W,getValues:O,reset:Oo,resetField:$i,clearErrors:ie,unregister:$e,setError:ee,setFocus:zo,getFieldState:C};return{...Sl,formControl:Sl}}function PE(d={}){const s=jl.useRef(void 0),m=jl.useRef(void 0),[y,g]=jl.useState({isDirty:!1,isValidating:!1,isLoading:Ji(d.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:d.errors||{},disabled:d.disabled||!1,isReady:!1,defaultValues:Ji(d.defaultValues)?void 0:d.defaultValues});if(!s.current)if(d.formControl)s.current={...d.formControl,formState:y},d.defaultValues&&!Ji(d.defaultValues)&&d.formControl.reset(d.defaultValues,d.resetOptions);else{const{formControl:_,...R}=IE(d);s.current={...R,formState:y}}const v=s.current.control;return v._options=d,BE(()=>{const _=v._subscribe({formState:v._proxyFormState,callback:()=>g({...v._formState}),reRenderRoot:!0});return g(R=>({...R,isReady:!0})),v._formState.isReady=!0,_},[v]),jl.useEffect(()=>v._disableForm(d.disabled),[v,d.disabled]),jl.useEffect(()=>{d.mode&&(v._options.mode=d.mode),d.reValidateMode&&(v._options.reValidateMode=d.reValidateMode)},[v,d.mode,d.reValidateMode]),jl.useEffect(()=>{d.errors&&(v._setErrors(d.errors),v._focusError())},[v,d.errors]),jl.useEffect(()=>{d.shouldUnregister&&v._subjects.state.next({values:v._getWatch()})},[v,d.shouldUnregister]),jl.useEffect(()=>{if(v._proxyFormState.isDirty){const _=v._getDirty();_!==y.isDirty&&v._subjects.state.next({isDirty:_})}},[v,y.isDirty]),jl.useEffect(()=>{d.values&&!Nr(d.values,m.current)?(v._reset(d.values,v._options.resetOptions),m.current=d.values,g(_=>({..._}))):v._resetDefaultValues()},[v,d.values]),jl.useEffect(()=>{v._state.mount||(v._setValid(),v._state.mount=!0),v._state.watch&&(v._state.watch=!1,v._subjects.state.next({...v._formState})),v._removeUnmounted()}),s.current.formState=jE(y,v),s.current}const TS=(d,s,m)=>{if(d&&"reportValidity"in d){const y=Ce(m,s);d.setCustomValidity(y&&y.message||""),d.reportValidity()}},Zv=(d,s)=>{for(const m in s.fields){const y=s.fields[m];y&&y.ref&&"reportValidity"in y.ref?TS(y.ref,m,d):y&&y.refs&&y.refs.forEach(g=>TS(g,m,d))}},xS=(d,s)=>{s.shouldUseNativeValidation&&Zv(d,s);const m={};for(const y in d){const g=Ce(s.fields,y),v=Object.assign(d[y]||{},{ref:g&&g.ref});if(e_(s.names||Object.keys(d),y)){const _=Object.assign({},Ce(m,y));ta(_,"root",v),ta(m,y,_)}else ta(m,y,v)}return m},e_=(d,s)=>{const m=ES(s);return d.some(y=>ES(y).match(`^${m}\\.\\d+`))};function ES(d){return d.replace(/\]|\[/g,"")}function _S(d,s,m){function y(R,B){var w;Object.defineProperty(R,"_zod",{value:R._zod??{},enumerable:!1}),(w=R._zod).traits??(w.traits=new Set),R._zod.traits.add(d),s(R,B);for(const X in _.prototype)X in R||Object.defineProperty(R,X,{value:_.prototype[X].bind(R)});R._zod.constr=_,R._zod.def=B}const g=(m==null?void 0:m.Parent)??Object;class v extends g{}Object.defineProperty(v,"name",{value:d});function _(R){var B;const w=m!=null&&m.Parent?new v:this;y(w,R),(B=w._zod).deferred??(B.deferred=[]);for(const X of w._zod.deferred)X();return w}return Object.defineProperty(_,"init",{value:y}),Object.defineProperty(_,Symbol.hasInstance,{value:R=>{var B,w;return m!=null&&m.Parent&&R instanceof m.Parent?!0:(w=(B=R==null?void 0:R._zod)==null?void 0:B.traits)==null?void 0:w.has(d)}}),Object.defineProperty(_,"name",{value:d}),_}class t_ extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const a_={};function wS(d){return a_}function n_(d,s){return typeof s=="bigint"?s.toString():s}const AS=Error.captureStackTrace?Error.captureStackTrace:(...d)=>{};function Ug(d){return typeof d=="string"?d:d==null?void 0:d.message}function RS(d,s,m){var g,v,_,R,B,w;const y={...d,path:d.path??[]};if(!d.message){const X=Ug((_=(v=(g=d.inst)==null?void 0:g._zod.def)==null?void 0:v.error)==null?void 0:_.call(v,d))??Ug((R=s==null?void 0:s.error)==null?void 0:R.call(s,d))??Ug((B=m.customError)==null?void 0:B.call(m,d))??Ug((w=m.localeError)==null?void 0:w.call(m,d))??"Invalid input";y.message=X}return delete y.inst,delete y.continue,s!=null&&s.reportInput||delete y.input,y}const OS=(d,s)=>{d.name="$ZodError",Object.defineProperty(d,"_zod",{value:d._zod,enumerable:!1}),Object.defineProperty(d,"issues",{value:s,enumerable:!1}),Object.defineProperty(d,"message",{get(){return JSON.stringify(s,n_,2)},enumerable:!0})},l_=_S("$ZodError",OS),zS=_S("$ZodError",OS,{Parent:Error}),i_=(d=>(s,m,y,g)=>{const v=y?Object.assign(y,{async:!1}):{async:!1},_=s._zod.run({value:m,issues:[]},v);if(_ instanceof Promise)throw new t_;if(_.issues.length){const R=new((g==null?void 0:g.Err)??d)(_.issues.map(B=>RS(B,v,wS())));throw AS(R,g==null?void 0:g.callee),R}return _.value})(zS),u_=(d=>async(s,m,y,g)=>{const v=y?Object.assign(y,{async:!0}):{async:!0};let _=s._zod.run({value:m,issues:[]},v);if(_ instanceof Promise&&(_=await _),_.issues.length){const R=new((g==null?void 0:g.Err)??d)(_.issues.map(B=>RS(B,v,wS())));throw AS(R,g==null?void 0:g.callee),R}return _.value})(zS);function DS(d,s){try{var m=d()}catch(y){return s(y)}return m&&m.then?m.then(void 0,s):m}function o_(d,s){for(var m={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!m[_])if("unionErrors"in y){var R=y.unionErrors[0].errors[0];m[_]={message:R.message,type:R.code}}else m[_]={message:v,type:g};if("unionErrors"in y&&y.unionErrors.forEach(function(X){return X.errors.forEach(function(de){return d.push(de)})}),s){var B=m[_].types,w=B&&B[y.code];m[_]=Vv(_,s,m,g,w?[].concat(w,y.message):y.message)}d.shift()}return m}function r_(d,s){for(var m={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!m[_])if(y.code==="invalid_union"){var R=y.errors[0][0];m[_]={message:R.message,type:R.code}}else m[_]={message:v,type:g};if(y.code==="invalid_union"&&y.errors.forEach(function(X){return X.forEach(function(de){return d.push(de)})}),s){var B=m[_].types,w=B&&B[y.code];m[_]=Vv(_,s,m,g,w?[].concat(w,y.message):y.message)}d.shift()}return m}function c_(d,s,m){if(m===void 0&&(m={}),function(y){return"_def"in y&&typeof y._def=="object"&&"typeName"in y._def}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve(d[m.mode==="sync"?"parse":"parseAsync"](y,s)).then(function(_){return v.shouldUseNativeValidation&&Zv({},v),{errors:{},values:m.raw?Object.assign({},y):_}})},function(_){if(function(R){return Array.isArray(R==null?void 0:R.issues)}(_))return{values:{},errors:xS(o_(_.errors,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};if(function(y){return"_zod"in y&&typeof y._zod=="object"}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve((m.mode==="sync"?i_:u_)(d,y,s)).then(function(_){return v.shouldUseNativeValidation&&Zv({},v),{errors:{},values:m.raw?Object.assign({},y):_}})},function(_){if(function(R){return R instanceof l_}(_))return{values:{},errors:xS(r_(_.issues,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};throw new Error("Invalid input: not a Zod schema")}/**
|
|
325
325
|
* @license lucide-react v0.518.0 - ISC
|
|
326
326
|
*
|
|
327
327
|
* This source code is licensed under the ISC license.
|
|
@@ -341,19 +341,19 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
341
341
|
*
|
|
342
342
|
* This source code is licensed under the ISC license.
|
|
343
343
|
* See the LICENSE file in the root directory of this source tree.
|
|
344
|
-
*/const
|
|
344
|
+
*/const Xv=(d,s)=>{const m=sn.forwardRef(({className:y,...g},v)=>sn.createElement(m_,{ref:v,iconNode:s,className:CS(`lucide-${s_(MS(d))}`,`lucide-${d}`,y),...g}));return m.displayName=MS(d),m};/**
|
|
345
345
|
* @license lucide-react v0.518.0 - ISC
|
|
346
346
|
*
|
|
347
347
|
* This source code is licensed under the ISC license.
|
|
348
348
|
* See the LICENSE file in the root directory of this source tree.
|
|
349
|
-
*/const
|
|
349
|
+
*/const Qv=Xv("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
350
350
|
* @license lucide-react v0.518.0 - ISC
|
|
351
351
|
*
|
|
352
352
|
* This source code is licensed under the ISC license.
|
|
353
353
|
* See the LICENSE file in the root directory of this source tree.
|
|
354
|
-
*/const y_=
|
|
354
|
+
*/const y_=Xv("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
355
355
|
* @license lucide-react v0.518.0 - ISC
|
|
356
356
|
*
|
|
357
357
|
* This source code is licensed under the ISC license.
|
|
358
358
|
* See the LICENSE file in the root directory of this source tree.
|
|
359
|
-
*/const p_=Qv("badge",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]]);/*! js-cookie v3.0.5 | MIT */function Hg(d){for(var s=1;s<arguments.length;s++){var m=arguments[s];for(var y in m)d[y]=m[y]}return d}var g_={read:function(d){return d[0]==='"'&&(d=d.slice(1,-1)),d.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(d){return encodeURIComponent(d).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Jv(d,s){function m(g,v,_){if(!(typeof document>"u")){_=Hg({},s,_),typeof _.expires=="number"&&(_.expires=new Date(Date.now()+_.expires*864e5)),_.expires&&(_.expires=_.expires.toUTCString()),g=encodeURIComponent(g).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var R="";for(var B in _)_[B]&&(R+="; "+B,_[B]!==!0&&(R+="="+_[B].split(";")[0]));return document.cookie=g+"="+d.write(v,g)+R}}function y(g){if(!(typeof document>"u"||arguments.length&&!g)){for(var v=document.cookie?document.cookie.split("; "):[],_={},R=0;R<v.length;R++){var B=v[R].split("="),w=B.slice(1).join("=");try{var X=decodeURIComponent(B[0]);if(_[X]=d.read(w,X),g===X)break}catch{}}return g?_[g]:_}}return Object.create({set:m,get:y,remove:function(g,v){m(g,"",Hg({},v,{expires:-1}))},withAttributes:function(g){return Jv(this.converter,Hg({},this.attributes,g))},withConverter:function(g){return Jv(Hg({},this.converter,g),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(d)}})}var wm=Jv(g_,{path:"/"});const US=async({document:d,products:s})=>{const m="https://pbm.agradadigital.agradalabs.com/api/v1",y=wm.get("pbm-token");if(!y)throw new Error("Token is not defined in cookies or is expired");const v=await(await fetch(`${m}/products/benefitByDocument`,{method:"POST",headers:{Authorization:`Bearer ${y}`,"Content-Type":"application/json"},body:JSON.stringify({consumer:{document:d},products:s})})).json();if(!v.success)throw new Error(v.message||"Failed to fetch document validation");return v};function kg(d){return pe.jsx("button",{...d,className:hi("w-3xs cursor-pointer h-10 rounded-lg bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors",d.className),children:d.children})}function v_({setLoading:d}){const{setSecurityNumber:s,setState:m,securityNumber:y,targetProduct:g,setUrlAcceptTerms:v,setUrlRegisterIndustry:_}=wo(),[R,B]=sn.useState(!1),{handleSubmit:w,register:X,setValue:de,clearErrors:V,unregister:j,formState:{errors:fe}}=PE({resolver:c_(DE),mode:"onSubmit",defaultValues:{securityNumber:y||"",coupon:""}}),He=async Xe=>{R||de("coupon",void 0,{shouldValidate:!1}),d(!0);try{if(g===null){console.error("PBMLOG: Product is not defined!");return}if(!g.productId){console.error("PBMLOG: Product ID is not defined!");return}if(!g.listPrice){console.error("PBMLOG: List Price is not defined!");return}const Fe=await US({document:Xe.securityNumber.replace(/\D/g,""),products:[{productId:g.productId,ean:g.ean,requestedQuantity:1,listPrice:g.listPrice,netPrice:g.netPrice??g.listPrice}]});if(Fe.success){const _e={acceptance:"isInvalid","industry registration":"isRegistered",active:"isActivated"};if(s(Xe.securityNumber),m(_e[Fe.data.product[0].statusCustomer]),_e[Fe.data.product[0].statusCustomer]==="isInvalid"){v(Fe.data.product[0].urlAcceptTerm||void 0);return}if(_e[Fe.data.product[0].statusCustomer]==="isRegistered"){_(Fe.data.product[0].informativeLink);return}}}catch(Fe){console.error("PBMLOG: Error validating document -",Fe)}finally{d(!1)}};return pe.jsxs(pe.Fragment,{children:[pe.jsxs("form",{onSubmit:w(He),className:hi("w-full h-auto flex items-center justify-center mb-0 transition-all duration-150",{"mb-4":fe.securityNumber||fe.coupon&&R,"gap-2":R}),id:"form_security_number_pbm",children:[pe.jsxs("label",{htmlFor:"cpf",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_security_number_pbm",children:[pe.jsx("input",{type:"text",className:hi("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":fe.securityNumber,"rounded-lg":R}),placeholder:"Digite seu CPF aqui...",required:!0,maxLength:14,...X("securityNumber",{onChange:Xe=>{const Fe=ME(Xe.target.value);de("securityNumber",Fe,{shouldValidate:!0})}}),defaultValue:y||"",id:"input_security_number_pbm"}),fe.securityNumber&&pe.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"security_number_form_error",children:fe.securityNumber.message})]}),R&&pe.jsxs("label",{htmlFor:"coupon",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_coupon_pbm",children:[pe.jsx("input",{type:"text",className:hi("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":fe.coupon,"rounded-lg":R}),placeholder:"Cupom / ID do Cartão",...X("coupon",{required:R?"Cupom / ID do Cartão obrigatório.":!1,shouldUnregister:!R,onChange:Xe=>{de("coupon",Xe.target.value,{shouldValidate:R})}}),id:"input_coupon_pbm"}),fe.coupon&&pe.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"coupon_form_error",children:fe.coupon.message})]}),pe.jsx("button",{type:"submit",className:hi("bg-emerald-500 w-1/5 h-10 rounded-e-lg flex items-center justify-center cursor-pointer",{"rounded-lg":R}),id:"button_submit_security_number_pbm",children:pe.jsx(Kv,{size:24,color:"white",strokeWidth:2})})]}),pe.jsxs(kg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>{const Xe=!R;B(Xe),Xe||(j("coupon"),V("coupon"))},id:"check_benefits_button",children:[pe.jsx("span",{children:R?"Não possui cupom?":"Possui cupom?"}),pe.jsx(Kv,{size:16,className:hi({"rotate-0":!R,"rotate-180":R})})]})]})}function b_({textColor:d}){return pe.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[pe.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),pe.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",style:{color:d},id:"loading_label",children:"Um momento... estamos verificando seus dados."})]})}function $v(d){return pe.jsx("h2",{className:hi("text-start font-semibold text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_title",id:"title_pbm",children:d.children})}function S_({data:d,onChange:s,checked:m}){const{setAvailableDiscountSelected:y,securityNumber:g,state:v}=wo(),_="unity_quantity_"+d.authorizedQuantity,R=d.discountPercentual/100,B=d.grossPrice*R,w=B*d.authorizedQuantity,X=d.grossPrice*d.authorizedQuantity-w,de=sn.useCallback(()=>{if(m){const V=j=>Math.round(j*100)/100;y({discount:{total:V(w),unit:V(B)},quantity:d.authorizedQuantity,totalPrice:V(X),grossPrice:d.grossPrice})}},[m,d.authorizedQuantity,y,w,X,B]);return sn.useEffect(()=>{de()},[de]),pe.jsxs("label",{htmlFor:_,className:hi("label_benefits w-full flex items-center justify-start bg-zinc-300/60 border border-zinc-400/50 px-4 py-2 hover:bg-zinc-300 transition-colors rounded-lg gap-1",{"cursor-not-allowed":v==="isPreview","cursor-pointer":v==="isActivated"}),id:"label_benefits_"+_,children:[pe.jsx("input",{type:"radio",name:"benefits_discount",id:_,className:"hidden",checked:m,onChange:s,disabled:v==="isPreview"}),m?pe.jsx(y_,{color:"#32b316",size:20}):pe.jsx(p_,{color:"#9f9fa9",size:20}),pe.jsxs("span",{className:"text-zinc-900 font-semibold text-sm",children:[d.authorizedQuantity,"un"]}),pe.jsxs("section",{className:"ml-auto relative",children:[pe.jsxs("span",{className:"absolute text-white -top-4 py-0.5 font-semibold text-xs bg-[#32b316] px-2 w-auto text-nowrap rounded-2xl -right-3",children:[w.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})," ","OFF"]}),pe.jsx("strong",{className:"text-zinc-900 font-semibold text-sm text-center",children:X.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})})]})]})}const T_=async({products:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",m=wm.get("pbm-token");if(!m)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/genericBenefit`,{method:"POST",headers:{Authorization:`Bearer ${m}`,"Content-Type":"application/json"},body:JSON.stringify({products:d})})).json();if(!g.success)throw new Error(g.message||"Failed to fetch benefits without document");return g};function x_(){const{securityNumber:d,setState:s,state:m,targetProduct:y}=wo(),[g,v]=sn.useState(null),[_,R]=sn.useState(!0),[B,w]=sn.useState();return sn.useEffect(()=>{m==="isActivated"?(async()=>{if(!d){console.error("PBMLOG: Document is not defined");return}if(!(y!=null&&y.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!y.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!y.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!y.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const V={productId:Number(y.productId),ean:y.ean,requestedQuantity:1,listPrice:y.listPrice,netPrice:y.price},j=await US({document:d,products:[V]});j.success&&j.data?w(j.data.product):w(void 0)}catch(V){w(void 0),console.error(V)}finally{R(!1)}})():(async()=>{if(!(y!=null&&y.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!y.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!y.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!y.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const V={productId:Number(y.productId),ean:y.ean,requestedQuantity:1,listPrice:y.listPrice,netPrice:y.price},j=await T_({products:[V]});j.success&&j.data?w(j.data):w(void 0)}catch(V){w(void 0),console.error(V)}finally{R(!1)}})()},[]),_?pe.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[pe.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),pe.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"loading_label",children:"Buscando beneficios disponíveis..."})]}):pe.jsxs("section",{className:"flex items-start justify-center gap-4 w-full h-auto flex-col",id:"benefits_table_pbm",children:[pe.jsx($v,{children:"Descontos disponíveis:"}),pe.jsxs("form",{className:"flex flex-col items-center justify-start w-full gap-4.5",id:"form_benefits_table_pbm",children:[!B&&pe.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"benefits_empty_pbm",children:"Não foi possível encontrar benefícios para esse produto."}),B&&B.map((X,de)=>{const V="unity_quantity_"+X.authorizedQuantity;return pe.jsx(S_,{data:X,checked:g===V,onChange:()=>v(V)},de)}),B&&pe.jsx("p",{className:"w-full text-sm font-semibold text-center text-zinc-600",id:"benefits_empty_pbm",children:B[0].informativeMessage})]}),m==="isPreview"&&pe.jsxs(kg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"unauthorized_benefits_button",children:["Atenção: não é possível utilizar os benefícos sem realizar a consulta do cpf, por favor"," ",pe.jsx("span",{className:"underline",children:"insira seu cpf para utilizar os benefícios"})]}),m==="isActivated"&&pe.jsx(kg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"change_security_number",children:pe.jsx("span",{className:"underline",children:"Deseja editar o cpf digitado?"})})]})}function NS(d){return pe.jsx("p",{className:hi("text-start font-normal text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_text",id:"text_pbm",children:d.children})}const E_=d=>d===void 0?"":"?"+Object.keys(d).map(s=>s+"="+d[s]).join("&");function HS(d){const{setState:s}=wo();return pe.jsx("a",{...d,target:"_blank",href:typeof d.href=="string"?d.href:d.href.pathname+E_(d.href.param),className:hi("w-3xs cursor-pointer h-10 rounded-lg bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors flex items-center justify-center",d.className),"data-testid":"test_id_link",id:"link_pbm",onClick:()=>s("isEmpty"),children:d.children})}function __({textColor:d}){const{urlAcceptTerms:s}=wo();return pe.jsxs("section",{"data-testid":"test_id_invalid",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_invalid_container_pbm",children:[pe.jsx($v,{className:"w-full",textColor:d,children:"CPF não cadastrado."}),pe.jsxs(NS,{className:"w-full",textColor:d,children:["Conclua seu cadastro para habilitar o benefício. ",pe.jsx("br",{}),"Ao clicar em “Aceitar os termos”, você irá para uma página externa. Aceite os termos e volte para continuar."]}),pe.jsx(HS,{href:s||"",children:"Aceitar os termos"})]})}function w_({textColor:d}){const{urlRegisterIndustry:s}=wo();return pe.jsxs("section",{"data-testid":"test_id_registered",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_registered_container_pbm",children:[pe.jsx($v,{className:"w-full",textColor:d,children:"Ops, seu CPF ainda não está habilitado para este produto."}),pe.jsx(NS,{className:"w-full",textColor:d,children:"Para ativar o benefício, clique em “Ativar CPF” e conclua a etapa na página externa. Depois, é só voltar para continuar — vamos aguardar você aqui."}),pe.jsx(HS,{href:s||"",children:"Ativar CPF"})]})}const A_=async({PRODUCT_EAN:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",m=wm.get("pbm-token");if(!m)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/ean/${d}`,{method:"GET",headers:{Authorization:`Bearer ${m}`,"Content-Type":"application/json"}})).json();if(!g.success)throw new Error(g.message||"Failed to fetch authorization");return g},R_=async({tenentID:d})=>(wm.set("pbm-token",d,{secure:!0,sameSite:"Strict"}),wm.get("pbm-token")?{success:!0,message:"Tenant ID Definido com sucesso!"}:{success:!1,message:"Erro ao definir o Tenant ID"});function O_({originalProductPrice:d,tenantid:s,eanProduct:m}){const y=Number(String(d).replace(",",".")),[g,v]=sn.useState(!1),{setState:_,state:R,setTargetProduct:B,targetProduct:w}=wo(),X=async()=>{try{if(!m){console.error("PBMLOG: Ean is not defined.");return}const V=await A_({PRODUCT_EAN:m});if(V.success&&V.data){const{pbm:j,sku:fe,...He}=V.data;B({...w,...He,productId:Number(He.productId),informativeMessage:j.informativeMessage??"",discountMax:j.discountMax??0,industryLogo:j.imageLink??void 0,ean:m})}}catch(V){console.error(V)}},de=sn.useCallback(async()=>{if(!s){console.error("PBMLOG: Tenent ID is not defined.");return}try{(await R_({tenentID:s})).success?X():console.error("PBMLOG: Authorization Tenet ID failed!")}catch(V){console.error("Error fetching authorization Tenet ID:",V)}},[s]);return sn.useEffect(()=>{de()},[de]),pe.jsx("div",{id:"pbm-library-root",children:pe.jsxs(H1,{variant:"main",children:[pe.jsx(Px,{originalProductPrice:y||0}),pe.jsxs(H1,{variant:"simple",children:[R==="isEmpty"&&!g&&pe.jsxs(pe.Fragment,{children:[pe.jsx(v_,{setLoading:v}),pe.jsxs(kg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>_("isPreview"),id:"check_benefits_button",children:[pe.jsx("span",{children:"Consultar benefícios"}),pe.jsx(Kv,{size:16})]})]}),R==="isEmpty"&&g&&pe.jsx(b_,{}),R==="isInvalid"&&!g&&pe.jsx(__,{}),R==="isRegistered"&&!g&&pe.jsx(w_,{}),(R==="isActivated"||R==="isPreview")&&!g&&pe.jsx(x_,{})]}),pe.jsx(aE,{})]})})}const z_='/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-amber-500:oklch(76.9% .188 70.08);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-700:oklch(37.3% .034 259.733);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-4{top:calc(var(--spacing)*-4)}.-top-6{top:calc(var(--spacing)*-6)}.-right-3{right:calc(var(--spacing)*-3)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.left-2{left:calc(var(--spacing)*2)}.left-10{left:calc(var(--spacing)*10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-\\[80\\%\\]{height:80%}.h-auto{height:auto}.w-1\\/5{width:20%}.w-3xs{width:var(--container-3xs)}.w-4\\/5{width:80%}.w-8{width:calc(var(--spacing)*8)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.max-w-md{max-width:var(--container-md)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.shrink-0{flex-shrink:0}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-4\\.5{gap:calc(var(--spacing)*4.5)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-lg{border-start-start-radius:var(--radius-lg);border-end-start-radius:var(--radius-lg)}.rounded-ss-2xl{border-start-start-radius:var(--radius-2xl)}.rounded-e-lg{border-start-end-radius:var(--radius-lg);border-end-end-radius:var(--radius-lg)}.rounded-se-2xl{border-start-end-radius:var(--radius-2xl)}.rounded-ee-2xl{border-end-end-radius:var(--radius-2xl)}.rounded-es-2xl{border-end-start-radius:var(--radius-2xl)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-\\[\\#44c2c0\\]{border-color:#44c2c0}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-300{border-color:var(--color-gray-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:#9f9fa980}@supports (color:color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400)50%,transparent)}}.border-t-gray-700{border-top-color:var(--color-gray-700)}.bg-\\[\\#32b316\\]{background-color:#32b316}.bg-\\[\\#44c2c0\\]{background-color:#44c2c0}.bg-\\[\\#44c2c0\\]\\/30{background-color:#44c2c04d}.bg-black\\/35{background-color:#00000059}@supports (color:color-mix(in lab,red,red)){.bg-black\\/35{background-color:color-mix(in oklab,var(--color-black)35%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-zinc-300\\/60{background-color:#d4d4d899}@supports (color:color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300)60%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-\\[\\#339c9b\\]{color:#339c9b}.text-amber-500{color:var(--color-amber-500)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}@media (hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-emerald-400:hover{background-color:var(--color-emerald-400)}.hover\\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-zinc-300:hover{background-color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\[\\#339c9b\\]:focus{outline-color:#339c9b}@media (min-width:48rem){.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}}:root{--max-container:556px;--min-container:350px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}';window.pbm=Ix();class D_ extends HTMLElement{constructor(){super();y1(this,"root",null);y1(this,"props",{originalProductPrice:0,tenantid:"",eanProduct:""});this.attachShadow({mode:"open"})}static get observedAttributes(){return["originalproductprice","tenantid","eanproduct"]}updatePropsFromAttributes(){const m=this.getAttribute("originalproductprice"),y=this.getAttribute("tenantid"),g=this.getAttribute("eanproduct");m!==null&&(this.props.originalProductPrice=m),y!==null&&(this.props.tenantid=y),g!==null&&(this.props.eanProduct=g,g&&Eg.getState().setTargetProduct({ean:g,quantity:1}))}connectedCallback(){this.updatePropsFromAttributes(),this.mount()}attributeChangedCallback(m,y,g){m==="originalproductprice"&&(this.props.originalProductPrice=parseFloat(g)),m==="tenantid"&&(this.props.tenantid=g),m==="eanproduct"&&(this.props.eanProduct=g,g&&Eg.getState().setTargetProduct({ean:g,quantity:1})),this.mount()}mount(){if(!this.isConnected)return;let m=this.shadowRoot;if(!(!m&&(this.attachShadow({mode:"open"}),m=this.shadowRoot,!m))){if(!m.querySelector("#pbm-shadow-root")){const y=document.createElement("div");y.id="pbm-shadow-root";const g=document.createElement("style");g.textContent=z_,m.appendChild(g),m.appendChild(y),this.root=Kx.createRoot(y)}this.root&&this.root.render(pe.jsx(O_,{...this.props}))}}}customElements.define("pbm-component",D_)})();
|
|
359
|
+
*/const p_=Xv("badge",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]]);/*! js-cookie v3.0.5 | MIT */function Ng(d){for(var s=1;s<arguments.length;s++){var m=arguments[s];for(var y in m)d[y]=m[y]}return d}var g_={read:function(d){return d[0]==='"'&&(d=d.slice(1,-1)),d.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(d){return encodeURIComponent(d).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Kv(d,s){function m(g,v,_){if(!(typeof document>"u")){_=Ng({},s,_),typeof _.expires=="number"&&(_.expires=new Date(Date.now()+_.expires*864e5)),_.expires&&(_.expires=_.expires.toUTCString()),g=encodeURIComponent(g).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var R="";for(var B in _)_[B]&&(R+="; "+B,_[B]!==!0&&(R+="="+_[B].split(";")[0]));return document.cookie=g+"="+d.write(v,g)+R}}function y(g){if(!(typeof document>"u"||arguments.length&&!g)){for(var v=document.cookie?document.cookie.split("; "):[],_={},R=0;R<v.length;R++){var B=v[R].split("="),w=B.slice(1).join("=");try{var X=decodeURIComponent(B[0]);if(_[X]=d.read(w,X),g===X)break}catch{}}return g?_[g]:_}}return Object.create({set:m,get:y,remove:function(g,v){m(g,"",Ng({},v,{expires:-1}))},withAttributes:function(g){return Kv(this.converter,Ng({},this.attributes,g))},withConverter:function(g){return Kv(Ng({},this.converter,g),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(d)}})}var Jv=Kv(g_,{path:"/"});const US=async({document:d,products:s})=>{const m="https://pbm.agradadigital.agradalabs.com/api/v1",y=Jv.get("pbm-token");if(!y)throw new Error("Token is not defined in cookies or is expired");const v=await(await fetch(`${m}/products/benefitByDocument`,{method:"POST",headers:{Authorization:`Bearer ${y}`,"Content-Type":"application/json"},body:JSON.stringify({consumer:{document:d},products:s})})).json();if(!v.success)throw new Error(v.message||"Failed to fetch document validation");return v};function Hg(d){return pe.jsx("button",{...d,className:hi("w-3xs cursor-pointer h-10 rounded-lg bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors",d.className),children:d.children})}function v_({setLoading:d}){const{setSecurityNumber:s,setState:m,securityNumber:y,targetProduct:g,setUrlAcceptTerms:v,setUrlRegisterIndustry:_}=wo(),[R,B]=sn.useState(!1),{handleSubmit:w,register:X,setValue:de,clearErrors:V,unregister:j,formState:{errors:fe}}=PE({resolver:c_(DE),mode:"onSubmit",defaultValues:{securityNumber:y||"",coupon:""}}),He=async Xe=>{R||de("coupon",void 0,{shouldValidate:!1}),d(!0);try{if(g===null){console.error("PBMLOG: Product is not defined!");return}if(!g.productId){console.error("PBMLOG: Product ID is not defined!");return}if(!g.listPrice){console.error("PBMLOG: List Price is not defined!");return}const Fe=await US({document:Xe.securityNumber.replace(/\D/g,""),products:[{productId:g.productId,ean:g.ean,requestedQuantity:1,listPrice:g.listPrice,netPrice:g.netPrice??g.listPrice}]});if(Fe.success){const _e={acceptance:"isInvalid","industry registration":"isRegistered",active:"isActivated"};if(s(Xe.securityNumber),m(_e[Fe.data.product[0].statusCustomer]),_e[Fe.data.product[0].statusCustomer]==="isInvalid"){v(Fe.data.product[0].urlAcceptTerm||void 0);return}if(_e[Fe.data.product[0].statusCustomer]==="isRegistered"){_(Fe.data.product[0].informativeLink);return}}}catch(Fe){console.error("PBMLOG: Error validating document -",Fe)}finally{d(!1)}};return pe.jsxs(pe.Fragment,{children:[pe.jsxs("form",{onSubmit:w(He),className:hi("w-full h-auto flex items-center justify-center mb-0 transition-all duration-150",{"mb-4":fe.securityNumber||fe.coupon&&R,"gap-2":R}),id:"form_security_number_pbm",children:[pe.jsxs("label",{htmlFor:"cpf",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_security_number_pbm",children:[pe.jsx("input",{type:"text",className:hi("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":fe.securityNumber,"rounded-lg":R}),placeholder:"Digite seu CPF aqui...",required:!0,maxLength:14,...X("securityNumber",{onChange:Xe=>{const Fe=ME(Xe.target.value);de("securityNumber",Fe,{shouldValidate:!0})}}),defaultValue:y||"",id:"input_security_number_pbm"}),fe.securityNumber&&pe.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"security_number_form_error",children:fe.securityNumber.message})]}),R&&pe.jsxs("label",{htmlFor:"coupon",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_coupon_pbm",children:[pe.jsx("input",{type:"text",className:hi("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":fe.coupon,"rounded-lg":R}),placeholder:"Cupom / ID do Cartão",...X("coupon",{required:R?"Cupom / ID do Cartão obrigatório.":!1,shouldUnregister:!R,onChange:Xe=>{de("coupon",Xe.target.value,{shouldValidate:R})}}),id:"input_coupon_pbm"}),fe.coupon&&pe.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"coupon_form_error",children:fe.coupon.message})]}),pe.jsx("button",{type:"submit",className:hi("bg-emerald-500 w-1/5 h-10 rounded-e-lg flex items-center justify-center cursor-pointer",{"rounded-lg":R}),id:"button_submit_security_number_pbm",children:pe.jsx(Qv,{size:24,color:"white",strokeWidth:2})})]}),pe.jsxs(Hg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>{const Xe=!R;B(Xe),Xe||(j("coupon"),V("coupon"))},id:"check_benefits_button",children:[pe.jsx("span",{children:R?"Não possui cupom?":"Possui cupom?"}),pe.jsx(Qv,{size:16,className:hi({"rotate-0":!R,"rotate-180":R})})]})]})}function b_({textColor:d}){return pe.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[pe.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),pe.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",style:{color:d},id:"loading_label",children:"Um momento... estamos verificando seus dados."})]})}function $v(d){return pe.jsx("h2",{className:hi("text-start font-semibold text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_title",id:"title_pbm",children:d.children})}function S_({data:d,onChange:s,checked:m}){const{setAvailableDiscountSelected:y,securityNumber:g,state:v}=wo(),_="unity_quantity_"+d.authorizedQuantity,R=d.discountPercentual/100,B=d.grossPrice*R,w=B*d.authorizedQuantity,X=d.grossPrice*d.authorizedQuantity-w,de=sn.useCallback(()=>{if(m){const V=j=>Math.round(j*100)/100;y({discount:{total:V(w),unit:V(B)},quantity:d.authorizedQuantity,totalPrice:V(X),grossPrice:d.grossPrice})}},[m,d.authorizedQuantity,y,w,X,B]);return sn.useEffect(()=>{de()},[de]),pe.jsxs("label",{htmlFor:_,className:hi("label_benefits w-full flex items-center justify-start bg-zinc-300/60 border border-zinc-400/50 px-4 py-2 hover:bg-zinc-300 transition-colors rounded-lg gap-1",{"cursor-not-allowed":v==="isPreview","cursor-pointer":v==="isActivated"}),id:"label_benefits_"+_,children:[pe.jsx("input",{type:"radio",name:"benefits_discount",id:_,className:"hidden",checked:m,onChange:s,disabled:v==="isPreview"}),m?pe.jsx(y_,{color:"#32b316",size:20}):pe.jsx(p_,{color:"#9f9fa9",size:20}),pe.jsxs("span",{className:"text-zinc-900 font-semibold text-sm",children:[d.authorizedQuantity,"un"]}),pe.jsxs("section",{className:"ml-auto relative",children:[pe.jsxs("span",{className:"absolute text-white -top-4 py-0.5 font-semibold text-xs bg-[#32b316] px-2 w-auto text-nowrap rounded-2xl -right-3",children:[w.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})," ","OFF"]}),pe.jsx("strong",{className:"text-zinc-900 font-semibold text-sm text-center",children:X.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})})]})]})}const T_=async({products:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",m=Jv.get("pbm-token");if(!m)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/genericBenefit`,{method:"POST",headers:{Authorization:`Bearer ${m}`,"Content-Type":"application/json"},body:JSON.stringify({products:d})})).json();if(!g.success)throw new Error(g.message||"Failed to fetch benefits without document");return g};function x_(){const{securityNumber:d,setState:s,state:m,targetProduct:y}=wo(),[g,v]=sn.useState(null),[_,R]=sn.useState(!0),[B,w]=sn.useState();return sn.useEffect(()=>{m==="isActivated"?(async()=>{if(!d){console.error("PBMLOG: Document is not defined");return}if(!(y!=null&&y.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!y.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!y.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!y.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const V={productId:Number(y.productId),ean:y.ean,requestedQuantity:1,listPrice:y.listPrice,netPrice:y.price},j=await US({document:d,products:[V]});j.success&&j.data?w(j.data.product):w(void 0)}catch(V){w(void 0),console.error(V)}finally{R(!1)}})():(async()=>{if(!(y!=null&&y.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!y.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!y.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!y.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const V={productId:Number(y.productId),ean:y.ean,requestedQuantity:1,listPrice:y.listPrice,netPrice:y.price},j=await T_({products:[V]});j.success&&j.data?w(j.data):w(void 0)}catch(V){w(void 0),console.error(V)}finally{R(!1)}})()},[]),_?pe.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[pe.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),pe.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"loading_label",children:"Buscando beneficios disponíveis..."})]}):pe.jsxs("section",{className:"flex items-start justify-center gap-4 w-full h-auto flex-col",id:"benefits_table_pbm",children:[pe.jsx($v,{children:"Descontos disponíveis:"}),pe.jsxs("form",{className:"flex flex-col items-center justify-start w-full gap-4.5",id:"form_benefits_table_pbm",children:[!B&&pe.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"benefits_empty_pbm",children:"Não foi possível encontrar benefícios para esse produto."}),B&&B.map((X,de)=>{const V="unity_quantity_"+X.authorizedQuantity;return pe.jsx(S_,{data:X,checked:g===V,onChange:()=>v(V)},de)}),B&&pe.jsx("p",{className:"w-full text-sm font-semibold text-center text-zinc-600",id:"benefits_empty_pbm",children:B[0].informativeMessage})]}),m==="isPreview"&&pe.jsxs(Hg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"unauthorized_benefits_button",children:["Atenção: não é possível utilizar os benefícos sem realizar a consulta do cpf, por favor"," ",pe.jsx("span",{className:"underline",children:"insira seu cpf para utilizar os benefícios"})]}),m==="isActivated"&&pe.jsx(Hg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"change_security_number",children:pe.jsx("span",{className:"underline",children:"Deseja editar o cpf digitado?"})})]})}function NS(d){return pe.jsx("p",{className:hi("text-start font-normal text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_text",id:"text_pbm",children:d.children})}const E_=d=>d===void 0?"":"?"+Object.keys(d).map(s=>s+"="+d[s]).join("&");function HS(d){const{setState:s}=wo();return pe.jsx("a",{...d,target:"_blank",href:typeof d.href=="string"?d.href:d.href.pathname+E_(d.href.param),className:hi("w-3xs cursor-pointer h-10 rounded-lg bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors flex items-center justify-center",d.className),"data-testid":"test_id_link",id:"link_pbm",onClick:()=>s("isEmpty"),children:d.children})}function __({textColor:d}){const{urlAcceptTerms:s}=wo();return pe.jsxs("section",{"data-testid":"test_id_invalid",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_invalid_container_pbm",children:[pe.jsx($v,{className:"w-full",textColor:d,children:"CPF não cadastrado."}),pe.jsxs(NS,{className:"w-full",textColor:d,children:["Conclua seu cadastro para habilitar o benefício. ",pe.jsx("br",{}),"Ao clicar em “Aceitar os termos”, você irá para uma página externa. Aceite os termos e volte para continuar."]}),pe.jsx(HS,{href:s||"",children:"Aceitar os termos"})]})}function w_({textColor:d}){const{urlRegisterIndustry:s}=wo();return pe.jsxs("section",{"data-testid":"test_id_registered",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_registered_container_pbm",children:[pe.jsx($v,{className:"w-full",textColor:d,children:"Ops, seu CPF ainda não está habilitado para este produto."}),pe.jsx(NS,{className:"w-full",textColor:d,children:"Para ativar o benefício, clique em “Ativar CPF” e conclua a etapa na página externa. Depois, é só voltar para continuar — vamos aguardar você aqui."}),pe.jsx(HS,{href:s||"",children:"Ativar CPF"})]})}const A_=async({clientID:d})=>{const m=await(await fetch("https://auth-proxy-pbm.vercel.app/api/auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({clientId:d})})).json();if(!m.success)throw new Error("Authorization failed");return m},R_=async({PRODUCT_EAN:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",m=Jv.get("pbm-token");if(!m)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/ean/${d}`,{method:"GET",headers:{Authorization:`Bearer ${m}`,"Content-Type":"application/json"}})).json();if(!g.success)throw new Error(g.message||"Failed to fetch authorization");return g};function O_({originalProductPrice:d,clientID:s,eanProduct:m}){const y=Number(String(d).replace(",",".")),[g,v]=sn.useState(!1),{setState:_,state:R,setTargetProduct:B,targetProduct:w}=wo(),X=async()=>{try{if(!m){console.error("PBMLOG: Ean is not defined.");return}const V=await R_({PRODUCT_EAN:m});if(V.success&&V.data){const{pbm:j,sku:fe,...He}=V.data;B({...w,...He,productId:Number(He.productId),informativeMessage:j.informativeMessage??"",discountMax:j.discountMax??0,industryLogo:j.imageLink??void 0,ean:m})}}catch(V){console.error(V)}},de=sn.useCallback(async()=>{try{(await A_({clientID:s})).success?X():console.error("PBMLOG: Authorization failed!")}catch(V){console.error("Error fetching authorization:",V)}},[s]);return sn.useEffect(()=>{de()},[de]),pe.jsx("div",{id:"pbm-library-root",children:pe.jsxs(H1,{variant:"main",children:[pe.jsx(Px,{originalProductPrice:y||0}),pe.jsxs(H1,{variant:"simple",children:[R==="isEmpty"&&!g&&pe.jsxs(pe.Fragment,{children:[pe.jsx(v_,{setLoading:v}),pe.jsxs(Hg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>_("isPreview"),id:"check_benefits_button",children:[pe.jsx("span",{children:"Consultar benefícios"}),pe.jsx(Qv,{size:16})]})]}),R==="isEmpty"&&g&&pe.jsx(b_,{}),R==="isInvalid"&&!g&&pe.jsx(__,{}),R==="isRegistered"&&!g&&pe.jsx(w_,{}),(R==="isActivated"||R==="isPreview")&&!g&&pe.jsx(x_,{})]}),pe.jsx(aE,{})]})})}const z_='/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-amber-500:oklch(76.9% .188 70.08);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-700:oklch(37.3% .034 259.733);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-4{top:calc(var(--spacing)*-4)}.-top-6{top:calc(var(--spacing)*-6)}.-right-3{right:calc(var(--spacing)*-3)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.left-2{left:calc(var(--spacing)*2)}.left-10{left:calc(var(--spacing)*10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-\\[80\\%\\]{height:80%}.h-auto{height:auto}.w-1\\/5{width:20%}.w-3xs{width:var(--container-3xs)}.w-4\\/5{width:80%}.w-8{width:calc(var(--spacing)*8)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.max-w-md{max-width:var(--container-md)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.shrink-0{flex-shrink:0}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-4\\.5{gap:calc(var(--spacing)*4.5)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-lg{border-start-start-radius:var(--radius-lg);border-end-start-radius:var(--radius-lg)}.rounded-ss-2xl{border-start-start-radius:var(--radius-2xl)}.rounded-e-lg{border-start-end-radius:var(--radius-lg);border-end-end-radius:var(--radius-lg)}.rounded-se-2xl{border-start-end-radius:var(--radius-2xl)}.rounded-ee-2xl{border-end-end-radius:var(--radius-2xl)}.rounded-es-2xl{border-end-start-radius:var(--radius-2xl)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-\\[\\#44c2c0\\]{border-color:#44c2c0}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-300{border-color:var(--color-gray-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:#9f9fa980}@supports (color:color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400)50%,transparent)}}.border-t-gray-700{border-top-color:var(--color-gray-700)}.bg-\\[\\#32b316\\]{background-color:#32b316}.bg-\\[\\#44c2c0\\]{background-color:#44c2c0}.bg-\\[\\#44c2c0\\]\\/30{background-color:#44c2c04d}.bg-black\\/35{background-color:#00000059}@supports (color:color-mix(in lab,red,red)){.bg-black\\/35{background-color:color-mix(in oklab,var(--color-black)35%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-zinc-300\\/60{background-color:#d4d4d899}@supports (color:color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300)60%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-\\[\\#339c9b\\]{color:#339c9b}.text-amber-500{color:var(--color-amber-500)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}@media (hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-emerald-400:hover{background-color:var(--color-emerald-400)}.hover\\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-zinc-300:hover{background-color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\[\\#339c9b\\]:focus{outline-color:#339c9b}@media (min-width:48rem){.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}}:root{--max-container:556px;--min-container:350px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}';window.pbm=Ix();class D_ extends HTMLElement{constructor(){super();y1(this,"root",null);y1(this,"props",{originalProductPrice:0,clientID:"",eanProduct:""});this.attachShadow({mode:"open"})}static get observedAttributes(){return["originalproductprice","clientid","eanproduct"]}updatePropsFromAttributes(){const m=this.getAttribute("originalproductprice"),y=this.getAttribute("clientid"),g=this.getAttribute("eanproduct");m!==null&&(this.props.originalProductPrice=m),y!==null&&(this.props.clientID=y),g!==null&&(this.props.eanProduct=g,g&&xg.getState().setTargetProduct({ean:g,quantity:1}))}connectedCallback(){this.updatePropsFromAttributes(),this.mount()}attributeChangedCallback(m,y,g){m==="originalproductprice"&&(this.props.originalProductPrice=parseFloat(g)),m==="clientid"&&(this.props.clientID=g),m==="eanproduct"&&(this.props.eanProduct=g,g&&xg.getState().setTargetProduct({ean:g,quantity:1})),this.mount()}mount(){if(!this.isConnected)return;let m=this.shadowRoot;if(!(!m&&(this.attachShadow({mode:"open"}),m=this.shadowRoot,!m))){if(!m.querySelector("#pbm-shadow-root")){const y=document.createElement("div");y.id="pbm-shadow-root";const g=document.createElement("style");g.textContent=z_,m.appendChild(g),m.appendChild(y),this.root=Kx.createRoot(y)}this.root&&this.root.render(pe.jsx(O_,{...this.props}))}}}customElements.define("pbm-component",D_)})();
|