diff --git a/package.json b/package.json index e42ec813c890e..0324783aa9cb8 100644 --- a/package.json +++ b/package.json @@ -193,16 +193,16 @@ "random-seed": "0.3.0", "react": "18.2.0", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@18.3.0-canary-09fbee89d-20231013", + "react-builtin": "npm:react@18.3.0-canary-a41957507-20231017", "react-dom": "18.2.0", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@18.3.0-canary-09fbee89d-20231013", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-09fbee89d-20231013", - "react-experimental-builtin": "npm:react@0.0.0-experimental-09fbee89d-20231013", - "react-server-dom-turbopack": "18.3.0-canary-09fbee89d-20231013", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-09fbee89d-20231013", - "react-server-dom-webpack": "18.3.0-canary-09fbee89d-20231013", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-09fbee89d-20231013", + "react-dom-builtin": "npm:react-dom@18.3.0-canary-a41957507-20231017", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-a41957507-20231017", + "react-experimental-builtin": "npm:react@0.0.0-experimental-a41957507-20231017", + "react-server-dom-turbopack": "18.3.0-canary-a41957507-20231017", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-a41957507-20231017", + "react-server-dom-webpack": "18.3.0-canary-a41957507-20231017", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-a41957507-20231017", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -212,8 +212,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.6", - "scheduler-builtin": "npm:scheduler@0.24.0-canary-09fbee89d-20231013", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-09fbee89d-20231013", + "scheduler-builtin": "npm:scheduler@0.24.0-canary-a41957507-20231017", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-a41957507-20231017", "seedrandom": "3.0.5", "selenium-webdriver": "4.0.0-beta.4", "semver": "7.3.7", diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index 4c98eb4058596..0fa29c5711881 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react-experimental"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-experimental-09fbee89d-20231013'; +var ReactVersion = '18.3.0-experimental-a41957507-20231017'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -258,7 +258,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -267,7 +267,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -276,7 +276,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js index 58d1d3b414b7e..2c549a83c8060 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js @@ -192,4 +192,4 @@ ba?(q.push(V.startInlineScript),0===(A.instructions&4)?(A.instructions|=4,q.push function Ue(a,b){try{var c=a.abortableTasks;if(0 0) { var index = pickArbitraryLaneIndex(lanes); var lane = 1 << index; - nextLanes |= entanglements[index]; + entangledLanes |= entanglements[index]; lanes &= ~lane; } } - return nextLanes; + return entangledLanes; } function computeExpirationTime(lane, currentTime) { @@ -1449,7 +1463,6 @@ function computeExpirationTime(lane, currentTime) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return currentTime + 5000; case RetryLane1: @@ -1467,6 +1480,7 @@ function computeExpirationTime(lane, currentTime) { case IdleHydrationLane: case IdleLane: case OffscreenLane: + case DeferredLane: // Anything idle priority or lower should never expire. return NoTimestamp; @@ -1489,6 +1503,7 @@ function markStarvedLanesAsExpired(root, currentTime) { var expirationTimes = root.expirationTimes; // Iterate through the pending lanes and check if we've reached their // expiration time. If so, we'll assume the update is being starved and mark // it as expired to force it to finish. + // TODO: We should be able to replace this with upgradePendingLanesToSync // // We exclude retry lanes because those must always be time sliced, in order // to unwrap uncached promises. @@ -1667,7 +1682,7 @@ function markRootUpdated(root, updateLane) { root.pingedLanes = NoLanes; } } -function markRootSuspended$1(root, suspendedLanes) { +function markRootSuspended$1(root, suspendedLanes, spawnedLane) { root.suspendedLanes |= suspendedLanes; root.pingedLanes &= ~suspendedLanes; // The suspended lanes are no longer CPU-bound. Clear their expiration times. @@ -1680,11 +1695,15 @@ function markRootSuspended$1(root, suspendedLanes) { expirationTimes[index] = NoTimestamp; lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); + } } function markRootPinged(root, pingedLanes) { root.pingedLanes |= root.suspendedLanes & pingedLanes; } -function markRootFinished(root, remainingLanes) { +function markRootFinished(root, remainingLanes, spawnedLane) { var noLongerPendingLanes = root.pendingLanes & ~remainingLanes; root.pendingLanes = remainingLanes; // Let's try everything again @@ -1724,7 +1743,28 @@ function markRootFinished(root, remainingLanes) { lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, // This render finished successfully without suspending, so we don't need + // to entangle the spawned task with the parent task. + NoLanes); + } +} + +function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { + // This render spawned a deferred task. Mark it as pending. + root.pendingLanes |= spawnedLane; + root.suspendedLanes &= ~spawnedLane; // Entangle the spawned lane with the DeferredLane bit so that we know it + // was the result of another render. This lets us avoid a useDeferredValue + // waterfall — only the first level will defer. + + var spawnedLaneIndex = laneToIndex(spawnedLane); + root.entangledLanes |= spawnedLane; + root.entanglements[spawnedLaneIndex] |= DeferredLane | // If the parent render task suspended, we must also entangle those lanes + // with the spawned task. + entangledLanes; } + function markRootEntangled(root, entangledLanes) { // In addition to entangling each of the given lanes with each other, we also // have to consider _transitive_ entanglements. For each lane that is already @@ -1754,6 +1794,29 @@ function markRootEntangled(root, entangledLanes) { lanes &= ~lane; } } +function upgradePendingLaneToSync(root, lane) { + // Since we're upgrading the priority of the given lane, there is now pending + // sync work. + root.pendingLanes |= SyncLane; // Entangle the sync lane with the lane we're upgrading. This means SyncLane + // will not be allowed to finish without also finishing the given lane. + + root.entangledLanes |= SyncLane; + root.entanglements[SyncLaneIndex] |= lane; +} +function upgradePendingLanesToSync(root, lanesToUpgrade) { + // Same as upgradePendingLaneToSync but accepts multiple lanes, so it's a + // bit slower. + root.pendingLanes |= SyncLane; + root.entangledLanes |= SyncLane; + var lanes = lanesToUpgrade; + + while (lanes) { + var index = pickArbitraryLaneIndex(lanes); + var lane = 1 << index; + root.entanglements[SyncLaneIndex] |= lane; + lanes &= ~lane; + } +} function markHiddenUpdate(root, update, lane) { var index = laneToIndex(lane); var hiddenUpdates = root.hiddenUpdates; @@ -1802,7 +1865,6 @@ function getBumpedLaneForHydration(root, renderLanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: case RetryLane1: case RetryLane2: case RetryLane3: @@ -1995,7 +2057,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2004,7 +2066,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2013,7 +2075,7 @@ function checkKeyStringCoercion(value) { function checkPropStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2022,7 +2084,7 @@ function checkPropStringCoercion(value, propName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2031,7 +2093,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2040,7 +2102,7 @@ function checkHtmlStringCoercion(value) { function checkFormFieldValueStringCoercion(value) { { if (willCoercionThrow(value)) { - error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + 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.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -9987,29 +10049,29 @@ function resetChildFibers(workInProgress, lanes) { // InvisibleParentContext that is currently managed by SuspenseContext. var currentTreeHiddenStackCursor = createCursor(null); -var prevRenderLanesStackCursor = createCursor(NoLanes); +var prevEntangledRenderLanesCursor = createCursor(NoLanes); function pushHiddenContext(fiber, context) { - var prevRenderLanes = getRenderLanes(); - push(prevRenderLanesStackCursor, prevRenderLanes, fiber); + var prevEntangledRenderLanes = getEntangledRenderLanes(); + push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber); push(currentTreeHiddenStackCursor, context, fiber); // When rendering a subtree that's currently hidden, we must include all // lanes that would have rendered if the hidden subtree hadn't been deferred. // That is, in order to reveal content from hidden -> visible, we must commit // all the updates that we skipped when we originally hid the tree. - setRenderLanes(mergeLanes(prevRenderLanes, context.baseLanes)); + setEntangledRenderLanes(mergeLanes(prevEntangledRenderLanes, context.baseLanes)); } function reuseHiddenContextOnStack(fiber) { // This subtree is not currently hidden, so we don't need to add any lanes // to the render lanes. But we still need to push something to avoid a // context mismatch. Reuse the existing context on the stack. - push(prevRenderLanesStackCursor, getRenderLanes(), fiber); + push(prevEntangledRenderLanesCursor, getEntangledRenderLanes(), fiber); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current, fiber); } function popHiddenContext(fiber) { // Restore the previous render lanes from the stack - setRenderLanes(prevRenderLanesStackCursor.current); + setEntangledRenderLanes(prevEntangledRenderLanesCursor.current); pop(currentTreeHiddenStackCursor, fiber); - pop(prevRenderLanesStackCursor, fiber); + pop(prevEntangledRenderLanesCursor, fiber); } function isCurrentTreeHidden() { return currentTreeHiddenStackCursor.current !== null; @@ -10371,7 +10433,10 @@ function processRootScheduleInMicrotask() { var next = root.next; if (currentEventTransitionLane !== NoLane && shouldAttemptEagerTransition()) { - markRootEntangled(root, mergeLanes(currentEventTransitionLane, SyncLane)); + // A transition was scheduled during an event, but we're going to try to + // render it synchronously anyway. We do this during a popstate event to + // preserve the scroll position of the previous page. + upgradePendingLaneToSync(root, currentEventTransitionLane); } var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); @@ -10777,7 +10842,7 @@ var didWarnAboutAsyncClientComponent; // These are set right before calling the component. -var renderLanes$1 = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from +var renderLanes = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from // the work-in-progress hook. var currentlyRenderingFiber$1 = null; // Hooks are stored as a linked list on the fiber's memoizedState field. The @@ -10971,7 +11036,7 @@ function areHookInputsEqual(nextDeps, prevDeps) { } function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) { - renderLanes$1 = nextRenderLanes; + renderLanes = nextRenderLanes; currentlyRenderingFiber$1 = workInProgress; { @@ -11077,7 +11142,7 @@ function finishRenderingHooks(current, workInProgress, Component) { // hookTypesDev could catch more cases (e.g. context) but only in DEV bundles. var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null; - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11275,7 +11340,7 @@ function resetHooksOnUnwind(workInProgress) { didScheduleRenderPhaseUpdate = false; } - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11588,7 +11653,7 @@ function updateReducerImpl(hook, current, reducer) { // it's not a "base" update and we should disregard the extra base lanes // that were added to renderLanes when we entered the Offscreen tree. - var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes$1, updateLane); + var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes, updateLane); if (shouldSkipUpdate) { // Priority is insufficient. Skip this update. If this is the first @@ -11643,7 +11708,7 @@ function updateReducerImpl(hook, current, reducer) { // sufficient, don't apply the update. Otherwise, apply the update, // but leave it in the queue so it can be either reverted or // rebased in a subsequent render. - if (isSubsetOfLanes(renderLanes$1, revertLane)) { + if (isSubsetOfLanes(renderLanes, revertLane)) { // The transition that this optimistic update is associated with // has finished. Pretend the update doesn't exist by skipping // over it. @@ -11829,7 +11894,9 @@ function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!includesBlockingLane(root, renderLanes$1)) { + var rootRenderLanes = getWorkInProgressRootRenderLanes(); + + if (!includesBlockingLane(root, rootRenderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } // Read the current snapshot from the store on every render. This breaks the @@ -11915,7 +11982,7 @@ function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!isHydrating && !includesBlockingLane(root, renderLanes$1)) { + if (!isHydrating && !includesBlockingLane(root, renderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } @@ -12613,7 +12680,7 @@ function updateDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); var resolvedCurrentHook = currentHook; var prevValue = resolvedCurrentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } function rerenderDeferredValue(value, initialValue) { @@ -12625,27 +12692,23 @@ function rerenderDeferredValue(value, initialValue) { } else { // This is a rerender during an update. var prevValue = currentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } } function mountDeferredValueImpl(hook, value, initialValue) { - if (initialValue !== undefined) { - // When `initialValue` is provided, we defer the initial render even if the - // current render is not synchronous. - // TODO: However, to avoid waterfalls, we should not defer if this render - // was itself spawned by an earlier useDeferredValue. Plan is to add a - // Deferred lane to track this. - hook.memoizedState = initialValue; // Schedule a deferred render - - var deferredLane = claimNextTransitionLane(); + if (// When `initialValue` is provided, we defer the initial render even if the + // current render is not synchronous. + initialValue !== undefined && // However, to avoid waterfalls, we do not defer if this render + // was itself spawned by an earlier useDeferredValue. Check if DeferredLane + // is part of the render lanes. + !includesSomeLane(renderLanes, DeferredLane)) { + // Render with the initial value + hook.memoizedState = initialValue; // Schedule a deferred render to switch to the final value. + + var deferredLane = requestDeferredLane(); currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); - markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent - // from the latest value. The name "baseState" doesn't really match how we - // use it because we're reusing a state hook field instead of creating a - // new one. - - hook.baseState = true; + markSkippedUpdateLanes(deferredLane); return initialValue; } else { hook.memoizedState = value; @@ -12654,44 +12717,46 @@ function mountDeferredValueImpl(hook, value, initialValue) { } function updateDeferredValueImpl(hook, prevValue, value, initialValue) { - // TODO: We should also check if this component is going from - // hidden -> visible. If so, it should use the initialValue arg. - var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes$1); - - if (shouldDeferValue) { - // This is an urgent update. If the value has changed, keep using the - // previous value and spawn a deferred render to update it later. - if (!objectIs(value, prevValue)) { - // Schedule a deferred render - var deferredLane = claimNextTransitionLane(); - currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); - markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent - // from the latest value. The name "baseState" doesn't really match how we - // use it because we're reusing a state hook field instead of creating a - // new one. + if (objectIs(value, prevValue)) { + // The incoming value is referentially identical to the currently rendered + // value, so we can bail out quickly. + return value; + } else { + // Received a new value that's different from the current value. + // Check if we're inside a hidden tree + if (isCurrentTreeHidden()) { + // Revealing a prerendered tree is considered the same as mounting new + // one, so we reuse the "mount" path in this case. + var resultValue = mountDeferredValueImpl(hook, value, initialValue); // Unlike during an actual mount, we need to mark this as an update if + // the value changed. + + if (!objectIs(resultValue, prevValue)) { + markWorkInProgressReceivedUpdate(); + } - hook.baseState = true; - } // Reuse the previous value + return resultValue; + } + var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes); - return prevValue; - } else { - // This is not an urgent update, so we can use the latest value regardless - // of what it is. No need to defer it. - // However, if we're currently inside a spawned render, then we need to mark - // this as an update to prevent the fiber from bailing out. - // - // `baseState` is true when the current value is different from the rendered - // value. The name doesn't really match how we use it because we're reusing - // a state hook field instead of creating a new one. - if (hook.baseState) { - // Flip this back to false. - hook.baseState = false; + if (shouldDeferValue) { + // This is an urgent update. Since the value has changed, keep using the + // previous value and spawn a deferred render to update it later. + // Schedule a deferred render + var deferredLane = requestDeferredLane(); + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); + markSkippedUpdateLanes(deferredLane); // Reuse the previous value. We do not need to mark this as an update, + // because we did not render a new value. + + return prevValue; + } else { + // This is not an urgent update, so we can use the latest value regardless + // of what it is. No need to defer it. + // Mark this as an update to prevent the fiber from bailing out. markWorkInProgressReceivedUpdate(); + hook.memoizedState = value; + return value; } - - hook.memoizedState = value; - return value; } } @@ -13619,7 +13684,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -14083,7 +14148,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -24792,9 +24857,9 @@ var workInProgressRootDidAttachPingListener = false; // A contextual version of // HiddenContext module. // // Most things in the work loop should deal with workInProgressRootRenderLanes. -// Most things in begin/complete phases should deal with renderLanes. +// Most things in begin/complete phases should deal with entangledRenderLanes. -var renderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. +var entangledRenderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. var workInProgressRootExitStatus = RootInProgress; // A fatal error, if one is thrown @@ -24805,7 +24870,9 @@ var workInProgressRootSkippedLanes = NoLanes; // Lanes that were updated (in an var workInProgressRootInterleavedUpdatedLanes = NoLanes; // Lanes that were updated during the render phase (*not* an interleaved event). -var workInProgressRootPingedLanes = NoLanes; // Errors that are thrown during the render phase. +var workInProgressRootPingedLanes = NoLanes; // If this lane scheduled deferred work, this is the lane of the deferred task. + +var workInProgressDeferredLane = NoLane; // Errors that are thrown during the render phase. var workInProgressRootConcurrentErrors = null; // These are errors that we recovered from without surfacing them to the UI. // We will log them once the tree commits. @@ -24936,6 +25003,27 @@ function requestRetryLane(fiber) { return claimNextRetryLane(); } +function requestDeferredLane() { + if (workInProgressDeferredLane === NoLane) { + // If there are multiple useDeferredValue hooks in the same render, the + // tasks that they spawn should all be batched together, so they should all + // receive the same lane. + if (includesSomeLane(workInProgressRootRenderLanes, OffscreenLane)) { + // There's only one OffscreenLane, so if it contains deferred work, we + // should just reschedule using the same lane. + // TODO: We also use OffscreenLane for hydration, on the basis that the + // initial HTML is the same as the hydrated UI, but since the deferred + // task will change the UI, it should be treated like an update. Use + // TransitionHydrationLane to trigger selective hydration. + workInProgressDeferredLane = OffscreenLane; + } else { + // Everything else is spawned as a transition. + workInProgressDeferredLane = requestTransitionLane(); + } + } + + return workInProgressDeferredLane; +} function scheduleUpdateOnFiber(root, fiber, lane) { { if (isRunningInsertionEffect) { @@ -24957,7 +25045,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // The incoming update might unblock the current render. Interrupt the // current attempt and restart from the top. prepareFreshStack(root, NoLanes); - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } // Mark that the root has a pending update. @@ -24995,7 +25083,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // effect of interrupting the current render and switching to the update. // TODO: Make sure this doesn't override pings that happen while we've // already started rendering. - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } } @@ -25088,7 +25176,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); } else { // The render completed. // Check if this render may have yielded to a concurrent event, and if so, @@ -25124,7 +25212,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } // We now have a consistent tree. The next step is either to commit it, @@ -25238,7 +25326,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // This is a transition, so we should exit without committing a // placeholder and without scheduling a timeout. Delay indefinitely // until we receive more data. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); return; } // Commit the placeholder. @@ -25261,7 +25349,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { if (shouldForceFlushFallbacksInDEV()) { // We're inside an `act` scope. Commit immediately. - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); } else { if (includesOnlyRetries(lanes) && (alwaysThrottleRetries )) { // This render only included retries, no updates. Throttle committing @@ -25269,7 +25357,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1(); // Don't bother with a very short suspense time. if (msUntilTimeout > 10) { - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); var nextLanes = getNextLanes(root, NoLanes); if (nextLanes !== NoLanes) { @@ -25283,16 +25371,16 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // run one after the other. - root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes), msUntilTimeout); + root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane), msUntilTimeout); return; } } - commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes); + commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane); } } -function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes) { +function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. if (includesOnlyNonUrgentLanes(lanes)) { @@ -25317,13 +25405,13 @@ function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, // us that it's ready. This will be canceled if we start work on the // root again. root.cancelPendingCommit = schedulePendingCommit(commitRoot.bind(null, root, recoverableErrors, transitions)); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, spawnedLane); return; } } // Otherwise, commit immediately. - commitRoot(root, recoverableErrors, transitions); + commitRoot(root, recoverableErrors, transitions, spawnedLane); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -25389,14 +25477,14 @@ function isRenderConsistentWithExternalStores(finishedWork) { return true; } -function markRootSuspended(root, suspendedLanes) { +function markRootSuspended(root, suspendedLanes, spawnedLane) { // When suspending, we should always exclude lanes that were pinged or (more // rarely, since we try to avoid it) updated during the render phase. // TODO: Lol maybe there's a better way to factor this besides this // obnoxiously named function :) suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes); suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes); - markRootSuspended$1(root, suspendedLanes); + markRootSuspended$1(root, suspendedLanes, spawnedLane); } // This is the entry point for synchronous tasks that don't go // through Scheduler @@ -25442,7 +25530,7 @@ function performSyncWorkOnRoot(root, lanes) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } @@ -25451,7 +25539,7 @@ function performSyncWorkOnRoot(root, lanes) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); return null; } // We now have a consistent tree. Because this is a sync render, we @@ -25461,7 +25549,7 @@ function performSyncWorkOnRoot(root, lanes) { var finishedWork = root.current.alternate; root.finishedWork = finishedWork; root.finishedLanes = lanes; - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); // Before exiting, make sure there's a callback scheduled for the next + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); // Before exiting, make sure there's a callback scheduled for the next // pending level. ensureRootIsScheduled(root); @@ -25469,7 +25557,7 @@ function performSyncWorkOnRoot(root, lanes) { } function flushRoot(root, lanes) { if (lanes !== NoLanes) { - markRootEntangled(root, mergeLanes(lanes, SyncLane)); + upgradePendingLanesToSync(root, lanes); ensureRootIsScheduled(root); if ((executionContext & (RenderContext | CommitContext)) === NoContext) { @@ -25552,11 +25640,11 @@ function isInvalidExecutionContextForEventFunction() { // place that ever modifies it. Which module it lives in doesn't matter for // performance because this function will get inlined regardless -function setRenderLanes(subtreeRenderLanes) { - renderLanes = subtreeRenderLanes; +function setEntangledRenderLanes(newEntangledRenderLanes) { + entangledRenderLanes = newEntangledRenderLanes; } -function getRenderLanes() { - return renderLanes; +function getEntangledRenderLanes() { + return entangledRenderLanes; } function resetWorkInProgressStack() { @@ -25607,7 +25695,7 @@ function prepareFreshStack(root, lanes) { workInProgressRoot = root; var rootWorkInProgress = createWorkInProgress(root.current, null); workInProgress = rootWorkInProgress; - workInProgressRootRenderLanes = renderLanes = lanes; + workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; workInProgressRootDidAttachPingListener = false; @@ -25616,8 +25704,17 @@ function prepareFreshStack(root, lanes) { workInProgressRootSkippedLanes = NoLanes; workInProgressRootInterleavedUpdatedLanes = NoLanes; workInProgressRootPingedLanes = NoLanes; + workInProgressDeferredLane = NoLane; workInProgressRootConcurrentErrors = null; - workInProgressRootRecoverableErrors = null; + workInProgressRootRecoverableErrors = null; // Get the lanes that are entangled with whatever we're about to render. We + // track these separately so we can distinguish the priority of the render + // task from the priority of the lanes it is entangled with. For example, a + // transition may not be allowed to finish unless it includes the Sync lane, + // which is currently suspended. We should be able to render the Transition + // and Sync lane in the same batch, but at Transition priority, because the + // Sync lane already suspended. + + entangledRenderLanes = getEntangledLanes(root, lanes); finishQueueingConcurrentUpdates(); { @@ -25835,7 +25932,7 @@ function renderDidSuspendDelayIfPossible() { workInProgressRootExitStatus = RootSuspendedWithDelay; // Check if there are updates that we skipped tree that might have unblocked // this render. - if (workInProgressRoot !== null && (includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes))) { + if ((includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes)) && workInProgressRoot !== null) { // Mark the current render as suspended so that we switch to working on // the updates that were skipped. Usually we only suspend at the end of // the render phase. @@ -25845,8 +25942,7 @@ function renderDidSuspendDelayIfPossible() { // pinged or updated while we were rendering. // TODO: Consider unwinding immediately, using the // SuspendedOnHydration mechanism. - // $FlowFixMe[incompatible-call] need null check workInProgressRoot - markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes); + markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane); } } function renderDidError(error) { @@ -26279,10 +26375,10 @@ function performUnitOfWork(unitOfWork) { if ((unitOfWork.mode & ProfileMode) !== NoMode) { startProfilerTimer(unitOfWork); - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, true); } else { - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); } resetCurrentFiber(); @@ -26378,8 +26474,8 @@ function replaySuspendedUnitOfWork(unitOfWork) { // reconciled previously. So it's intentional that we don't call // resetSuspendedWorkLoopOnUnwind here. unwindInterruptedWork(current, unitOfWork); - unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, renderLanes); - next = beginWork(current, unitOfWork, renderLanes); + unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, entangledRenderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); break; } } @@ -26482,10 +26578,10 @@ function completeUnitOfWork(unitOfWork) { var next = void 0; if ((completedWork.mode & ProfileMode) === NoMode) { - next = completeWork(current, completedWork, renderLanes); + next = completeWork(current, completedWork, entangledRenderLanes); } else { startProfilerTimer(completedWork); - next = completeWork(current, completedWork, renderLanes); // Update render duration assuming we didn't error. + next = completeWork(current, completedWork, entangledRenderLanes); // Update render duration assuming we didn't error. stopProfilerTimerIfRunningAndRecordDelta(completedWork, false); } @@ -26590,7 +26686,7 @@ function unwindUnitOfWork(unitOfWork) { workInProgress = null; } -function commitRoot(root, recoverableErrors, transitions) { +function commitRoot(root, recoverableErrors, transitions, spawnedLane) { // TODO: This no longer makes any sense. We already wrap the mutation and // layout phases. Should be able to remove. var previousUpdateLanePriority = getCurrentUpdatePriority(); @@ -26599,7 +26695,7 @@ function commitRoot(root, recoverableErrors, transitions) { try { ReactCurrentBatchConfig$1.transition = null; setCurrentUpdatePriority(DiscreteEventPriority); - commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority); + commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority, spawnedLane); } finally { ReactCurrentBatchConfig$1.transition = prevTransition; setCurrentUpdatePriority(previousUpdateLanePriority); @@ -26608,7 +26704,7 @@ function commitRoot(root, recoverableErrors, transitions) { return null; } -function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) { +function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel, spawnedLane) { do { // `flushPassiveEffects` will call `flushSyncUpdateQueue` at the end, which // means `flushPassiveEffects` will sometimes result in additional @@ -26666,7 +26762,7 @@ function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLeve var concurrentlyUpdatedLanes = getConcurrentlyUpdatedLanes(); remainingLanes = mergeLanes(remainingLanes, concurrentlyUpdatedLanes); - markRootFinished(root, remainingLanes); + markRootFinished(root, remainingLanes, spawnedLane); if (root === workInProgressRoot) { // We can reset these now that they are finished. @@ -28725,7 +28821,7 @@ identifierPrefix, onRecoverableError, transitionCallbacks, formState) { return root; } -var ReactVersion = '18.3.0-experimental-09fbee89d-20231013'; +var ReactVersion = '18.3.0-experimental-a41957507-20231017'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js index b36d831ec001b..67288af7eab87 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js @@ -17,433 +17,433 @@ var Ba=Symbol.for("react.offscreen"),Ca=Symbol.for("react.legacy_hidden"),Da=Sym var Ja=ma(null),Ka=ma(null),La=ma(null),Ma=ma(null),Na={$$typeof:ta,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Oa(a,b){E(La,b);E(Ka,a);E(Ja,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Pa(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Pa(a),b=Qa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ja);E(Ja,b)} function Ra(){D(Ja);D(Ka);D(La)}function Sa(a){null!==a.memoizedState&&E(Ma,a);var b=Ja.current;var c=Qa(b,a.type);b!==c&&(E(Ka,a),E(Ja,c))}function Ta(a){Ka.current===a&&(D(Ja),D(Ka));Ma.current===a&&(D(Ma),Na._currentValue=null)} var Ua=ba.unstable_scheduleCallback,Va=ba.unstable_cancelCallback,Wa=ba.unstable_shouldYield,Xa=ba.unstable_requestPaint,Ya=ba.unstable_now,Za=ba.unstable_getCurrentPriorityLevel,$a=ba.unstable_ImmediatePriority,ab=ba.unstable_UserBlockingPriority,bb=ba.unstable_NormalPriority,cb=ba.unstable_LowPriority,db=ba.unstable_IdlePriority,eb=null,fb=null;function gb(a){if(fb&&"function"===typeof fb.onCommitFiberRoot)try{fb.onCommitFiberRoot(eb,a,void 0,128===(a.current.flags&128))}catch(b){}} -var ib=Math.clz32?Math.clz32:hb,jb=Math.log,kb=Math.LN2;function hb(a){a>>>=0;return 0===a?32:31-(jb(a)/kb|0)|0}var lb=128,mb=8388608; -function nb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128: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:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456; -case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}} -function ob(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=nb(h):(f&=g,0!==f&&(d=nb(f)))}else g=c&~e,0!==g?d=nb(g):0!==f&&(d=nb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}function ub(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function vb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0>>=0;return 0===a?32:31-(jb(a)/kb|0)|0}var lb=128,mb=4194304; +function nb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456; +case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function ob(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes;a=a.pingedLanes;var f=c&134217727;0!==f?(c=f&~e,0!==c?d=nb(c):(a&=f,0!==a&&(d=nb(a)))):(c&=~e,0!==c?d=nb(c):0!==a&&(d=nb(a)));return 0===d?0:0!==b&&b!==d&&0===(b&e)&&(e=d&-d,a=b&-b,e>=a||32===e&&0!==(a&4194176))?b:d} +function pb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64: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 b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function qb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function rb(){var a=mb;mb<<=1;0===(mb&62914560)&&(mb=4194304);return a}function sb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function tb(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function ub(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0k||f[h]!==g[k]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("")&&(p=p.replace("",a.displayName));return p}while(1<=h&&0<=k)}break}}}finally{hc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?gc(a):""} -function jc(a){switch(a.tag){case 26:case 27:case 5:return gc(a.type);case 16:return gc("Lazy");case 13:return gc("Suspense");case 19:return gc("SuspenseList");case 0:case 2:case 15:return a=ic(a.type,!1),a;case 11:return a=ic(a.type.render,!1),a;case 1:return a=ic(a.type,!0),a;default:return""}} -function kc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:kc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return kc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} -function lc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return kc(b);case 8:return b===qa?"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 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function mc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function nc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function oc(a){var b=nc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function pc(a){a._valueTracker||(a._valueTracker=oc(a))}function qc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=nc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function rc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var sc=/[\n"\\]/g; -function tc(a){return a.replace(sc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function uc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+mc(b)}else a.value!==""+mc(b)&&(a.value=""+mc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?vc(a,g,mc(b)):null!=c?vc(a,g,mc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== -typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+mc(h):a.removeAttribute("name")} -function wc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+mc(c):"";b=null!=b?""+mc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function vc(a,b,c){"number"===b&&rc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var xc=Array.isArray; -function yc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;ek||f[h]!==g[k]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("")&&(p=p.replace("",a.displayName));return p}while(1<=h&&0<=k)}break}}}finally{ic=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?hc(a):""} +function kc(a){switch(a.tag){case 26:case 27:case 5:return hc(a.type);case 16:return hc("Lazy");case 13:return hc("Suspense");case 19:return hc("SuspenseList");case 0:case 2:case 15:return a=jc(a.type,!1),a;case 11:return a=jc(a.type.render,!1),a;case 1:return a=jc(a.type,!0),a;default:return""}} +function lc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:lc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return lc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} +function mc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return lc(b);case 8:return b===qa?"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 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function nc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function oc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function pc(a){var b=oc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function qc(a){a._valueTracker||(a._valueTracker=pc(a))}function rc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=oc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function sc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var tc=/[\n"\\]/g; +function uc(a){return a.replace(tc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function vc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+nc(b)}else a.value!==""+nc(b)&&(a.value=""+nc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?wc(a,g,nc(b)):null!=c?wc(a,g,nc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+nc(h):a.removeAttribute("name")} +function xc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+nc(c):"";b=null!=b?""+nc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function wc(a,b,c){"number"===b&&sc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var yc=Array.isArray; +function zc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e>=g;e-=g;nd=1<<32-ib(b)+e|c<H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== -I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);l=f(I,l,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&pd(m,H),x;if(null===y){for(;HH?(ha=y,y=null):ha=y.sibling;var Gb=r(m,y,I.value,v);if(null===Gb){null===y&&(y=ha);break}a&&y&&null===Gb.alternate&&b(m,y);l=f(Gb,l,H);null===A?x=Gb:A.sibling=Gb;A=Gb;y=ha}if(I.done)return c(m,y),K&&pd(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(l=f(I,l,H),null===A?x=I:A.sibling= -I,A=I);K&&pd(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),l=f(I,l,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(an){return b(m,an)});K&&pd(m,H);return x}function V(m,l,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var x=n.key,A=l;null!==A;){if(A.key===x){x=n.type;if(x===pa){if(7===A.tag){c(m,A.sibling); -l=e(A,n.props.children);l.return=m;m=l;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&xe(x)===A.type){c(m,A.sibling);l=e(A,n.props);l.ref=ve(m,A,n);l.return=m;m=l;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===pa?(l=De(n.props.children,m.mode,v,n.key),l.return=m,m=l):(v=Be(n.type,n.key,n.props,null,null,m.mode,v),v.ref=ve(m,l,n),v.return=m,m=v)}return g(m);case oa:a:{for(A=n.key;null!==l;){if(l.key===A)if(4===l.tag&&l.stateNode.containerInfo===n.containerInfo&& -l.stateNode.implementation===n.implementation){c(m,l.sibling);l=e(l,n.children||[]);l.return=m;m=l;break a}else{c(m,l);break}else b(m,l);l=l.sibling}l=Ce(n,m.mode,v);l.return=m;m=l}return g(m);case za:return A=n._init,R(m,l,A(n._payload),v)}if(xc(n))return z(m,l,n,v);if(Ia(n))return C(m,l,n,v);if("function"===typeof n.then)return V(m,l,ue(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return V(m,l,Ee(m,n,v),v);we(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==l&&6===l.tag?(c(m, -l.sibling),l=e(l,n),l.return=m,m=l):(c(m,l),l=Ae(n,m.mode,v),l.return=m,m=l),g(m)):c(m,l)}function R(m,l,n,v){te=0;m=V(m,l,n,v);se=null;return m}return R}var Fe=ye(!0),Ge=ye(!1),He=ma(null),Ie=ma(0);function Je(a,b){a=Ke;E(Ie,a);E(He,b);Ke=a|b.baseLanes}function Le(){E(Ie,Ke);E(He,He.current)}function Me(){Ke=Ie.current;D(He);D(Ie)}var Ne=ma(null),Oe=null;function Pe(a){var b=a.alternate;E(Qe,Qe.current&1);E(Ne,a);null===Oe&&(null===b||null!==He.current?Oe=a:null!==b.memoizedState&&(Oe=a))} -function Re(a){if(22===a.tag){if(E(Qe,Qe.current),E(Ne,a),null===Oe){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Oe=a)}}else Se(a)}function Se(){E(Qe,Qe.current);E(Ne,Ne.current)}function Te(a){D(Ne);Oe===a&&(Oe=null);D(Qe)}var Qe=ma(0); -function Ue(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Ve=null,We=null,Xe=!1,Ye=!1,Ze=!1,$e=0; -function af(a){a!==We&&null===a.next&&(null===We?Ve=We=a:We=We.next=a);Ye=!0;Xe||(Xe=!0,bf(cf))} -function df(a){if(!Ze&&Ye){var b=null;Ze=!0;do{var c=!1;for(var d=Ve;null!==d;){if(!a||0===d.tag){var e=M,f=ob(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!ef()){var g=ff(e,f);if(0!==e.tag&&2===g){var h=f,k=qb(e,h);0!==k&&(f=k,g=gf(e,h,k))}if(1===g)throw h=hf,jf(e,0),kf(e,f),af(e),h;6===g?kf(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,lf(e,mf,nf))}af(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Ze=!1;if(null!==b){if(1f?f:8;var g=Bf.transition;Bf.transition={};Pg(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var k=wf(h,d);Qg(a,b,k)}else{var p=zf(h,d);Qg(a,b,p)}}catch(q){Qg(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,Bf.transition=g}} -function Rg(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Og(a,f,b,fa,function(){return c(d)})}function Sg(){var a=ag(Na);return null!==a?a:fa}function Tg(){return Yf().memoizedState} -function Ug(){return Yf().memoizedState}function Vg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Wg(d);a=be(e);var f=ce(d,a,e);null!==f&&(pg(f,d,e),de(f,d,e));d=Xg();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function Yg(a,b,c){var d=Wg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};tg(a)?Zg(b,c):(c=Ud(a,b,c,d),null!==c&&(pg(c,a,d),$g(c,b,d)))} -function Qg(a,b,c){var d=Wg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(tg(a))Zg(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(fd(h,g)){Td(a,b,e,0);null===N&&Rd();return}}catch(k){}finally{}c=Ud(a,b,e,d);null!==c&&(pg(c,a,d),$g(c,b,d))}} -function Pg(a,b,c,d){d={lane:2,revertLane:sf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(tg(a)){if(b)throw Error(t(479));}else b=Ud(a,c,d,2),null!==b&&pg(b,a,2)}function tg(a){var b=a.alternate;return a===P||null!==b&&b===P}function Zg(a,b){Ef=Df=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function $g(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} -var Qf={readContext:ag,use:$f,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Qf.useCacheRefresh=T;Qf.useMemoCache=T;Qf.useEffectEvent=T;Qf.useHostTransitionStatus=T;Qf.useFormState=T;Qf.useOptimistic=T; -var Mf={readContext:ag,use:$f,useCallback:function(a,b){Xf().memoizedState=[a,void 0===b?null:b];return a},useContext:ag,useEffect:Cg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Ag(4194308,4,Hg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ag(4194308,4,a,b)},useInsertionEffect:function(a,b){Ag(4,2,a,b)},useMemo:function(a,b){var c=Xf();b=void 0===b?null:b;Ff&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Xf();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Yg.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Xf();a={current:a};return b.memoizedState=a},useState:function(a){a=qg(a);var b=a.queue,c=Qg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Jg,useDeferredValue:function(a,b){var c=Xf();return Mg(c,a,b)},useTransition:function(){var a=qg(!1);a=Og.bind(null,P,a.queue,!0,!1); -Xf().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Xf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(Cf&60)||mg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Cg(jg.bind(null,d,f,a),[a]);d.flags|=2048;kg(9,lg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Xf(),b=N.identifierPrefix;if(K){var c=od;var d=nd;c=(d&~(1<<32-ib(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Gf++;0>=g;e-=g;od=1<<32-ib(b)+e|c<H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== +I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);l=f(I,l,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&qd(m,H),x;if(null===y){for(;HH?(ha=y,y=null):ha=y.sibling;var Hb=r(m,y,I.value,v);if(null===Hb){null===y&&(y=ha);break}a&&y&&null===Hb.alternate&&b(m,y);l=f(Hb,l,H);null===A?x=Hb:A.sibling=Hb;A=Hb;y=ha}if(I.done)return c(m,y),K&&qd(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(l=f(I,l,H),null===A?x=I:A.sibling= +I,A=I);K&&qd(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),l=f(I,l,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(dn){return b(m,dn)});K&&qd(m,H);return x}function V(m,l,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var x=n.key,A=l;null!==A;){if(A.key===x){x=n.type;if(x===pa){if(7===A.tag){c(m,A.sibling); +l=e(A,n.props.children);l.return=m;m=l;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&ye(x)===A.type){c(m,A.sibling);l=e(A,n.props);l.ref=we(m,A,n);l.return=m;m=l;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===pa?(l=Ee(n.props.children,m.mode,v,n.key),l.return=m,m=l):(v=Ce(n.type,n.key,n.props,null,null,m.mode,v),v.ref=we(m,l,n),v.return=m,m=v)}return g(m);case oa:a:{for(A=n.key;null!==l;){if(l.key===A)if(4===l.tag&&l.stateNode.containerInfo===n.containerInfo&& +l.stateNode.implementation===n.implementation){c(m,l.sibling);l=e(l,n.children||[]);l.return=m;m=l;break a}else{c(m,l);break}else b(m,l);l=l.sibling}l=De(n,m.mode,v);l.return=m;m=l}return g(m);case za:return A=n._init,R(m,l,A(n._payload),v)}if(yc(n))return z(m,l,n,v);if(Ia(n))return C(m,l,n,v);if("function"===typeof n.then)return V(m,l,ve(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return V(m,l,Fe(m,n,v),v);xe(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==l&&6===l.tag?(c(m, +l.sibling),l=e(l,n),l.return=m,m=l):(c(m,l),l=Be(n,m.mode,v),l.return=m,m=l),g(m)):c(m,l)}function R(m,l,n,v){ue=0;m=V(m,l,n,v);te=null;return m}return R}var Ge=ze(!0),He=ze(!1),Ie=ma(null),Je=ma(0);function Ke(a,b){a=Le;E(Je,a);E(Ie,b);Le=a|b.baseLanes}function Me(){E(Je,Le);E(Ie,Ie.current)}function Ne(){Le=Je.current;D(Ie);D(Je)}var Oe=ma(null),Pe=null;function Qe(a){var b=a.alternate;E(Re,Re.current&1);E(Oe,a);null===Pe&&(null===b||null!==Ie.current?Pe=a:null!==b.memoizedState&&(Pe=a))} +function Se(a){if(22===a.tag){if(E(Re,Re.current),E(Oe,a),null===Pe){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Pe=a)}}else Te(a)}function Te(){E(Re,Re.current);E(Oe,Oe.current)}function Ue(a){D(Oe);Pe===a&&(Pe=null);D(Re)}var Re=ma(0); +function Ve(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var We=null,Xe=null,Ye=!1,Ze=!1,$e=!1,af=0; +function bf(a){a!==Xe&&null===a.next&&(null===Xe?We=Xe=a:Xe=Xe.next=a);Ze=!0;Ye||(Ye=!0,cf(df))} +function ef(a){if(!$e&&Ze){var b=null;$e=!0;do{var c=!1;for(var d=We;null!==d;){if(!a||0===d.tag){var e=M,f=ob(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!ff()){var g=gf(e,f);if(0!==e.tag&&2===g){var h=f,k=qb(e,h);0!==k&&(f=k,g=hf(e,h,k))}if(1===g)throw h=jf,kf(e,0),lf(e,f,0),bf(e),h;6===g?lf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,mf(e,nf,of,pf))}bf(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);$e=!1;if(null!==b){if(1f?f:8;var g=Df.transition;Df.transition={};Sg(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var k=yf(h,d);Tg(a,b,k)}else{var p=Bf(h,d);Tg(a,b,p)}}catch(q){Tg(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,Df.transition=g}} +function Ug(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:eg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Rg(a,f,b,fa,function(){return c(d)})}function Vg(){var a=cg(Na);return null!==a?a:fa}function Wg(){return $f().memoizedState} +function Xg(){return $f().memoizedState}function Yg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Zg(d);a=ce(e);var f=de(d,a,e);null!==f&&(rg(f,d,e),ee(f,d,e));d=$g();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function ah(a,b,c){var d=Zg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};vg(a)?bh(b,c):(c=Vd(a,b,c,d),null!==c&&(rg(c,a,d),ch(c,b,d)))} +function Tg(a,b,c){var d=Zg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(vg(a))bh(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(gd(h,g)){Ud(a,b,e,0);null===N&&Sd();return}}catch(k){}finally{}c=Vd(a,b,e,d);null!==c&&(rg(c,a,d),ch(c,b,d))}} +function Sg(a,b,c,d){d={lane:2,revertLane:uf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(vg(a)){if(b)throw Error(t(479));}else b=Vd(a,c,d,2),null!==b&&rg(b,a,2)}function vg(a){var b=a.alternate;return a===P||null!==b&&b===P}function bh(a,b){Gf=Ff=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function ch(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} +var Sf={readContext:cg,use:bg,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Sf.useCacheRefresh=T;Sf.useMemoCache=T;Sf.useEffectEvent=T;Sf.useHostTransitionStatus=T;Sf.useFormState=T;Sf.useOptimistic=T; +var Of={readContext:cg,use:bg,useCallback:function(a,b){Zf().memoizedState=[a,void 0===b?null:b];return a},useContext:cg,useEffect:Eg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Cg(4194308,4,Jg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Cg(4194308,4,a,b)},useInsertionEffect:function(a,b){Cg(4,2,a,b)},useMemo:function(a,b){var c=Zf();b=void 0===b?null:b;Hf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Zf();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=ah.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Zf();a={current:a};return b.memoizedState=a},useState:function(a){a=sg(a);var b=a.queue,c=Tg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Lg,useDeferredValue:function(a,b){var c=Zf();return Og(c,a,b)},useTransition:function(){var a=sg(!1);a=Rg.bind(null,P,a.queue,!0,!1); +Zf().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Zf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(M&60)||og(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Eg(lg.bind(null,d,f,a),[a]);d.flags|=2048;mg(9,ng.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Zf(),b=N.identifierPrefix;if(K){var c=pd;var d=od;c=(d&~(1<<32-ib(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=If++;0\x3c/script>";a=a.removeChild(a.firstChild);break;case "select":a="string"===typeof d.is?e.createElement("select",{is:d.is}):e.createElement("select");d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a="string"===typeof d.is?e.createElement(c,{is:d.is}): -e.createElement(c)}}a[Bb]=b;a[Cb]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Gi(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&vi(b)}null!==b.ref&& -wi(b)}U(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&vi(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=La.current;if(Jd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Bb]=b;if(d=a.nodeValue!==c)if(e=G,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Hi(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Hi(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&vi(b)}else a=Fi(a).createTextNode(d), -a[Bb]=b,b.stateNode=a}U(b);return null;case 13:Te(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Ld(),Md(),b.flags|=384,e=!1;else if(e=Jd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[Bb]=b}else Md(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;U(b);e=!1}else null!==td&&(Ci(td),td=null),e=!0;if(!e)return b.flags& -256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);zi(b,b.updateQueue);U(b);return null;case 4:return Ra(),null===a&&Ii(b.stateNode.containerInfo), -U(b),null;case 10:return mi(b.type._context),U(b),null;case 17:return Zc(b.type)&&$c(),U(b),null;case 19:D(Qe);e=b.memoizedState;if(null===e)return U(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)Ai(e,!1);else{if(0!==th||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Ue(a);if(null!==f){b.flags|=128;Ai(e,!1);a=f.updateQueue;b.updateQueue=a;zi(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Ji(c,a),c=c.sibling;E(Qe,Qe.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Ya()> -Ki&&(b.flags|=128,d=!0,Ai(e,!1),b.lanes=8388608)}else{if(!d)if(a=Ue(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,zi(b,a),Ai(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Ya()-e.renderingStartTime>Ki&&1073741824!==c&&(b.flags|=128,d=!0,Ai(e,!1),b.lanes=8388608);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime= -Ya(),b.sibling=null,a=Qe.current,E(Qe,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Te(b),Me(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&1073741824)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&zi(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& -(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(ui),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),mi(Lh),U(b),null;case 25:return null}throw Error(t(156,b.tag));} -function Li(a,b){sd(b);switch(b.tag){case 1:return Zc(b.type)&&$c(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return mi(Lh),Ra(),D(Wc),D(Vc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ta(b),null;case 13:Te(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Md()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Qe),null;case 4:return Ra(),null;case 10:return mi(b.type._context), -null;case 22:case 23:return Te(b),Me(),null!==a&&D(ui),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return mi(Lh),null;case 25:return null;default:return null}} -function Mi(a,b){sd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&$c();break;case 3:mi(Lh);Ra();D(Wc);D(Vc);break;case 26:case 27:case 5:Ta(b);break;case 4:Ra();break;case 13:Te(b);break;case 19:D(Qe);break;case 10:mi(b.type._context);break;case 22:case 23:Te(b);Me();null!==a&&D(ui);break;case 24:mi(Lh)}}function Ni(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} -var Oi=!1,Pi=null,Qi=!1,Ri=null,Si={onError:function(a){Oi=!0;Pi=a}};function Ti(a,b,c,d,e,f,g,h,k){Oi=!1;Pi=null;Ni.apply(Si,arguments)}function Ui(a,b,c,d,e,f,g,h,k){Ti.apply(this,arguments);if(Oi){if(Oi){var p=Pi;Oi=!1;Pi=null}else throw Error(t(198));Qi||(Qi=!0,Ri=p)}}var Vi=!1,Wi=!1,Xi="function"===typeof WeakSet?WeakSet:Set,Yi=null; -function Zi(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function $i(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} -function aj(a,b,c){try{c()}catch(d){W(a,b,d)}}var bj=!1; -function cj(a,b){dj=ej;a=fj();if(gj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,k=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(k=g+d);3===w.nodeType&&(g+= -w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(k=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;hj={focusedElem:a,selectionRange:c};ej=!1;for(Yi=b;null!==Yi;)if(b=Yi,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Yi=a;else for(;null!==Yi;){b=Yi;try{var z=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var V= -b.updateQueue,R=null!==V?V.events:null;if(null!==R)for(a=0;a title"));Gi(e,c,d);e[Bb]=a;Rb(e);c=e;break a;case "link":var f=Lj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g +Ni&&(b.flags|=128,d=!0,Di(e,!1),b.lanes=4194304)}else{if(!d)if(a=Ve(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,Ci(b,a),Di(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Ya()-e.renderingStartTime>Ni&&536870912!==c&&(b.flags|=128,d=!0,Di(e,!1),b.lanes=4194304);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Ya(), +b.sibling=null,a=Re.current,E(Re,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Ue(b),Ne(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&536870912)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&Ci(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& +(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(xi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),pi(Oh),U(b),null;case 25:return null}throw Error(t(156,b.tag));} +function Oi(a,b){td(b);switch(b.tag){case 1:return $c(b.type)&&ad(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return pi(Oh),Ra(),D(Xc),D(Wc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ta(b),null;case 13:Ue(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Nd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Re),null;case 4:return Ra(),null;case 10:return pi(b.type._context), +null;case 22:case 23:return Ue(b),Ne(),null!==a&&D(xi),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return pi(Oh),null;case 25:return null;default:return null}} +function Pi(a,b){td(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&ad();break;case 3:pi(Oh);Ra();D(Xc);D(Wc);break;case 26:case 27:case 5:Ta(b);break;case 4:Ra();break;case 13:Ue(b);break;case 19:D(Re);break;case 10:pi(b.type._context);break;case 22:case 23:Ue(b);Ne();null!==a&&D(xi);break;case 24:pi(Oh)}}function Qi(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} +var Ri=!1,Si=null,Ti=!1,Ui=null,Vi={onError:function(a){Ri=!0;Si=a}};function Wi(a,b,c,d,e,f,g,h,k){Ri=!1;Si=null;Qi.apply(Vi,arguments)}function Xi(a,b,c,d,e,f,g,h,k){Wi.apply(this,arguments);if(Ri){if(Ri){var p=Si;Ri=!1;Si=null}else throw Error(t(198));Ti||(Ti=!0,Ui=p)}}var Yi=!1,Zi=!1,$i="function"===typeof WeakSet?WeakSet:Set,aj=null; +function bj(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function cj(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} +function dj(a,b,c){try{c()}catch(d){W(a,b,d)}}var ej=!1; +function fj(a,b){gj=hj;a=ij();if(jj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,k=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(k=g+d);3===w.nodeType&&(g+= +w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(k=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;kj={focusedElem:a,selectionRange:c};hj=!1;for(aj=b;null!==aj;)if(b=aj,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,aj=a;else for(;null!==aj;){b=aj;try{var z=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var V= +b.updateQueue,R=null!==V?V.events:null;if(null!==R)for(a=0;a title"));Ji(e,c,d);e[Cb]=a;Sb(e);c=e;break a;case "link":var f=Oj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g";case lk:return":has("+(tk(a)||"")+")";case mk:return'[role="'+a.value+'"]';case ok:return'"'+a.value+'"';case nk:return'[data-testname="'+a.value+'"]';default:throw Error(t(365));}} -function uk(a,b){var c=[];a=[a,0];for(var d=0;dc?32:c;c=Ak.transition;var e=F;try{Ak.transition=null;F=d;if(null===Hk)var f=!1;else{d=Kk;Kk=null;var g=Hk,h=Ik;Hk=null;Ik=0;if(0!==(L&6))throw Error(t(331));var k=L;L|=4;hk(g.current);Xj(g,g.current,h,d);L=k;df(!1);if(fb&&"function"===typeof fb.onPostCommitFiberRoot)try{fb.onPostCommitFiberRoot(eb,g)}catch(p){}f=!0}return f}finally{F=e,Ak.transition=c,jl(a,b)}}return!1} -function kl(a,b,c){b=hh(c,b);b=kh(a,b,2);a=ce(a,b,2);null!==a&&(ub(a,2),af(a))}function W(a,b,c){if(3===a.tag)kl(a,a,c);else for(;null!==b;){if(3===b.tag){kl(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===oh||!oh.has(d))){a=hh(c,a);a=nh(b,a,2);b=ce(b,a,2);null!==b&&(ub(b,2),af(b));break}}b=b.return}} -function uh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new wk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(Ck=!0,e.add(c),a=ll.bind(null,a,b,c),b.then(a,a))}function ll(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===th||3===th&&(M&125829120)===M&&300>Ya()-Rj?0===(L&2)&&jf(a,0):Ek|=c);af(a)}function ml(a,b){0===b&&(b=0===(a.mode&1)?2:sb());a=Wd(a,b);null!==a&&(ub(a,b),af(a))} -function ai(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);ml(a,c)}function Gj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);ml(a,c)}var fl; -fl=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wc.current)fg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return fg=!1,fi(a,b,c);fg=0!==(a.flags&131072)?!0:!1}else fg=!1,K&&0!==(b.flags&1048576)&&qd(b,jd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Oh(a,b);a=b.pendingProps;var e=Yc(b,Vc.current);Ah(b,c);e=Lf(null,b,d,a,e,c);var f=Uf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= -null,Zc(d)?(f=!0,cd(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,$d(b),e.updater=ch,b.stateNode=e,e._reactInternals=b,gh(b,d,a,c),b=Ph(null,b,d,!0,f,c)):(b.tag=0,K&&f&&rd(b),yh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Oh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=nl(d);a=ah(d,a);switch(e){case 0:b=Fh(null,b,d,a,c);break a;case 1:b=Nh(null,b,d,a,c);break a;case 11:b=zh(null,b,d,a,c);break a;case 14:b=Ch(null,b,d,ah(d.type,a),c);break a}throw Error(t(306, -d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ah(d,e),Fh(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ah(d,e),Nh(a,b,d,e,c);case 3:a:{Qh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;ae(a,b);fe(b,e,null,c);var g=b.memoizedState;e=g.cache;gi(b,Lh,e);e!==f.cache&&ni(b,Lh,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= -hh(Error(t(423)),b);b=Rh(a,b,e,c,d);break a}else if(e!==d){d=hh(Error(t(424)),b);b=Rh(a,b,e,c,d);break a}else for(J=Ad(b.stateNode.containerInfo.firstChild),G=b,K=!0,td=null,ud=!0,c=Ge(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Md();if(e===d){b=Bh(a,b,c);break a}yh(a,b,e,c)}b=b.child}return b;case 26:return Hh(a,b),c=b.memoizedState=ol(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Fi(La.current).createElement(c),d[Bb]= -b,d[Cb]=a,Gi(d,c,a),Rb(d),b.stateNode=d),null;case 27:return Sa(b),null===a&&K&&(d=b.stateNode=Ei(b.type,b.pendingProps,La.current),G=b,ud=!0,J=Ad(d.firstChild)),d=b.pendingProps.children,null!==a||K?yh(a,b,d,c):b.child=Fe(b,null,d,c),Hh(a,b),b.child;case 5:return Sa(b),null===a&&K&&((e=d=J,e)?yd(b,e)||(Fd(b)&&Gd(),J=Ed(e),f=G,J&&yd(b,J)?vd(f,e):(xd(G,b),K=!1,G=b,J=d)):(Fd(b)&&Gd(),xd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Kd(e,f)?d=null:null!== -g&&Kd(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Lf(a,b,Sf,null,null,c),Na._currentValue=e,fg&&null!==a&&a.memoizedState.memoizedState!==e&&ni(b,Na,c)),Hh(a,b),yh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?Bd(b,a)||(Fd(b)&&Gd(),J=Ed(a),d=G,J&&Bd(b,J)?vd(d,a):(xd(G,b),K=!1,G=b,J=c)):(Fd(b)&&Gd(),xd(G,b),K=!1,G=b,J=c)),null;case 13:return Vh(a,b,c);case 4:return Oa(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Fe(b,null,d,c):yh(a,b,d,c),b.child; -case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ah(d,e),zh(a,b,d,e,c);case 7:return yh(a,b,b.pendingProps,c),b.child;case 8:return yh(a,b,b.pendingProps.children,c),b.child;case 12:return yh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;gi(b,d,g);if(null!==f)if(fd(f.value,g)){if(f.children===e.children&&!Wc.current){b=Bh(a,b,c);break a}}else ni(b,d,c);yh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= -b.pendingProps.children,Ah(b,c),e=ag(e),d=d(e),b.flags|=1,yh(a,b,d,c),b.child;case 14:return d=b.type,e=ah(d,b.pendingProps),e=ah(d.type,e),Ch(a,b,d,e,c);case 15:return Eh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ah(d,e),Oh(a,b),b.tag=1,Zc(d)?(a=!0,cd(b)):a=!1,Ah(b,c),eh(b,d,e),gh(b,d,e,c),Ph(null,b,d,!0,a,c);case 19:return ei(a,b,c);case 22:return Gh(a,b,c);case 24:return Ah(b,c),d=ag(Lh),null===a?(e=Kh(),null===e&&(e=N,f=Xg(),e.pooledCache=f,f.refCount++, -null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},$d(b),gi(b,Lh,e)):(0!==(a.lanes&c)&&(ae(a,b),fe(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),gi(b,Lh,d)):(d=f.cache,gi(b,Lh,d),d!==e.cache&&ni(b,Lh,c))),yh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function hl(a,b){return Ua(a,b)} -function pl(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function wd(a,b,c,d){return new pl(a,b,c,d)}function Dh(a){a=a.prototype;return!(!a||!a.isReactComponent)} -function nl(a){if("function"===typeof a)return Dh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===va)return 11;if(a===ya)return 14}return 2} -function ze(a,b){var c=a.alternate;null===c?(c=wd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; +b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Ij(a,d))));break;case 19:Kj(b,a);Nj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Ij(a,c)));break;case 21:break;default:Kj(b,a),Nj(a)}} +function Nj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(wj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=xj(a);Aj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Cc(g,""),d.flags&=-33);var h=xj(a);Aj(a,h,g);break;case 3:case 4:var k=d.stateNode.containerInfo,p=xj(a);yj(a,p,k);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} +function sj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)rj(a,b.alternate,b),b=b.sibling} +function Vj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:mj(4,b,b.return);Vj(b);break;case 1:cj(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}Vj(b);break;case 26:case 27:case 5:cj(b,b.return);Vj(b);break;case 22:cj(b,b.return);null===b.memoizedState&&Vj(b);break;default:Vj(b)}a=a.sibling}} +function uj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:uj(e,f,c);oj(f,4);break;case 1:uj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(k){W(f,f.return,k)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d";case ok:return":has("+(wk(a)||"")+")";case pk:return'[role="'+a.value+'"]';case rk:return'"'+a.value+'"';case qk:return'[data-testname="'+a.value+'"]';default:throw Error(t(365));}} +function xk(a,b){var c=[];a=[a,0];for(var d=0;dc?32:c;c=Dk.transition;var e=F;try{Dk.transition=null;F=d;if(null===Kk)var f=!1;else{d=Nk;Nk=null;var g=Kk,h=Lk;Kk=null;Lk=0;if(0!==(L&6))throw Error(t(331));var k=L;L|=4;kk(g.current);ak(g,g.current,h,d);L=k;ef(!1);if(fb&&"function"===typeof fb.onPostCommitFiberRoot)try{fb.onPostCommitFiberRoot(eb,g)}catch(p){}f=!0}return f}finally{F=e,Dk.transition=c,ml(a,b)}}return!1} +function nl(a,b,c){b=kh(c,b);b=nh(a,b,2);a=de(a,b,2);null!==a&&(tb(a,2),bf(a))}function W(a,b,c){if(3===a.tag)nl(a,a,c);else for(;null!==b;){if(3===b.tag){nl(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===rh||!rh.has(d))){a=kh(c,a);a=qh(b,a,2);b=de(b,a,2);null!==b&&(tb(b,2),bf(b));break}}b=b.return}} +function xh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new zk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(Fk=!0,e.add(c),a=ol.bind(null,a,b,c),b.then(a,a))}function ol(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===wh||3===wh&&(M&62914560)===M&&300>Ya()-Uj?0===(L&2)&&kf(a,0):Hk|=c);bf(a)}function pl(a,b){0===b&&(b=0===(a.mode&1)?2:rb());a=Xd(a,b);null!==a&&(tb(a,b),bf(a))} +function di(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);pl(a,c)}function Jj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);pl(a,c)}var il; +il=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Xc.current)hg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return hg=!1,ii(a,b,c);hg=0!==(a.flags&131072)?!0:!1}else hg=!1,K&&0!==(b.flags&1048576)&&rd(b,kd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Rh(a,b);a=b.pendingProps;var e=Zc(b,Wc.current);Dh(b,c);e=Nf(null,b,d,a,e,c);var f=Wf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= +null,$c(d)?(f=!0,dd(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ae(b),e.updater=fh,b.stateNode=e,e._reactInternals=b,jh(b,d,a,c),b=Sh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&sd(b),Bh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Rh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=ql(d);a=dh(d,a);switch(e){case 0:b=Ih(null,b,d,a,c);break a;case 1:b=Qh(null,b,d,a,c);break a;case 11:b=Ch(null,b,d,a,c);break a;case 14:b=Fh(null,b,d,dh(d.type,a),c);break a}throw Error(t(306, +d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Ih(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Qh(a,b,d,e,c);case 3:a:{Th(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;be(a,b);ge(b,e,null,c);var g=b.memoizedState;e=g.cache;ji(b,Oh,e);e!==f.cache&&qi(b,Oh,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= +kh(Error(t(423)),b);b=Uh(a,b,e,c,d);break a}else if(e!==d){d=kh(Error(t(424)),b);b=Uh(a,b,e,c,d);break a}else for(J=Bd(b.stateNode.containerInfo.firstChild),G=b,K=!0,ud=null,vd=!0,c=He(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Nd();if(e===d){b=Eh(a,b,c);break a}Bh(a,b,e,c)}b=b.child}return b;case 26:return Kh(a,b),c=b.memoizedState=rl(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Ii(La.current).createElement(c),d[Cb]= +b,d[Db]=a,Ji(d,c,a),Sb(d),b.stateNode=d),null;case 27:return Sa(b),null===a&&K&&(d=b.stateNode=Hi(b.type,b.pendingProps,La.current),G=b,vd=!0,J=Bd(d.firstChild)),d=b.pendingProps.children,null!==a||K?Bh(a,b,d,c):b.child=Ge(b,null,d,c),Kh(a,b),b.child;case 5:return Sa(b),null===a&&K&&((e=d=J,e)?zd(b,e)||(Gd(b)&&Hd(),J=Fd(e),f=G,J&&zd(b,J)?wd(f,e):(yd(G,b),K=!1,G=b,J=d)):(Gd(b)&&Hd(),yd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Ld(e,f)?d=null:null!== +g&&Ld(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Nf(a,b,Uf,null,null,c),Na._currentValue=e,hg&&null!==a&&a.memoizedState.memoizedState!==e&&qi(b,Na,c)),Kh(a,b),Bh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?Cd(b,a)||(Gd(b)&&Hd(),J=Fd(a),d=G,J&&Cd(b,J)?wd(d,a):(yd(G,b),K=!1,G=b,J=c)):(Gd(b)&&Hd(),yd(G,b),K=!1,G=b,J=c)),null;case 13:return Yh(a,b,c);case 4:return Oa(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ge(b,null,d,c):Bh(a,b,d,c),b.child; +case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Ch(a,b,d,e,c);case 7:return Bh(a,b,b.pendingProps,c),b.child;case 8:return Bh(a,b,b.pendingProps.children,c),b.child;case 12:return Bh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;ji(b,d,g);if(null!==f)if(gd(f.value,g)){if(f.children===e.children&&!Xc.current){b=Eh(a,b,c);break a}}else qi(b,d,c);Bh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= +b.pendingProps.children,Dh(b,c),e=cg(e),d=d(e),b.flags|=1,Bh(a,b,d,c),b.child;case 14:return d=b.type,e=dh(d,b.pendingProps),e=dh(d.type,e),Fh(a,b,d,e,c);case 15:return Hh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Rh(a,b),b.tag=1,$c(d)?(a=!0,dd(b)):a=!1,Dh(b,c),hh(b,d,e),jh(b,d,e,c),Sh(null,b,d,!0,a,c);case 19:return hi(a,b,c);case 22:return Jh(a,b,c);case 24:return Dh(b,c),d=cg(Oh),null===a?(e=Nh(),null===e&&(e=N,f=$g(),e.pooledCache=f,f.refCount++, +null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},ae(b),ji(b,Oh,e)):(0!==(a.lanes&c)&&(be(a,b),ge(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),ji(b,Oh,d)):(d=f.cache,ji(b,Oh,d),d!==e.cache&&qi(b,Oh,c))),Bh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function kl(a,b){return Ua(a,b)} +function sl(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function xd(a,b,c,d){return new sl(a,b,c,d)}function Gh(a){a=a.prototype;return!(!a||!a.isReactComponent)} +function ql(a){if("function"===typeof a)return Gh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===va)return 11;if(a===ya)return 14}return 2} +function Ae(a,b){var c=a.alternate;null===c?(c=xd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.refCleanup=a.refCleanup;return c} -function Ji(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); +function Mi(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); return a} -function Be(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Dh(a)&&(e=1);else if("string"===typeof a)e=ql(a,c,Ja.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case pa:return De(c.children,f,g,b);case qa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case ra:return a=wd(12,c,b,f|2),a.elementType=ra,a.lanes=g,a;case wa:return a=wd(13,c,b,f),a.elementType=wa,a.lanes=g,a;case xa:return a=wd(19,c,b,f),a.elementType=xa,a.lanes=g,a;case Ba:return Zh(c,f,g,b);case Ca:case Aa:case Da:return a=wd(24, -c,b,f),a.elementType=Da,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case sa:e=10;break a;case ta:e=9;break a;case va:e=11;break a;case ya:e=14;break a;case za:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=wd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function De(a,b,c,d){a=wd(7,a,d,b);a.lanes=c;return a} -function Zh(a,b,c,d){a=wd(22,a,d,b);a.elementType=Ba;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Wd(f,2);null!==g&&(e._pendingVisibility|=2,pg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Wd(f,2);null!==g&&(e._pendingVisibility&=-3,pg(g,f,2))}}}; -a.stateNode=e;return a}function Ae(a,b,c){a=wd(6,a,null,b);a.lanes=c;return a}function Ce(a,b,c){b=wd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} -function rl(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=tb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=tb(0);this.hiddenUpdates= -tb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function sl(a,b,c,d,e,f,g,h,k,p,q){a=new rl(a,b,c,h,k,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=wd(3,null,null,b);a.current=f;f.stateNode=a;b=Xg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};$d(f);return a} -function tl(a,b,c){var d=3=$m),dn=String.fromCharCode(32),en=!1;function fn(a,b){switch(a){case "keyup":return-1!==Ym.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function gn(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var hn=!1; -function jn(a,b){switch(a){case "compositionend":return gn(b);case "keypress":if(32!==b.which)return null;en=!0;return dn;case "textInput":return a=b.data,a===dn&&en?null:a;default:return null}} -function kn(a,b){if(hn)return"compositionend"===a||!Zm&&fn(a,b)?(a=Xm(),Wm=Vm=Um=null,hn=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Fn(c)}}function Hn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Hn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} -function fj(){for(var a=window,b=rc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=rc(a.document)}return b}function gj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} -function il(a){var b=fj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Hn(c.ownerDocument.documentElement,c)){if(null!==d&&gj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Gn(c,f);var g=Gn(c, +function Ce(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Gh(a)&&(e=1);else if("string"===typeof a)e=tl(a,c,Ja.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case pa:return Ee(c.children,f,g,b);case qa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case ra:return a=xd(12,c,b,f|2),a.elementType=ra,a.lanes=g,a;case wa:return a=xd(13,c,b,f),a.elementType=wa,a.lanes=g,a;case xa:return a=xd(19,c,b,f),a.elementType=xa,a.lanes=g,a;case Ba:return bi(c,f,g,b);case Ca:case Aa:case Da:return a=xd(24, +c,b,f),a.elementType=Da,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case sa:e=10;break a;case ta:e=9;break a;case va:e=11;break a;case ya:e=14;break a;case za:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=xd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Ee(a,b,c,d){a=xd(7,a,d,b);a.lanes=c;return a} +function bi(a,b,c,d){a=xd(22,a,d,b);a.elementType=Ba;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Xd(f,2);null!==g&&(e._pendingVisibility|=2,rg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Xd(f,2);null!==g&&(e._pendingVisibility&=-3,rg(g,f,2))}}}; +a.stateNode=e;return a}function Be(a,b,c){a=xd(6,a,null,b);a.lanes=c;return a}function De(a,b,c){b=xd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} +function ul(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=sb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=sb(0);this.hiddenUpdates= +sb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function vl(a,b,c,d,e,f,g,h,k,p,q){a=new ul(a,b,c,h,k,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=xd(3,null,null,b);a.current=f;f.stateNode=a;b=$g();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};ae(f);return a} +function wl(a,b,c){var d=3=cn),gn=String.fromCharCode(32),hn=!1;function jn(a,b){switch(a){case "keyup":return-1!==an.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function kn(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var ln=!1; +function mn(a,b){switch(a){case "compositionend":return kn(b);case "keypress":if(32!==b.which)return null;hn=!0;return gn;case "textInput":return a=b.data,a===gn&&hn?null:a;default:return null}} +function nn(a,b){if(ln)return"compositionend"===a||!bn&&jn(a,b)?(a=$m(),Zm=Ym=Xm=null,ln=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=In(c)}}function Kn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Kn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} +function ij(){for(var a=window,b=sc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=sc(a.document)}return b}function jj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} +function ll(a){var b=ij(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Kn(c.ownerDocument.documentElement,c)){if(null!==d&&jj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Jn(c,f);var g=Jn(c, d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Jn=null,Kn=null,Ln=null,Mn=!1; -function Nn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Mn||null==Jn||Jn!==rc(d)||(d=Jn,"selectionStart"in d&&gj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Ln&&je(Ln,d)||(Ln=d,d=on(Kn,"onSelect"),0=document.documentMode,Mn=null,Nn=null,On=null,Pn=!1; +function Qn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Pn||null==Mn||Mn!==sc(d)||(d=Mn,"selectionStart"in d&&jj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),On&&ke(On,d)||(On=d,d=rn(Nn,"onSelect"),0 title"):null)} -function ql(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} -var Qk=null;function Rk(){} -function dk(a,b,c){if(null===Qk)throw Error(t(475));var d=Qk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=Io(c.href),f=a.querySelector(Ko(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Ro.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Rb(f);return}f=a.ownerDocument||a;c=Qo(c);(e=xo.get(e))&&Mo(c,e);f=f.createElement("link");Rb(f);var g=f;g._p=new Promise(function(h,k){g.onload=h; -g.onerror=k});Gi(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Ro.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} -function Sk(){if(null===Qk)throw Error(t(475));var a=Qk;a.stylesheets&&0===a.count&&So(a,a.stylesheets);return 0=p&&f>=w&&e<=q&&g<=r){a.splice(b,1);break}else if(!(d!==p||c.width!==k.width||rg)){w>f&&(k.height+=w-f,k.y=f);re)){p>d&&(k.width+=p-d,k.x=d);qc&&(c=h)),h ")+"\n\nNo matching component was found for:\n ")+a.join(" > ")}return null}; -exports.hydrate=function(a,b,c){if(!$o(b))throw Error(t(200));return cp(null,a,b,!0,c)}; -exports.hydrateRoot=function(a,b,c){if(!Zo(a))throw Error(t(405));var d=!1,e="",f=Wo,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.formState&&(h=c.formState));b=vl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Db]=b.current;Vo.current=Go;Ii(a);return new Yo(b)}; -exports.observeVisibleRects=function(a,b,c,d){a=vk(a,b);var e=wo(a,c,d).disconnect;return{disconnect:function(){e()}}};exports.preconnect=function(a,b){var c=ep.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=ep.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; -exports.preinit=function(a,b){var c=ep.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=dp(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; -exports.preinitModule=function(a,b){var c=ep.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=dp(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; -exports.preload=function(a,b){var c=ep.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=dp(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=ep.current;if(c&&"string"===typeof a)if(b){var d=dp(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!$o(b))throw Error(t(200));return cp(null,a,b,!1,c)}; -exports.unmountComponentAtNode=function(a){if(!$o(a))throw Error(t(40));return a._reactRootContainer?(Uk(function(){cp(null,null,a,!1,function(){a._reactRootContainer=null;a[Db]=null})}),!0):!1};exports.unstable_batchedUpdates=Tk;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!$o(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return cp(a,b,c,!1,d)};exports.unstable_runWithPriority=xb;exports.useFormState=ja;exports.useFormStatus=ia; -exports.version="18.3.0-experimental-09fbee89d-20231013"; +return a;default:return a}a=Fd(a);if(null===a)break}return null}function Dd(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Fd(a);if(null===a)return null}return a}function Bd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Fd(a){return Bd(a.nextSibling)} +function Gi(a,b,c,d,e){a[Cb]=e;a[Db]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e title"):null)} +function tl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} +var Tk=null;function Uk(){} +function gk(a,b,c){if(null===Tk)throw Error(t(475));var d=Tk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=Lo(c.href),f=a.querySelector(No(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Uo.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Sb(f);return}f=a.ownerDocument||a;c=To(c);(e=Ao.get(e))&&Po(c,e);f=f.createElement("link");Sb(f);var g=f;g._p=new Promise(function(h,k){g.onload=h; +g.onerror=k});Ji(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Uo.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} +function Vk(){if(null===Tk)throw Error(t(475));var a=Tk;a.stylesheets&&0===a.count&&Vo(a,a.stylesheets);return 0=p&&f>=w&&e<=q&&g<=r){a.splice(b,1);break}else if(!(d!==p||c.width!==k.width||rg)){w>f&&(k.height+=w-f,k.y=f);re)){p>d&&(k.width+=p-d,k.x=d);qc&&(c=h)),h ")+"\n\nNo matching component was found for:\n ")+a.join(" > ")}return null}; +exports.hydrate=function(a,b,c){if(!cp(b))throw Error(t(200));return fp(null,a,b,!0,c)}; +exports.hydrateRoot=function(a,b,c){if(!bp(a))throw Error(t(405));var d=!1,e="",f=Zo,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.formState&&(h=c.formState));b=yl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Eb]=b.current;Yo.current=Jo;Li(a);return new ap(b)}; +exports.observeVisibleRects=function(a,b,c,d){a=yk(a,b);var e=zo(a,c,d).disconnect;return{disconnect:function(){e()}}};exports.preconnect=function(a,b){var c=hp.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=hp.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; +exports.preinit=function(a,b){var c=hp.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=gp(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; +exports.preinitModule=function(a,b){var c=hp.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=gp(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; +exports.preload=function(a,b){var c=hp.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=gp(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== +typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=hp.current;if(c&&"string"===typeof a)if(b){var d=gp(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!cp(b))throw Error(t(200));return fp(null,a,b,!1,c)}; +exports.unmountComponentAtNode=function(a){if(!cp(a))throw Error(t(40));return a._reactRootContainer?(Xk(function(){fp(null,null,a,!1,function(){a._reactRootContainer=null;a[Eb]=null})}),!0):!1};exports.unstable_batchedUpdates=Wk;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!cp(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return fp(a,b,c,!1,d)};exports.unstable_runWithPriority=yb;exports.useFormState=ja;exports.useFormStatus=ia; +exports.version="18.3.0-experimental-a41957507-20231017"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js index 51f6ed7effa22..c3ace9f5a36f2 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js @@ -1071,6 +1071,7 @@ var SyncHydrationLane = var SyncLane = /* */ 2; +var SyncLaneIndex = 1; var InputContinuousHydrationLane = /* */ 4; @@ -1089,7 +1090,7 @@ var TransitionHydrationLane = 64; var TransitionLanes = /* */ -8388480; +4194176; var TransitionLane1 = /* */ 128; @@ -1135,39 +1136,39 @@ var TransitionLane14 = var TransitionLane15 = /* */ 2097152; -var TransitionLane16 = -/* */ -4194304; var RetryLanes = /* */ -125829120; +62914560; var RetryLane1 = /* */ -8388608; +4194304; var RetryLane2 = /* */ -16777216; +8388608; var RetryLane3 = /* */ -33554432; +16777216; var RetryLane4 = /* */ -67108864; +33554432; var SomeRetryLane = RetryLane1; var SelectiveHydrationLane = /* */ -134217728; +67108864; var NonIdleLanes = /* */ -268435455; +134217727; var IdleHydrationLane = /* */ -268435456; +134217728; var IdleLane = /* */ -536870912; +268435456; var OffscreenLane = /* */ +536870912; +var DeferredLane = +/* */ 1073741824; // Any lane that might schedule an update. This is used to detect infinite // update loops, so it doesn't include hydration lanes or retries. @@ -1227,6 +1228,10 @@ function getLabelForLane(lane) { if (lane & OffscreenLane) { return 'Offscreen'; } + + if (lane & DeferredLane) { + return 'Deferred'; + } } } var NoTimestamp = -1; @@ -1279,7 +1284,6 @@ function getHighestPriorityLanes(lanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return lanes & TransitionLanes; case RetryLane1: @@ -1300,6 +1304,11 @@ function getHighestPriorityLanes(lanes) { case OffscreenLane: return OffscreenLane; + case DeferredLane: + // This shouldn't be reachable because deferred work is always entangled + // with something else. + return NoLanes; + default: { error('Should have found matching lanes. This is a bug in React.'); @@ -1376,12 +1385,17 @@ function getNextLanes(root, wipLanes) { } } - if ((nextLanes & InputContinuousLane) !== NoLanes) { + return nextLanes; +} +function getEntangledLanes(root, renderLanes) { + var entangledLanes = renderLanes; + + if ((entangledLanes & InputContinuousLane) !== NoLanes) { // When updates are sync by default, we entangle continuous priority updates // and default updates, so they render in the same batch. The only reason // they use separate lanes is because continuous updates should interrupt // transitions, but default updates should not. - nextLanes |= pendingLanes & DefaultLane; + entangledLanes |= entangledLanes & DefaultLane; } // Check for entangled lanes and add them to the batch. // // A lane is said to be entangled with another when it's not allowed to render @@ -1406,21 +1420,21 @@ function getNextLanes(root, wipLanes) { // time we apply the entanglement. - var entangledLanes = root.entangledLanes; + var allEntangledLanes = root.entangledLanes; - if (entangledLanes !== NoLanes) { + if (allEntangledLanes !== NoLanes) { var entanglements = root.entanglements; - var lanes = nextLanes & entangledLanes; + var lanes = entangledLanes & allEntangledLanes; while (lanes > 0) { var index = pickArbitraryLaneIndex(lanes); var lane = 1 << index; - nextLanes |= entanglements[index]; + entangledLanes |= entanglements[index]; lanes &= ~lane; } } - return nextLanes; + return entangledLanes; } function computeExpirationTime(lane, currentTime) { @@ -1458,7 +1472,6 @@ function computeExpirationTime(lane, currentTime) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return currentTime + 5000; case RetryLane1: @@ -1476,6 +1489,7 @@ function computeExpirationTime(lane, currentTime) { case IdleHydrationLane: case IdleLane: case OffscreenLane: + case DeferredLane: // Anything idle priority or lower should never expire. return NoTimestamp; @@ -1498,6 +1512,7 @@ function markStarvedLanesAsExpired(root, currentTime) { var expirationTimes = root.expirationTimes; // Iterate through the pending lanes and check if we've reached their // expiration time. If so, we'll assume the update is being starved and mark // it as expired to force it to finish. + // TODO: We should be able to replace this with upgradePendingLanesToSync // // We exclude retry lanes because those must always be time sliced, in order // to unwrap uncached promises. @@ -1676,7 +1691,7 @@ function markRootUpdated(root, updateLane) { root.pingedLanes = NoLanes; } } -function markRootSuspended$1(root, suspendedLanes) { +function markRootSuspended$1(root, suspendedLanes, spawnedLane) { root.suspendedLanes |= suspendedLanes; root.pingedLanes &= ~suspendedLanes; // The suspended lanes are no longer CPU-bound. Clear their expiration times. @@ -1689,11 +1704,15 @@ function markRootSuspended$1(root, suspendedLanes) { expirationTimes[index] = NoTimestamp; lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); + } } function markRootPinged(root, pingedLanes) { root.pingedLanes |= root.suspendedLanes & pingedLanes; } -function markRootFinished(root, remainingLanes) { +function markRootFinished(root, remainingLanes, spawnedLane) { var noLongerPendingLanes = root.pendingLanes & ~remainingLanes; root.pendingLanes = remainingLanes; // Let's try everything again @@ -1733,7 +1752,28 @@ function markRootFinished(root, remainingLanes) { lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, // This render finished successfully without suspending, so we don't need + // to entangle the spawned task with the parent task. + NoLanes); + } +} + +function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { + // This render spawned a deferred task. Mark it as pending. + root.pendingLanes |= spawnedLane; + root.suspendedLanes &= ~spawnedLane; // Entangle the spawned lane with the DeferredLane bit so that we know it + // was the result of another render. This lets us avoid a useDeferredValue + // waterfall — only the first level will defer. + + var spawnedLaneIndex = laneToIndex(spawnedLane); + root.entangledLanes |= spawnedLane; + root.entanglements[spawnedLaneIndex] |= DeferredLane | // If the parent render task suspended, we must also entangle those lanes + // with the spawned task. + entangledLanes; } + function markRootEntangled(root, entangledLanes) { // In addition to entangling each of the given lanes with each other, we also // have to consider _transitive_ entanglements. For each lane that is already @@ -1763,6 +1803,29 @@ function markRootEntangled(root, entangledLanes) { lanes &= ~lane; } } +function upgradePendingLaneToSync(root, lane) { + // Since we're upgrading the priority of the given lane, there is now pending + // sync work. + root.pendingLanes |= SyncLane; // Entangle the sync lane with the lane we're upgrading. This means SyncLane + // will not be allowed to finish without also finishing the given lane. + + root.entangledLanes |= SyncLane; + root.entanglements[SyncLaneIndex] |= lane; +} +function upgradePendingLanesToSync(root, lanesToUpgrade) { + // Same as upgradePendingLaneToSync but accepts multiple lanes, so it's a + // bit slower. + root.pendingLanes |= SyncLane; + root.entangledLanes |= SyncLane; + var lanes = lanesToUpgrade; + + while (lanes) { + var index = pickArbitraryLaneIndex(lanes); + var lane = 1 << index; + root.entanglements[SyncLaneIndex] |= lane; + lanes &= ~lane; + } +} function markHiddenUpdate(root, update, lane) { var index = laneToIndex(lane); var hiddenUpdates = root.hiddenUpdates; @@ -1811,7 +1874,6 @@ function getBumpedLaneForHydration(root, renderLanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: case RetryLane1: case RetryLane2: case RetryLane3: @@ -2004,7 +2066,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2013,7 +2075,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2022,7 +2084,7 @@ function checkKeyStringCoercion(value) { function checkPropStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2031,7 +2093,7 @@ function checkPropStringCoercion(value, propName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2040,7 +2102,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2049,7 +2111,7 @@ function checkHtmlStringCoercion(value) { function checkFormFieldValueStringCoercion(value) { { if (willCoercionThrow(value)) { - error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + 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.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -9849,29 +9911,29 @@ function resetChildFibers(workInProgress, lanes) { // InvisibleParentContext that is currently managed by SuspenseContext. var currentTreeHiddenStackCursor = createCursor(null); -var prevRenderLanesStackCursor = createCursor(NoLanes); +var prevEntangledRenderLanesCursor = createCursor(NoLanes); function pushHiddenContext(fiber, context) { - var prevRenderLanes = getRenderLanes(); - push(prevRenderLanesStackCursor, prevRenderLanes, fiber); + var prevEntangledRenderLanes = getEntangledRenderLanes(); + push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber); push(currentTreeHiddenStackCursor, context, fiber); // When rendering a subtree that's currently hidden, we must include all // lanes that would have rendered if the hidden subtree hadn't been deferred. // That is, in order to reveal content from hidden -> visible, we must commit // all the updates that we skipped when we originally hid the tree. - setRenderLanes(mergeLanes(prevRenderLanes, context.baseLanes)); + setEntangledRenderLanes(mergeLanes(prevEntangledRenderLanes, context.baseLanes)); } function reuseHiddenContextOnStack(fiber) { // This subtree is not currently hidden, so we don't need to add any lanes // to the render lanes. But we still need to push something to avoid a // context mismatch. Reuse the existing context on the stack. - push(prevRenderLanesStackCursor, getRenderLanes(), fiber); + push(prevEntangledRenderLanesCursor, getEntangledRenderLanes(), fiber); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current, fiber); } function popHiddenContext(fiber) { // Restore the previous render lanes from the stack - setRenderLanes(prevRenderLanesStackCursor.current); + setEntangledRenderLanes(prevEntangledRenderLanesCursor.current); pop(currentTreeHiddenStackCursor, fiber); - pop(prevRenderLanesStackCursor, fiber); + pop(prevEntangledRenderLanesCursor, fiber); } function isCurrentTreeHidden() { return currentTreeHiddenStackCursor.current !== null; @@ -10233,7 +10295,10 @@ function processRootScheduleInMicrotask() { var next = root.next; if (currentEventTransitionLane !== NoLane && shouldAttemptEagerTransition()) { - markRootEntangled(root, mergeLanes(currentEventTransitionLane, SyncLane)); + // A transition was scheduled during an event, but we're going to try to + // render it synchronously anyway. We do this during a popstate event to + // preserve the scroll position of the previous page. + upgradePendingLaneToSync(root, currentEventTransitionLane); } var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); @@ -10639,7 +10704,7 @@ var didWarnAboutAsyncClientComponent; // These are set right before calling the component. -var renderLanes$1 = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from +var renderLanes = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from // the work-in-progress hook. var currentlyRenderingFiber$1 = null; // Hooks are stored as a linked list on the fiber's memoizedState field. The @@ -10833,7 +10898,7 @@ function areHookInputsEqual(nextDeps, prevDeps) { } function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) { - renderLanes$1 = nextRenderLanes; + renderLanes = nextRenderLanes; currentlyRenderingFiber$1 = workInProgress; { @@ -10939,7 +11004,7 @@ function finishRenderingHooks(current, workInProgress, Component) { // hookTypesDev could catch more cases (e.g. context) but only in DEV bundles. var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null; - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11137,7 +11202,7 @@ function resetHooksOnUnwind(workInProgress) { didScheduleRenderPhaseUpdate = false; } - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11450,7 +11515,7 @@ function updateReducerImpl(hook, current, reducer) { // it's not a "base" update and we should disregard the extra base lanes // that were added to renderLanes when we entered the Offscreen tree. - var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes$1, updateLane); + var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes, updateLane); if (shouldSkipUpdate) { // Priority is insufficient. Skip this update. If this is the first @@ -11505,7 +11570,7 @@ function updateReducerImpl(hook, current, reducer) { // sufficient, don't apply the update. Otherwise, apply the update, // but leave it in the queue so it can be either reverted or // rebased in a subsequent render. - if (isSubsetOfLanes(renderLanes$1, revertLane)) { + if (isSubsetOfLanes(renderLanes, revertLane)) { // The transition that this optimistic update is associated with // has finished. Pretend the update doesn't exist by skipping // over it. @@ -11691,7 +11756,9 @@ function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!includesBlockingLane(root, renderLanes$1)) { + var rootRenderLanes = getWorkInProgressRootRenderLanes(); + + if (!includesBlockingLane(root, rootRenderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } // Read the current snapshot from the store on every render. This breaks the @@ -11777,7 +11844,7 @@ function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!isHydrating && !includesBlockingLane(root, renderLanes$1)) { + if (!isHydrating && !includesBlockingLane(root, renderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } @@ -12475,7 +12542,7 @@ function updateDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); var resolvedCurrentHook = currentHook; var prevValue = resolvedCurrentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } function rerenderDeferredValue(value, initialValue) { @@ -12487,27 +12554,23 @@ function rerenderDeferredValue(value, initialValue) { } else { // This is a rerender during an update. var prevValue = currentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } } function mountDeferredValueImpl(hook, value, initialValue) { - if (initialValue !== undefined) { - // When `initialValue` is provided, we defer the initial render even if the - // current render is not synchronous. - // TODO: However, to avoid waterfalls, we should not defer if this render - // was itself spawned by an earlier useDeferredValue. Plan is to add a - // Deferred lane to track this. - hook.memoizedState = initialValue; // Schedule a deferred render - - var deferredLane = claimNextTransitionLane(); + if (// When `initialValue` is provided, we defer the initial render even if the + // current render is not synchronous. + initialValue !== undefined && // However, to avoid waterfalls, we do not defer if this render + // was itself spawned by an earlier useDeferredValue. Check if DeferredLane + // is part of the render lanes. + !includesSomeLane(renderLanes, DeferredLane)) { + // Render with the initial value + hook.memoizedState = initialValue; // Schedule a deferred render to switch to the final value. + + var deferredLane = requestDeferredLane(); currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); - markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent - // from the latest value. The name "baseState" doesn't really match how we - // use it because we're reusing a state hook field instead of creating a - // new one. - - hook.baseState = true; + markSkippedUpdateLanes(deferredLane); return initialValue; } else { hook.memoizedState = value; @@ -12516,44 +12579,46 @@ function mountDeferredValueImpl(hook, value, initialValue) { } function updateDeferredValueImpl(hook, prevValue, value, initialValue) { - // TODO: We should also check if this component is going from - // hidden -> visible. If so, it should use the initialValue arg. - var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes$1); - - if (shouldDeferValue) { - // This is an urgent update. If the value has changed, keep using the - // previous value and spawn a deferred render to update it later. - if (!objectIs(value, prevValue)) { - // Schedule a deferred render - var deferredLane = claimNextTransitionLane(); - currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); - markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent - // from the latest value. The name "baseState" doesn't really match how we - // use it because we're reusing a state hook field instead of creating a - // new one. + if (objectIs(value, prevValue)) { + // The incoming value is referentially identical to the currently rendered + // value, so we can bail out quickly. + return value; + } else { + // Received a new value that's different from the current value. + // Check if we're inside a hidden tree + if (isCurrentTreeHidden()) { + // Revealing a prerendered tree is considered the same as mounting new + // one, so we reuse the "mount" path in this case. + var resultValue = mountDeferredValueImpl(hook, value, initialValue); // Unlike during an actual mount, we need to mark this as an update if + // the value changed. + + if (!objectIs(resultValue, prevValue)) { + markWorkInProgressReceivedUpdate(); + } - hook.baseState = true; - } // Reuse the previous value + return resultValue; + } + var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes); - return prevValue; - } else { - // This is not an urgent update, so we can use the latest value regardless - // of what it is. No need to defer it. - // However, if we're currently inside a spawned render, then we need to mark - // this as an update to prevent the fiber from bailing out. - // - // `baseState` is true when the current value is different from the rendered - // value. The name doesn't really match how we use it because we're reusing - // a state hook field instead of creating a new one. - if (hook.baseState) { - // Flip this back to false. - hook.baseState = false; + if (shouldDeferValue) { + // This is an urgent update. Since the value has changed, keep using the + // previous value and spawn a deferred render to update it later. + // Schedule a deferred render + var deferredLane = requestDeferredLane(); + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); + markSkippedUpdateLanes(deferredLane); // Reuse the previous value. We do not need to mark this as an update, + // because we did not render a new value. + + return prevValue; + } else { + // This is not an urgent update, so we can use the latest value regardless + // of what it is. No need to defer it. + // Mark this as an update to prevent the fiber from bailing out. markWorkInProgressReceivedUpdate(); + hook.memoizedState = value; + return value; } - - hook.memoizedState = value; - return value; } } @@ -13481,7 +13546,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13945,7 +14010,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -24229,9 +24294,9 @@ var workInProgressRootDidAttachPingListener = false; // A contextual version of // HiddenContext module. // // Most things in the work loop should deal with workInProgressRootRenderLanes. -// Most things in begin/complete phases should deal with renderLanes. +// Most things in begin/complete phases should deal with entangledRenderLanes. -var renderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. +var entangledRenderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. var workInProgressRootExitStatus = RootInProgress; // A fatal error, if one is thrown @@ -24242,7 +24307,9 @@ var workInProgressRootSkippedLanes = NoLanes; // Lanes that were updated (in an var workInProgressRootInterleavedUpdatedLanes = NoLanes; // Lanes that were updated during the render phase (*not* an interleaved event). -var workInProgressRootPingedLanes = NoLanes; // Errors that are thrown during the render phase. +var workInProgressRootPingedLanes = NoLanes; // If this lane scheduled deferred work, this is the lane of the deferred task. + +var workInProgressDeferredLane = NoLane; // Errors that are thrown during the render phase. var workInProgressRootConcurrentErrors = null; // These are errors that we recovered from without surfacing them to the UI. // We will log them once the tree commits. @@ -24373,6 +24440,27 @@ function requestRetryLane(fiber) { return claimNextRetryLane(); } +function requestDeferredLane() { + if (workInProgressDeferredLane === NoLane) { + // If there are multiple useDeferredValue hooks in the same render, the + // tasks that they spawn should all be batched together, so they should all + // receive the same lane. + if (includesSomeLane(workInProgressRootRenderLanes, OffscreenLane)) { + // There's only one OffscreenLane, so if it contains deferred work, we + // should just reschedule using the same lane. + // TODO: We also use OffscreenLane for hydration, on the basis that the + // initial HTML is the same as the hydrated UI, but since the deferred + // task will change the UI, it should be treated like an update. Use + // TransitionHydrationLane to trigger selective hydration. + workInProgressDeferredLane = OffscreenLane; + } else { + // Everything else is spawned as a transition. + workInProgressDeferredLane = requestTransitionLane(); + } + } + + return workInProgressDeferredLane; +} function scheduleUpdateOnFiber(root, fiber, lane) { { if (isRunningInsertionEffect) { @@ -24394,7 +24482,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // The incoming update might unblock the current render. Interrupt the // current attempt and restart from the top. prepareFreshStack(root, NoLanes); - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } // Mark that the root has a pending update. @@ -24432,7 +24520,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // effect of interrupting the current render and switching to the update. // TODO: Make sure this doesn't override pings that happen while we've // already started rendering. - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } } @@ -24525,7 +24613,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); } else { // The render completed. // Check if this render may have yielded to a concurrent event, and if so, @@ -24561,7 +24649,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } // We now have a consistent tree. The next step is either to commit it, @@ -24675,7 +24763,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // This is a transition, so we should exit without committing a // placeholder and without scheduling a timeout. Delay indefinitely // until we receive more data. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); return; } // Commit the placeholder. @@ -24698,7 +24786,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { if (shouldForceFlushFallbacksInDEV()) { // We're inside an `act` scope. Commit immediately. - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); } else { if (includesOnlyRetries(lanes) && (alwaysThrottleRetries )) { // This render only included retries, no updates. Throttle committing @@ -24706,7 +24794,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1(); // Don't bother with a very short suspense time. if (msUntilTimeout > 10) { - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); var nextLanes = getNextLanes(root, NoLanes); if (nextLanes !== NoLanes) { @@ -24720,16 +24808,16 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // run one after the other. - root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes), msUntilTimeout); + root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane), msUntilTimeout); return; } } - commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes); + commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane); } } -function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes) { +function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. if (includesOnlyNonUrgentLanes(lanes)) { @@ -24754,13 +24842,13 @@ function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, // us that it's ready. This will be canceled if we start work on the // root again. root.cancelPendingCommit = schedulePendingCommit(commitRoot.bind(null, root, recoverableErrors, transitions)); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, spawnedLane); return; } } // Otherwise, commit immediately. - commitRoot(root, recoverableErrors, transitions); + commitRoot(root, recoverableErrors, transitions, spawnedLane); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -24826,14 +24914,14 @@ function isRenderConsistentWithExternalStores(finishedWork) { return true; } -function markRootSuspended(root, suspendedLanes) { +function markRootSuspended(root, suspendedLanes, spawnedLane) { // When suspending, we should always exclude lanes that were pinged or (more // rarely, since we try to avoid it) updated during the render phase. // TODO: Lol maybe there's a better way to factor this besides this // obnoxiously named function :) suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes); suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes); - markRootSuspended$1(root, suspendedLanes); + markRootSuspended$1(root, suspendedLanes, spawnedLane); } // This is the entry point for synchronous tasks that don't go // through Scheduler @@ -24879,7 +24967,7 @@ function performSyncWorkOnRoot(root, lanes) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } @@ -24888,7 +24976,7 @@ function performSyncWorkOnRoot(root, lanes) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); return null; } // We now have a consistent tree. Because this is a sync render, we @@ -24898,7 +24986,7 @@ function performSyncWorkOnRoot(root, lanes) { var finishedWork = root.current.alternate; root.finishedWork = finishedWork; root.finishedLanes = lanes; - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); // Before exiting, make sure there's a callback scheduled for the next + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); // Before exiting, make sure there's a callback scheduled for the next // pending level. ensureRootIsScheduled(root); @@ -24906,7 +24994,7 @@ function performSyncWorkOnRoot(root, lanes) { } function flushRoot(root, lanes) { if (lanes !== NoLanes) { - markRootEntangled(root, mergeLanes(lanes, SyncLane)); + upgradePendingLanesToSync(root, lanes); ensureRootIsScheduled(root); if ((executionContext & (RenderContext | CommitContext)) === NoContext) { @@ -24989,11 +25077,11 @@ function isInvalidExecutionContextForEventFunction() { // place that ever modifies it. Which module it lives in doesn't matter for // performance because this function will get inlined regardless -function setRenderLanes(subtreeRenderLanes) { - renderLanes = subtreeRenderLanes; +function setEntangledRenderLanes(newEntangledRenderLanes) { + entangledRenderLanes = newEntangledRenderLanes; } -function getRenderLanes() { - return renderLanes; +function getEntangledRenderLanes() { + return entangledRenderLanes; } function resetWorkInProgressStack() { @@ -25044,7 +25132,7 @@ function prepareFreshStack(root, lanes) { workInProgressRoot = root; var rootWorkInProgress = createWorkInProgress(root.current, null); workInProgress = rootWorkInProgress; - workInProgressRootRenderLanes = renderLanes = lanes; + workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; workInProgressRootDidAttachPingListener = false; @@ -25053,8 +25141,17 @@ function prepareFreshStack(root, lanes) { workInProgressRootSkippedLanes = NoLanes; workInProgressRootInterleavedUpdatedLanes = NoLanes; workInProgressRootPingedLanes = NoLanes; + workInProgressDeferredLane = NoLane; workInProgressRootConcurrentErrors = null; - workInProgressRootRecoverableErrors = null; + workInProgressRootRecoverableErrors = null; // Get the lanes that are entangled with whatever we're about to render. We + // track these separately so we can distinguish the priority of the render + // task from the priority of the lanes it is entangled with. For example, a + // transition may not be allowed to finish unless it includes the Sync lane, + // which is currently suspended. We should be able to render the Transition + // and Sync lane in the same batch, but at Transition priority, because the + // Sync lane already suspended. + + entangledRenderLanes = getEntangledLanes(root, lanes); finishQueueingConcurrentUpdates(); { @@ -25272,7 +25369,7 @@ function renderDidSuspendDelayIfPossible() { workInProgressRootExitStatus = RootSuspendedWithDelay; // Check if there are updates that we skipped tree that might have unblocked // this render. - if (workInProgressRoot !== null && (includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes))) { + if ((includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes)) && workInProgressRoot !== null) { // Mark the current render as suspended so that we switch to working on // the updates that were skipped. Usually we only suspend at the end of // the render phase. @@ -25282,8 +25379,7 @@ function renderDidSuspendDelayIfPossible() { // pinged or updated while we were rendering. // TODO: Consider unwinding immediately, using the // SuspendedOnHydration mechanism. - // $FlowFixMe[incompatible-call] need null check workInProgressRoot - markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes); + markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane); } } function renderDidError(error) { @@ -25716,10 +25812,10 @@ function performUnitOfWork(unitOfWork) { if ((unitOfWork.mode & ProfileMode) !== NoMode) { startProfilerTimer(unitOfWork); - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, true); } else { - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); } resetCurrentFiber(); @@ -25815,8 +25911,8 @@ function replaySuspendedUnitOfWork(unitOfWork) { // reconciled previously. So it's intentional that we don't call // resetSuspendedWorkLoopOnUnwind here. unwindInterruptedWork(current, unitOfWork); - unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, renderLanes); - next = beginWork(current, unitOfWork, renderLanes); + unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, entangledRenderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); break; } } @@ -25919,10 +26015,10 @@ function completeUnitOfWork(unitOfWork) { var next = void 0; if ((completedWork.mode & ProfileMode) === NoMode) { - next = completeWork(current, completedWork, renderLanes); + next = completeWork(current, completedWork, entangledRenderLanes); } else { startProfilerTimer(completedWork); - next = completeWork(current, completedWork, renderLanes); // Update render duration assuming we didn't error. + next = completeWork(current, completedWork, entangledRenderLanes); // Update render duration assuming we didn't error. stopProfilerTimerIfRunningAndRecordDelta(completedWork, false); } @@ -26027,7 +26123,7 @@ function unwindUnitOfWork(unitOfWork) { workInProgress = null; } -function commitRoot(root, recoverableErrors, transitions) { +function commitRoot(root, recoverableErrors, transitions, spawnedLane) { // TODO: This no longer makes any sense. We already wrap the mutation and // layout phases. Should be able to remove. var previousUpdateLanePriority = getCurrentUpdatePriority(); @@ -26036,7 +26132,7 @@ function commitRoot(root, recoverableErrors, transitions) { try { ReactCurrentBatchConfig$1.transition = null; setCurrentUpdatePriority(DiscreteEventPriority); - commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority); + commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority, spawnedLane); } finally { ReactCurrentBatchConfig$1.transition = prevTransition; setCurrentUpdatePriority(previousUpdateLanePriority); @@ -26045,7 +26141,7 @@ function commitRoot(root, recoverableErrors, transitions) { return null; } -function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) { +function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel, spawnedLane) { do { // `flushPassiveEffects` will call `flushSyncUpdateQueue` at the end, which // means `flushPassiveEffects` will sometimes result in additional @@ -26103,7 +26199,7 @@ function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLeve var concurrentlyUpdatedLanes = getConcurrentlyUpdatedLanes(); remainingLanes = mergeLanes(remainingLanes, concurrentlyUpdatedLanes); - markRootFinished(root, remainingLanes); + markRootFinished(root, remainingLanes, spawnedLane); if (root === workInProgressRoot) { // We can reset these now that they are finished. @@ -28162,7 +28258,7 @@ identifierPrefix, onRecoverableError, transitionCallbacks, formState) { return root; } -var ReactVersion = '18.3.0-experimental-09fbee89d-20231013'; +var ReactVersion = '18.3.0-experimental-a41957507-20231017'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js index c5487c5723492..9d0a8aa6ba55f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js @@ -17,417 +17,417 @@ var Ba=Symbol.for("react.offscreen"),Ca=Symbol.for("react.legacy_hidden"),Da=Sym var Ja=ma(null),Ka=ma(null),La=ma(null),Ma=ma(null),Na={$$typeof:ta,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Oa(a,b){E(La,b);E(Ka,a);E(Ja,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Pa(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Pa(a),b=Qa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ja);E(Ja,b)} function Ra(){D(Ja);D(Ka);D(La)}function Sa(a){null!==a.memoizedState&&E(Ma,a);var b=Ja.current;var c=Qa(b,a.type);b!==c&&(E(Ka,a),E(Ja,c))}function Ta(a){Ka.current===a&&(D(Ja),D(Ka));Ma.current===a&&(D(Ma),Na._currentValue=null)} var Ua=ba.unstable_scheduleCallback,Va=ba.unstable_cancelCallback,Wa=ba.unstable_shouldYield,Xa=ba.unstable_requestPaint,Ya=ba.unstable_now,Za=ba.unstable_getCurrentPriorityLevel,$a=ba.unstable_ImmediatePriority,ab=ba.unstable_UserBlockingPriority,bb=ba.unstable_NormalPriority,cb=ba.unstable_LowPriority,db=ba.unstable_IdlePriority,eb=null,fb=null;function gb(a){if(fb&&"function"===typeof fb.onCommitFiberRoot)try{fb.onCommitFiberRoot(eb,a,void 0,128===(a.current.flags&128))}catch(b){}} -var ib=Math.clz32?Math.clz32:hb,jb=Math.log,kb=Math.LN2;function hb(a){a>>>=0;return 0===a?32:31-(jb(a)/kb|0)|0}var lb=128,mb=8388608; -function nb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128: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:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456; -case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}} -function ob(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=nb(h):(f&=g,0!==f&&(d=nb(f)))}else g=c&~e,0!==g?d=nb(g):0!==f&&(d=nb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}function ub(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function vb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("")&&(p=p.replace("",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{fc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?ec(a):""} -function hc(a){switch(a.tag){case 26:case 27:case 5:return ec(a.type);case 16:return ec("Lazy");case 13:return ec("Suspense");case 19:return ec("SuspenseList");case 0:case 2:case 15:return a=gc(a.type,!1),a;case 11:return a=gc(a.type.render,!1),a;case 1:return a=gc(a.type,!0),a;default:return""}} -function ic(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:ic(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return ic(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} -function jc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ic(b);case 8:return b===qa?"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 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function kc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function lc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function mc(a){var b=lc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function nc(a){a._valueTracker||(a._valueTracker=mc(a))}function oc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=lc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function pc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var qc=/[\n"\\]/g; -function rc(a){return a.replace(qc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function sc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+kc(b)}else a.value!==""+kc(b)&&(a.value=""+kc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?tc(a,g,kc(b)):null!=c?tc(a,g,kc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== -typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+kc(h):a.removeAttribute("name")} -function uc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+kc(c):"";b=null!=b?""+kc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function tc(a,b,c){"number"===b&&pc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var vc=Array.isArray; -function wc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e>>=0;return 0===a?32:31-(jb(a)/kb|0)|0}var lb=128,mb=4194304; +function nb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456; +case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function ob(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes;a=a.pingedLanes;var f=c&134217727;0!==f?(c=f&~e,0!==c?d=nb(c):(a&=f,0!==a&&(d=nb(a)))):(c&=~e,0!==c?d=nb(c):0!==a&&(d=nb(a)));return 0===d?0:0!==b&&b!==d&&0===(b&e)&&(e=d&-d,a=b&-b,e>=a||32===e&&0!==(a&4194176))?b:d} +function pb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64: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 b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function qb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function rb(){var a=mb;mb<<=1;0===(mb&62914560)&&(mb=4194304);return a}function sb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function tb(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function ub(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("")&&(p=p.replace("",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{gc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?fc(a):""} +function ic(a){switch(a.tag){case 26:case 27:case 5:return fc(a.type);case 16:return fc("Lazy");case 13:return fc("Suspense");case 19:return fc("SuspenseList");case 0:case 2:case 15:return a=hc(a.type,!1),a;case 11:return a=hc(a.type.render,!1),a;case 1:return a=hc(a.type,!0),a;default:return""}} +function jc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:jc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return jc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} +function kc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return jc(b);case 8:return b===qa?"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 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function lc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function mc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function nc(a){var b=mc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function oc(a){a._valueTracker||(a._valueTracker=nc(a))}function pc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=mc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function qc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var rc=/[\n"\\]/g; +function sc(a){return a.replace(rc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function tc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+lc(b)}else a.value!==""+lc(b)&&(a.value=""+lc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?uc(a,g,lc(b)):null!=c?uc(a,g,lc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+lc(h):a.removeAttribute("name")} +function vc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+lc(c):"";b=null!=b?""+lc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function uc(a,b,c){"number"===b&&qc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var wc=Array.isArray; +function xc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e>=g;e-=g;ld=1<<32-ib(b)+e|c<H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== -I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);k=f(I,k,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&nd(m,H),x;if(null===y){for(;HH?(ha=y,y=null):ha=y.sibling;var Fb=r(m,y,I.value,v);if(null===Fb){null===y&&(y=ha);break}a&&y&&null===Fb.alternate&&b(m,y);k=f(Fb,k,H);null===A?x=Fb:A.sibling=Fb;A=Fb;y=ha}if(I.done)return c(m,y),K&&nd(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(k=f(I,k,H),null===A?x=I:A.sibling= -I,A=I);K&&nd(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),k=f(I,k,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(Mm){return b(m,Mm)});K&&nd(m,H);return x}function V(m,k,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var x=n.key,A=k;null!==A;){if(A.key===x){x=n.type;if(x===pa){if(7===A.tag){c(m,A.sibling); -k=e(A,n.props.children);k.return=m;m=k;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&ve(x)===A.type){c(m,A.sibling);k=e(A,n.props);k.ref=te(m,A,n);k.return=m;m=k;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===pa?(k=Be(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=ze(n.type,n.key,n.props,null,null,m.mode,v),v.ref=te(m,k,n),v.return=m,m=v)}return g(m);case oa:a:{for(A=n.key;null!==k;){if(k.key===A)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& -k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Ae(n,m.mode,v);k.return=m;m=k}return g(m);case za:return A=n._init,R(m,k,A(n._payload),v)}if(vc(n))return z(m,k,n,v);if(Ia(n))return C(m,k,n,v);if("function"===typeof n.then)return V(m,k,se(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return V(m,k,Ce(m,n,v),v);ue(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, -k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=ye(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function R(m,k,n,v){re=0;m=V(m,k,n,v);qe=null;return m}return R}var De=we(!0),Ee=we(!1),Fe=ma(null),Ge=ma(0);function He(a,b){a=Ie;E(Ge,a);E(Fe,b);Ie=a|b.baseLanes}function Je(){E(Ge,Ie);E(Fe,Fe.current)}function Ke(){Ie=Ge.current;D(Fe);D(Ge)}var Le=ma(null),Me=null;function Ne(a){var b=a.alternate;E(Oe,Oe.current&1);E(Le,a);null===Me&&(null===b||null!==Fe.current?Me=a:null!==b.memoizedState&&(Me=a))} -function Pe(a){if(22===a.tag){if(E(Oe,Oe.current),E(Le,a),null===Me){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Me=a)}}else Qe(a)}function Qe(){E(Oe,Oe.current);E(Le,Le.current)}function Re(a){D(Le);Me===a&&(Me=null);D(Oe)}var Oe=ma(0); -function Se(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Te=null,Ue=null,Ve=!1,We=!1,Xe=!1,Ye=0; -function Ze(a){a!==Ue&&null===a.next&&(null===Ue?Te=Ue=a:Ue=Ue.next=a);We=!0;Ve||(Ve=!0,$e(af))} -function bf(a){if(!Xe&&We){var b=null;Xe=!0;do{var c=!1;for(var d=Te;null!==d;){if(!a||0===d.tag){var e=M,f=ob(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!cf()){var g=df(e,f);if(0!==e.tag&&2===g){var h=f,l=qb(e,h);0!==l&&(f=l,g=ef(e,h,l))}if(1===g)throw h=ff,gf(e,0),hf(e,f),Ze(e),h;6===g?hf(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,jf(e,kf,lf))}Ze(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Xe=!1;if(null!==b){if(1f?f:8;var g=zf.transition;zf.transition={};Ng(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=uf(h,d);Og(a,b,l)}else{var p=xf(h,d);Og(a,b,p)}}catch(q){Og(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,zf.transition=g}} -function Pg(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ag,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Mg(a,f,b,fa,function(){return c(d)})}function Qg(){var a=Zf(Na);return null!==a?a:fa}function Rg(){return Wf().memoizedState} -function Sg(){return Wf().memoizedState}function Tg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Ug(d);a=$d(e);var f=ae(d,a,e);null!==f&&(ng(f,d,e),be(f,d,e));d=Vg();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function Wg(a,b,c){var d=Ug(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};rg(a)?Xg(b,c):(c=Sd(a,b,c,d),null!==c&&(ng(c,a,d),Yg(c,b,d)))} -function Og(a,b,c){var d=Ug(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(rg(a))Xg(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(dd(h,g)){Rd(a,b,e,0);null===N&&Pd();return}}catch(l){}finally{}c=Sd(a,b,e,d);null!==c&&(ng(c,a,d),Yg(c,b,d))}} -function Ng(a,b,c,d){d={lane:2,revertLane:qf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(rg(a)){if(b)throw Error(t(479));}else b=Sd(a,c,d,2),null!==b&&ng(b,a,2)}function rg(a){var b=a.alternate;return a===P||null!==b&&b===P}function Xg(a,b){Cf=Bf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Yg(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} -var Of={readContext:Zf,use:Yf,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Of.useCacheRefresh=T;Of.useMemoCache=T;Of.useEffectEvent=T;Of.useHostTransitionStatus=T;Of.useFormState=T;Of.useOptimistic=T; -var Kf={readContext:Zf,use:Yf,useCallback:function(a,b){Vf().memoizedState=[a,void 0===b?null:b];return a},useContext:Zf,useEffect:Ag,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;yg(4194308,4,Fg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return yg(4194308,4,a,b)},useInsertionEffect:function(a,b){yg(4,2,a,b)},useMemo:function(a,b){var c=Vf();b=void 0===b?null:b;Df&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Vf();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Wg.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Vf();a={current:a};return b.memoizedState=a},useState:function(a){a=og(a);var b=a.queue,c=Og.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Hg,useDeferredValue:function(a,b){var c=Vf();return Kg(c,a,b)},useTransition:function(){var a=og(!1);a=Mg.bind(null,P,a.queue,!0,!1); -Vf().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Vf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(Af&60)||kg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Ag(hg.bind(null,d,f,a),[a]);d.flags|=2048;ig(9,jg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Vf(),b=N.identifierPrefix;if(K){var c=md;var d=ld;c=(d&~(1<<32-ib(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Ef++;0>=g;e-=g;md=1<<32-ib(b)+e|c<H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== +I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);k=f(I,k,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&od(m,H),x;if(null===y){for(;HH?(ha=y,y=null):ha=y.sibling;var Gb=r(m,y,I.value,v);if(null===Gb){null===y&&(y=ha);break}a&&y&&null===Gb.alternate&&b(m,y);k=f(Gb,k,H);null===A?x=Gb:A.sibling=Gb;A=Gb;y=ha}if(I.done)return c(m,y),K&&od(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(k=f(I,k,H),null===A?x=I:A.sibling= +I,A=I);K&&od(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),k=f(I,k,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(Pm){return b(m,Pm)});K&&od(m,H);return x}function V(m,k,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var x=n.key,A=k;null!==A;){if(A.key===x){x=n.type;if(x===pa){if(7===A.tag){c(m,A.sibling); +k=e(A,n.props.children);k.return=m;m=k;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&we(x)===A.type){c(m,A.sibling);k=e(A,n.props);k.ref=ue(m,A,n);k.return=m;m=k;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===pa?(k=Ce(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=Ae(n.type,n.key,n.props,null,null,m.mode,v),v.ref=ue(m,k,n),v.return=m,m=v)}return g(m);case oa:a:{for(A=n.key;null!==k;){if(k.key===A)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& +k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Be(n,m.mode,v);k.return=m;m=k}return g(m);case za:return A=n._init,R(m,k,A(n._payload),v)}if(wc(n))return z(m,k,n,v);if(Ia(n))return C(m,k,n,v);if("function"===typeof n.then)return V(m,k,te(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return V(m,k,De(m,n,v),v);ve(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, +k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=ze(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function R(m,k,n,v){se=0;m=V(m,k,n,v);re=null;return m}return R}var Ee=xe(!0),Fe=xe(!1),Ge=ma(null),He=ma(0);function Ie(a,b){a=Je;E(He,a);E(Ge,b);Je=a|b.baseLanes}function Ke(){E(He,Je);E(Ge,Ge.current)}function Le(){Je=He.current;D(Ge);D(He)}var Me=ma(null),Ne=null;function Oe(a){var b=a.alternate;E(Pe,Pe.current&1);E(Me,a);null===Ne&&(null===b||null!==Ge.current?Ne=a:null!==b.memoizedState&&(Ne=a))} +function Qe(a){if(22===a.tag){if(E(Pe,Pe.current),E(Me,a),null===Ne){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Ne=a)}}else Re(a)}function Re(){E(Pe,Pe.current);E(Me,Me.current)}function Se(a){D(Me);Ne===a&&(Ne=null);D(Pe)}var Pe=ma(0); +function Te(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Ue=null,Ve=null,We=!1,Xe=!1,Ye=!1,Ze=0; +function $e(a){a!==Ve&&null===a.next&&(null===Ve?Ue=Ve=a:Ve=Ve.next=a);Xe=!0;We||(We=!0,af(bf))} +function cf(a){if(!Ye&&Xe){var b=null;Ye=!0;do{var c=!1;for(var d=Ue;null!==d;){if(!a||0===d.tag){var e=M,f=ob(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!df()){var g=ef(e,f);if(0!==e.tag&&2===g){var h=f,l=qb(e,h);0!==l&&(f=l,g=ff(e,h,l))}if(1===g)throw h=gf,hf(e,0),jf(e,f,0),$e(e),h;6===g?jf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,kf(e,lf,mf,nf))}$e(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Ye=!1;if(null!==b){if(1f?f:8;var g=Bf.transition;Bf.transition={};Qg(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=wf(h,d);Rg(a,b,l)}else{var p=zf(h,d);Rg(a,b,p)}}catch(q){Rg(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,Bf.transition=g}} +function Sg(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Pg(a,f,b,fa,function(){return c(d)})}function Tg(){var a=ag(Na);return null!==a?a:fa}function Ug(){return Yf().memoizedState} +function Vg(){return Yf().memoizedState}function Wg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Xg(d);a=ae(e);var f=be(d,a,e);null!==f&&(pg(f,d,e),ce(f,d,e));d=Yg();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function Zg(a,b,c){var d=Xg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};tg(a)?$g(b,c):(c=Td(a,b,c,d),null!==c&&(pg(c,a,d),ah(c,b,d)))} +function Rg(a,b,c){var d=Xg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(tg(a))$g(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(ed(h,g)){Sd(a,b,e,0);null===N&&Qd();return}}catch(l){}finally{}c=Td(a,b,e,d);null!==c&&(pg(c,a,d),ah(c,b,d))}} +function Qg(a,b,c,d){d={lane:2,revertLane:sf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(tg(a)){if(b)throw Error(t(479));}else b=Td(a,c,d,2),null!==b&&pg(b,a,2)}function tg(a){var b=a.alternate;return a===P||null!==b&&b===P}function $g(a,b){Ef=Df=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function ah(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} +var Qf={readContext:ag,use:$f,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Qf.useCacheRefresh=T;Qf.useMemoCache=T;Qf.useEffectEvent=T;Qf.useHostTransitionStatus=T;Qf.useFormState=T;Qf.useOptimistic=T; +var Mf={readContext:ag,use:$f,useCallback:function(a,b){Xf().memoizedState=[a,void 0===b?null:b];return a},useContext:ag,useEffect:Cg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Ag(4194308,4,Hg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ag(4194308,4,a,b)},useInsertionEffect:function(a,b){Ag(4,2,a,b)},useMemo:function(a,b){var c=Xf();b=void 0===b?null:b;Ff&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Xf();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Zg.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Xf();a={current:a};return b.memoizedState=a},useState:function(a){a=qg(a);var b=a.queue,c=Rg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Jg,useDeferredValue:function(a,b){var c=Xf();return Mg(c,a,b)},useTransition:function(){var a=qg(!1);a=Pg.bind(null,P,a.queue,!0,!1); +Xf().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Xf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(M&60)||mg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Cg(jg.bind(null,d,f,a),[a]);d.flags|=2048;kg(9,lg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Xf(),b=N.identifierPrefix;if(K){var c=nd;var d=md;c=(d&~(1<<32-ib(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Gf++;0\x3c/script>";a=a.removeChild(a.firstChild);break;case "select":a="string"===typeof d.is?e.createElement("select",{is:d.is}):e.createElement("select");d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a="string"===typeof d.is?e.createElement(c,{is:d.is}): -e.createElement(c)}}a[Bb]=b;a[Cb]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Ei(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&ti(b)}null!==b.ref&& -ui(b)}U(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&ti(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=La.current;if(Hd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Bb]=b;if(d=a.nodeValue!==c)if(e=G,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Fi(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Fi(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&ti(b)}else a=Di(a).createTextNode(d), -a[Bb]=b,b.stateNode=a}U(b);return null;case 13:Re(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Jd(),Kd(),b.flags|=384,e=!1;else if(e=Hd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[Bb]=b}else Kd(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;U(b);e=!1}else null!==rd&&(Ai(rd),rd=null),e=!0;if(!e)return b.flags& -256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);xi(b,b.updateQueue);U(b);return null;case 4:return Ra(),null===a&&Gi(b.stateNode.containerInfo), -U(b),null;case 10:return ki(b.type._context),U(b),null;case 17:return Xc(b.type)&&Yc(),U(b),null;case 19:D(Oe);e=b.memoizedState;if(null===e)return U(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)yi(e,!1);else{if(0!==rh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Se(a);if(null!==f){b.flags|=128;yi(e,!1);a=f.updateQueue;b.updateQueue=a;xi(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Hi(c,a),c=c.sibling;E(Oe,Oe.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Ya()> -Ii&&(b.flags|=128,d=!0,yi(e,!1),b.lanes=8388608)}else{if(!d)if(a=Se(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,xi(b,a),yi(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Ya()-e.renderingStartTime>Ii&&1073741824!==c&&(b.flags|=128,d=!0,yi(e,!1),b.lanes=8388608);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime= -Ya(),b.sibling=null,a=Oe.current,E(Oe,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Re(b),Ke(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&1073741824)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&xi(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& -(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(si),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),ki(Jh),U(b),null;case 25:return null}throw Error(t(156,b.tag));} -function Ji(a,b){qd(b);switch(b.tag){case 1:return Xc(b.type)&&Yc(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return ki(Jh),Ra(),D(Uc),D(Tc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ta(b),null;case 13:Re(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Kd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Oe),null;case 4:return Ra(),null;case 10:return ki(b.type._context), -null;case 22:case 23:return Re(b),Ke(),null!==a&&D(si),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return ki(Jh),null;case 25:return null;default:return null}} -function Ki(a,b){qd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&Yc();break;case 3:ki(Jh);Ra();D(Uc);D(Tc);break;case 26:case 27:case 5:Ta(b);break;case 4:Ra();break;case 13:Re(b);break;case 19:D(Oe);break;case 10:ki(b.type._context);break;case 22:case 23:Re(b);Ke();null!==a&&D(si);break;case 24:ki(Jh)}}function Li(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} -var Mi=!1,Ni=null,Oi=!1,Pi=null,Qi={onError:function(a){Mi=!0;Ni=a}};function Ri(a,b,c,d,e,f,g,h,l){Mi=!1;Ni=null;Li.apply(Qi,arguments)}function Si(a,b,c,d,e,f,g,h,l){Ri.apply(this,arguments);if(Mi){if(Mi){var p=Ni;Mi=!1;Ni=null}else throw Error(t(198));Oi||(Oi=!0,Pi=p)}}var Ti=!1,Ui=!1,Vi="function"===typeof WeakSet?WeakSet:Set,Wi=null; -function Xi(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function Yi(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} -function Zi(a,b,c){try{c()}catch(d){W(a,b,d)}}var $i=!1; -function aj(a,b){bj=cj;a=dj();if(ej(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(l=g+d);3===w.nodeType&&(g+= -w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;fj={focusedElem:a,selectionRange:c};cj=!1;for(Wi=b;null!==Wi;)if(b=Wi,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Wi=a;else for(;null!==Wi;){b=Wi;try{var z=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var V= -b.updateQueue,R=null!==V?V.events:null;if(null!==R)for(a=0;a title"));Ei(e,c,d);e[Bb]=a;Rb(e);c=e;break a;case "link":var f=Jj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g +Li&&(b.flags|=128,d=!0,Bi(e,!1),b.lanes=4194304)}else{if(!d)if(a=Te(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,Ai(b,a),Bi(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Ya()-e.renderingStartTime>Li&&536870912!==c&&(b.flags|=128,d=!0,Bi(e,!1),b.lanes=4194304);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Ya(), +b.sibling=null,a=Pe.current,E(Pe,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Se(b),Le(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&536870912)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&Ai(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& +(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(vi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),ni(Mh),U(b),null;case 25:return null}throw Error(t(156,b.tag));} +function Mi(a,b){rd(b);switch(b.tag){case 1:return Yc(b.type)&&Zc(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return ni(Mh),Ra(),D(Vc),D(Uc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ta(b),null;case 13:Se(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Ld()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Pe),null;case 4:return Ra(),null;case 10:return ni(b.type._context), +null;case 22:case 23:return Se(b),Le(),null!==a&&D(vi),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return ni(Mh),null;case 25:return null;default:return null}} +function Ni(a,b){rd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&Zc();break;case 3:ni(Mh);Ra();D(Vc);D(Uc);break;case 26:case 27:case 5:Ta(b);break;case 4:Ra();break;case 13:Se(b);break;case 19:D(Pe);break;case 10:ni(b.type._context);break;case 22:case 23:Se(b);Le();null!==a&&D(vi);break;case 24:ni(Mh)}}function Oi(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} +var Pi=!1,Qi=null,Ri=!1,Si=null,Ti={onError:function(a){Pi=!0;Qi=a}};function Ui(a,b,c,d,e,f,g,h,l){Pi=!1;Qi=null;Oi.apply(Ti,arguments)}function Vi(a,b,c,d,e,f,g,h,l){Ui.apply(this,arguments);if(Pi){if(Pi){var p=Qi;Pi=!1;Qi=null}else throw Error(t(198));Ri||(Ri=!0,Si=p)}}var Wi=!1,Xi=!1,Yi="function"===typeof WeakSet?WeakSet:Set,Zi=null; +function $i(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function aj(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} +function bj(a,b,c){try{c()}catch(d){W(a,b,d)}}var cj=!1; +function dj(a,b){ej=fj;a=gj();if(hj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(l=g+d);3===w.nodeType&&(g+= +w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;ij={focusedElem:a,selectionRange:c};fj=!1;for(Zi=b;null!==Zi;)if(b=Zi,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Zi=a;else for(;null!==Zi;){b=Zi;try{var z=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var V= +b.updateQueue,R=null!==V?V.events:null;if(null!==R)for(a=0;a title"));Hi(e,c,d);e[Cb]=a;Sb(e);c=e;break a;case "link":var f=Mj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;gc?32:c;c=mk.transition;var e=F;try{mk.transition=null;F=d;if(null===tk)var f=!1;else{d=wk;wk=null;var g=tk,h=uk;tk=null;uk=0;if(0!==(L&6))throw Error(t(331));var l=L;L|=4;fk(g.current);Vj(g,g.current,h,d);L=l;bf(!1);if(fb&&"function"===typeof fb.onPostCommitFiberRoot)try{fb.onPostCommitFiberRoot(eb,g)}catch(p){}f=!0}return f}finally{F=e,mk.transition=c,Wk(a,b)}}return!1} -function Xk(a,b,c){b=fh(c,b);b=ih(a,b,2);a=ae(a,b,2);null!==a&&(ub(a,2),Ze(a))}function W(a,b,c){if(3===a.tag)Xk(a,a,c);else for(;null!==b;){if(3===b.tag){Xk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===mh||!mh.has(d))){a=fh(c,a);a=lh(b,a,2);b=ae(b,a,2);null!==b&&(ub(b,2),Ze(b));break}}b=b.return}} -function sh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new ik;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(ok=!0,e.add(c),a=Yk.bind(null,a,b,c),b.then(a,a))}function Yk(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===rh||3===rh&&(M&125829120)===M&&300>Ya()-Pj?0===(L&2)&&gf(a,0):qk|=c);Ze(a)}function Zk(a,b){0===b&&(b=0===(a.mode&1)?2:sb());a=Ud(a,b);null!==a&&(ub(a,b),Ze(a))} -function Zh(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Zk(a,c)}function Ej(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);Zk(a,c)}var Sk; -Sk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Uc.current)dg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return dg=!1,di(a,b,c);dg=0!==(a.flags&131072)?!0:!1}else dg=!1,K&&0!==(b.flags&1048576)&&od(b,hd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Mh(a,b);a=b.pendingProps;var e=Wc(b,Tc.current);yh(b,c);e=Jf(null,b,d,a,e,c);var f=Sf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= -null,Xc(d)?(f=!0,ad(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,Yd(b),e.updater=ah,b.stateNode=e,e._reactInternals=b,eh(b,d,a,c),b=Nh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&pd(b),wh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Mh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=$k(d);a=Zg(d,a);switch(e){case 0:b=Dh(null,b,d,a,c);break a;case 1:b=Lh(null,b,d,a,c);break a;case 11:b=xh(null,b,d,a,c);break a;case 14:b=Ah(null,b,d,Zg(d.type,a),c);break a}throw Error(t(306, -d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Zg(d,e),Dh(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Zg(d,e),Lh(a,b,d,e,c);case 3:a:{Oh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;Zd(a,b);de(b,e,null,c);var g=b.memoizedState;e=g.cache;ei(b,Jh,e);e!==f.cache&&li(b,Jh,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= -fh(Error(t(423)),b);b=Ph(a,b,e,c,d);break a}else if(e!==d){d=fh(Error(t(424)),b);b=Ph(a,b,e,c,d);break a}else for(J=yd(b.stateNode.containerInfo.firstChild),G=b,K=!0,rd=null,sd=!0,c=Ee(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Kd();if(e===d){b=zh(a,b,c);break a}wh(a,b,e,c)}b=b.child}return b;case 26:return Fh(a,b),c=b.memoizedState=al(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Di(La.current).createElement(c),d[Bb]= -b,d[Cb]=a,Ei(d,c,a),Rb(d),b.stateNode=d),null;case 27:return Sa(b),null===a&&K&&(d=b.stateNode=Ci(b.type,b.pendingProps,La.current),G=b,sd=!0,J=yd(d.firstChild)),d=b.pendingProps.children,null!==a||K?wh(a,b,d,c):b.child=De(b,null,d,c),Fh(a,b),b.child;case 5:return Sa(b),null===a&&K&&((e=d=J,e)?wd(b,e)||(Dd(b)&&Ed(),J=Cd(e),f=G,J&&wd(b,J)?td(f,e):(vd(G,b),K=!1,G=b,J=d)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Id(e,f)?d=null:null!== -g&&Id(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Jf(a,b,Qf,null,null,c),Na._currentValue=e,dg&&null!==a&&a.memoizedState.memoizedState!==e&&li(b,Na,c)),Fh(a,b),wh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?zd(b,a)||(Dd(b)&&Ed(),J=Cd(a),d=G,J&&zd(b,J)?td(d,a):(vd(G,b),K=!1,G=b,J=c)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=c)),null;case 13:return Th(a,b,c);case 4:return Oa(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=De(b,null,d,c):wh(a,b,d,c),b.child; -case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Zg(d,e),xh(a,b,d,e,c);case 7:return wh(a,b,b.pendingProps,c),b.child;case 8:return wh(a,b,b.pendingProps.children,c),b.child;case 12:return wh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;ei(b,d,g);if(null!==f)if(dd(f.value,g)){if(f.children===e.children&&!Uc.current){b=zh(a,b,c);break a}}else li(b,d,c);wh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= -b.pendingProps.children,yh(b,c),e=Zf(e),d=d(e),b.flags|=1,wh(a,b,d,c),b.child;case 14:return d=b.type,e=Zg(d,b.pendingProps),e=Zg(d.type,e),Ah(a,b,d,e,c);case 15:return Ch(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Zg(d,e),Mh(a,b),b.tag=1,Xc(d)?(a=!0,ad(b)):a=!1,yh(b,c),ch(b,d,e),eh(b,d,e,c),Nh(null,b,d,!0,a,c);case 19:return ci(a,b,c);case 22:return Eh(a,b,c);case 24:return yh(b,c),d=Zf(Jh),null===a?(e=Ih(),null===e&&(e=N,f=Vg(),e.pooledCache=f,f.refCount++, -null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},Yd(b),ei(b,Jh,e)):(0!==(a.lanes&c)&&(Zd(a,b),de(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),ei(b,Jh,d)):(d=f.cache,ei(b,Jh,d),d!==e.cache&&li(b,Jh,c))),wh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function Uk(a,b){return Ua(a,b)} -function bl(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function ud(a,b,c,d){return new bl(a,b,c,d)}function Bh(a){a=a.prototype;return!(!a||!a.isReactComponent)} -function $k(a){if("function"===typeof a)return Bh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===va)return 11;if(a===ya)return 14}return 2} -function xe(a,b){var c=a.alternate;null===c?(c=ud(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; +b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Gj(a,d))));break;case 19:Ij(b,a);Lj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Gj(a,c)));break;case 21:break;default:Ij(b,a),Lj(a)}} +function Lj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(uj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=vj(a);yj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Ac(g,""),d.flags&=-33);var h=vj(a);yj(a,h,g);break;case 3:case 4:var l=d.stateNode.containerInfo,p=vj(a);wj(a,p,l);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} +function qj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)pj(a,b.alternate,b),b=b.sibling} +function Tj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:kj(4,b,b.return);Tj(b);break;case 1:aj(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}Tj(b);break;case 26:case 27:case 5:aj(b,b.return);Tj(b);break;case 22:aj(b,b.return);null===b.memoizedState&&Tj(b);break;default:Tj(b)}a=a.sibling}} +function sj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:sj(e,f,c);mj(f,4);break;case 1:sj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(l){W(f,f.return,l)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;dc?32:c;c=pk.transition;var e=F;try{pk.transition=null;F=d;if(null===wk)var f=!1;else{d=zk;zk=null;var g=wk,h=xk;wk=null;xk=0;if(0!==(L&6))throw Error(t(331));var l=L;L|=4;ik(g.current);Yj(g,g.current,h,d);L=l;cf(!1);if(fb&&"function"===typeof fb.onPostCommitFiberRoot)try{fb.onPostCommitFiberRoot(eb,g)}catch(p){}f=!0}return f}finally{F=e,pk.transition=c,Zk(a,b)}}return!1} +function $k(a,b,c){b=ih(c,b);b=lh(a,b,2);a=be(a,b,2);null!==a&&(tb(a,2),$e(a))}function W(a,b,c){if(3===a.tag)$k(a,a,c);else for(;null!==b;){if(3===b.tag){$k(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===ph||!ph.has(d))){a=ih(c,a);a=oh(b,a,2);b=be(b,a,2);null!==b&&(tb(b,2),$e(b));break}}b=b.return}} +function vh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new lk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(rk=!0,e.add(c),a=al.bind(null,a,b,c),b.then(a,a))}function al(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===uh||3===uh&&(M&62914560)===M&&300>Ya()-Sj?0===(L&2)&&hf(a,0):tk|=c);$e(a)}function bl(a,b){0===b&&(b=0===(a.mode&1)?2:rb());a=Vd(a,b);null!==a&&(tb(a,b),$e(a))} +function bi(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);bl(a,c)}function Hj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);bl(a,c)}var Vk; +Vk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Vc.current)fg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return fg=!1,gi(a,b,c);fg=0!==(a.flags&131072)?!0:!1}else fg=!1,K&&0!==(b.flags&1048576)&&pd(b,id,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Ph(a,b);a=b.pendingProps;var e=Xc(b,Uc.current);Bh(b,c);e=Lf(null,b,d,a,e,c);var f=Uf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= +null,Yc(d)?(f=!0,bd(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,Zd(b),e.updater=dh,b.stateNode=e,e._reactInternals=b,hh(b,d,a,c),b=Qh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&qd(b),zh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Ph(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=cl(d);a=bh(d,a);switch(e){case 0:b=Gh(null,b,d,a,c);break a;case 1:b=Oh(null,b,d,a,c);break a;case 11:b=Ah(null,b,d,a,c);break a;case 14:b=Dh(null,b,d,bh(d.type,a),c);break a}throw Error(t(306, +d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Gh(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Oh(a,b,d,e,c);case 3:a:{Rh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;$d(a,b);ee(b,e,null,c);var g=b.memoizedState;e=g.cache;hi(b,Mh,e);e!==f.cache&&oi(b,Mh,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= +ih(Error(t(423)),b);b=Sh(a,b,e,c,d);break a}else if(e!==d){d=ih(Error(t(424)),b);b=Sh(a,b,e,c,d);break a}else for(J=zd(b.stateNode.containerInfo.firstChild),G=b,K=!0,sd=null,td=!0,c=Fe(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ld();if(e===d){b=Ch(a,b,c);break a}zh(a,b,e,c)}b=b.child}return b;case 26:return Ih(a,b),c=b.memoizedState=dl(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Gi(La.current).createElement(c),d[Cb]= +b,d[Db]=a,Hi(d,c,a),Sb(d),b.stateNode=d),null;case 27:return Sa(b),null===a&&K&&(d=b.stateNode=Fi(b.type,b.pendingProps,La.current),G=b,td=!0,J=zd(d.firstChild)),d=b.pendingProps.children,null!==a||K?zh(a,b,d,c):b.child=Ee(b,null,d,c),Ih(a,b),b.child;case 5:return Sa(b),null===a&&K&&((e=d=J,e)?xd(b,e)||(Ed(b)&&Fd(),J=Dd(e),f=G,J&&xd(b,J)?ud(f,e):(wd(G,b),K=!1,G=b,J=d)):(Ed(b)&&Fd(),wd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Jd(e,f)?d=null:null!== +g&&Jd(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Lf(a,b,Sf,null,null,c),Na._currentValue=e,fg&&null!==a&&a.memoizedState.memoizedState!==e&&oi(b,Na,c)),Ih(a,b),zh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?Ad(b,a)||(Ed(b)&&Fd(),J=Dd(a),d=G,J&&Ad(b,J)?ud(d,a):(wd(G,b),K=!1,G=b,J=c)):(Ed(b)&&Fd(),wd(G,b),K=!1,G=b,J=c)),null;case 13:return Wh(a,b,c);case 4:return Oa(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ee(b,null,d,c):zh(a,b,d,c),b.child; +case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Ah(a,b,d,e,c);case 7:return zh(a,b,b.pendingProps,c),b.child;case 8:return zh(a,b,b.pendingProps.children,c),b.child;case 12:return zh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;hi(b,d,g);if(null!==f)if(ed(f.value,g)){if(f.children===e.children&&!Vc.current){b=Ch(a,b,c);break a}}else oi(b,d,c);zh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= +b.pendingProps.children,Bh(b,c),e=ag(e),d=d(e),b.flags|=1,zh(a,b,d,c),b.child;case 14:return d=b.type,e=bh(d,b.pendingProps),e=bh(d.type,e),Dh(a,b,d,e,c);case 15:return Fh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Ph(a,b),b.tag=1,Yc(d)?(a=!0,bd(b)):a=!1,Bh(b,c),fh(b,d,e),hh(b,d,e,c),Qh(null,b,d,!0,a,c);case 19:return fi(a,b,c);case 22:return Hh(a,b,c);case 24:return Bh(b,c),d=ag(Mh),null===a?(e=Lh(),null===e&&(e=N,f=Yg(),e.pooledCache=f,f.refCount++, +null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},Zd(b),hi(b,Mh,e)):(0!==(a.lanes&c)&&($d(a,b),ee(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),hi(b,Mh,d)):(d=f.cache,hi(b,Mh,d),d!==e.cache&&oi(b,Mh,c))),zh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function Xk(a,b){return Ua(a,b)} +function el(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function vd(a,b,c,d){return new el(a,b,c,d)}function Eh(a){a=a.prototype;return!(!a||!a.isReactComponent)} +function cl(a){if("function"===typeof a)return Eh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===va)return 11;if(a===ya)return 14}return 2} +function ye(a,b){var c=a.alternate;null===c?(c=vd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.refCleanup=a.refCleanup;return c} -function Hi(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); +function Ki(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); return a} -function ze(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Bh(a)&&(e=1);else if("string"===typeof a)e=cl(a,c,Ja.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case pa:return Be(c.children,f,g,b);case qa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case ra:return a=ud(12,c,b,f|2),a.elementType=ra,a.lanes=g,a;case wa:return a=ud(13,c,b,f),a.elementType=wa,a.lanes=g,a;case xa:return a=ud(19,c,b,f),a.elementType=xa,a.lanes=g,a;case Ba:return Xh(c,f,g,b);case Ca:case Aa:case Da:return a=ud(24, -c,b,f),a.elementType=Da,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case sa:e=10;break a;case ta:e=9;break a;case va:e=11;break a;case ya:e=14;break a;case za:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=ud(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Be(a,b,c,d){a=ud(7,a,d,b);a.lanes=c;return a} -function Xh(a,b,c,d){a=ud(22,a,d,b);a.elementType=Ba;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Ud(f,2);null!==g&&(e._pendingVisibility|=2,ng(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Ud(f,2);null!==g&&(e._pendingVisibility&=-3,ng(g,f,2))}}}; -a.stateNode=e;return a}function ye(a,b,c){a=ud(6,a,null,b);a.lanes=c;return a}function Ae(a,b,c){b=ud(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} -function dl(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=tb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=tb(0);this.hiddenUpdates= -tb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function el(a,b,c,d,e,f,g,h,l,p,q){a=new dl(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=ud(3,null,null,b);a.current=f;f.stateNode=a;b=Vg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};Yd(f);return a} -function fl(a,b,c){var d=3=Nm),Qm=String.fromCharCode(32),Rm=!1;function Sm(a,b){switch(a){case "keyup":return-1!==Km.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Tm(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Um=!1; -function Vm(a,b){switch(a){case "compositionend":return Tm(b);case "keypress":if(32!==b.which)return null;Rm=!0;return Qm;case "textInput":return a=b.data,a===Qm&&Rm?null:a;default:return null}} -function Wm(a,b){if(Um)return"compositionend"===a||!Lm&&Sm(a,b)?(a=Jm(),Im=Hm=Gm=null,Um=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=rn(c)}}function tn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?tn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} -function dj(){for(var a=window,b=pc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=pc(a.document)}return b}function ej(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} -function Vk(a){var b=dj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&tn(c.ownerDocument.documentElement,c)){if(null!==d&&ej(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=sn(c,f);var g=sn(c, +function Ae(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Eh(a)&&(e=1);else if("string"===typeof a)e=fl(a,c,Ja.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case pa:return Ce(c.children,f,g,b);case qa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case ra:return a=vd(12,c,b,f|2),a.elementType=ra,a.lanes=g,a;case wa:return a=vd(13,c,b,f),a.elementType=wa,a.lanes=g,a;case xa:return a=vd(19,c,b,f),a.elementType=xa,a.lanes=g,a;case Ba:return $h(c,f,g,b);case Ca:case Aa:case Da:return a=vd(24, +c,b,f),a.elementType=Da,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case sa:e=10;break a;case ta:e=9;break a;case va:e=11;break a;case ya:e=14;break a;case za:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=vd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Ce(a,b,c,d){a=vd(7,a,d,b);a.lanes=c;return a} +function $h(a,b,c,d){a=vd(22,a,d,b);a.elementType=Ba;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Vd(f,2);null!==g&&(e._pendingVisibility|=2,pg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Vd(f,2);null!==g&&(e._pendingVisibility&=-3,pg(g,f,2))}}}; +a.stateNode=e;return a}function ze(a,b,c){a=vd(6,a,null,b);a.lanes=c;return a}function Be(a,b,c){b=vd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} +function gl(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=sb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=sb(0);this.hiddenUpdates= +sb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function hl(a,b,c,d,e,f,g,h,l,p,q){a=new gl(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=vd(3,null,null,b);a.current=f;f.stateNode=a;b=Yg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};Zd(f);return a} +function il(a,b,c){var d=3=Qm),Tm=String.fromCharCode(32),Um=!1;function Vm(a,b){switch(a){case "keyup":return-1!==Nm.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Wm(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Xm=!1; +function Ym(a,b){switch(a){case "compositionend":return Wm(b);case "keypress":if(32!==b.which)return null;Um=!0;return Tm;case "textInput":return a=b.data,a===Tm&&Um?null:a;default:return null}} +function Zm(a,b){if(Xm)return"compositionend"===a||!Om&&Vm(a,b)?(a=Mm(),Lm=Km=Jm=null,Xm=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=un(c)}}function wn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} +function gj(){for(var a=window,b=qc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=qc(a.document)}return b}function hj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} +function Yk(a){var b=gj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&wn(c.ownerDocument.documentElement,c)){if(null!==d&&hj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=vn(c,f);var g=vn(c, d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,vn=null,wn=null,xn=null,yn=!1; -function zn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;yn||null==vn||vn!==pc(d)||(d=vn,"selectionStart"in d&&ej(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),xn&&he(xn,d)||(xn=d,d=$m(wn,"onSelect"),0=document.documentMode,yn=null,zn=null,An=null,Bn=!1; +function Cn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Bn||null==yn||yn!==qc(d)||(d=yn,"selectionStart"in d&&hj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),An&&ie(An,d)||(An=d,d=cn(zn,"onSelect"),0 title"):null)} -function cl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} -var Ck=null;function Dk(){} -function bk(a,b,c){if(null===Ck)throw Error(t(475));var d=Ck;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=ro(c.href),f=a.querySelector(to(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Ao.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Rb(f);return}f=a.ownerDocument||a;c=zo(c);(e=go.get(e))&&vo(c,e);f=f.createElement("link");Rb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; -g.onerror=l});Ei(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Ao.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} -function Ek(){if(null===Ck)throw Error(t(475));var a=Ck;a.stylesheets&&0===a.count&&Bo(a,a.stylesheets);return 0 title"):null)} +function fl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} +var Fk=null;function Gk(){} +function ek(a,b,c){if(null===Fk)throw Error(t(475));var d=Fk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=uo(c.href),f=a.querySelector(wo(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Do.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Sb(f);return}f=a.ownerDocument||a;c=Co(c);(e=jo.get(e))&&yo(c,e);f=f.createElement("link");Sb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; +g.onerror=l});Hi(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Do.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} +function Hk(){if(null===Fk)throw Error(t(475));var a=Fk;a.stylesheets&&0===a.count&&Eo(a,a.stylesheets);return 0c;c++){var d=kb(b);a.set(b,d);b*=2}return a}function lb(){null!==F&&"function"===typeof F.markCommitStopped&&F.markCommitStopped()} +function hb(a,b){if(fb&&"function"===typeof fb.onCommitFiberRoot)try{var c=128===(a.current.flags&128);switch(b){case 2:var d=$a;break;case 8:d=ab;break;case 32:d=bb;break;case 268435456:d=db;break;default:d=bb}fb.onCommitFiberRoot(eb,a,d,c)}catch(e){}}function ib(a){F=a}function jb(){for(var a=new Map,b=1,c=0;31>c;c++){var d=kb(b);a.set(b,d);b*=2}return a}function lb(){null!==F&&"function"===typeof F.markCommitStopped&&F.markCommitStopped()} function mb(a){null!==F&&"function"===typeof F.markComponentRenderStarted&&F.markComponentRenderStarted(a)}function nb(){null!==F&&"function"===typeof F.markComponentRenderStopped&&F.markComponentRenderStopped()}function ob(a){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStarted&&F.markComponentLayoutEffectUnmountStarted(a)}function pb(){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStopped&&F.markComponentLayoutEffectUnmountStopped()} function qb(a){null!==F&&"function"===typeof F.markRenderStarted&&F.markRenderStarted(a)}function rb(){null!==F&&"function"===typeof F.markRenderStopped&&F.markRenderStopped()}function sb(a,b){null!==F&&"function"===typeof F.markStateUpdateScheduled&&F.markStateUpdateScheduled(a,b)}var ub=Math.clz32?Math.clz32:tb,vb=Math.log,wb=Math.LN2;function tb(a){a>>>=0;return 0===a?32:31-(vb(a)/wb|0)|0} -function kb(a){if(a&1)return"SyncHydrationLane";if(a&2)return"Sync";if(a&4)return"InputContinuousHydration";if(a&8)return"InputContinuous";if(a&16)return"DefaultHydration";if(a&32)return"Default";if(a&64)return"TransitionHydration";if(a&8388480)return"Transition";if(a&125829120)return"Retry";if(a&134217728)return"SelectiveHydration";if(a&268435456)return"IdleHydration";if(a&536870912)return"Idle";if(a&1073741824)return"Offscreen"}var xb=128,yb=8388608; -function zb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128: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:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456; -case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}} -function Ab(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=zb(h):(f&=g,0!==f&&(d=zb(f)))}else g=c&~e,0!==g?d=zb(g):0!==f&&(d=zb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}function Gb(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function Hb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("")&&(p=p.replace("",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{tc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?sc(a):""} -function vc(a){switch(a.tag){case 26:case 27:case 5:return sc(a.type);case 16:return sc("Lazy");case 13:return sc("Suspense");case 19:return sc("SuspenseList");case 0:case 2:case 15:return a=uc(a.type,!1),a;case 11:return a=uc(a.type.render,!1),a;case 1:return a=uc(a.type,!0),a;default:return""}} -function wc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:wc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return wc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} -function xc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return wc(b);case 8:return b===qa?"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 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function yc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function zc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function Ac(a){var b=zc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function Bc(a){a._valueTracker||(a._valueTracker=Ac(a))}function Cc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=zc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Dc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var Ec=/[\n"\\]/g; -function Fc(a){return a.replace(Ec,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function Gc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+yc(b)}else a.value!==""+yc(b)&&(a.value=""+yc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?Hc(a,g,yc(b)):null!=c?Hc(a,g,yc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== -typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+yc(h):a.removeAttribute("name")} -function Ic(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+yc(c):"";b=null!=b?""+yc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function Hc(a,b,c){"number"===b&&Dc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var Jc=Array.isArray; -function Kc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e=a||32===e&&0!==(a&4194176))?b:d} +function Bb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64: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 b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function Cb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function Db(){var a=yb;yb<<=1;0===(yb&62914560)&&(yb=4194304);return a}function Eb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function Fb(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function Gb(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("")&&(p=p.replace("",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{uc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?tc(a):""} +function wc(a){switch(a.tag){case 26:case 27:case 5:return tc(a.type);case 16:return tc("Lazy");case 13:return tc("Suspense");case 19:return tc("SuspenseList");case 0:case 2:case 15:return a=vc(a.type,!1),a;case 11:return a=vc(a.type.render,!1),a;case 1:return a=vc(a.type,!0),a;default:return""}} +function xc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:xc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return xc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} +function yc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xc(b);case 8:return b===qa?"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 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function zc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function Ac(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function Bc(a){var b=Ac(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function Cc(a){a._valueTracker||(a._valueTracker=Bc(a))}function Dc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=Ac(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Ec(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var Fc=/[\n"\\]/g; +function Gc(a){return a.replace(Fc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function Hc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+zc(b)}else a.value!==""+zc(b)&&(a.value=""+zc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?Ic(a,g,zc(b)):null!=c?Ic(a,g,zc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+zc(h):a.removeAttribute("name")} +function Jc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+zc(c):"";b=null!=b?""+zc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function Ic(a,b,c){"number"===b&&Ec(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var Kc=Array.isArray; +function Lc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e>=g;e-=g;zd=1<<32-ub(b)+e|c<L?(ja=z,z=null):ja=z.sibling;var M=r(m,z,n[L],v);if(null=== -M){null===z&&(z=ja);break}a&&z&&null===M.alternate&&b(m,z);k=f(M,k,L);null===B?y=M:B.sibling=M;B=M;z=ja}if(L===n.length)return c(m,z),K&&Bd(m,L),y;if(null===z){for(;LL?(ja=z,z=null):ja=z.sibling;var Lb=r(m,z,M.value,v);if(null===Lb){null===z&&(z=ja);break}a&&z&&null===Lb.alternate&&b(m,z);k=f(Lb,k,L);null===B?y=Lb:B.sibling=Lb;B=Lb;z=ja}if(M.done)return c(m,z),K&&Bd(m,L),y;if(null===z){for(;!M.done;L++,M=n.next())M=x(m,M.value,v),null!==M&&(k=f(M,k,L),null===B?y=M:B.sibling= -M,B=M);K&&Bd(m,L);return y}for(z=d(m,z);!M.done;L++,M=n.next())M=u(z,m,L,M.value,v),null!==M&&(a&&null!==M.alternate&&z.delete(null===M.key?L:M.key),k=f(M,k,L),null===B?y=M:B.sibling=M,B=M);a&&z.forEach(function(xn){return b(m,xn)});K&&Bd(m,L);return y}function J(m,k,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var y=n.key,B=k;null!==B;){if(B.key===y){y=n.type;if(y===pa){if(7===B.tag){c(m,B.sibling); -k=e(B,n.props.children);k.return=m;m=k;break a}}else if(B.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===za&&Je(y)===B.type){c(m,B.sibling);k=e(B,n.props);k.ref=He(m,B,n);k.return=m;m=k;break a}c(m,B);break}else b(m,B);B=B.sibling}n.type===pa?(k=Pe(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=Ne(n.type,n.key,n.props,null,null,m.mode,v),v.ref=He(m,k,n),v.return=m,m=v)}return g(m);case oa:a:{for(B=n.key;null!==k;){if(k.key===B)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& -k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Oe(n,m.mode,v);k.return=m;m=k}return g(m);case za:return B=n._init,Q(m,k,B(n._payload),v)}if(Jc(n))return A(m,k,n,v);if(Ia(n))return C(m,k,n,v);if("function"===typeof n.then)return J(m,k,Ge(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return J(m,k,Qe(m,n,v),v);Ie(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, -k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=Me(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function Q(m,k,n,v){Fe=0;m=J(m,k,n,v);Ee=null;return m}return Q}var Re=Ke(!0),Se=Ke(!1),Te=ma(null),Ue=ma(0);function Ve(a,b){a=We;E(Ue,a);E(Te,b);We=a|b.baseLanes}function Xe(){E(Ue,We);E(Te,Te.current)}function Ye(){We=Ue.current;D(Te);D(Ue)}var Ze=ma(null),$e=null;function af(a){var b=a.alternate;E(bf,bf.current&1);E(Ze,a);null===$e&&(null===b||null!==Te.current?$e=a:null!==b.memoizedState&&($e=a))} -function cf(a){if(22===a.tag){if(E(bf,bf.current),E(Ze,a),null===$e){var b=a.alternate;null!==b&&null!==b.memoizedState&&($e=a)}}else df(a)}function df(){E(bf,bf.current);E(Ze,Ze.current)}function ef(a){D(Ze);$e===a&&($e=null);D(bf)}var bf=ma(0); -function ff(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var gf=null,hf=null,jf=!1,kf=!1,lf=!1,mf=0; -function nf(a){a!==hf&&null===a.next&&(null===hf?gf=hf=a:hf=hf.next=a);kf=!0;jf||(jf=!0,of(pf))} -function qf(a){if(!lf&&kf){var b=null;lf=!0;do{var c=!1;for(var d=gf;null!==d;){if(!a||0===d.tag){var e=O,f=Ab(d,d===P?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(N&6))throw Error(t(327));if(!rf()){sf=tf;tf=!1;var g=uf(e,f);if(0!==e.tag&&2===g){var h=f,l=Cb(e,h);0!==l&&(f=l,g=vf(e,h,l))}if(1===g)throw h=wf,xf(e,0),yf(e,f),nf(e),h;6===g?yf(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,zf(e,Af,Bf))}nf(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);lf=!1;if(null!==b){if(1f?f:8;var g=Pf.transition;Pf.transition={};dh(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=Kf(h,d);eh(a,b,l)}else{var p=Nf(h,d);eh(a,b,p)}}catch(q){eh(a,b,{then:function(){},status:"rejected",reason:q})}finally{G=f,Pf.transition=g}} -function fh(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;ch(a,f,b,fa,function(){return c(d)})}function gh(){var a=pg(Na);return null!==a?a:fa}function hh(){return mg().memoizedState} -function ih(){return mg().memoizedState}function jh(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=kh(d);a=ne(e);var f=oe(d,a,e);null!==f&&(Eg(f,d,e),pe(f,d,e));d=lh();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function mh(a,b,c){var d=kh(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};Ig(a)?nh(b,c):(c=fe(a,b,c,d),null!==c&&(Eg(c,a,d),oh(c,b,d)));sb(a,d)} -function eh(a,b,c){var d=kh(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Ig(a))nh(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(rd(h,g)){ee(a,b,e,0);null===P&&ce();return}}catch(l){}finally{}c=fe(a,b,e,d);null!==c&&(Eg(c,a,d),oh(c,b,d))}sb(a,d)} -function dh(a,b,c,d){d={lane:2,revertLane:Gf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(Ig(a)){if(b)throw Error(t(479));}else b=fe(a,c,d,2),null!==b&&Eg(b,a,2);sb(a,2)}function Ig(a){var b=a.alternate;return a===S||null!==b&&b===S}function nh(a,b){Tf=Sf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function oh(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Ib(a,c)}} -var eg={readContext:pg,use:og,useCallback:U,useContext:U,useEffect:U,useImperativeHandle:U,useInsertionEffect:U,useLayoutEffect:U,useMemo:U,useReducer:U,useRef:U,useState:U,useDebugValue:U,useDeferredValue:U,useTransition:U,useSyncExternalStore:U,useId:U};eg.useCacheRefresh=U;eg.useMemoCache=U;eg.useEffectEvent=U;eg.useHostTransitionStatus=U;eg.useFormState=U;eg.useOptimistic=U; -var ag={readContext:pg,use:og,useCallback:function(a,b){lg().memoizedState=[a,void 0===b?null:b];return a},useContext:pg,useEffect:Rg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Pg(4194308,4,Wg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Pg(4194308,4,a,b)},useInsertionEffect:function(a,b){Pg(4,2,a,b)},useMemo:function(a,b){var c=lg();b=void 0===b?null:b;Uf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=lg();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=mh.bind(null,S,a);return[d.memoizedState,a]},useRef:function(a){var b=lg();a={current:a};return b.memoizedState=a},useState:function(a){a=Fg(a);var b=a.queue,c=eh.bind(null,S,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Yg,useDeferredValue:function(a,b){var c=lg();return ah(c,a,b)},useTransition:function(){var a=Fg(!1);a=ch.bind(null,S,a.queue,!0,!1); -lg().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=S,e=lg();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===P)throw Error(t(349));0!==(Qf&60)||Bg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Rg(yg.bind(null,d,f,a),[a]);d.flags|=2048;zg(9,Ag.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=lg(),b=P.identifierPrefix;if(K){var c=Ad;var d=zd;c=(d&~(1<<32-ub(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Vf++;0a.actualStartTime&&(a.actualStartTime=ph())} -function vh(a,b){if(0<=sh){var c=ph()-sh;a.actualDuration+=c;b&&(a.selfBaseDuration=c);sh=-1}}function wh(a){if(0<=rh){var b=ph()-rh;rh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a.stateNode.effectDuration+=b;return;case 12:a.stateNode.effectDuration+=b;return}a=a.return}}} -function xh(a){if(0<=th){var b=ph()-th;th=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return;case 12:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return}a=a.return}}}function yh(){rh=ph()}function zh(a){for(var b=a.child;b;)a.actualDuration+=b.actualDuration,b=b.sibling}function Ah(a,b){if(a&&a.defaultProps){b=w({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Bh(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:w({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} -var Ch={isMounted:function(a){return(a=a._reactInternals)?$c(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=kh(a),e=ne(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=oe(a,e,d);null!==b&&(Eg(b,a,d),pe(b,a,d));sb(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=kh(a),e=ne(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=oe(a,e,d);null!==b&&(Eg(b,a,d),pe(b,a,d));sb(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=kh(a),d=ne(c); -d.tag=2;void 0!==b&&null!==b&&(d.callback=b);b=oe(a,d,c);null!==b&&(Eg(b,a,c),pe(b,a,c));null!==F&&"function"===typeof F.markForceUpdateScheduled&&F.markForceUpdateScheduled(a,c)}};function Dh(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!ve(c,d)||!ve(e,f):!0} -function Eh(a,b,c){var d=!1,e=fd;var f=b.contextType;"object"===typeof f&&null!==f?f=pg(f):(e=kd(b)?id:gd.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?jd(a,e):fd);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Ch;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} -function Fh(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Ch.enqueueReplaceState(b,b.state,null)} -function Gh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};le(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=pg(f):(f=kd(b)?id:gd.current,e.context=jd(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Bh(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, -"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Ch.enqueueReplaceState(e,e.state,null),re(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function Hh(a,b){try{var c="",d=b;do c+=vc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} -function Ih(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Jh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Kh(a,b,c){c=ne(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Lh||(Lh=!0,Mh=d);Jh(a,b)};return c} -function Nh(a,b,c){c=ne(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Jh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Jh(a,b);"function"!==typeof d&&(null===Oh?Oh=new Set([this]):Oh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} -function Ph(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function Qh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=ne(2),b.tag=2,oe(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} -function Rh(a,b,c,d,e){c.flags|=32768;gb&&Sh(a,e);if(null!==d&&"object"===typeof d&&(d.$$typeof===Ga&&(d={then:function(){}}),"function"===typeof d.then)){Ph(c);var f=Ze.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===$e?Th():null===f.alternate&&0===Uh&&(Uh=3));f.flags&=-257;Qh(f,b,c,a,e);d===ye?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&Vh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ye?f.flags|=16384:(b=f.updateQueue,null===b?(b= -{transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),Vh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){Vh(a,d,e);Th();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Ze.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);Qh(f,b,c,a,e);Zd(Hh(d,c));return}d=Hh(d,c);Wh(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=Kh(a,d,e);qe(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags& -128)&&("function"===typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===Oh||!Oh.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=Nh(a,f,e);qe(a,e);return}}a=a.return}while(null!==a)}var Xh=da.ReactCurrentOwner,Yh=Error(t(461)),ug=!1;function Zh(a,b,c,d){b.child=null===a?Se(b,null,c,d):Re(b,a.child,c,d)} -function $h(a,b,c,d,e){c=c.render;var f=b.ref;ai(b,e);mb(b);d=$f(a,b,c,d,f,e);c=ig();nb();if(null!==a&&!ug)return jg(a,b,e),bi(a,b,e);K&&c&&Dd(b);b.flags|=1;Zh(a,b,d,e);return b.child} -function ci(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!di(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,ei(a,b,f,d,e);a=Ne(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:ve;if(c(g,d)&&a.ref===b.ref)return bi(a,b,e)}b.flags|=1;a=Le(f,d);a.ref=b.ref;a.return=b;return b.child=a} -function ei(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(ve(f,d)&&a.ref===b.ref)if(ug=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(ug=!0);else return b.lanes=a.lanes,bi(a,b,e)}return fi(a,b,c,d,e)} -function gi(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;hi(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return ii(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&ji(b,null),Xe(),cf(b);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0, -cachePool:null},null!==a&&ji(b,null!==g?g.cachePool:null),null!==g?Ve(b,g):Xe(),cf(b);else return b.lanes=b.childLanes=1073741824,ii(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(ji(b,g.cachePool),Ve(b,g),df(b),b.memoizedState=null):(null!==a&&ji(b,null),Xe(),df(b));Zh(a,b,e,c);return b.child}function ii(a,b,c){var d=ki();d=null===d?null:{parent:li._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&ji(b,null);Xe();cf(b);return null} -function hi(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function fi(a,b,c,d,e){var f=kd(c)?id:gd.current;f=jd(b,f);ai(b,e);mb(b);c=$f(a,b,c,d,f,e);d=ig();nb();if(null!==a&&!ug)return jg(a,b,e),bi(a,b,e);K&&d&&Dd(b);b.flags|=1;Zh(a,b,c,e);return b.child}function mi(a,b,c,d,e,f){ai(b,f);mb(b);c=cg(b,d,c,e);dg();d=ig();nb();if(null!==a&&!ug)return jg(a,b,f),bi(a,b,f);K&&d&&Dd(b);b.flags|=1;Zh(a,b,c,f);return b.child} -function ni(a,b,c,d,e){if(kd(c)){var f=!0;od(b)}else f=!1;ai(b,e);if(null===b.stateNode)oi(a,b),Eh(b,c,d),Gh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=pg(p):(p=kd(c)?id:gd.current,p=jd(b,p));var q=c.getDerivedStateFromProps,x="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| -(h!==d||l!==p)&&Fh(b,g,d,p);ke=!1;var r=b.memoizedState;g.state=r;re(b,d,g,e);l=b.memoizedState;h!==d||r!==l||hd.current||ke?("function"===typeof q&&(Bh(b,c,q,d),l=b.memoizedState),(h=ke||Dh(b,c,h,d,r,l,p))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): -("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;me(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:Ah(b.type,h);g.props=p;x=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=pg(l):(l=kd(c)?id:gd.current,l=jd(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| -"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==x||r!==l)&&Fh(b,g,d,l);ke=!1;r=b.memoizedState;g.state=r;re(b,d,g,e);var A=b.memoizedState;h!==x||r!==A||hd.current||ke?("function"===typeof u&&(Bh(b,c,u,d),A=b.memoizedState),(p=ke||Dh(b,c,p,d,r,A,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,A,l),"function"===typeof g.UNSAFE_componentWillUpdate&& +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Uc=null;function Vc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Wc=null,Xc=null; +function Yc(a){var b=bc(a);if(b&&(a=b.stateNode)){var c=dc(a);a:switch(a=b.stateNode,b.type){case "input":Hc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+Gc(""+b)+'"][type="radio"]');for(b=0;b>=g;e-=g;Ad=1<<32-ub(b)+e|c<L?(ja=z,z=null):ja=z.sibling;var M=r(m,z,n[L],v);if(null=== +M){null===z&&(z=ja);break}a&&z&&null===M.alternate&&b(m,z);k=f(M,k,L);null===B?y=M:B.sibling=M;B=M;z=ja}if(L===n.length)return c(m,z),K&&Cd(m,L),y;if(null===z){for(;LL?(ja=z,z=null):ja=z.sibling;var Mb=r(m,z,M.value,v);if(null===Mb){null===z&&(z=ja);break}a&&z&&null===Mb.alternate&&b(m,z);k=f(Mb,k,L);null===B?y=Mb:B.sibling=Mb;B=Mb;z=ja}if(M.done)return c(m,z),K&&Cd(m,L),y;if(null===z){for(;!M.done;L++,M=n.next())M=x(m,M.value,v),null!==M&&(k=f(M,k,L),null===B?y=M:B.sibling= +M,B=M);K&&Cd(m,L);return y}for(z=d(m,z);!M.done;L++,M=n.next())M=u(z,m,L,M.value,v),null!==M&&(a&&null!==M.alternate&&z.delete(null===M.key?L:M.key),k=f(M,k,L),null===B?y=M:B.sibling=M,B=M);a&&z.forEach(function(An){return b(m,An)});K&&Cd(m,L);return y}function J(m,k,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var y=n.key,B=k;null!==B;){if(B.key===y){y=n.type;if(y===pa){if(7===B.tag){c(m,B.sibling); +k=e(B,n.props.children);k.return=m;m=k;break a}}else if(B.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===za&&Ke(y)===B.type){c(m,B.sibling);k=e(B,n.props);k.ref=Ie(m,B,n);k.return=m;m=k;break a}c(m,B);break}else b(m,B);B=B.sibling}n.type===pa?(k=Qe(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=Oe(n.type,n.key,n.props,null,null,m.mode,v),v.ref=Ie(m,k,n),v.return=m,m=v)}return g(m);case oa:a:{for(B=n.key;null!==k;){if(k.key===B)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& +k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Pe(n,m.mode,v);k.return=m;m=k}return g(m);case za:return B=n._init,Q(m,k,B(n._payload),v)}if(Kc(n))return A(m,k,n,v);if(Ia(n))return C(m,k,n,v);if("function"===typeof n.then)return J(m,k,He(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return J(m,k,Re(m,n,v),v);Je(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, +k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=Ne(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function Q(m,k,n,v){Ge=0;m=J(m,k,n,v);Fe=null;return m}return Q}var Se=Le(!0),Te=Le(!1),Ue=ma(null),Ve=ma(0);function We(a,b){a=Xe;E(Ve,a);E(Ue,b);Xe=a|b.baseLanes}function Ye(){E(Ve,Xe);E(Ue,Ue.current)}function Ze(){Xe=Ve.current;D(Ue);D(Ve)}var $e=ma(null),af=null;function bf(a){var b=a.alternate;E(cf,cf.current&1);E($e,a);null===af&&(null===b||null!==Ue.current?af=a:null!==b.memoizedState&&(af=a))} +function df(a){if(22===a.tag){if(E(cf,cf.current),E($e,a),null===af){var b=a.alternate;null!==b&&null!==b.memoizedState&&(af=a)}}else ef(a)}function ef(){E(cf,cf.current);E($e,$e.current)}function ff(a){D($e);af===a&&(af=null);D(cf)}var cf=ma(0); +function gf(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var hf=null,jf=null,kf=!1,lf=!1,mf=!1,nf=0; +function of(a){a!==jf&&null===a.next&&(null===jf?hf=jf=a:jf=jf.next=a);lf=!0;kf||(kf=!0,pf(qf))} +function rf(a){if(!mf&&lf){var b=null;mf=!0;do{var c=!1;for(var d=hf;null!==d;){if(!a||0===d.tag){var e=O,f=Ab(d,d===P?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(N&6))throw Error(t(327));if(!sf()){tf=uf;uf=!1;var g=vf(e,f);if(0!==e.tag&&2===g){var h=f,l=Cb(e,h);0!==l&&(f=l,g=wf(e,h,l))}if(1===g)throw h=xf,yf(e,0),zf(e,f,0),of(e),h;6===g?zf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,Af(e,Bf,Cf,Df))}of(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);mf=!1;if(null!==b){if(1f?f:8;var g=Rf.transition;Rf.transition={};gh(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=Mf(h,d);hh(a,b,l)}else{var p=Pf(h,d);hh(a,b,p)}}catch(q){hh(a,b,{then:function(){},status:"rejected",reason:q})}finally{G=f,Rf.transition=g}} +function ih(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;fh(a,f,b,fa,function(){return c(d)})}function jh(){var a=rg(Na);return null!==a?a:fa}function kh(){return og().memoizedState} +function lh(){return og().memoizedState}function mh(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=nh(d);a=oe(e);var f=pe(d,a,e);null!==f&&(Gg(f,d,e),qe(f,d,e));d=oh();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function ph(a,b,c){var d=nh(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};Kg(a)?qh(b,c):(c=ge(a,b,c,d),null!==c&&(Gg(c,a,d),rh(c,b,d)));sb(a,d)} +function hh(a,b,c){var d=nh(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Kg(a))qh(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(sd(h,g)){fe(a,b,e,0);null===P&&de();return}}catch(l){}finally{}c=ge(a,b,e,d);null!==c&&(Gg(c,a,d),rh(c,b,d))}sb(a,d)} +function gh(a,b,c,d){d={lane:2,revertLane:If(),action:d,hasEagerState:!1,eagerState:null,next:null};if(Kg(a)){if(b)throw Error(t(479));}else b=ge(a,c,d,2),null!==b&&Gg(b,a,2);sb(a,2)}function Kg(a){var b=a.alternate;return a===S||null!==b&&b===S}function qh(a,b){Vf=Uf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function rh(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Ib(a,c)}} +var gg={readContext:rg,use:qg,useCallback:U,useContext:U,useEffect:U,useImperativeHandle:U,useInsertionEffect:U,useLayoutEffect:U,useMemo:U,useReducer:U,useRef:U,useState:U,useDebugValue:U,useDeferredValue:U,useTransition:U,useSyncExternalStore:U,useId:U};gg.useCacheRefresh=U;gg.useMemoCache=U;gg.useEffectEvent=U;gg.useHostTransitionStatus=U;gg.useFormState=U;gg.useOptimistic=U; +var cg={readContext:rg,use:qg,useCallback:function(a,b){ng().memoizedState=[a,void 0===b?null:b];return a},useContext:rg,useEffect:Tg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Rg(4194308,4,Yg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Rg(4194308,4,a,b)},useInsertionEffect:function(a,b){Rg(4,2,a,b)},useMemo:function(a,b){var c=ng();b=void 0===b?null:b;Wf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ng();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=ph.bind(null,S,a);return[d.memoizedState,a]},useRef:function(a){var b=ng();a={current:a};return b.memoizedState=a},useState:function(a){a=Hg(a);var b=a.queue,c=hh.bind(null,S,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:$g,useDeferredValue:function(a,b){var c=ng();return ch(c,a,b)},useTransition:function(){var a=Hg(!1);a=fh.bind(null,S,a.queue,!0,!1); +ng().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=S,e=ng();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===P)throw Error(t(349));0!==(O&60)||Dg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Tg(Ag.bind(null,d,f,a),[a]);d.flags|=2048;Bg(9,Cg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=ng(),b=P.identifierPrefix;if(K){var c=Bd;var d=Ad;c=(d&~(1<<32-ub(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Xf++;0a.actualStartTime&&(a.actualStartTime=sh())} +function yh(a,b){if(0<=vh){var c=sh()-vh;a.actualDuration+=c;b&&(a.selfBaseDuration=c);vh=-1}}function zh(a){if(0<=uh){var b=sh()-uh;uh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a.stateNode.effectDuration+=b;return;case 12:a.stateNode.effectDuration+=b;return}a=a.return}}} +function Ah(a){if(0<=wh){var b=sh()-wh;wh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return;case 12:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return}a=a.return}}}function Bh(){uh=sh()}function Ch(a){for(var b=a.child;b;)a.actualDuration+=b.actualDuration,b=b.sibling}function Dh(a,b){if(a&&a.defaultProps){b=w({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Eh(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:w({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} +var Fh={isMounted:function(a){return(a=a._reactInternals)?ad(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=nh(a),e=oe(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=pe(a,e,d);null!==b&&(Gg(b,a,d),qe(b,a,d));sb(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=nh(a),e=oe(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=pe(a,e,d);null!==b&&(Gg(b,a,d),qe(b,a,d));sb(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=nh(a),d=oe(c); +d.tag=2;void 0!==b&&null!==b&&(d.callback=b);b=pe(a,d,c);null!==b&&(Gg(b,a,c),qe(b,a,c));null!==F&&"function"===typeof F.markForceUpdateScheduled&&F.markForceUpdateScheduled(a,c)}};function Gh(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!we(c,d)||!we(e,f):!0} +function Hh(a,b,c){var d=!1,e=gd;var f=b.contextType;"object"===typeof f&&null!==f?f=rg(f):(e=ld(b)?jd:hd.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?kd(a,e):gd);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Fh;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} +function Ih(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Fh.enqueueReplaceState(b,b.state,null)} +function Jh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};me(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=rg(f):(f=ld(b)?jd:hd.current,e.context=kd(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Eh(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, +"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Fh.enqueueReplaceState(e,e.state,null),se(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function Kh(a,b){try{var c="",d=b;do c+=wc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} +function Lh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Mh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Nh(a,b,c){c=oe(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Oh||(Oh=!0,Ph=d);Mh(a,b)};return c} +function Qh(a,b,c){c=oe(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Mh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Mh(a,b);"function"!==typeof d&&(null===Rh?Rh=new Set([this]):Rh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} +function Sh(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function Th(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=oe(2),b.tag=2,pe(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} +function Uh(a,b,c,d,e){c.flags|=32768;gb&&Vh(a,e);if(null!==d&&"object"===typeof d&&(d.$$typeof===Ga&&(d={then:function(){}}),"function"===typeof d.then)){Sh(c);var f=$e.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===af?Wh():null===f.alternate&&0===Xh&&(Xh=3));f.flags&=-257;Th(f,b,c,a,e);d===ze?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&Yh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ze?f.flags|=16384:(b=f.updateQueue,null===b?(b= +{transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),Yh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){Yh(a,d,e);Wh();return}d=Error(t(426))}if(K&&c.mode&1&&(f=$e.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);Th(f,b,c,a,e);$d(Kh(d,c));return}d=Kh(d,c);Zh(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=Nh(a,d,e);re(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags& +128)&&("function"===typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===Rh||!Rh.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=Qh(a,f,e);re(a,e);return}}a=a.return}while(null!==a)}var $h=da.ReactCurrentOwner,ai=Error(t(461)),wg=!1;function bi(a,b,c,d){b.child=null===a?Te(b,null,c,d):Se(b,a.child,c,d)} +function ci(a,b,c,d,e){c=c.render;var f=b.ref;di(b,e);mb(b);d=bg(a,b,c,d,f,e);c=kg();nb();if(null!==a&&!wg)return lg(a,b,e),ei(a,b,e);K&&c&&Ed(b);b.flags|=1;bi(a,b,d,e);return b.child} +function fi(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!gi(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,hi(a,b,f,d,e);a=Oe(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:we;if(c(g,d)&&a.ref===b.ref)return ei(a,b,e)}b.flags|=1;a=Me(f,d);a.ref=b.ref;a.return=b;return b.child=a} +function hi(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(we(f,d)&&a.ref===b.ref)if(wg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(wg=!0);else return b.lanes=a.lanes,ei(a,b,e)}return ii(a,b,c,d,e)} +function ji(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;ki(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return li(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&mi(b,null),Ye(),df(b);else if(0!==(c&536870912))b.memoizedState={baseLanes:0, +cachePool:null},null!==a&&mi(b,null!==g?g.cachePool:null),null!==g?We(b,g):Ye(),df(b);else return b.lanes=b.childLanes=536870912,li(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(mi(b,g.cachePool),We(b,g),ef(b),b.memoizedState=null):(null!==a&&mi(b,null),Ye(),ef(b));bi(a,b,e,c);return b.child}function li(a,b,c){var d=ni();d=null===d?null:{parent:oi._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&mi(b,null);Ye();df(b);return null} +function ki(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function ii(a,b,c,d,e){var f=ld(c)?jd:hd.current;f=kd(b,f);di(b,e);mb(b);c=bg(a,b,c,d,f,e);d=kg();nb();if(null!==a&&!wg)return lg(a,b,e),ei(a,b,e);K&&d&&Ed(b);b.flags|=1;bi(a,b,c,e);return b.child}function pi(a,b,c,d,e,f){di(b,f);mb(b);c=eg(b,d,c,e);fg();d=kg();nb();if(null!==a&&!wg)return lg(a,b,f),ei(a,b,f);K&&d&&Ed(b);b.flags|=1;bi(a,b,c,f);return b.child} +function qi(a,b,c,d,e){if(ld(c)){var f=!0;pd(b)}else f=!1;di(b,e);if(null===b.stateNode)ri(a,b),Hh(b,c,d),Jh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=rg(p):(p=ld(c)?jd:hd.current,p=kd(b,p));var q=c.getDerivedStateFromProps,x="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| +(h!==d||l!==p)&&Ih(b,g,d,p);le=!1;var r=b.memoizedState;g.state=r;se(b,d,g,e);l=b.memoizedState;h!==d||r!==l||id.current||le?("function"===typeof q&&(Eh(b,c,q,d),l=b.memoizedState),(h=le||Gh(b,c,h,d,r,l,p))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): +("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;ne(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:Dh(b.type,h);g.props=p;x=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=rg(l):(l=ld(c)?jd:hd.current,l=kd(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| +"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==x||r!==l)&&Ih(b,g,d,l);le=!1;r=b.memoizedState;g.state=r;se(b,d,g,e);var A=b.memoizedState;h!==x||r!==A||id.current||le?("function"===typeof u&&(Eh(b,c,u,d),A=b.memoizedState),(p=le||Gh(b,c,p,d,r,A,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,A,l),"function"===typeof g.UNSAFE_componentWillUpdate&& g.UNSAFE_componentWillUpdate(d,A,l)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=A),g.props=d,g.state=A,g.context=l,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== -a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return pi(a,b,c,d,f,e)} -function pi(a,b,c,d,e,f){hi(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&pd(b,c,!1),bi(a,b,f);d=b.stateNode;Xh.current=b;if(g&&"function"!==typeof c.getDerivedStateFromError){var h=null;sh=-1}else mb(b),h=d.render(),nb();b.flags|=1;null!==a&&g?(g=h,b.child=Re(b,a.child,null,f),b.child=Re(b,null,g,f)):Zh(a,b,h,f);b.memoizedState=d.state;e&&pd(b,c,!0);return b.child} -function qi(a){var b=a.stateNode;b.pendingContext?md(a,b.pendingContext,b.pendingContext!==b.context):b.context&&md(a,b.context,!1);Oa(a,b.containerInfo)}function ri(a,b,c,d,e){Yd();Zd(e);b.flags|=256;Zh(a,b,c,d);return b.child}var si={dehydrated:null,treeContext:null,retryLane:0};function ti(a){return{baseLanes:a,cachePool:ui()}} -function vi(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(bf.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?af(b):df(b);K&&((f=a=I,f)?Pd(b,f)||(Rd(b)&&Sd(),I=Qd(f),g=H,I&&Pd(b,I)?Hd(g,f):(Jd(H,b),K=!1,H=b,I=a)):(Rd(b)&&Sd(),Jd(H,b),K=!1,H=b,I=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=1073741824,null;ef(b)}a=d.children;f=d.fallback;if(e)return df(b), -a=wi(b,a,f,c),b.child.memoizedState=ti(c),b.memoizedState=si,a;if("number"===typeof d.unstable_expectedLoadTime)return df(b),a=wi(b,a,f,c),b.child.memoizedState=ti(c),b.memoizedState=si,b.lanes=8388608,a;af(b);return xi(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return yi(a,b,f,d,h,g,c)}if(e){df(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l,b.mode&2&&(d.actualDuration= -0,d.actualStartTime=-1,d.selfBaseDuration=g.selfBaseDuration,d.treeBaseDuration=g.treeBaseDuration),b.deletions=null):(d=Le(g,l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=Le(h,e):(e=Pe(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=ti(c):(g=f.cachePool,null!==g?(h=li._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=ui(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState= -si;return d}af(b);e=a.child;a=e.sibling;d=Le(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function xi(a,b){b=zi({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b} -function wi(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b,a.mode&2&&(f.actualDuration=0,f.actualStartTime=-1,f.selfBaseDuration=0,f.treeBaseDuration=0)):f=zi(b,e,0,null);c=Pe(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c}function Ai(a,b,c,d){null!==d&&Zd(d);Re(b,a.child,null,c);a=xi(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} -function yi(a,b,c,d,e,f,g){if(c){if(b.flags&256)return af(b),b.flags&=-257,e=Ih(Error(t(422))),Ai(a,b,g,e);if(null!==b.memoizedState)return df(b),b.child=a.child,b.flags|=128,null;df(b);e=d.fallback;f=b.mode;d=zi({mode:"visible",children:d.children},f,0,null);e=Pe(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Re(b,a.child,null,g);b.child.memoizedState=ti(g);b.memoizedState=si;return e}af(b);if(0===(b.mode&1))return Ai(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& -e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=Ih(f,e,void 0));return Ai(a,b,g,f)}h=0!==(g&a.childLanes);if(ug||h){d=P;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h= -64;break;case 536870912:h=268435456;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,he(a,h),Eg(d,a,h),Yh;}"$?"!==e.data&&Th();return Ai(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=Bi.bind(null,a),e._reactRetry=b,null;a=f.treeContext;I=Md(e.nextSibling);H=b;K=!0;Fd=null;Gd=!1;null!==a&&(wd[xd++]=zd,wd[xd++]=Ad,wd[xd++]=yd,zd=a.id,Ad=a.overflow,yd=b);b=xi(b,d.children);b.flags|=4096;return b} -function Ci(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Di(a.return,b,c)}function Ei(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} -function Fi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Zh(a,b,d.children,c);d=bf.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Ci(a,c,b);else if(19===a.tag)Ci(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(bf,d);if(0===(b.mode&1))b.memoizedState= -null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===ff(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Ei(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===ff(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Ei(b,!0,c,null,f);break;case "together":Ei(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} -function oi(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function bi(a,b,c){null!==a&&(b.dependencies=a.dependencies);sh=-1;se|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=Le(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Le(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} -function Gi(a,b,c){switch(b.tag){case 3:qi(b);Hi(b,li,a.memoizedState.cache);Yd();break;case 27:case 5:Sa(b);break;case 1:kd(b.type)&&od(b);break;case 4:Oa(b,b.stateNode.containerInfo);break;case 10:Hi(b,b.type._context,b.memoizedProps.value);break;case 12:0!==(c&b.childLanes)&&(b.flags|=4);var d=b.stateNode;d.effectDuration=0;d.passiveEffectDuration=0;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return af(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return vi(a,b,c); -af(b);a=bi(a,b,c);return null!==a?a.sibling:null}af(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return Fi(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(bf,bf.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,gi(a,b,c);case 24:Hi(b,li,a.memoizedState.cache)}return bi(a,b,c)}var Ii=ma(null),Ji=null,Ki=null,Li=null;function Mi(){Li=Ki=Ji=null} -function Hi(a,b,c){E(Ii,b._currentValue);b._currentValue=c}function Ni(a){var b=Ii.current;a._currentValue=b===Ea?a._defaultValue:b;D(Ii)}function Di(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} -function Oi(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=ne(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);Di(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== -f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);Di(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function ai(a,b){Ji=a;Li=Ki=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(ug=!0),a.firstContext=null)}function pg(a){return Pi(Ji,a)}function Qe(a,b,c){null===Ji&&ai(a,c);return Pi(a,b)} -function Pi(a,b){var c=b._currentValue;if(Li!==b)if(b={context:b,memoizedValue:c,next:null},null===Ki){if(null===a)throw Error(t(308));Ki=b;a.dependencies={lanes:0,firstContext:b}}else Ki=Ki.next=b;return c} -var Qi="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},Ri=ba.unstable_scheduleCallback,Si=ba.unstable_NormalPriority,li={$$typeof:ta,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function lh(){return{controller:new Qi,data:new Map,refCount:0}} -function Ti(a){a.refCount--;0===a.refCount&&Ri(Si,function(){a.controller.abort()})}var Ui=da.ReactCurrentBatchConfig,Vi=ma(null);function ki(){var a=Vi.current;return null!==a?a:P.pooledCache}function ji(a,b){null===b?E(Vi,Vi.current):E(Vi,b.pool)}function ui(){var a=ki();return null===a?null:{parent:li._currentValue,pool:a}}function Wi(a){a.flags|=4}function Xi(a){a.flags|=2097664} -function Yi(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(O&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(Zi())a.flags|=8192;else throw Ce=ye,xe;}function $i(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?Eb():1073741824,a.lanes|=b)} -function aj(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} +a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return si(a,b,c,d,f,e)} +function si(a,b,c,d,e,f){ki(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&qd(b,c,!1),ei(a,b,f);d=b.stateNode;$h.current=b;if(g&&"function"!==typeof c.getDerivedStateFromError){var h=null;vh=-1}else mb(b),h=d.render(),nb();b.flags|=1;null!==a&&g?(g=h,b.child=Se(b,a.child,null,f),b.child=Se(b,null,g,f)):bi(a,b,h,f);b.memoizedState=d.state;e&&qd(b,c,!0);return b.child} +function ti(a){var b=a.stateNode;b.pendingContext?nd(a,b.pendingContext,b.pendingContext!==b.context):b.context&&nd(a,b.context,!1);Oa(a,b.containerInfo)}function ui(a,b,c,d,e){Zd();$d(e);b.flags|=256;bi(a,b,c,d);return b.child}var vi={dehydrated:null,treeContext:null,retryLane:0};function wi(a){return{baseLanes:a,cachePool:xi()}} +function yi(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(cf.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?bf(b):ef(b);K&&((f=a=I,f)?Qd(b,f)||(Sd(b)&&Td(),I=Rd(f),g=H,I&&Qd(b,I)?Id(g,f):(Kd(H,b),K=!1,H=b,I=a)):(Sd(b)&&Td(),Kd(H,b),K=!1,H=b,I=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=536870912,null;ff(b)}a=d.children;f=d.fallback;if(e)return ef(b), +a=zi(b,a,f,c),b.child.memoizedState=wi(c),b.memoizedState=vi,a;if("number"===typeof d.unstable_expectedLoadTime)return ef(b),a=zi(b,a,f,c),b.child.memoizedState=wi(c),b.memoizedState=vi,b.lanes=4194304,a;bf(b);return Ai(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return Bi(a,b,f,d,h,g,c)}if(e){ef(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l,b.mode&2&&(d.actualDuration= +0,d.actualStartTime=-1,d.selfBaseDuration=g.selfBaseDuration,d.treeBaseDuration=g.treeBaseDuration),b.deletions=null):(d=Me(g,l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=Me(h,e):(e=Qe(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=wi(c):(g=f.cachePool,null!==g?(h=oi._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=xi(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState= +vi;return d}bf(b);e=a.child;a=e.sibling;d=Me(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function Ai(a,b){b=Ci({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b} +function zi(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b,a.mode&2&&(f.actualDuration=0,f.actualStartTime=-1,f.selfBaseDuration=0,f.treeBaseDuration=0)):f=Ci(b,e,0,null);c=Qe(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c}function Di(a,b,c,d){null!==d&&$d(d);Se(b,a.child,null,c);a=Ai(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} +function Bi(a,b,c,d,e,f,g){if(c){if(b.flags&256)return bf(b),b.flags&=-257,e=Lh(Error(t(422))),Di(a,b,g,e);if(null!==b.memoizedState)return ef(b),b.child=a.child,b.flags|=128,null;ef(b);e=d.fallback;f=b.mode;d=Ci({mode:"visible",children:d.children},f,0,null);e=Qe(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Se(b,a.child,null,g);b.child.memoizedState=wi(g);b.memoizedState=vi;return e}bf(b);if(0===(b.mode&1))return Di(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& +e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=Lh(f,e,void 0));return Di(a,b,g,f)}h=0!==(g&a.childLanes);if(wg||h){d=P;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break; +case 268435456:h=134217728;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,ie(a,h),Gg(d,a,h),ai;}"$?"!==e.data&&Wh();return Di(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=Ei.bind(null,a),e._reactRetry=b,null;a=f.treeContext;I=Nd(e.nextSibling);H=b;K=!0;Gd=null;Hd=!1;null!==a&&(xd[yd++]=Ad,xd[yd++]=Bd,xd[yd++]=zd,Ad=a.id,Bd=a.overflow,zd=b);b=Ai(b,d.children);b.flags|=4096;return b} +function Fi(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Gi(a.return,b,c)}function Hi(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} +function Ii(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;bi(a,b,d.children,c);d=cf.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Fi(a,c,b);else if(19===a.tag)Fi(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(cf,d);if(0===(b.mode&1))b.memoizedState= +null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===gf(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Hi(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===gf(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Hi(b,!0,c,null,f);break;case "together":Hi(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} +function ri(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function ei(a,b,c){null!==a&&(b.dependencies=a.dependencies);vh=-1;te|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=Me(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Me(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} +function Ji(a,b,c){switch(b.tag){case 3:ti(b);Ki(b,oi,a.memoizedState.cache);Zd();break;case 27:case 5:Sa(b);break;case 1:ld(b.type)&&pd(b);break;case 4:Oa(b,b.stateNode.containerInfo);break;case 10:Ki(b,b.type._context,b.memoizedProps.value);break;case 12:0!==(c&b.childLanes)&&(b.flags|=4);var d=b.stateNode;d.effectDuration=0;d.passiveEffectDuration=0;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return bf(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return yi(a,b,c); +bf(b);a=ei(a,b,c);return null!==a?a.sibling:null}bf(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return Ii(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(cf,cf.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,ji(a,b,c);case 24:Ki(b,oi,a.memoizedState.cache)}return ei(a,b,c)}var Li=ma(null),Mi=null,Ni=null,Oi=null;function Pi(){Oi=Ni=Mi=null} +function Ki(a,b,c){E(Li,b._currentValue);b._currentValue=c}function Qi(a){var b=Li.current;a._currentValue=b===Ea?a._defaultValue:b;D(Li)}function Gi(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} +function Ri(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=oe(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);Gi(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== +f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);Gi(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function di(a,b){Mi=a;Oi=Ni=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(wg=!0),a.firstContext=null)}function rg(a){return Si(Mi,a)}function Re(a,b,c){null===Mi&&di(a,c);return Si(a,b)} +function Si(a,b){var c=b._currentValue;if(Oi!==b)if(b={context:b,memoizedValue:c,next:null},null===Ni){if(null===a)throw Error(t(308));Ni=b;a.dependencies={lanes:0,firstContext:b}}else Ni=Ni.next=b;return c} +var Ti="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},Ui=ba.unstable_scheduleCallback,Vi=ba.unstable_NormalPriority,oi={$$typeof:ta,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function oh(){return{controller:new Ti,data:new Map,refCount:0}} +function Wi(a){a.refCount--;0===a.refCount&&Ui(Vi,function(){a.controller.abort()})}var Xi=da.ReactCurrentBatchConfig,Yi=ma(null);function ni(){var a=Yi.current;return null!==a?a:P.pooledCache}function mi(a,b){null===b?E(Yi,Yi.current):E(Yi,b.pool)}function xi(){var a=ni();return null===a?null:{parent:oi._currentValue,pool:a}}function Zi(a){a.flags|=4}function $i(a){a.flags|=2097664} +function aj(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(O&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(bj())a.flags|=8192;else throw De=ze,ye;}function cj(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?Db():536870912,a.lanes|=b)} +function dj(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} function V(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)if(0!==(a.mode&2)){for(var e=a.selfBaseDuration,f=a.child;null!==f;)c|=f.lanes|f.childLanes,d|=f.subtreeFlags&31457280,d|=f.flags&31457280,e+=f.treeBaseDuration,f=f.sibling;a.treeBaseDuration=e}else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else if(0!==(a.mode&2)){e=a.actualDuration;f=a.selfBaseDuration;for(var g=a.child;null!==g;)c|=g.lanes| g.childLanes,d|=g.subtreeFlags,d|=g.flags,e+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;a.actualDuration=e;a.treeBaseDuration=f}else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b} -function bj(a,b,c){var d=b.pendingProps;Ed(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(b),null;case 1:return kd(b.type)&&ld(),V(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);Ni(li);Ra();D(hd);D(gd);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Vd(b)?Wi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= -1024,null!==Fd&&(cj(Fd),Fd=null));V(b);return null;case 26:c=b.memoizedState;if(null===a)Wi(b),null!==b.ref&&Xi(b),null!==c?(V(b),Yi(b,c)):(V(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&Wi(b);a.ref!==b.ref&&Xi(b);null!==c?(V(b),c===e?b.flags&=-16777217:Yi(b,c)):(a.memoizedProps!==d&&Wi(b),V(b),b.flags&=-16777217)}return null;case 27:Ta(b);c=La.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Wi(b),a.ref!==b.ref&&Xi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); -V(b);return null}a=Ja.current;Vd(b)?dj(b.stateNode,b.type,b.memoizedProps,a,b):(a=ej(e,d,c),b.stateNode=a,Wi(b));null!==b.ref&&Xi(b)}V(b);return null;case 5:Ta(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Wi(b),a.ref!==b.ref&&Xi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));V(b);return null}a=Ja.current;if(Vd(b))dj(b.stateNode,b.type,b.memoizedProps,a,b);else{e=fj(La.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", +function ej(a,b,c){var d=b.pendingProps;Fd(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(b),null;case 1:return ld(b.type)&&md(),V(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);Qi(oi);Ra();D(id);D(hd);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Wd(b)?Zi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= +1024,null!==Gd&&(fj(Gd),Gd=null));V(b);return null;case 26:c=b.memoizedState;if(null===a)Zi(b),null!==b.ref&&$i(b),null!==c?(V(b),aj(b,c)):(V(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&Zi(b);a.ref!==b.ref&&$i(b);null!==c?(V(b),c===e?b.flags&=-16777217:aj(b,c)):(a.memoizedProps!==d&&Zi(b),V(b),b.flags&=-16777217)}return null;case 27:Ta(b);c=La.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Zi(b),a.ref!==b.ref&&$i(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); +V(b);return null}a=Ja.current;Wd(b)?gj(b.stateNode,b.type,b.memoizedProps,a,b):(a=hj(e,d,c),b.stateNode=a,Zi(b));null!==b.ref&&$i(b)}V(b);return null;case 5:Ta(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Zi(b),a.ref!==b.ref&&$i(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));V(b);return null}a=Ja.current;if(Wd(b))gj(b.stateNode,b.type,b.memoizedProps,a,b);else{e=ij(La.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", c);break;default:switch(c){case "svg":a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case "math":a=e.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case "script":a=e.createElement("div");a.innerHTML="