api_binding_ui 3.3.0 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/app/{index-xww2x0kd.js → index-bv4ej4bf.js} +9 -9
- package/dist/app/index.html +1 -1
- package/dist/cli.js +9 -9
- package/dist/{index-gfw08965.js → index-s44cgmck.js} +4 -2
- package/dist/{index-gfw08965.js.map → index-s44cgmck.js.map} +3 -3
- package/dist/index.js +11 -11
- package/dist/index.js.map +3 -3
- package/dist/studio/index.js +1 -1
- package/dist/vite.js +11 -12
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var YN=Object.create;var{getPrototypeOf:GN,defineProperty:JO,getOwnPropertyNames:QN}=Object;var KO=Object.prototype.hasOwnProperty;function XN(l){return this[l]}var JN,KN,me=(l,s,r)=>{var c=l!=null&&typeof l==="object";if(c){var f=s?JN??=new WeakMap:KN??=new WeakMap,p=f.get(l);if(p)return p}r=l!=null?YN(GN(l)):{};let m=s||!l||!l.__esModule||!KO.call(l,"default")?JO(r,"default",{value:l,enumerable:!0}):r;if(l&&typeof l==="object"||typeof l==="function"){for(let g of QN(l))if(!KO.call(m,g))JO(m,g,{get:XN.bind(l,g),enumerable:!0})}if(c)f.set(l,m);return m};var Ns=(l,s)=>()=>(s||l((s={exports:{}}).exports,s),s.exports);var en=Ns(function(ZN,Yp){(function(){function l(b,k){Object.defineProperty(c.prototype,b,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",k[0],k[1])}})}function s(b){if(b===null||typeof b!=="object")return null;return b=st&&b[st]||b["@@iterator"],typeof b==="function"?b:null}function r(b,k){b=(b=b.constructor)&&(b.displayName||b.name)||"ReactClass";var ne=b+"."+k;qt[ne]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",k,b),qt[ne]=!0)}function c(b,k,ne){this.props=b,this.context=k,this.refs=an,this.updater=ne||wt}function f(){}function p(b,k,ne){this.props=b,this.context=k,this.refs=an,this.updater=ne||wt}function m(){}function g(b){return""+b}function v(b){try{g(b);var k=!1}catch(ue){k=!0}if(k){k=console;var ne=k.error,ae=typeof Symbol==="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return ne.call(k,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ae),g(b)}}function S(b){if(b==null)return null;if(typeof b==="function")return b.$$typeof===Xa?null:b.displayName||b.name||null;if(typeof b==="string")return b;switch(b){case L:return"Fragment";case Se:return"Profiler";case ye:return"StrictMode";case
|
|
1
|
+
var YN=Object.create;var{getPrototypeOf:GN,defineProperty:JO,getOwnPropertyNames:QN}=Object;var KO=Object.prototype.hasOwnProperty;function XN(l){return this[l]}var JN,KN,me=(l,s,r)=>{var c=l!=null&&typeof l==="object";if(c){var f=s?JN??=new WeakMap:KN??=new WeakMap,p=f.get(l);if(p)return p}r=l!=null?YN(GN(l)):{};let m=s||!l||!l.__esModule||!KO.call(l,"default")?JO(r,"default",{value:l,enumerable:!0}):r;if(l&&typeof l==="object"||typeof l==="function"){for(let g of QN(l))if(!KO.call(m,g))JO(m,g,{get:XN.bind(l,g),enumerable:!0})}if(c)f.set(l,m);return m};var Ns=(l,s)=>()=>(s||l((s={exports:{}}).exports,s),s.exports);var en=Ns(function(ZN,Yp){(function(){function l(b,k){Object.defineProperty(c.prototype,b,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",k[0],k[1])}})}function s(b){if(b===null||typeof b!=="object")return null;return b=st&&b[st]||b["@@iterator"],typeof b==="function"?b:null}function r(b,k){b=(b=b.constructor)&&(b.displayName||b.name)||"ReactClass";var ne=b+"."+k;qt[ne]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",k,b),qt[ne]=!0)}function c(b,k,ne){this.props=b,this.context=k,this.refs=an,this.updater=ne||wt}function f(){}function p(b,k,ne){this.props=b,this.context=k,this.refs=an,this.updater=ne||wt}function m(){}function g(b){return""+b}function v(b){try{g(b);var k=!1}catch(ue){k=!0}if(k){k=console;var ne=k.error,ae=typeof Symbol==="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return ne.call(k,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ae),g(b)}}function S(b){if(b==null)return null;if(typeof b==="function")return b.$$typeof===Xa?null:b.displayName||b.name||null;if(typeof b==="string")return b;switch(b){case L:return"Fragment";case Se:return"Profiler";case ye:return"StrictMode";case K:return"Suspense";case J:return"SuspenseList";case lt:return"Activity";case Ht:return"ViewTransition"}if(typeof b==="object")switch(typeof b.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case kn:return"Portal";case te:return b.displayName||"Context";case q:return(b._context.displayName||"Context")+".Consumer";case Q:var k=b.render;return b=b.displayName,b||(b=k.displayName||k.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case se:return k=b.displayName||null,k!==null?k:S(b.type)||"Memo";case Re:k=b._payload,b=b._init;try{return S(b(k))}catch(ne){}}return null}function A(b){if(b===L)return"<>";if(typeof b==="object"&&b!==null&&b.$$typeof===Re)return"<...>";try{var k=S(b);return k?"<"+k+">":"<...>"}catch(ne){return"<...>"}}function C(){var b=ze.A;return b===null?null:b.getOwner()}function T(){return Error("react-stack-top-frame")}function E(b){if(oe.call(b,"key")){var k=Object.getOwnPropertyDescriptor(b,"key").get;if(k&&k.isReactWarning)return!1}return b.key!==void 0}function B(b,k){function ne(){An||(An=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",k))}ne.isReactWarning=!0,Object.defineProperty(b,"key",{get:ne,configurable:!0})}function w(){var b=S(this.type);return Vl[b]||(Vl[b]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),b=this.props.ref,b!==void 0?b:null}function z(b,k,ne,ae,ue,it){var fe=ne.ref;return b={$$typeof:Ce,type:b,key:k,props:ne,_owner:ae},(fe!==void 0?fe:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:w}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ue}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:it}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function R(b,k){return k=z(b.type,k,b.props,b._owner,b._debugStack,b._debugTask),b._store&&(k._store.validated=b._store.validated),k}function H(b){Y(b)?b._store&&(b._store.validated=1):typeof b==="object"&&b!==null&&b.$$typeof===Re&&(b._payload.status==="fulfilled"?Y(b._payload.value)&&b._payload.value._store&&(b._payload.value._store.validated=1):b._store&&(b._store.validated=1))}function Y(b){return typeof b==="object"&&b!==null&&b.$$typeof===Ce}function P(b){var k={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(ne){return k[ne]})}function ce(b,k){return typeof b==="object"&&b!==null&&b.key!=null?(v(b.key),P(""+b.key)):k.toString(36)}function G(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status==="string"?b.then(m,m):(b.status="pending",b.then(function(k){b.status==="pending"&&(b.status="fulfilled",b.value=k)},function(k){b.status==="pending"&&(b.status="rejected",b.reason=k)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function ie(b,k,ne,ae,ue){var it=typeof b;if(it==="undefined"||it==="boolean")b=null;var fe=!1;if(b===null)fe=!0;else switch(it){case"bigint":case"string":case"number":fe=!0;break;case"object":switch(b.$$typeof){case Ce:case kn:fe=!0;break;case Re:return fe=b._init,ie(fe(b._payload),k,ne,ae,ue)}}if(fe){fe=b,ue=ue(fe);var ke=ae===""?"."+ce(fe,0):ae;return ql(ue)?(ne="",ke!=null&&(ne=ke.replace(hf,"$&/")+"/"),ie(ue,k,ne,"",function(Da){return Da})):ue!=null&&(Y(ue)&&(ue.key!=null&&(fe&&fe.key===ue.key||v(ue.key)),ne=R(ue,ne+(ue.key==null||fe&&fe.key===ue.key?"":(""+ue.key).replace(hf,"$&/")+"/")+ke),ae!==""&&fe!=null&&Y(fe)&&fe.key==null&&fe._store&&!fe._store.validated&&(ne._store.validated=2),ue=ne),k.push(ue)),1}if(fe=0,ke=ae===""?".":ae+":",ql(b))for(var tt=0;tt<b.length;tt++)ae=b[tt],it=ke+ce(ae,tt),fe+=ie(ae,k,ne,it,ue);else if(tt=s(b),typeof tt==="function")for(tt===b.entries&&(Ls||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ls=!0),b=tt.call(b),tt=0;!(ae=b.next()).done;)ae=ae.value,it=ke+ce(ae,tt++),fe+=ie(ae,k,ne,it,ue);else if(it==="object"){if(typeof b.then==="function")return ie(G(b),k,ne,ae,ue);throw k=String(b),Error("Objects are not valid as a React child (found: "+(k==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":k)+"). If you meant to render a collection of children, use an array instead.")}return fe}function W(b,k,ne){if(b==null)return b;var ae=[],ue=0;return ie(b,ae,"","",function(it){return k.call(ne,it,ue++)}),ae}function Me(b){if(b._status===-1){var k=null,ne=null,ae=b._ioInfo;ae!=null&&(ae.start=ae.end=performance.now(),ae.value=new Promise(function(fe,ke){k=fe,ne=ke})),ae=b._result;var ue=ae();if(ue.then(function(fe){if(b._status===0||b._status===-1){b._status=1,b._result=fe;var ke=b._ioInfo;if(ke!=null){ke.end=performance.now();var tt=fe==null?void 0:fe.default;k(tt),ke.value.status="fulfilled",ke.value.value=tt}ue.status===void 0&&(ue.status="fulfilled",ue.value=fe)}},function(fe){if(b._status===0||b._status===-1){b._status=2,b._result=fe;var ke=b._ioInfo;ke!=null&&(ke.end=performance.now(),ke.value.then(m,m),ne(fe),ke.value.status="rejected",ke.value.reason=fe),ue.status===void 0&&(ue.status="rejected",ue.reason=fe)}}),ae=b._ioInfo,ae!=null){var it=ue.displayName;typeof it==="string"&&(ae.name=it)}b._status===-1&&(b._status=0,b._result=ue)}if(b._status===1)return ae=b._result,ae===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
2
|
|
|
3
3
|
Your code should look like:
|
|
4
4
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -10,11 +10,11 @@ Your code should look like:
|
|
|
10
10
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
11
|
2. You might be breaking the Rules of Hooks
|
|
12
12
|
3. You might have more than one copy of React in the same app
|
|
13
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),b}function Ee(){ze.asyncTransitions--}function xe(b){var k=ze.T,ne={};ne.types=k!==null?k.types:null,ne._updatedFibers=new Set,ze.T=ne;try{var ae=b(),ue=ze.S;ue!==null&&ue(ne,ae),typeof ae==="object"&&ae!==null&&typeof ae.then==="function"&&(ze.asyncTransitions++,ae.then(Ee,Ee),ae.then(m,At))}catch(it){At(it)}finally{k===null&&ne._updatedFibers&&(b=ne._updatedFibers.size,ne._updatedFibers.clear(),10<b&&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!==null&&ne.types!==null&&(k.types!==null&&k.types!==ne.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),k.types=ne.types),ze.T=k}}function ot(b){var k=ze.T;if(k!==null){var ne=k.types;ne===null?k.types=[b]:ne.indexOf(b)===-1&&ne.push(b)}else ze.asyncTransitions===0&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),xe(ot.bind(null,b))}function Fn(b){if(Na===null)try{var k=("require"+Math.random()).slice(0,7);Na=(Yp&&Yp[k]).call(Yp,"timers").setImmediate}catch(ne){Na=function(ae){mf===!1&&(mf=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ue=new MessageChannel;ue.port1.onmessage=ae,ue.port2.postMessage(void 0)}}return Na(b)}function le(b){return 1<b.length&&typeof AggregateError==="function"?AggregateError(b):b[0]}function Oe(b,k){k!==rl-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. "),rl=k}function Ae(b,k,ne){var ae=ze.actQueue;if(ae!==null)if(ae.length!==0)try{Ye(ae),Fn(function(){return Ae(b,k,ne)});return}catch(ue){ze.thrownErrors.push(ue)}else ze.actQueue=null;0<ze.thrownErrors.length?(ae=le(ze.thrownErrors),ze.thrownErrors.length=0,ne(ae)):k(b)}function Ye(b){if(!Hs){Hs=!0;var k=0;try{for(;k<b.length;k++){var ne=b[k];do{ze.didUsePromise=!1;var ae=ne(!1);if(ae!==null){if(ze.didUsePromise){b[k]=ne,b.splice(0,k);return}ne=ae}else break}while(1)}b.length=0}catch(ue){b.splice(0,k+1),ze.thrownErrors.push(ue)}finally{Hs=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ce=Symbol.for("react.transitional.element"),kn=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),Se=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),te=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),lt=Symbol.for("react.activity"),Ht=Symbol.for("react.view_transition"),st=Symbol.iterator,qt={},wt={isMounted:function(){return!1},enqueueForceUpdate:function(b){r(b,"forceUpdate")},enqueueReplaceState:function(b){r(b,"replaceState")},enqueueSetState:function(b){r(b,"setState")}},fa=Object.assign,an={};Object.freeze(an),c.prototype.isReactComponent={},c.prototype.setState=function(b,k){if(typeof b!=="object"&&typeof b!=="function"&&b!=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,b,k,"setState")},c.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};var Ot={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(cl in Ot)Ot.hasOwnProperty(cl)&&l(cl,Ot[cl]);f.prototype=c.prototype,Ot=p.prototype=new f,Ot.constructor=p,fa(Ot,c.prototype),Ot.isPureReactComponent=!0;var ql=Array.isArray,Xa=Symbol.for("react.client.reference"),ze={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},oe=Object.prototype.hasOwnProperty,mn=console.createTask?console.createTask:function(){return null};Ot={react_stack_bottom_frame:function(b){return b()}};var An,sl,Vl={},bt=Ot.react_stack_bottom_frame.bind(Ot,T)(),gc=mn(A(T)),Ls=!1,hf=/\/+/g,At=typeof reportError==="function"?reportError:function(b){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var k=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b==="object"&&b!==null&&typeof b.message==="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(k))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",b);return}console.error(b)},mf=!1,Na=null,rl=0,vo=!1,Hs=!1,gf=typeof queueMicrotask==="function"?function(b){queueMicrotask(function(){return queueMicrotask(b)})}:Fn;Ot=Object.freeze({__proto__:null,c:function(b){return Ne().useMemoCache(b)}});var cl={map:W,forEach:function(b,k,ne){W(b,function(){k.apply(this,arguments)},ne)},count:function(b){var k=0;return W(b,function(){k++}),k},toArray:function(b){return W(b,function(k){return k})||[]},only:function(b){if(!Y(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};ZN.Activity=lt,ZN.Children=cl,ZN.Component=c,ZN.Fragment=L,ZN.Profiler=Se,ZN.PureComponent=p,ZN.StrictMode=ye,ZN.Suspense=Z,ZN.ViewTransition=Ht,ZN.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ze,ZN.__COMPILER_RUNTIME=Ot,ZN.act=function(b){var k=ze.actQueue,ne=rl;rl++;var ae=ze.actQueue=k!==null?k:[],ue=!1;try{var it=b()}catch(tt){ze.thrownErrors.push(tt)}if(0<ze.thrownErrors.length)throw Oe(k,ne),b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;if(it!==null&&typeof it==="object"&&typeof it.then==="function"){var fe=it;return gf(function(){ue||vo||(vo=!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(tt,Da){ue=!0,fe.then(function(So){if(Oe(k,ne),ne===0){try{Ye(ae),Fn(function(){return Ae(So,tt,Da)})}catch(js){ze.thrownErrors.push(js)}if(0<ze.thrownErrors.length){var yf=le(ze.thrownErrors);ze.thrownErrors.length=0,Da(yf)}}else tt(So)},function(So){Oe(k,ne),0<ze.thrownErrors.length?(So=le(ze.thrownErrors),ze.thrownErrors.length=0,Da(So)):Da(So)})}}}var ke=it;if(Oe(k,ne),ne===0&&(Ye(ae),ae.length!==0&&gf(function(){ue||vo||(vo=!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(() => ...)"))}),ze.actQueue=null),0<ze.thrownErrors.length)throw b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;return{then:function(tt,Da){ue=!0,ne===0?(ze.actQueue=ae,Fn(function(){return Ae(ke,tt,Da)})):tt(ke)}}},ZN.addTransitionType=ot,ZN.cache=function(b){return function(){return b.apply(null,arguments)}},ZN.cacheSignal=function(){return null},ZN.captureOwnerStack=function(){var b=ze.getCurrentStack;return b===null?null:b()},ZN.cloneElement=function(b,k,ne){if(b===null||b===void 0)throw Error("The argument must be a React element, but you passed "+b+".");var ae=fa({},b.props),{key:ue,_owner:it}=b;if(k!=null){var fe;e:{if(oe.call(k,"ref")&&(fe=Object.getOwnPropertyDescriptor(k,"ref").get)&&fe.isReactWarning){fe=!1;break e}fe=k.ref!==void 0}fe&&(it=C()),E(k)&&(v(k.key),ue=""+k.key);for(ke in k)!oe.call(k,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&k.ref===void 0||(ae[ke]=k[ke])}var ke=arguments.length-2;if(ke===1)ae.children=ne;else if(1<ke){fe=Array(ke);for(var tt=0;tt<ke;tt++)fe[tt]=arguments[tt+2];ae.children=fe}ae=z(b.type,ue,ae,it,b._debugStack,b._debugTask);for(ue=2;ue<arguments.length;ue++)H(arguments[ue]);return ae},ZN.createContext=function(b){return b={$$typeof:te,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:q,_context:b},b._currentRenderer=null,b._currentRenderer2=null,b},ZN.createElement=function(b,k,ne){for(var ae=2;ae<arguments.length;ae++)H(arguments[ae]);var ue;ae={};var it=null;if(k!=null)for(ue in sl||!("__self"in k)||"key"in k||(sl=!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")),E(k)&&(v(k.key),it=""+k.key),k)oe.call(k,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(ae[ue]=k[ue]);var fe=arguments.length-2;if(fe===1)ae.children=ne;else if(1<fe){for(var ke=Array(fe),tt=0;tt<fe;tt++)ke[tt]=arguments[tt+2];Object.freeze&&Object.freeze(ke),ae.children=ke}if(b&&b.defaultProps)for(ue in fe=b.defaultProps,fe)ae[ue]===void 0&&(ae[ue]=fe[ue]);return it&&B(ae,typeof b==="function"?b.displayName||b.name||"Unknown":b),(ue=1e4>ze.recentlyCreatedOwnerStacks++)?(ke=Error.stackTraceLimit,Error.stackTraceLimit=10,fe=Error("react-stack-top-frame"),Error.stackTraceLimit=ke):fe=bt,z(b,it,ae,C(),fe,ue?mn(A(b)):gc)},ZN.createRef=function(){var b={current:null};return Object.seal(b),b},ZN.forwardRef=function(b){b!=null&&b.$$typeof===se?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof b!=="function"?console.error("forwardRef requires a render function but was given %s.",b===null?"null":typeof b):b.length!==0&&b.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",b.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),b!=null&&b.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var k={$$typeof:Q,render:b},ne;return Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),k},ZN.isValidElement=Y,ZN.lazy=function(b){b={_status:-1,_result:b};var k={$$typeof:Re,_payload:b,_init:Me},ne={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return b._ioInfo=ne,k._debugInfo=[{awaited:ne}],k},ZN.memo=function(b,k){b==null&&console.error("memo: The first argument must be a component. Instead received: %s",b===null?"null":typeof b),k={$$typeof:se,type:b,compare:k===void 0?null:k};var ne;return Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),k},ZN.startTransition=xe,ZN.unstable_useCacheRefresh=function(){return Ne().useCacheRefresh()},ZN.use=function(b){return Ne().use(b)},ZN.useActionState=function(b,k,ne){return Ne().useActionState(b,k,ne)},ZN.useCallback=function(b,k){return Ne().useCallback(b,k)},ZN.useContext=function(b){var k=Ne();return b.$$typeof===q&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),k.useContext(b)},ZN.useDebugValue=function(b,k){return Ne().useDebugValue(b,k)},ZN.useDeferredValue=function(b,k){return Ne().useDeferredValue(b,k)},ZN.useEffect=function(b,k){return b==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useEffect(b,k)},ZN.useEffectEvent=function(b){return Ne().useEffectEvent(b)},ZN.useId=function(){return Ne().useId()},ZN.useImperativeHandle=function(b,k,ne){return Ne().useImperativeHandle(b,k,ne)},ZN.useInsertionEffect=function(b,k){return b==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useInsertionEffect(b,k)},ZN.useLayoutEffect=function(b,k){return b==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useLayoutEffect(b,k)},ZN.useMemo=function(b,k){return Ne().useMemo(b,k)},ZN.useOptimistic=function(b,k){return Ne().useOptimistic(b,k)},ZN.useReducer=function(b,k,ne){return Ne().useReducer(b,k,ne)},ZN.useRef=function(b){return Ne().useRef(b)},ZN.useState=function(b){return Ne().useState(b)},ZN.useSyncExternalStore=function(b,k,ne){return Ne().useSyncExternalStore(b,k,ne)},ZN.useTransition=function(){return Ne().useTransition()},ZN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ZO=Ns(function(Wr){(function(){function l(){if(P=!1,W){var le=Wr.unstable_now();Ee=le;var Oe=!0;try{e:{H=!1,Y&&(Y=!1,G(Me),Me=-1),R=!0;var Ae=z;try{t:{p(le);for(w=r(T);w!==null&&!(w.expirationTime>le&&g());){var Ye=w.callback;if(typeof Ye==="function"){w.callback=null,z=w.priorityLevel;var Ce=Ye(w.expirationTime<=le);if(le=Wr.unstable_now(),typeof Ce==="function"){w.callback=Ce,p(le),Oe=!0;break t}w===r(T)&&c(T),p(le)}else c(T);w=r(T)}if(w!==null)Oe=!0;else{var kn=r(E);kn!==null&&v(m,kn.startTime-le),Oe=!1}}break e}finally{w=null,z=Ae,R=!1}Oe=void 0}}finally{Oe?xe():W=!1}}}function s(le,Oe){var Ae=le.length;le.push(Oe);e:for(;0<Ae;){var Ye=Ae-1>>>1,Ce=le[Ye];if(0<f(Ce,Oe))le[Ye]=Oe,le[Ae]=Ce,Ae=Ye;else break e}}function r(le){return le.length===0?null:le[0]}function c(le){if(le.length===0)return null;var Oe=le[0],Ae=le.pop();if(Ae!==Oe){le[0]=Ae;e:for(var Ye=0,Ce=le.length,kn=Ce>>>1;Ye<kn;){var L=2*(Ye+1)-1,ye=le[L],Se=L+1,q=le[Se];if(0>f(ye,Ae))Se<Ce&&0>f(q,ye)?(le[Ye]=q,le[Se]=Ae,Ye=Se):(le[Ye]=ye,le[L]=Ae,Ye=L);else if(Se<Ce&&0>f(q,Ae))le[Ye]=q,le[Se]=Ae,Ye=Se;else break e}}return Oe}function f(le,Oe){var Ae=le.sortIndex-Oe.sortIndex;return Ae!==0?Ae:le.id-Oe.id}function p(le){for(var Oe=r(E);Oe!==null;){if(Oe.callback===null)c(E);else if(Oe.startTime<=le)c(E),Oe.sortIndex=Oe.expirationTime,s(T,Oe);else break;Oe=r(E)}}function m(le){if(Y=!1,p(le),!H)if(r(T)!==null)H=!0,W||(W=!0,xe());else{var Oe=r(E);Oe!==null&&v(m,Oe.startTime-le)}}function g(){return P?!0:Wr.unstable_now()-Ee<Ne?!1:!0}function v(le,Oe){Me=ce(function(){le(Wr.unstable_now())},Oe)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Wr.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var S=performance;Wr.unstable_now=function(){return S.now()}}else{var A=Date,C=A.now();Wr.unstable_now=function(){return A.now()-C}}var T=[],E=[],B=1,w=null,z=3,R=!1,H=!1,Y=!1,P=!1,ce=typeof setTimeout==="function"?setTimeout:null,G=typeof clearTimeout==="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,W=!1,Me=-1,Ne=5,Ee=-1;if(typeof ie==="function")var xe=function(){ie(l)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,Fn=ot.port2;ot.port1.onmessage=l,xe=function(){Fn.postMessage(null)}}else xe=function(){ce(l,0)};Wr.unstable_IdlePriority=5,Wr.unstable_ImmediatePriority=1,Wr.unstable_LowPriority=4,Wr.unstable_NormalPriority=3,Wr.unstable_Profiling=null,Wr.unstable_UserBlockingPriority=2,Wr.unstable_cancelCallback=function(le){le.callback=null},Wr.unstable_forceFrameRate=function(le){0>le||125<le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ne=0<le?Math.floor(1000/le):5},Wr.unstable_getCurrentPriorityLevel=function(){return z},Wr.unstable_next=function(le){switch(z){case 1:case 2:case 3:var Oe=3;break;default:Oe=z}var Ae=z;z=Oe;try{return le()}finally{z=Ae}},Wr.unstable_requestPaint=function(){P=!0},Wr.unstable_runWithPriority=function(le,Oe){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var Ae=z;z=le;try{return Oe()}finally{z=Ae}},Wr.unstable_scheduleCallback=function(le,Oe,Ae){var Ye=Wr.unstable_now();switch(typeof Ae==="object"&&Ae!==null?(Ae=Ae.delay,Ae=typeof Ae==="number"&&0<Ae?Ye+Ae:Ye):Ae=Ye,le){case 1:var Ce=-1;break;case 2:Ce=250;break;case 5:Ce=1073741823;break;case 4:Ce=1e4;break;default:Ce=5000}return Ce=Ae+Ce,le={id:B++,callback:Oe,priorityLevel:le,startTime:Ae,expirationTime:Ce,sortIndex:-1},Ae>Ye?(le.sortIndex=Ae,s(E,le),r(T)===null&&le===r(E)&&(Y?(G(Me),Me=-1):Y=!0,v(m,Ae-Ye))):(le.sortIndex=Ce,s(T,le),H||R||(H=!0,W||(W=!0,xe()))),le},Wr.unstable_shouldYield=g,Wr.unstable_wrapCallback=function(le){var Oe=z;return function(){var Ae=z;z=Oe;try{return le.apply(this,arguments)}finally{z=Ae}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var PO=Ns(function(PN){var Q0=me(en());(function(){function l(){}function s(T){return""+T}function r(T,E,B){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;if(w==null)w=null;else if(w===A)w=A;else{try{s(w);var z=!1}catch(R){z=!0}z&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object"),s(w)),w=""+w}return{$$typeof:v,key:w,children:T,containerInfo:E,implementation:B}}function c(T,E){if(T==="font")return"";if(typeof E==="string")return E==="use-credentials"?E:""}function f(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function p(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T==="string"?JSON.stringify(T):typeof T==="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function m(){var T=C.H;return T===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),b}function Ee(){ze.asyncTransitions--}function xe(b){var k=ze.T,ne={};ne.types=k!==null?k.types:null,ne._updatedFibers=new Set,ze.T=ne;try{var ae=b(),ue=ze.S;ue!==null&&ue(ne,ae),typeof ae==="object"&&ae!==null&&typeof ae.then==="function"&&(ze.asyncTransitions++,ae.then(Ee,Ee),ae.then(m,At))}catch(it){At(it)}finally{k===null&&ne._updatedFibers&&(b=ne._updatedFibers.size,ne._updatedFibers.clear(),10<b&&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!==null&&ne.types!==null&&(k.types!==null&&k.types!==ne.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),k.types=ne.types),ze.T=k}}function ot(b){var k=ze.T;if(k!==null){var ne=k.types;ne===null?k.types=[b]:ne.indexOf(b)===-1&&ne.push(b)}else ze.asyncTransitions===0&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),xe(ot.bind(null,b))}function Fn(b){if(Na===null)try{var k=("require"+Math.random()).slice(0,7);Na=(Yp&&Yp[k]).call(Yp,"timers").setImmediate}catch(ne){Na=function(ae){mf===!1&&(mf=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ue=new MessageChannel;ue.port1.onmessage=ae,ue.port2.postMessage(void 0)}}return Na(b)}function le(b){return 1<b.length&&typeof AggregateError==="function"?AggregateError(b):b[0]}function Oe(b,k){k!==rl-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. "),rl=k}function Ae(b,k,ne){var ae=ze.actQueue;if(ae!==null)if(ae.length!==0)try{Ye(ae),Fn(function(){return Ae(b,k,ne)});return}catch(ue){ze.thrownErrors.push(ue)}else ze.actQueue=null;0<ze.thrownErrors.length?(ae=le(ze.thrownErrors),ze.thrownErrors.length=0,ne(ae)):k(b)}function Ye(b){if(!Hs){Hs=!0;var k=0;try{for(;k<b.length;k++){var ne=b[k];do{ze.didUsePromise=!1;var ae=ne(!1);if(ae!==null){if(ze.didUsePromise){b[k]=ne,b.splice(0,k);return}ne=ae}else break}while(1)}b.length=0}catch(ue){b.splice(0,k+1),ze.thrownErrors.push(ue)}finally{Hs=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ce=Symbol.for("react.transitional.element"),kn=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),Se=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),te=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),lt=Symbol.for("react.activity"),Ht=Symbol.for("react.view_transition"),st=Symbol.iterator,qt={},wt={isMounted:function(){return!1},enqueueForceUpdate:function(b){r(b,"forceUpdate")},enqueueReplaceState:function(b){r(b,"replaceState")},enqueueSetState:function(b){r(b,"setState")}},fa=Object.assign,an={};Object.freeze(an),c.prototype.isReactComponent={},c.prototype.setState=function(b,k){if(typeof b!=="object"&&typeof b!=="function"&&b!=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,b,k,"setState")},c.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};var Ot={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(cl in Ot)Ot.hasOwnProperty(cl)&&l(cl,Ot[cl]);f.prototype=c.prototype,Ot=p.prototype=new f,Ot.constructor=p,fa(Ot,c.prototype),Ot.isPureReactComponent=!0;var ql=Array.isArray,Xa=Symbol.for("react.client.reference"),ze={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},oe=Object.prototype.hasOwnProperty,mn=console.createTask?console.createTask:function(){return null};Ot={react_stack_bottom_frame:function(b){return b()}};var An,sl,Vl={},bt=Ot.react_stack_bottom_frame.bind(Ot,T)(),gc=mn(A(T)),Ls=!1,hf=/\/+/g,At=typeof reportError==="function"?reportError:function(b){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var k=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b==="object"&&b!==null&&typeof b.message==="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(k))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",b);return}console.error(b)},mf=!1,Na=null,rl=0,vo=!1,Hs=!1,gf=typeof queueMicrotask==="function"?function(b){queueMicrotask(function(){return queueMicrotask(b)})}:Fn;Ot=Object.freeze({__proto__:null,c:function(b){return Ne().useMemoCache(b)}});var cl={map:W,forEach:function(b,k,ne){W(b,function(){k.apply(this,arguments)},ne)},count:function(b){var k=0;return W(b,function(){k++}),k},toArray:function(b){return W(b,function(k){return k})||[]},only:function(b){if(!Y(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};ZN.Activity=lt,ZN.Children=cl,ZN.Component=c,ZN.Fragment=L,ZN.Profiler=Se,ZN.PureComponent=p,ZN.StrictMode=ye,ZN.Suspense=K,ZN.ViewTransition=Ht,ZN.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ze,ZN.__COMPILER_RUNTIME=Ot,ZN.act=function(b){var k=ze.actQueue,ne=rl;rl++;var ae=ze.actQueue=k!==null?k:[],ue=!1;try{var it=b()}catch(tt){ze.thrownErrors.push(tt)}if(0<ze.thrownErrors.length)throw Oe(k,ne),b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;if(it!==null&&typeof it==="object"&&typeof it.then==="function"){var fe=it;return gf(function(){ue||vo||(vo=!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(tt,Da){ue=!0,fe.then(function(So){if(Oe(k,ne),ne===0){try{Ye(ae),Fn(function(){return Ae(So,tt,Da)})}catch(js){ze.thrownErrors.push(js)}if(0<ze.thrownErrors.length){var yf=le(ze.thrownErrors);ze.thrownErrors.length=0,Da(yf)}}else tt(So)},function(So){Oe(k,ne),0<ze.thrownErrors.length?(So=le(ze.thrownErrors),ze.thrownErrors.length=0,Da(So)):Da(So)})}}}var ke=it;if(Oe(k,ne),ne===0&&(Ye(ae),ae.length!==0&&gf(function(){ue||vo||(vo=!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(() => ...)"))}),ze.actQueue=null),0<ze.thrownErrors.length)throw b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;return{then:function(tt,Da){ue=!0,ne===0?(ze.actQueue=ae,Fn(function(){return Ae(ke,tt,Da)})):tt(ke)}}},ZN.addTransitionType=ot,ZN.cache=function(b){return function(){return b.apply(null,arguments)}},ZN.cacheSignal=function(){return null},ZN.captureOwnerStack=function(){var b=ze.getCurrentStack;return b===null?null:b()},ZN.cloneElement=function(b,k,ne){if(b===null||b===void 0)throw Error("The argument must be a React element, but you passed "+b+".");var ae=fa({},b.props),{key:ue,_owner:it}=b;if(k!=null){var fe;e:{if(oe.call(k,"ref")&&(fe=Object.getOwnPropertyDescriptor(k,"ref").get)&&fe.isReactWarning){fe=!1;break e}fe=k.ref!==void 0}fe&&(it=C()),E(k)&&(v(k.key),ue=""+k.key);for(ke in k)!oe.call(k,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&k.ref===void 0||(ae[ke]=k[ke])}var ke=arguments.length-2;if(ke===1)ae.children=ne;else if(1<ke){fe=Array(ke);for(var tt=0;tt<ke;tt++)fe[tt]=arguments[tt+2];ae.children=fe}ae=z(b.type,ue,ae,it,b._debugStack,b._debugTask);for(ue=2;ue<arguments.length;ue++)H(arguments[ue]);return ae},ZN.createContext=function(b){return b={$$typeof:te,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:q,_context:b},b._currentRenderer=null,b._currentRenderer2=null,b},ZN.createElement=function(b,k,ne){for(var ae=2;ae<arguments.length;ae++)H(arguments[ae]);var ue;ae={};var it=null;if(k!=null)for(ue in sl||!("__self"in k)||"key"in k||(sl=!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")),E(k)&&(v(k.key),it=""+k.key),k)oe.call(k,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(ae[ue]=k[ue]);var fe=arguments.length-2;if(fe===1)ae.children=ne;else if(1<fe){for(var ke=Array(fe),tt=0;tt<fe;tt++)ke[tt]=arguments[tt+2];Object.freeze&&Object.freeze(ke),ae.children=ke}if(b&&b.defaultProps)for(ue in fe=b.defaultProps,fe)ae[ue]===void 0&&(ae[ue]=fe[ue]);return it&&B(ae,typeof b==="function"?b.displayName||b.name||"Unknown":b),(ue=1e4>ze.recentlyCreatedOwnerStacks++)?(ke=Error.stackTraceLimit,Error.stackTraceLimit=10,fe=Error("react-stack-top-frame"),Error.stackTraceLimit=ke):fe=bt,z(b,it,ae,C(),fe,ue?mn(A(b)):gc)},ZN.createRef=function(){var b={current:null};return Object.seal(b),b},ZN.forwardRef=function(b){b!=null&&b.$$typeof===se?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof b!=="function"?console.error("forwardRef requires a render function but was given %s.",b===null?"null":typeof b):b.length!==0&&b.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",b.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),b!=null&&b.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var k={$$typeof:Q,render:b},ne;return Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),k},ZN.isValidElement=Y,ZN.lazy=function(b){b={_status:-1,_result:b};var k={$$typeof:Re,_payload:b,_init:Me},ne={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return b._ioInfo=ne,k._debugInfo=[{awaited:ne}],k},ZN.memo=function(b,k){b==null&&console.error("memo: The first argument must be a component. Instead received: %s",b===null?"null":typeof b),k={$$typeof:se,type:b,compare:k===void 0?null:k};var ne;return Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),k},ZN.startTransition=xe,ZN.unstable_useCacheRefresh=function(){return Ne().useCacheRefresh()},ZN.use=function(b){return Ne().use(b)},ZN.useActionState=function(b,k,ne){return Ne().useActionState(b,k,ne)},ZN.useCallback=function(b,k){return Ne().useCallback(b,k)},ZN.useContext=function(b){var k=Ne();return b.$$typeof===q&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),k.useContext(b)},ZN.useDebugValue=function(b,k){return Ne().useDebugValue(b,k)},ZN.useDeferredValue=function(b,k){return Ne().useDeferredValue(b,k)},ZN.useEffect=function(b,k){return b==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useEffect(b,k)},ZN.useEffectEvent=function(b){return Ne().useEffectEvent(b)},ZN.useId=function(){return Ne().useId()},ZN.useImperativeHandle=function(b,k,ne){return Ne().useImperativeHandle(b,k,ne)},ZN.useInsertionEffect=function(b,k){return b==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useInsertionEffect(b,k)},ZN.useLayoutEffect=function(b,k){return b==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useLayoutEffect(b,k)},ZN.useMemo=function(b,k){return Ne().useMemo(b,k)},ZN.useOptimistic=function(b,k){return Ne().useOptimistic(b,k)},ZN.useReducer=function(b,k,ne){return Ne().useReducer(b,k,ne)},ZN.useRef=function(b){return Ne().useRef(b)},ZN.useState=function(b){return Ne().useState(b)},ZN.useSyncExternalStore=function(b,k,ne){return Ne().useSyncExternalStore(b,k,ne)},ZN.useTransition=function(){return Ne().useTransition()},ZN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ZO=Ns(function(Wr){(function(){function l(){if(P=!1,W){var le=Wr.unstable_now();Ee=le;var Oe=!0;try{e:{H=!1,Y&&(Y=!1,G(Me),Me=-1),R=!0;var Ae=z;try{t:{p(le);for(w=r(T);w!==null&&!(w.expirationTime>le&&g());){var Ye=w.callback;if(typeof Ye==="function"){w.callback=null,z=w.priorityLevel;var Ce=Ye(w.expirationTime<=le);if(le=Wr.unstable_now(),typeof Ce==="function"){w.callback=Ce,p(le),Oe=!0;break t}w===r(T)&&c(T),p(le)}else c(T);w=r(T)}if(w!==null)Oe=!0;else{var kn=r(E);kn!==null&&v(m,kn.startTime-le),Oe=!1}}break e}finally{w=null,z=Ae,R=!1}Oe=void 0}}finally{Oe?xe():W=!1}}}function s(le,Oe){var Ae=le.length;le.push(Oe);e:for(;0<Ae;){var Ye=Ae-1>>>1,Ce=le[Ye];if(0<f(Ce,Oe))le[Ye]=Oe,le[Ae]=Ce,Ae=Ye;else break e}}function r(le){return le.length===0?null:le[0]}function c(le){if(le.length===0)return null;var Oe=le[0],Ae=le.pop();if(Ae!==Oe){le[0]=Ae;e:for(var Ye=0,Ce=le.length,kn=Ce>>>1;Ye<kn;){var L=2*(Ye+1)-1,ye=le[L],Se=L+1,q=le[Se];if(0>f(ye,Ae))Se<Ce&&0>f(q,ye)?(le[Ye]=q,le[Se]=Ae,Ye=Se):(le[Ye]=ye,le[L]=Ae,Ye=L);else if(Se<Ce&&0>f(q,Ae))le[Ye]=q,le[Se]=Ae,Ye=Se;else break e}}return Oe}function f(le,Oe){var Ae=le.sortIndex-Oe.sortIndex;return Ae!==0?Ae:le.id-Oe.id}function p(le){for(var Oe=r(E);Oe!==null;){if(Oe.callback===null)c(E);else if(Oe.startTime<=le)c(E),Oe.sortIndex=Oe.expirationTime,s(T,Oe);else break;Oe=r(E)}}function m(le){if(Y=!1,p(le),!H)if(r(T)!==null)H=!0,W||(W=!0,xe());else{var Oe=r(E);Oe!==null&&v(m,Oe.startTime-le)}}function g(){return P?!0:Wr.unstable_now()-Ee<Ne?!1:!0}function v(le,Oe){Me=ce(function(){le(Wr.unstable_now())},Oe)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Wr.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var S=performance;Wr.unstable_now=function(){return S.now()}}else{var A=Date,C=A.now();Wr.unstable_now=function(){return A.now()-C}}var T=[],E=[],B=1,w=null,z=3,R=!1,H=!1,Y=!1,P=!1,ce=typeof setTimeout==="function"?setTimeout:null,G=typeof clearTimeout==="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,W=!1,Me=-1,Ne=5,Ee=-1;if(typeof ie==="function")var xe=function(){ie(l)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,Fn=ot.port2;ot.port1.onmessage=l,xe=function(){Fn.postMessage(null)}}else xe=function(){ce(l,0)};Wr.unstable_IdlePriority=5,Wr.unstable_ImmediatePriority=1,Wr.unstable_LowPriority=4,Wr.unstable_NormalPriority=3,Wr.unstable_Profiling=null,Wr.unstable_UserBlockingPriority=2,Wr.unstable_cancelCallback=function(le){le.callback=null},Wr.unstable_forceFrameRate=function(le){0>le||125<le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ne=0<le?Math.floor(1000/le):5},Wr.unstable_getCurrentPriorityLevel=function(){return z},Wr.unstable_next=function(le){switch(z){case 1:case 2:case 3:var Oe=3;break;default:Oe=z}var Ae=z;z=Oe;try{return le()}finally{z=Ae}},Wr.unstable_requestPaint=function(){P=!0},Wr.unstable_runWithPriority=function(le,Oe){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var Ae=z;z=le;try{return Oe()}finally{z=Ae}},Wr.unstable_scheduleCallback=function(le,Oe,Ae){var Ye=Wr.unstable_now();switch(typeof Ae==="object"&&Ae!==null?(Ae=Ae.delay,Ae=typeof Ae==="number"&&0<Ae?Ye+Ae:Ye):Ae=Ye,le){case 1:var Ce=-1;break;case 2:Ce=250;break;case 5:Ce=1073741823;break;case 4:Ce=1e4;break;default:Ce=5000}return Ce=Ae+Ce,le={id:B++,callback:Oe,priorityLevel:le,startTime:Ae,expirationTime:Ce,sortIndex:-1},Ae>Ye?(le.sortIndex=Ae,s(E,le),r(T)===null&&le===r(E)&&(Y?(G(Me),Me=-1):Y=!0,v(m,Ae-Ye))):(le.sortIndex=Ce,s(T,le),H||R||(H=!0,W||(W=!0,xe()))),le},Wr.unstable_shouldYield=g,Wr.unstable_wrapCallback=function(le){var Oe=z;return function(){var Ae=z;z=Oe;try{return le.apply(this,arguments)}finally{z=Ae}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var PO=Ns(function(PN){var Q0=me(en());(function(){function l(){}function s(T){return""+T}function r(T,E,B){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;if(w==null)w=null;else if(w===A)w=A;else{try{s(w);var z=!1}catch(R){z=!0}z&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object"),s(w)),w=""+w}return{$$typeof:v,key:w,children:T,containerInfo:E,implementation:B}}function c(T,E){if(T==="font")return"";if(typeof E==="string")return E==="use-credentials"?E:""}function f(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function p(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T==="string"?JSON.stringify(T):typeof T==="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function m(){var T=C.H;return T===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
14
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
15
|
2. You might be breaking the Rules of Hooks
|
|
16
16
|
3. You might have more than one copy of React in the same app
|
|
17
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g={d:{f:l,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},v=Symbol.for("react.portal"),S=Symbol.for("react.recoverable"),A=Symbol.for("react.optimistic_key"),C=Q0.__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"),PN.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=g,PN.browser=function(T){return{$$typeof:S,_reason:T}},PN.createPortal=function(T,E){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error("Target container is not a DOM element.");return r(T,E,null,B)},PN.flushSync=function(T){var E=C.T,B=g.p;try{if(C.T=null,g.p=2,T)return T()}finally{C.T=E,g.p=B,g.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.")}},PN.preconnect=function(T,E){typeof T==="string"&&T?E!=null&&typeof E!=="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.",p(E)):E!=null&&typeof E.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.",f(E.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&(E?(E=E.crossOrigin,E=typeof E==="string"?E==="use-credentials"?E:"":void 0):E=null,g.d.C(T,E))},PN.prefetchDNS=function(T){if(typeof T!=="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T));else if(1<arguments.length){var E=arguments[1];typeof E==="object"&&E.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`.",p(E)):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`.",p(E))}typeof T==="string"&&g.d.D(T)},PN.preinit=function(T,E){if(typeof T==="string"&&T?E==null||typeof E!=="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.",p(E)):E.as!=="style"&&E.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".',p(E.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&E&&typeof E.as==="string"){var B=E.as,w=c(B,E.crossOrigin),z=typeof E.integrity==="string"?E.integrity:void 0,R=typeof E.fetchPriority==="string"?E.fetchPriority:void 0;B==="style"?g.d.S(T,typeof E.precedence==="string"?E.precedence:void 0,{crossOrigin:w,integrity:z,fetchPriority:R}):B==="script"&&g.d.X(T,{crossOrigin:w,integrity:z,fetchPriority:R,nonce:typeof E.nonce==="string"?E.nonce:void 0})}},PN.preinitModule=function(T,E){var B="";if(typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&E.as!=="script"&&(B+=" The `as` option encountered was "+p(E.as)+"."),B)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",B);else switch(B=E&&typeof E.as==="string"?E.as:"script",B){case"script":break;default:B=p(B),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)',B,T)}if(typeof T==="string")if(typeof E==="object"&&E!==null){if(E.as==null||E.as==="script")B=c(E.as,E.crossOrigin),g.d.M(T,{crossOrigin:B,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})}else E==null&&g.d.M(T)},PN.preload=function(T,E){var B="";if(typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E==null||typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":typeof E.as==="string"&&E.as||(B+=" The `as` option encountered was "+f(E.as)+"."),B&&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',B),typeof T==="string"&&typeof E==="object"&&E!==null&&typeof E.as==="string"){B=E.as;var w=c(B,E.crossOrigin);g.d.L(T,B,{crossOrigin:w,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,type:typeof E.type==="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy==="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet==="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes==="string"?E.imageSizes:void 0,media:typeof E.media==="string"?E.media:void 0})}},PN.preloadModule=function(T,E){var B="";typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&typeof E.as!=="string"&&(B+=" The `as` option encountered was "+f(E.as)+"."),B&&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',B),typeof T==="string"&&(E?(B=c(E.as,E.crossOrigin),g.d.m(T,{as:typeof E.as==="string"&&E.as!=="script"?E.as:void 0,crossOrigin:B,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})):g.d.m(T))},PN.requestFormReset=function(T){g.d.r(T)},PN.unstable_batchedUpdates=function(T,E){return T(E)},PN.useFormState=function(T,E,B){return m().useFormState(T,E,B)},PN.useFormStatus=function(){return m().useHostTransitionStatus()},PN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var FO=Ns(function(FN,Gp){Gp.exports=me(PO())});var WO=Ns(function(WN){var nt=me(ZO()),ec=me(en()),X0=me(FO());(function(){function l(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function s(e,t,n,a){if(n>=t.length)return a;var o=t[n],i=Pt(e)?e.slice():He({},e);return i[o]=s(e[o],t,n+1,a),i}function r(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(e,t,n,0)}}function c(e,t,n,a){var o=t[a],i=Pt(e)?e.slice():He({},e);return a+1===t.length?(i[n[a]]=i[o],Pt(i)?i.splice(o,1):delete i[o]):i[o]=c(e[o],t,n,a+1),i}function f(e,t,n){var a=t[n],o=Pt(e)?e.slice():He({},e);if(n+1===t.length)return Pt(o)?o.splice(a,1):delete o[a],o;return o[a]=f(e[a],t,n+1),o}function p(){return!1}function m(){return null}function g(){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 v(){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 S(){}function A(){}function C(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function T(e,t,n,a){return new tC(e,t,n,a)}function E(e,t){e.context===di&&(ly(e.current,2,t,e,null,null),or())}function B(e,t){if(wl!==null){var n=t.staleFamilies;t=t.updatedFamilies,qc(),_v(e.current,t,n),or()}}function w(e){wl=e}function z(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function R(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function H(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 Y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function P(e){if(R(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ce(e){var t=e.alternate;if(!t){if(t=R(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return P(o),e;if(i===a)return P(o),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=o,a=i;else{for(var u=!1,d=o.child;d;){if(d===n){u=!0,n=o,a=i;break}if(d===a){u=!0,a=o,n=i;break}d=d.sibling}if(!u){for(d=i.child;d;){if(d===n){u=!0,n=i,a=o;break}if(d===a){u=!0,a=i,n=o;break}d=d.sibling}if(!u)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!==a)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 G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ie(e,t,n,a,o){W(e.child,!1,t,n,a,o)}function W(e,t,n,a,o,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,a,o,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&W(e.child,t,n,a,o,i))return!0;e=e.sibling}return!1}function Me(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function Ne(e){var t=!1;for(e=e.return;e!==null;){if(e.tag===4&&(t=!0),e.tag===3||e.tag===5||e.tag===27)break;e=e.return}return t}function Ee(e){var t=[null,null],n=Me(e);if(n===null)return t;return xe(t,e,n.child,{foundSelf:!1}),t}function xe(e,t,n,a){for(;n!==null;){if(n===t)a.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(a.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&xe(e,t,n.child,a))return!0;n=n.sibling}return!1}function ot(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error("Expected to find a host node. This is a bug in React.")}}function Fn(e,t,n){return e===n?!0:e===t?(fr=e,!0):!1}function le(e,t,n){return e===n?(fy=e,!1):e===t?(fy!==null&&(fr=e),!0):!1}function Oe(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e?e:null}function Ae(e,t,n){for(var a=0,o=e;o;o=n(o))a++;o=0;for(var i=t;i;i=n(i))o++;for(;0<a-o;)e=n(e),a--;for(;0<o-a;)t=n(t),o--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}function Ye(e){if(e===null||typeof e!=="object")return null;return e=iT&&e[iT]||e["@@iterator"],typeof e==="function"?e:null}function Ce(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===ZR?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case pr:return"Fragment";case dy:return"Profiler";case Md:return"StrictMode";case hy:return"Suspense";case my:return"SuspenseList";case gy:return"Activity";case yy:return"ViewTransition"}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 dr:return"Portal";case Wa:return e.displayName||"Context";case py:return(e._context.displayName||"Context")+".Consumer";case xd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zd:return t=e.displayName||null,t!==null?t:Ce(e.type)||"Memo";case ea:t=e._payload,e=e._init;try{return Ce(e(t))}catch(n){}}return null}function kn(e){return typeof e.tag==="number"?L(e):typeof e.name==="string"?e.name:null}function L(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ce(t);case 8:return t===Md?"StrictMode":"Mode";case 22:if(e.return!==null)return L(e.return);break;case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 30:return"ViewTransition";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 L(e.return)}return null}function ye(e){return{current:e}}function Se(e,t){0>vl?console.error("Unexpected pop."):(t!==vy[vl]&&console.error("Unexpected Fiber popped."),e.current=by[vl],by[vl]=null,vy[vl]=null,vl--)}function q(e,t,n){vl++,by[vl]=e.current,vy[vl]=n,e.current=t}function te(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 Q(e,t){q(ii,t,e),q(eu,e,e),q(li,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)?(t=t.namespaceURI)?mE(t):zl:zl;break;default:if(n=t.tagName,t=t.namespaceURI)t=mE(t),t=gE(t,n);else switch(n){case"svg":t=Kr;break;case"math":t=Lp;break;default:t=zl}}n=n.toLowerCase(),n=Pb(null,n),n={context:t,ancestorInfo:n},Se(li,e),q(li,n,e)}function Z(e){Se(li,e),Se(eu,e),Se(ii,e)}function J(){return te(li.current)}function se(e){var t=e.memoizedState;t!==null&&(Pr._currentValue=t.memoizedState,q(Ud,e,e)),t=te(li.current);var n=e.type,a=gE(t.context,n);n=Pb(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(q(eu,e,e),q(li,a,e))}function Re(e){eu.current===e&&(Se(li,e),Se(eu,e)),Ud.current===e&&(Se(Ud,e),Pr._currentValue=_s)}function lt(){}function Ht(){if(tu===0){sT=console.log,rT=console.info,cT=console.warn,uT=console.error,fT=console.group,dT=console.groupCollapsed,pT=console.groupEnd;var e={configurable:!0,enumerable:!0,value:lt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}tu++}function st(){if(tu--,tu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:He({},e,{value:sT}),info:He({},e,{value:rT}),warn:He({},e,{value:cT}),error:He({},e,{value:uT}),group:He({},e,{value:fT}),groupCollapsed:He({},e,{value:dT}),groupEnd:He({},e,{value:pT})})}0>tu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function qt(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g={d:{f:l,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},v=Symbol.for("react.portal"),S=Symbol.for("react.recoverable"),A=Symbol.for("react.optimistic_key"),C=Q0.__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"),PN.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=g,PN.browser=function(T){return{$$typeof:S,_reason:T}},PN.createPortal=function(T,E){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error("Target container is not a DOM element.");return r(T,E,null,B)},PN.flushSync=function(T){var E=C.T,B=g.p;try{if(C.T=null,g.p=2,T)return T()}finally{C.T=E,g.p=B,g.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.")}},PN.preconnect=function(T,E){typeof T==="string"&&T?E!=null&&typeof E!=="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.",p(E)):E!=null&&typeof E.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.",f(E.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&(E?(E=E.crossOrigin,E=typeof E==="string"?E==="use-credentials"?E:"":void 0):E=null,g.d.C(T,E))},PN.prefetchDNS=function(T){if(typeof T!=="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T));else if(1<arguments.length){var E=arguments[1];typeof E==="object"&&E.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`.",p(E)):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`.",p(E))}typeof T==="string"&&g.d.D(T)},PN.preinit=function(T,E){if(typeof T==="string"&&T?E==null||typeof E!=="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.",p(E)):E.as!=="style"&&E.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".',p(E.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&E&&typeof E.as==="string"){var B=E.as,w=c(B,E.crossOrigin),z=typeof E.integrity==="string"?E.integrity:void 0,R=typeof E.fetchPriority==="string"?E.fetchPriority:void 0;B==="style"?g.d.S(T,typeof E.precedence==="string"?E.precedence:void 0,{crossOrigin:w,integrity:z,fetchPriority:R}):B==="script"&&g.d.X(T,{crossOrigin:w,integrity:z,fetchPriority:R,nonce:typeof E.nonce==="string"?E.nonce:void 0})}},PN.preinitModule=function(T,E){var B="";if(typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&E.as!=="script"&&(B+=" The `as` option encountered was "+p(E.as)+"."),B)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",B);else switch(B=E&&typeof E.as==="string"?E.as:"script",B){case"script":break;default:B=p(B),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)',B,T)}if(typeof T==="string")if(typeof E==="object"&&E!==null){if(E.as==null||E.as==="script")B=c(E.as,E.crossOrigin),g.d.M(T,{crossOrigin:B,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})}else E==null&&g.d.M(T)},PN.preload=function(T,E){var B="";if(typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E==null||typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":typeof E.as==="string"&&E.as||(B+=" The `as` option encountered was "+f(E.as)+"."),B&&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',B),typeof T==="string"&&typeof E==="object"&&E!==null&&typeof E.as==="string"){B=E.as;var w=c(B,E.crossOrigin);g.d.L(T,B,{crossOrigin:w,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,type:typeof E.type==="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy==="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet==="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes==="string"?E.imageSizes:void 0,media:typeof E.media==="string"?E.media:void 0})}},PN.preloadModule=function(T,E){var B="";typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&typeof E.as!=="string"&&(B+=" The `as` option encountered was "+f(E.as)+"."),B&&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',B),typeof T==="string"&&(E?(B=c(E.as,E.crossOrigin),g.d.m(T,{as:typeof E.as==="string"&&E.as!=="script"?E.as:void 0,crossOrigin:B,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})):g.d.m(T))},PN.requestFormReset=function(T){g.d.r(T)},PN.unstable_batchedUpdates=function(T,E){return T(E)},PN.useFormState=function(T,E,B){return m().useFormState(T,E,B)},PN.useFormStatus=function(){return m().useHostTransitionStatus()},PN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var FO=Ns(function(FN,Gp){Gp.exports=me(PO())});var WO=Ns(function(WN){var nt=me(ZO()),ec=me(en()),X0=me(FO());(function(){function l(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function s(e,t,n,a){if(n>=t.length)return a;var o=t[n],i=Pt(e)?e.slice():He({},e);return i[o]=s(e[o],t,n+1,a),i}function r(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(e,t,n,0)}}function c(e,t,n,a){var o=t[a],i=Pt(e)?e.slice():He({},e);return a+1===t.length?(i[n[a]]=i[o],Pt(i)?i.splice(o,1):delete i[o]):i[o]=c(e[o],t,n,a+1),i}function f(e,t,n){var a=t[n],o=Pt(e)?e.slice():He({},e);if(n+1===t.length)return Pt(o)?o.splice(a,1):delete o[a],o;return o[a]=f(e[a],t,n+1),o}function p(){return!1}function m(){return null}function g(){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 v(){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 S(){}function A(){}function C(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function T(e,t,n,a){return new tC(e,t,n,a)}function E(e,t){e.context===di&&(ly(e.current,2,t,e,null,null),or())}function B(e,t){if(wl!==null){var n=t.staleFamilies;t=t.updatedFamilies,qc(),_v(e.current,t,n),or()}}function w(e){wl=e}function z(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function R(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function H(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 Y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function P(e){if(R(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ce(e){var t=e.alternate;if(!t){if(t=R(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return P(o),e;if(i===a)return P(o),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=o,a=i;else{for(var u=!1,d=o.child;d;){if(d===n){u=!0,n=o,a=i;break}if(d===a){u=!0,a=o,n=i;break}d=d.sibling}if(!u){for(d=i.child;d;){if(d===n){u=!0,n=i,a=o;break}if(d===a){u=!0,a=i,n=o;break}d=d.sibling}if(!u)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!==a)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 G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ie(e,t,n,a,o){W(e.child,!1,t,n,a,o)}function W(e,t,n,a,o,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,a,o,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&W(e.child,t,n,a,o,i))return!0;e=e.sibling}return!1}function Me(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function Ne(e){var t=!1;for(e=e.return;e!==null;){if(e.tag===4&&(t=!0),e.tag===3||e.tag===5||e.tag===27)break;e=e.return}return t}function Ee(e){var t=[null,null],n=Me(e);if(n===null)return t;return xe(t,e,n.child,{foundSelf:!1}),t}function xe(e,t,n,a){for(;n!==null;){if(n===t)a.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(a.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&xe(e,t,n.child,a))return!0;n=n.sibling}return!1}function ot(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error("Expected to find a host node. This is a bug in React.")}}function Fn(e,t,n){return e===n?!0:e===t?(fr=e,!0):!1}function le(e,t,n){return e===n?(fy=e,!1):e===t?(fy!==null&&(fr=e),!0):!1}function Oe(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e?e:null}function Ae(e,t,n){for(var a=0,o=e;o;o=n(o))a++;o=0;for(var i=t;i;i=n(i))o++;for(;0<a-o;)e=n(e),a--;for(;0<o-a;)t=n(t),o--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}function Ye(e){if(e===null||typeof e!=="object")return null;return e=iT&&e[iT]||e["@@iterator"],typeof e==="function"?e:null}function Ce(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===ZR?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case pr:return"Fragment";case dy:return"Profiler";case Md:return"StrictMode";case hy:return"Suspense";case my:return"SuspenseList";case gy:return"Activity";case yy:return"ViewTransition"}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 dr:return"Portal";case Wa:return e.displayName||"Context";case py:return(e._context.displayName||"Context")+".Consumer";case xd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zd:return t=e.displayName||null,t!==null?t:Ce(e.type)||"Memo";case ea:t=e._payload,e=e._init;try{return Ce(e(t))}catch(n){}}return null}function kn(e){return typeof e.tag==="number"?L(e):typeof e.name==="string"?e.name:null}function L(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ce(t);case 8:return t===Md?"StrictMode":"Mode";case 22:if(e.return!==null)return L(e.return);break;case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 30:return"ViewTransition";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 L(e.return)}return null}function ye(e){return{current:e}}function Se(e,t){0>vl?console.error("Unexpected pop."):(t!==vy[vl]&&console.error("Unexpected Fiber popped."),e.current=by[vl],by[vl]=null,vy[vl]=null,vl--)}function q(e,t,n){vl++,by[vl]=e.current,vy[vl]=n,e.current=t}function te(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 Q(e,t){q(ii,t,e),q(eu,e,e),q(li,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)?(t=t.namespaceURI)?mE(t):zl:zl;break;default:if(n=t.tagName,t=t.namespaceURI)t=mE(t),t=gE(t,n);else switch(n){case"svg":t=Kr;break;case"math":t=Lp;break;default:t=zl}}n=n.toLowerCase(),n=Pb(null,n),n={context:t,ancestorInfo:n},Se(li,e),q(li,n,e)}function K(e){Se(li,e),Se(eu,e),Se(ii,e)}function J(){return te(li.current)}function se(e){var t=e.memoizedState;t!==null&&(Pr._currentValue=t.memoizedState,q(Ud,e,e)),t=te(li.current);var n=e.type,a=gE(t.context,n);n=Pb(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(q(eu,e,e),q(li,a,e))}function Re(e){eu.current===e&&(Se(li,e),Se(eu,e)),Ud.current===e&&(Se(Ud,e),Pr._currentValue=_s)}function lt(){}function Ht(){if(tu===0){sT=console.log,rT=console.info,cT=console.warn,uT=console.error,fT=console.group,dT=console.groupCollapsed,pT=console.groupEnd;var e={configurable:!0,enumerable:!0,value:lt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}tu++}function st(){if(tu--,tu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:He({},e,{value:sT}),info:He({},e,{value:rT}),warn:He({},e,{value:cT}),error:He({},e,{value:uT}),group:He({},e,{value:fT}),groupCollapsed:He({},e,{value:dT}),groupEnd:He({},e,{value:pT})})}0>tu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function qt(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
18
18
|
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
19
19
|
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
20
20
|
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function wt(e){if(Sy===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Sy=t&&t[1]||"",hT=-1<n.stack.indexOf(`
|
|
@@ -99,7 +99,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
99
99
|
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
100
100
|
<%s>%s</%s>`,n,t,n))}function Qf(e,t){var n=ym();n!==null?n.run(Zv.bind(null,e,t)):Zv(e,t)}function Pv(e){function t(_,N){if(e){var x=_.deletions;x===null?(_.deletions=[N],_.flags|=16):x.push(N)}}function n(_,N){if(!e)return null;for(;N!==null;)t(_,N),N=N.sibling;return null}function a(_){for(var N=new Map;_!==null;)_.key===null?N.set(_.index,_):N.set(_.key,_),_=_.sibling;return N}function o(_,N){return _=pl(_,N),_.index=0,_.sibling=null,_}function i(_,N,x){if(_.index=x,!e)return _.flags|=1048576,N;if(x=_.alternate,x!==null)return x=x.index,x<N?(_.flags|=2,N):x;return _.flags|=134217730,N}function u(_){return e&&_.alternate===null&&(_.flags|=134217730),_}function d(_,N,x,I){if(N===null||N.tag!==6)return N=sm(x,_.mode,I),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;return N=o(N,x),N.return=_,N._debugInfo=Xe,N}function h(_,N,x,I){var F=x.type;if(F===pr)return N=O(_,N,x.props.children,I,x.key),Kl(N,x),qf(x,N,_),N;if(N!==null&&(N.elementType===F||Cv(N,x)||typeof F==="object"&&F!==null&&F.$$typeof===ea&&Jl(F)===N.type))return N=o(N,x.props),Kl(N,x),N.return=_,N._debugOwner=x._owner,N._debugInfo=Xe,N;return N=Mf(x,_.mode,I),Kl(N,x),N.return=_,N._debugInfo=Xe,N}function y(_,N,x,I){if(N===null||N.tag!==4||N.stateNode.containerInfo!==x.containerInfo||N.stateNode.implementation!==x.implementation)return N=rm(x,_.mode,I),N.return=_,N._debugInfo=Xe,N;return N=o(N,x.children||[]),N.return=_,N._debugInfo=Xe,N}function O(_,N,x,I,F){if(N===null||N.tag!==7)return N=Gi(x,_.mode,I,F),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;return N=o(N,x),N.return=_,N._debugInfo=Xe,N}function M(_,N,x){if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return N=sm(""+N,_.mode,x),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;if(typeof N==="object"&&N!==null){switch(N.$$typeof){case Lo:return x=Mf(N,_.mode,x),Kl(x,N),x.return=_,_=Ln(N._debugInfo),x._debugInfo=Xe,Xe=_,x;case dr:return N=rm(N,_.mode,x),N.return=_,N._debugInfo=Xe,N;case ea:var I=Ln(N._debugInfo);return N=Jl(N),_=M(_,N,x),Xe=I,_}if(Pt(N)||Ye(N))return x=Gi(N,_.mode,x,null),x.return=_,x._debugOwner=_,x._debugTask=_._debugTask,_=Ln(N._debugInfo),x._debugInfo=Xe,Xe=_,x;if(typeof N.then==="function")return I=Ln(N._debugInfo),_=M(_,Vf(N),x),Xe=I,_;if(N.$$typeof===Wa)return M(_,Hf(_,N),x);Yf(_,N)}return typeof N==="function"&&Gf(_,N),typeof N==="symbol"&&Qf(_,N),null}function D(_,N,x,I){var F=N!==null?N.key:null;if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return F!==null?null:d(_,N,""+x,I);if(typeof x==="object"&&x!==null){switch(x.$$typeof){case Lo:return x.key===F?(F=Ln(x._debugInfo),_=h(_,N,x,I),Xe=F,_):null;case dr:return x.key===F?y(_,N,x,I):null;case ea:return F=Ln(x._debugInfo),x=Jl(x),_=D(_,N,x,I),Xe=F,_}if(Pt(x)||Ye(x)){if(F!==null)return null;return F=Ln(x._debugInfo),_=O(_,N,x,I,null),Xe=F,_}if(typeof x.then==="function")return F=Ln(x._debugInfo),_=D(_,N,Vf(x),I),Xe=F,_;if(x.$$typeof===Wa)return D(_,N,Hf(_,x),I);Yf(_,x)}return typeof x==="function"&&Gf(_,x),typeof x==="symbol"&&Qf(_,x),null}function U(_,N,x,I,F){if(typeof I==="string"&&I!==""||typeof I==="number"||typeof I==="bigint")return _=_.get(x)||null,d(N,_,""+I,F);if(typeof I==="object"&&I!==null){switch(I.$$typeof){case Lo:return x=_.get(I.key===null?x:I.key)||null,_=Ln(I._debugInfo),N=h(N,x,I,F),Xe=_,N;case dr:return _=_.get(I.key===null?x:I.key)||null,y(N,_,I,F);case ea:var we=Ln(I._debugInfo);return I=Jl(I),N=U(_,N,x,I,F),Xe=we,N}if(Pt(I)||Ye(I))return x=_.get(x)||null,_=Ln(I._debugInfo),N=O(N,x,I,F,null),Xe=_,N;if(typeof I.then==="function")return we=Ln(I._debugInfo),N=U(_,N,x,Vf(I),F),Xe=we,N;if(I.$$typeof===Wa)return U(_,N,x,Hf(N,I),F);Yf(N,I)}return typeof I==="function"&&Gf(N,I),typeof I==="symbol"&&Qf(N,I),null}function X(_,N,x,I){if(typeof x!=="object"||x===null)return I;switch(x.$$typeof){case Lo:case dr:A(_,N,x);var F=x.key;if(typeof F!=="string")break;if(I===null){I=new Set,I.add(F);break}if(!I.has(F)){I.add(F);break}oe(N,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.",F)});break;case ea:x=Jl(x),X(_,N,x,I)}return I}function re(_,N,x,I){for(var F=null,we=null,he=null,Be=N,qe=N=0,zt=null;Be!==null&&qe<x.length;qe++){Be.index>qe?(zt=Be,Be=null):zt=Be.sibling;var yt=D(_,Be,x[qe],I);if(yt===null){Be===null&&(Be=zt);break}F=X(_,yt,x[qe],F),e&&Be&&yt.alternate===null&&t(_,Be),N=i(yt,N,qe),he===null?we=yt:he.sibling=yt,he=yt,Be=zt}if(qe===x.length)return n(_,Be),$e&&hl(_,qe),we;if(Be===null){for(;qe<x.length;qe++)Be=M(_,x[qe],I),Be!==null&&(F=X(_,Be,x[qe],F),N=i(Be,N,qe),he===null?we=Be:he.sibling=Be,he=Be);return $e&&hl(_,qe),we}for(Be=a(Be);qe<x.length;qe++)zt=U(Be,_,qe,x[qe],I),zt!==null&&(F=X(_,zt,x[qe],F),e&&(yt=zt.alternate,yt!==null&&Be.delete(yt.key===null?qe:yt.key)),N=i(zt,N,qe),he===null?we=zt:he.sibling=zt,he=zt);return e&&Be.forEach(function(kl){return t(_,kl)}),$e&&hl(_,qe),we}function pe(_,N,x,I){if(x==null)throw Error("An iterable object provided no iterator.");for(var F=null,we=null,he=N,Be=N=0,qe=null,zt=null,yt=x.next();he!==null&&!yt.done;Be++,yt=x.next()){he.index>Be?(qe=he,he=null):qe=he.sibling;var kl=D(_,he,yt.value,I);if(kl===null){he===null&&(he=qe);break}zt=X(_,kl,yt.value,zt),e&&he&&kl.alternate===null&&t(_,he),N=i(kl,N,Be),we===null?F=kl:we.sibling=kl,we=kl,he=qe}if(yt.done)return n(_,he),$e&&hl(_,Be),F;if(he===null){for(;!yt.done;Be++,yt=x.next())he=M(_,yt.value,I),he!==null&&(zt=X(_,he,yt.value,zt),N=i(he,N,Be),we===null?F=he:we.sibling=he,we=he);return $e&&hl(_,Be),F}for(he=a(he);!yt.done;Be++,yt=x.next())qe=U(he,_,Be,yt.value,I),qe!==null&&(zt=X(_,qe,yt.value,zt),e&&(yt=qe.alternate,yt!==null&&he.delete(yt.key===null?Be:yt.key)),N=i(qe,N,Be),we===null?F=qe:we.sibling=qe,we=qe);return e&&he.forEach(function(VN){return t(_,VN)}),$e&&hl(_,Be),F}function Le(_,N,x,I){if(typeof x==="object"&&x!==null&&x.type===pr&&x.key===null&&x.props.ref===void 0&&(qf(x,null,_),x=x.props.children),typeof x==="object"&&x!==null){switch(x.$$typeof){case Lo:var F=Ln(x._debugInfo);e:{for(var we=x.key;N!==null;){if(N.key===we){if(we=x.type,we===pr){if(N.tag===7){n(_,N.sibling),I=o(N,x.props.children),Kl(I,x),I.return=_,I._debugOwner=x._owner,I._debugInfo=Xe,qf(x,I,_),_=I;break e}}else if(N.elementType===we||Cv(N,x)||typeof we==="object"&&we!==null&&we.$$typeof===ea&&Jl(we)===N.type){n(_,N.sibling),I=o(N,x.props),Kl(I,x),I.return=_,I._debugOwner=x._owner,I._debugInfo=Xe,_=I;break e}n(_,N);break}else t(_,N);N=N.sibling}x.type===pr?(I=Gi(x.props.children,_.mode,I,x.key),Kl(I,x),I.return=_,I._debugOwner=_,I._debugTask=_._debugTask,I._debugInfo=Xe,qf(x,I,_),_=I):(I=Mf(x,_.mode,I),Kl(I,x),I.return=_,I._debugInfo=Xe,_=I)}return _=u(_),Xe=F,_;case dr:e:{F=x;for(x=F.key;N!==null;){if(N.key===x)if(N.tag===4&&N.stateNode.containerInfo===F.containerInfo&&N.stateNode.implementation===F.implementation){n(_,N.sibling),I=o(N,F.children||[]),I.return=_,_=I;break e}else{n(_,N);break}else t(_,N);N=N.sibling}I=rm(F,_.mode,I),I.return=_,_=I}return u(_);case ea:return F=Ln(x._debugInfo),x=Jl(x),_=Le(_,N,x,I),Xe=F,_}if(Pt(x))return re(_,N,x,I);if(Ye(x)){if(F=x,x=Ye(F),typeof x!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");if(we=x.call(F),we===F){if(_.tag!==0||Object.prototype.toString.call(_.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(we)!=="[object Generator]")Cw||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."),Cw=!0}else F.entries!==x||i0||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),i0=!0);return pe(_,N,we,I)}if(typeof x.then==="function")return F=Ln(x._debugInfo),_=Le(_,N,Vf(x),I),Xe=F,_;if(x.$$typeof===Wa)return Le(_,N,Hf(_,x),I);Yf(_,x)}if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return F=""+x,N!==null&&N.tag===6?(n(_,N.sibling),I=o(N,F),I.return=_,_=I):(n(_,N),I=sm(F,_.mode,I),I.return=_,I._debugOwner=_,I._debugTask=_._debugTask,I._debugInfo=Xe,_=I),u(_);return typeof x==="function"&&Gf(_,x),typeof x==="symbol"&&Qf(_,x),n(_,N)}return function(_,N,x,I){var F=Xe;Xe=null;try{Ru=0;var we=Le(_,N,x,I);return zr=null,we}catch(zt){if(zt===xr||zt===op)throw zt;var he=T(29,zt,null,_.mode);he.lanes=I,he.return=_;var Be=he._debugInfo=Xe;if(he._debugOwner=_._debugOwner,he._debugTask=_._debugTask,Be!=null){for(var qe=Be.length-1;0<=qe;qe--)if(typeof Be[qe].stack==="string"){he._debugOwner=Be[qe],he._debugTask=Be[qe].debugTask;break}}return he}finally{Xe=F}}}function Fv(e,t){var n=Pt(e);return e=!n&&typeof Ye(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 bm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vm(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 Zl(e){return{lane:e,tag:Mw,payload:null,callback:null,next:null}}function Pl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,r0===a&&!Uw){var o=L(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.
|
|
101
101
|
|
|
102
|
-
Please update the following component: %s`,o),Uw=!0}if((We&Wt)!==fn)return o=a.pending,o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=Df(e),Av(e,null,n),t;return Nf(e,a,t,n),Df(e)}function Nc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ue(e,n)}}function Xf(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?o=i=u:i=i.next=u,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Dc(){if(c0){var e=Mr;if(e!==null)throw e}}function Mc(e,t,n,a){c0=!1;var o=e.updateQueue;vi=!1,r0=o.shared;var{firstBaseUpdate:i,lastBaseUpdate:u}=o,d=o.shared.pending;if(d!==null){o.shared.pending=null;var h=d,y=h.next;h.next=null,u===null?i=y:u.next=y,u=h;var O=e.alternate;O!==null&&(O=O.updateQueue,d=O.lastBaseUpdate,d!==u&&(d===null?O.firstBaseUpdate=y:d.next=y,O.lastBaseUpdate=h))}if(i!==null){var M=o.baseState;u=0,O=y=h=null,d=i;do{var D=d.lane&-536870913,U=D!==d.lane;if(U?(Ue&D)===D:(a&D)===D){D!==0&&D===bi&&(c0=!0),O!==null&&(O=O.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{D=e;var X=d,re=t,pe=n;switch(X.tag){case xw:if(X=X.payload,typeof X==="function"){Nr=!0;var Le=X.call(pe,M,re);if(D.mode&Nn){At(!0);try{X.call(pe,M,re)}finally{At(!1)}}Nr=!1,M=Le;break e}M=X;break e;case s0:D.flags=D.flags&-65537|128;case Mw:if(Le=X.payload,typeof Le==="function"){if(Nr=!0,X=Le.call(pe,M,re),D.mode&Nn){At(!0);try{Le.call(pe,M,re)}finally{At(!1)}}Nr=!1}else X=Le;if(X===null||X===void 0)break e;M=He({},M,X);break e;case zw:vi=!0}}D=d.callback,D!==null&&(e.flags|=64,U&&(e.flags|=8192),U=o.callbacks,U===null?o.callbacks=[D]:U.push(D))}else U={lane:D,tag:d.tag,payload:d.payload,callback:d.callback,next:null},O===null?(y=O=U,h=M):O=O.next=U,u|=D;if(d=d.next,d===null)if(d=o.shared.pending,d===null)break;else U=d,d=U.next,U.next=null,o.lastBaseUpdate=U,o.shared.pending=null}while(1);O===null&&(h=M),o.baseState=h,o.firstBaseUpdate=y,o.lastBaseUpdate=O,i===null&&(o.shared.lanes=0),Ti|=u,e.lanes=u,e.memoizedState=M}r0=null}function Wv(e,t){if(typeof e!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function iC(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function e1(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function t1(e,t){var n=Zo;q(sp,n,e),q(Si,t,e),Zo=n|t.baseLanes}function Sm(e){q(sp,Zo,e),q(Si,Si.current,e)}function Em(e){Zo=sp.current,Se(Si,e),Se(sp,e)}function Fl(e){var t=e.alternate;q(Sn,Sn.current&Ur,e),q(vn,e,e),Dn===null&&(t===null||Si.current!==null?Dn=e:t.memoizedState!==null&&(Dn=e))}function Tm(e){q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)}function n1(e){e.tag===22?(q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)):Wl(e)}function Wl(e){q(Sn,Sn.current,e),q(vn,vn.current,e)}function ya(e){Se(vn,e),Dn===e&&(Dn=null),Se(Sn,e)}function xc(e,t){q(vn,vn.current,e),q(Sn,t,e)}function wm(e){Se(Sn,e),Se(vn,e),Dn===e&&(Dn=null)}function Jf(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Fg(n)||Wg(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){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 Ge(){var e=j;Va===null?Va=[e]:Va.push(e)}function
|
|
102
|
+
Please update the following component: %s`,o),Uw=!0}if((We&Wt)!==fn)return o=a.pending,o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=Df(e),Av(e,null,n),t;return Nf(e,a,t,n),Df(e)}function Nc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ue(e,n)}}function Xf(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?o=i=u:i=i.next=u,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Dc(){if(c0){var e=Mr;if(e!==null)throw e}}function Mc(e,t,n,a){c0=!1;var o=e.updateQueue;vi=!1,r0=o.shared;var{firstBaseUpdate:i,lastBaseUpdate:u}=o,d=o.shared.pending;if(d!==null){o.shared.pending=null;var h=d,y=h.next;h.next=null,u===null?i=y:u.next=y,u=h;var O=e.alternate;O!==null&&(O=O.updateQueue,d=O.lastBaseUpdate,d!==u&&(d===null?O.firstBaseUpdate=y:d.next=y,O.lastBaseUpdate=h))}if(i!==null){var M=o.baseState;u=0,O=y=h=null,d=i;do{var D=d.lane&-536870913,U=D!==d.lane;if(U?(Ue&D)===D:(a&D)===D){D!==0&&D===bi&&(c0=!0),O!==null&&(O=O.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{D=e;var X=d,re=t,pe=n;switch(X.tag){case xw:if(X=X.payload,typeof X==="function"){Nr=!0;var Le=X.call(pe,M,re);if(D.mode&Nn){At(!0);try{X.call(pe,M,re)}finally{At(!1)}}Nr=!1,M=Le;break e}M=X;break e;case s0:D.flags=D.flags&-65537|128;case Mw:if(Le=X.payload,typeof Le==="function"){if(Nr=!0,X=Le.call(pe,M,re),D.mode&Nn){At(!0);try{Le.call(pe,M,re)}finally{At(!1)}}Nr=!1}else X=Le;if(X===null||X===void 0)break e;M=He({},M,X);break e;case zw:vi=!0}}D=d.callback,D!==null&&(e.flags|=64,U&&(e.flags|=8192),U=o.callbacks,U===null?o.callbacks=[D]:U.push(D))}else U={lane:D,tag:d.tag,payload:d.payload,callback:d.callback,next:null},O===null?(y=O=U,h=M):O=O.next=U,u|=D;if(d=d.next,d===null)if(d=o.shared.pending,d===null)break;else U=d,d=U.next,U.next=null,o.lastBaseUpdate=U,o.shared.pending=null}while(1);O===null&&(h=M),o.baseState=h,o.firstBaseUpdate=y,o.lastBaseUpdate=O,i===null&&(o.shared.lanes=0),Ti|=u,e.lanes=u,e.memoizedState=M}r0=null}function Wv(e,t){if(typeof e!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function iC(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function e1(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function t1(e,t){var n=Zo;q(sp,n,e),q(Si,t,e),Zo=n|t.baseLanes}function Sm(e){q(sp,Zo,e),q(Si,Si.current,e)}function Em(e){Zo=sp.current,Se(Si,e),Se(sp,e)}function Fl(e){var t=e.alternate;q(Sn,Sn.current&Ur,e),q(vn,e,e),Dn===null&&(t===null||Si.current!==null?Dn=e:t.memoizedState!==null&&(Dn=e))}function Tm(e){q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)}function n1(e){e.tag===22?(q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)):Wl(e)}function Wl(e){q(Sn,Sn.current,e),q(vn,vn.current,e)}function ya(e){Se(vn,e),Dn===e&&(Dn=null),Se(Sn,e)}function xc(e,t){q(vn,vn.current,e),q(Sn,t,e)}function wm(e){Se(Sn,e),Se(vn,e),Dn===e&&(Dn=null)}function Jf(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Fg(n)||Wg(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){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 Ge(){var e=j;Va===null?Va=[e]:Va.push(e)}function Z(){var e=j;if(Va!==null&&(Dl++,Va[Dl]!==e)){var t=L(De);if(!kw.has(t)&&(kw.add(t),Va!==null)){for(var n="",a=0;a<=Dl;a++){var o=Va[a],i=a===Dl?e:o;for(o=a+1+". "+o;30>o.length;)o+=" ";o+=i+`
|
|
103
103
|
`,n+=o}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
104
104
|
|
|
105
105
|
Previous render Next render
|
|
@@ -139,7 +139,7 @@ https://react.dev/link/unsafe-component-lifecycles`,i,y,u!==null?`
|
|
|
139
139
|
`+h:""))}}i=t.stateNode,u=Ce(n)||"Component",i.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?",u):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",u)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.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?",u),i.getDefaultProps&&!i.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.",u),i.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),n.childContextTypes&&!Jw.has(n)&&(Jw.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)",u)),n.contextTypes&&!Xw.has(n)&&(Xw.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)",u)),typeof i.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.",u),n.prototype&&n.prototype.isPureReactComponent&&typeof i.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.",Ce(n)||"A pure component"),typeof i.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.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().",u),typeof i.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u),d=i.props!==a,i.props!==void 0&&d&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u),i.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.",u,u),typeof i.getSnapshotBeforeUpdate!=="function"||typeof i.componentDidUpdate==="function"||Vw.has(n)||(Vw.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ce(n))),typeof i.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),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.",u),(d=i.state)&&(typeof d!=="object"||Pt(d))&&console.error("%s.state: must be set to an object or null",u),typeof i.getChildContext==="function"&&typeof n.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u),i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},bm(t),u=n.contextType,i.context=typeof u==="object"&&u!==null?_t(u):di,i.state===a&&(u=Ce(n)||"Component",Gw.has(u)||(Gw.add(u),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.",u))),t.mode&Nn&&oo.recordLegacyContextWarning(t,i),oo.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,u=n.getDerivedStateFromProps,typeof u==="function"&&(Pm(t,n,u,a),i.state=t.memoizedState),typeof n.getDerivedStateFromProps==="function"||typeof i.getSnapshotBeforeUpdate==="function"||typeof i.UNSAFE_componentWillMount!=="function"&&typeof i.componentWillMount!=="function"||(u=i.state,typeof i.componentWillMount==="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==="function"&&i.UNSAFE_componentWillMount(),u!==i.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",L(t)||"Component"),p0.enqueueReplaceState(i,i.state,null)),Mc(t,a,i,o),Dc(),i.state=t.memoizedState),typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456),i=!0}else if(e===null){i=t.stateNode;var O=t.memoizedProps;d=es(n,O),i.props=d;var M=i.context;h=n.contextType,u=di,typeof h==="object"&&h!==null&&(u=_t(h)),y=n.getDerivedStateFromProps,h=typeof y==="function"||typeof i.getSnapshotBeforeUpdate==="function",O=t.pendingProps!==O,h||typeof i.UNSAFE_componentWillReceiveProps!=="function"&&typeof i.componentWillReceiveProps!=="function"||(O||M!==u)&&M1(t,i,a,u),vi=!1;var D=t.memoizedState;i.state=D,Mc(t,a,i,o),Dc(),M=t.memoizedState,O||D!==M||vi?(typeof y==="function"&&(Pm(t,n,y,a),M=t.memoizedState),(d=vi||D1(t,n,d,a,D,M,u))?(h||typeof i.UNSAFE_componentWillMount!=="function"&&typeof i.componentWillMount!=="function"||(typeof i.componentWillMount==="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456)):(typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456),t.memoizedProps=a,t.memoizedState=M),i.props=a,i.state=M,i.context=u,i=d):(typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456),i=!1)}else{i=t.stateNode,vm(e,t),u=t.memoizedProps,h=es(n,u),i.props=h,y=t.pendingProps,D=i.context,M=n.contextType,d=di,typeof M==="object"&&M!==null&&(d=_t(M)),O=n.getDerivedStateFromProps,(M=typeof O==="function"||typeof i.getSnapshotBeforeUpdate==="function")||typeof i.UNSAFE_componentWillReceiveProps!=="function"&&typeof i.componentWillReceiveProps!=="function"||(u!==y||D!==d)&&M1(t,i,a,d),vi=!1,D=t.memoizedState,i.state=D,Mc(t,a,i,o),Dc();var U=t.memoizedState;u!==y||D!==U||vi||e!==null&&e.dependencies!==null&&Lf(e.dependencies)?(typeof O==="function"&&(Pm(t,n,O,a),U=t.memoizedState),(h=vi||D1(t,n,h,a,D,U,d)||e!==null&&e.dependencies!==null&&Lf(e.dependencies))?(M||typeof i.UNSAFE_componentWillUpdate!=="function"&&typeof i.componentWillUpdate!=="function"||(typeof i.componentWillUpdate==="function"&&i.componentWillUpdate(a,U,d),typeof i.UNSAFE_componentWillUpdate==="function"&&i.UNSAFE_componentWillUpdate(a,U,d)),typeof i.componentDidUpdate==="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate==="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=U),i.props=a,i.state=U,i.context=d,i=h):(typeof i.componentDidUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),i=!1)}if(d=i,Fs(e,t),u=(t.flags&128)!==0,d||u){if(d=t.stateNode,mn(t),u&&typeof n.getDerivedStateFromError!=="function")n=null,Qn=-1;else if(n=gw(d),t.mode&Nn){At(!0);try{gw(d)}finally{At(!1)}}t.flags|=1,e!==null&&u?(t.child=hs(t,e.child,null,o),t.child=hs(t,null,n,o)):Zt(e,t,n,o),t.memoizedState=d.state,e=t.child}else e=yl(e,t,o);return o=t.stateNode,i&&o.props!==a&&(Hr||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",L(t)||"a component"),Hr=!0),e}function Y1(e,t,n,a){return Xi(),t.flags|=256,Zt(e,t,n,a),t.child}function ng(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
140
|
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps==="function"&&(e=Ce(t)||"Unknown",eO[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),eO[e]=!0)),typeof t.contextType==="object"&&t.contextType!==null&&(t=Ce(t)||"Unknown",Fw[t]||(console.error("%s: Function components do not support contextType.",t),Fw[t]=!0))}function ag(e){return{baseLanes:e,cachePool:Iv()}}function og(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=ia),e}function G1(e,t,n){var a=t.pendingProps;p(t)&&(t.flags|=128);var o=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(Sn.current&_u)!==0),u&&(o=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if($e){if(o?Fl(t):Wl(t),(e=Ct)?(n=xE(e,$a),n=n!==null&&n.data!==Os?n:null,n!==null&&(u={dehydrated:n,treeContext:xv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=Dv(n),u.return=t,t.child=u,sn=t,Ct=null)):n=null,n===null)throw zf(t,e),Ql(t);return Wg(n)?t.lanes=32:t.lanes=536870912,null}if(i=a.children,a=a.fallback,o)return Wl(t),o=t.mode,i=cd({mode:"hidden",children:i},o),a=Gi(a,o,n,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=ag(n),a.childLanes=og(e,u,n),t.memoizedState=y0,Bc(null,a);return Fl(t),lg(t,i)}var d=e.memoizedState;if(d!==null){var h=d.dehydrated;if(h!==null)return mC(e,t,i,u,a,h,d,n)}if(o)return Wl(t),o=a.fallback,i=t.mode,d=e.child,h=d.sibling,a=pl(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&1206910976,h!==null?o=pl(h,o):(o=Gi(o,i,n,null),o.flags|=2),o.return=t,a.return=t,a.sibling=o,t.child=a,Bc(null,a),a=t.child,o=e.child.memoizedState,o===null?o=ag(n):(i=o.cachePool,i!==null?(d=Qt._currentValue,i=i.parent!==d?{parent:d,pool:d}:i):i=Iv(),o={baseLanes:o.baseLanes|n,cachePool:i}),a.memoizedState=o,a.childLanes=og(e,u,n),t.memoizedState=y0,Bc(e.child,a);return d!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Sd(t),Fl(t),n=e.child,e=n.sibling,n=pl(n,{mode:"visible",children:a.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 lg(e,t){return t=cd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function cd(e,t){return e=T(22,e,null,t),e.lanes=0,e}function ud(e,t,n){return hs(t,e.child,null,n),e=lg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function mC(e,t,n,a,o,i,u,d){if(n){if(t.flags&256)return Fl(t),t.flags&=-257,ud(e,t,d);if(t.memoizedState!==null)return Wl(t),t.child=e.child,t.flags|=128,null;Wl(t);var h=o.fallback,y=t.mode,O=cd({mode:"visible",children:o.children},y);return h=Gi(h,y,d,null),h.flags|=2,O.return=t,h.return=t,O.sibling=h,t.child=O,hs(t,e.child,null,d),h=t.child,h.memoizedState=ag(d),h.childLanes=og(e,a,d),t.memoizedState=y0,Bc(null,h)}if(Fl(t),Uv(),(d&536870912)!==0&&Sd(t),Wg(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a){h=a.dgst;var M=a.msg;y=a.stck,O=a.cstck}return i=M,u=h,o=y,a=O,h=u,y=i,O=o,o=a,h!==hN&&(a=y?Error(y):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),a.stack=O||"",a.digest=h,h=o===void 0?null:o,y={value:a,source:null,stack:h},typeof h==="string"&&Qy.set(a,y),Ac(y)),ud(e,t,d)}if(Gt||Ji(e,t,d,!1),a=(d&e.childLanes)!==0,Gt||a){if(Si.current!==null)return ud(e,t,d);if(a=Et,a!==null&&(h=it(a,d),h!==0&&h!==u.retryLane))throw u.retryLane=h,Rn(e,h),Ut(a,e,h),m0;return Fg(i)||Ed(),ud(e,t,d)}if(Fg(i))return t.flags|=192,t.child=e.child,null;return e=u.treeContext,Ct=Sa(i.nextSibling),sn=t,$e=!0,pi=null,Vo=!1,Ta=null,$a=!1,e!==null&&zv(t,e),t=lg(t,o.children),t.flags|=134221824,t}function Q1(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Bf(e.return,t,n)}function X1(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Jf(n)===null&&(t=e),e=e.sibling}return t}function fd(e,t,n,a,o,i){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:i}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=n,u.tailMode=o,u.treeForkCount=i)}function ig(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function sg(e,t,n){var a=t.pendingProps,o=a.revealOrder,i=a.tail,u=a.children,d=Sn.current;if(t.flags&128)return xc(t,d),null;if((a=(d&_u)!==0)?(d=d&Ur|_u,t.flags|=128):d&=Ur,xc(t,d),d=o==null?"null":o,o!=null&&o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!tO[d])if(tO[d]=!0,typeof o==="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);d=i==null?"null":i,g0[d]||i==null||(i!=="visible"&&i!=="collapsed"&&i!=="hidden"?(g0[d]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):o!=null&&o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(g0[d]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if((o==null||o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&u!==void 0&&u!==null&&u!==!1)if(Pt(u)){for(d=0;d<u.length;d++)if(!Fv(u[d],d))break e}else if(d=Ye(u),typeof d==="function"){if(d=d.call(u))for(var h=d.next(),y=0;!h.done;h=d.next()){if(!Fv(h.value,y))break e;y++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(o==="backwards"&&e!==null?(ig(e),Zt(e,t,u,n),ig(e)):Zt(e,t,u,n),$e?(Gl(),u=du):u=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Q1(e,n,t);else if(e.tag===19)Q1(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}switch(o){case"backwards":n=X1(t.child),n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,ig(t)),fd(t,!0,o,null,i,u);break;case"unstable_legacy-backwards":n=null,o=t.child;for(t.child=null;o!==null;){if(e=o.alternate,e!==null&&Jf(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}fd(t,!0,n,null,i,u);break;case"together":fd(t,!1,null,null,void 0,u);break;case"independent":t.memoizedState=null;break;default:n=X1(t.child),n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),fd(t,!1,o,n,i,u)}return t.child}function J1(e,t,n){var{type:a,pendingProps:o}=t,i=o.value;return"value"in o||aO||(aO=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Xl(t,a,i),Zt(e,t,o.children,n),t.child}function yl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Qn=-1,Ti|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ji(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){e=t.child,n=pl(e,e.pendingProps),t.child=n;for(n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rg(e,t){if((e.lanes&t)!==0)return!0;return e=e.dependencies,e!==null&&Lf(e)?!0:!1}function gC(e,t,n){switch(t.tag){case 3:Q(t,t.stateNode.containerInfo),Xl(t,Qt,e.memoizedState.cache),Xi();break;case 27:case 5:se(t);break;case 4:Q(t,t.stateNode.containerInfo);break;case 10:Xl(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Tm(t),null;break;case 13:if(a=t.memoizedState,a!==null){if(a.dehydrated!==null)return Fl(t),t.flags|=128,null;a=Ji(e,t,n,!1);var o=t.child.childLanes;if(a||(n&o)!==0)return G1(e,t,n);return Fl(t),e=yl(e,t,n),e!==null?e.sibling:null}Fl(t);break;case 19:if(t.flags&128)return sg(e,t,n);if(o=(e.flags&128)!==0,a=(n&t.childLanes)!==0,a||(Ji(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return sg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),xc(t,Sn.current),a)break;else return null;case 22:return t.lanes=0,j1(e,t,n,t.pendingProps);case 24:Xl(t,Qt,e.memoizedState.cache)}return yl(e,t,n)}function cg(e,t,n){if(t._debugNeedsRemount&&e!==null){n=im(Qs(t.elementType),t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===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===a.child)a.child=n;else{var o=a.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=134217730,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Gt=!0;else{if(!rg(e,n)&&(t.flags&128)===0)return Gt=!1,gC(e,t,n);Gt=(e.flags&131072)!==0?!0:!1}else{if(Gt=!1,a=$e)Gl(),a=(t.flags&1048576)!==0;a&&(a=t.index,Gl(),Mv(t,du,a))}switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=Jl(t.elementType),e=Qs(e),t.type=e,typeof e==="function")lm(e)?(a=es(e,a),t.tag=1,t=V1(null,t,e,a,n)):(t.tag=0,ng(t,e),t=tg(null,t,e,a,n));else{if(e!==void 0&&e!==null){if(o=e.$$typeof,o===xd){t.tag=11,t=B1(null,t,e,a,n);break e}else if(o===zd){t.tag=14,t=L1(null,t,e,a,n);break e}else if(o===Wa){t.tag=10,t.type=e,t=J1(null,t,n);break e}}throw t="",e!==null&&typeof e==="object"&&e.$$typeof===ea&&(t=" Did you wrap a component in React.lazy() more than once?"),n=Ce(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return tg(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=es(a,t.pendingProps),V1(e,t,a,o,n);case 3:e:{if(Q(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var i=t.memoizedState;o=i.element,vm(e,t),Mc(t,a,null,n);var u=t.memoizedState;if(a=u.cache,Xl(t,Qt,a),a!==i.cache&&dm(t,[Qt],n,!0),Dc(),a=u.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=Y1(e,t,a,n);break e}else if(a!==o){o=ha(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Ac(o),t=Y1(e,t,a,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}Ct=Sa(e.firstChild),sn=t,$e=!0,pi=null,Vo=!1,Ta=null,$a=!0,n=Dw(t,null,a,n);for(t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(Xi(),a===o){t=yl(e,t,n);break e}Zt(e,t,a,n)}t=t.child}return t;case 26:return Fs(e,t),e===null?(n=jE(t.type,null,t.pendingProps,null))?t.memoizedState=n:$e||(t.stateNode=yE(t.type,t.pendingProps,te(ii.current),t)):t.memoizedState=jE(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&$e&&(a=te(ii.current),o=J(),a=t.stateNode=BE(t.type,t.pendingProps,a,o,!1),Vo||(o=pE(a,t.type,t.pendingProps,o),o!==null&&(Qi(t,0).serverProps=o)),sn=t,$a=!0,o=Ct,oi(t.type)?(V0=o,Ct=Sa(a.firstChild)):Ct=o),Zt(e,t,t.pendingProps.children,n),Fs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&$e&&(i=J(),a=Zh(t.type,i.ancestorInfo),o=Ct,(u=!o)||(u=AR(o,t.type,t.pendingProps,$a),u!==null?(t.stateNode=u,Vo||(i=pE(u,t.type,t.pendingProps,i),i!==null&&(Qi(t,0).serverProps=i)),sn=t,Ct=Sa(u.firstChild),$a=!1,i=!0):i=!1,u=!i),u&&(a&&zf(t,o),Ql(t))),se(t),o=t.type,i=t.pendingProps,u=e!==null?e.memoizedProps:null,a=i.children,Jg(o,i)?a=null:u!==null&&Jg(o,u)&&(t.flags|=32),t.memoizedState!==null&&(o=Am(e,t,sC,null,null,n),Pr._currentValue=o),Fs(e,t),Zt(e,t,a,n),t.child;case 6:return e===null&&$e&&(n=t.pendingProps,e=J(),a=e.ancestorInfo.current,n=a!=null?Ef(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=Ct,(a=!e)||(a=CR(e,t.pendingProps,$a),a!==null?(t.stateNode=a,sn=t,Ct=null,a=!0):a=!1,a=!a),a&&(n&&zf(t,e),Ql(t))),null;case 13:return G1(e,t,n);case 4:return Q(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=hs(t,null,a,n):Zt(e,t,a,n),t.child;case 11:return B1(e,t,t.type,t.pendingProps,n);case 7:return a=t.pendingProps,Fs(e,t),Zt(e,t,a,n),t.child;case 8:return Zt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,Zt(e,t,t.pendingProps.children,n),t.child;case 10:return J1(e,t,n);case 9:return o=t.type._context,a=t.pendingProps.children,typeof a!=="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."),Ki(t),o=_t(o),a=n0(a,o,void 0),t.flags|=1,Zt(e,t,a,n),t.child;case 14:return L1(e,t,t.type,t.pendingProps,n);case 15:return H1(e,t,t.type,t.pendingProps,n);case 19:return sg(e,t,n);case 31:return hC(e,t,n);case 22:return j1(e,t,n,t.pendingProps);case 24:return Ki(t),a=_t(Qt),e===null?(o=gm(),o===null&&(o=Et,i=pm(),o.pooledCache=i,Zi(i),i!==null&&(o.pooledCacheLanes|=n),o=i),t.memoizedState={parent:a,cache:o},bm(t),Xl(t,Qt,o)):((e.lanes&n)!==0&&(vm(e,t),Mc(t,null,null,n),Dc()),o=e.memoizedState,i=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Xl(t,Qt,a)):(a=i.cache,Xl(t,Qt,a),a!==o.cache&&dm(t,[Qt],n,!0))),Zt(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:$e&&xf(t),a.className!==void 0&&(o=typeof a.className==="string"?JSON.stringify(a.className):"{...}",nO[o]||(nO[o]=!0,console.error(`<ViewTransition> doesn't accept a "className" prop. It has been renamed to "default".
|
|
141
141
|
- <ViewTransition className=%s>
|
|
142
|
-
+ <ViewTransition default=%s>`,o,o))),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:Fs(e,t),Zt(e,t,a.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 bl(e){e.flags|=4}function ug(e,t,n,a,o){var i;if(i=(e.mode&lw)!==_e)i=n===null?VE(t,a):VE(t,a)&&(a.src!==n.src||a.srcSet!==n.srcSet);if(i){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(LS())e.flags|=8192;else throw ps=lp,o0}else e.flags&=-16777217}function K1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ya)!==Rs)e.flags&=-16777217;else if(e.flags|=16777216,!YE(t))if(LS())e.flags|=8192;else throw ps=lp,o0}function dd(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?cl():536870912,e.lanes|=t,Ss|=t)}function Lc(e,t){if(!$e)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:t=e.tail;for(n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&je)!==_e){for(var{selfBaseDuration:o,child:i}=e;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&1206910976,a|=i.flags&1206910976,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&1206910976,a|=o.flags&1206910976,o.return=e,o=o.sibling;else if((e.mode&je)!==_e){o=e.actualDuration,i=e.selfBaseDuration;for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,o+=u.actualDuration,i+=u.treeBaseDuration,u=u.sibling;e.actualDuration=o,e.treeBaseDuration=i}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function yC(e,t,n){var a=t.pendingProps;switch(cm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return vt(t),null;case 3:if(n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ml(Qt,t),Z(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),e===null||e.child===null)Xs(t)?(fm(),bl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,um());return vt(t),null;case 26:var{type:o,memoizedState:i}=t;return e===null?(bl(t),i!==null?(vt(t),K1(t,i)):(vt(t),ug(t,o,null,a,n))):i?i!==e.memoizedState?(bl(t),vt(t),K1(t,i)):(vt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&bl(t),vt(t),ug(t,o,e,a,n)),null;case 27:if(Re(t),n=te(ii.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){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 vt(t),t.subtreeFlags&=-33554433,null}e=J(),Xs(t)?kv(t,e):(e=BE(o,a,n,e,!0),t.stateNode=e,bl(t))}return vt(t),t.subtreeFlags&=-33554433,null;case 5:if(Re(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){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 vt(t),t.subtreeFlags&=-33554433,null}var u=J();if(Xs(t))kv(t,u);else{switch(i=te(ii.current),Zh(o,u.ancestorInfo),u=u.context,i=Qc(i),u){case Kr:i=i.createElementNS(yr,o);break;case Lp:i=i.createElementNS(Id,o);break;default:switch(o){case"svg":i=i.createElementNS(yr,o);break;case"math":i=i.createElementNS(Id,o);break;case"script":i=i.createElement("div"),CO||JC(a)||(console.error("Encountered a script tag while rendering React component. Scripts inside React components are never executed when rendering on the client. Consider using template tag instead (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template)."),CO=!0),i.innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is==="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is==="string"?i.createElement(o,{is:a.is}):i.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||ka.call(RO,o)||(RO[o]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",o)))}}i[bn]=t,i[Vn]=a;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=i;e:switch(yn(i,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&bl(t)}}return vt(t),t.subtreeFlags&=-33554433,ug(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(typeof a!=="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=te(ii.current),n=J(),Xs(t)){if(e=t.stateNode,n=t.memoizedProps,o=!Vo,a=null,i=sn,i!==null)switch(i.tag){case 3:o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o));break;case 27:case 5:a=i.memoizedProps,o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o))}e[bn]=t,e=e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||rE(e.nodeValue,n)?!0:!1,e||Ql(t,!0)}else o=n.ancestorInfo.current,o!=null&&Ef(a,o.tag,n.ancestorInfo.implicitRootScope),e=Qc(e).createTextNode(a),e[bn]=t,t.stateNode=e}return vt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Xs(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[bn]=t,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(t.flags&256)return ya(t),t;return ya(t),null}if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return vt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=a,i=Xs(t),o!==null&&o.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[bn]=t,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(t.flags&256)return ya(t),t;return ya(t),null}}if(ya(t),(t.flags&128)!==0)return t.lanes=n,(t.mode&je)!==_e&&_c(t),t;return n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),dd(t,t.updateQueue),vt(t),(t.mode&je)!==_e&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null;case 4:return Z(t),e===null&&Ig(t.stateNode.containerInfo),t.flags|=67108864,vt(t),null;case 10:return ml(t.type,t),vt(t),null;case 19:if(wm(t),a=t.memoizedState,a===null)return vt(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Lc(a,!1);else{if(Mt!==Ml||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Jf(e),i!==null){t.flags|=128,Lc(a,!1),e=i.updateQueue,t.updateQueue=e,dd(t,e),t.subtreeFlags=0,e=n;for(n=t.child;n!==null;)Nv(n,e),n=n.sibling;return xc(t,Sn.current&Ur|_u),$e&&hl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Vt()>Tp&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304)}else{if(!o)if(e=Jf(i),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,dd(t,e),Lc(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!i.alternate&&!$e)return vt(t),null}else 2*Vt()-a.renderingStartTime>Tp&&n!==536870912&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}if(a.tail!==null){e=a.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Vt(),e.sibling=null,i=Sn.current,i=o?i&Ur|_u:i&Ur,a.tailMode==="visible"||a.tailMode==="collapsed"||!n||$e?xc(t,i):(n=i,q(vn,t,t),q(Sn,n,t),Dn===null&&(Dn=t)),$e&&hl(t,a.treeForkCount),e}return vt(t),null;case 22:case 23:return ya(t),Em(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),n=t.updateQueue,n!==null&&dd(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Se(us,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ml(Qt,t),vt(t),null;case 25:return null;case 30:return t.flags|=33554432,vt(t),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 bC(e,t){switch(cm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 3:return ml(Qt,t),Z(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Re(t),null;case 31:if(t.memoizedState!==null){if(ya(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 13:if(ya(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.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 19:return wm(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Z(t),null;case 10:return ml(t.type,t),null;case 22:case 23:return ya(t),Em(t),e!==null&&Se(us,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 24:return ml(Qt,t),null;case 25:return null;default:return null}}function Z1(e,t){switch(cm(t),t.tag){case 3:ml(Qt,t),Z(t);break;case 26:case 27:case 5:Re(t);break;case 4:Z(t);break;case 31:t.memoizedState!==null&&ya(t);break;case 13:ya(t);break;case 19:wm(t);break;case 10:ml(t.type,t);break;case 22:case 23:ya(t),Em(t),e!==null&&Se(us,t);break;case 24:ml(Qt,t)}}function xo(e){return(e.mode&je)!==_e}function P1(e,t){xo(e)?(Mo(),Hc(t,e),Do()):Hc(t,e)}function fg(e,t,n){xo(e)?(Mo(),Ws(n,e,t),Do()):Ws(n,e,t)}function Hc(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e&&(a=void 0,(e&Xn)!==Nu&&(Gr=!0),a=oe(t,gN,n),(e&Xn)!==Nu&&(Gr=!1),a!==void 0&&typeof a!=="function")){var i=void 0;i=(n.tag&wa)!==0?"useLayoutEffect":(n.tag&Xn)!==0?"useInsertionEffect":"useEffect";var u=void 0;u=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then==="function"?`
|
|
142
|
+
+ <ViewTransition default=%s>`,o,o))),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:Fs(e,t),Zt(e,t,a.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 bl(e){e.flags|=4}function ug(e,t,n,a,o){var i;if(i=(e.mode&lw)!==_e)i=n===null?VE(t,a):VE(t,a)&&(a.src!==n.src||a.srcSet!==n.srcSet);if(i){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(LS())e.flags|=8192;else throw ps=lp,o0}else e.flags&=-16777217}function K1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ya)!==Rs)e.flags&=-16777217;else if(e.flags|=16777216,!YE(t))if(LS())e.flags|=8192;else throw ps=lp,o0}function dd(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?cl():536870912,e.lanes|=t,Ss|=t)}function Lc(e,t){if(!$e)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:t=e.tail;for(n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&je)!==_e){for(var{selfBaseDuration:o,child:i}=e;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&1206910976,a|=i.flags&1206910976,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&1206910976,a|=o.flags&1206910976,o.return=e,o=o.sibling;else if((e.mode&je)!==_e){o=e.actualDuration,i=e.selfBaseDuration;for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,o+=u.actualDuration,i+=u.treeBaseDuration,u=u.sibling;e.actualDuration=o,e.treeBaseDuration=i}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function yC(e,t,n){var a=t.pendingProps;switch(cm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return vt(t),null;case 3:if(n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ml(Qt,t),K(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),e===null||e.child===null)Xs(t)?(fm(),bl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,um());return vt(t),null;case 26:var{type:o,memoizedState:i}=t;return e===null?(bl(t),i!==null?(vt(t),K1(t,i)):(vt(t),ug(t,o,null,a,n))):i?i!==e.memoizedState?(bl(t),vt(t),K1(t,i)):(vt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&bl(t),vt(t),ug(t,o,e,a,n)),null;case 27:if(Re(t),n=te(ii.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){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 vt(t),t.subtreeFlags&=-33554433,null}e=J(),Xs(t)?kv(t,e):(e=BE(o,a,n,e,!0),t.stateNode=e,bl(t))}return vt(t),t.subtreeFlags&=-33554433,null;case 5:if(Re(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){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 vt(t),t.subtreeFlags&=-33554433,null}var u=J();if(Xs(t))kv(t,u);else{switch(i=te(ii.current),Zh(o,u.ancestorInfo),u=u.context,i=Qc(i),u){case Kr:i=i.createElementNS(yr,o);break;case Lp:i=i.createElementNS(Id,o);break;default:switch(o){case"svg":i=i.createElementNS(yr,o);break;case"math":i=i.createElementNS(Id,o);break;case"script":i=i.createElement("div"),CO||JC(a)||(console.error("Encountered a script tag while rendering React component. Scripts inside React components are never executed when rendering on the client. Consider using template tag instead (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template)."),CO=!0),i.innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is==="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is==="string"?i.createElement(o,{is:a.is}):i.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||ka.call(RO,o)||(RO[o]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",o)))}}i[bn]=t,i[Vn]=a;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=i;e:switch(yn(i,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&bl(t)}}return vt(t),t.subtreeFlags&=-33554433,ug(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(typeof a!=="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=te(ii.current),n=J(),Xs(t)){if(e=t.stateNode,n=t.memoizedProps,o=!Vo,a=null,i=sn,i!==null)switch(i.tag){case 3:o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o));break;case 27:case 5:a=i.memoizedProps,o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o))}e[bn]=t,e=e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||rE(e.nodeValue,n)?!0:!1,e||Ql(t,!0)}else o=n.ancestorInfo.current,o!=null&&Ef(a,o.tag,n.ancestorInfo.implicitRootScope),e=Qc(e).createTextNode(a),e[bn]=t,t.stateNode=e}return vt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Xs(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[bn]=t,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(t.flags&256)return ya(t),t;return ya(t),null}if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return vt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=a,i=Xs(t),o!==null&&o.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[bn]=t,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(t.flags&256)return ya(t),t;return ya(t),null}}if(ya(t),(t.flags&128)!==0)return t.lanes=n,(t.mode&je)!==_e&&_c(t),t;return n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),dd(t,t.updateQueue),vt(t),(t.mode&je)!==_e&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null;case 4:return K(t),e===null&&Ig(t.stateNode.containerInfo),t.flags|=67108864,vt(t),null;case 10:return ml(t.type,t),vt(t),null;case 19:if(wm(t),a=t.memoizedState,a===null)return vt(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Lc(a,!1);else{if(Mt!==Ml||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Jf(e),i!==null){t.flags|=128,Lc(a,!1),e=i.updateQueue,t.updateQueue=e,dd(t,e),t.subtreeFlags=0,e=n;for(n=t.child;n!==null;)Nv(n,e),n=n.sibling;return xc(t,Sn.current&Ur|_u),$e&&hl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Vt()>Tp&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304)}else{if(!o)if(e=Jf(i),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,dd(t,e),Lc(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!i.alternate&&!$e)return vt(t),null}else 2*Vt()-a.renderingStartTime>Tp&&n!==536870912&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}if(a.tail!==null){e=a.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Vt(),e.sibling=null,i=Sn.current,i=o?i&Ur|_u:i&Ur,a.tailMode==="visible"||a.tailMode==="collapsed"||!n||$e?xc(t,i):(n=i,q(vn,t,t),q(Sn,n,t),Dn===null&&(Dn=t)),$e&&hl(t,a.treeForkCount),e}return vt(t),null;case 22:case 23:return ya(t),Em(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),n=t.updateQueue,n!==null&&dd(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Se(us,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ml(Qt,t),vt(t),null;case 25:return null;case 30:return t.flags|=33554432,vt(t),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 bC(e,t){switch(cm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 3:return ml(Qt,t),K(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Re(t),null;case 31:if(t.memoizedState!==null){if(ya(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 13:if(ya(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.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 19:return wm(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return K(t),null;case 10:return ml(t.type,t),null;case 22:case 23:return ya(t),Em(t),e!==null&&Se(us,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 24:return ml(Qt,t),null;case 25:return null;default:return null}}function Z1(e,t){switch(cm(t),t.tag){case 3:ml(Qt,t),K(t);break;case 26:case 27:case 5:Re(t);break;case 4:K(t);break;case 31:t.memoizedState!==null&&ya(t);break;case 13:ya(t);break;case 19:wm(t);break;case 10:ml(t.type,t);break;case 22:case 23:ya(t),Em(t),e!==null&&Se(us,t);break;case 24:ml(Qt,t)}}function xo(e){return(e.mode&je)!==_e}function P1(e,t){xo(e)?(Mo(),Hc(t,e),Do()):Hc(t,e)}function fg(e,t,n){xo(e)?(Mo(),Ws(n,e,t),Do()):Ws(n,e,t)}function Hc(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e&&(a=void 0,(e&Xn)!==Nu&&(Gr=!0),a=oe(t,gN,n),(e&Xn)!==Nu&&(Gr=!1),a!==void 0&&typeof a!=="function")){var i=void 0;i=(n.tag&wa)!==0?"useLayoutEffect":(n.tag&Xn)!==0?"useInsertionEffect":"useEffect";var u=void 0;u=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then==="function"?`
|
|
143
143
|
|
|
144
144
|
It looks like you wrote `+i+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
145
145
|
|
|
@@ -223,20 +223,20 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}
|
|
|
223
223
|
|
|
224
224
|
Check the render method of \``+o+"`."),i||a&&(i=`
|
|
225
225
|
|
|
226
|
-
Check the top-level render call using <`+a+">.");var u="";n!=null&&e!==n&&(a=null,typeof n.tag==="number"?a=L(n):typeof n.name==="string"&&(a=n.name),a&&(u=" It was passed a child from "+a+".")),oe(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.',i,u)})}}};var hs=Pv(!0),Dw=Pv(!1),Mw=0,xw=1,zw=2,s0=3,vi=!1,Uw=!1,r0=null,c0=!1,Si=ye(null),sp=ye(0),vn=ye(null),Dn=null,Ur=1,_u=2,Sn=ye(0),Nu=0,qa=1,Xn=2,wa=4,Mn=8,kr,kw=new Set,Bw=new Set,u0=new Set,Lw=new Set,Nl=0,De=null,St=null,Xt=null,rp=!1,Br=!1,ms=!1,cp=0,Du=0,Go=null,vN=0,SN=25,j=null,Va=null,Dl=-1,Mu=!1,up={readContext:_t,use:ei,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt,useEffectEvent:jt},f0=null,Hw=null,d0=null,jw=null,Qo=null,lo=null,fp=null;f0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",Ge(),Js(t),Im(e,t)},useContext:function(e){return j="useContext",Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",Ge(),Js(t),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Ge(),Js(n),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",Ge(),Js(t),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Ge(),Js(t),jm(e,t)},useMemo:function(e,t){j="useMemo",Ge(),Js(t);var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",Ge(),Lm(e)},useState:function(e){j="useState",Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Ge(),xm(e,t,n)},useId:function(){return j="useId",Ge(),Xm()},useFormState:function(e,t){return j="useFormState",Ge(),Kf(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",Ge(),km(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",Ge(),Hm(e)}},Hw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),Im(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){return j="useEffect",K(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",K(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),jm(e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",K(),Lm(e)},useState:function(e){j="useState",K();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),Vm(e,t)},useTransition:function(){return j="useTransition",K(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),xm(e,t,n)},useId:function(){return j="useId",K(),Xm()},useActionState:function(e,t){return j="useActionState",K(),Zs(e,t)},useFormState:function(e,t){return j="useFormState",K(),Kf(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",K(),km(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",K(),Hm(e)}},d0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),ad(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){j="useEffect",K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",K(),pt().memoizedState},useState:function(){j="useState",K();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),v1(e,t)},useTransition:function(){return j="useTransition",K(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),Pf(e,t,n)},useId:function(){return j="useId",K(),pt().memoizedState},useFormState:function(e){return j="useFormState",K(),Kf(),Ff(e)},useActionState:function(e){return j="useActionState",K(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",K(),c1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",K(),td(e)}},jw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),ad(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){j="useEffect",K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=fp;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=fp;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",K(),pt().memoizedState},useState:function(){j="useState",K();var e=V.H;V.H=fp;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),S1(e,t)},useTransition:function(){return j="useTransition",K(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),Pf(e,t,n)},useId:function(){return j="useId",K(),pt().memoizedState},useFormState:function(e){return j="useFormState",K(),Kf(),Wf(e)},useActionState:function(e){return j="useActionState",K(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",K(),f1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",K(),td(e)}},Qo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),Ge(),Im(e,t)},useContext:function(e){return j="useContext",g(),Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",g(),Ge(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Ge(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",g(),Ge(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Ge(),jm(e,t)},useMemo:function(e,t){j="useMemo",g(),Ge();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",g(),Ge(),Lm(e)},useState:function(e){j="useState",g(),Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",g(),Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",g(),Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Ge(),xm(e,t,n)},useId:function(){return j="useId",g(),Ge(),Xm()},useFormState:function(e,t){return j="useFormState",g(),Ge(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",g(),Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",g(),Ge(),km(e)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",g(),Ge(),Hm(e)}},lo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),K(),ad(e,t)},useContext:function(e){return j="useContext",g(),K(),_t(e)},useEffect:function(e,t){j="useEffect",g(),K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),K();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),K(),pt().memoizedState},useState:function(){j="useState",g(),K();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),K()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),K(),v1(e,t)},useTransition:function(){return j="useTransition",g(),K(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),K(),Pf(e,t,n)},useId:function(){return j="useId",g(),K(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),K(),Ff(e)},useActionState:function(e){return j="useActionState",g(),K(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),K(),c1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),K(),td(e)}},fp={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),K(),ad(e,t)},useContext:function(e){return j="useContext",g(),K(),_t(e)},useEffect:function(e,t){j="useEffect",g(),K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),K();var a=V.H;V.H=lo;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),K(),pt().memoizedState},useState:function(){j="useState",g(),K();var e=V.H;V.H=lo;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),K()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),K(),S1(e,t)},useTransition:function(){return j="useTransition",g(),K(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),K(),Pf(e,t,n)},useId:function(){return j="useId",g(),K(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),K(),Wf(e)},useActionState:function(e){return j="useActionState",g(),K(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),K(),f1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),K(),td(e)}};var $w={},Iw=new Set,qw=new Set,Vw=new Set,Yw=new Set,Gw=new Set,Qw=new Set,Xw=new Set,Jw=new Set,Kw=new Set,Zw=new Set;Object.freeze($w);var p0={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.setState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.tag=xw,o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.replaceState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ba(e),a=Zl(n);a.tag=zw,t!==void 0&&t!==null&&(Zm(t),a.callback=t),t=Pl(e,a,n),t!==null&&(Ao(n,"this.forceUpdate()",e),Ut(t,e,n),Nc(t,e,n))}},Lr=null,h0=null,m0=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."),Gt=!1,Pw={},Fw={},Ww={},eO={},Hr=!1,tO={},g0={},nO={},y0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},aO=!1,oO=null;oO=new Set;var dp=!1,Oa=null,Xo=null,aa=0,pp=new Map,lO={},xu=0,b0=1,hp=2,cn=!1,ht=!1,Jo=!1,v0=!1,iO=typeof WeakSet==="function"?WeakSet:Set,un=null,jr=null,$r=null,Ko=!1,zu=!1,mp=!1,S0=!1,Jt=null,oa=!1,io=null,Ft=!1,gs=8192,EN={getCacheForType:function(e){var t=_t(Qt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return _t(Qt).controller.signal},getOwner:function(){return Ea}};if(typeof Symbol==="function"&&Symbol.for){var Uu=Symbol.for;Uu("selector.component"),Uu("selector.has_pseudo_class"),Uu("selector.role"),Uu("selector.test_id"),Uu("selector.text")}var TN=[],wN=typeof WeakMap==="function"?WeakMap:Map,fn=0,Wt=2,Aa=4,Ml=0,ku=1,ys=2,gp=3,Ei=4,Bu=6,sO=5,We=fn,Et=null,Ie=null,Ue=0,la=0,yp=1,bs=2,Lu=3,rO=4,E0=5,Hu=6,bp=7,T0=8,vs=9,mt=la,Ca=null,xl=!1,Ir=!1,w0=!1,Zo=0,Mt=Ml,Ti=0,wi=0,vp=0,ia=0,Ss=0,ju=null,Jn=null,Sp=!1,Ep=0,cO=0,uO=300,Tp=1/0,fO=500,$u=null,Bt=null,Oi=null,wp=0,Iu=1,O0=2,dO=3,Po=0,pO=1,hO=2,A0=3,C0=4,Op=5,xt=0,so=null,Es=null,sa=0,R0=0,Ap=-0,_0=null,mO=null,qr=null,Vr=null,Yr=null,Cp=null,Ra=wp,N0=null,ON=50,qu=0,Rp=null,D0=!1,_p=!1,AN=50,Ts=0,Vu=null,Gr=!1,gO=!1,Np=null,yO=!1,bO=new Set,CN={},Qr=null,Xr=null,M0=!1,x0=!1,Dp=!1,z0=!1,Ai=0,U0={};(function(){for(var e=0;e<$y.length;e++){var t=$y[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ja(n,"on"+t)}Ja(ZT,"onAnimationEnd"),Ja(PT,"onAnimationIteration"),Ja(FT,"onAnimationStart"),Ja("dblclick","onDoubleClick"),Ja("focusin","onFocus"),Ja("focusout","onBlur"),Ja(tN,"onTransitionRun"),Ja(nN,"onTransitionStart"),Ja(aN,"onTransitionCancel"),Ja(WT,"onTransitionEnd")})(),Is("onMouseEnter",["mouseout","mouseover"]),Is("onMouseLeave",["mouseout","mouseover"]),Is("onPointerEnter",["pointerout","pointerover"]),Is("onPointerLeave",["pointerout","pointerover"]),Ii("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ii("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ii("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ii("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yu="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(" "),k0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yu)),Mp="_reactListening"+Math.random().toString(36).slice(2),vO=!1,SO=!1,xp=!1,EO=!1,zp=!1,Up=!1,TO=!1,kp={},RN=/\r\n?/g,_N=/\u0000|\uFFFD/g,ws="http://www.w3.org/1999/xlink",B0="http://www.w3.org/XML/1998/namespace",NN={},DN="javascript:throw new Error('React form unexpectedly submitted.')",MN="suppressHydrationWarning",Os="&",Bp="/&",Gu="$",Qu="/$",Ci="$?",As="$~",Jr="$!",xN="html",zN="body",UN="head",L0="F!",wO="F",OO="loading",AO="style",zl=0,Kr=1,Lp=2,H0=null,j0=null,CO=!1,RO={dialog:!0,webview:!0},$0=null,Xu=void 0,I0=typeof setTimeout==="function"?setTimeout:void 0,kN=typeof clearTimeout==="function"?clearTimeout:void 0,Cs=-1,_O=typeof Promise==="function"?Promise:void 0,NO=typeof requestAnimationFrame==="function"?requestAnimationFrame:I0,BN=typeof queueMicrotask==="function"?queueMicrotask:typeof _O<"u"?function(e){return _O.resolve(null).then(e).catch(ZC)}:I0,LN=500;as.prototype.animate=function(e,t){return t=typeof t==="number"?{duration:t}:He({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},as.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),a=[],o=0;o<n.length;o++){var i=n[o].effect;i!==null&&i.target===e&&i.pseudoElement===t&&a.push(n[o])}return a},as.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},va.prototype.addEventListener=function(e,t,n){var a=null,o=null;if(n!=null&&typeof n!=="boolean"&&(a=n.signal||null,a!==null&&a.aborted))return;this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(RE(i,e,t,n)===-1){var u=this,d=t;n!=null&&typeof n!=="boolean"&&n.once===!0&&(d=function(h){u.removeEventListener(e,t,n),typeof t==="function"?t.call(this,h):t.handleEvent(h)}),a!==null&&(o=u.removeEventListener.bind(u,e,t,n),a.addEventListener("abort",o,{once:!0}),o=a.removeEventListener.bind(a,"abort",o)),a=sr(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:d,cleanup:o}),ie(this._fragmentFiber,mR,e,d,a)}this._eventListeners=i},va.prototype.removeEventListener=function(e,t,n){var a=this._eventListeners;if(a!==null&&(t=RE(a,e,t,n),t!==-1)){var o=a[t];n=o.attachedListener;var i=o.cleanup;o=sr(o.optionsOrUseCapture),ie(this._fragmentFiber,gR,e,n,o),a.splice(t,1),i!==null&&i()}},va.prototype.dispatchEvent=function(e){var t=Me(this._fragmentFiber);if(t===null)return!0;t=ot(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];a.addEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],a.removeEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},va.prototype.focus=function(e){W(this._fragmentFiber.child,!0,_E,e,void 0,void 0)},va.prototype.focusLast=function(e){var t=[];W(this._fragmentFiber.child,!0,Zg,t,void 0,void 0);for(var n=t.length-1;0<=n&&!_E(t[n],e);n--);},va.prototype.blur=function(){var e=Me(this._fragmentFiber);e!==null&&(e=ot(e),e=Qc(e).activeElement,e!==null&&ie(this._fragmentFiber,yR,e))},va.prototype.observeUsing=function(e){var t=!1,n=!1;ie(this._fragmentFiber,function(a){if(a.tag===6)t=!0;else return n=!0;return!1}),t&&!n&&console.error("observeUsing() was called on a FragmentInstance with only text children. Observers do not work on text nodes."),this._observers===null&&(this._observers=new Set),this._observers.add(e),ie(this._fragmentFiber,bR,e)},va.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),ie(this._fragmentFiber,vR,e);for(var n=t=0;n<ro.length;n++){var a=ro[n];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):ro[t++]=a}ro.length=t}else console.error("You are calling unobserveUsing() with an observer that is not being observed with this fragment instance. First attach the observer with observeUsing()")};var ro=[],q0=!1;va.prototype.getClientRects=function(){var e=[];return ie(this._fragmentFiber,ER,e),e},va.prototype.getRootNode=function(e){var t=Me(this._fragmentFiber);return t===null?this:ot(t).getRootNode(e)},va.prototype.compareDocumentPosition=function(e){var t=Me(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];ie(this._fragmentFiber,Zg,n);var a=ot(t);if(n.length===0){if(t=a,Ne(this._fragmentFiber)){e:{for(n=this._fragmentFiber.return;n!==null;){if(n.tag===4){n=n.stateNode.containerInfo;break e}if(n.tag===3||n.tag===5||n.tag===27)break;n=n.return}n=null}n!=null&&(t=n)}n=this._fragmentFiber;var o=a=t.compareDocumentPosition(e);return t===e?o=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=Ee(n)[1],n===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=ot(n).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ot(n[0]),o=ot(n[n.length-1]);var i=Ne(this._fragmentFiber)?t.parentElement:a;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var u=t.compareDocumentPosition(e),d=o.compareDocumentPosition(e),h=u&Node.DOCUMENT_POSITION_CONTAINED_BY||d&Node.DOCUMENT_POSITION_CONTAINED_BY;return d=a&&i&&u&Node.DOCUMENT_POSITION_FOLLOWING&&d&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||i&&o===e||h||d?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:u,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||TR(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},va.prototype.scrollIntoView=function(e){if(typeof e==="object")throw Error("FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.");var t=[];ie(this._fragmentFiber,Zg,t);var n=e!==!1;if(t.length===0){var a=Ee(this._fragmentFiber);if(a=n?a[1]||a[0]||Me(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=ot(a),NE(e,n);return}if(a=ot(a),a.nodeType!==9){if(a.nodeType===11){n="host"in a?a.host:null,n!==null?n.scrollIntoView(e):console.warn("You are attempting to scroll a FragmentInstance that is only mounted inside a detached DocumentFragment. No scroll was performed.");return}a.scrollIntoView(e)}}for(a=n?t.length-1:0;a!==(n?-1:t.length);){var o=t[a];o.tag===6?(o=ot(o),NE(o,n)):ot(o).scrollIntoView(e),a+=n?-1:1}};var V0=null,Rs=0,Ju=1,DO=2,MO=3,Ya=4,Ga=new Map,xO=new Set,Ul=ut.d;ut.d={f:function(){var e=Ul.f(),t=or();return e||t},r:function(e){var t=Eo(e);t!==null&&t.tag===5&&t.type==="form"?O1(t):Ul.r(e)},D:function(e){Ul.D(e),HE("dns-prefetch",e,null)},C:function(e,t){Ul.C(e,t),HE("preconnect",e,t)},L:function(e,t,n){Ul.L(e,t,n);var a=Zr;if(a&&e&&t){var o='link[rel="preload"][as="'+Ma(t)+'"]';t==="image"?n&&n.imageSrcSet?(o+='[imagesrcset="'+Ma(n.imageSrcSet)+'"]',typeof n.imageSizes==="string"&&(o+='[imagesizes="'+Ma(n.imageSizes)+'"]')):o+='[href="'+Ma(e)+'"]':o+='[href="'+Ma(e)+'"]';var i=o;switch(t){case"style":i=rr(e);break;case"script":i=cr(e)}if(!(Ga.has(i)||(e=He({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ga.set(i,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(Zc(i))||t==="script"&&a.querySelector(Pc(i))))){var u=a.createElement("link");yn(u,"link",e),t==="style"&&(u[jd]=!0,u.onload=u.onerror=function(){Ub(u)}),on(u),a.head.appendChild(u)}}},m:function(e,t){Ul.m(e,t);var n=Zr;if(n&&e){var a=t&&typeof t.as==="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ma(a)+'"][href="'+Ma(e)+'"]',i=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=cr(e)}if(!Ga.has(i)&&(e=He({rel:"modulepreload",href:e},t),Ga.set(i,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Pc(i)))return}a=n.createElement("link"),yn(a,"link",e),on(a),n.head.appendChild(a)}}},X:function(e,t){Ul.X(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}},S:function(e,t,n){Ul.S(e,t,n);var a=Zr;if(a&&e){var o=$s(a).hoistableStyles,i=rr(e);t=t||"default";var u=o.get(i);if(!u){var d={loading:Rs,preload:null};if(u=a.querySelector(Zc(i)))d.loading=Ju|Ya;else{e=He({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ga.get(i))&&ny(e,n);var h=u=a.createElement("link");on(h),yn(h,"link",e),h._p=new Promise(function(y,O){h.onload=y,h.onerror=O}),h.addEventListener("load",function(){d.loading|=Ju}),h.addEventListener("error",function(){d.loading|=DO}),d.loading|=Ya,Cd(u,t,a)}u={type:"stylesheet",instance:u,count:1,state:d},o.set(i,u)}}},M:function(e,t){Ul.M(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0,type:"module"},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}}};var Zr=typeof document>"u"?null:document,Hp=null,HN=60000,jN=800,$N=500,jp=0,Y0=null,$p=null,_s=PR,Pr={$$typeof:Wa,Provider:null,Consumer:null,_currentValue:_s,_currentValue2:_s,_threadCount:0},zO="%c%s%c",UO="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",kO="",Ip=" ",IN=Function.prototype.bind,BO=!1,LO=null,HO=null,jO=null,$O=null,IO=null,qO=null,VO=null,YO=null,GO=null,QO=null;LO=function(e,t,n,a){t=l(e,t),t!==null&&(n=s(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},HO=function(e,t,n){t=l(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},jO=function(e,t,n,a){t=l(e,t),t!==null&&(n=r(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},$O=function(e,t,n){e.pendingProps=s(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},IO=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},qO=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},VO=function(e){var t=Rn(e,2);t!==null&&Ut(t,e,2)},YO=function(e){var t=cl(),n=Rn(e,t);n!==null&&Ut(n,e,t)},GO=function(e){m=e},QO=function(e){p=e};var Fr=!0,qp=null,G0=!1,Ri=null,_i=null,Ni=null,Ku=new Map,Zu=new Map,Di=[],qN="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(" "),Vp=null;if(Dd.prototype.render=uy.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()."):z(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 a=t.current,o=ba(a);ly(a,o,n,t,null,null)},Dd.prototype.unmount=uy.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;(We&(Wt|Aa))!==fn&&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."),ly(e.current,2,null,e,null,null),or(),t[si]=null}},Dd.prototype.unstable_scheduleHydration=function(e){if(e){var t=So();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Di.length&&t!==0&&t<Di[n].priority;n++);Di.splice(n,0,e),n===0&&tT(e)}},function(){var e=ec.version;if(e!=="19.3.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
226
|
+
Check the top-level render call using <`+a+">.");var u="";n!=null&&e!==n&&(a=null,typeof n.tag==="number"?a=L(n):typeof n.name==="string"&&(a=n.name),a&&(u=" It was passed a child from "+a+".")),oe(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.',i,u)})}}};var hs=Pv(!0),Dw=Pv(!1),Mw=0,xw=1,zw=2,s0=3,vi=!1,Uw=!1,r0=null,c0=!1,Si=ye(null),sp=ye(0),vn=ye(null),Dn=null,Ur=1,_u=2,Sn=ye(0),Nu=0,qa=1,Xn=2,wa=4,Mn=8,kr,kw=new Set,Bw=new Set,u0=new Set,Lw=new Set,Nl=0,De=null,St=null,Xt=null,rp=!1,Br=!1,ms=!1,cp=0,Du=0,Go=null,vN=0,SN=25,j=null,Va=null,Dl=-1,Mu=!1,up={readContext:_t,use:ei,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt,useEffectEvent:jt},f0=null,Hw=null,d0=null,jw=null,Qo=null,lo=null,fp=null;f0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",Ge(),Js(t),Im(e,t)},useContext:function(e){return j="useContext",Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",Ge(),Js(t),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Ge(),Js(n),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",Ge(),Js(t),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Ge(),Js(t),jm(e,t)},useMemo:function(e,t){j="useMemo",Ge(),Js(t);var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",Ge(),Lm(e)},useState:function(e){j="useState",Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Ge(),xm(e,t,n)},useId:function(){return j="useId",Ge(),Xm()},useFormState:function(e,t){return j="useFormState",Ge(),Kf(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",Ge(),km(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",Ge(),Hm(e)}},Hw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",Z(),Im(e,t)},useContext:function(e){return j="useContext",Z(),_t(e)},useEffect:function(e,t){return j="useEffect",Z(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Z(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",Z(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Z(),jm(e,t)},useMemo:function(e,t){j="useMemo",Z();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",Z();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",Z(),Lm(e)},useState:function(e){j="useState",Z();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",Z()},useDeferredValue:function(e,t){return j="useDeferredValue",Z(),Vm(e,t)},useTransition:function(){return j="useTransition",Z(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Z(),xm(e,t,n)},useId:function(){return j="useId",Z(),Xm()},useActionState:function(e,t){return j="useActionState",Z(),Zs(e,t)},useFormState:function(e,t){return j="useFormState",Z(),Kf(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",Z(),km(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",Z(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",Z(),Hm(e)}},d0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",Z(),ad(e,t)},useContext:function(e){return j="useContext",Z(),_t(e)},useEffect:function(e,t){j="useEffect",Z(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Z(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",Z(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Z(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",Z();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",Z();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",Z(),pt().memoizedState},useState:function(){j="useState",Z();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",Z()},useDeferredValue:function(e,t){return j="useDeferredValue",Z(),v1(e,t)},useTransition:function(){return j="useTransition",Z(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Z(),Pf(e,t,n)},useId:function(){return j="useId",Z(),pt().memoizedState},useFormState:function(e){return j="useFormState",Z(),Kf(),Ff(e)},useActionState:function(e){return j="useActionState",Z(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",Z(),c1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",Z(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",Z(),td(e)}},jw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",Z(),ad(e,t)},useContext:function(e){return j="useContext",Z(),_t(e)},useEffect:function(e,t){j="useEffect",Z(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Z(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",Z(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Z(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",Z();var n=V.H;V.H=fp;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",Z();var a=V.H;V.H=fp;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",Z(),pt().memoizedState},useState:function(){j="useState",Z();var e=V.H;V.H=fp;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",Z()},useDeferredValue:function(e,t){return j="useDeferredValue",Z(),S1(e,t)},useTransition:function(){return j="useTransition",Z(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Z(),Pf(e,t,n)},useId:function(){return j="useId",Z(),pt().memoizedState},useFormState:function(e){return j="useFormState",Z(),Kf(),Wf(e)},useActionState:function(e){return j="useActionState",Z(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",Z(),f1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",Z(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",Z(),td(e)}},Qo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),Ge(),Im(e,t)},useContext:function(e){return j="useContext",g(),Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",g(),Ge(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Ge(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",g(),Ge(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Ge(),jm(e,t)},useMemo:function(e,t){j="useMemo",g(),Ge();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",g(),Ge(),Lm(e)},useState:function(e){j="useState",g(),Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",g(),Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",g(),Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Ge(),xm(e,t,n)},useId:function(){return j="useId",g(),Ge(),Xm()},useFormState:function(e,t){return j="useFormState",g(),Ge(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",g(),Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",g(),Ge(),km(e)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",g(),Ge(),Hm(e)}},lo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),Z(),ad(e,t)},useContext:function(e){return j="useContext",g(),Z(),_t(e)},useEffect:function(e,t){j="useEffect",g(),Z(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Z(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),Z(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Z(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),Z();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Z();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),Z(),pt().memoizedState},useState:function(){j="useState",g(),Z();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),Z()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Z(),v1(e,t)},useTransition:function(){return j="useTransition",g(),Z(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Z(),Pf(e,t,n)},useId:function(){return j="useId",g(),Z(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),Z(),Ff(e)},useActionState:function(e){return j="useActionState",g(),Z(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),Z(),c1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",Z(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),Z(),td(e)}},fp={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),Z(),ad(e,t)},useContext:function(e){return j="useContext",g(),Z(),_t(e)},useEffect:function(e,t){j="useEffect",g(),Z(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Z(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),Z(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Z(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),Z();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Z();var a=V.H;V.H=lo;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),Z(),pt().memoizedState},useState:function(){j="useState",g(),Z();var e=V.H;V.H=lo;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),Z()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Z(),S1(e,t)},useTransition:function(){return j="useTransition",g(),Z(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Z(),Pf(e,t,n)},useId:function(){return j="useId",g(),Z(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),Z(),Wf(e)},useActionState:function(e){return j="useActionState",g(),Z(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),Z(),f1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",Z(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),Z(),td(e)}};var $w={},Iw=new Set,qw=new Set,Vw=new Set,Yw=new Set,Gw=new Set,Qw=new Set,Xw=new Set,Jw=new Set,Kw=new Set,Zw=new Set;Object.freeze($w);var p0={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.setState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.tag=xw,o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.replaceState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ba(e),a=Zl(n);a.tag=zw,t!==void 0&&t!==null&&(Zm(t),a.callback=t),t=Pl(e,a,n),t!==null&&(Ao(n,"this.forceUpdate()",e),Ut(t,e,n),Nc(t,e,n))}},Lr=null,h0=null,m0=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."),Gt=!1,Pw={},Fw={},Ww={},eO={},Hr=!1,tO={},g0={},nO={},y0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},aO=!1,oO=null;oO=new Set;var dp=!1,Oa=null,Xo=null,aa=0,pp=new Map,lO={},xu=0,b0=1,hp=2,cn=!1,ht=!1,Jo=!1,v0=!1,iO=typeof WeakSet==="function"?WeakSet:Set,un=null,jr=null,$r=null,Ko=!1,zu=!1,mp=!1,S0=!1,Jt=null,oa=!1,io=null,Ft=!1,gs=8192,EN={getCacheForType:function(e){var t=_t(Qt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return _t(Qt).controller.signal},getOwner:function(){return Ea}};if(typeof Symbol==="function"&&Symbol.for){var Uu=Symbol.for;Uu("selector.component"),Uu("selector.has_pseudo_class"),Uu("selector.role"),Uu("selector.test_id"),Uu("selector.text")}var TN=[],wN=typeof WeakMap==="function"?WeakMap:Map,fn=0,Wt=2,Aa=4,Ml=0,ku=1,ys=2,gp=3,Ei=4,Bu=6,sO=5,We=fn,Et=null,Ie=null,Ue=0,la=0,yp=1,bs=2,Lu=3,rO=4,E0=5,Hu=6,bp=7,T0=8,vs=9,mt=la,Ca=null,xl=!1,Ir=!1,w0=!1,Zo=0,Mt=Ml,Ti=0,wi=0,vp=0,ia=0,Ss=0,ju=null,Jn=null,Sp=!1,Ep=0,cO=0,uO=300,Tp=1/0,fO=500,$u=null,Bt=null,Oi=null,wp=0,Iu=1,O0=2,dO=3,Po=0,pO=1,hO=2,A0=3,C0=4,Op=5,xt=0,so=null,Es=null,sa=0,R0=0,Ap=-0,_0=null,mO=null,qr=null,Vr=null,Yr=null,Cp=null,Ra=wp,N0=null,ON=50,qu=0,Rp=null,D0=!1,_p=!1,AN=50,Ts=0,Vu=null,Gr=!1,gO=!1,Np=null,yO=!1,bO=new Set,CN={},Qr=null,Xr=null,M0=!1,x0=!1,Dp=!1,z0=!1,Ai=0,U0={};(function(){for(var e=0;e<$y.length;e++){var t=$y[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ja(n,"on"+t)}Ja(ZT,"onAnimationEnd"),Ja(PT,"onAnimationIteration"),Ja(FT,"onAnimationStart"),Ja("dblclick","onDoubleClick"),Ja("focusin","onFocus"),Ja("focusout","onBlur"),Ja(tN,"onTransitionRun"),Ja(nN,"onTransitionStart"),Ja(aN,"onTransitionCancel"),Ja(WT,"onTransitionEnd")})(),Is("onMouseEnter",["mouseout","mouseover"]),Is("onMouseLeave",["mouseout","mouseover"]),Is("onPointerEnter",["pointerout","pointerover"]),Is("onPointerLeave",["pointerout","pointerover"]),Ii("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ii("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ii("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ii("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yu="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(" "),k0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yu)),Mp="_reactListening"+Math.random().toString(36).slice(2),vO=!1,SO=!1,xp=!1,EO=!1,zp=!1,Up=!1,TO=!1,kp={},RN=/\r\n?/g,_N=/\u0000|\uFFFD/g,ws="http://www.w3.org/1999/xlink",B0="http://www.w3.org/XML/1998/namespace",NN={},DN="javascript:throw new Error('React form unexpectedly submitted.')",MN="suppressHydrationWarning",Os="&",Bp="/&",Gu="$",Qu="/$",Ci="$?",As="$~",Jr="$!",xN="html",zN="body",UN="head",L0="F!",wO="F",OO="loading",AO="style",zl=0,Kr=1,Lp=2,H0=null,j0=null,CO=!1,RO={dialog:!0,webview:!0},$0=null,Xu=void 0,I0=typeof setTimeout==="function"?setTimeout:void 0,kN=typeof clearTimeout==="function"?clearTimeout:void 0,Cs=-1,_O=typeof Promise==="function"?Promise:void 0,NO=typeof requestAnimationFrame==="function"?requestAnimationFrame:I0,BN=typeof queueMicrotask==="function"?queueMicrotask:typeof _O<"u"?function(e){return _O.resolve(null).then(e).catch(ZC)}:I0,LN=500;as.prototype.animate=function(e,t){return t=typeof t==="number"?{duration:t}:He({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},as.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),a=[],o=0;o<n.length;o++){var i=n[o].effect;i!==null&&i.target===e&&i.pseudoElement===t&&a.push(n[o])}return a},as.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},va.prototype.addEventListener=function(e,t,n){var a=null,o=null;if(n!=null&&typeof n!=="boolean"&&(a=n.signal||null,a!==null&&a.aborted))return;this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(RE(i,e,t,n)===-1){var u=this,d=t;n!=null&&typeof n!=="boolean"&&n.once===!0&&(d=function(h){u.removeEventListener(e,t,n),typeof t==="function"?t.call(this,h):t.handleEvent(h)}),a!==null&&(o=u.removeEventListener.bind(u,e,t,n),a.addEventListener("abort",o,{once:!0}),o=a.removeEventListener.bind(a,"abort",o)),a=sr(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:d,cleanup:o}),ie(this._fragmentFiber,mR,e,d,a)}this._eventListeners=i},va.prototype.removeEventListener=function(e,t,n){var a=this._eventListeners;if(a!==null&&(t=RE(a,e,t,n),t!==-1)){var o=a[t];n=o.attachedListener;var i=o.cleanup;o=sr(o.optionsOrUseCapture),ie(this._fragmentFiber,gR,e,n,o),a.splice(t,1),i!==null&&i()}},va.prototype.dispatchEvent=function(e){var t=Me(this._fragmentFiber);if(t===null)return!0;t=ot(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];a.addEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],a.removeEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},va.prototype.focus=function(e){W(this._fragmentFiber.child,!0,_E,e,void 0,void 0)},va.prototype.focusLast=function(e){var t=[];W(this._fragmentFiber.child,!0,Zg,t,void 0,void 0);for(var n=t.length-1;0<=n&&!_E(t[n],e);n--);},va.prototype.blur=function(){var e=Me(this._fragmentFiber);e!==null&&(e=ot(e),e=Qc(e).activeElement,e!==null&&ie(this._fragmentFiber,yR,e))},va.prototype.observeUsing=function(e){var t=!1,n=!1;ie(this._fragmentFiber,function(a){if(a.tag===6)t=!0;else return n=!0;return!1}),t&&!n&&console.error("observeUsing() was called on a FragmentInstance with only text children. Observers do not work on text nodes."),this._observers===null&&(this._observers=new Set),this._observers.add(e),ie(this._fragmentFiber,bR,e)},va.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),ie(this._fragmentFiber,vR,e);for(var n=t=0;n<ro.length;n++){var a=ro[n];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):ro[t++]=a}ro.length=t}else console.error("You are calling unobserveUsing() with an observer that is not being observed with this fragment instance. First attach the observer with observeUsing()")};var ro=[],q0=!1;va.prototype.getClientRects=function(){var e=[];return ie(this._fragmentFiber,ER,e),e},va.prototype.getRootNode=function(e){var t=Me(this._fragmentFiber);return t===null?this:ot(t).getRootNode(e)},va.prototype.compareDocumentPosition=function(e){var t=Me(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];ie(this._fragmentFiber,Zg,n);var a=ot(t);if(n.length===0){if(t=a,Ne(this._fragmentFiber)){e:{for(n=this._fragmentFiber.return;n!==null;){if(n.tag===4){n=n.stateNode.containerInfo;break e}if(n.tag===3||n.tag===5||n.tag===27)break;n=n.return}n=null}n!=null&&(t=n)}n=this._fragmentFiber;var o=a=t.compareDocumentPosition(e);return t===e?o=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=Ee(n)[1],n===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=ot(n).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ot(n[0]),o=ot(n[n.length-1]);var i=Ne(this._fragmentFiber)?t.parentElement:a;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var u=t.compareDocumentPosition(e),d=o.compareDocumentPosition(e),h=u&Node.DOCUMENT_POSITION_CONTAINED_BY||d&Node.DOCUMENT_POSITION_CONTAINED_BY;return d=a&&i&&u&Node.DOCUMENT_POSITION_FOLLOWING&&d&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||i&&o===e||h||d?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:u,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||TR(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},va.prototype.scrollIntoView=function(e){if(typeof e==="object")throw Error("FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.");var t=[];ie(this._fragmentFiber,Zg,t);var n=e!==!1;if(t.length===0){var a=Ee(this._fragmentFiber);if(a=n?a[1]||a[0]||Me(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=ot(a),NE(e,n);return}if(a=ot(a),a.nodeType!==9){if(a.nodeType===11){n="host"in a?a.host:null,n!==null?n.scrollIntoView(e):console.warn("You are attempting to scroll a FragmentInstance that is only mounted inside a detached DocumentFragment. No scroll was performed.");return}a.scrollIntoView(e)}}for(a=n?t.length-1:0;a!==(n?-1:t.length);){var o=t[a];o.tag===6?(o=ot(o),NE(o,n)):ot(o).scrollIntoView(e),a+=n?-1:1}};var V0=null,Rs=0,Ju=1,DO=2,MO=3,Ya=4,Ga=new Map,xO=new Set,Ul=ut.d;ut.d={f:function(){var e=Ul.f(),t=or();return e||t},r:function(e){var t=Eo(e);t!==null&&t.tag===5&&t.type==="form"?O1(t):Ul.r(e)},D:function(e){Ul.D(e),HE("dns-prefetch",e,null)},C:function(e,t){Ul.C(e,t),HE("preconnect",e,t)},L:function(e,t,n){Ul.L(e,t,n);var a=Zr;if(a&&e&&t){var o='link[rel="preload"][as="'+Ma(t)+'"]';t==="image"?n&&n.imageSrcSet?(o+='[imagesrcset="'+Ma(n.imageSrcSet)+'"]',typeof n.imageSizes==="string"&&(o+='[imagesizes="'+Ma(n.imageSizes)+'"]')):o+='[href="'+Ma(e)+'"]':o+='[href="'+Ma(e)+'"]';var i=o;switch(t){case"style":i=rr(e);break;case"script":i=cr(e)}if(!(Ga.has(i)||(e=He({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ga.set(i,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(Zc(i))||t==="script"&&a.querySelector(Pc(i))))){var u=a.createElement("link");yn(u,"link",e),t==="style"&&(u[jd]=!0,u.onload=u.onerror=function(){Ub(u)}),on(u),a.head.appendChild(u)}}},m:function(e,t){Ul.m(e,t);var n=Zr;if(n&&e){var a=t&&typeof t.as==="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ma(a)+'"][href="'+Ma(e)+'"]',i=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=cr(e)}if(!Ga.has(i)&&(e=He({rel:"modulepreload",href:e},t),Ga.set(i,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Pc(i)))return}a=n.createElement("link"),yn(a,"link",e),on(a),n.head.appendChild(a)}}},X:function(e,t){Ul.X(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}},S:function(e,t,n){Ul.S(e,t,n);var a=Zr;if(a&&e){var o=$s(a).hoistableStyles,i=rr(e);t=t||"default";var u=o.get(i);if(!u){var d={loading:Rs,preload:null};if(u=a.querySelector(Zc(i)))d.loading=Ju|Ya;else{e=He({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ga.get(i))&&ny(e,n);var h=u=a.createElement("link");on(h),yn(h,"link",e),h._p=new Promise(function(y,O){h.onload=y,h.onerror=O}),h.addEventListener("load",function(){d.loading|=Ju}),h.addEventListener("error",function(){d.loading|=DO}),d.loading|=Ya,Cd(u,t,a)}u={type:"stylesheet",instance:u,count:1,state:d},o.set(i,u)}}},M:function(e,t){Ul.M(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0,type:"module"},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}}};var Zr=typeof document>"u"?null:document,Hp=null,HN=60000,jN=800,$N=500,jp=0,Y0=null,$p=null,_s=PR,Pr={$$typeof:Wa,Provider:null,Consumer:null,_currentValue:_s,_currentValue2:_s,_threadCount:0},zO="%c%s%c",UO="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",kO="",Ip=" ",IN=Function.prototype.bind,BO=!1,LO=null,HO=null,jO=null,$O=null,IO=null,qO=null,VO=null,YO=null,GO=null,QO=null;LO=function(e,t,n,a){t=l(e,t),t!==null&&(n=s(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},HO=function(e,t,n){t=l(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},jO=function(e,t,n,a){t=l(e,t),t!==null&&(n=r(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},$O=function(e,t,n){e.pendingProps=s(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},IO=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},qO=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},VO=function(e){var t=Rn(e,2);t!==null&&Ut(t,e,2)},YO=function(e){var t=cl(),n=Rn(e,t);n!==null&&Ut(n,e,t)},GO=function(e){m=e},QO=function(e){p=e};var Fr=!0,qp=null,G0=!1,Ri=null,_i=null,Ni=null,Ku=new Map,Zu=new Map,Di=[],qN="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(" "),Vp=null;if(Dd.prototype.render=uy.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()."):z(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 a=t.current,o=ba(a);ly(a,o,n,t,null,null)},Dd.prototype.unmount=uy.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;(We&(Wt|Aa))!==fn&&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."),ly(e.current,2,null,e,null,null),or(),t[si]=null}},Dd.prototype.unstable_scheduleHydration=function(e){if(e){var t=So();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Di.length&&t!==0&&t<Di[n].priority;n++);Di.splice(n,0,e),n===0&&tT(e)}},function(){var e=ec.version;if(e!=="19.3.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
227
227
|
- react: `+(e+`
|
|
228
228
|
- react-dom: 19.3.1
|
|
229
229
|
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"),ut.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0){if(typeof e.render==="function")throw Error("Unable to find node on an unmounted component.");throw e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e)}return e=ce(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.3.1"};return e.overrideHookState=LO,e.overrideHookStateDeletePath=HO,e.overrideHookStateRenamePath=jO,e.overrideProps=$O,e.overridePropsDeletePath=IO,e.overridePropsRenamePath=qO,e.scheduleUpdate=VO,e.scheduleRetry=YO,e.setErrorHandler=GO,e.setSuspenseHandler=QO,e.scheduleRefresh=B,e.scheduleRoot=E,e.setRefreshHandler=w,e.getCurrentFiber=IR,hf(e)}()&&qo&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var XO=window.location.protocol;/^(https?|file):$/.test(XO)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(XO==="file:"?`
|
|
230
230
|
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}WN.createRoot=function(e,t){if(!z(e))throw Error("Target container is not a DOM element.");lT(e);var n=!1,a="",o=x1,i=z1,u=U1;return t!==null&&t!==void 0&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t==="object"&&t!==null&&t.$$typeof===Lo&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
231
231
|
|
|
232
232
|
let root = createRoot(domContainer);
|
|
233
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=JE(e,1,!1,null,null,n,a,null,o,i,u,oT),e[si]=t.current,Ig(e),new uy(t)},WN.hydrateRoot=function(e,t,n){if(!z(e))throw Error("Target container is not a DOM element.");lT(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,o="",i=x1,u=z1,d=U1,h=null;return n!==null&&n!==void 0&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(h=n.formState)),t=JE(e,1,!0,t,n!=null?n:null,a,o,h,i,u,d,oT),t.context=KE(null),n=t.current,a=ba(n),a=fe(a),o=Zl(a),o.callback=null,Pl(n,o,a),Ao(a,"hydrateRoot()",null),n=a,t.current.lanes=n,k(t,n),ko(t),e[si]=t.current,Ig(e),new Dd(t)},WN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e2=Ns(function(eD,Qp){Qp.exports=me(WO())});var Ke=Ns(function(lD){var xs=me(en());(function(){function l(L){if(L==null)return null;if(typeof L==="function")return L.$$typeof===Ee?null:L.displayName||L.name||null;if(typeof L==="string")return L;switch(L){case w:return"Fragment";case R:return"Profiler";case z:return"StrictMode";case ce:return"Suspense";case G:return"SuspenseList";case Me:return"Activity";case Ne:return"ViewTransition"}if(typeof L==="object")switch(typeof L.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),L.$$typeof){case B:return"Portal";case Y:return L.displayName||"Context";case H:return(L._context.displayName||"Context")+".Consumer";case P:var ye=L.render;return L=L.displayName,L||(L=ye.displayName||ye.name||"",L=L!==""?"ForwardRef("+L+")":"ForwardRef"),L;case ie:return ye=L.displayName||null,ye!==null?ye:l(L.type)||"Memo";case W:ye=L._payload,L=L._init;try{return l(L(ye))}catch(Se){}}return null}function s(L){return""+L}function r(L){try{s(L);var ye=!1}catch(te){ye=!0}if(ye){ye=console;var Se=ye.error,q=typeof Symbol==="function"&&Symbol.toStringTag&&L[Symbol.toStringTag]||L.constructor.name||"Object";return Se.call(ye,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),s(L)}}function c(L){if(L===w)return"<>";if(typeof L==="object"&&L!==null&&L.$$typeof===W)return"<...>";try{var ye=l(L);return ye?"<"+ye+">":"<...>"}catch(Se){return"<...>"}}function f(){var L=xe.A;return L===null?null:L.getOwner()}function p(){return Error("react-stack-top-frame")}function m(L){if(ot.call(L,"key")){var ye=Object.getOwnPropertyDescriptor(L,"key").get;if(ye&&ye.isReactWarning)return!1}return L.key!==void 0}function g(L,ye){function Se(){Oe||(Oe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ye))}Se.isReactWarning=!0,Object.defineProperty(L,"key",{get:Se,configurable:!0})}function v(){var L=l(this.type);return Ae[L]||(Ae[L]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),L=this.props.ref,L!==void 0?L:null}function S(L,ye,Se,q,te,Q){var
|
|
233
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=JE(e,1,!1,null,null,n,a,null,o,i,u,oT),e[si]=t.current,Ig(e),new uy(t)},WN.hydrateRoot=function(e,t,n){if(!z(e))throw Error("Target container is not a DOM element.");lT(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,o="",i=x1,u=z1,d=U1,h=null;return n!==null&&n!==void 0&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(h=n.formState)),t=JE(e,1,!0,t,n!=null?n:null,a,o,h,i,u,d,oT),t.context=KE(null),n=t.current,a=ba(n),a=fe(a),o=Zl(a),o.callback=null,Pl(n,o,a),Ao(a,"hydrateRoot()",null),n=a,t.current.lanes=n,k(t,n),ko(t),e[si]=t.current,Ig(e),new Dd(t)},WN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e2=Ns(function(eD,Qp){Qp.exports=me(WO())});var Ke=Ns(function(lD){var xs=me(en());(function(){function l(L){if(L==null)return null;if(typeof L==="function")return L.$$typeof===Ee?null:L.displayName||L.name||null;if(typeof L==="string")return L;switch(L){case w:return"Fragment";case R:return"Profiler";case z:return"StrictMode";case ce:return"Suspense";case G:return"SuspenseList";case Me:return"Activity";case Ne:return"ViewTransition"}if(typeof L==="object")switch(typeof L.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),L.$$typeof){case B:return"Portal";case Y:return L.displayName||"Context";case H:return(L._context.displayName||"Context")+".Consumer";case P:var ye=L.render;return L=L.displayName,L||(L=ye.displayName||ye.name||"",L=L!==""?"ForwardRef("+L+")":"ForwardRef"),L;case ie:return ye=L.displayName||null,ye!==null?ye:l(L.type)||"Memo";case W:ye=L._payload,L=L._init;try{return l(L(ye))}catch(Se){}}return null}function s(L){return""+L}function r(L){try{s(L);var ye=!1}catch(te){ye=!0}if(ye){ye=console;var Se=ye.error,q=typeof Symbol==="function"&&Symbol.toStringTag&&L[Symbol.toStringTag]||L.constructor.name||"Object";return Se.call(ye,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),s(L)}}function c(L){if(L===w)return"<>";if(typeof L==="object"&&L!==null&&L.$$typeof===W)return"<...>";try{var ye=l(L);return ye?"<"+ye+">":"<...>"}catch(Se){return"<...>"}}function f(){var L=xe.A;return L===null?null:L.getOwner()}function p(){return Error("react-stack-top-frame")}function m(L){if(ot.call(L,"key")){var ye=Object.getOwnPropertyDescriptor(L,"key").get;if(ye&&ye.isReactWarning)return!1}return L.key!==void 0}function g(L,ye){function Se(){Oe||(Oe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ye))}Se.isReactWarning=!0,Object.defineProperty(L,"key",{get:Se,configurable:!0})}function v(){var L=l(this.type);return Ae[L]||(Ae[L]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),L=this.props.ref,L!==void 0?L:null}function S(L,ye,Se,q,te,Q){var K=Se.ref;return L={$$typeof:E,type:L,key:ye,props:Se,_owner:q},(K!==void 0?K:null)!==null?Object.defineProperty(L,"ref",{enumerable:!1,get:v}):Object.defineProperty(L,"ref",{enumerable:!1,value:null}),L._store={},Object.defineProperty(L._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(L,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(L,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:te}),Object.defineProperty(L,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Q}),Object.freeze&&(Object.freeze(L.props),Object.freeze(L)),L}function A(L,ye,Se,q,te,Q){var K=ye.children;if(K!==void 0)if(q)if(Fn(K)){for(q=0;q<K.length;q++)C(K[q]);Object.freeze&&Object.freeze(K)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else C(K);if(ot.call(ye,"key")){K=l(L);var J=Object.keys(ye).filter(function(Re){return Re!=="key"});q=0<J.length?"{key: someKey, "+J.join(": ..., ")+": ...}":"{key: someKey}",kn[K+q]||(J=0<J.length?"{"+J.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
234
234
|
let props = %s;
|
|
235
235
|
<%s {...props} />
|
|
236
236
|
React keys must be passed directly to JSX without using spread:
|
|
237
237
|
let props = %s;
|
|
238
|
-
<%s key={someKey} {...props} />`,q,
|
|
239
|
-
`});if(!r.ok)throw Error(await r.text()||`Could not save (HTTP ${r.status}).`)}}}var nn=me(en(),1);var Z0=(l)=>l&&typeof l==="object"?l:{};function Fo(l){let s=Z0(l),r=[s,...(s.allOf??[]).map(Fo)];if(r.length===1&&!s.oneOf&&!s.anyOf)return s;let c={},f=[];r.forEach((m)=>{Object.assign(c,m.properties??{}),f.push(...m.required??[])});let p=(s.oneOf??s.anyOf)?.map(Fo).find((m)=>m.type!=="null");return{...p??{},...s,properties:Object.keys(c).length?c:p?.properties,required:f}}function Mi(l){let s=Fo(l),r=Array.isArray(s.type)?s.type.find((c)=>c!=="null"):s.type;if(r==="array")return Mi(s.items)+"[]";if(s.format==="date-time"||s.format==="date")return"date-time";if(r==="integer"||r==="number")return"number";return r??(s.properties?"object":"any")}var Jp=(l)=>{let s=Fo(l);return s.type==="object"||!!s.properties},Ms=(l)=>Object.entries(Fo(l).properties??{}).map(([s,r])=>[s,Mi(r)]);function i2(l,s,r,c,f=0){let p=Fo(l);if(Jp(p)){let m=Object.entries(p.properties??{});if(!m.length||f>3){c.push([s,"object",r]);return}let g=new Set(p.required??[]);m.forEach(([v,S])=>{if(!Fo(S).readOnly)i2(S,`${s}/${v}`,r&&g.has(v),c,f+1)})}else c.push([s,Mi(p),r])}function s2(l,s,r,c=0){let f=Fo(l);if(f.type==="array"){if(Jp(f.items))r.push({select:`${s}[*]`,fields:Ms(f.items)});return}if(Jp(f)&&c<4)Object.entries(f.properties??{}).forEach(([p,m])=>s2(m,`${s}.${p}`,r,c+1))}var l2=new WeakMap;function r2(l){let s=l2.get(l);if(s)return s;s=new Map;for(let r of l.operations){let c=r.parameters.map((v)=>[v.pointer,Mi(v.schema),v.required]);if(r.body)i2(r.body.schema,"/body",r.body.required,c);let f=r.responses.find((v)=>/^2/.test(v.status)&&v.schema),p=[];if(f)s2(f.schema,"$",p);let m=f&&!p.length&&Jp(f.schema)?Ms(f.schema):null,g=f?Ms(f.schema).filter(([,v])=>v!=="object"&&!v.endsWith("[]")).map(([v,S])=>[`$.${v}`,S]):[];s.set(r.id,{op:r,req:c,lists:p,one:m,scalars:g})}return l2.set(l,s),s}function c2(l,s){let r=r2(l.catalog),c=[...r.values()],f=new Map(l.descriptors.map((q)=>[q.kind,q])),p=new Map(l.registry.screens.map((q)=>[q.id,q])),m=l.transforms??[],g=l.providers??[],v=n2(l.glossaries??[]),S=(q,te,Q)=>`${q}|${te}|${Q}`,A=new Map;for(let[q,te]of Object.entries(s))for(let Q of te){if(Q.type==="operation"&&!r.has(Q.operation))continue;if(Q.type==="steps"&&Q.steps.some((Z)=>!r.has(Z.operation)))continue;A.set(S(q,Q.component,Q.slot),Q)}let C=(q,te,Q)=>A.get(S(q,te,Q)),T=(q)=>p.get(q),E=(q,te)=>p.get(q)?.components.find((Q)=>Q.bindId===te),B=(q)=>f.get(q.kind),w=(q)=>q?q.slots.filter((te)=>te.role!=="produce"):[],z=new Map,R=(q,te)=>{let Q=(te?"+":"-")+q,Z=z.get(Q);if(Z)return Z;Z=new Set;for(let J of Xp(q))if(Z.add(J),te)(v[J]??[]).forEach((se)=>Z.add(se));return z.set(Q,Z),Z};function H(q,te){let Q=R(q,!1),Z=R(te,!0);if(!Q.size||!Z.size)return 0;let J=0;return Q.forEach((se)=>{if(Z.has(se))J++}),J&&J/Q.size>=0.5?0.6*J/Q.size+0.4*J/Z.size:0}let Y=(q)=>q.replace("[]","");function P(q,te){if(q!=="any"&&te!=="any"&&q.endsWith("[]")!==te.endsWith("[]"))return{ok:!1};let Q=Y(q),Z=Y(te);if(Q==="any"||Z==="any"||Q===Z)return{ok:!0};let J=m.find((se)=>Mi(se.input)===Z&&Mi(se.output)===Q);return J?{ok:!0,transform:J.name}:{ok:!1}}function ce(q,te,Q){let Z=C(q,te,Q);if(!Z||Z.type!=="operation")return null;let J=r.get(Z.operation);if(!J)return null;if(Z.select==="$"&&J.one)return J.one;return J.lists.find((se)=>se.select===Z.select)?.fields??null}function G(q,te,Q){let Z=Z0(Q.schema);if(typeof Z.$ref==="string"&&Z.$ref.startsWith("#slot/")){let J=Z.$ref.slice(6);return{many:!!Q.many,fields:ce(q,te.bindId,J)??[],via:J}}if(Fo(Z).properties)return{many:!!Q.many,fields:Ms(Z)};return{many:!!Q.many,type:Mi(Z)}}function ie(q){if("schema"in q.shape)return{many:!!q.many,fields:Ms(q.shape.schema)};let te=q.shape.from,Q=E(te.screen,te.component),Z=Q&&B(Q),J=Z?.slots.find((se)=>se.id===te.slot);return{many:!!q.many,fields:(J&&Q?G(te.screen,Q,J).fields:null)??[]}}function W(q,te,Q){if(!Q.scope||!te.parent)return null;return ce(q,te.parent,Q.scope.parentSlot)}function Me(q){return T(q).context.find((te)=>te.many)}function Ne(q,te={}){let Q=[],Z=T(q);return te.item?.forEach(([J,se])=>Q.push({expr:`$item.${J}`,label:En(J),name:J,type:se,group:"item"})),Z.components.forEach((J)=>{let se=B(J);se?.slots.filter((Re)=>Re.role==="produce").forEach((Re)=>{let lt=G(q,J,Re);if(lt.fields?.length){if(lt.many)Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"list",group:"screen",fields:lt.fields});lt.fields.forEach(([Ht,st])=>Q.push({expr:`${J.bindId}:${Re.id}${lt.many?"[*]":""}.${Ht}`,label:`${J.label} · ${En(Ht)}`,name:Ht,type:lt.many?st+"[]":st,group:"screen"}))}else if(lt.via){let Ht=se.slots.find((st)=>st.id===lt.via);Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"pending",group:"screen",waitsFor:`${J.label} · ${Ht?.label??lt.via}`})}else Q.push({expr:`${J.bindId}:${Re.id}`,label:J.label+(Re.label&&w(se).length+1<se.slots.length?` · ${Re.label}`:""),name:J.label,type:lt.many?"list":lt.type??"any",group:"screen"})})}),Z.context.forEach((J)=>{let se=ie(J);if(J.many)Q.push({expr:`$context.${J.id}`,label:J.label,type:"list",group:"context",fields:se.fields});se.fields.forEach(([Re,lt])=>Q.push({expr:`$context.${J.id}${J.many?"[*]":""}.${Re}`,label:`${J.label} · ${En(Re)}`,name:Re,type:J.many?lt+"[]":lt,group:"context"}))}),g.forEach((J)=>Ms(J.schema).forEach(([se,Re])=>Q.push({expr:`$${J.id}.${se}`,label:`${J.label} · ${En(se)}`,name:`${J.label} ${se}`,type:Re,group:"provider"}))),Q}function Ee(q,te,Q,Z=0.65){let J=[];for(let se of Q){if(se.type==="list"||se.waitsFor)continue;let Re=P(te,se.type);if(!Re.ok)continue;let lt=Math.max(H(q,se.name??se.label),H(q,se.label)*0.9);if(se.group==="screen")lt+=0.12;else if(se.group==="item")lt+=0.05;if(Re.transform)lt-=0.05;if(lt>=Z)J.push({expr:se.expr+(Re.transform?` | ${Re.transform}()`:""),score:lt,source:se})}return J.sort((se,Re)=>Re.score-se.score)}function xe(q,te,Q){return Ee(q,te,Q)[0]??null}function ot(q,te){let Q=q.split("/").filter(Boolean),Z=Q[Q.length-1];if(Xp(Z).length>1)return Z;if(Q[0]==="body")return Q.length>2?`${Q[Q.length-2]} ${Z}`:Z;let J=te.path.split("/").filter((se)=>se&&!se.startsWith("{"));return`${J[J.length-1]??""} ${Z}`}function Fn(q,te){let Q={};return q.req.forEach(([Z,J])=>{let se=xe(ot(Z,q.op),J,te);if(se)Q[Z]=se.expr}),Q}function le(q,te){let Q={},Z=te.map(([J,se])=>({expr:`$item.${J}`,name:J,label:J,type:se,group:"item"}));return q.forEach(([J,se])=>{let Re=xe(J,se,Z);if(Re)Q[J]=Re.expr}),Q}function Oe(q,te){let Q=Me(q);return Ne(q,{item:te??(Q?ie(Q).fields:void 0)})}function Ae(q,te,Q){let Z=T(q),J=R([te.label,...Q.hints?.keywords??[]].join(" "),!0),se=R([Z.label,...Z.path].join(" "),!0),Re=(st)=>{let qt=R([st.id,...st.tags].join(" "),!1);if(!qt.size)return{score:0,near:!1};let wt=0,fa=0;return qt.forEach((an)=>{if(J.has(an))wt++;else if(se.has(an))fa++}),{score:Math.min(1,(wt+0.5*fa)/qt.size),near:wt>0}},lt=Q.role==="trigger"?Oe(q):Ne(q),Ht=lt.filter((st)=>st.group==="screen"&&st.type!=="list").length||1;return c.map((st)=>{let qt=[],wt=0,fa=0,an=(oe,mn,An)=>{if(wt+=oe*mn,fa+=oe,mn>=0.5&&An)qt.push(An)},Ot=st.op,ql=Fn(st,lt);if(Q.role==="consume"){let oe=G(q,te,Q),mn=oe.many?st.lists.length?1:0:oe.fields?.length?st.one||st.lists.length?0.7:0:st.scalars.some(([,An])=>P(oe.type??"any",An).ok)||st.one?0.7:0;an(0.3,mn,oe.many?"Returns a list":"Returns a matching value"),an(0.15,Ot.intent==="read"?1:Ot.intent?0:0.5,Ot.intent==="read"?"Reads data":null)}else{an(0.2,st.req.length?0.8:0.2,null),an(0.15,Ot.intent==="write"?1:Ot.intent==="read"?0.1:0.5,Ot.intent==="write"?"Saves data":null);let oe=st.req.filter(([An])=>An.startsWith("/body/")),mn=Object.entries(ql).filter(([An,sl])=>An.startsWith("/body/")&&!sl.startsWith("$")).length;an(0.3,oe.length?Math.min(1,mn/Math.min(Ht,oe.length)):0,mn?`Uses ${mn} values from this screen`:null)}let Xa=st.req.filter((oe)=>oe[2]);if(Xa.length){let oe=Xa.filter(([mn])=>ql[mn]).length;an(0.25,oe/Xa.length,oe===Xa.length?"All required inputs available":null)}else an(0.25,1,null);if(Ot.product)an(0.1,Ot.product===Z.path[0]?1:0,Ot.product===Z.path[0]?`From ${Ot.product}`:null);let ze=Re(Ot);return an(0.35,ze.score,ze.score>=0.5?ze.near?`Name fits “${te.label}”`:"Name fits this screen":null),{view:st,score:fa?wt/fa:0,reasons:qt}}).sort((st,qt)=>qt.score-st.score)}function Ye(q,te,Q){let Z=C(q,te,Q);return!Z?"unbound":Z.state==="confirmed"?"bound":"suggested"}function Ce(q,te){let Q=w(B(te));if(!Q.length)return"bound";let Z=Q.map((se)=>Ye(q,te.bindId,se.id));if(Z.includes("suggested"))return"suggested";if(Z.every((se)=>se==="bound"))return"bound";let J=Q.filter((se)=>se.required);if(J.length&&J.every((se)=>Ye(q,te.bindId,se.id)==="bound")&&Z.includes("bound"))return"bound";return Z.includes("bound")?"partial":"unbound"}function kn(q){let te={bound:0,suggested:0,unbound:0,total:0};return q.forEach((Q)=>Q.components.forEach((Z)=>{if(!w(B(Z)).length)return;let J=Ce(Q.id,Z);te[J==="partial"?"unbound":J]++,te.total++})),te}let L=(q,te)=>te==="$"?q.one??[]:q.lists.find((Q)=>Q.select===te)?.fields??[];function ye(q,te,Q,Z,J=!1){let se=r.get(Z);if(!se)return null;let Re=G(q,te,Q),lt=Re.fields&&!Re.via?Re.fields:null,Ht;if(Re.many)Ht=se.lists[0]?.select;else if(lt)Ht=se.one?"$":se.lists[0]?.select;else{let st=se.scalars.map(([qt,wt])=>({expr:qt,label:En(qt),name:qt.slice(2),type:wt,group:"item"}));if(Ht=(Ee(Q.label,Re.type??"any",st)[0]??Ee(`${te.label} ${Q.label}`,Re.type??"any",st)[0])?.expr.split(" | ")[0],!Ht&&!J)Ht=se.scalars.find(([,qt])=>P(Re.type??"any",qt).ok)?.[0]}if(!Ht){if(J)return null;Ht="$"}return{component:te.bindId,slot:Q.id,type:"operation",operation:Z,select:Ht,request:Fn(se,Ne(q)),map:lt?le(lt,L(se,Ht)):void 0,load:"open",origin:"suggested",state:"draft"}}function Se(q,te,Q,Z){return w(B(te)).filter((J)=>J.role==="consume"&&!J.scope&&J.id!==Q.id&&!C(q,te.bindId,J.id)).map((J)=>ye(q,te,J,Z,!0)).filter((J)=>!!J)}return{fw:l,OPV:r,OPS:c,DESC:f,SCR:p,getB:C,screen:T,compOf:E,descOf:B,bindable:w,typeFit:P,shapeOf:G,contextShape:ie,scopeFields:W,sources:Ne,triggerSources:Oe,bestSource:xe,rankSources:Ee,proposeRequest:Fn,proposeMap:le,rank:Ae,slotState:Ye,compState:Ce,tally:kn,manyContext:Me,fieldsAt:L,proposeConsume:ye,siblingFills:Se}}function u2(l){let s=new Set(l.descriptors.map((m)=>m.kind)),r=[],c=new Set(l.registry.screens.map((m)=>m.id)),f=new Set,p=l.registry.screens.map((m)=>{if(!J0.test(m.id))return r.push({severity:"error",screen:m.id,code:"registry.invalid-id",message:`Screen id "${m.id}" must be lowercase kebab-case segments joined by dots.`}),{...m,components:[]};let g=m.components.filter((S)=>{if(!J0.test(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.invalid-id",message:`Component id "${S.bindId}" must be lowercase kebab-case segments joined by dots.`}),!1;if(!s.has(S.kind))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.unknown-kind",message:`"${S.label}" uses ${S.kind}, which has no descriptor.`}),!1;if(f.has(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.duplicate-id",message:`Component id "${S.bindId}" is used twice.`}),!1;return f.add(S.bindId),!0}).filter((S)=>!S.parent||f.has(S.parent)||(r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.missing-parent",message:`"${S.label}" names a parent that is not on the screen.`}),!1)),v=m.parent&&c.has(m.parent)?m.parent:void 0;return{...m,components:g,parent:v}});return{registry:{...l.registry,screens:p},issues:r}}var W0=me(en(),1);var P0=me(Ke(),1);function Kp({open:l,children:s}){return P0.jsx("div",{className:"abs-collapse"+(l?" is-open":""),"aria-hidden":!l,children:P0.jsx("div",{className:"abs-collapse-in",children:s})})}var ee=me(Ke(),1),iD={search:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"7.25",cy:"7.25",r:"4.5"}),ee.jsx("path",{d:"m13.5 13.5-2.9-2.9"})]}),check:ee.jsx("path",{d:"m3.5 8.25 3 3 6-6.5"}),bound:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"m5.6 8.1 1.7 1.7 3.2-3.4"})]}),suggested:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2",fill:"currentColor",stroke:"none"})]}),partial:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 2a6 6 0 0 1 0 12z",fill:"currentColor",stroke:"none"})]}),unbound:ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),data:ee.jsxs(ee.Fragment,{children:[ee.jsx("ellipse",{cx:"8",cy:"4",rx:"5",ry:"1.75"}),ee.jsx("path",{d:"M3 4v8c0 .97 2.24 1.75 5 1.75s5-.78 5-1.75V4M3 8c0 .97 2.24 1.75 5 1.75S13 8.97 13 8"})]}),action:ee.jsx("path",{d:"M8.75 1.75 3.75 9h4.5l-1 5.25 5-7.25h-4.5z"}),row:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"2",y:"3",width:"12",height:"10",rx:"2"}),ee.jsx("path",{d:"M2 7h12"})]}),plus:ee.jsx("path",{d:"M8 3.25v9.5M3.25 8h9.5"}),chevronRight:ee.jsx("path",{d:"m6.25 3.75 4.25 4.25-4.25 4.25"}),chevronDown:ee.jsx("path",{d:"m3.75 6.25 4.25 4.25 4.25-4.25"}),close:ee.jsx("path",{d:"m4.25 4.25 7.5 7.5M11.75 4.25l-7.5 7.5"}),screen:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("path",{d:"M1.75 6h12.5"})]}),dialog:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("rect",{x:"4.75",y:"6",width:"6.5",height:"4.5",rx:"1"})]}),api:ee.jsx("path",{d:"M5.25 4.5 1.75 8l3.5 3.5M10.75 4.5 14.25 8l-3.5 3.5M9.25 3l-2.5 10"}),trash:ee.jsx("path",{d:"M2.75 4.25h10.5M6.25 4.25v-1.5h3.5v1.5M4.25 4.25l.6 8.5a1 1 0 0 0 1 .9h4.3a1 1 0 0 0 1-.9l.6-8.5"}),link:ee.jsx("path",{d:"M6.75 9.25a2.75 2.75 0 0 0 3.9 0l2-2a2.75 2.75 0 0 0-3.9-3.9l-.6.6M9.25 6.75a2.75 2.75 0 0 0-3.9 0l-2 2a2.75 2.75 0 0 0 3.9 3.9l.6-.6"}),repeat:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"m11.25 1.75 2 2-2 2"}),ee.jsx("path",{d:"M2.75 7.5v-.75a3 3 0 0 1 3-3h7.5M4.75 14.25l-2-2 2-2"}),ee.jsx("path",{d:"M13.25 8.5v.75a3 3 0 0 1-3 3h-7.5"})]}),arrowLeft:ee.jsx("path",{d:"M13 8H3m4-4L3 8l4 4"}),component:ee.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"2"}),pointer:ee.jsx("path",{d:"m3.25 3.25 3.5 9.5 1.5-4 4-1.5zM8.75 8.75l3.5 3.5"}),refresh:ee.jsx("path",{d:"M13.25 8A5.25 5.25 0 1 1 11.7 4.3M13.25 2.5v2.75H10.5"}),list:ee.jsx("path",{d:"M5.75 4h7.5M5.75 8h7.5M5.75 12h7.5M2.75 4h.01M2.75 8h.01M2.75 12h.01"}),todo:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),ee.jsx("path",{d:"M8 5.5V8l1.75 1.25"})]}),target:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"3"}),ee.jsx("circle",{cx:"8",cy:"8",r:".6",fill:"currentColor"})]}),apply:ee.jsx("path",{d:"M12.75 3.25v3.5a2 2 0 0 1-2 2h-7.5m3-3-3 3 3 3"}),info:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 7.25v3.5M8 5.25h.01"})]}),settings:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"M6.6 1.75h2.8l.4 1.7 1.3.75 1.65-.55 1.4 2.43-1.25 1.17v1.5l1.25 1.17-1.4 2.43-1.65-.55-1.3.75-.4 1.7H6.6l-.4-1.7-1.3-.75-1.65.55-1.4-2.43 1.25-1.17v-1.5L1.85 6.08l1.4-2.43 1.65.55 1.3-.75z"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2"})]}),download:ee.jsx("path",{d:"M8 2.75v7.5m-3-3 3 3 3-3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),upload:ee.jsx("path",{d:"M8 10.25v-7.5m-3 3 3-3 3 3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),alert:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 5v3.25M8 10.75h.01"})]})};function be({name:l,size:s=16,className:r}){return ee.jsx("svg",{className:"abs-ico "+(r??""),width:s,height:s,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:iD[l]})}function tc({svg:l}){if(l&&/^\s*<svg[\s>]/i.test(l)){let s=/xmlns=/.test(l)?l:l.replace(/<svg/i,'<svg xmlns="http://www.w3.org/2000/svg"'),r=`url("data:image/svg+xml,${encodeURIComponent(s)}")`;return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx("span",{className:"abs-kico-m",style:{maskImage:r,WebkitMaskImage:r}})})}return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx(be,{name:"component"})})}var F0={bound:"Connected",suggested:"Needs review",partial:"Partly connected",unbound:"Not connected"},f2=(l)=>F0[l];function nc({state:l,size:s=16}){return ee.jsxs("span",{className:`abs-state abs-state-${l}`,title:F0[l],children:[ee.jsx(be,{name:l,size:s}),ee.jsx("span",{className:"abs-sr",children:F0[l]})]})}function d2({done:l,total:s,size:r=18,stroke:c=2.5}){let f=s?l/s:0;if(r<=16){let g=r/4-0.25,v=2*Math.PI*g,S=r/2;return ee.jsxs("svg",{className:"abs-ring abs-pie"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:S,cy:S,r:S-0.75,strokeWidth:1.5,className:"abs-ring-bg"}),ee.jsx("circle",{cx:S,cy:S,r:g,strokeWidth:g*2,className:"abs-ring-fg",strokeDasharray:v,strokeDashoffset:v*(1-f),transform:`rotate(-90 ${S} ${S})`})]})}let p=(r-c)/2,m=2*Math.PI*p;return ee.jsxs("svg",{className:"abs-ring"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-bg"}),ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-fg",strokeDasharray:m,strokeDashoffset:m*(1-f),transform:`rotate(-90 ${r/2} ${r/2})`})]})}var Bl=me(en(),1),p2=me(Ke(),1);function xi(l){let s=Bl.useRef(null),r=Bl.useRef(null),c=Bl.useCallback((m)=>{let g=s.current,v=r.current;if(!g||!v)return;if(!m){v.style.opacity="0";return}let S=m.getBoundingClientRect(),A=g.getBoundingClientRect(),C=v.style.opacity!=="1";v.style.transition=C?"opacity 120ms ease":"",v.style.transform=`translate(${S.left-A.left+g.scrollLeft}px, ${S.top-A.top+g.scrollTop}px)`,v.style.width=`${S.width}px`,v.style.height=`${S.height}px`,v.style.opacity="1"},[]);Bl.useEffect(()=>{if(l!==void 0)c(l)},[l,c]);let f=Bl.useMemo(()=>({onPointerOver:(m)=>{if(l!==void 0)return;c(m.target.closest("[data-glide]"))},onPointerLeave:()=>{if(l===void 0)c(null)}}),[l,c]);return{ref:s,handlers:f,indicator:p2.jsx("span",{ref:r,className:"abs-glide","aria-hidden":"true"}),moveTo:c}}var Pe=me(Ke(),1);function h2({engine:l,screen:s,selected:r,onSelect:c}){let[f,p]=W0.useState(!1),[m,g]=W0.useState({}),v=s.components.filter((R)=>l.bindable(l.descOf(R)).length),S=new Map;v.forEach((R)=>{if(R.parent)S.set(R.parent,[...S.get(R.parent)??[],R])});let A=(R)=>S.get(R)??[],C=l.tally([s]),T=(R)=>l.compState(s.id,R)!=="bound",E=(R)=>!f||T(R)||A(R.bindId).some(E),B=xi(),w=(R,H)=>{let Y=A(R.bindId).filter(E),P=m[R.bindId]??!0,ce=l.descOf(R);return Pe.jsxs("div",{role:"listitem",children:[Pe.jsxs("div",{"data-glide":!0,className:"abs-comp"+(R.bindId===r?" is-on":""),style:{paddingLeft:8+H*24},children:[Y.length?Pe.jsx("button",{type:"button",className:"abs-iconbtn abs-twist",onClick:()=>g((G)=>({...G,[R.bindId]:!P})),"aria-label":P?"Collapse":"Expand","aria-expanded":P,children:Pe.jsx(be,{name:"chevronRight",size:14,className:P?"abs-rot90":""})}):Pe.jsx("span",{className:"abs-twist"}),Pe.jsxs("button",{type:"button",className:"abs-comp-main",onClick:()=>c(R.bindId),"aria-current":R.bindId===r?"true":void 0,children:[Pe.jsx(tc,{svg:ce.icon}),Pe.jsx("span",{className:"abs-comp-l",children:R.label}),Pe.jsxs("span",{className:"abs-comp-k",children:[ce.label,Y.length?` · ${Y.length}`:""]}),Pe.jsx(nc,{state:l.compState(s.id,R)})]})]}),Y.length>0&&Pe.jsx(Kp,{open:P,children:Y.map((G)=>w(G,H+1))})]},R.bindId)},z=v.filter(T).length;return Pe.jsxs("div",{className:"abs-center abs-scroll",children:[Pe.jsxs("header",{className:"abs-screen-h",children:[Pe.jsxs("div",{className:"abs-screen-t",children:[Pe.jsx("div",{className:"abs-crumbs",children:[...s.path,...s.parent?[l.SCR.get(s.parent)?.label]:[]].join(" / ")}),Pe.jsx("h1",{children:s.label})]}),Pe.jsxs("div",{className:"abs-progress",children:[Pe.jsx(d2,{done:C.bound,total:C.total,size:36,stroke:3.5}),Pe.jsxs("div",{children:[Pe.jsxs("b",{children:[C.bound,Pe.jsxs("span",{children:["/",C.total]})]}),Pe.jsx("small",{children:"connected"})]})]})]}),Pe.jsxs("div",{className:"abs-seg",role:"group","aria-label":"Show",children:[Pe.jsx("span",{className:"abs-seg-thumb",style:{transform:`translateX(${f?100:0}%)`},"aria-hidden":"true"}),Pe.jsxs("button",{type:"button",className:!f?"is-on":"",onClick:()=>p(!1),"aria-pressed":!f,children:[Pe.jsx(be,{name:"list",size:14}),"All",Pe.jsx("span",{children:v.length})]}),Pe.jsxs("button",{type:"button",className:f?"is-on":"",onClick:()=>p(!0),"aria-pressed":f,children:[Pe.jsx(be,{name:"todo",size:14}),"To do",Pe.jsx("span",{children:z})]})]}),Pe.jsxs("div",{className:"abs-comps abs-glide-box",role:"list",ref:B.ref,...B.handlers,children:[B.indicator,v.filter((R)=>!R.parent&&E(R)).map((R)=>w(R,0)),f&&!z&&Pe.jsxs("div",{className:"abs-done",children:[Pe.jsx(be,{name:"bound",size:24}),Pe.jsx("b",{children:"Everything here is connected"})]})]})]})}var ra=me(en(),1);var dn=me(Ke(),1);function m2({engine:l,onGo:s}){let[r,c]=ra.useState(""),[f,p]=ra.useState(!1),[m,g]=ra.useState(0),v=ra.useRef(null),S=ra.useRef(null),A=xi(null),C=A.ref,T=ra.useMemo(()=>l.fw.registry.screens.flatMap((R)=>[{hit:{screen:R},text:[R.label,...R.path].join(" ").toLowerCase()},...R.components.filter((H)=>l.bindable(l.descOf(H)).length).map((H)=>({hit:{screen:R,comp:H},text:[H.label,l.descOf(H).label,R.label].join(" ").toLowerCase()}))]),[l.fw]),E=ra.useMemo(()=>{let R=r.trim().toLowerCase().split(/\s+/).filter(Boolean);if(!R.length)return[];return T.filter((H)=>R.every((Y)=>H.text.includes(Y))).sort((H,Y)=>Number(!H.text.startsWith(R[0]))-Number(!Y.text.startsWith(R[0]))).slice(0,40).map((H)=>H.hit)},[r,T]);ra.useEffect(()=>{let R=(Y)=>{if((Y.metaKey||Y.ctrlKey)&&Y.key.toLowerCase()==="k")Y.preventDefault(),v.current?.focus(),p(!0)},H=(Y)=>{if(!S.current?.contains(Y.target))p(!1)};return window.addEventListener("keydown",R),document.addEventListener("pointerdown",H),()=>{window.removeEventListener("keydown",R),document.removeEventListener("pointerdown",H)}},[]),ra.useEffect(()=>g(0),[r]),ra.useEffect(()=>{let R=C.current?.querySelector(`[data-i="${m}"]`)??null;R?.scrollIntoView({block:"nearest"}),A.moveTo(R)},[m,E,C,A]);let B=(R)=>{s(R.screen.id,R.comp?.bindId),p(!1),c(""),v.current?.blur()},w=(R)=>{if(R.key==="ArrowDown")R.preventDefault(),g((H)=>Math.min(E.length-1,H+1));else if(R.key==="ArrowUp")R.preventDefault(),g((H)=>Math.max(0,H-1));else if(R.key==="Enter"&&E[m])B(E[m]);else if(R.key==="Escape"&&(z||r))R.preventDefault(),p(!1),c("")},z=f&&r.trim().length>0;return dn.jsxs("div",{className:"abs-find",ref:S,children:[dn.jsxs("div",{className:"abs-find-box",children:[dn.jsx(be,{name:"search",className:"abs-c-muted"}),dn.jsx("input",{ref:v,value:r,onChange:(R)=>{c(R.target.value),p(!0)},onFocus:()=>p(!0),onKeyDown:w,placeholder:"Find a component or screen","aria-label":"Find a component or screen",role:"combobox","aria-expanded":z,"aria-controls":"abs-find-list"}),dn.jsx("kbd",{children:"Ctrl K"})]}),dn.jsxs("div",{className:"abs-pop abs-find-pop abs-glide-box"+(z?" is-open":""),role:"listbox",id:"abs-find-list",ref:C,children:[A.indicator,z&&!E.length?dn.jsxs("div",{className:"abs-empty-sm",children:["Nothing matches “",r,"”. Try a screen or component name."]}):null,z?E.map((R,H)=>{let Y=R.comp&&l.descOf(R.comp);return dn.jsxs("div",{"data-i":H,role:"option","aria-selected":H===m,className:"abs-opt"+(H===m?" is-active":""),onPointerEnter:()=>g(H),onPointerDown:(P)=>{P.preventDefault(),B(R)},children:[R.comp?dn.jsx(tc,{svg:Y?.icon}):dn.jsx("span",{className:"abs-kico",children:dn.jsx(be,{name:R.screen.parent?"dialog":"screen"})}),dn.jsxs("span",{className:"abs-opt-t",children:[dn.jsx("span",{children:R.comp?.label??R.screen.label}),dn.jsx("code",{children:R.comp?`${Y?.label} · ${R.screen.label}`:R.screen.path.join(" / ")})]}),R.comp?dn.jsx(nc,{state:l.compState(R.screen.id,R.comp)}):dn.jsx("span",{className:"abs-nav-count",children:sD(l.tally([R.screen]))})]},R.screen.id+(R.comp?.bindId??""))}):null]})]})}var sD=(l)=>`${l.bound}/${l.total}`;var Kn=me(en(),1);var ac=me(Ke(),1);function rD(l,s,r,c=8,f=8){let p=l.top-c-s.height>=f||l.bottom+c+s.height>r.height-f?"top":"bottom",m=p==="top"?l.top-c-s.height:l.bottom+c,g=l.left+l.width/2-s.width/2,v=Math.min(Math.max(g,f),Math.max(f,r.width-f-s.width));return{top:Math.max(f,m),left:v,side:p}}var cD=250;function g2({text:l}){let s=Kn.useId(),r=Kn.useRef(null),c=Kn.useRef(null),f=Kn.useRef(void 0),[p,m]=Kn.useState(!1),g=Kn.useCallback((S)=>{clearTimeout(f.current),f.current=setTimeout(()=>m(!0),S)},[]),v=Kn.useCallback(()=>{clearTimeout(f.current),m(!1)},[]);return Kn.useEffect(()=>()=>clearTimeout(f.current),[]),Kn.useLayoutEffect(()=>{let S=c.current,A=r.current;if(!p||!S||!A)return;S.showPopover();let C=rD(A.getBoundingClientRect(),S.getBoundingClientRect(),{width:innerWidth,height:innerHeight});S.style.top=`${C.top}px`,S.style.left=`${C.left}px`,S.dataset.side=C.side;let T=(E)=>{if(E.key==="Escape")E.preventDefault(),v()};return addEventListener("scroll",v,!0),addEventListener("resize",v),addEventListener("keydown",T),()=>{if(removeEventListener("scroll",v,!0),removeEventListener("resize",v),removeEventListener("keydown",T),S.matches(":popover-open"))S.hidePopover()}},[p,v]),ac.jsxs("span",{className:"abs-tip",children:[ac.jsx("button",{ref:r,type:"button",className:"abs-tip-btn","aria-describedby":s,"aria-label":"More information",onClick:(S)=>S.stopPropagation(),onPointerEnter:()=>g(cD),onPointerLeave:v,onFocus:(S)=>{if(S.currentTarget.matches(":focus-visible"))g(0)},onBlur:v,children:ac.jsx(be,{name:"info",size:14})}),ac.jsx("span",{ref:c,role:"tooltip",id:s,popover:"manual",className:"abs-tip-body",children:l})]})}var Fp=me(en(),1);var Tn=me(en(),1);var at=me(Ke(),1),Zp=(l)=>l.op.summary?.trim()||`${l.op.method} ${l.op.path}`;function y2({method:l}){return at.jsx("span",{className:`abs-method abs-method-${l.toLowerCase()}`,children:l})}function oc({engine:l,ranked:s,value:r,onPick:c,label:f="Choose API",autoOpen:p=!1}){let[m,g]=Tn.useState(p),[v,S]=Tn.useState(""),[A,C]=Tn.useState(0),T=Tn.useRef(null),E=xi(null),B=E.ref,w=Tn.useId(),z=Tn.useMemo(()=>m?s().filter((G)=>G.score>=0.4).slice(0,3):[],[m,s]),R=Tn.useMemo(()=>{if(!m)return[];let G=v.trim().toLowerCase(),ie=(Ee)=>!G||[Ee.op.id,Ee.op.summary,Ee.op.path,...Ee.op.tags].join(" ").toLowerCase().includes(G),W=[];if(!G)z.forEach((Ee)=>W.push({v:Ee.view,best:Ee,group:"Best matches"}));let Me=new Set(W.map((Ee)=>Ee.v.op.id)),Ne=(Ee)=>[Ee.op.product,Ee.op.tags[0]??"Other"].filter(Boolean).join(" · ");return[...l.OPS].sort((Ee,xe)=>Ne(Ee).localeCompare(Ne(xe))||Zp(Ee).localeCompare(Zp(xe))).forEach((Ee)=>{if(!Me.has(Ee.op.id)&&ie(Ee))W.push({v:Ee,group:Ne(Ee)})}),W},[m,v,z,l]);Tn.useEffect(()=>{if(!m)return;let G=(ie)=>{if(!T.current?.contains(ie.target))g(!1)};return document.addEventListener("pointerdown",G),()=>document.removeEventListener("pointerdown",G)},[m]),Tn.useEffect(()=>{C(0)},[v,m]),Tn.useEffect(()=>{let G=B.current?.querySelector(`[data-i="${A}"]`)??null;G?.scrollIntoView({block:"nearest"}),E.moveTo(G)},[A,R,B,E]);let H=(G)=>{c(G),g(!1),S("")},Y=(G)=>{if(G.key==="ArrowDown")G.preventDefault(),C((ie)=>Math.min(R.length-1,ie+1));else if(G.key==="ArrowUp")G.preventDefault(),C((ie)=>Math.max(0,ie-1));else if(G.key==="Enter"&&R[A])G.preventDefault(),H(R[A].v.op.id);else if(G.key==="Escape")G.preventDefault(),g(!1)},P=r?l.OPV.get(r):void 0,ce="";return at.jsxs("div",{className:"abs-picker",ref:T,children:[P?at.jsxs("button",{type:"button",className:"abs-opcard",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(y2,{method:P.op.method}),at.jsxs("span",{className:"abs-opcard-t",children:[at.jsx("b",{children:Zp(P)}),at.jsx("code",{children:P.op.path})]}),at.jsx("span",{className:"abs-link",children:"Change"})]}):at.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(be,{name:"api"})," ",f]}),m?at.jsxs("div",{className:"abs-pop",role:"dialog","aria-label":"Choose an API",children:[at.jsxs("div",{className:"abs-pop-search",children:[at.jsx(be,{name:"search"}),at.jsx("input",{autoFocus:!0,value:v,onChange:(G)=>S(G.target.value),onKeyDown:Y,placeholder:`Search ${l.OPS.length} APIs`,role:"combobox","aria-expanded":"true","aria-controls":w,"aria-activedescendant":R[A]?`${w}-${A}`:void 0})]}),at.jsxs("div",{className:"abs-pop-list abs-glide-box",ref:B,id:w,role:"listbox",children:[E.indicator,R.length===0?at.jsxs("div",{className:"abs-empty-sm",children:["No API matches “",v,"”. Search by name, path or tag."]}):null,R.map((G,ie)=>{let W=G.group!==ce?ce=G.group:null;return at.jsxs(Tn.Fragment,{children:[W?at.jsx("div",{className:"abs-pop-group",role:"presentation",children:W==="Best matches"?at.jsxs(at.Fragment,{children:[at.jsx(be,{name:"target",size:12})," Best matches"]}):W}):null,at.jsxs("div",{id:`${w}-${ie}`,"data-i":ie,role:"option","aria-selected":ie===A,className:"abs-opt"+(ie===A?" is-active":"")+(G.v.op.id===r?" is-current":""),onPointerEnter:()=>C(ie),onPointerDown:(Me)=>{Me.preventDefault(),H(G.v.op.id)},children:[at.jsx(y2,{method:G.v.op.method}),at.jsxs("span",{className:"abs-opt-t",children:[at.jsx("span",{children:Zp(G.v)}),at.jsx("code",{children:G.v.op.path})]}),G.v.op.id===r?at.jsx(be,{name:"check",className:"abs-c-accent"}):null]})]},G.group+G.v.op.id)})]}),R[A]?.best?.reasons.length?at.jsxs("div",{className:"abs-pop-why","aria-live":"polite",children:[at.jsx(be,{name:"info",size:14}),at.jsxs("span",{children:[at.jsx("b",{children:"Why suggested:"})," ",R[A].best.reasons.join(" · ")]})]}):null]}):null]})}var S2=me(en(),1);var b2={item:"Row",screen:"This screen",context:"Passed in",provider:"App"};var Ll=me(Ke(),1);function v2({engine:l,value:s,type:r,sources:c,onChange:f,id:p}){let m=c.filter((A)=>A.waitsFor),g=c.filter((A)=>A.type!=="list"&&!A.waitsFor).map((A)=>({s:A,fit:l.typeFit(r,A.type)})).filter((A)=>A.fit.ok),v=new Map;g.forEach((A)=>{let C=b2[A.s.group];v.set(C,[...v.get(C)??[],A])});let S=!s||g.some((A)=>A.s.expr+(A.fit.transform?` | ${A.fit.transform}()`:"")===s);return Ll.jsxs("select",{id:p,className:"abs-select"+(s?"":" is-empty"),value:s??"",onChange:(A)=>f(A.target.value||void 0),children:[Ll.jsx("option",{value:"",children:"Not set"}),!S&&Ll.jsx("option",{value:s,children:s}),[...v].map(([A,C])=>Ll.jsx("optgroup",{label:A,children:C.map(({s:T,fit:E})=>Ll.jsx("option",{value:T.expr+(E.transform?` | ${E.transform}()`:""),children:T.label},T.expr))},A)),m.length>0&&Ll.jsx("optgroup",{label:"Connect first",children:m.map((A)=>Ll.jsxs("option",{disabled:!0,children:[A.label,": connect ",A.waitsFor]},A.expr))})]})}var ca=me(Ke(),1);function Pp({engine:l,view:s,request:r,sources:c,onChange:f,idp:p}){let m=[...s.req].sort((w,z)=>Number(z[2])-Number(w[2])),g=m.filter((w)=>w[2]),v=m.filter((w)=>!w[2]),S=m.filter(([w])=>r[w]).length,[A,C]=S2.useState(!1);if(!m.length)return null;let T=([w,z,R])=>ca.jsxs("div",{className:"abs-map-row",children:[ca.jsxs("label",{htmlFor:p+w,title:w,children:[En(w),R&&ca.jsx("span",{className:"abs-req","aria-label":"required",children:"*"})]}),ca.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),ca.jsx(v2,{engine:l,id:p+w,type:z,value:r[w],sources:c,onChange:(H)=>{let Y={...r};if(H)Y[w]=H;else delete Y[w];f(Y)}})]},w),E=v.filter(([w])=>A||r[w]),B=g.length+E.length;return ca.jsxs("div",{className:"abs-block",children:[B>0&&ca.jsxs("div",{className:"abs-block-h",children:[ca.jsx("span",{children:"Sends"}),ca.jsxs("span",{className:"abs-count",children:[S,"/",m.length]})]}),B>0&&ca.jsxs("div",{className:"abs-map",children:[g.map(T),E.map(T)]}),v.length>E.length&&ca.jsxs("button",{type:"button",className:"abs-link abs-more",onClick:()=>C(!0),children:[ca.jsx(be,{name:"plus",size:14})," ",B?`${v.length-E.length} more inputs`:`Add inputs (${v.length} optional)`]})]})}var Tt=me(Ke(),1);function E2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=s.shapeOf(r,c,f),v=Fp.useCallback(()=>s.rank(r,c,f),[s,r,c,f]),S=Fp.useMemo(()=>s.sources(r),[s,r]),A=m?.type==="operation"?m:void 0,C=A?s.OPV.get(A.operation):void 0,T=(R)=>{let H=s.proposeConsume(r,c,f,R);if(!H)return;let Y=A?[]:s.siblingFills(r,c,f,R);[H,...Y].forEach(p)},E=s.fieldsAt,B=(R)=>A&&p({...A,...R,state:"draft"}),w=g.fields&&!g.via?g.fields:null,z=C?g.many||w?[...C.lists.map((R)=>[R.select,R.fields.length]),...C.one?[["$",0]]:[]]:C.scalars.map(([R])=>[R,0]):[];return Tt.jsxs(Tt.Fragment,{children:[Tt.jsx(oc,{engine:s,ranked:v,value:A?.operation,onPick:T}),C&&A&&Tt.jsxs(Tt.Fragment,{children:[z.length>1&&Tt.jsxs("div",{className:"abs-field",children:[Tt.jsx("label",{htmlFor:`sel-${c.bindId}-${f.id}`,children:g.many||w?"Use list":"Use value"}),Tt.jsx("select",{id:`sel-${c.bindId}-${f.id}`,className:"abs-select",value:A.select,onChange:(R)=>B({select:R.target.value,map:w?s.proposeMap(w,E(C,R.target.value)):void 0}),children:z.map(([R])=>Tt.jsx("option",{value:R,children:R==="$"?"Whole response":En(R)},R))})]}),w&&Tt.jsxs("div",{className:"abs-block",children:[Tt.jsx("div",{className:"abs-block-h",children:Tt.jsx("span",{children:"Shows"})}),Tt.jsx("div",{className:"abs-map",children:w.map(([R,H])=>Tt.jsxs("div",{className:"abs-map-row",children:[Tt.jsx("label",{htmlFor:`map-${c.bindId}-${R}`,children:En(R)}),Tt.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),Tt.jsxs("select",{id:`map-${c.bindId}-${R}`,className:"abs-select"+(A.map?.[R]?"":" is-empty"),value:A.map?.[R]??"",onChange:(Y)=>{let P={...A.map??{}};if(Y.target.value)P[R]=Y.target.value;else delete P[R];B({map:P})},children:[Tt.jsx("option",{value:"",children:"Not set"}),E(C,A.select).map(([Y,P])=>[Y,s.typeFit(H,P)]).filter(([,Y])=>Y.ok).map(([Y,P])=>Tt.jsx("option",{value:`$item.${Y}${P.transform?` | ${P.transform}()`:""}`,children:En(Y)},Y))]})]},R))})]}),Tt.jsx(Pp,{engine:s,view:C,request:A.request,sources:S,onChange:(R)=>B({request:R}),idp:`req-${c.bindId}-${f.id}`}),Tt.jsxs("div",{className:"abs-field abs-field-inline",children:[Tt.jsx("label",{htmlFor:`load-${c.bindId}-${f.id}`,children:"Load"}),Tt.jsxs("select",{id:`load-${c.bindId}-${f.id}`,className:"abs-select abs-select-sm",value:A.load==="demand"?"demand":"open",onChange:(R)=>B({load:R.target.value}),children:[Tt.jsx("option",{value:"open",children:"When the screen opens"}),Tt.jsx("option",{value:"demand",children:"When first used"})]})]})]})]})}var pn=me(Ke(),1);function T2({engine:l,screen:s,comp:r,slot:c,put:f,goTo:p}){let m=l.getB(s,r.bindId,c.id),g=l.scopeFields(s,r,c),v=r.parent?l.compOf(s,r.parent):void 0;if(!g?.length)return pn.jsxs("div",{className:"abs-hint",children:[pn.jsx(be,{name:"link"}),pn.jsxs("span",{children:["Uses data from ",pn.jsx("b",{children:v?.label}),"."]}),v&&pn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:"Connect it first"})]});let S=l.shapeOf(s,r,c).type??"any",A=g.map(([E,B])=>({expr:`$item.${E}`,label:En(E),name:E,type:B,group:"item"})),C=!m?l.rankSources(r.label,S,A,0.45).slice(0,3):[],T=`scope-${r.bindId}-${c.id}`;return pn.jsxs(pn.Fragment,{children:[pn.jsxs("div",{className:"abs-field",children:[pn.jsxs("label",{htmlFor:T,children:["Field from ",v?.label]}),pn.jsxs("select",{id:T,className:"abs-select"+(m?"":" is-empty"),value:m?.value??"",onChange:(E)=>E.target.value&&f({component:r.bindId,slot:c.id,type:"expression",value:E.target.value,origin:"manual",state:"draft"}),children:[pn.jsx("option",{value:"",children:"Choose a field"}),A.filter((E)=>l.typeFit(S,E.type).ok).map((E)=>pn.jsx("option",{value:E.expr,children:E.label},E.expr))]})]}),C.length>0&&pn.jsx("div",{className:"abs-suggests",children:C.map((E)=>pn.jsxs("button",{type:"button",className:"abs-suggest",onClick:()=>f({component:r.bindId,slot:c.id,type:"expression",value:E.expr,origin:"suggested",state:"draft"}),children:[pn.jsx(be,{name:"apply",size:14})," ",E.source.label]},E.expr))})]})}var eh=me(en(),1);var Wp=me(en(),1);var $t=me(Ke(),1);function w2({engine:l,screen:s,comp:r,slot:c,step:f,index:p,total:m,onChange:g,onRemove:v,onMove:S}){let A=Wp.useCallback(()=>l.rank(s,r,c),[l,s,r,c]),C=l.manyContext(s),T=l.OPV.get(f.operation),E=Wp.useMemo(()=>f.forEach?l.triggerSources(s):l.sources(s),[l,s,f]);return $t.jsxs("div",{className:"abs-step",children:[$t.jsxs("div",{className:"abs-step-h",children:[$t.jsx("span",{className:"abs-step-n",children:p+1}),$t.jsx(be,{name:"api",className:"abs-c-muted"}),$t.jsx("span",{className:"abs-step-t",children:"Call API"}),$t.jsxs("span",{className:"abs-step-tools",children:[p>0&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(-1),"aria-label":"Move up",children:$t.jsx(be,{name:"chevronDown",className:"abs-rot180"})}),p<m-1&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(1),"aria-label":"Move down",children:$t.jsx(be,{name:"chevronDown"})}),$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:v,"aria-label":"Remove step",children:$t.jsx(be,{name:"trash"})})]})]}),T&&$t.jsxs("div",{className:"abs-step-b",children:[$t.jsx(oc,{engine:l,ranked:A,value:f.operation,onPick:(B)=>g({...f,operation:B,request:l.proposeRequest(l.OPV.get(B),E)})}),C&&$t.jsxs("label",{className:"abs-toggle",children:[$t.jsx("input",{type:"checkbox",checked:!!f.forEach,onChange:(B)=>g({...f,forEach:B.target.checked?`$context.${C.id}`:void 0})}),$t.jsx("span",{className:"abs-toggle-ui","aria-hidden":"true"}),$t.jsx(be,{name:"repeat",size:14,className:"abs-c-muted"})," Run for each ",$t.jsx("span",{className:"abs-toggle-of",children:C.label})]}),$t.jsx(Pp,{engine:l,view:T,request:f.request,sources:E,onChange:(B)=>g({...f,request:B}),idp:`st-${r.bindId}-${p}-`})]})]})}var xn=me(Ke(),1);function O2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=m?.type==="steps"?m.steps:[],[v,S]=eh.useState(!1),A=(w)=>w.length?p({component:c.bindId,slot:f.id,type:"steps",steps:w,origin:m?.origin??"manual",state:"draft"}):l.drop(),C=()=>p({component:c.bindId,slot:f.id,type:"none",origin:"manual",state:"confirmed"}),T=s.manyContext(r),E=eh.useCallback(()=>s.rank(r,c,f),[s,r,c,f]);if(m?.type==="none")return xn.jsxs("div",{className:"abs-hint",children:[xn.jsx(be,{name:"check"}),xn.jsx("span",{children:"Calls no API."})]});let B=(w)=>{let z=s.OPV.get(w),R=T?`$context.${T.id}`:void 0,H=1+Math.max(0,...g.map((Y)=>Number(Y.id.replace(/^s/,""))||0));A([...g,{type:"call",id:`s${H}`,operation:w,request:s.proposeRequest(z,s.triggerSources(r)),forEach:R,onError:"stop"}]),S(!1)};return xn.jsxs("div",{className:"abs-steps",children:[g.map((w,z)=>xn.jsx(w2,{...l,step:w,index:z,total:g.length,onChange:(R)=>A(g.map((H,Y)=>Y===z?R:H)),onRemove:()=>A(g.filter((R,H)=>H!==z)),onMove:(R)=>{let H=[...g];[H[z],H[z+R]]=[H[z+R],H[z]],A(H)}},z)),v?xn.jsxs("div",{className:"abs-addstep",children:[xn.jsx(oc,{engine:s,ranked:E,onPick:B,label:"Call API",autoOpen:!0}),xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:()=>S(!1),children:"Cancel"})]}):xn.jsxs(xn.Fragment,{children:[xn.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>S(!0),children:[xn.jsx(be,{name:"plus"})," ",g.length?"Call another API":"Call an API"]}),!g.length&&xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:C,children:"No API needed"})]})]})}var hn=me(Ke(),1),A2={consume:"Data this component shows. Pick the API that returns it.",scoped:"A value shown for each row. Pick the field from the row's data.",trigger:"What happens when this is used. Pick the API calls it makes, or mark it as calling none."};function C2(l){let{engine:s,screen:r,comp:c,slot:f}=l,p=s.slotState(r,c.bindId,f.id),m=s.getB(r,c.bindId,f.id),g=f.role==="trigger"?"trigger":f.scope?"scoped":"consume";return hn.jsxs("section",{className:`abs-slot abs-slot-${p}`,"aria-labelledby":`slot-${c.bindId}-${f.id}`,children:[hn.jsxs("header",{className:"abs-slot-h",children:[hn.jsx(be,{name:g==="trigger"?"action":g==="scoped"?"row":"data",className:"abs-c-muted"}),hn.jsxs("h3",{id:`slot-${c.bindId}-${f.id}`,children:[f.label,f.required?hn.jsx("span",{className:"abs-req","aria-label":"required",children:"*"}):null]}),hn.jsx(g2,{text:f.description?`${f.description}. ${A2[g]}`:A2[g]}),hn.jsxs("span",{className:`abs-pill abs-pill-${p}`,children:[hn.jsx(nc,{state:p,size:13}),f2(p)]})]}),hn.jsx("div",{className:"abs-slot-b",children:g==="trigger"?hn.jsx(O2,{...l}):g==="scoped"?hn.jsx(T2,{...l}):hn.jsx(E2,{...l})}),m?hn.jsxs("footer",{className:"abs-slot-f"+(p==="suggested"?"":" is-plain"),children:[p==="suggested"?hn.jsxs("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:()=>l.put({...m,state:"confirmed"}),children:[hn.jsx(be,{name:"check"})," Confirm"]}):null,hn.jsx("button",{type:"button",className:"abs-btn abs-btn-ghost",onClick:l.drop,children:p==="suggested"?"Discard":m.type==="none"?"Undo":"Disconnect"})]}):null]})}var zn=me(Ke(),1);function R2({engine:l,screen:s,comp:r,put:c,drop:f,goTo:p,onClose:m}){let g=l.descOf(r),v=r.parent?l.compOf(s.id,r.parent):void 0;return zn.jsxs("aside",{className:"abs-insp abs-enter","aria-label":`${r.label} settings`,children:[zn.jsxs("header",{className:"abs-insp-h",children:[zn.jsx(tc,{svg:g.icon}),zn.jsxs("div",{children:[zn.jsx("h2",{children:r.label}),zn.jsxs("span",{children:[g.label,v&&zn.jsxs(zn.Fragment,{children:[" in ",zn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:v.label})]})]})]}),zn.jsx("button",{type:"button",className:"abs-iconbtn",onClick:m,"aria-label":"Close panel",children:zn.jsx(be,{name:"close"})})]}),zn.jsx("div",{className:"abs-insp-b abs-scroll",children:l.bindable(g).map((S)=>zn.jsx(C2,{engine:l,screen:s.id,comp:r,slot:S,put:c,drop:()=>f(r.bindId,S.id),goTo:p},r.bindId+S.id))})]})}var Wo=me(en(),1);var Lt=me(Ke(),1);function uD(l){let s={key:"",name:"",nodes:[],screens:[],all:[]};for(let r of l){let c=s;c.all.push(r);for(let f of r.path.length?r.path:["Other"]){let p=c.key+"/"+f,m=c.nodes.find((g)=>g.key===p);if(!m)m={key:p,name:f,nodes:[],screens:[],all:[]},c.nodes.push(m);c=m,c.all.push(r)}if(!r.parent)c.screens.push(r)}return s.nodes}function _2({engine:l,current:s,onPick:r}){let[c,f]=Wo.useState(""),[p,m]=Wo.useState({}),g=l.fw.registry.screens,v=Wo.useMemo(()=>uD(g),[g]),S=Wo.useMemo(()=>{let w=new Map;return g.forEach((z)=>{if(z.parent)w.set(z.parent,[...w.get(z.parent)??[],z])}),w},[g]),A=c.trim().toLowerCase(),C=(w)=>!A||[w.label,...w.path].join(" ").toLowerCase().includes(A);Wo.useEffect(()=>{let w=g.find((z)=>z.id===s)?.path??[];m((z)=>{let R={...z};return w.forEach((H,Y)=>{R["/"+w.slice(0,Y+1).join("/")]=!0}),R})},[s,g]);let T=xi(),E=(w,z)=>{let R=S.get(w.id)??[];if(!(C(w)||R.some(C)))return null;let H=l.tally([w]);return Lt.jsxs(Wo.Fragment,{children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-item"+(w.id===s?" is-on":""),style:{paddingLeft:12+z*16},onClick:()=>r(w.id),"aria-current":w.id===s?"page":void 0,"aria-label":`${w.label}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx(be,{name:w.parent?"dialog":"screen"}),Lt.jsx("span",{className:"abs-nav-l",children:w.label}),H.total>0&&H.bound===H.total?Lt.jsx(be,{name:"check",size:14,className:"abs-c-ok"}):Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]})]}),R.map((Y)=>E(Y,z+1))]},w.id)},B=(w,z)=>{if(A&&!w.all.some(C))return null;let R=!!A||!!p[w.key],H=l.tally(w.all),Y=w.all.some((P)=>P.id===s);return Lt.jsxs("div",{className:"abs-tree",role:"treeitem","aria-expanded":R,children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-group-h"+(Y?" has-current":""),style:{paddingLeft:12+z*16},onClick:()=>m((P)=>({...P,[w.key]:!R})),"aria-expanded":R,"aria-label":`${w.name}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx("span",{className:"abs-nav-l",children:w.name}),Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]}),Lt.jsx(be,{name:"chevronRight",size:14,className:"abs-chev"+(R?" abs-rot90":"")})]}),Lt.jsx(Kp,{open:R,children:Lt.jsxs("div",{role:"group",children:[w.nodes.map((P)=>B(P,z+1)),w.screens.map((P)=>E(P,z+1))]})})]},w.key)};return Lt.jsxs("nav",{className:"abs-nav","aria-label":"Screens",children:[Lt.jsx("div",{className:"abs-nav-head",children:Lt.jsxs("div",{className:"abs-search",children:[Lt.jsx(be,{name:"search",className:"abs-c-muted",size:14}),Lt.jsx("input",{value:c,onChange:(w)=>f(w.target.value),placeholder:"Filter screens","aria-label":"Filter screens"})]})}),Lt.jsxs("div",{className:"abs-nav-scroll abs-scroll abs-glide-box",role:"tree","aria-label":"Products",ref:T.ref,...T.handlers,children:[T.indicator,Lt.jsx("div",{className:"abs-eyebrow abs-eyebrow-sm",children:"Products"}),v.map((w)=>B(w,0)),A&&!g.some(C)?Lt.jsxs("div",{className:"abs-empty-sm",children:["No screen matches “",c,"”."]}):null]})]})}var bo=me(en(),1);var Il=me(en(),1);var th=Symbol.for("yaml.alias"),nh=Symbol.for("yaml.document"),co=Symbol.for("yaml.map"),eb=Symbol.for("yaml.pair"),_a=Symbol.for("yaml.scalar"),Hl=Symbol.for("yaml.seq"),Zn=Symbol.for("yaml.node.type"),uo=(l)=>!!l&&typeof l==="object"&&l[Zn]===th,el=(l)=>!!l&&typeof l==="object"&&l[Zn]===nh,fo=(l)=>!!l&&typeof l==="object"&&l[Zn]===co,Fe=(l)=>!!l&&typeof l==="object"&&l[Zn]===eb,Ve=(l)=>!!l&&typeof l==="object"&&l[Zn]===_a,po=(l)=>!!l&&typeof l==="object"&&l[Zn]===Hl;function ft(l){if(l&&typeof l==="object")switch(l[Zn]){case co:case Hl:return!0}return!1}function et(l){if(l&&typeof l==="object")switch(l[Zn]){case th:case co:case _a:case Hl:return!0}return!1}var ah=(l)=>(Ve(l)||ft(l))&&!!l.anchor;var ua=Symbol("break visit"),N2=Symbol("skip children"),tl=Symbol("remove node");function nl(l,s){let r=D2(s);if(el(l)){if(lc(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else lc(null,l,r,Object.freeze([]))}nl.BREAK=ua;nl.SKIP=N2;nl.REMOVE=tl;function lc(l,s,r,c){let f=M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),lc(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=lc(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=lc("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=lc("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}async function oh(l,s){let r=D2(s);if(el(l)){if(await ic(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else await ic(null,l,r,Object.freeze([]))}oh.BREAK=ua;oh.SKIP=N2;oh.REMOVE=tl;async function ic(l,s,r,c){let f=await M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),ic(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=await ic(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=await ic("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=await ic("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}function D2(l){if(typeof l==="object"&&(l.Collection||l.Node||l.Value))return Object.assign({Alias:l.Node,Map:l.Node,Scalar:l.Node,Seq:l.Node},l.Value&&{Map:l.Value,Scalar:l.Value,Seq:l.Value},l.Collection&&{Map:l.Collection,Seq:l.Collection},l);return l}function M2(l,s,r,c){if(typeof r==="function")return r(l,s,c);if(fo(s))return r.Map?.(l,s,c);if(po(s))return r.Seq?.(l,s,c);if(Fe(s))return r.Pair?.(l,s,c);if(Ve(s))return r.Scalar?.(l,s,c);if(uo(s))return r.Alias?.(l,s,c);return}function x2(l,s,r){let c=s[s.length-1];if(ft(c))c.items[l]=r;else if(Fe(c))if(l==="key")c.key=r;else c.value=r;else if(el(c))c.contents=r;else{let f=uo(c)?"alias":"scalar";throw Error(`Cannot replace node with ${f} parent`)}}var fD={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},dD=(l)=>l.replace(/[!,[\]{}]/g,(s)=>fD[s]);class wn{constructor(l,s){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},wn.defaultYaml,l),this.tags=Object.assign({},wn.defaultTags,s)}clone(){let l=new wn(this.yaml,this.tags);return l.docStart=this.docStart,l}atDocument(){let l=new wn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:wn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},wn.defaultTags);break}return l}add(l,s){if(this.atNextDocument)this.yaml={explicit:wn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},wn.defaultTags),this.atNextDocument=!1;let r=l.trim().split(/[ \t]+/),c=r.shift();switch(c){case"%TAG":{if(r.length!==2){if(s(0,"%TAG directive should contain exactly two parts"),r.length<2)return!1}let[f,p]=r;return this.tags[f]=p,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return s(0,"%YAML directive should contain exactly one part"),!1;let[f]=r;if(f==="1.1"||f==="1.2")return this.yaml.version=f,!0;else{let p=/^\d+\.\d+$/.test(f);return s(6,`Unsupported YAML version ${f}`,p),!1}}default:return s(0,`Unknown directive ${c}`,!0),!1}}tagName(l,s){if(l==="!")return"!";if(l[0]!=="!")return s(`Not a valid tag: ${l}`),null;if(l[1]==="<"){let p=l.slice(2,-1);if(p==="!"||p==="!!")return s(`Verbatim tags aren't resolved, so ${l} is invalid.`),null;if(l[l.length-1]!==">")s("Verbatim tags must end with a >");return p}let[,r,c]=l.match(/^(.*!)([^!]*)$/s);if(!c)s(`The ${l} tag has no suffix`);let f=this.tags[r];if(f)try{return f+decodeURIComponent(c)}catch(p){return s(String(p)),null}if(r==="!")return l;return s(`Could not resolve tag: ${l}`),null}tagString(l){for(let[s,r]of Object.entries(this.tags))if(l.startsWith(r))return s+dD(l.substring(r.length));return l[0]==="!"?l:`!<${l}>`}toString(l){let s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags),c;if(l&&r.length>0&&et(l.contents)){let f={};nl(l.contents,(p,m)=>{if(et(m)&&m.tag)f[m.tag]=!0}),c=Object.keys(f)}else c=[];for(let[f,p]of r){if(f==="!!"&&p==="tag:yaml.org,2002:")continue;if(!l||c.some((m)=>m.startsWith(p)))s.push(`%TAG ${f} ${p}`)}return s.join(`
|
|
238
|
+
<%s key={someKey} {...props} />`,q,K,J,K),kn[K+q]=!0)}if(K=null,Se!==void 0&&(r(Se),K=""+Se),m(ye)&&(r(ye.key),K=""+ye.key),"key"in ye){Se={};for(var se in ye)se!=="key"&&(Se[se]=ye[se])}else Se=ye;return K&&g(Se,typeof L==="function"?L.displayName||L.name||"Unknown":L),S(L,K,Se,f(),te,Q)}function C(L){T(L)?L._store&&(L._store.validated=1):typeof L==="object"&&L!==null&&L.$$typeof===W&&(L._payload.status==="fulfilled"?T(L._payload.value)&&L._payload.value._store&&(L._payload.value._store.validated=1):L._store&&(L._store.validated=1))}function T(L){return typeof L==="object"&&L!==null&&L.$$typeof===E}var E=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),ce=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),Me=Symbol.for("react.activity"),Ne=Symbol.for("react.view_transition"),Ee=Symbol.for("react.client.reference"),xe=xs.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot=Object.prototype.hasOwnProperty,Fn=Array.isArray,le=console.createTask?console.createTask:function(){return null};xs={react_stack_bottom_frame:function(L){return L()}};var Oe,Ae={},Ye=xs.react_stack_bottom_frame.bind(xs,p)(),Ce=le(c(p)),kn={};lD.Fragment=w,lD.jsx=function(L,ye,Se){var q=1e4>xe.recentlyCreatedOwnerStacks++;if(q){var te=Error.stackTraceLimit;Error.stackTraceLimit=10;var Q=Error("react-stack-top-frame");Error.stackTraceLimit=te}else Q=Ye;return A(L,ye,Se,!1,Q,q?le(c(L)):Ce)},lD.jsxs=function(L,ye,Se){var q=1e4>xe.recentlyCreatedOwnerStacks++;if(q){var te=Error.stackTraceLimit;Error.stackTraceLimit=10;var Q=Error("react-stack-top-frame");Error.stackTraceLimit=te}else Q=Ye;return A(L,ye,Se,!0,Q,q?le(c(L)):Ce)}})()});var xA=me(en(),1),zA=me(e2(),1);var t2=(l)=>l.length>3&&l.endsWith("s")?l.slice(0,-1):l;function n2(l){let s={};return l.forEach((r)=>r.synonyms.forEach((c)=>{let f=c.map((p)=>t2(p.toLowerCase()));f.forEach((p)=>{s[p]=f})})),s}function Xp(l){return l.replace(/([a-z0-9])([A-Z])/g,"$1 $2").toLowerCase().split(/[^a-z0-9]+/).filter((s)=>s.length>1).map(t2)}function En(l){let r=(l.replace(/^\$\.?/,"").replace(/\[\*\]/g,"").split(/[./]/).filter(Boolean).pop()??l).replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").toLowerCase().trim();return r?r[0].toUpperCase()+r.slice(1):l}var J0=/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/,tD=new Set(["operation","expression","steps","none"]);function nD(l){let s;try{s=JSON.parse(l)}catch{throw Error("The bindings file is not valid JSON.")}return aD(s)}function aD(l){let s=l;if(!s||typeof s!=="object")throw Error("The bindings file must be a JSON object.");if(s.version!==3)throw Error('The bindings file must have "version": 3.');if(typeof s.openapi!=="string"||!s.openapi)throw Error('The bindings file needs "openapi": the docs URL or a path.');for(let r of["kinds","screens","components","bindings"])if(!Array.isArray(s[r]))throw Error(`"${r}" must be a list.`);if(s.bindings.forEach((r,c)=>{let f=r;if(!f||typeof f.component!=="string"||typeof f.slot!=="string"||!tD.has(f.type))throw Error(`Binding ${c+1} needs "component", "slot" and a known "type".`)}),s.output&&(typeof s.output.dir!=="string"||typeof s.output.client!=="string"))throw Error('"output" needs "dir" and "client".');return s}function Pu(l,s){let r;for(let c of s)if(l.startsWith(c+".")&&(!r||c.length>r.length))r=c;return r}function oD(l,s){return[...new Set(s.operations.map((c)=>c.product).filter((c)=>!!c))].find((c)=>c.toLowerCase().replace(/[^a-z0-9]+/g,"-")===l)??En(l)}function a2(l,s){let r=[],c=l.screens.map((v)=>v.id),f=l.screens.map((v)=>({id:v.id,label:v.label,description:v.description,context:v.context??[],components:[],path:[oD(v.id.split(".")[0],s)],parent:Pu(v.id,c)})),p=new Map(f.map((v)=>[v.id,v])),m=new Set(c);for(let v of l.components){if(m.has(v.id)){r.push({severity:"error",screen:v.id,component:v.id,code:"registry.id-clash",message:`"${v.id}" is both a screen and a component id.`});continue}let S=Pu(v.id,c);if(!S){r.push({severity:"error",screen:"",component:v.id,code:"registry.no-screen",message:`"${v.id}" starts with no registered screen id.`});continue}p.get(S).components.push({bindId:v.id,kind:v.kind,label:v.label,parent:v.parent,info:v.info})}let g={};for(let v of l.bindings){let S=Pu(v.component,c);if(!S){r.push({severity:"error",screen:"",component:v.component,slot:v.slot,code:"binding.no-screen",message:`Binding for "${v.component}" fits no screen.`});continue}(g[S]??=[]).push(v)}return{fw:{descriptors:l.kinds,registry:{registryVersion:1,screens:f},catalog:s,glossaries:l.glossaries},index:g,issues:r}}function K0(l,s){let r=new Map(l.components.map((f,p)=>[f.id,p])),c=Object.values(s).flat().sort((f,p)=>(r.get(f.component)??1e9)-(r.get(p.component)??1e9)||f.slot.localeCompare(p.slot));return{...l,bindings:c}}function o2(l){return{async load(){let s=await fetch(l,{cache:"no-store"});if(!s.ok)throw Error(`Could not read the bindings file (HTTP ${s.status}).`);return nD(await s.text())},async save(s){let r=await fetch(l,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(s,null,2)+`
|
|
239
|
+
`});if(!r.ok)throw Error(await r.text()||`Could not save (HTTP ${r.status}).`)}}}var nn=me(en(),1);var Z0=(l)=>l&&typeof l==="object"?l:{};function Fo(l){let s=Z0(l),r=[s,...(s.allOf??[]).map(Fo)];if(r.length===1&&!s.oneOf&&!s.anyOf)return s;let c={},f=[];r.forEach((m)=>{Object.assign(c,m.properties??{}),f.push(...m.required??[])});let p=(s.oneOf??s.anyOf)?.map(Fo).find((m)=>m.type!=="null");return{...p??{},...s,properties:Object.keys(c).length?c:p?.properties,required:f}}function Mi(l){let s=Fo(l),r=Array.isArray(s.type)?s.type.find((c)=>c!=="null"):s.type;if(r==="array")return Mi(s.items)+"[]";if(s.format==="date-time"||s.format==="date")return"date-time";if(r==="integer"||r==="number")return"number";return r??(s.properties?"object":"any")}var Jp=(l)=>{let s=Fo(l);return s.type==="object"||!!s.properties},Ms=(l)=>Object.entries(Fo(l).properties??{}).map(([s,r])=>[s,Mi(r)]);function i2(l,s,r,c,f=0){let p=Fo(l);if(Jp(p)){let m=Object.entries(p.properties??{});if(!m.length||f>3){c.push([s,"object",r]);return}let g=new Set(p.required??[]);m.forEach(([v,S])=>{if(!Fo(S).readOnly)i2(S,`${s}/${v}`,r&&g.has(v),c,f+1)})}else c.push([s,Mi(p),r])}function s2(l,s,r,c=0){let f=Fo(l);if(f.type==="array"){if(Jp(f.items))r.push({select:`${s}[*]`,fields:Ms(f.items)});return}if(Jp(f)&&c<4)Object.entries(f.properties??{}).forEach(([p,m])=>s2(m,`${s}.${p}`,r,c+1))}var l2=new WeakMap;function r2(l){let s=l2.get(l);if(s)return s;s=new Map;for(let r of l.operations){let c=r.parameters.map((v)=>[v.pointer,Mi(v.schema),v.required]);if(r.body)i2(r.body.schema,"/body",r.body.required,c);let f=r.responses.find((v)=>/^2/.test(v.status)&&v.schema),p=[];if(f)s2(f.schema,"$",p);let m=f&&!p.length&&Jp(f.schema)?Ms(f.schema):null,g=f?Ms(f.schema).filter(([,v])=>v!=="object"&&!v.endsWith("[]")).map(([v,S])=>[`$.${v}`,S]):[];s.set(r.id,{op:r,req:c,lists:p,one:m,scalars:g})}return l2.set(l,s),s}function c2(l,s){let r=r2(l.catalog),c=[...r.values()],f=new Map(l.descriptors.map((q)=>[q.kind,q])),p=new Map(l.registry.screens.map((q)=>[q.id,q])),m=l.transforms??[],g=l.providers??[],v=n2(l.glossaries??[]),S=(q,te,Q)=>`${q}|${te}|${Q}`,A=new Map;for(let[q,te]of Object.entries(s))for(let Q of te){if(Q.type==="operation"&&!r.has(Q.operation))continue;if(Q.type==="steps"&&Q.steps.some((K)=>!r.has(K.operation)))continue;A.set(S(q,Q.component,Q.slot),Q)}let C=(q,te,Q)=>A.get(S(q,te,Q)),T=(q)=>p.get(q),E=(q,te)=>p.get(q)?.components.find((Q)=>Q.bindId===te),B=(q)=>f.get(q.kind),w=(q)=>q?q.slots.filter((te)=>te.role!=="produce"):[],z=new Map,R=(q,te)=>{let Q=(te?"+":"-")+q,K=z.get(Q);if(K)return K;K=new Set;for(let J of Xp(q))if(K.add(J),te)(v[J]??[]).forEach((se)=>K.add(se));return z.set(Q,K),K};function H(q,te){let Q=R(q,!1),K=R(te,!0);if(!Q.size||!K.size)return 0;let J=0;return Q.forEach((se)=>{if(K.has(se))J++}),J&&J/Q.size>=0.5?0.6*J/Q.size+0.4*J/K.size:0}let Y=(q)=>q.replace("[]","");function P(q,te){if(q!=="any"&&te!=="any"&&q.endsWith("[]")!==te.endsWith("[]"))return{ok:!1};let Q=Y(q),K=Y(te);if(Q==="any"||K==="any"||Q===K)return{ok:!0};if(Q==="number"&&K==="integer"||Q==="string"&&["integer","number","boolean"].includes(K))return{ok:!0};let J=m.find((se)=>Mi(se.input)===K&&Mi(se.output)===Q);return J?{ok:!0,transform:J.name}:{ok:!1}}function ce(q,te,Q){let K=C(q,te,Q);if(!K||K.type!=="operation")return null;let J=r.get(K.operation);if(!J)return null;if(K.select==="$"&&J.one)return J.one;return J.lists.find((se)=>se.select===K.select)?.fields??null}function G(q,te,Q){let K=Z0(Q.schema);if(typeof K.$ref==="string"&&K.$ref.startsWith("#slot/")){let J=K.$ref.slice(6);return{many:!!Q.many,fields:ce(q,te.bindId,J)??[],via:J}}if(Fo(K).properties)return{many:!!Q.many,fields:Ms(K)};return{many:!!Q.many,type:Mi(K)}}function ie(q){if("schema"in q.shape)return{many:!!q.many,fields:Ms(q.shape.schema)};let te=q.shape.from,Q=E(te.screen,te.component),K=Q&&B(Q),J=K?.slots.find((se)=>se.id===te.slot);return{many:!!q.many,fields:(J&&Q?G(te.screen,Q,J).fields:null)??[]}}function W(q,te,Q){if(!Q.scope||!te.parent)return null;return ce(q,te.parent,Q.scope.parentSlot)}function Me(q){return T(q).context.find((te)=>te.many)}function Ne(q,te={}){let Q=[],K=T(q);return te.item?.forEach(([J,se])=>Q.push({expr:`$item.${J}`,label:En(J),name:J,type:se,group:"item"})),K.components.forEach((J)=>{let se=B(J);se?.slots.filter((Re)=>Re.role==="produce").forEach((Re)=>{let lt=G(q,J,Re);if(lt.fields?.length){if(lt.many)Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"list",group:"screen",fields:lt.fields});lt.fields.forEach(([Ht,st])=>Q.push({expr:`${J.bindId}:${Re.id}${lt.many?"[*]":""}.${Ht}`,label:`${J.label} · ${En(Ht)}`,name:Ht,type:lt.many?st+"[]":st,group:"screen"}))}else if(lt.via){let Ht=se.slots.find((st)=>st.id===lt.via);Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"pending",group:"screen",waitsFor:`${J.label} · ${Ht?.label??lt.via}`})}else Q.push({expr:`${J.bindId}:${Re.id}`,label:J.label+(Re.label&&w(se).length+1<se.slots.length?` · ${Re.label}`:""),name:J.label,type:lt.many?"list":lt.type??"any",group:"screen"})})}),K.context.forEach((J)=>{let se=ie(J);if(J.many)Q.push({expr:`$context.${J.id}`,label:J.label,type:"list",group:"context",fields:se.fields});se.fields.forEach(([Re,lt])=>Q.push({expr:`$context.${J.id}${J.many?"[*]":""}.${Re}`,label:`${J.label} · ${En(Re)}`,name:Re,type:J.many?lt+"[]":lt,group:"context"}))}),g.forEach((J)=>Ms(J.schema).forEach(([se,Re])=>Q.push({expr:`$${J.id}.${se}`,label:`${J.label} · ${En(se)}`,name:`${J.label} ${se}`,type:Re,group:"provider"}))),Q}function Ee(q,te,Q,K=0.65){let J=[];for(let se of Q){if(se.type==="list"||se.waitsFor)continue;let Re=P(te,se.type);if(!Re.ok)continue;let lt=Math.max(H(q,se.name??se.label),H(q,se.label)*0.9);if(se.group==="screen")lt+=0.12;else if(se.group==="item")lt+=0.05;if(Re.transform)lt-=0.05;if(lt>=K)J.push({expr:se.expr+(Re.transform?` | ${Re.transform}()`:""),score:lt,source:se})}return J.sort((se,Re)=>Re.score-se.score)}function xe(q,te,Q){return Ee(q,te,Q)[0]??null}function ot(q,te){let Q=q.split("/").filter(Boolean),K=Q[Q.length-1];if(Xp(K).length>1)return K;if(Q[0]==="body")return Q.length>2?`${Q[Q.length-2]} ${K}`:K;let J=te.path.split("/").filter((se)=>se&&!se.startsWith("{"));return`${J[J.length-1]??""} ${K}`}function Fn(q,te){let Q={};return q.req.forEach(([K,J])=>{let se=xe(ot(K,q.op),J,te);if(se)Q[K]=se.expr}),Q}function le(q,te){let Q={},K=te.map(([J,se])=>({expr:`$item.${J}`,name:J,label:J,type:se,group:"item"}));return q.forEach(([J,se])=>{let Re=xe(J,se,K);if(Re)Q[J]=Re.expr}),Q}function Oe(q,te){let Q=Me(q);return Ne(q,{item:te??(Q?ie(Q).fields:void 0)})}function Ae(q,te,Q){let K=T(q),J=R([te.label,...Q.hints?.keywords??[]].join(" "),!0),se=R([K.label,...K.path].join(" "),!0),Re=(st)=>{let qt=R([st.id,...st.tags].join(" "),!1);if(!qt.size)return{score:0,near:!1};let wt=0,fa=0;return qt.forEach((an)=>{if(J.has(an))wt++;else if(se.has(an))fa++}),{score:Math.min(1,(wt+0.5*fa)/qt.size),near:wt>0}},lt=Q.role==="trigger"?Oe(q):Ne(q),Ht=lt.filter((st)=>st.group==="screen"&&st.type!=="list").length||1;return c.map((st)=>{let qt=[],wt=0,fa=0,an=(oe,mn,An)=>{if(wt+=oe*mn,fa+=oe,mn>=0.5&&An)qt.push(An)},Ot=st.op,ql=Fn(st,lt);if(Q.role==="consume"){let oe=G(q,te,Q),mn=oe.many?st.lists.length?1:0:oe.fields?.length?st.one||st.lists.length?0.7:0:st.scalars.some(([,An])=>P(oe.type??"any",An).ok)||st.one?0.7:0;an(0.3,mn,oe.many?"Returns a list":"Returns a matching value"),an(0.15,Ot.intent==="read"?1:Ot.intent?0:0.5,Ot.intent==="read"?"Reads data":null)}else{an(0.2,st.req.length?0.8:0.2,null),an(0.15,Ot.intent==="write"?1:Ot.intent==="read"?0.1:0.5,Ot.intent==="write"?"Saves data":null);let oe=st.req.filter(([An])=>An.startsWith("/body/")),mn=Object.entries(ql).filter(([An,sl])=>An.startsWith("/body/")&&!sl.startsWith("$")).length;an(0.3,oe.length?Math.min(1,mn/Math.min(Ht,oe.length)):0,mn?`Uses ${mn} values from this screen`:null)}let Xa=st.req.filter((oe)=>oe[2]);if(Xa.length){let oe=Xa.filter(([mn])=>ql[mn]).length;an(0.25,oe/Xa.length,oe===Xa.length?"All required inputs available":null)}else an(0.25,1,null);if(Ot.product)an(0.1,Ot.product===K.path[0]?1:0,Ot.product===K.path[0]?`From ${Ot.product}`:null);let ze=Re(Ot);return an(0.35,ze.score,ze.score>=0.5?ze.near?`Name fits “${te.label}”`:"Name fits this screen":null),{view:st,score:fa?wt/fa:0,reasons:qt}}).sort((st,qt)=>qt.score-st.score)}function Ye(q,te,Q){let K=C(q,te,Q);return!K?"unbound":K.state==="confirmed"?"bound":"suggested"}function Ce(q,te){let Q=w(B(te));if(!Q.length)return"bound";let K=Q.map((se)=>Ye(q,te.bindId,se.id));if(K.includes("suggested"))return"suggested";if(K.every((se)=>se==="bound"))return"bound";let J=Q.filter((se)=>se.required);if(J.length&&J.every((se)=>Ye(q,te.bindId,se.id)==="bound")&&K.includes("bound"))return"bound";return K.includes("bound")?"partial":"unbound"}function kn(q){let te={bound:0,suggested:0,unbound:0,total:0};return q.forEach((Q)=>Q.components.forEach((K)=>{if(!w(B(K)).length)return;let J=Ce(Q.id,K);te[J==="partial"?"unbound":J]++,te.total++})),te}let L=(q,te)=>te==="$"?q.one??[]:q.lists.find((Q)=>Q.select===te)?.fields??[];function ye(q,te,Q,K,J=!1){let se=r.get(K);if(!se)return null;let Re=G(q,te,Q),lt=Re.fields&&!Re.via?Re.fields:null,Ht;if(Re.many)Ht=se.lists[0]?.select;else if(lt)Ht=se.one?"$":se.lists[0]?.select;else{let st=se.scalars.map(([qt,wt])=>({expr:qt,label:En(qt),name:qt.slice(2),type:wt,group:"item"}));if(Ht=(Ee(Q.label,Re.type??"any",st)[0]??Ee(`${te.label} ${Q.label}`,Re.type??"any",st)[0])?.expr.split(" | ")[0],!Ht&&!J)Ht=se.scalars.find(([,qt])=>P(Re.type??"any",qt).ok)?.[0]}if(!Ht){if(J)return null;Ht="$"}return{component:te.bindId,slot:Q.id,type:"operation",operation:K,select:Ht,request:Fn(se,Ne(q)),map:lt?le(lt,L(se,Ht)):void 0,load:"open",origin:"suggested",state:"draft"}}function Se(q,te,Q,K){return w(B(te)).filter((J)=>J.role==="consume"&&!J.scope&&J.id!==Q.id&&!C(q,te.bindId,J.id)).map((J)=>ye(q,te,J,K,!0)).filter((J)=>!!J)}return{fw:l,OPV:r,OPS:c,DESC:f,SCR:p,getB:C,screen:T,compOf:E,descOf:B,bindable:w,typeFit:P,shapeOf:G,contextShape:ie,scopeFields:W,sources:Ne,triggerSources:Oe,bestSource:xe,rankSources:Ee,proposeRequest:Fn,proposeMap:le,rank:Ae,slotState:Ye,compState:Ce,tally:kn,manyContext:Me,fieldsAt:L,proposeConsume:ye,siblingFills:Se}}function u2(l){let s=new Set(l.descriptors.map((m)=>m.kind)),r=[],c=new Set(l.registry.screens.map((m)=>m.id)),f=new Set,p=l.registry.screens.map((m)=>{if(!J0.test(m.id))return r.push({severity:"error",screen:m.id,code:"registry.invalid-id",message:`Screen id "${m.id}" must be lowercase kebab-case segments joined by dots.`}),{...m,components:[]};let g=m.components.filter((S)=>{if(!J0.test(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.invalid-id",message:`Component id "${S.bindId}" must be lowercase kebab-case segments joined by dots.`}),!1;if(!s.has(S.kind))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.unknown-kind",message:`"${S.label}" uses ${S.kind}, which has no descriptor.`}),!1;if(f.has(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.duplicate-id",message:`Component id "${S.bindId}" is used twice.`}),!1;return f.add(S.bindId),!0}).filter((S)=>!S.parent||f.has(S.parent)||(r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.missing-parent",message:`"${S.label}" names a parent that is not on the screen.`}),!1)),v=m.parent&&c.has(m.parent)?m.parent:void 0;return{...m,components:g,parent:v}});return{registry:{...l.registry,screens:p},issues:r}}var W0=me(en(),1);var P0=me(Ke(),1);function Kp({open:l,children:s}){return P0.jsx("div",{className:"abs-collapse"+(l?" is-open":""),"aria-hidden":!l,children:P0.jsx("div",{className:"abs-collapse-in",children:s})})}var ee=me(Ke(),1),iD={search:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"7.25",cy:"7.25",r:"4.5"}),ee.jsx("path",{d:"m13.5 13.5-2.9-2.9"})]}),check:ee.jsx("path",{d:"m3.5 8.25 3 3 6-6.5"}),bound:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"m5.6 8.1 1.7 1.7 3.2-3.4"})]}),suggested:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2",fill:"currentColor",stroke:"none"})]}),partial:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 2a6 6 0 0 1 0 12z",fill:"currentColor",stroke:"none"})]}),unbound:ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),data:ee.jsxs(ee.Fragment,{children:[ee.jsx("ellipse",{cx:"8",cy:"4",rx:"5",ry:"1.75"}),ee.jsx("path",{d:"M3 4v8c0 .97 2.24 1.75 5 1.75s5-.78 5-1.75V4M3 8c0 .97 2.24 1.75 5 1.75S13 8.97 13 8"})]}),action:ee.jsx("path",{d:"M8.75 1.75 3.75 9h4.5l-1 5.25 5-7.25h-4.5z"}),row:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"2",y:"3",width:"12",height:"10",rx:"2"}),ee.jsx("path",{d:"M2 7h12"})]}),plus:ee.jsx("path",{d:"M8 3.25v9.5M3.25 8h9.5"}),chevronRight:ee.jsx("path",{d:"m6.25 3.75 4.25 4.25-4.25 4.25"}),chevronDown:ee.jsx("path",{d:"m3.75 6.25 4.25 4.25 4.25-4.25"}),close:ee.jsx("path",{d:"m4.25 4.25 7.5 7.5M11.75 4.25l-7.5 7.5"}),screen:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("path",{d:"M1.75 6h12.5"})]}),dialog:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("rect",{x:"4.75",y:"6",width:"6.5",height:"4.5",rx:"1"})]}),api:ee.jsx("path",{d:"M5.25 4.5 1.75 8l3.5 3.5M10.75 4.5 14.25 8l-3.5 3.5M9.25 3l-2.5 10"}),trash:ee.jsx("path",{d:"M2.75 4.25h10.5M6.25 4.25v-1.5h3.5v1.5M4.25 4.25l.6 8.5a1 1 0 0 0 1 .9h4.3a1 1 0 0 0 1-.9l.6-8.5"}),link:ee.jsx("path",{d:"M6.75 9.25a2.75 2.75 0 0 0 3.9 0l2-2a2.75 2.75 0 0 0-3.9-3.9l-.6.6M9.25 6.75a2.75 2.75 0 0 0-3.9 0l-2 2a2.75 2.75 0 0 0 3.9 3.9l.6-.6"}),repeat:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"m11.25 1.75 2 2-2 2"}),ee.jsx("path",{d:"M2.75 7.5v-.75a3 3 0 0 1 3-3h7.5M4.75 14.25l-2-2 2-2"}),ee.jsx("path",{d:"M13.25 8.5v.75a3 3 0 0 1-3 3h-7.5"})]}),arrowLeft:ee.jsx("path",{d:"M13 8H3m4-4L3 8l4 4"}),component:ee.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"2"}),pointer:ee.jsx("path",{d:"m3.25 3.25 3.5 9.5 1.5-4 4-1.5zM8.75 8.75l3.5 3.5"}),refresh:ee.jsx("path",{d:"M13.25 8A5.25 5.25 0 1 1 11.7 4.3M13.25 2.5v2.75H10.5"}),list:ee.jsx("path",{d:"M5.75 4h7.5M5.75 8h7.5M5.75 12h7.5M2.75 4h.01M2.75 8h.01M2.75 12h.01"}),todo:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),ee.jsx("path",{d:"M8 5.5V8l1.75 1.25"})]}),target:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"3"}),ee.jsx("circle",{cx:"8",cy:"8",r:".6",fill:"currentColor"})]}),apply:ee.jsx("path",{d:"M12.75 3.25v3.5a2 2 0 0 1-2 2h-7.5m3-3-3 3 3 3"}),info:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 7.25v3.5M8 5.25h.01"})]}),settings:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"M6.6 1.75h2.8l.4 1.7 1.3.75 1.65-.55 1.4 2.43-1.25 1.17v1.5l1.25 1.17-1.4 2.43-1.65-.55-1.3.75-.4 1.7H6.6l-.4-1.7-1.3-.75-1.65.55-1.4-2.43 1.25-1.17v-1.5L1.85 6.08l1.4-2.43 1.65.55 1.3-.75z"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2"})]}),download:ee.jsx("path",{d:"M8 2.75v7.5m-3-3 3 3 3-3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),upload:ee.jsx("path",{d:"M8 10.25v-7.5m-3 3 3-3 3 3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),alert:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 5v3.25M8 10.75h.01"})]})};function be({name:l,size:s=16,className:r}){return ee.jsx("svg",{className:"abs-ico "+(r??""),width:s,height:s,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:iD[l]})}function tc({svg:l}){if(l&&/^\s*<svg[\s>]/i.test(l)){let s=/xmlns=/.test(l)?l:l.replace(/<svg/i,'<svg xmlns="http://www.w3.org/2000/svg"'),r=`url("data:image/svg+xml,${encodeURIComponent(s)}")`;return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx("span",{className:"abs-kico-m",style:{maskImage:r,WebkitMaskImage:r}})})}return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx(be,{name:"component"})})}var F0={bound:"Connected",suggested:"Needs review",partial:"Partly connected",unbound:"Not connected"},f2=(l)=>F0[l];function nc({state:l,size:s=16}){return ee.jsxs("span",{className:`abs-state abs-state-${l}`,title:F0[l],children:[ee.jsx(be,{name:l,size:s}),ee.jsx("span",{className:"abs-sr",children:F0[l]})]})}function d2({done:l,total:s,size:r=18,stroke:c=2.5}){let f=s?l/s:0;if(r<=16){let g=r/4-0.25,v=2*Math.PI*g,S=r/2;return ee.jsxs("svg",{className:"abs-ring abs-pie"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:S,cy:S,r:S-0.75,strokeWidth:1.5,className:"abs-ring-bg"}),ee.jsx("circle",{cx:S,cy:S,r:g,strokeWidth:g*2,className:"abs-ring-fg",strokeDasharray:v,strokeDashoffset:v*(1-f),transform:`rotate(-90 ${S} ${S})`})]})}let p=(r-c)/2,m=2*Math.PI*p;return ee.jsxs("svg",{className:"abs-ring"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-bg"}),ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-fg",strokeDasharray:m,strokeDashoffset:m*(1-f),transform:`rotate(-90 ${r/2} ${r/2})`})]})}var Bl=me(en(),1),p2=me(Ke(),1);function xi(l){let s=Bl.useRef(null),r=Bl.useRef(null),c=Bl.useCallback((m)=>{let g=s.current,v=r.current;if(!g||!v)return;if(!m){v.style.opacity="0";return}let S=m.getBoundingClientRect(),A=g.getBoundingClientRect(),C=v.style.opacity!=="1";v.style.transition=C?"opacity 120ms ease":"",v.style.transform=`translate(${S.left-A.left+g.scrollLeft}px, ${S.top-A.top+g.scrollTop}px)`,v.style.width=`${S.width}px`,v.style.height=`${S.height}px`,v.style.opacity="1"},[]);Bl.useEffect(()=>{if(l!==void 0)c(l)},[l,c]);let f=Bl.useMemo(()=>({onPointerOver:(m)=>{if(l!==void 0)return;c(m.target.closest("[data-glide]"))},onPointerLeave:()=>{if(l===void 0)c(null)}}),[l,c]);return{ref:s,handlers:f,indicator:p2.jsx("span",{ref:r,className:"abs-glide","aria-hidden":"true"}),moveTo:c}}var Pe=me(Ke(),1);function h2({engine:l,screen:s,selected:r,onSelect:c}){let[f,p]=W0.useState(!1),[m,g]=W0.useState({}),v=s.components.filter((R)=>l.bindable(l.descOf(R)).length),S=new Map;v.forEach((R)=>{if(R.parent)S.set(R.parent,[...S.get(R.parent)??[],R])});let A=(R)=>S.get(R)??[],C=l.tally([s]),T=(R)=>l.compState(s.id,R)!=="bound",E=(R)=>!f||T(R)||A(R.bindId).some(E),B=xi(),w=(R,H)=>{let Y=A(R.bindId).filter(E),P=m[R.bindId]??!0,ce=l.descOf(R);return Pe.jsxs("div",{role:"listitem",children:[Pe.jsxs("div",{"data-glide":!0,className:"abs-comp"+(R.bindId===r?" is-on":""),style:{paddingLeft:8+H*24},children:[Y.length?Pe.jsx("button",{type:"button",className:"abs-iconbtn abs-twist",onClick:()=>g((G)=>({...G,[R.bindId]:!P})),"aria-label":P?"Collapse":"Expand","aria-expanded":P,children:Pe.jsx(be,{name:"chevronRight",size:14,className:P?"abs-rot90":""})}):Pe.jsx("span",{className:"abs-twist"}),Pe.jsxs("button",{type:"button",className:"abs-comp-main",onClick:()=>c(R.bindId),"aria-current":R.bindId===r?"true":void 0,children:[Pe.jsx(tc,{svg:ce.icon}),Pe.jsx("span",{className:"abs-comp-l",children:R.label}),Pe.jsxs("span",{className:"abs-comp-k",children:[ce.label,Y.length?` · ${Y.length}`:""]}),Pe.jsx(nc,{state:l.compState(s.id,R)})]})]}),Y.length>0&&Pe.jsx(Kp,{open:P,children:Y.map((G)=>w(G,H+1))})]},R.bindId)},z=v.filter(T).length;return Pe.jsxs("div",{className:"abs-center abs-scroll",children:[Pe.jsxs("header",{className:"abs-screen-h",children:[Pe.jsxs("div",{className:"abs-screen-t",children:[Pe.jsx("div",{className:"abs-crumbs",children:[...s.path,...s.parent?[l.SCR.get(s.parent)?.label]:[]].join(" / ")}),Pe.jsx("h1",{children:s.label})]}),Pe.jsxs("div",{className:"abs-progress",children:[Pe.jsx(d2,{done:C.bound,total:C.total,size:36,stroke:3.5}),Pe.jsxs("div",{children:[Pe.jsxs("b",{children:[C.bound,Pe.jsxs("span",{children:["/",C.total]})]}),Pe.jsx("small",{children:"connected"})]})]})]}),Pe.jsxs("div",{className:"abs-seg",role:"group","aria-label":"Show",children:[Pe.jsx("span",{className:"abs-seg-thumb",style:{transform:`translateX(${f?100:0}%)`},"aria-hidden":"true"}),Pe.jsxs("button",{type:"button",className:!f?"is-on":"",onClick:()=>p(!1),"aria-pressed":!f,children:[Pe.jsx(be,{name:"list",size:14}),"All",Pe.jsx("span",{children:v.length})]}),Pe.jsxs("button",{type:"button",className:f?"is-on":"",onClick:()=>p(!0),"aria-pressed":f,children:[Pe.jsx(be,{name:"todo",size:14}),"To do",Pe.jsx("span",{children:z})]})]}),Pe.jsxs("div",{className:"abs-comps abs-glide-box",role:"list",ref:B.ref,...B.handlers,children:[B.indicator,v.filter((R)=>!R.parent&&E(R)).map((R)=>w(R,0)),f&&!z&&Pe.jsxs("div",{className:"abs-done",children:[Pe.jsx(be,{name:"bound",size:24}),Pe.jsx("b",{children:"Everything here is connected"})]})]})]})}var ra=me(en(),1);var dn=me(Ke(),1);function m2({engine:l,onGo:s}){let[r,c]=ra.useState(""),[f,p]=ra.useState(!1),[m,g]=ra.useState(0),v=ra.useRef(null),S=ra.useRef(null),A=xi(null),C=A.ref,T=ra.useMemo(()=>l.fw.registry.screens.flatMap((R)=>[{hit:{screen:R},text:[R.label,...R.path].join(" ").toLowerCase()},...R.components.filter((H)=>l.bindable(l.descOf(H)).length).map((H)=>({hit:{screen:R,comp:H},text:[H.label,l.descOf(H).label,R.label].join(" ").toLowerCase()}))]),[l.fw]),E=ra.useMemo(()=>{let R=r.trim().toLowerCase().split(/\s+/).filter(Boolean);if(!R.length)return[];return T.filter((H)=>R.every((Y)=>H.text.includes(Y))).sort((H,Y)=>Number(!H.text.startsWith(R[0]))-Number(!Y.text.startsWith(R[0]))).slice(0,40).map((H)=>H.hit)},[r,T]);ra.useEffect(()=>{let R=(Y)=>{if((Y.metaKey||Y.ctrlKey)&&Y.key.toLowerCase()==="k")Y.preventDefault(),v.current?.focus(),p(!0)},H=(Y)=>{if(!S.current?.contains(Y.target))p(!1)};return window.addEventListener("keydown",R),document.addEventListener("pointerdown",H),()=>{window.removeEventListener("keydown",R),document.removeEventListener("pointerdown",H)}},[]),ra.useEffect(()=>g(0),[r]),ra.useEffect(()=>{let R=C.current?.querySelector(`[data-i="${m}"]`)??null;R?.scrollIntoView({block:"nearest"}),A.moveTo(R)},[m,E,C,A]);let B=(R)=>{s(R.screen.id,R.comp?.bindId),p(!1),c(""),v.current?.blur()},w=(R)=>{if(R.key==="ArrowDown")R.preventDefault(),g((H)=>Math.min(E.length-1,H+1));else if(R.key==="ArrowUp")R.preventDefault(),g((H)=>Math.max(0,H-1));else if(R.key==="Enter"&&E[m])B(E[m]);else if(R.key==="Escape"&&(z||r))R.preventDefault(),p(!1),c("")},z=f&&r.trim().length>0;return dn.jsxs("div",{className:"abs-find",ref:S,children:[dn.jsxs("div",{className:"abs-find-box",children:[dn.jsx(be,{name:"search",className:"abs-c-muted"}),dn.jsx("input",{ref:v,value:r,onChange:(R)=>{c(R.target.value),p(!0)},onFocus:()=>p(!0),onKeyDown:w,placeholder:"Find a component or screen","aria-label":"Find a component or screen",role:"combobox","aria-expanded":z,"aria-controls":"abs-find-list"}),dn.jsx("kbd",{children:"Ctrl K"})]}),dn.jsxs("div",{className:"abs-pop abs-find-pop abs-glide-box"+(z?" is-open":""),role:"listbox",id:"abs-find-list",ref:C,children:[A.indicator,z&&!E.length?dn.jsxs("div",{className:"abs-empty-sm",children:["Nothing matches “",r,"”. Try a screen or component name."]}):null,z?E.map((R,H)=>{let Y=R.comp&&l.descOf(R.comp);return dn.jsxs("div",{"data-i":H,role:"option","aria-selected":H===m,className:"abs-opt"+(H===m?" is-active":""),onPointerEnter:()=>g(H),onPointerDown:(P)=>{P.preventDefault(),B(R)},children:[R.comp?dn.jsx(tc,{svg:Y?.icon}):dn.jsx("span",{className:"abs-kico",children:dn.jsx(be,{name:R.screen.parent?"dialog":"screen"})}),dn.jsxs("span",{className:"abs-opt-t",children:[dn.jsx("span",{children:R.comp?.label??R.screen.label}),dn.jsx("code",{children:R.comp?`${Y?.label} · ${R.screen.label}`:R.screen.path.join(" / ")})]}),R.comp?dn.jsx(nc,{state:l.compState(R.screen.id,R.comp)}):dn.jsx("span",{className:"abs-nav-count",children:sD(l.tally([R.screen]))})]},R.screen.id+(R.comp?.bindId??""))}):null]})]})}var sD=(l)=>`${l.bound}/${l.total}`;var Kn=me(en(),1);var ac=me(Ke(),1);function rD(l,s,r,c=8,f=8){let p=l.top-c-s.height>=f||l.bottom+c+s.height>r.height-f?"top":"bottom",m=p==="top"?l.top-c-s.height:l.bottom+c,g=l.left+l.width/2-s.width/2,v=Math.min(Math.max(g,f),Math.max(f,r.width-f-s.width));return{top:Math.max(f,m),left:v,side:p}}var cD=250;function g2({text:l}){let s=Kn.useId(),r=Kn.useRef(null),c=Kn.useRef(null),f=Kn.useRef(void 0),[p,m]=Kn.useState(!1),g=Kn.useCallback((S)=>{clearTimeout(f.current),f.current=setTimeout(()=>m(!0),S)},[]),v=Kn.useCallback(()=>{clearTimeout(f.current),m(!1)},[]);return Kn.useEffect(()=>()=>clearTimeout(f.current),[]),Kn.useLayoutEffect(()=>{let S=c.current,A=r.current;if(!p||!S||!A)return;S.showPopover();let C=rD(A.getBoundingClientRect(),S.getBoundingClientRect(),{width:innerWidth,height:innerHeight});S.style.top=`${C.top}px`,S.style.left=`${C.left}px`,S.dataset.side=C.side;let T=(E)=>{if(E.key==="Escape")E.preventDefault(),v()};return addEventListener("scroll",v,!0),addEventListener("resize",v),addEventListener("keydown",T),()=>{if(removeEventListener("scroll",v,!0),removeEventListener("resize",v),removeEventListener("keydown",T),S.matches(":popover-open"))S.hidePopover()}},[p,v]),ac.jsxs("span",{className:"abs-tip",children:[ac.jsx("button",{ref:r,type:"button",className:"abs-tip-btn","aria-describedby":s,"aria-label":"More information",onClick:(S)=>S.stopPropagation(),onPointerEnter:()=>g(cD),onPointerLeave:v,onFocus:(S)=>{if(S.currentTarget.matches(":focus-visible"))g(0)},onBlur:v,children:ac.jsx(be,{name:"info",size:14})}),ac.jsx("span",{ref:c,role:"tooltip",id:s,popover:"manual",className:"abs-tip-body",children:l})]})}var Fp=me(en(),1);var Tn=me(en(),1);var at=me(Ke(),1),Zp=(l)=>l.op.summary?.trim()||`${l.op.method} ${l.op.path}`;function y2({method:l}){return at.jsx("span",{className:`abs-method abs-method-${l.toLowerCase()}`,children:l})}function oc({engine:l,ranked:s,value:r,onPick:c,label:f="Choose API",autoOpen:p=!1}){let[m,g]=Tn.useState(p),[v,S]=Tn.useState(""),[A,C]=Tn.useState(0),T=Tn.useRef(null),E=xi(null),B=E.ref,w=Tn.useId(),z=Tn.useMemo(()=>m?s().filter((G)=>G.score>=0.4).slice(0,3):[],[m,s]),R=Tn.useMemo(()=>{if(!m)return[];let G=v.trim().toLowerCase(),ie=(Ee)=>!G||[Ee.op.id,Ee.op.summary,Ee.op.path,...Ee.op.tags].join(" ").toLowerCase().includes(G),W=[];if(!G)z.forEach((Ee)=>W.push({v:Ee.view,best:Ee,group:"Best matches"}));let Me=new Set(W.map((Ee)=>Ee.v.op.id)),Ne=(Ee)=>[Ee.op.product,Ee.op.tags[0]??"Other"].filter(Boolean).join(" · ");return[...l.OPS].sort((Ee,xe)=>Ne(Ee).localeCompare(Ne(xe))||Zp(Ee).localeCompare(Zp(xe))).forEach((Ee)=>{if(!Me.has(Ee.op.id)&&ie(Ee))W.push({v:Ee,group:Ne(Ee)})}),W},[m,v,z,l]);Tn.useEffect(()=>{if(!m)return;let G=(ie)=>{if(!T.current?.contains(ie.target))g(!1)};return document.addEventListener("pointerdown",G),()=>document.removeEventListener("pointerdown",G)},[m]),Tn.useEffect(()=>{C(0)},[v,m]),Tn.useEffect(()=>{let G=B.current?.querySelector(`[data-i="${A}"]`)??null;G?.scrollIntoView({block:"nearest"}),E.moveTo(G)},[A,R,B,E]);let H=(G)=>{c(G),g(!1),S("")},Y=(G)=>{if(G.key==="ArrowDown")G.preventDefault(),C((ie)=>Math.min(R.length-1,ie+1));else if(G.key==="ArrowUp")G.preventDefault(),C((ie)=>Math.max(0,ie-1));else if(G.key==="Enter"&&R[A])G.preventDefault(),H(R[A].v.op.id);else if(G.key==="Escape")G.preventDefault(),g(!1)},P=r?l.OPV.get(r):void 0,ce="";return at.jsxs("div",{className:"abs-picker",ref:T,children:[P?at.jsxs("button",{type:"button",className:"abs-opcard",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(y2,{method:P.op.method}),at.jsxs("span",{className:"abs-opcard-t",children:[at.jsx("b",{children:Zp(P)}),at.jsx("code",{children:P.op.path})]}),at.jsx("span",{className:"abs-link",children:"Change"})]}):at.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(be,{name:"api"})," ",f]}),m?at.jsxs("div",{className:"abs-pop",role:"dialog","aria-label":"Choose an API",children:[at.jsxs("div",{className:"abs-pop-search",children:[at.jsx(be,{name:"search"}),at.jsx("input",{autoFocus:!0,value:v,onChange:(G)=>S(G.target.value),onKeyDown:Y,placeholder:`Search ${l.OPS.length} APIs`,role:"combobox","aria-expanded":"true","aria-controls":w,"aria-activedescendant":R[A]?`${w}-${A}`:void 0})]}),at.jsxs("div",{className:"abs-pop-list abs-glide-box",ref:B,id:w,role:"listbox",children:[E.indicator,R.length===0?at.jsxs("div",{className:"abs-empty-sm",children:["No API matches “",v,"”. Search by name, path or tag."]}):null,R.map((G,ie)=>{let W=G.group!==ce?ce=G.group:null;return at.jsxs(Tn.Fragment,{children:[W?at.jsx("div",{className:"abs-pop-group",role:"presentation",children:W==="Best matches"?at.jsxs(at.Fragment,{children:[at.jsx(be,{name:"target",size:12})," Best matches"]}):W}):null,at.jsxs("div",{id:`${w}-${ie}`,"data-i":ie,role:"option","aria-selected":ie===A,className:"abs-opt"+(ie===A?" is-active":"")+(G.v.op.id===r?" is-current":""),onPointerEnter:()=>C(ie),onPointerDown:(Me)=>{Me.preventDefault(),H(G.v.op.id)},children:[at.jsx(y2,{method:G.v.op.method}),at.jsxs("span",{className:"abs-opt-t",children:[at.jsx("span",{children:Zp(G.v)}),at.jsx("code",{children:G.v.op.path})]}),G.v.op.id===r?at.jsx(be,{name:"check",className:"abs-c-accent"}):null]})]},G.group+G.v.op.id)})]}),R[A]?.best?.reasons.length?at.jsxs("div",{className:"abs-pop-why","aria-live":"polite",children:[at.jsx(be,{name:"info",size:14}),at.jsxs("span",{children:[at.jsx("b",{children:"Why suggested:"})," ",R[A].best.reasons.join(" · ")]})]}):null]}):null]})}var S2=me(en(),1);var b2={item:"Row",screen:"This screen",context:"Passed in",provider:"App"};var Ll=me(Ke(),1);function v2({engine:l,value:s,type:r,sources:c,onChange:f,id:p}){let m=c.filter((A)=>A.waitsFor),g=c.filter((A)=>A.type!=="list"&&!A.waitsFor).map((A)=>({s:A,fit:l.typeFit(r,A.type)})).filter((A)=>A.fit.ok),v=new Map;g.forEach((A)=>{let C=b2[A.s.group];v.set(C,[...v.get(C)??[],A])});let S=!s||g.some((A)=>A.s.expr+(A.fit.transform?` | ${A.fit.transform}()`:"")===s);return Ll.jsxs("select",{id:p,className:"abs-select"+(s?"":" is-empty"),value:s??"",onChange:(A)=>f(A.target.value||void 0),children:[Ll.jsx("option",{value:"",children:"Not set"}),!S&&Ll.jsx("option",{value:s,children:s}),[...v].map(([A,C])=>Ll.jsx("optgroup",{label:A,children:C.map(({s:T,fit:E})=>Ll.jsx("option",{value:T.expr+(E.transform?` | ${E.transform}()`:""),children:T.label},T.expr))},A)),m.length>0&&Ll.jsx("optgroup",{label:"Connect first",children:m.map((A)=>Ll.jsxs("option",{disabled:!0,children:[A.label,": connect ",A.waitsFor]},A.expr))})]})}var ca=me(Ke(),1);function Pp({engine:l,view:s,request:r,sources:c,onChange:f,idp:p}){let m=[...s.req].sort((w,z)=>Number(z[2])-Number(w[2])),g=m.filter((w)=>w[2]),v=m.filter((w)=>!w[2]),S=m.filter(([w])=>r[w]).length,[A,C]=S2.useState(!1);if(!m.length)return null;let T=([w,z,R])=>ca.jsxs("div",{className:"abs-map-row",children:[ca.jsxs("label",{htmlFor:p+w,title:w,children:[En(w),R&&ca.jsx("span",{className:"abs-req","aria-label":"required",children:"*"})]}),ca.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),ca.jsx(v2,{engine:l,id:p+w,type:z,value:r[w],sources:c,onChange:(H)=>{let Y={...r};if(H)Y[w]=H;else delete Y[w];f(Y)}})]},w),E=v.filter(([w])=>A||r[w]),B=g.length+E.length;return ca.jsxs("div",{className:"abs-block",children:[B>0&&ca.jsxs("div",{className:"abs-block-h",children:[ca.jsx("span",{children:"Sends"}),ca.jsxs("span",{className:"abs-count",children:[S,"/",m.length]})]}),B>0&&ca.jsxs("div",{className:"abs-map",children:[g.map(T),E.map(T)]}),v.length>E.length&&ca.jsxs("button",{type:"button",className:"abs-link abs-more",onClick:()=>C(!0),children:[ca.jsx(be,{name:"plus",size:14})," ",B?`${v.length-E.length} more inputs`:`Add inputs (${v.length} optional)`]})]})}var Tt=me(Ke(),1);function E2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=s.shapeOf(r,c,f),v=Fp.useCallback(()=>s.rank(r,c,f),[s,r,c,f]),S=Fp.useMemo(()=>s.sources(r),[s,r]),A=m?.type==="operation"?m:void 0,C=A?s.OPV.get(A.operation):void 0,T=(R)=>{let H=s.proposeConsume(r,c,f,R);if(!H)return;let Y=A?[]:s.siblingFills(r,c,f,R);[H,...Y].forEach(p)},E=s.fieldsAt,B=(R)=>A&&p({...A,...R,state:"draft"}),w=g.fields&&!g.via?g.fields:null,z=C?g.many||w?[...C.lists.map((R)=>[R.select,R.fields.length]),...C.one?[["$",0]]:[]]:C.scalars.map(([R])=>[R,0]):[];return Tt.jsxs(Tt.Fragment,{children:[Tt.jsx(oc,{engine:s,ranked:v,value:A?.operation,onPick:T}),C&&A&&Tt.jsxs(Tt.Fragment,{children:[z.length>1&&Tt.jsxs("div",{className:"abs-field",children:[Tt.jsx("label",{htmlFor:`sel-${c.bindId}-${f.id}`,children:g.many||w?"Use list":"Use value"}),Tt.jsx("select",{id:`sel-${c.bindId}-${f.id}`,className:"abs-select",value:A.select,onChange:(R)=>B({select:R.target.value,map:w?s.proposeMap(w,E(C,R.target.value)):void 0}),children:z.map(([R])=>Tt.jsx("option",{value:R,children:R==="$"?"Whole response":En(R)},R))})]}),w&&Tt.jsxs("div",{className:"abs-block",children:[Tt.jsx("div",{className:"abs-block-h",children:Tt.jsx("span",{children:"Shows"})}),Tt.jsx("div",{className:"abs-map",children:w.map(([R,H])=>Tt.jsxs("div",{className:"abs-map-row",children:[Tt.jsx("label",{htmlFor:`map-${c.bindId}-${R}`,children:En(R)}),Tt.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),Tt.jsxs("select",{id:`map-${c.bindId}-${R}`,className:"abs-select"+(A.map?.[R]?"":" is-empty"),value:A.map?.[R]??"",onChange:(Y)=>{let P={...A.map??{}};if(Y.target.value)P[R]=Y.target.value;else delete P[R];B({map:P})},children:[Tt.jsx("option",{value:"",children:"Not set"}),E(C,A.select).map(([Y,P])=>[Y,s.typeFit(H,P)]).filter(([,Y])=>Y.ok).map(([Y,P])=>Tt.jsx("option",{value:`$item.${Y}${P.transform?` | ${P.transform}()`:""}`,children:En(Y)},Y))]})]},R))})]}),Tt.jsx(Pp,{engine:s,view:C,request:A.request,sources:S,onChange:(R)=>B({request:R}),idp:`req-${c.bindId}-${f.id}`}),Tt.jsxs("div",{className:"abs-field abs-field-inline",children:[Tt.jsx("label",{htmlFor:`load-${c.bindId}-${f.id}`,children:"Load"}),Tt.jsxs("select",{id:`load-${c.bindId}-${f.id}`,className:"abs-select abs-select-sm",value:A.load==="demand"?"demand":"open",onChange:(R)=>B({load:R.target.value}),children:[Tt.jsx("option",{value:"open",children:"When the screen opens"}),Tt.jsx("option",{value:"demand",children:"When first used"})]})]})]})]})}var pn=me(Ke(),1);function T2({engine:l,screen:s,comp:r,slot:c,put:f,goTo:p}){let m=l.getB(s,r.bindId,c.id),g=l.scopeFields(s,r,c),v=r.parent?l.compOf(s,r.parent):void 0;if(!g?.length)return pn.jsxs("div",{className:"abs-hint",children:[pn.jsx(be,{name:"link"}),pn.jsxs("span",{children:["Uses data from ",pn.jsx("b",{children:v?.label}),"."]}),v&&pn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:"Connect it first"})]});let S=l.shapeOf(s,r,c).type??"any",A=g.map(([E,B])=>({expr:`$item.${E}`,label:En(E),name:E,type:B,group:"item"})),C=!m?l.rankSources(r.label,S,A,0.45).slice(0,3):[],T=`scope-${r.bindId}-${c.id}`;return pn.jsxs(pn.Fragment,{children:[pn.jsxs("div",{className:"abs-field",children:[pn.jsxs("label",{htmlFor:T,children:["Field from ",v?.label]}),pn.jsxs("select",{id:T,className:"abs-select"+(m?"":" is-empty"),value:m?.value??"",onChange:(E)=>E.target.value&&f({component:r.bindId,slot:c.id,type:"expression",value:E.target.value,origin:"manual",state:"draft"}),children:[pn.jsx("option",{value:"",children:"Choose a field"}),A.filter((E)=>l.typeFit(S,E.type).ok).map((E)=>pn.jsx("option",{value:E.expr,children:E.label},E.expr))]})]}),C.length>0&&pn.jsx("div",{className:"abs-suggests",children:C.map((E)=>pn.jsxs("button",{type:"button",className:"abs-suggest",onClick:()=>f({component:r.bindId,slot:c.id,type:"expression",value:E.expr,origin:"suggested",state:"draft"}),children:[pn.jsx(be,{name:"apply",size:14})," ",E.source.label]},E.expr))})]})}var eh=me(en(),1);var Wp=me(en(),1);var $t=me(Ke(),1);function w2({engine:l,screen:s,comp:r,slot:c,step:f,index:p,total:m,onChange:g,onRemove:v,onMove:S}){let A=Wp.useCallback(()=>l.rank(s,r,c),[l,s,r,c]),C=l.manyContext(s),T=l.OPV.get(f.operation),E=Wp.useMemo(()=>f.forEach?l.triggerSources(s):l.sources(s),[l,s,f]);return $t.jsxs("div",{className:"abs-step",children:[$t.jsxs("div",{className:"abs-step-h",children:[$t.jsx("span",{className:"abs-step-n",children:p+1}),$t.jsx(be,{name:"api",className:"abs-c-muted"}),$t.jsx("span",{className:"abs-step-t",children:"Call API"}),$t.jsxs("span",{className:"abs-step-tools",children:[p>0&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(-1),"aria-label":"Move up",children:$t.jsx(be,{name:"chevronDown",className:"abs-rot180"})}),p<m-1&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(1),"aria-label":"Move down",children:$t.jsx(be,{name:"chevronDown"})}),$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:v,"aria-label":"Remove step",children:$t.jsx(be,{name:"trash"})})]})]}),T&&$t.jsxs("div",{className:"abs-step-b",children:[$t.jsx(oc,{engine:l,ranked:A,value:f.operation,onPick:(B)=>g({...f,operation:B,request:l.proposeRequest(l.OPV.get(B),E)})}),C&&$t.jsxs("label",{className:"abs-toggle",children:[$t.jsx("input",{type:"checkbox",checked:!!f.forEach,onChange:(B)=>g({...f,forEach:B.target.checked?`$context.${C.id}`:void 0})}),$t.jsx("span",{className:"abs-toggle-ui","aria-hidden":"true"}),$t.jsx(be,{name:"repeat",size:14,className:"abs-c-muted"})," Run for each ",$t.jsx("span",{className:"abs-toggle-of",children:C.label})]}),$t.jsx(Pp,{engine:l,view:T,request:f.request,sources:E,onChange:(B)=>g({...f,request:B}),idp:`st-${r.bindId}-${p}-`})]})]})}var xn=me(Ke(),1);function O2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=m?.type==="steps"?m.steps:[],[v,S]=eh.useState(!1),A=(w)=>w.length?p({component:c.bindId,slot:f.id,type:"steps",steps:w,origin:m?.origin??"manual",state:"draft"}):l.drop(),C=()=>p({component:c.bindId,slot:f.id,type:"none",origin:"manual",state:"confirmed"}),T=s.manyContext(r),E=eh.useCallback(()=>s.rank(r,c,f),[s,r,c,f]);if(m?.type==="none")return xn.jsxs("div",{className:"abs-hint",children:[xn.jsx(be,{name:"check"}),xn.jsx("span",{children:"Calls no API."})]});let B=(w)=>{let z=s.OPV.get(w),R=T?`$context.${T.id}`:void 0,H=1+Math.max(0,...g.map((Y)=>Number(Y.id.replace(/^s/,""))||0));A([...g,{type:"call",id:`s${H}`,operation:w,request:s.proposeRequest(z,s.triggerSources(r)),forEach:R,onError:"stop"}]),S(!1)};return xn.jsxs("div",{className:"abs-steps",children:[g.map((w,z)=>xn.jsx(w2,{...l,step:w,index:z,total:g.length,onChange:(R)=>A(g.map((H,Y)=>Y===z?R:H)),onRemove:()=>A(g.filter((R,H)=>H!==z)),onMove:(R)=>{let H=[...g];[H[z],H[z+R]]=[H[z+R],H[z]],A(H)}},z)),v?xn.jsxs("div",{className:"abs-addstep",children:[xn.jsx(oc,{engine:s,ranked:E,onPick:B,label:"Call API",autoOpen:!0}),xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:()=>S(!1),children:"Cancel"})]}):xn.jsxs(xn.Fragment,{children:[xn.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>S(!0),children:[xn.jsx(be,{name:"plus"})," ",g.length?"Call another API":"Call an API"]}),!g.length&&xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:C,children:"No API needed"})]})]})}var hn=me(Ke(),1),A2={consume:"Data this component shows. Pick the API that returns it.",scoped:"A value shown for each row. Pick the field from the row's data.",trigger:"What happens when this is used. Pick the API calls it makes, or mark it as calling none."};function C2(l){let{engine:s,screen:r,comp:c,slot:f}=l,p=s.slotState(r,c.bindId,f.id),m=s.getB(r,c.bindId,f.id),g=f.role==="trigger"?"trigger":f.scope?"scoped":"consume";return hn.jsxs("section",{className:`abs-slot abs-slot-${p}`,"aria-labelledby":`slot-${c.bindId}-${f.id}`,children:[hn.jsxs("header",{className:"abs-slot-h",children:[hn.jsx(be,{name:g==="trigger"?"action":g==="scoped"?"row":"data",className:"abs-c-muted"}),hn.jsxs("h3",{id:`slot-${c.bindId}-${f.id}`,children:[f.label,f.required?hn.jsx("span",{className:"abs-req","aria-label":"required",children:"*"}):null]}),hn.jsx(g2,{text:f.description?`${f.description}. ${A2[g]}`:A2[g]}),hn.jsxs("span",{className:`abs-pill abs-pill-${p}`,children:[hn.jsx(nc,{state:p,size:13}),f2(p)]})]}),hn.jsx("div",{className:"abs-slot-b",children:g==="trigger"?hn.jsx(O2,{...l}):g==="scoped"?hn.jsx(T2,{...l}):hn.jsx(E2,{...l})}),m?hn.jsxs("footer",{className:"abs-slot-f"+(p==="suggested"?"":" is-plain"),children:[p==="suggested"?hn.jsxs("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:()=>l.put({...m,state:"confirmed"}),children:[hn.jsx(be,{name:"check"})," Confirm"]}):null,hn.jsx("button",{type:"button",className:"abs-btn abs-btn-ghost",onClick:l.drop,children:p==="suggested"?"Discard":m.type==="none"?"Undo":"Disconnect"})]}):null]})}var zn=me(Ke(),1);function R2({engine:l,screen:s,comp:r,put:c,drop:f,goTo:p,onClose:m}){let g=l.descOf(r),v=r.parent?l.compOf(s.id,r.parent):void 0;return zn.jsxs("aside",{className:"abs-insp abs-enter","aria-label":`${r.label} settings`,children:[zn.jsxs("header",{className:"abs-insp-h",children:[zn.jsx(tc,{svg:g.icon}),zn.jsxs("div",{children:[zn.jsx("h2",{children:r.label}),zn.jsxs("span",{children:[g.label,v&&zn.jsxs(zn.Fragment,{children:[" in ",zn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:v.label})]})]})]}),zn.jsx("button",{type:"button",className:"abs-iconbtn",onClick:m,"aria-label":"Close panel",children:zn.jsx(be,{name:"close"})})]}),zn.jsx("div",{className:"abs-insp-b abs-scroll",children:l.bindable(g).map((S)=>zn.jsx(C2,{engine:l,screen:s.id,comp:r,slot:S,put:c,drop:()=>f(r.bindId,S.id),goTo:p},r.bindId+S.id))})]})}var Wo=me(en(),1);var Lt=me(Ke(),1);function uD(l){let s={key:"",name:"",nodes:[],screens:[],all:[]};for(let r of l){let c=s;c.all.push(r);for(let f of r.path.length?r.path:["Other"]){let p=c.key+"/"+f,m=c.nodes.find((g)=>g.key===p);if(!m)m={key:p,name:f,nodes:[],screens:[],all:[]},c.nodes.push(m);c=m,c.all.push(r)}if(!r.parent)c.screens.push(r)}return s.nodes}function _2({engine:l,current:s,onPick:r}){let[c,f]=Wo.useState(""),[p,m]=Wo.useState({}),g=l.fw.registry.screens,v=Wo.useMemo(()=>uD(g),[g]),S=Wo.useMemo(()=>{let w=new Map;return g.forEach((z)=>{if(z.parent)w.set(z.parent,[...w.get(z.parent)??[],z])}),w},[g]),A=c.trim().toLowerCase(),C=(w)=>!A||[w.label,...w.path].join(" ").toLowerCase().includes(A);Wo.useEffect(()=>{let w=g.find((z)=>z.id===s)?.path??[];m((z)=>{let R={...z};return w.forEach((H,Y)=>{R["/"+w.slice(0,Y+1).join("/")]=!0}),R})},[s,g]);let T=xi(),E=(w,z)=>{let R=S.get(w.id)??[];if(!(C(w)||R.some(C)))return null;let H=l.tally([w]);return Lt.jsxs(Wo.Fragment,{children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-item"+(w.id===s?" is-on":""),style:{paddingLeft:12+z*16},onClick:()=>r(w.id),"aria-current":w.id===s?"page":void 0,"aria-label":`${w.label}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx(be,{name:w.parent?"dialog":"screen"}),Lt.jsx("span",{className:"abs-nav-l",children:w.label}),H.total>0&&H.bound===H.total?Lt.jsx(be,{name:"check",size:14,className:"abs-c-ok"}):Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]})]}),R.map((Y)=>E(Y,z+1))]},w.id)},B=(w,z)=>{if(A&&!w.all.some(C))return null;let R=!!A||!!p[w.key],H=l.tally(w.all),Y=w.all.some((P)=>P.id===s);return Lt.jsxs("div",{className:"abs-tree",role:"treeitem","aria-expanded":R,children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-group-h"+(Y?" has-current":""),style:{paddingLeft:12+z*16},onClick:()=>m((P)=>({...P,[w.key]:!R})),"aria-expanded":R,"aria-label":`${w.name}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx("span",{className:"abs-nav-l",children:w.name}),Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]}),Lt.jsx(be,{name:"chevronRight",size:14,className:"abs-chev"+(R?" abs-rot90":"")})]}),Lt.jsx(Kp,{open:R,children:Lt.jsxs("div",{role:"group",children:[w.nodes.map((P)=>B(P,z+1)),w.screens.map((P)=>E(P,z+1))]})})]},w.key)};return Lt.jsxs("nav",{className:"abs-nav","aria-label":"Screens",children:[Lt.jsx("div",{className:"abs-nav-head",children:Lt.jsxs("div",{className:"abs-search",children:[Lt.jsx(be,{name:"search",className:"abs-c-muted",size:14}),Lt.jsx("input",{value:c,onChange:(w)=>f(w.target.value),placeholder:"Filter screens","aria-label":"Filter screens"})]})}),Lt.jsxs("div",{className:"abs-nav-scroll abs-scroll abs-glide-box",role:"tree","aria-label":"Products",ref:T.ref,...T.handlers,children:[T.indicator,Lt.jsx("div",{className:"abs-eyebrow abs-eyebrow-sm",children:"Products"}),v.map((w)=>B(w,0)),A&&!g.some(C)?Lt.jsxs("div",{className:"abs-empty-sm",children:["No screen matches “",c,"”."]}):null]})]})}var bo=me(en(),1);var Il=me(en(),1);var th=Symbol.for("yaml.alias"),nh=Symbol.for("yaml.document"),co=Symbol.for("yaml.map"),eb=Symbol.for("yaml.pair"),_a=Symbol.for("yaml.scalar"),Hl=Symbol.for("yaml.seq"),Zn=Symbol.for("yaml.node.type"),uo=(l)=>!!l&&typeof l==="object"&&l[Zn]===th,el=(l)=>!!l&&typeof l==="object"&&l[Zn]===nh,fo=(l)=>!!l&&typeof l==="object"&&l[Zn]===co,Fe=(l)=>!!l&&typeof l==="object"&&l[Zn]===eb,Ve=(l)=>!!l&&typeof l==="object"&&l[Zn]===_a,po=(l)=>!!l&&typeof l==="object"&&l[Zn]===Hl;function ft(l){if(l&&typeof l==="object")switch(l[Zn]){case co:case Hl:return!0}return!1}function et(l){if(l&&typeof l==="object")switch(l[Zn]){case th:case co:case _a:case Hl:return!0}return!1}var ah=(l)=>(Ve(l)||ft(l))&&!!l.anchor;var ua=Symbol("break visit"),N2=Symbol("skip children"),tl=Symbol("remove node");function nl(l,s){let r=D2(s);if(el(l)){if(lc(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else lc(null,l,r,Object.freeze([]))}nl.BREAK=ua;nl.SKIP=N2;nl.REMOVE=tl;function lc(l,s,r,c){let f=M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),lc(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=lc(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=lc("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=lc("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}async function oh(l,s){let r=D2(s);if(el(l)){if(await ic(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else await ic(null,l,r,Object.freeze([]))}oh.BREAK=ua;oh.SKIP=N2;oh.REMOVE=tl;async function ic(l,s,r,c){let f=await M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),ic(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=await ic(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=await ic("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=await ic("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}function D2(l){if(typeof l==="object"&&(l.Collection||l.Node||l.Value))return Object.assign({Alias:l.Node,Map:l.Node,Scalar:l.Node,Seq:l.Node},l.Value&&{Map:l.Value,Scalar:l.Value,Seq:l.Value},l.Collection&&{Map:l.Collection,Seq:l.Collection},l);return l}function M2(l,s,r,c){if(typeof r==="function")return r(l,s,c);if(fo(s))return r.Map?.(l,s,c);if(po(s))return r.Seq?.(l,s,c);if(Fe(s))return r.Pair?.(l,s,c);if(Ve(s))return r.Scalar?.(l,s,c);if(uo(s))return r.Alias?.(l,s,c);return}function x2(l,s,r){let c=s[s.length-1];if(ft(c))c.items[l]=r;else if(Fe(c))if(l==="key")c.key=r;else c.value=r;else if(el(c))c.contents=r;else{let f=uo(c)?"alias":"scalar";throw Error(`Cannot replace node with ${f} parent`)}}var fD={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},dD=(l)=>l.replace(/[!,[\]{}]/g,(s)=>fD[s]);class wn{constructor(l,s){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},wn.defaultYaml,l),this.tags=Object.assign({},wn.defaultTags,s)}clone(){let l=new wn(this.yaml,this.tags);return l.docStart=this.docStart,l}atDocument(){let l=new wn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:wn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},wn.defaultTags);break}return l}add(l,s){if(this.atNextDocument)this.yaml={explicit:wn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},wn.defaultTags),this.atNextDocument=!1;let r=l.trim().split(/[ \t]+/),c=r.shift();switch(c){case"%TAG":{if(r.length!==2){if(s(0,"%TAG directive should contain exactly two parts"),r.length<2)return!1}let[f,p]=r;return this.tags[f]=p,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return s(0,"%YAML directive should contain exactly one part"),!1;let[f]=r;if(f==="1.1"||f==="1.2")return this.yaml.version=f,!0;else{let p=/^\d+\.\d+$/.test(f);return s(6,`Unsupported YAML version ${f}`,p),!1}}default:return s(0,`Unknown directive ${c}`,!0),!1}}tagName(l,s){if(l==="!")return"!";if(l[0]!=="!")return s(`Not a valid tag: ${l}`),null;if(l[1]==="<"){let p=l.slice(2,-1);if(p==="!"||p==="!!")return s(`Verbatim tags aren't resolved, so ${l} is invalid.`),null;if(l[l.length-1]!==">")s("Verbatim tags must end with a >");return p}let[,r,c]=l.match(/^(.*!)([^!]*)$/s);if(!c)s(`The ${l} tag has no suffix`);let f=this.tags[r];if(f)try{return f+decodeURIComponent(c)}catch(p){return s(String(p)),null}if(r==="!")return l;return s(`Could not resolve tag: ${l}`),null}tagString(l){for(let[s,r]of Object.entries(this.tags))if(l.startsWith(r))return s+dD(l.substring(r.length));return l[0]==="!"?l:`!<${l}>`}toString(l){let s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags),c;if(l&&r.length>0&&et(l.contents)){let f={};nl(l.contents,(p,m)=>{if(et(m)&&m.tag)f[m.tag]=!0}),c=Object.keys(f)}else c=[];for(let[f,p]of r){if(f==="!!"&&p==="tag:yaml.org,2002:")continue;if(!l||c.some((m)=>m.startsWith(p)))s.push(`%TAG ${f} ${p}`)}return s.join(`
|
|
240
240
|
`)}}wn.defaultYaml={explicit:!1,version:"1.2"};wn.defaultTags={"!!":"tag:yaml.org,2002:"};function lh(l){if(/[\x00-\x19\s,[\]{}]/.test(l)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(l)}`;throw Error(r)}return!0}function tb(l){let s=new Set;return nl(l,{Value(r,c){if(c.anchor)s.add(c.anchor)}}),s}function nb(l,s){for(let r=1;;++r){let c=`${l}${r}`;if(!s.has(c))return c}}function z2(l,s){let r=[],c=new Map,f=null;return{onAnchor:(p)=>{r.push(p),f??(f=tb(l));let m=nb(s,f);return f.add(m),m},setAnchors:()=>{for(let p of r){let m=c.get(p);if(typeof m==="object"&&m.anchor&&(Ve(m.node)||ft(m.node)))m.node.anchor=m.anchor;else{let g=Error("Failed to resolve repeated object (this should not happen)");throw g.source=p,g}}},sourceObjects:c}}function zi(l,s,r,c){if(c&&typeof c==="object")if(Array.isArray(c))for(let f=0,p=c.length;f<p;++f){let m=c[f],g=zi(l,c,String(f),m);if(g===void 0)delete c[f];else if(g!==m)c[f]=g}else if(c instanceof Map)for(let f of Array.from(c.keys())){let p=c.get(f),m=zi(l,c,f,p);if(m===void 0)c.delete(f);else if(m!==p)c.set(f,m)}else if(c instanceof Set)for(let f of Array.from(c)){let p=zi(l,c,f,f);if(p===void 0)c.delete(f);else if(p!==f)c.delete(f),c.add(p)}else for(let[f,p]of Object.entries(c)){let m=zi(l,c,f,p);if(m===void 0)delete c[f];else if(m!==p)c[f]=m}return l.call(s,r,c)}function tn(l,s,r){if(Array.isArray(l))return l.map((c,f)=>tn(c,String(f),r));if(l&&typeof l.toJSON==="function"){if(!r||!ah(l))return l.toJSON(s,r);let c={aliasCount:0,count:1,res:void 0};r.anchors.set(l,c),r.onCreate=(p)=>{c.res=p,delete r.onCreate};let f=l.toJSON(s,r);if(r.onCreate)r.onCreate(f);return f}if(typeof l==="bigint"&&!r?.keep)return Number(l);return l}class zs{constructor(l){Object.defineProperty(this,Zn,{value:l})}clone(){let l=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(this.range)l.range=this.range.slice();return l}toJS(l,{mapAsMap:s,maxAliasCount:r,onAnchor:c,reviver:f}={}){if(!el(l))throw TypeError("A document argument is required");let p={anchors:new Map,doc:l,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof r==="number"?r:100},m=tn(this,"",p);if(typeof c==="function")for(let{count:g,res:v}of p.anchors.values())c(v,g);return typeof f==="function"?zi(f,{"":m},"",m):m}}class Ui extends zs{constructor(l){super(th);this.source=l,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(l,s){if(s?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");let r;if(s?.aliasResolveCache)r=s.aliasResolveCache;else if(r=[],nl(l,{Node:(f,p)=>{if(uo(p)||ah(p))r.push(p)}}),s)s.aliasResolveCache=r;let c=void 0;for(let f of r){if(f===this)break;if(f.anchor===this.source)c=f}if(c&&s){let{anchors:f,doc:p,maxAliasCount:m}=s,g=f.get(c);if(!g)tn(c,null,s),g=f.get(c);if(g?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(m>=0){if(g.count+=1,g.aliasCount===0)g.aliasCount=ih(p,c,f);if(g.count*g.aliasCount>m)throw ReferenceError("Excessive alias count indicates a resource exhaustion attack")}}return c}toJSON(l,s){if(!s)return{source:this.source};let r=this.resolve(s.doc,s);if(!r){let c=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(c)}return s.anchors.get(r).res}toString(l,s,r){let c=`*${this.source}`;if(l){if(lh(this.source),l.options.verifyAliasOrder&&!l.anchors.has(this.source)){let f=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(f)}if(l.implicitKey)return`${c} `}return c}}function ih(l,s,r){if(uo(s)){let c=s.resolve(l),f=r&&c&&r.get(c);return f?f.count*f.aliasCount:0}else if(ft(s)){let c=0;for(let f of s.items){let p=ih(l,f,r);if(p>c)c=p}return c}else if(Fe(s)){let c=ih(l,s.key,r),f=ih(l,s.value,r);return Math.max(c,f)}return 1}var sh=(l)=>!l||typeof l!=="function"&&typeof l!=="object";class ge extends zs{constructor(l){super(_a);this.value=l}toJSON(l,s){return s?.keep?this.value:tn(this.value,l,s)}toString(){return String(this.value)}}ge.BLOCK_FOLDED="BLOCK_FOLDED";ge.BLOCK_LITERAL="BLOCK_LITERAL";ge.PLAIN="PLAIN";ge.QUOTE_DOUBLE="QUOTE_DOUBLE";ge.QUOTE_SINGLE="QUOTE_SINGLE";var pD="tag:yaml.org,2002:";function hD(l,s,r){if(s){let c=r.filter((p)=>p.tag===s),f=c.find((p)=>!p.format)??c[0];if(!f)throw Error(`Tag ${s} not found`);return f}return r.find((c)=>c.identify?.(l)&&!c.format)}function jl(l,s,r){if(el(l))l=l.contents;if(et(l))return l;if(Fe(l)){let C=r.schema[co].createNode?.(r.schema,null,r);return C.items.push(l),C}if(l instanceof String||l instanceof Number||l instanceof Boolean||typeof BigInt<"u"&&l instanceof BigInt)l=l.valueOf();let{aliasDuplicateObjects:c,onAnchor:f,onTagObj:p,schema:m,sourceObjects:g}=r,v=void 0;if(c&&l&&typeof l==="object")if(v=g.get(l),v)return v.anchor??(v.anchor=f(l)),new Ui(v.anchor);else v={anchor:null,node:null},g.set(l,v);if(s?.startsWith("!!"))s=pD+s.slice(2);let S=hD(l,s,m.tags);if(!S){if(l&&typeof l.toJSON==="function")l=l.toJSON();if(!l||typeof l!=="object"){let C=new ge(l);if(v)v.node=C;return C}S=l instanceof Map?m[co]:(Symbol.iterator in Object(l))?m[Hl]:m[co]}if(p)p(S),delete r.onTagObj;let A=S?.createNode?S.createNode(r.schema,l,r):typeof S?.nodeClass?.from==="function"?S.nodeClass.from(r.schema,l,r):new ge(l);if(s)A.tag=s;else if(!S.default)A.tag=S.tag;if(v)v.node=A;return A}function Fu(l,s,r){let c=r;for(let f=s.length-1;f>=0;--f){let p=s[f];if(typeof p==="number"&&Number.isInteger(p)&&p>=0){let m=[];m[p]=c,c=m}else c=new Map([[p,c]])}return jl(c,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:l,sourceObjects:new Map})}var sc=(l)=>l==null||typeof l==="object"&&!!l[Symbol.iterator]().next().done;class Wu extends zs{constructor(l,s){super(l);Object.defineProperty(this,"schema",{value:s,configurable:!0,enumerable:!1,writable:!0})}clone(l){let s=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(l)s.schema=l;if(s.items=s.items.map((r)=>et(r)||Fe(r)?r.clone(l):r),this.range)s.range=this.range.slice();return s}addIn(l,s){if(sc(l))this.add(s);else{let[r,...c]=l,f=this.get(r,!0);if(ft(f))f.addIn(c,s);else if(f===void 0&&this.schema)this.set(r,Fu(this.schema,c,s));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${c}`)}}deleteIn(l){let[s,...r]=l;if(r.length===0)return this.delete(s);let c=this.get(s,!0);if(ft(c))return c.deleteIn(r);else throw Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}getIn(l,s){let[r,...c]=l,f=this.get(r,!0);if(c.length===0)return!s&&Ve(f)?f.value:f;else return ft(f)?f.getIn(c,s):void 0}hasAllNullValues(l){return this.items.every((s)=>{if(!Fe(s))return!1;let r=s.value;return r==null||l&&Ve(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(l){let[s,...r]=l;if(r.length===0)return this.has(s);let c=this.get(s,!0);return ft(c)?c.hasIn(r):!1}setIn(l,s){let[r,...c]=l;if(c.length===0)this.set(r,s);else{let f=this.get(r,!0);if(ft(f))f.setIn(c,s);else if(f===void 0&&this.schema)this.set(r,Fu(this.schema,c,s));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${c}`)}}}var U2=(l)=>l.replace(/^(?!$)(?: $)?/gm,"#");function Qa(l,s){if(/^\n+$/.test(l))return l.substring(1);return s?l.replace(/^(?! *$)/gm,s):l}var al=(l,s,r)=>l.endsWith(`
|
|
241
241
|
`)?Qa(r,s):r.includes(`
|
|
242
242
|
`)?`
|