@skyramp/mcp 0.3.2 → 0.3.4
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/build/index.js +47 -2
- package/build/playwright/PlaywrightTraceService.d.ts +8 -0
- package/build/playwright/PlaywrightTraceService.js +1 -0
- package/build/playwright/registerPlaywrightTools.js +42 -1
- package/build/prompts/enhance-assertions/sharedAssertionRules.js +19 -0
- package/build/prompts/pom-aware-code-reuse.js +17 -8
- package/build/prompts/test-maintenance/actionsInstructions.js +2 -2
- package/build/prompts/test-recommendation/analysisOutputPrompt.js +1 -4
- package/build/prompts/test-recommendation/recommendationSections.d.ts +1 -1
- package/build/prompts/test-recommendation/recommendationSections.js +5 -5
- package/build/prompts/test-recommendation/test-recommendation-prompt.js +13 -7
- package/build/prompts/testbot/testbot-prompts.d.ts +2 -12
- package/build/prompts/testbot/testbot-prompts.js +28 -16
- package/build/recommendation/discriminators.d.ts +7 -1
- package/build/recommendation/discriminators.js +16 -3
- package/build/resources/testbotResource.js +20 -4
- package/build/services/ScenarioGenerationService.js +5 -2
- package/build/services/TestExecutionService.d.ts +13 -8
- package/build/services/TestExecutionService.js +73 -26
- package/build/services/TestGenerationService.js +24 -9
- package/build/services/containerEnv.d.ts +12 -1
- package/build/services/containerEnv.js +118 -1
- package/build/tools/executeSkyrampTestTool.d.ts +9 -0
- package/build/tools/executeSkyrampTestTool.js +20 -6
- package/build/tools/execution-video-state.d.ts +21 -0
- package/build/tools/execution-video-state.js +51 -0
- package/build/tools/generate-tests/generateBatchScenarioRestTool.js +31 -11
- package/build/tools/generate-tests/planGuard.d.ts +5 -5
- package/build/tools/generate-tests/planGuard.js +5 -17
- package/build/tools/queryProxyMocksTool.js +0 -1
- package/build/tools/submitReportTool.d.ts +83 -10
- package/build/tools/submitReportTool.js +179 -29
- package/build/tools/test-management/actionsTool.js +52 -41
- package/build/tools/test-management/analyzeChangesTool.d.ts +11 -0
- package/build/tools/test-management/analyzeChangesTool.js +37 -33
- package/build/tools/test-management/analyzeTestHealthTool.js +3 -3
- package/build/tools/test-management/registerTestPlanTool.js +113 -31
- package/build/types/TestAnalysis.d.ts +7 -3
- package/build/types/TestExecution.d.ts +14 -0
- package/build/types/TestTypes.js +3 -2
- package/build/types/TestbotPromptOptions.d.ts +34 -0
- package/build/types/TestbotPromptOptions.js +1 -0
- package/build/types/TestbotReport.d.ts +10 -0
- package/build/types/TestbotReport.js +10 -1
- package/build/types/index.d.ts +2 -0
- package/build/types/index.js +1 -0
- package/build/utils/AnalysisStateManager.d.ts +36 -2
- package/build/utils/AnalysisStateManager.js +34 -13
- package/build/utils/frontendSelectors.js +0 -1
- package/build/utils/gitStaging.d.ts +5 -0
- package/build/utils/gitStaging.js +1 -1
- package/build/utils/pom-catalog.d.ts +23 -0
- package/build/utils/pom-catalog.js +30 -0
- package/build/utils/pom-scope/pom-files.d.ts +14 -0
- package/build/utils/pom-scope/pom-files.js +32 -6
- package/build/utils/pom-scope/testIdDiscovery.d.ts +40 -0
- package/build/utils/pom-scope/testIdDiscovery.js +104 -0
- package/build/utils/reportVerification.d.ts +7 -2
- package/build/utils/reportVerification.js +9 -3
- package/build/utils/scenarioDrafting.js +7 -1
- package/build/utils/skyrampMdContent.d.ts +1 -1
- package/build/utils/skyrampMdContent.js +1 -1
- package/build/utils/urlPath.d.ts +37 -0
- package/build/utils/urlPath.js +55 -0
- package/build/utils/utils.d.ts +45 -0
- package/build/utils/utils.js +50 -0
- package/build/utils/versions.d.ts +3 -3
- package/build/utils/versions.js +1 -1
- package/build/utils/workspaceAuth.d.ts +15 -15
- package/build/utils/workspaceAuth.js +32 -17
- package/build/workspace/queryParamResolution.d.ts +93 -0
- package/build/workspace/queryParamResolution.js +201 -0
- package/build/workspace/workspace.d.ts +104 -0
- package/build/workspace/workspace.js +24 -0
- package/node_modules/playwright/ThirdPartyNotices.txt +319 -266
- package/node_modules/playwright/lib/dom-analyzer/blueprint.js +154 -27
- package/node_modules/playwright/lib/dom-analyzer/crawler.js +2 -2
- package/node_modules/playwright/lib/mcp/browser/tools/pageBlueprint.js +1 -1
- package/node_modules/playwright/lib/mcp/browser/tools/sitemap.js +6 -2
- package/node_modules/playwright/lib/mcp/skyramp/loadTraceTool.js +3 -2
- package/node_modules/playwright/lib/mcp/skyramp/resultCode.js +4 -3
- package/node_modules/playwright/lib/mcp/skyramp/skyRampImport.js +15 -3
- package/node_modules/playwright/lib/mcp/skyramp/specImport.js +781 -0
- package/node_modules/playwright/lib/mcp/skyramp/traceRecordingBackend.js +14 -3
- package/node_modules/playwright/lib/mcp/test/resultCode.test.js +2 -1
- package/node_modules/playwright/lib/mcp/test/skyRampExport.js +1 -1
- package/node_modules/playwright/lib/mcp/test/skyRampExport.test.js +30 -0
- package/node_modules/playwright/lib/transform/babelBundleImpl.js +200 -199
- package/node_modules/playwright/node_modules/playwright-core/ThirdPartyNotices.txt +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/.package-lock.json +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/adapter/aws-lambda/handler.js +16 -25
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/adapter/bun/websocket.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/adapter/lambda-edge/handler.js +20 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +16 -25
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/websocket.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +20 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/client/client.js +10 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/client/utils.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/css/common.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/css/index.js +9 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/base.js +8 -14
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/components.js +41 -21
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/context.js +131 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/streaming.js +9 -7
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/cache/index.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/compress/index.js +2 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/cors/index.js +2 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/etag/index.js +2 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/language/language.js +10 -32
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/method-override/index.js +5 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/serve-static/index.js +2 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/timing/timing.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/trie-router/node.js +9 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/body.js +12 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/buffer.js +2 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/ipaddr.js +6 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/validator/validator.js +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/client/client.js +10 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/client/utils.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/css/common.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/css/index.js +9 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/base.js +15 -15
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/components.js +42 -22
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/context.js +129 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/streaming.js +10 -8
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/bearer-auth/index.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/cache/index.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/compress/index.js +2 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/cors/index.js +2 -5
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/etag/index.js +2 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/language/language.js +10 -32
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/method-override/index.js +5 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/serve-static/index.js +2 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/timing/timing.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/trie-router/node.js +9 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/helper/websocket/index.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/base.d.ts +1 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/context.d.ts +39 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +2 -2
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/language/language.d.ts +18 -0
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/utils/body.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/utils/types.d.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/body.js +12 -4
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/buffer.js +2 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/ipaddr.js +6 -1
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/validator/validator.js +3 -3
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/package.json +29 -22
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/package-lock.json +3 -3
- package/node_modules/playwright/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +1 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/server/codegen/skyramp/jsonlReader.js +5 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/server/codegen/skyramp/specReader.js +781 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/server/recorder/recorderApp.js +25 -6
- package/node_modules/playwright/node_modules/playwright-core/lib/server/recorder/skyramp/replayEngine.js +3 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/utils.js +2 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/htmlReport/index.html +253 -27
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/assets/{codeMirrorModule-D0BjbCb7.js → codeMirrorModule-DtudTj_v.js} +1 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/assets/index-BpDwp16L.js +422 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/index.html +1 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/assets/{codeMirrorModule-Bzd72-bG.js → codeMirrorModule-FNMuBzX1.js} +1 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Co9upU5h.js +1035 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/index.DXNIQ_dx.js +2 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/index.html +2 -2
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CIKB3XSv.js +5 -0
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +2 -2
- package/node_modules/playwright/node_modules/playwright-core/package.json +1 -1
- package/node_modules/playwright/node_modules/playwright-core/src/generated/pollingRecorderSource.ts +1 -1
- package/node_modules/playwright/node_modules/playwright-core/src/server/codegen/skyramp/jsonlReader.ts +4 -0
- package/node_modules/playwright/node_modules/playwright-core/src/server/codegen/skyramp/specReader.ts +1028 -0
- package/node_modules/playwright/node_modules/playwright-core/src/server/recorder/recorderApp.ts +31 -8
- package/node_modules/playwright/node_modules/playwright-core/src/server/recorder/skyramp/replayEngine.ts +1 -0
- package/node_modules/playwright/node_modules/playwright-core/src/utils.ts +1 -0
- package/node_modules/playwright/package.json +1 -1
- package/package.json +10 -6
- package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/tsconfig.build.tsbuildinfo +0 -1
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/assets/index-lvTRGFx-.js +0 -193
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-DzxTioTK.js +0 -809
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/index.BGc30U3S.js +0 -2
- package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/uiMode.IaDrb29A.js +0 -5
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/codeMirrorModule-DtudTj_v.js","assets/codeMirrorModule-DYBRYzYX.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const p of d.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&u(p)}).observe(document,{childList:!0,subtree:!0});function i(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(c){if(c.ep)return;c.ep=!0;const d=i(c);fetch(c.href,d)}})();function _D(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var wg={exports:{}},ed={},Eg={exports:{}},Du={exports:{}};Du.exports;var Iw;function CD(){return Iw||(Iw=1,(function(r,l){/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/(function(){function i(v,z){Object.defineProperty(d.prototype,v,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",z[0],z[1])}})}function u(v){return v===null||typeof v!="object"?null:(v=Ia&&v[Ia]||v["@@iterator"],typeof v=="function"?v:null)}function c(v,z){v=(v=v.constructor)&&(v.displayName||v.name)||"ReactClass";var Z=v+"."+z;Ss[Z]||(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.",z,v),Ss[Z]=!0)}function d(v,z,Z){this.props=v,this.context=z,this.refs=Ie,this.updater=Z||ws}function p(){}function m(v,z,Z){this.props=v,this.context=z,this.refs=Ie,this.updater=Z||ws}function y(){}function S(v){return""+v}function M(v){try{S(v);var z=!1}catch{z=!0}if(z){z=console;var Z=z.error,P=typeof Symbol=="function"&&Symbol.toStringTag&&v[Symbol.toStringTag]||v.constructor.name||"Object";return Z.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P),S(v)}}function w(v){if(v==null)return null;if(typeof v=="function")return v.$$typeof===$d?null:v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case G:return"Fragment";case qe:return"Profiler";case Se:return"StrictMode";case je:return"Suspense";case Bt:return"SuspenseList";case se:return"Activity"}if(typeof v=="object")switch(typeof v.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),v.$$typeof){case Je:return"Portal";case Te:return v.displayName||"Context";case W:return(v._context.displayName||"Context")+".Consumer";case Lt:var z=v.render;return v=v.displayName,v||(v=z.displayName||z.name||"",v=v!==""?"ForwardRef("+v+")":"ForwardRef"),v;case Et:return z=v.displayName||null,z!==null?z:w(v.type)||"Memo";case Zt:z=v._payload,v=v._init;try{return w(v(z))}catch{}}return null}function E(v){if(v===G)return"<>";if(typeof v=="object"&&v!==null&&v.$$typeof===Zt)return"<...>";try{var z=w(v);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function A(){var v=ue.A;return v===null?null:v.getOwner()}function k(){return Error("react-stack-top-frame")}function T(v){if(bi.call(v,"key")){var z=Object.getOwnPropertyDescriptor(v,"key").get;if(z&&z.isReactWarning)return!1}return v.key!==void 0}function R(v,z){function Z(){Es||(Es=!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)",z))}Z.isReactWarning=!0,Object.defineProperty(v,"key",{get:Z,configurable:!0})}function U(){var v=w(this.type);return Lu[v]||(Lu[v]=!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.")),v=this.props.ref,v!==void 0?v:null}function L(v,z,Z,P,ce,Ae){var he=Z.ref;return v={$$typeof:Ve,type:v,key:z,props:Z,_owner:P},(he!==void 0?he:null)!==null?Object.defineProperty(v,"ref",{enumerable:!1,get:U}):Object.defineProperty(v,"ref",{enumerable:!1,value:null}),v._store={},Object.defineProperty(v._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(v,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(v,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ce}),Object.defineProperty(v,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ae}),Object.freeze&&(Object.freeze(v.props),Object.freeze(v)),v}function Q(v,z){return z=L(v.type,z,v.props,v._owner,v._debugStack,v._debugTask),v._store&&(z._store.validated=v._store.validated),z}function te(v){ne(v)?v._store&&(v._store.validated=1):typeof v=="object"&&v!==null&&v.$$typeof===Zt&&(v._payload.status==="fulfilled"?ne(v._payload.value)&&v._payload.value._store&&(v._payload.value._store.validated=1):v._store&&(v._store.validated=1))}function ne(v){return typeof v=="object"&&v!==null&&v.$$typeof===Ve}function oe(v){var z={"=":"=0",":":"=2"};return"$"+v.replace(/[=:]/g,function(Z){return z[Z]})}function le(v,z){return typeof v=="object"&&v!==null&&v.key!=null?(M(v.key),oe(""+v.key)):z.toString(36)}function X(v){switch(v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(y,y):(v.status="pending",v.then(function(z){v.status==="pending"&&(v.status="fulfilled",v.value=z)},function(z){v.status==="pending"&&(v.status="rejected",v.reason=z)})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}}throw v}function j(v,z,Z,P,ce){var Ae=typeof v;(Ae==="undefined"||Ae==="boolean")&&(v=null);var he=!1;if(v===null)he=!0;else switch(Ae){case"bigint":case"string":case"number":he=!0;break;case"object":switch(v.$$typeof){case Ve:case Je:he=!0;break;case Zt:return he=v._init,j(he(v._payload),z,Z,P,ce)}}if(he){he=v,ce=ce(he);var Ye=P===""?"."+le(he,0):P;return yi(ce)?(Z="",Ye!=null&&(Z=Ye.replace(Bu,"$&/")+"/"),j(ce,z,Z,"",function(an){return an})):ce!=null&&(ne(ce)&&(ce.key!=null&&(he&&he.key===ce.key||M(ce.key)),Z=Q(ce,Z+(ce.key==null||he&&he.key===ce.key?"":(""+ce.key).replace(Bu,"$&/")+"/")+Ye),P!==""&&he!=null&&ne(he)&&he.key==null&&he._store&&!he._store.validated&&(Z._store.validated=2),ce=Z),z.push(ce)),1}if(he=0,Ye=P===""?".":P+":",yi(v))for(var Oe=0;Oe<v.length;Oe++)P=v[Oe],Ae=Ye+le(P,Oe),he+=j(P,z,Z,Ae,ce);else if(Oe=u(v),typeof Oe=="function")for(Oe===v.entries&&(Dl||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Dl=!0),v=Oe.call(v),Oe=0;!(P=v.next()).done;)P=P.value,Ae=Ye+le(P,Oe++),he+=j(P,z,Z,Ae,ce);else if(Ae==="object"){if(typeof v.then=="function")return j(X(v),z,Z,P,ce);throw z=String(v),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return he}function J(v,z,Z){if(v==null)return v;var P=[],ce=0;return j(v,P,"","",function(Ae){return z.call(Z,Ae,ce++)}),P}function de(v){if(v._status===-1){var z=v._ioInfo;z!=null&&(z.start=z.end=performance.now()),z=v._result;var Z=z();if(Z.then(function(ce){if(v._status===0||v._status===-1){v._status=1,v._result=ce;var Ae=v._ioInfo;Ae!=null&&(Ae.end=performance.now()),Z.status===void 0&&(Z.status="fulfilled",Z.value=ce)}},function(ce){if(v._status===0||v._status===-1){v._status=2,v._result=ce;var Ae=v._ioInfo;Ae!=null&&(Ae.end=performance.now()),Z.status===void 0&&(Z.status="rejected",Z.reason=ce)}}),z=v._ioInfo,z!=null){z.value=Z;var P=Z.displayName;typeof P=="string"&&(z.name=P)}v._status===-1&&(v._status=0,v._result=Z)}if(v._status===1)return z=v._result,z===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
11
|
+
|
|
12
|
+
Your code should look like:
|
|
13
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
14
|
+
|
|
15
|
+
Did you accidentally put curly braces around the import?`,z),"default"in z||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
16
|
+
|
|
17
|
+
Your code should look like:
|
|
18
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,z),z.default;throw v._result}function $(){var v=ue.H;return v===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:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),v}function K(){ue.asyncTransitions--}function Me(v){if(Ts===null)try{var z=("require"+Math.random()).slice(0,7);Ts=(r&&r[z]).call(r,"timers").setImmediate}catch{Ts=function(P){Jr===!1&&(Jr=!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 ce=new MessageChannel;ce.port1.onmessage=P,ce.port2.postMessage(void 0)}}return Ts(v)}function ft(v){return 1<v.length&&typeof AggregateError=="function"?new AggregateError(v):v[0]}function F(v,z){z!==Rl-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Rl=z}function ie(v,z,Z){var P=ue.actQueue;if(P!==null)if(P.length!==0)try{ye(P),Me(function(){return ie(v,z,Z)});return}catch(ce){ue.thrownErrors.push(ce)}else ue.actQueue=null;0<ue.thrownErrors.length?(P=ft(ue.thrownErrors),ue.thrownErrors.length=0,Z(P)):z(v)}function ye(v){if(!vi){vi=!0;var z=0;try{for(;z<v.length;z++){var Z=v[z];do{ue.didUsePromise=!1;var P=Z(!1);if(P!==null){if(ue.didUsePromise){v[z]=Z,v.splice(0,z);return}Z=P}else break}while(!0)}v.length=0}catch(ce){v.splice(0,z+1),ue.thrownErrors.push(ce)}finally{vi=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ve=Symbol.for("react.transitional.element"),Je=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),Se=Symbol.for("react.strict_mode"),qe=Symbol.for("react.profiler"),W=Symbol.for("react.consumer"),Te=Symbol.for("react.context"),Lt=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),Bt=Symbol.for("react.suspense_list"),Et=Symbol.for("react.memo"),Zt=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),Ia=Symbol.iterator,Ss={},ws={isMounted:function(){return!1},enqueueForceUpdate:function(v){c(v,"forceUpdate")},enqueueReplaceState:function(v){c(v,"replaceState")},enqueueSetState:function(v){c(v,"setState")}},Ol=Object.assign,Ie={};Object.freeze(Ie),d.prototype.isReactComponent={},d.prototype.setState=function(v,z){if(typeof v!="object"&&typeof v!="function"&&v!=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,v,z,"setState")},d.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};var Kt={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(xl in Kt)Kt.hasOwnProperty(xl)&&i(xl,Kt[xl]);p.prototype=d.prototype,Kt=m.prototype=new p,Kt.constructor=m,Ol(Kt,d.prototype),Kt.isPureReactComponent=!0;var yi=Array.isArray,$d=Symbol.for("react.client.reference"),ue={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},bi=Object.prototype.hasOwnProperty,ya=console.createTask?console.createTask:function(){return null};Kt={react_stack_bottom_frame:function(v){return v()}};var Es,Nl,Lu={},Gr=Kt.react_stack_bottom_frame.bind(Kt,k)(),Qr=ya(E(k)),Dl=!1,Bu=/\/+/g,Xr=typeof reportError=="function"?reportError:function(v){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v),error:v});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",v);return}console.error(v)},Jr=!1,Ts=null,Rl=0,As=!1,vi=!1,Si=typeof queueMicrotask=="function"?function(v){queueMicrotask(function(){return queueMicrotask(v)})}:Me;Kt=Object.freeze({__proto__:null,c:function(v){return $().useMemoCache(v)}});var xl={map:J,forEach:function(v,z,Z){J(v,function(){z.apply(this,arguments)},Z)},count:function(v){var z=0;return J(v,function(){z++}),z},toArray:function(v){return J(v,function(z){return z})||[]},only:function(v){if(!ne(v))throw Error("React.Children.only expected to receive a single React element child.");return v}};l.Activity=se,l.Children=xl,l.Component=d,l.Fragment=G,l.Profiler=qe,l.PureComponent=m,l.StrictMode=Se,l.Suspense=je,l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ue,l.__COMPILER_RUNTIME=Kt,l.act=function(v){var z=ue.actQueue,Z=Rl;Rl++;var P=ue.actQueue=z!==null?z:[],ce=!1;try{var Ae=v()}catch(Oe){ue.thrownErrors.push(Oe)}if(0<ue.thrownErrors.length)throw F(z,Z),v=ft(ue.thrownErrors),ue.thrownErrors.length=0,v;if(Ae!==null&&typeof Ae=="object"&&typeof Ae.then=="function"){var he=Ae;return Si(function(){ce||As||(As=!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(Oe,an){ce=!0,he.then(function(ba){if(F(z,Z),Z===0){try{ye(P),Me(function(){return ie(ba,Oe,an)})}catch(wi){ue.thrownErrors.push(wi)}if(0<ue.thrownErrors.length){var $u=ft(ue.thrownErrors);ue.thrownErrors.length=0,an($u)}}else Oe(ba)},function(ba){F(z,Z),0<ue.thrownErrors.length&&(ba=ft(ue.thrownErrors),ue.thrownErrors.length=0),an(ba)})}}}var Ye=Ae;if(F(z,Z),Z===0&&(ye(P),P.length!==0&&Si(function(){ce||As||(As=!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(() => ...)"))}),ue.actQueue=null),0<ue.thrownErrors.length)throw v=ft(ue.thrownErrors),ue.thrownErrors.length=0,v;return{then:function(Oe,an){ce=!0,Z===0?(ue.actQueue=P,Me(function(){return ie(Ye,Oe,an)})):Oe(Ye)}}},l.cache=function(v){return function(){return v.apply(null,arguments)}},l.cacheSignal=function(){return null},l.captureOwnerStack=function(){var v=ue.getCurrentStack;return v===null?null:v()},l.cloneElement=function(v,z,Z){if(v==null)throw Error("The argument must be a React element, but you passed "+v+".");var P=Ol({},v.props),ce=v.key,Ae=v._owner;if(z!=null){var he;e:{if(bi.call(z,"ref")&&(he=Object.getOwnPropertyDescriptor(z,"ref").get)&&he.isReactWarning){he=!1;break e}he=z.ref!==void 0}he&&(Ae=A()),T(z)&&(M(z.key),ce=""+z.key);for(Ye in z)!bi.call(z,Ye)||Ye==="key"||Ye==="__self"||Ye==="__source"||Ye==="ref"&&z.ref===void 0||(P[Ye]=z[Ye])}var Ye=arguments.length-2;if(Ye===1)P.children=Z;else if(1<Ye){he=Array(Ye);for(var Oe=0;Oe<Ye;Oe++)he[Oe]=arguments[Oe+2];P.children=he}for(P=L(v.type,ce,P,Ae,v._debugStack,v._debugTask),ce=2;ce<arguments.length;ce++)te(arguments[ce]);return P},l.createContext=function(v){return v={$$typeof:Te,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null},v.Provider=v,v.Consumer={$$typeof:W,_context:v},v._currentRenderer=null,v._currentRenderer2=null,v},l.createElement=function(v,z,Z){for(var P=2;P<arguments.length;P++)te(arguments[P]);P={};var ce=null;if(z!=null)for(Oe in Nl||!("__self"in z)||"key"in z||(Nl=!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")),T(z)&&(M(z.key),ce=""+z.key),z)bi.call(z,Oe)&&Oe!=="key"&&Oe!=="__self"&&Oe!=="__source"&&(P[Oe]=z[Oe]);var Ae=arguments.length-2;if(Ae===1)P.children=Z;else if(1<Ae){for(var he=Array(Ae),Ye=0;Ye<Ae;Ye++)he[Ye]=arguments[Ye+2];Object.freeze&&Object.freeze(he),P.children=he}if(v&&v.defaultProps)for(Oe in Ae=v.defaultProps,Ae)P[Oe]===void 0&&(P[Oe]=Ae[Oe]);ce&&R(P,typeof v=="function"?v.displayName||v.name||"Unknown":v);var Oe=1e4>ue.recentlyCreatedOwnerStacks++;return L(v,ce,P,A(),Oe?Error("react-stack-top-frame"):Gr,Oe?ya(E(v)):Qr)},l.createRef=function(){var v={current:null};return Object.seal(v),v},l.forwardRef=function(v){v!=null&&v.$$typeof===Et?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof v!="function"?console.error("forwardRef requires a render function but was given %s.",v===null?"null":typeof v):v.length!==0&&v.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",v.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),v!=null&&v.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var z={$$typeof:Lt,render:v},Z;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return Z},set:function(P){Z=P,v.name||v.displayName||(Object.defineProperty(v,"name",{value:P}),v.displayName=P)}}),z},l.isValidElement=ne,l.lazy=function(v){v={_status:-1,_result:v};var z={$$typeof:Zt,_payload:v,_init:de},Z={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return v._ioInfo=Z,z._debugInfo=[{awaited:Z}],z},l.memo=function(v,z){v==null&&console.error("memo: The first argument must be a component. Instead received: %s",v===null?"null":typeof v),z={$$typeof:Et,type:v,compare:z===void 0?null:z};var Z;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return Z},set:function(P){Z=P,v.name||v.displayName||(Object.defineProperty(v,"name",{value:P}),v.displayName=P)}}),z},l.startTransition=function(v){var z=ue.T,Z={};Z._updatedFibers=new Set,ue.T=Z;try{var P=v(),ce=ue.S;ce!==null&&ce(Z,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&(ue.asyncTransitions++,P.then(K,K),P.then(y,Xr))}catch(Ae){Xr(Ae)}finally{z===null&&Z._updatedFibers&&(v=Z._updatedFibers.size,Z._updatedFibers.clear(),10<v&&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.")),z!==null&&Z.types!==null&&(z.types!==null&&z.types!==Z.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."),z.types=Z.types),ue.T=z}},l.unstable_useCacheRefresh=function(){return $().useCacheRefresh()},l.use=function(v){return $().use(v)},l.useActionState=function(v,z,Z){return $().useActionState(v,z,Z)},l.useCallback=function(v,z){return $().useCallback(v,z)},l.useContext=function(v){var z=$();return v.$$typeof===W&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),z.useContext(v)},l.useDebugValue=function(v,z){return $().useDebugValue(v,z)},l.useDeferredValue=function(v,z){return $().useDeferredValue(v,z)},l.useEffect=function(v,z){return v==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),$().useEffect(v,z)},l.useEffectEvent=function(v){return $().useEffectEvent(v)},l.useId=function(){return $().useId()},l.useImperativeHandle=function(v,z,Z){return $().useImperativeHandle(v,z,Z)},l.useInsertionEffect=function(v,z){return v==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),$().useInsertionEffect(v,z)},l.useLayoutEffect=function(v,z){return v==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),$().useLayoutEffect(v,z)},l.useMemo=function(v,z){return $().useMemo(v,z)},l.useOptimistic=function(v,z){return $().useOptimistic(v,z)},l.useReducer=function(v,z,Z){return $().useReducer(v,z,Z)},l.useRef=function(v){return $().useRef(v)},l.useState=function(v){return $().useState(v)},l.useSyncExternalStore=function(v,z,Z){return $().useSyncExternalStore(v,z,Z)},l.useTransition=function(){return $().useTransition()},l.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Du,Du.exports)),Du.exports}var Zw;function Ed(){return Zw||(Zw=1,Eg.exports=CD()),Eg.exports}var Kw;function MD(){if(Kw)return ed;Kw=1;/**
|
|
23
|
+
* @license React
|
|
24
|
+
* react-jsx-dev-runtime.development.js
|
|
25
|
+
*
|
|
26
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
27
|
+
*
|
|
28
|
+
* This source code is licensed under the MIT license found in the
|
|
29
|
+
* LICENSE file in the root directory of this source tree.
|
|
30
|
+
*/return(function(){function r(G){if(G==null)return null;if(typeof G=="function")return G.$$typeof===de?null:G.displayName||G.name||null;if(typeof G=="string")return G;switch(G){case R:return"Fragment";case L:return"Profiler";case U:return"StrictMode";case oe:return"Suspense";case le:return"SuspenseList";case J:return"Activity"}if(typeof G=="object")switch(typeof G.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),G.$$typeof){case T:return"Portal";case te:return G.displayName||"Context";case Q:return(G._context.displayName||"Context")+".Consumer";case ne:var Se=G.render;return G=G.displayName,G||(G=Se.displayName||Se.name||"",G=G!==""?"ForwardRef("+G+")":"ForwardRef"),G;case X:return Se=G.displayName||null,Se!==null?Se:r(G.type)||"Memo";case j:Se=G._payload,G=G._init;try{return r(G(Se))}catch{}}return null}function l(G){return""+G}function i(G){try{l(G);var Se=!1}catch{Se=!0}if(Se){Se=console;var qe=Se.error,W=typeof Symbol=="function"&&Symbol.toStringTag&&G[Symbol.toStringTag]||G.constructor.name||"Object";return qe.call(Se,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",W),l(G)}}function u(G){if(G===R)return"<>";if(typeof G=="object"&&G!==null&&G.$$typeof===j)return"<...>";try{var Se=r(G);return Se?"<"+Se+">":"<...>"}catch{return"<...>"}}function c(){var G=$.A;return G===null?null:G.getOwner()}function d(){return Error("react-stack-top-frame")}function p(G){if(K.call(G,"key")){var Se=Object.getOwnPropertyDescriptor(G,"key").get;if(Se&&Se.isReactWarning)return!1}return G.key!==void 0}function m(G,Se){function qe(){F||(F=!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)",Se))}qe.isReactWarning=!0,Object.defineProperty(G,"key",{get:qe,configurable:!0})}function y(){var G=r(this.type);return ie[G]||(ie[G]=!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.")),G=this.props.ref,G!==void 0?G:null}function S(G,Se,qe,W,Te,Lt){var je=qe.ref;return G={$$typeof:k,type:G,key:Se,props:qe,_owner:W},(je!==void 0?je:null)!==null?Object.defineProperty(G,"ref",{enumerable:!1,get:y}):Object.defineProperty(G,"ref",{enumerable:!1,value:null}),G._store={},Object.defineProperty(G._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(G,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(G,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Te}),Object.defineProperty(G,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Lt}),Object.freeze&&(Object.freeze(G.props),Object.freeze(G)),G}function M(G,Se,qe,W,Te,Lt){var je=Se.children;if(je!==void 0)if(W)if(Me(je)){for(W=0;W<je.length;W++)w(je[W]);Object.freeze&&Object.freeze(je)}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 w(je);if(K.call(Se,"key")){je=r(G);var Bt=Object.keys(Se).filter(function(Zt){return Zt!=="key"});W=0<Bt.length?"{key: someKey, "+Bt.join(": ..., ")+": ...}":"{key: someKey}",Je[je+W]||(Bt=0<Bt.length?"{"+Bt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
31
|
+
let props = %s;
|
|
32
|
+
<%s {...props} />
|
|
33
|
+
React keys must be passed directly to JSX without using spread:
|
|
34
|
+
let props = %s;
|
|
35
|
+
<%s key={someKey} {...props} />`,W,je,Bt,je),Je[je+W]=!0)}if(je=null,qe!==void 0&&(i(qe),je=""+qe),p(Se)&&(i(Se.key),je=""+Se.key),"key"in Se){qe={};for(var Et in Se)Et!=="key"&&(qe[Et]=Se[Et])}else qe=Se;return je&&m(qe,typeof G=="function"?G.displayName||G.name||"Unknown":G),S(G,je,qe,c(),Te,Lt)}function w(G){E(G)?G._store&&(G._store.validated=1):typeof G=="object"&&G!==null&&G.$$typeof===j&&(G._payload.status==="fulfilled"?E(G._payload.value)&&G._payload.value._store&&(G._payload.value._store.validated=1):G._store&&(G._store.validated=1))}function E(G){return typeof G=="object"&&G!==null&&G.$$typeof===k}var A=Ed(),k=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),te=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),de=Symbol.for("react.client.reference"),$=A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=Object.prototype.hasOwnProperty,Me=Array.isArray,ft=console.createTask?console.createTask:function(){return null};A={react_stack_bottom_frame:function(G){return G()}};var F,ie={},ye=A.react_stack_bottom_frame.bind(A,d)(),Ve=ft(u(d)),Je={};ed.Fragment=R,ed.jsxDEV=function(G,Se,qe,W){var Te=1e4>$.recentlyCreatedOwnerStacks++;return M(G,Se,qe,W,Te?Error("react-stack-top-frame"):ye,Te?ft(u(G)):Ve)}})(),ed}var Fw;function UD(){return Fw||(Fw=1,wg.exports=MD()),wg.exports}var Y=UD(),be=Ed();const gs=_D(be);function DE(){const r=gs.useRef(null),[l]=Lg(r);return[l,r]}function Lg(r){const[l,i]=gs.useState(new DOMRect(0,0,10,10)),u=gs.useCallback(()=>{const c=r==null?void 0:r.current;c&&i(c.getBoundingClientRect())},[r]);return gs.useLayoutEffect(()=>{const c=r==null?void 0:r.current;if(!c)return;u();const d=new ResizeObserver(u);return d.observe(c),window.addEventListener("resize",u),()=>{d.disconnect(),window.removeEventListener("resize",u)}},[u,r]),[l,u]}function kD(r){if(r<0||!isFinite(r))return"-";if(r===0)return"0";if(r<1e3)return r.toFixed(0)+"ms";const l=r/1e3;if(l<60)return l.toFixed(1)+"s";const i=l/60;if(i<60)return i.toFixed(1)+"m";const u=i/60;return u<24?u.toFixed(1)+"h":(u/24).toFixed(1)+"d"}function Ww(r){const l=document.createElement("textarea");l.style.position="absolute",l.style.zIndex="-1000",l.value=r,document.body.appendChild(l),l.select(),document.execCommand("copy"),l.remove()}function Bg(r,l){r&&(l=Or.getObject(r,l));const[i,u]=gs.useState(l),c=gs.useCallback(d=>{r?Or.setObject(r,d):u(d)},[r,u]);return gs.useEffect(()=>{if(r){const d=()=>u(Or.getObject(r,l));return Or.onChangeEmitter.addEventListener(r,d),()=>Or.onChangeEmitter.removeEventListener(r,d)}},[l,r]),[i,c]}class zD{constructor(){this.onChangeEmitter=new EventTarget}getString(l,i){return localStorage[l]||i}setString(l,i){var u;localStorage[l]=i,this.onChangeEmitter.dispatchEvent(new Event(l)),(u=window.saveSettings)==null||u.call(window)}getObject(l,i){if(!localStorage[l])return i;try{return JSON.parse(localStorage[l])}catch{return i}}setObject(l,i){var u;localStorage[l]=JSON.stringify(i),this.onChangeEmitter.dispatchEvent(new Event(l)),(u=window.saveSettings)==null||u.call(window)}}const Or=new zD;function hi(...r){return r.filter(Boolean).join(" ")}const Pw="\\u0000-\\u0020\\u007f-\\u009f",jD=new RegExp("(?:[a-zA-Z][a-zA-Z0-9+.-]{2,}:\\/\\/|www\\.)[^\\s"+Pw+'"]{2,}[^\\s'+Pw+`"')}\\],:;.!?]`,"ug"),LD="system",BD="theme",RE=window.matchMedia("(prefers-color-scheme: dark)");function $D(){document.playwrightThemeInitialized||(document.playwrightThemeInitialized=!0,document.defaultView.addEventListener("focus",r=>{r.target.document.nodeType===Node.DOCUMENT_NODE&&document.body.classList.remove("inactive")},!1),document.defaultView.addEventListener("blur",r=>{document.body.classList.add("inactive")},!1),$g(eE()),RE.addEventListener("change",()=>{$g(eE())}))}const HD=new Set;function $g(r){const l=Hg(),i=r==="system"?RE.matches?"dark-mode":"light-mode":r;if(l!==i){l&&document.documentElement.classList.remove(l),document.documentElement.classList.add(i);for(const u of HD)u(i)}}function eE(){return Or.getString(BD,LD)}function Hg(){return document.documentElement.classList.contains("dark-mode")?"dark-mode":document.documentElement.classList.contains("light-mode")?"light-mode":null}function VD(){const[r,l]=gs.useState(Hg()==="dark-mode");return[r,i=>{Hg()==="dark-mode"!==i&&$g(i?"dark-mode":"light-mode"),l(i)}]}var Tg={exports:{}},Au={},Ag={exports:{}},Og={},tE;function qD(){return tE||(tE=1,(function(r){/**
|
|
36
|
+
* @license React
|
|
37
|
+
* scheduler.development.js
|
|
38
|
+
*
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the MIT license found in the
|
|
42
|
+
* LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/(function(){function l(){if(ne=!1,j){var F=r.unstable_now();$=F;var ie=!0;try{e:{Q=!1,te&&(te=!1,le(J),J=-1),L=!0;var ye=U;try{t:{for(p(F),R=u(A);R!==null&&!(R.expirationTime>F&&y());){var Ve=R.callback;if(typeof Ve=="function"){R.callback=null,U=R.priorityLevel;var Je=Ve(R.expirationTime<=F);if(F=r.unstable_now(),typeof Je=="function"){R.callback=Je,p(F),ie=!0;break t}R===u(A)&&c(A),p(F)}else c(A);R=u(A)}if(R!==null)ie=!0;else{var G=u(k);G!==null&&S(m,G.startTime-F),ie=!1}}break e}finally{R=null,U=ye,L=!1}ie=void 0}}finally{ie?K():j=!1}}}function i(F,ie){var ye=F.length;F.push(ie);e:for(;0<ye;){var Ve=ye-1>>>1,Je=F[Ve];if(0<d(Je,ie))F[Ve]=ie,F[ye]=Je,ye=Ve;else break e}}function u(F){return F.length===0?null:F[0]}function c(F){if(F.length===0)return null;var ie=F[0],ye=F.pop();if(ye!==ie){F[0]=ye;e:for(var Ve=0,Je=F.length,G=Je>>>1;Ve<G;){var Se=2*(Ve+1)-1,qe=F[Se],W=Se+1,Te=F[W];if(0>d(qe,ye))W<Je&&0>d(Te,qe)?(F[Ve]=Te,F[W]=ye,Ve=W):(F[Ve]=qe,F[Se]=ye,Ve=Se);else if(W<Je&&0>d(Te,ye))F[Ve]=Te,F[W]=ye,Ve=W;else break e}}return ie}function d(F,ie){var ye=F.sortIndex-ie.sortIndex;return ye!==0?ye:F.id-ie.id}function p(F){for(var ie=u(k);ie!==null;){if(ie.callback===null)c(k);else if(ie.startTime<=F)c(k),ie.sortIndex=ie.expirationTime,i(A,ie);else break;ie=u(k)}}function m(F){if(te=!1,p(F),!Q)if(u(A)!==null)Q=!0,j||(j=!0,K());else{var ie=u(k);ie!==null&&S(m,ie.startTime-F)}}function y(){return ne?!0:!(r.unstable_now()-$<de)}function S(F,ie){J=oe(function(){F(r.unstable_now())},ie)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;r.unstable_now=function(){return M.now()}}else{var w=Date,E=w.now();r.unstable_now=function(){return w.now()-E}}var A=[],k=[],T=1,R=null,U=3,L=!1,Q=!1,te=!1,ne=!1,oe=typeof setTimeout=="function"?setTimeout:null,le=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null,j=!1,J=-1,de=5,$=-1;if(typeof X=="function")var K=function(){X(l)};else if(typeof MessageChannel<"u"){var Me=new MessageChannel,ft=Me.port2;Me.port1.onmessage=l,K=function(){ft.postMessage(null)}}else K=function(){oe(l,0)};r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(F){F.callback=null},r.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):de=0<F?Math.floor(1e3/F):5},r.unstable_getCurrentPriorityLevel=function(){return U},r.unstable_next=function(F){switch(U){case 1:case 2:case 3:var ie=3;break;default:ie=U}var ye=U;U=ie;try{return F()}finally{U=ye}},r.unstable_requestPaint=function(){ne=!0},r.unstable_runWithPriority=function(F,ie){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var ye=U;U=F;try{return ie()}finally{U=ye}},r.unstable_scheduleCallback=function(F,ie,ye){var Ve=r.unstable_now();switch(typeof ye=="object"&&ye!==null?(ye=ye.delay,ye=typeof ye=="number"&&0<ye?Ve+ye:Ve):ye=Ve,F){case 1:var Je=-1;break;case 2:Je=250;break;case 5:Je=1073741823;break;case 4:Je=1e4;break;default:Je=5e3}return Je=ye+Je,F={id:T++,callback:ie,priorityLevel:F,startTime:ye,expirationTime:Je,sortIndex:-1},ye>Ve?(F.sortIndex=ye,i(k,F),u(A)===null&&F===u(k)&&(te?(le(J),J=-1):te=!0,S(m,ye-Ve))):(F.sortIndex=Je,i(A,F),Q||L||(Q=!0,j||(j=!0,K()))),F},r.unstable_shouldYield=y,r.unstable_wrapCallback=function(F){var ie=U;return function(){var ye=U;U=ie;try{return F.apply(this,arguments)}finally{U=ye}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Og)),Og}var nE;function YD(){return nE||(nE=1,Ag.exports=qD()),Ag.exports}var Ng={exports:{}},en={},aE;function GD(){if(aE)return en;aE=1;/**
|
|
44
|
+
* @license React
|
|
45
|
+
* react-dom.development.js
|
|
46
|
+
*
|
|
47
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
48
|
+
*
|
|
49
|
+
* This source code is licensed under the MIT license found in the
|
|
50
|
+
* LICENSE file in the root directory of this source tree.
|
|
51
|
+
*/return(function(){function r(){}function l(w){return""+w}function i(w,E,A){var k=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{l(k);var T=!1}catch{T=!0}return T&&(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&&k[Symbol.toStringTag]||k.constructor.name||"Object"),l(k)),{$$typeof:S,key:k==null?null:""+k,children:w,containerInfo:E,implementation:A}}function u(w,E){if(w==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}function c(w){return w===null?"`null`":w===void 0?"`undefined`":w===""?"an empty string":'something with type "'+typeof w+'"'}function d(w){return w===null?"`null`":w===void 0?"`undefined`":w===""?"an empty string":typeof w=="string"?JSON.stringify(w):typeof w=="number"?"`"+w+"`":'something with type "'+typeof w+'"'}function p(){var w=M.H;return w===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:
|
|
52
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
53
|
+
2. You might be breaking the Rules of Hooks
|
|
54
|
+
3. You might have more than one copy of React in the same app
|
|
55
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),w}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m=Ed(),y={d:{f:r,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},S=Symbol.for("react.portal"),M=m.__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"),en.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=y,en.createPortal=function(w,E){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error("Target container is not a DOM element.");return i(w,E,null,A)},en.flushSync=function(w){var E=M.T,A=y.p;try{if(M.T=null,y.p=2,w)return w()}finally{M.T=E,y.p=A,y.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.")}},en.preconnect=function(w,E){typeof w=="string"&&w?E!=null&&typeof E!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",d(E)):E!=null&&typeof E.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",c(E.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",c(w)),typeof w=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,y.d.C(w,E))},en.prefetchDNS=function(w){if(typeof w!="string"||!w)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",c(w));else if(1<arguments.length){var E=arguments[1];typeof E=="object"&&E.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(E)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(E))}typeof w=="string"&&y.d.D(w)},en.preinit=function(w,E){if(typeof w=="string"&&w?E==null||typeof E!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",d(E)):E.as!=="style"&&E.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',d(E.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",c(w)),typeof w=="string"&&E&&typeof E.as=="string"){var A=E.as,k=u(A,E.crossOrigin),T=typeof E.integrity=="string"?E.integrity:void 0,R=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;A==="style"?y.d.S(w,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:k,integrity:T,fetchPriority:R}):A==="script"&&y.d.X(w,{crossOrigin:k,integrity:T,fetchPriority:R,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},en.preinitModule=function(w,E){var A="";if(typeof w=="string"&&w||(A+=" The `href` argument encountered was "+c(w)+"."),E!==void 0&&typeof E!="object"?A+=" The `options` argument encountered was "+c(E)+".":E&&"as"in E&&E.as!=="script"&&(A+=" The `as` option encountered was "+d(E.as)+"."),A)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",A);else switch(A=E&&typeof E.as=="string"?E.as:"script",A){case"script":break;default:A=d(A),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)',A,w)}typeof w=="string"&&(typeof E=="object"&&E!==null?(E.as==null||E.as==="script")&&(A=u(E.as,E.crossOrigin),y.d.M(w,{crossOrigin:A,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})):E==null&&y.d.M(w))},en.preload=function(w,E){var A="";if(typeof w=="string"&&w||(A+=" The `href` argument encountered was "+c(w)+"."),E==null||typeof E!="object"?A+=" The `options` argument encountered was "+c(E)+".":typeof E.as=="string"&&E.as||(A+=" The `as` option encountered was "+c(E.as)+"."),A&&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',A),typeof w=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){A=E.as;var k=u(A,E.crossOrigin);y.d.L(w,A,{crossOrigin:k,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},en.preloadModule=function(w,E){var A="";typeof w=="string"&&w||(A+=" The `href` argument encountered was "+c(w)+"."),E!==void 0&&typeof E!="object"?A+=" The `options` argument encountered was "+c(E)+".":E&&"as"in E&&typeof E.as!="string"&&(A+=" The `as` option encountered was "+c(E.as)+"."),A&&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',A),typeof w=="string"&&(E?(A=u(E.as,E.crossOrigin),y.d.m(w,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:A,integrity:typeof E.integrity=="string"?E.integrity:void 0})):y.d.m(w))},en.requestFormReset=function(w){y.d.r(w)},en.unstable_batchedUpdates=function(w,E){return w(E)},en.useFormState=function(w,E,A){return p().useFormState(w,E,A)},en.useFormStatus=function(){return p().useHostTransitionStatus()},en.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),en}var lE;function QD(){return lE||(lE=1,Ng.exports=GD()),Ng.exports}var sE;function XD(){if(sE)return Au;sE=1;/**
|
|
56
|
+
* @license React
|
|
57
|
+
* react-dom-client.development.js
|
|
58
|
+
*
|
|
59
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
60
|
+
*
|
|
61
|
+
* This source code is licensed under the MIT license found in the
|
|
62
|
+
* LICENSE file in the root directory of this source tree.
|
|
63
|
+
*/return(function(){function r(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function l(e,t,n,a){if(n>=t.length)return a;var s=t[n],o=Ut(e)?e.slice():ke({},e);return o[s]=l(e[s],t,n+1,a),o}function i(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return u(e,t,n,0)}}function u(e,t,n,a){var s=t[a],o=Ut(e)?e.slice():ke({},e);return a+1===t.length?(o[n[a]]=o[s],Ut(o)?o.splice(s,1):delete o[s]):o[s]=u(e[s],t,n,a+1),o}function c(e,t,n){var a=t[n],s=Ut(e)?e.slice():ke({},e);return n+1===t.length?(Ut(s)?s.splice(a,1):delete s[a],s):(s[a]=c(e[a],t,n+1),s)}function d(){return!1}function p(){return null}function m(){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 y(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function S(){}function M(){}function w(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function E(e,t,n,a){return new yA(e,t,n,a)}function A(e,t){e.context===Zl&&(Hp(e.current,2,t,e,null,null),ki())}function k(e,t){if(Xn!==null){var n=t.staleFamilies;t=t.updatedFamilies,vo(),e0(e.current,t,n),ki()}}function T(e){Xn=e}function R(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function U(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function L(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Q(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function te(e){if(U(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ne(e){var t=e.alternate;if(!t){if(t=U(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(a=s.return,a!==null){n=a;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return te(s),e;if(o===a)return te(s),t;o=o.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=s,a=o;else{for(var f=!1,h=s.child;h;){if(h===n){f=!0,n=s,a=o;break}if(h===a){f=!0,a=s,n=o;break}h=h.sibling}if(!f){for(h=o.child;h;){if(h===n){f=!0,n=o,a=s;break}if(h===a){f=!0,a=o,n=s;break}h=h.sibling}if(!f)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==a)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function oe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=oe(e),t!==null)return t;e=e.sibling}return null}function le(e){return e===null||typeof e!="object"?null:(e=rS&&e[rS]||e["@@iterator"],typeof e=="function"?e:null)}function X(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===$O?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vi:return"Fragment";case Jp:return"Profiler";case Jc:return"StrictMode";case Zp:return"Suspense";case Kp:return"SuspenseList";case Fp:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Hi:return"Portal";case ja:return e.displayName||"Context";case Ip:return(e._context.displayName||"Context")+".Consumer";case xo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ic:return t=e.displayName||null,t!==null?t:X(e.type)||"Memo";case Mn:t=e._payload,e=e._init;try{return X(e(t))}catch{}}return null}function j(e){return typeof e.tag=="number"?J(e):typeof e.name=="string"?e.name:null}function J(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X(t);case 8:return t===Jc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return J(e.return)}return null}function de(e){return{current:e}}function $(e,t){0>ll?console.error("Unexpected pop."):(t!==Pp[ll]&&console.error("Unexpected Fiber popped."),e.current=Wp[ll],Wp[ll]=null,Pp[ll]=null,ll--)}function K(e,t,n){ll++,Wp[ll]=e.current,Pp[ll]=n,e.current=t}function Me(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ft(e,t){K(Yl,t,e),K(_o,e,e),K(ql,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Cv(t):vl;break;default:if(n=t.tagName,t=t.namespaceURI)t=Cv(t),t=Mv(t,n);else switch(n){case"svg":t=wr;break;case"math":t=Jf;break;default:t=vl}}n=n.toLowerCase(),n=Oy(null,n),n={context:t,ancestorInfo:n},$(ql,e),K(ql,n,e)}function F(e){$(ql,e),$(_o,e),$(Yl,e)}function ie(){return Me(ql.current)}function ye(e){e.memoizedState!==null&&K(Zc,e,e);var t=Me(ql.current),n=e.type,a=Mv(t.context,n);n=Oy(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(K(_o,e,e),K(ql,a,e))}function Ve(e){_o.current===e&&($(ql,e),$(_o,e)),Zc.current===e&&($(Zc,e),wu._currentValue=ui)}function Je(){}function G(){if(Co===0){oS=console.log,uS=console.info,cS=console.warn,fS=console.error,dS=console.group,hS=console.groupCollapsed,pS=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Co++}function Se(){if(Co--,Co===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ke({},e,{value:oS}),info:ke({},e,{value:uS}),warn:ke({},e,{value:cS}),error:ke({},e,{value:fS}),group:ke({},e,{value:dS}),groupCollapsed:ke({},e,{value:hS}),groupEnd:ke({},e,{value:pS})})}0>Co&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function qe(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
64
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
65
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
66
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function W(e){if(em===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);em=t&&t[1]||"",mS=-1<n.stack.indexOf(`
|
|
67
|
+
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
68
|
+
`+em+e+mS}function Te(e,t){if(!e||tm)return"";var n=nm.get(e);if(n!==void 0)return n;tm=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=V.H,V.H=null,G();try{var s={DetermineComponentFrameRoot:function(){try{if(t){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(ee){var B=ee}Reflect.construct(e,[],N)}else{try{N.call()}catch(ee){B=ee}e.call(N.prototype)}}else{try{throw Error()}catch(ee){B=ee}(N=e())&&typeof N.catch=="function"&&N.catch(function(){})}}catch(ee){if(ee&&B&&typeof ee.stack=="string")return[ee.stack,B.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=s.DetermineComponentFrameRoot(),h=f[0],g=f[1];if(h&&g){var b=h.split(`
|
|
69
|
+
`),_=g.split(`
|
|
70
|
+
`);for(f=o=0;o<b.length&&!b[o].includes("DetermineComponentFrameRoot");)o++;for(;f<_.length&&!_[f].includes("DetermineComponentFrameRoot");)f++;if(o===b.length||f===_.length)for(o=b.length-1,f=_.length-1;1<=o&&0<=f&&b[o]!==_[f];)f--;for(;1<=o&&0<=f;o--,f--)if(b[o]!==_[f]){if(o!==1||f!==1)do if(o--,f--,0>f||b[o]!==_[f]){var C=`
|
|
71
|
+
`+b[o].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),typeof e=="function"&&nm.set(e,C),C}while(1<=o&&0<=f);break}}}finally{tm=!1,V.H=a,Se(),Error.prepareStackTrace=n}return b=(b=e?e.displayName||e.name:"")?W(b):"",typeof e=="function"&&nm.set(e,b),b}function Lt(e,t){switch(e.tag){case 26:case 27:case 5:return W(e.type);case 16:return W("Lazy");case 13:return e.child!==t&&t!==null?W("Suspense Fallback"):W("Suspense");case 19:return W("SuspenseList");case 0:case 15:return Te(e.type,!1);case 11:return Te(e.type.render,!1);case 1:return Te(e.type,!0);case 31:return W("Activity");default:return""}}function je(e){try{var t="",n=null;do{t+=Lt(e,n);var a=e._debugInfo;if(a)for(var s=a.length-1;0<=s;s--){var o=a[s];if(typeof o.name=="string"){var f=t;e:{var h=o.name,g=o.env,b=o.debugLocation;if(b!=null){var _=qe(b),C=_.lastIndexOf(`
|
|
72
|
+
`),N=C===-1?_:_.slice(C+1);if(N.indexOf(h)!==-1){var B=`
|
|
73
|
+
`+N;break e}}B=W(h+(g?" ["+g+"]":""))}t=f+B}}n=e,e=e.return}while(e);return t}catch(ee){return`
|
|
74
|
+
Error generating stack: `+ee.message+`
|
|
75
|
+
`+ee.stack}}function Bt(e){return(e=e?e.displayName||e.name:"")?W(e):""}function Et(){if(Un===null)return null;var e=Un._debugOwner;return e!=null?j(e):null}function Zt(){if(Un===null)return"";var e=Un;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=W(e.type);break;case 13:t+=W("Suspense");break;case 19:t+=W("SuspenseList");break;case 31:t+=W("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Bt(e.type));break;case 11:e._debugOwner||t!==""||(t+=Bt(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var s=qe(a);s!==""&&(t+=`
|
|
76
|
+
`+s)}}else if(e.debugStack!=null){var o=e.debugStack;(e=e.owner)&&o&&(t+=`
|
|
77
|
+
`+qe(o))}else break;var f=t}catch(h){f=`
|
|
78
|
+
Error generating stack: `+h.message+`
|
|
79
|
+
`+h.stack}return f}function se(e,t,n,a,s,o,f){var h=Un;Ia(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,s,o,f)):t(n,a,s,o,f)}finally{Ia(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ia(e){V.getCurrentStack=e===null?null:Zt,La=!1,Un=e}function Ss(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function ws(e){try{return Ol(e),!1}catch{return!0}}function Ol(e){return""+e}function Ie(e,t){if(ws(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ss(e)),Ol(e)}function Kt(e,t){if(ws(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ss(e)),Ol(e)}function yi(e){if(ws(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Ss(e)),Ol(e)}function $d(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Yi=t.inject(e),Wt=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function ue(e){if(typeof XO=="function"&&JO(e),Wt&&typeof Wt.setStrictMode=="function")try{Wt.setStrictMode(Yi,e)}catch(t){Ba||(Ba=!0,console.error("React instrumentation encountered an error: %o",t))}}function bi(e){return e>>>=0,e===0?32:31-(IO(e)/ZO|0)|0}function ya(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Es(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var s=0,o=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var h=a&134217727;return h!==0?(a=h&~o,a!==0?s=ya(a):(f&=h,f!==0?s=ya(f):n||(n=h&~e,n!==0&&(s=ya(n))))):(h=a&~o,h!==0?s=ya(h):f!==0?s=ya(f):n||(n=a&~e,n!==0&&(s=ya(n)))),s===0?0:t!==0&&t!==s&&(t&o)===0&&(o=s&-s,n=t&-t,o>=n||o===32&&(n&4194048)!==0)?t:s}function Nl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Lu(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Gr(){var e=Wc;return Wc<<=1,(Wc&62914560)===0&&(Wc=4194304),e}function Qr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Dl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Bu(e,t,n,a,s,o){var f=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var h=e.entanglements,g=e.expirationTimes,b=e.hiddenUpdates;for(n=f&~n;0<n;){var _=31-sn(n),C=1<<_;h[_]=0,g[_]=-1;var N=b[_];if(N!==null)for(b[_]=null,_=0;_<N.length;_++){var B=N[_];B!==null&&(B.lane&=-536870913)}n&=~C}a!==0&&Xr(e,a,0),o!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=o&~(f&~t))}function Xr(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-sn(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Jr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-sn(n),s=1<<a;s&t|e[a]&t&&(e[a]|=t),n&=~s}}function Ts(e,t){var n=t&-t;return n=(n&42)!==0?1:Rl(n),(n&(e.suspendedLanes|t))!==0?0:n}function Rl(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function As(e,t,n){if($a)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-sn(n),s=1<<a;e[a].add(t),n&=~s}}function vi(e,t){if($a)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var s=31-sn(t);e=1<<s,s=n[s],0<s.size&&(s.forEach(function(o){var f=o.alternate;f!==null&&a.has(f)||a.add(o)}),s.clear()),t&=~e}}function Si(e){return e&=-e,Yn<e?Ha<e?(e&134217727)!==0?sl:Pc:Ha:Yn}function xl(){var e=Xe.p;return e!==0?e:(e=window.event,e===void 0?sl:eS(e.type))}function v(e,t){var n=Xe.p;try{return Xe.p=e,t()}finally{Xe.p=n}}function z(e){delete e[Jt],delete e[rn],delete e[rm],delete e[KO],delete e[FO]}function Z(e){var t=e[Jt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ql]||n[Jt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Hv(e);e!==null;){if(n=e[Jt])return n;e=Hv(e)}return t}e=n,n=e.parentNode}return null}function P(e){if(e=e[Jt]||e[Ql]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ce(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ae(e){var t=e[gS];return t||(t=e[gS]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function he(e){e[Mo]=!0}function Ye(e,t){Oe(e,t),Oe(e+"Capture",t)}function Oe(e,t){Hs[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Hs[e]=t;var n=e.toLowerCase();for(om[n]=e,e==="onDoubleClick"&&(om.ondblclick=e),e=0;e<t.length;e++)yS.add(t[e])}function an(e,t){WO[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ba(e){return oa.call(vS,e)?!0:oa.call(bS,e)?!1:PO.test(e)?vS[e]=!0:(bS[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function $u(e,t,n){if(ba(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(Ie(n,t),e===""+n?n:e)}}function wi(e,t,n){if(ba(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}Ie(n,t),e.setAttribute(t,""+n)}}function Hu(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Ie(n,t),e.setAttribute(t,""+n)}}function Za(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}Ie(a,n),e.setAttributeNS(t,n,""+a)}}function Hn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return yi(e),e;default:return""}}function fy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function IT(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,o=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(f){yi(f),n=""+f,o.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){yi(f),n=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hd(e){if(!e._valueTracker){var t=fy(e)?"checked":"value";e._valueTracker=IT(e,t,""+e[t])}}function dy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=fy(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Vu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vn(e){return e.replace(eN,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hy(e,t){t.checked===void 0||t.defaultChecked===void 0||wS||(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",Et()||"A component",t.type),wS=!0),t.value===void 0||t.defaultValue===void 0||SS||(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",Et()||"A component",t.type),SS=!0)}function Vd(e,t,n,a,s,o,f,h){e.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?(Ie(f,"type"),e.type=f):e.removeAttribute("type"),t!=null?f==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Hn(t)):e.value!==""+Hn(t)&&(e.value=""+Hn(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?qd(e,f,Hn(t)):n!=null?qd(e,f,Hn(n)):a!=null&&e.removeAttribute("value"),s==null&&o!=null&&(e.defaultChecked=!!o),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(Ie(h,"name"),e.name=""+Hn(h)):e.removeAttribute("name")}function py(e,t,n,a,s,o,f,h){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(Ie(o,"type"),e.type=o),t!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||t!=null)){Hd(e);return}n=n!=null?""+Hn(n):"",t=t!=null?""+Hn(t):n,h||t===e.value||(e.value=t),e.defaultValue=t}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=h?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(Ie(f,"name"),e.name=f),Hd(e)}function qd(e,t,n){t==="number"&&Vu(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function my(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Xp.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||TS||(TS=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||AS||(AS=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||ES||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ES=!0)}function gy(){var e=Et();return e?`
|
|
80
|
+
|
|
81
|
+
Check the render method of \``+e+"`.":""}function Ei(e,t,n,a){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Hn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function yy(e,t){for(e=0;e<NS.length;e++){var n=NS[e];if(t[n]!=null){var a=Ut(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,gy()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,gy())}}t.value===void 0||t.defaultValue===void 0||OS||(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"),OS=!0)}function by(e,t){t.value===void 0||t.defaultValue===void 0||DS||(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",Et()||"A component"),DS=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function vy(e,t,n){if(t!=null&&(t=""+Hn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Hn(n):""}function Sy(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ut(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=Hn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Hd(e)}function wy(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?wy(e.children[0],t):e}function On(e){return" "+" ".repeat(e)}function Ti(e){return"+ "+" ".repeat(e)}function Os(e){return"- "+" ".repeat(e)}function Ey(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Ir(e,t){return RS.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function qu(e,t,n){var a=120-2*n;if(t===null)return Ti(n)+Ir(e,a)+`
|
|
82
|
+
`;if(typeof t=="string"){for(var s=0;s<t.length&&s<e.length&&t.charCodeAt(s)===e.charCodeAt(s);s++);return s>a-8&&10<s&&(e="..."+e.slice(s-8),t="..."+t.slice(s-8)),Ti(n)+Ir(e,a)+`
|
|
83
|
+
`+Os(n)+Ir(t,a)+`
|
|
84
|
+
`}return On(n)+Ir(e,a)+`
|
|
85
|
+
`}function Yd(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Zr(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Ut(e))return"[...]";if(e.$$typeof===za)return(t=X(e.type))?"<"+t+">":"<...>";var n=Yd(e);if(n==="Object"){n="",t-=2;for(var a in e)if(e.hasOwnProperty(a)){var s=JSON.stringify(a);if(s!=='"'+a+'"'&&(a=s),t-=a.length-2,s=Zr(e[a],15>t?t:15),t-=s.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+a+":"+s}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Ai(e,t){return typeof e!="string"||RS.test(e)?"{"+Zr(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Gd(e,t,n){var a=120-n.length-e.length,s=[],o;for(o in t)if(t.hasOwnProperty(o)&&o!=="children"){var f=Ai(t[o],120-n.length-o.length-1);a-=o.length+f.length+2,s.push(o+"="+f)}return s.length===0?n+"<"+e+`>
|
|
86
|
+
`:0<a?n+"<"+e+" "+s.join(" ")+`>
|
|
87
|
+
`:n+"<"+e+`
|
|
88
|
+
`+n+" "+s.join(`
|
|
89
|
+
`+n+" ")+`
|
|
90
|
+
`+n+`>
|
|
91
|
+
`}function ZT(e,t,n){var a="",s=ke({},t),o;for(o in e)if(e.hasOwnProperty(o)){delete s[o];var f=120-2*n-o.length-2,h=Zr(e[o],f);t.hasOwnProperty(o)?(f=Zr(t[o],f),a+=Ti(n)+o+": "+h+`
|
|
92
|
+
`,a+=Os(n)+o+": "+f+`
|
|
93
|
+
`):a+=Ti(n)+o+": "+h+`
|
|
94
|
+
`}for(var g in s)s.hasOwnProperty(g)&&(e=Zr(s[g],120-2*n-g.length-2),a+=Os(n)+g+": "+e+`
|
|
95
|
+
`);return a}function KT(e,t,n,a){var s="",o=new Map;for(b in n)n.hasOwnProperty(b)&&o.set(b.toLowerCase(),b);if(o.size===1&&o.has("children"))s+=Gd(e,t,On(a));else{for(var f in t)if(t.hasOwnProperty(f)&&f!=="children"){var h=120-2*(a+1)-f.length-1,g=o.get(f.toLowerCase());if(g!==void 0){o.delete(f.toLowerCase());var b=t[f];g=n[g];var _=Ai(b,h);h=Ai(g,h),typeof b=="object"&&b!==null&&typeof g=="object"&&g!==null&&Yd(b)==="Object"&&Yd(g)==="Object"&&(2<Object.keys(b).length||2<Object.keys(g).length||-1<_.indexOf("...")||-1<h.indexOf("..."))?s+=On(a+1)+f+`={{
|
|
96
|
+
`+ZT(b,g,a+2)+On(a+1)+`}}
|
|
97
|
+
`:(s+=Ti(a+1)+f+"="+_+`
|
|
98
|
+
`,s+=Os(a+1)+f+"="+h+`
|
|
99
|
+
`)}else s+=On(a+1)+f+"="+Ai(t[f],h)+`
|
|
100
|
+
`}o.forEach(function(C){if(C!=="children"){var N=120-2*(a+1)-C.length-1;s+=Os(a+1)+C+"="+Ai(n[C],N)+`
|
|
101
|
+
`}}),s=s===""?On(a)+"<"+e+`>
|
|
102
|
+
`:On(a)+"<"+e+`
|
|
103
|
+
`+s+On(a)+`>
|
|
104
|
+
`}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(o="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=""+t),s+=qu(o,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=e==null?s+qu(""+t,null,a+1):s+qu(""+t,void 0,a+1)),s}function Ty(e,t){var n=Ey(e);if(n===null){for(n="",e=e.child;e;)n+=Ty(e,t),e=e.sibling;return n}return On(t)+"<"+n+`>
|
|
105
|
+
`}function Qd(e,t){var n=wy(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return On(t)+`...
|
|
106
|
+
`+Qd(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var s=0;s<a.length;s++){var o=a[s].name;typeof o=="string"&&(n+=On(t)+"<"+o+`>
|
|
107
|
+
`,t++)}if(a="",s=e.fiber.pendingProps,e.fiber.tag===6)a=qu(s,e.serverProps,t),t++;else if(o=Ey(e.fiber),o!==null)if(e.serverProps===void 0){a=t;var f=120-2*a-o.length-2,h="";for(b in s)if(s.hasOwnProperty(b)&&b!=="children"){var g=Ai(s[b],15);if(f-=b.length+g.length+2,0>f){h+=" ...";break}h+=" "+b+"="+g}a=On(a)+"<"+o+h+`>
|
|
108
|
+
`,t++}else e.serverProps===null?(a=Gd(o,s,Ti(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(a=KT(o,s,e.serverProps,t),t++);var b="";for(s=e.fiber.child,o=0;s&&o<e.children.length;)f=e.children[o],f.fiber===s?(b+=Qd(f,t),o++):b+=Ty(s,t),s=s.sibling;for(s&&0<e.children.length&&(b+=On(t)+`...
|
|
109
|
+
`),s=e.serverTail,e.serverProps===null&&t--,e=0;e<s.length;e++)o=s[e],b=typeof o=="string"?b+(Os(t)+Ir(o,120-2*t)+`
|
|
110
|
+
`):b+Gd(o.type,o.props,Os(t));return n+a+b}function Xd(e){try{return`
|
|
111
|
+
|
|
112
|
+
`+Qd(e,0)}catch{return""}}function Ay(e,t,n){for(var a=t,s=null,o=0;a;)a===e&&(o=0),s={fiber:a,children:s!==null?[s]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:o},o++,a=a.return;return s!==null?Xd(s).replaceAll(/^[+-]/gm,">"):""}function Oy(e,t){var n=ke({},e||_S),a={tag:t};return xS.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),nN.indexOf(t)!==-1&&(n.pTagInButtonScope=null),tN.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=a),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Ny(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return aN.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function FT(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Dy(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Jd(e,t){t=t||_S;var n=t.current;if(t=(n=Ny(e,n&&n.tag,t.implicitRootScope)?null:n)?null:FT(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,ef[t])return!1;ef[t]=!0;var s=(t=Un)?Dy(t.return,a):null,o=t!==null&&s!==null?Ay(s,t,null):"",f="<"+e+">";return n?(n="",a==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
113
|
+
This will cause a hydration error.%s`,f,a,n,o)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
114
|
+
This will cause a hydration error.%s`,f,a,o),t&&(e=t.return,s===null||e===null||s===e&&e._debugOwner===t._debugOwner||se(s,function(){console.error(`<%s> cannot contain a nested %s.
|
|
115
|
+
See this log for the ancestor stack trace.`,a,f)})),!1}function Yu(e,t,n){if(n||Ny("#text",t,!1))return!0;if(n="#text|"+t,ef[n])return!1;ef[n]=!0;var a=(n=Un)?Dy(n,t):null;return n=n!==null&&a!==null?Ay(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
116
|
+
This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
117
|
+
This will cause a hydration error.%s`,t,n),!1}function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function WT(e){return e.replace(iN,function(t,n){return n.toUpperCase()})}function Ry(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?Gi.hasOwnProperty(t)&&Gi[t]||(Gi[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,WT(t.replace(sN,"ms-")))):lN.test(t)?Gi.hasOwnProperty(t)&&Gi[t]||(Gi[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!US.test(n)||cm.hasOwnProperty(n)&&cm[n]||(cm[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(US,""))),typeof n=="number"&&(isNaN(n)?kS||(kS=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||zS||(zS=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||jS.has(t)?t==="float"?e.cssFloat=n:(Kt(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function xy(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var a={};if(n){for(var s in n)if(n.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var o=um[s]||[s],f=0;f<o.length;f++)a[o[f]]=s}for(var h in t)if(t.hasOwnProperty(h)&&(!n||n[h]!==t[h]))for(s=um[h]||[h],o=0;o<s.length;o++)a[s[o]]=h;h={};for(var g in t)for(s=um[g]||[g],o=0;o<s.length;o++)h[s[o]]=g;g={};for(var b in a)if(s=a[b],(o=h[b])&&s!==o&&(f=s+","+o,!g[f])){g[f]=!0,f=console;var _=t[s];f.error.call(f,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",_==null||typeof _=="boolean"||_===""?"Removing":"Updating",s,o)}}for(var C in n)!n.hasOwnProperty(C)||t!=null&&t.hasOwnProperty(C)||(C.indexOf("--")===0?e.setProperty(C,""):C==="float"?e.cssFloat="":e[C]="");for(var N in t)b=t[N],t.hasOwnProperty(N)&&n[N]!==b&&Ry(e,N,b)}else for(a in t)t.hasOwnProperty(a)&&Ry(e,a,t[a])}function Fr(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function _y(e){return rN.get(e)||e}function PT(e,t){if(oa.call(Xi,t)&&Xi[t])return!0;if(uN.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=LS.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Xi[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Xi[t]=!0}if(oN.test(t)){if(e=t.toLowerCase(),e=LS.hasOwnProperty(e)?e:null,e==null)return Xi[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Xi[t]=!0)}return!0}function eA(e,t){var n=[],a;for(a in t)PT(e,a)||n.push(a);t=n.map(function(s){return"`"+s+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function tA(e,t,n,a){if(oa.call(on,t)&&on[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="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."),on[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(s)?e[s]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),on[t]=!0;if($S.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),on[t]=!0}else if($S.test(t))return cN.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),on[t]=!0;if(fN.test(t)||dN.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),on[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),on[t]=!0;if(s==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),on[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),on[t]=!0;if(nf.hasOwnProperty(s)){if(s=nf[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),on[t]=!0}else if(t!==s)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,s),on[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),on[t]=!0)}case"function":case"symbol":return on[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),on[t]=!0}}return!0}function nA(e,t,n){var a=[],s;for(s in t)tA(e,s,t[s],n)||a.push(s);t=a.map(function(o){return"`"+o+"`"}).join(", "),a.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<a.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Wr(e){return hN.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ka(){}function Id(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Cy(e){var t=P(e);if(t&&(e=t.stateNode)){var n=e[rn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Vd(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Ie(t,"name"),n=n.querySelectorAll('input[name="'+Vn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var s=a[rn]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Vd(a,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&dy(a)}break e;case"textarea":vy(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ei(e,!!n.multiple,t,!1)}}}function My(e,t,n){if(fm)return e(t,n);fm=!0;try{var a=e(t);return a}finally{if(fm=!1,(Ji!==null||Ii!==null)&&(ki(),Ji&&(t=Ji,e=Ii,Ii=Ji=null,Cy(t),e)))for(t=0;t<e.length;t++)Cy(e[t])}}function Pr(e,t){var n=e.stateNode;if(n===null)return null;var a=n[rn]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Uy(){if(af)return af;var e,t=hm,n=t.length,a,s="value"in Xl?Xl.value:Xl.textContent,o=s.length;for(e=0;e<n&&t[e]===s[e];e++);var f=n-e;for(a=1;a<=f&&t[n-a]===s[o-a];a++);return af=s.slice(e,1<a?1-a:void 0)}function Gu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Qu(){return!0}function ky(){return!1}function mn(e){function t(n,a,s,o,f){this._reactName=n,this._targetInst=s,this.type=a,this.nativeEvent=o,this.target=f,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(n=e[h],this[h]=n?n(o):o[h]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Qu:ky,this.isPropagationStopped=ky,this}return ke(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Qu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Qu)},persist:function(){},isPersistent:Qu}),t}function aA(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=NN[e])?!!t[e]:!1}function Zd(){return aA}function zy(e,t){switch(e){case"keyup":return BN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==YS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function lA(e,t){switch(e){case"compositionend":return jy(t);case"keypress":return t.which!==QS?null:(JS=!0,XS);case"textInput":return e=t.data,e===XS&&JS?null:e;default:return null}}function sA(e,t){if(Zi)return e==="compositionend"||!ym&&zy(e,t)?(e=Uy(),af=hm=Xl=null,Zi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return GS&&t.locale!=="ko"?null:t.data;default:return null}}function Ly(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!HN[e.type]:t==="textarea"}function iA(e){if(!Va)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function By(e,t,n,a){Ji?Ii?Ii.push(a):Ii=[a]:Ji=a,t=Lc(t,"onChange"),0<t.length&&(n=new lf("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function rA(e){Sv(e,0)}function Xu(e){var t=ce(e);if(dy(t))return e}function $y(e,t){if(e==="change")return t}function Hy(){Bo&&(Bo.detachEvent("onpropertychange",Vy),$o=Bo=null)}function Vy(e){if(e.propertyName==="value"&&Xu($o)){var t=[];By(t,$o,e,Id(e)),My(rA,t)}}function oA(e,t,n){e==="focusin"?(Hy(),Bo=t,$o=n,Bo.attachEvent("onpropertychange",Vy)):e==="focusout"&&Hy()}function uA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xu($o)}function cA(e,t){if(e==="click")return Xu(t)}function fA(e,t){if(e==="input"||e==="change")return Xu(t)}function dA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function eo(e,t){if(un(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var s=n[a];if(!oa.call(t,s)||!un(e[s],t[s]))return!1}return!0}function qy(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Yy(e,t){var n=qy(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qy(n)}}function Gy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qy(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Vu(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vu(e.document)}return t}function Kd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Xy(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;vm||Ki==null||Ki!==Vu(a)||(a=Ki,"selectionStart"in a&&Kd(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ho&&eo(Ho,a)||(Ho=a,a=Lc(bm,"onSelect"),0<a.length&&(t=new lf("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Ki)))}function Ns(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Ds(e){if(Sm[e])return Sm[e];if(!Fi[e])return e;var t=Fi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ZS)return Sm[e]=t[n];return e}function la(e,t){e1.set(e,t),Ye(t,[e])}function hA(e){for(var t=rf,n=0;n<e.length;n++){var a=e[n];if(typeof a=="object"&&a!==null)if(Ut(a)&&a.length===2&&typeof a[0]=="string"){if(t!==rf&&t!==Om)return Tm;t=Om}else return Tm;else{if(typeof a=="function"||typeof a=="string"&&50<a.length||t!==rf&&t!==Am)return Tm;t=Am}}return t}function Fd(e,t,n,a){for(var s in e)oa.call(e,s)&&s[0]!=="_"&&va(s,e[s],t,n,a)}function va(e,t,n,a,s){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===za){var o=X(t.type)||"…",f=t.key;t=t.props;var h=Object.keys(t),g=h.length;if(f==null&&g===0){t="<"+o+" />";break}if(3>a||g===1&&h[0]==="children"&&f==null){t="<"+o+" … />";break}n.push([s+" ".repeat(a)+e,"<"+o]),f!==null&&va("key",f,n,a+1,s),e=!1;for(var b in t)b==="children"?t.children!=null&&(!Ut(t.children)||0<t.children.length)&&(e=!0):oa.call(t,b)&&b[0]!=="_"&&va(b,t[b],n,a+1,s);n.push(["",e?">…</"+o+">":"/>"]);return}if(o=Object.prototype.toString.call(t),o=o.slice(8,o.length-1),o==="Array"){if(b=hA(t),b===Am||b===rf){t=JSON.stringify(t);break}else if(b===Om){for(n.push([s+" ".repeat(a)+e,""]),e=0;e<t.length;e++)o=t[e],va(o[0],o[1],n,a+1,s);return}}if(o==="Promise"){if(t.status==="fulfilled"){if(o=n.length,va(e,t.value,n,a,s),n.length>o){n=n[o],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(o=n.length,va(e,t.reason,n,a,s),n.length>o)){n=n[o],n[1]="Rejected Promise<"+n[1]+">";return}n.push([" ".repeat(a)+e,"Promise"]);return}o==="Object"&&(b=Object.getPrototypeOf(t))&&typeof b.constructor=="function"&&(o=b.constructor.name),n.push([s+" ".repeat(a)+e,o==="Object"?3>a?"":"…":o]),3>a&&Fd(t,n,a+1,s);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===JN?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([s+" ".repeat(a)+e,t])}function Jy(e,t,n,a){var s=!0;for(f in e)f in t||(n.push([of+" ".repeat(a)+f,"…"]),s=!1);for(var o in t)if(o in e){var f=e[o],h=t[o];if(f!==h){if(a===0&&o==="children")s=" ".repeat(a)+o,n.push([of+s,"…"],[uf+s,"…"]);else{if(!(3<=a)){if(typeof f=="object"&&typeof h=="object"&&f!==null&&h!==null&&f.$$typeof===h.$$typeof)if(h.$$typeof===za){if(f.type===h.type&&f.key===h.key){f=X(h.type)||"…",s=" ".repeat(a)+o,f="<"+f+" … />",n.push([of+s,f],[uf+s,f]),s=!1;continue}}else{var g=Object.prototype.toString.call(f),b=Object.prototype.toString.call(h);if(g===b&&(b==="[object Object]"||b==="[object Array]")){g=[a1+" ".repeat(a)+o,b==="[object Array]"?"Array":""],n.push(g),b=n.length,Jy(f,h,n,a+1)?b===n.length&&(g[1]="Referentially unequal but deeply equal objects. Consider memoization."):s=!1;continue}}else if(typeof f=="function"&&typeof h=="function"&&f.name===h.name&&f.length===h.length&&(g=Function.prototype.toString.call(f),b=Function.prototype.toString.call(h),g===b)){f=h.name===""?"() => {}":h.name+"() {}",n.push([a1+" ".repeat(a)+o,f+" Referentially unequal function closure. Consider memoization."]);continue}}va(o,f,n,a,of),va(o,h,n,a,uf)}s=!1}}else n.push([uf+" ".repeat(a)+o,"…"]),s=!1;return s}function sa(e){He=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Sa(e,t,n,a){at&&(Il.start=t,Il.end=n,il.color="warning",il.tooltipText=a,il.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,Il)):performance.measure(a,Il))}function Ju(e,t,n){Sa(e,t,n,"Reconnect")}function Iu(e,t,n,a,s){var o=J(e);if(o!==null&&at){var f=e.alternate,h=e.actualDuration;if(f===null||f.child!==e.child)for(var g=e.child;g!==null;g=g.sibling)h-=g.actualDuration;a=.5>h?a?"tertiary-light":"primary-light":10>h?a?"tertiary":"primary":100>h?a?"tertiary-dark":"primary-dark":"error";var b=e.memoizedProps;h=e._debugTask,b!==null&&f!==null&&f.memoizedProps!==b?(g=[IN],b=Jy(f.memoizedProps,b,g,0),1<g.length&&(b&&!Jl&&(f.lanes&s)===0&&100<e.actualDuration?(Jl=!0,g[0]=ZN,il.color="warning",il.tooltipText=l1):(il.color=a,il.tooltipText=o),il.properties=g,Il.start=t,Il.end=n,h!=null?h.run(performance.measure.bind(performance,""+o,Il)):performance.measure(""+o,Il))):h!=null?h.run(console.timeStamp.bind(console,o,t,n,Gn,void 0,a)):console.timeStamp(o,t,n,Gn,void 0,a)}}function Wd(e,t,n,a){if(at){var s=J(e);if(s!==null){for(var o=null,f=[],h=0;h<a.length;h++){var g=a[h];o==null&&g.source!==null&&(o=g.source._debugTask),g=g.value,f.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e.key!==null&&va("key",e.key,f,0,""),e.memoizedProps!==null&&Fd(e.memoizedProps,f,0,""),o==null&&(o=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:Gn,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:f}}},o?o.run(performance.measure.bind(performance,""+s,e)):performance.measure(""+s,e)}}}function wa(e,t,n,a,s){if(s!==null){if(at){var o=J(e);if(o!==null){a=[];for(var f=0;f<s.length;f++){var h=s[f].value;a.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e.key!==null&&va("key",e.key,a,0,""),e.memoizedProps!==null&&Fd(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:Gn,tooltipText:"A lifecycle or effect errored",properties:a}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+o,t)):performance.measure(""+o,t)}}}else o=J(e),o!==null&&at&&(s=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,o,t,n,Gn,void 0,s)):console.timeStamp(o,t,n,Gn,void 0,s))}function pA(e,t,n,a){if(at&&!(t<=e)){var s=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",a?a.run(console.timeStamp.bind(console,n,e,t,He,Be,s)):console.timeStamp(n,e,t,He,Be,s)}}function Iy(e,t,n,a){!at||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,He,Be,n)):console.timeStamp("Prewarm",e,t,He,Be,n))}function Zy(e,t,n,a){!at||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,He,Be,n)):console.timeStamp("Suspended",e,t,He,Be,n))}function mA(e,t,n,a,s,o){if(at&&!(t<=e)){n=[];for(var f=0;f<a.length;f++){var h=a[f].value;n.push(["Recoverable Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:He,trackGroup:Be,tooltipText:s?"Hydration Failed":"Recovered after Error",properties:n}}},o?o.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Pd(e,t,n,a){!at||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,He,Be,"error")):console.timeStamp("Errored",e,t,He,Be,"error"))}function gA(e,t,n,a){!at||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,He,Be,"secondary-light")):console.timeStamp(n,e,t,He,Be,"secondary-light"))}function Ky(e,t,n,a,s){if(at&&!(t<=e)){for(var o=[],f=0;f<n.length;f++){var h=n[f].value;o.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"error",track:He,trackGroup:Be,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:o}}},s?s.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function eh(e,t,n){!at||t<=e||console.timeStamp("Animating",e,t,He,Be,"secondary-dark")}function Zu(){for(var e=Wi,t=Nm=Wi=0;t<e;){var n=Qn[t];Qn[t++]=null;var a=Qn[t];Qn[t++]=null;var s=Qn[t];Qn[t++]=null;var o=Qn[t];if(Qn[t++]=null,a!==null&&s!==null){var f=a.pending;f===null?s.next=s:(s.next=f.next,f.next=s),a.pending=s}o!==0&&Fy(n,s,o)}}function Ku(e,t,n,a){Qn[Wi++]=e,Qn[Wi++]=t,Qn[Wi++]=n,Qn[Wi++]=a,Nm|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function th(e,t,n,a){return Ku(e,t,n,a),Fu(e)}function Ft(e,t){return Ku(e,null,null,t),Fu(e)}function Fy(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var s=!1,o=e.return;o!==null;)o.childLanes|=n,a=o.alternate,a!==null&&(a.childLanes|=n),o.tag===22&&(e=o.stateNode,e===null||e._visibility&Vo||(s=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,s&&t!==null&&(s=31-sn(n),e=o.hiddenUpdates,a=e[s],a===null?e[s]=[t]:a.push(t),t.lane=n|536870912),o):null}function Fu(e){if(pu>fD)throw ai=pu=0,mu=sg=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.");ai>dD&&(ai=0,mu=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&hv(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&hv(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Rs(e){if(Xn===null)return e;var t=Xn(e);return t===void 0?e:t.current}function nh(e){if(Xn===null)return e;var t=Xn(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Rs(e.render),e.render!==t)?(t={$$typeof:xo,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Wy(e,t){if(Xn===null)return!1;var n=e.elementType;t=t.type;var a=!1,s=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||s===Mn)&&(a=!0);break;case 11:(s===xo||s===Mn)&&(a=!0);break;case 14:case 15:(s===Ic||s===Mn)&&(a=!0);break;default:return!1}return!!(a&&(e=Xn(n),e!==void 0&&e===Xn(t)))}function Py(e){Xn!==null&&typeof WeakSet=="function"&&(Pi===null&&(Pi=new WeakSet),Pi.add(e))}function e0(e,t,n){do{var a=e,s=a.alternate,o=a.child,f=a.sibling,h=a.tag;a=a.type;var g=null;switch(h){case 0:case 15:case 1:g=a;break;case 11:g=a.render}if(Xn===null)throw Error("Expected resolveFamily to be set during hot reload.");var b=!1;if(a=!1,g!==null&&(g=Xn(g),g!==void 0&&(n.has(g)?a=!0:t.has(g)&&(h===1?a=!0:b=!0))),Pi!==null&&(Pi.has(e)||s!==null&&Pi.has(s))&&(a=!0),a&&(e._debugNeedsRemount=!0),(a||b)&&(s=Ft(e,2),s!==null&&dt(s,e,2)),o===null||a||e0(o,t,n),f===null)break;e=f}while(!0)}function yA(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,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,s1||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ah(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fa(e,t){var n=e.alternate;switch(n===null?(n=E(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Rs(e.type);break;case 1:n.type=Rs(e.type);break;case 11:n.type=nh(e.type)}return n}function t0(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function lh(e,t,n,a,s,o){var f=0,h=e;if(typeof e=="function")ah(e)&&(f=1),h=Rs(h);else if(typeof e=="string")f=ie(),f=NO(e,n,f)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Fp:return t=E(31,n,t,s),t.elementType=Fp,t.lanes=o,t;case Vi:return xs(n.children,s,o,t);case Jc:f=8,s|=Pt,s|=ua;break;case Jp:return e=n,a=s,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=E(12,e,t,a|Re),t.elementType=Jp,t.lanes=o,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Zp:return t=E(13,n,t,s),t.elementType=Zp,t.lanes=o,t;case Kp:return t=E(19,n,t,s),t.elementType=Kp,t.lanes=o,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ja:f=10;break e;case Ip:f=9;break e;case xo:f=11,h=nh(h);break e;case Ic:f=14;break e;case Mn:f=16,h=null;break e}h="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Ut(e)?n="array":e!==void 0&&e.$$typeof===za?(n="<"+(X(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(f=a?j(a):null)&&(h+=`
|
|
118
|
+
|
|
119
|
+
Check the render method of \``+f+"`."),f=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+h)),h=null}return t=E(f,n,t,s),t.elementType=e,t.type=h,t.lanes=o,t._debugOwner=a,t}function Wu(e,t,n){return t=lh(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function xs(e,t,n,a){return e=E(7,e,a,t),e.lanes=n,e}function sh(e,t,n){return e=E(6,e,null,t),e.lanes=n,e}function n0(e){var t=E(18,null,null,ve);return t.stateNode=e,t}function ih(e,t,n){return t=E(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nn(e,t){if(typeof e=="object"&&e!==null){var n=Dm.get(e);return n!==void 0?n:(t={value:e,source:t,stack:je(t)},Dm.set(e,t),t)}return{value:e,source:t,stack:je(t)}}function Wa(e,t){_l(),er[tr++]=qo,er[tr++]=cf,cf=e,qo=t}function a0(e,t,n){_l(),Jn[In++]=ol,Jn[In++]=ul,Jn[In++]=qs,qs=e;var a=ol;e=ul;var s=32-sn(a)-1;a&=~(1<<s),n+=1;var o=32-sn(t)+s;if(30<o){var f=s-s%5;o=(a&(1<<f)-1).toString(32),a>>=f,s-=f,ol=1<<32-sn(t)+s|n<<s|a,ul=o+e}else ol=1<<o|n<<s|a,ul=e}function rh(e){_l(),e.return!==null&&(Wa(e,1),a0(e,1,0))}function oh(e){for(;e===cf;)cf=er[--tr],er[tr]=null,qo=er[--tr],er[tr]=null;for(;e===qs;)qs=Jn[--In],Jn[In]=null,ul=Jn[--In],Jn[In]=null,ol=Jn[--In],Jn[In]=null}function l0(){return _l(),qs!==null?{id:ol,overflow:ul}:null}function s0(e,t){_l(),Jn[In++]=ol,Jn[In++]=ul,Jn[In++]=qs,ol=t.id,ul=t.overflow,qs=e}function _l(){ze||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function _s(e,t){if(e.return===null){if(kn===null)kn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(kn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");kn.distanceFromLeaf>t&&(kn.distanceFromLeaf=t)}return kn}var n=_s(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function i0(){ze&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Pu(e,t){qa||(e=_s(e,0),e.serverProps=null,t!==null&&(t=Bv(t),e.serverTail.push(t)))}function Cl(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=kn;throw a!==null&&(kn=null,n=Xd(a)),to(Nn(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
120
|
+
|
|
121
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
122
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
123
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
124
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
125
|
+
- Invalid HTML tag nesting.
|
|
126
|
+
|
|
127
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
128
|
+
|
|
129
|
+
https://react.dev/link/hydration-mismatch`+n),e)),Rm}function r0(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[Jt]=e,t[rn]=a,Rp(n,a),n){case"dialog":Le("cancel",t),Le("close",t);break;case"iframe":case"object":case"embed":Le("load",t);break;case"video":case"audio":for(n=0;n<gu.length;n++)Le(gu[n],t);break;case"source":Le("error",t);break;case"img":case"image":case"link":Le("error",t),Le("load",t);break;case"details":Le("toggle",t);break;case"input":an("input",a),Le("invalid",t),hy(t,a),py(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":my(t,a);break;case"select":an("select",a),Le("invalid",t),yy(t,a);break;case"textarea":an("textarea",a),Le("invalid",t),by(t,a),Sy(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||Av(t.textContent,n)?(a.popover!=null&&(Le("beforetoggle",t),Le("toggle",t)),a.onScroll!=null&&Le("scroll",t),a.onScrollEnd!=null&&Le("scrollend",t),a.onClick!=null&&(t.onclick=Ka),t=!0):t=!1,t||Cl(e,!0)}function o0(e){for(It=e.return;It;)switch(It.tag){case 5:case 31:case 13:Zn=!1;return;case 27:case 3:Zn=!0;return;default:It=It.return}}function Oi(e){if(e!==It)return!1;if(!ze)return o0(e),ze=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Up(e.type,e.memoizedProps)),n=!n),n&<){for(n=lt;n;){var a=_s(e,0),s=Bv(n);a.serverTail.push(s),n=s.type==="Suspense"?Lp(n):Cn(n.nextSibling)}Cl(e)}if(o0(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");lt=Lp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");lt=Lp(e)}else t===27?(t=lt,Vl(e.type)?(e=yg,yg=null,lt=e):lt=t):lt=It?Cn(e.stateNode.nextSibling):null;return!0}function Cs(){lt=It=null,qa=ze=!1}function uh(){var e=Kl;return e!==null&&(hn===null?hn=e:hn.push.apply(hn,e),Kl=null),e}function to(e){Kl===null?Kl=[e]:Kl.push(e)}function ch(){var e=kn;if(e!==null){kn=null;for(var t=Xd(e);0<e.children.length;)e=e.children[0];se(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
130
|
+
|
|
131
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
132
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
133
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
134
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
135
|
+
- Invalid HTML tag nesting.
|
|
136
|
+
|
|
137
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
138
|
+
|
|
139
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function ec(){nr=ff=null,ar=!1}function Ml(e,t,n){K(xm,t._currentValue,e),t._currentValue=n,K(_m,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==r1&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=r1}function Pa(e,t){e._currentValue=xm.current;var n=_m.current;$(_m,t),e._currentRenderer=n,$(xm,t)}function fh(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function dh(e,t,n,a){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var o=s.dependencies;if(o!==null){var f=s.child;o=o.firstContext;e:for(;o!==null;){var h=o;o=s;for(var g=0;g<t.length;g++)if(h.context===t[g]){o.lanes|=n,h=o.alternate,h!==null&&(h.lanes|=n),fh(o.return,n,e),a||(f=null);break e}o=h.next}}else if(s.tag===18){if(f=s.return,f===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");f.lanes|=n,o=f.alternate,o!==null&&(o.lanes|=n),fh(f,n,e),f=null}else f=s.child;if(f!==null)f.return=s;else for(f=s;f!==null;){if(f===e){f=null;break}if(s=f.sibling,s!==null){s.return=f.return,f=s;break}f=f.return}s=f}}function Ni(e,t,n,a){e=null;for(var s=t,o=!1;s!==null;){if(!o){if((s.flags&524288)!==0)o=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var f=s.alternate;if(f===null)throw Error("Should have a current fiber. This is a bug in React.");if(f=f.memoizedProps,f!==null){var h=s.type;un(s.pendingProps.value,f.value)||(e!==null?e.push(h):e=[h])}}else if(s===Zc.current){if(f=s.alternate,f===null)throw Error("Should have a current fiber. This is a bug in React.");f.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(wu):e=[wu])}s=s.return}e!==null&&dh(t,e,n,a),t.flags|=262144}function tc(e){for(e=e.firstContext;e!==null;){if(!un(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ms(e){ff=e,nr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function it(e){return ar&&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()."),u0(ff,e)}function nc(e,t){return ff===null&&Ms(e),u0(e,t)}function u0(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},nr===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");nr=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else nr=nr.next=t;return n}function hh(){return{controller:new WN,data:new Map,refCount:0}}function Us(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function no(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&PN(eD,function(){e.controller.abort()})}function Ea(e,t,n){(e&127)!==0?0>Ya&&(Ya=Ot(),Go=df(t),Cm=t,n!=null&&(Mm=J(n)),(Ge&(zt|Ln))!==Yt&&(ht=!0,Wl=Yo),e=Ao(),t=To(),e!==lr||t!==Qo?lr=-1.1:t!==null&&(Wl=Yo),Qs=e,Qo=t):(e&4194048)!==0&&0>Kn&&(Kn=Ot(),Xo=df(t),o1=t,n!=null&&(u1=J(n)),0>hl)&&(e=Ao(),t=To(),(e!==es||t!==Xs)&&(es=-1.1),Pl=e,Xs=t)}function bA(e){if(0>Ya){Ya=Ot(),Go=e._debugTask!=null?e._debugTask:null,(Ge&(zt|Ln))!==Yt&&(Wl=Yo);var t=Ao(),n=To();t!==lr||n!==Qo?lr=-1.1:n!==null&&(Wl=Yo),Qs=t,Qo=n}0>Kn&&(Kn=Ot(),Xo=e._debugTask!=null?e._debugTask:null,0>hl)&&(e=Ao(),t=To(),(e!==es||t!==Xs)&&(es=-1.1),Pl=e,Xs=t)}function el(){var e=Ys;return Ys=0,e}function ac(e){var t=Ys;return Ys=e,t}function ao(e){var t=Ys;return Ys+=e,t}function lc(){ge=me=-1.1}function Dn(){var e=me;return me=-1.1,e}function Rn(e){0<=e&&(me=e)}function Ta(){var e=ot;return ot=-0,e}function Aa(e){0<=e&&(ot=e)}function Oa(){var e=rt;return rt=null,e}function Na(){var e=ht;return ht=!1,e}function ph(e){cn=Ot(),0>e.actualStartTime&&(e.actualStartTime=cn)}function mh(e){if(0<=cn){var t=Ot()-cn;e.actualDuration+=t,e.selfBaseDuration=t,cn=-1}}function c0(e){if(0<=cn){var t=Ot()-cn;e.actualDuration+=t,cn=-1}}function Da(){if(0<=cn){var e=Ot(),t=e-cn;cn=-1,Ys+=t,ot+=t,ge=e}}function f0(e){rt===null&&(rt=[]),rt.push(e),fl===null&&(fl=[]),fl.push(e)}function Ra(){cn=Ot(),0>me&&(me=cn)}function lo(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function vA(e,t){if(Io===null){var n=Io=[];km=0,Js=Ap(),sr={status:"pending",value:void 0,then:function(a){n.push(a)}}}return km++,t.then(d0,d0),t}function d0(){if(--km===0&&(-1<Kn||(hl=-1.1),Io!==null)){sr!==null&&(sr.status="fulfilled");var e=Io;Io=null,Js=0,sr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function SA(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(a.status="rejected",a.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),a}function gh(){var e=Is.current;return e!==null?e:Pe.pooledCache}function sc(e,t){t===null?K(Is,Is.current,e):K(Is,t.pool,e)}function h0(){var e=gh();return e===null?null:{parent:At._currentValue,pool:e}}function p0(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function m0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function g0(e,t,n){V.actQueue!==null&&(V.didUsePromise=!0);var a=e.thenables;if(n=a[n],n===void 0?a.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Ka,Ka),t=n),t._debugInfo===void 0){e=performance.now(),a=t.displayName;var s={name:typeof a=="string"?a:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:s}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){s.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,b0(e),e;default:if(typeof t.status=="string")t.then(Ka,Ka);else{if(e=Pe,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var f=t;f.status="fulfilled",f.value=o}},function(o){if(t.status==="pending"){var f=t;f.status="rejected",f.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,b0(e),e}throw Ks=t,tu=!0,ir}}function Ul(e){try{return sD(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Ks=t,tu=!0,ir):t}}function y0(){if(Ks===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Ks;return Ks=null,tu=!1,e}function b0(e){if(e===ir||e===Sf)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 Gt(e){var t=xe;return e!=null&&(xe=t===null?e:t.concat(e)),t}function yh(){var e=xe;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function ic(e,t,n){for(var a=Object.keys(e.props),s=0;s<a.length;s++){var o=a[s];if(o!=="children"&&o!=="key"){t===null&&(t=Wu(e,n.mode,0),t._debugInfo=xe,t.return=n),se(t,function(f){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f)},o);break}}}function rc(e){var t=nu;return nu+=1,rr===null&&(rr=p0()),g0(rr,e,t)}function so(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function v0(e,t){throw t.$$typeof===LO?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
140
|
+
- Multiple copies of the "react" package is used.
|
|
141
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
142
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function oc(e,t){var n=yh();n!==null?n.run(v0.bind(null,e,t)):v0(e,t)}function S0(e,t){var n=J(e)||"Component";x1[n]||(x1[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
143
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
144
|
+
<%s>{%s}</%s>`,t,t,n,t,n))}function uc(e,t){var n=yh();n!==null?n.run(S0.bind(null,e,t)):S0(e,t)}function w0(e,t){var n=J(e)||"Component";_1[n]||(_1[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
145
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
146
|
+
<%s>%s</%s>`,n,t,n))}function cc(e,t){var n=yh();n!==null?n.run(w0.bind(null,e,t)):w0(e,t)}function E0(e){function t(O,D){if(e){var x=O.deletions;x===null?(O.deletions=[D],O.flags|=16):x.push(D)}}function n(O,D){if(!e)return null;for(;D!==null;)t(O,D),D=D.sibling;return null}function a(O){for(var D=new Map;O!==null;)O.key!==null?D.set(O.key,O):D.set(O.index,O),O=O.sibling;return D}function s(O,D){return O=Fa(O,D),O.index=0,O.sibling=null,O}function o(O,D,x){return O.index=x,e?(x=O.alternate,x!==null?(x=x.index,x<D?(O.flags|=67108866,D):x):(O.flags|=67108866,D)):(O.flags|=1048576,D)}function f(O){return e&&O.alternate===null&&(O.flags|=67108866),O}function h(O,D,x,q){return D===null||D.tag!==6?(D=sh(x,O.mode,q),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=xe,D):(D=s(D,x),D.return=O,D._debugInfo=xe,D)}function g(O,D,x,q){var ae=x.type;return ae===Vi?(D=_(O,D,x.props.children,q,x.key),ic(x,D,O),D):D!==null&&(D.elementType===ae||Wy(D,x)||typeof ae=="object"&&ae!==null&&ae.$$typeof===Mn&&Ul(ae)===D.type)?(D=s(D,x.props),so(D,x),D.return=O,D._debugOwner=x._owner,D._debugInfo=xe,D):(D=Wu(x,O.mode,q),so(D,x),D.return=O,D._debugInfo=xe,D)}function b(O,D,x,q){return D===null||D.tag!==4||D.stateNode.containerInfo!==x.containerInfo||D.stateNode.implementation!==x.implementation?(D=ih(x,O.mode,q),D.return=O,D._debugInfo=xe,D):(D=s(D,x.children||[]),D.return=O,D._debugInfo=xe,D)}function _(O,D,x,q,ae){return D===null||D.tag!==7?(D=xs(x,O.mode,q,ae),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=xe,D):(D=s(D,x),D.return=O,D._debugInfo=xe,D)}function C(O,D,x){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=sh(""+D,O.mode,x),D.return=O,D._debugOwner=O,D._debugTask=O._debugTask,D._debugInfo=xe,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case za:return x=Wu(D,O.mode,x),so(x,D),x.return=O,O=Gt(D._debugInfo),x._debugInfo=xe,xe=O,x;case Hi:return D=ih(D,O.mode,x),D.return=O,D._debugInfo=xe,D;case Mn:var q=Gt(D._debugInfo);return D=Ul(D),O=C(O,D,x),xe=q,O}if(Ut(D)||le(D))return x=xs(D,O.mode,x,null),x.return=O,x._debugOwner=O,x._debugTask=O._debugTask,O=Gt(D._debugInfo),x._debugInfo=xe,xe=O,x;if(typeof D.then=="function")return q=Gt(D._debugInfo),O=C(O,rc(D),x),xe=q,O;if(D.$$typeof===ja)return C(O,nc(O,D),x);oc(O,D)}return typeof D=="function"&&uc(O,D),typeof D=="symbol"&&cc(O,D),null}function N(O,D,x,q){var ae=D!==null?D.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return ae!==null?null:h(O,D,""+x,q);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case za:return x.key===ae?(ae=Gt(x._debugInfo),O=g(O,D,x,q),xe=ae,O):null;case Hi:return x.key===ae?b(O,D,x,q):null;case Mn:return ae=Gt(x._debugInfo),x=Ul(x),O=N(O,D,x,q),xe=ae,O}if(Ut(x)||le(x))return ae!==null?null:(ae=Gt(x._debugInfo),O=_(O,D,x,q,null),xe=ae,O);if(typeof x.then=="function")return ae=Gt(x._debugInfo),O=N(O,D,rc(x),q),xe=ae,O;if(x.$$typeof===ja)return N(O,D,nc(O,x),q);oc(O,x)}return typeof x=="function"&&uc(O,x),typeof x=="symbol"&&cc(O,x),null}function B(O,D,x,q,ae){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return O=O.get(x)||null,h(D,O,""+q,ae);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case za:return x=O.get(q.key===null?x:q.key)||null,O=Gt(q._debugInfo),D=g(D,x,q,ae),xe=O,D;case Hi:return O=O.get(q.key===null?x:q.key)||null,b(D,O,q,ae);case Mn:var Ee=Gt(q._debugInfo);return q=Ul(q),D=B(O,D,x,q,ae),xe=Ee,D}if(Ut(q)||le(q))return x=O.get(x)||null,O=Gt(q._debugInfo),D=_(D,x,q,ae,null),xe=O,D;if(typeof q.then=="function")return Ee=Gt(q._debugInfo),D=B(O,D,x,rc(q),ae),xe=Ee,D;if(q.$$typeof===ja)return B(O,D,x,nc(D,q),ae);oc(D,q)}return typeof q=="function"&&uc(D,q),typeof q=="symbol"&&cc(D,q),null}function ee(O,D,x,q){if(typeof x!="object"||x===null)return q;switch(x.$$typeof){case za:case Hi:M(O,D,x);var ae=x.key;if(typeof ae!="string")break;if(q===null){q=new Set,q.add(ae);break}if(!q.has(ae)){q.add(ae);break}se(D,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.",ae)});break;case Mn:x=Ul(x),ee(O,D,x,q)}return q}function re(O,D,x,q){for(var ae=null,Ee=null,pe=null,fe=D,De=D=0,st=null;fe!==null&&De<x.length;De++){fe.index>De?(st=fe,fe=null):st=fe.sibling;var vt=N(O,fe,x[De],q);if(vt===null){fe===null&&(fe=st);break}ae=ee(O,vt,x[De],ae),e&&fe&&vt.alternate===null&&t(O,fe),D=o(vt,D,De),pe===null?Ee=vt:pe.sibling=vt,pe=vt,fe=st}if(De===x.length)return n(O,fe),ze&&Wa(O,De),Ee;if(fe===null){for(;De<x.length;De++)fe=C(O,x[De],q),fe!==null&&(ae=ee(O,fe,x[De],ae),D=o(fe,D,De),pe===null?Ee=fe:pe.sibling=fe,pe=fe);return ze&&Wa(O,De),Ee}for(fe=a(fe);De<x.length;De++)st=B(fe,O,De,x[De],q),st!==null&&(ae=ee(O,st,x[De],ae),e&&st.alternate!==null&&fe.delete(st.key===null?De:st.key),D=o(st,D,De),pe===null?Ee=st:pe.sibling=st,pe=st);return e&&fe.forEach(function(wl){return t(O,wl)}),ze&&Wa(O,De),Ee}function tt(O,D,x,q){if(x==null)throw Error("An iterable object provided no iterator.");for(var ae=null,Ee=null,pe=D,fe=D=0,De=null,st=null,vt=x.next();pe!==null&&!vt.done;fe++,vt=x.next()){pe.index>fe?(De=pe,pe=null):De=pe.sibling;var wl=N(O,pe,vt.value,q);if(wl===null){pe===null&&(pe=De);break}st=ee(O,wl,vt.value,st),e&&pe&&wl.alternate===null&&t(O,pe),D=o(wl,D,fe),Ee===null?ae=wl:Ee.sibling=wl,Ee=wl,pe=De}if(vt.done)return n(O,pe),ze&&Wa(O,fe),ae;if(pe===null){for(;!vt.done;fe++,vt=x.next())pe=C(O,vt.value,q),pe!==null&&(st=ee(O,pe,vt.value,st),D=o(pe,D,fe),Ee===null?ae=pe:Ee.sibling=pe,Ee=pe);return ze&&Wa(O,fe),ae}for(pe=a(pe);!vt.done;fe++,vt=x.next())De=B(pe,O,fe,vt.value,q),De!==null&&(st=ee(O,De,vt.value,st),e&&De.alternate!==null&&pe.delete(De.key===null?fe:De.key),D=o(De,D,fe),Ee===null?ae=De:Ee.sibling=De,Ee=De);return e&&pe.forEach(function(xD){return t(O,xD)}),ze&&Wa(O,fe),ae}function $e(O,D,x,q){if(typeof x=="object"&&x!==null&&x.type===Vi&&x.key===null&&(ic(x,null,O),x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case za:var ae=Gt(x._debugInfo);e:{for(var Ee=x.key;D!==null;){if(D.key===Ee){if(Ee=x.type,Ee===Vi){if(D.tag===7){n(O,D.sibling),q=s(D,x.props.children),q.return=O,q._debugOwner=x._owner,q._debugInfo=xe,ic(x,q,O),O=q;break e}}else if(D.elementType===Ee||Wy(D,x)||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===Mn&&Ul(Ee)===D.type){n(O,D.sibling),q=s(D,x.props),so(q,x),q.return=O,q._debugOwner=x._owner,q._debugInfo=xe,O=q;break e}n(O,D);break}else t(O,D);D=D.sibling}x.type===Vi?(q=xs(x.props.children,O.mode,q,x.key),q.return=O,q._debugOwner=O,q._debugTask=O._debugTask,q._debugInfo=xe,ic(x,q,O),O=q):(q=Wu(x,O.mode,q),so(q,x),q.return=O,q._debugInfo=xe,O=q)}return O=f(O),xe=ae,O;case Hi:e:{for(ae=x,x=ae.key;D!==null;){if(D.key===x)if(D.tag===4&&D.stateNode.containerInfo===ae.containerInfo&&D.stateNode.implementation===ae.implementation){n(O,D.sibling),q=s(D,ae.children||[]),q.return=O,O=q;break e}else{n(O,D);break}else t(O,D);D=D.sibling}q=ih(ae,O.mode,q),q.return=O,O=q}return f(O);case Mn:return ae=Gt(x._debugInfo),x=Ul(x),O=$e(O,D,x,q),xe=ae,O}if(Ut(x))return ae=Gt(x._debugInfo),O=re(O,D,x,q),xe=ae,O;if(le(x)){if(ae=Gt(x._debugInfo),Ee=le(x),typeof Ee!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var pe=Ee.call(x);return pe===x?(O.tag!==0||Object.prototype.toString.call(O.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(pe)!=="[object Generator]")&&(D1||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."),D1=!0):x.entries!==Ee||Bm||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Bm=!0),O=tt(O,D,pe,q),xe=ae,O}if(typeof x.then=="function")return ae=Gt(x._debugInfo),O=$e(O,D,rc(x),q),xe=ae,O;if(x.$$typeof===ja)return $e(O,D,nc(O,x),q);oc(O,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(ae=""+x,D!==null&&D.tag===6?(n(O,D.sibling),q=s(D,ae),q.return=O,O=q):(n(O,D),q=sh(ae,O.mode,q),q.return=O,q._debugOwner=O,q._debugTask=O._debugTask,q._debugInfo=xe,O=q),f(O)):(typeof x=="function"&&uc(O,x),typeof x=="symbol"&&cc(O,x),n(O,D))}return function(O,D,x,q){var ae=xe;xe=null;try{nu=0;var Ee=$e(O,D,x,q);return rr=null,Ee}catch(st){if(st===ir||st===Sf)throw st;var pe=E(29,st,null,O.mode);pe.lanes=q,pe.return=O;var fe=pe._debugInfo=xe;if(pe._debugOwner=O._debugOwner,pe._debugTask=O._debugTask,fe!=null){for(var De=fe.length-1;0<=De;De--)if(typeof fe[De].stack=="string"){pe._debugOwner=fe[De],pe._debugTask=fe[De].debugTask;break}}return pe}finally{xe=ae}}}function T0(e,t){var n=Ut(e);return e=!n&&typeof le(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function bh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function kl(e){return{lane:e,tag:M1,payload:null,callback:null,next:null}}function zl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Hm===a&&!z1){var s=J(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
147
|
+
|
|
148
|
+
Please update the following component: %s`,s),z1=!0}return(Ge&zt)!==Yt?(s=a.pending,s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,t=Fu(e),Fy(e,null,n),t):(Ku(e,a,t,n),Fu(e))}function io(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Jr(e,n)}}function fc(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?s=o=f:o=o.next=f,n=n.next}while(n!==null);o===null?s=o=t:o=o.next=t}else s=o=t;n={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ro(){if(Vm){var e=sr;if(e!==null)throw e}}function oo(e,t,n,a){Vm=!1;var s=e.updateQueue;ts=!1,Hm=s.shared;var o=s.firstBaseUpdate,f=s.lastBaseUpdate,h=s.shared.pending;if(h!==null){s.shared.pending=null;var g=h,b=g.next;g.next=null,f===null?o=b:f.next=b,f=g;var _=e.alternate;_!==null&&(_=_.updateQueue,h=_.lastBaseUpdate,h!==f&&(h===null?_.firstBaseUpdate=b:h.next=b,_.lastBaseUpdate=g))}if(o!==null){var C=s.baseState;f=0,_=b=g=null,h=o;do{var N=h.lane&-536870913,B=N!==h.lane;if(B?(_e&N)===N:(a&N)===N){N!==0&&N===Js&&(Vm=!0),_!==null&&(_=_.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{N=e;var ee=h,re=t,tt=n;switch(ee.tag){case U1:if(ee=ee.payload,typeof ee=="function"){ar=!0;var $e=ee.call(tt,C,re);if(N.mode&Pt){ue(!0);try{ee.call(tt,C,re)}finally{ue(!1)}}ar=!1,C=$e;break e}C=ee;break e;case $m:N.flags=N.flags&-65537|128;case M1:if($e=ee.payload,typeof $e=="function"){if(ar=!0,ee=$e.call(tt,C,re),N.mode&Pt){ue(!0);try{$e.call(tt,C,re)}finally{ue(!1)}}ar=!1}else ee=$e;if(ee==null)break e;C=ke({},C,ee);break e;case k1:ts=!0}}N=h.callback,N!==null&&(e.flags|=64,B&&(e.flags|=8192),B=s.callbacks,B===null?s.callbacks=[N]:B.push(N))}else B={lane:N,tag:h.tag,payload:h.payload,callback:h.callback,next:null},_===null?(b=_=B,g=C):_=_.next=B,f|=N;if(h=h.next,h===null){if(h=s.shared.pending,h===null)break;B=h,h=B.next,B.next=null,s.lastBaseUpdate=B,s.shared.pending=null}}while(!0);_===null&&(g=C),s.baseState=g,s.firstBaseUpdate=b,s.lastBaseUpdate=_,o===null&&(s.shared.lanes=0),ls|=f,e.lanes=f,e.memoizedState=C}Hm=null}function A0(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function wA(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)A0(n[e],t)}function O0(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)A0(n[e],t)}function N0(e,t){var n=Qa;K(Ef,n,e),K(or,t,e),Qa=n|t.baseLanes}function Sh(e){K(Ef,Qa,e),K(or,or.current,e)}function wh(e){Qa=Ef.current,$(or,e),$(Ef,e)}function jl(e){var t=e.alternate;K(bt,bt.current&ur,e),K(zn,e,e),Fn===null&&(t===null||or.current!==null||t.memoizedState!==null)&&(Fn=e)}function Eh(e){K(bt,bt.current,e),K(zn,e,e),Fn===null&&(Fn=e)}function D0(e){e.tag===22?(K(bt,bt.current,e),K(zn,e,e),Fn===null&&(Fn=e)):Ll(e)}function Ll(e){K(bt,bt.current,e),K(zn,zn.current,e)}function xn(e){$(zn,e),Fn===e&&(Fn=null),$(bt,e)}function dc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||zp(n)||jp(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ue(){var e=H;Pn===null?Pn=[e]:Pn.push(e)}function I(){var e=H;if(Pn!==null&&(gl++,Pn[gl]!==e)){var t=J(we);if(!j1.has(t)&&(j1.add(t),Pn!==null)){for(var n="",a=0;a<=gl;a++){var s=Pn[a],o=a===gl?e:s;for(s=a+1+". "+s;30>s.length;)s+=" ";s+=o+`
|
|
149
|
+
`,n+=s}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
|
|
150
|
+
|
|
151
|
+
Previous render Next render
|
|
152
|
+
------------------------------------------------------
|
|
153
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
154
|
+
`,t,n)}}}function Di(e){e==null||Ut(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",H,typeof e)}function hc(){var e=J(we);B1.has(e)||(B1.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function gt(){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:
|
|
155
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
156
|
+
2. You might be breaking the Rules of Hooks
|
|
157
|
+
3. You might have more than one copy of React in the same app
|
|
158
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Th(e,t){if(su)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",H),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
159
|
+
|
|
160
|
+
Previous: %s
|
|
161
|
+
Incoming: %s`,H,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!un(e[n],t[n]))return!1;return!0}function Ah(e,t,n,a,s,o){pl=o,we=t,Pn=e!==null?e._debugHookTypes:null,gl=-1,su=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(o=J(we),qm.has(o)||(qm.add(o),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.",o===null?"An unknown Component":"<"+o+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,V.H=e!==null&&e.memoizedState!==null?Gm:Pn!==null?$1:Ym,Ws=o=(t.mode&Pt)!==ve;var f=zm(n,a,s);if(Ws=!1,fr&&(f=Oh(t,n,a,s)),o){ue(!0);try{f=Oh(t,n,a,s)}finally{ue(!1)}}return R0(e,t),f}function R0(e,t){t._debugHookTypes=Pn,t.dependencies===null?ml!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:ml}):t.dependencies._debugThenableState=ml,V.H=iu;var n=We!==null&&We.next!==null;if(pl=0,Pn=H=Nt=We=we=null,gl=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Af=!1,lu=0,ml=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Dt||(e=e.dependencies,e!==null&&tc(e)&&(Dt=!0)),tu?(tu=!1,e=!0):e=!1,e&&(t=J(t)||"Unknown",L1.has(t)||qm.has(t)||(L1.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Oh(e,t,n,a){we=e;var s=0;do{if(fr&&(ml=null),lu=0,fr=!1,s>=rD)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,su=!1,Nt=We=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}gl=-1,V.H=H1,o=zm(t,n,a)}while(fr);return o}function EA(){var e=V.H,t=e.useState()[0];return t=typeof t.then=="function"?uo(t):t,e=e.useState()[0],(We!==null?We.memoizedState:null)!==e&&(we.flags|=1024),t}function Nh(){var e=Of!==0;return Of=0,e}function Dh(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&ua)!==ve?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Rh(e){if(Af){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Af=!1}pl=0,Pn=Nt=We=we=null,gl=-1,H=null,fr=!1,lu=Of=0,ml=null}function ln(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?we.memoizedState=Nt=e:Nt=Nt.next=e,Nt}function Ze(){if(We===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=We.next;var t=Nt===null?we.memoizedState:Nt.next;if(t!==null)Nt=t,We=e;else{if(e===null)throw we.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");We=e,e={memoizedState:We.memoizedState,baseState:We.baseState,baseQueue:We.baseQueue,queue:We.queue,next:null},Nt===null?we.memoizedState=Nt=e:Nt=Nt.next=e}return Nt}function pc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function uo(e){var t=lu;return lu+=1,ml===null&&(ml=p0()),e=g0(ml,e,t),t=we,(Nt===null?t.memoizedState:Nt.next)===null&&(t=t.alternate,V.H=t!==null&&t.memoizedState!==null?Gm:Ym),e}function Bl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return uo(e);if(e.$$typeof===ja)return it(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function ks(e){var t=null,n=we.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=we.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=pc(),we.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||su)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=BO;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function ia(e,t){return typeof t=="function"?t(e):t}function xh(e,t,n){var a=ln();if(n!==void 0){var s=n(t);if(Ws){ue(!0);try{n(t)}finally{ue(!1)}}}else s=t;return a.memoizedState=a.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},a.queue=e,e=e.dispatch=DA.bind(null,we,e),[a.memoizedState,e]}function Ri(e){var t=Ze();return _h(t,We,e)}function _h(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var s=e.baseQueue,o=a.pending;if(o!==null){if(s!==null){var f=s.next;s.next=o.next,o.next=f}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=o,a.pending=null}if(o=e.baseState,s===null)e.memoizedState=o;else{t=s.next;var h=f=null,g=null,b=t,_=!1;do{var C=b.lane&-536870913;if(C!==b.lane?(_e&C)===C:(pl&C)===C){var N=b.revertLane;if(N===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),C===Js&&(_=!0);else if((pl&N)===N){b=b.next,N===Js&&(_=!0);continue}else C={lane:0,revertLane:b.revertLane,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},g===null?(h=g=C,f=o):g=g.next=C,we.lanes|=N,ls|=N;C=b.action,Ws&&n(o,C),o=b.hasEagerState?b.eagerState:n(o,C)}else N={lane:C,revertLane:b.revertLane,gesture:b.gesture,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},g===null?(h=g=N,f=o):g=g.next=N,we.lanes|=C,ls|=C;b=b.next}while(b!==null&&b!==t);if(g===null?f=o:g.next=h,!un(o,e.memoizedState)&&(Dt=!0,_&&(n=sr,n!==null)))throw n;e.memoizedState=o,e.baseState=f,e.baseQueue=g,a.lastRenderedState=o}return s===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function co(e){var t=Ze(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var a=n.dispatch,s=n.pending,o=t.memoizedState;if(s!==null){n.pending=null;var f=s=s.next;do o=e(o,f.action),f=f.next;while(f!==s);un(o,t.memoizedState)||(Dt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,a]}function Ch(e,t,n){var a=we,s=ln();if(ze){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var o=n();cr||o===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),cr=!0)}else{if(o=t(),cr||(n=t(),un(o,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),cr=!0)),Pe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(_e&127)!==0||x0(a,t,o)}return s.memoizedState=o,n={value:o,getSnapshot:t},s.queue=n,bc(C0.bind(null,a,n,e),[e]),a.flags|=2048,_i(Wn|dn,{destroy:void 0},_0.bind(null,a,n,o,t),null),o}function mc(e,t,n){var a=we,s=Ze(),o=ze;if(o){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!cr){var f=t();un(n,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),cr=!0)}(f=!un((We||s).memoizedState,n))&&(s.memoizedState=n,Dt=!0),s=s.queue;var h=C0.bind(null,a,s,e);if(gn(2048,dn,h,[e]),s.getSnapshot!==t||f||Nt!==null&&Nt.memoizedState.tag&Wn){if(a.flags|=2048,_i(Wn|dn,{destroy:void 0},_0.bind(null,a,s,n,t),null),Pe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");o||(pl&127)!==0||x0(a,t,n)}return n}function x0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=we.updateQueue,t===null?(t=pc(),we.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function _0(e,t,n,a){t.value=n,t.getSnapshot=a,M0(t)&&U0(e)}function C0(e,t,n){return n(function(){M0(t)&&(Ea(2,"updateSyncExternalStore()",e),U0(e))})}function M0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!un(e,n)}catch{return!0}}function U0(e){var t=Ft(e,2);t!==null&&dt(t,e,2)}function Mh(e){var t=ln();if(typeof e=="function"){var n=e;if(e=n(),Ws){ue(!0);try{n()}finally{ue(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:e},t}function Uh(e){e=Mh(e);var t=e.queue,n=W0.bind(null,we,t);return t.dispatch=n,[e.memoizedState,n]}function kh(e){var t=ln();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ih.bind(null,we,!0,n),n.dispatch=t,[e,t]}function k0(e,t){var n=Ze();return z0(n,We,e,t)}function z0(e,t,n,a){return e.baseState=n,_h(e,We,typeof a=="function"?a:ia)}function j0(e,t){var n=Ze();return We!==null?z0(n,We,e,t):(n.baseState=e,[e,n.queue.dispatch])}function TA(e,t,n,a,s){if(Ac(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var o={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){o.listeners.push(f)}};V.T!==null?n(!0):o.isTransition=!1,a(o),n=t.pending,n===null?(o.next=t.pending=o,L0(t,o)):(o.next=n.next,t.pending=n.next=o)}}function L0(e,t){var n=t.action,a=t.payload,s=e.state;if(t.isTransition){var o=V.T,f={};f._updatedFibers=new Set,V.T=f;try{var h=n(s,a),g=V.S;g!==null&&g(f,h),B0(e,t,h)}catch(b){zh(e,t,b)}finally{o!==null&&f.types!==null&&(o.types!==null&&o.types!==f.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."),o.types=f.types),V.T=o,o===null&&f._updatedFibers&&(e=f._updatedFibers.size,f._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{f=n(s,a),B0(e,t,f)}catch(b){zh(e,t,b)}}function B0(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(V.asyncTransitions++,n.then(Tc,Tc),n.then(function(a){$0(e,t,a)},function(a){return zh(e,t,a)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):$0(e,t,n)}function $0(e,t,n){t.status="fulfilled",t.value=n,H0(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,L0(e,n)))}function zh(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,H0(t),t=t.next;while(t!==a)}e.action=null}function H0(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function V0(e,t){return t}function xi(e,t){if(ze){var n=Pe.formState;if(n!==null){e:{var a=we;if(ze){if(lt){t:{for(var s=lt,o=Zn;s.nodeType!==8;){if(!o){s=null;break t}if(s=Cn(s.nextSibling),s===null){s=null;break t}}o=s.data,s=o===hg||o===Ow?s:null}if(s){lt=Cn(s.nextSibling),a=s.data===hg;break e}}Cl(a)}a=!1}a&&(t=n[0])}}return n=ln(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:V0,lastRenderedState:t},n.queue=a,n=W0.bind(null,we,a),a.dispatch=n,a=Mh(!1),o=Ih.bind(null,we,!1,a.queue),a=ln(),s={state:t,dispatch:null,action:e,pending:null},a.queue=s,n=TA.bind(null,we,s,o,n),s.dispatch=n,a.memoizedState=e,[t,n,!1]}function gc(e){var t=Ze();return q0(t,We,e)}function q0(e,t,n){if(t=_h(e,t,V0)[0],e=Ri(ia)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=uo(t)}catch(f){throw f===ir?Sf:f}else a=t;t=Ze();var s=t.queue,o=s.dispatch;return n!==t.memoizedState&&(we.flags|=2048,_i(Wn|dn,{destroy:void 0},AA.bind(null,s,n),null)),[a,o,e]}function AA(e,t){e.action=t}function yc(e){var t=Ze(),n=We;if(n!==null)return q0(t,n,e);Ze(),t=t.memoizedState,n=Ze();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function _i(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=we.updateQueue,t===null&&(t=pc(),we.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function jh(e){var t=ln();return e={current:e},t.memoizedState=e}function zs(e,t,n,a){var s=ln();we.flags|=e,s.memoizedState=_i(Wn|t,{destroy:void 0},n,a===void 0?null:a)}function gn(e,t,n,a){var s=Ze();a=a===void 0?null:a;var o=s.memoizedState.inst;We!==null&&a!==null&&Th(a,We.memoizedState.deps)?s.memoizedState=_i(t,o,n,a):(we.flags|=e,s.memoizedState=_i(Wn|t,o,n,a))}function bc(e,t){(we.mode&ua)!==ve?zs(276826112,dn,e,t):zs(8390656,dn,e,t)}function OA(e){we.flags|=4;var t=we.updateQueue;if(t===null)t=pc(),we.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Lh(e){var t=ln(),n={impl:e};return t.memoizedState=n,function(){if((Ge&zt)!==Yt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function vc(e){var t=Ze().memoizedState;return OA({ref:t,nextImpl:e}),function(){if((Ge&zt)!==Yt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Bh(e,t){var n=4194308;return(we.mode&ua)!==ve&&(n|=134217728),zs(n,jn,e,t)}function Y0(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function $h(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var a=4194308;(we.mode&ua)!==ve&&(a|=134217728),zs(a,jn,Y0.bind(null,t,e),n)}function Sc(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,gn(4,jn,Y0.bind(null,t,e),n)}function Hh(e,t){return ln().memoizedState=[e,t===void 0?null:t],e}function wc(e,t){var n=Ze();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Th(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Vh(e,t){var n=ln();t=t===void 0?null:t;var a=e();if(Ws){ue(!0);try{e()}finally{ue(!1)}}return n.memoizedState=[a,t],a}function Ec(e,t){var n=Ze();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Th(t,a[1]))return a[0];if(a=e(),Ws){ue(!0);try{e()}finally{ue(!1)}}return n.memoizedState=[a,t],a}function qh(e,t){var n=ln();return Yh(n,e,t)}function G0(e,t){var n=Ze();return X0(n,We.memoizedState,e,t)}function Q0(e,t){var n=Ze();return We===null?Yh(n,e,t):X0(n,We.memoizedState,e,t)}function Yh(e,t,n){return n===void 0||(pl&1073741824)!==0&&(_e&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Jb(),we.lanes|=e,ls|=e,n)}function X0(e,t,n,a){return un(n,t)?n:or.current!==null?(e=Yh(e,n,a),un(e,t)||(Dt=!0),e):(pl&42)===0||(pl&1073741824)!==0&&(_e&261930)===0?(Dt=!0,e.memoizedState=n):(e=Jb(),we.lanes|=e,ls|=e,t)}function Tc(){V.asyncTransitions--}function J0(e,t,n,a,s){var o=Xe.p;Xe.p=o!==0&&o<Ha?o:Ha;var f=V.T,h={};h._updatedFibers=new Set,V.T=h,Ih(e,!1,t,n);try{var g=s(),b=V.S;if(b!==null&&b(h,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){V.asyncTransitions++,g.then(Tc,Tc);var _=SA(g,a);fo(e,t,_,_n(e))}else fo(e,t,a,_n(e))}catch(C){fo(e,t,{then:function(){},status:"rejected",reason:C},_n(e))}finally{Xe.p=o,f!==null&&h.types!==null&&(f.types!==null&&f.types!==h.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=h.types),V.T=f,f===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Gh(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=I0(e).queue;bA(e),J0(e,s,t,ui,n===null?S:function(){return Z0(e),n(a)})}function I0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ui,baseState:ui,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:ui},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Z0(e){V.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=I0(e);t.next===null&&(t=e.alternate.memoizedState),fo(e,t.next.queue,{},_n(e))}function Qh(){var e=Mh(!1);return e=J0.bind(null,we,e.queue,!0,!1),ln().memoizedState=e,[!1,e]}function K0(){var e=Ri(ia)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:uo(e),t]}function F0(){var e=co(ia)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:uo(e),t]}function js(){return it(wu)}function Xh(){var e=ln(),t=Pe.identifierPrefix;if(ze){var n=ul,a=ol;n=(a&~(1<<32-sn(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Of++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=iD++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Jh(){return ln().memoizedState=NA.bind(null,we)}function NA(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=_n(n),s=kl(a),o=zl(n,s,a);o!==null&&(Ea(a,"refresh()",e),dt(o,n,a),io(o,n,a)),e=hh(),t!=null&&o!==null&&console.error("The seed argument is not enabled outside experimental channels."),s.payload={cache:e};return}n=n.return}}function DA(e,t,n){var a=arguments;typeof a[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()."),a=_n(e);var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Ac(e)?P0(t,s):(s=th(e,t,s,a),s!==null&&(Ea(a,"dispatch()",e),dt(s,e,a),eb(s,t,a)))}function W0(e,t,n){var a=arguments;typeof a[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()."),a=_n(e),fo(e,t,n,a)&&Ea(a,"setState()",e)}function fo(e,t,n,a){var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ac(e))P0(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null)){var f=V.H;V.H=fa;try{var h=t.lastRenderedState,g=o(h,n);if(s.hasEagerState=!0,s.eagerState=g,un(g,h))return Ku(e,t,s,0),Pe===null&&Zu(),!1}catch{}finally{V.H=f}}if(n=th(e,t,s,a),n!==null)return dt(n,e,a),eb(n,t,a),!0}return!1}function Ih(e,t,n,a){if(V.T===null&&Js===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."),a={lane:2,revertLane:Ap(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ac(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=th(e,n,a,2),t!==null&&(Ea(2,"setOptimistic()",e),dt(t,e,2))}function Ac(e){var t=e.alternate;return e===we||t!==null&&t===we}function P0(e,t){fr=Af=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function eb(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Jr(e,n)}}function Zh(e){if(e!==null&&typeof e!="function"){var t=String(e);F1.has(t)||(F1.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Kh(e,t,n,a){var s=e.memoizedState,o=n(a,s);if(e.mode&Pt){ue(!0);try{o=n(a,s)}finally{ue(!1)}}o===void 0&&(t=X(t)||"Component",J1.has(t)||(J1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=o==null?s:ke({},s,o),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function tb(e,t,n,a,s,o,f){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(n=h.shouldComponentUpdate(a,o,f),e.mode&Pt){ue(!0);try{n=h.shouldComponentUpdate(a,o,f)}finally{ue(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",X(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!eo(n,a)||!eo(s,o):!0}function nb(e,t,n,a){var s=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==s&&(e=J(e)||"Component",q1.has(e)||(q1.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Qm.enqueueReplaceState(t,t.state,null))}function Ls(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=ke({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function ab(e){Em(e),console.warn(`%s
|
|
162
|
+
|
|
163
|
+
%s
|
|
164
|
+
`,dr?"An error occurred in the <"+dr+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
165
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function lb(e){var t=dr?"The above error occurred in the <"+dr+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Xm||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var a=e.environmentName;e=[`%o
|
|
166
|
+
|
|
167
|
+
%s
|
|
168
|
+
|
|
169
|
+
%s
|
|
170
|
+
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,Uw+" "+e[0],kw,Kf+a+Kf,zw):e.splice(0,0,Uw,kw,Kf+a+Kf,zw),e.unshift(console),a=DD.apply(console.error,e),a()}else console.error(`%o
|
|
171
|
+
|
|
172
|
+
%s
|
|
173
|
+
|
|
174
|
+
%s
|
|
175
|
+
`,e,t,n)}function sb(e){Em(e)}function Oc(e,t){try{dr=t.source?J(t.source):null,Xm=null;var n=t.value;if(V.actQueue!==null)V.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function ib(e,t,n){try{dr=n.source?J(n.source):null,Xm=J(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Fh(e,t,n){return n=kl(n),n.tag=$m,n.payload={element:null},n.callback=function(){se(t.source,Oc,e,t)},n}function Wh(e){return e=kl(e),e.tag=$m,e}function Ph(e,t,n,a){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var o=a.value;e.payload=function(){return s(o)},e.callback=function(){Py(n),se(a.source,ib,t,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){Py(n),se(a.source,ib,t,n,a),typeof s!="function"&&(is===null?is=new Set([this]):is.add(this)),nD(this,a),typeof s=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",J(n)||"Unknown")})}function RA(e,t,n,a,s){if(n.flags|=32768,$a&&So(e,s),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Ni(t,n,s,!0),ze&&(qa=!0),n=zn.current,n!==null){switch(n.tag){case 31:case 13:return Fn===null?kc():n.alternate===null&&ut===bl&&(ut=Rf),n.flags&=-257,n.flags|=65536,n.lanes=s,a===wf?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Sp(e,a,s)),!1;case 22:return n.flags|=65536,a===wf?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Sp(e,a,s)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Sp(e,a,s),kc(),!1}if(ze)return qa=!0,t=zn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,a!==Rm&&to(Nn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:a}),n))):(a!==Rm&&to(Nn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:a}),n)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,a=Nn(a,n),s=Fh(e.stateNode,a,s),fc(e,s),ut!==ns&&(ut=Ps)),!1;var o=Nn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:a}),n);if(du===null?du=[o]:du.push(o),ut!==ns&&(ut=Ps),t===null)return!0;a=Nn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=Fh(n.stateNode,a,e),fc(n,e),!1;case 1:if(t=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(is===null||!is.has(o))))return n.flags|=65536,s&=-s,n.lanes|=s,s=Wh(s),Ph(s,e,n,a),fc(n,s),!1}n=n.return}while(n!==null);return!1}function Qt(e,t,n,a){t.child=e===null?C1(t,null,n,a):Fs(t,e.child,n,a)}function rb(e,t,n,a,s){n=n.render;var o=t.ref;if("ref"in a){var f={};for(var h in a)h!=="ref"&&(f[h]=a[h])}else f=a;return Ms(t),a=Ah(e,t,n,f,o,s),h=Nh(),e!==null&&!Dt?(Dh(e,t,s),tl(e,t,s)):(ze&&h&&rh(t),t.flags|=1,Qt(e,t,a,s),t.child)}function ob(e,t,n,a,s){if(e===null){var o=n.type;return typeof o=="function"&&!ah(o)&&o.defaultProps===void 0&&n.compare===null?(n=Rs(o),t.tag=15,t.type=n,tp(t,o),ub(e,t,n,a,s)):(e=lh(n.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!rp(e,s)){var f=o.memoizedProps;if(n=n.compare,n=n!==null?n:eo,n(f,a)&&e.ref===t.ref)return tl(e,t,s)}return t.flags|=1,e=Fa(o,a),e.ref=t.ref,e.return=t,t.child=e}function ub(e,t,n,a,s){if(e!==null){var o=e.memoizedProps;if(eo(o,a)&&e.ref===t.ref&&t.type===e.type)if(Dt=!1,t.pendingProps=a=o,rp(e,s))(e.flags&131072)!==0&&(Dt=!0);else return t.lanes=e.lanes,tl(e,t,s)}return ep(e,t,n,a,s)}function cb(e,t,n,a){var s=a.children,o=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Vo,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,e!==null){for(a=t.child=e.child,s=0;a!==null;)s=s|a.lanes|a.childLanes,a=a.sibling;a=s&~o}else a=0,t.child=null;return fb(e,t,o,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&sc(t,o!==null?o.cachePool:null),o!==null?N0(t,o):Sh(t),D0(t);else return a=t.lanes=536870912,fb(e,t,o!==null?o.baseLanes|n:n,n,a)}else o!==null?(sc(t,o.cachePool),N0(t,o),Ll(t),t.memoizedState=null):(e!==null&&sc(t,null),Sh(t),Ll(t));return Qt(e,t,s,n),t.child}function ho(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Vo,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function fb(e,t,n,a,s){var o=gh();return o=o===null?null:{parent:At._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},e!==null&&sc(t,null),Sh(t),D0(t),e!==null&&Ni(e,t,a,!0),t.childLanes=s,null}function Nc(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
176
|
+
- <Activity %s>
|
|
177
|
+
+ <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=Rc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function db(e,t,n){return Fs(t,e.child,null,n),e=Nc(t,t.pendingProps),e.flags|=2,xn(t),t.memoizedState=null,e}function xA(e,t,n){var a=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ze){if(a.mode==="hidden")return e=Nc(t,a),t.lanes=536870912,ho(null,e);if(Eh(t),(e=lt)?(n=Lv(e,Zn),n=n!==null&&n.data===si?n:null,n!==null&&(a={dehydrated:n,treeContext:l0(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=n0(n),a.return=t,t.child=a,It=t,lt=null)):n=null,n===null)throw Pu(t,e),Cl(t);return t.lanes=536870912,null}return Nc(t,a)}var o=e.memoizedState;if(o!==null){var f=o.dehydrated;if(Eh(t),s)if(t.flags&256)t.flags&=-257,t=db(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(i0(),(n&536870912)!==0&&Uc(t),Dt||Ni(e,t,n,!1),s=(n&e.childLanes)!==0,Dt||s){if(a=Pe,a!==null&&(f=Ts(a,n),f!==0&&f!==o.retryLane))throw o.retryLane=f,Ft(e,f),dt(a,e,f),Jm;kc(),t=db(e,t,n)}else e=o.treeContext,lt=Cn(f.nextSibling),It=t,ze=!0,Kl=null,qa=!1,kn=null,Zn=!1,e!==null&&s0(t,e),t=Nc(t,a),t.flags|=4096;return t}return o=e.child,a={mode:a.mode,children:a.children},(n&536870912)!==0&&(n&e.lanes)!==0&&Uc(t),e=Fa(o,a),e.ref=t.ref,t.child=e,e.return=t,e}function Dc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function ep(e,t,n,a,s){if(n.prototype&&typeof n.prototype.render=="function"){var o=X(n)||"Unknown";W1[o]||(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.",o,o),W1[o]=!0)}return t.mode&Pt&&ca.recordLegacyContextWarning(t,null),e===null&&(tp(t,t.type),n.contextTypes&&(o=X(n)||"Unknown",ew[o]||(ew[o]=!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)",o)))),Ms(t),n=Ah(e,t,n,a,void 0,s),a=Nh(),e!==null&&!Dt?(Dh(e,t,s),tl(e,t,s)):(ze&&a&&rh(t),t.flags|=1,Qt(e,t,n,s),t.child)}function hb(e,t,n,a,s,o){return Ms(t),gl=-1,su=e!==null&&e.type!==t.type,t.updateQueue=null,n=Oh(t,a,n,s),R0(e,t),a=Nh(),e!==null&&!Dt?(Dh(e,t,o),tl(e,t,o)):(ze&&a&&rh(t),t.flags|=1,Qt(e,t,n,o),t.child)}function pb(e,t,n,a,s){switch(p(t)){case!1:var o=t.stateNode,f=new t.type(t.memoizedProps,o.context).state;o.updater.enqueueSetState(o,f,null);break;case!0:t.flags|=128,t.flags|=65536,o=Error("Simulated error coming from DevTools");var h=s&-s;if(t.lanes|=h,f=Pe,f===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=Wh(h),Ph(h,f,t,Nn(o,t)),fc(t,h)}if(Ms(t),t.stateNode===null){if(f=Zl,o=n.contextType,"contextType"in n&&o!==null&&(o===void 0||o.$$typeof!==ja)&&!K1.has(n)&&(K1.add(n),h=o===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 o!="object"?" However, it is set to a "+typeof o+".":o.$$typeof===Ip?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",X(n)||"Component",h)),typeof o=="object"&&o!==null&&(f=it(o)),o=new n(a,f),t.mode&Pt){ue(!0);try{o=new n(a,f)}finally{ue(!1)}}if(f=t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Qm,t.stateNode=o,o._reactInternals=t,o._reactInternalInstance=V1,typeof n.getDerivedStateFromProps=="function"&&f===null&&(f=X(n)||"Component",Y1.has(f)||(Y1.add(f),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.",f,o.state===null?"null":"undefined",f))),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"){var g=h=f=null;if(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0?f="componentWillMount":typeof o.UNSAFE_componentWillMount=="function"&&(f="UNSAFE_componentWillMount"),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof o.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof o.UNSAFE_componentWillUpdate=="function"&&(g="UNSAFE_componentWillUpdate"),f!==null||h!==null||g!==null){o=X(n)||"Component";var b=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Q1.has(o)||(Q1.add(o),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
178
|
+
|
|
179
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
180
|
+
|
|
181
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
182
|
+
https://react.dev/link/unsafe-component-lifecycles`,o,b,f!==null?`
|
|
183
|
+
`+f:"",h!==null?`
|
|
184
|
+
`+h:"",g!==null?`
|
|
185
|
+
`+g:""))}}o=t.stateNode,f=X(n)||"Component",o.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",f):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",f)),!o.getInitialState||o.getInitialState.isReactClassApproved||o.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?",f),o.getDefaultProps&&!o.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.",f),o.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),n.childContextTypes&&!Z1.has(n)&&(Z1.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",f)),n.contextTypes&&!I1.has(n)&&(I1.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",f)),typeof o.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.",f),n.prototype&&n.prototype.isPureReactComponent&&typeof o.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.",X(n)||"A pure component"),typeof o.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",f),typeof o.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().",f),typeof o.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",f),typeof o.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",f),h=o.props!==a,o.props!==void 0&&h&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",f),o.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.",f,f),typeof o.getSnapshotBeforeUpdate!="function"||typeof o.componentDidUpdate=="function"||G1.has(n)||(G1.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",X(n))),typeof o.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof o.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",f),(h=o.state)&&(typeof h!="object"||Ut(h))&&console.error("%s.state: must be set to an object or null",f),typeof o.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",f),o=t.stateNode,o.props=a,o.state=t.memoizedState,o.refs={},bh(t),f=n.contextType,o.context=typeof f=="object"&&f!==null?it(f):Zl,o.state===a&&(f=X(n)||"Component",X1.has(f)||(X1.add(f),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.",f))),t.mode&Pt&&ca.recordLegacyContextWarning(t,o),ca.recordUnsafeLifecycleWarnings(t,o),o.state=t.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Kh(t,n,f,a),o.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(f=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),f!==o.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",J(t)||"Component"),Qm.enqueueReplaceState(o,o.state,null)),oo(t,a,o,s),ro(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ua)!==ve&&(t.flags|=134217728),o=!0}else if(e===null){o=t.stateNode;var _=t.memoizedProps;h=Ls(n,_),o.props=h;var C=o.context;g=n.contextType,f=Zl,typeof g=="object"&&g!==null&&(f=it(g)),b=n.getDerivedStateFromProps,g=typeof b=="function"||typeof o.getSnapshotBeforeUpdate=="function",_=t.pendingProps!==_,g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(_||C!==f)&&nb(t,o,a,f),ts=!1;var N=t.memoizedState;o.state=N,oo(t,a,o,s),ro(),C=t.memoizedState,_||N!==C||ts?(typeof b=="function"&&(Kh(t,n,b,a),C=t.memoizedState),(h=ts||tb(t,n,h,a,N,C,f))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ua)!==ve&&(t.flags|=134217728)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ua)!==ve&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=C),o.props=a,o.state=C,o.context=f,o=h):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ua)!==ve&&(t.flags|=134217728),o=!1)}else{o=t.stateNode,vh(e,t),f=t.memoizedProps,g=Ls(n,f),o.props=g,b=t.pendingProps,N=o.context,C=n.contextType,h=Zl,typeof C=="object"&&C!==null&&(h=it(C)),_=n.getDerivedStateFromProps,(C=typeof _=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(f!==b||N!==h)&&nb(t,o,a,h),ts=!1,N=t.memoizedState,o.state=N,oo(t,a,o,s),ro();var B=t.memoizedState;f!==b||N!==B||ts||e!==null&&e.dependencies!==null&&tc(e.dependencies)?(typeof _=="function"&&(Kh(t,n,_,a),B=t.memoizedState),(g=ts||tb(t,n,g,a,N,B,h)||e!==null&&e.dependencies!==null&&tc(e.dependencies))?(C||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(a,B,h),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(a,B,h)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||f===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=B),o.props=a,o.state=B,o.context=h,o=g):(typeof o.componentDidUpdate!="function"||f===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),o=!1)}if(h=o,Dc(e,t),f=(t.flags&128)!==0,h||f){if(h=t.stateNode,Ia(t),f&&typeof n.getDerivedStateFromError!="function")n=null,cn=-1;else if(n=y1(h),t.mode&Pt){ue(!0);try{y1(h)}finally{ue(!1)}}t.flags|=1,e!==null&&f?(t.child=Fs(t,e.child,null,s),t.child=Fs(t,null,n,s)):Qt(e,t,n,s),t.memoizedState=h.state,e=t.child}else e=tl(e,t,s);return s=t.stateNode,o&&s.props!==a&&(hr||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",J(t)||"a component"),hr=!0),e}function mb(e,t,n,a){return Cs(),t.flags|=256,Qt(e,t,n,a),t.child}function tp(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
186
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=X(t)||"Unknown",tw[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),tw[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=X(t)||"Unknown",P1[t]||(console.error("%s: Function components do not support contextType.",t),P1[t]=!0))}function np(e){return{baseLanes:e,cachePool:h0()}}function ap(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=wn),e}function gb(e,t,n){var a,s=t.pendingProps;d(t)&&(t.flags|=128);var o=!1,f=(t.flags&128)!==0;if((a=f)||(a=e!==null&&e.memoizedState===null?!1:(bt.current&au)!==0),a&&(o=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(ze){if(o?jl(t):Ll(t),(e=lt)?(n=Lv(e,Zn),n=n!==null&&n.data!==si?n:null,n!==null&&(a={dehydrated:n,treeContext:l0(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=n0(n),a.return=t,t.child=a,It=t,lt=null)):n=null,n===null)throw Pu(t,e),Cl(t);return jp(n)?t.lanes=32:t.lanes=536870912,null}var h=s.children;if(s=s.fallback,o){Ll(t);var g=t.mode;return h=Rc({mode:"hidden",children:h},g),s=xs(s,g,n,null),h.return=t,s.return=t,h.sibling=s,t.child=h,s=t.child,s.memoizedState=np(n),s.childLanes=ap(e,a,n),t.memoizedState=Im,ho(null,s)}return jl(t),lp(t,h)}var b=e.memoizedState;if(b!==null){var _=b.dehydrated;if(_!==null){if(f)t.flags&256?(jl(t),t.flags&=-257,t=sp(e,t,n)):t.memoizedState!==null?(Ll(t),t.child=e.child,t.flags|=128,t=null):(Ll(t),h=s.fallback,g=t.mode,s=Rc({mode:"visible",children:s.children},g),h=xs(h,g,n,null),h.flags|=2,s.return=t,h.return=t,s.sibling=h,t.child=s,Fs(t,e.child,null,n),s=t.child,s.memoizedState=np(n),s.childLanes=ap(e,a,n),t.memoizedState=Im,t=ho(null,s));else if(jl(t),i0(),(n&536870912)!==0&&Uc(t),jp(_)){if(a=_.nextSibling&&_.nextSibling.dataset,a){h=a.dgst;var C=a.msg;g=a.stck;var N=a.cstck}o=C,a=h,s=g,_=N,h=o,g=_,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=s||"",h.digest=a,a=g===void 0?null:g,s={value:h,source:null,stack:a},typeof a=="string"&&Dm.set(h,s),to(s),t=sp(e,t,n)}else if(Dt||Ni(e,t,n,!1),a=(n&e.childLanes)!==0,Dt||a){if(a=Pe,a!==null&&(s=Ts(a,n),s!==0&&s!==b.retryLane))throw b.retryLane=s,Ft(e,s),dt(a,e,s),Jm;zp(_)||kc(),t=sp(e,t,n)}else zp(_)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,lt=Cn(_.nextSibling),It=t,ze=!0,Kl=null,qa=!1,kn=null,Zn=!1,e!==null&&s0(t,e),t=lp(t,s.children),t.flags|=4096);return t}}return o?(Ll(t),h=s.fallback,g=t.mode,N=e.child,_=N.sibling,s=Fa(N,{mode:"hidden",children:s.children}),s.subtreeFlags=N.subtreeFlags&65011712,_!==null?h=Fa(_,h):(h=xs(h,g,n,null),h.flags|=2),h.return=t,s.return=t,s.sibling=h,t.child=s,ho(null,s),s=t.child,h=e.child.memoizedState,h===null?h=np(n):(g=h.cachePool,g!==null?(N=At._currentValue,g=g.parent!==N?{parent:N,pool:N}:g):g=h0(),h={baseLanes:h.baseLanes|n,cachePool:g}),s.memoizedState=h,s.childLanes=ap(e,a,n),t.memoizedState=Im,ho(e.child,s)):(b!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Uc(t),jl(t),n=e.child,e=n.sibling,n=Fa(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function lp(e,t){return t=Rc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Rc(e,t){return e=E(22,e,null,t),e.lanes=0,e}function sp(e,t,n){return Fs(t,e.child,null,n),e=lp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function yb(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),fh(e.return,t,n)}function ip(e,t,n,a,s,o){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:s,treeForkCount:o}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=s,f.treeForkCount=o)}function bb(e,t,n){var a=t.pendingProps,s=a.revealOrder,o=a.tail,f=a.children,h=bt.current;if((a=(h&au)!==0)?(h=h&ur|au,t.flags|=128):h&=ur,K(bt,h,t),h=s??"null",s!=="forwards"&&s!=="unstable_legacy-backwards"&&s!=="together"&&s!=="independent"&&!nw[h])if(nw[h]=!0,s==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(s==="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 s=="string")switch(s.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.',s,s.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.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s);h=o??"null",Df[h]||(o==null?(s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&(Df[h]=!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".')):o!=="visible"&&o!=="collapsed"&&o!=="hidden"?(Df[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',o)):s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&(Df[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',o)));e:if((s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&f!==void 0&&f!==null&&f!==!1)if(Ut(f)){for(h=0;h<f.length;h++)if(!T0(f[h],h))break e}else if(h=le(f),typeof h=="function"){if(h=h.call(f))for(var g=h.next(),b=0;!g.done;g=h.next()){if(!T0(g.value,b))break e;b++}}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?',s);if(Qt(e,t,f,n),ze?(_l(),f=qo):f=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yb(e,n,t);else if(e.tag===19)yb(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&dc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),ip(t,!1,s,n,o,f);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&dc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}ip(t,!0,n,null,o,f);break;case"together":ip(t,!1,null,null,void 0,f);break;default:t.memoizedState=null}return t.child}function tl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),cn=-1,ls|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ni(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=Fa(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Fa(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&tc(e)))}function _A(e,t,n){switch(t.tag){case 3:ft(t,t.stateNode.containerInfo),Ml(t,At,e.memoizedState.cache),Cs();break;case 27:case 5:ye(t);break;case 4:ft(t,t.stateNode.containerInfo);break;case 10:Ml(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Eh(t),null;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(jl(t),t.flags|=128,null):(n&t.child.childLanes)!==0?gb(e,t,n):(jl(t),e=tl(e,t,n),e!==null?e.sibling:null);jl(t);break;case 19:var s=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Ni(e,t,n,!1),a=(n&t.childLanes)!==0),s){if(a)return bb(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),K(bt,bt.current,t),a)break;return null;case 22:return t.lanes=0,cb(e,t,n,t.pendingProps);case 24:Ml(t,At,e.memoizedState.cache)}return tl(e,t,n)}function op(e,t,n){if(t._debugNeedsRemount&&e!==null){n=lh(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var s=a.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Dt=!0;else{if(!rp(e,n)&&(t.flags&128)===0)return Dt=!1,_A(e,t,n);Dt=(e.flags&131072)!==0}else Dt=!1,(a=ze)&&(_l(),a=(t.flags&1048576)!==0),a&&(a=t.index,_l(),a0(t,qo,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=Ul(t.elementType),t.type=e,typeof e=="function")ah(e)?(a=Ls(e,a),t.tag=1,t.type=e=Rs(e),t=pb(null,t,e,a,n)):(t.tag=0,tp(t,e),t.type=e=Rs(e),t=ep(null,t,e,a,n));else{if(e!=null){if(s=e.$$typeof,s===xo){t.tag=11,t.type=e=nh(e),t=rb(null,t,e,a,n);break e}else if(s===Ic){t.tag=14,t=ob(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Mn&&(t=" Did you wrap a component in React.lazy() more than once?"),n=X(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return ep(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,s=Ls(a,t.pendingProps),pb(e,t,a,s,n);case 3:e:{if(ft(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var o=t.memoizedState;s=o.element,vh(e,t),oo(t,a,null,n);var f=t.memoizedState;if(a=f.cache,Ml(t,At,a),a!==o.cache&&dh(t,[At],n,!0),ro(),a=f.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=mb(e,t,a,n);break e}else if(a!==s){s=Nn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),to(s),t=mb(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(lt=Cn(e.firstChild),It=t,ze=!0,Kl=null,qa=!1,kn=null,Zn=!0,n=C1(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Cs(),a===s){t=tl(e,t,n);break e}Qt(e,t,a,n)}t=t.child}return t;case 26:return Dc(e,t),e===null?(n=Yv(t.type,null,t.pendingProps,null))?t.memoizedState=n:ze||(n=t.type,e=t.pendingProps,a=Me(Yl.current),a=Bc(a).createElement(n),a[Jt]=t,a[rn]=e,Xt(a,n,e),he(a),t.stateNode=a):t.memoizedState=Yv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ye(t),e===null&&ze&&(a=Me(Yl.current),s=ie(),a=t.stateNode=Vv(t.type,t.pendingProps,a,s,!1),qa||(s=xv(a,t.type,t.pendingProps,s),s!==null&&(_s(t,0).serverProps=s)),It=t,Zn=!0,s=lt,Vl(t.type)?(yg=s,lt=Cn(a.firstChild)):lt=s),Qt(e,t,t.pendingProps.children,n),Dc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ze&&(o=ie(),a=Jd(t.type,o.ancestorInfo),s=lt,(f=!s)||(f=bO(s,t.type,t.pendingProps,Zn),f!==null?(t.stateNode=f,qa||(o=xv(f,t.type,t.pendingProps,o),o!==null&&(_s(t,0).serverProps=o)),It=t,lt=Cn(f.firstChild),Zn=!1,o=!0):o=!1,f=!o),f&&(a&&Pu(t,s),Cl(t))),ye(t),s=t.type,o=t.pendingProps,f=e!==null?e.memoizedProps:null,a=o.children,Up(s,o)?a=null:f!==null&&Up(s,f)&&(t.flags|=32),t.memoizedState!==null&&(s=Ah(e,t,EA,null,null,n),wu._currentValue=s),Dc(e,t),Qt(e,t,a,n),t.child;case 6:return e===null&&ze&&(n=t.pendingProps,e=ie(),a=e.ancestorInfo.current,n=a!=null?Yu(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=lt,(a=!e)||(a=vO(e,t.pendingProps,Zn),a!==null?(t.stateNode=a,It=t,lt=null,a=!0):a=!1,a=!a),a&&(n&&Pu(t,e),Cl(t))),null;case 13:return gb(e,t,n);case 4:return ft(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Fs(t,null,a,n):Qt(e,t,a,n),t.child;case 11:return rb(e,t,t.type,t.pendingProps,n);case 7:return Qt(e,t,t.pendingProps,n),t.child;case 8:return Qt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,Qt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,s=t.pendingProps,o=s.value,"value"in s||aw||(aw=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ml(t,a,o),Qt(e,t,s.children,n),t.child;case 9:return s=t.type._context,a=t.pendingProps.children,typeof a!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ms(t),s=it(s),a=zm(a,s,void 0),t.flags|=1,Qt(e,t,a,n),t.child;case 14:return ob(e,t,t.type,t.pendingProps,n);case 15:return ub(e,t,t.type,t.pendingProps,n);case 19:return bb(e,t,n);case 31:return xA(e,t,n);case 22:return cb(e,t,n,t.pendingProps);case 24:return Ms(t),a=it(At),e===null?(s=gh(),s===null&&(s=Pe,o=hh(),s.pooledCache=o,Us(o),o!==null&&(s.pooledCacheLanes|=n),s=o),t.memoizedState={parent:a,cache:s},bh(t),Ml(t,At,s)):((e.lanes&n)!==0&&(vh(e,t),oo(t,null,null,n),ro()),s=e.memoizedState,o=t.memoizedState,s.parent!==a?(s={parent:a,cache:a},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Ml(t,At,a)):(a=o.cache,Ml(t,At,a),a!==s.cache&&dh(t,[At],n,!0))),Qt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function nl(e){e.flags|=4}function up(e,t,n,a,s){if((t=(e.mode&FN)!==ve)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Fb())e.flags|=8192;else throw Ks=wf,Lm}else e.flags&=-16777217}function vb(e,t){if(t.type!=="stylesheet"||(t.state.loading&ea)!==oi)e.flags&=-16777217;else if(e.flags|=16777216,!Iv(t))if(Fb())e.flags|=8192;else throw Ks=wf,Lm}function xc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Gr():536870912,e.lanes|=t,ni|=t)}function po(e,t){if(!ze)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function et(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&Re)!==ve){for(var s=e.selfBaseDuration,o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,s+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags&65011712,a|=s.flags&65011712,s.return=e,s=s.sibling;else if((e.mode&Re)!==ve){s=e.actualDuration,o=e.selfBaseDuration;for(var f=e.child;f!==null;)n|=f.lanes|f.childLanes,a|=f.subtreeFlags,a|=f.flags,s+=f.actualDuration,o+=f.treeBaseDuration,f=f.sibling;e.actualDuration=s,e.treeBaseDuration=o}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function CA(e,t,n){var a=t.pendingProps;switch(oh(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return et(t),null;case 1:return et(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Pa(At,t),F(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Oi(t)?(ch(),nl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,uh())),et(t),null;case 26:var s=t.type,o=t.memoizedState;return e===null?(nl(t),o!==null?(et(t),vb(t,o)):(et(t),up(t,s,null,a,n))):o?o!==e.memoizedState?(nl(t),et(t),vb(t,o)):(et(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&nl(t),et(t),up(t,s,e,a,n)),null;case 27:if(Ve(t),n=Me(Yl.current),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&nl(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return et(t),null}e=ie(),Oi(t)?r0(t):(e=Vv(s,a,n,e,!0),t.stateNode=e,nl(t))}return et(t),null;case 5:if(Ve(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&nl(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return et(t),null}var f=ie();if(Oi(t))r0(t);else{switch(o=Me(Yl.current),Jd(s,f.ancestorInfo),f=f.context,o=Bc(o),f){case wr:o=o.createElementNS(Qi,s);break;case Jf:o=o.createElementNS(tf,s);break;default:switch(s){case"svg":o=o.createElementNS(Qi,s);break;case"math":o=o.createElementNS(tf,s);break;case"script":o=o.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof a.is=="string"?o.createElement("select",{is:a.is}):o.createElement("select"),a.multiple?o.multiple=!0:a.size&&(o.size=a.size);break;default:o=typeof a.is=="string"?o.createElement(s,{is:a.is}):o.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(o)!=="[object HTMLUnknownElement]"||oa.call(Dw,s)||(Dw[s]=!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.",s)))}}o[Jt]=t,o[rn]=a;e:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)o.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=o;e:switch(Xt(o,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&nl(t)}}return et(t),up(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&nl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Me(Yl.current),n=ie(),Oi(t)){if(e=t.stateNode,n=t.memoizedProps,s=!qa,a=null,o=It,o!==null)switch(o.tag){case 3:s&&(s=$v(e,n,a),s!==null&&(_s(t,0).serverProps=s));break;case 27:case 5:a=o.memoizedProps,s&&(s=$v(e,n,a),s!==null&&(_s(t,0).serverProps=s))}e[Jt]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Av(e.nodeValue,n)),e||Cl(t,!0)}else s=n.ancestorInfo.current,s!=null&&Yu(a,s.tag,n.ancestorInfo.implicitRootScope),e=Bc(e).createTextNode(a),e[Jt]=t,t.stateNode=e}return et(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Oi(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Jt]=t,et(t),(t.mode&Re)!==ve&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else ch(),Cs(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,et(t),(t.mode&Re)!==ve&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=uh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(xn(t),t):(xn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return et(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=a,o=Oi(t),s!==null&&s.dehydrated!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o[Jt]=t,et(t),(t.mode&Re)!==ve&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else ch(),Cs(),(t.flags&128)===0&&(s=t.memoizedState=null),t.flags|=4,et(t),(t.mode&Re)!==ve&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=uh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(xn(t),t):(xn(t),null)}return xn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Re)!==ve&&lo(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==s&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),xc(t,t.updateQueue),et(t),(t.mode&Re)!==ve&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return F(t),e===null&&Np(t.stateNode.containerInfo),et(t),null;case 10:return Pa(t.type,t),et(t),null;case 19:if($(bt,t),a=t.memoizedState,a===null)return et(t),null;if(s=(t.flags&128)!==0,o=a.rendering,o===null)if(s)po(a,!1);else{if(ut!==bl||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=dc(e),o!==null){for(t.flags|=128,po(a,!1),e=o.updateQueue,t.updateQueue=e,xc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)t0(n,e),n=n.sibling;return K(bt,bt.current&ur|au,t),ze&&Wa(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Ht()>kf&&(t.flags|=128,s=!0,po(a,!1),t.lanes=4194304)}else{if(!s)if(e=dc(o),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,xc(t,e),po(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!ze)return et(t),null}else 2*Ht()-a.renderingStartTime>kf&&n!==536870912&&(t.flags|=128,s=!0,po(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(e=a.last,e!==null?e.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Ht(),e.sibling=null,n=bt.current,n=s?n&ur|au:n&ur,K(bt,n,t),ze&&Wa(t,a.treeForkCount),e):(et(t),null);case 22:case 23:return xn(t),wh(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(et(t),t.subtreeFlags&6&&(t.flags|=8192)):et(t),n=t.updateQueue,n!==null&&xc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&$(Is,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Pa(At,t),et(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function MA(e,t){switch(oh(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Re)!==ve&&lo(t),t):null;case 3:return Pa(At,t),F(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ve(t),null;case 31:if(t.memoizedState!==null){if(xn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Cs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Re)!==ve&&lo(t),t):null;case 13:if(xn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Cs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Re)!==ve&&lo(t),t):null;case 19:return $(bt,t),null;case 4:return F(t),null;case 10:return Pa(t.type,t),null;case 22:case 23:return xn(t),wh(t),e!==null&&$(Is,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Re)!==ve&&lo(t),t):null;case 24:return Pa(At,t),null;case 25:return null;default:return null}}function Sb(e,t){switch(oh(t),t.tag){case 3:Pa(At,t),F(t);break;case 26:case 27:case 5:Ve(t);break;case 4:F(t);break;case 31:t.memoizedState!==null&&xn(t);break;case 13:xn(t);break;case 19:$(bt,t);break;case 10:Pa(t.type,t);break;case 22:case 23:xn(t),wh(t),e!==null&&$(Is,t);break;case 24:Pa(At,t)}}function xa(e){return(e.mode&Re)!==ve}function wb(e,t){xa(e)?(Ra(),mo(t,e),Da()):mo(t,e)}function cp(e,t,n){xa(e)?(Ra(),Ci(n,e,t),Da()):Ci(n,e,t)}function mo(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var s=a.next;n=s;do{if((n.tag&e)===e&&(a=void 0,(e&fn)!==Tf&&(br=!0),a=se(t,aD,n),(e&fn)!==Tf&&(br=!1),a!==void 0&&typeof a!="function")){var o=void 0;o=(n.tag&jn)!==0?"useLayoutEffect":(n.tag&fn)!==0?"useInsertionEffect":"useEffect";var f=void 0;f=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
|
|
187
|
+
|
|
188
|
+
It looks like you wrote `+o+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
189
|
+
|
|
190
|
+
`+o+`(() => {
|
|
191
|
+
async function fetchData() {
|
|
192
|
+
// You can await here
|
|
193
|
+
const response = await MyAPI.getData(someId);
|
|
194
|
+
// ...
|
|
195
|
+
}
|
|
196
|
+
fetchData();
|
|
197
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
198
|
+
|
|
199
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,se(t,function(h,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,g)},o,f)}n=n.next}while(n!==s)}}catch(h){Qe(t,t.return,h)}}function Ci(e,t,n){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var o=s.next;a=o;do{if((a.tag&e)===e){var f=a.inst,h=f.destroy;h!==void 0&&(f.destroy=void 0,(e&fn)!==Tf&&(br=!0),s=t,se(s,lD,s,n,h),(e&fn)!==Tf&&(br=!1))}a=a.next}while(a!==o)}}catch(g){Qe(t,t.return,g)}}function Eb(e,t){xa(e)?(Ra(),mo(t,e),Da()):mo(t,e)}function fp(e,t,n){xa(e)?(Ra(),Ci(n,e,t),Da()):Ci(n,e,t)}function Tb(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||hr||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",J(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",J(e)||"instance"));try{se(e,O0,t,n)}catch(a){Qe(e,e.return,a)}}}function UA(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function kA(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||hr||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",J(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",J(e)||"instance"));try{var s=Ls(e.type,n),o=se(e,UA,t,s,a);n=lw,o!==void 0||n.has(e.type)||(n.add(e.type),se(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",J(e))})),t.__reactInternalSnapshotBeforeUpdate=o}catch(f){Qe(e,e.return,f)}}function Ab(e,t,n){n.props=Ls(e.type,e.memoizedProps),n.state=e.memoizedState,xa(e)?(Ra(),se(e,T1,e,t,n),Da()):se(e,T1,e,t,n)}function zA(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(xa(e))try{Ra(),e.refCleanup=t(n)}finally{Da()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",J(e)),t.current=n}}function go(e,t){try{se(e,zA,e)}catch(n){Qe(e,t,n)}}function _a(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(xa(e))try{Ra(),se(e,a)}finally{Da(e)}else se(e,a)}catch(s){Qe(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(xa(e))try{Ra(),se(e,n,null)}finally{Da(e)}else se(e,n,null)}catch(s){Qe(e,t,s)}else n.current=null}function Ob(e,t,n,a){var s=e.memoizedProps,o=s.id,f=s.onCommit;s=s.onRender,t=t===null?"mount":"update",yf&&(t="nested-update"),typeof s=="function"&&s(o,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof f=="function"&&f(o,t,a,n)}function jA(e,t,n,a){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",yf&&(t="nested-update"),typeof s=="function"&&s(e,t,a,n)}function Nb(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{se(e,iO,a,t,n,e)}catch(s){Qe(e,e.return,s)}}function dp(e,t,n){try{se(e,oO,e.stateNode,e.type,n,t,e)}catch(a){Qe(e,e.return,a)}}function Db(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Vl(e.type)||e.tag===4}function hp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Db(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Vl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function pp(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(kv(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(kv(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ka));else if(a!==4&&(a===27&&Vl(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pp(e,t,n),e=e.sibling;e!==null;)pp(e,t,n),e=e.sibling}function _c(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Vl(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(_c(e,t,n),e=e.sibling;e!==null;)_c(e,t,n),e=e.sibling}function LA(e){for(var t,n=e.return;n!==null;){if(Db(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=hp(e),_c(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Uv(n),t.flags&=-33),t=hp(e),_c(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=hp(e),pp(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Rb(e){var t=e.stateNode,n=e.memoizedProps;try{se(e,AO,e.type,n,t,e)}catch(a){Qe(e,e.return,a)}}function xb(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function BA(e,t){if(e=e.containerInfo,pg=Ff,e=Qy(e),Kd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var s=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var f=0,h=-1,g=-1,b=0,_=0,C=e,N=null;t:for(;;){for(var B;C!==n||s!==0&&C.nodeType!==3||(h=f+s),C!==o||a!==0&&C.nodeType!==3||(g=f+a),C.nodeType===3&&(f+=C.nodeValue.length),(B=C.firstChild)!==null;)N=C,C=B;for(;;){if(C===e)break t;if(N===n&&++b===s&&(h=f),N===o&&++_===a&&(g=f),(B=C.nextSibling)!==null)break;C=N,N=C.parentNode}C=B}n=h===-1||g===-1?null:{start:h,end:g}}else n=null}n=n||{start:0,end:0}}else n=null;for(mg={focusedElem:e,selectionRange:n},Ff=!1,qt=t;qt!==null;)if(t=qt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,qt=e;else for(;qt!==null;){switch(e=t=qt,n=e.alternate,s=e.flags,e.tag){case 0:if((s&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:(s&1024)!==0&&n!==null&&kA(e,n);break;case 3:if((s&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)kp(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":kp(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,qt=e;break}qt=t.return}}function _b(e,t,n){var a=Dn(),s=Ta(),o=Oa(),f=Na(),h=n.flags;switch(n.tag){case 0:case 11:case 15:Ca(e,n),h&4&&wb(n,jn|Wn);break;case 1:if(Ca(e,n),h&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||hr||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",J(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",J(n)||"instance")),xa(n)?(Ra(),se(n,jm,n,e),Da()):se(n,jm,n,e);else{var g=Ls(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||hr||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",J(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",J(n)||"instance")),xa(n)?(Ra(),se(n,S1,n,e,g,t,e.__reactInternalSnapshotBeforeUpdate),Da()):se(n,S1,n,e,g,t,e.__reactInternalSnapshotBeforeUpdate)}h&64&&Tb(n),h&512&&go(n,n.return);break;case 3:if(t=el(),Ca(e,n),h&64&&(h=n.updateQueue,h!==null)){if(g=null,n.child!==null)switch(n.child.tag){case 27:case 5:g=n.child.stateNode;break;case 1:g=n.child.stateNode}try{se(n,O0,h,g)}catch(_){Qe(n,n.return,_)}}e.effectDuration+=ac(t);break;case 27:t===null&&h&4&&Rb(n);case 26:case 5:if(Ca(e,n),t===null){if(h&4)Nb(n);else if(h&64){e=n.type,t=n.memoizedProps,g=n.stateNode;try{se(n,rO,g,e,t,n)}catch(_){Qe(n,n.return,_)}}}h&512&&go(n,n.return);break;case 12:if(h&4){h=el(),Ca(e,n),e=n.stateNode,e.effectDuration+=ao(h);try{se(n,Ob,n,t,Fl,e.effectDuration)}catch(_){Qe(n,n.return,_)}}else Ca(e,n);break;case 31:Ca(e,n),h&4&&Ub(e,n);break;case 13:Ca(e,n),h&4&&kb(e,n),h&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(h=JA.bind(null,n),SO(e,h))));break;case 22:if(h=n.memoizedState!==null||yl,!h){t=t!==null&&t.memoizedState!==null||Rt,g=yl;var b=Rt;yl=h,(Rt=t)&&!b?(Ma(e,n,(n.subtreeFlags&8772)!==0),(n.mode&Re)!==ve&&0<=me&&0<=ge&&.05<ge-me&&Ju(n,me,ge)):Ca(e,n),yl=g,Rt=b}break;case 30:break;default:Ca(e,n)}(n.mode&Re)!==ve&&0<=me&&0<=ge&&((ht||.05<ot)&&wa(n,me,ge,ot,rt),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<ge-me&&(xb(n.return.alternate,n.return)||Sa(n,me,ge,"Mount"))),Rn(a),Aa(s),rt=o,ht=f}function Cb(e){var t=e.alternate;t!==null&&(e.alternate=null,Cb(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&z(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e,t,n){for(n=n.child;n!==null;)Mb(e,t,n),n=n.sibling}function Mb(e,t,n){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(Yi,n)}catch(b){Ba||(Ba=!0,console.error("React instrumentation encountered an error: %o",b))}var a=Dn(),s=Ta(),o=Oa(),f=Na();switch(n.tag){case 26:Rt||_a(n,t),al(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Rt||_a(n,t);var h=xt,g=vn;Vl(n.type)&&(xt=n.stateNode,vn=!1),al(e,t,n),se(n,Oo,n.stateNode),xt=h,vn=g;break;case 5:Rt||_a(n,t);case 6:if(h=xt,g=vn,xt=null,al(e,t,n),xt=h,vn=g,xt!==null)if(vn)try{se(n,fO,xt,n.stateNode)}catch(b){Qe(n,t,b)}else try{se(n,cO,xt,n.stateNode)}catch(b){Qe(n,t,b)}break;case 18:xt!==null&&(vn?(e=xt,zv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),$i(e)):zv(xt,n.stateNode));break;case 4:h=xt,g=vn,xt=n.stateNode.containerInfo,vn=!0,al(e,t,n),xt=h,vn=g;break;case 0:case 11:case 14:case 15:Ci(fn,n,t),Rt||cp(n,t,jn),al(e,t,n);break;case 1:Rt||(_a(n,t),h=n.stateNode,typeof h.componentWillUnmount=="function"&&Ab(n,t,h)),al(e,t,n);break;case 21:al(e,t,n);break;case 22:Rt=(h=Rt)||n.memoizedState!==null,al(e,t,n),Rt=h;break;default:al(e,t,n)}(n.mode&Re)!==ve&&0<=me&&0<=ge&&(ht||.05<ot)&&wa(n,me,ge,ot,rt),Rn(a),Aa(s),rt=o,ht=f}function Ub(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{se(t,EO,e)}catch(n){Qe(t,t.return,n)}}}function kb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{se(t,TO,e)}catch(n){Qe(t,t.return,n)}}function $A(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new sw),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new sw),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Cc(e,t){var n=$A(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),$a)if(pr!==null&&mr!==null)So(mr,pr);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var s=IA.bind(null,e,a);a.then(s,s)}})}function yn(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var s=e,o=t,f=n[a],h=Dn(),g=o;e:for(;g!==null;){switch(g.tag){case 27:if(Vl(g.type)){xt=g.stateNode,vn=!1;break e}break;case 5:xt=g.stateNode,vn=!1;break e;case 3:case 4:xt=g.stateNode.containerInfo,vn=!0;break e}g=g.return}if(xt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Mb(s,o,f),xt=null,vn=!1,(f.mode&Re)!==ve&&0<=me&&0<=ge&&.05<ge-me&&Sa(f,me,ge,"Unmount"),Rn(h),s=f,o=s.alternate,o!==null&&(o.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)zb(t,e),t=t.sibling}function zb(e,t){var n=Dn(),a=Ta(),s=Oa(),o=Na(),f=e.alternate,h=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yn(t,e),bn(e),h&4&&(Ci(fn|Wn,e,e.return),mo(fn|Wn,e),cp(e,e.return,jn|Wn));break;case 1:if(yn(t,e),bn(e),h&512&&(Rt||f===null||_a(f,f.return)),h&64&&yl&&(h=e.updateQueue,h!==null&&(f=h.callbacks,f!==null))){var g=h.shared.hiddenCallbacks;h.shared.hiddenCallbacks=g===null?f:g.concat(f)}break;case 26:if(g=da,yn(t,e),bn(e),h&512&&(Rt||f===null||_a(f,f.return)),h&4){var b=f!==null?f.memoizedState:null;if(h=e.memoizedState,f===null)if(h===null)if(e.stateNode===null){e:{h=e.type,f=e.memoizedProps,g=g.ownerDocument||g;t:switch(h){case"title":b=g.getElementsByTagName("title")[0],(!b||b[Mo]||b[Jt]||b.namespaceURI===Qi||b.hasAttribute("itemprop"))&&(b=g.createElement(h),g.head.insertBefore(b,g.querySelector("head > title"))),Xt(b,h,f),b[Jt]=e,he(b),h=b;break e;case"link":var _=Xv("link","href",g).get(h+(f.href||""));if(_){for(var C=0;C<_.length;C++)if(b=_[C],b.getAttribute("href")===(f.href==null||f.href===""?null:f.href)&&b.getAttribute("rel")===(f.rel==null?null:f.rel)&&b.getAttribute("title")===(f.title==null?null:f.title)&&b.getAttribute("crossorigin")===(f.crossOrigin==null?null:f.crossOrigin)){_.splice(C,1);break t}}b=g.createElement(h),Xt(b,h,f),g.head.appendChild(b);break;case"meta":if(_=Xv("meta","content",g).get(h+(f.content||""))){for(C=0;C<_.length;C++)if(b=_[C],Ie(f.content,"content"),b.getAttribute("content")===(f.content==null?null:""+f.content)&&b.getAttribute("name")===(f.name==null?null:f.name)&&b.getAttribute("property")===(f.property==null?null:f.property)&&b.getAttribute("http-equiv")===(f.httpEquiv==null?null:f.httpEquiv)&&b.getAttribute("charset")===(f.charSet==null?null:f.charSet)){_.splice(C,1);break t}}b=g.createElement(h),Xt(b,h,f),g.head.appendChild(b);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+h+'". This is a bug in React.')}b[Jt]=e,he(b),h=b}e.stateNode=h}else Jv(g,e.type,e.stateNode);else e.stateNode=Qv(g,h,e.memoizedProps);else b!==h?(b===null?f.stateNode!==null&&(f=f.stateNode,f.parentNode.removeChild(f)):b.count--,h===null?Jv(g,e.type,e.stateNode):Qv(g,h,e.memoizedProps)):h===null&&e.stateNode!==null&&dp(e,e.memoizedProps,f.memoizedProps)}break;case 27:yn(t,e),bn(e),h&512&&(Rt||f===null||_a(f,f.return)),f!==null&&h&4&&dp(e,e.memoizedProps,f.memoizedProps);break;case 5:if(yn(t,e),bn(e),h&512&&(Rt||f===null||_a(f,f.return)),e.flags&32){g=e.stateNode;try{se(e,Uv,g)}catch(re){Qe(e,e.return,re)}}h&4&&e.stateNode!=null&&(g=e.memoizedProps,dp(e,g,f!==null?f.memoizedProps:g)),h&1024&&(Zm=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(yn(t,e),bn(e),h&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");h=e.memoizedProps,f=f!==null?f.memoizedProps:h,g=e.stateNode;try{se(e,uO,g,f,h)}catch(re){Qe(e,e.return,re)}}break;case 3:if(g=el(),If=null,b=da,da=$c(t.containerInfo),yn(t,e),da=b,bn(e),h&4&&f!==null&&f.memoizedState.isDehydrated)try{se(e,wO,t.containerInfo)}catch(re){Qe(e,e.return,re)}Zm&&(Zm=!1,jb(e)),t.effectDuration+=ac(g);break;case 4:h=da,da=$c(e.stateNode.containerInfo),yn(t,e),bn(e),da=h;break;case 12:h=el(),yn(t,e),bn(e),e.stateNode.effectDuration+=ao(h);break;case 31:yn(t,e),bn(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Cc(e,h)));break;case 13:yn(t,e),bn(e),e.child.flags&8192&&e.memoizedState!==null!=(f!==null&&f.memoizedState!==null)&&(Uf=Ht()),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Cc(e,h)));break;case 22:g=e.memoizedState!==null;var N=f!==null&&f.memoizedState!==null,B=yl,ee=Rt;if(yl=B||g,Rt=ee||N,yn(t,e),Rt=ee,yl=B,N&&!g&&!B&&!ee&&(e.mode&Re)!==ve&&0<=me&&0<=ge&&.05<ge-me&&Ju(e,me,ge),bn(e),h&8192)e:for(t=e.stateNode,t._visibility=g?t._visibility&~Vo:t._visibility|Vo,!g||f===null||N||yl||Rt||(Bs(e),(e.mode&Re)!==ve&&0<=me&&0<=ge&&.05<ge-me&&Sa(e,me,ge,"Disconnect")),f=null,t=e;;){if(t.tag===5||t.tag===26){if(f===null){N=f=t;try{b=N.stateNode,g?se(N,hO,b):se(N,gO,N.stateNode,N.memoizedProps)}catch(re){Qe(N,N.return,re)}}}else if(t.tag===6){if(f===null){N=t;try{_=N.stateNode,g?se(N,pO,_):se(N,yO,_,N.memoizedProps)}catch(re){Qe(N,N.return,re)}}}else if(t.tag===18){if(f===null){N=t;try{C=N.stateNode,g?se(N,dO,C):se(N,mO,N.stateNode)}catch(re){Qe(N,N.return,re)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;f===t&&(f=null),t=t.return}f===t&&(f=null),t.sibling.return=t.return,t=t.sibling}h&4&&(h=e.updateQueue,h!==null&&(f=h.retryQueue,f!==null&&(h.retryQueue=null,Cc(e,f))));break;case 19:yn(t,e),bn(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Cc(e,h)));break;case 30:break;case 21:break;default:yn(t,e),bn(e)}(e.mode&Re)!==ve&&0<=me&&0<=ge&&((ht||.05<ot)&&wa(e,me,ge,ot,rt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<ge-me&&(xb(e.return.alternate,e.return)||Sa(e,me,ge,"Mount"))),Rn(n),Aa(a),rt=s,ht=o}function bn(e){var t=e.flags;if(t&2){try{se(e,LA,e)}catch(n){Qe(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function jb(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;jb(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ca(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)_b(e,t.alternate,t),t=t.sibling}function Lb(e){var t=Dn(),n=Ta(),a=Oa(),s=Na();switch(e.tag){case 0:case 11:case 14:case 15:cp(e,e.return,jn),Bs(e);break;case 1:_a(e,e.return);var o=e.stateNode;typeof o.componentWillUnmount=="function"&&Ab(e,e.return,o),Bs(e);break;case 27:se(e,Oo,e.stateNode);case 26:case 5:_a(e,e.return),Bs(e);break;case 22:e.memoizedState===null&&Bs(e);break;case 30:Bs(e);break;default:Bs(e)}(e.mode&Re)!==ve&&0<=me&&0<=ge&&(ht||.05<ot)&&wa(e,me,ge,ot,rt),Rn(t),Aa(n),rt=a,ht=s}function Bs(e){for(e=e.child;e!==null;)Lb(e),e=e.sibling}function Bb(e,t,n,a){var s=Dn(),o=Ta(),f=Oa(),h=Na(),g=n.flags;switch(n.tag){case 0:case 11:case 15:Ma(e,n,a),wb(n,jn);break;case 1:if(Ma(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&se(n,jm,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{se(n,wA,t,e)}catch(b){Qe(n,n.return,b)}}a&&g&64&&Tb(n),go(n,n.return);break;case 27:Rb(n);case 26:case 5:Ma(e,n,a),a&&t===null&&g&4&&Nb(n),go(n,n.return);break;case 12:if(a&&g&4){g=el(),Ma(e,n,a),a=n.stateNode,a.effectDuration+=ao(g);try{se(n,Ob,n,t,Fl,a.effectDuration)}catch(b){Qe(n,n.return,b)}}else Ma(e,n,a);break;case 31:Ma(e,n,a),a&&g&4&&Ub(e,n);break;case 13:Ma(e,n,a),a&&g&4&&kb(e,n);break;case 22:n.memoizedState===null&&Ma(e,n,a),go(n,n.return);break;case 30:break;default:Ma(e,n,a)}(n.mode&Re)!==ve&&0<=me&&0<=ge&&(ht||.05<ot)&&wa(n,me,ge,ot,rt),Rn(s),Aa(o),rt=f,ht=h}function Ma(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Bb(e,t.alternate,t,n),t=t.sibling}function mp(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Us(e),n!=null&&no(n))}function gp(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Us(t),e!=null&&no(e))}function ra(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var o=t.sibling;$b(e,t,n,a,o!==null?o.actualStartTime:s),t=o}}function $b(e,t,n,a,s){var o=Dn(),f=Ta(),h=Oa(),g=Na(),b=Jl,_=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Re)!==ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Iu(t,t.actualStartTime,s,kt,n),ra(e,t,n,a,s),_&2048&&Eb(t,dn|Wn);break;case 1:(t.mode&Re)!==ve&&0<t.actualStartTime&&((t.flags&128)!==0?Wd(t,t.actualStartTime,s,[]):(t.flags&1)!==0&&Iu(t,t.actualStartTime,s,kt,n)),ra(e,t,n,a,s);break;case 3:var C=el(),N=kt;kt=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,ra(e,t,n,a,s),kt=N,_&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(Us(a),n!=null&&no(n))),e.passiveEffectDuration+=ac(C);break;case 12:if(_&2048){_=el(),ra(e,t,n,a,s),e=t.stateNode,e.passiveEffectDuration+=ao(_);try{se(t,jA,t,t.alternate,Fl,e.passiveEffectDuration)}catch(B){Qe(t,t.return,B)}}else ra(e,t,n,a,s);break;case 31:_=kt,C=t.alternate!==null?t.alternate.memoizedState:null,N=t.memoizedState,C!==null&&N===null?(N=t.deletions,N!==null&&0<N.length&&N[0].tag===18?(kt=!1,C=C.hydrationErrors,C!==null&&Wd(t,t.actualStartTime,s,C)):kt=!0):kt=!1,ra(e,t,n,a,s),kt=_;break;case 13:_=kt,C=t.alternate!==null?t.alternate.memoizedState:null,N=t.memoizedState,C===null||C.dehydrated===null||N!==null&&N.dehydrated!==null?kt=!1:(N=t.deletions,N!==null&&0<N.length&&N[0].tag===18?(kt=!1,C=C.hydrationErrors,C!==null&&Wd(t,t.actualStartTime,s,C)):kt=!0),ra(e,t,n,a,s),kt=_;break;case 23:break;case 22:N=t.stateNode,C=t.alternate,t.memoizedState!==null?N._visibility&rl?ra(e,t,n,a,s):yo(e,t,n,a,s):N._visibility&rl?ra(e,t,n,a,s):(N._visibility|=rl,Mi(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),s),(t.mode&Re)===ve||kt||(e=t.actualStartTime,0<=e&&.05<s-e&&Ju(t,e,s),0<=me&&0<=ge&&.05<ge-me&&Ju(t,me,ge))),_&2048&&mp(C,t);break;case 24:ra(e,t,n,a,s),_&2048&&gp(t.alternate,t);break;default:ra(e,t,n,a,s)}(t.mode&Re)!==ve&&((e=!kt&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<s-n&&Sa(t,n,s,"Mount")),0<=me&&0<=ge&&((ht||.05<ot)&&wa(t,me,ge,ot,rt),e&&.05<ge-me&&Sa(t,me,ge,"Mount"))),Rn(o),Aa(f),rt=h,ht=g,Jl=b}function Mi(e,t,n,a,s,o){for(s=s&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var f=t.sibling;Hb(e,t,n,a,s,f!==null?f.actualStartTime:o),t=f}}function Hb(e,t,n,a,s,o){var f=Dn(),h=Ta(),g=Oa(),b=Na(),_=Jl;s&&(t.mode&Re)!==ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Iu(t,t.actualStartTime,o,kt,n);var C=t.flags;switch(t.tag){case 0:case 11:case 15:Mi(e,t,n,a,s,o),Eb(t,dn);break;case 23:break;case 22:var N=t.stateNode;t.memoizedState!==null?N._visibility&rl?Mi(e,t,n,a,s,o):yo(e,t,n,a,o):(N._visibility|=rl,Mi(e,t,n,a,s,o)),s&&C&2048&&mp(t.alternate,t);break;case 24:Mi(e,t,n,a,s,o),s&&C&2048&&gp(t.alternate,t);break;default:Mi(e,t,n,a,s,o)}(t.mode&Re)!==ve&&0<=me&&0<=ge&&(ht||.05<ot)&&wa(t,me,ge,ot,rt),Rn(f),Aa(h),rt=g,ht=b,Jl=_}function yo(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var o=t.child;o!==null;){t=o.sibling;var f=e,h=n,g=a,b=t!==null?t.actualStartTime:s,_=Jl;(o.mode&Re)!==ve&&0<o.actualStartTime&&(o.flags&1)!==0&&Iu(o,o.actualStartTime,b,kt,h);var C=o.flags;switch(o.tag){case 22:yo(f,o,h,g,b),C&2048&&mp(o.alternate,o);break;case 24:yo(f,o,h,g,b),C&2048&&gp(o.alternate,o);break;default:yo(f,o,h,g,b)}Jl=_,o=t}}function Ui(e,t,n){if(e.subtreeFlags&ru)for(e=e.child;e!==null;)Vb(e,t,n),e=e.sibling}function Vb(e,t,n){switch(e.tag){case 26:Ui(e,t,n),e.flags&ru&&e.memoizedState!==null&&DO(n,da,e.memoizedState,e.memoizedProps);break;case 5:Ui(e,t,n);break;case 3:case 4:var a=da;da=$c(e.stateNode.containerInfo),Ui(e,t,n),da=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=ru,ru=16777216,Ui(e,t,n),ru=a):Ui(e,t,n));break;default:Ui(e,t,n)}}function qb(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function bo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=Dn();qt=a,Qb(a,e),(a.mode&Re)!==ve&&0<=me&&0<=ge&&.05<ge-me&&Sa(a,me,ge,"Unmount"),Rn(s)}qb(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yb(e),e=e.sibling}function Yb(e){var t=Dn(),n=Ta(),a=Oa(),s=Na();switch(e.tag){case 0:case 11:case 15:bo(e),e.flags&2048&&fp(e,e.return,dn|Wn);break;case 3:var o=el();bo(e),e.stateNode.passiveEffectDuration+=ac(o);break;case 12:o=el(),bo(e),e.stateNode.passiveEffectDuration+=ao(o);break;case 22:o=e.stateNode,e.memoizedState!==null&&o._visibility&rl&&(e.return===null||e.return.tag!==13)?(o._visibility&=~rl,Mc(e),(e.mode&Re)!==ve&&0<=me&&0<=ge&&.05<ge-me&&Sa(e,me,ge,"Disconnect")):bo(e);break;default:bo(e)}(e.mode&Re)!==ve&&0<=me&&0<=ge&&(ht||.05<ot)&&wa(e,me,ge,ot,rt),Rn(t),Aa(n),ht=s,rt=a}function Mc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=Dn();qt=a,Qb(a,e),(a.mode&Re)!==ve&&0<=me&&0<=ge&&.05<ge-me&&Sa(a,me,ge,"Unmount"),Rn(s)}qb(e)}for(e=e.child;e!==null;)Gb(e),e=e.sibling}function Gb(e){var t=Dn(),n=Ta(),a=Oa(),s=Na();switch(e.tag){case 0:case 11:case 15:fp(e,e.return,dn),Mc(e);break;case 22:var o=e.stateNode;o._visibility&rl&&(o._visibility&=~rl,Mc(e));break;default:Mc(e)}(e.mode&Re)!==ve&&0<=me&&0<=ge&&(ht||.05<ot)&&wa(e,me,ge,ot,rt),Rn(t),Aa(n),ht=s,rt=a}function Qb(e,t){for(;qt!==null;){var n=qt,a=n,s=t,o=Dn(),f=Ta(),h=Oa(),g=Na();switch(a.tag){case 0:case 11:case 15:fp(a,s,dn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool,s!=null&&Us(s));break;case 24:no(a.memoizedState.cache)}if((a.mode&Re)!==ve&&0<=me&&0<=ge&&(ht||.05<ot)&&wa(a,me,ge,ot,rt),Rn(o),Aa(f),ht=g,rt=h,a=n.child,a!==null)a.return=n,qt=a;else e:for(n=e;qt!==null;){if(a=qt,o=a.sibling,f=a.return,Cb(a),a===n){qt=null;break e}if(o!==null){o.return=f,qt=o;break e}qt=f}}}function HA(){uD.forEach(function(e){return e()})}function Xb(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||V.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function _n(e){if((Ge&zt)!==Yt&&_e!==0)return _e&-_e;var t=V.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Ap()):xl()}function Jb(){if(wn===0)if((_e&536870912)===0||ze){var e=Fc;Fc<<=1,(Fc&3932160)===0&&(Fc=262144),wn=e}else wn=536870912;return e=zn.current,e!==null&&(e.flags|=32),wn}function dt(e,t,n){if(br&&console.error("useInsertionEffect must not schedule updates."),ig&&(Lf=!0),(e===Pe&&(Ke===ei||Ke===ti)||e.cancelPendingCommit!==null)&&(zi(e,0),$l(e,_e,wn,!1)),Dl(e,n),(Ge&zt)!==Yt&&e===Pe){if(La)switch(t.tag){case 0:case 11:case 15:e=Ce&&J(Ce)||"Unknown",Sw.has(e)||(Sw.add(e),t=J(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:vw||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),vw=!0)}}else $a&&As(e,t,n),KA(t),e===Pe&&((Ge&zt)===Yt&&(ss|=n),ut===ns&&$l(e,_e,wn,!1)),Ua(e)}function Ib(e,t,n){if((Ge&(zt|Ln))!==Yt)throw Error("Should not already be working.");if(_e!==0&&Ce!==null){var a=Ce,s=Ht();switch(d1){case cu:case ei:var o=Jo;at&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",o,s,Gn,void 0,"primary-light")):console.timeStamp("Suspended",o,s,Gn,void 0,"primary-light"));break;case ti:o=Jo,at&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",o,s,Gn,void 0,"primary-light")):console.timeStamp("Action",o,s,Gn,void 0,"primary-light"));break;default:at&&(a=s-Jo,3>a||console.timeStamp("Blocked",Jo,s,Gn,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}o=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Nl(e,t))?qA(e,t):bp(e,t,!0);var f=n;do{if(o===bl){gr&&!n&&$l(e,t,0,!1),t=Ke,Jo=Ot(),d1=t;break}else{if(a=Ht(),s=e.current.alternate,f&&!VA(s)){sa(t),s=Vt,o=a,!at||o<=s||(yt?yt.run(console.timeStamp.bind(console,"Teared Render",s,o,He,Be,"error")):console.timeStamp("Teared Render",s,o,He,Be,"error")),$s(t,a),o=bp(e,t,!1),f=!1;continue}if(o===Ps){if(f=t,e.errorRecoveryDisabledLanes&f)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){sa(t),Pd(Vt,a,t,yt),$s(t,a),t=h;e:{a=e,o=f,f=du;var g=a.current.memoizedState.isDehydrated;if(g&&(zi(a,h).flags|=256),h=bp(a,h,!1),h!==Ps){if(Wm&&!g){a.errorRecoveryDisabledLanes|=o,ss|=o,o=ns;break e}a=hn,hn=f,a!==null&&(hn===null?hn=a:hn.push.apply(hn,a))}o=h}if(f=!1,o!==Ps)continue;a=Ht()}}if(o===uu){sa(t),Pd(Vt,a,t,yt),$s(t,a),zi(e,0),$l(e,t,0,!0);break}e:{switch(n=e,o){case bl:case uu:throw Error("Root did not complete. This is a bug in React.");case ns:if((t&4194048)!==t)break;case xf:sa(t),Iy(Vt,a,t,yt),$s(t,a),s=t,(s&127)!==0?pf=a:(s&4194048)!==0&&(mf=a),$l(n,t,wn,!as);break e;case Ps:hn=null;break;case Rf:case iw:break;default:throw Error("Unknown root exit status.")}if(V.actQueue!==null)vp(n,s,t,hn,hu,Mf,wn,ss,ni,o,null,null,Vt,a);else{if((t&62914560)===t&&(f=Uf+uw-Ht(),10<f)){if($l(n,t,wn,!as),Es(n,0,!0)!==0)break e;ha=t,n.timeoutHandle=Rw(Zb.bind(null,n,s,hn,hu,Mf,t,wn,ss,ni,as,o,"Throttled",Vt,a),f);break e}Zb(n,s,hn,hu,Mf,t,wn,ss,ni,as,o,null,Vt,a)}}}break}while(!0);Ua(e)}function Zb(e,t,n,a,s,o,f,h,g,b,_,C,N,B){e.timeoutHandle=ri;var ee=t.subtreeFlags,re=null;if((ee&8192||(ee&16785408)===16785408)&&(re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ka},Vb(t,o,re),ee=(o&62914560)===o?Uf-Ht():(o&4194048)===o?ow-Ht():0,ee=RO(re,ee),ee!==null)){ha=o,e.cancelPendingCommit=ee(vp.bind(null,e,t,o,n,a,s,f,h,g,_,re,re.waitingForViewTransition?"Waiting for the previous Animation":0<re.count?0<re.imgCount?"Suspended on CSS and Images":"Suspended on CSS":re.imgCount===1?"Suspended on an Image":0<re.imgCount?"Suspended on Images":null,N,B)),$l(e,o,f,!b);return}vp(e,t,o,n,a,s,f,h,g,_,re,C,N,B)}function VA(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var s=n[a],o=s.getSnapshot;s=s.value;try{if(!un(o(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function $l(e,t,n,a){t&=~Pm,t&=~ss,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var s=t;0<s;){var o=31-sn(s),f=1<<o;a[o]=-1,s&=~f}n!==0&&Xr(e,n,t)}function ki(){return(Ge&(zt|Ln))===Yt?(wo(0),!1):!0}function yp(){if(Ce!==null){if(Ke===Sn)var e=Ce.return;else e=Ce,ec(),Rh(e),rr=null,nu=0,e=Ce;for(;e!==null;)Sb(e.alternate,e),e=e.return;Ce=null}}function $s(e,t){(e&127)!==0&&(Gs=t),(e&4194048)!==0&&(dl=t),(e&62914560)!==0&&(c1=t),(e&2080374784)!==0&&(f1=t)}function zi(e,t){at&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Be,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Be,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Be,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Be,"primary-light"));var n=Vt;if(Vt=Ot(),_e!==0&&0<n){if(sa(_e),ut===Rf||ut===ns)Iy(n,Vt,t,yt);else{var a=Vt,s=yt;if(at&&!(a<=n)){var o=(t&738197653)===t?"tertiary-dark":"primary-dark",f=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";s?s.run(console.timeStamp.bind(console,f,n,a,He,Be,o)):console.timeStamp(f,n,a,He,Be,o)}}$s(_e,Vt)}if(n=yt,yt=null,(t&127)!==0){yt=Go,s=0<=Ya&&Ya<Gs?Gs:Ya,a=0<=Qs&&Qs<Gs?Gs:Qs,o=0<=a?a:0<=s?s:Vt,0<=pf?(sa(2),Zy(pf,o,t,n)):gf&127,n=s;var h=a,g=Qo,b=0<lr,_=Wl===Yo,C=Wl===hf;if(s=Vt,a=Go,o=Cm,f=Mm,at){if(He="Blocking",0<n?n>s&&(n=s):n=s,0<h?h>n&&(h=n):h=n,g!==null&&n>h){var N=b?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,b?"Consecutive":"Event: "+g,h,n,He,Be,N)):console.timeStamp(b?"Consecutive":"Event: "+g,h,n,He,Be,N)}s>n&&(h=_?"error":(t&738197653)===t?"tertiary-light":"primary-light",_=C?"Promise Resolved":_?"Cascading Update":5<s-n?"Update Blocked":"Update",C=[],f!=null&&C.push(["Component name",f]),o!=null&&C.push(["Method name",o]),n={start:n,end:s,detail:{devtools:{properties:C,track:He,trackGroup:Be,color:h}}},a?a.run(performance.measure.bind(performance,_,n)):performance.measure(_,n))}Ya=-1.1,Wl=0,Mm=Cm=null,pf=-1.1,lr=Qs,Qs=-1.1,Gs=Ot()}if((t&4194048)!==0&&(yt=Xo,s=0<=hl&&hl<dl?dl:hl,n=0<=Kn&&Kn<dl?dl:Kn,a=0<=Pl&&Pl<dl?dl:Pl,o=0<=a?a:0<=n?n:Vt,0<=mf?(sa(256),Zy(mf,o,t,yt)):gf&4194048,C=a,h=Xs,g=0<es,b=Um===hf,o=Vt,a=Xo,f=o1,_=u1,at&&(He="Transition",0<n?n>o&&(n=o):n=o,0<s?s>n&&(s=n):s=n,0<C?C>s&&(C=s):C=s,s>C&&h!==null&&(N=g?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+h,C,s,He,Be,N)):console.timeStamp(g?"Consecutive":"Event: "+h,C,s,He,Be,N)),n>s&&(a?a.run(console.timeStamp.bind(console,"Action",s,n,He,Be,"primary-dark")):console.timeStamp("Action",s,n,He,Be,"primary-dark")),o>n&&(s=b?"Promise Resolved":5<o-n?"Update Blocked":"Update",C=[],_!=null&&C.push(["Component name",_]),f!=null&&C.push(["Method name",f]),n={start:n,end:o,detail:{devtools:{properties:C,track:He,trackGroup:Be,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,s,n)):performance.measure(s,n))),Kn=hl=-1.1,Um=0,mf=-1.1,es=Pl,Pl=-1.1,dl=Ot()),(t&62914560)!==0&&(gf&62914560)!==0&&(sa(4194304),eh(c1,Vt)),(t&2080374784)!==0&&(gf&2080374784)!==0&&(sa(268435456),eh(f1,Vt)),n=e.timeoutHandle,n!==ri&&(e.timeoutHandle=ri,ED(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ha=0,yp(),Pe=e,Ce=n=Fa(e.current,null),_e=t,Ke=Sn,Bn=null,as=!1,gr=Nl(e,t),Wm=!1,ut=bl,ni=wn=Pm=ss=ls=0,hn=du=null,Mf=!1,(t&8)!==0&&(t|=t&32),a=e.entangledLanes,a!==0)for(e=e.entanglements,a&=t;0<a;)s=31-sn(a),o=1<<s,t|=e[s],a&=~o;return Qa=t,Zu(),e=n1(),1e3<e-t1&&(V.recentlyCreatedOwnerStacks=0,t1=e),ca.discardPendingWarnings(),n}function Kb(e,t){we=null,V.H=iu,V.getCurrentStack=null,La=!1,Un=null,t===ir||t===Sf?(t=y0(),Ke=cu):t===Lm?(t=y0(),Ke=rw):Ke=t===Jm?Fm:t!==null&&typeof t=="object"&&typeof t.then=="function"?fu:_f,Bn=t;var n=Ce;n===null?(ut=uu,Oc(e,Nn(t,e.current))):n.mode&Re&&mh(n)}function Fb(){var e=zn.current;return e===null?!0:(_e&4194048)===_e?Fn===null:(_e&62914560)===_e||(_e&536870912)!==0?e===Fn:!1}function Wb(){var e=V.H;return V.H=iu,e===null?iu:e}function Pb(){var e=V.A;return V.A=oD,e}function Uc(e){yt===null&&(yt=e._debugTask==null?null:e._debugTask)}function kc(){ut=ns,as||(_e&4194048)!==_e&&zn.current!==null||(gr=!0),(ls&134217727)===0&&(ss&134217727)===0||Pe===null||$l(Pe,_e,wn,!1)}function bp(e,t,n){var a=Ge;Ge|=zt;var s=Wb(),o=Pb();if(Pe!==e||_e!==t){if($a){var f=e.memoizedUpdaters;0<f.size&&(So(e,_e),f.clear()),vi(e,t)}hu=null,zi(e,t)}t=!1,f=ut;e:do try{if(Ke!==Sn&&Ce!==null){var h=Ce,g=Bn;switch(Ke){case Fm:yp(),f=xf;break e;case cu:case ei:case ti:case fu:zn.current===null&&(t=!0);var b=Ke;if(Ke=Sn,Bn=null,ji(e,h,g,b),n&&gr){f=bl;break e}break;default:b=Ke,Ke=Sn,Bn=null,ji(e,h,g,b)}}ev(),f=ut;break}catch(_){Kb(e,_)}while(!0);return t&&e.shellSuspendCounter++,ec(),Ge=a,V.H=s,V.A=o,Ce===null&&(Pe=null,_e=0,Zu()),f}function ev(){for(;Ce!==null;)tv(Ce)}function qA(e,t){var n=Ge;Ge|=zt;var a=Wb(),s=Pb();if(Pe!==e||_e!==t){if($a){var o=e.memoizedUpdaters;0<o.size&&(So(e,_e),o.clear()),vi(e,t)}hu=null,kf=Ht()+cw,zi(e,t)}else gr=Nl(e,t);e:do try{if(Ke!==Sn&&Ce!==null)t:switch(t=Ce,o=Bn,Ke){case _f:Ke=Sn,Bn=null,ji(e,t,o,_f);break;case ei:case ti:if(m0(o)){Ke=Sn,Bn=null,nv(t);break}t=function(){Ke!==ei&&Ke!==ti||Pe!==e||(Ke=Cf),Ua(e)},o.then(t,t);break e;case cu:Ke=Cf;break e;case rw:Ke=Km;break e;case Cf:m0(o)?(Ke=Sn,Bn=null,nv(t)):(Ke=Sn,Bn=null,ji(e,t,o,Cf));break;case Km:var f=null;switch(Ce.tag){case 26:f=Ce.memoizedState;case 5:case 27:var h=Ce;if(f?Iv(f):h.stateNode.complete){Ke=Sn,Bn=null;var g=h.sibling;if(g!==null)Ce=g;else{var b=h.return;b!==null?(Ce=b,zc(b)):Ce=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Ke=Sn,Bn=null,ji(e,t,o,Km);break;case fu:Ke=Sn,Bn=null,ji(e,t,o,fu);break;case Fm:yp(),ut=xf;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}V.actQueue!==null?ev():YA();break}catch(_){Kb(e,_)}while(!0);return ec(),V.H=a,V.A=s,Ge=n,Ce!==null?bl:(Pe=null,_e=0,Zu(),ut)}function YA(){for(;Ce!==null&&!qO();)tv(Ce)}function tv(e){var t=e.alternate;(e.mode&Re)!==ve?(ph(e),t=se(e,op,t,e,Qa),mh(e)):t=se(e,op,t,e,Qa),e.memoizedProps=e.pendingProps,t===null?zc(e):Ce=t}function nv(e){var t=se(e,GA,e);e.memoizedProps=e.pendingProps,t===null?zc(e):Ce=t}function GA(e){var t=e.alternate,n=(e.mode&Re)!==ve;switch(n&&ph(e),e.tag){case 15:case 0:t=hb(t,e,e.pendingProps,e.type,void 0,_e);break;case 11:t=hb(t,e,e.pendingProps,e.type.render,e.ref,_e);break;case 5:Rh(e);default:Sb(t,e),e=Ce=t0(e,Qa),t=op(t,e,Qa)}return n&&mh(e),t}function ji(e,t,n,a){ec(),Rh(t),rr=null,nu=0;var s=t.return;try{if(RA(e,s,t,n,_e)){ut=uu,Oc(e,Nn(n,e.current)),Ce=null;return}}catch(o){if(s!==null)throw Ce=s,o;ut=uu,Oc(e,Nn(n,e.current)),Ce=null;return}t.flags&32768?(ze||a===_f?e=!0:gr||(_e&536870912)!==0?e=!1:(as=e=!0,(a===ei||a===ti||a===cu||a===fu)&&(a=zn.current,a!==null&&a.tag===13&&(a.flags|=16384))),av(t,e)):zc(t)}function zc(e){var t=e;do{if((t.flags&32768)!==0){av(t,as);return}var n=t.alternate;if(e=t.return,ph(t),n=se(t,CA,n,t,Qa),(t.mode&Re)!==ve&&c0(t),n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);ut===bl&&(ut=iw)}function av(e,t){do{var n=MA(e.alternate,e);if(n!==null){n.flags&=32767,Ce=n;return}if((e.mode&Re)!==ve){c0(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ce=e;return}Ce=e=n}while(e!==null);ut=xf,Ce=null}function vp(e,t,n,a,s,o,f,h,g,b,_,C,N,B){e.cancelPendingCommit=null;do vo();while(_t!==rs);if(ca.flushLegacyContextWarning(),ca.flushPendingUnsafeLifecycleWarnings(),(Ge&(zt|Ln))!==Yt)throw Error("Should not already be working.");if(sa(n),b===Ps?Pd(N,B,n,yt):a!==null?mA(N,B,n,a,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,yt):pA(N,B,n,yt),t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(o=t.lanes|t.childLanes,o|=Nm,Bu(e,n,o,f,h,g),e===Pe&&(Ce=Pe=null,_e=0),yr=t,os=e,ha=n,ng=o,lg=s,gw=a,ag=B,yw=C,pa=zf,bw=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ZA(qi,function(){return vu=window.event,pa===zf&&(pa=tg),ov(),null})):(e.callbackNode=null,e.callbackPriority=0),fl=null,Fl=Ot(),C!==null&&gA(B,Fl,C,yt),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=V.T,V.T=null,s=Xe.p,Xe.p=Yn,f=Ge,Ge|=Ln;try{BA(e,t,n)}finally{Ge=f,Xe.p=s,V.T=a}}_t=dw,lv(),sv(),iv()}}function lv(){if(_t===dw){_t=rs;var e=os,t=yr,n=ha,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=V.T,V.T=null;var s=Xe.p;Xe.p=Yn;var o=Ge;Ge|=Ln;try{pr=n,mr=e,lc(),zb(t,e),mr=pr=null,n=mg;var f=Qy(e.containerInfo),h=n.focusedElem,g=n.selectionRange;if(f!==h&&h&&h.ownerDocument&&Gy(h.ownerDocument.documentElement,h)){if(g!==null&&Kd(h)){var b=g.start,_=g.end;if(_===void 0&&(_=b),"selectionStart"in h)h.selectionStart=b,h.selectionEnd=Math.min(_,h.value.length);else{var C=h.ownerDocument||document,N=C&&C.defaultView||window;if(N.getSelection){var B=N.getSelection(),ee=h.textContent.length,re=Math.min(g.start,ee),tt=g.end===void 0?re:Math.min(g.end,ee);!B.extend&&re>tt&&(f=tt,tt=re,re=f);var $e=Yy(h,re),O=Yy(h,tt);if($e&&O&&(B.rangeCount!==1||B.anchorNode!==$e.node||B.anchorOffset!==$e.offset||B.focusNode!==O.node||B.focusOffset!==O.offset)){var D=C.createRange();D.setStart($e.node,$e.offset),B.removeAllRanges(),re>tt?(B.addRange(D),B.extend(O.node,O.offset)):(D.setEnd(O.node,O.offset),B.addRange(D))}}}}for(C=[],B=h;B=B.parentNode;)B.nodeType===1&&C.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<C.length;h++){var x=C[h];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}Ff=!!pg,mg=pg=null}finally{Ge=o,Xe.p=s,V.T=a}}e.current=t,_t=hw}}function sv(){if(_t===hw){_t=rs;var e=bw;if(e!==null){Fl=Ot();var t=cl,n=Fl;!at||n<=t||console.timeStamp(e,t,n,He,Be,"secondary-light")}e=os,t=yr,n=ha;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=V.T,V.T=null;var s=Xe.p;Xe.p=Yn;var o=Ge;Ge|=Ln;try{pr=n,mr=e,lc(),_b(e,t.alternate,t),mr=pr=null}finally{Ge=o,Xe.p=s,V.T=a}}e=ag,t=yw,cl=Ot(),e=t===null?e:Fl,t=cl,n=pa===eg,a=yt,fl!==null?Ky(e,t,fl,!1,a):!at||t<=e||(a?a.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,He,Be,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,He,Be,n?"error":"secondary-dark")),_t=pw}}function iv(){if(_t===mw||_t===pw){if(_t===mw){var e=cl;cl=Ot();var t=cl,n=pa===eg;!at||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,He,Be,n?" error":"secondary-light"),pa!==eg&&(pa=fw)}_t=rs,YO(),e=os;var a=yr;t=ha,n=gw;var s=a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;s?_t=jf:(_t=rs,yr=os=null,rv(e,e.pendingLanes),ai=0,mu=null);var o=e.pendingLanes;if(o===0&&(is=null),s||dv(e),o=Si(t),a=a.stateNode,Wt&&typeof Wt.onCommitFiberRoot=="function")try{var f=(a.current.flags&128)===128;switch(o){case Yn:var h=lm;break;case Ha:h=sm;break;case sl:h=qi;break;case Pc:h=im;break;default:h=qi}Wt.onCommitFiberRoot(Yi,a,h,f)}catch(C){Ba||(Ba=!0,console.error("React instrumentation encountered an error: %o",C))}if($a&&e.memoizedUpdaters.clear(),HA(),n!==null){f=V.T,h=Xe.p,Xe.p=Yn,V.T=null;try{var g=e.onRecoverableError;for(a=0;a<n.length;a++){var b=n[a],_=QA(b.stack);se(b.source,g,b.value,_)}}finally{V.T=f,Xe.p=h}}(ha&3)!==0&&vo(),Ua(e),o=e.pendingLanes,(t&261930)!==0&&(o&42)!==0?(bf=!0,e===sg?pu++:(pu=0,sg=e)):pu=0,s||$s(t,cl),wo(0)}}function QA(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function rv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,no(t)))}function vo(){return lv(),sv(),iv(),ov()}function ov(){if(_t!==jf)return!1;var e=os,t=ng;ng=0;var n=Si(ha),a=sl>n?sl:n;n=V.T;var s=Xe.p;try{Xe.p=a,V.T=null;var o=lg;lg=null,a=os;var f=ha;if(_t=rs,yr=os=null,ha=0,(Ge&(zt|Ln))!==Yt)throw Error("Cannot flush passive effects while already rendering.");sa(f),ig=!0,Lf=!1;var h=0;if(fl=null,h=Ht(),pa===fw)eh(cl,h,tD);else{var g=cl,b=h,_=pa===tg;!at||b<=g||(yt?yt.run(console.timeStamp.bind(console,_?"Waiting for Paint":"Waiting",g,b,He,Be,"secondary-light")):console.timeStamp(_?"Waiting for Paint":"Waiting",g,b,He,Be,"secondary-light"))}g=Ge,Ge|=Ln;var C=a.current;lc(),Yb(C);var N=a.current;C=ag,lc(),$b(a,N,f,o,C),dv(a),Ge=g;var B=Ht();if(N=h,C=yt,fl!==null?Ky(N,B,fl,!0,C):!at||B<=N||(C?C.run(console.timeStamp.bind(console,"Remaining Effects",N,B,He,Be,"secondary-dark")):console.timeStamp("Remaining Effects",N,B,He,Be,"secondary-dark")),$s(f,B),wo(0,!1),Lf?a===mu?ai++:(ai=0,mu=a):ai=0,Lf=ig=!1,Wt&&typeof Wt.onPostCommitFiberRoot=="function")try{Wt.onPostCommitFiberRoot(Yi,a)}catch(re){Ba||(Ba=!0,console.error("React instrumentation encountered an error: %o",re))}var ee=a.current.stateNode;return ee.effectDuration=0,ee.passiveEffectDuration=0,!0}finally{Xe.p=s,V.T=n,rv(e,t)}}function uv(e,t,n){t=Nn(n,t),f0(t),t=Fh(e.stateNode,t,2),e=zl(e,t,2),e!==null&&(Dl(e,2),Ua(e))}function Qe(e,t,n){if(br=!1,e.tag===3)uv(e,e,n);else{for(;t!==null;){if(t.tag===3){uv(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(is===null||!is.has(a))){e=Nn(n,e),f0(e),n=Wh(2),a=zl(t,n,2),a!==null&&(Ph(n,a,t,e),Dl(a,2),Ua(a));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
200
|
+
|
|
201
|
+
Error message:
|
|
202
|
+
|
|
203
|
+
%s`,n)}}function Sp(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new cD;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(n)||(Wm=!0,s.add(n),a=XA.bind(null,e,t,n),$a&&So(e,n),t.then(a,a))}function XA(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Ya&&(Gs=Ya=Ot(),Go=df("Promise Resolved"),Wl=hf):(n&4194048)!==0&&0>Kn&&(dl=Kn=Ot(),Xo=df("Promise Resolved"),Um=hf),Xb()&&V.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
204
|
+
|
|
205
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
206
|
+
|
|
207
|
+
act(() => {
|
|
208
|
+
/* finish loading suspended data */
|
|
209
|
+
});
|
|
210
|
+
/* assert on the output */
|
|
211
|
+
|
|
212
|
+
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`),Pe===e&&(_e&n)===n&&(ut===ns||ut===Rf&&(_e&62914560)===_e&&Ht()-Uf<uw?(Ge&zt)===Yt&&zi(e,0):Pm|=n,ni===_e&&(ni=0)),Ua(e)}function cv(e,t){t===0&&(t=Gr()),e=Ft(e,t),e!==null&&(Dl(e,t),Ua(e))}function JA(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cv(e,n)}function IA(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),cv(e,n)}function wp(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,s=t,o=s.type===Jc;o=n||o,s.tag!==22?s.flags&67108864?o&&se(s,fv,a,s):wp(a,s,o):s.memoizedState===null&&(o&&s.flags&8192?se(s,fv,a,s):s.subtreeFlags&67108864&&se(s,wp,a,s,o)),t=t.sibling}}function fv(e,t){ue(!0);try{Lb(t),Gb(t),Bb(e,t.alternate,t,!1),Hb(e,t,0,null,!1,0)}finally{ue(!1)}}function dv(e){var t=!0;e.current.mode&(Pt|ua)||(t=!1),wp(e,e.current,t)}function hv(e){if((Ge&zt)===Yt){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=J(e)||"ReactComponent",Bf!==null){if(Bf.has(t))return;Bf.add(t)}else Bf=new Set([t]);se(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function So(e,t){$a&&e.memoizedUpdaters.forEach(function(n){As(e,n,t)})}function ZA(e,t){var n=V.actQueue;return n!==null?(n.push(t),hD):am(e,t)}function KA(e){Xb()&&V.actQueue===null&&se(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
213
|
+
|
|
214
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
215
|
+
|
|
216
|
+
act(() => {
|
|
217
|
+
/* fire events that update state */
|
|
218
|
+
});
|
|
219
|
+
/* assert on the output */
|
|
220
|
+
|
|
221
|
+
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`,J(e))})}function Ua(e){e!==vr&&e.next===null&&(vr===null?$f=vr=e:vr=vr.next=e),Hf=!0,V.actQueue!==null?og||(og=!0,yv()):rg||(rg=!0,yv())}function wo(e,t){if(!ug&&Hf){ug=!0;do for(var n=!1,a=$f;a!==null;){if(e!==0){var s=a.pendingLanes;if(s===0)var o=0;else{var f=a.suspendedLanes,h=a.pingedLanes;o=(1<<31-sn(42|e)+1)-1,o&=s&~(f&~h),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,gv(a,o))}else o=_e,o=Es(a,a===Pe?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==ri),(o&3)===0||Nl(a,o)||(n=!0,gv(a,o));a=a.next}while(n);ug=!1}}function FA(){vu=window.event,Ep()}function Ep(){Hf=og=rg=!1;var e=0;us!==0&&lO()&&(e=us);for(var t=Ht(),n=null,a=$f;a!==null;){var s=a.next,o=pv(a,t);o===0?(a.next=null,n===null?$f=s:n.next=s,s===null&&(vr=n)):(n=a,(e!==0||(o&3)!==0)&&(Hf=!0)),a=s}_t!==rs&&_t!==jf||wo(e),us!==0&&(us=0)}function pv(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var f=31-sn(o),h=1<<f,g=s[f];g===-1?((h&n)===0||(h&a)!==0)&&(s[f]=Lu(h,t)):g<=t&&(e.expiredLanes|=h),o&=~h}if(t=Pe,n=_e,n=Es(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ri),a=e.callbackNode,n===0||e===t&&(Ke===ei||Ke===ti)||e.cancelPendingCommit!==null)return a!==null&&Tp(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Nl(e,n)){if(t=n&-n,t!==e.callbackPriority||V.actQueue!==null&&a!==cg)Tp(a);else return t;switch(Si(n)){case Yn:case Ha:n=sm;break;case sl:n=qi;break;case Pc:n=im;break;default:n=qi}return a=mv.bind(null,e),V.actQueue!==null?(V.actQueue.push(a),n=cg):n=am(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&Tp(a),e.callbackPriority=2,e.callbackNode=null,2}function mv(e,t){if(bf=yf=!1,vu=window.event,_t!==rs&&_t!==jf)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(pa===zf&&(pa=tg),vo()&&e.callbackNode!==n)return null;var a=_e;return a=Es(e,e===Pe?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ri),a===0?null:(Ib(e,a,t),pv(e,Ht()),e.callbackNode!=null&&e.callbackNode===n?mv.bind(null,e):null)}function gv(e,t){if(vo())return null;yf=bf,bf=!1,Ib(e,t,!0)}function Tp(e){e!==cg&&e!==null&&VO(e)}function yv(){V.actQueue!==null&&V.actQueue.push(function(){return Ep(),null}),TD(function(){(Ge&(zt|Ln))!==Yt?am(lm,FA):Ep()})}function Ap(){if(us===0){var e=Js;e===0&&(e=Kc,Kc<<=1,(Kc&261888)===0&&(Kc=256)),us=e}return us}function bv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Ie(e,"action"),Wr(""+e))}function vv(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function WA(e,t,n,a,s){if(t==="submit"&&n&&n.stateNode===s){var o=bv((s[rn]||null).action),f=a.submitter;f&&(t=(t=f[rn]||null)?bv(t.formAction):f.getAttribute("formAction"),t!==null&&(o=t,f=null));var h=new lf("action","action",null,a,s);e.push({event:h,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(us!==0){var g=f?vv(s,f):new FormData(s),b={pending:!0,data:g,method:s.method,action:o};Object.freeze(b),Gh(n,b,null,g)}}else typeof o=="function"&&(h.preventDefault(),g=f?vv(s,f):new FormData(s),b={pending:!0,data:g,method:s.method,action:o},Object.freeze(b),Gh(n,b,o,g))},currentTarget:s}]})}}function jc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){Em(a)}e.currentTarget=null}function Sv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var s=void 0,o=a.event;if(a=a.listeners,t)for(var f=a.length-1;0<=f;f--){var h=a[f],g=h.instance,b=h.currentTarget;if(h=h.listener,g!==s&&o.isPropagationStopped())break e;g!==null?se(g,jc,o,h,b):jc(o,h,b),s=g}else for(f=0;f<a.length;f++){if(h=a[f],g=h.instance,b=h.currentTarget,h=h.listener,g!==s&&o.isPropagationStopped())break e;g!==null?se(g,jc,o,h,b):jc(o,h,b),s=g}}}}function Le(e,t){fg.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[rm];n===void 0&&(n=t[rm]=new Set);var a=e+"__bubble";n.has(a)||(wv(t,e,2,!1),n.add(a))}function Op(e,t,n){fg.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=4),wv(n,e,a,t)}function Np(e){if(!e[Vf]){e[Vf]=!0,yS.forEach(function(n){n!=="selectionchange"&&(fg.has(n)||Op(n,!1,e),Op(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vf]||(t[Vf]=!0,Op("selectionchange",!1,t))}}function wv(e,t,n,a){switch(eS(t)){case Yn:var s=MO;break;case Ha:s=UO;break;default:s=qp}n=s.bind(null,t,n,e),s=void 0,!dm||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),a?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Dp(e,t,n,a,s){var o=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var h=a.stateNode.containerInfo;if(h===s)break;if(f===4)for(f=a.return;f!==null;){var g=f.tag;if((g===3||g===4)&&f.stateNode.containerInfo===s)return;f=f.return}for(;h!==null;){if(f=Z(h),f===null)return;if(g=f.tag,g===5||g===6||g===26||g===27){a=o=f;continue e}h=h.parentNode}}a=a.return}My(function(){var b=o,_=Id(n),C=[];e:{var N=e1.get(e);if(N!==void 0){var B=lf,ee=e;switch(e){case"keypress":if(Gu(n)===0)break e;case"keydown":case"keyup":B=RN;break;case"focusin":ee="focus",B=gm;break;case"focusout":ee="blur",B=gm;break;case"beforeblur":case"afterblur":B=gm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=HS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=gN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=CN;break;case KS:case FS:case WS:B=vN;break;case PS:B=UN;break;case"scroll":case"scrollend":B=pN;break;case"wheel":B=zN;break;case"copy":case"cut":case"paste":B=wN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=qS;break;case"toggle":case"beforetoggle":B=LN}var re=(t&4)!==0,tt=!re&&(e==="scroll"||e==="scrollend"),$e=re?N!==null?N+"Capture":null:N;re=[];for(var O=b,D;O!==null;){var x=O;if(D=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||D===null||$e===null||(x=Pr(O,$e),x!=null&&re.push(Eo(O,x,D))),tt)break;O=O.return}0<re.length&&(N=new B(N,ee,null,n,_),C.push({event:N,listeners:re}))}}if((t&7)===0){e:{if(N=e==="mouseover"||e==="pointerover",B=e==="mouseout"||e==="pointerout",N&&n!==Uo&&(ee=n.relatedTarget||n.fromElement)&&(Z(ee)||ee[Ql]))break e;if((B||N)&&(N=_.window===_?_:(N=_.ownerDocument)?N.defaultView||N.parentWindow:window,B?(ee=n.relatedTarget||n.toElement,B=b,ee=ee?Z(ee):null,ee!==null&&(tt=U(ee),re=ee.tag,ee!==tt||re!==5&&re!==27&&re!==6)&&(ee=null)):(B=null,ee=b),B!==ee)){if(re=HS,x="onMouseLeave",$e="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(re=qS,x="onPointerLeave",$e="onPointerEnter",O="pointer"),tt=B==null?N:ce(B),D=ee==null?N:ce(ee),N=new re(x,O+"leave",B,n,_),N.target=tt,N.relatedTarget=D,x=null,Z(_)===b&&(re=new re($e,O+"enter",ee,n,_),re.target=D,re.relatedTarget=tt,x=re),tt=x,B&&ee)t:{for(re=PA,$e=B,O=ee,D=0,x=$e;x;x=re(x))D++;x=0;for(var q=O;q;q=re(q))x++;for(;0<D-x;)$e=re($e),D--;for(;0<x-D;)O=re(O),x--;for(;D--;){if($e===O||O!==null&&$e===O.alternate){re=$e;break t}$e=re($e),O=re(O)}re=null}else re=null;B!==null&&Ev(C,N,B,re,!1),ee!==null&&tt!==null&&Ev(C,tt,ee,re,!0)}}e:{if(N=b?ce(b):window,B=N.nodeName&&N.nodeName.toLowerCase(),B==="select"||B==="input"&&N.type==="file")var ae=$y;else if(Ly(N))if(IS)ae=fA;else{ae=uA;var Ee=oA}else B=N.nodeName,!B||B.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?b&&Fr(b.elementType)&&(ae=$y):ae=cA;if(ae&&(ae=ae(e,b))){By(C,ae,n,_);break e}Ee&&Ee(e,N,b),e==="focusout"&&b&&N.type==="number"&&b.memoizedProps.value!=null&&qd(N,"number",N.value)}switch(Ee=b?ce(b):window,e){case"focusin":(Ly(Ee)||Ee.contentEditable==="true")&&(Ki=Ee,bm=b,Ho=null);break;case"focusout":Ho=bm=Ki=null;break;case"mousedown":vm=!0;break;case"contextmenu":case"mouseup":case"dragend":vm=!1,Xy(C,n,_);break;case"selectionchange":if(VN)break;case"keydown":case"keyup":Xy(C,n,_)}var pe;if(ym)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else Zi?zy(e,n)&&(fe="onCompositionEnd"):e==="keydown"&&n.keyCode===YS&&(fe="onCompositionStart");fe&&(GS&&n.locale!=="ko"&&(Zi||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&Zi&&(pe=Uy()):(Xl=_,hm="value"in Xl?Xl.value:Xl.textContent,Zi=!0)),Ee=Lc(b,fe),0<Ee.length&&(fe=new VS(fe,e,null,n,_),C.push({event:fe,listeners:Ee}),pe?fe.data=pe:(pe=jy(n),pe!==null&&(fe.data=pe)))),(pe=$N?lA(e,n):sA(e,n))&&(fe=Lc(b,"onBeforeInput"),0<fe.length&&(Ee=new TN("onBeforeInput","beforeinput",null,n,_),C.push({event:Ee,listeners:fe}),Ee.data=pe)),WA(C,e,b,n,_)}Sv(C,t)})}function Eo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Lc(e,t){for(var n=t+"Capture",a=[];e!==null;){var s=e,o=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||o===null||(s=Pr(e,n),s!=null&&a.unshift(Eo(e,s,o)),s=Pr(e,t),s!=null&&a.push(Eo(e,s,o))),e.tag===3)return a;e=e.return}return[]}function PA(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ev(e,t,n,a,s){for(var o=t._reactName,f=[];n!==null&&n!==a;){var h=n,g=h.alternate,b=h.stateNode;if(h=h.tag,g!==null&&g===a)break;h!==5&&h!==26&&h!==27||b===null||(g=b,s?(b=Pr(n,o),b!=null&&f.unshift(Eo(n,b,g))):s||(b=Pr(n,o),b!=null&&f.push(Eo(n,b,g)))),n=n.return}f.length!==0&&e.push({event:t,listeners:f})}function Rp(e,t){eA(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||BS||(BS=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Hs,possibleRegistrationNames:om};Fr(e)||typeof t.is=="string"||nA(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function $t(e,t,n,a){t!==n&&(n=Hl(n),Hl(t)!==n&&(a[e]=t))}function eO(e,t,n){t.forEach(function(a){n[Ov(a)]=a==="style"?_p(e):e.getAttribute(a)})}function ka(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Tv(e,t){return e=e.namespaceURI===tf||e.namespaceURI===Qi?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Hl(e){return ws(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Ss(e)),Ol(e)),(typeof e=="string"?e:""+e).replace(pD,`
|
|
222
|
+
`).replace(mD,"")}function Av(e,t){return t=Hl(t),Hl(e)===t}function Fe(e,t,n,a,s,o){switch(n){case"children":typeof a=="string"?(Yu(a,t,!1),t==="body"||t==="textarea"&&a===""||Kr(e,a)):(typeof a=="number"||typeof a=="bigint")&&(Yu(""+a,t,!1),t!=="body"&&Kr(e,""+a));break;case"className":Hu(e,"class",a);break;case"tabIndex":Hu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Hu(e,n,a);break;case"style":xy(e,a,o);break;case"data":if(t!=="object"){Hu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Ie(a,n),a=Wr(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a=="function"&&(s.encType==null&&s.method==null||Gf||(Gf=!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.")),s.target==null||Yf||(Yf=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||qf?t!=="button"||s.type==null||s.type==="submit"||qf?typeof a=="function"&&(s.name==null||Tw||(Tw=!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.')),s.formEncType==null&&s.formMethod==null||Gf||(Gf=!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.")),s.formTarget==null||Yf||(Yf=!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."))):(qf=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(qf=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(n==="formAction"?(t!=="input"&&Fe(e,t,"name",s.name,s,null),Fe(e,t,"formEncType",s.formEncType,s,null),Fe(e,t,"formMethod",s.formMethod,s,null),Fe(e,t,"formTarget",s.formTarget,s,null)):(Fe(e,t,"encType",s.encType,s,null),Fe(e,t,"method",s.method,s,null),Fe(e,t,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Ie(a,n),a=Wr(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&ka(n,a),e.onclick=Ka);break;case"onScroll":a!=null&&(typeof a!="function"&&ka(n,a),Le("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&ka(n,a),Le("scrollend",e));break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}Ie(a,n),n=Wr(""+a),e.setAttributeNS(li,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?(Ie(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||Qf[n]||(Qf[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?(Ie(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?(Ie(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):(Ie(a,n),e.setAttribute(n,a));break;case"popover":Le("beforetoggle",e),Le("toggle",e),wi(e,"popover",a);break;case"xlinkActuate":Za(e,li,"xlink:actuate",a);break;case"xlinkArcrole":Za(e,li,"xlink:arcrole",a);break;case"xlinkRole":Za(e,li,"xlink:role",a);break;case"xlinkShow":Za(e,li,"xlink:show",a);break;case"xlinkTitle":Za(e,li,"xlink:title",a);break;case"xlinkType":Za(e,li,"xlink:type",a);break;case"xmlBase":Za(e,dg,"xml:base",a);break;case"xmlLang":Za(e,dg,"xml:lang",a);break;case"xmlSpace":Za(e,dg,"xml:space",a);break;case"is":o!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),wi(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":Aw||a==null||typeof a!="object"||(Aw=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=_y(n),wi(e,n,a)):Hs.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&ka(n,a)}}function xp(e,t,n,a,s,o){switch(n){case"style":xy(e,a,o);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?Kr(e,a):(typeof a=="number"||typeof a=="bigint")&&Kr(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&ka(n,a),Le("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&ka(n,a),Le("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&ka(n,a),e.onclick=Ka);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Hs.hasOwnProperty(n))a!=null&&typeof a!="function"&&ka(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),o=e[rn]||null,o=o!=null?o[n]:null,typeof o=="function"&&e.removeEventListener(t,o,s),typeof a=="function")){typeof o!="function"&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,s);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):wi(e,n,a)}}}function Xt(e,t,n){switch(Rp(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Le("error",e),Le("load",e);var a=!1,s=!1,o;for(o in n)if(n.hasOwnProperty(o)){var f=n[o];if(f!=null)switch(o){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Fe(e,t,o,f,n,null)}}s&&Fe(e,t,"srcSet",n.srcSet,n,null),a&&Fe(e,t,"src",n.src,n,null);return;case"input":an("input",n),Le("invalid",e);var h=o=f=s=null,g=null,b=null;for(a in n)if(n.hasOwnProperty(a)){var _=n[a];if(_!=null)switch(a){case"name":s=_;break;case"type":f=_;break;case"checked":g=_;break;case"defaultChecked":b=_;break;case"value":o=_;break;case"defaultValue":h=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Fe(e,t,a,_,n,null)}}hy(e,n),py(e,o,h,g,b,f,s,!1);return;case"select":an("select",n),Le("invalid",e),a=f=o=null;for(s in n)if(n.hasOwnProperty(s)&&(h=n[s],h!=null))switch(s){case"value":o=h;break;case"defaultValue":f=h;break;case"multiple":a=h;default:Fe(e,t,s,h,n,null)}yy(e,n),t=o,n=f,e.multiple=!!a,t!=null?Ei(e,!!a,t,!1):n!=null&&Ei(e,!!a,n,!0);return;case"textarea":an("textarea",n),Le("invalid",e),o=s=a=null;for(f in n)if(n.hasOwnProperty(f)&&(h=n[f],h!=null))switch(f){case"value":a=h;break;case"defaultValue":s=h;break;case"children":o=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Fe(e,t,f,h,n,null)}by(e,n),Sy(e,a,s,o);return;case"option":my(e,n);for(g in n)if(n.hasOwnProperty(g)&&(a=n[g],a!=null))switch(g){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Fe(e,t,g,a,n,null)}return;case"dialog":Le("beforetoggle",e),Le("toggle",e),Le("cancel",e),Le("close",e);break;case"iframe":case"object":Le("load",e);break;case"video":case"audio":for(a=0;a<gu.length;a++)Le(gu[a],e);break;case"image":Le("error",e),Le("load",e);break;case"details":Le("toggle",e);break;case"embed":case"source":case"link":Le("error",e),Le("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(b in n)if(n.hasOwnProperty(b)&&(a=n[b],a!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Fe(e,t,b,a,n,null)}return;default:if(Fr(t)){for(_ in n)n.hasOwnProperty(_)&&(a=n[_],a!==void 0&&xp(e,t,_,a,n,void 0));return}}for(h in n)n.hasOwnProperty(h)&&(a=n[h],a!=null&&Fe(e,t,h,a,n,null))}function tO(e,t,n,a){switch(Rp(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,o=null,f=null,h=null,g=null,b=null,_=null;for(B in n){var C=n[B];if(n.hasOwnProperty(B)&&C!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":g=C;default:a.hasOwnProperty(B)||Fe(e,t,B,null,a,C)}}for(var N in a){var B=a[N];if(C=n[N],a.hasOwnProperty(N)&&(B!=null||C!=null))switch(N){case"type":o=B;break;case"name":s=B;break;case"checked":b=B;break;case"defaultChecked":_=B;break;case"value":f=B;break;case"defaultValue":h=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:B!==C&&Fe(e,t,N,B,a,C)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||Ew||(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"),Ew=!0),!t||a||ww||(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"),ww=!0),Vd(e,f,h,g,b,_,o,s);return;case"select":B=f=h=N=null;for(o in n)if(g=n[o],n.hasOwnProperty(o)&&g!=null)switch(o){case"value":break;case"multiple":B=g;default:a.hasOwnProperty(o)||Fe(e,t,o,null,a,g)}for(s in a)if(o=a[s],g=n[s],a.hasOwnProperty(s)&&(o!=null||g!=null))switch(s){case"value":N=o;break;case"defaultValue":h=o;break;case"multiple":f=o;default:o!==g&&Fe(e,t,s,o,a,g)}a=h,t=f,n=B,N!=null?Ei(e,!!t,N,!1):!!n!=!!t&&(a!=null?Ei(e,!!t,a,!0):Ei(e,!!t,t?[]:"",!1));return;case"textarea":B=N=null;for(h in n)if(s=n[h],n.hasOwnProperty(h)&&s!=null&&!a.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:Fe(e,t,h,null,a,s)}for(f in a)if(s=a[f],o=n[f],a.hasOwnProperty(f)&&(s!=null||o!=null))switch(f){case"value":N=s;break;case"defaultValue":B=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==o&&Fe(e,t,f,s,a,o)}vy(e,N,B);return;case"option":for(var ee in n)if(N=n[ee],n.hasOwnProperty(ee)&&N!=null&&!a.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:Fe(e,t,ee,null,a,N)}for(g in a)if(N=a[g],B=n[g],a.hasOwnProperty(g)&&N!==B&&(N!=null||B!=null))switch(g){case"selected":e.selected=N&&typeof N!="function"&&typeof N!="symbol";break;default:Fe(e,t,g,N,a,B)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var re in n)N=n[re],n.hasOwnProperty(re)&&N!=null&&!a.hasOwnProperty(re)&&Fe(e,t,re,null,a,N);for(b in a)if(N=a[b],B=n[b],a.hasOwnProperty(b)&&N!==B&&(N!=null||B!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Fe(e,t,b,N,a,B)}return;default:if(Fr(t)){for(var tt in n)N=n[tt],n.hasOwnProperty(tt)&&N!==void 0&&!a.hasOwnProperty(tt)&&xp(e,t,tt,void 0,a,N);for(_ in a)N=a[_],B=n[_],!a.hasOwnProperty(_)||N===B||N===void 0&&B===void 0||xp(e,t,_,N,a,B);return}}for(var $e in n)N=n[$e],n.hasOwnProperty($e)&&N!=null&&!a.hasOwnProperty($e)&&Fe(e,t,$e,null,a,N);for(C in a)N=a[C],B=n[C],!a.hasOwnProperty(C)||N===B||N==null&&B==null||Fe(e,t,C,N,a,B)}function Ov(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function _p(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var a=e[n];t[a]=e.getPropertyValue(a)}return t}function Nv(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var a,s=a="",o;for(o in t)if(t.hasOwnProperty(o)){var f=t[o];f!=null&&typeof f!="boolean"&&f!==""&&(o.indexOf("--")===0?(Kt(f,o),a+=s+o+":"+(""+f).trim()):typeof f!="number"||f===0||jS.has(o)?(Kt(f,o),a+=s+o.replace(CS,"-$1").toLowerCase().replace(MS,"-ms-")+":"+(""+f).trim()):a+=s+o.replace(CS,"-$1").toLowerCase().replace(MS,"-ms-")+":"+f+"px",s=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Hl(a),Hl(t)!==a&&(n.style=_p(e)))}}function qn(e,t,n,a,s,o){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Ie(a,t),e===""+a)return}$t(t,e,a,o)}function Dv(e,t,n,a,s,o){if(s.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}$t(t,e,a,o)}function Cp(e,t,n,a,s,o){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(Ie(a,n),e===""+a)return}$t(t,e,a,o)}function Rv(e,t,n,a,s,o){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(Ie(a,t),e===""+a))return}$t(t,e,a,o)}function Mp(e,t,n,a,s,o){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Ie(a,t),n=Wr(""+a),e===n)return}$t(t,e,a,o)}function xv(e,t,n,a){for(var s={},o=new Set,f=e.attributes,h=0;h<f.length;h++)switch(f[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:o.add(f[h].name)}if(Fr(t)){for(var g in n)if(n.hasOwnProperty(g)){var b=n[g];if(b!=null){if(Hs.hasOwnProperty(g))typeof b!="function"&&ka(g,b);else if(n.suppressHydrationWarning!==!0)switch(g){case"children":typeof b!="string"&&typeof b!="number"||$t("children",e.textContent,b,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":f=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=Tv(e,b),$t(g,f,b,s));continue;case"style":o.delete(g),Nv(e,b,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":o.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":o.delete("class"),f=$u(e,"class",b),$t("className",f,b,s);continue;default:a.context===vl&&t!=="svg"&&t!=="math"?o.delete(g.toLowerCase()):o.delete(g),f=$u(e,g,b),$t(g,f,b,s)}}}}else for(b in n)if(n.hasOwnProperty(b)&&(g=n[b],g!=null)){if(Hs.hasOwnProperty(b))typeof g!="function"&&ka(b,g);else if(n.suppressHydrationWarning!==!0)switch(b){case"children":typeof g!="string"&&typeof g!="number"||$t("children",e.textContent,g,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":f=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=Tv(e,g),f!==g&&(s[b]={__html:f}));continue;case"className":qn(e,b,"class",g,o,s);continue;case"tabIndex":qn(e,b,"tabindex",g,o,s);continue;case"style":o.delete(b),Nv(e,g,s);continue;case"multiple":o.delete(b),$t(b,e.multiple,g,s);continue;case"muted":o.delete(b),$t(b,e.muted,g,s);continue;case"autoFocus":o.delete("autofocus"),$t(b,e.autofocus,g,s);continue;case"data":if(t!=="object"){o.delete(b),f=e.getAttribute("data"),$t(b,f,g,s);continue}case"src":case"href":if(!(g!==""||t==="a"&&b==="href"||t==="object"&&b==="data")){console.error(b==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',b,b);continue}Mp(e,b,b,g,o,s);continue;case"action":case"formAction":if(f=e.getAttribute(b),typeof g=="function"){o.delete(b.toLowerCase()),b==="formAction"?(o.delete("name"),o.delete("formenctype"),o.delete("formmethod"),o.delete("formtarget")):(o.delete("enctype"),o.delete("method"),o.delete("target"));continue}else if(f===gD){o.delete(b.toLowerCase()),$t(b,"function",g,s);continue}Mp(e,b,b.toLowerCase(),g,o,s);continue;case"xlinkHref":Mp(e,b,"xlink:href",g,o,s);continue;case"contentEditable":Cp(e,b,"contenteditable",g,o,s);continue;case"spellCheck":Cp(e,b,"spellcheck",g,o,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Cp(e,b,b,g,o,s);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":Dv(e,b,b.toLowerCase(),g,o,s);continue;case"capture":case"download":e:{h=e;var _=f=b,C=s;if(o.delete(_),h=h.getAttribute(_),h===null)switch(typeof g){case"undefined":case"function":case"symbol":break e;default:if(g===!1)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&h==="")break e;break;default:if(Ie(g,f),h===""+g)break e}$t(f,h,g,C)}continue;case"cols":case"rows":case"size":case"span":e:{if(h=e,_=f=b,C=s,o.delete(_),h=h.getAttribute(_),h===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(g)||1>g)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(Ie(g,f),h===""+g))break e}$t(f,h,g,C)}continue;case"rowSpan":Rv(e,b,"rowspan",g,o,s);continue;case"start":Rv(e,b,b,g,o,s);continue;case"xHeight":qn(e,b,"x-height",g,o,s);continue;case"xlinkActuate":qn(e,b,"xlink:actuate",g,o,s);continue;case"xlinkArcrole":qn(e,b,"xlink:arcrole",g,o,s);continue;case"xlinkRole":qn(e,b,"xlink:role",g,o,s);continue;case"xlinkShow":qn(e,b,"xlink:show",g,o,s);continue;case"xlinkTitle":qn(e,b,"xlink:title",g,o,s);continue;case"xlinkType":qn(e,b,"xlink:type",g,o,s);continue;case"xmlBase":qn(e,b,"xml:base",g,o,s);continue;case"xmlLang":qn(e,b,"xml:lang",g,o,s);continue;case"xmlSpace":qn(e,b,"xml:space",g,o,s);continue;case"inert":g!==""||Qf[b]||(Qf[b]=!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.",b)),Dv(e,b,b,g,o,s);continue;default:if(!(2<b.length)||b[0]!=="o"&&b[0]!=="O"||b[1]!=="n"&&b[1]!=="N"){h=_y(b),f=!1,a.context===vl&&t!=="svg"&&t!=="math"?o.delete(h.toLowerCase()):(_=b.toLowerCase(),_=nf.hasOwnProperty(_)&&nf[_]||null,_!==null&&_!==b&&(f=!0,o.delete(_)),o.delete(h));e:if(_=e,C=h,h=g,ba(C))if(_.hasAttribute(C))_=_.getAttribute(C),Ie(h,C),h=_===""+h?h:_;else{switch(typeof h){case"function":case"symbol":break e;case"boolean":if(_=C.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")break e}h=h===void 0?void 0:null}else h=void 0;f||$t(b,h,g,s)}}}return 0<o.size&&n.suppressHydrationWarning!==!0&&eO(e,o,s),Object.keys(s).length===0?null:s}function nO(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function _v(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function aO(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var s=n[a],o=s.transferSize,f=s.initiatorType,h=s.duration;if(o&&h&&_v(f)){for(f=0,h=s.responseEnd,a+=1;a<n.length;a++){var g=n[a],b=g.startTime;if(b>h)break;var _=g.transferSize,C=g.initiatorType;_&&_v(C)&&(g=g.responseEnd,f+=_*(g<h?1:(h-b)/(g-b)))}if(--a,t+=8*(o+f)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Bc(e){return e.nodeType===9?e:e.ownerDocument}function Cv(e){switch(e){case Qi:return wr;case tf:return Jf;default:return vl}}function Mv(e,t){if(e===vl)switch(t){case"svg":return wr;case"math":return Jf;default:return vl}return e===wr&&t==="foreignObject"?vl:e}function Up(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function lO(){var e=window.event;return e&&e.type==="popstate"?e===gg?!1:(gg=e,!0):(gg=null,!1)}function To(){var e=window.event;return e&&e!==vu?e.type:null}function Ao(){var e=window.event;return e&&e!==vu?e.timeStamp:-1.1}function sO(e){setTimeout(function(){throw e})}function iO(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function rO(){}function oO(e,t,n,a){tO(e,t,n,a),e[rn]=a}function Uv(e){Kr(e,"")}function uO(e,t,n){e.nodeValue=n}function kv(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[rn]||null;if(t!==null){var n=P(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,se(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,se(n,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 Vl(e){return e==="head"}function cO(e,t){e.removeChild(t)}function fO(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function zv(e,t){var n=t,a=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===bu||n===Xf){if(a===0){e.removeChild(s),$i(t);return}a--}else if(n===yu||n===cs||n===ii||n===Sr||n===si)a++;else if(n===bD)Oo(e.ownerDocument.documentElement);else if(n===SD){n=e.ownerDocument.head,Oo(n);for(var o=n.firstChild;o;){var f=o.nextSibling,h=o.nodeName;o[Mo]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=f}}else n===vD&&Oo(e.ownerDocument.body);n=s}while(n);$i(t)}function jv(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===bu){if(e===0)break;e--}else n!==yu&&n!==cs&&n!==ii&&n!==Sr||e++;n=a}while(n)}function dO(e){jv(e,!0)}function hO(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function pO(e){e.nodeValue=""}function mO(e){jv(e,!1)}function gO(e,t){t=t[wD],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function yO(e,t){e.nodeValue=t}function kp(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":kp(n),z(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function bO(e,t,n,a){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Mo])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Ie(s.name,"name");var o=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=Cn(e.nextSibling),e===null)break}return null}function vO(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Cn(e.nextSibling),e===null))return null;return e}function Lv(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Cn(e.nextSibling),e===null))return null;return e}function zp(e){return e.data===cs||e.data===ii}function jp(e){return e.data===Sr||e.data===cs&&e.ownerDocument.readyState!==Nw}function SO(e,t){var n=e.ownerDocument;if(e.data===ii)e._reactRetry=t;else if(e.data!==cs||n.readyState!==Nw)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Cn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===yu||t===Sr||t===cs||t===ii||t===si||t===hg||t===Ow)break;if(t===bu||t===Xf)return null}}return e}function Bv(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,s=0;s<a.length;s++){var o=a[s];n[Ov(o.name)]=o.name.toLowerCase()==="style"?_p(e):o.value}return{type:t,props:n}}return e.nodeType===8?e.data===si?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function $v(e,t,n){return n===null||n[yD]!==!0?(e.nodeValue===t?e=null:(t=Hl(t),e=Hl(e.nodeValue)===t?null:e.nodeValue),e):null}function Lp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===bu||n===Xf){if(t===0)return Cn(e.nextSibling);t--}else n!==yu&&n!==Sr&&n!==cs&&n!==ii&&n!==si||t++}e=e.nextSibling}return null}function Hv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===yu||n===Sr||n===cs||n===ii||n===si){if(t===0)return e;t--}else n!==bu&&n!==Xf||t++}e=e.previousSibling}return null}function wO(e){$i(e)}function EO(e){$i(e)}function TO(e){$i(e)}function Vv(e,t,n,a,s){switch(s&&Jd(e,a.ancestorInfo),t=Bc(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function AO(e,t,n,a){if(!n[Ql]&&P(n)){var s=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",s,s,s)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Xt(n,e,t),n[Jt]=a,n[rn]=t}function Oo(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);z(e)}function $c(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function qv(e,t,n){var a=Er;if(a&&typeof t=="string"&&t){var s=Vn(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Mw.has(s)||(Mw.add(s),e={rel:e,crossOrigin:n,href:t},a.querySelector(s)===null&&(t=a.createElement("link"),Xt(t,"link",e),he(t),a.head.appendChild(t)))}}function Yv(e,t,n,a){var s=(s=Yl.current)?$c(s):null;if(!s)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=Li(n.href),t=Ae(s).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Li(n.href);var o=Ae(s).hoistableStyles,f=o.get(e);if(!f&&(s=s.ownerDocument||s,f={type:"stylesheet",instance:null,count:0,state:{loading:oi,preload:null}},o.set(e,f),(o=s.querySelector(No(e)))&&!o._p&&(f.instance=o,f.state.loading=Su|ea),!ta.has(e))){var h={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};ta.set(e,h),o||OO(s,e,h,f.state)}if(t&&a===null)throw n=`
|
|
223
|
+
|
|
224
|
+
- `+Hc(t)+`
|
|
225
|
+
+ `+Hc(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return f}if(t&&a!==null)throw n=`
|
|
226
|
+
|
|
227
|
+
- `+Hc(t)+`
|
|
228
|
+
+ `+Hc(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Bi(n),t=Ae(s).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Hc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):oa.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):oa.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):oa.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Li(e){return'href="'+Vn(e)+'"'}function No(e){return'link[rel="stylesheet"]['+e+"]"}function Gv(e){return ke({},e,{"data-precedence":e.precedence,precedence:null})}function OO(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=Su:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=Su}),t.addEventListener("error",function(){return a.loading|=_w}),Xt(t,"link",n),he(t),e.head.appendChild(t))}function Bi(e){return'[src="'+Vn(e)+'"]'}function Do(e){return"script[async]"+e}function Qv(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Vn(n.href)+'"]');if(a)return t.instance=a,he(a),a;var s=ke({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),he(a),Xt(a,"style",s),Vc(a,n.precedence,e),t.instance=a;case"stylesheet":s=Li(n.href);var o=e.querySelector(No(s));if(o)return t.state.loading|=ea,t.instance=o,he(o),o;a=Gv(n),(s=ta.get(s))&&Bp(a,s),o=(e.ownerDocument||e).createElement("link"),he(o);var f=o;return f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),Xt(o,"link",a),t.state.loading|=ea,Vc(o,n.precedence,e),t.instance=o;case"script":return o=Bi(n.src),(s=e.querySelector(Do(o)))?(t.instance=s,he(s),s):(a=n,(s=ta.get(o))&&(a=ke({},n),$p(a,s)),e=e.ownerDocument||e,s=e.createElement("script"),he(s),Xt(s,"link",a),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&ea)===oi&&(a=t.instance,t.state.loading|=ea,Vc(a,n.precedence,e));return t.instance}function Vc(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,o=s,f=0;f<a.length;f++){var h=a[f];if(h.dataset.precedence===t)o=h;else if(o!==s)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Bp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function $p(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Xv(e,t,n){if(If===null){var a=new Map,s=If=new Map;s.set(n,a)}else s=If,a=s.get(n),a||(a=new Map,s.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var o=n[s];if(!(o[Mo]||o[Jt]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!==Qi){var f=o.getAttribute(t)||"";f=e+f;var h=a.get(f);h?h.push(o):a.set(f,[o])}}return a}function Jv(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function NO(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===wr||t.itemProp!=null)return!a||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){a&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var s=t.onError,o=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),s&&n.push("`onError`"),o!=null&&n.push("`disabled`"),s=nO(n,"and"),s+=n.length===1?" prop":" props",o=n.length===1?"an "+s:"the "+s,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,o,s)}a&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&a&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){a&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Iv(e){return!(e.type==="stylesheet"&&(e.state.loading&Cw)===oi)}function DO(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&ea)===oi){if(n.instance===null){var s=Li(a.href),o=t.querySelector(No(s));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=qc.bind(e),t.then(e,e)),n.state.loading|=ea,n.instance=o,he(o);return}o=t.ownerDocument||t,a=Gv(a),(s=ta.get(s))&&Bp(a,s),o=o.createElement("link"),he(o);var f=o;f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),Xt(o,"link",a),n.instance=o}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&Cw)===oi&&(e.count++,n=qc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function RO(e,t){return e.stylesheets&&e.count===0&&Yc(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Yc(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},AD+t);0<e.imgBytes&&bg===0&&(bg=125*aO()*ND);var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Yc(e,e.stylesheets),e.unsuspend)){var o=e.unsuspend;e.unsuspend=null,o()}},(e.imgBytes>bg?50:OD)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function qc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Yc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zf=new Map,t.forEach(xO,e),Zf=null,qc.call(e))}function xO(e,t){if(!(t.state.loading&ea)){var n=Zf.get(e);if(n)var a=n.get(vg);else{n=new Map,Zf.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<s.length;o++){var f=s[o];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),a=f)}a&&n.set(vg,a)}s=t.instance,f=s.getAttribute("data-precedence"),o=n.get(f)||a,o===a&&n.set(vg,s),n.set(f,s),this.count++,a=qc.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),o?o.parentNode.insertBefore(s,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=ea}}function _O(e,t,n,a,s,o,f,h,g){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ri,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qr(0),this.hiddenUpdates=Qr(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=o,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Zv(e,t,n,a,s,o,f,h,g,b,_,C){return e=new _O(e,t,n,f,g,b,_,C,h),t=KN,o===!0&&(t|=Pt|ua),t|=Re,o=E(3,null,null,t),e.current=o,o.stateNode=e,t=hh(),Us(t),e.pooledCache=t,Us(t),o.memoizedState={element:a,isDehydrated:n,cache:t},bh(o),e}function Kv(e){return e?(e=Zl,e):Zl}function Hp(e,t,n,a,s,o){if(Wt&&typeof Wt.onScheduleFiberRoot=="function")try{Wt.onScheduleFiberRoot(Yi,a,n)}catch(f){Ba||(Ba=!0,console.error("React instrumentation encountered an error: %o",f))}s=Kv(s),a.context===null?a.context=s:a.pendingContext=s,La&&Un!==null&&!jw&&(jw=!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.
|
|
229
|
+
|
|
230
|
+
Check the render method of %s.`,J(Un)||"Unknown")),a=kl(t),a.payload={element:n},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",o),a.callback=o),n=zl(e,a,t),n!==null&&(Ea(t,"root.render()",null),dt(n,e,t),io(n,e,t))}function Fv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Vp(e,t){Fv(e,t),(e=e.alternate)&&Fv(e,t)}function Wv(e){if(e.tag===13||e.tag===31){var t=Ft(e,67108864);t!==null&&dt(t,e,67108864),Vp(e,67108864)}}function Pv(e){if(e.tag===13||e.tag===31){var t=_n(e);t=Rl(t);var n=Ft(e,t);n!==null&&dt(n,e,t),Vp(e,t)}}function CO(){return Un}function MO(e,t,n,a){var s=V.T;V.T=null;var o=Xe.p;try{Xe.p=Yn,qp(e,t,n,a)}finally{Xe.p=o,V.T=s}}function UO(e,t,n,a){var s=V.T;V.T=null;var o=Xe.p;try{Xe.p=Ha,qp(e,t,n,a)}finally{Xe.p=o,V.T=s}}function qp(e,t,n,a){if(Ff){var s=Yp(a);if(s===null)Dp(e,t,a,Wf,n),tS(e,a);else if(kO(s,e,t,n,a))a.stopPropagation();else if(tS(e,a),t&4&&-1<RD.indexOf(e)){for(;s!==null;){var o=P(s);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var f=ya(o.pendingLanes);if(f!==0){var h=o;for(h.pendingLanes|=2,h.entangledLanes|=2;f;){var g=1<<31-sn(f);h.entanglements[1]|=g,f&=~g}Ua(o),(Ge&(zt|Ln))===Yt&&(kf=Ht()+cw,wo(0))}}break;case 31:case 13:h=Ft(o,2),h!==null&&dt(h,o,2),ki(),Vp(o,2)}if(o=Yp(a),o===null&&Dp(e,t,a,Wf,n),o===s)break;s=o}s!==null&&a.stopPropagation()}else Dp(e,t,a,null,n)}}function Yp(e){return e=Id(e),Gp(e)}function Gp(e){if(Wf=null,e=Z(e),e!==null){var t=U(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=L(t),e!==null)return e;e=null}else if(n===31){if(e=Q(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Wf=e,null}function eS(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Yn;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 Ha;case"message":switch(GO()){case lm:return Yn;case sm:return Ha;case qi:case QO:return sl;case im:return Pc;default:return sl}default:return sl}}function tS(e,t){switch(e){case"focusin":case"focusout":fs=null;break;case"dragenter":case"dragleave":ds=null;break;case"mouseover":case"mouseout":hs=null;break;case"pointerover":case"pointerout":Eu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tu.delete(t.pointerId)}}function Ro(e,t,n,a,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:o,targetContainers:[s]},t!==null&&(t=P(t),t!==null&&Wv(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function kO(e,t,n,a,s){switch(t){case"focusin":return fs=Ro(fs,e,t,n,a,s),!0;case"dragenter":return ds=Ro(ds,e,t,n,a,s),!0;case"mouseover":return hs=Ro(hs,e,t,n,a,s),!0;case"pointerover":var o=s.pointerId;return Eu.set(o,Ro(Eu.get(o)||null,e,t,n,a,s)),!0;case"gotpointercapture":return o=s.pointerId,Tu.set(o,Ro(Tu.get(o)||null,e,t,n,a,s)),!0}return!1}function nS(e){var t=Z(e.target);if(t!==null){var n=U(t);if(n!==null){if(t=n.tag,t===13){if(t=L(n),t!==null){e.blockedOn=t,v(e.priority,function(){Pv(n)});return}}else if(t===31){if(t=Q(n),t!==null){e.blockedOn=t,v(e.priority,function(){Pv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yp(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),s=a;Uo!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Uo=s,n.target.dispatchEvent(a),Uo===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."),Uo=null}else return t=P(n),t!==null&&Wv(t),e.blockedOn=n,!1;t.shift()}return!0}function aS(e,t,n){Gc(e)&&n.delete(t)}function zO(){Sg=!1,fs!==null&&Gc(fs)&&(fs=null),ds!==null&&Gc(ds)&&(ds=null),hs!==null&&Gc(hs)&&(hs=null),Eu.forEach(aS),Tu.forEach(aS)}function Qc(e,t){e.blockedOn===t&&(e.blockedOn=null,Sg||(Sg=!0,Tt.unstable_scheduleCallback(Tt.unstable_NormalPriority,zO)))}function lS(e){Pf!==e&&(Pf=e,Tt.unstable_scheduleCallback(Tt.unstable_NormalPriority,function(){Pf===e&&(Pf=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],s=e[t+2];if(typeof a!="function"){if(Gp(a||n)===null)continue;break}var o=P(n);o!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:s,method:n.method,action:a},Object.freeze(n),Gh(o,n,a,s))}}))}function $i(e){function t(g){return Qc(g,e)}fs!==null&&Qc(fs,e),ds!==null&&Qc(ds,e),hs!==null&&Qc(hs,e),Eu.forEach(t),Tu.forEach(t);for(var n=0;n<ps.length;n++){var a=ps[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ps.length&&(n=ps[0],n.blockedOn===null);)nS(n),n.blockedOn===null&&ps.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var s=n[a],o=n[a+1],f=s[rn]||null;if(typeof o=="function")f||lS(n);else if(f){var h=null;if(o&&o.hasAttribute("formAction")){if(s=o,f=o[rn]||null)h=f.formAction;else if(Gp(s)!==null)continue}else h=f.action;typeof h=="function"?n[a+1]=h:(n.splice(a,3),a-=3),lS(n)}}}function sS(){function e(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(f){return s=f})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function Qp(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function iS(e){e[Ql]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Tt=YD(),Xp=Ed(),jO=QD(),ke=Object.assign,LO=Symbol.for("react.element"),za=Symbol.for("react.transitional.element"),Hi=Symbol.for("react.portal"),Vi=Symbol.for("react.fragment"),Jc=Symbol.for("react.strict_mode"),Jp=Symbol.for("react.profiler"),Ip=Symbol.for("react.consumer"),ja=Symbol.for("react.context"),xo=Symbol.for("react.forward_ref"),Zp=Symbol.for("react.suspense"),Kp=Symbol.for("react.suspense_list"),Ic=Symbol.for("react.memo"),Mn=Symbol.for("react.lazy"),Fp=Symbol.for("react.activity"),BO=Symbol.for("react.memo_cache_sentinel"),rS=Symbol.iterator,$O=Symbol.for("react.client.reference"),Ut=Array.isArray,V=Xp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xe=jO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,HO=Object.freeze({pending:!1,data:null,method:null,action:null}),Wp=[],Pp=[],ll=-1,ql=de(null),_o=de(null),Yl=de(null),Zc=de(null),Co=0,oS,uS,cS,fS,dS,hS,pS;Je.__reactDisabledLog=!0;var em,mS,tm=!1,nm=new(typeof WeakMap=="function"?WeakMap:Map),Un=null,La=!1,oa=Object.prototype.hasOwnProperty,am=Tt.unstable_scheduleCallback,VO=Tt.unstable_cancelCallback,qO=Tt.unstable_shouldYield,YO=Tt.unstable_requestPaint,Ht=Tt.unstable_now,GO=Tt.unstable_getCurrentPriorityLevel,lm=Tt.unstable_ImmediatePriority,sm=Tt.unstable_UserBlockingPriority,qi=Tt.unstable_NormalPriority,QO=Tt.unstable_LowPriority,im=Tt.unstable_IdlePriority,XO=Tt.log,JO=Tt.unstable_setDisableYieldValue,Yi=null,Wt=null,Ba=!1,$a=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",sn=Math.clz32?Math.clz32:bi,IO=Math.log,ZO=Math.LN2,Kc=256,Fc=262144,Wc=4194304,Yn=2,Ha=8,sl=32,Pc=268435456,Gl=Math.random().toString(36).slice(2),Jt="__reactFiber$"+Gl,rn="__reactProps$"+Gl,Ql="__reactContainer$"+Gl,rm="__reactEvents$"+Gl,KO="__reactListeners$"+Gl,FO="__reactHandles$"+Gl,gS="__reactResources$"+Gl,Mo="__reactMarker$"+Gl,yS=new Set,Hs={},om={},WO={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},PO=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]*$"),bS={},vS={},eN=/[\n"\\]/g,SS=!1,wS=!1,ES=!1,TS=!1,AS=!1,OS=!1,NS=["value","defaultValue"],DS=!1,RS=/["'&<>\n\t]|^\s|\s$/,tN="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(" "),xS="applet caption html table td th marquee object template foreignObject desc title".split(" "),nN=xS.concat(["button"]),aN="dd dt li option optgroup p rp rt".split(" "),_S={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ef={},um={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"]},CS=/([A-Z])/g,MS=/^ms-/,lN=/^(?:webkit|moz|o)[A-Z]/,sN=/^-ms-/,iN=/-(.)/g,US=/;\s*$/,Gi={},cm={},kS=!1,zS=!1,jS=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(" ")),tf="http://www.w3.org/1998/Math/MathML",Qi="http://www.w3.org/2000/svg",rN=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"]]),nf={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"},LS={"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},Xi={},oN=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]*$"),uN=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]*$"),BS=!1,on={},$S=/^on./,cN=/^on[^A-Z]/,fN=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]*$"),dN=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]*$"),hN=/^[\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,Uo=null,Ji=null,Ii=null,fm=!1,Va=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dm=!1;if(Va)try{var ko={};Object.defineProperty(ko,"passive",{get:function(){dm=!0}}),window.addEventListener("test",ko,ko),window.removeEventListener("test",ko,ko)}catch{dm=!1}var Xl=null,hm=null,af=null,Vs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lf=mn(Vs),zo=ke({},Vs,{view:0,detail:0}),pN=mn(zo),pm,mm,jo,sf=ke({},zo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==jo&&(jo&&e.type==="mousemove"?(pm=e.screenX-jo.screenX,mm=e.screenY-jo.screenY):mm=pm=0,jo=e),pm)},movementY:function(e){return"movementY"in e?e.movementY:mm}}),HS=mn(sf),mN=ke({},sf,{dataTransfer:0}),gN=mn(mN),yN=ke({},zo,{relatedTarget:0}),gm=mn(yN),bN=ke({},Vs,{animationName:0,elapsedTime:0,pseudoElement:0}),vN=mn(bN),SN=ke({},Vs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wN=mn(SN),EN=ke({},Vs,{data:0}),VS=mn(EN),TN=VS,AN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ON={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"},NN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},DN=ke({},zo,{key:function(e){if(e.key){var t=AN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Gu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ON[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zd,charCode:function(e){return e.type==="keypress"?Gu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),RN=mn(DN),xN=ke({},sf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qS=mn(xN),_N=ke({},zo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zd}),CN=mn(_N),MN=ke({},Vs,{propertyName:0,elapsedTime:0,pseudoElement:0}),UN=mn(MN),kN=ke({},sf,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),zN=mn(kN),jN=ke({},Vs,{newState:0,oldState:0}),LN=mn(jN),BN=[9,13,27,32],YS=229,ym=Va&&"CompositionEvent"in window,Lo=null;Va&&"documentMode"in document&&(Lo=document.documentMode);var $N=Va&&"TextEvent"in window&&!Lo,GS=Va&&(!ym||Lo&&8<Lo&&11>=Lo),QS=32,XS=String.fromCharCode(QS),JS=!1,Zi=!1,HN={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},Bo=null,$o=null,IS=!1;Va&&(IS=iA("input")&&(!document.documentMode||9<document.documentMode));var un=typeof Object.is=="function"?Object.is:dA,VN=Va&&"documentMode"in document&&11>=document.documentMode,Ki=null,bm=null,Ho=null,vm=!1,Fi={animationend:Ns("Animation","AnimationEnd"),animationiteration:Ns("Animation","AnimationIteration"),animationstart:Ns("Animation","AnimationStart"),transitionrun:Ns("Transition","TransitionRun"),transitionstart:Ns("Transition","TransitionStart"),transitioncancel:Ns("Transition","TransitionCancel"),transitionend:Ns("Transition","TransitionEnd")},Sm={},ZS={};Va&&(ZS=document.createElement("div").style,"AnimationEvent"in window||(delete Fi.animationend.animation,delete Fi.animationiteration.animation,delete Fi.animationstart.animation),"TransitionEvent"in window||delete Fi.transitionend.transition);var KS=Ds("animationend"),FS=Ds("animationiteration"),WS=Ds("animationstart"),qN=Ds("transitionrun"),YN=Ds("transitionstart"),GN=Ds("transitioncancel"),PS=Ds("transitionend"),e1=new Map,wm="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(" ");wm.push("scrollEnd");var t1=0;if(typeof performance=="object"&&typeof performance.now=="function")var QN=performance,n1=function(){return QN.now()};else{var XN=Date;n1=function(){return XN.now()}}var Em=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},JN="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.",rf=0,Tm=1,Am=2,Om=3,of="– ",uf="+ ",a1=" ",at=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Gn="Components ⚛",Be="Scheduler ⚛",He="Blocking",Jl=!1,il={color:"primary",properties:null,tooltipText:"",track:Gn},Il={start:-0,end:-0,detail:{devtools:il}},IN=["Changed Props",""],l1="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",ZN=["Changed Props",l1],Vo=1,rl=2,Qn=[],Wi=0,Nm=0,Zl={};Object.freeze(Zl);var Xn=null,Pi=null,ve=0,KN=1,Re=2,Pt=8,ua=16,FN=32,s1=!1;try{var i1=Object.preventExtensions({})}catch{s1=!0}var Dm=new WeakMap,er=[],tr=0,cf=null,qo=0,Jn=[],In=0,qs=null,ol=1,ul="",It=null,lt=null,ze=!1,qa=!1,kn=null,Kl=null,Zn=!1,Rm=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."),xm=de(null),_m=de(null),r1={},ff=null,nr=null,ar=!1,WN=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},PN=Tt.unstable_scheduleCallback,eD=Tt.unstable_NormalPriority,At={$$typeof:ja,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ot=Tt.unstable_now,df=console.createTask?console.createTask:function(){return null},Yo=1,hf=2,Vt=-0,Fl=-0,cl=-0,fl=null,cn=-1.1,Ys=-0,ot=-0,me=-1.1,ge=-1.1,rt=null,ht=!1,Gs=-0,Ya=-1.1,Go=null,Wl=0,Cm=null,Mm=null,Qs=-1.1,Qo=null,lr=-1.1,pf=-1.1,dl=-0,hl=-1.1,Kn=-1.1,Um=0,Xo=null,o1=null,u1=null,Pl=-1.1,Xs=null,es=-1.1,mf=-1.1,c1=-0,f1=-0,gf=0,tD=null,d1=0,Jo=-1.1,yf=!1,bf=!1,Io=null,km=0,Js=0,sr=null,h1=V.S;V.S=function(e,t){if(ow=Ht(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>hl&&0>Kn){hl=Ot();var n=Ao(),a=To();(n!==es||a!==Xs)&&(es=-1.1),Pl=n,Xs=a}vA(e,t)}h1!==null&&h1(e,t)};var Is=de(null),ca={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Zo=[],Ko=[],Fo=[],Wo=[],Po=[],eu=[],Zs=new Set;ca.recordUnsafeLifecycleWarnings=function(e,t){Zs.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Zo.push(e),e.mode&Pt&&typeof t.UNSAFE_componentWillMount=="function"&&Ko.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Fo.push(e),e.mode&Pt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Wo.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Po.push(e),e.mode&Pt&&typeof t.UNSAFE_componentWillUpdate=="function"&&eu.push(e))},ca.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Zo.length&&(Zo.forEach(function(h){e.add(J(h)||"Component"),Zs.add(h.type)}),Zo=[]);var t=new Set;0<Ko.length&&(Ko.forEach(function(h){t.add(J(h)||"Component"),Zs.add(h.type)}),Ko=[]);var n=new Set;0<Fo.length&&(Fo.forEach(function(h){n.add(J(h)||"Component"),Zs.add(h.type)}),Fo=[]);var a=new Set;0<Wo.length&&(Wo.forEach(function(h){a.add(J(h)||"Component"),Zs.add(h.type)}),Wo=[]);var s=new Set;0<Po.length&&(Po.forEach(function(h){s.add(J(h)||"Component"),Zs.add(h.type)}),Po=[]);var o=new Set;if(0<eu.length&&(eu.forEach(function(h){o.add(J(h)||"Component"),Zs.add(h.type)}),eu=[]),0<t.size){var f=w(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
231
|
+
|
|
232
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
233
|
+
|
|
234
|
+
Please update the following components: %s`,f)}0<a.size&&(f=w(a),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.
|
|
235
|
+
|
|
236
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
237
|
+
* 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
|
|
238
|
+
|
|
239
|
+
Please update the following components: %s`,f)),0<o.size&&(f=w(o),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.
|
|
240
|
+
|
|
241
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
242
|
+
|
|
243
|
+
Please update the following components: %s`,f)),0<e.size&&(f=w(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
244
|
+
|
|
245
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
246
|
+
* 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.
|
|
247
|
+
|
|
248
|
+
Please update the following components: %s`,f)),0<n.size&&(f=w(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
249
|
+
|
|
250
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
251
|
+
* 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
|
|
252
|
+
* 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.
|
|
253
|
+
|
|
254
|
+
Please update the following components: %s`,f)),0<s.size&&(f=w(s),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
255
|
+
|
|
256
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
257
|
+
* 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.
|
|
258
|
+
|
|
259
|
+
Please update the following components: %s`,f))};var vf=new Map,p1=new Set;ca.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&Pt&&(n=a),a=a.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!p1.has(e.type)&&(a=vf.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],vf.set(n,a)),a.push(e))},ca.flushLegacyContextWarning=function(){vf.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(s){n.add(J(s)||"Component"),p1.add(s.type)});var a=w(n);se(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
260
|
+
|
|
261
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
262
|
+
|
|
263
|
+
Please update the following components: %s
|
|
264
|
+
|
|
265
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},ca.discardPendingWarnings=function(){Zo=[],Ko=[],Fo=[],Wo=[],Po=[],eu=[],vf=new Map};var m1={react_stack_bottom_frame:function(e,t,n){var a=La;La=!0;try{return e(t,n)}finally{La=a}}},zm=m1.react_stack_bottom_frame.bind(m1),g1={react_stack_bottom_frame:function(e){var t=La;La=!0;try{return e.render()}finally{La=t}}},y1=g1.react_stack_bottom_frame.bind(g1),b1={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Qe(e,e.return,n)}}},jm=b1.react_stack_bottom_frame.bind(b1),v1={react_stack_bottom_frame:function(e,t,n,a,s){try{t.componentDidUpdate(n,a,s)}catch(o){Qe(e,e.return,o)}}},S1=v1.react_stack_bottom_frame.bind(v1),w1={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},nD=w1.react_stack_bottom_frame.bind(w1),E1={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){Qe(e,t,a)}}},T1=E1.react_stack_bottom_frame.bind(E1),A1={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},aD=A1.react_stack_bottom_frame.bind(A1),O1={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){Qe(e,t,a)}}},lD=O1.react_stack_bottom_frame.bind(O1),N1={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},sD=N1.react_stack_bottom_frame.bind(N1),ir=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`."),Lm=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."),Sf=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."),wf={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.')}},Ks=null,tu=!1,rr=null,nu=0,xe=null,Bm,D1=Bm=!1,R1={},x1={},_1={};M=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var a=J(e),s=a||"null";if(!R1[s]){R1[s]=!0,n=n._owner,e=e._debugOwner;var o="";e&&typeof e.tag=="number"&&(s=J(e))&&(o=`
|
|
266
|
+
|
|
267
|
+
Check the render method of \``+s+"`."),o||a&&(o=`
|
|
268
|
+
|
|
269
|
+
Check the top-level render call using <`+a+">.");var f="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=J(n):typeof n.name=="string"&&(a=n.name),a&&(f=" It was passed a child from "+a+".")),se(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',o,f)})}}};var Fs=E0(!0),C1=E0(!1),M1=0,U1=1,k1=2,$m=3,ts=!1,z1=!1,Hm=null,Vm=!1,or=de(null),Ef=de(0),zn=de(null),Fn=null,ur=1,au=2,bt=de(0),Tf=0,Wn=1,fn=2,jn=4,dn=8,cr,j1=new Set,L1=new Set,qm=new Set,B1=new Set,pl=0,we=null,We=null,Nt=null,Af=!1,fr=!1,Ws=!1,Of=0,lu=0,ml=null,iD=0,rD=25,H=null,Pn=null,gl=-1,su=!1,iu={readContext:it,use:Bl,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useLayoutEffect:gt,useInsertionEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useSyncExternalStore:gt,useId:gt,useHostTransitionStatus:gt,useFormState:gt,useActionState:gt,useOptimistic:gt,useMemoCache:gt,useCacheRefresh:gt};iu.useEffectEvent=gt;var Ym=null,$1=null,Gm=null,H1=null,Ga=null,fa=null,Nf=null;Ym={readContext:function(e){return it(e)},use:Bl,useCallback:function(e,t){return H="useCallback",Ue(),Di(t),Hh(e,t)},useContext:function(e){return H="useContext",Ue(),it(e)},useEffect:function(e,t){return H="useEffect",Ue(),Di(t),bc(e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",Ue(),Di(n),$h(e,t,n)},useInsertionEffect:function(e,t){H="useInsertionEffect",Ue(),Di(t),zs(4,fn,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",Ue(),Di(t),Bh(e,t)},useMemo:function(e,t){H="useMemo",Ue(),Di(t);var n=V.H;V.H=Ga;try{return Vh(e,t)}finally{V.H=n}},useReducer:function(e,t,n){H="useReducer",Ue();var a=V.H;V.H=Ga;try{return xh(e,t,n)}finally{V.H=a}},useRef:function(e){return H="useRef",Ue(),jh(e)},useState:function(e){H="useState",Ue();var t=V.H;V.H=Ga;try{return Uh(e)}finally{V.H=t}},useDebugValue:function(){H="useDebugValue",Ue()},useDeferredValue:function(e,t){return H="useDeferredValue",Ue(),qh(e,t)},useTransition:function(){return H="useTransition",Ue(),Qh()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",Ue(),Ch(e,t,n)},useId:function(){return H="useId",Ue(),Xh()},useFormState:function(e,t){return H="useFormState",Ue(),hc(),xi(e,t)},useActionState:function(e,t){return H="useActionState",Ue(),xi(e,t)},useOptimistic:function(e){return H="useOptimistic",Ue(),kh(e)},useHostTransitionStatus:js,useMemoCache:ks,useCacheRefresh:function(){return H="useCacheRefresh",Ue(),Jh()},useEffectEvent:function(e){return H="useEffectEvent",Ue(),Lh(e)}},$1={readContext:function(e){return it(e)},use:Bl,useCallback:function(e,t){return H="useCallback",I(),Hh(e,t)},useContext:function(e){return H="useContext",I(),it(e)},useEffect:function(e,t){return H="useEffect",I(),bc(e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",I(),$h(e,t,n)},useInsertionEffect:function(e,t){H="useInsertionEffect",I(),zs(4,fn,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",I(),Bh(e,t)},useMemo:function(e,t){H="useMemo",I();var n=V.H;V.H=Ga;try{return Vh(e,t)}finally{V.H=n}},useReducer:function(e,t,n){H="useReducer",I();var a=V.H;V.H=Ga;try{return xh(e,t,n)}finally{V.H=a}},useRef:function(e){return H="useRef",I(),jh(e)},useState:function(e){H="useState",I();var t=V.H;V.H=Ga;try{return Uh(e)}finally{V.H=t}},useDebugValue:function(){H="useDebugValue",I()},useDeferredValue:function(e,t){return H="useDeferredValue",I(),qh(e,t)},useTransition:function(){return H="useTransition",I(),Qh()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",I(),Ch(e,t,n)},useId:function(){return H="useId",I(),Xh()},useActionState:function(e,t){return H="useActionState",I(),xi(e,t)},useFormState:function(e,t){return H="useFormState",I(),hc(),xi(e,t)},useOptimistic:function(e){return H="useOptimistic",I(),kh(e)},useHostTransitionStatus:js,useMemoCache:ks,useCacheRefresh:function(){return H="useCacheRefresh",I(),Jh()},useEffectEvent:function(e){return H="useEffectEvent",I(),Lh(e)}},Gm={readContext:function(e){return it(e)},use:Bl,useCallback:function(e,t){return H="useCallback",I(),wc(e,t)},useContext:function(e){return H="useContext",I(),it(e)},useEffect:function(e,t){H="useEffect",I(),gn(2048,dn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",I(),Sc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",I(),gn(4,fn,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",I(),gn(4,jn,e,t)},useMemo:function(e,t){H="useMemo",I();var n=V.H;V.H=fa;try{return Ec(e,t)}finally{V.H=n}},useReducer:function(e,t,n){H="useReducer",I();var a=V.H;V.H=fa;try{return Ri(e,t,n)}finally{V.H=a}},useRef:function(){return H="useRef",I(),Ze().memoizedState},useState:function(){H="useState",I();var e=V.H;V.H=fa;try{return Ri(ia)}finally{V.H=e}},useDebugValue:function(){H="useDebugValue",I()},useDeferredValue:function(e,t){return H="useDeferredValue",I(),G0(e,t)},useTransition:function(){return H="useTransition",I(),K0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",I(),mc(e,t,n)},useId:function(){return H="useId",I(),Ze().memoizedState},useFormState:function(e){return H="useFormState",I(),hc(),gc(e)},useActionState:function(e){return H="useActionState",I(),gc(e)},useOptimistic:function(e,t){return H="useOptimistic",I(),k0(e,t)},useHostTransitionStatus:js,useMemoCache:ks,useCacheRefresh:function(){return H="useCacheRefresh",I(),Ze().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",I(),vc(e)}},H1={readContext:function(e){return it(e)},use:Bl,useCallback:function(e,t){return H="useCallback",I(),wc(e,t)},useContext:function(e){return H="useContext",I(),it(e)},useEffect:function(e,t){H="useEffect",I(),gn(2048,dn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",I(),Sc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",I(),gn(4,fn,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",I(),gn(4,jn,e,t)},useMemo:function(e,t){H="useMemo",I();var n=V.H;V.H=Nf;try{return Ec(e,t)}finally{V.H=n}},useReducer:function(e,t,n){H="useReducer",I();var a=V.H;V.H=Nf;try{return co(e,t,n)}finally{V.H=a}},useRef:function(){return H="useRef",I(),Ze().memoizedState},useState:function(){H="useState",I();var e=V.H;V.H=Nf;try{return co(ia)}finally{V.H=e}},useDebugValue:function(){H="useDebugValue",I()},useDeferredValue:function(e,t){return H="useDeferredValue",I(),Q0(e,t)},useTransition:function(){return H="useTransition",I(),F0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",I(),mc(e,t,n)},useId:function(){return H="useId",I(),Ze().memoizedState},useFormState:function(e){return H="useFormState",I(),hc(),yc(e)},useActionState:function(e){return H="useActionState",I(),yc(e)},useOptimistic:function(e,t){return H="useOptimistic",I(),j0(e,t)},useHostTransitionStatus:js,useMemoCache:ks,useCacheRefresh:function(){return H="useCacheRefresh",I(),Ze().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",I(),vc(e)}},Ga={readContext:function(e){return y(),it(e)},use:function(e){return m(),Bl(e)},useCallback:function(e,t){return H="useCallback",m(),Ue(),Hh(e,t)},useContext:function(e){return H="useContext",m(),Ue(),it(e)},useEffect:function(e,t){return H="useEffect",m(),Ue(),bc(e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",m(),Ue(),$h(e,t,n)},useInsertionEffect:function(e,t){H="useInsertionEffect",m(),Ue(),zs(4,fn,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",m(),Ue(),Bh(e,t)},useMemo:function(e,t){H="useMemo",m(),Ue();var n=V.H;V.H=Ga;try{return Vh(e,t)}finally{V.H=n}},useReducer:function(e,t,n){H="useReducer",m(),Ue();var a=V.H;V.H=Ga;try{return xh(e,t,n)}finally{V.H=a}},useRef:function(e){return H="useRef",m(),Ue(),jh(e)},useState:function(e){H="useState",m(),Ue();var t=V.H;V.H=Ga;try{return Uh(e)}finally{V.H=t}},useDebugValue:function(){H="useDebugValue",m(),Ue()},useDeferredValue:function(e,t){return H="useDeferredValue",m(),Ue(),qh(e,t)},useTransition:function(){return H="useTransition",m(),Ue(),Qh()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",m(),Ue(),Ch(e,t,n)},useId:function(){return H="useId",m(),Ue(),Xh()},useFormState:function(e,t){return H="useFormState",m(),Ue(),xi(e,t)},useActionState:function(e,t){return H="useActionState",m(),Ue(),xi(e,t)},useOptimistic:function(e){return H="useOptimistic",m(),Ue(),kh(e)},useMemoCache:function(e){return m(),ks(e)},useHostTransitionStatus:js,useCacheRefresh:function(){return H="useCacheRefresh",Ue(),Jh()},useEffectEvent:function(e){return H="useEffectEvent",m(),Ue(),Lh(e)}},fa={readContext:function(e){return y(),it(e)},use:function(e){return m(),Bl(e)},useCallback:function(e,t){return H="useCallback",m(),I(),wc(e,t)},useContext:function(e){return H="useContext",m(),I(),it(e)},useEffect:function(e,t){H="useEffect",m(),I(),gn(2048,dn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",m(),I(),Sc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",m(),I(),gn(4,fn,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",m(),I(),gn(4,jn,e,t)},useMemo:function(e,t){H="useMemo",m(),I();var n=V.H;V.H=fa;try{return Ec(e,t)}finally{V.H=n}},useReducer:function(e,t,n){H="useReducer",m(),I();var a=V.H;V.H=fa;try{return Ri(e,t,n)}finally{V.H=a}},useRef:function(){return H="useRef",m(),I(),Ze().memoizedState},useState:function(){H="useState",m(),I();var e=V.H;V.H=fa;try{return Ri(ia)}finally{V.H=e}},useDebugValue:function(){H="useDebugValue",m(),I()},useDeferredValue:function(e,t){return H="useDeferredValue",m(),I(),G0(e,t)},useTransition:function(){return H="useTransition",m(),I(),K0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",m(),I(),mc(e,t,n)},useId:function(){return H="useId",m(),I(),Ze().memoizedState},useFormState:function(e){return H="useFormState",m(),I(),gc(e)},useActionState:function(e){return H="useActionState",m(),I(),gc(e)},useOptimistic:function(e,t){return H="useOptimistic",m(),I(),k0(e,t)},useMemoCache:function(e){return m(),ks(e)},useHostTransitionStatus:js,useCacheRefresh:function(){return H="useCacheRefresh",I(),Ze().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",m(),I(),vc(e)}},Nf={readContext:function(e){return y(),it(e)},use:function(e){return m(),Bl(e)},useCallback:function(e,t){return H="useCallback",m(),I(),wc(e,t)},useContext:function(e){return H="useContext",m(),I(),it(e)},useEffect:function(e,t){H="useEffect",m(),I(),gn(2048,dn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",m(),I(),Sc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",m(),I(),gn(4,fn,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",m(),I(),gn(4,jn,e,t)},useMemo:function(e,t){H="useMemo",m(),I();var n=V.H;V.H=fa;try{return Ec(e,t)}finally{V.H=n}},useReducer:function(e,t,n){H="useReducer",m(),I();var a=V.H;V.H=fa;try{return co(e,t,n)}finally{V.H=a}},useRef:function(){return H="useRef",m(),I(),Ze().memoizedState},useState:function(){H="useState",m(),I();var e=V.H;V.H=fa;try{return co(ia)}finally{V.H=e}},useDebugValue:function(){H="useDebugValue",m(),I()},useDeferredValue:function(e,t){return H="useDeferredValue",m(),I(),Q0(e,t)},useTransition:function(){return H="useTransition",m(),I(),F0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",m(),I(),mc(e,t,n)},useId:function(){return H="useId",m(),I(),Ze().memoizedState},useFormState:function(e){return H="useFormState",m(),I(),yc(e)},useActionState:function(e){return H="useActionState",m(),I(),yc(e)},useOptimistic:function(e,t){return H="useOptimistic",m(),I(),j0(e,t)},useMemoCache:function(e){return m(),ks(e)},useHostTransitionStatus:js,useCacheRefresh:function(){return H="useCacheRefresh",I(),Ze().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",m(),I(),vc(e)}};var V1={},q1=new Set,Y1=new Set,G1=new Set,Q1=new Set,X1=new Set,J1=new Set,I1=new Set,Z1=new Set,K1=new Set,F1=new Set;Object.freeze(V1);var Qm={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=_n(e),s=kl(a);s.payload=t,n!=null&&(Zh(n),s.callback=n),t=zl(e,s,a),t!==null&&(Ea(a,"this.setState()",e),dt(t,e,a),io(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=_n(e),s=kl(a);s.tag=U1,s.payload=t,n!=null&&(Zh(n),s.callback=n),t=zl(e,s,a),t!==null&&(Ea(a,"this.replaceState()",e),dt(t,e,a),io(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_n(e),a=kl(n);a.tag=k1,t!=null&&(Zh(t),a.callback=t),t=zl(e,a,n),t!==null&&(Ea(n,"this.forceUpdate()",e),dt(t,e,n),io(t,e,n))}},dr=null,Xm=null,Jm=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."),Dt=!1,W1={},P1={},ew={},tw={},hr=!1,nw={},Df={},Im={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},aw=!1,lw=null;lw=new Set;var yl=!1,Rt=!1,Zm=!1,sw=typeof WeakSet=="function"?WeakSet:Set,qt=null,pr=null,mr=null,xt=null,vn=!1,da=null,kt=!1,ru=8192,oD={getCacheForType:function(e){var t=it(At),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return it(At).controller.signal},getOwner:function(){return Un}};if(typeof Symbol=="function"&&Symbol.for){var ou=Symbol.for;ou("selector.component"),ou("selector.has_pseudo_class"),ou("selector.role"),ou("selector.test_id"),ou("selector.text")}var uD=[],cD=typeof WeakMap=="function"?WeakMap:Map,Yt=0,zt=2,Ln=4,bl=0,uu=1,Ps=2,Rf=3,ns=4,xf=6,iw=5,Ge=Yt,Pe=null,Ce=null,_e=0,Sn=0,_f=1,ei=2,cu=3,rw=4,Km=5,fu=6,Cf=7,Fm=8,ti=9,Ke=Sn,Bn=null,as=!1,gr=!1,Wm=!1,Qa=0,ut=bl,ls=0,ss=0,Pm=0,wn=0,ni=0,du=null,hn=null,Mf=!1,Uf=0,ow=0,uw=300,kf=1/0,cw=500,hu=null,yt=null,is=null,zf=0,eg=1,tg=2,fw=3,rs=0,dw=1,hw=2,pw=3,mw=4,jf=5,_t=0,os=null,yr=null,ha=0,ng=0,ag=-0,lg=null,gw=null,yw=null,pa=zf,bw=null,fD=50,pu=0,sg=null,ig=!1,Lf=!1,dD=50,ai=0,mu=null,br=!1,Bf=null,vw=!1,Sw=new Set,hD={},$f=null,vr=null,rg=!1,og=!1,Hf=!1,ug=!1,us=0,cg={};(function(){for(var e=0;e<wm.length;e++){var t=wm[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),la(n,"on"+t)}la(KS,"onAnimationEnd"),la(FS,"onAnimationIteration"),la(WS,"onAnimationStart"),la("dblclick","onDoubleClick"),la("focusin","onFocus"),la("focusout","onBlur"),la(qN,"onTransitionRun"),la(YN,"onTransitionStart"),la(GN,"onTransitionCancel"),la(PS,"onTransitionEnd")})(),Oe("onMouseEnter",["mouseout","mouseover"]),Oe("onMouseLeave",["mouseout","mouseover"]),Oe("onPointerEnter",["pointerout","pointerover"]),Oe("onPointerLeave",["pointerout","pointerover"]),Ye("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ye("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ye("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ye("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ye("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ye("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gu="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(" "),fg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(gu)),Vf="_reactListening"+Math.random().toString(36).slice(2),ww=!1,Ew=!1,qf=!1,Tw=!1,Yf=!1,Gf=!1,Aw=!1,Qf={},pD=/\r\n?/g,mD=/\u0000|\uFFFD/g,li="http://www.w3.org/1999/xlink",dg="http://www.w3.org/XML/1998/namespace",gD="javascript:throw new Error('React form unexpectedly submitted.')",yD="suppressHydrationWarning",si="&",Xf="/&",yu="$",bu="/$",cs="$?",ii="$~",Sr="$!",bD="html",vD="body",SD="head",hg="F!",Ow="F",Nw="loading",wD="style",vl=0,wr=1,Jf=2,pg=null,mg=null,Dw={dialog:!0,webview:!0},gg=null,vu=void 0,Rw=typeof setTimeout=="function"?setTimeout:void 0,ED=typeof clearTimeout=="function"?clearTimeout:void 0,ri=-1,xw=typeof Promise=="function"?Promise:void 0,TD=typeof queueMicrotask=="function"?queueMicrotask:typeof xw<"u"?function(e){return xw.resolve(null).then(e).catch(sO)}:Rw,yg=null,oi=0,Su=1,_w=2,Cw=3,ea=4,ta=new Map,Mw=new Set,Sl=Xe.d;Xe.d={f:function(){var e=Sl.f(),t=ki();return e||t},r:function(e){var t=P(e);t!==null&&t.tag===5&&t.type==="form"?Z0(t):Sl.r(e)},D:function(e){Sl.D(e),qv("dns-prefetch",e,null)},C:function(e,t){Sl.C(e,t),qv("preconnect",e,t)},L:function(e,t,n){Sl.L(e,t,n);var a=Er;if(a&&e&&t){var s='link[rel="preload"][as="'+Vn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+Vn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+Vn(n.imageSizes)+'"]')):s+='[href="'+Vn(e)+'"]';var o=s;switch(t){case"style":o=Li(e);break;case"script":o=Bi(e)}ta.has(o)||(e=ke({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),ta.set(o,e),a.querySelector(s)!==null||t==="style"&&a.querySelector(No(o))||t==="script"&&a.querySelector(Do(o))||(t=a.createElement("link"),Xt(t,"link",e),he(t),a.head.appendChild(t)))}},m:function(e,t){Sl.m(e,t);var n=Er;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Vn(a)+'"][href="'+Vn(e)+'"]',o=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Bi(e)}if(!ta.has(o)&&(e=ke({rel:"modulepreload",href:e},t),ta.set(o,e),n.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Do(o)))return}a=n.createElement("link"),Xt(a,"link",e),he(a),n.head.appendChild(a)}}},X:function(e,t){Sl.X(e,t);var n=Er;if(n&&e){var a=Ae(n).hoistableScripts,s=Bi(e),o=a.get(s);o||(o=n.querySelector(Do(s)),o||(e=ke({src:e,async:!0},t),(t=ta.get(s))&&$p(e,t),o=n.createElement("script"),he(o),Xt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(s,o))}},S:function(e,t,n){Sl.S(e,t,n);var a=Er;if(a&&e){var s=Ae(a).hoistableStyles,o=Li(e);t=t||"default";var f=s.get(o);if(!f){var h={loading:oi,preload:null};if(f=a.querySelector(No(o)))h.loading=Su|ea;else{e=ke({rel:"stylesheet",href:e,"data-precedence":t},n),(n=ta.get(o))&&Bp(e,n);var g=f=a.createElement("link");he(g),Xt(g,"link",e),g._p=new Promise(function(b,_){g.onload=b,g.onerror=_}),g.addEventListener("load",function(){h.loading|=Su}),g.addEventListener("error",function(){h.loading|=_w}),h.loading|=ea,Vc(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:h},s.set(o,f)}}},M:function(e,t){Sl.M(e,t);var n=Er;if(n&&e){var a=Ae(n).hoistableScripts,s=Bi(e),o=a.get(s);o||(o=n.querySelector(Do(s)),o||(e=ke({src:e,async:!0,type:"module"},t),(t=ta.get(s))&&$p(e,t),o=n.createElement("script"),he(o),Xt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(s,o))}}};var Er=typeof document>"u"?null:document,If=null,AD=6e4,OD=800,ND=500,bg=0,vg=null,Zf=null,ui=HO,wu={$$typeof:ja,Provider:null,Consumer:null,_currentValue:ui,_currentValue2:ui,_threadCount:0},Uw="%c%s%c",kw="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",zw="",Kf=" ",DD=Function.prototype.bind,jw=!1,Lw=null,Bw=null,$w=null,Hw=null,Vw=null,qw=null,Yw=null,Gw=null,Qw=null,Xw=null;Lw=function(e,t,n,a){t=r(e,t),t!==null&&(n=l(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=ke({},e.memoizedProps),n=Ft(e,2),n!==null&&dt(n,e,2))},Bw=function(e,t,n){t=r(e,t),t!==null&&(n=c(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=ke({},e.memoizedProps),n=Ft(e,2),n!==null&&dt(n,e,2))},$w=function(e,t,n,a){t=r(e,t),t!==null&&(n=i(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=ke({},e.memoizedProps),n=Ft(e,2),n!==null&&dt(n,e,2))},Hw=function(e,t,n){e.pendingProps=l(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ft(e,2),t!==null&&dt(t,e,2)},Vw=function(e,t){e.pendingProps=c(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ft(e,2),t!==null&&dt(t,e,2)},qw=function(e,t,n){e.pendingProps=i(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ft(e,2),t!==null&&dt(t,e,2)},Yw=function(e){var t=Ft(e,2);t!==null&&dt(t,e,2)},Gw=function(e){var t=Gr(),n=Ft(e,t);n!==null&&dt(n,e,t)},Qw=function(e){p=e},Xw=function(e){d=e};var Ff=!0,Wf=null,Sg=!1,fs=null,ds=null,hs=null,Eu=new Map,Tu=new Map,ps=[],RD="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(" "),Pf=null;if(Xc.prototype.render=Qp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):R(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,s=_n(a);Hp(a,s,n,t,null,null)},Xc.prototype.unmount=Qp.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Ge&(zt|Ln))!==Yt&&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."),Hp(e.current,2,null,e,null,null),ki(),t[Ql]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=xl();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ps.length&&t!==0&&t<ps[n].priority;n++);ps.splice(n,0,e),n===0&&nS(e)}},(function(){var e=Xp.version;if(e!=="19.2.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
270
|
+
- react: `+(e+`
|
|
271
|
+
- react-dom: 19.2.1
|
|
272
|
+
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"),Xe.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=ne(t),e=e!==null?oe(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.1"};return e.overrideHookState=Lw,e.overrideHookStateDeletePath=Bw,e.overrideHookStateRenamePath=$w,e.overrideProps=Hw,e.overridePropsDeletePath=Vw,e.overridePropsRenamePath=qw,e.scheduleUpdate=Yw,e.scheduleRetry=Gw,e.setErrorHandler=Qw,e.setSuspenseHandler=Xw,e.scheduleRefresh=k,e.scheduleRoot=A,e.setRefreshHandler=T,e.getCurrentFiber=CO,$d(e)})()&&Va&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Jw=window.location.protocol;/^(https?|file):$/.test(Jw)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Jw==="file:"?`
|
|
273
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Au.createRoot=function(e,t){if(!R(e))throw Error("Target container is not a DOM element.");iS(e);var n=!1,a="",s=ab,o=lb,f=sb;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===za&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
274
|
+
|
|
275
|
+
let root = createRoot(domContainer);
|
|
276
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=Zv(e,1,!1,null,null,n,a,null,s,o,f,sS),e[Ql]=t.current,Np(e),new Qp(t)},Au.hydrateRoot=function(e,t,n){if(!R(e))throw Error("Target container is not a DOM element.");iS(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,s="",o=ab,f=lb,h=sb,g=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(h=n.onRecoverableError),n.formState!==void 0&&(g=n.formState)),t=Zv(e,1,!0,t,n??null,a,s,g,o,f,h,sS),t.context=Kv(null),n=t.current,a=_n(n),a=Rl(a),s=kl(a),s.callback=null,zl(n,s,a),Ea(a,"hydrateRoot()",null),n=a,t.current.lanes=n,Dl(t,n),Ua(t),e[Ql]=t.current,Np(e),new Xc(t)},Au.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Au}var iE;function JD(){return iE||(iE=1,Tg.exports=XD()),Tg.exports}var ID=JD();async function ZD(r,l){const i=new DataView(r),u=new Uint8Array(r),c=101010256;let d=-1;for(let w=r.byteLength-22;w>=0;w--)if(i.getUint32(w,!0)===c){d=w;break}if(d===-1)throw new Error("Not a valid ZIP file (no EOCD record found)");const p=i.getUint32(d+16,!0),m=i.getUint16(d+8,!0),y=33639248,S=new TextDecoder;let M=p;for(let w=0;w<m;w++){if(i.getUint32(M,!0)!==y)throw new Error("Malformed ZIP central directory");const E=i.getUint16(M+10,!0),A=i.getUint32(M+20,!0),k=i.getUint16(M+28,!0),T=i.getUint16(M+30,!0),R=i.getUint16(M+32,!0),U=i.getUint32(M+42,!0);if(S.decode(u.subarray(M+46,M+46+k))===l){if(i.getUint32(U,!0)!==67324752)throw new Error("Malformed ZIP local file header");const te=i.getUint16(U+26,!0),ne=i.getUint16(U+28,!0),oe=U+30+te+ne,le=u.subarray(oe,oe+A);if(E===0)return S.decode(le);if(E===8){const X=new DecompressionStream("deflate-raw"),j=X.writable.getWriter(),J=X.readable.getReader();j.write(le),j.close();const de=[];let $=!1;for(;!$;){const{value:F,done:ie}=await J.read();F&&de.push(F),$=ie}const K=de.reduce((F,ie)=>F+ie.length,0),Me=new Uint8Array(K);let ft=0;for(const F of de)Me.set(F,ft),ft+=F.length;return S.decode(Me)}else throw new Error(`Unsupported ZIP compression method: ${E}`)}M+=46+k+T+R}return null}const KD="modulepreload",FD=function(r){return"/"+r},rE={},WD=function(l,i,u){let c=Promise.resolve();if(i&&i.length>0){let p=function(S){return Promise.all(S.map(M=>Promise.resolve(M).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),y=(m==null?void 0:m.nonce)||(m==null?void 0:m.getAttribute("nonce"));c=p(i.map(S=>{if(S=FD(S),S in rE)return;rE[S]=!0;const M=S.endsWith(".css"),w=M?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${S}"]${w}`))return;const E=document.createElement("link");if(E.rel=M?"stylesheet":KD,M||(E.as="script"),E.crossOrigin="",E.href=S,y&&E.setAttribute("nonce",y),document.head.appendChild(E),M)return new Promise((A,k)=>{E.addEventListener("load",A),E.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${S}`)))})}))}function d(p){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=p,window.dispatchEvent(m),!m.defaultPrevented)throw p}return c.then(p=>{for(const m of p||[])m.status==="rejected"&&d(m.reason);return l().catch(d)})};function PD(r,l){const i=/(\x1b\[(\d+(;\d+)*)m)|([^\x1b]+)/g,u=[];let c,d={},p=!1,m=l==null?void 0:l.fg,y=l==null?void 0:l.bg;for(;(c=i.exec(r))!==null;){const[,,S,,M]=c;if(S){const w=+S;switch(w){case 0:d={};break;case 1:d["font-weight"]="bold";break;case 2:d.opacity="0.8";break;case 3:d["font-style"]="italic";break;case 4:d["text-decoration"]="underline";break;case 7:p=!0;break;case 8:d.display="none";break;case 9:d["text-decoration"]="line-through";break;case 22:delete d["font-weight"],delete d["font-style"],delete d.opacity,delete d["text-decoration"];break;case 23:delete d["font-weight"],delete d["font-style"],delete d.opacity;break;case 24:delete d["text-decoration"];break;case 27:p=!1;break;case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:m=oE[w-30];break;case 39:m=l==null?void 0:l.fg;break;case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:y=oE[w-40];break;case 49:y=l==null?void 0:l.bg;break;case 53:d["text-decoration"]="overline";break;case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:m=uE[w-90];break;case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:y=uE[w-100];break}}else if(M){const w={...d},E=p?y:m;E!==void 0&&(w.color=E);const A=p?m:y;A!==void 0&&(w["background-color"]=A),u.push(`<span style="${tR(w)}">${eR(M)}</span>`)}}return u.join("")}const oE={0:"var(--vscode-terminal-ansiBlack)",1:"var(--vscode-terminal-ansiRed)",2:"var(--vscode-terminal-ansiGreen)",3:"var(--vscode-terminal-ansiYellow)",4:"var(--vscode-terminal-ansiBlue)",5:"var(--vscode-terminal-ansiMagenta)",6:"var(--vscode-terminal-ansiCyan)",7:"var(--vscode-terminal-ansiWhite)"},uE={0:"var(--vscode-terminal-ansiBrightBlack)",1:"var(--vscode-terminal-ansiBrightRed)",2:"var(--vscode-terminal-ansiBrightGreen)",3:"var(--vscode-terminal-ansiBrightYellow)",4:"var(--vscode-terminal-ansiBrightBlue)",5:"var(--vscode-terminal-ansiBrightMagenta)",6:"var(--vscode-terminal-ansiBrightCyan)",7:"var(--vscode-terminal-ansiBrightWhite)"};function eR(r){return r.replace(/[&"<>]/g,l=>({"&":"&",'"':""","<":"<",">":">"})[l])}function tR(r){return Object.entries(r).map(([l,i])=>`${l}: ${i}`).join("; ")}const Dg=({text:r,highlighter:l,mimeType:i,linkify:u,readOnly:c,highlight:d,revealLine:p,lineNumbers:m,isFocused:y,focusOnChange:S,wrapLines:M,onChange:w,dataTestId:E,placeholder:A})=>{const[k,T]=DE(),[R]=be.useState(WD(()=>import("./codeMirrorModule-DtudTj_v.js"),__vite__mapDeps([0,1])).then(te=>te.default)),U=be.useRef(null),[L,Q]=be.useState();return be.useEffect(()=>{(async()=>{var X,j;const te=await R;aR(te);const ne=T.current;if(!ne)return;const oe=sR(l)||lR(i)||(u?"text/linkified":"");if(U.current&&oe===U.current.cm.getOption("mode")&&!!c===U.current.cm.getOption("readOnly")&&m===U.current.cm.getOption("lineNumbers")&&M===U.current.cm.getOption("lineWrapping")&&A===U.current.cm.getOption("placeholder"))return;(j=(X=U.current)==null?void 0:X.cm)==null||j.getWrapperElement().remove();const le=te(ne,{value:"",mode:oe,readOnly:!!c,lineNumbers:m,lineWrapping:M,placeholder:A,matchBrackets:!0,autoCloseBrackets:!0,extraKeys:{"Ctrl-F":"findPersistent","Cmd-F":"findPersistent"}});return U.current={cm:le},y&&le.focus(),Q(le),le})()},[R,L,T,l,i,u,m,M,c,y,A]),be.useEffect(()=>{U.current&&U.current.cm.setSize(k.width,k.height)},[k]),be.useLayoutEffect(()=>{var oe;if(!L)return;let te=!1;if(L.getValue()!==r&&(L.setValue(r),te=!0,S&&(L.execCommand("selectAll"),L.focus())),te||JSON.stringify(d)!==JSON.stringify(U.current.highlight)){for(const j of U.current.highlight||[])L.removeLineClass(j.line-1,"wrap");for(const j of d||[])L.addLineClass(j.line-1,"wrap",`source-line-${j.type}`);for(const j of U.current.widgets||[])L.removeLineWidget(j);for(const j of U.current.markers||[])j.clear();const le=[],X=[];for(const j of d||[]){if(j.type!=="subtle-error"&&j.type!=="error")continue;const J=(oe=U.current)==null?void 0:oe.cm.getLine(j.line-1);if(J){const de={};de.title=j.message||"",X.push(L.markText({line:j.line-1,ch:0},{line:j.line-1,ch:j.column||J.length},{className:"source-line-error-underline",attributes:de}))}if(j.type==="error"){const de=document.createElement("div");de.innerHTML=PD(j.message||""),de.className="source-line-error-widget",le.push(L.addLineWidget(j.line,de,{above:!0,coverGutter:!1}))}}U.current.highlight=d,U.current.widgets=le,U.current.markers=X}typeof p=="number"&&U.current.cm.lineCount()>=p&&L.scrollIntoView({line:Math.max(0,p-1),ch:0},50);let ne;return w&&(ne=()=>w(L.getValue()),L.on("change",ne)),()=>{ne&&L.off("change",ne)}},[L,r,d,p,S,w]),Y.jsxDEV("div",{"data-testid":E,className:"cm-wrapper",ref:T,onClick:nR},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/codeMirrorWrapper.tsx",lineNumber:201,columnNumber:10},void 0)};function nR(r){var i;if(!(r.target instanceof HTMLElement))return;let l;r.target.classList.contains("cm-linkified")?l=r.target.textContent:r.target.classList.contains("cm-link")&&((i=r.target.nextElementSibling)!=null&&i.classList.contains("cm-url"))&&(l=r.target.nextElementSibling.textContent.slice(1,-1)),l&&(r.preventDefault(),r.stopPropagation(),window.open(l,"_blank"))}let cE=!1;function aR(r){cE||(cE=!0,r.defineSimpleMode("text/linkified",{start:[{regex:jD,token:"linkified"}]}))}function lR(r){if(r){if(r.includes("javascript")||r.includes("json"))return"javascript";if(r.includes("python"))return"python";if(r.includes("csharp"))return"text/x-csharp";if(r.includes("java"))return"text/x-java";if(r.includes("markdown"))return"markdown";if(r.includes("html")||r.includes("svg"))return"htmlmixed";if(r.includes("css"))return"css"}}function sR(r){if(r)return{javascript:"javascript",jsonl:"javascript",python:"python",csharp:"text/x-csharp",java:"text/x-java",markdown:"markdown",html:"htmlmixed",css:"css",yaml:"yaml"}[r]}const iR=50,rR=({sidebarSize:r,sidebarHidden:l=!1,sidebarIsFirst:i=!1,orientation:u="vertical",minSidebarSize:c=iR,settingName:d,sidebar:p,main:m})=>{const y=Math.max(c,r)*window.devicePixelRatio,[S,M]=Bg(d?d+"."+u+":size":void 0,y),[w,E]=Bg(d?d+"."+u+":size":void 0,y),[A,k]=be.useState(null),[T,R]=DE();let U;u==="vertical"?(U=w/window.devicePixelRatio,T&&T.height<U&&(U=T.height-10)):(U=S/window.devicePixelRatio,T&&T.width<U&&(U=T.width-10)),document.body.style.userSelect=A?"none":"inherit";let L={};return u==="vertical"?i?L={top:A?0:U-4,bottom:A?0:void 0,height:A?"initial":8}:L={bottom:A?0:U-4,top:A?0:void 0,height:A?"initial":8}:i?L={left:A?0:U-4,right:A?0:void 0,width:A?"initial":8}:L={right:A?0:U-4,left:A?0:void 0,width:A?"initial":8},Y.jsxDEV("div",{className:hi("split-view",u,i&&"sidebar-first"),ref:R,children:[Y.jsxDEV("div",{className:"split-view-main",children:m},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/splitView.tsx",lineNumber:78,columnNumber:5},void 0),!l&&Y.jsxDEV("div",{style:{flexBasis:U},className:"split-view-sidebar",children:p},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/splitView.tsx",lineNumber:79,columnNumber:24},void 0),!l&&Y.jsxDEV("div",{style:L,className:"split-view-resizer",onMouseDown:Q=>k({offset:u==="vertical"?Q.clientY:Q.clientX,size:U}),onMouseUp:()=>k(null),onMouseMove:Q=>{if(!Q.buttons)k(null);else if(A){const ne=(u==="vertical"?Q.clientY:Q.clientX)-A.offset,oe=i?A.size+ne:A.size-ne,X=Q.target.parentElement.getBoundingClientRect(),j=Math.min(Math.max(c,oe),(u==="vertical"?X.height:X.width)-c);u==="vertical"?E(j*window.devicePixelRatio):M(j*window.devicePixelRatio)}}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/splitView.tsx",lineNumber:80,columnNumber:24},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/splitView.tsx",lineNumber:77,columnNumber:10},void 0)},xE=({noShadow:r,children:l,noMinHeight:i,className:u,sidebarBackground:c,onClick:d})=>Y.jsxDEV("div",{className:hi("toolbar",r&&"no-shadow",i&&"no-min-height",u,c&&"toolbar-sidebar-background"),onClick:d,children:l},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/toolbar.tsx",lineNumber:37,columnNumber:10},void 0),oR=({tabs:r,selectedTab:l,setSelectedTab:i,leftToolbar:u,rightToolbar:c,dataTestId:d,mode:p})=>{const m=be.useId();return l||(l=r[0].id),p||(p="default"),Y.jsxDEV("div",{className:"tabbed-pane","data-testid":d,children:Y.jsxDEV("div",{className:"vbox",children:[Y.jsxDEV(xE,{children:[u&&Y.jsxDEV("div",{style:{flex:"none",display:"flex",margin:"0 4px",alignItems:"center"},children:[...u]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:48,columnNumber:26},void 0),p==="default"&&Y.jsxDEV("div",{style:{flex:"auto",display:"flex",height:"100%",overflow:"hidden"},role:"tablist",children:[...r.map(y=>Y.jsxDEV(uR,{id:y.id,ariaControls:`${m}-${y.id}`,title:y.title,count:y.count,errorCount:y.errorCount,selected:l===y.id,onSelect:i},y.id,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:53,columnNumber:13},void 0))]},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:51,columnNumber:32},void 0),p==="select"&&Y.jsxDEV("div",{style:{flex:"auto",display:"flex",height:"100%",overflow:"hidden"},role:"tablist",children:Y.jsxDEV("select",{style:{width:"100%",background:"none",cursor:"pointer"},value:l,onChange:y=>{i==null||i(r[y.currentTarget.selectedIndex].id)},children:r.map(y=>{let S="";return y.count&&(S=` (${y.count})`),y.errorCount&&(S=` (${y.errorCount})`),Y.jsxDEV("option",{value:y.id,role:"tab","aria-controls":`${m}-${y.id}`,children:[y.title,S]},y.id,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:75,columnNumber:22},void 0)})},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:66,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:65,columnNumber:31},void 0),c&&Y.jsxDEV("div",{style:{flex:"none",display:"flex",alignItems:"center"},children:[...c]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:79,columnNumber:26},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:47,columnNumber:7},void 0),r.map(y=>{const S="tab-content tab-"+y.id;if(y.component)return Y.jsxDEV("div",{id:`${m}-${y.id}`,role:"tabpanel","aria-label":y.title,className:S,style:{display:l===y.id?"inherit":"none"},children:y.component},y.id,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:87,columnNumber:20},void 0);if(l===y.id)return Y.jsxDEV("div",{id:`${m}-${y.id}`,role:"tabpanel","aria-label":y.title,className:S,children:y.render()},y.id,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:89,columnNumber:20},void 0)})]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:46,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:45,columnNumber:10},void 0)},uR=({id:r,title:l,count:i,errorCount:u,selected:c,onSelect:d,ariaControls:p})=>Y.jsxDEV("div",{className:hi("tabbed-pane-tab",c&&"selected"),onClick:()=>d==null?void 0:d(r),role:"tab",title:l,"aria-controls":p,"aria-selected":c,children:[Y.jsxDEV("div",{className:"tabbed-pane-tab-label",children:l},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:111,columnNumber:5},void 0),!!i&&Y.jsxDEV("div",{className:"tabbed-pane-tab-counter",children:i},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:112,columnNumber:17},void 0),!!u&&Y.jsxDEV("div",{className:"tabbed-pane-tab-counter error",children:u},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:113,columnNumber:22},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/tabbedPane.tsx",lineNumber:105,columnNumber:10},void 0),cR=({sources:r,fileId:l,setFileId:i})=>Y.jsxDEV("select",{className:"source-chooser",hidden:!r.length,title:"Source chooser",value:l,onChange:u=>{i(u.target.selectedOptions[0].value)},children:fR(r)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/sourceChooser.tsx",lineNumber:25,columnNumber:10},void 0);function fR(r){const l=c=>c.replace(/.*[/\\]([^/\\]+)/,"$1"),i=c=>Y.jsxDEV("option",{value:c.id,children:l(c.label)},c.id,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/sourceChooser.tsx",lineNumber:33,columnNumber:5},this),u=new Map;for(const c of r){let d=u.get(c.group||"Debugger");d||(d=[],u.set(c.group||"Debugger",d)),d.push(c)}return[...u.entries()].map(([c,d])=>Y.jsxDEV("optgroup",{label:c,children:d.filter(p=>(p.group||"Debugger")===c).map(p=>i(p))},c,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/sourceChooser.tsx",lineNumber:47,columnNumber:5},this))}function dR(){return{id:"default",isRecorded:!1,text:"",language:"javascript",label:"",highlight:[]}}const Ct=be.forwardRef(function({children:l,title:i="",icon:u,disabled:c=!1,toggled:d=!1,onClick:p=()=>{},style:m,testId:y,className:S,ariaLabel:M},w){return Y.jsxDEV("button",{ref:w,className:hi(S,"toolbar-button",u,d&&"toggled"),onMouseDown:dE,onClick:p,onDoubleClick:dE,title:i,disabled:!!c,style:m,"data-testid":y,"aria-label":M||i,children:[u&&Y.jsxDEV("span",{className:`codicon codicon-${u}`,style:l?{marginRight:5}:{}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/toolbarButton.tsx",lineNumber:58,columnNumber:14},this),l]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/toolbarButton.tsx",lineNumber:46,columnNumber:10},this)}),fE=({style:r})=>Y.jsxDEV("div",{className:"toolbar-separator",style:r},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/components/toolbarButton.tsx",lineNumber:66,columnNumber:10},void 0),dE=r=>{r.stopPropagation(),r.preventDefault()},Mt=function(r,l,i){return r>=l&&r<=i};function En(r){return Mt(r,48,57)}function hE(r){return En(r)||Mt(r,65,70)||Mt(r,97,102)}function hR(r){return Mt(r,65,90)}function pR(r){return Mt(r,97,122)}function mR(r){return hR(r)||pR(r)}function gR(r){return r>=128}function id(r){return mR(r)||gR(r)||r===95}function pE(r){return id(r)||En(r)||r===45}function yR(r){return Mt(r,0,8)||r===11||Mt(r,14,31)||r===127}function rd(r){return r===10}function El(r){return rd(r)||r===9||r===32}const bR=1114111;class Zg extends Error{constructor(l){super(l),this.name="InvalidCharacterError"}}function vR(r){const l=[];for(let i=0;i<r.length;i++){let u=r.charCodeAt(i);if(u===13&&r.charCodeAt(i+1)===10&&(u=10,i++),(u===13||u===12)&&(u=10),u===0&&(u=65533),Mt(u,55296,56319)&&Mt(r.charCodeAt(i+1),56320,57343)){const c=u-55296,d=r.charCodeAt(i+1)-56320;u=Math.pow(2,16)+c*Math.pow(2,10)+d,i++}l.push(u)}return l}function jt(r){if(r<=65535)return String.fromCharCode(r);r-=Math.pow(2,16);const l=Math.floor(r/Math.pow(2,10))+55296,i=r%Math.pow(2,10)+56320;return String.fromCharCode(l)+String.fromCharCode(i)}function SR(r){const l=vR(r);let i=-1;const u=[];let c;const d=function($){return $>=l.length?-1:l[$]},p=function($){if($===void 0&&($=1),$>3)throw"Spec Error: no more than three codepoints of lookahead.";return d(i+$)},m=function($){return $===void 0&&($=1),i+=$,c=d(i),!0},y=function(){return i-=1,!0},S=function($){return $===void 0&&($=c),$===-1},M=function(){if(w(),m(),El(c)){for(;El(p());)m();return new Vg}else{if(c===34)return k();if(c===35)if(pE(p())||U(p(1),p(2))){const $=new GE("");return Q(p(1),p(2),p(3))&&($.type="id"),$.value=le(),$}else return new tn(c);else return c===36?p()===61?(m(),new AR):new tn(c):c===39?k():c===40?new $E:c===41?new HE:c===42?p()===61?(m(),new OR):new tn(c):c===43?oe()?(y(),E()):new tn(c):c===44?new zE:c===45?oe()?(y(),E()):p(1)===45&&p(2)===62?(m(2),new ME):te()?(y(),A()):new tn(c):c===46?oe()?(y(),E()):new tn(c):c===58?new UE:c===59?new kE:c===60?p(1)===33&&p(2)===45&&p(3)===45?(m(3),new CE):new tn(c):c===64?Q(p(1),p(2),p(3))?new YE(le()):new tn(c):c===91?new BE:c===92?L()?(y(),A()):new tn(c):c===93?new qg:c===94?p()===61?(m(),new TR):new tn(c):c===123?new jE:c===124?p()===61?(m(),new ER):p()===124?(m(),new VE):new tn(c):c===125?new LE:c===126?p()===61?(m(),new wR):new tn(c):En(c)?(y(),E()):id(c)?(y(),A()):S()?new ud:new tn(c)}},w=function(){for(;p(1)===47&&p(2)===42;)for(m(2);;)if(m(),c===42&&p()===47){m();break}else if(S())return},E=function(){const $=X();if(Q(p(1),p(2),p(3))){const K=new NR;return K.value=$.value,K.repr=$.repr,K.type=$.type,K.unit=le(),K}else if(p()===37){m();const K=new IE;return K.value=$.value,K.repr=$.repr,K}else{const K=new JE;return K.value=$.value,K.repr=$.repr,K.type=$.type,K}},A=function(){const $=le();if($.toLowerCase()==="url"&&p()===40){for(m();El(p(1))&&El(p(2));)m();return p()===34||p()===39?new cd($):El(p())&&(p(2)===34||p(2)===39)?new cd($):T()}else return p()===40?(m(),new cd($)):new qE($)},k=function($){$===void 0&&($=c);let K="";for(;m();){if(c===$||S())return new QE(K);if(rd(c))return y(),new _E;c===92?S(p())||(rd(p())?m():K+=jt(R())):K+=jt(c)}throw new Error("Internal error")},T=function(){const $=new XE("");for(;El(p());)m();if(S(p()))return $;for(;m();){if(c===41||S())return $;if(El(c)){for(;El(p());)m();return p()===41||S(p())?(m(),$):(J(),new od)}else{if(c===34||c===39||c===40||yR(c))return J(),new od;if(c===92)if(L())$.value+=jt(R());else return J(),new od;else $.value+=jt(c)}}throw new Error("Internal error")},R=function(){if(m(),hE(c)){const $=[c];for(let Me=0;Me<5&&hE(p());Me++)m(),$.push(c);El(p())&&m();let K=parseInt($.map(function(Me){return String.fromCharCode(Me)}).join(""),16);return K>bR&&(K=65533),K}else return S()?65533:c},U=function($,K){return!($!==92||rd(K))},L=function(){return U(c,p())},Q=function($,K,Me){return $===45?id(K)||K===45||U(K,Me):id($)?!0:$===92?U($,K):!1},te=function(){return Q(c,p(1),p(2))},ne=function($,K,Me){return $===43||$===45?!!(En(K)||K===46&&En(Me)):$===46?!!En(K):!!En($)},oe=function(){return ne(c,p(1),p(2))},le=function(){let $="";for(;m();)if(pE(c))$+=jt(c);else if(L())$+=jt(R());else return y(),$;throw new Error("Internal parse error")},X=function(){let $="",K="integer";for((p()===43||p()===45)&&(m(),$+=jt(c));En(p());)m(),$+=jt(c);if(p(1)===46&&En(p(2)))for(m(),$+=jt(c),m(),$+=jt(c),K="number";En(p());)m(),$+=jt(c);const Me=p(1),ft=p(2),F=p(3);if((Me===69||Me===101)&&En(ft))for(m(),$+=jt(c),m(),$+=jt(c),K="number";En(p());)m(),$+=jt(c);else if((Me===69||Me===101)&&(ft===43||ft===45)&&En(F))for(m(),$+=jt(c),m(),$+=jt(c),m(),$+=jt(c),K="number";En(p());)m(),$+=jt(c);const ie=j($);return{type:K,value:ie,repr:$}},j=function($){return+$},J=function(){for(;m();){if(c===41||S())return;L()&&R()}};let de=0;for(;!S(p());)if(u.push(M()),de++,de>l.length*2)throw new Error("I'm infinite-looping!");return u}class wt{constructor(){this.tokenType=""}toJSON(){return{token:this.tokenType}}toString(){return this.tokenType}toSource(){return""+this}}class _E extends wt{constructor(){super(...arguments),this.tokenType="BADSTRING"}}class od extends wt{constructor(){super(...arguments),this.tokenType="BADURL"}}class Vg extends wt{constructor(){super(...arguments),this.tokenType="WHITESPACE"}toString(){return"WS"}toSource(){return" "}}class CE extends wt{constructor(){super(...arguments),this.tokenType="CDO"}toSource(){return"<!--"}}class ME extends wt{constructor(){super(...arguments),this.tokenType="CDC"}toSource(){return"-->"}}class UE extends wt{constructor(){super(...arguments),this.tokenType=":"}}class kE extends wt{constructor(){super(...arguments),this.tokenType=";"}}class zE extends wt{constructor(){super(...arguments),this.tokenType=","}}class jr extends wt{constructor(){super(...arguments),this.value="",this.mirror=""}}class jE extends jr{constructor(){super(),this.tokenType="{",this.value="{",this.mirror="}"}}class LE extends jr{constructor(){super(),this.tokenType="}",this.value="}",this.mirror="{"}}class BE extends jr{constructor(){super(),this.tokenType="[",this.value="[",this.mirror="]"}}class qg extends jr{constructor(){super(),this.tokenType="]",this.value="]",this.mirror="["}}class $E extends jr{constructor(){super(),this.tokenType="(",this.value="(",this.mirror=")"}}class HE extends jr{constructor(){super(),this.tokenType=")",this.value=")",this.mirror="("}}class wR extends wt{constructor(){super(...arguments),this.tokenType="~="}}class ER extends wt{constructor(){super(...arguments),this.tokenType="|="}}class TR extends wt{constructor(){super(...arguments),this.tokenType="^="}}class AR extends wt{constructor(){super(...arguments),this.tokenType="$="}}class OR extends wt{constructor(){super(...arguments),this.tokenType="*="}}class VE extends wt{constructor(){super(...arguments),this.tokenType="||"}}class ud extends wt{constructor(){super(...arguments),this.tokenType="EOF"}toSource(){return""}}class tn extends wt{constructor(l){super(),this.tokenType="DELIM",this.value="",this.value=jt(l)}toString(){return"DELIM("+this.value+")"}toJSON(){const l=this.constructor.prototype.constructor.prototype.toJSON.call(this);return l.value=this.value,l}toSource(){return this.value==="\\"?`\\
|
|
277
|
+
`:this.value}}class Lr extends wt{constructor(){super(...arguments),this.value=""}ASCIIMatch(l){return this.value.toLowerCase()===l.toLowerCase()}toJSON(){const l=this.constructor.prototype.constructor.prototype.toJSON.call(this);return l.value=this.value,l}}class qE extends Lr{constructor(l){super(),this.tokenType="IDENT",this.value=l}toString(){return"IDENT("+this.value+")"}toSource(){return Uu(this.value)}}class cd extends Lr{constructor(l){super(),this.tokenType="FUNCTION",this.value=l,this.mirror=")"}toString(){return"FUNCTION("+this.value+")"}toSource(){return Uu(this.value)+"("}}class YE extends Lr{constructor(l){super(),this.tokenType="AT-KEYWORD",this.value=l}toString(){return"AT("+this.value+")"}toSource(){return"@"+Uu(this.value)}}class GE extends Lr{constructor(l){super(),this.tokenType="HASH",this.value=l,this.type="unrestricted"}toString(){return"HASH("+this.value+")"}toJSON(){const l=this.constructor.prototype.constructor.prototype.toJSON.call(this);return l.value=this.value,l.type=this.type,l}toSource(){return this.type==="id"?"#"+Uu(this.value):"#"+DR(this.value)}}class QE extends Lr{constructor(l){super(),this.tokenType="STRING",this.value=l}toString(){return'"'+ZE(this.value)+'"'}}class XE extends Lr{constructor(l){super(),this.tokenType="URL",this.value=l}toString(){return"URL("+this.value+")"}toSource(){return'url("'+ZE(this.value)+'")'}}class JE extends wt{constructor(){super(),this.tokenType="NUMBER",this.type="integer",this.repr=""}toString(){return this.type==="integer"?"INT("+this.value+")":"NUMBER("+this.value+")"}toJSON(){const l=super.toJSON();return l.value=this.value,l.type=this.type,l.repr=this.repr,l}toSource(){return this.repr}}class IE extends wt{constructor(){super(),this.tokenType="PERCENTAGE",this.repr=""}toString(){return"PERCENTAGE("+this.value+")"}toJSON(){const l=this.constructor.prototype.constructor.prototype.toJSON.call(this);return l.value=this.value,l.repr=this.repr,l}toSource(){return this.repr+"%"}}class NR extends wt{constructor(){super(),this.tokenType="DIMENSION",this.type="integer",this.repr="",this.unit=""}toString(){return"DIM("+this.value+","+this.unit+")"}toJSON(){const l=this.constructor.prototype.constructor.prototype.toJSON.call(this);return l.value=this.value,l.type=this.type,l.repr=this.repr,l.unit=this.unit,l}toSource(){const l=this.repr;let i=Uu(this.unit);return i[0].toLowerCase()==="e"&&(i[1]==="-"||Mt(i.charCodeAt(1),48,57))&&(i="\\65 "+i.slice(1,i.length)),l+i}}function Uu(r){r=""+r;let l="";const i=r.charCodeAt(0);for(let u=0;u<r.length;u++){const c=r.charCodeAt(u);if(c===0)throw new Zg("Invalid character: the input contains U+0000.");Mt(c,1,31)||c===127||u===0&&Mt(c,48,57)||u===1&&Mt(c,48,57)&&i===45?l+="\\"+c.toString(16)+" ":c>=128||c===45||c===95||Mt(c,48,57)||Mt(c,65,90)||Mt(c,97,122)?l+=r[u]:l+="\\"+r[u]}return l}function DR(r){r=""+r;let l="";for(let i=0;i<r.length;i++){const u=r.charCodeAt(i);if(u===0)throw new Zg("Invalid character: the input contains U+0000.");u>=128||u===45||u===95||Mt(u,48,57)||Mt(u,65,90)||Mt(u,97,122)?l+=r[i]:l+="\\"+u.toString(16)+" "}return l}function ZE(r){r=""+r;let l="";for(let i=0;i<r.length;i++){const u=r.charCodeAt(i);if(u===0)throw new Zg("Invalid character: the input contains U+0000.");Mt(u,1,31)||u===127?l+="\\"+u.toString(16)+" ":u===34||u===92?l+="\\"+r[i]:l+=r[i]}return l}class Tn extends Error{}function RR(r,l){let i;try{i=SR(r),i[i.length-1]instanceof ud||i.push(new ud)}catch(j){const J=j.message+` while parsing css selector "${r}". Did you mean to CSS.escape it?`,de=(j.stack||"").indexOf(j.message);throw de!==-1&&(j.stack=j.stack.substring(0,de)+J+j.stack.substring(de+j.message.length)),j.message=J,j}const u=i.find(j=>j instanceof YE||j instanceof _E||j instanceof od||j instanceof VE||j instanceof CE||j instanceof ME||j instanceof kE||j instanceof jE||j instanceof LE||j instanceof XE||j instanceof IE);if(u)throw new Tn(`Unsupported token "${u.toSource()}" while parsing css selector "${r}". Did you mean to CSS.escape it?`);let c=0;const d=new Set;function p(){return new Tn(`Unexpected token "${i[c].toSource()}" while parsing css selector "${r}". Did you mean to CSS.escape it?`)}function m(){for(;i[c]instanceof Vg;)c++}function y(j=c){return i[j]instanceof qE}function S(j=c){return i[j]instanceof QE}function M(j=c){return i[j]instanceof JE}function w(j=c){return i[j]instanceof zE}function E(j=c){return i[j]instanceof $E}function A(j=c){return i[j]instanceof HE}function k(j=c){return i[j]instanceof cd}function T(j=c){return i[j]instanceof tn&&i[j].value==="*"}function R(j=c){return i[j]instanceof ud}function U(j=c){return i[j]instanceof tn&&[">","+","~"].includes(i[j].value)}function L(j=c){return w(j)||A(j)||R(j)||U(j)||i[j]instanceof Vg}function Q(){const j=[te()];for(;m(),!!w();)c++,j.push(te());return j}function te(){return m(),M()||S()?i[c++].value:ne()}function ne(){const j={simples:[]};for(m(),U()?j.simples.push({selector:{functions:[{name:"scope",args:[]}]},combinator:""}):j.simples.push({selector:oe(),combinator:""});;){if(m(),U())j.simples[j.simples.length-1].combinator=i[c++].value,m();else if(L())break;j.simples.push({combinator:"",selector:oe()})}return j}function oe(){let j="";const J=[];for(;!L();)if(y()||T())j+=i[c++].toSource();else if(i[c]instanceof GE)j+=i[c++].toSource();else if(i[c]instanceof tn&&i[c].value===".")if(c++,y())j+="."+i[c++].toSource();else throw p();else if(i[c]instanceof UE)if(c++,y())if(!l.has(i[c].value.toLowerCase()))j+=":"+i[c++].toSource();else{const de=i[c++].value.toLowerCase();J.push({name:de,args:[]}),d.add(de)}else if(k()){const de=i[c++].value.toLowerCase();if(l.has(de)?(J.push({name:de,args:Q()}),d.add(de)):j+=`:${de}(${le()})`,m(),!A())throw p();c++}else throw p();else if(i[c]instanceof BE){for(j+="[",c++;!(i[c]instanceof qg)&&!R();)j+=i[c++].toSource();if(!(i[c]instanceof qg))throw p();j+="]",c++}else throw p();if(!j&&!J.length)throw p();return{css:j||void 0,functions:J}}function le(){let j="",J=1;for(;!R()&&((E()||k())&&J++,A()&&J--,!!J);)j+=i[c++].toSource();return j}const X=Q();if(!R())throw p();if(X.some(j=>typeof j!="object"||!("simples"in j)))throw new Tn(`Error while parsing css selector "${r}". Did you mean to CSS.escape it?`);return{selector:X,names:Array.from(d)}}const mE=new Set(["internal:has","internal:has-not","internal:and","internal:or","internal:chain","left-of","right-of","above","below","near"]),xR=new Set(["left-of","right-of","above","below","near"]),_R=new Set(["not","is","where","has","scope","light","visible","text","text-matches","text-is","has-text","above","below","right-of","left-of","near","nth-match"]);function KE(r){const l=MR(r),i=[];for(const u of l.parts){if(u.name==="css"||u.name==="css:light"){u.name==="css:light"&&(u.body=":light("+u.body+")");const c=RR(u.body,_R);i.push({name:"css",body:c.selector,source:u.body});continue}if(mE.has(u.name)){let c,d;try{const S=JSON.parse("["+u.body+"]");if(!Array.isArray(S)||S.length<1||S.length>2||typeof S[0]!="string")throw new Tn(`Malformed selector: ${u.name}=`+u.body);if(c=S[0],S.length===2){if(typeof S[1]!="number"||!xR.has(u.name))throw new Tn(`Malformed selector: ${u.name}=`+u.body);d=S[1]}}catch{throw new Tn(`Malformed selector: ${u.name}=`+u.body)}const p={name:u.name,source:u.body,body:{parsed:KE(c),distance:d}},m=[...p.body.parsed.parts].reverse().find(S=>S.name==="internal:control"&&S.body==="enter-frame"),y=m?p.body.parsed.parts.indexOf(m):-1;y!==-1&&CR(p.body.parsed.parts.slice(0,y+1),i.slice(0,y+1))&&p.body.parsed.parts.splice(0,y+1),i.push(p);continue}i.push({...u,source:u.body})}if(mE.has(i[0].name))throw new Tn(`"${i[0].name}" selector cannot be first`);return{capture:l.capture,parts:i}}function CR(r,l){return Dr({parts:r})===Dr({parts:l})}function Dr(r,l){return typeof r=="string"?r:r.parts.map((i,u)=>{let c=!0;!l&&u!==r.capture&&(i.name==="css"||i.name==="xpath"&&i.source.startsWith("//")||i.source.startsWith(".."))&&(c=!1);const d=c?i.name+"=":"";return`${u===r.capture?"*":""}${d}${i.source}`}).join(" >> ")}function MR(r){let l=0,i,u=0;const c={parts:[]},d=()=>{const m=r.substring(u,l).trim(),y=m.indexOf("=");let S,M;y!==-1&&m.substring(0,y).trim().match(/^[a-zA-Z_0-9-+:*]+$/)?(S=m.substring(0,y).trim(),M=m.substring(y+1)):m.length>1&&m[0]==='"'&&m[m.length-1]==='"'||m.length>1&&m[0]==="'"&&m[m.length-1]==="'"?(S="text",M=m):/^\(*\/\//.test(m)||m.startsWith("..")?(S="xpath",M=m):(S="css",M=m);let w=!1;if(S[0]==="*"&&(w=!0,S=S.substring(1)),c.parts.push({name:S,body:M}),w){if(c.capture!==void 0)throw new Tn("Only one of the selectors can capture using * modifier");c.capture=c.parts.length-1}};if(!r.includes(">>"))return l=r.length,d(),c;const p=()=>{const y=r.substring(u,l).match(/^\s*text\s*=(.*)$/);return!!y&&!!y[1]};for(;l<r.length;){const m=r[l];m==="\\"&&l+1<r.length?l+=2:m===i?(i=void 0,l++):!i&&(m==='"'||m==="'"||m==="`")&&!p()?(i=m,l++):!i&&m===">"&&r[l+1]===">"?(d(),l+=2,u=l):l++}return d(),c}function Rg(r,l){let i=0,u=r.length===0;const c=()=>r[i]||"",d=()=>{const R=c();return++i,u=i>=r.length,R},p=R=>{throw u?new Tn(`Unexpected end of selector while parsing selector \`${r}\``):new Tn(`Error while parsing selector \`${r}\` - unexpected symbol "${c()}" at position ${i}`+(R?" during "+R:""))};function m(){for(;!u&&/\s/.test(c());)d()}function y(R){return R>=""||R>="0"&&R<="9"||R>="A"&&R<="Z"||R>="a"&&R<="z"||R>="0"&&R<="9"||R==="_"||R==="-"}function S(){let R="";for(m();!u&&y(c());)R+=d();return R}function M(R){let U=d();for(U!==R&&p("parsing quoted string");!u&&c()!==R;)c()==="\\"&&d(),U+=d();return c()!==R&&p("parsing quoted string"),U+=d(),U}function w(){d()!=="/"&&p("parsing regular expression");let R="",U=!1;for(;!u;){if(c()==="\\")R+=d(),u&&p("parsing regular expression");else if(U&&c()==="]")U=!1;else if(!U&&c()==="[")U=!0;else if(!U&&c()==="/")break;R+=d()}d()!=="/"&&p("parsing regular expression");let L="";for(;!u&&c().match(/[dgimsuy]/);)L+=d();try{return new RegExp(R,L)}catch(Q){throw new Tn(`Error while parsing selector \`${r}\`: ${Q.message}`)}}function E(){let R="";return m(),c()==="'"||c()==='"'?R=M(c()).slice(1,-1):R=S(),R||p("parsing property path"),R}function A(){m();let R="";return u||(R+=d()),!u&&R!=="="&&(R+=d()),["=","*=","^=","$=","|=","~="].includes(R)||p("parsing operator"),R}function k(){d();const R=[];for(R.push(E()),m();c()===".";)d(),R.push(E()),m();if(c()==="]")return d(),{name:R.join("."),jsonPath:R,op:"<truthy>",value:null,caseSensitive:!1};const U=A();let L,Q=!0;if(m(),c()==="/"){if(U!=="=")throw new Tn(`Error while parsing selector \`${r}\` - cannot use ${U} in attribute with regular expression`);L=w()}else if(c()==="'"||c()==='"')L=M(c()).slice(1,-1),m(),c()==="i"||c()==="I"?(Q=!1,d()):(c()==="s"||c()==="S")&&(Q=!0,d());else{for(L="";!u&&(y(c())||c()==="+"||c()===".");)L+=d();L==="true"?L=!0:L==="false"&&(L=!1)}if(m(),c()!=="]"&&p("parsing attribute value"),d(),U!=="="&&typeof L!="string")throw new Tn(`Error while parsing selector \`${r}\` - cannot use ${U} in attribute with non-string matching value - ${L}`);return{name:R.join("."),jsonPath:R,op:U,value:L,caseSensitive:Q}}const T={name:"",attributes:[]};for(T.name=S(),m();c()==="[";)T.attributes.push(k()),m();if(u||p(void 0),!T.name&&!T.attributes.length)throw new Tn(`Error while parsing selector \`${r}\` - selector cannot be empty`);return T}function Td(r,l="'"){const i=JSON.stringify(r),u=i.substring(1,i.length-1).replace(/\\"/g,'"');if(l==="'")return l+u.replace(/[']/g,"\\'")+l;if(l==='"')return l+u.replace(/["]/g,'\\"')+l;if(l==="`")return l+u.replace(/[`]/g,"\\`")+l;throw new Error("Invalid escape char")}function gd(r){return r.charAt(0).toUpperCase()+r.substring(1)}function FE(r){return r.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replace(/([A-Z])([A-Z][a-z])/g,"$1_$2").toLowerCase()}function Ad(r){return r.replace(/(^|[^\\])(\\\\)*\\(['"`])/g,"$1$2$3")}function WE(r,l,i=!1){return UR(r,l,i,1)[0]}function UR(r,l,i=!1,u=20,c){try{return Nr(new VR[r](c),KE(l),i,u)}catch{return[l]}}function Nr(r,l,i=!1,u=20){const c=[...l.parts],d=[];let p=i?"frame-locator":"page";for(let m=0;m<c.length;m++){const y=c[m],S=p;if(p="locator",y.name==="internal:describe")continue;if(y.name==="nth"){y.body==="0"?d.push([r.generateLocator(S,"first",""),r.generateLocator(S,"nth","0")]):y.body==="-1"?d.push([r.generateLocator(S,"last",""),r.generateLocator(S,"nth","-1")]):d.push([r.generateLocator(S,"nth",y.body)]);continue}if(y.name==="visible"){d.push([r.generateLocator(S,"visible",y.body),r.generateLocator(S,"default",`visible=${y.body}`)]);continue}if(y.name==="internal:text"){const{exact:k,text:T}=Ou(y.body);d.push([r.generateLocator(S,"text",T,{exact:k})]);continue}if(y.name==="internal:has-text"){const{exact:k,text:T}=Ou(y.body);if(!k){d.push([r.generateLocator(S,"has-text",T,{exact:k})]);continue}}if(y.name==="internal:has-not-text"){const{exact:k,text:T}=Ou(y.body);if(!k){d.push([r.generateLocator(S,"has-not-text",T,{exact:k})]);continue}}if(y.name==="internal:has"){const k=Nr(r,y.body.parsed,!1,u);d.push(k.map(T=>r.generateLocator(S,"has",T)));continue}if(y.name==="internal:has-not"){const k=Nr(r,y.body.parsed,!1,u);d.push(k.map(T=>r.generateLocator(S,"hasNot",T)));continue}if(y.name==="internal:and"){const k=Nr(r,y.body.parsed,!1,u);d.push(k.map(T=>r.generateLocator(S,"and",T)));continue}if(y.name==="internal:or"){const k=Nr(r,y.body.parsed,!1,u);d.push(k.map(T=>r.generateLocator(S,"or",T)));continue}if(y.name==="internal:chain"){const k=Nr(r,y.body.parsed,!1,u);d.push(k.map(T=>r.generateLocator(S,"chain",T)));continue}if(y.name==="internal:label"){const{exact:k,text:T}=Ou(y.body);d.push([r.generateLocator(S,"label",T,{exact:k})]);continue}if(y.name==="internal:role"){const k=Rg(y.body),T={attrs:[]};for(const R of k.attributes)R.name==="name"?(T.exact=R.caseSensitive,T.name=R.value):(R.name==="level"&&typeof R.value=="string"&&(R.value=+R.value),T.attrs.push({name:R.name==="include-hidden"?"includeHidden":R.name,value:R.value}));d.push([r.generateLocator(S,"role",k.name,T)]);continue}if(y.name==="internal:testid"){const k=Rg(y.body),{value:T}=k.attributes[0];d.push([r.generateLocator(S,"test-id",T)]);continue}if(y.name==="internal:attr"){const k=Rg(y.body),{name:T,value:R,caseSensitive:U}=k.attributes[0],L=R,Q=!!U;if(T==="placeholder"){d.push([r.generateLocator(S,"placeholder",L,{exact:Q})]);continue}if(T==="alt"){d.push([r.generateLocator(S,"alt",L,{exact:Q})]);continue}if(T==="title"){d.push([r.generateLocator(S,"title",L,{exact:Q})]);continue}}if(y.name==="internal:control"&&y.body==="enter-frame"){const k=d[d.length-1],T=c[m-1],R=k.map(U=>r.chainLocators([U,r.generateLocator(S,"frame","")]));["xpath","css"].includes(T.name)&&R.push(r.generateLocator(S,"frame-locator",Dr({parts:[T]})),r.generateLocator(S,"frame-locator",Dr({parts:[T]},!0))),k.splice(0,k.length,...R),p="frame-locator";continue}const M=c[m+1],w=Dr({parts:[y]}),E=r.generateLocator(S,"default",w);if(M&&["internal:has-text","internal:has-not-text"].includes(M.name)){const{exact:k,text:T}=Ou(M.body);if(!k){const R=r.generateLocator("locator",M.name==="internal:has-text"?"has-text":"has-not-text",T,{exact:k}),U={};M.name==="internal:has-text"?U.hasText=T:U.hasNotText=T;const L=r.generateLocator(S,"default",w,U);d.push([r.chainLocators([E,R]),L]),m++;continue}}let A;if(["xpath","css"].includes(y.name)){const k=Dr({parts:[y]},!0);A=r.generateLocator(S,"default",k)}d.push([E,A].filter(Boolean))}return kR(r,d,u)}function kR(r,l,i){const u=l.map(()=>""),c=[],d=p=>{if(p===l.length)return c.push(r.chainLocators(u)),c.length<i;for(const m of l[p])if(u[p]=m,!d(p+1))return!1;return!0};return d(0),c}function Ou(r){let l=!1;const i=r.match(/^\/(.*)\/([igm]*)$/);return i?{text:new RegExp(i[1],i[2])}:(r.endsWith('"')?(r=JSON.parse(r),l=!0):r.endsWith('"s')?(r=JSON.parse(r.substring(0,r.length-1)),l=!0):r.endsWith('"i')&&(r=JSON.parse(r.substring(0,r.length-1)),l=!1),{exact:l,text:r})}class zR{constructor(l){this.preferredQuote=l}generateLocator(l,i,u,c={}){switch(i){case"default":return c.hasText!==void 0?`locator(${this.quote(u)}, { hasText: ${this.toHasText(c.hasText)} })`:c.hasNotText!==void 0?`locator(${this.quote(u)}, { hasNotText: ${this.toHasText(c.hasNotText)} })`:`locator(${this.quote(u)})`;case"frame-locator":return`frameLocator(${this.quote(u)})`;case"frame":return"contentFrame()";case"nth":return`nth(${u})`;case"first":return"first()";case"last":return"last()";case"visible":return`filter({ visible: ${u==="true"?"true":"false"} })`;case"role":const d=[];St(c.name)?d.push(`name: ${this.regexToSourceString(c.name)}`):typeof c.name=="string"&&(d.push(`name: ${this.quote(c.name)}`),c.exact&&d.push("exact: true"));for(const{name:m,value:y}of c.attrs)d.push(`${m}: ${typeof y=="string"?this.quote(y):y}`);const p=d.length?`, { ${d.join(", ")} }`:"";return`getByRole(${this.quote(u)}${p})`;case"has-text":return`filter({ hasText: ${this.toHasText(u)} })`;case"has-not-text":return`filter({ hasNotText: ${this.toHasText(u)} })`;case"has":return`filter({ has: page.${u} })`;case"hasNot":return`filter({ hasNot: page.${u} })`;case"and":return`and(page.${u})`;case"or":return`or(page.${u})`;case"chain":return`locator(${u})`;case"test-id":return`getByTestId(${this.toTestIdValue(u)})`;case"text":return this.toCallWithExact("getByText",u,!!c.exact);case"alt":return this.toCallWithExact("getByAltText",u,!!c.exact);case"placeholder":return this.toCallWithExact("getByPlaceholder",u,!!c.exact);case"label":return this.toCallWithExact("getByLabel",u,!!c.exact);case"title":return this.toCallWithExact("getByTitle",u,!!c.exact);default:throw new Error("Unknown selector kind "+i)}}chainLocators(l){return l.join(".")}regexToSourceString(l){return Ad(String(l))}toCallWithExact(l,i,u){return St(i)?`${l}(${this.regexToSourceString(i)})`:u?`${l}(${this.quote(i)}, { exact: true })`:`${l}(${this.quote(i)})`}toHasText(l){return St(l)?this.regexToSourceString(l):this.quote(l)}toTestIdValue(l){return St(l)?this.regexToSourceString(l):this.quote(l)}quote(l){return Td(l,this.preferredQuote??"'")}}class jR{generateLocator(l,i,u,c={}){switch(i){case"default":return c.hasText!==void 0?`locator(${this.quote(u)}, has_text=${this.toHasText(c.hasText)})`:c.hasNotText!==void 0?`locator(${this.quote(u)}, has_not_text=${this.toHasText(c.hasNotText)})`:`locator(${this.quote(u)})`;case"frame-locator":return`frame_locator(${this.quote(u)})`;case"frame":return"content_frame";case"nth":return`nth(${u})`;case"first":return"first";case"last":return"last";case"visible":return`filter(visible=${u==="true"?"True":"False"})`;case"role":const d=[];St(c.name)?d.push(`name=${this.regexToString(c.name)}`):typeof c.name=="string"&&(d.push(`name=${this.quote(c.name)}`),c.exact&&d.push("exact=True"));for(const{name:m,value:y}of c.attrs){let S=typeof y=="string"?this.quote(y):y;typeof y=="boolean"&&(S=y?"True":"False"),d.push(`${FE(m)}=${S}`)}const p=d.length?`, ${d.join(", ")}`:"";return`get_by_role(${this.quote(u)}${p})`;case"has-text":return`filter(has_text=${this.toHasText(u)})`;case"has-not-text":return`filter(has_not_text=${this.toHasText(u)})`;case"has":return`filter(has=page.${u})`;case"hasNot":return`filter(has_not=page.${u})`;case"and":return`and_(page.${u})`;case"or":return`or_(page.${u})`;case"chain":return`locator(${u})`;case"test-id":return`get_by_test_id(${this.toTestIdValue(u)})`;case"text":return this.toCallWithExact("get_by_text",u,!!c.exact);case"alt":return this.toCallWithExact("get_by_alt_text",u,!!c.exact);case"placeholder":return this.toCallWithExact("get_by_placeholder",u,!!c.exact);case"label":return this.toCallWithExact("get_by_label",u,!!c.exact);case"title":return this.toCallWithExact("get_by_title",u,!!c.exact);default:throw new Error("Unknown selector kind "+i)}}chainLocators(l){return l.join(".")}regexToString(l){const i=l.flags.includes("i")?", re.IGNORECASE":"";return`re.compile(r"${Ad(l.source).replace(/\\\//,"/").replace(/"/g,'\\"')}"${i})`}toCallWithExact(l,i,u){return St(i)?`${l}(${this.regexToString(i)})`:u?`${l}(${this.quote(i)}, exact=True)`:`${l}(${this.quote(i)})`}toHasText(l){return St(l)?this.regexToString(l):`${this.quote(l)}`}toTestIdValue(l){return St(l)?this.regexToString(l):this.quote(l)}quote(l){return Td(l,'"')}}class LR{generateLocator(l,i,u,c={}){let d;switch(l){case"page":d="Page";break;case"frame-locator":d="FrameLocator";break;case"locator":d="Locator";break}switch(i){case"default":return c.hasText!==void 0?`locator(${this.quote(u)}, new ${d}.LocatorOptions().setHasText(${this.toHasText(c.hasText)}))`:c.hasNotText!==void 0?`locator(${this.quote(u)}, new ${d}.LocatorOptions().setHasNotText(${this.toHasText(c.hasNotText)}))`:`locator(${this.quote(u)})`;case"frame-locator":return`frameLocator(${this.quote(u)})`;case"frame":return"contentFrame()";case"nth":return`nth(${u})`;case"first":return"first()";case"last":return"last()";case"visible":return`filter(new ${d}.FilterOptions().setVisible(${u==="true"?"true":"false"}))`;case"role":const p=[];St(c.name)?p.push(`.setName(${this.regexToString(c.name)})`):typeof c.name=="string"&&(p.push(`.setName(${this.quote(c.name)})`),c.exact&&p.push(".setExact(true)"));for(const{name:y,value:S}of c.attrs)p.push(`.set${gd(y)}(${typeof S=="string"?this.quote(S):S})`);const m=p.length?`, new ${d}.GetByRoleOptions()${p.join("")}`:"";return`getByRole(AriaRole.${FE(u).toUpperCase()}${m})`;case"has-text":return`filter(new ${d}.FilterOptions().setHasText(${this.toHasText(u)}))`;case"has-not-text":return`filter(new ${d}.FilterOptions().setHasNotText(${this.toHasText(u)}))`;case"has":return`filter(new ${d}.FilterOptions().setHas(page.${u}))`;case"hasNot":return`filter(new ${d}.FilterOptions().setHasNot(page.${u}))`;case"and":return`and(page.${u})`;case"or":return`or(page.${u})`;case"chain":return`locator(${u})`;case"test-id":return`getByTestId(${this.toTestIdValue(u)})`;case"text":return this.toCallWithExact(d,"getByText",u,!!c.exact);case"alt":return this.toCallWithExact(d,"getByAltText",u,!!c.exact);case"placeholder":return this.toCallWithExact(d,"getByPlaceholder",u,!!c.exact);case"label":return this.toCallWithExact(d,"getByLabel",u,!!c.exact);case"title":return this.toCallWithExact(d,"getByTitle",u,!!c.exact);default:throw new Error("Unknown selector kind "+i)}}chainLocators(l){return l.join(".")}regexToString(l){const i=l.flags.includes("i")?", Pattern.CASE_INSENSITIVE":"";return`Pattern.compile(${this.quote(Ad(l.source))}${i})`}toCallWithExact(l,i,u,c){return St(u)?`${i}(${this.regexToString(u)})`:c?`${i}(${this.quote(u)}, new ${l}.${gd(i)}Options().setExact(true))`:`${i}(${this.quote(u)})`}toHasText(l){return St(l)?this.regexToString(l):this.quote(l)}toTestIdValue(l){return St(l)?this.regexToString(l):this.quote(l)}quote(l){return Td(l,'"')}}class BR{generateLocator(l,i,u,c={}){switch(i){case"default":return c.hasText!==void 0?`Locator(${this.quote(u)}, new() { ${this.toHasText(c.hasText)} })`:c.hasNotText!==void 0?`Locator(${this.quote(u)}, new() { ${this.toHasNotText(c.hasNotText)} })`:`Locator(${this.quote(u)})`;case"frame-locator":return`FrameLocator(${this.quote(u)})`;case"frame":return"ContentFrame";case"nth":return`Nth(${u})`;case"first":return"First";case"last":return"Last";case"visible":return`Filter(new() { Visible = ${u==="true"?"true":"false"} })`;case"role":const d=[];St(c.name)?d.push(`NameRegex = ${this.regexToString(c.name)}`):typeof c.name=="string"&&(d.push(`Name = ${this.quote(c.name)}`),c.exact&&d.push("Exact = true"));for(const{name:m,value:y}of c.attrs)d.push(`${gd(m)} = ${typeof y=="string"?this.quote(y):y}`);const p=d.length?`, new() { ${d.join(", ")} }`:"";return`GetByRole(AriaRole.${gd(u)}${p})`;case"has-text":return`Filter(new() { ${this.toHasText(u)} })`;case"has-not-text":return`Filter(new() { ${this.toHasNotText(u)} })`;case"has":return`Filter(new() { Has = Page.${u} })`;case"hasNot":return`Filter(new() { HasNot = Page.${u} })`;case"and":return`And(Page.${u})`;case"or":return`Or(Page.${u})`;case"chain":return`Locator(${u})`;case"test-id":return`GetByTestId(${this.toTestIdValue(u)})`;case"text":return this.toCallWithExact("GetByText",u,!!c.exact);case"alt":return this.toCallWithExact("GetByAltText",u,!!c.exact);case"placeholder":return this.toCallWithExact("GetByPlaceholder",u,!!c.exact);case"label":return this.toCallWithExact("GetByLabel",u,!!c.exact);case"title":return this.toCallWithExact("GetByTitle",u,!!c.exact);default:throw new Error("Unknown selector kind "+i)}}chainLocators(l){return l.join(".")}regexToString(l){const i=l.flags.includes("i")?", RegexOptions.IgnoreCase":"";return`new Regex(${this.quote(Ad(l.source))}${i})`}toCallWithExact(l,i,u){return St(i)?`${l}(${this.regexToString(i)})`:u?`${l}(${this.quote(i)}, new() { Exact = true })`:`${l}(${this.quote(i)})`}toHasText(l){return St(l)?`HasTextRegex = ${this.regexToString(l)}`:`HasText = ${this.quote(l)}`}toTestIdValue(l){return St(l)?this.regexToString(l):this.quote(l)}toHasNotText(l){return St(l)?`HasNotTextRegex = ${this.regexToString(l)}`:`HasNotText = ${this.quote(l)}`}quote(l){return Td(l,'"')}}class $R{generateLocator(l,i,u,c={}){return JSON.stringify({kind:i,body:fd(u),options:HR(c)})}chainLocators(l){const i=l.map(u=>JSON.parse(u));for(let u=0;u<i.length-1;++u)i[u].next=i[u+1];return JSON.stringify(i[0])}}function fd(r){return St(r)?`/${r.source}/${r.flags}`:r}function HR(r){const l={...r};return St(l.name)&&(l.name=fd(l.name)),St(l.hasText)&&(l.hasText=fd(l.hasText)),St(l.hasNotText)&&(l.hasNotText=fd(l.hasNotText)),l}const VR={javascript:zR,python:jR,java:LR,csharp:BR,jsonl:$R};function St(r){return r instanceof RegExp}const qR=({language:r,log:l})=>{const i=be.useRef(null),[u,c]=be.useState(new Map);return be.useLayoutEffect(()=>{var d;l.find(p=>p.reveal)&&((d=i.current)==null||d.scrollIntoView({block:"center",inline:"nearest"}))},[i,l]),Y.jsxDEV("div",{className:"call-log",style:{flex:"auto"},children:[l.map(d=>{const p=u.get(d.id),m=typeof p=="boolean"?p:d.status!=="done",y=d.params.selector?WE(r,d.params.selector):null;let S=d.title,M="";return d.title.startsWith("expect.to")||d.title.startsWith("expect.not.to")?(S="expect(",M=`).${d.title.substring(7)}()`):d.title.startsWith("locator.")?(S="",M=`.${d.title.substring(8)}()`):(y||d.params.url)&&(S=d.title+"(",M=")"),Y.jsxDEV("div",{className:hi("call-log-call",d.status),children:[Y.jsxDEV("div",{className:"call-log-call-header",children:[Y.jsxDEV("span",{className:hi("codicon",`codicon-chevron-${m?"down":"right"}`),style:{cursor:"pointer"},onClick:()=>{const w=new Map(u);w.set(d.id,!m),c(w)}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:58,columnNumber:11},void 0),S,d.params.url?Y.jsxDEV("span",{className:"call-log-details",children:Y.jsxDEV("span",{className:"call-log-url",title:d.params.url,children:d.params.url},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:64,columnNumber:69},void 0)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:64,columnNumber:34},void 0):void 0,y?Y.jsxDEV("span",{className:"call-log-details",children:Y.jsxDEV("span",{className:"call-log-selector",title:`page.${y}`,children:`page.${y}`},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:65,columnNumber:58},void 0)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:65,columnNumber:23},void 0):void 0,M,Y.jsxDEV("span",{className:hi("codicon",YR(d))},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:67,columnNumber:11},void 0),typeof d.duration=="number"?Y.jsxDEV("span",{className:"call-log-time",children:["— ",kD(d.duration)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:68,columnNumber:52},void 0):void 0]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:57,columnNumber:9},void 0),(m?d.messages:[]).map((w,E)=>Y.jsxDEV("div",{className:"call-log-message",children:w.trim()},E,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:71,columnNumber:18},void 0)),!!d.error&&Y.jsxDEV("div",{className:"call-log-message error",hidden:!m,children:d.error},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:75,columnNumber:30},void 0)]},d.id,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:56,columnNumber:14},void 0)}),Y.jsxDEV("div",{ref:i},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:78,columnNumber:5},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/callLog.tsx",lineNumber:39,columnNumber:10},void 0)};function YR(r){switch(r.status){case"done":return"codicon-check";case"in-progress":return"codicon-clock";case"paused":return"codicon-debug-pause";case"error":return"codicon-error"}}const Kg=Symbol.for("yaml.alias"),Yg=Symbol.for("yaml.document"),ys=Symbol.for("yaml.map"),PE=Symbol.for("yaml.pair"),Ja=Symbol.for("yaml.scalar"),Br=Symbol.for("yaml.seq"),aa=Symbol.for("yaml.node.type"),vs=r=>!!r&&typeof r=="object"&&r[aa]===Kg,mi=r=>!!r&&typeof r=="object"&&r[aa]===Yg,$r=r=>!!r&&typeof r=="object"&&r[aa]===ys,ct=r=>!!r&&typeof r=="object"&&r[aa]===PE,nt=r=>!!r&&typeof r=="object"&&r[aa]===Ja,Hr=r=>!!r&&typeof r=="object"&&r[aa]===Br;function pt(r){if(r&&typeof r=="object")switch(r[aa]){case ys:case Br:return!0}return!1}function mt(r){if(r&&typeof r=="object")switch(r[aa]){case Kg:case ys:case Ja:case Br:return!0}return!1}const eT=r=>(nt(r)||pt(r))&&!!r.anchor,An=Symbol("break visit"),tT=Symbol("skip children"),Xa=Symbol("remove node");function gi(r,l){const i=nT(l);mi(r)?Rr(null,r.contents,i,Object.freeze([r]))===Xa&&(r.contents=null):Rr(null,r,i,Object.freeze([]))}gi.BREAK=An;gi.SKIP=tT;gi.REMOVE=Xa;function Rr(r,l,i,u){const c=aT(r,l,i,u);if(mt(c)||ct(c))return lT(r,u,c),Rr(r,c,i,u);if(typeof c!="symbol"){if(pt(l)){u=Object.freeze(u.concat(l));for(let d=0;d<l.items.length;++d){const p=Rr(d,l.items[d],i,u);if(typeof p=="number")d=p-1;else{if(p===An)return An;p===Xa&&(l.items.splice(d,1),d-=1)}}}else if(ct(l)){u=Object.freeze(u.concat(l));const d=Rr("key",l.key,i,u);if(d===An)return An;d===Xa&&(l.key=null);const p=Rr("value",l.value,i,u);if(p===An)return An;p===Xa&&(l.value=null)}}return c}async function Od(r,l){const i=nT(l);mi(r)?await xr(null,r.contents,i,Object.freeze([r]))===Xa&&(r.contents=null):await xr(null,r,i,Object.freeze([]))}Od.BREAK=An;Od.SKIP=tT;Od.REMOVE=Xa;async function xr(r,l,i,u){const c=await aT(r,l,i,u);if(mt(c)||ct(c))return lT(r,u,c),xr(r,c,i,u);if(typeof c!="symbol"){if(pt(l)){u=Object.freeze(u.concat(l));for(let d=0;d<l.items.length;++d){const p=await xr(d,l.items[d],i,u);if(typeof p=="number")d=p-1;else{if(p===An)return An;p===Xa&&(l.items.splice(d,1),d-=1)}}}else if(ct(l)){u=Object.freeze(u.concat(l));const d=await xr("key",l.key,i,u);if(d===An)return An;d===Xa&&(l.key=null);const p=await xr("value",l.value,i,u);if(p===An)return An;p===Xa&&(l.value=null)}}return c}function nT(r){return typeof r=="object"&&(r.Collection||r.Node||r.Value)?Object.assign({Alias:r.Node,Map:r.Node,Scalar:r.Node,Seq:r.Node},r.Value&&{Map:r.Value,Scalar:r.Value,Seq:r.Value},r.Collection&&{Map:r.Collection,Seq:r.Collection},r):r}function aT(r,l,i,u){var c,d,p,m,y;if(typeof i=="function")return i(r,l,u);if($r(l))return(c=i.Map)==null?void 0:c.call(i,r,l,u);if(Hr(l))return(d=i.Seq)==null?void 0:d.call(i,r,l,u);if(ct(l))return(p=i.Pair)==null?void 0:p.call(i,r,l,u);if(nt(l))return(m=i.Scalar)==null?void 0:m.call(i,r,l,u);if(vs(l))return(y=i.Alias)==null?void 0:y.call(i,r,l,u)}function lT(r,l,i){const u=l[l.length-1];if(pt(u))u.items[r]=i;else if(ct(u))r==="key"?u.key=i:u.value=i;else if(mi(u))u.contents=i;else{const c=vs(u)?"alias":"scalar";throw new Error(`Cannot replace node with ${c} parent`)}}const GR={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},QR=r=>r.replace(/[!,[\]{}]/g,l=>GR[l]);class pn{constructor(l,i){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},pn.defaultYaml,l),this.tags=Object.assign({},pn.defaultTags,i)}clone(){const l=new pn(this.yaml,this.tags);return l.docStart=this.docStart,l}atDocument(){const l=new pn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:pn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},pn.defaultTags);break}return l}add(l,i){this.atNextDocument&&(this.yaml={explicit:pn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},pn.defaultTags),this.atNextDocument=!1);const u=l.trim().split(/[ \t]+/),c=u.shift();switch(c){case"%TAG":{if(u.length!==2&&(i(0,"%TAG directive should contain exactly two parts"),u.length<2))return!1;const[d,p]=u;return this.tags[d]=p,!0}case"%YAML":{if(this.yaml.explicit=!0,u.length!==1)return i(0,"%YAML directive should contain exactly one part"),!1;const[d]=u;if(d==="1.1"||d==="1.2")return this.yaml.version=d,!0;{const p=/^\d+\.\d+$/.test(d);return i(6,`Unsupported YAML version ${d}`,p),!1}}default:return i(0,`Unknown directive ${c}`,!0),!1}}tagName(l,i){if(l==="!")return"!";if(l[0]!=="!")return i(`Not a valid tag: ${l}`),null;if(l[1]==="<"){const p=l.slice(2,-1);return p==="!"||p==="!!"?(i(`Verbatim tags aren't resolved, so ${l} is invalid.`),null):(l[l.length-1]!==">"&&i("Verbatim tags must end with a >"),p)}const[,u,c]=l.match(/^(.*!)([^!]*)$/s);c||i(`The ${l} tag has no suffix`);const d=this.tags[u];if(d)try{return d+decodeURIComponent(c)}catch(p){return i(String(p)),null}return u==="!"?l:(i(`Could not resolve tag: ${l}`),null)}tagString(l){for(const[i,u]of Object.entries(this.tags))if(l.startsWith(u))return i+QR(l.substring(u.length));return l[0]==="!"?l:`!<${l}>`}toString(l){const i=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],u=Object.entries(this.tags);let c;if(l&&u.length>0&&mt(l.contents)){const d={};gi(l.contents,(p,m)=>{mt(m)&&m.tag&&(d[m.tag]=!0)}),c=Object.keys(d)}else c=[];for(const[d,p]of u)d==="!!"&&p==="tag:yaml.org,2002:"||(!l||c.some(m=>m.startsWith(p)))&&i.push(`%TAG ${d} ${p}`);return i.join(`
|
|
278
|
+
`)}}pn.defaultYaml={explicit:!1,version:"1.2"};pn.defaultTags={"!!":"tag:yaml.org,2002:"};function sT(r){if(/[\x00-\x19\s,[\]{}]/.test(r)){const i=`Anchor must not contain whitespace or control characters: ${JSON.stringify(r)}`;throw new Error(i)}return!0}function iT(r){const l=new Set;return gi(r,{Value(i,u){u.anchor&&l.add(u.anchor)}}),l}function rT(r,l){for(let i=1;;++i){const u=`${r}${i}`;if(!l.has(u))return u}}function XR(r,l){const i=[],u=new Map;let c=null;return{onAnchor:d=>{i.push(d),c??(c=iT(r));const p=rT(l,c);return c.add(p),p},setAnchors:()=>{for(const d of i){const p=u.get(d);if(typeof p=="object"&&p.anchor&&(nt(p.node)||pt(p.node)))p.node.anchor=p.anchor;else{const m=new Error("Failed to resolve repeated object (this should not happen)");throw m.source=d,m}}},sourceObjects:u}}function _r(r,l,i,u){if(u&&typeof u=="object")if(Array.isArray(u))for(let c=0,d=u.length;c<d;++c){const p=u[c],m=_r(r,u,String(c),p);m===void 0?delete u[c]:m!==p&&(u[c]=m)}else if(u instanceof Map)for(const c of Array.from(u.keys())){const d=u.get(c),p=_r(r,u,c,d);p===void 0?u.delete(c):p!==d&&u.set(c,p)}else if(u instanceof Set)for(const c of Array.from(u)){const d=_r(r,u,c,c);d===void 0?u.delete(c):d!==c&&(u.delete(c),u.add(d))}else for(const[c,d]of Object.entries(u)){const p=_r(r,u,c,d);p===void 0?delete u[c]:p!==d&&(u[c]=p)}return r.call(l,i,u)}function na(r,l,i){if(Array.isArray(r))return r.map((u,c)=>na(u,String(c),i));if(r&&typeof r.toJSON=="function"){if(!i||!eT(r))return r.toJSON(l,i);const u={aliasCount:0,count:1,res:void 0};i.anchors.set(r,u),i.onCreate=d=>{u.res=d,delete i.onCreate};const c=r.toJSON(l,i);return i.onCreate&&i.onCreate(c),c}return typeof r=="bigint"&&!(i!=null&&i.keep)?Number(r):r}class Fg{constructor(l){Object.defineProperty(this,aa,{value:l})}clone(){const l=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(l.range=this.range.slice()),l}toJS(l,{mapAsMap:i,maxAliasCount:u,onAnchor:c,reviver:d}={}){if(!mi(l))throw new TypeError("A document argument is required");const p={anchors:new Map,doc:l,keep:!0,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof u=="number"?u:100},m=na(this,"",p);if(typeof c=="function")for(const{count:y,res:S}of p.anchors.values())c(S,y);return typeof d=="function"?_r(d,{"":m},"",m):m}}class Nd extends Fg{constructor(l){super(Kg),this.source=l,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(l,i){let u;i!=null&&i.aliasResolveCache?u=i.aliasResolveCache:(u=[],gi(l,{Node:(d,p)=>{(vs(p)||eT(p))&&u.push(p)}}),i&&(i.aliasResolveCache=u));let c;for(const d of u){if(d===this)break;d.anchor===this.source&&(c=d)}return c}toJSON(l,i){if(!i)return{source:this.source};const{anchors:u,doc:c,maxAliasCount:d}=i,p=this.resolve(c,i);if(!p){const y=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(y)}let m=u.get(p);if(m||(na(p,null,i),m=u.get(p)),(m==null?void 0:m.res)===void 0){const y="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(y)}if(d>=0&&(m.count+=1,m.aliasCount===0&&(m.aliasCount=dd(c,p,u)),m.count*m.aliasCount>d)){const y="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(y)}return m.res}toString(l,i,u){const c=`*${this.source}`;if(l){if(sT(this.source),l.options.verifyAliasOrder&&!l.anchors.has(this.source)){const d=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(d)}if(l.implicitKey)return`${c} `}return c}}function dd(r,l,i){if(vs(l)){const u=l.resolve(r),c=i&&u&&i.get(u);return c?c.count*c.aliasCount:0}else if(pt(l)){let u=0;for(const c of l.items){const d=dd(r,c,i);d>u&&(u=d)}return u}else if(ct(l)){const u=dd(r,l.key,i),c=dd(r,l.value,i);return Math.max(u,c)}return 1}const oT=r=>!r||typeof r!="function"&&typeof r!="object";class Ne extends Fg{constructor(l){super(Ja),this.value=l}toJSON(l,i){return i!=null&&i.keep?this.value:na(this.value,l,i)}toString(){return String(this.value)}}Ne.BLOCK_FOLDED="BLOCK_FOLDED";Ne.BLOCK_LITERAL="BLOCK_LITERAL";Ne.PLAIN="PLAIN";Ne.QUOTE_DOUBLE="QUOTE_DOUBLE";Ne.QUOTE_SINGLE="QUOTE_SINGLE";const JR="tag:yaml.org,2002:";function IR(r,l,i){if(l){const u=i.filter(d=>d.tag===l),c=u.find(d=>!d.format)??u[0];if(!c)throw new Error(`Tag ${l} not found`);return c}return i.find(u=>{var c;return((c=u.identify)==null?void 0:c.call(u,r))&&!u.format})}function _u(r,l,i){var w,E,A;if(mi(r)&&(r=r.contents),mt(r))return r;if(ct(r)){const k=(E=(w=i.schema[ys]).createNode)==null?void 0:E.call(w,i.schema,null,i);return k.items.push(r),k}(r instanceof String||r instanceof Number||r instanceof Boolean||typeof BigInt<"u"&&r instanceof BigInt)&&(r=r.valueOf());const{aliasDuplicateObjects:u,onAnchor:c,onTagObj:d,schema:p,sourceObjects:m}=i;let y;if(u&&r&&typeof r=="object"){if(y=m.get(r),y)return y.anchor??(y.anchor=c(r)),new Nd(y.anchor);y={anchor:null,node:null},m.set(r,y)}l!=null&&l.startsWith("!!")&&(l=JR+l.slice(2));let S=IR(r,l,p.tags);if(!S){if(r&&typeof r.toJSON=="function"&&(r=r.toJSON()),!r||typeof r!="object"){const k=new Ne(r);return y&&(y.node=k),k}S=r instanceof Map?p[ys]:Symbol.iterator in Object(r)?p[Br]:p[ys]}d&&(d(S),delete i.onTagObj);const M=S!=null&&S.createNode?S.createNode(i.schema,r,i):typeof((A=S==null?void 0:S.nodeClass)==null?void 0:A.from)=="function"?S.nodeClass.from(i.schema,r,i):new Ne(r);return l?M.tag=l:S.default||(M.tag=S.tag),y&&(y.node=M),M}function yd(r,l,i){let u=i;for(let c=l.length-1;c>=0;--c){const d=l[c];if(typeof d=="number"&&Number.isInteger(d)&&d>=0){const p=[];p[d]=u,u=p}else u=new Map([[d,u]])}return _u(u,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:r,sourceObjects:new Map})}const Ru=r=>r==null||typeof r=="object"&&!!r[Symbol.iterator]().next().done;class uT extends Fg{constructor(l,i){super(l),Object.defineProperty(this,"schema",{value:i,configurable:!0,enumerable:!1,writable:!0})}clone(l){const i=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return l&&(i.schema=l),i.items=i.items.map(u=>mt(u)||ct(u)?u.clone(l):u),this.range&&(i.range=this.range.slice()),i}addIn(l,i){if(Ru(l))this.add(i);else{const[u,...c]=l,d=this.get(u,!0);if(pt(d))d.addIn(c,i);else if(d===void 0&&this.schema)this.set(u,yd(this.schema,c,i));else throw new Error(`Expected YAML collection at ${u}. Remaining path: ${c}`)}}deleteIn(l){const[i,...u]=l;if(u.length===0)return this.delete(i);const c=this.get(i,!0);if(pt(c))return c.deleteIn(u);throw new Error(`Expected YAML collection at ${i}. Remaining path: ${u}`)}getIn(l,i){const[u,...c]=l,d=this.get(u,!0);return c.length===0?!i&&nt(d)?d.value:d:pt(d)?d.getIn(c,i):void 0}hasAllNullValues(l){return this.items.every(i=>{if(!ct(i))return!1;const u=i.value;return u==null||l&&nt(u)&&u.value==null&&!u.commentBefore&&!u.comment&&!u.tag})}hasIn(l){const[i,...u]=l;if(u.length===0)return this.has(i);const c=this.get(i,!0);return pt(c)?c.hasIn(u):!1}setIn(l,i){const[u,...c]=l;if(c.length===0)this.set(u,i);else{const d=this.get(u,!0);if(pt(d))d.setIn(c,i);else if(d===void 0&&this.schema)this.set(u,yd(this.schema,c,i));else throw new Error(`Expected YAML collection at ${u}. Remaining path: ${c}`)}}}const ZR=r=>r.replace(/^(?!$)(?: $)?/gm,"#");function Tl(r,l){return/^\n+$/.test(r)?r.substring(1):l?r.replace(/^(?! *$)/gm,l):r}const ci=(r,l,i)=>r.endsWith(`
|
|
279
|
+
`)?Tl(i,l):i.includes(`
|
|
280
|
+
`)?`
|
|
281
|
+
`+Tl(i,l):(r.endsWith(" ")?"":" ")+i,cT="flow",Gg="block",hd="quoted";function Dd(r,l,i="flow",{indentAtStart:u,lineWidth:c=80,minContentWidth:d=20,onFold:p,onOverflow:m}={}){if(!c||c<0)return r;c<d&&(d=0);const y=Math.max(1+d,1+c-l.length);if(r.length<=y)return r;const S=[],M={};let w=c-l.length;typeof u=="number"&&(u>c-Math.max(2,d)?S.push(0):w=c-u);let E,A,k=!1,T=-1,R=-1,U=-1;i===Gg&&(T=gE(r,T,l.length),T!==-1&&(w=T+y));for(let Q;Q=r[T+=1];){if(i===hd&&Q==="\\"){switch(R=T,r[T+1]){case"x":T+=3;break;case"u":T+=5;break;case"U":T+=9;break;default:T+=1}U=T}if(Q===`
|
|
282
|
+
`)i===Gg&&(T=gE(r,T,l.length)),w=T+l.length+y,E=void 0;else{if(Q===" "&&A&&A!==" "&&A!==`
|
|
283
|
+
`&&A!==" "){const te=r[T+1];te&&te!==" "&&te!==`
|
|
284
|
+
`&&te!==" "&&(E=T)}if(T>=w)if(E)S.push(E),w=E+y,E=void 0;else if(i===hd){for(;A===" "||A===" ";)A=Q,Q=r[T+=1],k=!0;const te=T>U+1?T-2:R-1;if(M[te])return r;S.push(te),M[te]=!0,w=te+y,E=void 0}else k=!0}A=Q}if(k&&m&&m(),S.length===0)return r;p&&p();let L=r.slice(0,S[0]);for(let Q=0;Q<S.length;++Q){const te=S[Q],ne=S[Q+1]||r.length;te===0?L=`
|
|
285
|
+
${l}${r.slice(0,ne)}`:(i===hd&&M[te]&&(L+=`${r[te]}\\`),L+=`
|
|
286
|
+
${l}${r.slice(te+1,ne)}`)}return L}function gE(r,l,i){let u=l,c=l+1,d=r[c];for(;d===" "||d===" ";)if(l<c+i)d=r[++l];else{do d=r[++l];while(d&&d!==`
|
|
287
|
+
`);u=l,c=l+1,d=r[c]}return u}const Rd=(r,l)=>({indentAtStart:l?r.indent.length:r.indentAtStart,lineWidth:r.options.lineWidth,minContentWidth:r.options.minContentWidth}),xd=r=>/^(%|---|\.\.\.)/m.test(r);function KR(r,l,i){if(!l||l<0)return!1;const u=l-i,c=r.length;if(c<=u)return!1;for(let d=0,p=0;d<c;++d)if(r[d]===`
|
|
288
|
+
`){if(d-p>u)return!0;if(p=d+1,c-p<=u)return!1}return!0}function xu(r,l){const i=JSON.stringify(r);if(l.options.doubleQuotedAsJSON)return i;const{implicitKey:u}=l,c=l.options.doubleQuotedMinMultiLineLength,d=l.indent||(xd(r)?" ":"");let p="",m=0;for(let y=0,S=i[y];S;S=i[++y])if(S===" "&&i[y+1]==="\\"&&i[y+2]==="n"&&(p+=i.slice(m,y)+"\\ ",y+=1,m=y,S="\\"),S==="\\")switch(i[y+1]){case"u":{p+=i.slice(m,y);const M=i.substr(y+2,4);switch(M){case"0000":p+="\\0";break;case"0007":p+="\\a";break;case"000b":p+="\\v";break;case"001b":p+="\\e";break;case"0085":p+="\\N";break;case"00a0":p+="\\_";break;case"2028":p+="\\L";break;case"2029":p+="\\P";break;default:M.substr(0,2)==="00"?p+="\\x"+M.substr(2):p+=i.substr(y,6)}y+=5,m=y+1}break;case"n":if(u||i[y+2]==='"'||i.length<c)y+=1;else{for(p+=i.slice(m,y)+`
|
|
289
|
+
|
|
290
|
+
`;i[y+2]==="\\"&&i[y+3]==="n"&&i[y+4]!=='"';)p+=`
|
|
291
|
+
`,y+=2;p+=d,i[y+2]===" "&&(p+="\\"),y+=1,m=y+1}break;default:y+=1}return p=m?p+i.slice(m):i,u?p:Dd(p,d,hd,Rd(l,!1))}function Qg(r,l){if(l.options.singleQuote===!1||l.implicitKey&&r.includes(`
|
|
292
|
+
`)||/[ \t]\n|\n[ \t]/.test(r))return xu(r,l);const i=l.indent||(xd(r)?" ":""),u="'"+r.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
293
|
+
${i}`)+"'";return l.implicitKey?u:Dd(u,i,cT,Rd(l,!1))}function Cr(r,l){const{singleQuote:i}=l.options;let u;if(i===!1)u=xu;else{const c=r.includes('"'),d=r.includes("'");c&&!d?u=Qg:d&&!c?u=xu:u=i?Qg:xu}return u(r,l)}let Xg;try{Xg=new RegExp(`(^|(?<!
|
|
294
|
+
))
|
|
295
|
+
+(?!
|
|
296
|
+
|$)`,"g")}catch{Xg=/\n+(?!\n|$)/g}function pd({comment:r,type:l,value:i},u,c,d){const{blockQuote:p,commentString:m,lineWidth:y}=u.options;if(!p||/\n[\t ]+$/.test(i))return Cr(i,u);const S=u.indent||(u.forceBlockIndent||xd(i)?" ":""),M=p==="literal"?!0:p==="folded"||l===Ne.BLOCK_FOLDED?!1:l===Ne.BLOCK_LITERAL?!0:!KR(i,y,S.length);if(!i)return M?`|
|
|
297
|
+
`:`>
|
|
298
|
+
`;let w,E;for(E=i.length;E>0;--E){const ne=i[E-1];if(ne!==`
|
|
299
|
+
`&&ne!==" "&&ne!==" ")break}let A=i.substring(E);const k=A.indexOf(`
|
|
300
|
+
`);k===-1?w="-":i===A||k!==A.length-1?(w="+",d&&d()):w="",A&&(i=i.slice(0,-A.length),A[A.length-1]===`
|
|
301
|
+
`&&(A=A.slice(0,-1)),A=A.replace(Xg,`$&${S}`));let T=!1,R,U=-1;for(R=0;R<i.length;++R){const ne=i[R];if(ne===" ")T=!0;else if(ne===`
|
|
302
|
+
`)U=R;else break}let L=i.substring(0,U<R?U+1:R);L&&(i=i.substring(L.length),L=L.replace(/\n+/g,`$&${S}`));let te=(T?S?"2":"1":"")+w;if(r&&(te+=" "+m(r.replace(/ ?[\r\n]+/g," ")),c&&c()),!M){const ne=i.replace(/\n+/g,`
|
|
303
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${S}`);let oe=!1;const le=Rd(u,!0);p!=="folded"&&l!==Ne.BLOCK_FOLDED&&(le.onOverflow=()=>{oe=!0});const X=Dd(`${L}${ne}${A}`,S,Gg,le);if(!oe)return`>${te}
|
|
304
|
+
${S}${X}`}return i=i.replace(/\n+/g,`$&${S}`),`|${te}
|
|
305
|
+
${S}${L}${i}${A}`}function FR(r,l,i,u){const{type:c,value:d}=r,{actualString:p,implicitKey:m,indent:y,indentStep:S,inFlow:M}=l;if(m&&d.includes(`
|
|
306
|
+
`)||M&&/[[\]{},]/.test(d))return Cr(d,l);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(d))return m||M||!d.includes(`
|
|
307
|
+
`)?Cr(d,l):pd(r,l,i,u);if(!m&&!M&&c!==Ne.PLAIN&&d.includes(`
|
|
308
|
+
`))return pd(r,l,i,u);if(xd(d)){if(y==="")return l.forceBlockIndent=!0,pd(r,l,i,u);if(m&&y===S)return Cr(d,l)}const w=d.replace(/\n+/g,`$&
|
|
309
|
+
${y}`);if(p){const E=T=>{var R;return T.default&&T.tag!=="tag:yaml.org,2002:str"&&((R=T.test)==null?void 0:R.test(w))},{compat:A,tags:k}=l.doc.schema;if(k.some(E)||A!=null&&A.some(E))return Cr(d,l)}return m?w:Dd(w,y,cT,Rd(l,!1))}function ku(r,l,i,u){const{implicitKey:c,inFlow:d}=l,p=typeof r.value=="string"?r:Object.assign({},r,{value:String(r.value)});let{type:m}=r;m!==Ne.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(p.value)&&(m=Ne.QUOTE_DOUBLE);const y=M=>{switch(M){case Ne.BLOCK_FOLDED:case Ne.BLOCK_LITERAL:return c||d?Cr(p.value,l):pd(p,l,i,u);case Ne.QUOTE_DOUBLE:return xu(p.value,l);case Ne.QUOTE_SINGLE:return Qg(p.value,l);case Ne.PLAIN:return FR(p,l,i,u);default:return null}};let S=y(m);if(S===null){const{defaultKeyType:M,defaultStringType:w}=l.options,E=c&&M||w;if(S=y(E),S===null)throw new Error(`Unsupported default string type ${E}`)}return S}function fT(r,l){const i=Object.assign({blockQuote:!0,commentString:ZR,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},r.schema.toStringOptions,l);let u;switch(i.collectionStyle){case"block":u=!1;break;case"flow":u=!0;break;default:u=null}return{anchors:new Set,doc:r,flowCollectionPadding:i.flowCollectionPadding?" ":"",indent:"",indentStep:typeof i.indent=="number"?" ".repeat(i.indent):" ",inFlow:u,options:i}}function WR(r,l){var c;if(l.tag){const d=r.filter(p=>p.tag===l.tag);if(d.length>0)return d.find(p=>p.format===l.format)??d[0]}let i,u;if(nt(l)){u=l.value;let d=r.filter(p=>{var m;return(m=p.identify)==null?void 0:m.call(p,u)});if(d.length>1){const p=d.filter(m=>m.test);p.length>0&&(d=p)}i=d.find(p=>p.format===l.format)??d.find(p=>!p.format)}else u=l,i=r.find(d=>d.nodeClass&&u instanceof d.nodeClass);if(!i){const d=((c=u==null?void 0:u.constructor)==null?void 0:c.name)??(u===null?"null":typeof u);throw new Error(`Tag not resolved for ${d} value`)}return i}function PR(r,l,{anchors:i,doc:u}){if(!u.directives)return"";const c=[],d=(nt(r)||pt(r))&&r.anchor;d&&sT(d)&&(i.add(d),c.push(`&${d}`));const p=r.tag??(l.default?null:l.tag);return p&&c.push(u.directives.tagString(p)),c.join(" ")}function kr(r,l,i,u){var y;if(ct(r))return r.toString(l,i,u);if(vs(r)){if(l.doc.directives)return r.toString(l);if((y=l.resolvedAliases)!=null&&y.has(r))throw new TypeError("Cannot stringify circular structure without alias nodes");l.resolvedAliases?l.resolvedAliases.add(r):l.resolvedAliases=new Set([r]),r=r.resolve(l.doc)}let c;const d=mt(r)?r:l.doc.createNode(r,{onTagObj:S=>c=S});c??(c=WR(l.doc.schema.tags,d));const p=PR(d,c,l);p.length>0&&(l.indentAtStart=(l.indentAtStart??0)+p.length+1);const m=typeof c.stringify=="function"?c.stringify(d,l,i,u):nt(d)?ku(d,l,i,u):d.toString(l,i,u);return p?nt(d)||m[0]==="{"||m[0]==="["?`${p} ${m}`:`${p}
|
|
310
|
+
${l.indent}${m}`:m}function ex({key:r,value:l},i,u,c){const{allNullValues:d,doc:p,indent:m,indentStep:y,options:{commentString:S,indentSeq:M,simpleKeys:w}}=i;let E=mt(r)&&r.comment||null;if(w){if(E)throw new Error("With simple keys, key nodes cannot have comments");if(pt(r)||!mt(r)&&typeof r=="object"){const le="With simple keys, collection cannot be used as a key value";throw new Error(le)}}let A=!w&&(!r||E&&l==null&&!i.inFlow||pt(r)||(nt(r)?r.type===Ne.BLOCK_FOLDED||r.type===Ne.BLOCK_LITERAL:typeof r=="object"));i=Object.assign({},i,{allNullValues:!1,implicitKey:!A&&(w||!d),indent:m+y});let k=!1,T=!1,R=kr(r,i,()=>k=!0,()=>T=!0);if(!A&&!i.inFlow&&R.length>1024){if(w)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");A=!0}if(i.inFlow){if(d||l==null)return k&&u&&u(),R===""?"?":A?`? ${R}`:R}else if(d&&!w||l==null&&A)return R=`? ${R}`,E&&!k?R+=ci(R,i.indent,S(E)):T&&c&&c(),R;k&&(E=null),A?(E&&(R+=ci(R,i.indent,S(E))),R=`? ${R}
|
|
311
|
+
${m}:`):(R=`${R}:`,E&&(R+=ci(R,i.indent,S(E))));let U,L,Q;mt(l)?(U=!!l.spaceBefore,L=l.commentBefore,Q=l.comment):(U=!1,L=null,Q=null,l&&typeof l=="object"&&(l=p.createNode(l))),i.implicitKey=!1,!A&&!E&&nt(l)&&(i.indentAtStart=R.length+1),T=!1,!M&&y.length>=2&&!i.inFlow&&!A&&Hr(l)&&!l.flow&&!l.tag&&!l.anchor&&(i.indent=i.indent.substring(2));let te=!1;const ne=kr(l,i,()=>te=!0,()=>T=!0);let oe=" ";if(E||U||L){if(oe=U?`
|
|
312
|
+
`:"",L){const le=S(L);oe+=`
|
|
313
|
+
${Tl(le,i.indent)}`}ne===""&&!i.inFlow?oe===`
|
|
314
|
+
`&&Q&&(oe=`
|
|
315
|
+
|
|
316
|
+
`):oe+=`
|
|
317
|
+
${i.indent}`}else if(!A&&pt(l)){const le=ne[0],X=ne.indexOf(`
|
|
318
|
+
`),j=X!==-1,J=i.inFlow??l.flow??l.items.length===0;if(j||!J){let de=!1;if(j&&(le==="&"||le==="!")){let $=ne.indexOf(" ");le==="&"&&$!==-1&&$<X&&ne[$+1]==="!"&&($=ne.indexOf(" ",$+1)),($===-1||X<$)&&(de=!0)}de||(oe=`
|
|
319
|
+
${i.indent}`)}}else(ne===""||ne[0]===`
|
|
320
|
+
`)&&(oe="");return R+=oe+ne,i.inFlow?te&&u&&u():Q&&!te?R+=ci(R,i.indent,S(Q)):T&&c&&c(),R}function dT(r,l){(r==="debug"||r==="warn")&&console.warn(l)}const td="<<",Al={identify:r=>r===td||typeof r=="symbol"&&r.description===td,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Ne(Symbol(td)),{addToJSMap:hT}),stringify:()=>td},tx=(r,l)=>(Al.identify(l)||nt(l)&&(!l.type||l.type===Ne.PLAIN)&&Al.identify(l.value))&&(r==null?void 0:r.doc.schema.tags.some(i=>i.tag===Al.tag&&i.default));function hT(r,l,i){if(i=r&&vs(i)?i.resolve(r.doc):i,Hr(i))for(const u of i.items)xg(r,l,u);else if(Array.isArray(i))for(const u of i)xg(r,l,u);else xg(r,l,i)}function xg(r,l,i){const u=r&&vs(i)?i.resolve(r.doc):i;if(!$r(u))throw new Error("Merge sources must be maps or map aliases");const c=u.toJSON(null,r,Map);for(const[d,p]of c)l instanceof Map?l.has(d)||l.set(d,p):l instanceof Set?l.add(d):Object.prototype.hasOwnProperty.call(l,d)||Object.defineProperty(l,d,{value:p,writable:!0,enumerable:!0,configurable:!0});return l}function pT(r,l,{key:i,value:u}){if(mt(i)&&i.addToJSMap)i.addToJSMap(r,l,u);else if(tx(r,i))hT(r,l,u);else{const c=na(i,"",r);if(l instanceof Map)l.set(c,na(u,c,r));else if(l instanceof Set)l.add(c);else{const d=nx(i,c,r),p=na(u,d,r);d in l?Object.defineProperty(l,d,{value:p,writable:!0,enumerable:!0,configurable:!0}):l[d]=p}}return l}function nx(r,l,i){if(l===null)return"";if(typeof l!="object")return String(l);if(mt(r)&&(i!=null&&i.doc)){const u=fT(i.doc,{});u.anchors=new Set;for(const d of i.anchors.keys())u.anchors.add(d.anchor);u.inFlow=!0,u.inStringifyKey=!0;const c=r.toString(u);if(!i.mapKeyWarned){let d=JSON.stringify(c);d.length>40&&(d=d.substring(0,36)+'..."'),dT(i.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${d}. Set mapAsMap: true to use object keys.`),i.mapKeyWarned=!0}return c}return JSON.stringify(l)}function Wg(r,l,i){const u=_u(r,void 0,i),c=_u(l,void 0,i);return new nn(u,c)}class nn{constructor(l,i=null){Object.defineProperty(this,aa,{value:PE}),this.key=l,this.value=i}clone(l){let{key:i,value:u}=this;return mt(i)&&(i=i.clone(l)),mt(u)&&(u=u.clone(l)),new nn(i,u)}toJSON(l,i){const u=i!=null&&i.mapAsMap?new Map:{};return pT(i,u,this)}toString(l,i,u){return l!=null&&l.doc?ex(this,l,i,u):JSON.stringify(this)}}function mT(r,l,i){return(l.inFlow??r.flow?lx:ax)(r,l,i)}function ax({comment:r,items:l},i,{blockItemPrefix:u,flowChars:c,itemIndent:d,onChompKeep:p,onComment:m}){const{indent:y,options:{commentString:S}}=i,M=Object.assign({},i,{indent:d,type:null});let w=!1;const E=[];for(let k=0;k<l.length;++k){const T=l[k];let R=null;if(mt(T))!w&&T.spaceBefore&&E.push(""),bd(i,E,T.commentBefore,w),T.comment&&(R=T.comment);else if(ct(T)){const L=mt(T.key)?T.key:null;L&&(!w&&L.spaceBefore&&E.push(""),bd(i,E,L.commentBefore,w))}w=!1;let U=kr(T,M,()=>R=null,()=>w=!0);R&&(U+=ci(U,d,S(R))),w&&R&&(w=!1),E.push(u+U)}let A;if(E.length===0)A=c.start+c.end;else{A=E[0];for(let k=1;k<E.length;++k){const T=E[k];A+=T?`
|
|
321
|
+
${y}${T}`:`
|
|
322
|
+
`}}return r?(A+=`
|
|
323
|
+
`+Tl(S(r),y),m&&m()):w&&p&&p(),A}function lx({items:r},l,{flowChars:i,itemIndent:u}){const{indent:c,indentStep:d,flowCollectionPadding:p,options:{commentString:m}}=l;u+=d;const y=Object.assign({},l,{indent:u,inFlow:!0,type:null});let S=!1,M=0;const w=[];for(let k=0;k<r.length;++k){const T=r[k];let R=null;if(mt(T))T.spaceBefore&&w.push(""),bd(l,w,T.commentBefore,!1),T.comment&&(R=T.comment);else if(ct(T)){const L=mt(T.key)?T.key:null;L&&(L.spaceBefore&&w.push(""),bd(l,w,L.commentBefore,!1),L.comment&&(S=!0));const Q=mt(T.value)?T.value:null;Q?(Q.comment&&(R=Q.comment),Q.commentBefore&&(S=!0)):T.value==null&&(L!=null&&L.comment)&&(R=L.comment)}R&&(S=!0);let U=kr(T,y,()=>R=null);S||(S=w.length>M||U.includes(`
|
|
324
|
+
`)),k<r.length-1?U+=",":l.options.trailingComma&&(l.options.lineWidth>0&&(S||(S=w.reduce((L,Q)=>L+Q.length+2,2)+(U.length+2)>l.options.lineWidth)),S&&(U+=",")),R&&(U+=ci(U,u,m(R))),w.push(U),M=w.length}const{start:E,end:A}=i;if(w.length===0)return E+A;if(!S){const k=w.reduce((T,R)=>T+R.length+2,2);S=l.options.lineWidth>0&&k>l.options.lineWidth}if(S){let k=E;for(const T of w)k+=T?`
|
|
325
|
+
${d}${c}${T}`:`
|
|
326
|
+
`;return`${k}
|
|
327
|
+
${c}${A}`}else return`${E}${p}${w.join(" ")}${p}${A}`}function bd({indent:r,options:{commentString:l}},i,u,c){if(u&&c&&(u=u.replace(/^\n+/,"")),u){const d=Tl(l(u),r);i.push(d.trimStart())}}function fi(r,l){const i=nt(l)?l.value:l;for(const u of r)if(ct(u)&&(u.key===l||u.key===i||nt(u.key)&&u.key.value===i))return u}class $n extends uT{static get tagName(){return"tag:yaml.org,2002:map"}constructor(l){super(ys,l),this.items=[]}static from(l,i,u){const{keepUndefined:c,replacer:d}=u,p=new this(l),m=(y,S)=>{if(typeof d=="function")S=d.call(i,y,S);else if(Array.isArray(d)&&!d.includes(y))return;(S!==void 0||c)&&p.items.push(Wg(y,S,u))};if(i instanceof Map)for(const[y,S]of i)m(y,S);else if(i&&typeof i=="object")for(const y of Object.keys(i))m(y,i[y]);return typeof l.sortMapEntries=="function"&&p.items.sort(l.sortMapEntries),p}add(l,i){var p;let u;ct(l)?u=l:!l||typeof l!="object"||!("key"in l)?u=new nn(l,l==null?void 0:l.value):u=new nn(l.key,l.value);const c=fi(this.items,u.key),d=(p=this.schema)==null?void 0:p.sortMapEntries;if(c){if(!i)throw new Error(`Key ${u.key} already set`);nt(c.value)&&oT(u.value)?c.value.value=u.value:c.value=u.value}else if(d){const m=this.items.findIndex(y=>d(u,y)<0);m===-1?this.items.push(u):this.items.splice(m,0,u)}else this.items.push(u)}delete(l){const i=fi(this.items,l);return i?this.items.splice(this.items.indexOf(i),1).length>0:!1}get(l,i){const u=fi(this.items,l),c=u==null?void 0:u.value;return(!i&&nt(c)?c.value:c)??void 0}has(l){return!!fi(this.items,l)}set(l,i){this.add(new nn(l,i),!0)}toJSON(l,i,u){const c=u?new u:i!=null&&i.mapAsMap?new Map:{};i!=null&&i.onCreate&&i.onCreate(c);for(const d of this.items)pT(i,c,d);return c}toString(l,i,u){if(!l)return JSON.stringify(this);for(const c of this.items)if(!ct(c))throw new Error(`Map items must all be pairs; found ${JSON.stringify(c)} instead`);return!l.allNullValues&&this.hasAllNullValues(!1)&&(l=Object.assign({},l,{allNullValues:!0})),mT(this,l,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:l.indent||"",onChompKeep:u,onComment:i})}}const Vr={collection:"map",default:!0,nodeClass:$n,tag:"tag:yaml.org,2002:map",resolve(r,l){return $r(r)||l("Expected a mapping for this tag"),r},createNode:(r,l,i)=>$n.from(r,l,i)};class bs extends uT{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(l){super(Br,l),this.items=[]}add(l){this.items.push(l)}delete(l){const i=nd(l);return typeof i!="number"?!1:this.items.splice(i,1).length>0}get(l,i){const u=nd(l);if(typeof u!="number")return;const c=this.items[u];return!i&&nt(c)?c.value:c}has(l){const i=nd(l);return typeof i=="number"&&i<this.items.length}set(l,i){const u=nd(l);if(typeof u!="number")throw new Error(`Expected a valid index, not ${l}.`);const c=this.items[u];nt(c)&&oT(i)?c.value=i:this.items[u]=i}toJSON(l,i){const u=[];i!=null&&i.onCreate&&i.onCreate(u);let c=0;for(const d of this.items)u.push(na(d,String(c++),i));return u}toString(l,i,u){return l?mT(this,l,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(l.indent||"")+" ",onChompKeep:u,onComment:i}):JSON.stringify(this)}static from(l,i,u){const{replacer:c}=u,d=new this(l);if(i&&Symbol.iterator in Object(i)){let p=0;for(let m of i){if(typeof c=="function"){const y=i instanceof Set?m:String(p++);m=c.call(i,y,m)}d.items.push(_u(m,void 0,u))}}return d}}function nd(r){let l=nt(r)?r.value:r;return l&&typeof l=="string"&&(l=Number(l)),typeof l=="number"&&Number.isInteger(l)&&l>=0?l:null}const qr={collection:"seq",default:!0,nodeClass:bs,tag:"tag:yaml.org,2002:seq",resolve(r,l){return Hr(r)||l("Expected a sequence for this tag"),r},createNode:(r,l,i)=>bs.from(r,l,i)},_d={identify:r=>typeof r=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:r=>r,stringify(r,l,i,u){return l=Object.assign({actualString:!0},l),ku(r,l,i,u)}},Cd={identify:r=>r==null,createNode:()=>new Ne(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ne(null),stringify:({source:r},l)=>typeof r=="string"&&Cd.test.test(r)?r:l.options.nullStr},Pg={identify:r=>typeof r=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:r=>new Ne(r[0]==="t"||r[0]==="T"),stringify({source:r,value:l},i){if(r&&Pg.test.test(r)){const u=r[0]==="t"||r[0]==="T";if(l===u)return r}return l?i.options.trueStr:i.options.falseStr}};function ga({format:r,minFractionDigits:l,tag:i,value:u}){if(typeof u=="bigint")return String(u);const c=typeof u=="number"?u:Number(u);if(!isFinite(c))return isNaN(c)?".nan":c<0?"-.inf":".inf";let d=Object.is(u,-0)?"-0":JSON.stringify(u);if(!r&&l&&(!i||i==="tag:yaml.org,2002:float")&&/^\d/.test(d)){let p=d.indexOf(".");p<0&&(p=d.length,d+=".");let m=l-(d.length-p-1);for(;m-- >0;)d+="0"}return d}const gT={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:r=>r.slice(-3).toLowerCase()==="nan"?NaN:r[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ga},yT={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:r=>parseFloat(r),stringify(r){const l=Number(r.value);return isFinite(l)?l.toExponential():ga(r)}},bT={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(r){const l=new Ne(parseFloat(r)),i=r.indexOf(".");return i!==-1&&r[r.length-1]==="0"&&(l.minFractionDigits=r.length-i-1),l},stringify:ga},Md=r=>typeof r=="bigint"||Number.isInteger(r),ey=(r,l,i,{intAsBigInt:u})=>u?BigInt(r):parseInt(r.substring(l),i);function vT(r,l,i){const{value:u}=r;return Md(u)&&u>=0?i+u.toString(l):ga(r)}const ST={identify:r=>Md(r)&&r>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(r,l,i)=>ey(r,2,8,i),stringify:r=>vT(r,8,"0o")},wT={identify:Md,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(r,l,i)=>ey(r,0,10,i),stringify:ga},ET={identify:r=>Md(r)&&r>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(r,l,i)=>ey(r,2,16,i),stringify:r=>vT(r,16,"0x")},sx=[Vr,qr,_d,Cd,Pg,ST,wT,ET,gT,yT,bT];function yE(r){return typeof r=="bigint"||Number.isInteger(r)}const ad=({value:r})=>JSON.stringify(r),ix=[{identify:r=>typeof r=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:r=>r,stringify:ad},{identify:r=>r==null,createNode:()=>new Ne(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ad},{identify:r=>typeof r=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:r=>r==="true",stringify:ad},{identify:yE,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(r,l,{intAsBigInt:i})=>i?BigInt(r):parseInt(r,10),stringify:({value:r})=>yE(r)?r.toString():JSON.stringify(r)},{identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:r=>parseFloat(r),stringify:ad}],rx={default:!0,tag:"",test:/^/,resolve(r,l){return l(`Unresolved plain scalar ${JSON.stringify(r)}`),r}},ox=[Vr,qr].concat(ix,rx),ty={identify:r=>r instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(r,l){if(typeof atob=="function"){const i=atob(r.replace(/[\n\r]/g,"")),u=new Uint8Array(i.length);for(let c=0;c<i.length;++c)u[c]=i.charCodeAt(c);return u}else return l("This environment does not support reading binary tags; either Buffer or atob is required"),r},stringify({comment:r,type:l,value:i},u,c,d){if(!i)return"";const p=i;let m;if(typeof btoa=="function"){let y="";for(let S=0;S<p.length;++S)y+=String.fromCharCode(p[S]);m=btoa(y)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(l??(l=Ne.BLOCK_LITERAL),l!==Ne.QUOTE_DOUBLE){const y=Math.max(u.options.lineWidth-u.indent.length,u.options.minContentWidth),S=Math.ceil(m.length/y),M=new Array(S);for(let w=0,E=0;w<S;++w,E+=y)M[w]=m.substr(E,y);m=M.join(l===Ne.BLOCK_LITERAL?`
|
|
328
|
+
`:" ")}return ku({comment:r,type:l,value:m},u,c,d)}};function TT(r,l){if(Hr(r))for(let i=0;i<r.items.length;++i){let u=r.items[i];if(!ct(u)){if($r(u)){u.items.length>1&&l("Each pair must have its own sequence indicator");const c=u.items[0]||new nn(new Ne(null));if(u.commentBefore&&(c.key.commentBefore=c.key.commentBefore?`${u.commentBefore}
|
|
329
|
+
${c.key.commentBefore}`:u.commentBefore),u.comment){const d=c.value??c.key;d.comment=d.comment?`${u.comment}
|
|
330
|
+
${d.comment}`:u.comment}u=c}r.items[i]=ct(u)?u:new nn(u)}}else l("Expected a sequence for this tag");return r}function AT(r,l,i){const{replacer:u}=i,c=new bs(r);c.tag="tag:yaml.org,2002:pairs";let d=0;if(l&&Symbol.iterator in Object(l))for(let p of l){typeof u=="function"&&(p=u.call(l,String(d++),p));let m,y;if(Array.isArray(p))if(p.length===2)m=p[0],y=p[1];else throw new TypeError(`Expected [key, value] tuple: ${p}`);else if(p&&p instanceof Object){const S=Object.keys(p);if(S.length===1)m=S[0],y=p[m];else throw new TypeError(`Expected tuple with one key, not ${S.length} keys`)}else m=p;c.items.push(Wg(m,y,i))}return c}const ny={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:TT,createNode:AT};class Mr extends bs{constructor(){super(),this.add=$n.prototype.add.bind(this),this.delete=$n.prototype.delete.bind(this),this.get=$n.prototype.get.bind(this),this.has=$n.prototype.has.bind(this),this.set=$n.prototype.set.bind(this),this.tag=Mr.tag}toJSON(l,i){if(!i)return super.toJSON(l);const u=new Map;i!=null&&i.onCreate&&i.onCreate(u);for(const c of this.items){let d,p;if(ct(c)?(d=na(c.key,"",i),p=na(c.value,d,i)):d=na(c,"",i),u.has(d))throw new Error("Ordered maps must not include duplicate keys");u.set(d,p)}return u}static from(l,i,u){const c=AT(l,i,u),d=new this;return d.items=c.items,d}}Mr.tag="tag:yaml.org,2002:omap";const ay={collection:"seq",identify:r=>r instanceof Map,nodeClass:Mr,default:!1,tag:"tag:yaml.org,2002:omap",resolve(r,l){const i=TT(r,l),u=[];for(const{key:c}of i.items)nt(c)&&(u.includes(c.value)?l(`Ordered maps must not include duplicate keys: ${c.value}`):u.push(c.value));return Object.assign(new Mr,i)},createNode:(r,l,i)=>Mr.from(r,l,i)};function OT({value:r,source:l},i){return l&&(r?NT:DT).test.test(l)?l:r?i.options.trueStr:i.options.falseStr}const NT={identify:r=>r===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ne(!0),stringify:OT},DT={identify:r=>r===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Ne(!1),stringify:OT},ux={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:r=>r.slice(-3).toLowerCase()==="nan"?NaN:r[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ga},cx={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:r=>parseFloat(r.replace(/_/g,"")),stringify(r){const l=Number(r.value);return isFinite(l)?l.toExponential():ga(r)}},fx={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(r){const l=new Ne(parseFloat(r.replace(/_/g,""))),i=r.indexOf(".");if(i!==-1){const u=r.substring(i+1).replace(/_/g,"");u[u.length-1]==="0"&&(l.minFractionDigits=u.length)}return l},stringify:ga},zu=r=>typeof r=="bigint"||Number.isInteger(r);function Ud(r,l,i,{intAsBigInt:u}){const c=r[0];if((c==="-"||c==="+")&&(l+=1),r=r.substring(l).replace(/_/g,""),u){switch(i){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}const p=BigInt(r);return c==="-"?BigInt(-1)*p:p}const d=parseInt(r,i);return c==="-"?-1*d:d}function ly(r,l,i){const{value:u}=r;if(zu(u)){const c=u.toString(l);return u<0?"-"+i+c.substr(1):i+c}return ga(r)}const dx={identify:zu,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(r,l,i)=>Ud(r,2,2,i),stringify:r=>ly(r,2,"0b")},hx={identify:zu,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(r,l,i)=>Ud(r,1,8,i),stringify:r=>ly(r,8,"0")},px={identify:zu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(r,l,i)=>Ud(r,0,10,i),stringify:ga},mx={identify:zu,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(r,l,i)=>Ud(r,2,16,i),stringify:r=>ly(r,16,"0x")};class Ur extends $n{constructor(l){super(l),this.tag=Ur.tag}add(l){let i;ct(l)?i=l:l&&typeof l=="object"&&"key"in l&&"value"in l&&l.value===null?i=new nn(l.key,null):i=new nn(l,null),fi(this.items,i.key)||this.items.push(i)}get(l,i){const u=fi(this.items,l);return!i&&ct(u)?nt(u.key)?u.key.value:u.key:u}set(l,i){if(typeof i!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof i}`);const u=fi(this.items,l);u&&!i?this.items.splice(this.items.indexOf(u),1):!u&&i&&this.items.push(new nn(l))}toJSON(l,i){return super.toJSON(l,i,Set)}toString(l,i,u){if(!l)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},l,{allNullValues:!0}),i,u);throw new Error("Set items must all have null values")}static from(l,i,u){const{replacer:c}=u,d=new this(l);if(i&&Symbol.iterator in Object(i))for(let p of i)typeof c=="function"&&(p=c.call(i,p,p)),d.items.push(Wg(p,null,u));return d}}Ur.tag="tag:yaml.org,2002:set";const sy={collection:"map",identify:r=>r instanceof Set,nodeClass:Ur,default:!1,tag:"tag:yaml.org,2002:set",createNode:(r,l,i)=>Ur.from(r,l,i),resolve(r,l){if($r(r)){if(r.hasAllNullValues(!0))return Object.assign(new Ur,r);l("Set items must all have null values")}else l("Expected a mapping for this tag");return r}};function iy(r,l){const i=r[0],u=i==="-"||i==="+"?r.substring(1):r,c=p=>l?BigInt(p):Number(p),d=u.replace(/_/g,"").split(":").reduce((p,m)=>p*c(60)+c(m),c(0));return i==="-"?c(-1)*d:d}function RT(r){let{value:l}=r,i=p=>p;if(typeof l=="bigint")i=p=>BigInt(p);else if(isNaN(l)||!isFinite(l))return ga(r);let u="";l<0&&(u="-",l*=i(-1));const c=i(60),d=[l%c];return l<60?d.unshift(0):(l=(l-d[0])/c,d.unshift(l%c),l>=60&&(l=(l-d[0])/c,d.unshift(l))),u+d.map(p=>String(p).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const xT={identify:r=>typeof r=="bigint"||Number.isInteger(r),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(r,l,{intAsBigInt:i})=>iy(r,i),stringify:RT},_T={identify:r=>typeof r=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:r=>iy(r,!1),stringify:RT},kd={identify:r=>r instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(r){const l=r.match(kd.test);if(!l)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,i,u,c,d,p,m]=l.map(Number),y=l[7]?Number((l[7]+"00").substr(1,3)):0;let S=Date.UTC(i,u-1,c,d||0,p||0,m||0,y);const M=l[8];if(M&&M!=="Z"){let w=iy(M,!1);Math.abs(w)<30&&(w*=60),S-=6e4*w}return new Date(S)},stringify:({value:r})=>(r==null?void 0:r.toISOString().replace(/(T00:00:00)?\.000Z$/,""))??""},bE=[Vr,qr,_d,Cd,NT,DT,dx,hx,px,mx,ux,cx,fx,ty,Al,ay,ny,sy,xT,_T,kd],vE=new Map([["core",sx],["failsafe",[Vr,qr,_d]],["json",ox],["yaml11",bE],["yaml-1.1",bE]]),SE={binary:ty,bool:Pg,float:bT,floatExp:yT,floatNaN:gT,floatTime:_T,int:wT,intHex:ET,intOct:ST,intTime:xT,map:Vr,merge:Al,null:Cd,omap:ay,pairs:ny,seq:qr,set:sy,timestamp:kd},gx={"tag:yaml.org,2002:binary":ty,"tag:yaml.org,2002:merge":Al,"tag:yaml.org,2002:omap":ay,"tag:yaml.org,2002:pairs":ny,"tag:yaml.org,2002:set":sy,"tag:yaml.org,2002:timestamp":kd};function _g(r,l,i){const u=vE.get(l);if(u&&!r)return i&&!u.includes(Al)?u.concat(Al):u.slice();let c=u;if(!c)if(Array.isArray(r))c=[];else{const d=Array.from(vE.keys()).filter(p=>p!=="yaml11").map(p=>JSON.stringify(p)).join(", ");throw new Error(`Unknown schema "${l}"; use one of ${d} or define customTags array`)}if(Array.isArray(r))for(const d of r)c=c.concat(d);else typeof r=="function"&&(c=r(c.slice()));return i&&(c=c.concat(Al)),c.reduce((d,p)=>{const m=typeof p=="string"?SE[p]:p;if(!m){const y=JSON.stringify(p),S=Object.keys(SE).map(M=>JSON.stringify(M)).join(", ");throw new Error(`Unknown custom tag ${y}; use one of ${S}`)}return d.includes(m)||d.push(m),d},[])}const yx=(r,l)=>r.key<l.key?-1:r.key>l.key?1:0;class zd{constructor({compat:l,customTags:i,merge:u,resolveKnownTags:c,schema:d,sortMapEntries:p,toStringDefaults:m}){this.compat=Array.isArray(l)?_g(l,"compat"):l?_g(null,l):null,this.name=typeof d=="string"&&d||"core",this.knownTags=c?gx:{},this.tags=_g(i,this.name,u),this.toStringOptions=m??null,Object.defineProperty(this,ys,{value:Vr}),Object.defineProperty(this,Ja,{value:_d}),Object.defineProperty(this,Br,{value:qr}),this.sortMapEntries=typeof p=="function"?p:p===!0?yx:null}clone(){const l=Object.create(zd.prototype,Object.getOwnPropertyDescriptors(this));return l.tags=this.tags.slice(),l}}function bx(r,l){var y;const i=[];let u=l.directives===!0;if(l.directives!==!1&&r.directives){const S=r.directives.toString(r);S?(i.push(S),u=!0):r.directives.docStart&&(u=!0)}u&&i.push("---");const c=fT(r,l),{commentString:d}=c.options;if(r.commentBefore){i.length!==1&&i.unshift("");const S=d(r.commentBefore);i.unshift(Tl(S,""))}let p=!1,m=null;if(r.contents){if(mt(r.contents)){if(r.contents.spaceBefore&&u&&i.push(""),r.contents.commentBefore){const w=d(r.contents.commentBefore);i.push(Tl(w,""))}c.forceBlockIndent=!!r.comment,m=r.contents.comment}const S=m?void 0:()=>p=!0;let M=kr(r.contents,c,()=>m=null,S);m&&(M+=ci(M,"",d(m))),(M[0]==="|"||M[0]===">")&&i[i.length-1]==="---"?i[i.length-1]=`--- ${M}`:i.push(M)}else i.push(kr(r.contents,c));if((y=r.directives)!=null&&y.docEnd)if(r.comment){const S=d(r.comment);S.includes(`
|
|
331
|
+
`)?(i.push("..."),i.push(Tl(S,""))):i.push(`... ${S}`)}else i.push("...");else{let S=r.comment;S&&p&&(S=S.replace(/^\n+/,"")),S&&((!p||m)&&i[i.length-1]!==""&&i.push(""),i.push(Tl(d(S),"")))}return i.join(`
|
|
332
|
+
`)+`
|
|
333
|
+
`}class Yr{constructor(l,i,u){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,aa,{value:Yg});let c=null;typeof i=="function"||Array.isArray(i)?c=i:u===void 0&&i&&(u=i,i=void 0);const d=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},u);this.options=d;let{version:p}=d;u!=null&&u._directives?(this.directives=u._directives.atDocument(),this.directives.yaml.explicit&&(p=this.directives.yaml.version)):this.directives=new pn({version:p}),this.setSchema(p,u),this.contents=l===void 0?null:this.createNode(l,c,u)}clone(){const l=Object.create(Yr.prototype,{[aa]:{value:Yg}});return l.commentBefore=this.commentBefore,l.comment=this.comment,l.errors=this.errors.slice(),l.warnings=this.warnings.slice(),l.options=Object.assign({},this.options),this.directives&&(l.directives=this.directives.clone()),l.schema=this.schema.clone(),l.contents=mt(this.contents)?this.contents.clone(l.schema):this.contents,this.range&&(l.range=this.range.slice()),l}add(l){Tr(this.contents)&&this.contents.add(l)}addIn(l,i){Tr(this.contents)&&this.contents.addIn(l,i)}createAlias(l,i){if(!l.anchor){const u=iT(this);l.anchor=!i||u.has(i)?rT(i||"a",u):i}return new Nd(l.anchor)}createNode(l,i,u){let c;if(typeof i=="function")l=i.call({"":l},"",l),c=i;else if(Array.isArray(i)){const R=L=>typeof L=="number"||L instanceof String||L instanceof Number,U=i.filter(R).map(String);U.length>0&&(i=i.concat(U)),c=i}else u===void 0&&i&&(u=i,i=void 0);const{aliasDuplicateObjects:d,anchorPrefix:p,flow:m,keepUndefined:y,onTagObj:S,tag:M}=u??{},{onAnchor:w,setAnchors:E,sourceObjects:A}=XR(this,p||"a"),k={aliasDuplicateObjects:d??!0,keepUndefined:y??!1,onAnchor:w,onTagObj:S,replacer:c,schema:this.schema,sourceObjects:A},T=_u(l,M,k);return m&&pt(T)&&(T.flow=!0),E(),T}createPair(l,i,u={}){const c=this.createNode(l,null,u),d=this.createNode(i,null,u);return new nn(c,d)}delete(l){return Tr(this.contents)?this.contents.delete(l):!1}deleteIn(l){return Ru(l)?this.contents==null?!1:(this.contents=null,!0):Tr(this.contents)?this.contents.deleteIn(l):!1}get(l,i){return pt(this.contents)?this.contents.get(l,i):void 0}getIn(l,i){return Ru(l)?!i&&nt(this.contents)?this.contents.value:this.contents:pt(this.contents)?this.contents.getIn(l,i):void 0}has(l){return pt(this.contents)?this.contents.has(l):!1}hasIn(l){return Ru(l)?this.contents!==void 0:pt(this.contents)?this.contents.hasIn(l):!1}set(l,i){this.contents==null?this.contents=yd(this.schema,[l],i):Tr(this.contents)&&this.contents.set(l,i)}setIn(l,i){Ru(l)?this.contents=i:this.contents==null?this.contents=yd(this.schema,Array.from(l),i):Tr(this.contents)&&this.contents.setIn(l,i)}setSchema(l,i={}){typeof l=="number"&&(l=String(l));let u;switch(l){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new pn({version:"1.1"}),u={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=l:this.directives=new pn({version:l}),u={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,u=null;break;default:{const c=JSON.stringify(l);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${c}`)}}if(i.schema instanceof Object)this.schema=i.schema;else if(u)this.schema=new zd(Object.assign(u,i));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:l,jsonArg:i,mapAsMap:u,maxAliasCount:c,onAnchor:d,reviver:p}={}){const m={anchors:new Map,doc:this,keep:!l,mapAsMap:u===!0,mapKeyWarned:!1,maxAliasCount:typeof c=="number"?c:100},y=na(this.contents,i??"",m);if(typeof d=="function")for(const{count:S,res:M}of m.anchors.values())d(M,S);return typeof p=="function"?_r(p,{"":y},"",y):y}toJSON(l,i){return this.toJS({json:!0,jsonArg:l,mapAsMap:!1,onAnchor:i})}toString(l={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in l&&(!Number.isInteger(l.indent)||Number(l.indent)<=0)){const i=JSON.stringify(l.indent);throw new Error(`"indent" option must be a positive integer, not ${i}`)}return bx(this,l)}}function Tr(r){if(pt(r))return!0;throw new Error("Expected a YAML collection as document contents")}class ry extends Error{constructor(l,i,u,c){super(),this.name=l,this.code=u,this.message=c,this.pos=i}}class di extends ry{constructor(l,i,u){super("YAMLParseError",l,i,u)}}class CT extends ry{constructor(l,i,u){super("YAMLWarning",l,i,u)}}const vd=(r,l)=>i=>{if(i.pos[0]===-1)return;i.linePos=i.pos.map(m=>l.linePos(m));const{line:u,col:c}=i.linePos[0];i.message+=` at line ${u}, column ${c}`;let d=c-1,p=r.substring(l.lineStarts[u-1],l.lineStarts[u]).replace(/[\n\r]+$/,"");if(d>=60&&p.length>80){const m=Math.min(d-39,p.length-79);p="…"+p.substring(m),d-=m-1}if(p.length>80&&(p=p.substring(0,79)+"…"),u>1&&/^ *$/.test(p.substring(0,d))){let m=r.substring(l.lineStarts[u-2],l.lineStarts[u-1]);m.length>80&&(m=m.substring(0,79)+`…
|
|
334
|
+
`),p=m+p}if(/[^ ]/.test(p)){let m=1;const y=i.linePos[1];(y==null?void 0:y.line)===u&&y.col>c&&(m=Math.max(1,Math.min(y.col-c,80-d)));const S=" ".repeat(d)+"^".repeat(m);i.message+=`:
|
|
335
|
+
|
|
336
|
+
${p}
|
|
337
|
+
${S}
|
|
338
|
+
`}};function zr(r,{flow:l,indicator:i,next:u,offset:c,onError:d,parentIndent:p,startOnNewline:m}){let y=!1,S=m,M=m,w="",E="",A=!1,k=!1,T=null,R=null,U=null,L=null,Q=null,te=null,ne=null;for(const X of r)switch(k&&(X.type!=="space"&&X.type!=="newline"&&X.type!=="comma"&&d(X.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),k=!1),T&&(S&&X.type!=="comment"&&X.type!=="newline"&&d(T,"TAB_AS_INDENT","Tabs are not allowed as indentation"),T=null),X.type){case"space":!l&&(i!=="doc-start"||(u==null?void 0:u.type)!=="flow-collection")&&X.source.includes(" ")&&(T=X),M=!0;break;case"comment":{M||d(X,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const j=X.source.substring(1)||" ";w?w+=E+j:w=j,E="",S=!1;break}case"newline":S?w?w+=X.source:(!te||i!=="seq-item-ind")&&(y=!0):E+=X.source,S=!0,A=!0,(R||U)&&(L=X),M=!0;break;case"anchor":R&&d(X,"MULTIPLE_ANCHORS","A node can have at most one anchor"),X.source.endsWith(":")&&d(X.offset+X.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),R=X,ne??(ne=X.offset),S=!1,M=!1,k=!0;break;case"tag":{U&&d(X,"MULTIPLE_TAGS","A node can have at most one tag"),U=X,ne??(ne=X.offset),S=!1,M=!1,k=!0;break}case i:(R||U)&&d(X,"BAD_PROP_ORDER",`Anchors and tags must be after the ${X.source} indicator`),te&&d(X,"UNEXPECTED_TOKEN",`Unexpected ${X.source} in ${l??"collection"}`),te=X,S=i==="seq-item-ind"||i==="explicit-key-ind",M=!1;break;case"comma":if(l){Q&&d(X,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`),Q=X,S=!1,M=!1;break}default:d(X,"UNEXPECTED_TOKEN",`Unexpected ${X.type} token`),S=!1,M=!1}const oe=r[r.length-1],le=oe?oe.offset+oe.source.length:c;return k&&u&&u.type!=="space"&&u.type!=="newline"&&u.type!=="comma"&&(u.type!=="scalar"||u.source!=="")&&d(u.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),T&&(S&&T.indent<=p||(u==null?void 0:u.type)==="block-map"||(u==null?void 0:u.type)==="block-seq")&&d(T,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:Q,found:te,spaceBefore:y,comment:w,hasNewline:A,anchor:R,tag:U,newlineAfterProp:L,end:le,start:ne??le}}function Cu(r){if(!r)return null;switch(r.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(r.source.includes(`
|
|
339
|
+
`))return!0;if(r.end){for(const l of r.end)if(l.type==="newline")return!0}return!1;case"flow-collection":for(const l of r.items){for(const i of l.start)if(i.type==="newline")return!0;if(l.sep){for(const i of l.sep)if(i.type==="newline")return!0}if(Cu(l.key)||Cu(l.value))return!0}return!1;default:return!0}}function Jg(r,l,i){if((l==null?void 0:l.type)==="flow-collection"){const u=l.end[0];u.indent===r&&(u.source==="]"||u.source==="}")&&Cu(l)&&i(u,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function MT(r,l,i){const{uniqueKeys:u}=r.options;if(u===!1)return!1;const c=typeof u=="function"?u:(d,p)=>d===p||nt(d)&&nt(p)&&d.value===p.value;return l.some(d=>c(d.key,i))}const wE="All mapping items must start at the same column";function vx({composeNode:r,composeEmptyNode:l},i,u,c,d){var M;const p=(d==null?void 0:d.nodeClass)??$n,m=new p(i.schema);i.atRoot&&(i.atRoot=!1);let y=u.offset,S=null;for(const w of u.items){const{start:E,key:A,sep:k,value:T}=w,R=zr(E,{indicator:"explicit-key-ind",next:A??(k==null?void 0:k[0]),offset:y,onError:c,parentIndent:u.indent,startOnNewline:!0}),U=!R.found;if(U){if(A&&(A.type==="block-seq"?c(y,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in A&&A.indent!==u.indent&&c(y,"BAD_INDENT",wE)),!R.anchor&&!R.tag&&!k){S=R.end,R.comment&&(m.comment?m.comment+=`
|
|
340
|
+
`+R.comment:m.comment=R.comment);continue}(R.newlineAfterProp||Cu(A))&&c(A??E[E.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((M=R.found)==null?void 0:M.indent)!==u.indent&&c(y,"BAD_INDENT",wE);i.atKey=!0;const L=R.end,Q=A?r(i,A,R,c):l(i,L,E,null,R,c);i.schema.compat&&Jg(u.indent,A,c),i.atKey=!1,MT(i,m.items,Q)&&c(L,"DUPLICATE_KEY","Map keys must be unique");const te=zr(k??[],{indicator:"map-value-ind",next:T,offset:Q.range[2],onError:c,parentIndent:u.indent,startOnNewline:!A||A.type==="block-scalar"});if(y=te.end,te.found){U&&((T==null?void 0:T.type)==="block-map"&&!te.hasNewline&&c(y,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),i.options.strict&&R.start<te.found.offset-1024&&c(Q.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const ne=T?r(i,T,te,c):l(i,y,k,null,te,c);i.schema.compat&&Jg(u.indent,T,c),y=ne.range[2];const oe=new nn(Q,ne);i.options.keepSourceTokens&&(oe.srcToken=w),m.items.push(oe)}else{U&&c(Q.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),te.comment&&(Q.comment?Q.comment+=`
|
|
341
|
+
`+te.comment:Q.comment=te.comment);const ne=new nn(Q);i.options.keepSourceTokens&&(ne.srcToken=w),m.items.push(ne)}}return S&&S<y&&c(S,"IMPOSSIBLE","Map comment with trailing content"),m.range=[u.offset,y,S??y],m}function Sx({composeNode:r,composeEmptyNode:l},i,u,c,d){const p=(d==null?void 0:d.nodeClass)??bs,m=new p(i.schema);i.atRoot&&(i.atRoot=!1),i.atKey&&(i.atKey=!1);let y=u.offset,S=null;for(const{start:M,value:w}of u.items){const E=zr(M,{indicator:"seq-item-ind",next:w,offset:y,onError:c,parentIndent:u.indent,startOnNewline:!0});if(!E.found)if(E.anchor||E.tag||w)(w==null?void 0:w.type)==="block-seq"?c(E.end,"BAD_INDENT","All sequence items must start at the same column"):c(y,"MISSING_CHAR","Sequence item without - indicator");else{S=E.end,E.comment&&(m.comment=E.comment);continue}const A=w?r(i,w,E,c):l(i,E.end,M,null,E,c);i.schema.compat&&Jg(u.indent,w,c),y=A.range[2],m.items.push(A)}return m.range=[u.offset,y,S??y],m}function ju(r,l,i,u){let c="";if(r){let d=!1,p="";for(const m of r){const{source:y,type:S}=m;switch(S){case"space":d=!0;break;case"comment":{i&&!d&&u(m,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const M=y.substring(1)||" ";c?c+=p+M:c=M,p="";break}case"newline":c&&(p+=y),d=!0;break;default:u(m,"UNEXPECTED_TOKEN",`Unexpected ${S} at node end`)}l+=y.length}}return{comment:c,offset:l}}const Cg="Block collections are not allowed within flow collections",Mg=r=>r&&(r.type==="block-map"||r.type==="block-seq");function wx({composeNode:r,composeEmptyNode:l},i,u,c,d){var R;const p=u.start.source==="{",m=p?"flow map":"flow sequence",y=(d==null?void 0:d.nodeClass)??(p?$n:bs),S=new y(i.schema);S.flow=!0;const M=i.atRoot;M&&(i.atRoot=!1),i.atKey&&(i.atKey=!1);let w=u.offset+u.start.source.length;for(let U=0;U<u.items.length;++U){const L=u.items[U],{start:Q,key:te,sep:ne,value:oe}=L,le=zr(Q,{flow:m,indicator:"explicit-key-ind",next:te??(ne==null?void 0:ne[0]),offset:w,onError:c,parentIndent:u.indent,startOnNewline:!1});if(!le.found){if(!le.anchor&&!le.tag&&!ne&&!oe){U===0&&le.comma?c(le.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${m}`):U<u.items.length-1&&c(le.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${m}`),le.comment&&(S.comment?S.comment+=`
|
|
342
|
+
`+le.comment:S.comment=le.comment),w=le.end;continue}!p&&i.options.strict&&Cu(te)&&c(te,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(U===0)le.comma&&c(le.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${m}`);else if(le.comma||c(le.start,"MISSING_CHAR",`Missing , between ${m} items`),le.comment){let X="";e:for(const j of Q)switch(j.type){case"comma":case"space":break;case"comment":X=j.source.substring(1);break e;default:break e}if(X){let j=S.items[S.items.length-1];ct(j)&&(j=j.value??j.key),j.comment?j.comment+=`
|
|
343
|
+
`+X:j.comment=X,le.comment=le.comment.substring(X.length+1)}}if(!p&&!ne&&!le.found){const X=oe?r(i,oe,le,c):l(i,le.end,ne,null,le,c);S.items.push(X),w=X.range[2],Mg(oe)&&c(X.range,"BLOCK_IN_FLOW",Cg)}else{i.atKey=!0;const X=le.end,j=te?r(i,te,le,c):l(i,X,Q,null,le,c);Mg(te)&&c(j.range,"BLOCK_IN_FLOW",Cg),i.atKey=!1;const J=zr(ne??[],{flow:m,indicator:"map-value-ind",next:oe,offset:j.range[2],onError:c,parentIndent:u.indent,startOnNewline:!1});if(J.found){if(!p&&!le.found&&i.options.strict){if(ne)for(const K of ne){if(K===J.found)break;if(K.type==="newline"){c(K,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}le.start<J.found.offset-1024&&c(J.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else oe&&("source"in oe&&((R=oe.source)==null?void 0:R[0])===":"?c(oe,"MISSING_CHAR",`Missing space after : in ${m}`):c(J.start,"MISSING_CHAR",`Missing , or : between ${m} items`));const de=oe?r(i,oe,J,c):J.found?l(i,J.end,ne,null,J,c):null;de?Mg(oe)&&c(de.range,"BLOCK_IN_FLOW",Cg):J.comment&&(j.comment?j.comment+=`
|
|
344
|
+
`+J.comment:j.comment=J.comment);const $=new nn(j,de);if(i.options.keepSourceTokens&&($.srcToken=L),p){const K=S;MT(i,K.items,j)&&c(X,"DUPLICATE_KEY","Map keys must be unique"),K.items.push($)}else{const K=new $n(i.schema);K.flow=!0,K.items.push($);const Me=(de??j).range;K.range=[j.range[0],Me[1],Me[2]],S.items.push(K)}w=de?de.range[2]:J.end}}const E=p?"}":"]",[A,...k]=u.end;let T=w;if((A==null?void 0:A.source)===E)T=A.offset+A.source.length;else{const U=m[0].toUpperCase()+m.substring(1),L=M?`${U} must end with a ${E}`:`${U} in block collection must be sufficiently indented and end with a ${E}`;c(w,M?"MISSING_CHAR":"BAD_INDENT",L),A&&A.source.length!==1&&k.unshift(A)}if(k.length>0){const U=ju(k,T,i.options.strict,c);U.comment&&(S.comment?S.comment+=`
|
|
345
|
+
`+U.comment:S.comment=U.comment),S.range=[u.offset,T,U.offset]}else S.range=[u.offset,T,T];return S}function Ug(r,l,i,u,c,d){const p=i.type==="block-map"?vx(r,l,i,u,d):i.type==="block-seq"?Sx(r,l,i,u,d):wx(r,l,i,u,d),m=p.constructor;return c==="!"||c===m.tagName?(p.tag=m.tagName,p):(c&&(p.tag=c),p)}function Ex(r,l,i,u,c){var E;const d=u.tag,p=d?l.directives.tagName(d.source,A=>c(d,"TAG_RESOLVE_FAILED",A)):null;if(i.type==="block-seq"){const{anchor:A,newlineAfterProp:k}=u,T=A&&d?A.offset>d.offset?A:d:A??d;T&&(!k||k.offset<T.offset)&&c(T,"MISSING_CHAR","Missing newline after block sequence props")}const m=i.type==="block-map"?"map":i.type==="block-seq"?"seq":i.start.source==="{"?"map":"seq";if(!d||!p||p==="!"||p===$n.tagName&&m==="map"||p===bs.tagName&&m==="seq")return Ug(r,l,i,c,p);let y=l.schema.tags.find(A=>A.tag===p&&A.collection===m);if(!y){const A=l.schema.knownTags[p];if((A==null?void 0:A.collection)===m)l.schema.tags.push(Object.assign({},A,{default:!1})),y=A;else return A?c(d,"BAD_COLLECTION_TYPE",`${A.tag} used for ${m} collection, but expects ${A.collection??"scalar"}`,!0):c(d,"TAG_RESOLVE_FAILED",`Unresolved tag: ${p}`,!0),Ug(r,l,i,c,p)}const S=Ug(r,l,i,c,p,y),M=((E=y.resolve)==null?void 0:E.call(y,S,A=>c(d,"TAG_RESOLVE_FAILED",A),l.options))??S,w=mt(M)?M:new Ne(M);return w.range=S.range,w.tag=p,y!=null&&y.format&&(w.format=y.format),w}function UT(r,l,i){const u=l.offset,c=Tx(l,r.options.strict,i);if(!c)return{value:"",type:null,comment:"",range:[u,u,u]};const d=c.mode===">"?Ne.BLOCK_FOLDED:Ne.BLOCK_LITERAL,p=l.source?Ax(l.source):[];let m=p.length;for(let T=p.length-1;T>=0;--T){const R=p[T][1];if(R===""||R==="\r")m=T;else break}if(m===0){const T=c.chomp==="+"&&p.length>0?`
|
|
346
|
+
`.repeat(Math.max(1,p.length-1)):"";let R=u+c.length;return l.source&&(R+=l.source.length),{value:T,type:d,comment:c.comment,range:[u,R,R]}}let y=l.indent+c.indent,S=l.offset+c.length,M=0;for(let T=0;T<m;++T){const[R,U]=p[T];if(U===""||U==="\r")c.indent===0&&R.length>y&&(y=R.length);else{R.length<y&&i(S+R.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),c.indent===0&&(y=R.length),M=T,y===0&&!r.atRoot&&i(S,"BAD_INDENT","Block scalar values in collections must be indented");break}S+=R.length+U.length+1}for(let T=p.length-1;T>=m;--T)p[T][0].length>y&&(m=T+1);let w="",E="",A=!1;for(let T=0;T<M;++T)w+=p[T][0].slice(y)+`
|
|
347
|
+
`;for(let T=M;T<m;++T){let[R,U]=p[T];S+=R.length+U.length+1;const L=U[U.length-1]==="\r";if(L&&(U=U.slice(0,-1)),U&&R.length<y){const te=`Block scalar lines must not be less indented than their ${c.indent?"explicit indentation indicator":"first line"}`;i(S-U.length-(L?2:1),"BAD_INDENT",te),R=""}d===Ne.BLOCK_LITERAL?(w+=E+R.slice(y)+U,E=`
|
|
348
|
+
`):R.length>y||U[0]===" "?(E===" "?E=`
|
|
349
|
+
`:!A&&E===`
|
|
350
|
+
`&&(E=`
|
|
351
|
+
|
|
352
|
+
`),w+=E+R.slice(y)+U,E=`
|
|
353
|
+
`,A=!0):U===""?E===`
|
|
354
|
+
`?w+=`
|
|
355
|
+
`:E=`
|
|
356
|
+
`:(w+=E+U,E=" ",A=!1)}switch(c.chomp){case"-":break;case"+":for(let T=m;T<p.length;++T)w+=`
|
|
357
|
+
`+p[T][0].slice(y);w[w.length-1]!==`
|
|
358
|
+
`&&(w+=`
|
|
359
|
+
`);break;default:w+=`
|
|
360
|
+
`}const k=u+c.length+l.source.length;return{value:w,type:d,comment:c.comment,range:[u,k,k]}}function Tx({offset:r,props:l},i,u){if(l[0].type!=="block-scalar-header")return u(l[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:c}=l[0],d=c[0];let p=0,m="",y=-1;for(let E=1;E<c.length;++E){const A=c[E];if(!m&&(A==="-"||A==="+"))m=A;else{const k=Number(A);!p&&k?p=k:y===-1&&(y=r+E)}}y!==-1&&u(y,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${c}`);let S=!1,M="",w=c.length;for(let E=1;E<l.length;++E){const A=l[E];switch(A.type){case"space":S=!0;case"newline":w+=A.source.length;break;case"comment":i&&!S&&u(A,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),w+=A.source.length,M=A.source.substring(1);break;case"error":u(A,"UNEXPECTED_TOKEN",A.message),w+=A.source.length;break;default:{const k=`Unexpected token in block scalar header: ${A.type}`;u(A,"UNEXPECTED_TOKEN",k);const T=A.source;T&&typeof T=="string"&&(w+=T.length)}}}return{mode:d,indent:p,chomp:m,comment:M,length:w}}function Ax(r){const l=r.split(/\n( *)/),i=l[0],u=i.match(/^( *)/),d=[u!=null&&u[1]?[u[1],i.slice(u[1].length)]:["",i]];for(let p=1;p<l.length;p+=2)d.push([l[p],l[p+1]]);return d}function kT(r,l,i){const{offset:u,type:c,source:d,end:p}=r;let m,y;const S=(E,A,k)=>i(u+E,A,k);switch(c){case"scalar":m=Ne.PLAIN,y=Ox(d,S);break;case"single-quoted-scalar":m=Ne.QUOTE_SINGLE,y=Nx(d,S);break;case"double-quoted-scalar":m=Ne.QUOTE_DOUBLE,y=Dx(d,S);break;default:return i(r,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${c}`),{value:"",type:null,comment:"",range:[u,u+d.length,u+d.length]}}const M=u+d.length,w=ju(p,M,l,i);return{value:y,type:m,comment:w.comment,range:[u,M,w.offset]}}function Ox(r,l){let i="";switch(r[0]){case" ":i="a tab character";break;case",":i="flow indicator character ,";break;case"%":i="directive indicator character %";break;case"|":case">":{i=`block scalar indicator ${r[0]}`;break}case"@":case"`":{i=`reserved character ${r[0]}`;break}}return i&&l(0,"BAD_SCALAR_START",`Plain value cannot start with ${i}`),zT(r)}function Nx(r,l){return(r[r.length-1]!=="'"||r.length===1)&&l(r.length,"MISSING_CHAR","Missing closing 'quote"),zT(r.slice(1,-1)).replace(/''/g,"'")}function zT(r){let l,i;try{l=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
361
|
+
`,"sy"),i=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
362
|
+
`,"sy")}catch{l=/(.*?)[ \t]*\r?\n/sy,i=/[ \t]*(.*?)[ \t]*\r?\n/sy}let u=l.exec(r);if(!u)return r;let c=u[1],d=" ",p=l.lastIndex;for(i.lastIndex=p;u=i.exec(r);)u[1]===""?d===`
|
|
363
|
+
`?c+=d:d=`
|
|
364
|
+
`:(c+=d+u[1],d=" "),p=i.lastIndex;const m=/[ \t]*(.*)/sy;return m.lastIndex=p,u=m.exec(r),c+d+((u==null?void 0:u[1])??"")}function Dx(r,l){let i="";for(let u=1;u<r.length-1;++u){const c=r[u];if(!(c==="\r"&&r[u+1]===`
|
|
365
|
+
`))if(c===`
|
|
366
|
+
`){const{fold:d,offset:p}=Rx(r,u);i+=d,u=p}else if(c==="\\"){let d=r[++u];const p=xx[d];if(p)i+=p;else if(d===`
|
|
367
|
+
`)for(d=r[u+1];d===" "||d===" ";)d=r[++u+1];else if(d==="\r"&&r[u+1]===`
|
|
368
|
+
`)for(d=r[++u+1];d===" "||d===" ";)d=r[++u+1];else if(d==="x"||d==="u"||d==="U"){const m={x:2,u:4,U:8}[d];i+=_x(r,u+1,m,l),u+=m}else{const m=r.substr(u-1,2);l(u-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${m}`),i+=m}}else if(c===" "||c===" "){const d=u;let p=r[u+1];for(;p===" "||p===" ";)p=r[++u+1];p!==`
|
|
369
|
+
`&&!(p==="\r"&&r[u+2]===`
|
|
370
|
+
`)&&(i+=u>d?r.slice(d,u+1):c)}else i+=c}return(r[r.length-1]!=='"'||r.length===1)&&l(r.length,"MISSING_CHAR",'Missing closing "quote'),i}function Rx(r,l){let i="",u=r[l+1];for(;(u===" "||u===" "||u===`
|
|
371
|
+
`||u==="\r")&&!(u==="\r"&&r[l+2]!==`
|
|
372
|
+
`);)u===`
|
|
373
|
+
`&&(i+=`
|
|
374
|
+
`),l+=1,u=r[l+1];return i||(i=" "),{fold:i,offset:l}}const xx={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
375
|
+
`,r:"\r",t:" ",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function _x(r,l,i,u){const c=r.substr(l,i),p=c.length===i&&/^[0-9a-fA-F]+$/.test(c)?parseInt(c,16):NaN;if(isNaN(p)){const m=r.substr(l-2,i+2);return u(l-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${m}`),m}return String.fromCodePoint(p)}function jT(r,l,i,u){const{value:c,type:d,comment:p,range:m}=l.type==="block-scalar"?UT(r,l,u):kT(l,r.options.strict,u),y=i?r.directives.tagName(i.source,w=>u(i,"TAG_RESOLVE_FAILED",w)):null;let S;r.options.stringKeys&&r.atKey?S=r.schema[Ja]:y?S=Cx(r.schema,c,y,i,u):l.type==="scalar"?S=Mx(r,c,l,u):S=r.schema[Ja];let M;try{const w=S.resolve(c,E=>u(i??l,"TAG_RESOLVE_FAILED",E),r.options);M=nt(w)?w:new Ne(w)}catch(w){const E=w instanceof Error?w.message:String(w);u(i??l,"TAG_RESOLVE_FAILED",E),M=new Ne(c)}return M.range=m,M.source=c,d&&(M.type=d),y&&(M.tag=y),S.format&&(M.format=S.format),p&&(M.comment=p),M}function Cx(r,l,i,u,c){var m;if(i==="!")return r[Ja];const d=[];for(const y of r.tags)if(!y.collection&&y.tag===i)if(y.default&&y.test)d.push(y);else return y;for(const y of d)if((m=y.test)!=null&&m.test(l))return y;const p=r.knownTags[i];return p&&!p.collection?(r.tags.push(Object.assign({},p,{default:!1,test:void 0})),p):(c(u,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,i!=="tag:yaml.org,2002:str"),r[Ja])}function Mx({atKey:r,directives:l,schema:i},u,c,d){const p=i.tags.find(m=>{var y;return(m.default===!0||r&&m.default==="key")&&((y=m.test)==null?void 0:y.test(u))})||i[Ja];if(i.compat){const m=i.compat.find(y=>{var S;return y.default&&((S=y.test)==null?void 0:S.test(u))})??i[Ja];if(p.tag!==m.tag){const y=l.tagString(p.tag),S=l.tagString(m.tag),M=`Value may be parsed as either ${y} or ${S}`;d(c,"TAG_RESOLVE_FAILED",M,!0)}}return p}function Ux(r,l,i){if(l){i??(i=l.length);for(let u=i-1;u>=0;--u){let c=l[u];switch(c.type){case"space":case"comment":case"newline":r-=c.source.length;continue}for(c=l[++u];(c==null?void 0:c.type)==="space";)r+=c.source.length,c=l[++u];break}}return r}const kx={composeNode:LT,composeEmptyNode:oy};function LT(r,l,i,u){const c=r.atKey,{spaceBefore:d,comment:p,anchor:m,tag:y}=i;let S,M=!0;switch(l.type){case"alias":S=zx(r,l,u),(m||y)&&u(l,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":S=jT(r,l,y,u),m&&(S.anchor=m.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{S=Ex(kx,r,l,i,u),m&&(S.anchor=m.source.substring(1))}catch(w){const E=w instanceof Error?w.message:String(w);u(l,"RESOURCE_EXHAUSTION",E)}break;default:{const w=l.type==="error"?l.message:`Unsupported token (type: ${l.type})`;u(l,"UNEXPECTED_TOKEN",w),M=!1}}return S??(S=oy(r,l.offset,void 0,null,i,u)),m&&S.anchor===""&&u(m,"BAD_ALIAS","Anchor cannot be an empty string"),c&&r.options.stringKeys&&(!nt(S)||typeof S.value!="string"||S.tag&&S.tag!=="tag:yaml.org,2002:str")&&u(y??l,"NON_STRING_KEY","With stringKeys, all keys must be strings"),d&&(S.spaceBefore=!0),p&&(l.type==="scalar"&&l.source===""?S.comment=p:S.commentBefore=p),r.options.keepSourceTokens&&M&&(S.srcToken=l),S}function oy(r,l,i,u,{spaceBefore:c,comment:d,anchor:p,tag:m,end:y},S){const M={type:"scalar",offset:Ux(l,i,u),indent:-1,source:""},w=jT(r,M,m,S);return p&&(w.anchor=p.source.substring(1),w.anchor===""&&S(p,"BAD_ALIAS","Anchor cannot be an empty string")),c&&(w.spaceBefore=!0),d&&(w.comment=d,w.range[2]=y),w}function zx({options:r},{offset:l,source:i,end:u},c){const d=new Nd(i.substring(1));d.source===""&&c(l,"BAD_ALIAS","Alias cannot be an empty string"),d.source.endsWith(":")&&c(l+i.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const p=l+i.length,m=ju(u,p,r.strict,c);return d.range=[l,p,m.offset],m.comment&&(d.comment=m.comment),d}function jx(r,l,{offset:i,start:u,value:c,end:d},p){const m=Object.assign({_directives:l},r),y=new Yr(void 0,m),S={atKey:!1,atRoot:!0,directives:y.directives,options:y.options,schema:y.schema},M=zr(u,{indicator:"doc-start",next:c??(d==null?void 0:d[0]),offset:i,onError:p,parentIndent:0,startOnNewline:!0});M.found&&(y.directives.docStart=!0,c&&(c.type==="block-map"||c.type==="block-seq")&&!M.hasNewline&&p(M.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),y.contents=c?LT(S,c,M,p):oy(S,M.end,u,null,M,p);const w=y.contents.range[2],E=ju(d,w,!1,p);return E.comment&&(y.comment=E.comment),y.range=[i,w,E.offset],y}function Nu(r){if(typeof r=="number")return[r,r+1];if(Array.isArray(r))return r.length===2?r:[r[0],r[1]];const{offset:l,source:i}=r;return[l,l+(typeof i=="string"?i.length:1)]}function EE(r){var c;let l="",i=!1,u=!1;for(let d=0;d<r.length;++d){const p=r[d];switch(p[0]){case"#":l+=(l===""?"":u?`
|
|
376
|
+
|
|
377
|
+
`:`
|
|
378
|
+
`)+(p.substring(1)||" "),i=!0,u=!1;break;case"%":((c=r[d+1])==null?void 0:c[0])!=="#"&&(d+=1),i=!1;break;default:i||(u=!0),i=!1}}return{comment:l,afterEmptyLine:u}}class uy{constructor(l={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(i,u,c,d)=>{const p=Nu(i);d?this.warnings.push(new CT(p,u,c)):this.errors.push(new di(p,u,c))},this.directives=new pn({version:l.version||"1.2"}),this.options=l}decorate(l,i){const{comment:u,afterEmptyLine:c}=EE(this.prelude);if(u){const d=l.contents;if(i)l.comment=l.comment?`${l.comment}
|
|
379
|
+
${u}`:u;else if(c||l.directives.docStart||!d)l.commentBefore=u;else if(pt(d)&&!d.flow&&d.items.length>0){let p=d.items[0];ct(p)&&(p=p.key);const m=p.commentBefore;p.commentBefore=m?`${u}
|
|
380
|
+
${m}`:u}else{const p=d.commentBefore;d.commentBefore=p?`${u}
|
|
381
|
+
${p}`:u}}i?(Array.prototype.push.apply(l.errors,this.errors),Array.prototype.push.apply(l.warnings,this.warnings)):(l.errors=this.errors,l.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:EE(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(l,i=!1,u=-1){for(const c of l)yield*this.next(c);yield*this.end(i,u)}*next(l){switch(l.type){case"directive":this.directives.add(l.source,(i,u,c)=>{const d=Nu(l);d[0]+=i,this.onError(d,"BAD_DIRECTIVE",u,c)}),this.prelude.push(l.source),this.atDirectives=!0;break;case"document":{const i=jx(this.options,this.directives,l,this.onError);this.atDirectives&&!i.directives.docStart&&this.onError(l,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(i,!1),this.doc&&(yield this.doc),this.doc=i,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(l.source);break;case"error":{const i=l.source?`${l.message}: ${JSON.stringify(l.source)}`:l.message,u=new di(Nu(l),"UNEXPECTED_TOKEN",i);this.atDirectives||!this.doc?this.errors.push(u):this.doc.errors.push(u);break}case"doc-end":{if(!this.doc){const u="Unexpected doc-end without preceding document";this.errors.push(new di(Nu(l),"UNEXPECTED_TOKEN",u));break}this.doc.directives.docEnd=!0;const i=ju(l.end,l.offset+l.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),i.comment){const u=this.doc.comment;this.doc.comment=u?`${u}
|
|
382
|
+
${i.comment}`:i.comment}this.doc.range[2]=i.offset;break}default:this.errors.push(new di(Nu(l),"UNEXPECTED_TOKEN",`Unsupported token ${l.type}`))}}*end(l=!1,i=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(l){const u=Object.assign({_directives:this.directives},this.options),c=new Yr(void 0,u);this.atDirectives&&this.onError(i,"MISSING_CHAR","Missing directives-end indicator line"),c.range=[0,i,i],this.decorate(c,!1),yield c}}}function Lx(r,l=!0,i){if(r){const u=(c,d,p)=>{const m=typeof c=="number"?c:Array.isArray(c)?c[0]:c.offset;if(i)i(m,d,p);else throw new di([m,m+1],d,p)};switch(r.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return kT(r,l,u);case"block-scalar":return UT({options:{strict:l}},r,u)}}return null}function Bx(r,l){const{implicitKey:i=!1,indent:u,inFlow:c=!1,offset:d=-1,type:p="PLAIN"}=l,m=ku({type:p,value:r},{implicitKey:i,indent:u>0?" ".repeat(u):"",inFlow:c,options:{blockQuote:!0,lineWidth:-1}}),y=l.end??[{type:"newline",offset:-1,indent:u,source:`
|
|
383
|
+
`}];switch(m[0]){case"|":case">":{const S=m.indexOf(`
|
|
384
|
+
`),M=m.substring(0,S),w=m.substring(S+1)+`
|
|
385
|
+
`,E=[{type:"block-scalar-header",offset:d,indent:u,source:M}];return BT(E,y)||E.push({type:"newline",offset:-1,indent:u,source:`
|
|
386
|
+
`}),{type:"block-scalar",offset:d,indent:u,props:E,source:w}}case'"':return{type:"double-quoted-scalar",offset:d,indent:u,source:m,end:y};case"'":return{type:"single-quoted-scalar",offset:d,indent:u,source:m,end:y};default:return{type:"scalar",offset:d,indent:u,source:m,end:y}}}function $x(r,l,i={}){let{afterKey:u=!1,implicitKey:c=!1,inFlow:d=!1,type:p}=i,m="indent"in r?r.indent:null;if(u&&typeof m=="number"&&(m+=2),!p)switch(r.type){case"single-quoted-scalar":p="QUOTE_SINGLE";break;case"double-quoted-scalar":p="QUOTE_DOUBLE";break;case"block-scalar":{const S=r.props[0];if(S.type!=="block-scalar-header")throw new Error("Invalid block scalar header");p=S.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:p="PLAIN"}const y=ku({type:p,value:l},{implicitKey:c||m===null,indent:m!==null&&m>0?" ".repeat(m):"",inFlow:d,options:{blockQuote:!0,lineWidth:-1}});switch(y[0]){case"|":case">":Hx(r,y);break;case'"':kg(r,y,"double-quoted-scalar");break;case"'":kg(r,y,"single-quoted-scalar");break;default:kg(r,y,"scalar")}}function Hx(r,l){const i=l.indexOf(`
|
|
387
|
+
`),u=l.substring(0,i),c=l.substring(i+1)+`
|
|
388
|
+
`;if(r.type==="block-scalar"){const d=r.props[0];if(d.type!=="block-scalar-header")throw new Error("Invalid block scalar header");d.source=u,r.source=c}else{const{offset:d}=r,p="indent"in r?r.indent:-1,m=[{type:"block-scalar-header",offset:d,indent:p,source:u}];BT(m,"end"in r?r.end:void 0)||m.push({type:"newline",offset:-1,indent:p,source:`
|
|
389
|
+
`});for(const y of Object.keys(r))y!=="type"&&y!=="offset"&&delete r[y];Object.assign(r,{type:"block-scalar",indent:p,props:m,source:c})}}function BT(r,l){if(l)for(const i of l)switch(i.type){case"space":case"comment":r.push(i);break;case"newline":return r.push(i),!0}return!1}function kg(r,l,i){switch(r.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":r.type=i,r.source=l;break;case"block-scalar":{const u=r.props.slice(1);let c=l.length;r.props[0].type==="block-scalar-header"&&(c-=r.props[0].source.length);for(const d of u)d.offset+=c;delete r.props,Object.assign(r,{type:i,source:l,end:u});break}case"block-map":case"block-seq":{const c={type:"newline",offset:r.offset+l.length,indent:r.indent,source:`
|
|
390
|
+
`};delete r.items,Object.assign(r,{type:i,source:l,end:[c]});break}default:{const u="indent"in r?r.indent:-1,c="end"in r&&Array.isArray(r.end)?r.end.filter(d=>d.type==="space"||d.type==="comment"||d.type==="newline"):[];for(const d of Object.keys(r))d!=="type"&&d!=="offset"&&delete r[d];Object.assign(r,{type:i,indent:u,source:l,end:c})}}}const Vx=r=>"type"in r?Sd(r):md(r);function Sd(r){switch(r.type){case"block-scalar":{let l="";for(const i of r.props)l+=Sd(i);return l+r.source}case"block-map":case"block-seq":{let l="";for(const i of r.items)l+=md(i);return l}case"flow-collection":{let l=r.start.source;for(const i of r.items)l+=md(i);for(const i of r.end)l+=i.source;return l}case"document":{let l=md(r);if(r.end)for(const i of r.end)l+=i.source;return l}default:{let l=r.source;if("end"in r&&r.end)for(const i of r.end)l+=i.source;return l}}}function md({start:r,key:l,sep:i,value:u}){let c="";for(const d of r)c+=d.source;if(l&&(c+=Sd(l)),i)for(const d of i)c+=d.source;return u&&(c+=Sd(u)),c}const Ig=Symbol("break visit"),qx=Symbol("skip children"),$T=Symbol("remove item");function pi(r,l){"type"in r&&r.type==="document"&&(r={start:r.start,value:r.value}),HT(Object.freeze([]),r,l)}pi.BREAK=Ig;pi.SKIP=qx;pi.REMOVE=$T;pi.itemAtPath=(r,l)=>{let i=r;for(const[u,c]of l){const d=i==null?void 0:i[u];if(d&&"items"in d)i=d.items[c];else return}return i};pi.parentCollection=(r,l)=>{const i=pi.itemAtPath(r,l.slice(0,-1)),u=l[l.length-1][0],c=i==null?void 0:i[u];if(c&&"items"in c)return c;throw new Error("Parent collection not found")};function HT(r,l,i){let u=i(l,r);if(typeof u=="symbol")return u;for(const c of["key","value"]){const d=l[c];if(d&&"items"in d){for(let p=0;p<d.items.length;++p){const m=HT(Object.freeze(r.concat([[c,p]])),d.items[p],i);if(typeof m=="number")p=m-1;else{if(m===Ig)return Ig;m===$T&&(d.items.splice(p,1),p-=1)}}typeof u=="function"&&c==="key"&&(u=u(l,r))}}return typeof u=="function"?u(l,r):u}const jd="\uFEFF",Ld="",Bd="",Mu="",Yx=r=>!!r&&"items"in r,Gx=r=>!!r&&(r.type==="scalar"||r.type==="single-quoted-scalar"||r.type==="double-quoted-scalar"||r.type==="block-scalar");function Qx(r){switch(r){case jd:return"<BOM>";case Ld:return"<DOC>";case Bd:return"<FLOW_END>";case Mu:return"<SCALAR>";default:return JSON.stringify(r)}}function VT(r){switch(r){case jd:return"byte-order-mark";case Ld:return"doc-mode";case Bd:return"flow-error-end";case Mu:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
391
|
+
`:case`\r
|
|
392
|
+
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(r[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}const Xx=Object.freeze(Object.defineProperty({__proto__:null,BOM:jd,DOCUMENT:Ld,FLOW_END:Bd,SCALAR:Mu,createScalarToken:Bx,isCollection:Yx,isScalar:Gx,prettyToken:Qx,resolveAsScalar:Lx,setScalarValue:$x,stringify:Vx,tokenType:VT,visit:pi},Symbol.toStringTag,{value:"Module"}));function ma(r){switch(r){case void 0:case" ":case`
|
|
393
|
+
`:case"\r":case" ":return!0;default:return!1}}const TE=new Set("0123456789ABCDEFabcdef"),Jx=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),ld=new Set(",[]{}"),Ix=new Set(` ,[]{}
|
|
394
|
+
\r `),zg=r=>!r||Ix.has(r);class qT{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(l,i=!1){if(l){if(typeof l!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+l:l,this.lineEndPos=null}this.atEnd=!i;let u=this.next??"stream";for(;u&&(i||this.hasChars(1));)u=yield*this.parseNext(u)}atLineEnd(){let l=this.pos,i=this.buffer[l];for(;i===" "||i===" ";)i=this.buffer[++l];return!i||i==="#"||i===`
|
|
395
|
+
`?!0:i==="\r"?this.buffer[l+1]===`
|
|
396
|
+
`:!1}charAt(l){return this.buffer[this.pos+l]}continueScalar(l){let i=this.buffer[l];if(this.indentNext>0){let u=0;for(;i===" ";)i=this.buffer[++u+l];if(i==="\r"){const c=this.buffer[u+l+1];if(c===`
|
|
397
|
+
`||!c&&!this.atEnd)return l+u+1}return i===`
|
|
398
|
+
`||u>=this.indentNext||!i&&!this.atEnd?l+u:-1}if(i==="-"||i==="."){const u=this.buffer.substr(l,3);if((u==="---"||u==="...")&&ma(this.buffer[l+3]))return-1}return l}getLine(){let l=this.lineEndPos;return(typeof l!="number"||l!==-1&&l<this.pos)&&(l=this.buffer.indexOf(`
|
|
399
|
+
`,this.pos),this.lineEndPos=l),l===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[l-1]==="\r"&&(l-=1),this.buffer.substring(this.pos,l))}hasChars(l){return this.pos+l<=this.buffer.length}setNext(l){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=l,null}peek(l){return this.buffer.substr(this.pos,l)}*parseNext(l){switch(l){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let l=this.getLine();if(l===null)return this.setNext("stream");if(l[0]===jd&&(yield*this.pushCount(1),l=l.substring(1)),l[0]==="%"){let i=l.length,u=l.indexOf("#");for(;u!==-1;){const d=l[u-1];if(d===" "||d===" "){i=u-1;break}else u=l.indexOf("#",u+1)}for(;;){const d=l[i-1];if(d===" "||d===" ")i-=1;else break}const c=(yield*this.pushCount(i))+(yield*this.pushSpaces(!0));return yield*this.pushCount(l.length-c),this.pushNewline(),"stream"}if(this.atLineEnd()){const i=yield*this.pushSpaces(!0);return yield*this.pushCount(l.length-i),yield*this.pushNewline(),"stream"}return yield Ld,yield*this.parseLineStart()}*parseLineStart(){const l=this.charAt(0);if(!l&&!this.atEnd)return this.setNext("line-start");if(l==="-"||l==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const i=this.peek(3);if((i==="---"||i==="...")&&ma(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,i==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!ma(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[l,i]=this.peek(2);if(!i&&!this.atEnd)return this.setNext("block-start");if((l==="-"||l==="?"||l===":")&&ma(i)){const u=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=u,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const l=this.getLine();if(l===null)return this.setNext("doc");let i=yield*this.pushIndicators();switch(l[i]){case"#":yield*this.pushCount(l.length-i);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(zg),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return i+=yield*this.parseBlockScalarHeader(),i+=yield*this.pushSpaces(!0),yield*this.pushCount(l.length-i),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let l,i,u=-1;do l=yield*this.pushNewline(),l>0?(i=yield*this.pushSpaces(!1),this.indentValue=u=i):i=0,i+=yield*this.pushSpaces(!0);while(l+i>0);const c=this.getLine();if(c===null)return this.setNext("flow");if((u!==-1&&u<this.indentNext&&c[0]!=="#"||u===0&&(c.startsWith("---")||c.startsWith("..."))&&ma(c[3]))&&!(u===this.indentNext-1&&this.flowLevel===1&&(c[0]==="]"||c[0]==="}")))return this.flowLevel=0,yield Bd,yield*this.parseLineStart();let d=0;for(;c[d]===",";)d+=yield*this.pushCount(1),d+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(d+=yield*this.pushIndicators(),c[d]){case void 0:return"flow";case"#":return yield*this.pushCount(c.length-d),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(zg),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const p=this.charAt(1);if(this.flowKey||ma(p)||p===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const l=this.charAt(0);let i=this.buffer.indexOf(l,this.pos+1);if(l==="'")for(;i!==-1&&this.buffer[i+1]==="'";)i=this.buffer.indexOf("'",i+2);else for(;i!==-1;){let d=0;for(;this.buffer[i-1-d]==="\\";)d+=1;if(d%2===0)break;i=this.buffer.indexOf('"',i+1)}const u=this.buffer.substring(0,i);let c=u.indexOf(`
|
|
400
|
+
`,this.pos);if(c!==-1){for(;c!==-1;){const d=this.continueScalar(c+1);if(d===-1)break;c=u.indexOf(`
|
|
401
|
+
`,d)}c!==-1&&(i=c-(u[c-1]==="\r"?2:1))}if(i===-1){if(!this.atEnd)return this.setNext("quoted-scalar");i=this.buffer.length}return yield*this.pushToIndex(i+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let l=this.pos;for(;;){const i=this.buffer[++l];if(i==="+")this.blockScalarKeep=!0;else if(i>"0"&&i<="9")this.blockScalarIndent=Number(i)-1;else if(i!=="-")break}return yield*this.pushUntil(i=>ma(i)||i==="#")}*parseBlockScalar(){let l=this.pos-1,i=0,u;e:for(let d=this.pos;u=this.buffer[d];++d)switch(u){case" ":i+=1;break;case`
|
|
402
|
+
`:l=d,i=0;break;case"\r":{const p=this.buffer[d+1];if(!p&&!this.atEnd)return this.setNext("block-scalar");if(p===`
|
|
403
|
+
`)break}default:break e}if(!u&&!this.atEnd)return this.setNext("block-scalar");if(i>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=i:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const d=this.continueScalar(l+1);if(d===-1)break;l=this.buffer.indexOf(`
|
|
404
|
+
`,d)}while(l!==-1);if(l===-1){if(!this.atEnd)return this.setNext("block-scalar");l=this.buffer.length}}let c=l+1;for(u=this.buffer[c];u===" ";)u=this.buffer[++c];if(u===" "){for(;u===" "||u===" "||u==="\r"||u===`
|
|
405
|
+
`;)u=this.buffer[++c];l=c-1}else if(!this.blockScalarKeep)do{let d=l-1,p=this.buffer[d];p==="\r"&&(p=this.buffer[--d]);const m=d;for(;p===" ";)p=this.buffer[--d];if(p===`
|
|
406
|
+
`&&d>=this.pos&&d+1+i>m)l=d;else break}while(!0);return yield Mu,yield*this.pushToIndex(l+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const l=this.flowLevel>0;let i=this.pos-1,u=this.pos-1,c;for(;c=this.buffer[++u];)if(c===":"){const d=this.buffer[u+1];if(ma(d)||l&&ld.has(d))break;i=u}else if(ma(c)){let d=this.buffer[u+1];if(c==="\r"&&(d===`
|
|
407
|
+
`?(u+=1,c=`
|
|
408
|
+
`,d=this.buffer[u+1]):i=u),d==="#"||l&&ld.has(d))break;if(c===`
|
|
409
|
+
`){const p=this.continueScalar(u+1);if(p===-1)break;u=Math.max(u,p-2)}}else{if(l&&ld.has(c))break;i=u}return!c&&!this.atEnd?this.setNext("plain-scalar"):(yield Mu,yield*this.pushToIndex(i+1,!0),l?"flow":"doc")}*pushCount(l){return l>0?(yield this.buffer.substr(this.pos,l),this.pos+=l,l):0}*pushToIndex(l,i){const u=this.buffer.slice(this.pos,l);return u?(yield u,this.pos+=u.length,u.length):(i&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(zg))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const l=this.flowLevel>0,i=this.charAt(1);if(ma(i)||l&&ld.has(i))return l?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let l=this.pos+2,i=this.buffer[l];for(;!ma(i)&&i!==">";)i=this.buffer[++l];return yield*this.pushToIndex(i===">"?l+1:l,!1)}else{let l=this.pos+1,i=this.buffer[l];for(;i;)if(Jx.has(i))i=this.buffer[++l];else if(i==="%"&&TE.has(this.buffer[l+1])&&TE.has(this.buffer[l+2]))i=this.buffer[l+=3];else break;return yield*this.pushToIndex(l,!1)}}*pushNewline(){const l=this.buffer[this.pos];return l===`
|
|
410
|
+
`?yield*this.pushCount(1):l==="\r"&&this.charAt(1)===`
|
|
411
|
+
`?yield*this.pushCount(2):0}*pushSpaces(l){let i=this.pos-1,u;do u=this.buffer[++i];while(u===" "||l&&u===" ");const c=i-this.pos;return c>0&&(yield this.buffer.substr(this.pos,c),this.pos=i),c}*pushUntil(l){let i=this.pos,u=this.buffer[i];for(;!l(u);)u=this.buffer[++i];return yield*this.pushToIndex(i,!1)}}class YT{constructor(){this.lineStarts=[],this.addNewLine=l=>this.lineStarts.push(l),this.linePos=l=>{let i=0,u=this.lineStarts.length;for(;i<u;){const d=i+u>>1;this.lineStarts[d]<l?i=d+1:u=d}if(this.lineStarts[i]===l)return{line:i+1,col:1};if(i===0)return{line:0,col:l};const c=this.lineStarts[i-1];return{line:i,col:l-c+1}}}}function ms(r,l){for(let i=0;i<r.length;++i)if(r[i].type===l)return!0;return!1}function AE(r){for(let l=0;l<r.length;++l)switch(r[l].type){case"space":case"comment":case"newline":break;default:return l}return-1}function GT(r){switch(r==null?void 0:r.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function sd(r){switch(r.type){case"document":return r.start;case"block-map":{const l=r.items[r.items.length-1];return l.sep??l.start}case"block-seq":return r.items[r.items.length-1].start;default:return[]}}function Ar(r){var i;if(r.length===0)return[];let l=r.length;e:for(;--l>=0;)switch(r[l].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((i=r[++l])==null?void 0:i.type)==="space";);return r.splice(l,r.length)}function OE(r){if(r.start.type==="flow-seq-start")for(const l of r.items)l.sep&&!l.value&&!ms(l.start,"explicit-key-ind")&&!ms(l.sep,"map-value-ind")&&(l.key&&(l.value=l.key),delete l.key,GT(l.value)?l.value.end?Array.prototype.push.apply(l.value.end,l.sep):l.value.end=l.sep:Array.prototype.push.apply(l.start,l.sep),delete l.sep)}class cy{constructor(l){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new qT,this.onNewLine=l}*parse(l,i=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const u of this.lexer.lex(l,i))yield*this.next(u);i||(yield*this.end())}*next(l){if(this.source=l,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=l.length;return}const i=VT(l);if(i)if(i==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=i,yield*this.step(),i){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+l.length);break;case"space":this.atNewLine&&l[0]===" "&&(this.indent+=l.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=l.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=l.length}else{const u=`Not a YAML token: ${l}`;yield*this.pop({type:"error",offset:this.offset,message:u,source:l}),this.offset+=l.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const l=this.peek(1);if(this.type==="doc-end"&&(l==null?void 0:l.type)!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!l)return yield*this.stream();switch(l.type){case"document":return yield*this.document(l);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(l);case"block-scalar":return yield*this.blockScalar(l);case"block-map":return yield*this.blockMap(l);case"block-seq":return yield*this.blockSequence(l);case"flow-collection":return yield*this.flowCollection(l);case"doc-end":return yield*this.documentEnd(l)}yield*this.pop()}peek(l){return this.stack[this.stack.length-l]}*pop(l){const i=l??this.stack.pop();if(!i)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield i;else{const u=this.peek(1);switch(i.type==="block-scalar"?i.indent="indent"in u?u.indent:0:i.type==="flow-collection"&&u.type==="document"&&(i.indent=0),i.type==="flow-collection"&&OE(i),u.type){case"document":u.value=i;break;case"block-scalar":u.props.push(i);break;case"block-map":{const c=u.items[u.items.length-1];if(c.value){u.items.push({start:[],key:i,sep:[]}),this.onKeyLine=!0;return}else if(c.sep)c.value=i;else{Object.assign(c,{key:i,sep:[]}),this.onKeyLine=!c.explicitKey;return}break}case"block-seq":{const c=u.items[u.items.length-1];c.value?u.items.push({start:[],value:i}):c.value=i;break}case"flow-collection":{const c=u.items[u.items.length-1];!c||c.value?u.items.push({start:[],key:i,sep:[]}):c.sep?c.value=i:Object.assign(c,{key:i,sep:[]});return}default:yield*this.pop(),yield*this.pop(i)}if((u.type==="document"||u.type==="block-map"||u.type==="block-seq")&&(i.type==="block-map"||i.type==="block-seq")){const c=i.items[i.items.length-1];c&&!c.sep&&!c.value&&c.start.length>0&&AE(c.start)===-1&&(i.indent===0||c.start.every(d=>d.type!=="comment"||d.indent<i.indent))&&(u.type==="document"?u.end=c.start:u.items.push({start:c.start}),i.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const l={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&l.start.push(this.sourceToken),this.stack.push(l);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(l){if(l.value)return yield*this.lineEnd(l);switch(this.type){case"doc-start":{AE(l.start)!==-1?(yield*this.pop(),yield*this.step()):l.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":l.start.push(this.sourceToken);return}const i=this.startBlockValue(l);i?this.stack.push(i):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(l){if(this.type==="map-value-ind"){const i=sd(this.peek(2)),u=Ar(i);let c;l.end?(c=l.end,c.push(this.sourceToken),delete l.end):c=[this.sourceToken];const d={type:"block-map",offset:l.offset,indent:l.indent,items:[{start:u,key:l,sep:c}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=d}else yield*this.lineEnd(l)}*blockScalar(l){switch(this.type){case"space":case"comment":case"newline":l.props.push(this.sourceToken);return;case"scalar":if(l.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let i=this.source.indexOf(`
|
|
412
|
+
`)+1;for(;i!==0;)this.onNewLine(this.offset+i),i=this.source.indexOf(`
|
|
413
|
+
`,i)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(l){var u;const i=l.items[l.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,i.value){const c="end"in i.value?i.value.end:void 0,d=Array.isArray(c)?c[c.length-1]:void 0;(d==null?void 0:d.type)==="comment"?c==null||c.push(this.sourceToken):l.items.push({start:[this.sourceToken]})}else i.sep?i.sep.push(this.sourceToken):i.start.push(this.sourceToken);return;case"space":case"comment":if(i.value)l.items.push({start:[this.sourceToken]});else if(i.sep)i.sep.push(this.sourceToken);else{if(this.atIndentedComment(i.start,l.indent)){const c=l.items[l.items.length-2],d=(u=c==null?void 0:c.value)==null?void 0:u.end;if(Array.isArray(d)){Array.prototype.push.apply(d,i.start),d.push(this.sourceToken),l.items.pop();return}}i.start.push(this.sourceToken)}return}if(this.indent>=l.indent){const c=!this.onKeyLine&&this.indent===l.indent,d=c&&(i.sep||i.explicitKey)&&this.type!=="seq-item-ind";let p=[];if(d&&i.sep&&!i.value){const m=[];for(let y=0;y<i.sep.length;++y){const S=i.sep[y];switch(S.type){case"newline":m.push(y);break;case"space":break;case"comment":S.indent>l.indent&&(m.length=0);break;default:m.length=0}}m.length>=2&&(p=i.sep.splice(m[1]))}switch(this.type){case"anchor":case"tag":d||i.value?(p.push(this.sourceToken),l.items.push({start:p}),this.onKeyLine=!0):i.sep?i.sep.push(this.sourceToken):i.start.push(this.sourceToken);return;case"explicit-key-ind":!i.sep&&!i.explicitKey?(i.start.push(this.sourceToken),i.explicitKey=!0):d||i.value?(p.push(this.sourceToken),l.items.push({start:p,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(i.explicitKey)if(i.sep)if(i.value)l.items.push({start:[],key:null,sep:[this.sourceToken]});else if(ms(i.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:p,key:null,sep:[this.sourceToken]}]});else if(GT(i.key)&&!ms(i.sep,"newline")){const m=Ar(i.start),y=i.key,S=i.sep;S.push(this.sourceToken),delete i.key,delete i.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:m,key:y,sep:S}]})}else p.length>0?i.sep=i.sep.concat(p,this.sourceToken):i.sep.push(this.sourceToken);else if(ms(i.start,"newline"))Object.assign(i,{key:null,sep:[this.sourceToken]});else{const m=Ar(i.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:m,key:null,sep:[this.sourceToken]}]})}else i.sep?i.value||d?l.items.push({start:p,key:null,sep:[this.sourceToken]}):ms(i.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):i.sep.push(this.sourceToken):Object.assign(i,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const m=this.flowScalar(this.type);d||i.value?(l.items.push({start:p,key:m,sep:[]}),this.onKeyLine=!0):i.sep?this.stack.push(m):(Object.assign(i,{key:m,sep:[]}),this.onKeyLine=!0);return}default:{const m=this.startBlockValue(l);if(m){if(m.type==="block-seq"){if(!i.explicitKey&&i.sep&&!ms(i.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else c&&l.items.push({start:p});this.stack.push(m);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(l){var u;const i=l.items[l.items.length-1];switch(this.type){case"newline":if(i.value){const c="end"in i.value?i.value.end:void 0,d=Array.isArray(c)?c[c.length-1]:void 0;(d==null?void 0:d.type)==="comment"?c==null||c.push(this.sourceToken):l.items.push({start:[this.sourceToken]})}else i.start.push(this.sourceToken);return;case"space":case"comment":if(i.value)l.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(i.start,l.indent)){const c=l.items[l.items.length-2],d=(u=c==null?void 0:c.value)==null?void 0:u.end;if(Array.isArray(d)){Array.prototype.push.apply(d,i.start),d.push(this.sourceToken),l.items.pop();return}}i.start.push(this.sourceToken)}return;case"anchor":case"tag":if(i.value||this.indent<=l.indent)break;i.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==l.indent)break;i.value||ms(i.start,"seq-item-ind")?l.items.push({start:[this.sourceToken]}):i.start.push(this.sourceToken);return}if(this.indent>l.indent){const c=this.startBlockValue(l);if(c){this.stack.push(c);return}}yield*this.pop(),yield*this.step()}*flowCollection(l){const i=l.items[l.items.length-1];if(this.type==="flow-error-end"){let u;do yield*this.pop(),u=this.peek(1);while((u==null?void 0:u.type)==="flow-collection")}else if(l.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!i||i.sep?l.items.push({start:[this.sourceToken]}):i.start.push(this.sourceToken);return;case"map-value-ind":!i||i.value?l.items.push({start:[],key:null,sep:[this.sourceToken]}):i.sep?i.sep.push(this.sourceToken):Object.assign(i,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!i||i.value?l.items.push({start:[this.sourceToken]}):i.sep?i.sep.push(this.sourceToken):i.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const c=this.flowScalar(this.type);!i||i.value?l.items.push({start:[],key:c,sep:[]}):i.sep?this.stack.push(c):Object.assign(i,{key:c,sep:[]});return}case"flow-map-end":case"flow-seq-end":l.end.push(this.sourceToken);return}const u=this.startBlockValue(l);u?this.stack.push(u):(yield*this.pop(),yield*this.step())}else{const u=this.peek(2);if(u.type==="block-map"&&(this.type==="map-value-ind"&&u.indent===l.indent||this.type==="newline"&&!u.items[u.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&u.type!=="flow-collection"){const c=sd(u),d=Ar(c);OE(l);const p=l.end.splice(1,l.end.length);p.push(this.sourceToken);const m={type:"block-map",offset:l.offset,indent:l.indent,items:[{start:d,key:l,sep:p}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=m}else yield*this.lineEnd(l)}}flowScalar(l){if(this.onNewLine){let i=this.source.indexOf(`
|
|
414
|
+
`)+1;for(;i!==0;)this.onNewLine(this.offset+i),i=this.source.indexOf(`
|
|
415
|
+
`,i)+1}return{type:l,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(l){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const i=sd(l),u=Ar(i);return u.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const i=sd(l),u=Ar(i);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(l,i){return this.type!=="comment"||this.indent<=i?!1:l.every(u=>u.type==="newline"||u.type==="space")}*documentEnd(l){this.type!=="doc-mode"&&(l.end?l.end.push(this.sourceToken):l.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(l){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:l.end?l.end.push(this.sourceToken):l.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function QT(r){const l=r.prettyErrors!==!1;return{lineCounter:r.lineCounter||l&&new YT||null,prettyErrors:l}}function Zx(r,l={}){const{lineCounter:i,prettyErrors:u}=QT(l),c=new cy(i==null?void 0:i.addNewLine),d=new uy(l),p=Array.from(d.compose(c.parse(r)));if(u&&i)for(const m of p)m.errors.forEach(vd(r,i)),m.warnings.forEach(vd(r,i));return p.length>0?p:Object.assign([],{empty:!0},d.streamInfo())}function XT(r,l={}){const{lineCounter:i,prettyErrors:u}=QT(l),c=new cy(i==null?void 0:i.addNewLine),d=new uy(l);let p=null;for(const m of d.compose(c.parse(r),!0,r.length))if(!p)p=m;else if(p.options.logLevel!=="silent"){p.errors.push(new di(m.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return u&&i&&(p.errors.forEach(vd(r,i)),p.warnings.forEach(vd(r,i))),p}function Kx(r,l,i){let u;typeof l=="function"?u=l:i===void 0&&l&&typeof l=="object"&&(i=l);const c=XT(r,i);if(!c)return null;if(c.warnings.forEach(d=>dT(c.options.logLevel,d)),c.errors.length>0){if(c.options.logLevel!=="silent")throw c.errors[0];c.errors=[]}return c.toJS(Object.assign({reviver:u},i))}function Fx(r,l,i){let u=null;if(typeof l=="function"||Array.isArray(l)?u=l:i===void 0&&l&&(i=l),typeof i=="string"&&(i=i.length),typeof i=="number"){const c=Math.round(i);i=c<1?void 0:c>8?{indent:8}:{indent:c}}if(r===void 0){const{keepUndefined:c}=i??l??{};if(!c)return}return mi(r)&&!u?r.toString(i):new Yr(r,u,i).toString(i)}const Wx=Object.freeze(Object.defineProperty({__proto__:null,Alias:Nd,CST:Xx,Composer:uy,Document:Yr,Lexer:qT,LineCounter:YT,Pair:nn,Parser:cy,Scalar:Ne,Schema:zd,YAMLError:ry,YAMLMap:$n,YAMLParseError:di,YAMLSeq:bs,YAMLWarning:CT,isAlias:vs,isCollection:pt,isDocument:mi,isMap:$r,isNode:mt,isPair:ct,isScalar:nt,isSeq:Hr,parse:Kx,parseAllDocuments:Zx,parseDocument:XT,stringify:Fx,visit:gi,visitAsync:Od},Symbol.toStringTag,{value:"Module"}));function Px(r,l,i={}){var E;const u=new r.LineCounter,c={keepSourceTokens:!0,lineCounter:u,...i},d=r.parseDocument(l,c),p=[],m=A=>[u.linePos(A[0]),u.linePos(A[1])],y=A=>{p.push({message:A.message,range:[u.linePos(A.pos[0]),u.linePos(A.pos[1])]})},S=(A,k)=>{for(const T of k.items){if(T instanceof r.Scalar&&typeof T.value=="string"){const L=wd.parse(T,c,p);L&&(A.children=A.children||[],A.children.push(L));continue}if(T instanceof r.YAMLMap){M(A,T);continue}p.push({message:"Sequence items should be strings or maps",range:m(T.range||k.range)})}},M=(A,k)=>{for(const T of k.items){if(A.children=A.children||[],!(T.key instanceof r.Scalar&&typeof T.key.value=="string")){p.push({message:"Only string keys are supported",range:m(T.key.range||k.range)});continue}const U=T.key,L=T.value;if(U.value==="text"){if(!(L instanceof r.Scalar&&typeof L.value=="string")){p.push({message:"Text value should be a string",range:m(T.value.range||k.range)});continue}A.children.push({kind:"text",text:jg(L.value)});continue}if(U.value==="/children"){if(!(L instanceof r.Scalar&&typeof L.value=="string")||L.value!=="contain"&&L.value!=="equal"&&L.value!=="deep-equal"){p.push({message:'Strict value should be "contain", "equal" or "deep-equal"',range:m(T.value.range||k.range)});continue}A.containerMode=L.value;continue}if(U.value.startsWith("/")){if(!(L instanceof r.Scalar&&typeof L.value=="string")){p.push({message:"Property value should be a string",range:m(T.value.range||k.range)});continue}A.props=A.props??{},A.props[U.value.slice(1)]=jg(L.value);continue}const Q=wd.parse(U,c,p);if(!Q)continue;if(L instanceof r.Scalar){const oe=typeof L.value;if(oe!=="string"&&oe!=="number"&&oe!=="boolean"){p.push({message:"Node value should be a string or a sequence",range:m(T.value.range||k.range)});continue}A.children.push({...Q,children:[{kind:"text",text:jg(String(L.value))}]});continue}if(L instanceof r.YAMLSeq){A.children.push(Q),S(Q,L);continue}p.push({message:"Map values should be strings or sequences",range:m(T.value.range||k.range)})}},w={kind:"role",role:"fragment"};return d.errors.forEach(y),p.length?{errors:p,fragment:w}:(d.contents instanceof r.YAMLSeq||p.push({message:'Aria snapshot must be a YAML sequence, elements starting with " -"',range:d.contents?m(d.contents.range):[{line:0,col:0},{line:0,col:0}]}),p.length?{errors:p,fragment:w}:(S(w,d.contents),p.length?{errors:p,fragment:e_}:((E=w.children)==null?void 0:E.length)===1&&(!w.containerMode||w.containerMode==="contain")?{fragment:w.children[0],errors:[]}:{fragment:w,errors:[]}))}const e_={kind:"role",role:"fragment"};function JT(r){return r.replace(/[\u200b\u00ad]/g,"").replace(/[\r\n\s\t]+/g," ").trim()}function jg(r){return{raw:r,normalized:JT(r)}}class wd{static parse(l,i,u){try{return new wd(l.value)._parse()}catch(c){if(c instanceof NE){const d=i.prettyErrors===!1?c.message:c.message+`:
|
|
416
|
+
|
|
417
|
+
`+l.value+`
|
|
418
|
+
`+" ".repeat(c.pos)+`^
|
|
419
|
+
`;return u.push({message:d,range:[i.lineCounter.linePos(l.range[0]),i.lineCounter.linePos(l.range[0]+c.pos)]}),null}throw c}}constructor(l){this._input=l,this._pos=0,this._length=l.length}_peek(){return this._input[this._pos]||""}_next(){return this._pos<this._length?this._input[this._pos++]:null}_eof(){return this._pos>=this._length}_isWhitespace(){return!this._eof()&&/\s/.test(this._peek())}_skipWhitespace(){for(;this._isWhitespace();)this._pos++}_readIdentifier(l){this._eof()&&this._throwError(`Unexpected end of input when expecting ${l}`);const i=this._pos;for(;!this._eof()&&/[a-zA-Z]/.test(this._peek());)this._pos++;return this._input.slice(i,this._pos)}_readString(){let l="",i=!1;for(;!this._eof();){const u=this._next();if(i)l+=u,i=!1;else if(u==="\\")i=!0;else{if(u==='"')return l;l+=u}}this._throwError("Unterminated string")}_throwError(l,i=0){throw new NE(l,i||this._pos)}_readRegex(){let l="",i=!1,u=!1;for(;!this._eof();){const c=this._next();if(i)l+=c,i=!1;else if(c==="\\")i=!0,l+=c;else{if(c==="/"&&!u)return{pattern:l};c==="["?(u=!0,l+=c):c==="]"&&u?(l+=c,u=!1):l+=c}}this._throwError("Unterminated regex")}_readStringOrRegex(){const l=this._peek();return l==='"'?(this._next(),JT(this._readString())):l==="/"?(this._next(),this._readRegex()):null}_readAttributes(l){let i=this._pos;for(;this._skipWhitespace(),this._peek()==="[";){this._next(),this._skipWhitespace(),i=this._pos;const u=this._readIdentifier("attribute");this._skipWhitespace();let c="";if(this._peek()==="=")for(this._next(),this._skipWhitespace(),i=this._pos;this._peek()!=="]"&&!this._isWhitespace()&&!this._eof();)c+=this._next();this._skipWhitespace(),this._peek()!=="]"&&this._throwError("Expected ]"),this._next(),this._applyAttribute(l,u,c||"true",i)}}_parse(){this._skipWhitespace();const l=this._readIdentifier("role");this._skipWhitespace();const i=this._readStringOrRegex()||"",u={kind:"role",role:l,name:i};return this._readAttributes(u),this._skipWhitespace(),this._eof()||this._throwError("Unexpected input"),u}_applyAttribute(l,i,u,c){if(i==="checked"){this._assert(u==="true"||u==="false"||u==="mixed",'Value of "checked" attribute must be a boolean or "mixed"',c),l.checked=u==="true"?!0:u==="false"?!1:"mixed";return}if(i==="disabled"){this._assert(u==="true"||u==="false",'Value of "disabled" attribute must be a boolean',c),l.disabled=u==="true";return}if(i==="expanded"){this._assert(u==="true"||u==="false",'Value of "expanded" attribute must be a boolean',c),l.expanded=u==="true";return}if(i==="active"){this._assert(u==="true"||u==="false",'Value of "active" attribute must be a boolean',c),l.active=u==="true";return}if(i==="level"){this._assert(!isNaN(Number(u)),'Value of "level" attribute must be a number',c),l.level=Number(u);return}if(i==="pressed"){this._assert(u==="true"||u==="false"||u==="mixed",'Value of "pressed" attribute must be a boolean or "mixed"',c),l.pressed=u==="true"?!0:u==="false"?!1:"mixed";return}if(i==="selected"){this._assert(u==="true"||u==="false",'Value of "selected" attribute must be a boolean',c),l.selected=u==="true";return}this._assert(!1,`Unsupported attribute [${i}]`,c)}_assert(l,i,u){l||this._throwError(i||"Assertion error",u)}}class NE extends Error{constructor(l,i){super(l),this.pos=i}}const t_=({className:r,style:l,open:i,isModal:u,minWidth:c,verticalOffset:d,requestClose:p,anchor:m,dataTestId:y,children:S})=>{const M=be.useRef(null),[w,E]=be.useState(0),[A]=Lg(M),[k,T]=Lg(m),R=m?n_(A,k,d):void 0;return be.useEffect(()=>{const U=Q=>{!M.current||!(Q.target instanceof Node)||M.current.contains(Q.target)||p==null||p()},L=Q=>{Q.key==="Escape"&&(p==null||p())};return i?(document.addEventListener("mousedown",U),document.addEventListener("keydown",L),()=>{document.removeEventListener("mousedown",U),document.removeEventListener("keydown",L)}):()=>{}},[i,p]),be.useLayoutEffect(()=>T(),[i,T]),be.useEffect(()=>{const U=()=>E(L=>L+1);return window.addEventListener("resize",U),()=>{window.removeEventListener("resize",U)}},[]),be.useLayoutEffect(()=>{M.current&&(i?u?M.current.showModal():M.current.show():M.current.close())},[i,u]),Y.jsxDEV("dialog",{ref:M,style:{position:"fixed",margin:R?0:void 0,zIndex:110,top:R==null?void 0:R.top,left:R==null?void 0:R.left,minWidth:c||0,...l},className:r,"data-testid":y,children:S},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/web/src/shared/dialog.tsx",lineNumber:107,columnNumber:5},void 0)};function n_(r,l,i=4,u=4){let c=Math.max(u,l.left);c+r.width>window.innerWidth-u&&(c=window.innerWidth-r.width-u);let d=Math.max(0,l.bottom)+i;return d+r.height>window.innerHeight-i&&(Math.max(0,l.top)>r.height+i?d=Math.max(0,l.top)-r.height-i:d=window.innerHeight-i-r.height),{left:c,top:d}}const a_=[{id:"jsonl",label:"JSONL",highlighter:"json"},{id:"ts",label:"TS",highlighter:"javascript"},{id:"python",label:"Python",highlighter:"python"}],l_=({sources:r,paused:l,log:i,mode:u})=>{const[c,d]=be.useState(),[p,m]=Bg("recorderPropertiesTab","log"),[y,S]=be.useState(),[M,w]=be.useState(),[E,A]=be.useState(!1),[k,T]=VD(),R=!1,[U,L]=be.useState(!1),Q=be.useRef(!1),[te,ne]=be.useState(null),[oe,le]=be.useState(!0),[X,j]=be.useState(null),J=be.useRef(null),[de,$]=be.useState(null),K=be.useRef(0),Me=be.useRef(null);window.playwrightSelectSource=W=>d(W),window.playwrightSetReplayProgress=(W,Te)=>ne({completed:W,total:Te}),window.playwrightSetReplayError=W=>j(W),window.playwrightSetTraceSteps=(W,Te,Lt)=>$(je=>je&&(Te===void 0||je.token===Te)?{...je,steps:W,notes:Lt}:je),be.useEffect(()=>{window.dispatch({event:"setAutoExpect",params:{autoExpect:R}})},[R]),be.useEffect(()=>{u==="replaying"?j(null):ne(null)},[u]);const[ft,F]=be.useState(!1),ie=be.useMemo(()=>r.find(Te=>Te.id===c)??dR(),[r,c]),[ye,Ve]=be.useState("");window.playwrightElementPicked=(W,Te)=>{const Lt=ie.language;Ve(WE(Lt,W.selector)),S(W.ariaSnapshot),w([]),Te&&p!=="locator"&&p!=="aria"&&m("locator"),u==="inspecting"&&p==="aria"||window.dispatch({event:"setMode",params:{mode:u==="inspecting"?"standby":"recording"}}).catch(()=>{})};const Je=be.useRef(null);be.useLayoutEffect(()=>{var W;(W=Je.current)==null||W.scrollIntoView({block:"center",inline:"nearest"})},[Je]),be.useLayoutEffect(()=>{const W=Te=>{switch(Te.key){case"F8":Te.preventDefault(),l?window.dispatch({event:"resume"}):window.dispatch({event:"pause"});break;case"F10":Te.preventDefault(),l&&window.dispatch({event:"step"});break}};return document.addEventListener("keydown",W),()=>document.removeEventListener("keydown",W)},[l]);const G=be.useCallback(W=>{(u==="none"||u==="inspecting")&&window.dispatch({event:"setMode",params:{mode:"standby"}}),Ve(W),window.dispatch({event:"highlightRequested",params:{selector:W}})},[u]),Se=be.useCallback(W=>{(u==="none"||u==="inspecting")&&window.dispatch({event:"setMode",params:{mode:"standby"}});const{fragment:Te,errors:Lt}=Px(Wx,W,{prettyErrors:!1}),je=Lt.map(Bt=>({message:Bt.message,line:Bt.range[1].line,column:Bt.range[1].col,type:"subtle-error"}));w(je),S(W),Lt.length||window.dispatch({event:"highlightRequested",params:{ariaTemplate:Te}})},[u]),qe=u==="recording"||u==="recording-inspecting"||u==="assertingText"||u==="assertingVisibility"||u==="assertingValue"||u==="assertingSnapshot"||u==="assertingVSnapshot"||u==="assertingTableCell"||u==="recordingDrag"||u==="recordingGoJSLink"||u==="recordingArea"||u==="recordingDomSnapshot";return Y.jsxDEV("div",{className:"recorder",children:[Y.jsxDEV(xE,{children:[Y.jsxDEV(Ct,{icon:qe?"stop-circle":"circle-large-filled",title:qe?"Stop Recording":"Start Recording",toggled:qe,onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="none"||u==="standby"||u==="inspecting"?"recording":"standby"}})},children:"Record"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:388,columnNumber:7},void 0),Y.jsxDEV(fE,{},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:391,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"inspect",title:"Pick locator",toggled:u==="inspecting"||u==="recording-inspecting",onClick:()=>{const W={inspecting:"standby",none:"inspecting",standby:"inspecting",recording:"recording-inspecting","recording-inspecting":"recording",assertingText:"recording-inspecting",assertingVisibility:"recording-inspecting",assertingTableCell:"recording-inspecting",recordingDrag:"recording",recordingGoJSLink:"recording",recordingArea:"recording",recordingFileUpload:"recording",recordingDomSnapshot:"recording"}[u];window.dispatch({event:"setMode",params:{mode:W}}).catch(()=>{})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:394,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"cloud-upload",title:"Upload file",toggled:u==="recordingFileUpload",disabled:u==="none"||u==="standby"||u==="inspecting",onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="recordingFileUpload"?"recording":"recordingFileUpload"}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:414,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"move",title:"Drag and drop",toggled:u==="recordingDrag",disabled:u==="none"||u==="standby"||u==="inspecting",onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="recordingDrag"?"recording":"recordingDrag"}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:419,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"type-hierarchy-sub",title:"GoJS Link (click source node, then target node)",toggled:u==="recordingGoJSLink",disabled:u==="none"||u==="standby"||u==="inspecting",onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="recordingGoJSLink"?"recording":"recordingGoJSLink"}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:424,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"selection",title:"Select area",toggled:u==="recordingArea",disabled:u==="none"||u==="standby"||u==="inspecting",onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="recordingArea"?"recording":"recordingArea"}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:429,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"eye",title:"Assert visibility",toggled:u==="assertingVisibility",disabled:u==="none"||u==="standby"||u==="inspecting",onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="assertingVisibility"?"recording":"assertingVisibility"}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:434,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"whole-word",title:"Assert text",toggled:u==="assertingText",disabled:u==="none"||u==="standby"||u==="inspecting",onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="assertingText"?"recording":"assertingText"}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:439,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"table",title:"Assert table cell",toggled:u==="assertingTableCell",disabled:u==="none"||u==="standby"||u==="inspecting",onClick:()=>{window.dispatch({event:"setMode",params:{mode:u==="assertingTableCell"?"recording":"assertingTableCell"}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:444,columnNumber:7},void 0),Y.jsxDEV(fE,{},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:448,columnNumber:7},void 0),Y.jsxDEV("input",{ref:J,type:"file",style:{display:"none"},onChange:W=>{var Bt;const Te=(Bt=W.target.files)==null?void 0:Bt[0];if(!Te)return;if(!/\.(jsonl|txt|zip|ts|js|py)$/i.test(Te.name)){alert(`Unsupported file: ${Te.name}
|
|
420
|
+
Load a recorded trace (.zip, .jsonl, .txt) or a generated Skyramp test file (.spec.ts, .ts, .js, .py).`),W.target.value="";return}const Lt=(Et,Zt)=>{const se=++K.current;$({jsonlContent:Et,fileName:Zt,steps:null,token:se}),window.dispatch({event:"parseTrace",params:{jsonlContent:Et,fileName:Zt,token:se}})},je=new FileReader;if(Te.name.endsWith(".zip"))je.onload=async Et=>{var Ia;const Zt=(Ia=Et.target)==null?void 0:Ia.result,se=await ZD(Zt,"skyramp_playwright.txt");if(!se){alert("No skyramp_playwright.txt found in zip");return}Lt(se)},je.readAsArrayBuffer(Te);else{const Et=/\.(ts|js|py)$/.test(Te.name);je.onload=Zt=>{var se;return Lt((se=Zt.target)==null?void 0:se.result,Et?Te.name:void 0)},je.readAsText(Te)}W.target.value=""}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:449,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"run-all",title:"Load trace and replay",disabled:u==="replaying",onClick:()=>{var W;return(W=J.current)==null?void 0:W.click()},children:"Load"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:492,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"clock",title:oe?"Slow replay (1s between actions) — click for fast":"Fast replay — click for slow",toggled:oe,onClick:()=>{const W=!oe;le(W),u==="replaying"&&window.dispatch({event:"setReplaySpeed",params:{slow:W}})},children:oe?"Slow":"Fast"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:493,columnNumber:7},void 0),u==="replaying"&&Y.jsxDEV(Y.Fragment,{children:[Y.jsxDEV("span",{style:{padding:"0 8px",fontSize:"12px",color:"var(--vscode-foreground)",whiteSpace:"nowrap"},children:te?`Step ${te.completed} / ${te.total}`:"Replaying…"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:500,columnNumber:9},void 0),Y.jsxDEV(Ct,{icon:"debug-stop",title:"Take over recording",onClick:()=>{window.dispatch({event:"takeOverReplay"})},children:"Take over"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:503,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:499,columnNumber:32},void 0),Y.jsxDEV(Ct,{icon:"files",title:"Copy",disabled:!ie||!ie.text,onClick:()=>{Ww(ie.text)}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:507,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"debug-continue",title:"Resume (F8)",ariaLabel:"Resume",disabled:!l,onClick:()=>{window.dispatch({event:"resume"})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:510,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"debug-pause",title:"Pause (F8)",ariaLabel:"Pause",disabled:l,onClick:()=>{window.dispatch({event:"pause"})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:513,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"debug-step-over",title:"Step over (F10)",ariaLabel:"Step over",disabled:!l,onClick:()=>{window.dispatch({event:"step"})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:516,columnNumber:7},void 0),Y.jsxDEV("div",{style:{flex:"auto"}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:519,columnNumber:7},void 0),Y.jsxDEV("div",{children:"Target:"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:520,columnNumber:7},void 0),Y.jsxDEV(cR,{fileId:ie.id,sources:r,setFileId:W=>{d(W),window.dispatch({event:"fileChanged",params:{fileId:W}})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:521,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"discard",title:"Delete last action",disabled:!ie||!ie.text,onClick:()=>{window.dispatch({event:"deleteLast"}),Q.current||(Q.current=!0,L(!0))}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:525,columnNumber:7},void 0),Y.jsxDEV(Ct,{icon:"clear-all",title:"Clear",disabled:!ie||!ie.text,onClick:()=>{window.dispatch({event:"clear"})}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:532,columnNumber:7},void 0),Y.jsxDEV(Ct,{ref:Me,icon:"settings-gear",title:"Settings",onClick:()=>A(W=>!W)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:535,columnNumber:7},void 0),Y.jsxDEV(t_,{style:{padding:"4px 8px"},open:E,verticalOffset:8,requestClose:()=>A(!1),anchor:Me,dataTestId:"settings-dialog",children:[Y.jsxDEV("div",{className:"setting",children:[Y.jsxDEV("input",{type:"checkbox",id:"dark-mode-setting",checked:k,onChange:()=>T(!k)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:550,columnNumber:11},void 0),Y.jsxDEV("label",{htmlFor:"dark-mode-setting",children:"Dark mode"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:551,columnNumber:11},void 0)]},"dark-mode-setting",!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:549,columnNumber:9},void 0),Y.jsxDEV("div",{className:"setting",title:"Automatically generate assertions while recording",children:[Y.jsxDEV("input",{type:"checkbox",id:"auto-expect-setting",checked:R,onChange:()=>{window.dispatch({event:"setAutoExpect",params:{autoExpect:!R}}),setAutoExpect(!R)}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:554,columnNumber:11},void 0),Y.jsxDEV("label",{htmlFor:"auto-expect-setting",children:"Generate assertions"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:558,columnNumber:11},void 0)]},"auto-expect-setting",!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:553,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:541,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:386,columnNumber:5},void 0),de&&Y.jsxDEV(s_,{steps:de.steps,notes:de.notes,onCancel:()=>$(null),onReplay:(W,Te)=>{window.dispatch({event:"loadTrace",params:{jsonlContent:de.jsonlContent,fileName:de.fileName,startStep:W,stopStep:Te,delayBetweenActions:oe?1e3:0}}),$(null)}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:562,columnNumber:22},void 0),X&&Y.jsxDEV("div",{style:{padding:"6px 12px",background:"var(--vscode-inputValidation-errorBackground, #f2dede)",borderBottom:"1px solid var(--vscode-inputValidation-errorBorder, #be1100)",color:"var(--vscode-inputValidation-errorForeground, #5a1208)",fontSize:"12px",whiteSpace:"pre-wrap",display:"flex",alignItems:"flex-start",gap:"8px"},children:[Y.jsxDEV("span",{style:{flex:1},children:X},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:588,columnNumber:7},void 0),Y.jsxDEV("button",{style:{flexShrink:0,cursor:"pointer",background:"none",border:"none",color:"inherit",padding:0,fontSize:"14px"},onClick:()=>j(null),children:"✕"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:589,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:577,columnNumber:21},void 0),Y.jsxDEV(rR,{sidebarSize:200,main:Y.jsxDEV(Dg,{text:ie.text,highlighter:ie.language,highlight:ie.highlight,revealLine:ie.revealLine,readOnly:!0,lineNumbers:!0},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:593,columnNumber:13},void 0),sidebar:Y.jsxDEV(oR,{rightToolbar:p==="locator"||p==="aria"?[Y.jsxDEV(Ct,{icon:"files",title:"Copy",onClick:()=>Ww((p==="locator"?ye:y)||"")},1,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:595,columnNumber:78},void 0)]:[],tabs:[{id:"locator",title:"Locator",render:()=>Y.jsxDEV(Dg,{text:ye,placeholder:"Type locator to inspect",highlighter:ie.language,focusOnChange:!0,onChange:G,wrapLines:!0},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:600,columnNumber:27},void 0)},{id:"log",title:"Log",render:()=>Y.jsxDEV(qR,{language:ie.language,log:Array.from(i.values())},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:605,columnNumber:27},void 0)},{id:"aria",title:"Aria",render:()=>Y.jsxDEV(Dg,{text:y||"",placeholder:"Type aria template to match",highlighter:"yaml",onChange:Se,highlight:M,wrapLines:!0},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:610,columnNumber:27},void 0)}],selectedTab:p,setSelectedTab:m},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:594,columnNumber:16},void 0)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:591,columnNumber:5},void 0),U&&Y.jsxDEV("div",{className:"delete-modal-overlay",onClick:()=>L(!1),children:Y.jsxDEV("div",{className:"delete-modal",onClick:W=>W.stopPropagation(),children:[Y.jsxDEV("div",{className:"delete-modal-body",children:"Navigate your browser back to the desired state before continuing recording."},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:619,columnNumber:9},void 0),Y.jsxDEV("div",{className:"delete-modal-footer",children:[Y.jsxDEV("button",{className:"delete-modal-button-secondary",onClick:()=>{Q.current=!1,L(!1)},children:"Remind me next time"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:621,columnNumber:11},void 0),Y.jsxDEV("button",{className:"delete-modal-button",onClick:()=>L(!1),children:"Don't show again"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:625,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:620,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:618,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:617,columnNumber:25},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:385,columnNumber:10},void 0)},s_=({steps:r,notes:l,onCancel:i,onReplay:u})=>{const c=(r==null?void 0:r.length)??0,[d,p]=be.useState(1),[m,y]=be.useState(null),[S,M]=be.useState("ts"),w=m??c,E=T=>{Number.isNaN(T)||p(Math.min(Math.max(1,T),w))},A=T=>{Number.isNaN(T)||y(Math.max(Math.min(c,T),d))},k=be.useMemo(()=>{if(!r||!c)return null;const T=r.filter(U=>U.index>=d&&U.index<=w);if(!T.length)return null;const R=new Set([T[0].pageAlias]);for(const U of T){if(!R.has(U.pageAlias))return{step:U,alias:U.pageAlias};for(const L of U.opensAliases)R.add(L)}return null},[r,c,d,w]);return Y.jsxDEV("div",{className:"delete-modal-overlay",onClick:i,children:Y.jsxDEV("div",{onClick:T=>T.stopPropagation(),"data-testid":"trace-step-picker",style:{background:"var(--vscode-editor-background, #1e1e1e)",border:"1px solid var(--vscode-panel-border, #454545)",borderRadius:6,boxShadow:"0 4px 24px rgba(0,0,0,0.4)",width:"min(820px, 92vw)",height:"min(640px, 88vh)",display:"flex",flexDirection:"column",padding:"12px",gap:"10px"},children:[Y.jsxDEV("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[Y.jsxDEV("div",{style:{fontWeight:600,fontSize:"13px"},children:"Load trace: choose replay range"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:699,columnNumber:9},void 0),Y.jsxDEV("div",{style:{flex:1}},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:700,columnNumber:9},void 0),Y.jsxDEV("div",{style:{display:"flex",border:"1px solid var(--vscode-panel-border, #454545)",borderRadius:4,overflow:"hidden"},children:a_.map(T=>Y.jsxDEV("button",{onClick:()=>M(T.id),style:{padding:"2px 10px",fontSize:"12px",cursor:"pointer",border:"none",background:S===T.id?"var(--vscode-button-background, #0e639c)":"transparent",color:S===T.id?"var(--vscode-button-foreground, #fff)":"inherit"},children:T.label},T.id,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:703,columnNumber:37},void 0))},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:702,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:698,columnNumber:7},void 0),!!(l!=null&&l.length)&&Y.jsxDEV("div",{style:{padding:"4px 8px",fontSize:"11px",background:"var(--vscode-inputValidation-infoBackground, #063b49)",border:"1px solid var(--vscode-inputValidation-infoBorder, #007acc)",borderRadius:4,maxHeight:"90px",overflowY:"auto",whiteSpace:"pre-wrap"},children:["Loaded from a generated test file — ",l.length," statement(s) are not replayable steps:",`
|
|
421
|
+
`,l.join(`
|
|
422
|
+
`)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:711,columnNumber:27},void 0),r===null?Y.jsxDEV("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",opacity:.7},children:"Parsing trace…"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:726,columnNumber:11},void 0):c===0?Y.jsxDEV("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",opacity:.7},children:"No replayable steps found in trace."},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:728,columnNumber:13},void 0):Y.jsxDEV(Y.Fragment,{children:[Y.jsxDEV("div",{style:{display:"flex",gap:"14px",alignItems:"center",fontSize:"12px"},children:[Y.jsxDEV("label",{children:["Start ",Y.jsxDEV("input",{type:"number",min:1,max:c,value:d,style:{width:60},onChange:T=>E(T.target.valueAsNumber)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:731,columnNumber:28},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:731,columnNumber:15},void 0),Y.jsxDEV("label",{children:["Stop ",Y.jsxDEV("input",{type:"number",min:1,max:c,value:w,style:{width:60},onChange:T=>A(T.target.valueAsNumber)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:732,columnNumber:27},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:732,columnNumber:15},void 0),Y.jsxDEV("span",{style:{color:"var(--vscode-descriptionForeground)"},children:[w-d+1," of ",c," steps selected"]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:733,columnNumber:15},void 0),Y.jsxDEV("span",{style:{color:"var(--vscode-descriptionForeground)",marginLeft:"auto"},children:"Click a row to set start, shift-click to set stop"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:734,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:730,columnNumber:13},void 0),k&&Y.jsxDEV("div",{style:{padding:"6px 10px",fontSize:"12px",borderRadius:4,background:"var(--vscode-inputValidation-warningBackground, #352a05)",border:"1px solid var(--vscode-inputValidation-warningBorder, #c4a000)",color:"var(--vscode-inputValidation-warningForeground, #fff)"},children:["Step ",k.step.index," acts on tab ",Y.jsxDEV("code",{children:k.alias},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:742,columnNumber:57},void 0),", but the step that opens it is before your start. Move Start earlier to include it, or stop before step ",k.step.index,"."]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:736,columnNumber:29},void 0),Y.jsxDEV("div",{style:{overflowY:"auto",flex:1,border:"1px solid var(--vscode-panel-border, #454545)",borderRadius:4,fontFamily:"var(--vscode-editor-font-family, monospace)"},children:r.map(T=>{const R=T.index>=d&&T.index<=w,U=T.index===d||T.index===w,L=(k==null?void 0:k.step.index)===T.index;return Y.jsxDEV("div",{style:{display:"flex",gap:"10px",padding:"3px 10px",fontSize:"12px",cursor:"pointer",whiteSpace:"pre",overflow:"hidden",background:L?"var(--vscode-inputValidation-warningBackground, #352a05)":R?"var(--vscode-list-activeSelectionBackground, #094771)":"transparent",color:R&&!L?"var(--vscode-list-activeSelectionForeground, #fff)":"inherit",borderLeft:L?"2px solid var(--vscode-inputValidation-warningBorder, #c4a000)":U?"2px solid var(--vscode-focusBorder, #0e639c)":"2px solid transparent"},title:L?`Step ${T.index} acts on tab ${T.pageAlias}, opened outside the selected range.`:`Step ${T.index} (${T.name}, ${T.pageAlias}). Click = start, shift-click = stop.`,onClick:Q=>{Q.shiftKey?A(T.index):E(T.index)},children:[Y.jsxDEV("span",{style:{width:30,textAlign:"right",opacity:.6,flexShrink:0},children:T.index},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:763,columnNumber:19},void 0),Y.jsxDEV("span",{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis"},children:T.code[S]||`// ${T.name}`},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:764,columnNumber:19},void 0)]},T.index,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:749,columnNumber:24},void 0)})},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:744,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:729,columnNumber:13},void 0),Y.jsxDEV("div",{style:{display:"flex",justifyContent:"flex-end",gap:"8px"},children:[Y.jsxDEV("button",{className:"delete-modal-button-secondary",onClick:i,children:"Cancel"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:771,columnNumber:9},void 0),Y.jsxDEV("button",{className:"delete-modal-button",disabled:!c||!!k,onClick:()=>u(d,w),children:"Replay & append"},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:772,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:770,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:686,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/recorder.tsx",lineNumber:685,columnNumber:10},void 0)},i_=({})=>{const[r,l]=be.useState([]),[i,u]=be.useState(!1),[c,d]=be.useState(new Map),[p,m]=be.useState("none");return be.useLayoutEffect(()=>{window.playwrightSetMode=m,window.playwrightSetSources=y=>{l(y),window.playwrightSourcesEchoForTest=y},window.playwrightSetPageURL=y=>{document.title=y?`Playwright Inspector - ${y}`:"Playwright Inspector"},window.playwrightSetPaused=u,window.playwrightUpdateLogs=y=>{d(S=>{const M=new Map(S);for(const w of y)w.reveal=!S.has(w.id),M.set(w.id,w);return M})}},[]),Y.jsxDEV(l_,{sources:r,paused:i,log:c,mode:p},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/main.tsx",lineNumber:52,columnNumber:10},void 0)};(async()=>($D(),ID.createRoot(document.querySelector("#root")).render(Y.jsxDEV(i_,{},void 0,!1,{fileName:"/Users/mrugeshmaster/git/letsramp/playwright/packages/recorder/src/index.tsx",lineNumber:25,columnNumber:64},void 0))))();export{_D as g};
|