@volter/twin-github 0.1.2 → 2.0.0
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 +88 -36
- package/client/github-mirror.css +277 -319
- package/client/github-mirror.d.ts +418 -0
- package/client/github-mirror.js +485 -0
- package/client/github-mirror.tsx +153 -357
- package/client/pulls-rest.ts +159 -0
- package/client/pulls-workspace.tsx +841 -0
- package/dist/client/github-mirror.bundle.js +239 -0
- package/dist/client/github-mirror.css +916 -0
- package/dist/client/github-mirror.d.ts +418 -0
- package/dist/client/github-mirror.js +485 -0
- package/dist/client/github-mirror.tsx +1315 -0
- package/dist/client/pulls-rest.d.ts +42 -0
- package/dist/client/pulls-rest.js +140 -0
- package/dist/client/pulls-rest.ts +159 -0
- package/dist/client/pulls-workspace.bundle.js +22 -0
- package/dist/client/pulls-workspace.d.ts +114 -0
- package/dist/client/pulls-workspace.js +418 -0
- package/dist/client/pulls-workspace.tsx +841 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +40 -0
- package/dist/src/generated/graphql-sdl.gen.json +1 -0
- package/dist/src/generated/graphql.gen.json +1 -0
- package/dist/src/generated/surface.gen.json +1 -0
- package/dist/src/generated/ui.gen.json +1 -0
- package/dist/src/github-budget.d.ts +69 -0
- package/dist/src/github-budget.js +172 -0
- package/dist/src/github-capabilities.d.ts +5 -0
- package/dist/src/github-capabilities.js +4468 -0
- package/dist/src/github-conformance.d.ts +43 -0
- package/dist/src/github-conformance.js +76 -0
- package/dist/src/github-connector.d.ts +307 -0
- package/dist/src/github-connector.js +1398 -0
- package/dist/src/github-events.d.ts +41 -0
- package/dist/src/github-events.js +230 -0
- package/dist/src/github-git-http.d.ts +49 -0
- package/dist/src/github-git-http.js +185 -0
- package/dist/src/github-git-plane.d.ts +114 -0
- package/dist/src/github-git-plane.js +407 -0
- package/dist/src/github-mirror-state.d.ts +2 -0
- package/dist/src/github-mirror-state.js +335 -0
- package/dist/src/github-mirror-ui.d.ts +20 -0
- package/dist/src/github-mirror-ui.js +101 -0
- package/dist/src/github-server.d.ts +14 -0
- package/dist/src/github-server.js +240 -0
- package/dist/src/github-shared.d.ts +12 -0
- package/dist/src/github-shared.js +21 -0
- package/dist/src/github-twin.d.ts +1411 -0
- package/dist/src/github-twin.js +4084 -0
- package/dist/src/github-ui-conformance.d.ts +4 -0
- package/dist/src/github-ui-conformance.js +105 -0
- package/dist/src/github-ui-structure.d.ts +18 -0
- package/dist/src/github-ui-structure.js +251 -0
- package/dist/src/graphql-wire.d.ts +22 -0
- package/dist/src/graphql-wire.js +89 -0
- package/dist/src/index.d.ts +17 -0
- package/dist/src/index.js +101 -0
- package/dist/src/manifest.d.ts +8 -0
- package/dist/src/manifest.js +597 -0
- package/dist/src/npm-registry.d.ts +7 -0
- package/dist/src/npm-registry.js +47 -0
- package/dist/src/screens/app-installation.d.ts +3 -0
- package/dist/src/screens/app-installation.js +166 -0
- package/dist/src/screens/app-manifest.d.ts +3 -0
- package/dist/src/screens/app-manifest.js +81 -0
- package/dist/src/screens/oauth.d.ts +15 -0
- package/dist/src/screens/oauth.js +257 -0
- package/dist/src/screens/session.d.ts +8 -0
- package/dist/src/screens/session.js +159 -0
- package/dist/src/semantics/actions.d.ts +2 -0
- package/dist/src/semantics/actions.js +413 -0
- package/dist/src/semantics/activity.d.ts +4 -0
- package/dist/src/semantics/activity.js +161 -0
- package/dist/src/semantics/apps.d.ts +2 -0
- package/dist/src/semantics/apps.js +144 -0
- package/dist/src/semantics/branches.d.ts +2 -0
- package/dist/src/semantics/branches.js +136 -0
- package/dist/src/semantics/checks.d.ts +2 -0
- package/dist/src/semantics/checks.js +176 -0
- package/dist/src/semantics/code-scanning-upload.d.ts +2 -0
- package/dist/src/semantics/code-scanning-upload.js +97 -0
- package/dist/src/semantics/codespaces.d.ts +2 -0
- package/dist/src/semantics/codespaces.js +58 -0
- package/dist/src/semantics/commits.d.ts +2 -0
- package/dist/src/semantics/commits.js +109 -0
- package/dist/src/semantics/contents.d.ts +2 -0
- package/dist/src/semantics/contents.js +131 -0
- package/dist/src/semantics/deployments.d.ts +2 -0
- package/dist/src/semantics/deployments.js +127 -0
- package/dist/src/semantics/gists.d.ts +2 -0
- package/dist/src/semantics/gists.js +86 -0
- package/dist/src/semantics/git.d.ts +2 -0
- package/dist/src/semantics/git.js +235 -0
- package/dist/src/semantics/graphql.d.ts +7 -0
- package/dist/src/semantics/graphql.js +512 -0
- package/dist/src/semantics/index.d.ts +5 -0
- package/dist/src/semantics/index.js +62 -0
- package/dist/src/semantics/issues.d.ts +2 -0
- package/dist/src/semantics/issues.js +456 -0
- package/dist/src/semantics/keys.d.ts +2 -0
- package/dist/src/semantics/keys.js +66 -0
- package/dist/src/semantics/labels.d.ts +2 -0
- package/dist/src/semantics/labels.js +100 -0
- package/dist/src/semantics/meta.d.ts +12 -0
- package/dist/src/semantics/meta.js +144 -0
- package/dist/src/semantics/notifications.d.ts +4 -0
- package/dist/src/semantics/notifications.js +62 -0
- package/dist/src/semantics/orgs.d.ts +2 -0
- package/dist/src/semantics/orgs.js +420 -0
- package/dist/src/semantics/packages.d.ts +2 -0
- package/dist/src/semantics/packages.js +55 -0
- package/dist/src/semantics/pages.d.ts +2 -0
- package/dist/src/semantics/pages.js +176 -0
- package/dist/src/semantics/projects.d.ts +2 -0
- package/dist/src/semantics/projects.js +239 -0
- package/dist/src/semantics/pulls.d.ts +2 -0
- package/dist/src/semantics/pulls.js +462 -0
- package/dist/src/semantics/push-reactions.d.ts +101 -0
- package/dist/src/semantics/push-reactions.js +513 -0
- package/dist/src/semantics/releases.d.ts +19 -0
- package/dist/src/semantics/releases.js +231 -0
- package/dist/src/semantics/repo-invitations.d.ts +2 -0
- package/dist/src/semantics/repo-invitations.js +98 -0
- package/dist/src/semantics/repos.d.ts +17 -0
- package/dist/src/semantics/repos.js +390 -0
- package/dist/src/semantics/rulesets.d.ts +2 -0
- package/dist/src/semantics/rulesets.js +111 -0
- package/dist/src/semantics/search.d.ts +2 -0
- package/dist/src/semantics/search.js +84 -0
- package/dist/src/semantics/security.d.ts +2 -0
- package/dist/src/semantics/security.js +177 -0
- package/dist/src/semantics/shared.d.ts +61 -0
- package/dist/src/semantics/shared.js +151 -0
- package/dist/src/semantics/users.d.ts +2 -0
- package/dist/src/semantics/users.js +255 -0
- package/dist/src/semantics/webhooks.d.ts +2 -0
- package/dist/src/semantics/webhooks.js +107 -0
- package/dist/test-fixtures/github-a11y-reference.pr-list.SOURCE.md +56 -0
- package/dist/test-fixtures/github-a11y-reference.pr-list.json +1447 -0
- package/dist/test-fixtures/github-comment-schema.SOURCE.md +11 -0
- package/dist/test-fixtures/github-comment-schema.json +702 -0
- package/dist/test-fixtures/github-known-deviations.json +94 -0
- package/dist/test-fixtures/github-openapi-operations.SOURCE.md +76 -0
- package/dist/test-fixtures/github-openapi-operations.json +362 -0
- package/dist/test-fixtures/github-pull-schema.SOURCE.md +37 -0
- package/dist/test-fixtures/github-pull-schema.json +3601 -0
- package/dist/test-fixtures/github-review-schema.SOURCE.md +12 -0
- package/dist/test-fixtures/github-review-schema.json +236 -0
- package/package.json +20 -11
- package/src/cli.ts +7 -6
- package/src/generated/graphql-sdl.gen.json +1 -0
- package/src/generated/graphql.gen.json +1 -0
- package/src/generated/surface.gen.json +1 -0
- package/src/generated/ui.gen.json +1 -0
- package/src/github-a11y-snapshot.uitest.ts +5 -5
- package/src/github-budget.ts +4 -4
- package/src/github-capabilities.ts +1993 -556
- package/src/github-conformance.ts +12 -7
- package/src/github-connector.ts +108 -96
- package/src/github-events.ts +223 -95
- package/src/github-git-http.ts +47 -83
- package/src/github-git-plane.ts +247 -385
- package/src/github-journey.uitest.ts +28 -44
- package/src/github-mirror-state.ts +23 -61
- package/src/github-mirror-ui.ts +16 -10
- package/src/github-server.ts +158 -60
- package/src/github-shared.ts +1 -1
- package/src/github-twin.ts +1525 -4494
- package/src/github-ui-conformance.ts +7 -8
- package/src/github-ui-structure.ts +19 -18
- package/src/graphql-wire.ts +115 -0
- package/src/index.ts +47 -7
- package/src/manifest.ts +605 -0
- package/src/npm-registry.ts +43 -0
- package/src/screens/app-installation.tsx +217 -0
- package/src/screens/app-manifest.tsx +97 -0
- package/src/screens/oauth.tsx +258 -0
- package/src/screens/session.tsx +186 -0
- package/src/semantics/actions.ts +395 -0
- package/src/semantics/activity.ts +171 -0
- package/src/semantics/apps.ts +133 -0
- package/src/semantics/branches.ts +133 -0
- package/src/semantics/checks.ts +163 -0
- package/src/semantics/code-scanning-upload.ts +92 -0
- package/src/semantics/codespaces.ts +58 -0
- package/src/semantics/commits.ts +109 -0
- package/src/semantics/contents.ts +112 -0
- package/src/semantics/deployments.ts +116 -0
- package/src/semantics/gists.ts +85 -0
- package/src/semantics/git.ts +226 -0
- package/src/semantics/graphql.ts +505 -0
- package/src/semantics/index.ts +68 -0
- package/src/semantics/issues.ts +434 -0
- package/src/semantics/keys.ts +66 -0
- package/src/semantics/labels.ts +91 -0
- package/src/semantics/meta.ts +139 -0
- package/src/semantics/notifications.ts +58 -0
- package/src/semantics/orgs.ts +383 -0
- package/src/semantics/packages.ts +59 -0
- package/src/semantics/pages.ts +154 -0
- package/src/semantics/projects.ts +246 -0
- package/src/semantics/pulls.ts +421 -0
- package/src/semantics/push-reactions.ts +471 -0
- package/src/semantics/releases.ts +213 -0
- package/src/semantics/repo-invitations.ts +112 -0
- package/src/semantics/repos.ts +373 -0
- package/src/semantics/rulesets.ts +107 -0
- package/src/semantics/search.ts +83 -0
- package/src/semantics/security.ts +153 -0
- package/src/semantics/shared.ts +181 -0
- package/src/semantics/users.ts +252 -0
- package/src/semantics/webhooks.ts +101 -0
- package/test-fixtures/github-known-deviations.json +7 -8
- package/test-fixtures/github-openapi-operations.json +46 -227
- package/src/github-graphql.ts +0 -398
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
var dL=Object.create;var{getPrototypeOf:lL,defineProperty:wU,getOwnPropertyNames:pL}=Object;var cL=Object.prototype.hasOwnProperty;function aL(W){return this[W]}var nL,oL,M2=(W,L,K)=>{var N=W!=null&&typeof W==="object";if(N){var C=L?nL??=new WeakMap:oL??=new WeakMap,T=C.get(W);if(T)return T}K=W!=null?dL(lL(W)):{};let v=L||!W||!W.__esModule?wU(K,"default",{value:W,enumerable:!0}):K;for(let R of pL(W))if(!cL.call(v,R))wU(v,R,{get:aL.bind(W,R),enumerable:!0});if(N)C.set(W,v);return v};var r6=(W,L)=>()=>(L||W((L={exports:{}}).exports,L),L.exports);var Y8=r6((iL,sY)=>{(function(){function W(q,w){Object.defineProperty(N.prototype,q,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",w[0],w[1])}})}function L(q){if(q===null||typeof q!=="object")return null;return q=e6&&q[e6]||q["@@iterator"],typeof q==="function"?q:null}function K(q,w){q=(q=q.constructor)&&(q.displayName||q.name)||"ReactClass";var E=q+"."+w;i[E]||(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.",w,q),i[E]=!0)}function N(q,w,E){this.props=q,this.context=w,this.refs=Q2,this.updater=E||R5}function C(){}function T(q,w,E){this.props=q,this.context=w,this.refs=Q2,this.updater=E||R5}function v(){}function R(q){return""+q}function t(q){try{R(q);var w=!1}catch(r){w=!0}if(w){w=console;var E=w.error,c=typeof Symbol==="function"&&Symbol.toStringTag&&q[Symbol.toStringTag]||q.constructor.name||"Object";return E.call(w,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",c),R(q)}}function l(q){if(q==null)return null;if(typeof q==="function")return q.$$typeof===_5?null:q.displayName||q.name||null;if(typeof q==="string")return q;switch(q){case EX:return"Fragment";case HX:return"Profiler";case D:return"StrictMode";case R2:return"Suspense";case zZ:return"SuspenseList";case s2:return"Activity"}if(typeof q==="object")switch(typeof q.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),q.$$typeof){case jX:return"Portal";case hX:return q.displayName||"Context";case xX:return(q._context.displayName||"Context")+".Consumer";case uX:var w=q.render;return q=q.displayName,q||(q=w.displayName||w.name||"",q=q!==""?"ForwardRef("+q+")":"ForwardRef"),q;case iZ:return w=q.displayName||null,w!==null?w:l(q.type)||"Memo";case dX:w=q._payload,q=q._init;try{return l(q(w))}catch(E){}}return null}function k(q){if(q===EX)return"<>";if(typeof q==="object"&&q!==null&&q.$$typeof===dX)return"<...>";try{var w=l(q);return w?"<"+w+">":"<...>"}catch(E){return"<...>"}}function S(){var q=LX.A;return q===null?null:q.getOwner()}function V(){return Error("react-stack-top-frame")}function x(q){if(d4.call(q,"key")){var w=Object.getOwnPropertyDescriptor(q,"key").get;if(w&&w.isReactWarning)return!1}return q.key!==void 0}function XX(q,w){function E(){X7||(X7=!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)",w))}E.isReactWarning=!0,Object.defineProperty(q,"key",{get:E,configurable:!0})}function n(){var q=l(this.type);return l4[q]||(l4[q]=!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.")),q=this.props.ref,q!==void 0?q:null}function fX(q,w,E,c,r,MX){var KX=E.ref;return q={$$typeof:GX,type:q,key:w,props:E,_owner:c},(KX!==void 0?KX:null)!==null?Object.defineProperty(q,"ref",{enumerable:!1,get:n}):Object.defineProperty(q,"ref",{enumerable:!1,value:null}),q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.defineProperty(q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:MX}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q}function aX(q,w){return w=fX(q.type,w,q.props,q._owner,q._debugStack,q._debugTask),q._store&&(w._store.validated=q._store.validated),w}function BZ(q){ZZ(q)?q._store&&(q._store.validated=1):typeof q==="object"&&q!==null&&q.$$typeof===dX&&(q._payload.status==="fulfilled"?ZZ(q._payload.value)&&q._payload.value._store&&(q._payload.value._store.validated=1):q._store&&(q._store.validated=1))}function ZZ(q){return typeof q==="object"&&q!==null&&q.$$typeof===GX}function AZ(q){var w={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(E){return w[E]})}function UZ(q,w){return typeof q==="object"&&q!==null&&q.key!=null?(t(q.key),AZ(""+q.key)):w.toString(36)}function lZ(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status==="string"?q.then(v,v):(q.status="pending",q.then(function(w){q.status==="pending"&&(q.status="fulfilled",q.value=w)},function(w){q.status==="pending"&&(q.status="rejected",q.reason=w)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function QX(q,w,E,c,r){var MX=typeof q;if(MX==="undefined"||MX==="boolean")q=null;var KX=!1;if(q===null)KX=!0;else switch(MX){case"bigint":case"string":case"number":KX=!0;break;case"object":switch(q.$$typeof){case GX:case jX:KX=!0;break;case dX:return KX=q._init,QX(KX(q._payload),w,E,c,r)}}if(KX){KX=q,r=r(KX);var DX=c===""?"."+UZ(KX,0):c;return lX(r)?(E="",DX!=null&&(E=DX.replace(TX,"$&/")+"/"),QX(r,w,E,"",function(pZ){return pZ})):r!=null&&(ZZ(r)&&(r.key!=null&&(KX&&KX.key===r.key||t(r.key)),E=aX(r,E+(r.key==null||KX&&KX.key===r.key?"":(""+r.key).replace(TX,"$&/")+"/")+DX),c!==""&&KX!=null&&ZZ(KX)&&KX.key==null&&KX._store&&!KX._store.validated&&(E._store.validated=2),r=E),w.push(r)),1}if(KX=0,DX=c===""?".":c+":",lX(q))for(var ZX=0;ZX<q.length;ZX++)c=q[ZX],MX=DX+UZ(c,ZX),KX+=QX(c,w,E,MX,r);else if(ZX=L(q),typeof ZX==="function")for(ZX===q.entries&&(j||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),j=!0),q=ZX.call(q),ZX=0;!(c=q.next()).done;)c=c.value,MX=DX+UZ(c,ZX++),KX+=QX(c,w,E,MX,r);else if(MX==="object"){if(typeof q.then==="function")return QX(lZ(q),w,E,c,r);throw w=String(q),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}return KX}function qX(q,w,E){if(q==null)return q;var c=[],r=0;return QX(q,c,"","",function(MX){return w.call(E,MX,r++)}),c}function oZ(q){if(q._status===-1){var w=q._ioInfo;w!=null&&(w.start=w.end=performance.now()),w=q._result;var E=w();if(E.then(function(r){if(q._status===0||q._status===-1){q._status=1,q._result=r;var MX=q._ioInfo;MX!=null&&(MX.end=performance.now()),E.status===void 0&&(E.status="fulfilled",E.value=r)}},function(r){if(q._status===0||q._status===-1){q._status=2,q._result=r;var MX=q._ioInfo;MX!=null&&(MX.end=performance.now()),E.status===void 0&&(E.status="rejected",E.reason=r)}}),w=q._ioInfo,w!=null){w.value=E;var c=E.displayName;typeof c==="string"&&(w.name=c)}q._status===-1&&(q._status=0,q._result=E)}if(q._status===1)return w=q._result,w===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,w),"default"in w||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,w),w.default;throw q._result}function p(){var q=LX.H;return q===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:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
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.`),q}function KZ(){LX.asyncTransitions--}function vX(q){if(z6===null)try{var w=("require"+Math.random()).slice(0,7);z6=(sY&&sY[w]).call(sY,"timers").setImmediate}catch(E){z6=function(c){sX===!1&&(sX=!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 r=new MessageChannel;r.port1.onmessage=c,r.port2.postMessage(void 0)}}return z6(q)}function NX(q){return 1<q.length&&typeof AggregateError==="function"?AggregateError(q):q[0]}function PZ(q,w){w!==H6-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. "),H6=w}function d(q,w,E){var c=LX.actQueue;if(c!==null)if(c.length!==0)try{JX(c),vX(function(){return d(q,w,E)});return}catch(r){LX.thrownErrors.push(r)}else LX.actQueue=null;0<LX.thrownErrors.length?(c=NX(LX.thrownErrors),LX.thrownErrors.length=0,E(c)):w(q)}function JX(q){if(!U6){U6=!0;var w=0;try{for(;w<q.length;w++){var E=q[w];do{LX.didUsePromise=!1;var c=E(!1);if(c!==null){if(LX.didUsePromise){q[w]=E,q.splice(0,w);return}E=c}else break}while(1)}q.length=0}catch(r){q.splice(0,w+1),LX.thrownErrors.push(r)}finally{U6=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var GX=Symbol.for("react.transitional.element"),jX=Symbol.for("react.portal"),EX=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),HX=Symbol.for("react.profiler"),xX=Symbol.for("react.consumer"),hX=Symbol.for("react.context"),uX=Symbol.for("react.forward_ref"),R2=Symbol.for("react.suspense"),zZ=Symbol.for("react.suspense_list"),iZ=Symbol.for("react.memo"),dX=Symbol.for("react.lazy"),s2=Symbol.for("react.activity"),e6=Symbol.iterator,i={},R5={isMounted:function(){return!1},enqueueForceUpdate:function(q){K(q,"forceUpdate")},enqueueReplaceState:function(q){K(q,"replaceState")},enqueueSetState:function(q){K(q,"setState")}},u4=Object.assign,Q2={};Object.freeze(Q2),N.prototype.isReactComponent={},N.prototype.setState=function(q,w){if(typeof q!=="object"&&typeof q!=="function"&&q!=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,q,w,"setState")},N.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};var nX={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(F5 in nX)nX.hasOwnProperty(F5)&&W(F5,nX[F5]);C.prototype=N.prototype,nX=T.prototype=new C,nX.constructor=T,u4(nX,N.prototype),nX.isPureReactComponent=!0;var lX=Array.isArray,_5=Symbol.for("react.client.reference"),LX={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},d4=Object.prototype.hasOwnProperty,oX=console.createTask?console.createTask:function(){return null};nX={react_stack_bottom_frame:function(q){return q()}};var X7,j2,l4={},U4=nX.react_stack_bottom_frame.bind(nX,V)(),h=oX(k(V)),j=!1,TX=/\/+/g,yX=typeof reportError==="function"?reportError:function(q){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var w=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof q==="object"&&q!==null&&typeof q.message==="string"?String(q.message):String(q),error:q});if(!window.dispatchEvent(w))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",q);return}console.error(q)},sX=!1,z6=null,H6=0,W6=!1,U6=!1,$8=typeof queueMicrotask==="function"?function(q){queueMicrotask(function(){return queueMicrotask(q)})}:vX;nX=Object.freeze({__proto__:null,c:function(q){return p().useMemoCache(q)}});var F5={map:qX,forEach:function(q,w,E){qX(q,function(){w.apply(this,arguments)},E)},count:function(q){var w=0;return qX(q,function(){w++}),w},toArray:function(q){return qX(q,function(w){return w})||[]},only:function(q){if(!ZZ(q))throw Error("React.Children.only expected to receive a single React element child.");return q}};iL.Activity=s2,iL.Children=F5,iL.Component=N,iL.Fragment=EX,iL.Profiler=HX,iL.PureComponent=T,iL.StrictMode=D,iL.Suspense=R2,iL.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=LX,iL.__COMPILER_RUNTIME=nX,iL.act=function(q){var w=LX.actQueue,E=H6;H6++;var c=LX.actQueue=w!==null?w:[],r=!1;try{var MX=q()}catch(ZX){LX.thrownErrors.push(ZX)}if(0<LX.thrownErrors.length)throw PZ(w,E),q=NX(LX.thrownErrors),LX.thrownErrors.length=0,q;if(MX!==null&&typeof MX==="object"&&typeof MX.then==="function"){var KX=MX;return $8(function(){r||W6||(W6=!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(ZX,pZ){r=!0,KX.then(function(_2){if(PZ(w,E),E===0){try{JX(c),vX(function(){return d(_2,ZX,pZ)})}catch(Q8){LX.thrownErrors.push(Q8)}if(0<LX.thrownErrors.length){var A5=NX(LX.thrownErrors);LX.thrownErrors.length=0,pZ(A5)}}else ZX(_2)},function(_2){PZ(w,E),0<LX.thrownErrors.length?(_2=NX(LX.thrownErrors),LX.thrownErrors.length=0,pZ(_2)):pZ(_2)})}}}var DX=MX;if(PZ(w,E),E===0&&(JX(c),c.length!==0&&$8(function(){r||W6||(W6=!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(() => ...)"))}),LX.actQueue=null),0<LX.thrownErrors.length)throw q=NX(LX.thrownErrors),LX.thrownErrors.length=0,q;return{then:function(ZX,pZ){r=!0,E===0?(LX.actQueue=c,vX(function(){return d(DX,ZX,pZ)})):ZX(DX)}}},iL.cache=function(q){return function(){return q.apply(null,arguments)}},iL.cacheSignal=function(){return null},iL.captureOwnerStack=function(){var q=LX.getCurrentStack;return q===null?null:q()},iL.cloneElement=function(q,w,E){if(q===null||q===void 0)throw Error("The argument must be a React element, but you passed "+q+".");var c=u4({},q.props),r=q.key,MX=q._owner;if(w!=null){var KX;X:{if(d4.call(w,"ref")&&(KX=Object.getOwnPropertyDescriptor(w,"ref").get)&&KX.isReactWarning){KX=!1;break X}KX=w.ref!==void 0}KX&&(MX=S()),x(w)&&(t(w.key),r=""+w.key);for(DX in w)!d4.call(w,DX)||DX==="key"||DX==="__self"||DX==="__source"||DX==="ref"&&w.ref===void 0||(c[DX]=w[DX])}var DX=arguments.length-2;if(DX===1)c.children=E;else if(1<DX){KX=Array(DX);for(var ZX=0;ZX<DX;ZX++)KX[ZX]=arguments[ZX+2];c.children=KX}c=fX(q.type,r,c,MX,q._debugStack,q._debugTask);for(r=2;r<arguments.length;r++)BZ(arguments[r]);return c},iL.createContext=function(q){return q={$$typeof:hX,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null},q.Provider=q,q.Consumer={$$typeof:xX,_context:q},q._currentRenderer=null,q._currentRenderer2=null,q},iL.createElement=function(q,w,E){for(var c=2;c<arguments.length;c++)BZ(arguments[c]);c={};var r=null;if(w!=null)for(ZX in j2||!("__self"in w)||"key"in w||(j2=!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")),x(w)&&(t(w.key),r=""+w.key),w)d4.call(w,ZX)&&ZX!=="key"&&ZX!=="__self"&&ZX!=="__source"&&(c[ZX]=w[ZX]);var MX=arguments.length-2;if(MX===1)c.children=E;else if(1<MX){for(var KX=Array(MX),DX=0;DX<MX;DX++)KX[DX]=arguments[DX+2];Object.freeze&&Object.freeze(KX),c.children=KX}if(q&&q.defaultProps)for(ZX in MX=q.defaultProps,MX)c[ZX]===void 0&&(c[ZX]=MX[ZX]);r&&XX(c,typeof q==="function"?q.displayName||q.name||"Unknown":q);var ZX=1e4>LX.recentlyCreatedOwnerStacks++;return fX(q,r,c,S(),ZX?Error("react-stack-top-frame"):U4,ZX?oX(k(q)):h)},iL.createRef=function(){var q={current:null};return Object.seal(q),q},iL.forwardRef=function(q){q!=null&&q.$$typeof===iZ?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof q!=="function"?console.error("forwardRef requires a render function but was given %s.",q===null?"null":typeof q):q.length!==0&&q.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",q.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),q!=null&&q.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var w={$$typeof:uX,render:q},E;return Object.defineProperty(w,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(c){E=c,q.name||q.displayName||(Object.defineProperty(q,"name",{value:c}),q.displayName=c)}}),w},iL.isValidElement=ZZ,iL.lazy=function(q){q={_status:-1,_result:q};var w={$$typeof:dX,_payload:q,_init:oZ},E={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return q._ioInfo=E,w._debugInfo=[{awaited:E}],w},iL.memo=function(q,w){q==null&&console.error("memo: The first argument must be a component. Instead received: %s",q===null?"null":typeof q),w={$$typeof:iZ,type:q,compare:w===void 0?null:w};var E;return Object.defineProperty(w,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(c){E=c,q.name||q.displayName||(Object.defineProperty(q,"name",{value:c}),q.displayName=c)}}),w},iL.startTransition=function(q){var w=LX.T,E={};E._updatedFibers=new Set,LX.T=E;try{var c=q(),r=LX.S;r!==null&&r(E,c),typeof c==="object"&&c!==null&&typeof c.then==="function"&&(LX.asyncTransitions++,c.then(KZ,KZ),c.then(v,yX))}catch(MX){yX(MX)}finally{w===null&&E._updatedFibers&&(q=E._updatedFibers.size,E._updatedFibers.clear(),10<q&&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.")),w!==null&&E.types!==null&&(w.types!==null&&w.types!==E.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."),w.types=E.types),LX.T=w}},iL.unstable_useCacheRefresh=function(){return p().useCacheRefresh()},iL.use=function(q){return p().use(q)},iL.useActionState=function(q,w,E){return p().useActionState(q,w,E)},iL.useCallback=function(q,w){return p().useCallback(q,w)},iL.useContext=function(q){var w=p();return q.$$typeof===xX&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),w.useContext(q)},iL.useDebugValue=function(q,w){return p().useDebugValue(q,w)},iL.useDeferredValue=function(q,w){return p().useDeferredValue(q,w)},iL.useEffect=function(q,w){return q==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useEffect(q,w)},iL.useEffectEvent=function(q){return p().useEffectEvent(q)},iL.useId=function(){return p().useId()},iL.useImperativeHandle=function(q,w,E){return p().useImperativeHandle(q,w,E)},iL.useInsertionEffect=function(q,w){return q==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useInsertionEffect(q,w)},iL.useLayoutEffect=function(q,w){return q==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useLayoutEffect(q,w)},iL.useMemo=function(q,w){return p().useMemo(q,w)},iL.useOptimistic=function(q,w){return p().useOptimistic(q,w)},iL.useReducer=function(q,w,E){return p().useReducer(q,w,E)},iL.useRef=function(q){return p().useRef(q)},iL.useState=function(q){return p().useState(q)},iL.useSyncExternalStore=function(q,w,E){return p().useSyncExternalStore(q,w,E)},iL.useTransition=function(){return p().useTransition()},iL.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var SU=r6((rL)=>{(function(){function W(){if(AZ=!1,qX){var d=rL.unstable_now();KZ=d;var JX=!0;try{X:{BZ=!1,ZZ&&(ZZ=!1,lZ(oZ),oZ=-1),aX=!0;var GX=fX;try{Z:{T(d);for(n=K(V);n!==null&&!(n.expirationTime>d&&R());){var jX=n.callback;if(typeof jX==="function"){n.callback=null,fX=n.priorityLevel;var EX=jX(n.expirationTime<=d);if(d=rL.unstable_now(),typeof EX==="function"){n.callback=EX,T(d),JX=!0;break Z}n===K(V)&&N(V),T(d)}else N(V);n=K(V)}if(n!==null)JX=!0;else{var D=K(x);D!==null&&t(v,D.startTime-d),JX=!1}}break X}finally{n=null,fX=GX,aX=!1}JX=void 0}}finally{JX?vX():qX=!1}}}function L(d,JX){var GX=d.length;d.push(JX);X:for(;0<GX;){var jX=GX-1>>>1,EX=d[jX];if(0<C(EX,JX))d[jX]=JX,d[GX]=EX,GX=jX;else break X}}function K(d){return d.length===0?null:d[0]}function N(d){if(d.length===0)return null;var JX=d[0],GX=d.pop();if(GX!==JX){d[0]=GX;X:for(var jX=0,EX=d.length,D=EX>>>1;jX<D;){var HX=2*(jX+1)-1,xX=d[HX],hX=HX+1,uX=d[hX];if(0>C(xX,GX))hX<EX&&0>C(uX,xX)?(d[jX]=uX,d[hX]=GX,jX=hX):(d[jX]=xX,d[HX]=GX,jX=HX);else if(hX<EX&&0>C(uX,GX))d[jX]=uX,d[hX]=GX,jX=hX;else break X}}return JX}function C(d,JX){var GX=d.sortIndex-JX.sortIndex;return GX!==0?GX:d.id-JX.id}function T(d){for(var JX=K(x);JX!==null;){if(JX.callback===null)N(x);else if(JX.startTime<=d)N(x),JX.sortIndex=JX.expirationTime,L(V,JX);else break;JX=K(x)}}function v(d){if(ZZ=!1,T(d),!BZ)if(K(V)!==null)BZ=!0,qX||(qX=!0,vX());else{var JX=K(x);JX!==null&&t(v,JX.startTime-d)}}function R(){return AZ?!0:rL.unstable_now()-KZ<p?!1:!0}function t(d,JX){oZ=UZ(function(){d(rL.unstable_now())},JX)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),rL.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var l=performance;rL.unstable_now=function(){return l.now()}}else{var k=Date,S=k.now();rL.unstable_now=function(){return k.now()-S}}var V=[],x=[],XX=1,n=null,fX=3,aX=!1,BZ=!1,ZZ=!1,AZ=!1,UZ=typeof setTimeout==="function"?setTimeout:null,lZ=typeof clearTimeout==="function"?clearTimeout:null,QX=typeof setImmediate<"u"?setImmediate:null,qX=!1,oZ=-1,p=5,KZ=-1;if(typeof QX==="function")var vX=function(){QX(W)};else if(typeof MessageChannel<"u"){var NX=new MessageChannel,PZ=NX.port2;NX.port1.onmessage=W,vX=function(){PZ.postMessage(null)}}else vX=function(){UZ(W,0)};rL.unstable_IdlePriority=5,rL.unstable_ImmediatePriority=1,rL.unstable_LowPriority=4,rL.unstable_NormalPriority=3,rL.unstable_Profiling=null,rL.unstable_UserBlockingPriority=2,rL.unstable_cancelCallback=function(d){d.callback=null},rL.unstable_forceFrameRate=function(d){0>d||125<d?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):p=0<d?Math.floor(1000/d):5},rL.unstable_getCurrentPriorityLevel=function(){return fX},rL.unstable_next=function(d){switch(fX){case 1:case 2:case 3:var JX=3;break;default:JX=fX}var GX=fX;fX=JX;try{return d()}finally{fX=GX}},rL.unstable_requestPaint=function(){AZ=!0},rL.unstable_runWithPriority=function(d,JX){switch(d){case 1:case 2:case 3:case 4:case 5:break;default:d=3}var GX=fX;fX=d;try{return JX()}finally{fX=GX}},rL.unstable_scheduleCallback=function(d,JX,GX){var jX=rL.unstable_now();switch(typeof GX==="object"&&GX!==null?(GX=GX.delay,GX=typeof GX==="number"&&0<GX?jX+GX:jX):GX=jX,d){case 1:var EX=-1;break;case 2:EX=250;break;case 5:EX=1073741823;break;case 4:EX=1e4;break;default:EX=5000}return EX=GX+EX,d={id:XX++,callback:JX,priorityLevel:d,startTime:GX,expirationTime:EX,sortIndex:-1},GX>jX?(d.sortIndex=GX,L(x,d),K(V)===null&&d===K(x)&&(ZZ?(lZ(oZ),oZ=-1):ZZ=!0,t(v,GX-jX))):(d.sortIndex=EX,L(V,d),BZ||aX||(BZ=!0,qX||(qX=!0,vX()))),d},rL.unstable_shouldYield=R,rL.unstable_wrapCallback=function(d){var JX=fX;return function(){var GX=fX;fX=JX;try{return d.apply(this,arguments)}finally{fX=GX}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var vU=r6((sL)=>{var j$=M2(Y8());(function(){function W(){}function L(k){return""+k}function K(k,S,V){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{L(x);var XX=!1}catch(n){XX=!0}return XX&&(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&&x[Symbol.toStringTag]||x.constructor.name||"Object"),L(x)),{$$typeof:t,key:x==null?null:""+x,children:k,containerInfo:S,implementation:V}}function N(k,S){if(k==="font")return"";if(typeof S==="string")return S==="use-credentials"?S:""}function C(k){return k===null?"`null`":k===void 0?"`undefined`":k===""?"an empty string":'something with type "'+typeof k+'"'}function T(k){return k===null?"`null`":k===void 0?"`undefined`":k===""?"an empty string":typeof k==="string"?JSON.stringify(k):typeof k==="number"?"`"+k+"`":'something with type "'+typeof k+'"'}function v(){var k=l.H;return k===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
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
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.`),k}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var R={d:{f:W,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:W,C:W,L:W,m:W,X:W,S:W,M:W},p:0,findDOMNode:null},t=Symbol.for("react.portal"),l=j$.__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"),sL.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,sL.createPortal=function(k,S){var V=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!S||S.nodeType!==1&&S.nodeType!==9&&S.nodeType!==11)throw Error("Target container is not a DOM element.");return K(k,S,null,V)},sL.flushSync=function(k){var S=l.T,V=R.p;try{if(l.T=null,R.p=2,k)return k()}finally{l.T=S,R.p=V,R.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.")}},sL.preconnect=function(k,S){typeof k==="string"&&k?S!=null&&typeof S!=="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.",T(S)):S!=null&&typeof S.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.",C(S.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",C(k)),typeof k==="string"&&(S?(S=S.crossOrigin,S=typeof S==="string"?S==="use-credentials"?S:"":void 0):S=null,R.d.C(k,S))},sL.prefetchDNS=function(k){if(typeof k!=="string"||!k)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",C(k));else if(1<arguments.length){var S=arguments[1];typeof S==="object"&&S.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`.",T(S)):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`.",T(S))}typeof k==="string"&&R.d.D(k)},sL.preinit=function(k,S){if(typeof k==="string"&&k?S==null||typeof S!=="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.",T(S)):S.as!=="style"&&S.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".',T(S.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",C(k)),typeof k==="string"&&S&&typeof S.as==="string"){var V=S.as,x=N(V,S.crossOrigin),XX=typeof S.integrity==="string"?S.integrity:void 0,n=typeof S.fetchPriority==="string"?S.fetchPriority:void 0;V==="style"?R.d.S(k,typeof S.precedence==="string"?S.precedence:void 0,{crossOrigin:x,integrity:XX,fetchPriority:n}):V==="script"&&R.d.X(k,{crossOrigin:x,integrity:XX,fetchPriority:n,nonce:typeof S.nonce==="string"?S.nonce:void 0})}},sL.preinitModule=function(k,S){var V="";if(typeof k==="string"&&k||(V+=" The `href` argument encountered was "+C(k)+"."),S!==void 0&&typeof S!=="object"?V+=" The `options` argument encountered was "+C(S)+".":S&&("as"in S)&&S.as!=="script"&&(V+=" The `as` option encountered was "+T(S.as)+"."),V)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",V);else switch(V=S&&typeof S.as==="string"?S.as:"script",V){case"script":break;default:V=T(V),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)',V,k)}if(typeof k==="string")if(typeof S==="object"&&S!==null){if(S.as==null||S.as==="script")V=N(S.as,S.crossOrigin),R.d.M(k,{crossOrigin:V,integrity:typeof S.integrity==="string"?S.integrity:void 0,nonce:typeof S.nonce==="string"?S.nonce:void 0})}else S==null&&R.d.M(k)},sL.preload=function(k,S){var V="";if(typeof k==="string"&&k||(V+=" The `href` argument encountered was "+C(k)+"."),S==null||typeof S!=="object"?V+=" The `options` argument encountered was "+C(S)+".":typeof S.as==="string"&&S.as||(V+=" The `as` option encountered was "+C(S.as)+"."),V&&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',V),typeof k==="string"&&typeof S==="object"&&S!==null&&typeof S.as==="string"){V=S.as;var x=N(V,S.crossOrigin);R.d.L(k,V,{crossOrigin:x,integrity:typeof S.integrity==="string"?S.integrity:void 0,nonce:typeof S.nonce==="string"?S.nonce:void 0,type:typeof S.type==="string"?S.type:void 0,fetchPriority:typeof S.fetchPriority==="string"?S.fetchPriority:void 0,referrerPolicy:typeof S.referrerPolicy==="string"?S.referrerPolicy:void 0,imageSrcSet:typeof S.imageSrcSet==="string"?S.imageSrcSet:void 0,imageSizes:typeof S.imageSizes==="string"?S.imageSizes:void 0,media:typeof S.media==="string"?S.media:void 0})}},sL.preloadModule=function(k,S){var V="";typeof k==="string"&&k||(V+=" The `href` argument encountered was "+C(k)+"."),S!==void 0&&typeof S!=="object"?V+=" The `options` argument encountered was "+C(S)+".":S&&("as"in S)&&typeof S.as!=="string"&&(V+=" The `as` option encountered was "+C(S.as)+"."),V&&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',V),typeof k==="string"&&(S?(V=N(S.as,S.crossOrigin),R.d.m(k,{as:typeof S.as==="string"&&S.as!=="script"?S.as:void 0,crossOrigin:V,integrity:typeof S.integrity==="string"?S.integrity:void 0})):R.d.m(k))},sL.requestFormReset=function(k){R.d.r(k)},sL.unstable_batchedUpdates=function(k,S){return k(S)},sL.useFormState=function(k,S,V){return v().useFormState(k,S,V)},sL.useFormStatus=function(){return v().useHostTransitionStatus()},sL.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var gU=r6((zF,kU)=>{var tL=M2(vU());kU.exports=tL});var yU=r6((eL)=>{var mX=M2(SU()),G8=M2(Y8()),D$=M2(gU());(function(){function W(X,Z){for(X=X.memoizedState;X!==null&&0<Z;)X=X.next,Z--;return X}function L(X,Z,Y,G){if(Y>=Z.length)return G;var $=Z[Y],Q=gZ(X)?X.slice():OX({},X);return Q[$]=L(X[$],Z,Y+1,G),Q}function K(X,Z,Y){if(Z.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var G=0;G<Y.length-1;G++)if(Z[G]!==Y[G]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return N(X,Z,Y,0)}}function N(X,Z,Y,G){var $=Z[G],Q=gZ(X)?X.slice():OX({},X);return G+1===Z.length?(Q[Y[G]]=Q[$],gZ(Q)?Q.splice($,1):delete Q[$]):Q[$]=N(X[$],Z,Y,G+1),Q}function C(X,Z,Y){var G=Z[Y],$=gZ(X)?X.slice():OX({},X);if(Y+1===Z.length)return gZ($)?$.splice(G,1):delete $[G],$;return $[G]=C(X[G],Z,Y+1),$}function T(){return!1}function v(){return null}function R(){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 t(){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 l(){}function k(){}function S(X){var Z=[];return X.forEach(function(Y){Z.push(Y)}),Z.sort().join(", ")}function V(X,Z,Y,G){return new yq(X,Z,Y,G)}function x(X,Z){X.context===x5&&(ZG(X.current,2,Z,X,null,null),M7())}function XX(X,Z){if(u2!==null){var Y=Z.staleFamilies;Z=Z.updatedFamilies,y8(),fQ(X.current,Z,Y),M7()}}function n(X){u2=X}function fX(X){return!(!X||X.nodeType!==1&&X.nodeType!==9&&X.nodeType!==11)}function aX(X){var Z=X,Y=X;if(X.alternate)for(;Z.return;)Z=Z.return;else{X=Z;do Z=X,(Z.flags&4098)!==0&&(Y=Z.return),X=Z.return;while(X)}return Z.tag===3?Y:null}function BZ(X){if(X.tag===13){var Z=X.memoizedState;if(Z===null&&(X=X.alternate,X!==null&&(Z=X.memoizedState)),Z!==null)return Z.dehydrated}return null}function ZZ(X){if(X.tag===31){var Z=X.memoizedState;if(Z===null&&(X=X.alternate,X!==null&&(Z=X.memoizedState)),Z!==null)return Z.dehydrated}return null}function AZ(X){if(aX(X)!==X)throw Error("Unable to find node on an unmounted component.")}function UZ(X){var Z=X.alternate;if(!Z){if(Z=aX(X),Z===null)throw Error("Unable to find node on an unmounted component.");return Z!==X?null:X}for(var Y=X,G=Z;;){var $=Y.return;if($===null)break;var Q=$.alternate;if(Q===null){if(G=$.return,G!==null){Y=G;continue}break}if($.child===Q.child){for(Q=$.child;Q;){if(Q===Y)return AZ($),X;if(Q===G)return AZ($),Z;Q=Q.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==G.return)Y=$,G=Q;else{for(var J=!1,B=$.child;B;){if(B===Y){J=!0,Y=$,G=Q;break}if(B===G){J=!0,G=$,Y=Q;break}B=B.sibling}if(!J){for(B=Q.child;B;){if(B===Y){J=!0,Y=Q,G=$;break}if(B===G){J=!0,G=Q,Y=$;break}B=B.sibling}if(!J)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(Y.alternate!==G)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(Y.tag!==3)throw Error("Unable to find node on an unmounted component.");return Y.stateNode.current===Y?X:Z}function lZ(X){var Z=X.tag;if(Z===5||Z===26||Z===27||Z===6)return X;for(X=X.child;X!==null;){if(Z=lZ(X),Z!==null)return Z;X=X.sibling}return null}function QX(X){if(X===null||typeof X!=="object")return null;return X=xz&&X[xz]||X["@@iterator"],typeof X==="function"?X:null}function qX(X){if(X==null)return null;if(typeof X==="function")return X.$$typeof===tM?null:X.displayName||X.name||null;if(typeof X==="string")return X;switch(X){case N7:return"Fragment";case BG:return"Profiler";case c0:return"StrictMode";case HG:return"Suspense";case WG:return"SuspenseList";case UG:return"Activity"}if(typeof X==="object")switch(typeof X.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),X.$$typeof){case A7:return"Portal";case k4:return X.displayName||"Context";case zG:return(X._context.displayName||"Context")+".Consumer";case u8:var Z=X.render;return X=X.displayName,X||(X=Z.displayName||Z.name||"",X=X!==""?"ForwardRef("+X+")":"ForwardRef"),X;case a0:return Z=X.displayName||null,Z!==null?Z:qX(X.type)||"Memo";case w2:Z=X._payload,X=X._init;try{return qX(X(Z))}catch(Y){}}return null}function oZ(X){return typeof X.tag==="number"?p(X):typeof X.name==="string"?X.name:null}function p(X){var Z=X.type;switch(X.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Z._context.displayName||"Context")+".Consumer";case 10:return Z.displayName||"Context";case 18:return"DehydratedFragment";case 11:return X=Z.render,X=X.displayName||X.name||"",Z.displayName||(X!==""?"ForwardRef("+X+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Z;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return qX(Z);case 8:return Z===c0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break;case 29:if(Z=X._debugInfo,Z!=null){for(var Y=Z.length-1;0<=Y;Y--)if(typeof Z[Y].name==="string")return Z[Y].name}if(X.return!==null)return p(X.return)}return null}function KZ(X){return{current:X}}function vX(X,Z){0>e4?console.error("Unexpected pop."):(Z!==MG[e4]&&console.error("Unexpected Fiber popped."),X.current=qG[e4],qG[e4]=null,MG[e4]=null,e4--)}function NX(X,Z,Y){e4++,qG[e4]=X.current,MG[e4]=Y,X.current=Z}function PZ(X){return X===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),X}function d(X,Z){NX(b5,Z,X),NX(d8,X,X),NX(f5,null,X);var Y=Z.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",Z=(Z=Z.documentElement)?(Z=Z.namespaceURI)?Hz(Z):M5:M5;break;default:if(Y=Z.tagName,Z=Z.namespaceURI)Z=Hz(Z),Z=Wz(Z,Y);else switch(Y){case"svg":Z=X8;break;case"math":Z=pY;break;default:Z=M5}}Y=Y.toLowerCase(),Y=GQ(null,Y),Y={context:Z,ancestorInfo:Y},vX(f5,X),NX(f5,Y,X)}function JX(X){vX(f5,X),vX(d8,X),vX(b5,X)}function GX(){return PZ(f5.current)}function jX(X){X.memoizedState!==null&&NX(n0,X,X);var Z=PZ(f5.current),Y=X.type,G=Wz(Z.context,Y);Y=GQ(Z.ancestorInfo,Y),G={context:G,ancestorInfo:Y},Z!==G&&(NX(d8,X,X),NX(f5,G,X))}function EX(X){d8.current===X&&(vX(f5,X),vX(d8,X)),n0.current===X&&(vX(n0,X),b9._currentValue=i6)}function D(){}function HX(){if(l8===0){hz=console.log,uz=console.info,dz=console.warn,lz=console.error,pz=console.group,cz=console.groupCollapsed,az=console.groupEnd;var X={configurable:!0,enumerable:!0,value:D,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}l8++}function xX(){if(l8--,l8===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:OX({},X,{value:hz}),info:OX({},X,{value:uz}),warn:OX({},X,{value:dz}),error:OX({},X,{value:lz}),group:OX({},X,{value:pz}),groupCollapsed:OX({},X,{value:cz}),groupEnd:OX({},X,{value:az})})}0>l8&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function hX(X){var Z=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,X=X.stack,Error.prepareStackTrace=Z,X.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&(X=X.slice(29)),Z=X.indexOf(`
|
|
19
|
+
`),Z!==-1&&(X=X.slice(Z+1)),Z=X.indexOf("react_stack_bottom_frame"),Z!==-1&&(Z=X.lastIndexOf(`
|
|
20
|
+
`,Z)),Z!==-1)X=X.slice(0,Z);else return"";return X}function uX(X){if(KG===void 0)try{throw Error()}catch(Y){var Z=Y.stack.trim().match(/\n( *(at )?)/);KG=Z&&Z[1]||"",nz=-1<Y.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+KG+X+nz}function R2(X,Z){if(!X||LG)return"";var Y=RG.get(X);if(Y!==void 0)return Y;LG=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var G=null;G=f.H,f.H=null,HX();try{var $={DetermineComponentFrameRoot:function(){try{if(Z){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(u){var g=u}Reflect.construct(X,[],F)}else{try{F.call()}catch(u){g=u}X.call(F.prototype)}}else{try{throw Error()}catch(u){g=u}(F=X())&&typeof F.catch==="function"&&F.catch(function(){})}}catch(u){if(u&&g&&typeof u.stack==="string")return[u.stack,g.stack]}return[null,null]}};$.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Q=Object.getOwnPropertyDescriptor($.DetermineComponentFrameRoot,"name");Q&&Q.configurable&&Object.defineProperty($.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var J=$.DetermineComponentFrameRoot(),B=J[0],z=J[1];if(B&&z){var U=B.split(`
|
|
23
|
+
`),P=z.split(`
|
|
24
|
+
`);for(J=Q=0;Q<U.length&&!U[Q].includes("DetermineComponentFrameRoot");)Q++;for(;J<P.length&&!P[J].includes("DetermineComponentFrameRoot");)J++;if(Q===U.length||J===P.length)for(Q=U.length-1,J=P.length-1;1<=Q&&0<=J&&U[Q]!==P[J];)J--;for(;1<=Q&&0<=J;Q--,J--)if(U[Q]!==P[J]){if(Q!==1||J!==1)do if(Q--,J--,0>J||U[Q]!==P[J]){var O=`
|
|
25
|
+
`+U[Q].replace(" at new "," at ");return X.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",X.displayName)),typeof X==="function"&&RG.set(X,O),O}while(1<=Q&&0<=J);break}}}finally{LG=!1,f.H=G,xX(),Error.prepareStackTrace=Y}return U=(U=X?X.displayName||X.name:"")?uX(U):"",typeof X==="function"&&RG.set(X,U),U}function zZ(X,Z){switch(X.tag){case 26:case 27:case 5:return uX(X.type);case 16:return uX("Lazy");case 13:return X.child!==Z&&Z!==null?uX("Suspense Fallback"):uX("Suspense");case 19:return uX("SuspenseList");case 0:case 15:return R2(X.type,!1);case 11:return R2(X.type.render,!1);case 1:return R2(X.type,!0);case 31:return uX("Activity");default:return""}}function iZ(X){try{var Z="",Y=null;do{Z+=zZ(X,Y);var G=X._debugInfo;if(G)for(var $=G.length-1;0<=$;$--){var Q=G[$];if(typeof Q.name==="string"){var J=Z;X:{var{name:B,env:z,debugLocation:U}=Q;if(U!=null){var P=hX(U),O=P.lastIndexOf(`
|
|
26
|
+
`),F=O===-1?P:P.slice(O+1);if(F.indexOf(B)!==-1){var g=`
|
|
27
|
+
`+F;break X}}g=uX(B+(z?" ["+z+"]":""))}Z=J+g}}Y=X,X=X.return}while(X);return Z}catch(u){return`
|
|
28
|
+
Error generating stack: `+u.message+`
|
|
29
|
+
`+u.stack}}function dX(X){return(X=X?X.displayName||X.name:"")?uX(X):""}function s2(){if(S2===null)return null;var X=S2._debugOwner;return X!=null?oZ(X):null}function e6(){if(S2===null)return"";var X=S2;try{var Z="";switch(X.tag===6&&(X=X.return),X.tag){case 26:case 27:case 5:Z+=uX(X.type);break;case 13:Z+=uX("Suspense");break;case 19:Z+=uX("SuspenseList");break;case 31:Z+=uX("Activity");break;case 30:case 0:case 15:case 1:X._debugOwner||Z!==""||(Z+=dX(X.type));break;case 11:X._debugOwner||Z!==""||(Z+=dX(X.type.render))}for(;X;)if(typeof X.tag==="number"){var Y=X;X=Y._debugOwner;var G=Y._debugStack;if(X&&G){var $=hX(G);$!==""&&(Z+=`
|
|
30
|
+
`+$)}}else if(X.debugStack!=null){var Q=X.debugStack;(X=X.owner)&&Q&&(Z+=`
|
|
31
|
+
`+hX(Q))}else break;var J=Z}catch(B){J=`
|
|
32
|
+
Error generating stack: `+B.message+`
|
|
33
|
+
`+B.stack}return J}function i(X,Z,Y,G,$,Q,J){var B=S2;R5(X);try{return X!==null&&X._debugTask?X._debugTask.run(Z.bind(null,Y,G,$,Q,J)):Z(Y,G,$,Q,J)}finally{R5(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function R5(X){f.getCurrentStack=X===null?null:e6,g4=!1,S2=X}function u4(X){return typeof Symbol==="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object"}function Q2(X){try{return nX(X),!1}catch(Z){return!0}}function nX(X){return""+X}function lX(X,Z){if(Q2(X))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Z,u4(X)),nX(X)}function _5(X,Z){if(Q2(X))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",Z,u4(X)),nX(X)}function LX(X){if(Q2(X))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",u4(X)),nX(X)}function d4(X){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Z=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Z.isDisabled)return!0;if(!Z.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{P7=Z.inject(X),aZ=Z}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return Z.checkDCE?!0:!1}function oX(X){if(typeof QK==="function"&&JK(X),aZ&&typeof aZ.setStrictMode==="function")try{aZ.setStrictMode(P7,X)}catch(Z){y4||(y4=!0,console.error("React instrumentation encountered an error: %o",Z))}}function X7(X){return X>>>=0,X===0?32:31-(BK(X)/zK|0)|0}function j2(X){var Z=X&42;if(Z!==0)return Z;switch(X&-X){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return X&261888;case 262144:case 524288:case 1048576:case 2097152:return X&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return X&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),X}}function l4(X,Z,Y){var G=X.pendingLanes;if(G===0)return 0;var $=0,Q=X.suspendedLanes,J=X.pingedLanes;X=X.warmLanes;var B=G&134217727;return B!==0?(G=B&~Q,G!==0?$=j2(G):(J&=B,J!==0?$=j2(J):Y||(Y=B&~X,Y!==0&&($=j2(Y))))):(B=G&~Q,B!==0?$=j2(B):J!==0?$=j2(J):Y||(Y=G&~X,Y!==0&&($=j2(Y)))),$===0?0:Z!==0&&Z!==$&&(Z&Q)===0&&(Q=$&-$,Y=Z&-Z,Q>=Y||Q===32&&(Y&4194048)!==0)?Z:$}function U4(X,Z){return(X.pendingLanes&~(X.suspendedLanes&~X.pingedLanes)&Z)===0}function h(X,Z){switch(X){case 1:case 2:case 4:case 8:case 64:return Z+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return Z+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function j(){var X=r0;return r0<<=1,(r0&62914560)===0&&(r0=4194304),X}function TX(X){for(var Z=[],Y=0;31>Y;Y++)Z.push(X);return Z}function yX(X,Z){X.pendingLanes|=Z,Z!==268435456&&(X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0)}function sX(X,Z,Y,G,$,Q){var J=X.pendingLanes;X.pendingLanes=Y,X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0,X.expiredLanes&=Y,X.entangledLanes&=Y,X.errorRecoveryDisabledLanes&=Y,X.shellSuspendCounter=0;var{entanglements:B,expirationTimes:z,hiddenUpdates:U}=X;for(Y=J&~Y;0<Y;){var P=31-sZ(Y),O=1<<P;B[P]=0,z[P]=-1;var F=U[P];if(F!==null)for(U[P]=null,P=0;P<F.length;P++){var g=F[P];g!==null&&(g.lane&=-536870913)}Y&=~O}G!==0&&z6(X,G,0),Q!==0&&$===0&&X.tag!==0&&(X.suspendedLanes|=Q&~(J&~Z))}function z6(X,Z,Y){X.pendingLanes|=Z,X.suspendedLanes&=~Z;var G=31-sZ(Z);X.entangledLanes|=Z,X.entanglements[G]=X.entanglements[G]|1073741824|Y&261930}function H6(X,Z){var Y=X.entangledLanes|=Z;for(X=X.entanglements;Y;){var G=31-sZ(Y),$=1<<G;$&Z|X[G]&Z&&(X[G]|=Z),Y&=~$}}function W6(X,Z){var Y=Z&-Z;return Y=(Y&42)!==0?1:U6(Y),(Y&(X.suspendedLanes|Z))!==0?0:Y}function U6(X){switch(X){case 2:X=1;break;case 8:X=4;break;case 32:X=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:X=128;break;case 268435456:X=134217728;break;default:X=0}return X}function $8(X,Z,Y){if(f4)for(X=X.pendingUpdatersLaneMap;0<Y;){var G=31-sZ(Y),$=1<<G;X[G].add(Z),Y&=~$}}function F5(X,Z){if(f4)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:G}=X;0<Z;){var $=31-sZ(Z);X=1<<$,$=Y[$],0<$.size&&($.forEach(function(Q){var J=Q.alternate;J!==null&&G.has(J)||G.add(Q)}),$.clear()),Z&=~X}}function q(X){return X&=-X,v2!==0&&v2<X?Y4!==0&&Y4<X?(X&134217727)!==0?b4:s0:Y4:v2}function w(){var X=cX.p;if(X!==0)return X;return X=window.event,X===void 0?b4:fz(X.type)}function E(X,Z){var Y=cX.p;try{return cX.p=X,Z()}finally{cX.p=Y}}function c(X){delete X[uZ],delete X[tZ],delete X[IG],delete X[HK],delete X[WK]}function r(X){var Z=X[uZ];if(Z)return Z;for(var Y=X.parentNode;Y;){if(Z=Y[j5]||Y[uZ]){if(Y=Z.alternate,Z.child!==null||Y!==null&&Y.child!==null)for(X=Fz(X);X!==null;){if(Y=X[uZ])return Y;X=Fz(X)}return Z}X=Y,Y=X.parentNode}return null}function MX(X){if(X=X[uZ]||X[j5]){var Z=X.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return X}return null}function KX(X){var Z=X.tag;if(Z===5||Z===26||Z===27||Z===6)return X.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function DX(X){var Z=X[oz];return Z||(Z=X[oz]={hoistableStyles:new Map,hoistableScripts:new Map}),Z}function ZX(X){X[p8]=!0}function pZ(X,Z){_2(X,Z),_2(X+"Capture",Z)}function _2(X,Z){S6[X]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",X),S6[X]=Z;var Y=X.toLowerCase();PG[Y]=X,X==="onDoubleClick"&&(PG.ondblclick=X);for(X=0;X<Z.length;X++)iz.add(Z[X])}function A5(X,Z){UK[Z.type]||Z.onChange||Z.onInput||Z.readOnly||Z.disabled||Z.value==null||(X==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),Z.onChange||Z.readOnly||Z.disabled||Z.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Q8(X){if(Z4.call(sz,X))return!0;if(Z4.call(rz,X))return!1;if(qK.test(X))return sz[X]=!0;return rz[X]=!0,console.error("Invalid attribute name: `%s`",X),!1}function d$(X,Z,Y){if(Q8(Z)){if(!X.hasAttribute(Z)){switch(typeof Y){case"symbol":case"object":return Y;case"function":return Y;case"boolean":if(Y===!1)return Y}return Y===void 0?void 0:null}if(X=X.getAttribute(Z),X===""&&Y===!0)return!0;return lX(Y,Z),X===""+Y?Y:X}}function m9(X,Z,Y){if(Q8(Z))if(Y===null)X.removeAttribute(Z);else{switch(typeof Y){case"undefined":case"function":case"symbol":X.removeAttribute(Z);return;case"boolean":var G=Z.toLowerCase().slice(0,5);if(G!=="data-"&&G!=="aria-"){X.removeAttribute(Z);return}}lX(Y,Z),X.setAttribute(Z,""+Y)}}function E9(X,Z,Y){if(Y===null)X.removeAttribute(Z);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute(Z);return}lX(Y,Z),X.setAttribute(Z,""+Y)}}function p4(X,Z,Y,G){if(G===null)X.removeAttribute(Y);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute(Y);return}lX(G,Y),X.setAttributeNS(Z,Y,""+G)}}function D2(X){switch(typeof X){case"bigint":case"boolean":case"number":case"string":case"undefined":return X;case"object":return LX(X),X;default:return""}}function l$(X){var Z=X.type;return(X=X.nodeName)&&X.toLowerCase()==="input"&&(Z==="checkbox"||Z==="radio")}function zq(X,Z,Y){var G=Object.getOwnPropertyDescriptor(X.constructor.prototype,Z);if(!X.hasOwnProperty(Z)&&typeof G<"u"&&typeof G.get==="function"&&typeof G.set==="function"){var{get:$,set:Q}=G;return Object.defineProperty(X,Z,{configurable:!0,get:function(){return $.call(this)},set:function(J){LX(J),Y=""+J,Q.call(this,J)}}),Object.defineProperty(X,Z,{enumerable:G.enumerable}),{getValue:function(){return Y},setValue:function(J){LX(J),Y=""+J},stopTracking:function(){X._valueTracker=null,delete X[Z]}}}}function Y1(X){if(!X._valueTracker){var Z=l$(X)?"checked":"value";X._valueTracker=zq(X,Z,""+X[Z])}}function p$(X){if(!X)return!1;var Z=X._valueTracker;if(!Z)return!0;var Y=Z.getValue(),G="";return X&&(G=l$(X)?X.checked?"true":"false":X.value),X=G,X!==Y?(Z.setValue(X),!0):!1}function x9(X){if(X=X||(typeof document<"u"?document:void 0),typeof X>"u")return null;try{return X.activeElement||X.body}catch(Z){return X.body}}function m2(X){return X.replace(MK,function(Z){return"\\"+Z.charCodeAt(0).toString(16)+" "})}function c$(X,Z){Z.checked===void 0||Z.defaultChecked===void 0||ez||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s2()||"A component",Z.type),ez=!0),Z.value===void 0||Z.defaultValue===void 0||tz||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s2()||"A component",Z.type),tz=!0)}function G1(X,Z,Y,G,$,Q,J,B){if(X.name="",J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"?(lX(J,"type"),X.type=J):X.removeAttribute("type"),Z!=null)if(J==="number"){if(Z===0&&X.value===""||X.value!=Z)X.value=""+D2(Z)}else X.value!==""+D2(Z)&&(X.value=""+D2(Z));else J!=="submit"&&J!=="reset"||X.removeAttribute("value");Z!=null?$1(X,J,D2(Z)):Y!=null?$1(X,J,D2(Y)):G!=null&&X.removeAttribute("value"),$==null&&Q!=null&&(X.defaultChecked=!!Q),$!=null&&(X.checked=$&&typeof $!=="function"&&typeof $!=="symbol"),B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?(lX(B,"name"),X.name=""+D2(B)):X.removeAttribute("name")}function a$(X,Z,Y,G,$,Q,J,B){if(Q!=null&&typeof Q!=="function"&&typeof Q!=="symbol"&&typeof Q!=="boolean"&&(lX(Q,"type"),X.type=Q),Z!=null||Y!=null){if(!(Q!=="submit"&&Q!=="reset"||Z!==void 0&&Z!==null)){Y1(X);return}Y=Y!=null?""+D2(Y):"",Z=Z!=null?""+D2(Z):Y,B||Z===X.value||(X.value=Z),X.defaultValue=Z}G=G!=null?G:$,G=typeof G!=="function"&&typeof G!=="symbol"&&!!G,X.checked=B?X.checked:!!G,X.defaultChecked=!!G,J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"&&(lX(J,"name"),X.name=J),Y1(X)}function $1(X,Z,Y){Z==="number"&&x9(X.ownerDocument)===X||X.defaultValue===""+Y||(X.defaultValue=""+Y)}function n$(X,Z){Z.value==null&&(typeof Z.children==="object"&&Z.children!==null?G8.Children.forEach(Z.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||ZH||(ZH=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Z.dangerouslySetInnerHTML==null||YH||(YH=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Z.selected==null||XH||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),XH=!0)}function o$(){var X=s2();return X?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+X+"`.":""}function Z7(X,Z,Y,G){if(X=X.options,Z){Z={};for(var $=0;$<Y.length;$++)Z["$"+Y[$]]=!0;for(Y=0;Y<X.length;Y++)$=Z.hasOwnProperty("$"+X[Y].value),X[Y].selected!==$&&(X[Y].selected=$),$&&G&&(X[Y].defaultSelected=!0)}else{Y=""+D2(Y),Z=null;for($=0;$<X.length;$++){if(X[$].value===Y){X[$].selected=!0,G&&(X[$].defaultSelected=!0);return}Z!==null||X[$].disabled||(Z=X[$])}Z!==null&&(Z.selected=!0)}}function i$(X,Z){for(X=0;X<$H.length;X++){var Y=$H[X];if(Z[Y]!=null){var G=gZ(Z[Y]);Z.multiple&&!G?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,o$()):!Z.multiple&&G&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,o$())}}Z.value===void 0||Z.defaultValue===void 0||GH||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),GH=!0)}function r$(X,Z){Z.value===void 0||Z.defaultValue===void 0||QH||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",s2()||"A component"),QH=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function s$(X,Z,Y){if(Z!=null&&(Z=""+D2(Z),Z!==X.value&&(X.value=Z),Y==null)){X.defaultValue!==Z&&(X.defaultValue=Z);return}X.defaultValue=Y!=null?""+D2(Y):""}function t$(X,Z,Y,G){if(Z==null){if(G!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(gZ(G)){if(1<G.length)throw Error("<textarea> can only have at most one child.");G=G[0]}Y=G}Y==null&&(Y=""),Z=Y}Y=D2(Z),X.defaultValue=Y,G=X.textContent,G===Y&&G!==""&&G!==null&&(X.value=G),Y1(X)}function e$(X,Z){return X.serverProps===void 0&&X.serverTail.length===0&&X.children.length===1&&3<X.distanceFromLeaf&&X.distanceFromLeaf>15-Z?e$(X.children[0],Z):X}function F2(X){return" "+" ".repeat(X)}function Y7(X){return"+ "+" ".repeat(X)}function q6(X){return"- "+" ".repeat(X)}function XQ(X){switch(X.tag){case 26:case 27:case 5:return X.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return X=X.type,X.displayName||X.name||null;case 11:return X=X.type.render,X.displayName||X.name||null;case 1:return X=X.type,X.displayName||X.name||null;default:return null}}function J8(X,Z){return JH.test(X)?(X=JSON.stringify(X),X.length>Z-2?8>Z?'{"..."}':"{"+X.slice(0,Z-7)+'..."}':"{"+X+"}"):X.length>Z?5>Z?'{"..."}':X.slice(0,Z-3)+"...":X}function h9(X,Z,Y){var G=120-2*Y;if(Z===null)return Y7(Y)+J8(X,G)+`
|
|
36
|
+
`;if(typeof Z==="string"){for(var $=0;$<Z.length&&$<X.length&&Z.charCodeAt($)===X.charCodeAt($);$++);return $>G-8&&10<$&&(X="..."+X.slice($-8),Z="..."+Z.slice($-8)),Y7(Y)+J8(X,G)+`
|
|
37
|
+
`+q6(Y)+J8(Z,G)+`
|
|
38
|
+
`}return F2(Y)+J8(X,G)+`
|
|
39
|
+
`}function Q1(X){return Object.prototype.toString.call(X).replace(/^\[object (.*)\]$/,function(Z,Y){return Y})}function B8(X,Z){switch(typeof X){case"string":return X=JSON.stringify(X),X.length>Z?5>Z?'"..."':X.slice(0,Z-4)+'..."':X;case"object":if(X===null)return"null";if(gZ(X))return"[...]";if(X.$$typeof===v4)return(Z=qX(X.type))?"<"+Z+">":"<...>";var Y=Q1(X);if(Y==="Object"){Y="",Z-=2;for(var G in X)if(X.hasOwnProperty(G)){var $=JSON.stringify(G);if($!=='"'+G+'"'&&(G=$),Z-=G.length-2,$=B8(X[G],15>Z?Z:15),Z-=$.length,0>Z){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+G+":"+$}return"{"+Y+"}"}return Y;case"function":return(Z=X.displayName||X.name)?"function "+Z:"function";default:return String(X)}}function G7(X,Z){return typeof X!=="string"||JH.test(X)?"{"+B8(X,Z-2)+"}":X.length>Z-2?5>Z?'"..."':'"'+X.slice(0,Z-5)+'..."':'"'+X+'"'}function J1(X,Z,Y){var G=120-Y.length-X.length,$=[],Q;for(Q in Z)if(Z.hasOwnProperty(Q)&&Q!=="children"){var J=G7(Z[Q],120-Y.length-Q.length-1);G-=Q.length+J.length+2,$.push(Q+"="+J)}return $.length===0?Y+"<"+X+`>
|
|
40
|
+
`:0<G?Y+"<"+X+" "+$.join(" ")+`>
|
|
41
|
+
`:Y+"<"+X+`
|
|
42
|
+
`+Y+" "+$.join(`
|
|
43
|
+
`+Y+" ")+`
|
|
44
|
+
`+Y+`>
|
|
45
|
+
`}function Hq(X,Z,Y){var G="",$=OX({},Z),Q;for(Q in X)if(X.hasOwnProperty(Q)){delete $[Q];var J=120-2*Y-Q.length-2,B=B8(X[Q],J);Z.hasOwnProperty(Q)?(J=B8(Z[Q],J),G+=Y7(Y)+Q+": "+B+`
|
|
46
|
+
`,G+=q6(Y)+Q+": "+J+`
|
|
47
|
+
`):G+=Y7(Y)+Q+": "+B+`
|
|
48
|
+
`}for(var z in $)$.hasOwnProperty(z)&&(X=B8($[z],120-2*Y-z.length-2),G+=q6(Y)+z+": "+X+`
|
|
49
|
+
`);return G}function Wq(X,Z,Y,G){var $="",Q=new Map;for(U in Y)Y.hasOwnProperty(U)&&Q.set(U.toLowerCase(),U);if(Q.size===1&&Q.has("children"))$+=J1(X,Z,F2(G));else{for(var J in Z)if(Z.hasOwnProperty(J)&&J!=="children"){var B=120-2*(G+1)-J.length-1,z=Q.get(J.toLowerCase());if(z!==void 0){Q.delete(J.toLowerCase());var U=Z[J];z=Y[z];var P=G7(U,B);B=G7(z,B),typeof U==="object"&&U!==null&&typeof z==="object"&&z!==null&&Q1(U)==="Object"&&Q1(z)==="Object"&&(2<Object.keys(U).length||2<Object.keys(z).length||-1<P.indexOf("...")||-1<B.indexOf("..."))?$+=F2(G+1)+J+`={{
|
|
50
|
+
`+Hq(U,z,G+2)+F2(G+1)+`}}
|
|
51
|
+
`:($+=Y7(G+1)+J+"="+P+`
|
|
52
|
+
`,$+=q6(G+1)+J+"="+B+`
|
|
53
|
+
`)}else $+=F2(G+1)+J+"="+G7(Z[J],B)+`
|
|
54
|
+
`}Q.forEach(function(O){if(O!=="children"){var F=120-2*(G+1)-O.length-1;$+=q6(G+1)+O+"="+G7(Y[O],F)+`
|
|
55
|
+
`}}),$=$===""?F2(G)+"<"+X+`>
|
|
56
|
+
`:F2(G)+"<"+X+`
|
|
57
|
+
`+$+F2(G)+`>
|
|
58
|
+
`}if(X=Y.children,Z=Z.children,typeof X==="string"||typeof X==="number"||typeof X==="bigint"){if(Q="",typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")Q=""+Z;$+=h9(Q,""+X,G+1)}else if(typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")$=X==null?$+h9(""+Z,null,G+1):$+h9(""+Z,void 0,G+1);return $}function ZQ(X,Z){var Y=XQ(X);if(Y===null){Y="";for(X=X.child;X;)Y+=ZQ(X,Z),X=X.sibling;return Y}return F2(Z)+"<"+Y+`>
|
|
59
|
+
`}function B1(X,Z){var Y=e$(X,Z);if(Y!==X&&(X.children.length!==1||X.children[0]!==Y))return F2(Z)+`...
|
|
60
|
+
`+B1(Y,Z+1);Y="";var G=X.fiber._debugInfo;if(G)for(var $=0;$<G.length;$++){var Q=G[$].name;typeof Q==="string"&&(Y+=F2(Z)+"<"+Q+`>
|
|
61
|
+
`,Z++)}if(G="",$=X.fiber.pendingProps,X.fiber.tag===6)G=h9($,X.serverProps,Z),Z++;else if(Q=XQ(X.fiber),Q!==null)if(X.serverProps===void 0){G=Z;var J=120-2*G-Q.length-2,B="";for(U in $)if($.hasOwnProperty(U)&&U!=="children"){var z=G7($[U],15);if(J-=U.length+z.length+2,0>J){B+=" ...";break}B+=" "+U+"="+z}G=F2(G)+"<"+Q+B+`>
|
|
62
|
+
`,Z++}else X.serverProps===null?(G=J1(Q,$,Y7(Z)),Z++):typeof X.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(G=Wq(Q,$,X.serverProps,Z),Z++);var U="";$=X.fiber.child;for(Q=0;$&&Q<X.children.length;)J=X.children[Q],J.fiber===$?(U+=B1(J,Z),Q++):U+=ZQ($,Z),$=$.sibling;$&&0<X.children.length&&(U+=F2(Z)+`...
|
|
63
|
+
`),$=X.serverTail,X.serverProps===null&&Z--;for(X=0;X<$.length;X++)Q=$[X],U=typeof Q==="string"?U+(q6(Z)+J8(Q,120-2*Z)+`
|
|
64
|
+
`):U+J1(Q.type,Q.props,q6(Z));return Y+G+U}function z1(X){try{return`
|
|
65
|
+
|
|
66
|
+
`+B1(X,0)}catch(Z){return""}}function YQ(X,Z,Y){for(var G=Z,$=null,Q=0;G;)G===X&&(Q=0),$={fiber:G,children:$!==null?[$]:[],serverProps:G===Z?Y:G===X?null:void 0,serverTail:[],distanceFromLeaf:Q},Q++,G=G.return;return $!==null?z1($).replaceAll(/^[+-]/gm,">"):""}function GQ(X,Z){var Y=OX({},X||zH),G={tag:Z};if(BH.indexOf(Z)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),LK.indexOf(Z)!==-1&&(Y.pTagInButtonScope=null),KK.indexOf(Z)!==-1&&Z!=="address"&&Z!=="div"&&Z!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=G,Z==="form"&&(Y.formTag=G),Z==="a"&&(Y.aTagInScope=G),Z==="button"&&(Y.buttonTagInScope=G),Z==="nobr"&&(Y.nobrTagInScope=G),Z==="p"&&(Y.pTagInButtonScope=G),Z==="li"&&(Y.listItemTagAutoclosing=G),Z==="dd"||Z==="dt")Y.dlItemTagAutoclosing=G;return Z==="#document"||Z==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=G),X!==null||Z!=="#document"&&Z!=="html"&&Z!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function $Q(X,Z,Y){switch(Z){case"select":return X==="hr"||X==="option"||X==="optgroup"||X==="script"||X==="template"||X==="#text";case"optgroup":return X==="option"||X==="#text";case"option":return X==="#text";case"tr":return X==="th"||X==="td"||X==="style"||X==="script"||X==="template";case"tbody":case"thead":case"tfoot":return X==="tr"||X==="style"||X==="script"||X==="template";case"colgroup":return X==="col"||X==="template";case"table":return X==="caption"||X==="colgroup"||X==="tbody"||X==="tfoot"||X==="thead"||X==="style"||X==="script"||X==="template";case"head":return X==="base"||X==="basefont"||X==="bgsound"||X==="link"||X==="meta"||X==="title"||X==="noscript"||X==="noframes"||X==="style"||X==="script"||X==="template";case"html":if(Y)break;return X==="head"||X==="body"||X==="frameset";case"frameset":return X==="frame";case"#document":if(!Y)return X==="html"}switch(X){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z!=="h1"&&Z!=="h2"&&Z!=="h3"&&Z!=="h4"&&Z!=="h5"&&Z!=="h6";case"rp":case"rt":return RK.indexOf(Z)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Z==null;case"head":return Y||Z===null;case"html":return Y&&Z==="#document"||Z===null;case"body":return Y&&(Z==="#document"||Z==="html")||Z===null}return!0}function Uq(X,Z){switch(X){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z.pTagInButtonScope;case"form":return Z.formTag||Z.pTagInButtonScope;case"li":return Z.listItemTagAutoclosing;case"dd":case"dt":return Z.dlItemTagAutoclosing;case"button":return Z.buttonTagInScope;case"a":return Z.aTagInScope;case"nobr":return Z.nobrTagInScope}return null}function QQ(X,Z){for(;X;){switch(X.tag){case 5:case 26:case 27:if(X.type===Z)return X}X=X.return}return null}function H1(X,Z){Z=Z||zH;var Y=Z.current;if(Z=(Y=$Q(X,Y&&Y.tag,Z.implicitRootScope)?null:Y)?null:Uq(X,Z),Z=Y||Z,!Z)return!0;var G=Z.tag;if(Z=String(!!Y)+"|"+X+"|"+G,t0[Z])return!1;t0[Z]=!0;var $=(Z=S2)?QQ(Z.return,G):null,Q=Z!==null&&$!==null?YQ($,Z,null):"",J="<"+X+">";return Y?(Y="",G==="table"&&X==="tr"&&(Y+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
+
This will cause a hydration error.%s`,J,G,Y,Q)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,J,G,Q),Z&&(X=Z.return,$===null||X===null||$===X&&X._debugOwner===Z._debugOwner||i($,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,G,J)})),!1}function u9(X,Z,Y){if(Y||$Q("#text",Z,!1))return!0;if(Y="#text|"+Z,t0[Y])return!1;t0[Y]=!0;var G=(Y=S2)?QQ(Y,Z):null;return Y=Y!==null&&G!==null?YQ(G,Y,Y.tag!==6?{children:null}:null):"",/\S/.test(X)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,Z,Y):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
+
This will cause a hydration error.%s`,Z,Y),!1}function z8(X,Z){if(Z){var Y=X.firstChild;if(Y&&Y===X.lastChild&&Y.nodeType===3){Y.nodeValue=Z;return}}X.textContent=Z}function qq(X){return X.replace(AK,function(Z,Y){return Y.toUpperCase()})}function JQ(X,Z,Y){var G=Z.indexOf("--")===0;G||(-1<Z.indexOf("-")?O7.hasOwnProperty(Z)&&O7[Z]||(O7[Z]=!0,console.error("Unsupported style property %s. Did you mean %s?",Z,qq(Z.replace(FK,"ms-")))):_K.test(Z)?O7.hasOwnProperty(Z)&&O7[Z]||(O7[Z]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))):!UH.test(Y)||CG.hasOwnProperty(Y)&&CG[Y]||(CG[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,Y.replace(UH,""))),typeof Y==="number"&&(isNaN(Y)?qH||(qH=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Z)):isFinite(Y)||MH||(MH=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Z)))),Y==null||typeof Y==="boolean"||Y===""?G?X.setProperty(Z,""):Z==="float"?X.cssFloat="":X[Z]="":G?X.setProperty(Z,Y):typeof Y!=="number"||Y===0||KH.has(Z)?Z==="float"?X.cssFloat=Y:(_5(Y,Z),X[Z]=(""+Y).trim()):X[Z]=Y+"px"}function BQ(X,Z,Y){if(Z!=null&&typeof Z!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(Z&&Object.freeze(Z),X=X.style,Y!=null){if(Z){var G={};if(Y){for(var $ in Y)if(Y.hasOwnProperty($)&&!Z.hasOwnProperty($))for(var Q=OG[$]||[$],J=0;J<Q.length;J++)G[Q[J]]=$}for(var B in Z)if(Z.hasOwnProperty(B)&&(!Y||Y[B]!==Z[B]))for($=OG[B]||[B],Q=0;Q<$.length;Q++)G[$[Q]]=B;B={};for(var z in Z)for($=OG[z]||[z],Q=0;Q<$.length;Q++)B[$[Q]]=z;z={};for(var U in G)if($=G[U],(Q=B[U])&&$!==Q&&(J=$+","+Q,!z[J])){z[J]=!0,J=console;var P=Z[$];J.error.call(J,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",P==null||typeof P==="boolean"||P===""?"Removing":"Updating",$,Q)}}for(var O in Y)!Y.hasOwnProperty(O)||Z!=null&&Z.hasOwnProperty(O)||(O.indexOf("--")===0?X.setProperty(O,""):O==="float"?X.cssFloat="":X[O]="");for(var F in Z)U=Z[F],Z.hasOwnProperty(F)&&Y[F]!==U&&JQ(X,F,U)}else for(G in Z)Z.hasOwnProperty(G)&&JQ(X,G,Z[G])}function H8(X){if(X.indexOf("-")===-1)return!1;switch(X){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function zQ(X){return NK.get(X)||X}function Mq(X,Z){if(Z4.call(T7,Z)&&T7[Z])return!0;if(PK.test(Z)){if(X="aria-"+Z.slice(4).toLowerCase(),X=LH.hasOwnProperty(X)?X:null,X==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Z),T7[Z]=!0;if(Z!==X)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Z,X),T7[Z]=!0}if(IK.test(Z)){if(X=Z.toLowerCase(),X=LH.hasOwnProperty(X)?X:null,X==null)return T7[Z]=!0,!1;Z!==X&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Z,X),T7[Z]=!0)}return!0}function Kq(X,Z){var Y=[],G;for(G in Z)Mq(X,G)||Y.push(G);Z=Y.map(function($){return"`"+$+"`"}).join(", "),Y.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,X):1<Y.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,X)}function Lq(X,Z,Y,G){if(Z4.call(eZ,Z)&&eZ[Z])return!0;var $=Z.toLowerCase();if($==="onfocusin"||$==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),eZ[Z]=!0;if(typeof Y==="function"&&(X==="form"&&Z==="action"||X==="input"&&Z==="formAction"||X==="button"&&Z==="formAction"))return!0;if(G!=null){if(X=G.possibleRegistrationNames,G.registrationNameDependencies.hasOwnProperty(Z))return!0;if(G=X.hasOwnProperty($)?X[$]:null,G!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Z,G),eZ[Z]=!0;if(_H.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),eZ[Z]=!0}else if(_H.test(Z))return OK.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),eZ[Z]=!0;if(CK.test(Z)||TK.test(Z))return!0;if($==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),eZ[Z]=!0;if($==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),eZ[Z]=!0;if($==="is"&&Y!==null&&Y!==void 0&&typeof Y!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Y),eZ[Z]=!0;if(typeof Y==="number"&&isNaN(Y))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Z),eZ[Z]=!0;if(XY.hasOwnProperty($)){if($=XY[$],$!==Z)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Z,$),eZ[Z]=!0}else if(Z!==$)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",Z,$),eZ[Z]=!0;switch(Z){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof Y){case"boolean":switch(Z){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if($=Z.toLowerCase().slice(0,5),$==="data-"||$==="aria-")return!0;return Y?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',Y,Z,Z,Y,Z):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Y,Z,Z,Y,Z,Z,Z),eZ[Z]=!0}case"function":case"symbol":return eZ[Z]=!0,!1;case"string":if(Y==="false"||Y==="true"){switch(Z){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Y,Z,Y==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',Z,Y),eZ[Z]=!0}}return!0}function Rq(X,Z,Y){var G=[],$;for($ in Z)Lq(X,$,Z[$],Y)||G.push($);Z=G.map(function(Q){return"`"+Q+"`"}).join(", "),G.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",Z,X):1<G.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",Z,X)}function W8(X){return wK.test(""+X)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":X}function c4(){}function W1(X){return X=X.target||X.srcElement||window,X.correspondingUseElement&&(X=X.correspondingUseElement),X.nodeType===3?X.parentNode:X}function HQ(X){var Z=MX(X);if(Z&&(X=Z.stateNode)){var Y=X[tZ]||null;X:switch(X=Z.stateNode,Z.type){case"input":if(G1(X,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name),Z=Y.name,Y.type==="radio"&&Z!=null){for(Y=X;Y.parentNode;)Y=Y.parentNode;lX(Z,"name"),Y=Y.querySelectorAll('input[name="'+m2(""+Z)+'"][type="radio"]');for(Z=0;Z<Y.length;Z++){var G=Y[Z];if(G!==X&&G.form===X.form){var $=G[tZ]||null;if(!$)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");G1(G,$.value,$.defaultValue,$.defaultValue,$.checked,$.defaultChecked,$.type,$.name)}}for(Z=0;Z<Y.length;Z++)G=Y[Z],G.form===X.form&&p$(G)}break X;case"textarea":s$(X,Y.value,Y.defaultValue);break X;case"select":Z=Y.value,Z!=null&&Z7(X,!!Y.multiple,Z,!1)}}}function WQ(X,Z,Y){if(TG)return X(Z,Y);TG=!0;try{var G=X(Z);return G}finally{if(TG=!1,w7!==null||S7!==null){if(M7(),w7&&(Z=w7,X=S7,S7=w7=null,HQ(Z),X))for(Z=0;Z<X.length;Z++)HQ(X[Z])}}}function U8(X,Z){var Y=X.stateNode;if(Y===null)return null;var G=Y[tZ]||null;if(G===null)return null;Y=G[Z];X:switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(G=!G.disabled)||(X=X.type,G=!(X==="button"||X==="input"||X==="select"||X==="textarea")),X=!G;break X;default:X=!1}if(X)return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+Z+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}function UQ(){if(ZY)return ZY;var X,Z=SG,Y=Z.length,G,$="value"in D5?D5.value:D5.textContent,Q=$.length;for(X=0;X<Y&&Z[X]===$[X];X++);var J=Y-X;for(G=1;G<=J&&Z[Y-G]===$[Q-G];G++);return ZY=$.slice(X,1<G?1-G:void 0)}function d9(X){var Z=X.keyCode;return"charCode"in X?(X=X.charCode,X===0&&Z===13&&(X=13)):X=Z,X===10&&(X=13),32<=X||X===13?X:0}function l9(){return!0}function qQ(){return!1}function J2(X){function Z(Y,G,$,Q,J){this._reactName=Y,this._targetInst=$,this.type=G,this.nativeEvent=Q,this.target=J,this.currentTarget=null;for(var B in X)X.hasOwnProperty(B)&&(Y=X[B],this[B]=Y?Y(Q):Q[B]);return this.isDefaultPrevented=(Q.defaultPrevented!=null?Q.defaultPrevented:Q.returnValue===!1)?l9:qQ,this.isPropagationStopped=qQ,this}return OX(Z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=l9)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=l9)},persist:function(){},isPersistent:l9}),Z}function _q(X){var Z=this.nativeEvent;return Z.getModifierState?Z.getModifierState(X):(X=xK[X])?!!Z[X]:!1}function U1(){return _q}function MQ(X,Z){switch(X){case"keyup":return sK.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==IH;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function KQ(X){return X=X.detail,typeof X==="object"&&"data"in X?X.data:null}function Fq(X,Z){switch(X){case"compositionend":return KQ(Z);case"keypress":if(Z.which!==OH)return null;return TH=!0,CH;case"textInput":return X=Z.data,X===CH&&TH?null:X;default:return null}}function Aq(X,Z){if(v7)return X==="compositionend"||!yG&&MQ(X,Z)?(X=UQ(),ZY=SG=D5=null,v7=!1,X):null;switch(X){case"paste":return null;case"keypress":if(!(Z.ctrlKey||Z.altKey||Z.metaKey)||Z.ctrlKey&&Z.altKey){if(Z.char&&1<Z.char.length)return Z.char;if(Z.which)return String.fromCharCode(Z.which)}return null;case"compositionend":return PH&&Z.locale!=="ko"?null:Z.data;default:return null}}function LQ(X){var Z=X&&X.nodeName&&X.nodeName.toLowerCase();return Z==="input"?!!eK[X.type]:Z==="textarea"?!0:!1}function Nq(X){if(!V4)return!1;X="on"+X;var Z=X in document;return Z||(Z=document.createElement("div"),Z.setAttribute(X,"return;"),Z=typeof Z[X]==="function"),Z}function RQ(X,Z,Y,G){w7?S7?S7.push(G):S7=[G]:w7=G,Z=j0(Z,"onChange"),0<Z.length&&(Y=new YY("onChange","change",null,Y,G),X.push({event:Y,listeners:Z}))}function Iq(X){tB(X,0)}function p9(X){var Z=KX(X);if(p$(Z))return X}function _Q(X,Z){if(X==="change")return Z}function FQ(){r8&&(r8.detachEvent("onpropertychange",AQ),s8=r8=null)}function AQ(X){if(X.propertyName==="value"&&p9(s8)){var Z=[];RQ(Z,s8,X,W1(X)),WQ(Iq,Z)}}function Pq(X,Z,Y){X==="focusin"?(FQ(),r8=Z,s8=Y,r8.attachEvent("onpropertychange",AQ)):X==="focusout"&&FQ()}function Oq(X){if(X==="selectionchange"||X==="keyup"||X==="keydown")return p9(s8)}function Cq(X,Z){if(X==="click")return p9(Z)}function Tq(X,Z){if(X==="input"||X==="change")return p9(Z)}function wq(X,Z){return X===Z&&(X!==0||1/X===1/Z)||X!==X&&Z!==Z}function q8(X,Z){if(X2(X,Z))return!0;if(typeof X!=="object"||X===null||typeof Z!=="object"||Z===null)return!1;var Y=Object.keys(X),G=Object.keys(Z);if(Y.length!==G.length)return!1;for(G=0;G<Y.length;G++){var $=Y[G];if(!Z4.call(Z,$)||!X2(X[$],Z[$]))return!1}return!0}function NQ(X){for(;X&&X.firstChild;)X=X.firstChild;return X}function IQ(X,Z){var Y=NQ(X);X=0;for(var G;Y;){if(Y.nodeType===3){if(G=X+Y.textContent.length,X<=Z&&G>=Z)return{node:Y,offset:Z-X};X=G}X:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break X}Y=Y.parentNode}Y=void 0}Y=NQ(Y)}}function PQ(X,Z){return X&&Z?X===Z?!0:X&&X.nodeType===3?!1:Z&&Z.nodeType===3?PQ(X,Z.parentNode):("contains"in X)?X.contains(Z):X.compareDocumentPosition?!!(X.compareDocumentPosition(Z)&16):!1:!1}function OQ(X){X=X!=null&&X.ownerDocument!=null&&X.ownerDocument.defaultView!=null?X.ownerDocument.defaultView:window;for(var Z=x9(X.document);Z instanceof X.HTMLIFrameElement;){try{var Y=typeof Z.contentWindow.location.href==="string"}catch(G){Y=!1}if(Y)X=Z.contentWindow;else break;Z=x9(X.document)}return Z}function q1(X){var Z=X&&X.nodeName&&X.nodeName.toLowerCase();return Z&&(Z==="input"&&(X.type==="text"||X.type==="search"||X.type==="tel"||X.type==="url"||X.type==="password")||Z==="textarea"||X.contentEditable==="true")}function CQ(X,Z,Y){var G=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;bG||k7==null||k7!==x9(G)||(G=k7,("selectionStart"in G)&&q1(G)?G={start:G.selectionStart,end:G.selectionEnd}:(G=(G.ownerDocument&&G.ownerDocument.defaultView||window).getSelection(),G={anchorNode:G.anchorNode,anchorOffset:G.anchorOffset,focusNode:G.focusNode,focusOffset:G.focusOffset}),t8&&q8(t8,G)||(t8=G,G=j0(fG,"onSelect"),0<G.length&&(Z=new YY("onSelect","select",null,Z,Y),X.push({event:Z,listeners:G}),Z.target=k7)))}function M6(X,Z){var Y={};return Y[X.toLowerCase()]=Z.toLowerCase(),Y["Webkit"+X]="webkit"+Z,Y["Moz"+X]="moz"+Z,Y}function K6(X){if(VG[X])return VG[X];if(!g7[X])return X;var Z=g7[X],Y;for(Y in Z)if(Z.hasOwnProperty(Y)&&Y in SH)return VG[X]=Z[Y];return X}function t2(X,Z){fH.set(X,Z),pZ(Z,[X])}function Sq(X){for(var Z=$Y,Y=0;Y<X.length;Y++){var G=X[Y];if(typeof G==="object"&&G!==null)if(gZ(G)&&G.length===2&&typeof G[0]==="string"){if(Z!==$Y&&Z!==xG)return mG;Z=xG}else return mG;else{if(typeof G==="function"||typeof G==="string"&&50<G.length||Z!==$Y&&Z!==EG)return mG;Z=EG}}return Z}function M1(X,Z,Y,G){for(var $ in X)Z4.call(X,$)&&$[0]!=="_"&&q4($,X[$],Z,Y,G)}function q4(X,Z,Y,G,$){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===v4){var Q=qX(Z.type)||"…",J=Z.key;Z=Z.props;var B=Object.keys(Z),z=B.length;if(J==null&&z===0){Z="<"+Q+" />";break}if(3>G||z===1&&B[0]==="children"&&J==null){Z="<"+Q+" … />";break}Y.push([$+" ".repeat(G)+X,"<"+Q]),J!==null&&q4("key",J,Y,G+1,$),X=!1;for(var U in Z)U==="children"?Z.children!=null&&(!gZ(Z.children)||0<Z.children.length)&&(X=!0):Z4.call(Z,U)&&U[0]!=="_"&&q4(U,Z[U],Y,G+1,$);Y.push(["",X?">…</"+Q+">":"/>"]);return}if(Q=Object.prototype.toString.call(Z),Q=Q.slice(8,Q.length-1),Q==="Array"){if(U=Sq(Z),U===EG||U===$Y){Z=JSON.stringify(Z);break}else if(U===xG){Y.push([$+" ".repeat(G)+X,""]);for(X=0;X<Z.length;X++)Q=Z[X],q4(Q[0],Q[1],Y,G+1,$);return}}if(Q==="Promise"){if(Z.status==="fulfilled"){if(Q=Y.length,q4(X,Z.value,Y,G,$),Y.length>Q){Y=Y[Q],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(Z.status==="rejected"&&(Q=Y.length,q4(X,Z.reason,Y,G,$),Y.length>Q)){Y=Y[Q],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push([" ".repeat(G)+X,"Promise"]);return}Q==="Object"&&(U=Object.getPrototypeOf(Z))&&typeof U.constructor==="function"&&(Q=U.constructor.name),Y.push([$+" ".repeat(G)+X,Q==="Object"?3>G?"":"…":Q]),3>G&&M1(Z,Y,G+1,$);return}case"function":Z=Z.name===""?"() => {}":Z.name+"() {}";break;case"string":Z=Z===JL?"…":JSON.stringify(Z);break;case"undefined":Z="undefined";break;case"boolean":Z=Z?"true":"false";break;default:Z=String(Z)}Y.push([$+" ".repeat(G)+X,Z])}function TQ(X,Z,Y,G){var $=!0;for(J in X)J in Z||(Y.push([QY+" ".repeat(G)+J,"…"]),$=!1);for(var Q in Z)if(Q in X){var J=X[Q],B=Z[Q];if(J!==B){if(G===0&&Q==="children")$=" ".repeat(G)+Q,Y.push([QY+$,"…"],[JY+$,"…"]);else{if(!(3<=G)){if(typeof J==="object"&&typeof B==="object"&&J!==null&&B!==null&&J.$$typeof===B.$$typeof)if(B.$$typeof===v4){if(J.type===B.type&&J.key===B.key){J=qX(B.type)||"…",$=" ".repeat(G)+Q,J="<"+J+" … />",Y.push([QY+$,J],[JY+$,J]),$=!1;continue}}else{var z=Object.prototype.toString.call(J),U=Object.prototype.toString.call(B);if(z===U&&(U==="[object Object]"||U==="[object Array]")){z=[jH+" ".repeat(G)+Q,U==="[object Array]"?"Array":""],Y.push(z),U=Y.length,TQ(J,B,Y,G+1)?U===Y.length&&(z[1]="Referentially unequal but deeply equal objects. Consider memoization."):$=!1;continue}}else if(typeof J==="function"&&typeof B==="function"&&J.name===B.name&&J.length===B.length&&(z=Function.prototype.toString.call(J),U=Function.prototype.toString.call(B),z===U)){J=B.name===""?"() => {}":B.name+"() {}",Y.push([jH+" ".repeat(G)+Q,J+" Referentially unequal function closure. Consider memoization."]);continue}}q4(Q,J,Y,G,QY),q4(Q,B,Y,G,JY)}$=!1}}else Y.push([JY+" ".repeat(G)+Q,"…"]),$=!1;return $}function A2(X){wX=X&63?"Blocking":X&64?"Gesture":X&4194176?"Transition":X&62914560?"Suspense":X&2080374784?"Idle":"Other"}function M4(X,Z,Y,G){$Z&&(E5.start=Z,E5.end=Y,X5.color="warning",X5.tooltipText=G,X5.properties=null,(X=X._debugTask)?X.run(performance.measure.bind(performance,G,E5)):performance.measure(G,E5))}function c9(X,Z,Y){M4(X,Z,Y,"Reconnect")}function a9(X,Z,Y,G,$){var Q=p(X);if(Q!==null&&$Z){var{alternate:J,actualDuration:B}=X;if(J===null||J.child!==X.child)for(var z=X.child;z!==null;z=z.sibling)B-=z.actualDuration;G=0.5>B?G?"tertiary-light":"primary-light":10>B?G?"tertiary":"primary":100>B?G?"tertiary-dark":"primary-dark":"error";var U=X.memoizedProps;B=X._debugTask,U!==null&&J!==null&&J.memoizedProps!==U?(z=[BL],U=TQ(J.memoizedProps,U,z,0),1<z.length&&(U&&!m5&&(J.lanes&$)===0&&100<X.actualDuration?(m5=!0,z[0]=zL,X5.color="warning",X5.tooltipText=DH):(X5.color=G,X5.tooltipText=Q),X5.properties=z,E5.start=Z,E5.end=Y,B!=null?B.run(performance.measure.bind(performance,""+Q,E5)):performance.measure(""+Q,E5))):B!=null?B.run(console.timeStamp.bind(console,Q,Z,Y,x2,void 0,G)):console.timeStamp(Q,Z,Y,x2,void 0,G)}}function K1(X,Z,Y,G){if($Z){var $=p(X);if($!==null){for(var Q=null,J=[],B=0;B<G.length;B++){var z=G[B];Q==null&&z.source!==null&&(Q=z.source._debugTask),z=z.value,J.push(["Error",typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z)])}X.key!==null&&q4("key",X.key,J,0,""),X.memoizedProps!==null&&M1(X.memoizedProps,J,0,""),Q==null&&(Q=X._debugTask),X={start:Z,end:Y,detail:{devtools:{color:"error",track:x2,tooltipText:X.tag===13?"Hydration failed":"Error boundary caught an error",properties:J}}},Q?Q.run(performance.measure.bind(performance,""+$,X)):performance.measure(""+$,X)}}}function K4(X,Z,Y,G,$){if($!==null){if($Z){var Q=p(X);if(Q!==null){G=[];for(var J=0;J<$.length;J++){var B=$[J].value;G.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}X.key!==null&&q4("key",X.key,G,0,""),X.memoizedProps!==null&&M1(X.memoizedProps,G,0,""),Z={start:Z,end:Y,detail:{devtools:{color:"error",track:x2,tooltipText:"A lifecycle or effect errored",properties:G}}},(X=X._debugTask)?X.run(performance.measure.bind(performance,""+Q,Z)):performance.measure(""+Q,Z)}}}else Q=p(X),Q!==null&&$Z&&($=1>G?"secondary-light":100>G?"secondary":500>G?"secondary-dark":"error",(X=X._debugTask)?X.run(console.timeStamp.bind(console,Q,Z,Y,x2,void 0,$)):console.timeStamp(Q,Z,Y,x2,void 0,$))}function vq(X,Z,Y,G){if($Z&&!(Z<=X)){var $=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",G?G.run(console.timeStamp.bind(console,Y,X,Z,wX,CX,$)):console.timeStamp(Y,X,Z,wX,CX,$)}}function wQ(X,Z,Y,G){!$Z||Z<=X||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",G?G.run(console.timeStamp.bind(console,"Prewarm",X,Z,wX,CX,Y)):console.timeStamp("Prewarm",X,Z,wX,CX,Y))}function SQ(X,Z,Y,G){!$Z||Z<=X||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",G?G.run(console.timeStamp.bind(console,"Suspended",X,Z,wX,CX,Y)):console.timeStamp("Suspended",X,Z,wX,CX,Y))}function kq(X,Z,Y,G,$,Q){if($Z&&!(Z<=X)){Y=[];for(var J=0;J<G.length;J++){var B=G[J].value;Y.push(["Recoverable Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}X={start:X,end:Z,detail:{devtools:{color:"primary-dark",track:wX,trackGroup:CX,tooltipText:$?"Hydration Failed":"Recovered after Error",properties:Y}}},Q?Q.run(performance.measure.bind(performance,"Recovered",X)):performance.measure("Recovered",X)}}function L1(X,Z,Y,G){!$Z||Z<=X||(G?G.run(console.timeStamp.bind(console,"Errored",X,Z,wX,CX,"error")):console.timeStamp("Errored",X,Z,wX,CX,"error"))}function gq(X,Z,Y,G){!$Z||Z<=X||(G?G.run(console.timeStamp.bind(console,Y,X,Z,wX,CX,"secondary-light")):console.timeStamp(Y,X,Z,wX,CX,"secondary-light"))}function vQ(X,Z,Y,G,$){if($Z&&!(Z<=X)){for(var Q=[],J=0;J<Y.length;J++){var B=Y[J].value;Q.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}X={start:X,end:Z,detail:{devtools:{color:"error",track:wX,trackGroup:CX,tooltipText:G?"Remaining Effects Errored":"Commit Errored",properties:Q}}},$?$.run(performance.measure.bind(performance,"Errored",X)):performance.measure("Errored",X)}}function M8(X,Z,Y){!$Z||Z<=X||(Y?Y.run(console.timeStamp.bind(console,"Animating",X,Z,wX,CX,"secondary-dark")):console.timeStamp("Animating",X,Z,wX,CX,"secondary-dark"))}function n9(){for(var X=y7,Z=hG=y7=0;Z<X;){var Y=h2[Z];h2[Z++]=null;var G=h2[Z];h2[Z++]=null;var $=h2[Z];h2[Z++]=null;var Q=h2[Z];if(h2[Z++]=null,G!==null&&$!==null){var J=G.pending;J===null?$.next=$:($.next=J.next,J.next=$),G.pending=$}Q!==0&&kQ(Y,$,Q)}}function o9(X,Z,Y,G){h2[y7++]=X,h2[y7++]=Z,h2[y7++]=Y,h2[y7++]=G,hG|=G,X.lanes|=G,X=X.alternate,X!==null&&(X.lanes|=G)}function R1(X,Z,Y,G){return o9(X,Z,Y,G),i9(X)}function cZ(X,Z){return o9(X,null,null,Z),i9(X)}function kQ(X,Z,Y){X.lanes|=Y;var G=X.alternate;G!==null&&(G.lanes|=Y);for(var $=!1,Q=X.return;Q!==null;)Q.childLanes|=Y,G=Q.alternate,G!==null&&(G.childLanes|=Y),Q.tag===22&&(X=Q.stateNode,X===null||X._visibility&e8||($=!0)),X=Q,Q=Q.return;return X.tag===3?(Q=X.stateNode,$&&Z!==null&&($=31-sZ(Y),X=Q.hiddenUpdates,G=X[$],G===null?X[$]=[Z]:G.push(Z),Z.lane=Y|536870912),Q):null}function i9(X){if(w9>OL)throw l6=w9=0,S9=A$=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");l6>CL&&(l6=0,S9=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),X.alternate===null&&(X.flags&4098)!==0&&cB(X);for(var Z=X,Y=Z.return;Y!==null;)Z.alternate===null&&(Z.flags&4098)!==0&&cB(X),Z=Y,Y=Z.return;return Z.tag===3?Z.stateNode:null}function L6(X){if(u2===null)return X;var Z=u2(X);return Z===void 0?X:Z.current}function _1(X){if(u2===null)return X;var Z=u2(X);return Z===void 0?X!==null&&X!==void 0&&typeof X.render==="function"&&(Z=L6(X.render),X.render!==Z)?(Z={$$typeof:u8,render:Z},X.displayName!==void 0&&(Z.displayName=X.displayName),Z):X:Z.current}function gQ(X,Z){if(u2===null)return!1;var Y=X.elementType;Z=Z.type;var G=!1,$=typeof Z==="object"&&Z!==null?Z.$$typeof:null;switch(X.tag){case 1:typeof Z==="function"&&(G=!0);break;case 0:typeof Z==="function"?G=!0:$===w2&&(G=!0);break;case 11:$===u8?G=!0:$===w2&&(G=!0);break;case 14:case 15:$===a0?G=!0:$===w2&&(G=!0);break;default:return!1}return G&&(X=u2(Y),X!==void 0&&X===u2(Z))?!0:!1}function yQ(X){u2!==null&&typeof WeakSet==="function"&&(f7===null&&(f7=new WeakSet),f7.add(X))}function fQ(X,Z,Y){do{var G=X,$=G.alternate,Q=G.child,J=G.sibling,B=G.tag;G=G.type;var z=null;switch(B){case 0:case 15:case 1:z=G;break;case 11:z=G.render}if(u2===null)throw Error("Expected resolveFamily to be set during hot reload.");var U=!1;if(G=!1,z!==null&&(z=u2(z),z!==void 0&&(Y.has(z)?G=!0:Z.has(z)&&(B===1?G=!0:U=!0))),f7!==null&&(f7.has(X)||$!==null&&f7.has($))&&(G=!0),G&&(X._debugNeedsRemount=!0),G||U)$=cZ(X,2),$!==null&&LZ($,X,2);if(Q===null||G||fQ(Q,Z,Y),J===null)break;X=J}while(1)}function yq(X,Z,Y,G){this.tag=X,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Z,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=G,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,mH||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function F1(X){return X=X.prototype,!(!X||!X.isReactComponent)}function a4(X,Z){var Y=X.alternate;switch(Y===null?(Y=V(X.tag,Z,X.key,X.mode),Y.elementType=X.elementType,Y.type=X.type,Y.stateNode=X.stateNode,Y._debugOwner=X._debugOwner,Y._debugStack=X._debugStack,Y._debugTask=X._debugTask,Y._debugHookTypes=X._debugHookTypes,Y.alternate=X,X.alternate=Y):(Y.pendingProps=Z,Y.type=X.type,Y.flags=0,Y.subtreeFlags=0,Y.deletions=null,Y.actualDuration=-0,Y.actualStartTime=-1.1),Y.flags=X.flags&65011712,Y.childLanes=X.childLanes,Y.lanes=X.lanes,Y.child=X.child,Y.memoizedProps=X.memoizedProps,Y.memoizedState=X.memoizedState,Y.updateQueue=X.updateQueue,Z=X.dependencies,Y.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},Y.sibling=X.sibling,Y.index=X.index,Y.ref=X.ref,Y.refCleanup=X.refCleanup,Y.selfBaseDuration=X.selfBaseDuration,Y.treeBaseDuration=X.treeBaseDuration,Y._debugInfo=X._debugInfo,Y._debugNeedsRemount=X._debugNeedsRemount,Y.tag){case 0:case 15:Y.type=L6(X.type);break;case 1:Y.type=L6(X.type);break;case 11:Y.type=_1(X.type)}return Y}function bQ(X,Z){X.flags&=65011714;var Y=X.alternate;return Y===null?(X.childLanes=0,X.lanes=Z,X.child=null,X.subtreeFlags=0,X.memoizedProps=null,X.memoizedState=null,X.updateQueue=null,X.dependencies=null,X.stateNode=null,X.selfBaseDuration=0,X.treeBaseDuration=0):(X.childLanes=Y.childLanes,X.lanes=Y.lanes,X.child=Y.child,X.subtreeFlags=0,X.deletions=null,X.memoizedProps=Y.memoizedProps,X.memoizedState=Y.memoizedState,X.updateQueue=Y.updateQueue,X.type=Y.type,Z=Y.dependencies,X.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},X.selfBaseDuration=Y.selfBaseDuration,X.treeBaseDuration=Y.treeBaseDuration),X}function A1(X,Z,Y,G,$,Q){var J=0,B=X;if(typeof X==="function")F1(X)&&(J=1),B=L6(B);else if(typeof X==="string")J=GX(),J=hM(X,Y,J)?26:X==="html"||X==="head"||X==="body"?27:5;else X:switch(X){case UG:return Z=V(31,Y,Z,$),Z.elementType=UG,Z.lanes=Q,Z;case N7:return R6(Y.children,$,Q,Z);case c0:J=8,$|=nZ,$|=G4;break;case BG:return X=Y,G=$,typeof X.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof X.id),Z=V(12,X,Z,G|_X),Z.elementType=BG,Z.lanes=Q,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z;case HG:return Z=V(13,Y,Z,$),Z.elementType=HG,Z.lanes=Q,Z;case WG:return Z=V(19,Y,Z,$),Z.elementType=WG,Z.lanes=Q,Z;default:if(typeof X==="object"&&X!==null)switch(X.$$typeof){case k4:J=10;break X;case zG:J=9;break X;case u8:J=11,B=_1(B);break X;case a0:J=14;break X;case w2:J=16,B=null;break X}if(B="",X===void 0||typeof X==="object"&&X!==null&&Object.keys(X).length===0)B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";X===null?Y="null":gZ(X)?Y="array":X!==void 0&&X.$$typeof===v4?(Y="<"+(qX(X.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof X,(J=G?oZ(G):null)&&(B+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+J+"`."),J=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+B)),B=null}return Z=V(J,Y,Z,$),Z.elementType=X,Z.type=B,Z.lanes=Q,Z._debugOwner=G,Z}function r9(X,Z,Y){return Z=A1(X.type,X.key,X.props,X._owner,Z,Y),Z._debugOwner=X._owner,Z._debugStack=X._debugStack,Z._debugTask=X._debugTask,Z}function R6(X,Z,Y,G){return X=V(7,X,G,Z),X.lanes=Y,X}function N1(X,Z,Y){return X=V(6,X,null,Z),X.lanes=Y,X}function VQ(X){var Z=V(18,null,null,zX);return Z.stateNode=X,Z}function I1(X,Z,Y){return Z=V(4,X.children!==null?X.children:[],X.key,Z),Z.lanes=Y,Z.stateNode={containerInfo:X.containerInfo,pendingChildren:null,implementation:X.implementation},Z}function N2(X,Z){if(typeof X==="object"&&X!==null){var Y=uG.get(X);if(Y!==void 0)return Y;return Z={value:X,source:Z,stack:iZ(Z)},uG.set(X,Z),Z}return{value:X,source:Z,stack:iZ(Z)}}function n4(X,Z){N5(),b7[V7++]=X9,b7[V7++]=BY,BY=X,X9=Z}function jQ(X,Z,Y){N5(),d2[l2++]=Y5,d2[l2++]=G5,d2[l2++]=k6,k6=X;var G=Y5;X=G5;var $=32-sZ(G)-1;G&=~(1<<$),Y+=1;var Q=32-sZ(Z)+$;if(30<Q){var J=$-$%5;Q=(G&(1<<J)-1).toString(32),G>>=J,$-=J,Y5=1<<32-sZ(Z)+$|Y<<$|G,G5=Q+X}else Y5=1<<Q|Y<<$|G,G5=X}function P1(X){N5(),X.return!==null&&(n4(X,1),jQ(X,1,0))}function O1(X){for(;X===BY;)BY=b7[--V7],b7[V7]=null,X9=b7[--V7],b7[V7]=null;for(;X===k6;)k6=d2[--l2],d2[l2]=null,G5=d2[--l2],d2[l2]=null,Y5=d2[--l2],d2[l2]=null}function DQ(){return N5(),k6!==null?{id:Y5,overflow:G5}:null}function mQ(X,Z){N5(),d2[l2++]=Y5,d2[l2++]=G5,d2[l2++]=k6,Y5=Z.id,G5=Z.overflow,k6=X}function N5(){SX||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function _6(X,Z){if(X.return===null){if(k2===null)k2={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z};else{if(k2.fiber!==X)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");k2.distanceFromLeaf>Z&&(k2.distanceFromLeaf=Z)}return k2}var Y=_6(X.return,Z+1).children;if(0<Y.length&&Y[Y.length-1].fiber===X)return Y=Y[Y.length-1],Y.distanceFromLeaf>Z&&(Y.distanceFromLeaf=Z),Y;return Z={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z},Y.push(Z),Z}function EQ(){SX&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function s9(X,Z){j4||(X=_6(X,0),X.serverProps=null,Z!==null&&(Z=Rz(Z),X.serverTail.push(Z)))}function I5(X){var Z=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",G=k2;throw G!==null&&(k2=null,Y=z1(G)),K8(N2(Error("Hydration failed because the server rendered "+(Z?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+Y),X)),dG}function xQ(X){var{stateNode:Z,type:Y,memoizedProps:G}=X;switch(Z[uZ]=X,Z[tZ]=G,l3(Y,G),Y){case"dialog":kX("cancel",Z),kX("close",Z);break;case"iframe":case"object":case"embed":kX("load",Z);break;case"video":case"audio":for(Y=0;Y<v9.length;Y++)kX(v9[Y],Z);break;case"source":kX("error",Z);break;case"img":case"image":case"link":kX("error",Z),kX("load",Z);break;case"details":kX("toggle",Z);break;case"input":A5("input",G),kX("invalid",Z),c$(Z,G),a$(Z,G.value,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name,!0);break;case"option":n$(Z,G);break;case"select":A5("select",G),kX("invalid",Z),i$(Z,G);break;case"textarea":A5("textarea",G),kX("invalid",Z),r$(Z,G),t$(Z,G.value,G.defaultValue,G.children)}Y=G.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||Z.textContent===""+Y||G.suppressHydrationWarning===!0||Yz(Z.textContent,Y)?(G.popover!=null&&(kX("beforetoggle",Z),kX("toggle",Z)),G.onScroll!=null&&kX("scroll",Z),G.onScrollEnd!=null&&kX("scrollend",Z),G.onClick!=null&&(Z.onclick=c4),Z=!0):Z=!1,Z||I5(X,!0)}function hQ(X){for(dZ=X.return;dZ;)switch(dZ.tag){case 5:case 31:case 13:p2=!1;return;case 27:case 3:p2=!0;return;default:dZ=dZ.return}}function $7(X){if(X!==dZ)return!1;if(!SX)return hQ(X),SX=!0,!1;var Z=X.tag,Y;if(Y=Z!==3&&Z!==27){if(Y=Z===5)Y=X.type,Y=!(Y!=="form"&&Y!=="button")||o3(X.type,X.memoizedProps);Y=!Y}if(Y&&QZ){for(Y=QZ;Y;){var G=_6(X,0),$=Rz(Y);G.serverTail.push($),Y=$.type==="Suspense"?t3(Y):T2(Y.nextSibling)}I5(X)}if(hQ(X),Z===13){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");QZ=t3(X)}else if(Z===31){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");QZ=t3(X)}else Z===27?(Z=QZ,y5(X.type)?(X=y$,y$=null,QZ=X):QZ=Z):QZ=dZ?T2(X.stateNode.nextSibling):null;return!0}function F6(){QZ=dZ=null,j4=SX=!1}function C1(){var X=h5;return X!==null&&($2===null?$2=X:$2.push.apply($2,X),h5=null),X}function K8(X){h5===null?h5=[X]:h5.push(X)}function T1(){var X=k2;if(X!==null){k2=null;for(var Z=z1(X);0<X.children.length;)X=X.children[0];i(X.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
84
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",Z)})}}function t9(){j7=zY=null,D7=!1}function P5(X,Z,Y){NX(lG,Z._currentValue,X),Z._currentValue=Y,NX(pG,Z._currentRenderer,X),Z._currentRenderer!==void 0&&Z._currentRenderer!==null&&Z._currentRenderer!==xH&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Z._currentRenderer=xH}function o4(X,Z){X._currentValue=lG.current;var Y=pG.current;vX(pG,Z),X._currentRenderer=Y,vX(lG,Z)}function w1(X,Z,Y){for(;X!==null;){var G=X.alternate;if((X.childLanes&Z)!==Z?(X.childLanes|=Z,G!==null&&(G.childLanes|=Z)):G!==null&&(G.childLanes&Z)!==Z&&(G.childLanes|=Z),X===Y)break;X=X.return}X!==Y&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function S1(X,Z,Y,G){var $=X.child;$!==null&&($.return=X);for(;$!==null;){var Q=$.dependencies;if(Q!==null){var J=$.child;Q=Q.firstContext;X:for(;Q!==null;){var B=Q;Q=$;for(var z=0;z<Z.length;z++)if(B.context===Z[z]){Q.lanes|=Y,B=Q.alternate,B!==null&&(B.lanes|=Y),w1(Q.return,Y,X),G||(J=null);break X}Q=B.next}}else if($.tag===18){if(J=$.return,J===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");J.lanes|=Y,Q=J.alternate,Q!==null&&(Q.lanes|=Y),w1(J,Y,X),J=null}else J=$.child;if(J!==null)J.return=$;else for(J=$;J!==null;){if(J===X){J=null;break}if($=J.sibling,$!==null){$.return=J.return,J=$;break}J=J.return}$=J}}function Q7(X,Z,Y,G){X=null;for(var $=Z,Q=!1;$!==null;){if(!Q){if(($.flags&524288)!==0)Q=!0;else if(($.flags&262144)!==0)break}if($.tag===10){var J=$.alternate;if(J===null)throw Error("Should have a current fiber. This is a bug in React.");if(J=J.memoizedProps,J!==null){var B=$.type;X2($.pendingProps.value,J.value)||(X!==null?X.push(B):X=[B])}}else if($===n0.current){if(J=$.alternate,J===null)throw Error("Should have a current fiber. This is a bug in React.");J.memoizedState.memoizedState!==$.memoizedState.memoizedState&&(X!==null?X.push(b9):X=[b9])}$=$.return}X!==null&&S1(Z,X,Y,G),Z.flags|=262144}function e9(X){for(X=X.firstContext;X!==null;){if(!X2(X.context._currentValue,X.memoizedValue))return!0;X=X.next}return!1}function A6(X){zY=X,j7=null,X=X.dependencies,X!==null&&(X.firstContext=null)}function HZ(X){return D7&&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()."),uQ(zY,X)}function X0(X,Z){return zY===null&&A6(X),uQ(X,Z)}function uQ(X,Z){var Y=Z._currentValue;if(Z={context:Z,memoizedValue:Y,next:null},j7===null){if(X===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");j7=Z,X.dependencies={lanes:0,firstContext:Z,_debugThenableState:null},X.flags|=524288}else j7=j7.next=Z;return Y}function v1(){return{controller:new UL,data:new Map,refCount:0}}function N6(X){X.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),X.refCount++}function L8(X){X.refCount--,0>X.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),X.refCount===0&&qL(ML,function(){X.controller.abort()})}function L4(X,Z,Y){if((X&127)!==0)0>D4&&(D4=CZ(),Y9=HY(Z),cG=Z,Y!=null&&(aG=p(Y)),(bX&(fZ|f2))!==mZ&&(RZ=!0,l5=Z9),X=D8(),Z=j8(),X!==m7||Z!==G9?m7=-1.1:Z!==null&&(l5=Z9),y6=X,G9=Z);else if((X&4194048)!==0&&0>c2&&(c2=CZ(),$9=HY(Z),hH=Z,Y!=null&&(uH=p(Y)),0>J5)){if(X=D8(),Z=j8(),X!==c5||Z!==f6)c5=-1.1;p5=X,f6=Z}}function fq(X){if(0>D4){D4=CZ(),Y9=X._debugTask!=null?X._debugTask:null,(bX&(fZ|f2))!==mZ&&(l5=Z9);var Z=D8(),Y=j8();Z!==m7||Y!==G9?m7=-1.1:Y!==null&&(l5=Z9),y6=Z,G9=Y}if(0>c2&&(c2=CZ(),$9=X._debugTask!=null?X._debugTask:null,0>J5)){if(X=D8(),Z=j8(),X!==c5||Z!==f6)c5=-1.1;p5=X,f6=Z}}function i4(){var X=g6;return g6=0,X}function Z0(X){var Z=g6;return g6=X,Z}function R8(X){var Z=g6;return g6+=X,Z}function Y0(){BX=YX=-1.1}function I2(){var X=YX;return YX=-1.1,X}function P2(X){0<=X&&(YX=X)}function R4(){var X=qZ;return qZ=-0,X}function _4(X){0<=X&&(qZ=X)}function F4(){var X=WZ;return WZ=null,X}function A4(){var X=RZ;return RZ=!1,X}function k1(X){Z2=CZ(),0>X.actualStartTime&&(X.actualStartTime=Z2)}function g1(X){if(0<=Z2){var Z=CZ()-Z2;X.actualDuration+=Z,X.selfBaseDuration=Z,Z2=-1}}function dQ(X){if(0<=Z2){var Z=CZ()-Z2;X.actualDuration+=Z,Z2=-1}}function N4(){if(0<=Z2){var X=CZ(),Z=X-Z2;Z2=-1,g6+=Z,qZ+=Z,BX=X}}function lQ(X){WZ===null&&(WZ=[]),WZ.push(X),Q5===null&&(Q5=[]),Q5.push(X)}function I4(){Z2=CZ(),0>YX&&(YX=Z2)}function _8(X){for(var Z=X.child;Z;)X.actualDuration+=Z.actualDuration,Z=Z.sibling}function bq(X,Z){if(J9===null){var Y=J9=[];oG=0,b6=x3(),E7={status:"pending",value:void 0,then:function(G){Y.push(G)}}}return oG++,Z.then(pQ,pQ),Z}function pQ(){if(--oG===0&&(-1<c2||(J5=-1.1),J9!==null)){E7!==null&&(E7.status="fulfilled");var X=J9;J9=null,b6=0,E7=null;for(var Z=0;Z<X.length;Z++)(0,X[Z])()}}function Vq(X,Z){var Y=[],G={status:"pending",value:null,reason:null,then:function($){Y.push($)}};return X.then(function(){G.status="fulfilled",G.value=Z;for(var $=0;$<Y.length;$++)(0,Y[$])(Z)},function($){G.status="rejected",G.reason=$;for($=0;$<Y.length;$++)(0,Y[$])(void 0)}),G}function y1(){var X=V6.current;return X!==null?X:XZ.pooledCache}function G0(X,Z){Z===null?NX(V6,V6.current,X):NX(V6,Z.pool,X)}function cQ(){var X=y1();return X===null?null:{parent:OZ._currentValue,pool:X}}function aQ(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function nQ(X){return X=X.status,X==="fulfilled"||X==="rejected"}function oQ(X,Z,Y){f.actQueue!==null&&(f.didUsePromise=!0);var G=X.thenables;if(Y=G[Y],Y===void 0?G.push(Z):Y!==Z&&(X.didWarnAboutUncachedPromise||(X.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),Z.then(c4,c4),Z=Y),Z._debugInfo===void 0){X=performance.now(),G=Z.displayName;var $={name:typeof G==="string"?G:"Promise",start:X,end:X,value:Z};Z._debugInfo=[{awaited:$}],Z.status!=="fulfilled"&&Z.status!=="rejected"&&(X=function(){$.end=performance.now()},Z.then(X,X))}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw X=Z.reason,rQ(X),X;default:if(typeof Z.status==="string")Z.then(c4,c4);else{if(X=XZ,X!==null&&100<X.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");X=Z,X.status="pending",X.then(function(Q){if(Z.status==="pending"){var J=Z;J.status="fulfilled",J.value=Q}},function(Q){if(Z.status==="pending"){var J=Z;J.status="rejected",J.reason=Q}})}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw X=Z.reason,rQ(X),X}throw D6=Z,M9=!0,x7}}function O5(X){try{return _L(X)}catch(Z){if(Z!==null&&typeof Z==="object"&&typeof Z.then==="function")throw D6=Z,M9=!0,x7;throw Z}}function iQ(){if(D6===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var X=D6;return D6=null,M9=!1,X}function rQ(X){if(X===x7||X===_Y)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function EZ(X){var Z=FX;return X!=null&&(FX=Z===null?X:Z.concat(X)),Z}function f1(){var X=FX;if(X!=null){for(var Z=X.length-1;0<=Z;Z--)if(X[Z].name!=null){var Y=X[Z].debugTask;if(Y!=null)return Y}}return null}function $0(X,Z,Y){for(var G=Object.keys(X.props),$=0;$<G.length;$++){var Q=G[$];if(Q!=="children"&&Q!=="key"){Z===null&&(Z=r9(X,Y.mode,0),Z._debugInfo=FX,Z.return=Y),i(Z,function(J){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",J)},Q);break}}}function Q0(X){var Z=K9;return K9+=1,h7===null&&(h7=aQ()),oQ(h7,X,Z)}function F8(X,Z){Z=Z.props.ref,X.ref=Z!==void 0?Z:null}function sQ(X,Z){if(Z.$$typeof===rM)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw X=Object.prototype.toString.call(Z),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}function J0(X,Z){var Y=f1();Y!==null?Y.run(sQ.bind(null,X,Z)):sQ(X,Z)}function tQ(X,Z){var Y=p(X)||"Component";BW[Y]||(BW[Y]=!0,Z=Z.displayName||Z.name||"Component",X.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
97
|
+
root.render(%s)`,Z,Z,Z):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
98
|
+
<%s>{%s}</%s>`,Z,Z,Y,Z,Y))}function B0(X,Z){var Y=f1();Y!==null?Y.run(tQ.bind(null,X,Z)):tQ(X,Z)}function eQ(X,Z){var Y=p(X)||"Component";zW[Y]||(zW[Y]=!0,Z=String(Z),X.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,Z):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,Y,Z,Y))}function z0(X,Z){var Y=f1();Y!==null?Y.run(eQ.bind(null,X,Z)):eQ(X,Z)}function XJ(X){function Z(_,A){if(X){var I=_.deletions;I===null?(_.deletions=[A],_.flags|=16):I.push(A)}}function Y(_,A){if(!X)return null;for(;A!==null;)Z(_,A),A=A.sibling;return null}function G(_){for(var A=new Map;_!==null;)_.key!==null?A.set(_.key,_):A.set(_.index,_),_=_.sibling;return A}function $(_,A){return _=a4(_,A),_.index=0,_.sibling=null,_}function Q(_,A,I){if(_.index=I,!X)return _.flags|=1048576,A;if(I=_.alternate,I!==null)return I=I.index,I<A?(_.flags|=67108866,A):I;return _.flags|=67108866,A}function J(_){return X&&_.alternate===null&&(_.flags|=67108866),_}function B(_,A,I,b){if(A===null||A.tag!==6)return A=N1(I,_.mode,b),A.return=_,A._debugOwner=_,A._debugTask=_._debugTask,A._debugInfo=FX,A;return A=$(A,I),A.return=_,A._debugInfo=FX,A}function z(_,A,I,b){var a=I.type;if(a===N7)return A=P(_,A,I.props.children,b,I.key),$0(I,A,_),A;if(A!==null&&(A.elementType===a||gQ(A,I)||typeof a==="object"&&a!==null&&a.$$typeof===w2&&O5(a)===A.type))return A=$(A,I.props),F8(A,I),A.return=_,A._debugOwner=I._owner,A._debugInfo=FX,A;return A=r9(I,_.mode,b),F8(A,I),A.return=_,A._debugInfo=FX,A}function U(_,A,I,b){if(A===null||A.tag!==4||A.stateNode.containerInfo!==I.containerInfo||A.stateNode.implementation!==I.implementation)return A=I1(I,_.mode,b),A.return=_,A._debugInfo=FX,A;return A=$(A,I.children||[]),A.return=_,A._debugInfo=FX,A}function P(_,A,I,b,a){if(A===null||A.tag!==7)return A=R6(I,_.mode,b,a),A.return=_,A._debugOwner=_,A._debugTask=_._debugTask,A._debugInfo=FX,A;return A=$(A,I),A.return=_,A._debugInfo=FX,A}function O(_,A,I){if(typeof A==="string"&&A!==""||typeof A==="number"||typeof A==="bigint")return A=N1(""+A,_.mode,I),A.return=_,A._debugOwner=_,A._debugTask=_._debugTask,A._debugInfo=FX,A;if(typeof A==="object"&&A!==null){switch(A.$$typeof){case v4:return I=r9(A,_.mode,I),F8(I,A),I.return=_,_=EZ(A._debugInfo),I._debugInfo=FX,FX=_,I;case A7:return A=I1(A,_.mode,I),A.return=_,A._debugInfo=FX,A;case w2:var b=EZ(A._debugInfo);return A=O5(A),_=O(_,A,I),FX=b,_}if(gZ(A)||QX(A))return I=R6(A,_.mode,I,null),I.return=_,I._debugOwner=_,I._debugTask=_._debugTask,_=EZ(A._debugInfo),I._debugInfo=FX,FX=_,I;if(typeof A.then==="function")return b=EZ(A._debugInfo),_=O(_,Q0(A),I),FX=b,_;if(A.$$typeof===k4)return O(_,X0(_,A),I);J0(_,A)}return typeof A==="function"&&B0(_,A),typeof A==="symbol"&&z0(_,A),null}function F(_,A,I,b){var a=A!==null?A.key:null;if(typeof I==="string"&&I!==""||typeof I==="number"||typeof I==="bigint")return a!==null?null:B(_,A,""+I,b);if(typeof I==="object"&&I!==null){switch(I.$$typeof){case v4:return I.key===a?(a=EZ(I._debugInfo),_=z(_,A,I,b),FX=a,_):null;case A7:return I.key===a?U(_,A,I,b):null;case w2:return a=EZ(I._debugInfo),I=O5(I),_=F(_,A,I,b),FX=a,_}if(gZ(I)||QX(I)){if(a!==null)return null;return a=EZ(I._debugInfo),_=P(_,A,I,b,null),FX=a,_}if(typeof I.then==="function")return a=EZ(I._debugInfo),_=F(_,A,Q0(I),b),FX=a,_;if(I.$$typeof===k4)return F(_,A,X0(_,I),b);J0(_,I)}return typeof I==="function"&&B0(_,I),typeof I==="symbol"&&z0(_,I),null}function g(_,A,I,b,a){if(typeof b==="string"&&b!==""||typeof b==="number"||typeof b==="bigint")return _=_.get(I)||null,B(A,_,""+b,a);if(typeof b==="object"&&b!==null){switch(b.$$typeof){case v4:return I=_.get(b.key===null?I:b.key)||null,_=EZ(b._debugInfo),A=z(A,I,b,a),FX=_,A;case A7:return _=_.get(b.key===null?I:b.key)||null,U(A,_,b,a);case w2:var UX=EZ(b._debugInfo);return b=O5(b),A=g(_,A,I,b,a),FX=UX,A}if(gZ(b)||QX(b))return I=_.get(I)||null,_=EZ(b._debugInfo),A=P(A,I,b,a,null),FX=_,A;if(typeof b.then==="function")return UX=EZ(b._debugInfo),A=g(_,A,I,Q0(b),a),FX=UX,A;if(b.$$typeof===k4)return g(_,A,I,X0(A,b),a);J0(A,b)}return typeof b==="function"&&B0(A,b),typeof b==="symbol"&&z0(A,b),null}function u(_,A,I,b){if(typeof I!=="object"||I===null)return b;switch(I.$$typeof){case v4:case A7:k(_,A,I);var a=I.key;if(typeof a!=="string")break;if(b===null){b=new Set,b.add(a);break}if(!b.has(a)){b.add(a);break}i(A,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.",a)});break;case w2:I=O5(I),u(_,A,I,b)}return b}function o(_,A,I,b){for(var a=null,UX=null,e=null,s=A,RX=A=0,JZ=null;s!==null&&RX<I.length;RX++){s.index>RX?(JZ=s,s=null):JZ=s.sibling;var IZ=F(_,s,I[RX],b);if(IZ===null){s===null&&(s=JZ);break}a=u(_,IZ,I[RX],a),X&&s&&IZ.alternate===null&&Z(_,s),A=Q(IZ,A,RX),e===null?UX=IZ:e.sibling=IZ,e=IZ,s=JZ}if(RX===I.length)return Y(_,s),SX&&n4(_,RX),UX;if(s===null){for(;RX<I.length;RX++)s=O(_,I[RX],b),s!==null&&(a=u(_,s,I[RX],a),A=Q(s,A,RX),e===null?UX=s:e.sibling=s,e=s);return SX&&n4(_,RX),UX}for(s=G(s);RX<I.length;RX++)JZ=g(s,_,RX,I[RX],b),JZ!==null&&(a=u(_,JZ,I[RX],a),X&&JZ.alternate!==null&&s.delete(JZ.key===null?RX:JZ.key),A=Q(JZ,A,RX),e===null?UX=JZ:e.sibling=JZ,e=JZ);return X&&s.forEach(function(L5){return Z(_,L5)}),SX&&n4(_,RX),UX}function GZ(_,A,I,b){if(I==null)throw Error("An iterable object provided no iterator.");for(var a=null,UX=null,e=A,s=A=0,RX=null,JZ=null,IZ=I.next();e!==null&&!IZ.done;s++,IZ=I.next()){e.index>s?(RX=e,e=null):RX=e.sibling;var L5=F(_,e,IZ.value,b);if(L5===null){e===null&&(e=RX);break}JZ=u(_,L5,IZ.value,JZ),X&&e&&L5.alternate===null&&Z(_,e),A=Q(L5,A,s),UX===null?a=L5:UX.sibling=L5,UX=L5,e=RX}if(IZ.done)return Y(_,e),SX&&n4(_,s),a;if(e===null){for(;!IZ.done;s++,IZ=I.next())e=O(_,IZ.value,b),e!==null&&(JZ=u(_,e,IZ.value,JZ),A=Q(e,A,s),UX===null?a=e:UX.sibling=e,UX=e);return SX&&n4(_,s),a}for(e=G(e);!IZ.done;s++,IZ=I.next())RX=g(e,_,s,IZ.value,b),RX!==null&&(JZ=u(_,RX,IZ.value,JZ),X&&RX.alternate!==null&&e.delete(RX.key===null?s:RX.key),A=Q(RX,A,s),UX===null?a=RX:UX.sibling=RX,UX=RX);return X&&e.forEach(function(uL){return Z(_,uL)}),SX&&n4(_,s),a}function gX(_,A,I,b){if(typeof I==="object"&&I!==null&&I.type===N7&&I.key===null&&($0(I,null,_),I=I.props.children),typeof I==="object"&&I!==null){switch(I.$$typeof){case v4:var a=EZ(I._debugInfo);X:{for(var UX=I.key;A!==null;){if(A.key===UX){if(UX=I.type,UX===N7){if(A.tag===7){Y(_,A.sibling),b=$(A,I.props.children),b.return=_,b._debugOwner=I._owner,b._debugInfo=FX,$0(I,b,_),_=b;break X}}else if(A.elementType===UX||gQ(A,I)||typeof UX==="object"&&UX!==null&&UX.$$typeof===w2&&O5(UX)===A.type){Y(_,A.sibling),b=$(A,I.props),F8(b,I),b.return=_,b._debugOwner=I._owner,b._debugInfo=FX,_=b;break X}Y(_,A);break}else Z(_,A);A=A.sibling}I.type===N7?(b=R6(I.props.children,_.mode,b,I.key),b.return=_,b._debugOwner=_,b._debugTask=_._debugTask,b._debugInfo=FX,$0(I,b,_),_=b):(b=r9(I,_.mode,b),F8(b,I),b.return=_,b._debugInfo=FX,_=b)}return _=J(_),FX=a,_;case A7:X:{a=I;for(I=a.key;A!==null;){if(A.key===I)if(A.tag===4&&A.stateNode.containerInfo===a.containerInfo&&A.stateNode.implementation===a.implementation){Y(_,A.sibling),b=$(A,a.children||[]),b.return=_,_=b;break X}else{Y(_,A);break}else Z(_,A);A=A.sibling}b=I1(a,_.mode,b),b.return=_,_=b}return J(_);case w2:return a=EZ(I._debugInfo),I=O5(I),_=gX(_,A,I,b),FX=a,_}if(gZ(I))return a=EZ(I._debugInfo),_=o(_,A,I,b),FX=a,_;if(QX(I)){if(a=EZ(I._debugInfo),UX=QX(I),typeof UX!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var e=UX.call(I);if(e===I){if(_.tag!==0||Object.prototype.toString.call(_.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(e)!=="[object Generator]")QW||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."),QW=!0}else I.entries!==UX||tG||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tG=!0);return _=GZ(_,A,e,b),FX=a,_}if(typeof I.then==="function")return a=EZ(I._debugInfo),_=gX(_,A,Q0(I),b),FX=a,_;if(I.$$typeof===k4)return gX(_,A,X0(_,I),b);J0(_,I)}if(typeof I==="string"&&I!==""||typeof I==="number"||typeof I==="bigint")return a=""+I,A!==null&&A.tag===6?(Y(_,A.sibling),b=$(A,a),b.return=_,_=b):(Y(_,A),b=N1(a,_.mode,b),b.return=_,b._debugOwner=_,b._debugTask=_._debugTask,b._debugInfo=FX,_=b),J(_);return typeof I==="function"&&B0(_,I),typeof I==="symbol"&&z0(_,I),Y(_,A)}return function(_,A,I,b){var a=FX;FX=null;try{K9=0;var UX=gX(_,A,I,b);return h7=null,UX}catch(JZ){if(JZ===x7||JZ===_Y)throw JZ;var e=V(29,JZ,null,_.mode);e.lanes=b,e.return=_;var s=e._debugInfo=FX;if(e._debugOwner=_._debugOwner,e._debugTask=_._debugTask,s!=null){for(var RX=s.length-1;0<=RX;RX--)if(typeof s[RX].stack==="string"){e._debugOwner=s[RX],e._debugTask=s[RX].debugTask;break}}return e}finally{FX=a}}}function ZJ(X,Z){var Y=gZ(X);return X=!Y&&typeof QX(X)==="function",Y||X?(Y=Y?"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>",Y,Z,Y),!1):!0}function b1(X){X.updateQueue={baseState:X.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function V1(X,Z){X=X.updateQueue,Z.updateQueue===X&&(Z.updateQueue={baseState:X.baseState,firstBaseUpdate:X.firstBaseUpdate,lastBaseUpdate:X.lastBaseUpdate,shared:X.shared,callbacks:null})}function C5(X){return{lane:X,tag:WW,payload:null,callback:null,next:null}}function T5(X,Z,Y){var G=X.updateQueue;if(G===null)return null;if(G=G.shared,X$===G&&!MW){var $=p(X);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
|
+
|
|
102
|
+
Please update the following component: %s`,$),MW=!0}if((bX&fZ)!==mZ)return $=G.pending,$===null?Z.next=Z:(Z.next=$.next,$.next=Z),G.pending=Z,Z=i9(X),kQ(X,null,Y),Z;return o9(X,G,Z,Y),i9(X)}function A8(X,Z,Y){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(Y&4194048)!==0)){var G=Z.lanes;G&=X.pendingLanes,Y|=G,Z.lanes=Y,H6(X,Y)}}function H0(X,Z){var{updateQueue:Y,alternate:G}=X;if(G!==null&&(G=G.updateQueue,Y===G)){var $=null,Q=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var J={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};Q===null?$=Q=J:Q=Q.next=J,Y=Y.next}while(Y!==null);Q===null?$=Q=Z:Q=Q.next=Z}else $=Q=Z;Y={baseState:G.baseState,firstBaseUpdate:$,lastBaseUpdate:Q,shared:G.shared,callbacks:G.callbacks},X.updateQueue=Y;return}X=Y.lastBaseUpdate,X===null?Y.firstBaseUpdate=Z:X.next=Z,Y.lastBaseUpdate=Z}function N8(){if(Z$){var X=E7;if(X!==null)throw X}}function I8(X,Z,Y,G){Z$=!1;var $=X.updateQueue;a5=!1,X$=$.shared;var{firstBaseUpdate:Q,lastBaseUpdate:J}=$,B=$.shared.pending;if(B!==null){$.shared.pending=null;var z=B,U=z.next;z.next=null,J===null?Q=U:J.next=U,J=z;var P=X.alternate;P!==null&&(P=P.updateQueue,B=P.lastBaseUpdate,B!==J&&(B===null?P.firstBaseUpdate=U:B.next=U,P.lastBaseUpdate=z))}if(Q!==null){var O=$.baseState;J=0,P=U=z=null,B=Q;do{var F=B.lane&-536870913,g=F!==B.lane;if(g?(AX&F)===F:(G&F)===F){F!==0&&F===b6&&(Z$=!0),P!==null&&(P=P.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});X:{F=X;var u=B,o=Z,GZ=Y;switch(u.tag){case UW:if(u=u.payload,typeof u==="function"){D7=!0;var gX=u.call(GZ,O,o);if(F.mode&nZ){oX(!0);try{u.call(GZ,O,o)}finally{oX(!1)}}D7=!1,O=gX;break X}O=u;break X;case eG:F.flags=F.flags&-65537|128;case WW:if(gX=u.payload,typeof gX==="function"){if(D7=!0,u=gX.call(GZ,O,o),F.mode&nZ){oX(!0);try{gX.call(GZ,O,o)}finally{oX(!1)}}D7=!1}else u=gX;if(u===null||u===void 0)break X;O=OX({},O,u);break X;case qW:a5=!0}}F=B.callback,F!==null&&(X.flags|=64,g&&(X.flags|=8192),g=$.callbacks,g===null?$.callbacks=[F]:g.push(F))}else g={lane:F,tag:B.tag,payload:B.payload,callback:B.callback,next:null},P===null?(U=P=g,z=O):P=P.next=g,J|=F;if(B=B.next,B===null)if(B=$.shared.pending,B===null)break;else g=B,B=g.next,g.next=null,$.lastBaseUpdate=g,$.shared.pending=null}while(1);P===null&&(z=O),$.baseState=z,$.firstBaseUpdate=U,$.lastBaseUpdate=P,Q===null&&($.shared.lanes=0),i5|=J,X.lanes=J,X.memoizedState=O}X$=null}function YJ(X,Z){if(typeof X!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+X);X.call(Z)}function jq(X,Z){var Y=X.shared.hiddenCallbacks;if(Y!==null)for(X.shared.hiddenCallbacks=null,X=0;X<Y.length;X++)YJ(Y[X],Z)}function GJ(X,Z){var Y=X.callbacks;if(Y!==null)for(X.callbacks=null,X=0;X<Y.length;X++)YJ(Y[X],Z)}function $J(X,Z){var Y=x4;NX(AY,Y,X),NX(u7,Z,X),x4=Y|Z.baseLanes}function j1(X){NX(AY,x4,X),NX(u7,u7.current,X)}function D1(X){x4=AY.current,vX(u7,X),vX(AY,X)}function w5(X){var Z=X.alternate;NX(NZ,NZ.current&d7,X),NX(g2,X,X),a2===null&&(Z===null||u7.current!==null?a2=X:Z.memoizedState!==null&&(a2=X))}function m1(X){NX(NZ,NZ.current,X),NX(g2,X,X),a2===null&&(a2=X)}function QJ(X){X.tag===22?(NX(NZ,NZ.current,X),NX(g2,X,X),a2===null&&(a2=X)):S5(X)}function S5(X){NX(NZ,NZ.current,X),NX(g2,g2.current,X)}function O2(X){vX(g2,X),a2===X&&(a2=null),vX(NZ,X)}function W0(X){for(var Z=X;Z!==null;){if(Z.tag===13){var Y=Z.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||r3(Y)||s3(Y)))return Z}else if(Z.tag===19&&(Z.memoizedProps.revealOrder==="forwards"||Z.memoizedProps.revealOrder==="backwards"||Z.memoizedProps.revealOrder==="unstable_legacy-backwards"||Z.memoizedProps.revealOrder==="together")){if((Z.flags&128)!==0)return Z}else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)return null;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}return null}function PX(){var X=y;o2===null?o2=[X]:o2.push(X)}function m(){var X=y;if(o2!==null&&(W5++,o2[W5]!==X)){var Z=p(WX);if(!KW.has(Z)&&(KW.add(Z),o2!==null)){for(var Y="",G=0;G<=W5;G++){var $=o2[G],Q=G===W5?X:$;for($=G+1+". "+$;30>$.length;)$+=" ";$+=Q+`
|
|
103
|
+
`,Y+=$}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
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,Z,Y)}}}function J7(X){X===void 0||X===null||gZ(X)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",y,typeof X)}function U0(){var X=p(WX);RW.has(X)||(RW.add(X),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",X))}function _Z(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function E1(X,Z){if(_9)return!1;if(Z===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",y),!1;X.length!==Z.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,y,"["+Z.join(", ")+"]","["+X.join(", ")+"]");for(var Y=0;Y<Z.length&&Y<X.length;Y++)if(!X2(X[Y],Z[Y]))return!1;return!0}function x1(X,Z,Y,G,$,Q){if(z5=Q,WX=Z,o2=X!==null?X._debugHookTypes:null,W5=-1,_9=X!==null&&X.type!==Z.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")Q=p(WX),Y$.has(Q)||(Y$.add(Q),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",Q===null?"An unknown Component":"<"+Q+">"));Z.memoizedState=null,Z.updateQueue=null,Z.lanes=0,f.H=X!==null&&X.memoizedState!==null?$$:o2!==null?_W:G$,E6=Q=(Z.mode&nZ)!==zX;var J=iG(Y,G,$);if(E6=!1,p7&&(J=h1(Z,Y,G,$)),Q){oX(!0);try{J=h1(Z,Y,G,$)}finally{oX(!1)}}return JJ(X,Z),J}function JJ(X,Z){Z._debugHookTypes=o2,Z.dependencies===null?H5!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:H5}):Z.dependencies._debugThenableState=H5,f.H=F9;var Y=eX!==null&&eX.next!==null;if(z5=0,o2=y=TZ=eX=WX=null,W5=-1,X!==null&&(X.flags&65011712)!==(Z.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),IY=!1,R9=0,H5=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");X===null||wZ||(X=X.dependencies,X!==null&&e9(X)&&(wZ=!0)),M9?(M9=!1,X=!0):X=!1,X&&(Z=p(Z)||"Unknown",LW.has(Z)||Y$.has(Z)||(LW.add(Z),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function h1(X,Z,Y,G){WX=X;var $=0;do{if(p7&&(H5=null),R9=0,p7=!1,$>=AL)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if($+=1,_9=!1,TZ=eX=null,X.updateQueue!=null){var Q=X.updateQueue;Q.lastEffect=null,Q.events=null,Q.stores=null,Q.memoCache!=null&&(Q.memoCache.index=0)}W5=-1,f.H=FW,Q=iG(Z,Y,G)}while(p7);return Q}function Dq(){var X=f.H,Z=X.useState()[0];return Z=typeof Z.then==="function"?P8(Z):Z,X=X.useState()[0],(eX!==null?eX.memoizedState:null)!==X&&(WX.flags|=1024),Z}function u1(){var X=PY!==0;return PY=0,X}function d1(X,Z,Y){Z.updateQueue=X.updateQueue,Z.flags=(Z.mode&G4)!==zX?Z.flags&-402655237:Z.flags&-2053,X.lanes&=~Y}function l1(X){if(IY){for(X=X.memoizedState;X!==null;){var Z=X.queue;Z!==null&&(Z.pending=null),X=X.next}IY=!1}z5=0,o2=TZ=eX=WX=null,W5=-1,y=null,p7=!1,R9=PY=0,H5=null}function rZ(){var X={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return TZ===null?WX.memoizedState=TZ=X:TZ=TZ.next=X,TZ}function iX(){if(eX===null){var X=WX.alternate;X=X!==null?X.memoizedState:null}else X=eX.next;var Z=TZ===null?WX.memoizedState:TZ.next;if(Z!==null)TZ=Z,eX=X;else{if(X===null){if(WX.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}eX=X,X={memoizedState:eX.memoizedState,baseState:eX.baseState,baseQueue:eX.baseQueue,queue:eX.queue,next:null},TZ===null?WX.memoizedState=TZ=X:TZ=TZ.next=X}return TZ}function q0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function P8(X){var Z=R9;return R9+=1,H5===null&&(H5=aQ()),X=oQ(H5,X,Z),Z=WX,(TZ===null?Z.memoizedState:TZ.next)===null&&(Z=Z.alternate,f.H=Z!==null&&Z.memoizedState!==null?$$:G$),X}function v5(X){if(X!==null&&typeof X==="object"){if(typeof X.then==="function")return P8(X);if(X.$$typeof===k4)return HZ(X)}throw Error("An unsupported type was passed to use(): "+String(X))}function I6(X){var Z=null,Y=WX.updateQueue;if(Y!==null&&(Z=Y.memoCache),Z==null){var G=WX.alternate;G!==null&&(G=G.updateQueue,G!==null&&(G=G.memoCache,G!=null&&(Z={data:G.data.map(function($){return $.slice()}),index:0})))}if(Z==null&&(Z={data:[],index:0}),Y===null&&(Y=q0(),WX.updateQueue=Y),Y.memoCache=Z,Y=Z.data[Z.index],Y===void 0||_9)for(Y=Z.data[Z.index]=Array(X),G=0;G<X;G++)Y[G]=sM;else Y.length!==X&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",Y.length,X);return Z.index++,Y}function e2(X,Z){return typeof Z==="function"?Z(X):Z}function p1(X,Z,Y){var G=rZ();if(Y!==void 0){var $=Y(Z);if(E6){oX(!0);try{Y(Z)}finally{oX(!1)}}}else $=Z;return G.memoizedState=G.baseState=$,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:X,lastRenderedState:$},G.queue=X,X=X.dispatch=uq.bind(null,WX,X),[G.memoizedState,X]}function B7(X){var Z=iX();return c1(Z,eX,X)}function c1(X,Z,Y){var G=X.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=Y;var $=X.baseQueue,Q=G.pending;if(Q!==null){if($!==null){var J=$.next;$.next=Q.next,Q.next=J}Z.baseQueue!==$&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Z.baseQueue=$=Q,G.pending=null}if(Q=X.baseState,$===null)X.memoizedState=Q;else{Z=$.next;var B=J=null,z=null,U=Z,P=!1;do{var O=U.lane&-536870913;if(O!==U.lane?(AX&O)===O:(z5&O)===O){var F=U.revertLane;if(F===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),O===b6&&(P=!0);else if((z5&F)===F){U=U.next,F===b6&&(P=!0);continue}else O={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},z===null?(B=z=O,J=Q):z=z.next=O,WX.lanes|=F,i5|=F;O=U.action,E6&&Y(Q,O),Q=U.hasEagerState?U.eagerState:Y(Q,O)}else F={lane:O,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},z===null?(B=z=F,J=Q):z=z.next=F,WX.lanes|=O,i5|=O;U=U.next}while(U!==null&&U!==Z);if(z===null?J=Q:z.next=B,!X2(Q,X.memoizedState)&&(wZ=!0,P&&(Y=E7,Y!==null)))throw Y;X.memoizedState=Q,X.baseState=J,X.baseQueue=z,G.lastRenderedState=Q}return $===null&&(G.lanes=0),[X.memoizedState,G.dispatch]}function O8(X){var Z=iX(),Y=Z.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=X;var{dispatch:G,pending:$}=Y,Q=Z.memoizedState;if($!==null){Y.pending=null;var J=$=$.next;do Q=X(Q,J.action),J=J.next;while(J!==$);X2(Q,Z.memoizedState)||(wZ=!0),Z.memoizedState=Q,Z.baseQueue===null&&(Z.baseState=Q),Y.lastRenderedState=Q}return[Q,G]}function a1(X,Z,Y){var G=WX,$=rZ();if(SX){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var Q=Y();l7||Q===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),l7=!0)}else{if(Q=Z(),l7||(Y=Z(),X2(Q,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l7=!0)),XZ===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(AX&127)!==0||BJ(G,Z,Q)}return $.memoizedState=Q,Y={value:Q,getSnapshot:Z},$.queue=Y,R0(HJ.bind(null,G,Y,X),[X]),G.flags|=2048,H7(n2|G2,{destroy:void 0},zJ.bind(null,G,Y,Q,Z),null),Q}function M0(X,Z,Y){var G=WX,$=iX(),Q=SX;if(Q){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=Z(),!l7){var J=Z();X2(Y,J)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l7=!0)}if(J=!X2((eX||$).memoizedState,Y))$.memoizedState=Y,wZ=!0;$=$.queue;var B=HJ.bind(null,G,$,X);if(B2(2048,G2,B,[X]),$.getSnapshot!==Z||J||TZ!==null&&TZ.memoizedState.tag&n2){if(G.flags|=2048,H7(n2|G2,{destroy:void 0},zJ.bind(null,G,$,Y,Z),null),XZ===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Q||(z5&127)!==0||BJ(G,Z,Y)}return Y}function BJ(X,Z,Y){X.flags|=16384,X={getSnapshot:Z,value:Y},Z=WX.updateQueue,Z===null?(Z=q0(),WX.updateQueue=Z,Z.stores=[X]):(Y=Z.stores,Y===null?Z.stores=[X]:Y.push(X))}function zJ(X,Z,Y,G){Z.value=Y,Z.getSnapshot=G,WJ(Z)&&UJ(X)}function HJ(X,Z,Y){return Y(function(){WJ(Z)&&(L4(2,"updateSyncExternalStore()",X),UJ(X))})}function WJ(X){var Z=X.getSnapshot;X=X.value;try{var Y=Z();return!X2(X,Y)}catch(G){return!0}}function UJ(X){var Z=cZ(X,2);Z!==null&&LZ(Z,X,2)}function n1(X){var Z=rZ();if(typeof X==="function"){var Y=X;if(X=Y(),E6){oX(!0);try{Y()}finally{oX(!1)}}}return Z.memoizedState=Z.baseState=X,Z.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e2,lastRenderedState:X},Z}function o1(X){X=n1(X);var Z=X.queue,Y=gJ.bind(null,WX,Z);return Z.dispatch=Y,[X.memoizedState,Y]}function i1(X){var Z=rZ();Z.memoizedState=Z.baseState=X;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Z.queue=Y,Z=H3.bind(null,WX,!0,Y),Y.dispatch=Z,[X,Z]}function qJ(X,Z){var Y=iX();return MJ(Y,eX,X,Z)}function MJ(X,Z,Y,G){return X.baseState=Y,c1(X,eX,typeof G==="function"?G:e2)}function KJ(X,Z){var Y=iX();if(eX!==null)return MJ(Y,eX,X,Z);return Y.baseState=X,[X,Y.queue.dispatch]}function mq(X,Z,Y,G,$){if(P0(X))throw Error("Cannot update form state while rendering.");if(X=Z.action,X!==null){var Q={payload:$,action:X,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(J){Q.listeners.push(J)}};f.T!==null?Y(!0):Q.isTransition=!1,G(Q),Y=Z.pending,Y===null?(Q.next=Z.pending=Q,LJ(Z,Q)):(Q.next=Y.next,Z.pending=Y.next=Q)}}function LJ(X,Z){var{action:Y,payload:G}=Z,$=X.state;if(Z.isTransition){var Q=f.T,J={};J._updatedFibers=new Set,f.T=J;try{var B=Y($,G),z=f.S;z!==null&&z(J,B),RJ(X,Z,B)}catch(U){r1(X,Z,U)}finally{Q!==null&&J.types!==null&&(Q.types!==null&&Q.types!==J.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."),Q.types=J.types),f.T=Q,Q===null&&J._updatedFibers&&(X=J._updatedFibers.size,J._updatedFibers.clear(),10<X&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{J=Y($,G),RJ(X,Z,J)}catch(U){r1(X,Z,U)}}function RJ(X,Z,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(f.asyncTransitions++,Y.then(I0,I0),Y.then(function(G){_J(X,Z,G)},function(G){return r1(X,Z,G)}),Z.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):_J(X,Z,Y)}function _J(X,Z,Y){Z.status="fulfilled",Z.value=Y,FJ(Z),X.state=Y,Z=X.pending,Z!==null&&(Y=Z.next,Y===Z?X.pending=null:(Y=Y.next,Z.next=Y,LJ(X,Y)))}function r1(X,Z,Y){var G=X.pending;if(X.pending=null,G!==null){G=G.next;do Z.status="rejected",Z.reason=Y,FJ(Z),Z=Z.next;while(Z!==G)}X.action=null}function FJ(X){X=X.listeners;for(var Z=0;Z<X.length;Z++)(0,X[Z])()}function AJ(X,Z){return Z}function z7(X,Z){if(SX){var Y=XZ.formState;if(Y!==null){X:{var G=WX;if(SX){if(QZ){Z:{var $=QZ;for(var Q=p2;$.nodeType!==8;){if(!Q){$=null;break Z}if($=T2($.nextSibling),$===null){$=null;break Z}}Q=$.data,$=Q===S$||Q===GU?$:null}if($){QZ=T2($.nextSibling),G=$.data===S$;break X}}I5(G)}G=!1}G&&(Z=Y[0])}}return Y=rZ(),Y.memoizedState=Y.baseState=Z,G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:AJ,lastRenderedState:Z},Y.queue=G,Y=gJ.bind(null,WX,G),G.dispatch=Y,G=n1(!1),Q=H3.bind(null,WX,!1,G.queue),G=rZ(),$={state:Z,dispatch:null,action:X,pending:null},G.queue=$,Y=mq.bind(null,WX,$,Q,Y),$.dispatch=Y,G.memoizedState=X,[Z,Y,!1]}function K0(X){var Z=iX();return NJ(Z,eX,X)}function NJ(X,Z,Y){if(Z=c1(X,Z,AJ)[0],X=B7(e2)[0],typeof Z==="object"&&Z!==null&&typeof Z.then==="function")try{var G=P8(Z)}catch(J){if(J===x7)throw _Y;throw J}else G=Z;Z=iX();var $=Z.queue,Q=$.dispatch;return Y!==Z.memoizedState&&(WX.flags|=2048,H7(n2|G2,{destroy:void 0},Eq.bind(null,$,Y),null)),[G,Q,X]}function Eq(X,Z){X.action=Z}function L0(X){var Z=iX(),Y=eX;if(Y!==null)return NJ(Z,Y,X);iX(),Z=Z.memoizedState,Y=iX();var G=Y.queue.dispatch;return Y.memoizedState=X,[Z,G,!1]}function H7(X,Z,Y,G){return X={tag:X,create:Y,deps:G,inst:Z,next:null},Z=WX.updateQueue,Z===null&&(Z=q0(),WX.updateQueue=Z),Y=Z.lastEffect,Y===null?Z.lastEffect=X.next=X:(G=Y.next,Y.next=X,X.next=G,Z.lastEffect=X),X}function s1(X){var Z=rZ();return X={current:X},Z.memoizedState=X}function P6(X,Z,Y,G){var $=rZ();WX.flags|=X,$.memoizedState=H7(n2|Z,{destroy:void 0},Y,G===void 0?null:G)}function B2(X,Z,Y,G){var $=iX();G=G===void 0?null:G;var Q=$.memoizedState.inst;eX!==null&&G!==null&&E1(G,eX.memoizedState.deps)?$.memoizedState=H7(Z,Q,Y,G):(WX.flags|=X,$.memoizedState=H7(n2|Z,Q,Y,G))}function R0(X,Z){(WX.mode&G4)!==zX?P6(276826112,G2,X,Z):P6(8390656,G2,X,Z)}function xq(X){WX.flags|=4;var Z=WX.updateQueue;if(Z===null)Z=q0(),WX.updateQueue=Z,Z.events=[X];else{var Y=Z.events;Y===null?Z.events=[X]:Y.push(X)}}function t1(X){var Z=rZ(),Y={impl:X};return Z.memoizedState=Y,function(){if((bX&fZ)!==mZ)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function _0(X){var Z=iX().memoizedState;return xq({ref:Z,nextImpl:X}),function(){if((bX&fZ)!==mZ)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Z.impl.apply(void 0,arguments)}}function e1(X,Z){var Y=4194308;return(WX.mode&G4)!==zX&&(Y|=134217728),P6(Y,y2,X,Z)}function IJ(X,Z){if(typeof Z==="function"){X=X();var Y=Z(X);return function(){typeof Y==="function"?Y():Z(null)}}if(Z!==null&&Z!==void 0)return Z.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(Z).join(", ")+"}"),X=X(),Z.current=X,function(){Z.current=null}}function X3(X,Z,Y){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),Y=Y!==null&&Y!==void 0?Y.concat([X]):null;var G=4194308;(WX.mode&G4)!==zX&&(G|=134217728),P6(G,y2,IJ.bind(null,Z,X),Y)}function F0(X,Z,Y){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),Y=Y!==null&&Y!==void 0?Y.concat([X]):null,B2(4,y2,IJ.bind(null,Z,X),Y)}function Z3(X,Z){return rZ().memoizedState=[X,Z===void 0?null:Z],X}function A0(X,Z){var Y=iX();Z=Z===void 0?null:Z;var G=Y.memoizedState;if(Z!==null&&E1(Z,G[1]))return G[0];return Y.memoizedState=[X,Z],X}function Y3(X,Z){var Y=rZ();Z=Z===void 0?null:Z;var G=X();if(E6){oX(!0);try{X()}finally{oX(!1)}}return Y.memoizedState=[G,Z],G}function N0(X,Z){var Y=iX();Z=Z===void 0?null:Z;var G=Y.memoizedState;if(Z!==null&&E1(Z,G[1]))return G[0];if(G=X(),E6){oX(!0);try{X()}finally{oX(!1)}}return Y.memoizedState=[G,Z],G}function G3(X,Z){var Y=rZ();return $3(Y,X,Z)}function PJ(X,Z){var Y=iX();return CJ(Y,eX.memoizedState,X,Z)}function OJ(X,Z){var Y=iX();return eX===null?$3(Y,X,Z):CJ(Y,eX.memoizedState,X,Z)}function $3(X,Z,Y){if(Y===void 0||(z5&1073741824)!==0&&(AX&261930)===0)return X.memoizedState=Z;return X.memoizedState=Y,X=TB(),WX.lanes|=X,i5|=X,Y}function CJ(X,Z,Y,G){if(X2(Y,Z))return Y;if(u7.current!==null)return X=$3(X,Y,G),X2(X,Z)||(wZ=!0),X;if((z5&42)===0||(z5&1073741824)!==0&&(AX&261930)===0)return wZ=!0,X.memoizedState=Y;return X=TB(),WX.lanes|=X,i5|=X,Z}function I0(){f.asyncTransitions--}function TJ(X,Z,Y,G,$){var Q=cX.p;cX.p=Q!==0&&Q<Y4?Q:Y4;var J=f.T,B={};B._updatedFibers=new Set,f.T=B,H3(X,!1,Z,Y);try{var z=$(),U=f.S;if(U!==null&&U(B,z),z!==null&&typeof z==="object"&&typeof z.then==="function"){f.asyncTransitions++,z.then(I0,I0);var P=Vq(z,G);C8(X,Z,P,C2(X))}else C8(X,Z,G,C2(X))}catch(O){C8(X,Z,{then:function(){},status:"rejected",reason:O},C2(X))}finally{cX.p=Q,J!==null&&B.types!==null&&(J.types!==null&&J.types!==B.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."),J.types=B.types),f.T=J,J===null&&B._updatedFibers&&(X=B._updatedFibers.size,B._updatedFibers.clear(),10<X&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Q3(X,Z,Y,G){if(X.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var $=wJ(X).queue;fq(X),TJ(X,$,Z,i6,Y===null?l:function(){return SJ(X),Y(G)})}function wJ(X){var Z=X.memoizedState;if(Z!==null)return Z;Z={memoizedState:i6,baseState:i6,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:e2,lastRenderedState:i6},next:null};var Y={};return Z.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:e2,lastRenderedState:Y},next:null},X.memoizedState=Z,X=X.alternate,X!==null&&(X.memoizedState=Z),Z}function SJ(X){f.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Z=wJ(X);Z.next===null&&(Z=X.alternate.memoizedState),C8(X,Z.next.queue,{},C2(X))}function J3(){var X=n1(!1);return X=TJ.bind(null,WX,X.queue,!0,!1),rZ().memoizedState=X,[!1,X]}function vJ(){var X=B7(e2)[0],Z=iX().memoizedState;return[typeof X==="boolean"?X:P8(X),Z]}function kJ(){var X=O8(e2)[0],Z=iX().memoizedState;return[typeof X==="boolean"?X:P8(X),Z]}function O6(){return HZ(b9)}function B3(){var X=rZ(),Z=XZ.identifierPrefix;if(SX){var Y=G5,G=Y5;Y=(G&~(1<<32-sZ(G)-1)).toString(32)+Y,Z="_"+Z+"R_"+Y,Y=PY++,0<Y&&(Z+="H"+Y.toString(32)),Z+="_"}else Y=FL++,Z="_"+Z+"r_"+Y.toString(32)+"_";return X.memoizedState=Z}function z3(){return rZ().memoizedState=hq.bind(null,WX)}function hq(X,Z){for(var Y=X.return;Y!==null;){switch(Y.tag){case 24:case 3:var G=C2(Y),$=C5(G),Q=T5(Y,$,G);Q!==null&&(L4(G,"refresh()",X),LZ(Q,Y,G),A8(Q,Y,G)),X=v1(),Z!==null&&Z!==void 0&&Q!==null&&console.error("The seed argument is not enabled outside experimental channels."),$.payload={cache:X};return}Y=Y.return}}function uq(X,Z,Y){var G=arguments;typeof G[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),G=C2(X);var $={lane:G,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};P0(X)?yJ(Z,$):($=R1(X,Z,$,G),$!==null&&(L4(G,"dispatch()",X),LZ($,X,G),fJ($,Z,G)))}function gJ(X,Z,Y){var G=arguments;typeof G[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),G=C2(X),C8(X,Z,Y,G)&&L4(G,"setState()",X)}function C8(X,Z,Y,G){var $={lane:G,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(P0(X))yJ(Z,$);else{var Q=X.alternate;if(X.lanes===0&&(Q===null||Q.lanes===0)&&(Q=Z.lastRenderedReducer,Q!==null)){var J=f.H;f.H=Q4;try{var B=Z.lastRenderedState,z=Q(B,Y);if($.hasEagerState=!0,$.eagerState=z,X2(z,B))return o9(X,Z,$,0),XZ===null&&n9(),!1}catch(U){}finally{f.H=J}}if(Y=R1(X,Z,$,G),Y!==null)return LZ(Y,X,G),fJ(Y,Z,G),!0}return!1}function H3(X,Z,Y,G){if(f.T===null&&b6===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),G={lane:2,revertLane:x3(),gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null},P0(X)){if(Z)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Z=R1(X,Y,G,2),Z!==null&&(L4(2,"setOptimistic()",X),LZ(Z,X,2))}function P0(X){var Z=X.alternate;return X===WX||Z!==null&&Z===WX}function yJ(X,Z){p7=IY=!0;var Y=X.pending;Y===null?Z.next=Z:(Z.next=Y.next,Y.next=Z),X.pending=Z}function fJ(X,Z,Y){if((Y&4194048)!==0){var G=Z.lanes;G&=X.pendingLanes,Y|=G,Z.lanes=Y,H6(X,Y)}}function W3(X){if(X!==null&&typeof X!=="function"){var Z=String(X);kW.has(Z)||(kW.add(Z),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",X))}}function U3(X,Z,Y,G){var $=X.memoizedState,Q=Y(G,$);if(X.mode&nZ){oX(!0);try{Q=Y(G,$)}finally{oX(!1)}}Q===void 0&&(Z=qX(Z)||"Component",TW.has(Z)||(TW.add(Z),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z))),$=Q===null||Q===void 0?$:OX({},$,Q),X.memoizedState=$,X.lanes===0&&(X.updateQueue.baseState=$)}function bJ(X,Z,Y,G,$,Q,J){var B=X.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(Y=B.shouldComponentUpdate(G,Q,J),X.mode&nZ){oX(!0);try{Y=B.shouldComponentUpdate(G,Q,J)}finally{oX(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",qX(Z)||"Component"),Y}return Z.prototype&&Z.prototype.isPureReactComponent?!q8(Y,G)||!q8($,Q):!0}function VJ(X,Z,Y,G){var $=Z.state;typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps(Y,G),typeof Z.UNSAFE_componentWillReceiveProps==="function"&&Z.UNSAFE_componentWillReceiveProps(Y,G),Z.state!==$&&(X=p(X)||"Component",NW.has(X)||(NW.add(X),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",X)),Q$.enqueueReplaceState(Z,Z.state,null))}function C6(X,Z){var Y=Z;if("ref"in Z){Y={};for(var G in Z)G!=="ref"&&(Y[G]=Z[G])}if(X=X.defaultProps){Y===Z&&(Y=OX({},Y));for(var $ in X)Y[$]===void 0&&(Y[$]=X[$])}return Y}function jJ(X){DG(X),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,c7?"An error occurred in the <"+c7+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function DJ(X){var Z=c7?"The above error occurred in the <"+c7+"> component.":"The above error occurred in one of your React components.",Y="React will try to recreate this component tree from scratch using the error boundary you provided, "+((J$||"Anonymous")+".");if(typeof X==="object"&&X!==null&&typeof X.environmentName==="string"){var G=X.environmentName;X=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,X,Z,Y].slice(0),typeof X[0]==="string"?X.splice(0,1,UU+" "+X[0],qU,nY+G+nY,MU):X.splice(0,0,UU,qU,nY+G+nY,MU),X.unshift(console),G=xL.apply(console.error,X),G()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,X,Z,Y)}function mJ(X){DG(X)}function O0(X,Z){try{c7=Z.source?p(Z.source):null,J$=null;var Y=Z.value;if(f.actQueue!==null)f.thrownErrors.push(Y);else{var G=X.onUncaughtError;G(Y,{componentStack:Z.stack})}}catch($){setTimeout(function(){throw $})}}function EJ(X,Z,Y){try{c7=Y.source?p(Y.source):null,J$=p(Z);var G=X.onCaughtError;G(Y.value,{componentStack:Y.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch($){setTimeout(function(){throw $})}}function q3(X,Z,Y){return Y=C5(Y),Y.tag=eG,Y.payload={element:null},Y.callback=function(){i(Z.source,O0,X,Z)},Y}function M3(X){return X=C5(X),X.tag=eG,X}function K3(X,Z,Y,G){var $=Y.type.getDerivedStateFromError;if(typeof $==="function"){var Q=G.value;X.payload=function(){return $(Q)},X.callback=function(){yQ(Y),i(G.source,EJ,Z,Y,G)}}var J=Y.stateNode;J!==null&&typeof J.componentDidCatch==="function"&&(X.callback=function(){yQ(Y),i(G.source,EJ,Z,Y,G),typeof $!=="function"&&(s5===null?s5=new Set([this]):s5.add(this)),KL(this,G),typeof $==="function"||(Y.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",p(Y)||"Unknown")})}function dq(X,Z,Y,G,$){if(Y.flags|=32768,f4&&f8(X,$),G!==null&&typeof G==="object"&&typeof G.then==="function"){if(Z=Y.alternate,Z!==null&&Q7(Z,Y,$,!0),SX&&(j4=!0),Y=g2.current,Y!==null){switch(Y.tag){case 31:case 13:return a2===null?f0():Y.alternate===null&&MZ===q5&&(MZ=TY),Y.flags&=-257,Y.flags|=65536,Y.lanes=$,G===FY?Y.flags|=16384:(Z=Y.updateQueue,Z===null?Y.updateQueue=new Set([G]):Z.add(G),j3(X,G,$)),!1;case 22:return Y.flags|=65536,G===FY?Y.flags|=16384:(Z=Y.updateQueue,Z===null?(Z={transitions:null,markerInstances:null,retryQueue:new Set([G])},Y.updateQueue=Z):(Y=Z.retryQueue,Y===null?Z.retryQueue=new Set([G]):Y.add(G)),j3(X,G,$)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return j3(X,G,$),f0(),!1}if(SX)return j4=!0,Z=g2.current,Z!==null?((Z.flags&65536)===0&&(Z.flags|=256),Z.flags|=65536,Z.lanes=$,G!==dG&&K8(N2(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:G}),Y))):(G!==dG&&K8(N2(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:G}),Y)),X=X.current.alternate,X.flags|=65536,$&=-$,X.lanes|=$,G=N2(G,Y),$=q3(X.stateNode,G,$),H0(X,$),MZ!==n5&&(MZ=x6)),!1;var Q=N2(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:G}),Y);if(C9===null?C9=[Q]:C9.push(Q),MZ!==n5&&(MZ=x6),Z===null)return!0;G=N2(G,Y),Y=Z;do{switch(Y.tag){case 3:return Y.flags|=65536,X=$&-$,Y.lanes|=X,X=q3(Y.stateNode,G,X),H0(Y,X),!1;case 1:if(Z=Y.type,Q=Y.stateNode,(Y.flags&128)===0&&(typeof Z.getDerivedStateFromError==="function"||Q!==null&&typeof Q.componentDidCatch==="function"&&(s5===null||!s5.has(Q))))return Y.flags|=65536,$&=-$,Y.lanes|=$,$=M3($),K3($,X,Y,G),H0(Y,$),!1}Y=Y.return}while(Y!==null);return!1}function xZ(X,Z,Y,G){Z.child=X===null?HW(Z,null,Y,G):m6(Z,X.child,Y,G)}function xJ(X,Z,Y,G,$){Y=Y.render;var Q=Z.ref;if("ref"in G){var J={};for(var B in G)B!=="ref"&&(J[B]=G[B])}else J=G;if(A6(Z),G=x1(X,Z,Y,J,Q,$),B=u1(),X!==null&&!wZ)return d1(X,Z,$),r4(X,Z,$);return SX&&B&&P1(Z),Z.flags|=1,xZ(X,Z,G,$),Z.child}function hJ(X,Z,Y,G,$){if(X===null){var Q=Y.type;if(typeof Q==="function"&&!F1(Q)&&Q.defaultProps===void 0&&Y.compare===null)return Y=L6(Q),Z.tag=15,Z.type=Y,R3(Z,Q),uJ(X,Z,Y,G,$);return X=A1(Y.type,null,G,Z,Z.mode,$),X.ref=Z.ref,X.return=Z,Z.child=X}if(Q=X.child,!P3(X,$)){var J=Q.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:q8,Y(J,G)&&X.ref===Z.ref)return r4(X,Z,$)}return Z.flags|=1,X=a4(Q,G),X.ref=Z.ref,X.return=Z,Z.child=X}function uJ(X,Z,Y,G,$){if(X!==null){var Q=X.memoizedProps;if(q8(Q,G)&&X.ref===Z.ref&&Z.type===X.type)if(wZ=!1,Z.pendingProps=G=Q,P3(X,$))(X.flags&131072)!==0&&(wZ=!0);else return Z.lanes=X.lanes,r4(X,Z,$)}return L3(X,Z,Y,G,$)}function dJ(X,Z,Y,G){var $=G.children,Q=X!==null?X.memoizedState:null;if(X===null&&Z.stateNode===null&&(Z.stateNode={_visibility:e8,_pendingMarkers:null,_retryCache:null,_transitions:null}),G.mode==="hidden"){if((Z.flags&128)!==0){if(Q=Q!==null?Q.baseLanes|Y:Y,X!==null){G=Z.child=X.child;for($=0;G!==null;)$=$|G.lanes|G.childLanes,G=G.sibling;G=$&~Q}else G=0,Z.child=null;return lJ(X,Z,Q,Y,G)}if((Y&536870912)!==0)Z.memoizedState={baseLanes:0,cachePool:null},X!==null&&G0(Z,Q!==null?Q.cachePool:null),Q!==null?$J(Z,Q):j1(Z),QJ(Z);else return G=Z.lanes=536870912,lJ(X,Z,Q!==null?Q.baseLanes|Y:Y,Y,G)}else Q!==null?(G0(Z,Q.cachePool),$J(Z,Q),S5(Z),Z.memoizedState=null):(X!==null&&G0(Z,null),j1(Z),S5(Z));return xZ(X,Z,$,Y),Z.child}function T8(X,Z){return X!==null&&X.tag===22||Z.stateNode!==null||(Z.stateNode={_visibility:e8,_pendingMarkers:null,_retryCache:null,_transitions:null}),Z.sibling}function lJ(X,Z,Y,G,$){var Q=y1();return Q=Q===null?null:{parent:OZ._currentValue,pool:Q},Z.memoizedState={baseLanes:Y,cachePool:Q},X!==null&&G0(Z,null),j1(Z),QJ(Z),X!==null&&Q7(X,Z,G,!0),Z.childLanes=$,null}function C0(X,Z){var Y=Z.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),Z=w0({mode:Z.mode,children:Z.children},X.mode),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function pJ(X,Z,Y){return m6(Z,X.child,null,Y),X=C0(Z,Z.pendingProps),X.flags|=2,O2(Z),Z.memoizedState=null,X}function lq(X,Z,Y){var G=Z.pendingProps,$=(Z.flags&128)!==0;if(Z.flags&=-129,X===null){if(SX){if(G.mode==="hidden")return X=C0(Z,G),Z.lanes=536870912,T8(null,X);if(m1(Z),(X=QZ)?(Y=Lz(X,p2),Y=Y!==null&&Y.data===c6?Y:null,Y!==null&&(G={dehydrated:Y,treeContext:DQ(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=G,G=VQ(Y),G.return=Z,Z.child=G,dZ=Z,QZ=null)):Y=null,Y===null)throw s9(Z,X),I5(Z);return Z.lanes=536870912,null}return C0(Z,G)}var Q=X.memoizedState;if(Q!==null){var J=Q.dehydrated;if(m1(Z),$)if(Z.flags&256)Z.flags&=-257,Z=pJ(X,Z,Y);else if(Z.memoizedState!==null)Z.child=X.child,Z.flags|=128,Z=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(EQ(),(Y&536870912)!==0&&y0(Z),wZ||Q7(X,Z,Y,!1),$=(Y&X.childLanes)!==0,wZ||$){if(G=XZ,G!==null&&(J=W6(G,Y),J!==0&&J!==Q.retryLane))throw Q.retryLane=J,cZ(X,J),LZ(G,X,J),B$;f0(),Z=pJ(X,Z,Y)}else X=Q.treeContext,QZ=T2(J.nextSibling),dZ=Z,SX=!0,h5=null,j4=!1,k2=null,p2=!1,X!==null&&mQ(Z,X),Z=C0(Z,G),Z.flags|=4096;return Z}return Q=X.child,G={mode:G.mode,children:G.children},(Y&536870912)!==0&&(Y&X.lanes)!==0&&y0(Z),X=a4(Q,G),X.ref=Z.ref,Z.child=X,X.return=Z,X}function T0(X,Z){var Y=Z.ref;if(Y===null)X!==null&&X.ref!==null&&(Z.flags|=4194816);else{if(typeof Y!=="function"&&typeof Y!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(X===null||X.ref!==Y)Z.flags|=4194816}}function L3(X,Z,Y,G,$){if(Y.prototype&&typeof Y.prototype.render==="function"){var Q=qX(Y)||"Unknown";gW[Q]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",Q,Q),gW[Q]=!0)}if(Z.mode&nZ&&$4.recordLegacyContextWarning(Z,null),X===null&&(R3(Z,Z.type),Y.contextTypes&&(Q=qX(Y)||"Unknown",fW[Q]||(fW[Q]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",Q)))),A6(Z),Y=x1(X,Z,Y,G,void 0,$),G=u1(),X!==null&&!wZ)return d1(X,Z,$),r4(X,Z,$);return SX&&G&&P1(Z),Z.flags|=1,xZ(X,Z,Y,$),Z.child}function cJ(X,Z,Y,G,$,Q){if(A6(Z),W5=-1,_9=X!==null&&X.type!==Z.type,Z.updateQueue=null,Y=h1(Z,G,Y,$),JJ(X,Z),G=u1(),X!==null&&!wZ)return d1(X,Z,Q),r4(X,Z,Q);return SX&&G&&P1(Z),Z.flags|=1,xZ(X,Z,Y,Q),Z.child}function aJ(X,Z,Y,G,$){switch(v(Z)){case!1:var Q=Z.stateNode,J=new Z.type(Z.memoizedProps,Q.context).state;Q.updater.enqueueSetState(Q,J,null);break;case!0:Z.flags|=128,Z.flags|=65536,Q=Error("Simulated error coming from DevTools");var B=$&-$;if(Z.lanes|=B,J=XZ,J===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=M3(B),K3(B,J,Z,N2(Q,Z)),H0(Z,B)}if(A6(Z),Z.stateNode===null){if(J=x5,Q=Y.contextType,"contextType"in Y&&Q!==null&&(Q===void 0||Q.$$typeof!==k4)&&!vW.has(Y)&&(vW.add(Y),B=Q===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof Q!=="object"?" However, it is set to a "+typeof Q+".":Q.$$typeof===zG?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(Q).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",qX(Y)||"Component",B)),typeof Q==="object"&&Q!==null&&(J=HZ(Q)),Q=new Y(G,J),Z.mode&nZ){oX(!0);try{Q=new Y(G,J)}finally{oX(!1)}}if(J=Z.memoizedState=Q.state!==null&&Q.state!==void 0?Q.state:null,Q.updater=Q$,Z.stateNode=Q,Q._reactInternals=Z,Q._reactInternalInstance=AW,typeof Y.getDerivedStateFromProps==="function"&&J===null&&(J=qX(Y)||"Component",IW.has(J)||(IW.add(J),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,Q.state===null?"null":"undefined",J))),typeof Y.getDerivedStateFromProps==="function"||typeof Q.getSnapshotBeforeUpdate==="function"){var z=B=J=null;if(typeof Q.componentWillMount==="function"&&Q.componentWillMount.__suppressDeprecationWarning!==!0?J="componentWillMount":typeof Q.UNSAFE_componentWillMount==="function"&&(J="UNSAFE_componentWillMount"),typeof Q.componentWillReceiveProps==="function"&&Q.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof Q.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof Q.componentWillUpdate==="function"&&Q.componentWillUpdate.__suppressDeprecationWarning!==!0?z="componentWillUpdate":typeof Q.UNSAFE_componentWillUpdate==="function"&&(z="UNSAFE_componentWillUpdate"),J!==null||B!==null||z!==null){Q=qX(Y)||"Component";var U=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";OW.has(Q)||(OW.add(Q),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,Q,U,J!==null?`
|
|
137
|
+
`+J:"",B!==null?`
|
|
138
|
+
`+B:"",z!==null?`
|
|
139
|
+
`+z:""))}}Q=Z.stateNode,J=qX(Y)||"Component",Q.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",J):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",J)),!Q.getInitialState||Q.getInitialState.isReactClassApproved||Q.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?",J),Q.getDefaultProps&&!Q.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.",J),Q.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",J),Y.childContextTypes&&!SW.has(Y)&&(SW.add(Y),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",J)),Y.contextTypes&&!wW.has(Y)&&(wW.add(Y),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)",J)),typeof Q.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.",J),Y.prototype&&Y.prototype.isPureReactComponent&&typeof Q.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.",qX(Y)||"A pure component"),typeof Q.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",J),typeof Q.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().",J),typeof Q.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",J),typeof Q.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",J),B=Q.props!==G,Q.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",J),Q.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.",J,J),typeof Q.getSnapshotBeforeUpdate!=="function"||typeof Q.componentDidUpdate==="function"||PW.has(Y)||(PW.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",qX(Y))),typeof Q.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J),typeof Q.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",J),(B=Q.state)&&(typeof B!=="object"||gZ(B))&&console.error("%s.state: must be set to an object or null",J),typeof Q.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",J),Q=Z.stateNode,Q.props=G,Q.state=Z.memoizedState,Q.refs={},b1(Z),J=Y.contextType,Q.context=typeof J==="object"&&J!==null?HZ(J):x5,Q.state===G&&(J=qX(Y)||"Component",CW.has(J)||(CW.add(J),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.",J))),Z.mode&nZ&&$4.recordLegacyContextWarning(Z,Q),$4.recordUnsafeLifecycleWarnings(Z,Q),Q.state=Z.memoizedState,J=Y.getDerivedStateFromProps,typeof J==="function"&&(U3(Z,Y,J,G),Q.state=Z.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof Q.getSnapshotBeforeUpdate==="function"||typeof Q.UNSAFE_componentWillMount!=="function"&&typeof Q.componentWillMount!=="function"||(J=Q.state,typeof Q.componentWillMount==="function"&&Q.componentWillMount(),typeof Q.UNSAFE_componentWillMount==="function"&&Q.UNSAFE_componentWillMount(),J!==Q.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p(Z)||"Component"),Q$.enqueueReplaceState(Q,Q.state,null)),I8(Z,G,Q,$),N8(),Q.state=Z.memoizedState),typeof Q.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&G4)!==zX&&(Z.flags|=134217728),Q=!0}else if(X===null){Q=Z.stateNode;var P=Z.memoizedProps;B=C6(Y,P),Q.props=B;var O=Q.context;z=Y.contextType,J=x5,typeof z==="object"&&z!==null&&(J=HZ(z)),U=Y.getDerivedStateFromProps,z=typeof U==="function"||typeof Q.getSnapshotBeforeUpdate==="function",P=Z.pendingProps!==P,z||typeof Q.UNSAFE_componentWillReceiveProps!=="function"&&typeof Q.componentWillReceiveProps!=="function"||(P||O!==J)&&VJ(Z,Q,G,J),a5=!1;var F=Z.memoizedState;Q.state=F,I8(Z,G,Q,$),N8(),O=Z.memoizedState,P||F!==O||a5?(typeof U==="function"&&(U3(Z,Y,U,G),O=Z.memoizedState),(B=a5||bJ(Z,Y,B,G,F,O,J))?(z||typeof Q.UNSAFE_componentWillMount!=="function"&&typeof Q.componentWillMount!=="function"||(typeof Q.componentWillMount==="function"&&Q.componentWillMount(),typeof Q.UNSAFE_componentWillMount==="function"&&Q.UNSAFE_componentWillMount()),typeof Q.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&G4)!==zX&&(Z.flags|=134217728)):(typeof Q.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&G4)!==zX&&(Z.flags|=134217728),Z.memoizedProps=G,Z.memoizedState=O),Q.props=G,Q.state=O,Q.context=J,Q=B):(typeof Q.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&G4)!==zX&&(Z.flags|=134217728),Q=!1)}else{Q=Z.stateNode,V1(X,Z),J=Z.memoizedProps,z=C6(Y,J),Q.props=z,U=Z.pendingProps,F=Q.context,O=Y.contextType,B=x5,typeof O==="object"&&O!==null&&(B=HZ(O)),P=Y.getDerivedStateFromProps,(O=typeof P==="function"||typeof Q.getSnapshotBeforeUpdate==="function")||typeof Q.UNSAFE_componentWillReceiveProps!=="function"&&typeof Q.componentWillReceiveProps!=="function"||(J!==U||F!==B)&&VJ(Z,Q,G,B),a5=!1,F=Z.memoizedState,Q.state=F,I8(Z,G,Q,$),N8();var g=Z.memoizedState;J!==U||F!==g||a5||X!==null&&X.dependencies!==null&&e9(X.dependencies)?(typeof P==="function"&&(U3(Z,Y,P,G),g=Z.memoizedState),(z=a5||bJ(Z,Y,z,G,F,g,B)||X!==null&&X.dependencies!==null&&e9(X.dependencies))?(O||typeof Q.UNSAFE_componentWillUpdate!=="function"&&typeof Q.componentWillUpdate!=="function"||(typeof Q.componentWillUpdate==="function"&&Q.componentWillUpdate(G,g,B),typeof Q.UNSAFE_componentWillUpdate==="function"&&Q.UNSAFE_componentWillUpdate(G,g,B)),typeof Q.componentDidUpdate==="function"&&(Z.flags|=4),typeof Q.getSnapshotBeforeUpdate==="function"&&(Z.flags|=1024)):(typeof Q.componentDidUpdate!=="function"||J===X.memoizedProps&&F===X.memoizedState||(Z.flags|=4),typeof Q.getSnapshotBeforeUpdate!=="function"||J===X.memoizedProps&&F===X.memoizedState||(Z.flags|=1024),Z.memoizedProps=G,Z.memoizedState=g),Q.props=G,Q.state=g,Q.context=B,Q=z):(typeof Q.componentDidUpdate!=="function"||J===X.memoizedProps&&F===X.memoizedState||(Z.flags|=4),typeof Q.getSnapshotBeforeUpdate!=="function"||J===X.memoizedProps&&F===X.memoizedState||(Z.flags|=1024),Q=!1)}if(B=Q,T0(X,Z),J=(Z.flags&128)!==0,B||J){if(B=Z.stateNode,R5(Z),J&&typeof Y.getDerivedStateFromError!=="function")Y=null,Z2=-1;else if(Y=iH(B),Z.mode&nZ){oX(!0);try{iH(B)}finally{oX(!1)}}Z.flags|=1,X!==null&&J?(Z.child=m6(Z,X.child,null,$),Z.child=m6(Z,null,Y,$)):xZ(X,Z,Y,$),Z.memoizedState=B.state,X=Z.child}else X=r4(X,Z,$);return $=Z.stateNode,Q&&$.props!==G&&(a7||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",p(Z)||"a component"),a7=!0),X}function nJ(X,Z,Y,G){return F6(),Z.flags|=256,xZ(X,Z,Y,G),Z.child}function R3(X,Z){Z&&Z.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,Z.displayName||Z.name||"Component"),typeof Z.getDerivedStateFromProps==="function"&&(X=qX(Z)||"Unknown",bW[X]||(console.error("%s: Function components do not support getDerivedStateFromProps.",X),bW[X]=!0)),typeof Z.contextType==="object"&&Z.contextType!==null&&(Z=qX(Z)||"Unknown",yW[Z]||(console.error("%s: Function components do not support contextType.",Z),yW[Z]=!0))}function _3(X){return{baseLanes:X,cachePool:cQ()}}function F3(X,Z,Y){return X=X!==null?X.childLanes&~Y:0,Z&&(X|=q2),X}function oJ(X,Z,Y){var G,$=Z.pendingProps;T(Z)&&(Z.flags|=128);var Q=!1,J=(Z.flags&128)!==0;if((G=J)||(G=X!==null&&X.memoizedState===null?!1:(NZ.current&L9)!==0),G&&(Q=!0,Z.flags&=-129),G=(Z.flags&32)!==0,Z.flags&=-33,X===null){if(SX){if(Q?w5(Z):S5(Z),(X=QZ)?(Y=Lz(X,p2),Y=Y!==null&&Y.data!==c6?Y:null,Y!==null&&(G={dehydrated:Y,treeContext:DQ(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=G,G=VQ(Y),G.return=Z,Z.child=G,dZ=Z,QZ=null)):Y=null,Y===null)throw s9(Z,X),I5(Z);return s3(Y)?Z.lanes=32:Z.lanes=536870912,null}var B=$.children;if($=$.fallback,Q){S5(Z);var z=Z.mode;return B=w0({mode:"hidden",children:B},z),$=R6($,z,Y,null),B.return=Z,$.return=Z,B.sibling=$,Z.child=B,$=Z.child,$.memoizedState=_3(Y),$.childLanes=F3(X,G,Y),Z.memoizedState=z$,T8(null,$)}return w5(Z),A3(Z,B)}var U=X.memoizedState;if(U!==null){var P=U.dehydrated;if(P!==null){if(J)Z.flags&256?(w5(Z),Z.flags&=-257,Z=N3(X,Z,Y)):Z.memoizedState!==null?(S5(Z),Z.child=X.child,Z.flags|=128,Z=null):(S5(Z),B=$.fallback,z=Z.mode,$=w0({mode:"visible",children:$.children},z),B=R6(B,z,Y,null),B.flags|=2,$.return=Z,B.return=Z,$.sibling=B,Z.child=$,m6(Z,X.child,null,Y),$=Z.child,$.memoizedState=_3(Y),$.childLanes=F3(X,G,Y),Z.memoizedState=z$,Z=T8(null,$));else if(w5(Z),EQ(),(Y&536870912)!==0&&y0(Z),s3(P)){if(G=P.nextSibling&&P.nextSibling.dataset,G){B=G.dgst;var O=G.msg;z=G.stck;var F=G.cstck}Q=O,G=B,$=z,P=F,B=Q,z=P,B=B?Error(B):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),B.stack=$||"",B.digest=G,G=z===void 0?null:z,$={value:B,source:null,stack:G},typeof G==="string"&&uG.set(B,$),K8($),Z=N3(X,Z,Y)}else if(wZ||Q7(X,Z,Y,!1),G=(Y&X.childLanes)!==0,wZ||G){if(G=XZ,G!==null&&($=W6(G,Y),$!==0&&$!==U.retryLane))throw U.retryLane=$,cZ(X,$),LZ(G,X,$),B$;r3(P)||f0(),Z=N3(X,Z,Y)}else r3(P)?(Z.flags|=192,Z.child=X.child,Z=null):(X=U.treeContext,QZ=T2(P.nextSibling),dZ=Z,SX=!0,h5=null,j4=!1,k2=null,p2=!1,X!==null&&mQ(Z,X),Z=A3(Z,$.children),Z.flags|=4096);return Z}}if(Q)return S5(Z),B=$.fallback,z=Z.mode,F=X.child,P=F.sibling,$=a4(F,{mode:"hidden",children:$.children}),$.subtreeFlags=F.subtreeFlags&65011712,P!==null?B=a4(P,B):(B=R6(B,z,Y,null),B.flags|=2),B.return=Z,$.return=Z,$.sibling=B,Z.child=$,T8(null,$),$=Z.child,B=X.child.memoizedState,B===null?B=_3(Y):(z=B.cachePool,z!==null?(F=OZ._currentValue,z=z.parent!==F?{parent:F,pool:F}:z):z=cQ(),B={baseLanes:B.baseLanes|Y,cachePool:z}),$.memoizedState=B,$.childLanes=F3(X,G,Y),Z.memoizedState=z$,T8(X.child,$);return U!==null&&(Y&62914560)===Y&&(Y&X.lanes)!==0&&y0(Z),w5(Z),Y=X.child,X=Y.sibling,Y=a4(Y,{mode:"visible",children:$.children}),Y.return=Z,Y.sibling=null,X!==null&&(G=Z.deletions,G===null?(Z.deletions=[X],Z.flags|=16):G.push(X)),Z.child=Y,Z.memoizedState=null,Y}function A3(X,Z){return Z=w0({mode:"visible",children:Z},X.mode),Z.return=X,X.child=Z}function w0(X,Z){return X=V(22,X,null,Z),X.lanes=0,X}function N3(X,Z,Y){return m6(Z,X.child,null,Y),X=A3(Z,Z.pendingProps.children),X.flags|=2,Z.memoizedState=null,X}function iJ(X,Z,Y){X.lanes|=Z;var G=X.alternate;G!==null&&(G.lanes|=Z),w1(X.return,Z,Y)}function I3(X,Z,Y,G,$,Q){var J=X.memoizedState;J===null?X.memoizedState={isBackwards:Z,rendering:null,renderingStartTime:0,last:G,tail:Y,tailMode:$,treeForkCount:Q}:(J.isBackwards=Z,J.rendering=null,J.renderingStartTime=0,J.last=G,J.tail=Y,J.tailMode=$,J.treeForkCount=Q)}function rJ(X,Z,Y){var G=Z.pendingProps,$=G.revealOrder,Q=G.tail,J=G.children,B=NZ.current;if((G=(B&L9)!==0)?(B=B&d7|L9,Z.flags|=128):B&=d7,NX(NZ,B,Z),B=$==null?"null":$,$!=="forwards"&&$!=="unstable_legacy-backwards"&&$!=="together"&&$!=="independent"&&!VW[B])if(VW[B]=!0,$==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if($==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof $==="string")switch($.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.',$,$.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.',$,$.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',$)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',$);if(B=Q==null?"null":Q,!CY[B])if(Q==null){if($==="forwards"||$==="backwards"||$==="unstable_legacy-backwards")CY[B]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else Q!=="visible"&&Q!=="collapsed"&&Q!=="hidden"?(CY[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',Q)):$!=="forwards"&&$!=="backwards"&&$!=="unstable_legacy-backwards"&&(CY[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',Q));X:if(($==="forwards"||$==="backwards"||$==="unstable_legacy-backwards")&&J!==void 0&&J!==null&&J!==!1)if(gZ(J)){for(B=0;B<J.length;B++)if(!ZJ(J[B],B))break X}else if(B=QX(J),typeof B==="function"){if(B=B.call(J))for(var z=B.next(),U=0;!z.done;z=B.next()){if(!ZJ(z.value,U))break X;U++}}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?',$);if(xZ(X,Z,J,Y),SX?(N5(),J=X9):J=0,!G&&X!==null&&(X.flags&128)!==0)X:for(X=Z.child;X!==null;){if(X.tag===13)X.memoizedState!==null&&iJ(X,Y,Z);else if(X.tag===19)iJ(X,Y,Z);else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break X;for(;X.sibling===null;){if(X.return===null||X.return===Z)break X;X=X.return}X.sibling.return=X.return,X=X.sibling}switch($){case"forwards":Y=Z.child;for($=null;Y!==null;)X=Y.alternate,X!==null&&W0(X)===null&&($=Y),Y=Y.sibling;Y=$,Y===null?($=Z.child,Z.child=null):($=Y.sibling,Y.sibling=null),I3(Z,!1,$,Y,Q,J);break;case"backwards":case"unstable_legacy-backwards":Y=null,$=Z.child;for(Z.child=null;$!==null;){if(X=$.alternate,X!==null&&W0(X)===null){Z.child=$;break}X=$.sibling,$.sibling=Y,Y=$,$=X}I3(Z,!0,Y,null,Q,J);break;case"together":I3(Z,!1,null,null,void 0,J);break;default:Z.memoizedState=null}return Z.child}function r4(X,Z,Y){if(X!==null&&(Z.dependencies=X.dependencies),Z2=-1,i5|=Z.lanes,(Y&Z.childLanes)===0)if(X!==null){if(Q7(X,Z,Y,!1),(Y&Z.childLanes)===0)return null}else return null;if(X!==null&&Z.child!==X.child)throw Error("Resuming work not yet implemented.");if(Z.child!==null){X=Z.child,Y=a4(X,X.pendingProps),Z.child=Y;for(Y.return=Z;X.sibling!==null;)X=X.sibling,Y=Y.sibling=a4(X,X.pendingProps),Y.return=Z;Y.sibling=null}return Z.child}function P3(X,Z){if((X.lanes&Z)!==0)return!0;return X=X.dependencies,X!==null&&e9(X)?!0:!1}function pq(X,Z,Y){switch(Z.tag){case 3:d(Z,Z.stateNode.containerInfo),P5(Z,OZ,X.memoizedState.cache),F6();break;case 27:case 5:jX(Z);break;case 4:d(Z,Z.stateNode.containerInfo);break;case 10:P5(Z,Z.type,Z.memoizedProps.value);break;case 12:(Y&Z.childLanes)!==0&&(Z.flags|=4),Z.flags|=2048;var G=Z.stateNode;G.effectDuration=-0,G.passiveEffectDuration=-0;break;case 31:if(Z.memoizedState!==null)return Z.flags|=128,m1(Z),null;break;case 13:if(G=Z.memoizedState,G!==null){if(G.dehydrated!==null)return w5(Z),Z.flags|=128,null;if((Y&Z.child.childLanes)!==0)return oJ(X,Z,Y);return w5(Z),X=r4(X,Z,Y),X!==null?X.sibling:null}w5(Z);break;case 19:var $=(X.flags&128)!==0;if(G=(Y&Z.childLanes)!==0,G||(Q7(X,Z,Y,!1),G=(Y&Z.childLanes)!==0),$){if(G)return rJ(X,Z,Y);Z.flags|=128}if($=Z.memoizedState,$!==null&&($.rendering=null,$.tail=null,$.lastEffect=null),NX(NZ,NZ.current,Z),G)break;else return null;case 22:return Z.lanes=0,dJ(X,Z,Y,Z.pendingProps);case 24:P5(Z,OZ,X.memoizedState.cache)}return r4(X,Z,Y)}function O3(X,Z,Y){if(Z._debugNeedsRemount&&X!==null){Y=A1(Z.type,Z.key,Z.pendingProps,Z._debugOwner||null,Z.mode,Z.lanes),Y._debugStack=Z._debugStack,Y._debugTask=Z._debugTask;var G=Z.return;if(G===null)throw Error("Cannot swap the root fiber.");if(X.alternate=null,Z.alternate=null,Y.index=Z.index,Y.sibling=Z.sibling,Y.return=Z.return,Y.ref=Z.ref,Y._debugInfo=Z._debugInfo,Z===G.child)G.child=Y;else{var $=G.child;if($===null)throw Error("Expected parent to have a child.");for(;$.sibling!==Z;)if($=$.sibling,$===null)throw Error("Expected to find the previous sibling.");$.sibling=Y}return Z=G.deletions,Z===null?(G.deletions=[X],G.flags|=16):Z.push(X),Y.flags|=2,Y}if(X!==null)if(X.memoizedProps!==Z.pendingProps||Z.type!==X.type)wZ=!0;else{if(!P3(X,Y)&&(Z.flags&128)===0)return wZ=!1,pq(X,Z,Y);wZ=(X.flags&131072)!==0?!0:!1}else{if(wZ=!1,G=SX)N5(),G=(Z.flags&1048576)!==0;G&&(G=Z.index,N5(),jQ(Z,X9,G))}switch(Z.lanes=0,Z.tag){case 16:X:if(G=Z.pendingProps,X=O5(Z.elementType),Z.type=X,typeof X==="function")F1(X)?(G=C6(X,G),Z.tag=1,Z.type=X=L6(X),Z=aJ(null,Z,X,G,Y)):(Z.tag=0,R3(Z,X),Z.type=X=L6(X),Z=L3(null,Z,X,G,Y));else{if(X!==void 0&&X!==null){if($=X.$$typeof,$===u8){Z.tag=11,Z.type=X=_1(X),Z=xJ(null,Z,X,G,Y);break X}else if($===a0){Z.tag=14,Z=hJ(null,Z,X,G,Y);break X}}throw Z="",X!==null&&typeof X==="object"&&X.$$typeof===w2&&(Z=" Did you wrap a component in React.lazy() more than once?"),Y=qX(X)||X,Error("Element type is invalid. Received a promise that resolves to: "+Y+". Lazy element type must resolve to a class or function."+Z)}return Z;case 0:return L3(X,Z,Z.type,Z.pendingProps,Y);case 1:return G=Z.type,$=C6(G,Z.pendingProps),aJ(X,Z,G,$,Y);case 3:X:{if(d(Z,Z.stateNode.containerInfo),X===null)throw Error("Should have a current fiber. This is a bug in React.");G=Z.pendingProps;var Q=Z.memoizedState;$=Q.element,V1(X,Z),I8(Z,G,null,Y);var J=Z.memoizedState;if(G=J.cache,P5(Z,OZ,G),G!==Q.cache&&S1(Z,[OZ],Y,!0),N8(),G=J.element,Q.isDehydrated)if(Q={element:G,isDehydrated:!1,cache:J.cache},Z.updateQueue.baseState=Q,Z.memoizedState=Q,Z.flags&256){Z=nJ(X,Z,G,Y);break X}else if(G!==$){$=N2(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Z),K8($),Z=nJ(X,Z,G,Y);break X}else{switch(X=Z.stateNode.containerInfo,X.nodeType){case 9:X=X.body;break;default:X=X.nodeName==="HTML"?X.ownerDocument.body:X}QZ=T2(X.firstChild),dZ=Z,SX=!0,h5=null,j4=!1,k2=null,p2=!0,Y=HW(Z,null,G,Y);for(Z.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(F6(),G===$){Z=r4(X,Z,Y);break X}xZ(X,Z,G,Y)}Z=Z.child}return Z;case 26:return T0(X,Z),X===null?(Y=Iz(Z.type,null,Z.pendingProps,null))?Z.memoizedState=Y:SX||(Y=Z.type,X=Z.pendingProps,G=PZ(b5.current),G=D0(G).createElement(Y),G[uZ]=Z,G[tZ]=X,hZ(G,Y,X),ZX(G),Z.stateNode=G):Z.memoizedState=Iz(Z.type,X.memoizedProps,Z.pendingProps,X.memoizedState),null;case 27:return jX(Z),X===null&&SX&&(G=PZ(b5.current),$=GX(),G=Z.stateNode=Az(Z.type,Z.pendingProps,G,$,!1),j4||($=Bz(G,Z.type,Z.pendingProps,$),$!==null&&(_6(Z,0).serverProps=$)),dZ=Z,p2=!0,$=QZ,y5(Z.type)?(y$=$,QZ=T2(G.firstChild)):QZ=$),xZ(X,Z,Z.pendingProps.children,Y),T0(X,Z),X===null&&(Z.flags|=4194304),Z.child;case 5:return X===null&&SX&&(Q=GX(),G=H1(Z.type,Q.ancestorInfo),$=QZ,(J=!$)||(J=fM($,Z.type,Z.pendingProps,p2),J!==null?(Z.stateNode=J,j4||(Q=Bz(J,Z.type,Z.pendingProps,Q),Q!==null&&(_6(Z,0).serverProps=Q)),dZ=Z,QZ=T2(J.firstChild),p2=!1,Q=!0):Q=!1,J=!Q),J&&(G&&s9(Z,$),I5(Z))),jX(Z),$=Z.type,Q=Z.pendingProps,J=X!==null?X.memoizedProps:null,G=Q.children,o3($,Q)?G=null:J!==null&&o3($,J)&&(Z.flags|=32),Z.memoizedState!==null&&($=x1(X,Z,Dq,null,null,Y),b9._currentValue=$),T0(X,Z),xZ(X,Z,G,Y),Z.child;case 6:return X===null&&SX&&(Y=Z.pendingProps,X=GX(),G=X.ancestorInfo.current,Y=G!=null?u9(Y,G.tag,X.ancestorInfo.implicitRootScope):!0,X=QZ,(G=!X)||(G=bM(X,Z.pendingProps,p2),G!==null?(Z.stateNode=G,dZ=Z,QZ=null,G=!0):G=!1,G=!G),G&&(Y&&s9(Z,X),I5(Z))),null;case 13:return oJ(X,Z,Y);case 4:return d(Z,Z.stateNode.containerInfo),G=Z.pendingProps,X===null?Z.child=m6(Z,null,G,Y):xZ(X,Z,G,Y),Z.child;case 11:return xJ(X,Z,Z.type,Z.pendingProps,Y);case 7:return xZ(X,Z,Z.pendingProps,Y),Z.child;case 8:return xZ(X,Z,Z.pendingProps.children,Y),Z.child;case 12:return Z.flags|=4,Z.flags|=2048,G=Z.stateNode,G.effectDuration=-0,G.passiveEffectDuration=-0,xZ(X,Z,Z.pendingProps.children,Y),Z.child;case 10:return G=Z.type,$=Z.pendingProps,Q=$.value,"value"in $||jW||(jW=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),P5(Z,G,Q),xZ(X,Z,$.children,Y),Z.child;case 9:return $=Z.type._context,G=Z.pendingProps.children,typeof G!=="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."),A6(Z),$=HZ($),G=iG(G,$,void 0),Z.flags|=1,xZ(X,Z,G,Y),Z.child;case 14:return hJ(X,Z,Z.type,Z.pendingProps,Y);case 15:return uJ(X,Z,Z.type,Z.pendingProps,Y);case 19:return rJ(X,Z,Y);case 31:return lq(X,Z,Y);case 22:return dJ(X,Z,Y,Z.pendingProps);case 24:return A6(Z),G=HZ(OZ),X===null?($=y1(),$===null&&($=XZ,Q=v1(),$.pooledCache=Q,N6(Q),Q!==null&&($.pooledCacheLanes|=Y),$=Q),Z.memoizedState={parent:G,cache:$},b1(Z),P5(Z,OZ,$)):((X.lanes&Y)!==0&&(V1(X,Z),I8(Z,null,null,Y),N8()),$=X.memoizedState,Q=Z.memoizedState,$.parent!==G?($={parent:G,cache:G},Z.memoizedState=$,Z.lanes===0&&(Z.memoizedState=Z.updateQueue.baseState=$),P5(Z,OZ,G)):(G=Q.cache,P5(Z,OZ,G),G!==$.cache&&S1(Z,[OZ],Y,!0))),xZ(X,Z,Z.pendingProps.children,Y),Z.child;case 29:throw Z.pendingProps}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function s4(X){X.flags|=4}function C3(X,Z,Y,G,$){if(Z=(X.mode&WL)!==zX)Z=!1;if(Z){if(X.flags|=16777216,($&335544128)===$)if(X.stateNode.complete)X.flags|=8192;else if(kB())X.flags|=8192;else throw D6=FY,sG}else X.flags&=-16777217}function sJ(X,Z){if(Z.type!=="stylesheet"||(Z.state.loading&i2)!==o6)X.flags&=-16777217;else if(X.flags|=16777216,!wz(Z))if(kB())X.flags|=8192;else throw D6=FY,sG}function S0(X,Z){Z!==null&&(X.flags|=4),X.flags&16384&&(Z=X.tag!==22?j():536870912,X.lanes|=Z,d6|=Z)}function w8(X,Z){if(!SX)switch(X.tailMode){case"hidden":Z=X.tail;for(var Y=null;Z!==null;)Z.alternate!==null&&(Y=Z),Z=Z.sibling;Y===null?X.tail=null:Y.sibling=null;break;case"collapsed":Y=X.tail;for(var G=null;Y!==null;)Y.alternate!==null&&(G=Y),Y=Y.sibling;G===null?Z||X.tail===null?X.tail=null:X.tail.sibling=null:G.sibling=null}}function YZ(X){var Z=X.alternate!==null&&X.alternate.child===X.child,Y=0,G=0;if(Z)if((X.mode&_X)!==zX){for(var{selfBaseDuration:$,child:Q}=X;Q!==null;)Y|=Q.lanes|Q.childLanes,G|=Q.subtreeFlags&65011712,G|=Q.flags&65011712,$+=Q.treeBaseDuration,Q=Q.sibling;X.treeBaseDuration=$}else for($=X.child;$!==null;)Y|=$.lanes|$.childLanes,G|=$.subtreeFlags&65011712,G|=$.flags&65011712,$.return=X,$=$.sibling;else if((X.mode&_X)!==zX){$=X.actualDuration,Q=X.selfBaseDuration;for(var J=X.child;J!==null;)Y|=J.lanes|J.childLanes,G|=J.subtreeFlags,G|=J.flags,$+=J.actualDuration,Q+=J.treeBaseDuration,J=J.sibling;X.actualDuration=$,X.treeBaseDuration=Q}else for($=X.child;$!==null;)Y|=$.lanes|$.childLanes,G|=$.subtreeFlags,G|=$.flags,$.return=X,$=$.sibling;return X.subtreeFlags|=G,X.childLanes=Y,Z}function cq(X,Z,Y){var G=Z.pendingProps;switch(O1(Z),Z.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return YZ(Z),null;case 1:return YZ(Z),null;case 3:if(Y=Z.stateNode,G=null,X!==null&&(G=X.memoizedState.cache),Z.memoizedState.cache!==G&&(Z.flags|=2048),o4(OZ,Z),JX(Z),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),X===null||X.child===null)$7(Z)?(T1(),s4(Z)):X===null||X.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,C1());return YZ(Z),null;case 26:var{type:$,memoizedState:Q}=Z;return X===null?(s4(Z),Q!==null?(YZ(Z),sJ(Z,Q)):(YZ(Z),C3(Z,$,null,G,Y))):Q?Q!==X.memoizedState?(s4(Z),YZ(Z),sJ(Z,Q)):(YZ(Z),Z.flags&=-16777217):(X=X.memoizedProps,X!==G&&s4(Z),YZ(Z),C3(Z,$,X,G,Y)),null;case 27:if(EX(Z),Y=PZ(b5.current),$=Z.type,X!==null&&Z.stateNode!=null)X.memoizedProps!==G&&s4(Z);else{if(!G){if(Z.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 YZ(Z),null}X=GX(),$7(Z)?xQ(Z,X):(X=Az($,G,Y,X,!0),Z.stateNode=X,s4(Z))}return YZ(Z),null;case 5:if(EX(Z),$=Z.type,X!==null&&Z.stateNode!=null)X.memoizedProps!==G&&s4(Z);else{if(!G){if(Z.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 YZ(Z),null}var J=GX();if($7(Z))xQ(Z,J);else{switch(Q=PZ(b5.current),H1($,J.ancestorInfo),J=J.context,Q=D0(Q),J){case X8:Q=Q.createElementNS(C7,$);break;case pY:Q=Q.createElementNS(e0,$);break;default:switch($){case"svg":Q=Q.createElementNS(C7,$);break;case"math":Q=Q.createElementNS(e0,$);break;case"script":Q=Q.createElement("div"),Q.innerHTML="<script></script>",Q=Q.removeChild(Q.firstChild);break;case"select":Q=typeof G.is==="string"?Q.createElement("select",{is:G.is}):Q.createElement("select"),G.multiple?Q.multiple=!0:G.size&&(Q.size=G.size);break;default:Q=typeof G.is==="string"?Q.createElement($,{is:G.is}):Q.createElement($),$.indexOf("-")===-1&&($!==$.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",$),Object.prototype.toString.call(Q)!=="[object HTMLUnknownElement]"||Z4.call(QU,$)||(QU[$]=!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.",$)))}}Q[uZ]=Z,Q[tZ]=G;X:for(J=Z.child;J!==null;){if(J.tag===5||J.tag===6)Q.appendChild(J.stateNode);else if(J.tag!==4&&J.tag!==27&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===Z)break X;for(;J.sibling===null;){if(J.return===null||J.return===Z)break X;J=J.return}J.sibling.return=J.return,J=J.sibling}Z.stateNode=Q;X:switch(hZ(Q,$,G),$){case"button":case"input":case"select":case"textarea":G=!!G.autoFocus;break X;case"img":G=!0;break X;default:G=!1}G&&s4(Z)}}return YZ(Z),C3(Z,Z.type,X===null?null:X.memoizedProps,Z.pendingProps,Y),null;case 6:if(X&&Z.stateNode!=null)X.memoizedProps!==G&&s4(Z);else{if(typeof G!=="string"&&Z.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(X=PZ(b5.current),Y=GX(),$7(Z)){if(X=Z.stateNode,Y=Z.memoizedProps,$=!j4,G=null,Q=dZ,Q!==null)switch(Q.tag){case 3:$&&($=_z(X,Y,G),$!==null&&(_6(Z,0).serverProps=$));break;case 27:case 5:G=Q.memoizedProps,$&&($=_z(X,Y,G),$!==null&&(_6(Z,0).serverProps=$))}X[uZ]=Z,X=X.nodeValue===Y||G!==null&&G.suppressHydrationWarning===!0||Yz(X.nodeValue,Y)?!0:!1,X||I5(Z,!0)}else $=Y.ancestorInfo.current,$!=null&&u9(G,$.tag,Y.ancestorInfo.implicitRootScope),X=D0(X).createTextNode(G),X[uZ]=Z,Z.stateNode=X}return YZ(Z),null;case 31:if(Y=Z.memoizedState,X===null||X.memoizedState!==null){if(G=$7(Z),Y!==null){if(X===null){if(!G)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(X=Z.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");X[uZ]=Z,YZ(Z),(Z.mode&_X)!==zX&&Y!==null&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration))}else T1(),F6(),(Z.flags&128)===0&&(Y=Z.memoizedState=null),Z.flags|=4,YZ(Z),(Z.mode&_X)!==zX&&Y!==null&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration));X=!1}else Y=C1(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=Y),X=!0;if(!X){if(Z.flags&256)return O2(Z),Z;return O2(Z),null}if((Z.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return YZ(Z),null;case 13:if(G=Z.memoizedState,X===null||X.memoizedState!==null&&X.memoizedState.dehydrated!==null){if($=G,Q=$7(Z),$!==null&&$.dehydrated!==null){if(X===null){if(!Q)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Q=Z.memoizedState,Q=Q!==null?Q.dehydrated:null,!Q)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Q[uZ]=Z,YZ(Z),(Z.mode&_X)!==zX&&$!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration))}else T1(),F6(),(Z.flags&128)===0&&($=Z.memoizedState=null),Z.flags|=4,YZ(Z),(Z.mode&_X)!==zX&&$!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration));$=!1}else $=C1(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=$),$=!0;if(!$){if(Z.flags&256)return O2(Z),Z;return O2(Z),null}}if(O2(Z),(Z.flags&128)!==0)return Z.lanes=Y,(Z.mode&_X)!==zX&&_8(Z),Z;return Y=G!==null,X=X!==null&&X.memoizedState!==null,Y&&(G=Z.child,$=null,G.alternate!==null&&G.alternate.memoizedState!==null&&G.alternate.memoizedState.cachePool!==null&&($=G.alternate.memoizedState.cachePool.pool),Q=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(Q=G.memoizedState.cachePool.pool),Q!==$&&(G.flags|=2048)),Y!==X&&Y&&(Z.child.flags|=8192),S0(Z,Z.updateQueue),YZ(Z),(Z.mode&_X)!==zX&&Y&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration)),null;case 4:return JX(Z),X===null&&u3(Z.stateNode.containerInfo),YZ(Z),null;case 10:return o4(Z.type,Z),YZ(Z),null;case 19:if(vX(NZ,Z),G=Z.memoizedState,G===null)return YZ(Z),null;if($=(Z.flags&128)!==0,Q=G.rendering,Q===null)if($)w8(G,!1);else{if(MZ!==q5||X!==null&&(X.flags&128)!==0)for(X=Z.child;X!==null;){if(Q=W0(X),Q!==null){Z.flags|=128,w8(G,!1),X=Q.updateQueue,Z.updateQueue=X,S0(Z,X),Z.subtreeFlags=0,X=Y;for(Y=Z.child;Y!==null;)bQ(Y,X),Y=Y.sibling;return NX(NZ,NZ.current&d7|L9,Z),SX&&n4(Z,G.treeForkCount),Z.child}X=X.sibling}G.tail!==null&&VZ()>yY&&(Z.flags|=128,$=!0,w8(G,!1),Z.lanes=4194304)}else{if(!$)if(X=W0(Q),X!==null){if(Z.flags|=128,$=!0,X=X.updateQueue,Z.updateQueue=X,S0(Z,X),w8(G,!0),G.tail===null&&G.tailMode==="hidden"&&!Q.alternate&&!SX)return YZ(Z),null}else 2*VZ()-G.renderingStartTime>yY&&Y!==536870912&&(Z.flags|=128,$=!0,w8(G,!1),Z.lanes=4194304);G.isBackwards?(Q.sibling=Z.child,Z.child=Q):(X=G.last,X!==null?X.sibling=Q:Z.child=Q,G.last=Q)}if(G.tail!==null)return X=G.tail,G.rendering=X,G.tail=X.sibling,G.renderingStartTime=VZ(),X.sibling=null,Y=NZ.current,Y=$?Y&d7|L9:Y&d7,NX(NZ,Y,Z),SX&&n4(Z,G.treeForkCount),X;return YZ(Z),null;case 22:case 23:return O2(Z),D1(Z),G=Z.memoizedState!==null,X!==null?X.memoizedState!==null!==G&&(Z.flags|=8192):G&&(Z.flags|=8192),G?(Y&536870912)!==0&&(Z.flags&128)===0&&(YZ(Z),Z.subtreeFlags&6&&(Z.flags|=8192)):YZ(Z),Y=Z.updateQueue,Y!==null&&S0(Z,Y.retryQueue),Y=null,X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Y=X.memoizedState.cachePool.pool),G=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(G=Z.memoizedState.cachePool.pool),G!==Y&&(Z.flags|=2048),X!==null&&vX(V6,Z),null;case 24:return Y=null,X!==null&&(Y=X.memoizedState.cache),Z.memoizedState.cache!==Y&&(Z.flags|=2048),o4(OZ,Z),YZ(Z),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function aq(X,Z){switch(O1(Z),Z.tag){case 1:return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&_X)!==zX&&_8(Z),Z):null;case 3:return o4(OZ,Z),JX(Z),X=Z.flags,(X&65536)!==0&&(X&128)===0?(Z.flags=X&-65537|128,Z):null;case 26:case 27:case 5:return EX(Z),null;case 31:if(Z.memoizedState!==null){if(O2(Z),Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");F6()}return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&_X)!==zX&&_8(Z),Z):null;case 13:if(O2(Z),X=Z.memoizedState,X!==null&&X.dehydrated!==null){if(Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");F6()}return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&_X)!==zX&&_8(Z),Z):null;case 19:return vX(NZ,Z),null;case 4:return JX(Z),null;case 10:return o4(Z.type,Z),null;case 22:case 23:return O2(Z),D1(Z),X!==null&&vX(V6,Z),X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&_X)!==zX&&_8(Z),Z):null;case 24:return o4(OZ,Z),null;case 25:return null;default:return null}}function tJ(X,Z){switch(O1(Z),Z.tag){case 3:o4(OZ,Z),JX(Z);break;case 26:case 27:case 5:EX(Z);break;case 4:JX(Z);break;case 31:Z.memoizedState!==null&&O2(Z);break;case 13:O2(Z);break;case 19:vX(NZ,Z);break;case 10:o4(Z.type,Z);break;case 22:case 23:O2(Z),D1(Z),X!==null&&vX(V6,Z);break;case 24:o4(OZ,Z)}}function P4(X){return(X.mode&_X)!==zX}function eJ(X,Z){P4(X)?(I4(),S8(Z,X),N4()):S8(Z,X)}function T3(X,Z,Y){P4(X)?(I4(),W7(Y,X,Z),N4()):W7(Y,X,Z)}function S8(X,Z){try{var Y=Z.updateQueue,G=Y!==null?Y.lastEffect:null;if(G!==null){var $=G.next;Y=$;do{if((Y.tag&X)===X&&(G=void 0,(X&Y2)!==NY&&(s7=!0),G=i(Z,LL,Y),(X&Y2)!==NY&&(s7=!1),G!==void 0&&typeof G!=="function")){var Q=void 0;Q=(Y.tag&y2)!==0?"useLayoutEffect":(Y.tag&Y2)!==0?"useInsertionEffect":"useEffect";var J=void 0;J=G===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof G.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+Q+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+Q+`(() => {
|
|
145
|
+
async function fetchData() {
|
|
146
|
+
// You can await here
|
|
147
|
+
const response = await MyAPI.getData(someId);
|
|
148
|
+
// ...
|
|
149
|
+
}
|
|
150
|
+
fetchData();
|
|
151
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
+
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+G,i(Z,function(B,z){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,z)},Q,J)}Y=Y.next}while(Y!==$)}}catch(B){pX(Z,Z.return,B)}}function W7(X,Z,Y){try{var G=Z.updateQueue,$=G!==null?G.lastEffect:null;if($!==null){var Q=$.next;G=Q;do{if((G.tag&X)===X){var J=G.inst,B=J.destroy;B!==void 0&&(J.destroy=void 0,(X&Y2)!==NY&&(s7=!0),$=Z,i($,RL,$,Y,B),(X&Y2)!==NY&&(s7=!1))}G=G.next}while(G!==Q)}}catch(z){pX(Z,Z.return,z)}}function XB(X,Z){P4(X)?(I4(),S8(Z,X),N4()):S8(Z,X)}function w3(X,Z,Y){P4(X)?(I4(),W7(Y,X,Z),N4()):W7(Y,X,Z)}function ZB(X){var Z=X.updateQueue;if(Z!==null){var Y=X.stateNode;X.type.defaultProps||"ref"in X.memoizedProps||a7||(Y.props!==X.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(X)||"instance"),Y.state!==X.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(X)||"instance"));try{i(X,GJ,Z,Y)}catch(G){pX(X,X.return,G)}}}function nq(X,Z,Y){return X.getSnapshotBeforeUpdate(Z,Y)}function oq(X,Z){var{memoizedProps:Y,memoizedState:G}=Z;Z=X.stateNode,X.type.defaultProps||"ref"in X.memoizedProps||a7||(Z.props!==X.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(X)||"instance"),Z.state!==X.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(X)||"instance"));try{var $=C6(X.type,Y),Q=i(X,nq,Z,$,G);Y=DW,Q!==void 0||Y.has(X.type)||(Y.add(X.type),i(X,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",p(X))})),Z.__reactInternalSnapshotBeforeUpdate=Q}catch(J){pX(X,X.return,J)}}function YB(X,Z,Y){Y.props=C6(X.type,X.memoizedProps),Y.state=X.memoizedState,P4(X)?(I4(),i(X,ZW,X,Z,Y),N4()):i(X,ZW,X,Z,Y)}function iq(X){var Z=X.ref;if(Z!==null){switch(X.tag){case 26:case 27:case 5:var Y=X.stateNode;break;case 30:Y=X.stateNode;break;default:Y=X.stateNode}if(typeof Z==="function")if(P4(X))try{I4(),X.refCleanup=Z(Y)}finally{N4()}else X.refCleanup=Z(Y);else typeof Z==="string"?console.error("String refs are no longer supported."):Z.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",p(X)),Z.current=Y}}function v8(X,Z){try{i(X,iq,X)}catch(Y){pX(X,Z,Y)}}function O4(X,Z){var{ref:Y,refCleanup:G}=X;if(Y!==null)if(typeof G==="function")try{if(P4(X))try{I4(),i(X,G)}finally{N4(X)}else i(X,G)}catch($){pX(X,Z,$)}finally{X.refCleanup=null,X=X.alternate,X!=null&&(X.refCleanup=null)}else if(typeof Y==="function")try{if(P4(X))try{I4(),i(X,Y,null)}finally{N4(X)}else i(X,Y,null)}catch($){pX(X,Z,$)}else Y.current=null}function GB(X,Z,Y,G){var $=X.memoizedProps,Q=$.id,J=$.onCommit;$=$.onRender,Z=Z===null?"mount":"update",KY&&(Z="nested-update"),typeof $==="function"&&$(Q,Z,X.actualDuration,X.treeBaseDuration,X.actualStartTime,Y),typeof J==="function"&&J(Q,Z,G,Y)}function rq(X,Z,Y,G){var $=X.memoizedProps;X=$.id,$=$.onPostCommit,Z=Z===null?"mount":"update",KY&&(Z="nested-update"),typeof $==="function"&&$(X,Z,G,Y)}function $B(X){var{type:Z,memoizedProps:Y,stateNode:G}=X;try{i(X,NM,G,Z,Y,X)}catch($){pX(X,X.return,$)}}function S3(X,Z,Y){try{i(X,PM,X.stateNode,X.type,Y,Z,X)}catch(G){pX(X,X.return,G)}}function QB(X){return X.tag===5||X.tag===3||X.tag===26||X.tag===27&&y5(X.type)||X.tag===4}function v3(X){X:for(;;){for(;X.sibling===null;){if(X.return===null||QB(X.return))return null;X=X.return}X.sibling.return=X.return;for(X=X.sibling;X.tag!==5&&X.tag!==6&&X.tag!==18;){if(X.tag===27&&y5(X.type))continue X;if(X.flags&2)continue X;if(X.child===null||X.tag===4)continue X;else X.child.return=X,X=X.child}if(!(X.flags&2))return X.stateNode}}function k3(X,Z,Y){var G=X.tag;if(G===5||G===6)X=X.stateNode,Z?(qz(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(X,Z)):(qz(Y),Z=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,Z.appendChild(X),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||Z.onclick!==null||(Z.onclick=c4));else if(G!==4&&(G===27&&y5(X.type)&&(Y=X.stateNode,Z=null),X=X.child,X!==null))for(k3(X,Z,Y),X=X.sibling;X!==null;)k3(X,Z,Y),X=X.sibling}function v0(X,Z,Y){var G=X.tag;if(G===5||G===6)X=X.stateNode,Z?Y.insertBefore(X,Z):Y.appendChild(X);else if(G!==4&&(G===27&&y5(X.type)&&(Y=X.stateNode),X=X.child,X!==null))for(v0(X,Z,Y),X=X.sibling;X!==null;)v0(X,Z,Y),X=X.sibling}function sq(X){for(var Z,Y=X.return;Y!==null;){if(QB(Y)){Z=Y;break}Y=Y.return}if(Z==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Z.tag){case 27:Z=Z.stateNode,Y=v3(X),v0(X,Y,Z);break;case 5:Y=Z.stateNode,Z.flags&32&&(Uz(Y),Z.flags&=-33),Z=v3(X),v0(X,Z,Y);break;case 3:case 4:Z=Z.stateNode.containerInfo,Y=v3(X),k3(X,Y,Z);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function JB(X){var{stateNode:Z,memoizedProps:Y}=X;try{i(X,EM,X.type,Y,Z,X)}catch(G){pX(X,X.return,G)}}function BB(X,Z){return Z.tag===31?(Z=Z.memoizedState,X.memoizedState!==null&&Z===null):Z.tag===13?(X=X.memoizedState,Z=Z.memoizedState,X!==null&&X.dehydrated!==null&&(Z===null||Z.dehydrated===null)):Z.tag===3?X.memoizedState.isDehydrated&&(Z.flags&256)===0:!1}function tq(X,Z){if(X=X.containerInfo,v$=oY,X=OQ(X),q1(X)){if("selectionStart"in X)var Y={start:X.selectionStart,end:X.selectionEnd};else X:{Y=(Y=X.ownerDocument)&&Y.defaultView||window;var G=Y.getSelection&&Y.getSelection();if(G&&G.rangeCount!==0){Y=G.anchorNode;var{anchorOffset:$,focusNode:Q}=G;G=G.focusOffset;try{Y.nodeType,Q.nodeType}catch(u){Y=null;break X}var J=0,B=-1,z=-1,U=0,P=0,O=X,F=null;Z:for(;;){for(var g;;){if(O!==Y||$!==0&&O.nodeType!==3||(B=J+$),O!==Q||G!==0&&O.nodeType!==3||(z=J+G),O.nodeType===3&&(J+=O.nodeValue.length),(g=O.firstChild)===null)break;F=O,O=g}for(;;){if(O===X)break Z;if(F===Y&&++U===$&&(B=J),F===Q&&++P===G&&(z=J),(g=O.nextSibling)!==null)break;O=F,F=O.parentNode}O=g}Y=B===-1||z===-1?null:{start:B,end:z}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;k$={focusedElem:X,selectionRange:Y},oY=!1;for(DZ=Z;DZ!==null;)if(Z=DZ,X=Z.child,(Z.subtreeFlags&1028)!==0&&X!==null)X.return=Z,DZ=X;else for(;DZ!==null;){switch(X=Z=DZ,Y=X.alternate,$=X.flags,X.tag){case 0:if(($&4)!==0&&(X=X.updateQueue,X=X!==null?X.events:null,X!==null))for(Y=0;Y<X.length;Y++)$=X[Y],$.ref.impl=$.nextImpl;break;case 11:case 15:break;case 1:($&1024)!==0&&Y!==null&&oq(X,Y);break;case 3:if(($&1024)!==0){if(X=X.stateNode.containerInfo,Y=X.nodeType,Y===9)i3(X);else if(Y===1)switch(X.nodeName){case"HEAD":case"HTML":case"BODY":i3(X);break;default:X.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(($&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(X=Z.sibling,X!==null){X.return=Z.return,DZ=X;break}DZ=Z.return}}function zB(X,Z,Y){var G=I2(),$=R4(),Q=F4(),J=A4(),B=Y.flags;switch(Y.tag){case 0:case 11:case 15:C4(X,Y),B&4&&eJ(Y,y2|n2);break;case 1:if(C4(X,Y),B&4)if(X=Y.stateNode,Z===null)Y.type.defaultProps||"ref"in Y.memoizedProps||a7||(X.props!==Y.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(Y)||"instance"),X.state!==Y.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(Y)||"instance")),P4(Y)?(I4(),i(Y,rG,Y,X),N4()):i(Y,rG,Y,X);else{var z=C6(Y.type,Z.memoizedProps);Z=Z.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||a7||(X.props!==Y.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(Y)||"instance"),X.state!==Y.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(Y)||"instance")),P4(Y)?(I4(),i(Y,tH,Y,X,z,Z,X.__reactInternalSnapshotBeforeUpdate),N4()):i(Y,tH,Y,X,z,Z,X.__reactInternalSnapshotBeforeUpdate)}B&64&&ZB(Y),B&512&&v8(Y,Y.return);break;case 3:if(Z=i4(),C4(X,Y),B&64&&(B=Y.updateQueue,B!==null)){if(z=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:z=Y.child.stateNode;break;case 1:z=Y.child.stateNode}try{i(Y,GJ,B,z)}catch(P){pX(Y,Y.return,P)}}X.effectDuration+=Z0(Z);break;case 27:Z===null&&B&4&&JB(Y);case 26:case 5:if(C4(X,Y),Z===null){if(B&4)$B(Y);else if(B&64){X=Y.type,Z=Y.memoizedProps,z=Y.stateNode;try{i(Y,IM,z,X,Z,Y)}catch(P){pX(Y,Y.return,P)}}}B&512&&v8(Y,Y.return);break;case 12:if(B&4){B=i4(),C4(X,Y),X=Y.stateNode,X.effectDuration+=R8(B);try{i(Y,GB,Y,Z,u5,X.effectDuration)}catch(P){pX(Y,Y.return,P)}}else C4(X,Y);break;case 31:C4(X,Y),B&4&&UB(X,Y);break;case 13:C4(X,Y),B&4&&qB(X,Y),B&64&&(X=Y.memoizedState,X!==null&&(X=X.dehydrated,X!==null&&(B=BM.bind(null,Y),VM(X,B))));break;case 22:if(B=Y.memoizedState!==null||U5,!B){Z=Z!==null&&Z.memoizedState!==null||SZ,z=U5;var U=SZ;U5=B,(SZ=Z)&&!U?(T4(X,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&_X)!==zX&&0<=YX&&0<=BX&&0.05<BX-YX&&c9(Y,YX,BX)):C4(X,Y),U5=z,SZ=U}break;case 30:break;default:C4(X,Y)}(Y.mode&_X)!==zX&&0<=YX&&0<=BX&&((RZ||0.05<qZ)&&K4(Y,YX,BX,qZ,WZ),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<BX-YX&&(BB(Y.return.alternate,Y.return)||M4(Y,YX,BX,"Mount"))),P2(G),_4($),WZ=Q,RZ=J}function HB(X){var Z=X.alternate;Z!==null&&(X.alternate=null,HB(Z)),X.child=null,X.deletions=null,X.sibling=null,X.tag===5&&(Z=X.stateNode,Z!==null&&c(Z)),X.stateNode=null,X._debugOwner=null,X.return=null,X.dependencies=null,X.memoizedProps=null,X.memoizedState=null,X.pendingProps=null,X.stateNode=null,X.updateQueue=null}function t4(X,Z,Y){for(Y=Y.child;Y!==null;)WB(X,Z,Y),Y=Y.sibling}function WB(X,Z,Y){if(aZ&&typeof aZ.onCommitFiberUnmount==="function")try{aZ.onCommitFiberUnmount(P7,Y)}catch(U){y4||(y4=!0,console.error("React instrumentation encountered an error: %o",U))}var G=I2(),$=R4(),Q=F4(),J=A4();switch(Y.tag){case 26:SZ||O4(Y,Z),t4(X,Z,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(X=Y.stateNode,X.parentNode.removeChild(X));break;case 27:SZ||O4(Y,Z);var B=vZ,z=W2;y5(Y.type)&&(vZ=Y.stateNode,W2=!1),t4(X,Z,Y),i(Y,m8,Y.stateNode),vZ=B,W2=z;break;case 5:SZ||O4(Y,Z);case 6:if(B=vZ,z=W2,vZ=null,t4(X,Z,Y),vZ=B,W2=z,vZ!==null)if(W2)try{i(Y,TM,vZ,Y.stateNode)}catch(U){pX(Y,Z,U)}else try{i(Y,CM,vZ,Y.stateNode)}catch(U){pX(Y,Z,U)}break;case 18:vZ!==null&&(W2?(X=vZ,Mz(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,Y.stateNode),F7(X)):Mz(vZ,Y.stateNode));break;case 4:B=vZ,z=W2,vZ=Y.stateNode.containerInfo,W2=!0,t4(X,Z,Y),vZ=B,W2=z;break;case 0:case 11:case 14:case 15:W7(Y2,Y,Z),SZ||T3(Y,Z,y2),t4(X,Z,Y);break;case 1:SZ||(O4(Y,Z),B=Y.stateNode,typeof B.componentWillUnmount==="function"&&YB(Y,Z,B)),t4(X,Z,Y);break;case 21:t4(X,Z,Y);break;case 22:SZ=(B=SZ)||Y.memoizedState!==null,t4(X,Z,Y),SZ=B;break;default:t4(X,Z,Y)}(Y.mode&_X)!==zX&&0<=YX&&0<=BX&&(RZ||0.05<qZ)&&K4(Y,YX,BX,qZ,WZ),P2(G),_4($),WZ=Q,RZ=J}function UB(X,Z){if(Z.memoizedState===null&&(X=Z.alternate,X!==null&&(X=X.memoizedState,X!==null))){X=X.dehydrated;try{i(Z,DM,X)}catch(Y){pX(Z,Z.return,Y)}}}function qB(X,Z){if(Z.memoizedState===null&&(X=Z.alternate,X!==null&&(X=X.memoizedState,X!==null&&(X=X.dehydrated,X!==null))))try{i(Z,mM,X)}catch(Y){pX(Z,Z.return,Y)}}function eq(X){switch(X.tag){case 31:case 13:case 19:var Z=X.stateNode;return Z===null&&(Z=X.stateNode=new mW),Z;case 22:return X=X.stateNode,Z=X._retryCache,Z===null&&(Z=X._retryCache=new mW),Z;default:throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}}function k0(X,Z){var Y=eq(X);Z.forEach(function(G){if(!Y.has(G)){if(Y.add(G),f4)if(n7!==null&&o7!==null)f8(o7,n7);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var $=zM.bind(null,X,G);G.then($,$)}})}function z2(X,Z){var Y=Z.deletions;if(Y!==null)for(var G=0;G<Y.length;G++){var $=X,Q=Z,J=Y[G],B=I2(),z=Q;X:for(;z!==null;){switch(z.tag){case 27:if(y5(z.type)){vZ=z.stateNode,W2=!1;break X}break;case 5:vZ=z.stateNode,W2=!1;break X;case 3:case 4:vZ=z.stateNode.containerInfo,W2=!0;break X}z=z.return}if(vZ===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");WB($,Q,J),vZ=null,W2=!1,(J.mode&_X)!==zX&&0<=YX&&0<=BX&&0.05<BX-YX&&M4(J,YX,BX,"Unmount"),P2(B),$=J,Q=$.alternate,Q!==null&&(Q.return=null),$.return=null}if(Z.subtreeFlags&13886)for(Z=Z.child;Z!==null;)MB(Z,X),Z=Z.sibling}function MB(X,Z){var Y=I2(),G=R4(),$=F4(),Q=A4(),J=X.alternate,B=X.flags;switch(X.tag){case 0:case 11:case 14:case 15:z2(Z,X),H2(X),B&4&&(W7(Y2|n2,X,X.return),S8(Y2|n2,X),T3(X,X.return,y2|n2));break;case 1:if(z2(Z,X),H2(X),B&512&&(SZ||J===null||O4(J,J.return)),B&64&&U5&&(B=X.updateQueue,B!==null&&(J=B.callbacks,J!==null))){var z=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=z===null?J:z.concat(J)}break;case 26:if(z=J4,z2(Z,X),H2(X),B&512&&(SZ||J===null||O4(J,J.return)),B&4){var U=J!==null?J.memoizedState:null;if(B=X.memoizedState,J===null)if(B===null)if(X.stateNode===null){X:{B=X.type,J=X.memoizedProps,z=z.ownerDocument||z;Z:switch(B){case"title":if(U=z.getElementsByTagName("title")[0],!U||U[p8]||U[uZ]||U.namespaceURI===C7||U.hasAttribute("itemprop"))U=z.createElement(B),z.head.insertBefore(U,z.querySelector("head > title"));hZ(U,B,J),U[uZ]=X,ZX(U),B=U;break X;case"link":var P=Cz("link","href",z).get(B+(J.href||""));if(P){for(var O=0;O<P.length;O++)if(U=P[O],U.getAttribute("href")===(J.href==null||J.href===""?null:J.href)&&U.getAttribute("rel")===(J.rel==null?null:J.rel)&&U.getAttribute("title")===(J.title==null?null:J.title)&&U.getAttribute("crossorigin")===(J.crossOrigin==null?null:J.crossOrigin)){P.splice(O,1);break Z}}U=z.createElement(B),hZ(U,B,J),z.head.appendChild(U);break;case"meta":if(P=Cz("meta","content",z).get(B+(J.content||""))){for(O=0;O<P.length;O++)if(U=P[O],lX(J.content,"content"),U.getAttribute("content")===(J.content==null?null:""+J.content)&&U.getAttribute("name")===(J.name==null?null:J.name)&&U.getAttribute("property")===(J.property==null?null:J.property)&&U.getAttribute("http-equiv")===(J.httpEquiv==null?null:J.httpEquiv)&&U.getAttribute("charset")===(J.charSet==null?null:J.charSet)){P.splice(O,1);break Z}}U=z.createElement(B),hZ(U,B,J),z.head.appendChild(U);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+B+'". This is a bug in React.')}U[uZ]=X,ZX(U),B=U}X.stateNode=B}else Tz(z,X.type,X.stateNode);else X.stateNode=Oz(z,B,X.memoizedProps);else U!==B?(U===null?J.stateNode!==null&&(J=J.stateNode,J.parentNode.removeChild(J)):U.count--,B===null?Tz(z,X.type,X.stateNode):Oz(z,B,X.memoizedProps)):B===null&&X.stateNode!==null&&S3(X,X.memoizedProps,J.memoizedProps)}break;case 27:z2(Z,X),H2(X),B&512&&(SZ||J===null||O4(J,J.return)),J!==null&&B&4&&S3(X,X.memoizedProps,J.memoizedProps);break;case 5:if(z2(Z,X),H2(X),B&512&&(SZ||J===null||O4(J,J.return)),X.flags&32){z=X.stateNode;try{i(X,Uz,z)}catch(o){pX(X,X.return,o)}}B&4&&X.stateNode!=null&&(z=X.memoizedProps,S3(X,z,J!==null?J.memoizedProps:z)),B&1024&&(H$=!0,X.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(z2(Z,X),H2(X),B&4){if(X.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");B=X.memoizedProps,J=J!==null?J.memoizedProps:B,z=X.stateNode;try{i(X,OM,z,J,B)}catch(o){pX(X,X.return,o)}}break;case 3:if(z=i4(),cY=null,U=J4,J4=m0(Z.containerInfo),z2(Z,X),J4=U,H2(X),B&4&&J!==null&&J.memoizedState.isDehydrated)try{i(X,jM,Z.containerInfo)}catch(o){pX(X,X.return,o)}H$&&(H$=!1,KB(X)),Z.effectDuration+=Z0(z);break;case 4:B=J4,J4=m0(X.stateNode.containerInfo),z2(Z,X),H2(X),J4=B;break;case 12:B=i4(),z2(Z,X),H2(X),X.stateNode.effectDuration+=R8(B);break;case 31:z2(Z,X),H2(X),B&4&&(B=X.updateQueue,B!==null&&(X.updateQueue=null,k0(X,B)));break;case 13:z2(Z,X),H2(X),X.child.flags&8192&&X.memoizedState!==null!==(J!==null&&J.memoizedState!==null)&&(gY=VZ()),B&4&&(B=X.updateQueue,B!==null&&(X.updateQueue=null,k0(X,B)));break;case 22:z=X.memoizedState!==null;var F=J!==null&&J.memoizedState!==null,g=U5,u=SZ;if(U5=g||z,SZ=u||F,z2(Z,X),SZ=u,U5=g,F&&!z&&!g&&!u&&(X.mode&_X)!==zX&&0<=YX&&0<=BX&&0.05<BX-YX&&c9(X,YX,BX),H2(X),B&8192)X:for(Z=X.stateNode,Z._visibility=z?Z._visibility&~e8:Z._visibility|e8,!z||J===null||F||U5||SZ||(T6(X),(X.mode&_X)!==zX&&0<=YX&&0<=BX&&0.05<BX-YX&&M4(X,YX,BX,"Disconnect")),J=null,Z=X;;){if(Z.tag===5||Z.tag===26){if(J===null){F=J=Z;try{U=F.stateNode,z?i(F,SM,U):i(F,gM,F.stateNode,F.memoizedProps)}catch(o){pX(F,F.return,o)}}}else if(Z.tag===6){if(J===null){F=Z;try{P=F.stateNode,z?i(F,vM,P):i(F,yM,P,F.memoizedProps)}catch(o){pX(F,F.return,o)}}}else if(Z.tag===18){if(J===null){F=Z;try{O=F.stateNode,z?i(F,wM,O):i(F,kM,F.stateNode)}catch(o){pX(F,F.return,o)}}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===X)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break X;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)break X;J===Z&&(J=null),Z=Z.return}J===Z&&(J=null),Z.sibling.return=Z.return,Z=Z.sibling}B&4&&(B=X.updateQueue,B!==null&&(J=B.retryQueue,J!==null&&(B.retryQueue=null,k0(X,J))));break;case 19:z2(Z,X),H2(X),B&4&&(B=X.updateQueue,B!==null&&(X.updateQueue=null,k0(X,B)));break;case 30:break;case 21:break;default:z2(Z,X),H2(X)}(X.mode&_X)!==zX&&0<=YX&&0<=BX&&((RZ||0.05<qZ)&&K4(X,YX,BX,qZ,WZ),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<BX-YX&&(BB(X.return.alternate,X.return)||M4(X,YX,BX,"Mount"))),P2(Y),_4(G),WZ=$,RZ=Q}function H2(X){var Z=X.flags;if(Z&2){try{i(X,sq,X)}catch(Y){pX(X,X.return,Y)}X.flags&=-3}Z&4096&&(X.flags&=-4097)}function KB(X){if(X.subtreeFlags&1024)for(X=X.child;X!==null;){var Z=X;KB(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),X=X.sibling}}function C4(X,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)zB(X,Z.alternate,Z),Z=Z.sibling}function LB(X){var Z=I2(),Y=R4(),G=F4(),$=A4();switch(X.tag){case 0:case 11:case 14:case 15:T3(X,X.return,y2),T6(X);break;case 1:O4(X,X.return);var Q=X.stateNode;typeof Q.componentWillUnmount==="function"&&YB(X,X.return,Q),T6(X);break;case 27:i(X,m8,X.stateNode);case 26:case 5:O4(X,X.return),T6(X);break;case 22:X.memoizedState===null&&T6(X);break;case 30:T6(X);break;default:T6(X)}(X.mode&_X)!==zX&&0<=YX&&0<=BX&&(RZ||0.05<qZ)&&K4(X,YX,BX,qZ,WZ),P2(Z),_4(Y),WZ=G,RZ=$}function T6(X){for(X=X.child;X!==null;)LB(X),X=X.sibling}function RB(X,Z,Y,G){var $=I2(),Q=R4(),J=F4(),B=A4(),z=Y.flags;switch(Y.tag){case 0:case 11:case 15:T4(X,Y,G),eJ(Y,y2);break;case 1:if(T4(X,Y,G),Z=Y.stateNode,typeof Z.componentDidMount==="function"&&i(Y,rG,Y,Z),Z=Y.updateQueue,Z!==null){X=Y.stateNode;try{i(Y,jq,Z,X)}catch(U){pX(Y,Y.return,U)}}G&&z&64&&ZB(Y),v8(Y,Y.return);break;case 27:JB(Y);case 26:case 5:T4(X,Y,G),G&&Z===null&&z&4&&$B(Y),v8(Y,Y.return);break;case 12:if(G&&z&4){z=i4(),T4(X,Y,G),G=Y.stateNode,G.effectDuration+=R8(z);try{i(Y,GB,Y,Z,u5,G.effectDuration)}catch(U){pX(Y,Y.return,U)}}else T4(X,Y,G);break;case 31:T4(X,Y,G),G&&z&4&&UB(X,Y);break;case 13:T4(X,Y,G),G&&z&4&&qB(X,Y);break;case 22:Y.memoizedState===null&&T4(X,Y,G),v8(Y,Y.return);break;case 30:break;default:T4(X,Y,G)}(Y.mode&_X)!==zX&&0<=YX&&0<=BX&&(RZ||0.05<qZ)&&K4(Y,YX,BX,qZ,WZ),P2($),_4(Q),WZ=J,RZ=B}function T4(X,Z,Y){Y=Y&&(Z.subtreeFlags&8772)!==0;for(Z=Z.child;Z!==null;)RB(X,Z.alternate,Z,Y),Z=Z.sibling}function g3(X,Z){var Y=null;X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Y=X.memoizedState.cachePool.pool),X=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(X=Z.memoizedState.cachePool.pool),X!==Y&&(X!=null&&N6(X),Y!=null&&L8(Y))}function y3(X,Z){X=null,Z.alternate!==null&&(X=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==X&&(N6(Z),X!=null&&L8(X))}function X4(X,Z,Y,G,$){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(Z=Z.child;Z!==null;){var Q=Z.sibling;_B(X,Z,Y,G,Q!==null?Q.actualStartTime:$),Z=Q}}function _B(X,Z,Y,G,$){var Q=I2(),J=R4(),B=F4(),z=A4(),U=m5,P=Z.flags;switch(Z.tag){case 0:case 11:case 15:(Z.mode&_X)!==zX&&0<Z.actualStartTime&&(Z.flags&1)!==0&&a9(Z,Z.actualStartTime,$,yZ,Y),X4(X,Z,Y,G,$),P&2048&&XB(Z,G2|n2);break;case 1:(Z.mode&_X)!==zX&&0<Z.actualStartTime&&((Z.flags&128)!==0?K1(Z,Z.actualStartTime,$,[]):(Z.flags&1)!==0&&a9(Z,Z.actualStartTime,$,yZ,Y)),X4(X,Z,Y,G,$);break;case 3:var O=i4(),F=yZ;yZ=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,X4(X,Z,Y,G,$),yZ=F,P&2048&&(Y=null,Z.alternate!==null&&(Y=Z.alternate.memoizedState.cache),G=Z.memoizedState.cache,G!==Y&&(N6(G),Y!=null&&L8(Y))),X.passiveEffectDuration+=Z0(O);break;case 12:if(P&2048){P=i4(),X4(X,Z,Y,G,$),X=Z.stateNode,X.passiveEffectDuration+=R8(P);try{i(Z,rq,Z,Z.alternate,u5,X.passiveEffectDuration)}catch(g){pX(Z,Z.return,g)}}else X4(X,Z,Y,G,$);break;case 31:P=yZ,O=Z.alternate!==null?Z.alternate.memoizedState:null,F=Z.memoizedState,O!==null&&F===null?(F=Z.deletions,F!==null&&0<F.length&&F[0].tag===18?(yZ=!1,O=O.hydrationErrors,O!==null&&K1(Z,Z.actualStartTime,$,O)):yZ=!0):yZ=!1,X4(X,Z,Y,G,$),yZ=P;break;case 13:P=yZ,O=Z.alternate!==null?Z.alternate.memoizedState:null,F=Z.memoizedState,O===null||O.dehydrated===null||F!==null&&F.dehydrated!==null?yZ=!1:(F=Z.deletions,F!==null&&0<F.length&&F[0].tag===18?(yZ=!1,O=O.hydrationErrors,O!==null&&K1(Z,Z.actualStartTime,$,O)):yZ=!0),X4(X,Z,Y,G,$),yZ=P;break;case 23:break;case 22:F=Z.stateNode,O=Z.alternate,Z.memoizedState!==null?F._visibility&Z5?X4(X,Z,Y,G,$):k8(X,Z,Y,G,$):F._visibility&Z5?X4(X,Z,Y,G,$):(F._visibility|=Z5,U7(X,Z,Y,G,(Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child),$),(Z.mode&_X)===zX||yZ||(X=Z.actualStartTime,0<=X&&0.05<$-X&&c9(Z,X,$),0<=YX&&0<=BX&&0.05<BX-YX&&c9(Z,YX,BX))),P&2048&&g3(O,Z);break;case 24:X4(X,Z,Y,G,$),P&2048&&y3(Z.alternate,Z);break;default:X4(X,Z,Y,G,$)}if((Z.mode&_X)!==zX){if(X=!yZ&&Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null)Y=Z.actualStartTime,0<=Y&&0.05<$-Y&&M4(Z,Y,$,"Mount");0<=YX&&0<=BX&&((RZ||0.05<qZ)&&K4(Z,YX,BX,qZ,WZ),X&&0.05<BX-YX&&M4(Z,YX,BX,"Mount"))}P2(Q),_4(J),WZ=B,RZ=z,m5=U}function U7(X,Z,Y,G,$,Q){$=$&&((Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child));for(Z=Z.child;Z!==null;){var J=Z.sibling;FB(X,Z,Y,G,$,J!==null?J.actualStartTime:Q),Z=J}}function FB(X,Z,Y,G,$,Q){var J=I2(),B=R4(),z=F4(),U=A4(),P=m5;$&&(Z.mode&_X)!==zX&&0<Z.actualStartTime&&(Z.flags&1)!==0&&a9(Z,Z.actualStartTime,Q,yZ,Y);var O=Z.flags;switch(Z.tag){case 0:case 11:case 15:U7(X,Z,Y,G,$,Q),XB(Z,G2);break;case 23:break;case 22:var F=Z.stateNode;Z.memoizedState!==null?F._visibility&Z5?U7(X,Z,Y,G,$,Q):k8(X,Z,Y,G,Q):(F._visibility|=Z5,U7(X,Z,Y,G,$,Q)),$&&O&2048&&g3(Z.alternate,Z);break;case 24:U7(X,Z,Y,G,$,Q),$&&O&2048&&y3(Z.alternate,Z);break;default:U7(X,Z,Y,G,$,Q)}(Z.mode&_X)!==zX&&0<=YX&&0<=BX&&(RZ||0.05<qZ)&&K4(Z,YX,BX,qZ,WZ),P2(J),_4(B),WZ=z,RZ=U,m5=P}function k8(X,Z,Y,G,$){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(var Q=Z.child;Q!==null;){Z=Q.sibling;var J=X,B=Y,z=G,U=Z!==null?Z.actualStartTime:$,P=m5;(Q.mode&_X)!==zX&&0<Q.actualStartTime&&(Q.flags&1)!==0&&a9(Q,Q.actualStartTime,U,yZ,B);var O=Q.flags;switch(Q.tag){case 22:k8(J,Q,B,z,U),O&2048&&g3(Q.alternate,Q);break;case 24:k8(J,Q,B,z,U),O&2048&&y3(Q.alternate,Q);break;default:k8(J,Q,B,z,U)}m5=P,Q=Z}}function q7(X,Z,Y){if(X.subtreeFlags&A9)for(X=X.child;X!==null;)AB(X,Z,Y),X=X.sibling}function AB(X,Z,Y){switch(X.tag){case 26:q7(X,Z,Y),X.flags&A9&&X.memoizedState!==null&&uM(Y,J4,X.memoizedState,X.memoizedProps);break;case 5:q7(X,Z,Y);break;case 3:case 4:var G=J4;J4=m0(X.stateNode.containerInfo),q7(X,Z,Y),J4=G;break;case 22:X.memoizedState===null&&(G=X.alternate,G!==null&&G.memoizedState!==null?(G=A9,A9=16777216,q7(X,Z,Y),A9=G):q7(X,Z,Y));break;default:q7(X,Z,Y)}}function NB(X){var Z=X.alternate;if(Z!==null&&(X=Z.child,X!==null)){Z.child=null;do Z=X.sibling,X.sibling=null,X=Z;while(X!==null)}}function g8(X){var Z=X.deletions;if((X.flags&16)!==0){if(Z!==null)for(var Y=0;Y<Z.length;Y++){var G=Z[Y],$=I2();DZ=G,OB(G,X),(G.mode&_X)!==zX&&0<=YX&&0<=BX&&0.05<BX-YX&&M4(G,YX,BX,"Unmount"),P2($)}NB(X)}if(X.subtreeFlags&10256)for(X=X.child;X!==null;)IB(X),X=X.sibling}function IB(X){var Z=I2(),Y=R4(),G=F4(),$=A4();switch(X.tag){case 0:case 11:case 15:g8(X),X.flags&2048&&w3(X,X.return,G2|n2);break;case 3:var Q=i4();g8(X),X.stateNode.passiveEffectDuration+=Z0(Q);break;case 12:Q=i4(),g8(X),X.stateNode.passiveEffectDuration+=R8(Q);break;case 22:Q=X.stateNode,X.memoizedState!==null&&Q._visibility&Z5&&(X.return===null||X.return.tag!==13)?(Q._visibility&=~Z5,g0(X),(X.mode&_X)!==zX&&0<=YX&&0<=BX&&0.05<BX-YX&&M4(X,YX,BX,"Disconnect")):g8(X);break;default:g8(X)}(X.mode&_X)!==zX&&0<=YX&&0<=BX&&(RZ||0.05<qZ)&&K4(X,YX,BX,qZ,WZ),P2(Z),_4(Y),RZ=$,WZ=G}function g0(X){var Z=X.deletions;if((X.flags&16)!==0){if(Z!==null)for(var Y=0;Y<Z.length;Y++){var G=Z[Y],$=I2();DZ=G,OB(G,X),(G.mode&_X)!==zX&&0<=YX&&0<=BX&&0.05<BX-YX&&M4(G,YX,BX,"Unmount"),P2($)}NB(X)}for(X=X.child;X!==null;)PB(X),X=X.sibling}function PB(X){var Z=I2(),Y=R4(),G=F4(),$=A4();switch(X.tag){case 0:case 11:case 15:w3(X,X.return,G2),g0(X);break;case 22:var Q=X.stateNode;Q._visibility&Z5&&(Q._visibility&=~Z5,g0(X));break;default:g0(X)}(X.mode&_X)!==zX&&0<=YX&&0<=BX&&(RZ||0.05<qZ)&&K4(X,YX,BX,qZ,WZ),P2(Z),_4(Y),RZ=$,WZ=G}function OB(X,Z){for(;DZ!==null;){var Y=DZ,G=Y,$=Z,Q=I2(),J=R4(),B=F4(),z=A4();switch(G.tag){case 0:case 11:case 15:w3(G,$,G2);break;case 23:case 22:G.memoizedState!==null&&G.memoizedState.cachePool!==null&&($=G.memoizedState.cachePool.pool,$!=null&&N6($));break;case 24:L8(G.memoizedState.cache)}if((G.mode&_X)!==zX&&0<=YX&&0<=BX&&(RZ||0.05<qZ)&&K4(G,YX,BX,qZ,WZ),P2(Q),_4(J),RZ=z,WZ=B,G=Y.child,G!==null)G.return=Y,DZ=G;else X:for(Y=X;DZ!==null;){if(G=DZ,Q=G.sibling,J=G.return,HB(G),G===Y){DZ=null;break X}if(Q!==null){Q.return=J,DZ=Q;break X}DZ=J}}}function XM(){IL.forEach(function(X){return X()})}function CB(){var X=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return X||f.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),X}function C2(X){if((bX&fZ)!==mZ&&AX!==0)return AX&-AX;var Z=f.T;return Z!==null?(Z._updatedFibers||(Z._updatedFibers=new Set),Z._updatedFibers.add(X),x3()):w()}function TB(){if(q2===0)if((AX&536870912)===0||SX){var X=i0;i0<<=1,(i0&3932160)===0&&(i0=262144),q2=X}else q2=536870912;return X=g2.current,X!==null&&(X.flags|=32),q2}function LZ(X,Z,Y){if(s7&&console.error("useInsertionEffect must not schedule updates."),N$&&(VY=!0),X===XZ&&(rX===h6||rX===u6)||X.cancelPendingCommit!==null)K7(X,0),k5(X,AX,q2,!1);if(yX(X,Y),(bX&fZ)!==mZ&&X===XZ){if(g4)switch(Z.tag){case 0:case 11:case 15:X=IX&&p(IX)||"Unknown",tW.has(X)||(tW.add(X),Z=p(Z)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",Z,X,X));break;case 1:sW||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),sW=!0)}}else f4&&$8(X,Z,Y),WM(Z),X===XZ&&((bX&fZ)===mZ&&(r5|=Y),MZ===n5&&k5(X,AX,q2,!1)),w4(X)}function wB(X,Z,Y){if((bX&(fZ|f2))!==mZ)throw Error("Should not already be working.");if(AX!==0&&IX!==null){var G=IX,$=VZ();switch(pH){case P9:case h6:var Q=Q9;$Z&&((G=G._debugTask)?G.run(console.timeStamp.bind(console,"Suspended",Q,$,x2,void 0,"primary-light")):console.timeStamp("Suspended",Q,$,x2,void 0,"primary-light"));break;case u6:Q=Q9,$Z&&((G=G._debugTask)?G.run(console.timeStamp.bind(console,"Action",Q,$,x2,void 0,"primary-light")):console.timeStamp("Action",Q,$,x2,void 0,"primary-light"));break;default:$Z&&(G=$-Q9,3>G||console.timeStamp("Blocked",Q9,$,x2,void 0,5>G?"primary-light":10>G?"primary":100>G?"primary-dark":"error"))}}Q=(Y=!Y&&(Z&127)===0&&(Z&X.expiredLanes)===0||U4(X,Z))?YM(X,Z):b3(X,Z,!0);var J=Y;do{if(Q===q5){i7&&!Y&&k5(X,Z,0,!1),Z=rX,Q9=CZ(),pH=Z;break}else{if(G=VZ(),$=X.current.alternate,J&&!ZM($)){A2(Z),$=jZ,Q=G,!$Z||Q<=$||(FZ?FZ.run(console.timeStamp.bind(console,"Teared Render",$,Q,wX,CX,"error")):console.timeStamp("Teared Render",$,Q,wX,CX,"error")),w6(Z,G),Q=b3(X,Z,!1),J=!1;continue}if(Q===x6){if(J=Z,X.errorRecoveryDisabledLanes&J)var B=0;else B=X.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){A2(Z),L1(jZ,G,Z,FZ),w6(Z,G),Z=B;X:{G=X,Q=J,J=C9;var z=G.current.memoizedState.isDehydrated;if(z&&(K7(G,B).flags|=256),B=b3(G,B,!1),B!==x6){if(q$&&!z){G.errorRecoveryDisabledLanes|=Q,r5|=Q,Q=n5;break X}G=$2,$2=J,G!==null&&($2===null?$2=G:$2.push.apply($2,G))}Q=B}if(J=!1,Q!==x6)continue;else G=VZ()}}if(Q===I9){A2(Z),L1(jZ,G,Z,FZ),w6(Z,G),K7(X,0),k5(X,Z,0,!0);break}X:{switch(Y=X,Q){case q5:case I9:throw Error("Root did not complete. This is a bug in React.");case n5:if((Z&4194048)!==Z)break;case wY:A2(Z),wQ(jZ,G,Z,FZ),w6(Z,G),$=Z,($&127)!==0?UY=G:($&4194048)!==0&&(qY=G),k5(Y,Z,q2,!o5);break X;case x6:$2=null;break;case TY:case EW:break;default:throw Error("Unknown root exit status.")}if(f.actQueue!==null)V3(Y,$,Z,$2,T9,kY,q2,r5,d6,Q,null,null,jZ,G);else{if((Z&62914560)===Z&&(J=gY+uW-VZ(),10<J)){if(k5(Y,Z,q2,!o5),l4(Y,0,!0)!==0)break X;B4=Z,Y.timeoutHandle=JU(SB.bind(null,Y,$,$2,T9,kY,Z,q2,r5,d6,o5,Q,"Throttled",jZ,G),J);break X}SB(Y,$,$2,T9,kY,Z,q2,r5,d6,o5,Q,null,jZ,G)}}}break}while(1);w4(X)}function SB(X,Z,Y,G,$,Q,J,B,z,U,P,O,F,g){X.timeoutHandle=n6;var u=Z.subtreeFlags,o=null;if(u&8192||(u&16785408)===16785408){if(o={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:c4},AB(Z,Q,o),u=(Q&62914560)===Q?gY-VZ():(Q&4194048)===Q?hW-VZ():0,u=dM(o,u),u!==null){B4=Q,X.cancelPendingCommit=u(V3.bind(null,X,Z,Q,Y,G,$,J,B,z,P,o,o.waitingForViewTransition?"Waiting for the previous Animation":0<o.count?0<o.imgCount?"Suspended on CSS and Images":"Suspended on CSS":o.imgCount===1?"Suspended on an Image":0<o.imgCount?"Suspended on Images":null,F,g)),k5(X,Q,J,!U);return}}V3(X,Z,Q,Y,G,$,J,B,z,P,o,O,F,g)}function ZM(X){for(var Z=X;;){var Y=Z.tag;if((Y===0||Y===11||Y===15)&&Z.flags&16384&&(Y=Z.updateQueue,Y!==null&&(Y=Y.stores,Y!==null)))for(var G=0;G<Y.length;G++){var $=Y[G],Q=$.getSnapshot;$=$.value;try{if(!X2(Q(),$))return!1}catch(J){return!1}}if(Y=Z.child,Z.subtreeFlags&16384&&Y!==null)Y.return=Z,Z=Y;else{if(Z===X)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)return!0;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!0}function k5(X,Z,Y,G){Z&=~M$,Z&=~r5,X.suspendedLanes|=Z,X.pingedLanes&=~Z,G&&(X.warmLanes|=Z),G=X.expirationTimes;for(var $=Z;0<$;){var Q=31-sZ($),J=1<<Q;G[Q]=-1,$&=~J}Y!==0&&z6(X,Y,Z)}function M7(){return(bX&(fZ|f2))===mZ?(b8(0,!1),!1):!0}function f3(){if(IX!==null){if(rX===U2)var X=IX.return;else X=IX,t9(),l1(X),h7=null,K9=0,X=IX;for(;X!==null;)tJ(X.alternate,X),X=X.return;IX=null}}function w6(X,Z){(X&127)!==0&&(d5=Z),(X&4194048)!==0&&(m4=Z),(X&62914560)!==0&&(dH=Z),(X&2080374784)!==0&&(lH=Z)}function K7(X,Z){$Z&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",CX,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",CX,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",CX,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",CX,"primary-light"));var Y=jZ;if(jZ=CZ(),AX!==0&&0<Y){if(A2(AX),MZ===TY||MZ===n5)wQ(Y,jZ,Z,FZ);else{var G=jZ,$=FZ;if($Z&&!(G<=Y)){var Q=(Z&738197653)===Z?"tertiary-dark":"primary-dark",J=(Z&536870912)===Z?"Prewarm":(Z&201326741)===Z?"Interrupted Hydration":"Interrupted Render";$?$.run(console.timeStamp.bind(console,J,Y,G,wX,CX,Q)):console.timeStamp(J,Y,G,wX,CX,Q)}}w6(AX,jZ)}if(Y=FZ,FZ=null,(Z&127)!==0){FZ=Y9,$=0<=D4&&D4<d5?d5:D4,G=0<=y6&&y6<d5?d5:y6,Q=0<=G?G:0<=$?$:jZ,0<=UY?(A2(2),SQ(UY,Q,Z,Y)):(MY&127)!==0&&(A2(2),M8(d5,Q,B5)),Y=$;var B=G,z=G9,U=0<m7,P=l5===Z9,O=l5===WY;if($=jZ,G=Y9,Q=cG,J=aG,$Z){if(wX="Blocking",0<Y?Y>$&&(Y=$):Y=$,0<B?B>Y&&(B=Y):B=Y,z!==null&&Y>B){var F=U?"secondary-light":"warning";G?G.run(console.timeStamp.bind(console,U?"Consecutive":"Event: "+z,B,Y,wX,CX,F)):console.timeStamp(U?"Consecutive":"Event: "+z,B,Y,wX,CX,F)}$>Y&&(B=P?"error":(Z&738197653)===Z?"tertiary-light":"primary-light",P=O?"Promise Resolved":P?"Cascading Update":5<$-Y?"Update Blocked":"Update",O=[],J!=null&&O.push(["Component name",J]),Q!=null&&O.push(["Method name",Q]),Y={start:Y,end:$,detail:{devtools:{properties:O,track:wX,trackGroup:CX,color:B}}},G?G.run(performance.measure.bind(performance,P,Y)):performance.measure(P,Y))}D4=-1.1,l5=0,aG=cG=null,UY=-1.1,m7=y6,y6=-1.1,d5=CZ()}if((Z&4194048)!==0&&(FZ=$9,$=0<=J5&&J5<m4?m4:J5,Y=0<=c2&&c2<m4?m4:c2,G=0<=p5&&p5<m4?m4:p5,Q=0<=G?G:0<=Y?Y:jZ,0<=qY?(A2(256),SQ(qY,Q,Z,FZ)):(MY&4194048)!==0&&(A2(256),M8(m4,Q,B5)),O=G,B=f6,z=0<c5,U=nG===WY,Q=jZ,G=$9,J=hH,P=uH,$Z&&(wX="Transition",0<Y?Y>Q&&(Y=Q):Y=Q,0<$?$>Y&&($=Y):$=Y,0<O?O>$&&(O=$):O=$,$>O&&B!==null&&(F=z?"secondary-light":"warning",G?G.run(console.timeStamp.bind(console,z?"Consecutive":"Event: "+B,O,$,wX,CX,F)):console.timeStamp(z?"Consecutive":"Event: "+B,O,$,wX,CX,F)),Y>$&&(G?G.run(console.timeStamp.bind(console,"Action",$,Y,wX,CX,"primary-dark")):console.timeStamp("Action",$,Y,wX,CX,"primary-dark")),Q>Y&&($=U?"Promise Resolved":5<Q-Y?"Update Blocked":"Update",O=[],P!=null&&O.push(["Component name",P]),J!=null&&O.push(["Method name",J]),Y={start:Y,end:Q,detail:{devtools:{properties:O,track:wX,trackGroup:CX,color:"primary-light"}}},G?G.run(performance.measure.bind(performance,$,Y)):performance.measure($,Y))),c2=J5=-1.1,nG=0,qY=-1.1,c5=p5,p5=-1.1,m4=CZ()),(Z&62914560)!==0&&(MY&62914560)!==0&&(A2(4194304),M8(dH,jZ,B5)),(Z&2080374784)!==0&&(MY&2080374784)!==0&&(A2(268435456),M8(lH,jZ,B5)),Y=X.timeoutHandle,Y!==n6&&(X.timeoutHandle=n6,VL(Y)),Y=X.cancelPendingCommit,Y!==null&&(X.cancelPendingCommit=null,Y()),B4=0,f3(),XZ=X,IX=Y=a4(X.current,null),AX=Z,rX=U2,b2=null,o5=!1,i7=U4(X,Z),q$=!1,MZ=q5,d6=q2=M$=r5=i5=0,$2=C9=null,kY=!1,(Z&8)!==0&&(Z|=Z&32),G=X.entangledLanes,G!==0)for(X=X.entanglements,G&=Z;0<G;)$=31-sZ(G),Q=1<<$,Z|=X[$],G&=~Q;return x4=Z,n9(),X=VH(),1000<X-bH&&(f.recentlyCreatedOwnerStacks=0,bH=X),$4.discardPendingWarnings(),Y}function vB(X,Z){WX=null,f.H=F9,f.getCurrentStack=null,g4=!1,S2=null,Z===x7||Z===_Y?(Z=iQ(),rX=P9):Z===sG?(Z=iQ(),rX=xW):rX=Z===B$?U$:Z!==null&&typeof Z==="object"&&typeof Z.then==="function"?O9:SY,b2=Z;var Y=IX;Y===null?(MZ=I9,O0(X,N2(Z,X.current))):Y.mode&_X&&g1(Y)}function kB(){var X=g2.current;return X===null?!0:(AX&4194048)===AX?a2===null?!0:!1:(AX&62914560)===AX||(AX&536870912)!==0?X===a2:!1}function gB(){var X=f.H;return f.H=F9,X===null?F9:X}function yB(){var X=f.A;return f.A=NL,X}function y0(X){FZ===null&&(FZ=X._debugTask==null?null:X._debugTask)}function f0(){MZ=n5,o5||(AX&4194048)!==AX&&g2.current!==null||(i7=!0),(i5&134217727)===0&&(r5&134217727)===0||XZ===null||k5(XZ,AX,q2,!1)}function b3(X,Z,Y){var G=bX;bX|=fZ;var $=gB(),Q=yB();if(XZ!==X||AX!==Z){if(f4){var J=X.memoizedUpdaters;0<J.size&&(f8(X,AX),J.clear()),F5(X,Z)}T9=null,K7(X,Z)}Z=!1,J=MZ;X:do try{if(rX!==U2&&IX!==null){var B=IX,z=b2;switch(rX){case U$:f3(),J=wY;break X;case P9:case h6:case u6:case O9:g2.current===null&&(Z=!0);var U=rX;if(rX=U2,b2=null,L7(X,B,z,U),Y&&i7){J=q5;break X}break;default:U=rX,rX=U2,b2=null,L7(X,B,z,U)}}fB(),J=MZ;break}catch(P){vB(X,P)}while(1);return Z&&X.shellSuspendCounter++,t9(),bX=G,f.H=$,f.A=Q,IX===null&&(XZ=null,AX=0,n9()),J}function fB(){for(;IX!==null;)bB(IX)}function YM(X,Z){var Y=bX;bX|=fZ;var G=gB(),$=yB();if(XZ!==X||AX!==Z){if(f4){var Q=X.memoizedUpdaters;0<Q.size&&(f8(X,AX),Q.clear()),F5(X,Z)}T9=null,yY=VZ()+dW,K7(X,Z)}else i7=U4(X,Z);X:do try{if(rX!==U2&&IX!==null)Z:switch(Z=IX,Q=b2,rX){case SY:rX=U2,b2=null,L7(X,Z,Q,SY);break;case h6:case u6:if(nQ(Q)){rX=U2,b2=null,VB(Z);break}Z=function(){rX!==h6&&rX!==u6||XZ!==X||(rX=vY),w4(X)},Q.then(Z,Z);break X;case P9:rX=vY;break X;case xW:rX=W$;break X;case vY:nQ(Q)?(rX=U2,b2=null,VB(Z)):(rX=U2,b2=null,L7(X,Z,Q,vY));break;case W$:var J=null;switch(IX.tag){case 26:J=IX.memoizedState;case 5:case 27:var B=IX;if(J?wz(J):B.stateNode.complete){rX=U2,b2=null;var z=B.sibling;if(z!==null)IX=z;else{var U=B.return;U!==null?(IX=U,b0(U)):IX=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}rX=U2,b2=null,L7(X,Z,Q,W$);break;case O9:rX=U2,b2=null,L7(X,Z,Q,O9);break;case U$:f3(),MZ=wY;break X;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}f.actQueue!==null?fB():GM();break}catch(P){vB(X,P)}while(1);if(t9(),f.H=G,f.A=$,bX=Y,IX!==null)return q5;return XZ=null,AX=0,n9(),MZ}function GM(){for(;IX!==null&&!ZK();)bB(IX)}function bB(X){var Z=X.alternate;(X.mode&_X)!==zX?(k1(X),Z=i(X,O3,Z,X,x4),g1(X)):Z=i(X,O3,Z,X,x4),X.memoizedProps=X.pendingProps,Z===null?b0(X):IX=Z}function VB(X){var Z=i(X,$M,X);X.memoizedProps=X.pendingProps,Z===null?b0(X):IX=Z}function $M(X){var Z=X.alternate,Y=(X.mode&_X)!==zX;switch(Y&&k1(X),X.tag){case 15:case 0:Z=cJ(Z,X,X.pendingProps,X.type,void 0,AX);break;case 11:Z=cJ(Z,X,X.pendingProps,X.type.render,X.ref,AX);break;case 5:l1(X);default:tJ(Z,X),X=IX=bQ(X,x4),Z=O3(Z,X,x4)}return Y&&g1(X),Z}function L7(X,Z,Y,G){t9(),l1(Z),h7=null,K9=0;var $=Z.return;try{if(dq(X,$,Z,Y,AX)){MZ=I9,O0(X,N2(Y,X.current)),IX=null;return}}catch(Q){if($!==null)throw IX=$,Q;MZ=I9,O0(X,N2(Y,X.current)),IX=null;return}if(Z.flags&32768){if(SX||G===SY)X=!0;else if(i7||(AX&536870912)!==0)X=!1;else if(o5=X=!0,G===h6||G===u6||G===P9||G===O9)G=g2.current,G!==null&&G.tag===13&&(G.flags|=16384);jB(Z,X)}else b0(Z)}function b0(X){var Z=X;do{if((Z.flags&32768)!==0){jB(Z,o5);return}var Y=Z.alternate;if(X=Z.return,k1(Z),Y=i(Z,cq,Y,Z,x4),(Z.mode&_X)!==zX&&dQ(Z),Y!==null){IX=Y;return}if(Z=Z.sibling,Z!==null){IX=Z;return}IX=Z=X}while(Z!==null);MZ===q5&&(MZ=EW)}function jB(X,Z){do{var Y=aq(X.alternate,X);if(Y!==null){Y.flags&=32767,IX=Y;return}if((X.mode&_X)!==zX){dQ(X),Y=X.actualDuration;for(var G=X.child;G!==null;)Y+=G.actualDuration,G=G.sibling;X.actualDuration=Y}if(Y=X.return,Y!==null&&(Y.flags|=32768,Y.subtreeFlags=0,Y.deletions=null),!Z&&(X=X.sibling,X!==null)){IX=X;return}IX=X=Y}while(X!==null);MZ=wY,IX=null}function V3(X,Z,Y,G,$,Q,J,B,z,U,P,O,F,g){X.cancelPendingCommit=null;do y8();while(kZ!==t5);if($4.flushLegacyContextWarning(),$4.flushPendingUnsafeLifecycleWarnings(),(bX&(fZ|f2))!==mZ)throw Error("Should not already be working.");if(A2(Y),U===x6?L1(F,g,Y,FZ):G!==null?kq(F,g,Y,G,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,FZ):vq(F,g,Y,FZ),Z!==null){if(Y===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Z===X.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(Q=Z.lanes|Z.childLanes,Q|=hG,sX(X,Y,Q,J,B,z),X===XZ&&(IX=XZ=null,AX=0),r7=Z,e5=X,B4=Y,R$=Q,F$=$,oW=G,_$=g,iW=O,z4=fY,rW=null,Z.actualDuration!==0||(Z.subtreeFlags&10256)!==0||(Z.flags&10256)!==0?(X.callbackNode=null,X.callbackPriority=0,HM(I7,function(){return y9=window.event,z4===fY&&(z4=L$),hB(),null})):(X.callbackNode=null,X.callbackPriority=0),Q5=null,u5=CZ(),O!==null&&gq(g,u5,O,FZ),G=(Z.flags&13878)!==0,(Z.subtreeFlags&13878)!==0||G){G=f.T,f.T=null,$=cX.p,cX.p=v2,J=bX,bX|=f2;try{tq(X,Z,Y)}finally{bX=J,cX.p=$,f.T=G}}kZ=pW,DB(),mB(),EB()}}function DB(){if(kZ===pW){kZ=t5;var X=e5,Z=r7,Y=B4,G=(Z.flags&13878)!==0;if((Z.subtreeFlags&13878)!==0||G){G=f.T,f.T=null;var $=cX.p;cX.p=v2;var Q=bX;bX|=f2;try{n7=Y,o7=X,Y0(),MB(Z,X),o7=n7=null,Y=k$;var J=OQ(X.containerInfo),B=Y.focusedElem,z=Y.selectionRange;if(J!==B&&B&&B.ownerDocument&&PQ(B.ownerDocument.documentElement,B)){if(z!==null&&q1(B)){var{start:U,end:P}=z;if(P===void 0&&(P=U),"selectionStart"in B)B.selectionStart=U,B.selectionEnd=Math.min(P,B.value.length);else{var O=B.ownerDocument||document,F=O&&O.defaultView||window;if(F.getSelection){var g=F.getSelection(),u=B.textContent.length,o=Math.min(z.start,u),GZ=z.end===void 0?o:Math.min(z.end,u);!g.extend&&o>GZ&&(J=GZ,GZ=o,o=J);var gX=IQ(B,o),_=IQ(B,GZ);if(gX&&_&&(g.rangeCount!==1||g.anchorNode!==gX.node||g.anchorOffset!==gX.offset||g.focusNode!==_.node||g.focusOffset!==_.offset)){var A=O.createRange();A.setStart(gX.node,gX.offset),g.removeAllRanges(),o>GZ?(g.addRange(A),g.extend(_.node,_.offset)):(A.setEnd(_.node,_.offset),g.addRange(A))}}}}O=[];for(g=B;g=g.parentNode;)g.nodeType===1&&O.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof B.focus==="function"&&B.focus();for(B=0;B<O.length;B++){var I=O[B];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}oY=!!v$,k$=v$=null}finally{bX=Q,cX.p=$,f.T=G}}X.current=Z,kZ=cW}}function mB(){if(kZ===cW){kZ=t5;var X=rW;if(X!==null){u5=CZ();var Z=$5,Y=u5;!$Z||Y<=Z||(B5?B5.run(console.timeStamp.bind(console,X,Z,Y,wX,CX,"secondary-light")):console.timeStamp(X,Z,Y,wX,CX,"secondary-light"))}X=e5,Z=r7,Y=B4;var G=(Z.flags&8772)!==0;if((Z.subtreeFlags&8772)!==0||G){G=f.T,f.T=null;var $=cX.p;cX.p=v2;var Q=bX;bX|=f2;try{n7=Y,o7=X,Y0(),zB(X,Z.alternate,Z),o7=n7=null}finally{bX=Q,cX.p=$,f.T=G}}X=_$,Z=iW,$5=CZ(),X=Z===null?X:u5,Z=$5,Y=z4===K$,G=FZ,Q5!==null?vQ(X,Z,Q5,!1,G):!$Z||Z<=X||(G?G.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",X,Z,wX,CX,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",X,Z,wX,CX,Y?"error":"secondary-dark")),kZ=aW}}function EB(){if(kZ===nW||kZ===aW){if(kZ===nW){var X=$5;$5=CZ();var Z=$5,Y=z4===K$;!$Z||Z<=X||(B5?B5.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",X,Z,wX,CX,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",X,Z,wX,CX,Y?" error":"secondary-light")),z4!==K$&&(z4=lW)}kZ=t5,YK(),X=e5;var G=r7;Z=B4,Y=oW;var $=G.actualDuration!==0||(G.subtreeFlags&10256)!==0||(G.flags&10256)!==0;$?kZ=bY:(kZ=t5,r7=e5=null,xB(X,X.pendingLanes),l6=0,S9=null);var Q=X.pendingLanes;if(Q===0&&(s5=null),$||pB(X),Q=q(Z),G=G.stateNode,aZ&&typeof aZ.onCommitFiberRoot==="function")try{var J=(G.current.flags&128)===128;switch(Q){case v2:var B=FG;break;case Y4:B=AG;break;case b4:B=I7;break;case s0:B=NG;break;default:B=I7}aZ.onCommitFiberRoot(P7,G,B,J)}catch(O){y4||(y4=!0,console.error("React instrumentation encountered an error: %o",O))}if(f4&&X.memoizedUpdaters.clear(),XM(),Y!==null){J=f.T,B=cX.p,cX.p=v2,f.T=null;try{var z=X.onRecoverableError;for(G=0;G<Y.length;G++){var U=Y[G],P=QM(U.stack);i(U.source,z,U.value,P)}}finally{f.T=J,cX.p=B}}(B4&3)!==0&&y8(),w4(X),Q=X.pendingLanes,(Z&261930)!==0&&(Q&42)!==0?(LY=!0,X===A$?w9++:(w9=0,A$=X)):w9=0,$||w6(Z,$5),b8(0,!1)}}function QM(X){return X={componentStack:X},Object.defineProperty(X,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),X}function xB(X,Z){(X.pooledCacheLanes&=Z)===0&&(Z=X.pooledCache,Z!=null&&(X.pooledCache=null,L8(Z)))}function y8(){return DB(),mB(),EB(),hB()}function hB(){if(kZ!==bY)return!1;var X=e5,Z=R$;R$=0;var Y=q(B4),G=b4===0||b4>Y?b4:Y;Y=f.T;var $=cX.p;try{cX.p=G,f.T=null;var Q=F$;F$=null,G=e5;var J=B4;if(kZ=t5,r7=e5=null,B4=0,(bX&(fZ|f2))!==mZ)throw Error("Cannot flush passive effects while already rendering.");A2(J),N$=!0,VY=!1;var B=0;if(Q5=null,B=VZ(),z4===lW)M8($5,B,B5);else{var z=$5,U=B,P=z4===L$;!$Z||U<=z||(FZ?FZ.run(console.timeStamp.bind(console,P?"Waiting for Paint":"Waiting",z,U,wX,CX,"secondary-light")):console.timeStamp(P?"Waiting for Paint":"Waiting",z,U,wX,CX,"secondary-light"))}z=bX,bX|=f2;var O=G.current;Y0(),IB(O);var F=G.current;O=_$,Y0(),_B(G,F,J,Q,O),pB(G),bX=z;var g=VZ();if(F=B,O=FZ,Q5!==null?vQ(F,g,Q5,!0,O):!$Z||g<=F||(O?O.run(console.timeStamp.bind(console,"Remaining Effects",F,g,wX,CX,"secondary-dark")):console.timeStamp("Remaining Effects",F,g,wX,CX,"secondary-dark")),w6(J,g),b8(0,!1),VY?G===S9?l6++:(l6=0,S9=G):l6=0,VY=N$=!1,aZ&&typeof aZ.onPostCommitFiberRoot==="function")try{aZ.onPostCommitFiberRoot(P7,G)}catch(o){y4||(y4=!0,console.error("React instrumentation encountered an error: %o",o))}var u=G.current.stateNode;return u.effectDuration=0,u.passiveEffectDuration=0,!0}finally{cX.p=$,f.T=Y,xB(X,Z)}}function uB(X,Z,Y){Z=N2(Y,Z),lQ(Z),Z=q3(X.stateNode,Z,2),X=T5(X,Z,2),X!==null&&(yX(X,2),w4(X))}function pX(X,Z,Y){if(s7=!1,X.tag===3)uB(X,X,Y);else{for(;Z!==null;){if(Z.tag===3){uB(Z,X,Y);return}if(Z.tag===1){var G=Z.stateNode;if(typeof Z.type.getDerivedStateFromError==="function"||typeof G.componentDidCatch==="function"&&(s5===null||!s5.has(G))){X=N2(Y,X),lQ(X),Y=M3(2),G=T5(Z,Y,2),G!==null&&(K3(Y,G,Z,X),yX(G,2),w4(G));return}}Z=Z.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
154
|
+
|
|
155
|
+
Error message:
|
|
156
|
+
|
|
157
|
+
%s`,Y)}}function j3(X,Z,Y){var G=X.pingCache;if(G===null){G=X.pingCache=new PL;var $=new Set;G.set(Z,$)}else $=G.get(Z),$===void 0&&($=new Set,G.set(Z,$));$.has(Y)||(q$=!0,$.add(Y),G=JM.bind(null,X,Z,Y),f4&&f8(X,Y),Z.then(G,G))}function JM(X,Z,Y){var G=X.pingCache;G!==null&&G.delete(Z),X.pingedLanes|=X.suspendedLanes&Y,X.warmLanes&=~Y,(Y&127)!==0?0>D4&&(d5=D4=CZ(),Y9=HY("Promise Resolved"),l5=WY):(Y&4194048)!==0&&0>c2&&(m4=c2=CZ(),$9=HY("Promise Resolved"),nG=WY),CB()&&f.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
+
|
|
159
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
+
|
|
161
|
+
act(() => {
|
|
162
|
+
/* finish loading suspended data */
|
|
163
|
+
});
|
|
164
|
+
/* assert on the output */
|
|
165
|
+
|
|
166
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),XZ===X&&(AX&Y)===Y&&(MZ===n5||MZ===TY&&(AX&62914560)===AX&&VZ()-gY<uW?(bX&fZ)===mZ&&K7(X,0):M$|=Y,d6===AX&&(d6=0)),w4(X)}function dB(X,Z){Z===0&&(Z=j()),X=cZ(X,Z),X!==null&&(yX(X,Z),w4(X))}function BM(X){var Z=X.memoizedState,Y=0;Z!==null&&(Y=Z.retryLane),dB(X,Y)}function zM(X,Z){var Y=0;switch(X.tag){case 31:case 13:var{stateNode:G,memoizedState:$}=X;$!==null&&(Y=$.retryLane);break;case 19:G=X.stateNode;break;case 22:G=X.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}G!==null&&G.delete(Z),dB(X,Y)}function D3(X,Z,Y){if((Z.subtreeFlags&67117056)!==0)for(Z=Z.child;Z!==null;){var G=X,$=Z,Q=$.type===c0;Q=Y||Q,$.tag!==22?$.flags&67108864?Q&&i($,lB,G,$):D3(G,$,Q):$.memoizedState===null&&(Q&&$.flags&8192?i($,lB,G,$):$.subtreeFlags&67108864&&i($,D3,G,$,Q)),Z=Z.sibling}}function lB(X,Z){oX(!0);try{LB(Z),PB(Z),RB(X,Z.alternate,Z,!1),FB(X,Z,0,null,!1,0)}finally{oX(!1)}}function pB(X){var Z=!0;X.current.mode&(nZ|G4)||(Z=!1),D3(X,X.current,Z)}function cB(X){if((bX&fZ)===mZ){var Z=X.tag;if(Z===3||Z===1||Z===0||Z===11||Z===14||Z===15){if(Z=p(X)||"ReactComponent",jY!==null){if(jY.has(Z))return;jY.add(Z)}else jY=new Set([Z]);i(X,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function f8(X,Z){f4&&X.memoizedUpdaters.forEach(function(Y){$8(X,Y,Z)})}function HM(X,Z){var Y=f.actQueue;return Y!==null?(Y.push(Z),TL):_G(X,Z)}function WM(X){CB()&&f.actQueue===null&&i(X,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
+
|
|
168
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
+
|
|
170
|
+
act(() => {
|
|
171
|
+
/* fire events that update state */
|
|
172
|
+
});
|
|
173
|
+
/* assert on the output */
|
|
174
|
+
|
|
175
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,p(X))})}function w4(X){X!==t7&&X.next===null&&(t7===null?DY=t7=X:t7=t7.next=X),mY=!0,f.actQueue!==null?P$||(P$=!0,iB()):I$||(I$=!0,iB())}function b8(X,Z){if(!O$&&mY){O$=!0;do{var Y=!1;for(var G=DY;G!==null;){if(!Z)if(X!==0){var $=G.pendingLanes;if($===0)var Q=0;else{var{suspendedLanes:J,pingedLanes:B}=G;Q=(1<<31-sZ(42|X)+1)-1,Q&=$&~(J&~B),Q=Q&201326741?Q&201326741|1:Q?Q|2:0}Q!==0&&(Y=!0,oB(G,Q))}else Q=AX,Q=l4(G,G===XZ?Q:0,G.cancelPendingCommit!==null||G.timeoutHandle!==n6),(Q&3)===0||U4(G,Q)||(Y=!0,oB(G,Q));G=G.next}}while(Y);O$=!1}}function UM(){y9=window.event,m3()}function m3(){mY=P$=I$=!1;var X=0;X6!==0&&FM()&&(X=X6);for(var Z=VZ(),Y=null,G=DY;G!==null;){var $=G.next,Q=aB(G,Z);if(Q===0)G.next=null,Y===null?DY=$:Y.next=$,$===null&&(t7=Y);else if(Y=G,X!==0||(Q&3)!==0)mY=!0;G=$}kZ!==t5&&kZ!==bY||b8(X,!1),X6!==0&&(X6=0)}function aB(X,Z){for(var{suspendedLanes:Y,pingedLanes:G,expirationTimes:$}=X,Q=X.pendingLanes&-62914561;0<Q;){var J=31-sZ(Q),B=1<<J,z=$[J];if(z===-1){if((B&Y)===0||(B&G)!==0)$[J]=h(B,Z)}else z<=Z&&(X.expiredLanes|=B);Q&=~B}if(Z=XZ,Y=AX,Y=l4(X,X===Z?Y:0,X.cancelPendingCommit!==null||X.timeoutHandle!==n6),G=X.callbackNode,Y===0||X===Z&&(rX===h6||rX===u6)||X.cancelPendingCommit!==null)return G!==null&&E3(G),X.callbackNode=null,X.callbackPriority=0;if((Y&3)===0||U4(X,Y)){if(Z=Y&-Y,Z!==X.callbackPriority||f.actQueue!==null&&G!==C$)E3(G);else return Z;switch(q(Y)){case v2:case Y4:Y=AG;break;case b4:Y=I7;break;case s0:Y=NG;break;default:Y=I7}return G=nB.bind(null,X),f.actQueue!==null?(f.actQueue.push(G),Y=C$):Y=_G(Y,G),X.callbackPriority=Z,X.callbackNode=Y,Z}return G!==null&&E3(G),X.callbackPriority=2,X.callbackNode=null,2}function nB(X,Z){if(LY=KY=!1,y9=window.event,kZ!==t5&&kZ!==bY)return X.callbackNode=null,X.callbackPriority=0,null;var Y=X.callbackNode;if(z4===fY&&(z4=L$),y8()&&X.callbackNode!==Y)return null;var G=AX;if(G=l4(X,X===XZ?G:0,X.cancelPendingCommit!==null||X.timeoutHandle!==n6),G===0)return null;return wB(X,G,Z),aB(X,VZ()),X.callbackNode!=null&&X.callbackNode===Y?nB.bind(null,X):null}function oB(X,Z){if(y8())return null;KY=LY,LY=!1,wB(X,Z,!0)}function E3(X){X!==C$&&X!==null&&XK(X)}function iB(){f.actQueue!==null&&f.actQueue.push(function(){return m3(),null}),jL(function(){(bX&(fZ|f2))!==mZ?_G(FG,UM):m3()})}function x3(){if(X6===0){var X=b6;X===0&&(X=o0,o0<<=1,(o0&261888)===0&&(o0=256)),X6=X}return X6}function rB(X){if(X==null||typeof X==="symbol"||typeof X==="boolean")return null;if(typeof X==="function")return X;return lX(X,"action"),W8(""+X)}function sB(X,Z){var Y=Z.ownerDocument.createElement("input");return Y.name=Z.name,Y.value=Z.value,X.id&&Y.setAttribute("form",X.id),Z.parentNode.insertBefore(Y,Z),X=new FormData(X),Y.parentNode.removeChild(Y),X}function qM(X,Z,Y,G,$){if(Z==="submit"&&Y&&Y.stateNode===$){var Q=rB(($[tZ]||null).action),J=G.submitter;J&&(Z=(Z=J[tZ]||null)?rB(Z.formAction):J.getAttribute("formAction"),Z!==null&&(Q=Z,J=null));var B=new YY("action","action",null,G,$);X.push({event:B,listeners:[{instance:null,listener:function(){if(G.defaultPrevented){if(X6!==0){var z=J?sB($,J):new FormData($),U={pending:!0,data:z,method:$.method,action:Q};Object.freeze(U),Q3(Y,U,null,z)}}else typeof Q==="function"&&(B.preventDefault(),z=J?sB($,J):new FormData($),U={pending:!0,data:z,method:$.method,action:Q},Object.freeze(U),Q3(Y,U,Q,z))},currentTarget:$}]})}}function V0(X,Z,Y){X.currentTarget=Y;try{Z(X)}catch(G){DG(G)}X.currentTarget=null}function tB(X,Z){Z=(Z&4)!==0;for(var Y=0;Y<X.length;Y++){var G=X[Y];X:{var $=void 0,Q=G.event;if(G=G.listeners,Z)for(var J=G.length-1;0<=J;J--){var B=G[J],z=B.instance,U=B.currentTarget;if(B=B.listener,z!==$&&Q.isPropagationStopped())break X;z!==null?i(z,V0,Q,B,U):V0(Q,B,U),$=z}else for(J=0;J<G.length;J++){if(B=G[J],z=B.instance,U=B.currentTarget,B=B.listener,z!==$&&Q.isPropagationStopped())break X;z!==null?i(z,V0,Q,B,U):V0(Q,B,U),$=z}}}}function kX(X,Z){T$.has(X)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',X);var Y=Z[IG];Y===void 0&&(Y=Z[IG]=new Set);var G=X+"__bubble";Y.has(G)||(eB(Z,X,2,!1),Y.add(G))}function h3(X,Z,Y){T$.has(X)&&!Z&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',X);var G=0;Z&&(G|=4),eB(Y,X,G,Z)}function u3(X){if(!X[EY]){X[EY]=!0,iz.forEach(function(Y){Y!=="selectionchange"&&(T$.has(Y)||h3(Y,!1,X),h3(Y,!0,X))});var Z=X.nodeType===9?X:X.ownerDocument;Z===null||Z[EY]||(Z[EY]=!0,h3("selectionchange",!1,Z))}}function eB(X,Z,Y,G){switch(fz(Z)){case v2:var $=aM;break;case Y4:$=nM;break;default:$=GG}Y=$.bind(null,Z,Y,X),$=void 0,!wG||Z!=="touchstart"&&Z!=="touchmove"&&Z!=="wheel"||($=!0),G?$!==void 0?X.addEventListener(Z,Y,{capture:!0,passive:$}):X.addEventListener(Z,Y,!0):$!==void 0?X.addEventListener(Z,Y,{passive:$}):X.addEventListener(Z,Y,!1)}function d3(X,Z,Y,G,$){var Q=G;if((Z&1)===0&&(Z&2)===0&&G!==null)X:for(;;){if(G===null)return;var J=G.tag;if(J===3||J===4){var B=G.stateNode.containerInfo;if(B===$)break;if(J===4)for(J=G.return;J!==null;){var z=J.tag;if((z===3||z===4)&&J.stateNode.containerInfo===$)return;J=J.return}for(;B!==null;){if(J=r(B),J===null)return;if(z=J.tag,z===5||z===6||z===26||z===27){G=Q=J;continue X}B=B.parentNode}}G=G.return}WQ(function(){var U=Q,P=W1(Y),O=[];X:{var F=fH.get(X);if(F!==void 0){var g=YY,u=X;switch(X){case"keypress":if(d9(Y)===0)break X;case"keydown":case"keyup":g=uK;break;case"focusin":u="focus",g=gG;break;case"focusout":u="blur",g=gG;break;case"beforeblur":case"afterblur":g=gG;break;case"click":if(Y.button===2)break X;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=FH;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=kK;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=pK;break;case vH:case kH:case gH:g=fK;break;case yH:g=aK;break;case"scroll":case"scrollend":g=SK;break;case"wheel":g=oK;break;case"copy":case"cut":case"paste":g=VK;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=NH;break;case"toggle":case"beforetoggle":g=rK}var o=(Z&4)!==0,GZ=!o&&(X==="scroll"||X==="scrollend"),gX=o?F!==null?F+"Capture":null:F;o=[];for(var _=U,A;_!==null;){var I=_;if(A=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||A===null||gX===null||(I=U8(_,gX),I!=null&&o.push(V8(_,I,A))),GZ)break;_=_.return}0<o.length&&(F=new g(F,u,null,Y,P),O.push({event:F,listeners:o}))}}if((Z&7)===0){X:{if(F=X==="mouseover"||X==="pointerover",g=X==="mouseout"||X==="pointerout",F&&Y!==c8&&(u=Y.relatedTarget||Y.fromElement)&&(r(u)||u[j5]))break X;if(g||F){if(F=P.window===P?P:(F=P.ownerDocument)?F.defaultView||F.parentWindow:window,g){if(u=Y.relatedTarget||Y.toElement,g=U,u=u?r(u):null,u!==null&&(GZ=aX(u),o=u.tag,u!==GZ||o!==5&&o!==27&&o!==6))u=null}else g=null,u=U;if(g!==u){if(o=FH,I="onMouseLeave",gX="onMouseEnter",_="mouse",X==="pointerout"||X==="pointerover")o=NH,I="onPointerLeave",gX="onPointerEnter",_="pointer";if(GZ=g==null?F:KX(g),A=u==null?F:KX(u),F=new o(I,_+"leave",g,Y,P),F.target=GZ,F.relatedTarget=A,I=null,r(P)===U&&(o=new o(gX,_+"enter",u,Y,P),o.target=A,o.relatedTarget=GZ,I=o),GZ=I,g&&u)Z:{o=MM,gX=g,_=u,A=0;for(I=gX;I;I=o(I))A++;I=0;for(var b=_;b;b=o(b))I++;for(;0<A-I;)gX=o(gX),A--;for(;0<I-A;)_=o(_),I--;for(;A--;){if(gX===_||_!==null&&gX===_.alternate){o=gX;break Z}gX=o(gX),_=o(_)}o=null}else o=null;g!==null&&Xz(O,F,g,o,!1),u!==null&&GZ!==null&&Xz(O,GZ,u,o,!0)}}}X:{if(F=U?KX(U):window,g=F.nodeName&&F.nodeName.toLowerCase(),g==="select"||g==="input"&&F.type==="file")var a=_Q;else if(LQ(F))if(wH)a=Tq;else{a=Oq;var UX=Pq}else g=F.nodeName,!g||g.toLowerCase()!=="input"||F.type!=="checkbox"&&F.type!=="radio"?U&&H8(U.elementType)&&(a=_Q):a=Cq;if(a&&(a=a(X,U))){RQ(O,a,Y,P);break X}UX&&UX(X,F,U),X==="focusout"&&U&&F.type==="number"&&U.memoizedProps.value!=null&&$1(F,"number",F.value)}switch(UX=U?KX(U):window,X){case"focusin":if(LQ(UX)||UX.contentEditable==="true")k7=UX,fG=U,t8=null;break;case"focusout":t8=fG=k7=null;break;case"mousedown":bG=!0;break;case"contextmenu":case"mouseup":case"dragend":bG=!1,CQ(O,Y,P);break;case"selectionchange":if(XL)break;case"keydown":case"keyup":CQ(O,Y,P)}var e;if(yG)X:{switch(X){case"compositionstart":var s="onCompositionStart";break X;case"compositionend":s="onCompositionEnd";break X;case"compositionupdate":s="onCompositionUpdate";break X}s=void 0}else v7?MQ(X,Y)&&(s="onCompositionEnd"):X==="keydown"&&Y.keyCode===IH&&(s="onCompositionStart");if(s&&(PH&&Y.locale!=="ko"&&(v7||s!=="onCompositionStart"?s==="onCompositionEnd"&&v7&&(e=UQ()):(D5=P,SG=("value"in D5)?D5.value:D5.textContent,v7=!0)),UX=j0(U,s),0<UX.length&&(s=new AH(s,X,null,Y,P),O.push({event:s,listeners:UX}),e?s.data=e:(e=KQ(Y),e!==null&&(s.data=e)))),e=tK?Fq(X,Y):Aq(X,Y))s=j0(U,"onBeforeInput"),0<s.length&&(UX=new DK("onBeforeInput","beforeinput",null,Y,P),O.push({event:UX,listeners:s}),UX.data=e);qM(O,X,U,Y,P)}tB(O,Z)})}function V8(X,Z,Y){return{instance:X,listener:Z,currentTarget:Y}}function j0(X,Z){for(var Y=Z+"Capture",G=[];X!==null;){var $=X,Q=$.stateNode;if($=$.tag,$!==5&&$!==26&&$!==27||Q===null||($=U8(X,Y),$!=null&&G.unshift(V8(X,$,Q)),$=U8(X,Z),$!=null&&G.push(V8(X,$,Q))),X.tag===3)return G;X=X.return}return[]}function MM(X){if(X===null)return null;do X=X.return;while(X&&X.tag!==5&&X.tag!==27);return X?X:null}function Xz(X,Z,Y,G,$){for(var Q=Z._reactName,J=[];Y!==null&&Y!==G;){var B=Y,z=B.alternate,U=B.stateNode;if(B=B.tag,z!==null&&z===G)break;B!==5&&B!==26&&B!==27||U===null||(z=U,$?(U=U8(Y,Q),U!=null&&J.unshift(V8(Y,U,z))):$||(U=U8(Y,Q),U!=null&&J.push(V8(Y,U,z)))),Y=Y.return}J.length!==0&&X.push({event:Z,listeners:J})}function l3(X,Z){Kq(X,Z),X!=="input"&&X!=="textarea"&&X!=="select"||Z==null||Z.value!==null||RH||(RH=!0,X==="select"&&Z.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",X):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",X));var Y={registrationNameDependencies:S6,possibleRegistrationNames:PG};H8(X)||typeof Z.is==="string"||Rq(X,Z,Y),Z.contentEditable&&!Z.suppressContentEditableWarning&&Z.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function bZ(X,Z,Y,G){Z!==Y&&(Y=g5(Y),g5(Z)!==Y&&(G[X]=Z))}function KM(X,Z,Y){Z.forEach(function(G){Y[Gz(G)]=G==="style"?c3(X):X.getAttribute(G)})}function S4(X,Z){Z===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",X,X,X):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",X,typeof Z)}function Zz(X,Z){return X=X.namespaceURI===e0||X.namespaceURI===C7?X.ownerDocument.createElementNS(X.namespaceURI,X.tagName):X.ownerDocument.createElement(X.tagName),X.innerHTML=Z,X.innerHTML}function g5(X){return Q2(X)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",u4(X)),nX(X)),(typeof X==="string"?X:""+X).replace(wL,`
|
|
176
|
+
`).replace(SL,"")}function Yz(X,Z){return Z=g5(Z),g5(X)===Z?!0:!1}function tX(X,Z,Y,G,$,Q){switch(Y){case"children":if(typeof G==="string")u9(G,Z,!1),Z==="body"||Z==="textarea"&&G===""||z8(X,G);else if(typeof G==="number"||typeof G==="bigint")u9(""+G,Z,!1),Z!=="body"&&z8(X,""+G);break;case"className":E9(X,"class",G);break;case"tabIndex":E9(X,"tabindex",G);break;case"dir":case"role":case"viewBox":case"width":case"height":E9(X,Y,G);break;case"style":BQ(X,G,Q);break;case"data":if(Z!=="object"){E9(X,"data",G);break}case"src":case"href":if(G===""&&(Z!=="a"||Y!=="href")){Y==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Y,Y):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Y,Y),X.removeAttribute(Y);break}if(G==null||typeof G==="function"||typeof G==="symbol"||typeof G==="boolean"){X.removeAttribute(Y);break}lX(G,Y),G=W8(""+G),X.setAttribute(Y,G);break;case"action":case"formAction":if(G!=null&&(Z==="form"?Y==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof G==="function"&&($.encType==null&&$.method==null||uY||(uY=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),$.target==null||hY||(hY=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):Z==="input"||Z==="button"?Y==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Z!=="input"||$.type==="submit"||$.type==="image"||xY?Z!=="button"||$.type==null||$.type==="submit"||xY?typeof G==="function"&&($.name==null||ZU||(ZU=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),$.formEncType==null&&$.formMethod==null||uY||(uY=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),$.formTarget==null||hY||(hY=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(xY=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(xY=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Y==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof G==="function"){X.setAttribute(Y,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof Q==="function"&&(Y==="formAction"?(Z!=="input"&&tX(X,Z,"name",$.name,$,null),tX(X,Z,"formEncType",$.formEncType,$,null),tX(X,Z,"formMethod",$.formMethod,$,null),tX(X,Z,"formTarget",$.formTarget,$,null)):(tX(X,Z,"encType",$.encType,$,null),tX(X,Z,"method",$.method,$,null),tX(X,Z,"target",$.target,$,null)));if(G==null||typeof G==="symbol"||typeof G==="boolean"){X.removeAttribute(Y);break}lX(G,Y),G=W8(""+G),X.setAttribute(Y,G);break;case"onClick":G!=null&&(typeof G!=="function"&&S4(Y,G),X.onclick=c4);break;case"onScroll":G!=null&&(typeof G!=="function"&&S4(Y,G),kX("scroll",X));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&S4(Y,G),kX("scrollend",X));break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=G.__html,Y!=null){if($.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=Y}}break;case"multiple":X.multiple=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"muted":X.muted=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(G==null||typeof G==="function"||typeof G==="boolean"||typeof G==="symbol"){X.removeAttribute("xlink:href");break}lX(G,Y),Y=W8(""+G),X.setAttributeNS(p6,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(lX(G,Y),X.setAttribute(Y,""+G)):X.removeAttribute(Y);break;case"inert":G!==""||dY[Y]||(dY[Y]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",Y));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":G&&typeof G!=="function"&&typeof G!=="symbol"?X.setAttribute(Y,""):X.removeAttribute(Y);break;case"capture":case"download":G===!0?X.setAttribute(Y,""):G!==!1&&G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(lX(G,Y),X.setAttribute(Y,G)):X.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":G!=null&&typeof G!=="function"&&typeof G!=="symbol"&&!isNaN(G)&&1<=G?(lX(G,Y),X.setAttribute(Y,G)):X.removeAttribute(Y);break;case"rowSpan":case"start":G==null||typeof G==="function"||typeof G==="symbol"||isNaN(G)?X.removeAttribute(Y):(lX(G,Y),X.setAttribute(Y,G));break;case"popover":kX("beforetoggle",X),kX("toggle",X),m9(X,"popover",G);break;case"xlinkActuate":p4(X,p6,"xlink:actuate",G);break;case"xlinkArcrole":p4(X,p6,"xlink:arcrole",G);break;case"xlinkRole":p4(X,p6,"xlink:role",G);break;case"xlinkShow":p4(X,p6,"xlink:show",G);break;case"xlinkTitle":p4(X,p6,"xlink:title",G);break;case"xlinkType":p4(X,p6,"xlink:type",G);break;case"xmlBase":p4(X,w$,"xml:base",G);break;case"xmlLang":p4(X,w$,"xml:lang",G);break;case"xmlSpace":p4(X,w$,"xml:space",G);break;case"is":Q!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),m9(X,"is",G);break;case"innerText":case"textContent":break;case"popoverTarget":YU||G==null||typeof G!=="object"||(YU=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",G));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=zQ(Y),m9(X,Y,G)):S6.hasOwnProperty(Y)&&G!=null&&typeof G!=="function"&&S4(Y,G)}}function p3(X,Z,Y,G,$,Q){switch(Y){case"style":BQ(X,G,Q);break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=G.__html,Y!=null){if($.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=Y}}break;case"children":typeof G==="string"?z8(X,G):(typeof G==="number"||typeof G==="bigint")&&z8(X,""+G);break;case"onScroll":G!=null&&(typeof G!=="function"&&S4(Y,G),kX("scroll",X));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&S4(Y,G),kX("scrollend",X));break;case"onClick":G!=null&&(typeof G!=="function"&&S4(Y,G),X.onclick=c4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(S6.hasOwnProperty(Y))G!=null&&typeof G!=="function"&&S4(Y,G);else X:{if(Y[0]==="o"&&Y[1]==="n"&&($=Y.endsWith("Capture"),Z=Y.slice(2,$?Y.length-7:void 0),Q=X[tZ]||null,Q=Q!=null?Q[Y]:null,typeof Q==="function"&&X.removeEventListener(Z,Q,$),typeof G==="function")){typeof Q!=="function"&&Q!==null&&(Y in X?X[Y]=null:X.hasAttribute(Y)&&X.removeAttribute(Y)),X.addEventListener(Z,G,$);break X}Y in X?X[Y]=G:G===!0?X.setAttribute(Y,""):m9(X,Y,G)}}}function hZ(X,Z,Y){switch(l3(Z,Y),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":kX("error",X),kX("load",X);var G=!1,$=!1,Q;for(Q in Y)if(Y.hasOwnProperty(Q)){var J=Y[Q];if(J!=null)switch(Q){case"src":G=!0;break;case"srcSet":$=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:tX(X,Z,Q,J,Y,null)}}$&&tX(X,Z,"srcSet",Y.srcSet,Y,null),G&&tX(X,Z,"src",Y.src,Y,null);return;case"input":A5("input",Y),kX("invalid",X);var B=Q=J=$=null,z=null,U=null;for(G in Y)if(Y.hasOwnProperty(G)){var P=Y[G];if(P!=null)switch(G){case"name":$=P;break;case"type":J=P;break;case"checked":z=P;break;case"defaultChecked":U=P;break;case"value":Q=P;break;case"defaultValue":B=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:tX(X,Z,G,P,Y,null)}}c$(X,Y),a$(X,Q,B,z,U,J,$,!1);return;case"select":A5("select",Y),kX("invalid",X),G=J=Q=null;for($ in Y)if(Y.hasOwnProperty($)&&(B=Y[$],B!=null))switch($){case"value":Q=B;break;case"defaultValue":J=B;break;case"multiple":G=B;default:tX(X,Z,$,B,Y,null)}i$(X,Y),Z=Q,Y=J,X.multiple=!!G,Z!=null?Z7(X,!!G,Z,!1):Y!=null&&Z7(X,!!G,Y,!0);return;case"textarea":A5("textarea",Y),kX("invalid",X),Q=$=G=null;for(J in Y)if(Y.hasOwnProperty(J)&&(B=Y[J],B!=null))switch(J){case"value":G=B;break;case"defaultValue":$=B;break;case"children":Q=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:tX(X,Z,J,B,Y,null)}r$(X,Y),t$(X,G,$,Q);return;case"option":n$(X,Y);for(z in Y)if(Y.hasOwnProperty(z)&&(G=Y[z],G!=null))switch(z){case"selected":X.selected=G&&typeof G!=="function"&&typeof G!=="symbol";break;default:tX(X,Z,z,G,Y,null)}return;case"dialog":kX("beforetoggle",X),kX("toggle",X),kX("cancel",X),kX("close",X);break;case"iframe":case"object":kX("load",X);break;case"video":case"audio":for(G=0;G<v9.length;G++)kX(v9[G],X);break;case"image":kX("error",X),kX("load",X);break;case"details":kX("toggle",X);break;case"embed":case"source":case"link":kX("error",X),kX("load",X);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in Y)if(Y.hasOwnProperty(U)&&(G=Y[U],G!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:tX(X,Z,U,G,Y,null)}return;default:if(H8(Z)){for(P in Y)Y.hasOwnProperty(P)&&(G=Y[P],G!==void 0&&p3(X,Z,P,G,Y,void 0));return}}for(B in Y)Y.hasOwnProperty(B)&&(G=Y[B],G!=null&&tX(X,Z,B,G,Y,null))}function LM(X,Z,Y,G){switch(l3(Z,G),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var $=null,Q=null,J=null,B=null,z=null,U=null,P=null;for(g in Y){var O=Y[g];if(Y.hasOwnProperty(g)&&O!=null)switch(g){case"checked":break;case"value":break;case"defaultValue":z=O;default:G.hasOwnProperty(g)||tX(X,Z,g,null,G,O)}}for(var F in G){var g=G[F];if(O=Y[F],G.hasOwnProperty(F)&&(g!=null||O!=null))switch(F){case"type":Q=g;break;case"name":$=g;break;case"checked":U=g;break;case"defaultChecked":P=g;break;case"value":J=g;break;case"defaultValue":B=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:g!==O&&tX(X,Z,F,g,G,O)}}Z=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,G=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,Z||!G||XU||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),XU=!0),!Z||G||eW||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),eW=!0),G1(X,J,B,z,U,P,Q,$);return;case"select":g=J=B=F=null;for(Q in Y)if(z=Y[Q],Y.hasOwnProperty(Q)&&z!=null)switch(Q){case"value":break;case"multiple":g=z;default:G.hasOwnProperty(Q)||tX(X,Z,Q,null,G,z)}for($ in G)if(Q=G[$],z=Y[$],G.hasOwnProperty($)&&(Q!=null||z!=null))switch($){case"value":F=Q;break;case"defaultValue":B=Q;break;case"multiple":J=Q;default:Q!==z&&tX(X,Z,$,Q,G,z)}G=B,Z=J,Y=g,F!=null?Z7(X,!!Z,F,!1):!!Y!==!!Z&&(G!=null?Z7(X,!!Z,G,!0):Z7(X,!!Z,Z?[]:"",!1));return;case"textarea":g=F=null;for(B in Y)if($=Y[B],Y.hasOwnProperty(B)&&$!=null&&!G.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:tX(X,Z,B,null,G,$)}for(J in G)if($=G[J],Q=Y[J],G.hasOwnProperty(J)&&($!=null||Q!=null))switch(J){case"value":F=$;break;case"defaultValue":g=$;break;case"children":break;case"dangerouslySetInnerHTML":if($!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:$!==Q&&tX(X,Z,J,$,G,Q)}s$(X,F,g);return;case"option":for(var u in Y)if(F=Y[u],Y.hasOwnProperty(u)&&F!=null&&!G.hasOwnProperty(u))switch(u){case"selected":X.selected=!1;break;default:tX(X,Z,u,null,G,F)}for(z in G)if(F=G[z],g=Y[z],G.hasOwnProperty(z)&&F!==g&&(F!=null||g!=null))switch(z){case"selected":X.selected=F&&typeof F!=="function"&&typeof F!=="symbol";break;default:tX(X,Z,z,F,G,g)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var o in Y)F=Y[o],Y.hasOwnProperty(o)&&F!=null&&!G.hasOwnProperty(o)&&tX(X,Z,o,null,G,F);for(U in G)if(F=G[U],g=Y[U],G.hasOwnProperty(U)&&F!==g&&(F!=null||g!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:tX(X,Z,U,F,G,g)}return;default:if(H8(Z)){for(var GZ in Y)F=Y[GZ],Y.hasOwnProperty(GZ)&&F!==void 0&&!G.hasOwnProperty(GZ)&&p3(X,Z,GZ,void 0,G,F);for(P in G)F=G[P],g=Y[P],!G.hasOwnProperty(P)||F===g||F===void 0&&g===void 0||p3(X,Z,P,F,G,g);return}}for(var gX in Y)F=Y[gX],Y.hasOwnProperty(gX)&&F!=null&&!G.hasOwnProperty(gX)&&tX(X,Z,gX,null,G,F);for(O in G)F=G[O],g=Y[O],!G.hasOwnProperty(O)||F===g||F==null&&g==null||tX(X,Z,O,F,G,g)}function Gz(X){switch(X){case"class":return"className";case"for":return"htmlFor";default:return X}}function c3(X){var Z={};X=X.style;for(var Y=0;Y<X.length;Y++){var G=X[Y];Z[G]=X.getPropertyValue(G)}return Z}function $z(X,Z,Y){if(Z!=null&&typeof Z!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var G,$=G="",Q;for(Q in Z)if(Z.hasOwnProperty(Q)){var J=Z[Q];J!=null&&typeof J!=="boolean"&&J!==""&&(Q.indexOf("--")===0?(_5(J,Q),G+=$+Q+":"+(""+J).trim()):typeof J!=="number"||J===0||KH.has(Q)?(_5(J,Q),G+=$+Q.replace(HH,"-$1").toLowerCase().replace(WH,"-ms-")+":"+(""+J).trim()):G+=$+Q.replace(HH,"-$1").toLowerCase().replace(WH,"-ms-")+":"+J+"px",$=";")}G=G||null,Z=X.getAttribute("style"),Z!==G&&(G=g5(G),g5(Z)!==G&&(Y.style=c3(X)))}}function E2(X,Z,Y,G,$,Q){if($.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(lX(G,Z),X===""+G)return}bZ(Z,X,G,Q)}function Qz(X,Z,Y,G,$,Q){if($.delete(Y),X=X.getAttribute(Y),X===null){switch(typeof G){case"function":case"symbol":return}if(!G)return}else switch(typeof G){case"function":case"symbol":break;default:if(G)return}bZ(Z,X,G,Q)}function a3(X,Z,Y,G,$,Q){if($.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":return}else if(G!=null)switch(typeof G){case"function":case"symbol":break;default:if(lX(G,Y),X===""+G)return}bZ(Z,X,G,Q)}function Jz(X,Z,Y,G,$,Q){if($.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(G))return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(!isNaN(G)&&(lX(G,Z),X===""+G))return}bZ(Z,X,G,Q)}function n3(X,Z,Y,G,$,Q){if($.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(lX(G,Z),Y=W8(""+G),X===Y)return}bZ(Z,X,G,Q)}function Bz(X,Z,Y,G){for(var $={},Q=new Set,J=X.attributes,B=0;B<J.length;B++)switch(J[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:Q.add(J[B].name)}if(H8(Z)){for(var z in Y)if(Y.hasOwnProperty(z)){var U=Y[z];if(U!=null){if(S6.hasOwnProperty(z))typeof U!=="function"&&S4(z,U);else if(Y.suppressHydrationWarning!==!0)switch(z){case"children":typeof U!=="string"&&typeof U!=="number"||bZ("children",X.textContent,U,$);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":J=X.innerHTML,U=U?U.__html:void 0,U!=null&&(U=Zz(X,U),bZ(z,J,U,$));continue;case"style":Q.delete(z),$z(X,U,$);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":Q.delete(z.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",z);continue;case"className":Q.delete("class"),J=d$(X,"class",U),bZ("className",J,U,$);continue;default:G.context===M5&&Z!=="svg"&&Z!=="math"?Q.delete(z.toLowerCase()):Q.delete(z),J=d$(X,z,U),bZ(z,J,U,$)}}}}else for(U in Y)if(Y.hasOwnProperty(U)&&(z=Y[U],z!=null)){if(S6.hasOwnProperty(U))typeof z!=="function"&&S4(U,z);else if(Y.suppressHydrationWarning!==!0)switch(U){case"children":typeof z!=="string"&&typeof z!=="number"||bZ("children",X.textContent,z,$);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":J=X.innerHTML,z=z?z.__html:void 0,z!=null&&(z=Zz(X,z),J!==z&&($[U]={__html:J}));continue;case"className":E2(X,U,"class",z,Q,$);continue;case"tabIndex":E2(X,U,"tabindex",z,Q,$);continue;case"style":Q.delete(U),$z(X,z,$);continue;case"multiple":Q.delete(U),bZ(U,X.multiple,z,$);continue;case"muted":Q.delete(U),bZ(U,X.muted,z,$);continue;case"autoFocus":Q.delete("autofocus"),bZ(U,X.autofocus,z,$);continue;case"data":if(Z!=="object"){Q.delete(U),J=X.getAttribute("data"),bZ(U,J,z,$);continue}case"src":case"href":if(!(z!==""||Z==="a"&&U==="href"||Z==="object"&&U==="data")){U==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',U,U):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',U,U);continue}n3(X,U,U,z,Q,$);continue;case"action":case"formAction":if(J=X.getAttribute(U),typeof z==="function"){Q.delete(U.toLowerCase()),U==="formAction"?(Q.delete("name"),Q.delete("formenctype"),Q.delete("formmethod"),Q.delete("formtarget")):(Q.delete("enctype"),Q.delete("method"),Q.delete("target"));continue}else if(J===vL){Q.delete(U.toLowerCase()),bZ(U,"function",z,$);continue}n3(X,U,U.toLowerCase(),z,Q,$);continue;case"xlinkHref":n3(X,U,"xlink:href",z,Q,$);continue;case"contentEditable":a3(X,U,"contenteditable",z,Q,$);continue;case"spellCheck":a3(X,U,"spellcheck",z,Q,$);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a3(X,U,U,z,Q,$);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Qz(X,U,U.toLowerCase(),z,Q,$);continue;case"capture":case"download":X:{B=X;var P=J=U,O=$;if(Q.delete(P),B=B.getAttribute(P),B===null)switch(typeof z){case"undefined":case"function":case"symbol":break X;default:if(z===!1)break X}else if(z!=null)switch(typeof z){case"function":case"symbol":break;case"boolean":if(z===!0&&B==="")break X;break;default:if(lX(z,J),B===""+z)break X}bZ(J,B,z,O)}continue;case"cols":case"rows":case"size":case"span":X:{if(B=X,P=J=U,O=$,Q.delete(P),B=B.getAttribute(P),B===null)switch(typeof z){case"undefined":case"function":case"symbol":case"boolean":break X;default:if(isNaN(z)||1>z)break X}else if(z!=null)switch(typeof z){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(z)||1>z)&&(lX(z,J),B===""+z))break X}bZ(J,B,z,O)}continue;case"rowSpan":Jz(X,U,"rowspan",z,Q,$);continue;case"start":Jz(X,U,U,z,Q,$);continue;case"xHeight":E2(X,U,"x-height",z,Q,$);continue;case"xlinkActuate":E2(X,U,"xlink:actuate",z,Q,$);continue;case"xlinkArcrole":E2(X,U,"xlink:arcrole",z,Q,$);continue;case"xlinkRole":E2(X,U,"xlink:role",z,Q,$);continue;case"xlinkShow":E2(X,U,"xlink:show",z,Q,$);continue;case"xlinkTitle":E2(X,U,"xlink:title",z,Q,$);continue;case"xlinkType":E2(X,U,"xlink:type",z,Q,$);continue;case"xmlBase":E2(X,U,"xml:base",z,Q,$);continue;case"xmlLang":E2(X,U,"xml:lang",z,Q,$);continue;case"xmlSpace":E2(X,U,"xml:space",z,Q,$);continue;case"inert":z!==""||dY[U]||(dY[U]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",U)),Qz(X,U,U,z,Q,$);continue;default:if(!(2<U.length)||U[0]!=="o"&&U[0]!=="O"||U[1]!=="n"&&U[1]!=="N"){B=zQ(U),J=!1,G.context===M5&&Z!=="svg"&&Z!=="math"?Q.delete(B.toLowerCase()):(P=U.toLowerCase(),P=XY.hasOwnProperty(P)?XY[P]||null:null,P!==null&&P!==U&&(J=!0,Q.delete(P)),Q.delete(B));X:if(P=X,O=B,B=z,Q8(O))if(P.hasAttribute(O))P=P.getAttribute(O),lX(B,O),B=P===""+B?B:P;else{switch(typeof B){case"function":case"symbol":break X;case"boolean":if(P=O.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")break X}B=B===void 0?void 0:null}else B=void 0;J||bZ(U,B,z,$)}}}return 0<Q.size&&Y.suppressHydrationWarning!==!0&&KM(X,Q,$),Object.keys($).length===0?null:$}function RM(X,Z){switch(X.length){case 0:return"";case 1:return X[0];case 2:return X[0]+" "+Z+" "+X[1];default:return X.slice(0,-1).join(", ")+", "+Z+" "+X[X.length-1]}}function zz(X){switch(X){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _M(){if(typeof performance.getEntriesByType==="function"){for(var X=0,Z=0,Y=performance.getEntriesByType("resource"),G=0;G<Y.length;G++){var $=Y[G],Q=$.transferSize,J=$.initiatorType,B=$.duration;if(Q&&B&&zz(J)){J=0,B=$.responseEnd;for(G+=1;G<Y.length;G++){var z=Y[G],U=z.startTime;if(U>B)break;var{transferSize:P,initiatorType:O}=z;P&&zz(O)&&(z=z.responseEnd,J+=P*(z<B?1:(B-U)/(z-U)))}if(--G,Z+=8*(Q+J)/($.duration/1000),X++,10<X)break}}if(0<X)return Z/X/1e6}return navigator.connection&&(X=navigator.connection.downlink,typeof X==="number")?X:5}function D0(X){return X.nodeType===9?X:X.ownerDocument}function Hz(X){switch(X){case C7:return X8;case e0:return pY;default:return M5}}function Wz(X,Z){if(X===M5)switch(Z){case"svg":return X8;case"math":return pY;default:return M5}return X===X8&&Z==="foreignObject"?M5:X}function o3(X,Z){return X==="textarea"||X==="noscript"||typeof Z.children==="string"||typeof Z.children==="number"||typeof Z.children==="bigint"||typeof Z.dangerouslySetInnerHTML==="object"&&Z.dangerouslySetInnerHTML!==null&&Z.dangerouslySetInnerHTML.__html!=null}function FM(){var X=window.event;if(X&&X.type==="popstate"){if(X===g$)return!1;return g$=X,!0}return g$=null,!1}function j8(){var X=window.event;return X&&X!==y9?X.type:null}function D8(){var X=window.event;return X&&X!==y9?X.timeStamp:-1.1}function AM(X){setTimeout(function(){throw X})}function NM(X,Z,Y){switch(Z){case"button":case"input":case"select":case"textarea":Y.autoFocus&&X.focus();break;case"img":Y.src?X.src=Y.src:Y.srcSet&&(X.srcset=Y.srcSet)}}function IM(){}function PM(X,Z,Y,G){LM(X,Z,Y,G),X[tZ]=G}function Uz(X){z8(X,"")}function OM(X,Z,Y){X.nodeValue=Y}function qz(X){if(!X.__reactWarnedAboutChildrenConflict){var Z=X[tZ]||null;if(Z!==null){var Y=MX(X);Y!==null&&(typeof Z.children==="string"||typeof Z.children==="number"?(X.__reactWarnedAboutChildrenConflict=!0,i(Y,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):Z.dangerouslySetInnerHTML!=null&&(X.__reactWarnedAboutChildrenConflict=!0,i(Y,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function y5(X){return X==="head"}function CM(X,Z){X.removeChild(Z)}function TM(X,Z){(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).removeChild(Z)}function Mz(X,Z){var Y=Z,G=0;do{var $=Y.nextSibling;if(X.removeChild(Y),$&&$.nodeType===8)if(Y=$.data,Y===g9||Y===lY){if(G===0){X.removeChild($),F7(Z);return}G--}else if(Y===k9||Y===Z6||Y===a6||Y===e7||Y===c6)G++;else if(Y===gL)m8(X.ownerDocument.documentElement);else if(Y===fL){Y=X.ownerDocument.head,m8(Y);for(var Q=Y.firstChild;Q;){var{nextSibling:J,nodeName:B}=Q;Q[p8]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&Q.rel.toLowerCase()==="stylesheet"||Y.removeChild(Q),Q=J}}else Y===yL&&m8(X.ownerDocument.body);Y=$}while(Y);F7(Z)}function Kz(X,Z){var Y=X;X=0;do{var G=Y.nextSibling;if(Y.nodeType===1?Z?(Y._stashedDisplay=Y.style.display,Y.style.display="none"):(Y.style.display=Y._stashedDisplay||"",Y.getAttribute("style")===""&&Y.removeAttribute("style")):Y.nodeType===3&&(Z?(Y._stashedText=Y.nodeValue,Y.nodeValue=""):Y.nodeValue=Y._stashedText||""),G&&G.nodeType===8)if(Y=G.data,Y===g9)if(X===0)break;else X--;else Y!==k9&&Y!==Z6&&Y!==a6&&Y!==e7||X++;Y=G}while(Y)}function wM(X){Kz(X,!0)}function SM(X){X=X.style,typeof X.setProperty==="function"?X.setProperty("display","none","important"):X.display="none"}function vM(X){X.nodeValue=""}function kM(X){Kz(X,!1)}function gM(X,Z){Z=Z[bL],Z=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null,X.style.display=Z==null||typeof Z==="boolean"?"":(""+Z).trim()}function yM(X,Z){X.nodeValue=Z}function i3(X){var Z=X.firstChild;Z&&Z.nodeType===10&&(Z=Z.nextSibling);for(;Z;){var Y=Z;switch(Z=Z.nextSibling,Y.nodeName){case"HTML":case"HEAD":case"BODY":i3(Y),c(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}X.removeChild(Y)}}function fM(X,Z,Y,G){for(;X.nodeType===1;){var $=Y;if(X.nodeName.toLowerCase()!==Z.toLowerCase()){if(!G&&(X.nodeName!=="INPUT"||X.type!=="hidden"))break}else if(!G)if(Z==="input"&&X.type==="hidden"){lX($.name,"name");var Q=$.name==null?null:""+$.name;if($.type==="hidden"&&X.getAttribute("name")===Q)return X}else return X;else if(!X[p8])switch(Z){case"meta":if(!X.hasAttribute("itemprop"))break;return X;case"link":if(Q=X.getAttribute("rel"),Q==="stylesheet"&&X.hasAttribute("data-precedence"))break;else if(Q!==$.rel||X.getAttribute("href")!==($.href==null||$.href===""?null:$.href)||X.getAttribute("crossorigin")!==($.crossOrigin==null?null:$.crossOrigin)||X.getAttribute("title")!==($.title==null?null:$.title))break;return X;case"style":if(X.hasAttribute("data-precedence"))break;return X;case"script":if(Q=X.getAttribute("src"),(Q!==($.src==null?null:$.src)||X.getAttribute("type")!==($.type==null?null:$.type)||X.getAttribute("crossorigin")!==($.crossOrigin==null?null:$.crossOrigin))&&Q&&X.hasAttribute("async")&&!X.hasAttribute("itemprop"))break;return X;default:return X}if(X=T2(X.nextSibling),X===null)break}return null}function bM(X,Z,Y){if(Z==="")return null;for(;X.nodeType!==3;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!Y)return null;if(X=T2(X.nextSibling),X===null)return null}return X}function Lz(X,Z){for(;X.nodeType!==8;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!Z)return null;if(X=T2(X.nextSibling),X===null)return null}return X}function r3(X){return X.data===Z6||X.data===a6}function s3(X){return X.data===e7||X.data===Z6&&X.ownerDocument.readyState!==$U}function VM(X,Z){var Y=X.ownerDocument;if(X.data===a6)X._reactRetry=Z;else if(X.data!==Z6||Y.readyState!==$U)Z();else{var G=function(){Z(),Y.removeEventListener("DOMContentLoaded",G)};Y.addEventListener("DOMContentLoaded",G),X._reactRetry=G}}function T2(X){for(;X!=null;X=X.nextSibling){var Z=X.nodeType;if(Z===1||Z===3)break;if(Z===8){if(Z=X.data,Z===k9||Z===e7||Z===Z6||Z===a6||Z===c6||Z===S$||Z===GU)break;if(Z===g9||Z===lY)return null}}return X}function Rz(X){if(X.nodeType===1){for(var Z=X.nodeName.toLowerCase(),Y={},G=X.attributes,$=0;$<G.length;$++){var Q=G[$];Y[Gz(Q.name)]=Q.name.toLowerCase()==="style"?c3(X):Q.value}return{type:Z,props:Y}}return X.nodeType===8?X.data===c6?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:X.nodeValue}function _z(X,Z,Y){return Y===null||Y[kL]!==!0?(X.nodeValue===Z?X=null:(Z=g5(Z),X=g5(X.nodeValue)===Z?null:X.nodeValue),X):null}function t3(X){X=X.nextSibling;for(var Z=0;X;){if(X.nodeType===8){var Y=X.data;if(Y===g9||Y===lY){if(Z===0)return T2(X.nextSibling);Z--}else Y!==k9&&Y!==e7&&Y!==Z6&&Y!==a6&&Y!==c6||Z++}X=X.nextSibling}return null}function Fz(X){X=X.previousSibling;for(var Z=0;X;){if(X.nodeType===8){var Y=X.data;if(Y===k9||Y===e7||Y===Z6||Y===a6||Y===c6){if(Z===0)return X;Z--}else Y!==g9&&Y!==lY||Z++}X=X.previousSibling}return null}function jM(X){F7(X)}function DM(X){F7(X)}function mM(X){F7(X)}function Az(X,Z,Y,G,$){switch($&&H1(X,G.ancestorInfo),Z=D0(Y),X){case"html":if(X=Z.documentElement,!X)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return X;case"head":if(X=Z.head,!X)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return X;case"body":if(X=Z.body,!X)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return X;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function EM(X,Z,Y,G){if(!Y[j5]&&MX(Y)){var $=Y.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",$,$,$)}switch(X){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for($=Y.attributes;$.length;)Y.removeAttributeNode($[0]);hZ(Y,X,Z),Y[uZ]=G,Y[tZ]=Z}function m8(X){for(var Z=X.attributes;Z.length;)X.removeAttributeNode(Z[0]);c(X)}function m0(X){return typeof X.getRootNode==="function"?X.getRootNode():X.nodeType===9?X:X.ownerDocument}function Nz(X,Z,Y){var G=Z8;if(G&&typeof Z==="string"&&Z){var $=m2(Z);$='link[rel="'+X+'"][href="'+$+'"]',typeof Y==="string"&&($+='[crossorigin="'+Y+'"]'),WU.has($)||(WU.add($),X={rel:X,crossOrigin:Y,href:Z},G.querySelector($)===null&&(Z=G.createElement("link"),hZ(Z,"link",X),ZX(Z),G.head.appendChild(Z)))}}function Iz(X,Z,Y,G){var $=($=b5.current)?m0($):null;if(!$)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(X){case"meta":case"title":return null;case"style":return typeof Y.precedence==="string"&&typeof Y.href==="string"?(Y=R7(Y.href),Z=DX($).hoistableStyles,G=Z.get(Y),G||(G={type:"style",instance:null,count:0,state:null},Z.set(Y,G)),G):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){X=R7(Y.href);var Q=DX($).hoistableStyles,J=Q.get(X);if(!J&&($=$.ownerDocument||$,J={type:"stylesheet",instance:null,count:0,state:{loading:o6,preload:null}},Q.set(X,J),(Q=$.querySelector(E8(X)))&&!Q._p&&(J.instance=Q,J.state.loading=f9|i2),!r2.has(X))){var B={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};r2.set(X,B),Q||xM($,X,B,J.state)}if(Z&&G===null)throw Y=`
|
|
177
|
+
|
|
178
|
+
- `+E0(Z)+`
|
|
179
|
+
+ `+E0(Y),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Y);return J}if(Z&&G!==null)throw Y=`
|
|
180
|
+
|
|
181
|
+
- `+E0(Z)+`
|
|
182
|
+
+ `+E0(Y),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Y);return null;case"script":return Z=Y.async,Y=Y.src,typeof Y==="string"&&Z&&typeof Z!=="function"&&typeof Z!=="symbol"?(Y=_7(Y),Z=DX($).hoistableScripts,G=Z.get(Y),G||(G={type:"script",instance:null,count:0,state:null},Z.set(Y,G)),G):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+X+'". this is a bug in React.')}}function E0(X){var Z=0,Y="<link";return typeof X.rel==="string"?(Z++,Y+=' rel="'+X.rel+'"'):Z4.call(X,"rel")&&(Z++,Y+=' rel="'+(X.rel===null?"null":"invalid type "+typeof X.rel)+'"'),typeof X.href==="string"?(Z++,Y+=' href="'+X.href+'"'):Z4.call(X,"href")&&(Z++,Y+=' href="'+(X.href===null?"null":"invalid type "+typeof X.href)+'"'),typeof X.precedence==="string"?(Z++,Y+=' precedence="'+X.precedence+'"'):Z4.call(X,"precedence")&&(Z++,Y+=" precedence={"+(X.precedence===null?"null":"invalid type "+typeof X.precedence)+"}"),Object.getOwnPropertyNames(X).length>Z&&(Y+=" ..."),Y+" />"}function R7(X){return'href="'+m2(X)+'"'}function E8(X){return'link[rel="stylesheet"]['+X+"]"}function Pz(X){return OX({},X,{"data-precedence":X.precedence,precedence:null})}function xM(X,Z,Y,G){X.querySelector('link[rel="preload"][as="style"]['+Z+"]")?G.loading=f9:(Z=X.createElement("link"),G.preload=Z,Z.addEventListener("load",function(){return G.loading|=f9}),Z.addEventListener("error",function(){return G.loading|=zU}),hZ(Z,"link",Y),ZX(Z),X.head.appendChild(Z))}function _7(X){return'[src="'+m2(X)+'"]'}function x8(X){return"script[async]"+X}function Oz(X,Z,Y){if(Z.count++,Z.instance===null)switch(Z.type){case"style":var G=X.querySelector('style[data-href~="'+m2(Y.href)+'"]');if(G)return Z.instance=G,ZX(G),G;var $=OX({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return G=(X.ownerDocument||X).createElement("style"),ZX(G),hZ(G,"style",$),x0(G,Y.precedence,X),Z.instance=G;case"stylesheet":$=R7(Y.href);var Q=X.querySelector(E8($));if(Q)return Z.state.loading|=i2,Z.instance=Q,ZX(Q),Q;G=Pz(Y),($=r2.get($))&&e3(G,$),Q=(X.ownerDocument||X).createElement("link"),ZX(Q);var J=Q;return J._p=new Promise(function(B,z){J.onload=B,J.onerror=z}),hZ(Q,"link",G),Z.state.loading|=i2,x0(Q,Y.precedence,X),Z.instance=Q;case"script":if(Q=_7(Y.src),$=X.querySelector(x8(Q)))return Z.instance=$,ZX($),$;if(G=Y,$=r2.get(Q))G=OX({},Y),XG(G,$);return X=X.ownerDocument||X,$=X.createElement("script"),ZX($),hZ($,"link",G),X.head.appendChild($),Z.instance=$;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Z.type+'". this is a bug in React.')}else Z.type==="stylesheet"&&(Z.state.loading&i2)===o6&&(G=Z.instance,Z.state.loading|=i2,x0(G,Y.precedence,X));return Z.instance}function x0(X,Z,Y){for(var G=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),$=G.length?G[G.length-1]:null,Q=$,J=0;J<G.length;J++){var B=G[J];if(B.dataset.precedence===Z)Q=B;else if(Q!==$)break}Q?Q.parentNode.insertBefore(X,Q.nextSibling):(Z=Y.nodeType===9?Y.head:Y,Z.insertBefore(X,Z.firstChild))}function e3(X,Z){X.crossOrigin==null&&(X.crossOrigin=Z.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=Z.referrerPolicy),X.title==null&&(X.title=Z.title)}function XG(X,Z){X.crossOrigin==null&&(X.crossOrigin=Z.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=Z.referrerPolicy),X.integrity==null&&(X.integrity=Z.integrity)}function Cz(X,Z,Y){if(cY===null){var G=new Map,$=cY=new Map;$.set(Y,G)}else $=cY,G=$.get(Y),G||(G=new Map,$.set(Y,G));if(G.has(X))return G;G.set(X,null),Y=Y.getElementsByTagName(X);for($=0;$<Y.length;$++){var Q=Y[$];if(!(Q[p8]||Q[uZ]||X==="link"&&Q.getAttribute("rel")==="stylesheet")&&Q.namespaceURI!==C7){var J=Q.getAttribute(Z)||"";J=X+J;var B=G.get(J);B?B.push(Q):G.set(J,[Q])}}return G}function Tz(X,Z,Y){X=X.ownerDocument||X,X.head.insertBefore(Y,Z==="title"?X.querySelector("head > title"):null)}function hM(X,Z,Y){var G=!Y.ancestorInfo.containerTagInScope;if(Y.context===X8||Z.itemProp!=null)return!G||Z.itemProp==null||X!=="meta"&&X!=="title"&&X!=="style"&&X!=="link"&&X!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",X,X),!1;switch(X){case"meta":case"title":return!0;case"style":if(typeof Z.precedence!=="string"||typeof Z.href!=="string"||Z.href===""){G&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""||Z.onLoad||Z.onError){if(Z.rel==="stylesheet"&&typeof Z.precedence==="string"){X=Z.href;var{onError:$,disabled:Q}=Z;Y=[],Z.onLoad&&Y.push("`onLoad`"),$&&Y.push("`onError`"),Q!=null&&Y.push("`disabled`"),$=RM(Y,"and"),$+=Y.length===1?" prop":" props",Q=Y.length===1?"an "+$:"the "+$,Y.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',X,Q,$)}G&&(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(Z.onError||Z.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(Z.rel){case"stylesheet":return X=Z.precedence,Z=Z.disabled,typeof X!=="string"&&G&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof X==="string"&&Z==null;default:return!0}case"script":if(X=Z.async&&typeof Z.async!=="function"&&typeof Z.async!=="symbol",!X||Z.onLoad||Z.onError||!Z.src||typeof Z.src!=="string"){G&&(X?Z.onLoad||Z.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":G&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",X)}return!1}function wz(X){return X.type==="stylesheet"&&(X.state.loading&HU)===o6?!1:!0}function uM(X,Z,Y,G){if(Y.type==="stylesheet"&&(typeof G.media!=="string"||matchMedia(G.media).matches!==!1)&&(Y.state.loading&i2)===o6){if(Y.instance===null){var $=R7(G.href),Q=Z.querySelector(E8($));if(Q){Z=Q._p,Z!==null&&typeof Z==="object"&&typeof Z.then==="function"&&(X.count++,X=h0.bind(X),Z.then(X,X)),Y.state.loading|=i2,Y.instance=Q,ZX(Q);return}Q=Z.ownerDocument||Z,G=Pz(G),($=r2.get($))&&e3(G,$),Q=Q.createElement("link"),ZX(Q);var J=Q;J._p=new Promise(function(B,z){J.onload=B,J.onerror=z}),hZ(Q,"link",G),Y.instance=Q}X.stylesheets===null&&(X.stylesheets=new Map),X.stylesheets.set(Y,Z),(Z=Y.state.preload)&&(Y.state.loading&HU)===o6&&(X.count++,Y=h0.bind(X),Z.addEventListener("load",Y),Z.addEventListener("error",Y))}}function dM(X,Z){return X.stylesheets&&X.count===0&&u0(X,X.stylesheets),0<X.count||0<X.imgCount?function(Y){var G=setTimeout(function(){if(X.stylesheets&&u0(X,X.stylesheets),X.unsuspend){var Q=X.unsuspend;X.unsuspend=null,Q()}},DL+Z);0<X.imgBytes&&f$===0&&(f$=125*_M()*EL);var $=setTimeout(function(){if(X.waitingForImages=!1,X.count===0&&(X.stylesheets&&u0(X,X.stylesheets),X.unsuspend)){var Q=X.unsuspend;X.unsuspend=null,Q()}},(X.imgBytes>f$?50:mL)+Z);return X.unsuspend=Y,function(){X.unsuspend=null,clearTimeout(G),clearTimeout($)}}:null}function h0(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)u0(this,this.stylesheets);else if(this.unsuspend){var X=this.unsuspend;this.unsuspend=null,X()}}}function u0(X,Z){X.stylesheets=null,X.unsuspend!==null&&(X.count++,aY=new Map,Z.forEach(lM,X),aY=null,h0.call(X))}function lM(X,Z){if(!(Z.state.loading&i2)){var Y=aY.get(X);if(Y)var G=Y.get(b$);else{Y=new Map,aY.set(X,Y);for(var $=X.querySelectorAll("link[data-precedence],style[data-precedence]"),Q=0;Q<$.length;Q++){var J=$[Q];if(J.nodeName==="LINK"||J.getAttribute("media")!=="not all")Y.set(J.dataset.precedence,J),G=J}G&&Y.set(b$,G)}$=Z.instance,J=$.getAttribute("data-precedence"),Q=Y.get(J)||G,Q===G&&Y.set(b$,$),Y.set(J,$),this.count++,G=h0.bind(this),$.addEventListener("load",G),$.addEventListener("error",G),Q?Q.parentNode.insertBefore($,Q.nextSibling):(X=X.nodeType===9?X.head:X,X.insertBefore($,X.firstChild)),Z.state.loading|=i2}}function pM(X,Z,Y,G,$,Q,J,B,z){this.tag=1,this.containerInfo=X,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=n6,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=TX(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=TX(0),this.hiddenUpdates=TX(null),this.identifierPrefix=G,this.onUncaughtError=$,this.onCaughtError=Q,this.onRecoverableError=J,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,X=this.pendingUpdatersLaneMap=[];for(Z=0;31>Z;Z++)X.push(new Set);this._debugRootType=Y?"hydrateRoot()":"createRoot()"}function Sz(X,Z,Y,G,$,Q,J,B,z,U,P,O){return X=new pM(X,Z,Y,J,z,U,P,O,B),Z=HL,Q===!0&&(Z|=nZ|G4),Z|=_X,Q=V(3,null,null,Z),X.current=Q,Q.stateNode=X,Z=v1(),N6(Z),X.pooledCache=Z,N6(Z),Q.memoizedState={element:G,isDehydrated:Y,cache:Z},b1(Q),X}function vz(X){if(!X)return x5;return X=x5,X}function ZG(X,Z,Y,G,$,Q){if(aZ&&typeof aZ.onScheduleFiberRoot==="function")try{aZ.onScheduleFiberRoot(P7,G,Y)}catch(J){y4||(y4=!0,console.error("React instrumentation encountered an error: %o",J))}$=vz($),G.context===null?G.context=$:G.pendingContext=$,g4&&S2!==null&&!KU&&(KU=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
183
|
+
|
|
184
|
+
Check the render method of %s.`,p(S2)||"Unknown")),G=C5(Z),G.payload={element:Y},Q=Q===void 0?null:Q,Q!==null&&(typeof Q!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Q),G.callback=Q),Y=T5(X,G,Z),Y!==null&&(L4(Z,"root.render()",null),LZ(Y,X,Z),A8(Y,X,Z))}function kz(X,Z){if(X=X.memoizedState,X!==null&&X.dehydrated!==null){var Y=X.retryLane;X.retryLane=Y!==0&&Y<Z?Y:Z}}function YG(X,Z){kz(X,Z),(X=X.alternate)&&kz(X,Z)}function gz(X){if(X.tag===13||X.tag===31){var Z=cZ(X,67108864);Z!==null&&LZ(Z,X,67108864),YG(X,67108864)}}function yz(X){if(X.tag===13||X.tag===31){var Z=C2(X);Z=U6(Z);var Y=cZ(X,Z);Y!==null&&LZ(Y,X,Z),YG(X,Z)}}function cM(){return S2}function aM(X,Z,Y,G){var $=f.T;f.T=null;var Q=cX.p;try{cX.p=v2,GG(X,Z,Y,G)}finally{cX.p=Q,f.T=$}}function nM(X,Z,Y,G){var $=f.T;f.T=null;var Q=cX.p;try{cX.p=Y4,GG(X,Z,Y,G)}finally{cX.p=Q,f.T=$}}function GG(X,Z,Y,G){if(oY){var $=$G(G);if($===null)d3(X,Z,G,iY,Y),bz(X,G);else if(oM($,X,Z,Y,G))G.stopPropagation();else if(bz(X,G),Z&4&&-1<hL.indexOf(X)){for(;$!==null;){var Q=MX($);if(Q!==null)switch(Q.tag){case 3:if(Q=Q.stateNode,Q.current.memoizedState.isDehydrated){var J=j2(Q.pendingLanes);if(J!==0){var B=Q;B.pendingLanes|=2;for(B.entangledLanes|=2;J;){var z=1<<31-sZ(J);B.entanglements[1]|=z,J&=~z}w4(Q),(bX&(fZ|f2))===mZ&&(yY=VZ()+dW,b8(0,!1))}}break;case 31:case 13:B=cZ(Q,2),B!==null&&LZ(B,Q,2),M7(),YG(Q,2)}if(Q=$G(G),Q===null&&d3(X,Z,G,iY,Y),Q===$)break;$=Q}$!==null&&G.stopPropagation()}else d3(X,Z,G,null,Y)}}function $G(X){return X=W1(X),QG(X)}function QG(X){if(iY=null,X=r(X),X!==null){var Z=aX(X);if(Z===null)X=null;else{var Y=Z.tag;if(Y===13){if(X=BZ(Z),X!==null)return X;X=null}else if(Y===31){if(X=ZZ(Z),X!==null)return X;X=null}else if(Y===3){if(Z.stateNode.current.memoizedState.isDehydrated)return Z.tag===3?Z.stateNode.containerInfo:null;X=null}else Z!==X&&(X=null)}}return iY=X,null}function fz(X){switch(X){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return v2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Y4;case"message":switch(GK()){case FG:return v2;case AG:return Y4;case I7:case $K:return b4;case NG:return s0;default:return b4}default:return b4}}function bz(X,Z){switch(X){case"focusin":case"focusout":Y6=null;break;case"dragenter":case"dragleave":G6=null;break;case"mouseover":case"mouseout":$6=null;break;case"pointerover":case"pointerout":V9.delete(Z.pointerId);break;case"gotpointercapture":case"lostpointercapture":j9.delete(Z.pointerId)}}function h8(X,Z,Y,G,$,Q){if(X===null||X.nativeEvent!==Q)return X={blockedOn:Z,domEventName:Y,eventSystemFlags:G,nativeEvent:Q,targetContainers:[$]},Z!==null&&(Z=MX(Z),Z!==null&&gz(Z)),X;return X.eventSystemFlags|=G,Z=X.targetContainers,$!==null&&Z.indexOf($)===-1&&Z.push($),X}function oM(X,Z,Y,G,$){switch(Z){case"focusin":return Y6=h8(Y6,X,Z,Y,G,$),!0;case"dragenter":return G6=h8(G6,X,Z,Y,G,$),!0;case"mouseover":return $6=h8($6,X,Z,Y,G,$),!0;case"pointerover":var Q=$.pointerId;return V9.set(Q,h8(V9.get(Q)||null,X,Z,Y,G,$)),!0;case"gotpointercapture":return Q=$.pointerId,j9.set(Q,h8(j9.get(Q)||null,X,Z,Y,G,$)),!0}return!1}function Vz(X){var Z=r(X.target);if(Z!==null){var Y=aX(Z);if(Y!==null){if(Z=Y.tag,Z===13){if(Z=BZ(Y),Z!==null){X.blockedOn=Z,E(X.priority,function(){yz(Y)});return}}else if(Z===31){if(Z=ZZ(Y),Z!==null){X.blockedOn=Z,E(X.priority,function(){yz(Y)});return}}else if(Z===3&&Y.stateNode.current.memoizedState.isDehydrated){X.blockedOn=Y.tag===3?Y.stateNode.containerInfo:null;return}}}X.blockedOn=null}function d0(X){if(X.blockedOn!==null)return!1;for(var Z=X.targetContainers;0<Z.length;){var Y=$G(X.nativeEvent);if(Y===null){Y=X.nativeEvent;var G=new Y.constructor(Y.type,Y),$=G;c8!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),c8=$,Y.target.dispatchEvent(G),c8===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),c8=null}else return Z=MX(Y),Z!==null&&gz(Z),X.blockedOn=Y,!1;Z.shift()}return!0}function jz(X,Z,Y){d0(X)&&Y.delete(Z)}function iM(){V$=!1,Y6!==null&&d0(Y6)&&(Y6=null),G6!==null&&d0(G6)&&(G6=null),$6!==null&&d0($6)&&($6=null),V9.forEach(jz),j9.forEach(jz)}function l0(X,Z){X.blockedOn===Z&&(X.blockedOn=null,V$||(V$=!0,mX.unstable_scheduleCallback(mX.unstable_NormalPriority,iM)))}function Dz(X){rY!==X&&(rY=X,mX.unstable_scheduleCallback(mX.unstable_NormalPriority,function(){rY===X&&(rY=null);for(var Z=0;Z<X.length;Z+=3){var Y=X[Z],G=X[Z+1],$=X[Z+2];if(typeof G!=="function")if(QG(G||Y)===null)continue;else break;var Q=MX(Y);Q!==null&&(X.splice(Z,3),Z-=3,Y={pending:!0,data:$,method:Y.method,action:G},Object.freeze(Y),Q3(Q,Y,G,$))}}))}function F7(X){function Z(z){return l0(z,X)}Y6!==null&&l0(Y6,X),G6!==null&&l0(G6,X),$6!==null&&l0($6,X),V9.forEach(Z),j9.forEach(Z);for(var Y=0;Y<Q6.length;Y++){var G=Q6[Y];G.blockedOn===X&&(G.blockedOn=null)}for(;0<Q6.length&&(Y=Q6[0],Y.blockedOn===null);)Vz(Y),Y.blockedOn===null&&Q6.shift();if(Y=(X.ownerDocument||X).$$reactFormReplay,Y!=null)for(G=0;G<Y.length;G+=3){var $=Y[G],Q=Y[G+1],J=$[tZ]||null;if(typeof Q==="function")J||Dz(Y);else if(J){var B=null;if(Q&&Q.hasAttribute("formAction")){if($=Q,J=Q[tZ]||null)B=J.formAction;else if(QG($)!==null)continue}else B=J.action;typeof B==="function"?Y[G+1]=B:(Y.splice(G,3),G-=3),Dz(Y)}}}function mz(){function X(Q){Q.canIntercept&&Q.info==="react-transition"&&Q.intercept({handler:function(){return new Promise(function(J){return $=J})},focusReset:"manual",scroll:"manual"})}function Z(){$!==null&&($(),$=null),G||setTimeout(Y,20)}function Y(){if(!G&&!navigation.transition){var Q=navigation.currentEntry;Q&&Q.url!=null&&navigation.navigate(Q.url,{state:Q.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var G=!1,$=null;return navigation.addEventListener("navigate",X),navigation.addEventListener("navigatesuccess",Z),navigation.addEventListener("navigateerror",Z),setTimeout(Y,100),function(){G=!0,navigation.removeEventListener("navigate",X),navigation.removeEventListener("navigatesuccess",Z),navigation.removeEventListener("navigateerror",Z),$!==null&&($(),$=null)}}}function JG(X){this._internalRoot=X}function p0(X){this._internalRoot=X}function Ez(X){X[j5]&&(X._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var OX=Object.assign,rM=Symbol.for("react.element"),v4=Symbol.for("react.transitional.element"),A7=Symbol.for("react.portal"),N7=Symbol.for("react.fragment"),c0=Symbol.for("react.strict_mode"),BG=Symbol.for("react.profiler"),zG=Symbol.for("react.consumer"),k4=Symbol.for("react.context"),u8=Symbol.for("react.forward_ref"),HG=Symbol.for("react.suspense"),WG=Symbol.for("react.suspense_list"),a0=Symbol.for("react.memo"),w2=Symbol.for("react.lazy"),UG=Symbol.for("react.activity"),sM=Symbol.for("react.memo_cache_sentinel"),xz=Symbol.iterator,tM=Symbol.for("react.client.reference"),gZ=Array.isArray,f=G8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,cX=D$.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eM=Object.freeze({pending:!1,data:null,method:null,action:null}),qG=[],MG=[],e4=-1,f5=KZ(null),d8=KZ(null),b5=KZ(null),n0=KZ(null),l8=0,hz,uz,dz,lz,pz,cz,az;D.__reactDisabledLog=!0;var KG,nz,LG=!1,RG=new(typeof WeakMap==="function"?WeakMap:Map),S2=null,g4=!1,Z4=Object.prototype.hasOwnProperty,_G=mX.unstable_scheduleCallback,XK=mX.unstable_cancelCallback,ZK=mX.unstable_shouldYield,YK=mX.unstable_requestPaint,VZ=mX.unstable_now,GK=mX.unstable_getCurrentPriorityLevel,FG=mX.unstable_ImmediatePriority,AG=mX.unstable_UserBlockingPriority,I7=mX.unstable_NormalPriority,$K=mX.unstable_LowPriority,NG=mX.unstable_IdlePriority,QK=mX.log,JK=mX.unstable_setDisableYieldValue,P7=null,aZ=null,y4=!1,f4=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",sZ=Math.clz32?Math.clz32:X7,BK=Math.log,zK=Math.LN2,o0=256,i0=262144,r0=4194304,v2=2,Y4=8,b4=32,s0=268435456,V5=Math.random().toString(36).slice(2),uZ="__reactFiber$"+V5,tZ="__reactProps$"+V5,j5="__reactContainer$"+V5,IG="__reactEvents$"+V5,HK="__reactListeners$"+V5,WK="__reactHandles$"+V5,oz="__reactResources$"+V5,p8="__reactMarker$"+V5,iz=new Set,S6={},PG={},UK={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},qK=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),rz={},sz={},MK=/[\n"\\]/g,tz=!1,ez=!1,XH=!1,ZH=!1,YH=!1,GH=!1,$H=["value","defaultValue"],QH=!1,JH=/["'&<>\n\t]|^\s|\s$/,KK="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),BH="applet caption html table td th marquee object template foreignObject desc title".split(" "),LK=BH.concat(["button"]),RK="dd dt li option optgroup p rp rt".split(" "),zH={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},t0={},OG={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},HH=/([A-Z])/g,WH=/^ms-/,_K=/^(?:webkit|moz|o)[A-Z]/,FK=/^-ms-/,AK=/-(.)/g,UH=/;\s*$/,O7={},CG={},qH=!1,MH=!1,KH=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),e0="http://www.w3.org/1998/Math/MathML",C7="http://www.w3.org/2000/svg",NK=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),XY={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},LH={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},T7={},IK=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),PK=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),RH=!1,eZ={},_H=/^on./,OK=/^on[^A-Z]/,CK=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),TK=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),wK=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,c8=null,w7=null,S7=null,TG=!1,V4=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wG=!1;if(V4)try{var a8={};Object.defineProperty(a8,"passive",{get:function(){wG=!0}}),window.addEventListener("test",a8,a8),window.removeEventListener("test",a8,a8)}catch(X){wG=!1}var D5=null,SG=null,ZY=null,v6={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(X){return X.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},YY=J2(v6),n8=OX({},v6,{view:0,detail:0}),SK=J2(n8),vG,kG,o8,GY=OX({},n8,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:U1,button:0,buttons:0,relatedTarget:function(X){return X.relatedTarget===void 0?X.fromElement===X.srcElement?X.toElement:X.fromElement:X.relatedTarget},movementX:function(X){if("movementX"in X)return X.movementX;return X!==o8&&(o8&&X.type==="mousemove"?(vG=X.screenX-o8.screenX,kG=X.screenY-o8.screenY):kG=vG=0,o8=X),vG},movementY:function(X){return"movementY"in X?X.movementY:kG}}),FH=J2(GY),vK=OX({},GY,{dataTransfer:0}),kK=J2(vK),gK=OX({},n8,{relatedTarget:0}),gG=J2(gK),yK=OX({},v6,{animationName:0,elapsedTime:0,pseudoElement:0}),fK=J2(yK),bK=OX({},v6,{clipboardData:function(X){return"clipboardData"in X?X.clipboardData:window.clipboardData}}),VK=J2(bK),jK=OX({},v6,{data:0}),AH=J2(jK),DK=AH,mK={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},EK={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xK={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},hK=OX({},n8,{key:function(X){if(X.key){var Z=mK[X.key]||X.key;if(Z!=="Unidentified")return Z}return X.type==="keypress"?(X=d9(X),X===13?"Enter":String.fromCharCode(X)):X.type==="keydown"||X.type==="keyup"?EK[X.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:U1,charCode:function(X){return X.type==="keypress"?d9(X):0},keyCode:function(X){return X.type==="keydown"||X.type==="keyup"?X.keyCode:0},which:function(X){return X.type==="keypress"?d9(X):X.type==="keydown"||X.type==="keyup"?X.keyCode:0}}),uK=J2(hK),dK=OX({},GY,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),NH=J2(dK),lK=OX({},n8,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:U1}),pK=J2(lK),cK=OX({},v6,{propertyName:0,elapsedTime:0,pseudoElement:0}),aK=J2(cK),nK=OX({},GY,{deltaX:function(X){return"deltaX"in X?X.deltaX:("wheelDeltaX"in X)?-X.wheelDeltaX:0},deltaY:function(X){return"deltaY"in X?X.deltaY:("wheelDeltaY"in X)?-X.wheelDeltaY:("wheelDelta"in X)?-X.wheelDelta:0},deltaZ:0,deltaMode:0}),oK=J2(nK),iK=OX({},v6,{newState:0,oldState:0}),rK=J2(iK),sK=[9,13,27,32],IH=229,yG=V4&&"CompositionEvent"in window,i8=null;V4&&"documentMode"in document&&(i8=document.documentMode);var tK=V4&&"TextEvent"in window&&!i8,PH=V4&&(!yG||i8&&8<i8&&11>=i8),OH=32,CH=String.fromCharCode(OH),TH=!1,v7=!1,eK={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},r8=null,s8=null,wH=!1;V4&&(wH=Nq("input")&&(!document.documentMode||9<document.documentMode));var X2=typeof Object.is==="function"?Object.is:wq,XL=V4&&"documentMode"in document&&11>=document.documentMode,k7=null,fG=null,t8=null,bG=!1,g7={animationend:M6("Animation","AnimationEnd"),animationiteration:M6("Animation","AnimationIteration"),animationstart:M6("Animation","AnimationStart"),transitionrun:M6("Transition","TransitionRun"),transitionstart:M6("Transition","TransitionStart"),transitioncancel:M6("Transition","TransitionCancel"),transitionend:M6("Transition","TransitionEnd")},VG={},SH={};V4&&(SH=document.createElement("div").style,("AnimationEvent"in window)||(delete g7.animationend.animation,delete g7.animationiteration.animation,delete g7.animationstart.animation),("TransitionEvent"in window)||delete g7.transitionend.transition);var vH=K6("animationend"),kH=K6("animationiteration"),gH=K6("animationstart"),ZL=K6("transitionrun"),YL=K6("transitionstart"),GL=K6("transitioncancel"),yH=K6("transitionend"),fH=new Map,jG="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");jG.push("scrollEnd");var bH=0;if(typeof performance==="object"&&typeof performance.now==="function")var $L=performance,VH=function(){return $L.now()};else{var QL=Date;VH=function(){return QL.now()}}var DG=typeof reportError==="function"?reportError:function(X){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof X==="object"&&X!==null&&typeof X.message==="string"?String(X.message):String(X),error:X});if(!window.dispatchEvent(Z))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",X);return}console.error(X)},JL="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",$Y=0,mG=1,EG=2,xG=3,QY="– ",JY="+ ",jH=" ",$Z=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",x2="Components ⚛",CX="Scheduler ⚛",wX="Blocking",m5=!1,X5={color:"primary",properties:null,tooltipText:"",track:x2},E5={start:-0,end:-0,detail:{devtools:X5}},BL=["Changed Props",""],DH="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",zL=["Changed Props",DH],e8=1,Z5=2,h2=[],y7=0,hG=0,x5={};Object.freeze(x5);var u2=null,f7=null,zX=0,HL=1,_X=2,nZ=8,G4=16,WL=32,mH=!1;try{var EH=Object.preventExtensions({})}catch(X){mH=!0}var uG=new WeakMap,b7=[],V7=0,BY=null,X9=0,d2=[],l2=0,k6=null,Y5=1,G5="",dZ=null,QZ=null,SX=!1,j4=!1,k2=null,h5=null,p2=!1,dG=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),lG=KZ(null),pG=KZ(null),xH={},zY=null,j7=null,D7=!1,UL=typeof AbortController<"u"?AbortController:function(){var X=[],Z=this.signal={aborted:!1,addEventListener:function(Y,G){X.push(G)}};this.abort=function(){Z.aborted=!0,X.forEach(function(Y){return Y()})}},qL=mX.unstable_scheduleCallback,ML=mX.unstable_NormalPriority,OZ={$$typeof:k4,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},CZ=mX.unstable_now,HY=console.createTask?console.createTask:function(){return null},Z9=1,WY=2,jZ=-0,u5=-0,$5=-0,Q5=null,Z2=-1.1,g6=-0,qZ=-0,YX=-1.1,BX=-1.1,WZ=null,RZ=!1,d5=-0,D4=-1.1,Y9=null,l5=0,cG=null,aG=null,y6=-1.1,G9=null,m7=-1.1,UY=-1.1,m4=-0,J5=-1.1,c2=-1.1,nG=0,$9=null,hH=null,uH=null,p5=-1.1,f6=null,c5=-1.1,qY=-1.1,dH=-0,lH=-0,MY=0,B5=null,pH=0,Q9=-1.1,KY=!1,LY=!1,J9=null,oG=0,b6=0,E7=null,cH=f.S;f.S=function(X,Z){if(hW=VZ(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>J5&&0>c2){J5=CZ();var Y=D8(),G=j8();if(Y!==c5||G!==f6)c5=-1.1;p5=Y,f6=G}bq(X,Z)}cH!==null&&cH(X,Z)};var V6=KZ(null),$4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},B9=[],z9=[],H9=[],W9=[],U9=[],q9=[],j6=new Set;$4.recordUnsafeLifecycleWarnings=function(X,Z){j6.has(X.type)||(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0&&B9.push(X),X.mode&nZ&&typeof Z.UNSAFE_componentWillMount==="function"&&z9.push(X),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&H9.push(X),X.mode&nZ&&typeof Z.UNSAFE_componentWillReceiveProps==="function"&&W9.push(X),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0&&U9.push(X),X.mode&nZ&&typeof Z.UNSAFE_componentWillUpdate==="function"&&q9.push(X))},$4.flushPendingUnsafeLifecycleWarnings=function(){var X=new Set;0<B9.length&&(B9.forEach(function(B){X.add(p(B)||"Component"),j6.add(B.type)}),B9=[]);var Z=new Set;0<z9.length&&(z9.forEach(function(B){Z.add(p(B)||"Component"),j6.add(B.type)}),z9=[]);var Y=new Set;0<H9.length&&(H9.forEach(function(B){Y.add(p(B)||"Component"),j6.add(B.type)}),H9=[]);var G=new Set;0<W9.length&&(W9.forEach(function(B){G.add(p(B)||"Component"),j6.add(B.type)}),W9=[]);var $=new Set;0<U9.length&&(U9.forEach(function(B){$.add(p(B)||"Component"),j6.add(B.type)}),U9=[]);var Q=new Set;if(0<q9.length&&(q9.forEach(function(B){Q.add(p(B)||"Component"),j6.add(B.type)}),q9=[]),0<Z.size){var J=S(Z);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
185
|
+
|
|
186
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
+
|
|
188
|
+
Please update the following components: %s`,J)}0<G.size&&(J=S(G),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
189
|
+
|
|
190
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,J)),0<Q.size&&(J=S(Q),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,J)),0<X.size&&(J=S(X),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,J)),0<Y.size&&(J=S(Y),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
206
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,J)),0<$.size&&(J=S($),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,J))};var RY=new Map,aH=new Set;$4.recordLegacyContextWarning=function(X,Z){var Y=null;for(var G=X;G!==null;)G.mode&nZ&&(Y=G),G=G.return;Y===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!aH.has(X.type)&&(G=RY.get(Y),X.type.contextTypes!=null||X.type.childContextTypes!=null||Z!==null&&typeof Z.getChildContext==="function")&&(G===void 0&&(G=[],RY.set(Y,G)),G.push(X))},$4.flushLegacyContextWarning=function(){RY.forEach(function(X){if(X.length!==0){var Z=X[0],Y=new Set;X.forEach(function($){Y.add(p($)||"Component"),aH.add($.type)});var G=S(Y);i(Z,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
+
|
|
215
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s
|
|
218
|
+
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,G)})}})},$4.discardPendingWarnings=function(){B9=[],z9=[],H9=[],W9=[],U9=[],q9=[],RY=new Map};var nH={react_stack_bottom_frame:function(X,Z,Y){var G=g4;g4=!0;try{return X(Z,Y)}finally{g4=G}}},iG=nH.react_stack_bottom_frame.bind(nH),oH={react_stack_bottom_frame:function(X){var Z=g4;g4=!0;try{return X.render()}finally{g4=Z}}},iH=oH.react_stack_bottom_frame.bind(oH),rH={react_stack_bottom_frame:function(X,Z){try{Z.componentDidMount()}catch(Y){pX(X,X.return,Y)}}},rG=rH.react_stack_bottom_frame.bind(rH),sH={react_stack_bottom_frame:function(X,Z,Y,G,$){try{Z.componentDidUpdate(Y,G,$)}catch(Q){pX(X,X.return,Q)}}},tH=sH.react_stack_bottom_frame.bind(sH),eH={react_stack_bottom_frame:function(X,Z){var Y=Z.stack;X.componentDidCatch(Z.value,{componentStack:Y!==null?Y:""})}},KL=eH.react_stack_bottom_frame.bind(eH),XW={react_stack_bottom_frame:function(X,Z,Y){try{Y.componentWillUnmount()}catch(G){pX(X,Z,G)}}},ZW=XW.react_stack_bottom_frame.bind(XW),YW={react_stack_bottom_frame:function(X){var Z=X.create;return X=X.inst,Z=Z(),X.destroy=Z}},LL=YW.react_stack_bottom_frame.bind(YW),GW={react_stack_bottom_frame:function(X,Z,Y){try{Y()}catch(G){pX(X,Z,G)}}},RL=GW.react_stack_bottom_frame.bind(GW),$W={react_stack_bottom_frame:function(X){var Z=X._init;return Z(X._payload)}},_L=$W.react_stack_bottom_frame.bind($W),x7=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),sG=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),_Y=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),FY={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},D6=null,M9=!1,h7=null,K9=0,FX=null,tG,QW=tG=!1,JW={},BW={},zW={};k=function(X,Z,Y){if(Y!==null&&typeof Y==="object"&&Y._store&&(!Y._store.validated&&Y.key==null||Y._store.validated===2)){if(typeof Y._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");Y._store.validated=1;var G=p(X),$=G||"null";if(!JW[$]){JW[$]=!0,Y=Y._owner,X=X._debugOwner;var Q="";X&&typeof X.tag==="number"&&($=p(X))&&(Q=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+$+"`."),Q||G&&(Q=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+G+">.");var J="";Y!=null&&X!==Y&&(G=null,typeof Y.tag==="number"?G=p(Y):typeof Y.name==="string"&&(G=Y.name),G&&(J=" It was passed a child from "+G+".")),i(Z,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.',Q,J)})}}};var m6=XJ(!0),HW=XJ(!1),WW=0,UW=1,qW=2,eG=3,a5=!1,MW=!1,X$=null,Z$=!1,u7=KZ(null),AY=KZ(0),g2=KZ(null),a2=null,d7=1,L9=2,NZ=KZ(0),NY=0,n2=1,Y2=2,y2=4,G2=8,l7,KW=new Set,LW=new Set,Y$=new Set,RW=new Set,z5=0,WX=null,eX=null,TZ=null,IY=!1,p7=!1,E6=!1,PY=0,R9=0,H5=null,FL=0,AL=25,y=null,o2=null,W5=-1,_9=!1,F9={readContext:HZ,use:v5,useCallback:_Z,useContext:_Z,useEffect:_Z,useImperativeHandle:_Z,useLayoutEffect:_Z,useInsertionEffect:_Z,useMemo:_Z,useReducer:_Z,useRef:_Z,useState:_Z,useDebugValue:_Z,useDeferredValue:_Z,useTransition:_Z,useSyncExternalStore:_Z,useId:_Z,useHostTransitionStatus:_Z,useFormState:_Z,useActionState:_Z,useOptimistic:_Z,useMemoCache:_Z,useCacheRefresh:_Z};F9.useEffectEvent=_Z;var G$=null,_W=null,$$=null,FW=null,E4=null,Q4=null,OY=null;G$={readContext:function(X){return HZ(X)},use:v5,useCallback:function(X,Z){return y="useCallback",PX(),J7(Z),Z3(X,Z)},useContext:function(X){return y="useContext",PX(),HZ(X)},useEffect:function(X,Z){return y="useEffect",PX(),J7(Z),R0(X,Z)},useImperativeHandle:function(X,Z,Y){return y="useImperativeHandle",PX(),J7(Y),X3(X,Z,Y)},useInsertionEffect:function(X,Z){y="useInsertionEffect",PX(),J7(Z),P6(4,Y2,X,Z)},useLayoutEffect:function(X,Z){return y="useLayoutEffect",PX(),J7(Z),e1(X,Z)},useMemo:function(X,Z){y="useMemo",PX(),J7(Z);var Y=f.H;f.H=E4;try{return Y3(X,Z)}finally{f.H=Y}},useReducer:function(X,Z,Y){y="useReducer",PX();var G=f.H;f.H=E4;try{return p1(X,Z,Y)}finally{f.H=G}},useRef:function(X){return y="useRef",PX(),s1(X)},useState:function(X){y="useState",PX();var Z=f.H;f.H=E4;try{return o1(X)}finally{f.H=Z}},useDebugValue:function(){y="useDebugValue",PX()},useDeferredValue:function(X,Z){return y="useDeferredValue",PX(),G3(X,Z)},useTransition:function(){return y="useTransition",PX(),J3()},useSyncExternalStore:function(X,Z,Y){return y="useSyncExternalStore",PX(),a1(X,Z,Y)},useId:function(){return y="useId",PX(),B3()},useFormState:function(X,Z){return y="useFormState",PX(),U0(),z7(X,Z)},useActionState:function(X,Z){return y="useActionState",PX(),z7(X,Z)},useOptimistic:function(X){return y="useOptimistic",PX(),i1(X)},useHostTransitionStatus:O6,useMemoCache:I6,useCacheRefresh:function(){return y="useCacheRefresh",PX(),z3()},useEffectEvent:function(X){return y="useEffectEvent",PX(),t1(X)}},_W={readContext:function(X){return HZ(X)},use:v5,useCallback:function(X,Z){return y="useCallback",m(),Z3(X,Z)},useContext:function(X){return y="useContext",m(),HZ(X)},useEffect:function(X,Z){return y="useEffect",m(),R0(X,Z)},useImperativeHandle:function(X,Z,Y){return y="useImperativeHandle",m(),X3(X,Z,Y)},useInsertionEffect:function(X,Z){y="useInsertionEffect",m(),P6(4,Y2,X,Z)},useLayoutEffect:function(X,Z){return y="useLayoutEffect",m(),e1(X,Z)},useMemo:function(X,Z){y="useMemo",m();var Y=f.H;f.H=E4;try{return Y3(X,Z)}finally{f.H=Y}},useReducer:function(X,Z,Y){y="useReducer",m();var G=f.H;f.H=E4;try{return p1(X,Z,Y)}finally{f.H=G}},useRef:function(X){return y="useRef",m(),s1(X)},useState:function(X){y="useState",m();var Z=f.H;f.H=E4;try{return o1(X)}finally{f.H=Z}},useDebugValue:function(){y="useDebugValue",m()},useDeferredValue:function(X,Z){return y="useDeferredValue",m(),G3(X,Z)},useTransition:function(){return y="useTransition",m(),J3()},useSyncExternalStore:function(X,Z,Y){return y="useSyncExternalStore",m(),a1(X,Z,Y)},useId:function(){return y="useId",m(),B3()},useActionState:function(X,Z){return y="useActionState",m(),z7(X,Z)},useFormState:function(X,Z){return y="useFormState",m(),U0(),z7(X,Z)},useOptimistic:function(X){return y="useOptimistic",m(),i1(X)},useHostTransitionStatus:O6,useMemoCache:I6,useCacheRefresh:function(){return y="useCacheRefresh",m(),z3()},useEffectEvent:function(X){return y="useEffectEvent",m(),t1(X)}},$$={readContext:function(X){return HZ(X)},use:v5,useCallback:function(X,Z){return y="useCallback",m(),A0(X,Z)},useContext:function(X){return y="useContext",m(),HZ(X)},useEffect:function(X,Z){y="useEffect",m(),B2(2048,G2,X,Z)},useImperativeHandle:function(X,Z,Y){return y="useImperativeHandle",m(),F0(X,Z,Y)},useInsertionEffect:function(X,Z){return y="useInsertionEffect",m(),B2(4,Y2,X,Z)},useLayoutEffect:function(X,Z){return y="useLayoutEffect",m(),B2(4,y2,X,Z)},useMemo:function(X,Z){y="useMemo",m();var Y=f.H;f.H=Q4;try{return N0(X,Z)}finally{f.H=Y}},useReducer:function(X,Z,Y){y="useReducer",m();var G=f.H;f.H=Q4;try{return B7(X,Z,Y)}finally{f.H=G}},useRef:function(){return y="useRef",m(),iX().memoizedState},useState:function(){y="useState",m();var X=f.H;f.H=Q4;try{return B7(e2)}finally{f.H=X}},useDebugValue:function(){y="useDebugValue",m()},useDeferredValue:function(X,Z){return y="useDeferredValue",m(),PJ(X,Z)},useTransition:function(){return y="useTransition",m(),vJ()},useSyncExternalStore:function(X,Z,Y){return y="useSyncExternalStore",m(),M0(X,Z,Y)},useId:function(){return y="useId",m(),iX().memoizedState},useFormState:function(X){return y="useFormState",m(),U0(),K0(X)},useActionState:function(X){return y="useActionState",m(),K0(X)},useOptimistic:function(X,Z){return y="useOptimistic",m(),qJ(X,Z)},useHostTransitionStatus:O6,useMemoCache:I6,useCacheRefresh:function(){return y="useCacheRefresh",m(),iX().memoizedState},useEffectEvent:function(X){return y="useEffectEvent",m(),_0(X)}},FW={readContext:function(X){return HZ(X)},use:v5,useCallback:function(X,Z){return y="useCallback",m(),A0(X,Z)},useContext:function(X){return y="useContext",m(),HZ(X)},useEffect:function(X,Z){y="useEffect",m(),B2(2048,G2,X,Z)},useImperativeHandle:function(X,Z,Y){return y="useImperativeHandle",m(),F0(X,Z,Y)},useInsertionEffect:function(X,Z){return y="useInsertionEffect",m(),B2(4,Y2,X,Z)},useLayoutEffect:function(X,Z){return y="useLayoutEffect",m(),B2(4,y2,X,Z)},useMemo:function(X,Z){y="useMemo",m();var Y=f.H;f.H=OY;try{return N0(X,Z)}finally{f.H=Y}},useReducer:function(X,Z,Y){y="useReducer",m();var G=f.H;f.H=OY;try{return O8(X,Z,Y)}finally{f.H=G}},useRef:function(){return y="useRef",m(),iX().memoizedState},useState:function(){y="useState",m();var X=f.H;f.H=OY;try{return O8(e2)}finally{f.H=X}},useDebugValue:function(){y="useDebugValue",m()},useDeferredValue:function(X,Z){return y="useDeferredValue",m(),OJ(X,Z)},useTransition:function(){return y="useTransition",m(),kJ()},useSyncExternalStore:function(X,Z,Y){return y="useSyncExternalStore",m(),M0(X,Z,Y)},useId:function(){return y="useId",m(),iX().memoizedState},useFormState:function(X){return y="useFormState",m(),U0(),L0(X)},useActionState:function(X){return y="useActionState",m(),L0(X)},useOptimistic:function(X,Z){return y="useOptimistic",m(),KJ(X,Z)},useHostTransitionStatus:O6,useMemoCache:I6,useCacheRefresh:function(){return y="useCacheRefresh",m(),iX().memoizedState},useEffectEvent:function(X){return y="useEffectEvent",m(),_0(X)}},E4={readContext:function(X){return t(),HZ(X)},use:function(X){return R(),v5(X)},useCallback:function(X,Z){return y="useCallback",R(),PX(),Z3(X,Z)},useContext:function(X){return y="useContext",R(),PX(),HZ(X)},useEffect:function(X,Z){return y="useEffect",R(),PX(),R0(X,Z)},useImperativeHandle:function(X,Z,Y){return y="useImperativeHandle",R(),PX(),X3(X,Z,Y)},useInsertionEffect:function(X,Z){y="useInsertionEffect",R(),PX(),P6(4,Y2,X,Z)},useLayoutEffect:function(X,Z){return y="useLayoutEffect",R(),PX(),e1(X,Z)},useMemo:function(X,Z){y="useMemo",R(),PX();var Y=f.H;f.H=E4;try{return Y3(X,Z)}finally{f.H=Y}},useReducer:function(X,Z,Y){y="useReducer",R(),PX();var G=f.H;f.H=E4;try{return p1(X,Z,Y)}finally{f.H=G}},useRef:function(X){return y="useRef",R(),PX(),s1(X)},useState:function(X){y="useState",R(),PX();var Z=f.H;f.H=E4;try{return o1(X)}finally{f.H=Z}},useDebugValue:function(){y="useDebugValue",R(),PX()},useDeferredValue:function(X,Z){return y="useDeferredValue",R(),PX(),G3(X,Z)},useTransition:function(){return y="useTransition",R(),PX(),J3()},useSyncExternalStore:function(X,Z,Y){return y="useSyncExternalStore",R(),PX(),a1(X,Z,Y)},useId:function(){return y="useId",R(),PX(),B3()},useFormState:function(X,Z){return y="useFormState",R(),PX(),z7(X,Z)},useActionState:function(X,Z){return y="useActionState",R(),PX(),z7(X,Z)},useOptimistic:function(X){return y="useOptimistic",R(),PX(),i1(X)},useMemoCache:function(X){return R(),I6(X)},useHostTransitionStatus:O6,useCacheRefresh:function(){return y="useCacheRefresh",PX(),z3()},useEffectEvent:function(X){return y="useEffectEvent",R(),PX(),t1(X)}},Q4={readContext:function(X){return t(),HZ(X)},use:function(X){return R(),v5(X)},useCallback:function(X,Z){return y="useCallback",R(),m(),A0(X,Z)},useContext:function(X){return y="useContext",R(),m(),HZ(X)},useEffect:function(X,Z){y="useEffect",R(),m(),B2(2048,G2,X,Z)},useImperativeHandle:function(X,Z,Y){return y="useImperativeHandle",R(),m(),F0(X,Z,Y)},useInsertionEffect:function(X,Z){return y="useInsertionEffect",R(),m(),B2(4,Y2,X,Z)},useLayoutEffect:function(X,Z){return y="useLayoutEffect",R(),m(),B2(4,y2,X,Z)},useMemo:function(X,Z){y="useMemo",R(),m();var Y=f.H;f.H=Q4;try{return N0(X,Z)}finally{f.H=Y}},useReducer:function(X,Z,Y){y="useReducer",R(),m();var G=f.H;f.H=Q4;try{return B7(X,Z,Y)}finally{f.H=G}},useRef:function(){return y="useRef",R(),m(),iX().memoizedState},useState:function(){y="useState",R(),m();var X=f.H;f.H=Q4;try{return B7(e2)}finally{f.H=X}},useDebugValue:function(){y="useDebugValue",R(),m()},useDeferredValue:function(X,Z){return y="useDeferredValue",R(),m(),PJ(X,Z)},useTransition:function(){return y="useTransition",R(),m(),vJ()},useSyncExternalStore:function(X,Z,Y){return y="useSyncExternalStore",R(),m(),M0(X,Z,Y)},useId:function(){return y="useId",R(),m(),iX().memoizedState},useFormState:function(X){return y="useFormState",R(),m(),K0(X)},useActionState:function(X){return y="useActionState",R(),m(),K0(X)},useOptimistic:function(X,Z){return y="useOptimistic",R(),m(),qJ(X,Z)},useMemoCache:function(X){return R(),I6(X)},useHostTransitionStatus:O6,useCacheRefresh:function(){return y="useCacheRefresh",m(),iX().memoizedState},useEffectEvent:function(X){return y="useEffectEvent",R(),m(),_0(X)}},OY={readContext:function(X){return t(),HZ(X)},use:function(X){return R(),v5(X)},useCallback:function(X,Z){return y="useCallback",R(),m(),A0(X,Z)},useContext:function(X){return y="useContext",R(),m(),HZ(X)},useEffect:function(X,Z){y="useEffect",R(),m(),B2(2048,G2,X,Z)},useImperativeHandle:function(X,Z,Y){return y="useImperativeHandle",R(),m(),F0(X,Z,Y)},useInsertionEffect:function(X,Z){return y="useInsertionEffect",R(),m(),B2(4,Y2,X,Z)},useLayoutEffect:function(X,Z){return y="useLayoutEffect",R(),m(),B2(4,y2,X,Z)},useMemo:function(X,Z){y="useMemo",R(),m();var Y=f.H;f.H=Q4;try{return N0(X,Z)}finally{f.H=Y}},useReducer:function(X,Z,Y){y="useReducer",R(),m();var G=f.H;f.H=Q4;try{return O8(X,Z,Y)}finally{f.H=G}},useRef:function(){return y="useRef",R(),m(),iX().memoizedState},useState:function(){y="useState",R(),m();var X=f.H;f.H=Q4;try{return O8(e2)}finally{f.H=X}},useDebugValue:function(){y="useDebugValue",R(),m()},useDeferredValue:function(X,Z){return y="useDeferredValue",R(),m(),OJ(X,Z)},useTransition:function(){return y="useTransition",R(),m(),kJ()},useSyncExternalStore:function(X,Z,Y){return y="useSyncExternalStore",R(),m(),M0(X,Z,Y)},useId:function(){return y="useId",R(),m(),iX().memoizedState},useFormState:function(X){return y="useFormState",R(),m(),L0(X)},useActionState:function(X){return y="useActionState",R(),m(),L0(X)},useOptimistic:function(X,Z){return y="useOptimistic",R(),m(),KJ(X,Z)},useMemoCache:function(X){return R(),I6(X)},useHostTransitionStatus:O6,useCacheRefresh:function(){return y="useCacheRefresh",m(),iX().memoizedState},useEffectEvent:function(X){return y="useEffectEvent",R(),m(),_0(X)}};var AW={},NW=new Set,IW=new Set,PW=new Set,OW=new Set,CW=new Set,TW=new Set,wW=new Set,SW=new Set,vW=new Set,kW=new Set;Object.freeze(AW);var Q$={enqueueSetState:function(X,Z,Y){X=X._reactInternals;var G=C2(X),$=C5(G);$.payload=Z,Y!==void 0&&Y!==null&&(W3(Y),$.callback=Y),Z=T5(X,$,G),Z!==null&&(L4(G,"this.setState()",X),LZ(Z,X,G),A8(Z,X,G))},enqueueReplaceState:function(X,Z,Y){X=X._reactInternals;var G=C2(X),$=C5(G);$.tag=UW,$.payload=Z,Y!==void 0&&Y!==null&&(W3(Y),$.callback=Y),Z=T5(X,$,G),Z!==null&&(L4(G,"this.replaceState()",X),LZ(Z,X,G),A8(Z,X,G))},enqueueForceUpdate:function(X,Z){X=X._reactInternals;var Y=C2(X),G=C5(Y);G.tag=qW,Z!==void 0&&Z!==null&&(W3(Z),G.callback=Z),Z=T5(X,G,Y),Z!==null&&(L4(Y,"this.forceUpdate()",X),LZ(Z,X,Y),A8(Z,X,Y))}},c7=null,J$=null,B$=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."),wZ=!1,gW={},yW={},fW={},bW={},a7=!1,VW={},CY={},z$={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},jW=!1,DW=null;DW=new Set;var U5=!1,SZ=!1,H$=!1,mW=typeof WeakSet==="function"?WeakSet:Set,DZ=null,n7=null,o7=null,vZ=null,W2=!1,J4=null,yZ=!1,A9=8192,NL={getCacheForType:function(X){var Z=HZ(OZ),Y=Z.data.get(X);return Y===void 0&&(Y=X(),Z.data.set(X,Y)),Y},cacheSignal:function(){return HZ(OZ).controller.signal},getOwner:function(){return S2}};if(typeof Symbol==="function"&&Symbol.for){var N9=Symbol.for;N9("selector.component"),N9("selector.has_pseudo_class"),N9("selector.role"),N9("selector.test_id"),N9("selector.text")}var IL=[],PL=typeof WeakMap==="function"?WeakMap:Map,mZ=0,fZ=2,f2=4,q5=0,I9=1,x6=2,TY=3,n5=4,wY=6,EW=5,bX=mZ,XZ=null,IX=null,AX=0,U2=0,SY=1,h6=2,P9=3,xW=4,W$=5,O9=6,vY=7,U$=8,u6=9,rX=U2,b2=null,o5=!1,i7=!1,q$=!1,x4=0,MZ=q5,i5=0,r5=0,M$=0,q2=0,d6=0,C9=null,$2=null,kY=!1,gY=0,hW=0,uW=300,yY=1/0,dW=500,T9=null,FZ=null,s5=null,fY=0,K$=1,L$=2,lW=3,t5=0,pW=1,cW=2,aW=3,nW=4,bY=5,kZ=0,e5=null,r7=null,B4=0,R$=0,_$=-0,F$=null,oW=null,iW=null,z4=fY,rW=null,OL=50,w9=0,A$=null,N$=!1,VY=!1,CL=50,l6=0,S9=null,s7=!1,jY=null,sW=!1,tW=new Set,TL={},DY=null,t7=null,I$=!1,P$=!1,mY=!1,O$=!1,X6=0,C$={};(function(){for(var X=0;X<jG.length;X++){var Z=jG[X],Y=Z.toLowerCase();Z=Z[0].toUpperCase()+Z.slice(1),t2(Y,"on"+Z)}t2(vH,"onAnimationEnd"),t2(kH,"onAnimationIteration"),t2(gH,"onAnimationStart"),t2("dblclick","onDoubleClick"),t2("focusin","onFocus"),t2("focusout","onBlur"),t2(ZL,"onTransitionRun"),t2(YL,"onTransitionStart"),t2(GL,"onTransitionCancel"),t2(yH,"onTransitionEnd")})(),_2("onMouseEnter",["mouseout","mouseover"]),_2("onMouseLeave",["mouseout","mouseover"]),_2("onPointerEnter",["pointerout","pointerover"]),_2("onPointerLeave",["pointerout","pointerover"]),pZ("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pZ("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pZ("onBeforeInput",["compositionend","keypress","textInput","paste"]),pZ("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pZ("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pZ("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var v9="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(" "),T$=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(v9)),EY="_reactListening"+Math.random().toString(36).slice(2),eW=!1,XU=!1,xY=!1,ZU=!1,hY=!1,uY=!1,YU=!1,dY={},wL=/\r\n?/g,SL=/\u0000|\uFFFD/g,p6="http://www.w3.org/1999/xlink",w$="http://www.w3.org/XML/1998/namespace",vL="javascript:throw new Error('React form unexpectedly submitted.')",kL="suppressHydrationWarning",c6="&",lY="/&",k9="$",g9="/$",Z6="$?",a6="$~",e7="$!",gL="html",yL="body",fL="head",S$="F!",GU="F",$U="loading",bL="style",M5=0,X8=1,pY=2,v$=null,k$=null,QU={dialog:!0,webview:!0},g$=null,y9=void 0,JU=typeof setTimeout==="function"?setTimeout:void 0,VL=typeof clearTimeout==="function"?clearTimeout:void 0,n6=-1,BU=typeof Promise==="function"?Promise:void 0,jL=typeof queueMicrotask==="function"?queueMicrotask:typeof BU<"u"?function(X){return BU.resolve(null).then(X).catch(AM)}:JU,y$=null,o6=0,f9=1,zU=2,HU=3,i2=4,r2=new Map,WU=new Set,K5=cX.d;cX.d={f:function(){var X=K5.f(),Z=M7();return X||Z},r:function(X){var Z=MX(X);Z!==null&&Z.tag===5&&Z.type==="form"?SJ(Z):K5.r(X)},D:function(X){K5.D(X),Nz("dns-prefetch",X,null)},C:function(X,Z){K5.C(X,Z),Nz("preconnect",X,Z)},L:function(X,Z,Y){K5.L(X,Z,Y);var G=Z8;if(G&&X&&Z){var $='link[rel="preload"][as="'+m2(Z)+'"]';Z==="image"?Y&&Y.imageSrcSet?($+='[imagesrcset="'+m2(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&($+='[imagesizes="'+m2(Y.imageSizes)+'"]')):$+='[href="'+m2(X)+'"]':$+='[href="'+m2(X)+'"]';var Q=$;switch(Z){case"style":Q=R7(X);break;case"script":Q=_7(X)}r2.has(Q)||(X=OX({rel:"preload",href:Z==="image"&&Y&&Y.imageSrcSet?void 0:X,as:Z},Y),r2.set(Q,X),G.querySelector($)!==null||Z==="style"&&G.querySelector(E8(Q))||Z==="script"&&G.querySelector(x8(Q))||(Z=G.createElement("link"),hZ(Z,"link",X),ZX(Z),G.head.appendChild(Z)))}},m:function(X,Z){K5.m(X,Z);var Y=Z8;if(Y&&X){var G=Z&&typeof Z.as==="string"?Z.as:"script",$='link[rel="modulepreload"][as="'+m2(G)+'"][href="'+m2(X)+'"]',Q=$;switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":Q=_7(X)}if(!r2.has(Q)&&(X=OX({rel:"modulepreload",href:X},Z),r2.set(Q,X),Y.querySelector($)===null)){switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(x8(Q)))return}G=Y.createElement("link"),hZ(G,"link",X),ZX(G),Y.head.appendChild(G)}}},X:function(X,Z){K5.X(X,Z);var Y=Z8;if(Y&&X){var G=DX(Y).hoistableScripts,$=_7(X),Q=G.get($);Q||(Q=Y.querySelector(x8($)),Q||(X=OX({src:X,async:!0},Z),(Z=r2.get($))&&XG(X,Z),Q=Y.createElement("script"),ZX(Q),hZ(Q,"link",X),Y.head.appendChild(Q)),Q={type:"script",instance:Q,count:1,state:null},G.set($,Q))}},S:function(X,Z,Y){K5.S(X,Z,Y);var G=Z8;if(G&&X){var $=DX(G).hoistableStyles,Q=R7(X);Z=Z||"default";var J=$.get(Q);if(!J){var B={loading:o6,preload:null};if(J=G.querySelector(E8(Q)))B.loading=f9|i2;else{X=OX({rel:"stylesheet",href:X,"data-precedence":Z},Y),(Y=r2.get(Q))&&e3(X,Y);var z=J=G.createElement("link");ZX(z),hZ(z,"link",X),z._p=new Promise(function(U,P){z.onload=U,z.onerror=P}),z.addEventListener("load",function(){B.loading|=f9}),z.addEventListener("error",function(){B.loading|=zU}),B.loading|=i2,x0(J,Z,G)}J={type:"stylesheet",instance:J,count:1,state:B},$.set(Q,J)}}},M:function(X,Z){K5.M(X,Z);var Y=Z8;if(Y&&X){var G=DX(Y).hoistableScripts,$=_7(X),Q=G.get($);Q||(Q=Y.querySelector(x8($)),Q||(X=OX({src:X,async:!0,type:"module"},Z),(Z=r2.get($))&&XG(X,Z),Q=Y.createElement("script"),ZX(Q),hZ(Q,"link",X),Y.head.appendChild(Q)),Q={type:"script",instance:Q,count:1,state:null},G.set($,Q))}}};var Z8=typeof document>"u"?null:document,cY=null,DL=60000,mL=800,EL=500,f$=0,b$=null,aY=null,i6=eM,b9={$$typeof:k4,Provider:null,Consumer:null,_currentValue:i6,_currentValue2:i6,_threadCount:0},UU="%c%s%c",qU="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",MU="",nY=" ",xL=Function.prototype.bind,KU=!1,LU=null,RU=null,_U=null,FU=null,AU=null,NU=null,IU=null,PU=null,OU=null,CU=null;LU=function(X,Z,Y,G){Z=W(X,Z),Z!==null&&(Y=L(Z.memoizedState,Y,0,G),Z.memoizedState=Y,Z.baseState=Y,X.memoizedProps=OX({},X.memoizedProps),Y=cZ(X,2),Y!==null&&LZ(Y,X,2))},RU=function(X,Z,Y){Z=W(X,Z),Z!==null&&(Y=C(Z.memoizedState,Y,0),Z.memoizedState=Y,Z.baseState=Y,X.memoizedProps=OX({},X.memoizedProps),Y=cZ(X,2),Y!==null&&LZ(Y,X,2))},_U=function(X,Z,Y,G){Z=W(X,Z),Z!==null&&(Y=K(Z.memoizedState,Y,G),Z.memoizedState=Y,Z.baseState=Y,X.memoizedProps=OX({},X.memoizedProps),Y=cZ(X,2),Y!==null&&LZ(Y,X,2))},FU=function(X,Z,Y){X.pendingProps=L(X.memoizedProps,Z,0,Y),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=cZ(X,2),Z!==null&&LZ(Z,X,2)},AU=function(X,Z){X.pendingProps=C(X.memoizedProps,Z,0),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=cZ(X,2),Z!==null&&LZ(Z,X,2)},NU=function(X,Z,Y){X.pendingProps=K(X.memoizedProps,Z,Y),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=cZ(X,2),Z!==null&&LZ(Z,X,2)},IU=function(X){var Z=cZ(X,2);Z!==null&&LZ(Z,X,2)},PU=function(X){var Z=j(),Y=cZ(X,Z);Y!==null&&LZ(Y,X,Z)},OU=function(X){v=X},CU=function(X){T=X};var oY=!0,iY=null,V$=!1,Y6=null,G6=null,$6=null,V9=new Map,j9=new Map,Q6=[],hL="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(" "),rY=null;if(p0.prototype.render=JG.prototype.render=function(X){var Z=this._internalRoot;if(Z===null)throw Error("Cannot update an unmounted root.");var Y=arguments;typeof Y[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()."):fX(Y[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 Y[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Y=X;var G=Z.current,$=C2(G);ZG(G,$,Y,Z,null,null)},p0.prototype.unmount=JG.prototype.unmount=function(){var X=arguments;if(typeof X[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()."),X=this._internalRoot,X!==null){this._internalRoot=null;var Z=X.containerInfo;(bX&(fZ|f2))!==mZ&&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."),ZG(X.current,2,null,X,null,null),M7(),Z[j5]=null}},p0.prototype.unstable_scheduleHydration=function(X){if(X){var Z=w();X={blockedOn:null,target:X,priority:Z};for(var Y=0;Y<Q6.length&&Z!==0&&Z<Q6[Y].priority;Y++);Q6.splice(Y,0,X),Y===0&&Vz(X)}},function(){var X=G8.version;if(X!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
+
- react: `+(X+`
|
|
225
|
+
- react-dom: 19.2.7
|
|
226
|
+
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"),cX.findDOMNode=function(X){var Z=X._reactInternals;if(Z===void 0){if(typeof X.render==="function")throw Error("Unable to find node on an unmounted component.");throw X=Object.keys(X).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+X)}return X=UZ(Z),X=X!==null?lZ(X):null,X=X===null?null:X.stateNode,X},!function(){var X={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:f,reconcilerVersion:"19.2.7"};return X.overrideHookState=LU,X.overrideHookStateDeletePath=RU,X.overrideHookStateRenamePath=_U,X.overrideProps=FU,X.overridePropsDeletePath=AU,X.overridePropsRenamePath=NU,X.scheduleUpdate=IU,X.scheduleRetry=PU,X.setErrorHandler=OU,X.setSuspenseHandler=CU,X.scheduleRefresh=XX,X.scheduleRoot=x,X.setRefreshHandler=n,X.getCurrentFiber=cM,d4(X)}()&&V4&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var TU=window.location.protocol;/^(https?|file):$/.test(TU)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(TU==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}eL.createRoot=function(X,Z){if(!fX(X))throw Error("Target container is not a DOM element.");Ez(X);var Y=!1,G="",$=jJ,Q=DJ,J=mJ;return Z!==null&&Z!==void 0&&(Z.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Z==="object"&&Z!==null&&Z.$$typeof===v4&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
+
|
|
229
|
+
let root = createRoot(domContainer);
|
|
230
|
+
root.render(<App />);`),Z.unstable_strictMode===!0&&(Y=!0),Z.identifierPrefix!==void 0&&(G=Z.identifierPrefix),Z.onUncaughtError!==void 0&&($=Z.onUncaughtError),Z.onCaughtError!==void 0&&(Q=Z.onCaughtError),Z.onRecoverableError!==void 0&&(J=Z.onRecoverableError)),Z=Sz(X,1,!1,null,null,Y,G,null,$,Q,J,mz),X[j5]=Z.current,u3(X),new JG(Z)},eL.hydrateRoot=function(X,Z,Y){if(!fX(X))throw Error("Target container is not a DOM element.");Ez(X),Z===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=!1,$="",Q=jJ,J=DJ,B=mJ,z=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(G=!0),Y.identifierPrefix!==void 0&&($=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(Q=Y.onUncaughtError),Y.onCaughtError!==void 0&&(J=Y.onCaughtError),Y.onRecoverableError!==void 0&&(B=Y.onRecoverableError),Y.formState!==void 0&&(z=Y.formState)),Z=Sz(X,1,!0,Z,Y!=null?Y:null,G,$,z,Q,J,B,mz),Z.context=vz(null),Y=Z.current,G=C2(Y),G=U6(G),$=C5(G),$.callback=null,T5(Y,$,G),L4(G,"hydrateRoot()",null),Y=G,Z.current.lanes=Y,yX(Z,Y),w4(Z),X[j5]=Z.current,u3(X),new p0(Z)},eL.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var bU=r6((RF,fU)=>{var XR=M2(yU());fU.exports=XR});var D9=r6((JR)=>{var t6=M2(Y8());(function(){function W(D){if(D==null)return null;if(typeof D==="function")return D.$$typeof===p?null:D.displayName||D.name||null;if(typeof D==="string")return D;switch(D){case n:return"Fragment";case aX:return"Profiler";case fX:return"StrictMode";case UZ:return"Suspense";case lZ:return"SuspenseList";case oZ:return"Activity"}if(typeof D==="object")switch(typeof D.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),D.$$typeof){case XX:return"Portal";case ZZ:return D.displayName||"Context";case BZ:return(D._context.displayName||"Context")+".Consumer";case AZ:var HX=D.render;return D=D.displayName,D||(D=HX.displayName||HX.name||"",D=D!==""?"ForwardRef("+D+")":"ForwardRef"),D;case QX:return HX=D.displayName||null,HX!==null?HX:W(D.type)||"Memo";case qX:HX=D._payload,D=D._init;try{return W(D(HX))}catch(xX){}}return null}function L(D){return""+D}function K(D){try{L(D);var HX=!1}catch(uX){HX=!0}if(HX){HX=console;var xX=HX.error,hX=typeof Symbol==="function"&&Symbol.toStringTag&&D[Symbol.toStringTag]||D.constructor.name||"Object";return xX.call(HX,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",hX),L(D)}}function N(D){if(D===n)return"<>";if(typeof D==="object"&&D!==null&&D.$$typeof===qX)return"<...>";try{var HX=W(D);return HX?"<"+HX+">":"<...>"}catch(xX){return"<...>"}}function C(){var D=KZ.A;return D===null?null:D.getOwner()}function T(){return Error("react-stack-top-frame")}function v(D){if(vX.call(D,"key")){var HX=Object.getOwnPropertyDescriptor(D,"key").get;if(HX&&HX.isReactWarning)return!1}return D.key!==void 0}function R(D,HX){function xX(){d||(d=!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)",HX))}xX.isReactWarning=!0,Object.defineProperty(D,"key",{get:xX,configurable:!0})}function t(){var D=W(this.type);return JX[D]||(JX[D]=!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.")),D=this.props.ref,D!==void 0?D:null}function l(D,HX,xX,hX,uX,R2){var zZ=xX.ref;return D={$$typeof:x,type:D,key:HX,props:xX,_owner:hX},(zZ!==void 0?zZ:null)!==null?Object.defineProperty(D,"ref",{enumerable:!1,get:t}):Object.defineProperty(D,"ref",{enumerable:!1,value:null}),D._store={},Object.defineProperty(D._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(D,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(D,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:uX}),Object.defineProperty(D,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:R2}),Object.freeze&&(Object.freeze(D.props),Object.freeze(D)),D}function k(D,HX,xX,hX,uX,R2){var zZ=HX.children;if(zZ!==void 0)if(hX)if(NX(zZ)){for(hX=0;hX<zZ.length;hX++)S(zZ[hX]);Object.freeze&&Object.freeze(zZ)}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 S(zZ);if(vX.call(HX,"key")){zZ=W(D);var iZ=Object.keys(HX).filter(function(s2){return s2!=="key"});hX=0<iZ.length?"{key: someKey, "+iZ.join(": ..., ")+": ...}":"{key: someKey}",EX[zZ+hX]||(iZ=0<iZ.length?"{"+iZ.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
231
|
+
let props = %s;
|
|
232
|
+
<%s {...props} />
|
|
233
|
+
React keys must be passed directly to JSX without using spread:
|
|
234
|
+
let props = %s;
|
|
235
|
+
<%s key={someKey} {...props} />`,hX,zZ,iZ,zZ),EX[zZ+hX]=!0)}if(zZ=null,xX!==void 0&&(K(xX),zZ=""+xX),v(HX)&&(K(HX.key),zZ=""+HX.key),"key"in HX){xX={};for(var dX in HX)dX!=="key"&&(xX[dX]=HX[dX])}else xX=HX;return zZ&&R(xX,typeof D==="function"?D.displayName||D.name||"Unknown":D),l(D,zZ,xX,C(),uX,R2)}function S(D){V(D)?D._store&&(D._store.validated=1):typeof D==="object"&&D!==null&&D.$$typeof===qX&&(D._payload.status==="fulfilled"?V(D._payload.value)&&D._payload.value._store&&(D._payload.value._store.validated=1):D._store&&(D._store.validated=1))}function V(D){return typeof D==="object"&&D!==null&&D.$$typeof===x}var x=Symbol.for("react.transitional.element"),XX=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),fX=Symbol.for("react.strict_mode"),aX=Symbol.for("react.profiler"),BZ=Symbol.for("react.consumer"),ZZ=Symbol.for("react.context"),AZ=Symbol.for("react.forward_ref"),UZ=Symbol.for("react.suspense"),lZ=Symbol.for("react.suspense_list"),QX=Symbol.for("react.memo"),qX=Symbol.for("react.lazy"),oZ=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),KZ=t6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vX=Object.prototype.hasOwnProperty,NX=Array.isArray,PZ=console.createTask?console.createTask:function(){return null};t6={react_stack_bottom_frame:function(D){return D()}};var d,JX={},GX=t6.react_stack_bottom_frame.bind(t6,T)(),jX=PZ(N(T)),EX={};JR.Fragment=n,JR.jsxDEV=function(D,HX,xX,hX){var uX=1e4>KZ.recentlyCreatedOwnerStacks++;return k(D,HX,xX,hX,uX?Error("react-stack-top-frame"):GX,uX?PZ(N(D)):jX)}})()});var VX=M2(Y8(),1),Bq=M2(bU(),1);var VU="/twin/store/mirror";function jU(W,L){return`/${W}/pull/${L}`}function DU(W,L){return`/${W}/issues/${L}`}var J6=async(W,L)=>{let K=await fetch(`${W}${L}`,{headers:{accept:"application/vnd.github+json"}});if(!K.ok)return;return K.json()},V2=async(W,L)=>{let K=await J6(W,L);return Array.isArray(K)?K:[]};async function ZR(W,L,K){if(!K)return;let[N,C]=await Promise.all([J6(W,`/repos/${L}/commits/${K}/status`),J6(W,`/repos/${L}/commits/${K}/check-runs`)]),T=[...(N?.statuses??[]).map((v)=>String(v.state)),...(C?.check_runs??[]).map((v)=>v.status==="completed"?String(v.conclusion??"neutral"):"pending")];if(!T.length)return;if(T.some((v)=>v==="failure"||v==="error"||v==="timed_out"||v==="cancelled"))return"failure";if(T.some((v)=>v==="pending"))return"pending";return"success"}function YR(W,L,K){let N=Boolean(L.merged_at);return{repo:W,number:Number(L.number),title:L.title??void 0,body:L.body??void 0,state:N?"merged":String(L.state??"open"),merged:N,mergedAt:L.merged_at??void 0,mergeCommit:L.merge_commit_sha??void 0,url:L.html_url??void 0,baseBranch:L.base?.ref,headBranch:L.head?.ref,headSha:L.head?.sha,author:L.user?.login,authorAvatarUrl:L.user?.avatar_url,createdAt:L.created_at??void 0,updatedAt:L.updated_at??void 0,additions:L.additions,deletions:L.deletions,changedFiles:L.changed_files,commitsCount:L.commits,commentsCount:L.comments,reviewCommentsCount:L.review_comments,labels:(L.labels??[]).map((C)=>({name:String(C.name),...C.color?{color:String(C.color)}:{},...C.description?{description:String(C.description)}:{}})),assignees:(L.assignees??[]).map((C)=>String(C.login)),requestedReviewers:(L.requested_reviewers??[]).map((C)=>String(C.login)),milestone:L.milestone?.title??void 0,ciStatus:K,closedAt:L.closed_at??void 0,mergedBy:L.merged_by?.login??void 0,mergeable:L.mergeable??void 0,draft:Boolean(L.draft)}}var mU=(W,L)=>(K)=>({repo:W,number:L,id:K.id,authorAssociation:K.author_association??void 0,author:K.user?.login,authorAvatarUrl:K.user?.avatar_url,body:K.body??"",createdAt:K.created_at,url:K.html_url,...K.path?{path:String(K.path)}:{}});async function GR(W){let L=await V2(W,"/user/repos?per_page=100"),K=await V2(W,"/user/orgs"),N=(await Promise.all(K.map((C)=>V2(W,`/orgs/${encodeURIComponent(String(C.login))}/repos?per_page=100`)))).flat();return[...new Set([...L,...N].map((C)=>String(C.full_name)))].sort()}async function $R(W,L,K){if(!K)return[];let[N,C]=await Promise.all([J6(W,`/repos/${L}/commits/${K}/status`),J6(W,`/repos/${L}/commits/${K}/check-runs`)]);return[...(N?.statuses??[]).map((T)=>({name:String(T.context??"default"),state:String(T.state),description:T.description??void 0,targetUrl:T.target_url??void 0})),...(C?.check_runs??[]).map((T)=>({name:String(T.name),state:T.status==="completed"?String(T.conclusion??"neutral"):"pending",description:T.output?.title??void 0,targetUrl:T.details_url??T.html_url??void 0}))]}async function QR(W,L){let[K,N,C,T]=await Promise.all([V2(W,`/repos/${L}/issues?state=open&per_page=100`),V2(W,`/repos/${L}/labels?per_page=100`),V2(W,`/repos/${L}/milestones?per_page=100`),J6(W,`/repos/${L}`)]);return{openIssues:K.filter((v)=>!v.pull_request).length,labels:N.map((v)=>({name:String(v.name),...v.color?{color:String(v.color)}:{},...v.description?{description:String(v.description)}:{}})),milestones:C.length,hasDiscussions:Boolean(T?.has_discussions)}}async function EU(W,L){let K=await GR(W),N=(await J6(W,"/user"))?.login,C=Object.fromEntries(await Promise.all(K.map(async(n)=>[n,await QR(W,n)]))),T=[],v=[];for(let n of K)for(let fX of await V2(W,`/repos/${n}/pulls?state=all&per_page=100`)){let aX=Number(fX.number),[BZ,ZZ]=await Promise.all([J6(W,`/repos/${n}/pulls/${aX}`),V2(W,`/repos/${n}/pulls/${aX}/reviews`)]),AZ=BZ??fX;T.push({...YR(n,AZ,await ZR(W,n,AZ.head?.sha)),reviewCount:ZZ.length});for(let UZ of ZZ)v.push({repo:n,number:aX,id:UZ.id,reviewer:UZ.user?.login,reviewerAvatarUrl:UZ.user?.avatar_url,state:UZ.state,body:UZ.body??"",submittedAt:UZ.submitted_at})}if(!L)return{pullRequests:T,reviews:v,commits:[],comments:[],reviewComments:[],files:[],viewer:N,checks:[],repoFacts:C,stateEvents:[]};let{repo:R,number:t}=L,[l,k,S,V,x]=await Promise.all([V2(W,`/repos/${R}/pulls/${t}/commits?per_page=100`),V2(W,`/repos/${R}/pulls/${t}/files?per_page=100`),V2(W,`/repos/${R}/issues/${t}/comments?per_page=100`),V2(W,`/repos/${R}/pulls/${t}/comments?per_page=100`),V2(W,`/repos/${R}/issues/${t}/timeline?per_page=100`)]),XX=await $R(W,R,T.find((n)=>n.repo===R&&n.number===t)?.headSha);return{pullRequests:T,reviews:v,viewer:N,checks:XX,repoFacts:C,stateEvents:x.filter((n)=>n.event==="closed"||n.event==="reopened").map((n)=>({event:String(n.event),at:n.created_at??void 0,actor:n.actor?.login??void 0})),commits:l.map((n)=>({repo:R,number:t,sha:String(n.sha),message:n.commit?.message,author:n.commit?.author?.name,authorLogin:n.author?.login,authorAvatarUrl:n.author?.avatar_url,date:n.commit?.author?.date,url:n.html_url})),files:k.map((n)=>({repo:R,number:t,filename:String(n.filename),status:n.status,additions:n.additions,deletions:n.deletions,changes:n.changes,patch:n.patch})),comments:S.map(mU(R,t)),reviewComments:V.map(mU(R,t))}}var H4=M2(Y8(),1),H=M2(D9(),1),BR={"mark-github":"M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z","git-pull-request":"M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z","git-merge":"M5.45 5.154A4.25 4.25 0 0 0 9.25 7.5h1.378a2.251 2.251 0 1 1 0 1.5H9.25A5.734 5.734 0 0 1 5 7.123v3.505a2.25 2.25 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.95-.218ZM4.25 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm8.5-4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 3.25a.75.75 0 1 0 0 .005V3.25Z","git-pull-request-closed":"M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1Zm9.5 5.5a.75.75 0 0 1 .75.75v3.378a2.251 2.251 0 1 1-1.5 0V7.25a.75.75 0 0 1 .75-.75Zm-2.03-5.273a.75.75 0 0 1 1.06 0l.97.97.97-.97a.748.748 0 0 1 1.265.332.75.75 0 0 1-.205.729l-.97.97.97.97a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-.97-.97-.97.97a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l.97-.97-.97-.97a.75.75 0 0 1 0-1.06ZM2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0ZM3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z","git-pull-request-draft":"M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1Zm9.5 14a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5ZM2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0ZM3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM14 7.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm0-4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z",check:"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z",x:"M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z","dot-fill":"M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z",comment:"M1 2.75C1 1.784 1.784 1 2.75 1h10.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 13.25 12H9.06l-2.573 2.573A1.458 1.458 0 0 1 4 13.543V12H2.75A1.75 1.75 0 0 1 1 10.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h4.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z","comment-discussion":"M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z",code:"m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z","issue-opened":"M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z",play:"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z",table:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z",shield:"M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.755 1.755 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68Z",graph:"M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z",gear:"M8 0a8.2 8.2 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224.231.114.454.243.668.386.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63.27.385.506.792.704 1.218.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294.016.257.016.515 0 .772-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a7.977 7.977 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a5.909 5.909 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8.006 8.006 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a5.738 5.738 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8.12 8.12 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6.214 6.214 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a7.92 7.92 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071.214-.143.437-.272.668-.386.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03 7.53.01 7.764 0 8 0Zm-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189-.173.086-.34.183-.5.29-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045-.22.312-.412.644-.573.99-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a4.709 4.709 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19.162.346.353.677.573.989.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27.161.107.328.204.501.29.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189.173-.086.34-.183.5-.29.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045.22-.313.411-.644.573-.99.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a4.709 4.709 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.464 6.464 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.44 4.44 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8Z","git-commit":"M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z","file-diff":"M1 1.75C1 .784 1.784 0 2.75 0h7.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V4.664a.25.25 0 0 0-.073-.177l-2.914-2.914a.25.25 0 0 0-.177-.073ZM8 3.25a.75.75 0 0 1 .75.75v1.5h1.5a.75.75 0 0 1 0 1.5h-1.5v1.5a.75.75 0 0 1-1.5 0V7h-1.5a.75.75 0 0 1 0-1.5h1.5V4A.75.75 0 0 1 8 3.25Zm-3 8a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",checklist:"M2.5 1.75v11.5c0 .138.112.25.25.25h3.17a.75.75 0 0 1 0 1.5H2.75A1.75 1.75 0 0 1 1 13.25V1.75C1 .784 1.784 0 2.75 0h8.5C12.216 0 13 .784 13 1.75v7.736a.75.75 0 0 1-1.5 0V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13.274 9.537v-.001l-4.557 4.45a.75.75 0 0 1-1.055-.008l-1.943-1.95a.75.75 0 0 1 1.062-1.058l1.419 1.425 4.026-3.932a.75.75 0 1 1 1.048 1.074ZM4.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM4 7.75A.75.75 0 0 1 4.75 7h2a.75.75 0 0 1 0 1.5h-2A.75.75 0 0 1 4 7.75Z",eye:"M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14c-1.981 0-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2ZM1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5c1.473 0 2.825-.742 3.955-1.715 1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5c-1.473 0-2.825.742-3.955 1.715-1.124.967-1.954 2.096-2.366 2.717ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z",search:"M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z","three-bars":"M1 2.75A.75.75 0 0 1 1.75 2h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 2.75Zm0 5A.75.75 0 0 1 1.75 7h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 7.75ZM1.75 12h12.5a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5Z",inbox:"M2.8 2.06A1.75 1.75 0 0 1 4.41 1h7.18c.7 0 1.333.417 1.61 1.06l2.74 6.395c.04.093.06.194.06.295v4.5A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25v-4.5c0-.101.02-.202.06-.295Zm1.61.44a.25.25 0 0 0-.23.152L1.887 8H4.75a.75.75 0 0 1 .6.3L6.625 10h2.75l1.275-1.7a.75.75 0 0 1 .6-.3h2.863L11.82 2.652a.25.25 0 0 0-.23-.152Zm10.09 7h-2.875l-1.275 1.7a.75.75 0 0 1-.6.3h-3.5a.75.75 0 0 1-.6-.3L4.375 9.5H1.5v3.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Z",plus:"M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z","triangle-down":"m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z","chevron-down":"M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z",tag:"M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z",milestone:"M7.75 0a.75.75 0 0 1 .75.75V3h3.634c.414 0 .814.147 1.13.414l2.07 1.75a1.75 1.75 0 0 1 0 2.672l-2.07 1.75a1.75 1.75 0 0 1-1.13.414H8.5v5.25a.75.75 0 0 1-1.5 0V10H2.75A1.75 1.75 0 0 1 1 8.25v-3.5C1 3.784 1.784 3 2.75 3H7V.75A.75.75 0 0 1 7.75 0Zm4.384 8.5a.25.25 0 0 0 .161-.06l2.07-1.75a.248.248 0 0 0 0-.38l-2.07-1.75a.25.25 0 0 0-.161-.06H2.75a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h9.384Z",copy:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Zm5-5C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z","kebab-horizontal":"M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",skip:"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"};function $X({name:W,size:L=16,className:K}){return H.jsxDEV("svg",{className:`octicon octicon-${W}${K?` ${K}`:""}`,viewBox:"0 0 16 16",width:L,height:L,"aria-hidden":"true",fill:"currentColor",children:H.jsxDEV("path",{d:BR[W]??""},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function zR(W){let L=2166136261;for(let K=0;K<W.length;K++)L=Math.imul(L^W.charCodeAt(K),16777619);return L>>>0}function K2({login:W,size:L=20,src:K}){if(K)return H.jsxDEV("img",{className:"gh-avatar",src:K,width:L,height:L,alt:`@${W??""}`},void 0,!1,void 0,this);let N=zR(W||"ghost"),C=N%360,T=[];for(let v=0;v<5;v++)for(let R=0;R<3;R++)if(N>>v*3+R&1){if(T.push(H.jsxDEV("rect",{x:1+R,y:1+v,width:1,height:1},`${R}-${v}`,!1,void 0,this)),R<2)T.push(H.jsxDEV("rect",{x:5-R,y:1+v,width:1,height:1},`${4-R}-${v}m`,!1,void 0,this))}return H.jsxDEV("svg",{className:"gh-avatar",width:L,height:L,viewBox:"0 0 7 7",role:"img","aria-label":`@${W??"ghost"}`,shapeRendering:"crispEdges",children:[H.jsxDEV("rect",{width:"7",height:"7",fill:"#f0f0f0"},void 0,!1,void 0,this),H.jsxDEV("g",{fill:`hsl(${C} 55% 58%)`,children:T},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function HR(W,L=Date.now()){if(!W)return"";let K=Date.parse(W);if(!Number.isFinite(K))return"";let N=Math.max(0,Math.round((L-K)/1000));if(N<45)return"now";let C=Math.round(N/60);if(C<60)return C===1?"1 minute ago":`${C} minutes ago`;let T=Math.round(C/60);if(T<24)return T===1?"1 hour ago":`${T} hours ago`;let v=Math.round(T/24);if(v===1)return"yesterday";if(v<30)return`${v} days ago`;return`on ${new Date(K).toLocaleDateString("en-US",{month:"short",day:"numeric",...new Date(K).getFullYear()!==new Date(L).getFullYear()?{year:"numeric"}:{}})}`}function h4({iso:W}){return H.jsxDEV("time",{dateTime:W,title:W?new Date(W).toLocaleString("en-US",{dateStyle:"medium",timeStyle:"short"}):void 0,children:HR(W)},void 0,!1,void 0,this)}function xU({name:W,color:L}){let K=(L||"ededed").replace(/^#/,""),[N,C,T]=[0,2,4].map((R)=>parseInt(K.slice(R,R+2),16)||0),v=(N*299+C*587+T*114)/1000>150;return H.jsxDEV("span",{className:"gh-label",style:{background:`#${K}`,color:v?"#1f2328":"#ffffff"},children:W},void 0,!1,void 0,this)}function WR({text:W}){let L=(N,C)=>N.split(/(`[^`]+`|\*\*[^*]+\*\*|https?:\/\/\S+)/g).map((T,v)=>{if(/^`[^`]+`$/.test(T))return H.jsxDEV("code",{children:T.slice(1,-1)},`${C}-${v}`,!1,void 0,this);if(/^\*\*[^*]+\*\*$/.test(T))return H.jsxDEV("strong",{children:T.slice(2,-2)},`${C}-${v}`,!1,void 0,this);if(/^https?:\/\//.test(T))return H.jsxDEV("a",{href:T,target:"_blank",rel:"noreferrer",children:T},`${C}-${v}`,!1,void 0,this);return T}),K=(W??"").trim().split(/\n{2,}/).filter(Boolean);if(!K.length)return H.jsxDEV("p",{className:"gh-muted",children:H.jsxDEV("em",{children:"No description provided."},void 0,!1,void 0,this)},void 0,!1,void 0,this);return H.jsxDEV(H.Fragment,{children:K.map((N,C)=>H.jsxDEV("p",{children:N.split(`
|
|
236
|
+
`).flatMap((T,v)=>(v?[H.jsxDEV("br",{},`br-${C}-${v}`,!1,void 0,this)]:[]).concat(L(T,`${C}-${v}`)))},C,!1,void 0,this))},void 0,!1,void 0,this)}function L2(W){if(W.merged)return"merged";if(W.state==="closed")return"closed";return W.draft?"draft":"open"}var hU={open:"git-pull-request",merged:"git-merge",closed:"git-pull-request-closed",draft:"git-pull-request-draft"},uU={open:"Open",merged:"Merged",closed:"Closed",draft:"Draft"};function UR({pr:W}){let L=L2(W);return H.jsxDEV("span",{className:`state-badge gh-state gh-state-${L}`,children:[H.jsxDEV($X,{name:hU[L]},void 0,!1,void 0,this),uU[L]]},void 0,!0,void 0,this)}var E$={success:"check",failure:"x",error:"x",pending:"dot-fill"};function dU({status:W}){if(!W)return null;let L=W==="success"?"All checks have passed":W==="pending"?"Some checks haven't completed yet":"Some checks were not successful";return H.jsxDEV("span",{className:`ci-status ${W}`,title:`checks: ${W}`,"aria-label":L,children:H.jsxDEV($X,{name:E$[W]??"dot-fill"},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function lU(W,L){let K=new Map;for(let C of L){if(C.repo!==W.repo||Number(C.number)!==Number(W.number)||!C.reviewer)continue;let T=String(C.state??"").toLowerCase();if(T==="approved"||T==="changes_requested"||T==="dismissed")K.set(C.reviewer,T)}let N=[...K.values()];if(N.includes("changes_requested"))return"changes_requested";if(N.includes("approved"))return"approved";return(W.requestedReviewers??[]).length?"review_required":void 0}function pU({repo:W,viewer:L,active:K,facts:N,openPulls:C,projects:T,onTab:v,onHome:R,onInbox:t,onSearch:l}){let k=W==="all"||!W,[S,V]=k?["",""]:W.split("/"),x=[{id:"code",label:"Code",icon:"code"},{id:"issues",label:"Issues",icon:"issue-opened",count:N?.openIssues??0},{id:"pulls",label:"Pull requests",icon:"git-pull-request",count:C},...N?.hasDiscussions?[{id:"discussions",label:"Discussions",icon:"comment-discussion"}]:[],{id:"actions",label:"Actions",icon:"play"},{id:"projects",label:"Projects",icon:"table",...T?{count:T}:{}},{id:"security",label:"Security",icon:"shield"},{id:"insights",label:"Insights",icon:"graph"},{id:"settings",label:"Settings",icon:"gear"}];return H.jsxDEV("header",{className:"gh-header",children:[H.jsxDEV("div",{className:"gh-globalbar",children:[H.jsxDEV("button",{className:"gh-iconbtn","aria-label":"Open global navigation menu",children:H.jsxDEV($X,{name:"three-bars"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("a",{className:"gh-logo",href:"/","aria-label":"Homepage",onClick:(XX)=>{XX.preventDefault(),R()},children:H.jsxDEV($X,{name:"mark-github",size:32},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("nav",{className:"gh-context","aria-label":"Page context",children:k?H.jsxDEV("strong",{children:"Pull requests"},void 0,!1,void 0,this):H.jsxDEV(H.Fragment,{children:[H.jsxDEV("a",{href:`/${S}`,onClick:(XX)=>XX.preventDefault(),children:S},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-context-sep",children:"/"},void 0,!1,void 0,this),H.jsxDEV("a",{href:`/${W}`,onClick:(XX)=>{XX.preventDefault(),v("code")},children:H.jsxDEV("strong",{children:V},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-spacer"},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-search",onClick:l,children:[H.jsxDEV($X,{name:"search"},void 0,!1,void 0,this),H.jsxDEV("span",{children:["Type ",H.jsxDEV("kbd",{children:"/"},void 0,!1,void 0,this)," to search"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("span",{className:"gh-divider"},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-iconbtn gh-iconbtn-wide","aria-label":"Create something new",children:[H.jsxDEV($X,{name:"plus"},void 0,!1,void 0,this),H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("button",{className:"gh-iconbtn","aria-label":"Your issues",onClick:()=>v("issues"),children:H.jsxDEV($X,{name:"issue-opened"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-iconbtn","aria-label":"Your pull requests",onClick:R,children:H.jsxDEV($X,{name:"git-pull-request"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-iconbtn","aria-label":"You have no unread notifications",onClick:t,children:H.jsxDEV($X,{name:"inbox"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-viewer",children:H.jsxDEV(K2,{login:L,size:32},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k?null:H.jsxDEV("nav",{className:"gh-localbar","aria-label":"Repository",children:x.map((XX)=>H.jsxDEV("a",{href:`/${W}${XX.id==="code"?"":`/${XX.id}`}`,className:`gh-tab${K===XX.id?" selected":""}`,"aria-current":K===XX.id?"page":void 0,onClick:(n)=>{n.preventDefault(),v(XX.id)},children:[H.jsxDEV($X,{name:XX.icon},void 0,!1,void 0,this),H.jsxDEV("span",{children:XX.label},void 0,!1,void 0,this),XX.count?H.jsxDEV("span",{className:"Counter",children:XX.count},void 0,!1,void 0,this):null]},XX.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function cU(){return H.jsxDEV("footer",{className:"gh-footer",children:[H.jsxDEV("span",{className:"gh-footer-brand",children:[H.jsxDEV($X,{name:"mark-github",size:24},void 0,!1,void 0,this)," © ",new Date().getFullYear()," GitHub, Inc."]},void 0,!0,void 0,this),H.jsxDEV("ul",{children:["Terms","Privacy","Security","Status","Community","Docs","Contact","Manage cookies","Do not share my personal information"].map((W)=>H.jsxDEV("li",{children:W},W,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function qR(W){let L=L2(W);if(L==="merged")return H.jsxDEV(H.Fragment,{children:["#",W.number," by ",H.jsxDEV("a",{className:"gh-muted-link",children:W.author},void 0,!1,void 0,this)," was merged ",H.jsxDEV(h4,{iso:W.mergedAt},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(L==="closed")return H.jsxDEV(H.Fragment,{children:["#",W.number," by ",H.jsxDEV("a",{className:"gh-muted-link",children:W.author},void 0,!1,void 0,this)," was closed ",H.jsxDEV(h4,{iso:W.closedAt??W.updatedAt},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return H.jsxDEV(H.Fragment,{children:["#",W.number," opened ",H.jsxDEV(h4,{iso:W.createdAt},void 0,!1,void 0,this)," by ",H.jsxDEV("a",{className:"gh-muted-link",children:W.author},void 0,!1,void 0,this),L==="draft"?" • Draft":""]},void 0,!0,void 0,this)}var MR={approved:"Approved",changes_requested:"Changes requested",review_required:"Review required"};function aU({prs:W,reviews:L,labelColors:K={},showRepo:N,onSelect:C}){return H.jsxDEV("div",{className:"gh-rows",children:W.map((T)=>{let v=L2(T),R=v==="open"||v==="draft"?lU(T,L):void 0,t=T.commentsCount??0;return H.jsxDEV("div",{className:"pr-row","data-number":T.number,children:[H.jsxDEV("span",{className:`pr-state-icon ${v}`,"aria-label":`${uU[v]} pull request`,children:H.jsxDEV($X,{name:hU[v]},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"pr-row-main",children:[H.jsxDEV("div",{className:"pr-row-title-line",children:[N?H.jsxDEV("span",{className:"pr-row-repo",children:T.repo},void 0,!1,void 0,this):null,H.jsxDEV("a",{className:"pr-row-title",href:`/${T.repo}/pull/${T.number}`,onClick:(l)=>{l.preventDefault(),C?.(`${T.repo}#${T.number}`)},children:T.title},void 0,!1,void 0,this),H.jsxDEV(dU,{status:T.ciStatus},void 0,!1,void 0,this),(T.labels??[]).map((l)=>H.jsxDEV(xU,{name:l.name,color:K[`${T.repo}:${l.name}`]??l.color},l.name,!1,void 0,this))]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"pr-row-meta",children:[qR(T),R?H.jsxDEV(H.Fragment,{children:[" • ",H.jsxDEV("a",{className:`gh-muted-link decision-${R}`,children:MR[R]},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"pr-row-side",children:[H.jsxDEV("span",{className:"pr-row-assignees",children:(T.assignees??[]).map((l)=>H.jsxDEV(K2,{login:l,size:20},l,!1,void 0,this))},void 0,!1,void 0,this),H.jsxDEV("span",{className:"pr-row-comments",children:t?H.jsxDEV("a",{className:"gh-muted-link","aria-label":`${t} comments`,children:[H.jsxDEV($X,{name:"comment"},void 0,!1,void 0,this)," ",t]},void 0,!0,void 0,this):null},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},`${T.repo}#${T.number}`,!0,void 0,this)})},void 0,!1,void 0,this)}function nU({repo:W,prs:L,reviews:K,facts:N,listState:C,onListState:T,onSelect:v}){let R=L.filter((V)=>L2(V)==="open"||L2(V)==="draft"),t=L.filter((V)=>L2(V)==="merged"||L2(V)==="closed"),l=C==="open"?R:t,k=Object.fromEntries((N?.labels??[]).map((V)=>[`${W}:${V.name}`,V.color??"ededed"]));for(let V of L)for(let x of V.labels??[])if(x.color&&!k[`${V.repo}:${x.name}`])k[`${V.repo}:${x.name}`]=x.color;let S=W==="all"||!W;return H.jsxDEV("div",{className:"gh-container gh-list-page",children:[H.jsxDEV("div",{className:"gh-subnav",children:[H.jsxDEV("div",{className:"gh-filter",children:[H.jsxDEV("button",{className:"gh-btn gh-filter-btn",children:["Filters ",H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("label",{className:"gh-filter-input",children:[H.jsxDEV($X,{name:"search"},void 0,!1,void 0,this),H.jsxDEV("input",{"aria-label":"Search all pull requests",value:`is:pr is:${C} `,readOnly:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),S?null:H.jsxDEV("div",{className:"gh-subnav-links",children:[H.jsxDEV("a",{className:"gh-subnav-item",children:[H.jsxDEV($X,{name:"tag"},void 0,!1,void 0,this)," Labels ",H.jsxDEV("span",{className:"Counter",children:N?.labels.length??0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("a",{className:"gh-subnav-item",children:[H.jsxDEV($X,{name:"milestone"},void 0,!1,void 0,this)," Milestones ",H.jsxDEV("span",{className:"Counter",children:N?.milestones??0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),S?null:H.jsxDEV("button",{className:"gh-btn gh-btn-primary",children:"New pull request"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-box",children:[H.jsxDEV("div",{className:"gh-box-header",children:[H.jsxDEV("div",{className:"gh-states",role:"group","aria-label":"Pull request state",children:[H.jsxDEV("button",{className:`gh-states-link${C==="open"?" selected":""}`,"aria-pressed":C==="open",onClick:()=>T("open"),children:[H.jsxDEV($X,{name:"git-pull-request"},void 0,!1,void 0,this)," ",R.length," Open"]},void 0,!0,void 0,this),H.jsxDEV("button",{className:`gh-states-link${C==="closed"?" selected":""}`,"aria-pressed":C==="closed",onClick:()=>T("closed"),children:[H.jsxDEV($X,{name:"check"},void 0,!1,void 0,this)," ",t.length," Closed"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-box-filters",children:["Author","Label","Projects","Milestones","Reviews","Assignee","Sort"].map((V)=>H.jsxDEV("span",{className:"gh-select-menu",children:[V," ",H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},V,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l.length?H.jsxDEV(aU,{prs:l,reviews:K,labelColors:k,showRepo:S,onSelect:v},void 0,!1,void 0,this):H.jsxDEV("div",{className:"gh-blankslate",children:[H.jsxDEV($X,{name:"git-pull-request",size:24},void 0,!1,void 0,this),H.jsxDEV("h3",{children:C==="open"?"There aren’t any open pull requests.":"There aren’t any closed pull requests."},void 0,!1,void 0,this),H.jsxDEV("p",{children:["You could search ",H.jsxDEV("a",{children:"all of GitHub"},void 0,!1,void 0,this)," or try an ",H.jsxDEV("a",{children:"advanced search"},void 0,!1,void 0,this),"."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("p",{className:"gh-protip",children:[H.jsxDEV("strong",{children:"ProTip!"},void 0,!1,void 0,this)," Filter pull requests by the default branch with ",H.jsxDEV("a",{children:"base:main"},void 0,!1,void 0,this),"."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function m$(W){return W?W.slice(0,7):""}function oU({additions:W=0,deletions:L=0}){let K=W+L,N=K?Math.round(W/K*5):0,C=K?Math.min(5-N,Math.round(L/K*5)||(L?1:0)):0;return H.jsxDEV("span",{className:"gh-diffstat",children:[H.jsxDEV("span",{className:"gh-add",children:["+",W]},void 0,!0,void 0,this)," ",H.jsxDEV("span",{className:"gh-del",children:["−",L]},void 0,!0,void 0,this),H.jsxDEV("span",{className:"gh-diffstat-blocks",children:Array.from({length:5},(T,v)=>H.jsxDEV("span",{className:`gh-block ${v<N?"add":v<N+C?"del":"neutral"}`},v,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function KR({pr:W,commits:L,checks:K,files:N,tab:C,onTab:T}){let v=L2(W),R=W.commitsCount??L,t=`${R} commit${R===1?"":"s"}`,[l]=W.repo.split("/"),k=(V)=>H.jsxDEV("span",{className:"gh-commit-ref",title:`${l}:${V}`,children:V},void 0,!1,void 0,this),S=[{id:"conversation",label:"Conversation",icon:"comment-discussion",count:(W.commentsCount??0)+(W.reviewCount??0)+(W.reviewCommentsCount??0)},{id:"commits",label:"Commits",icon:"git-commit",count:R},{id:"checks",label:"Checks",icon:"checklist",count:K},{id:"files",label:"Files changed",icon:"file-diff",count:W.changedFiles??N}];return H.jsxDEV("div",{className:"gh-pull-header",children:[H.jsxDEV("div",{className:"gh-pull-title-row",children:[H.jsxDEV("h1",{className:"gh-pull-title",children:[H.jsxDEV("bdi",{children:W.title},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-pull-number",children:["#",W.number]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-pull-title-actions",children:[H.jsxDEV("button",{className:"gh-btn gh-btn-sm",children:"Edit"},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-btn gh-btn-sm gh-btn-primary",children:[H.jsxDEV($X,{name:"code"},void 0,!1,void 0,this)," Code ",H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-pull-meta state-line",children:[H.jsxDEV(UR,{pr:W},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-pull-meta-text",children:[v==="merged"?H.jsxDEV(H.Fragment,{children:[H.jsxDEV("a",{className:"gh-author",children:W.mergedBy??W.author},void 0,!1,void 0,this)," merged ",t," into ",k(W.baseBranch)," from ",k(W.headBranch)," ",H.jsxDEV(h4,{iso:W.mergedAt},void 0,!1,void 0,this)]},void 0,!0,void 0,this):H.jsxDEV(H.Fragment,{children:[H.jsxDEV("a",{className:"gh-author",children:W.author},void 0,!1,void 0,this)," wants to merge ",t," into ",k(W.baseBranch)," from ",k(W.headBranch)]},void 0,!0,void 0,this),H.jsxDEV("button",{className:"gh-copy","aria-label":"Copy head branch name to clipboard",onClick:()=>void navigator.clipboard?.writeText(W.headBranch??""),children:H.jsxDEV($X,{name:"copy"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("nav",{className:"gh-pull-tabs","aria-label":"Pull request tabs",children:[S.map((V)=>H.jsxDEV("a",{href:"#",className:`gh-pull-tab${C===V.id?" selected":""}`,"aria-current":C===V.id?"page":void 0,onClick:(x)=>{x.preventDefault(),T(V.id)},children:[H.jsxDEV($X,{name:V.icon},void 0,!1,void 0,this)," ",V.label," ",H.jsxDEV("span",{className:"Counter",children:V.count},void 0,!1,void 0,this)]},V.id,!0,void 0,this)),H.jsxDEV("span",{className:"gh-pull-tabs-fill"},void 0,!1,void 0,this),H.jsxDEV(oU,{additions:W.additions,deletions:W.deletions},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function LR(W,L,K){let N=[];if(K&&K!=="NONE")N.push(K==="OWNER"?"Owner":K==="MEMBER"?"Member":K==="COLLABORATOR"?"Collaborator":K==="CONTRIBUTOR"?"Contributor":"");else if(W&&W===L.repo.split("/")[0])N.push("Owner");if(W&&W===L.author)N.push("Author");return N.filter(Boolean)}function tY({login:W,when:L,body:K,pr:N,viewer:C,verb:T="commented",given:v}){return H.jsxDEV("div",{className:"timeline-item gh-comment-item",children:[H.jsxDEV("span",{className:"gh-timeline-avatar",children:H.jsxDEV(K2,{login:W,size:40},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("article",{className:`comment gh-comment${W&&W===C?" gh-comment-self":""}`,children:[H.jsxDEV("header",{className:"gh-comment-header",children:[H.jsxDEV("span",{children:[H.jsxDEV("a",{className:"gh-author",children:W},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:[T," ",H.jsxDEV(h4,{iso:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("span",{className:"gh-comment-badges",children:[LR(W,N,v).map((R)=>H.jsxDEV("span",{className:"gh-role",children:R},R,!1,void 0,this)),H.jsxDEV("button",{className:"gh-iconbtn gh-iconbtn-sm","aria-label":"Show options",children:H.jsxDEV($X,{name:"kebab-horizontal"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-comment-body gh-markdown",children:H.jsxDEV(WR,{text:K},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function eY({icon:W,tone:L,children:K}){return H.jsxDEV("div",{className:"gh-event",children:[H.jsxDEV("span",{className:`gh-event-badge${L?` ${L}`:""}`,children:H.jsxDEV($X,{name:W},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-event-body",children:K},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function iU({pr:W,reviews:L,commits:K,comments:N,reviewComments:C,checks:T=[],stateEvents:v,viewer:R,actions:t}){if(!W)return null;let l=L2(W),k=[],S=(x)=>{let XX=Date.parse(x??"");return Number.isFinite(XX)?XX:0};if(K.length){let x=K[0].authorLogin??K[0].author;k.push({at:S(K[0].date),key:"commits",node:H.jsxDEV("div",{className:"gh-commits-event",children:[H.jsxDEV(eY,{icon:"git-commit",children:[H.jsxDEV(K2,{login:x,size:20},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:x},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:["added ",K.length," commit",K.length===1?"":"s"," ",H.jsxDEV(h4,{iso:K[0].date},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),K.map((XX)=>H.jsxDEV("div",{className:"gh-commit-line",children:[H.jsxDEV(K2,{login:XX.authorLogin??XX.author,size:16},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-commit-message",children:(XX.message??"").split(`
|
|
237
|
+
`)[0]},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-commit-status"},void 0,!1,void 0,this),H.jsxDEV("code",{className:"gh-sha",children:m$(XX.sha)},void 0,!1,void 0,this)]},XX.sha,!0,void 0,this))]},void 0,!0,void 0,this)})}if(N.forEach((x,XX)=>k.push({at:S(x.createdAt),key:`c-${x.id??XX}`,node:H.jsxDEV(tY,{login:x.author,when:x.createdAt,body:x.body,pr:W,viewer:R,given:x.authorAssociation},void 0,!1,void 0,this)})),L.forEach((x,XX)=>{let n=String(x.state??"").toLowerCase(),fX=n==="approved"?"approved these changes":n==="changes_requested"?"requested changes":n==="dismissed"?"reviewed (dismissed)":"reviewed",aX=n==="approved"?"approved":n==="changes_requested"?"changes":"";k.push({at:S(x.submittedAt),key:`r-${x.id??XX}`,node:H.jsxDEV("div",{className:"review-card gh-review",children:[H.jsxDEV(eY,{icon:n==="approved"?"check":n==="changes_requested"?"file-diff":"eye",tone:aX,children:[H.jsxDEV(K2,{login:x.reviewer,size:20},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:x.reviewer},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:[fX," ",H.jsxDEV(h4,{iso:x.submittedAt},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),x.body?H.jsxDEV("div",{className:"gh-review-body",children:H.jsxDEV(tY,{login:x.reviewer,when:x.submittedAt,body:x.body,pr:W,viewer:R,verb:"left a comment"},void 0,!1,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)})}),C.forEach((x,XX)=>k.push({at:S(x.createdAt),key:`rc-${x.id??XX}`,node:H.jsxDEV(tY,{login:x.author,when:x.createdAt,body:x.body,pr:W,viewer:R,verb:`commented on ${x.path??"a file"}`},void 0,!1,void 0,this)})),l==="merged")k.push({at:S(W.mergedAt),key:"merged",node:H.jsxDEV(eY,{icon:"git-merge",tone:"merged",children:[H.jsxDEV(K2,{login:W.mergedBy??W.author,size:20},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:W.mergedBy??W.author},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:"merged commit"},void 0,!1,void 0,this)," ",H.jsxDEV("code",{className:"gh-sha",children:m$(W.mergeCommit)},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:"into"},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-commit-ref",children:W.baseBranch},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:H.jsxDEV(h4,{iso:W.mergedAt},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)});return(v??(l==="closed"?[{event:"closed",at:W.closedAt??W.updatedAt}]:[])).filter((x)=>!(l==="merged"&&x.event==="closed")).forEach((x,XX)=>{let n=x.actor??W.author;k.push({at:S(x.at),key:`state-${XX}`,node:H.jsxDEV(eY,{icon:x.event==="closed"?"git-pull-request-closed":"git-pull-request",tone:x.event==="closed"?"closed":"reopened",children:[H.jsxDEV(K2,{login:n,size:20},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:n},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:[x.event==="closed"?"closed":"reopened"," this ",H.jsxDEV(h4,{iso:x.at},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)})}),k.sort((x,XX)=>x.at-XX.at),H.jsxDEV("section",{className:"conversation gh-conversation",children:[H.jsxDEV("div",{className:"gh-timeline",children:[H.jsxDEV(tY,{login:W.author,when:W.createdAt,body:W.body,pr:W,viewer:R},void 0,!1,void 0,this),k.map((x)=>H.jsxDEV(H4.default.Fragment,{children:x.node},x.key,!1,void 0,this))]},void 0,!0,void 0,this),H.jsxDEV(RR,{pr:W,reviews:L,checks:T,actions:t},void 0,!1,void 0,this),H.jsxDEV(_R,{pr:W,viewer:R,actions:t},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function B6({ok:W,tone:L,icon:K,title:N,detail:C,children:T}){return H.jsxDEV("div",{className:"gh-merge-section",children:[H.jsxDEV("span",{className:`gh-merge-section-icon ${L??(W?"ok":"warn")}`,children:H.jsxDEV($X,{name:K,size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-merge-section-text",children:[H.jsxDEV("strong",{children:N},void 0,!1,void 0,this),C?H.jsxDEV("div",{className:"gh-muted",children:C},void 0,!1,void 0,this):null,T]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function RR({pr:W,reviews:L,checks:K,actions:N}){let[C,T]=H4.useState(!1),[v,R]=H4.useState(""),[t,l]=H4.useState(""),[k,S]=H4.useState(!1),[V,x]=H4.useState(""),XX=L2(W);if(XX==="merged")return H.jsxDEV("div",{className:"gh-mergebox",children:[H.jsxDEV("span",{className:"gh-mergebox-icon merged",children:H.jsxDEV($X,{name:"git-merge",size:24},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-mergebox-panel",children:H.jsxDEV(B6,{tone:"merged",icon:"git-merge",title:"Pull request successfully merged and closed",detail:`You’re all set — the ${W.headBranch} branch can be safely deleted.`},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(XX==="closed")return H.jsxDEV("div",{className:"gh-mergebox",children:[H.jsxDEV("span",{className:"gh-mergebox-icon closed",children:H.jsxDEV($X,{name:"git-pull-request-closed",size:24},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-mergebox-panel",children:H.jsxDEV(B6,{tone:"closed",icon:"git-pull-request-closed",title:"Closed with unmerged commits",detail:"This pull request is closed, but the branch has unmerged commits. You can reopen it to continue the review."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);let n=lU(W,L),fX=new Set(L.filter((QX)=>String(QX.state).toLowerCase()==="approved").map((QX)=>QX.reviewer)).size,aX=K.filter((QX)=>["failure","error","timed_out","cancelled","action_required"].includes(QX.state)),BZ=K.filter((QX)=>QX.state==="pending"||QX.state==="queued"||QX.state==="in_progress"),ZZ=K.length-aX.length-BZ.length,AZ=W.mergeable===!1,UZ=(QX,qX)=>`${QX} ${qX}${QX===1?"":"s"}`;async function lZ(QX){S(!0),x("");try{await QX(),T(!1)}catch(qX){x(qX instanceof Error?qX.message:String(qX))}finally{S(!1)}}return H.jsxDEV("div",{className:"gh-mergebox",children:[H.jsxDEV("span",{className:`gh-mergebox-icon ${AZ||aX.length?"neutral":"open"}`,children:H.jsxDEV($X,{name:"git-merge",size:24},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-mergebox-panel",children:[n===void 0?null:n==="approved"?H.jsxDEV(B6,{ok:!0,icon:"check",title:"Changes approved",detail:`${UZ(fX,"approving review")} by reviewers with write access.`},void 0,!1,void 0,this):n==="changes_requested"?H.jsxDEV(B6,{tone:"bad",icon:"file-diff",title:"Changes requested",detail:"A reviewer has requested changes to this pull request."},void 0,!1,void 0,this):H.jsxDEV(B6,{tone:"warn",icon:"dot-fill",title:"Review requested",detail:`Review has been requested on this pull request. ${(W.requestedReviewers??[]).join(", ")} ${(W.requestedReviewers??[]).length===1?"is":"are"} requested.`},void 0,!1,void 0,this),K.length?H.jsxDEV(B6,{ok:!aX.length&&!BZ.length,tone:aX.length?"bad":BZ.length?"warn":"ok",icon:aX.length?"x":BZ.length?"dot-fill":"check",title:aX.length?"Some checks were not successful":BZ.length?"Some checks haven’t completed yet":"All checks have passed",detail:[aX.length?`${aX.length} failing`:"",BZ.length?`${BZ.length} pending`:"",ZZ?UZ(ZZ,"successful check"):""].filter(Boolean).join(", "),children:H.jsxDEV("ul",{className:"gh-checks-list",children:K.map((QX)=>H.jsxDEV("li",{children:[H.jsxDEV("span",{className:`ci-status ${QX.state==="success"?"success":QX.state==="pending"?"pending":"failure"}`,children:H.jsxDEV($X,{name:E$[QX.state]??(QX.state==="success"?"check":"x")},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("strong",{children:QX.name},void 0,!1,void 0,this),QX.description?H.jsxDEV("span",{className:"gh-muted",children:[" — ",QX.description]},void 0,!0,void 0,this):null,QX.targetUrl?H.jsxDEV("a",{className:"gh-check-details",href:QX.targetUrl,target:"_blank",rel:"noreferrer",children:"Details"},void 0,!1,void 0,this):null]},QX.name,!0,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,AZ?H.jsxDEV(B6,{tone:"bad",icon:"x",title:"This branch has conflicts that must be resolved",detail:"Resolve conflicts then push again."},void 0,!1,void 0,this):H.jsxDEV(B6,{ok:!0,icon:"check",title:"No conflicts with base branch",detail:"Merging can be performed automatically."},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-merge-actions",children:[C?H.jsxDEV("div",{className:"gh-merge-confirm",children:[H.jsxDEV("input",{className:"gh-input","aria-label":"Commit title",value:v,onChange:(QX)=>R(QX.target.value)},void 0,!1,void 0,this),H.jsxDEV("textarea",{className:"gh-input","aria-label":"Commit message",value:t,onChange:(QX)=>l(QX.target.value),rows:3},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-merge-confirm-buttons",children:[H.jsxDEV("button",{className:"gh-btn gh-btn-primary",disabled:k,onClick:()=>void lZ(()=>N.merge(v,t)),children:k?"Merging…":"Confirm merge"},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-btn",disabled:k,onClick:()=>T(!1),children:"Cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):H.jsxDEV("div",{className:"gh-merge-button-row",children:[H.jsxDEV("span",{className:"gh-btn-group",children:[H.jsxDEV("button",{className:"gh-btn gh-btn-primary",disabled:AZ||!N,onClick:()=>{let[QX]=W.repo.split("/");R(`Merge pull request #${W.number} from ${QX}/${W.headBranch}`),l(W.title??""),T(!0)},children:"Merge pull request"},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-btn gh-btn-primary gh-btn-caret","aria-label":"Select merge method",disabled:AZ||!N,children:H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("span",{className:"gh-muted gh-merge-hint",children:"You can also merge this with the command line."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),V?H.jsxDEV("div",{className:"gh-flash-error",role:"alert",children:V},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function _R({pr:W,viewer:L,actions:K}){let[N,C]=H4.useState(""),[T,v]=H4.useState(!1),[R,t]=H4.useState(""),l=L2(W);async function k(S,V=!0){v(!0),t("");try{if(await S(),V)C("")}catch(x){t(x instanceof Error?x.message:String(x))}finally{v(!1)}}return H.jsxDEV("div",{className:"timeline-item gh-comment-form-item",children:[H.jsxDEV("span",{className:"gh-timeline-avatar",children:H.jsxDEV(K2,{login:L,size:40},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-comment-form",children:[H.jsxDEV("h2",{className:"gh-comment-form-title",children:"Add a comment"},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-comment-form-box",children:[H.jsxDEV("div",{className:"gh-comment-form-tabs",children:[H.jsxDEV("span",{className:"selected",children:"Write"},void 0,!1,void 0,this),H.jsxDEV("span",{children:"Preview"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("textarea",{className:"gh-comment-textarea","aria-label":"Markdown value",placeholder:"Use Markdown to format your comment",value:N,onChange:(S)=>C(S.target.value)},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-comment-form-hint",children:[H.jsxDEV($X,{name:"file-diff"},void 0,!1,void 0,this)," Markdown is supported"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R?H.jsxDEV("div",{className:"gh-flash-error",role:"alert",children:R},void 0,!1,void 0,this):null,H.jsxDEV("div",{className:"gh-comment-form-actions",children:[l==="open"||l==="draft"?H.jsxDEV("button",{className:"gh-btn",disabled:T||!K,onClick:()=>void k(()=>K.close(N.trim()||void 0)),children:[H.jsxDEV($X,{name:"git-pull-request-closed",className:"gh-closed-fg"},void 0,!1,void 0,this)," ",N.trim()?"Close with comment":"Close pull request"]},void 0,!0,void 0,this):l==="closed"?H.jsxDEV("button",{className:"gh-btn",disabled:T||!K,onClick:()=>void k(()=>K.reopen(),!1),children:"Reopen pull request"},void 0,!1,void 0,this):null,H.jsxDEV("button",{className:"gh-btn gh-btn-primary",disabled:T||!N.trim()||!K,onClick:()=>void k(()=>K.comment(N.trim())),children:"Comment"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function rU({pr:W,reviews:L,comments:K=[],labelColors:N={}}){if(!W)return H.jsxDEV("aside",{className:"sidebar"},void 0,!1,void 0,this);let C=new Map;for(let R of L)if(R.reviewer)C.set(R.reviewer,String(R.state??"").toLowerCase());let T=(W.requestedReviewers??[]).filter((R)=>!C.has(R)),v=[...new Set([W.author,...L.map((R)=>R.reviewer),...K.map((R)=>R.author)].filter(Boolean))];return H.jsxDEV("aside",{className:"sidebar gh-sidebar",children:[H.jsxDEV("section",{className:"gh-sidebar-item",children:[H.jsxDEV("h3",{children:["Reviewers",H.jsxDEV($X,{name:"gear"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C.size||T.length?H.jsxDEV("ul",{className:"gh-sidebar-list",children:[[...C].map(([R,t])=>H.jsxDEV("li",{children:[H.jsxDEV(K2,{login:R,size:20},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:R},void 0,!1,void 0,this),H.jsxDEV("span",{className:`gh-review-state ${t}`,title:t,children:H.jsxDEV($X,{name:t==="approved"?"check":t==="changes_requested"?"file-diff":"comment"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},R,!0,void 0,this)),T.map((R)=>H.jsxDEV("li",{children:[H.jsxDEV(K2,{login:R,size:20},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:R},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-review-state pending",title:"Awaiting requested review",children:H.jsxDEV($X,{name:"dot-fill"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},R,!0,void 0,this))]},void 0,!0,void 0,this):H.jsxDEV("p",{className:"gh-muted",children:"No reviews"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("section",{className:"gh-sidebar-item",children:[H.jsxDEV("h3",{children:["Assignees",H.jsxDEV($X,{name:"gear"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),(W.assignees??[]).length?H.jsxDEV("ul",{className:"gh-sidebar-list",children:(W.assignees??[]).map((R)=>H.jsxDEV("li",{children:[H.jsxDEV(K2,{login:R,size:20},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:R},void 0,!1,void 0,this)]},R,!0,void 0,this))},void 0,!1,void 0,this):H.jsxDEV("p",{className:"gh-muted",children:["No one—",H.jsxDEV("a",{children:"assign yourself"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("section",{className:"gh-sidebar-item",children:[H.jsxDEV("h3",{children:["Labels",H.jsxDEV($X,{name:"gear"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),(W.labels??[]).length?H.jsxDEV("div",{className:"gh-sidebar-labels",children:(W.labels??[]).map((R)=>H.jsxDEV(xU,{name:R.name,color:N[`${W.repo}:${R.name}`]??R.color},R.name,!1,void 0,this))},void 0,!1,void 0,this):H.jsxDEV("p",{className:"gh-muted",children:"None yet"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("section",{className:"gh-sidebar-item",children:[H.jsxDEV("h3",{children:["Projects",H.jsxDEV($X,{name:"gear"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("p",{className:"gh-muted",children:"None yet"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("section",{className:"gh-sidebar-item",children:[H.jsxDEV("h3",{children:["Milestone",H.jsxDEV($X,{name:"gear"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("p",{className:"gh-muted",children:W.milestone??"No milestone"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("section",{className:"gh-sidebar-item",children:[H.jsxDEV("h3",{children:["Development",H.jsxDEV($X,{name:"gear"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("p",{className:"gh-muted",children:"Successfully merging this pull request may close these issues."},void 0,!1,void 0,this),H.jsxDEV("p",{className:"gh-muted",children:"None yet"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("section",{className:"gh-sidebar-item",children:[H.jsxDEV("h3",{className:"gh-sidebar-plain",children:[v.length," participant",v.length===1?"":"s"]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-participants",children:v.map((R)=>H.jsxDEV(K2,{login:R,size:26},R,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function FR({commits:W}){let L=new Map;for(let K of W){let N=K.date?new Date(K.date).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"";L.set(N,[...L.get(N)??[],K])}if(!W.length)return H.jsxDEV("div",{className:"gh-blankslate",children:H.jsxDEV("h3",{children:"No commits"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return H.jsxDEV("div",{className:"gh-commits-tab",children:[...L].map(([K,N])=>H.jsxDEV("div",{className:"gh-commit-group",children:[H.jsxDEV("h3",{className:"gh-commit-group-title",children:[H.jsxDEV($X,{name:"git-commit"},void 0,!1,void 0,this)," Commits on ",K]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-box",children:N.map((C)=>H.jsxDEV("div",{className:"gh-commit-row",children:[H.jsxDEV("div",{children:[H.jsxDEV("div",{className:"gh-commit-row-title",children:(C.message??"").split(`
|
|
238
|
+
`)[0]},void 0,!1,void 0,this),H.jsxDEV("div",{className:"gh-commit-row-meta",children:[H.jsxDEV(K2,{login:C.authorLogin??C.author,size:16},void 0,!1,void 0,this)," ",H.jsxDEV("a",{className:"gh-author",children:C.authorLogin??C.author},void 0,!1,void 0,this)," ",H.jsxDEV("span",{className:"gh-muted",children:["committed ",H.jsxDEV(h4,{iso:C.date},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("div",{className:"gh-commit-row-side",children:[H.jsxDEV("code",{className:"gh-sha gh-sha-btn",children:m$(C.sha)},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-iconbtn gh-iconbtn-sm","aria-label":"Copy full SHA",children:H.jsxDEV($X,{name:"copy"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-iconbtn gh-iconbtn-sm","aria-label":"Browse the repository at this point",children:H.jsxDEV($X,{name:"code"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},C.sha,!0,void 0,this))},void 0,!1,void 0,this)]},K,!0,void 0,this))},void 0,!1,void 0,this)}function AR({checks:W}){if(!W.length)return H.jsxDEV("div",{className:"gh-blankslate",children:[H.jsxDEV($X,{name:"checklist",size:24},void 0,!1,void 0,this),H.jsxDEV("h3",{children:"No checks"},void 0,!1,void 0,this),H.jsxDEV("p",{children:"This commit has no checks yet."},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return H.jsxDEV("div",{className:"gh-box gh-checks-tab",children:[H.jsxDEV("div",{className:"gh-box-header",children:H.jsxDEV("strong",{children:[W.length," check",W.length===1?"":"s"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),W.map((L)=>H.jsxDEV("div",{className:"gh-check-row",children:[H.jsxDEV("span",{className:`ci-status ${L.state==="success"?"success":L.state==="pending"?"pending":"failure"}`,children:H.jsxDEV($X,{name:E$[L.state]??"x"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("strong",{children:L.name},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-muted",children:L.description},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-spacer"},void 0,!1,void 0,this),L.targetUrl?H.jsxDEV("a",{href:L.targetUrl,target:"_blank",rel:"noreferrer",children:"Details"},void 0,!1,void 0,this):null]},L.name,!0,void 0,this))]},void 0,!0,void 0,this)}function NR(W){let L=[],K=0,N=0;for(let C of W.split(`
|
|
239
|
+
`)){let T=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/.exec(C);if(T){K=Number(T[1]),N=Number(T[2]),L.push({kind:"hunk",text:C});continue}if(C.startsWith("\\")){L.push({kind:"note",text:C});continue}if(C.startsWith("+"))L.push({kind:"add",text:C.slice(1),newNo:N++});else if(C.startsWith("-"))L.push({kind:"del",text:C.slice(1),oldNo:K++});else L.push({kind:"ctx",text:C.slice(1),oldNo:K++,newNo:N++})}return L}function sU({files:W}){if(!W.length)return H.jsxDEV("div",{className:"gh-blankslate",children:H.jsxDEV("h3",{children:"No changes to show"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return H.jsxDEV("section",{className:"files-diff gh-files","data-testid":"files-diff",children:[H.jsxDEV("div",{className:"gh-files-toolbar",children:[H.jsxDEV("span",{className:"gh-select-menu",children:["Changes from all commits ",H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("span",{className:"gh-select-menu",children:["File filter ",H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("span",{className:"gh-select-menu",children:["Conversations ",H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H.jsxDEV("span",{className:"gh-spacer"},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-muted",children:["0 / ",W.length," files viewed"]},void 0,!0,void 0,this),H.jsxDEV("button",{className:"gh-btn gh-btn-sm gh-btn-primary",children:["Review changes ",H.jsxDEV($X,{name:"triangle-down"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),W.map((L)=>H.jsxDEV("article",{className:"diff-file gh-file",children:[H.jsxDEV("header",{className:"gh-file-header",children:[H.jsxDEV($X,{name:"chevron-down"},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-file-count",children:(L.additions??0)+(L.deletions??0)},void 0,!1,void 0,this),H.jsxDEV(oU,{additions:L.additions,deletions:L.deletions},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-file-name",children:L.filename},void 0,!1,void 0,this),H.jsxDEV("button",{className:"gh-iconbtn gh-iconbtn-sm","aria-label":"Copy file name to clipboard",children:H.jsxDEV($X,{name:"copy"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H.jsxDEV("span",{className:"gh-spacer"},void 0,!1,void 0,this),H.jsxDEV("label",{className:"gh-viewed",children:[H.jsxDEV("input",{type:"checkbox",readOnly:!0},void 0,!1,void 0,this)," Viewed"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),L.patch?H.jsxDEV("table",{className:"gh-diff-table","data-testid":"diff-hunk",children:H.jsxDEV("tbody",{children:NR(L.patch).map((K,N)=>K.kind==="hunk"||K.kind==="note"?H.jsxDEV("tr",{className:`gh-diff-${K.kind}`,children:[H.jsxDEV("td",{className:"gh-diff-num",colSpan:2},void 0,!1,void 0,this),H.jsxDEV("td",{className:"gh-diff-code",children:K.text},void 0,!1,void 0,this)]},N,!0,void 0,this):H.jsxDEV("tr",{className:`gh-diff-${K.kind}`,children:[H.jsxDEV("td",{className:"gh-diff-num",children:K.oldNo??""},void 0,!1,void 0,this),H.jsxDEV("td",{className:"gh-diff-num",children:K.newNo??""},void 0,!1,void 0,this),H.jsxDEV("td",{className:"gh-diff-code",children:[H.jsxDEV("span",{className:"gh-diff-marker",children:K.kind==="add"?"+":K.kind==="del"?"-":" "},void 0,!1,void 0,this),K.text||" "]},void 0,!0,void 0,this)]},N,!0,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this):H.jsxDEV("div",{className:"gh-file-nodiff gh-muted",children:L.status==="removed"?"This file was deleted.":"Binary file not shown."},void 0,!1,void 0,this)]},L.filename,!0,void 0,this))]},void 0,!0,void 0,this)}function tU({pr:W,reviews:L,commits:K,comments:N,reviewComments:C,files:T,checks:v,stateEvents:R,viewer:t,labelColors:l,tab:k,onTab:S,actions:V}){if(!W)return H.jsxDEV("div",{className:"gh-container",children:H.jsxDEV("div",{className:"gh-blankslate",children:H.jsxDEV("h3",{children:"Loading pull request…"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);return H.jsxDEV("div",{className:"gh-container gh-pull-page",children:[H.jsxDEV(KR,{pr:W,commits:K.length,checks:v.length,files:T.length,tab:k,onTab:S},void 0,!1,void 0,this),k==="conversation"?H.jsxDEV("div",{className:"gh-pull-layout",children:[H.jsxDEV(iU,{pr:W,reviews:L,commits:K,comments:N,reviewComments:C,checks:v,stateEvents:R,viewer:t,actions:V},void 0,!1,void 0,this),H.jsxDEV(rU,{pr:W,reviews:L,comments:N,labelColors:l},void 0,!1,void 0,this)]},void 0,!0,void 0,this):k==="commits"?H.jsxDEV(FR,{commits:K},void 0,!1,void 0,this):k==="checks"?H.jsxDEV(AR,{checks:v},void 0,!1,void 0,this):H.jsxDEV(sU,{files:T},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var M=M2(D9(),1),Z1=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,""),x$=Z1===""?"":new URL("mirror/",document.baseURI).pathname.replace(/\/$/,"");function eU(W){if(!W.startsWith(x$))return"/";return W.slice(x$.length)||"/"}function IR(W){return`${x$}${W}`}function h$(W){return W?W.slice(0,7):"unknown"}function Xq(W){return`${W.repo}#${W.number}`}var PR={success:"✓",failure:"✗",cancelled:"⊘",skipped:"–",queued:"●",in_progress:"●",completed:"✓"};function X1({status:W,conclusion:L}){let K=W==="completed"?L||"completed":W||"queued";return M.jsxDEV("span",{className:`run-badge ${K}`,title:`run: ${K}`,children:[PR[K]??"●"," ",K]},void 0,!0,void 0,this)}var Zq=["pulls","issues","actions","releases","discussions","code","search","notifications","deployments","projects","insights","settings"],W4={repo:"all",view:"pulls",selectedKey:"",selectedIssueKey:""},u$={conversation:"",commits:"commits",checks:"checks",files:"files"};function Yq(W){let L=W.lastIndexOf("#");return{repo:W.slice(0,L),number:W.slice(L+1)}}function OR(W){let{repo:L,view:K,selectedKey:N,selectedIssueKey:C}=W;if(K==="pulls"&&N){let{repo:T,number:v}=Yq(N),R=u$[W.pullTab??"conversation"];return`${jU(T,v)}${R?`/${R}`:""}`}if(K==="issues"&&C){let{repo:T,number:v}=Yq(C);return DU(T,v)}if(L==="all"||!L)return`/${K}`;if(K==="code")return`/${L}`;return`/${L}/${K}`}function Gq(W){let L=W.split("/").filter(Boolean).map((K)=>decodeURIComponent(K));if(L.length===0)return W4;if(L.length===1&&Zq.includes(L[0]))return{...W4,view:L[0]};if(L.length>=2){let K=`${L[0]}/${L[1]}`;if(L.length===2)return{...W4,repo:K,view:"code"};let N=L[2];if(N==="pull"&&L[3]){let C=Object.keys(u$).find((T)=>u$[T]===(L[4]??""))??"conversation";return{...W4,repo:K,view:"pulls",selectedKey:`${K}#${L[3]}`,pullTab:C}}if(N==="pulls")return{...W4,repo:K,view:"pulls"};if(N==="issues"&&L[3])return{...W4,repo:K,view:"issues",selectedIssueKey:`${K}#${L[3]}`};if(N==="issues")return{...W4,repo:K,view:"issues"};if(Zq.includes(N))return{...W4,repo:K,view:N};return{...W4,repo:K,view:"pulls"}}return W4}function CR(){let[W,L]=VX.useState(null),K=typeof window<"u"?Gq(eU(window.location.pathname)):W4,[N,C]=VX.useState(K.repo),[T,v]=VX.useState(K.selectedKey),[R,t]=VX.useState(""),[l,k]=VX.useState(K.view),[S,V]=VX.useState(void 0),[x,XX]=VX.useState(void 0),[n,fX]=VX.useState(void 0),[aX,BZ]=VX.useState(void 0),[ZZ,AZ]=VX.useState(K.selectedIssueKey),[UZ,lZ]=VX.useState(K.pullTab??"conversation"),QX=(h)=>/is:closed|is:merged/.test(new URLSearchParams(h).get("q")??"")?"closed":"open",[qX,oZ]=VX.useState(typeof window<"u"?QX(window.location.search):"open"),[p,KZ]=VX.useState(""),vX=VX.default.useRef(!1),NX=VX.default.useRef(T);NX.current=T;let PZ=VX.default.useRef(0);async function d(){let h=++PZ.current;try{let j=await fetch(`${Z1}${VU}`),TX=await j.json();if(!j.ok)throw Error(TX.error??"Failed to load GitHub state");let yX=/^(.+)#(\d+)$/.exec(NX.current??""),sX=await EU(Z1,yX?{repo:yX[1],number:Number(yX[2])}:void 0);if(TX.github={...TX.github,...sX},h!==PZ.current)return;L(TX),KZ("")}catch(j){KZ(j instanceof Error?j.message:String(j))}}VX.useEffect(()=>{d();let h=window.setInterval(()=>void d(),3000);return()=>window.clearInterval(h)},[]),VX.useEffect(()=>{d()},[T]),VX.useEffect(()=>{let h=IR(OR({repo:N,view:l,selectedKey:T,selectedIssueKey:ZZ,pullTab:UZ})),j=l==="pulls"&&!T&&qX==="closed"?`?q=${encodeURIComponent("is:pr is:closed").replace(/%20/g,"+")}`:"";if(vX.current){vX.current=!1;return}if(window.location.pathname!==h||window.location.search!==j)window.history.pushState(null,"",`${h}${j}`)},[N,l,T,ZZ,UZ,qX]),VX.useEffect(()=>{function h(){let j=Gq(eU(window.location.pathname));vX.current=!0,C(j.repo),k(j.view),v(j.selectedKey),AZ(j.selectedIssueKey),lZ(j.pullTab??"conversation"),oZ(QX(window.location.search))}return window.addEventListener("popstate",h),()=>window.removeEventListener("popstate",h)},[]);let JX=VX.useMemo(()=>Array.from(new Set((W?.github.pullRequests??[]).map((h)=>h.repo))).sort(),[W]),GX=VX.useMemo(()=>{let h=R.trim().toLowerCase();return(W?.github.pullRequests??[]).filter((j)=>N==="all"||!N||j.repo===N).filter((j)=>{if(!h)return!0;return[j.repo,String(j.number),j.title,j.author,j.sourceIssue,j.sourceIssueTitle,j.state,j.url].filter(Boolean).join(" ").toLowerCase().includes(h)}).sort((j,TX)=>{let yX=Date.parse(j.updatedAt||j.mergedAt||j.createdAt||""),sX=Date.parse(TX.updatedAt||TX.mergedAt||TX.createdAt||"");if(Number.isFinite(yX)&&Number.isFinite(sX)&&yX!==sX)return sX-yX;return Number(TX.number)-Number(j.number)})},[W,R,N]),jX=VX.useMemo(()=>{let h=R.trim().toLowerCase();return(W?.github.issues??[]).filter((j)=>N==="all"||!N||j.repo===N).filter((j)=>{if(!h)return!0;return[j.repo,String(j.number),j.title,j.state,j.url].filter(Boolean).join(" ").toLowerCase().includes(h)}).sort((j,TX)=>{let yX=Date.parse(j.updatedAt||j.createdAt||""),sX=Date.parse(TX.updatedAt||TX.createdAt||"");if(Number.isFinite(yX)&&Number.isFinite(sX)&&yX!==sX)return sX-yX;return Number(TX.number)-Number(j.number)})},[W,R,N]),EX=VX.useMemo(()=>{let h=R.trim().toLowerCase();return(W?.github.runs??[]).filter((j)=>N==="all"||!N||j.repo===N).filter((j)=>{if(!h)return!0;return[j.repo,String(j.runNumber),j.workflowName,j.name,j.event,j.headBranch,j.status,j.conclusion].filter(Boolean).join(" ").toLowerCase().includes(h)}).sort((j,TX)=>{let yX=Date.parse(j.updatedAt||j.createdAt||""),sX=Date.parse(TX.updatedAt||TX.createdAt||"");if(Number.isFinite(yX)&&Number.isFinite(sX)&&yX!==sX)return sX-yX;return Number(TX.id)-Number(j.id)})},[W,R,N]),D=W?.github.jobs??[],HX=VX.useMemo(()=>{let h=R.trim().toLowerCase();return(W?.github.releases??[]).filter((j)=>N==="all"||!N||j.repo===N).filter((j)=>{if(!h)return!0;return[j.repo,j.tagName,j.name,j.body,j.draft?"draft":"",j.prerelease?"prerelease":""].filter(Boolean).join(" ").toLowerCase().includes(h)}).sort((j,TX)=>{let yX=Date.parse(j.publishedAt||j.createdAt||""),sX=Date.parse(TX.publishedAt||TX.createdAt||"");if(Number.isFinite(yX)&&Number.isFinite(sX)&&yX!==sX)return sX-yX;return Number(TX.id)-Number(j.id)})},[W,R,N]),xX=VX.useMemo(()=>{let h=R.trim().toLowerCase();return(W?.github.discussions??[]).filter((j)=>N==="all"||!N||j.repo===N).filter((j)=>{if(!h)return!0;return[j.repo,String(j.number),j.title,j.body,j.categoryName,j.state,j.isAnswered?"answered":""].filter(Boolean).join(" ").toLowerCase().includes(h)}).sort((j,TX)=>{let yX=Date.parse(j.updatedAt||j.createdAt||""),sX=Date.parse(TX.updatedAt||TX.createdAt||"");if(Number.isFinite(yX)&&Number.isFinite(sX)&&yX!==sX)return sX-yX;return Number(TX.number)-Number(j.number)})},[W,R,N]),hX=VX.useMemo(()=>{let h=R.trim().toLowerCase();return(W?.github.deployments??[]).filter((j)=>N==="all"||!N||j.repo===N).filter((j)=>{if(!h)return!0;return[j.repo,j.environment,j.ref,j.state,j.description].filter(Boolean).join(" ").toLowerCase().includes(h)}).sort((j,TX)=>Number(TX.id)-Number(j.id))},[W,R,N]),uX=VX.useMemo(()=>(W?.github.environments??[]).filter((h)=>N==="all"||!N||h.repo===N),[W,N]),R2=VX.useMemo(()=>(W?.github.projectBoards??[]).filter((h)=>N==="all"||!N||h.owner===N.split("/")[0]),[W,N]),zZ=VX.useMemo(()=>(W?.github.insights??[]).filter((h)=>N==="all"||!N||h.repo===N),[W,N]),iZ=VX.useMemo(()=>(W?.github.settings??[]).filter((h)=>N==="all"||!N||h.repo===N),[W,N]),dX=GX.find((h)=>Xq(h)===T)??GX[0],s2=dX?(W?.github.reviews??[]).filter((h)=>h.repo===dX.repo&&Number(h.number)===Number(dX.number)):[],e6=dX?(W?.github.commits??[]).filter((h)=>h.repo===dX.repo&&Number(h.number)===Number(dX.number)):[],i=dX?(W?.github.comments??[]).filter((h)=>h.repo===dX.repo&&Number(h.number)===Number(dX.number)):[],R5=dX?(W?.github.reviewComments??[]).filter((h)=>h.repo===dX.repo&&Number(h.number)===Number(dX.number)):[],u4=dX?(W?.github.files??[]).filter((h)=>h.repo===dX.repo&&Number(h.number)===Number(dX.number)):[];async function Q2(h,j,TX){let yX=await fetch(`${Z1}${j}`,{method:h,headers:{accept:"application/vnd.github+json","content-type":"application/json"},body:JSON.stringify(TX)});if(!yX.ok){let sX=await yX.json().catch(()=>({}));throw Error(sX.message??`${h} ${j} answered ${yX.status}`)}await d()}let nX=dX&&T&&Xq(dX)===T?dX:void 0,lX={comment:(h)=>Q2("POST",`/repos/${nX.repo}/issues/${nX.number}/comments`,{body:h}),merge:(h,j)=>Q2("PUT",`/repos/${nX.repo}/pulls/${nX.number}/merge`,{commit_title:h,commit_message:j,merge_method:"merge"}),close:async(h)=>{if(h)await Q2("POST",`/repos/${nX.repo}/issues/${nX.number}/comments`,{body:h});await Q2("PATCH",`/repos/${nX.repo}/pulls/${nX.number}`,{state:"closed"})},reopen:()=>Q2("PATCH",`/repos/${nX.repo}/pulls/${nX.number}`,{state:"open"})},_5=W?.github.repoFacts??{},LX=N==="all"?void 0:_5[N],d4={};for(let[h,j]of Object.entries(_5))for(let TX of j.labels)d4[`${h}:${TX.name}`]=TX.color??"ededed";let oX=(W?.github.pullRequests??[]).filter((h)=>N==="all"||!N||h.repo===N),X7=oX.filter((h)=>L2(h)==="open"||L2(h)==="draft").length,j2={code:"code",issues:"issues",pulls:"pulls",actions:"actions",projects:"projects",insights:"insights",settings:"settings",discussions:"discussions"},l4=l==="code"?"code":l==="issues"?"issues":l==="pulls"?"pulls":l==="actions"?"actions":l==="projects"?"projects":l==="insights"?"insights":l==="settings"?"settings":l==="discussions"?"discussions":void 0,U4=M.jsxDEV(pU,{repo:N,viewer:W?.github.viewer,active:l4,facts:LX,openPulls:X7,projects:R2.length,onTab:(h)=>{let j=j2[h];if(j)k(j),v(""),lZ("conversation")},onHome:()=>{C("all"),k("pulls"),v("")},onInbox:()=>{k("notifications"),v("")},onSearch:()=>{k("search"),v("")}},void 0,!1,void 0,this);if(l==="pulls")return M.jsxDEV("div",{className:"gh-app",children:[U4,p?M.jsxDEV("div",{className:"gh-container",children:M.jsxDEV("div",{className:"gh-flash-error",children:p},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,T?M.jsxDEV(tU,{pr:nX,reviews:s2,commits:e6,comments:i,reviewComments:R5,files:u4,checks:W?.github.checks??[],stateEvents:W?.github.stateEvents??[],viewer:W?.github.viewer,labelColors:d4,tab:UZ,onTab:lZ,actions:lX},void 0,!1,void 0,this):M.jsxDEV(nU,{repo:N,prs:oX,reviews:W?.github.reviews??[],facts:LX,listState:qX,onListState:oZ,onSelect:(h)=>{lZ("conversation"),C(h.slice(0,h.lastIndexOf("#"))),v(h)}},void 0,!1,void 0,this),M.jsxDEV(cU,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return M.jsxDEV("div",{className:"gh-app",children:[U4,M.jsxDEV("div",{className:"content",children:[p?M.jsxDEV("div",{className:"error",children:p},void 0,!1,void 0,this):null,M.jsxDEV("div",{className:"toolbar",children:[M.jsxDEV("input",{className:"pr-filter",value:R,onChange:(h)=>t(h.target.value),placeholder:l==="issues"?"Search issues by title, number, repo":l==="actions"?"Search runs by workflow, number, branch, status":l==="releases"?"Search releases by tag, name, draft/prerelease":l==="discussions"?"Search discussions by title, category, answered":"Search"},void 0,!1,void 0,this),l==="issues"?M.jsxDEV("button",{className:"new-pr",children:"New issue"},void 0,!1,void 0,this):l==="actions"?M.jsxDEV("button",{className:"new-pr",children:"Run workflow"},void 0,!1,void 0,this):l==="releases"?M.jsxDEV("button",{className:"new-pr",children:"Draft a new release"},void 0,!1,void 0,this):l==="discussions"?M.jsxDEV("button",{className:"new-pr",children:"New discussion"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),l==="issues"?M.jsxDEV("div",{className:"split",children:[M.jsxDEV("main",{children:M.jsxDEV(TR,{issues:jX,onSelect:AZ},void 0,!1,void 0,this)},void 0,!1,void 0,this),M.jsxDEV(wR,{issue:jX.find((h)=>`${h.repo}#${h.number}`===ZZ)??jX[0]},void 0,!1,void 0,this)]},void 0,!0,void 0,this):l==="actions"?M.jsxDEV(jR,{runs:EX,jobs:D,selectedRunId:x,onSelect:XX},void 0,!1,void 0,this):l==="releases"?M.jsxDEV(mR,{releases:HX,selectedReleaseId:n,onSelect:fX},void 0,!1,void 0,this):l==="discussions"?M.jsxDEV(ER,{discussions:xX,selectedKey:aX,onSelect:BZ},void 0,!1,void 0,this):l==="code"?M.jsxDEV(SR,{contents:(W?.github.contents??[]).filter((h)=>N==="all"||!N||h.repo===N)},void 0,!1,void 0,this):l==="search"?M.jsxDEV(vR,{query:R,prs:W?.github.pullRequests??[],issues:W?.github.issues??[],contents:W?.github.contents??[]},void 0,!1,void 0,this):l==="notifications"?M.jsxDEV(kR,{notifications:(W?.github.notifications??[]).filter((h)=>N==="all"||!N||h.repo===N)},void 0,!1,void 0,this):l==="deployments"?M.jsxDEV(yR,{deployments:hX,environments:uX},void 0,!1,void 0,this):l==="projects"?M.jsxDEV(fR,{boards:R2,selectedId:S,onSelect:V},void 0,!1,void 0,this):l==="insights"?M.jsxDEV(bR,{insights:zZ},void 0,!1,void 0,this):l==="settings"?M.jsxDEV(VR,{settings:iZ},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function TR({issues:W,onSelect:L}){return M.jsxDEV("section",{className:"list-box issues-box",children:[M.jsxDEV("div",{className:"list-head",children:[M.jsxDEV("span",{children:M.jsxDEV("strong",{children:[W.length," issues"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("span",{children:"Updated"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W.length?W.map((K)=>{let N=K.state??"open";return M.jsxDEV("button",{className:"pr-row issue-row",onClick:()=>L?.(`${K.repo}#${K.number}`),children:[M.jsxDEV("span",{className:`status-icon ${N==="closed"?"closed":"open"}`,children:"!"},void 0,!1,void 0,this),M.jsxDEV("span",{children:[M.jsxDEV("span",{className:"pr-title",children:K.title||K.url||`${K.repo}#${K.number}`},void 0,!1,void 0,this),M.jsxDEV("div",{className:"pr-meta",children:[K.repo," #",K.number," · ",N,K.updatedAt?` · updated ${new Date(K.updatedAt).toLocaleString()}`:K.createdAt?` · ${new Date(K.createdAt).toLocaleString()}`:""]},void 0,!0,void 0,this),(K.linked??[]).length?M.jsxDEV("div",{className:"linked-issues",children:["linked:"," ",(K.linked??[]).map((C,T)=>M.jsxDEV("a",{className:"linked-ref",href:C.url,target:"_blank",rel:"noreferrer",children:[C.type==="pull_request"?"PR":"issue"," #",C.number]},`linked-${T}`,!0,void 0,this))]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"labels",children:[M.jsxDEV("span",{className:`state-badge ${N}`,children:N},void 0,!1,void 0,this),K.milestone?M.jsxDEV("span",{className:"label milestone",title:"Milestone",children:["\uD83C\uDFF7 ",K.milestone]},void 0,!0,void 0,this):null,(K.labels??[]).slice(0,3).map((C)=>C.name?M.jsxDEV("span",{className:"label",children:C.name},C.name,!1,void 0,this):null),(K.assignees??[]).slice(0,2).map((C)=>M.jsxDEV("span",{className:"label assignee",children:["@",C]},C,!0,void 0,this))]},void 0,!0,void 0,this)]},`${K.repo}#${K.number}`,!0,void 0,this)}):M.jsxDEV("div",{className:"empty",children:"No issues match this view."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function wR({issue:W}){if(!W)return M.jsxDEV("div",{className:"empty",children:"Select an issue."},void 0,!1,void 0,this);let L=W.state??"open";return M.jsxDEV("section",{className:"issue-detail","data-testid":"issue-detail",children:[M.jsxDEV("h2",{children:[W.title||`${W.repo}#${W.number}`," ",M.jsxDEV("span",{children:["#",W.number]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"state-line",children:[M.jsxDEV("span",{className:`state-badge ${L}`,children:[L,W.stateReason?` (${W.stateReason})`:""]},void 0,!0,void 0,this),W.locked?M.jsxDEV("span",{className:"label",title:"Locked",children:"\uD83D\uDD12 locked"},void 0,!1,void 0,this):null,M.jsxDEV("strong",{children:W.repo},void 0,!1,void 0,this),W.milestone?M.jsxDEV("span",{className:"label milestone",title:"Milestone",children:["\uD83C\uDFF7 ",W.milestone]},void 0,!0,void 0,this):null,W.url?M.jsxDEV("a",{className:"branch",href:W.url,target:"_blank",rel:"noreferrer",children:"View on GitHub"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"meta-row",children:[(W.labels??[]).map((K)=>K.name?M.jsxDEV("span",{className:"label",children:K.name},K.name,!1,void 0,this):null),(W.assignees??[]).map((K)=>M.jsxDEV("span",{className:"label assignee",children:["@",K]},K,!0,void 0,this))]},void 0,!0,void 0,this),M.jsxDEV("article",{className:"comment",children:[M.jsxDEV("div",{className:"comment-head",children:M.jsxDEV("strong",{children:"opened this issue"},void 0,!1,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("div",{className:"comment-body",children:W.body||"No issue body in snapshot."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("section",{className:"snapshot-section issue-timeline","data-testid":"issue-timeline",children:[M.jsxDEV("h3",{children:"Timeline"},void 0,!1,void 0,this),(W.timeline??[]).length?(W.timeline??[]).map((K,N)=>M.jsxDEV("div",{className:"timeline-event",children:[M.jsxDEV("span",{className:"event-kind",children:K.event},void 0,!1,void 0,this),K.detail?M.jsxDEV("span",{className:"event-detail",children:[" ",K.detail]},void 0,!0,void 0,this):null]},`tl-${N}`,!0,void 0,this)):M.jsxDEV("p",{className:"sha",children:"No timeline events."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("section",{className:"snapshot-section",children:[M.jsxDEV("h3",{children:["Comments ",M.jsxDEV("span",{className:"count",children:(W.comments??[]).length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),(W.comments??[]).length?(W.comments??[]).map((K)=>M.jsxDEV("article",{className:"comment issue-detail-comment","data-testid":"issue-detail-comment",children:[M.jsxDEV("div",{className:"comment-head",children:[M.jsxDEV("strong",{children:K.author||"GitHub user"},void 0,!1,void 0,this)," commented ",K.createdAt?new Date(K.createdAt).toLocaleString():""]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"comment-body",children:K.body||""},void 0,!1,void 0,this)]},`c-${K.id}`,!0,void 0,this)):M.jsxDEV("p",{className:"sha",children:"No comments."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function SR({contents:W}){if(!W.length)return M.jsxDEV("div",{className:"empty","data-testid":"code-browser",children:"No files in this snapshot."},void 0,!1,void 0,this);let L=new Set;for(let K of W){let N=K.path.split("/");for(let C=1;C<N.length;C++)L.add(N.slice(0,C).join("/"))}return M.jsxDEV("section",{className:"code-browser","data-testid":"code-browser",children:[M.jsxDEV("h3",{children:["Code ",M.jsxDEV("span",{className:"count",children:[W.length," files"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"file-tree","data-testid":"file-tree",children:[[...L].sort().map((K)=>M.jsxDEV("div",{className:"tree-row tree-dir","data-testid":"tree-dir",children:["\uD83D\uDCC1 ",K]},`d-${K}`,!0,void 0,this)),W.map((K)=>M.jsxDEV("div",{className:"tree-row tree-file","data-testid":"tree-file",children:[M.jsxDEV("span",{children:["\uD83D\uDCC4 ",K.path]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"sha",children:[K.size??0," bytes"]},void 0,!0,void 0,this)]},`${K.repo}#${K.path}`,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function vR({query:W,prs:L,issues:K,contents:N}){let C=W.trim().toLowerCase(),T=(...k)=>C===""||k.some((S)=>(S??"").toLowerCase().includes(C)),v=L.filter((k)=>T(k.title,k.repo)),R=K.filter((k)=>T(k.title,k.repo)),t=N.filter((k)=>T(k.path,k.repo)),l=v.length+R.length+t.length;return M.jsxDEV("section",{className:"search-view","data-testid":"search-view",children:[M.jsxDEV("h3",{children:["Search results ",M.jsxDEV("span",{className:"count",children:l},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"search-group","data-testid":"search-prs",children:[M.jsxDEV("h4",{children:["Pull requests (",v.length,")"]},void 0,!0,void 0,this),v.map((k)=>M.jsxDEV("div",{className:"search-hit",children:[k.repo," #",k.number," · ",k.title]},`p-${k.repo}#${k.number}`,!0,void 0,this))]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"search-group","data-testid":"search-issues",children:[M.jsxDEV("h4",{children:["Issues (",R.length,")"]},void 0,!0,void 0,this),R.map((k)=>M.jsxDEV("div",{className:"search-hit",children:[k.repo," #",k.number," · ",k.title]},`i-${k.repo}#${k.number}`,!0,void 0,this))]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"search-group","data-testid":"search-code",children:[M.jsxDEV("h4",{children:["Code (",t.length,")"]},void 0,!0,void 0,this),t.map((k)=>M.jsxDEV("div",{className:"search-hit",children:[k.repo," · ",k.path]},`c-${k.repo}#${k.path}`,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function kR({notifications:W}){if(!W.length)return M.jsxDEV("div",{className:"empty","data-testid":"notifications-view",children:"No notifications."},void 0,!1,void 0,this);return M.jsxDEV("section",{className:"notifications-view","data-testid":"notifications-view",children:[M.jsxDEV("h3",{children:["Notifications ",M.jsxDEV("span",{className:"count",children:[W.filter((L)=>L.unread).length," unread"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),W.map((L)=>M.jsxDEV("div",{className:`notification-row ${L.unread?"unread":"read"}`,"data-testid":"notification-row",children:[L.unread?M.jsxDEV("span",{className:"unread-dot","data-testid":"unread-dot",children:"●"},void 0,!1,void 0,this):M.jsxDEV("span",{className:"read-dot",children:"○"},void 0,!1,void 0,this),M.jsxDEV("span",{className:"notif-subject",children:[M.jsxDEV("strong",{children:L.title},void 0,!1,void 0,this)," ",M.jsxDEV("span",{className:"sha",children:L.type},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"notif-reason label",children:L.reason},void 0,!1,void 0,this),M.jsxDEV("span",{className:"sha",children:L.repo},void 0,!1,void 0,this)]},L.id,!0,void 0,this))]},void 0,!0,void 0,this)}function gR({state:W}){let L=(W||"pending").toLowerCase();return M.jsxDEV("span",{className:`deployment-state ${L==="success"?"success":L==="failure"||L==="error"?"failure":L==="inactive"?"inactive":"pending"}`,"data-testid":"deployment-state",title:`deployment: ${L}`,children:L},void 0,!1,void 0,this)}function yR({deployments:W,environments:L}){if(!W.length&&!L.length)return M.jsxDEV("div",{className:"empty","data-testid":"deployments-view",children:"No deployments."},void 0,!1,void 0,this);return M.jsxDEV("section",{className:"deployments-view","data-testid":"deployments-view",children:[L.length?M.jsxDEV("div",{className:"environments-list","data-testid":"environments-list",children:[M.jsxDEV("h3",{children:["Environments ",M.jsxDEV("span",{className:"count",children:L.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),L.map((K)=>M.jsxDEV("div",{className:"environment-row","data-testid":"environment-row",children:[M.jsxDEV("span",{className:"environment-name",children:M.jsxDEV("strong",{children:K.name},void 0,!1,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("span",{className:"sha",children:K.repo},void 0,!1,void 0,this),K.protected?M.jsxDEV("span",{className:"environment-protected label","data-testid":"environment-protected",children:["protected",K.waitTimer?` · ${K.waitTimer}m wait`:"",K.reviewers&&K.reviewers.length?` · ${K.reviewers.length} reviewers`:""]},void 0,!0,void 0,this):M.jsxDEV("span",{className:"label",children:"no protection rules"},void 0,!1,void 0,this)]},`${K.repo}#${K.name}`,!0,void 0,this))]},void 0,!0,void 0,this):null,M.jsxDEV("div",{className:"deployments-list",children:[M.jsxDEV("h3",{children:["Deployments ",M.jsxDEV("span",{className:"count",children:W.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W.length?W.map((K)=>M.jsxDEV("div",{className:"deployment-row","data-testid":"deployment-row",children:[M.jsxDEV(gR,{state:K.state},void 0,!1,void 0,this),M.jsxDEV("span",{className:"deployment-env label","data-testid":"deployment-env",children:[K.environment,K.production?" · production":""]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"deployment-ref",children:[M.jsxDEV("strong",{children:K.ref},void 0,!1,void 0,this),M.jsxDEV("div",{className:"deployment-meta",children:[K.repo," · deploy #",K.id,K.sha?` · ${h$(K.sha)}`:"",K.description?` · ${K.description}`:""]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),K.environmentUrl?M.jsxDEV("a",{className:"branch",href:K.environmentUrl,target:"_blank",rel:"noreferrer",children:"View deployment"},void 0,!1,void 0,this):null]},K.id,!0,void 0,this)):M.jsxDEV("div",{className:"empty",children:"No deployments yet."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function fR({boards:W,selectedId:L,onSelect:K}){if(!W.length)return M.jsxDEV("div",{className:"empty","data-testid":"project-board-view",children:"No projects."},void 0,!1,void 0,this);let N=W.find((T)=>T.id===L)??W[0],C=[...N.columns,N.noStatus];return M.jsxDEV("section",{className:"project-board-view","data-testid":"project-board-view",children:[M.jsxDEV("div",{className:"project-list",children:[M.jsxDEV("h3",{children:["Projects ",M.jsxDEV("span",{className:"count",children:W.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W.map((T)=>M.jsxDEV("div",{className:`project-row${T.id===N.id?" active":""}`,"data-testid":"project-row",onClick:()=>K(T.id),children:[M.jsxDEV("span",{className:"project-title",children:[M.jsxDEV("strong",{children:T.title},void 0,!1,void 0,this)," #",T.number]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"project-item-count label","data-testid":"project-item-count",children:[T.itemCount," items"]},void 0,!0,void 0,this),T.closed?M.jsxDEV("span",{className:"label",children:"closed"},void 0,!1,void 0,this):null,M.jsxDEV("span",{className:"sha",children:T.owner},void 0,!1,void 0,this)]},T.id,!0,void 0,this))]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"project-board","data-testid":"project-board",children:[M.jsxDEV("div",{className:"project-views",children:N.views.map((T)=>M.jsxDEV("span",{className:"project-view label","data-testid":"project-view",children:[T.name," (",T.layout,")"]},T.number,!0,void 0,this))},void 0,!1,void 0,this),M.jsxDEV("div",{className:"board-columns","data-testid":"board-columns",children:C.map((T)=>M.jsxDEV("div",{className:"board-column","data-testid":"board-column",children:[M.jsxDEV("div",{className:"board-column-head",children:[M.jsxDEV("strong",{children:T.name},void 0,!1,void 0,this)," ",M.jsxDEV("span",{className:"count","data-testid":"board-column-count",children:T.cards.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T.cards.map((v)=>M.jsxDEV("div",{className:"board-card","data-testid":"board-card",children:[M.jsxDEV("span",{className:"board-card-title",children:v.title},void 0,!1,void 0,this),M.jsxDEV("span",{className:"board-card-type label",children:v.contentType},void 0,!1,void 0,this)]},v.id,!0,void 0,this))]},T.name,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function bR({insights:W}){if(!W.length)return M.jsxDEV("div",{className:"empty","data-testid":"insights-view",children:"No insights."},void 0,!1,void 0,this);return M.jsxDEV("section",{className:"insights-view","data-testid":"insights-view",children:W.map((L)=>M.jsxDEV("div",{className:"insights-repo","data-testid":"insights-repo",children:[M.jsxDEV("h3",{children:L.repo},void 0,!1,void 0,this),M.jsxDEV("div",{className:"pulse","data-testid":"pulse",children:[M.jsxDEV("span",{className:"pulse-stat","data-testid":"pulse-merged-prs",children:[L.pulse.mergedPrs," Merged pull requests"]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"pulse-stat","data-testid":"pulse-open-prs",children:[L.pulse.openPrs," Open pull requests"]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"pulse-stat","data-testid":"pulse-closed-issues",children:[L.pulse.closedIssues," Closed issues"]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"pulse-stat","data-testid":"pulse-open-issues",children:[L.pulse.openedIssues," New issues"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"contributors","data-testid":"contributors",children:[M.jsxDEV("h4",{children:"Contributors"},void 0,!1,void 0,this),L.contributors.length?L.contributors.map((K)=>M.jsxDEV("div",{className:"contributor-row","data-testid":"contributor-row",children:[M.jsxDEV("span",{className:"contributor-login",children:M.jsxDEV("strong",{children:K.login},void 0,!1,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("span",{className:"contributor-commits label","data-testid":"contributor-commits",children:[K.commits," commits"]},void 0,!0,void 0,this)]},K.login,!0,void 0,this)):M.jsxDEV("div",{className:"empty",children:"No commit data."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},L.repo,!0,void 0,this))},void 0,!1,void 0,this)}function VR({settings:W}){if(!W.length)return M.jsxDEV("div",{className:"empty","data-testid":"settings-view",children:"No repositories."},void 0,!1,void 0,this);return M.jsxDEV("section",{className:"settings-view","data-testid":"settings-view",children:W.map((L)=>M.jsxDEV("div",{className:"settings-repo","data-testid":"settings-repo",children:[M.jsxDEV("h3",{children:[L.repo," settings"]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"settings-general","data-testid":"settings-general",children:[M.jsxDEV("span",{className:"label","data-testid":"settings-default-branch",children:["default branch: ",L.general.defaultBranch??"main"]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"label",children:L.general.private?"private":"public"},void 0,!1,void 0,this),L.general.hasIssues?M.jsxDEV("span",{className:"label",children:"Issues"},void 0,!1,void 0,this):null,L.general.hasProjects?M.jsxDEV("span",{className:"label",children:"Projects"},void 0,!1,void 0,this):null,L.general.hasWiki?M.jsxDEV("span",{className:"label",children:"Wiki"},void 0,!1,void 0,this):null,L.general.hasDiscussions?M.jsxDEV("span",{className:"label",children:"Discussions"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"settings-section","data-testid":"settings-collaborators",children:[M.jsxDEV("h4",{children:["Manage access ",M.jsxDEV("span",{className:"count","data-testid":"collaborators-count",children:L.collaborators.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),L.collaborators.map((K)=>M.jsxDEV("div",{className:"collaborator-row","data-testid":"collaborator-row",children:[M.jsxDEV("strong",{children:K.login},void 0,!1,void 0,this)," ",M.jsxDEV("span",{className:"label",children:K.permission},void 0,!1,void 0,this)]},K.login,!0,void 0,this))]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"settings-section","data-testid":"settings-webhooks",children:[M.jsxDEV("h4",{children:["Webhooks ",M.jsxDEV("span",{className:"count","data-testid":"webhooks-count",children:L.webhooks.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),L.webhooks.map((K)=>M.jsxDEV("div",{className:"webhook-row","data-testid":"webhook-row",children:[M.jsxDEV("span",{className:"webhook-url",children:K.url??"(no url)"},void 0,!1,void 0,this),M.jsxDEV("span",{className:"label",children:K.active?"active":"inactive"},void 0,!1,void 0,this),M.jsxDEV("span",{className:"label",children:K.events.join(", ")},void 0,!1,void 0,this)]},K.id,!0,void 0,this))]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"settings-section","data-testid":"settings-branches",children:[M.jsxDEV("h4",{children:["Branches ",M.jsxDEV("span",{className:"count","data-testid":"branches-count",children:L.branches.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),L.branches.map((K)=>M.jsxDEV("div",{className:"branch-row","data-testid":"branch-row",children:[M.jsxDEV("strong",{children:K.name},void 0,!1,void 0,this)," ",K.protected?M.jsxDEV("span",{className:"label","data-testid":"branch-protected",children:"protected"},void 0,!1,void 0,this):null]},K.name,!0,void 0,this))]},void 0,!0,void 0,this)]},L.repo,!0,void 0,this))},void 0,!1,void 0,this)}function jR({runs:W,jobs:L,selectedRunId:K,onSelect:N}){let C=W.find((v)=>v.id===K)??W[0],T=C?L.filter((v)=>v.repo===C.repo&&Number(v.runId)===Number(C.id)):[];return M.jsxDEV("div",{className:"actions-view split",children:[M.jsxDEV("section",{className:"list-box actions-box",children:[M.jsxDEV("div",{className:"list-head",children:[M.jsxDEV("span",{children:M.jsxDEV("strong",{children:[W.length," workflow runs"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("span",{children:"Status"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W.length?W.map((v)=>{let R=v.status==="completed"?v.conclusion||"completed":v.status||"queued";return M.jsxDEV("button",{className:`run-row ${v.id===C?.id?"active":""}`,onClick:()=>N?.(v.id),children:[M.jsxDEV(X1,{status:v.status,conclusion:v.conclusion},void 0,!1,void 0,this),M.jsxDEV("span",{children:[M.jsxDEV("span",{className:"run-title",children:v.workflowName||v.name||`Run #${v.runNumber}`},void 0,!1,void 0,this),M.jsxDEV("div",{className:"run-meta",children:[v.repo," · run #",v.runNumber," · ",v.event||"workflow_dispatch",v.headBranch?` · ${v.headBranch}`:"",v.headSha?` · ${h$(v.headSha)}`:"",` · ${R}`,v.jobCount!=null?` · ${v.jobCount} jobs`:""]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},v.id,!0,void 0,this)}):M.jsxDEV("div",{className:"empty",children:"No workflow runs in this view."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("section",{className:"conversation run-detail",children:C?M.jsxDEV(M.Fragment,{children:[M.jsxDEV("h2",{children:[C.workflowName||C.name||`Run #${C.runNumber}`," ",M.jsxDEV("span",{children:["#",C.runNumber]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"state-line",children:[M.jsxDEV(X1,{status:C.status,conclusion:C.conclusion},void 0,!1,void 0,this),M.jsxDEV("strong",{children:C.repo},void 0,!1,void 0,this),M.jsxDEV("span",{className:"sha",children:[C.event||"workflow_dispatch",C.headBranch?` · ${C.headBranch}`:"",C.headSha?` · ${h$(C.headSha)}`:""]},void 0,!0,void 0,this),C.url?M.jsxDEV("a",{className:"branch",href:C.url,target:"_blank",rel:"noreferrer",children:"View on GitHub"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),M.jsxDEV("section",{className:"snapshot-section",children:[M.jsxDEV("h3",{children:"Jobs"},void 0,!1,void 0,this),M.jsxDEV("div",{className:"job-list",children:T.length?T.map((v)=>M.jsxDEV("div",{className:"job-row",children:[M.jsxDEV("div",{className:"job-head",children:[M.jsxDEV(X1,{status:v.status,conclusion:v.conclusion},void 0,!1,void 0,this),M.jsxDEV("strong",{children:v.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),(v.steps??[]).length?M.jsxDEV("ol",{className:"step-list",children:(v.steps??[]).map((R)=>M.jsxDEV("li",{className:"step-row",children:[M.jsxDEV(X1,{status:R.status,conclusion:R.conclusion},void 0,!1,void 0,this)," ",R.name]},R.number,!0,void 0,this))},void 0,!1,void 0,this):null]},v.id,!0,void 0,this)):M.jsxDEV("p",{className:"sha",children:"No jobs in this run."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):M.jsxDEV("div",{className:"empty",children:"Select a workflow run."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function DR(W){if(!W)return"0 B";if(W<1024)return`${W} B`;if(W<1048576)return`${(W/1024).toFixed(1)} KB`;return`${(W/1048576).toFixed(1)} MB`}function $q({draft:W,prerelease:L}){let K=W?"draft":L?"prerelease":"release",N=W?"Draft":L?"Pre-release":"Release";return M.jsxDEV("span",{className:`release-badge ${K}`,title:`release channel: ${K}`,children:N},void 0,!1,void 0,this)}function mR({releases:W,selectedReleaseId:L,onSelect:K}){let N=W.find((T)=>T.id===L)??W[0],C=N?.assets??[];return M.jsxDEV("div",{className:"releases-view split",children:[M.jsxDEV("section",{className:"list-box releases-box",children:[M.jsxDEV("div",{className:"list-head",children:[M.jsxDEV("span",{children:M.jsxDEV("strong",{children:[W.length," releases"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("span",{children:"Published"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W.length?W.map((T)=>M.jsxDEV("button",{className:`release-row ${T.id===N?.id?"active":""}`,onClick:()=>K?.(T.id),children:[M.jsxDEV("span",{className:"release-tag",children:["\uD83C\uDFF7 ",T.tagName]},void 0,!0,void 0,this),M.jsxDEV("span",{children:[M.jsxDEV("span",{className:"release-title",children:T.name||T.tagName},void 0,!1,void 0,this),M.jsxDEV("div",{className:"release-meta",children:[T.repo,T.publishedAt?` · published ${new Date(T.publishedAt).toLocaleString()}`:T.createdAt?` · created ${new Date(T.createdAt).toLocaleString()}`:"",(T.assets??[]).length?` · ${(T.assets??[]).length} assets`:""]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"labels",children:M.jsxDEV($q,{draft:T.draft,prerelease:T.prerelease},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},T.id,!0,void 0,this)):M.jsxDEV("div",{className:"empty",children:"No releases in this view."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("section",{className:"conversation release-detail",children:N?M.jsxDEV(M.Fragment,{children:[M.jsxDEV("h2",{children:[N.name||N.tagName," ",M.jsxDEV("span",{children:N.tagName},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"state-line",children:[M.jsxDEV($q,{draft:N.draft,prerelease:N.prerelease},void 0,!1,void 0,this),M.jsxDEV("strong",{children:N.repo},void 0,!1,void 0,this),M.jsxDEV("span",{className:"sha",children:["target: ",N.targetCommitish||"main",N.publishedAt?` · published ${new Date(N.publishedAt).toLocaleString()}`:N.draft?" · unpublished draft":""]},void 0,!0,void 0,this),N.url?M.jsxDEV("a",{className:"branch",href:N.url,target:"_blank",rel:"noreferrer",children:"View on GitHub"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"timeline-item",children:M.jsxDEV("article",{className:"comment",children:[M.jsxDEV("div",{className:"comment-head",children:M.jsxDEV("strong",{children:"Release notes"},void 0,!1,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("div",{className:"comment-body",children:N.body||"No release notes."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("section",{className:"snapshot-section",children:[M.jsxDEV("h3",{children:"Assets"},void 0,!1,void 0,this),M.jsxDEV("div",{className:"asset-list",children:C.length?C.map((T)=>M.jsxDEV("div",{className:"asset-row",children:[M.jsxDEV("strong",{className:"asset-name",children:T.name},void 0,!1,void 0,this),M.jsxDEV("span",{className:"asset-type",children:T.contentType||"application/octet-stream"},void 0,!1,void 0,this),M.jsxDEV("span",{className:"asset-size",children:DR(T.size)},void 0,!1,void 0,this),M.jsxDEV("span",{className:"asset-downloads",children:[T.downloadCount??0," downloads"]},void 0,!0,void 0,this)]},T.id,!0,void 0,this)):M.jsxDEV("p",{className:"sha",children:"No assets on this release (asset bytes are a declared Non-goal — metadata only)."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):M.jsxDEV("div",{className:"empty",children:"Select a release."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Qq({name:W,emoji:L,answerable:K}){if(!W)return null;return M.jsxDEV("span",{className:`discussion-category ${K?"answerable":""}`,title:K?"answerable (Q&A) category":"category",children:[L?`${L} `:"",W]},void 0,!0,void 0,this)}function Jq({answerable:W,answered:L}){if(!W)return null;return M.jsxDEV("span",{className:`answer-badge ${L?"answered":"unanswered"}`,title:L?"marked answered":"awaiting an answer",children:L?"✓ Answered":"Unanswered"},void 0,!1,void 0,this)}function ER({discussions:W,selectedKey:L,onSelect:K}){let N=(R)=>`${R.repo}#${R.number}`,C=W.find((R)=>N(R)===L)??W[0],T=C?.comments??[],v=T.find((R)=>R.isAnswer);return M.jsxDEV("div",{className:"discussions-view split",children:[M.jsxDEV("section",{className:"list-box discussions-box",children:[M.jsxDEV("div",{className:"list-head",children:[M.jsxDEV("span",{children:M.jsxDEV("strong",{children:[W.length," discussions"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("span",{children:"Updated"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W.length?W.map((R)=>M.jsxDEV("button",{className:`discussion-row ${N(R)===(C?N(C):"")?"active":""}`,onClick:()=>K?.(N(R)),children:[M.jsxDEV("span",{className:`status-icon ${R.state==="closed"?"closed":"open"}`,children:"\uD83D\uDCAC"},void 0,!1,void 0,this),M.jsxDEV("span",{children:[M.jsxDEV("span",{className:"discussion-title",children:R.title||`${R.repo}#${R.number}`},void 0,!1,void 0,this),M.jsxDEV("div",{className:"discussion-meta",children:[R.repo," #",R.number,R.categoryName?` · ${R.categoryName}`:"",R.commentsCount!=null?` · ${R.commentsCount} comments`:"",R.updatedAt?` · updated ${new Date(R.updatedAt).toLocaleString()}`:R.createdAt?` · ${new Date(R.createdAt).toLocaleString()}`:""]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("span",{className:"labels",children:[M.jsxDEV(Qq,{name:R.categoryName,emoji:R.categoryEmoji,answerable:R.isAnswerable},void 0,!1,void 0,this),M.jsxDEV(Jq,{answerable:R.isAnswerable,answered:R.isAnswered},void 0,!1,void 0,this),R.locked?M.jsxDEV("span",{className:"label locked",title:"locked",children:"\uD83D\uDD12"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},N(R),!0,void 0,this)):M.jsxDEV("div",{className:"empty",children:"No discussions in this view."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("section",{className:"conversation discussion-detail",children:C?M.jsxDEV(M.Fragment,{children:[M.jsxDEV("h2",{children:[C.title||`${C.repo}#${C.number}`," ",M.jsxDEV("span",{children:["#",C.number]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"state-line",children:[M.jsxDEV(Qq,{name:C.categoryName,emoji:C.categoryEmoji,answerable:C.isAnswerable},void 0,!1,void 0,this),M.jsxDEV(Jq,{answerable:C.isAnswerable,answered:C.isAnswered},void 0,!1,void 0,this),M.jsxDEV("strong",{children:C.repo},void 0,!1,void 0,this),M.jsxDEV("span",{className:"sha",children:[C.state,C.locked?" · locked":""]},void 0,!0,void 0,this),C.url?M.jsxDEV("a",{className:"branch",href:C.url,target:"_blank",rel:"noreferrer",children:"View on GitHub"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"timeline-item",children:M.jsxDEV("article",{className:"comment",children:[M.jsxDEV("div",{className:"comment-head",children:M.jsxDEV("strong",{children:"Opening post"},void 0,!1,void 0,this)},void 0,!1,void 0,this),M.jsxDEV("div",{className:"comment-body",children:C.body||"No description."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),v?M.jsxDEV("div",{className:"timeline-item answer-highlight",children:M.jsxDEV("article",{className:"comment accepted-answer",children:[M.jsxDEV("div",{className:"comment-head",children:[M.jsxDEV("strong",{children:"✓ Marked as answer"},void 0,!1,void 0,this)," ",M.jsxDEV("span",{className:"sha",children:["comment #",v.id]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"comment-body",children:v.body||""},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this):null,M.jsxDEV("section",{className:"snapshot-section",children:[M.jsxDEV("h3",{children:"Comments"},void 0,!1,void 0,this),M.jsxDEV("div",{className:"comment-thread",children:T.length?T.map((R)=>M.jsxDEV("div",{className:`thread-comment ${R.parentId!=null?"reply":""} ${R.isAnswer?"is-answer":""}`,children:[M.jsxDEV("div",{className:"comment-head",children:[M.jsxDEV("strong",{children:["comment #",R.id]},void 0,!0,void 0,this),R.parentId!=null?M.jsxDEV("span",{className:"sha",children:[" · reply to #",R.parentId]},void 0,!0,void 0,this):null,R.isAnswer?M.jsxDEV("span",{className:"answer-badge answered",children:" ✓ answer"},void 0,!1,void 0,this):null,R.createdAt?M.jsxDEV("span",{className:"sha",children:[" · ",new Date(R.createdAt).toLocaleString()]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),M.jsxDEV("div",{className:"comment-body",children:R.body||""},void 0,!1,void 0,this)]},R.id,!0,void 0,this)):M.jsxDEV("p",{className:"sha",children:"No comments yet."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):M.jsxDEV("div",{className:"empty",children:"Select a discussion."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}if(typeof document<"u")Bq.createRoot(document.getElementById("root")).render(M.jsxDEV(CR,{},void 0,!1,void 0,this));export{VR as SettingsView,vR as SearchView,X1 as RunStatusBadge,mR as ReleasesView,$q as ReleaseBadge,fR as ProjectBoardView,aU as PrList,kR as NotificationsView,TR as IssuesTable,wR as IssueDetail,bR as InsightsView,sU as FilesDiff,ER as DiscussionsView,Qq as DiscussionCategoryBadge,Jq as DiscussionAnswerBadge,yR as DeploymentsView,gR as DeploymentState,iU as Conversation,SR as CodeBrowser,dU as CiStatus,rU as Aside,jR as ActionsView};
|