ontextTypes = /* @__PURE__ */ new Set(); var didWarnAboutInvalidateContextType = /* @__PURE__ */ new Set(); var didWarnOnInvalidCallback = /* @__PURE__ */ new Set(); Object.freeze(fakeInternalInstance); var classComponentUpdater = { isMounted: function(component) { var owner = current; if (null !== owner && isRendering && 1 === owner.tag) { var instance = owner.stateNode; instance._warnedAboutRefsInRender || console.error( "%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", getComponentNameFromFiber(owner) || "A component" ); instance._warnedAboutRefsInRender = true; } return (component = component._reactInternals) ? getNearestMountedFiber(component) === component : false; }, enqueueSetState: function(inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(inst), update = createUpdate(lane); update.payload = payload; void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function(inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(inst), update = createUpdate(lane); update.tag = ReplaceState; update.payload = payload; void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function(inst, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(inst), update = createUpdate(lane); update.tag = ForceUpdate; void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), update.callback = callback); callback = enqueueUpdate(inst, update, lane); null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markForceUpdateScheduled && injectedProfilingHooks.markForceUpdateScheduled(inst, lane); } }, reportGlobalError = "function" === typeof reportError ? reportError : function(error) { if ("object" === typeof window && "function" === typeof window.ErrorEvent) { var event = new window.ErrorEvent("error", { bubbles: true, cancelable: true, message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), error }); if (!window.dispatchEvent(event)) return; } else if ("object" === typeof process && "function" === typeof process.emit) { process.emit("uncaughtException", error); return; } console.error(error); }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error( "This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue." ), didReceiveUpdate = false; var didWarnAboutBadClass = {}; var didWarnAboutContextTypeOnFunctionComponent = {}; var didWarnAboutContextTypes = {}; var didWarnAboutGetDerivedStateOnFunctionComponent = {}; var didWarnAboutReassigningProps = false; var didWarnAboutRevealOrder = {}; var didWarnAboutTailOptions = {}; var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0 }, hasWarnedAboutUsingNoValuePropOnContextProvider = false, valueCursor = createCursor(null); var rendererCursorDEV = createCursor(null); var rendererSigil = {}; var currentlyRenderingFiber = null, lastContextDependency = null, isDisallowedContextReadInDEV = false, UpdateState = 0, ReplaceState = 1, ForceUpdate = 2, CaptureUpdate = 3, hasForceUpdate = false; var didWarnUpdateInsideUpdate = false; var currentlyProcessingQueue = null; var didReadFromEntangledAsyncAction = false, didWarnAboutUndefinedSnapshotBeforeUpdate = null; didWarnAboutUndefinedSnapshotBeforeUpdate = /* @__PURE__ */ new Set(); var offscreenSubtreeIsHidden = false, offscreenSubtreeWasHidden = false, needsFormReset = false, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, inProgressRoot = null, shouldFireAfterActiveInstanceBlur = false, hostParent = null, hostParentIsContainer = false, currentHoistableRoot = null, suspenseyCommitFlag = 8192; var hasBadMapPolyfill = false; try { var nonExtensibleObject = Object.preventExtensions({}); /* @__PURE__ */ new Map([[nonExtensibleObject, null]]); /* @__PURE__ */ new Set([nonExtensibleObject]); } catch (e$7) { hasBadMapPolyfill = true; } var DefaultAsyncDispatcher = { getCacheForType: function(resourceType) { var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType); void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType)); return cacheForType; }, getOwner: function() { return current; } }; if ("function" === typeof Symbol && Symbol.for) { var symbolFor = Symbol.for; symbolFor("selector.component"); symbolFor("selector.has_pseudo_class"); symbolFor("selector.role"); symbolFor("selector.test_id"); symbolFor("selector.text"); } var commitHooks = [], PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, NoContext = 0, RenderContext = 2, CommitContext = 4, RootInProgress = 0, RootFatalErrored = 1, RootErrored = 2, RootSuspended = 3, RootSuspendedWithDelay = 4, RootCompleted = 5, RootDidNotComplete = 6, executionContext = NoContext, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, NotSuspended = 0, SuspendedOnError = 1, SuspendedOnData = 2, SuspendedOnImmediate = 3, SuspendedOnInstance = 4, SuspendedOnInstanceAndReadyToContinue = 5, SuspendedOnDeprecatedThrowPromise = 6, SuspendedAndReadyToContinue = 7, SuspendedOnHydration = 8, workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = false, workInProgressRootIsPrerendering = false, workInProgressRootDidAttachPingListener = false, entangledRenderLanes = 0, workInProgressRootExitStatus = RootInProgress, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = false, globalMostRecentFallbackTime = 0, FALLBACK_THROTTLE_MS = 300, workInProgressRootRenderTargetTime = Infinity, RENDER_TIMEOUT_MS = 500, workInProgressTransitions = null, legacyErrorBoundariesThatAlreadyFailed = null, rootDoesHavePassiveEffects = false, rootWithPendingPassiveEffects = null, pendingPassiveEffectsLanes = 0, pendingPassiveEffectsRemainingLanes = 0, pendingPassiveTransitions = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, rootWithNestedUpdates = null, isFlushingPassiveEffects = false, didScheduleUpdateDuringPassiveEffects = false, NESTED_PASSIVE_UPDATE_LIMIT = 50, nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = false, IMMEDIATE_COMMIT = 0, SUSPENDED_COMMIT = 1, THROTTLED_COMMIT = 2, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = false; var didWarnAboutUpdateInRenderForAnotherComponent = /* @__PURE__ */ new Set(); var fakeActCallbackNode$1 = {}, firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = false, didScheduleMicrotask_act = false, mightHavePendingSyncWork = false, isFlushingWork = false, currentEventTransitionLane = 0, fakeActCallbackNode = {}; (function() { for (var i = 0; i < simpleEventPluginEvents.length; i++) { var eventName = simpleEventPluginEvents[i], domEventName = eventName.toLowerCase(); eventName = eventName[0].toUpperCase() + eventName.slice(1); registerSimpleEvent(domEventName, "on" + eventName); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); registerSimpleEvent(ANIMATION_ITERATION, "onAnimationIteration"); registerSimpleEvent(ANIMATION_START, "onAnimationStart"); registerSimpleEvent("dblclick", "onDoubleClick"); registerSimpleEvent("focusin", "onFocus"); registerSimpleEvent("focusout", "onBlur"); registerSimpleEvent(TRANSITION_RUN, "onTransitionRun"); registerSimpleEvent(TRANSITION_START, "onTransitionStart"); registerSimpleEvent(TRANSITION_CANCEL, "onTransitionCancel"); registerSimpleEvent(TRANSITION_END, "onTransitionEnd"); })(); registerDirectEvent("onMouseEnter", ["mouseout", "mouseover"]); registerDirectEvent("onMouseLeave", ["mouseout", "mouseover"]); registerDirectEvent("onPointerEnter", ["pointerout", "pointerover"]); registerDirectEvent("onPointerLeave", ["pointerout", "pointerover"]); registerTwoPhaseEvent( "onChange", "change click focusin focusout input keydown keyup selectionchange".split( " " ) ); registerTwoPhaseEvent( "onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split( " " ) ); registerTwoPhaseEvent("onBeforeInput", [ "compositionend", "keypress", "textInput", "paste" ]); registerTwoPhaseEvent( "onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ") ); registerTwoPhaseEvent( "onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ") ); registerTwoPhaseEvent( "onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ") ); var mediaEventTypes = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split( " " ), nonDelegatedEvents = new Set( "beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mediaEventTypes) ), listeningMarker = "_reactListening" + Math.random().toString(36).slice(2), didWarnControlledToUncontrolled = false, didWarnUncontrolledToControlled = false, didWarnFormActionType = false, didWarnFormActionName = false, didWarnFormActionTarget = false, didWarnFormActionMethod = false, didWarnPopoverTargetObject = false; var didWarnForNewBooleanPropsWithEmptyValue = {}; var canDiffStyleForHydrationWarning = true; var NORMALIZE_NEWLINES_REGEX = /\r\n?/g, NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g, xlinkNamespace = "http://www.w3.org/1999/xlink", xmlNamespace = "http://www.w3.org/XML/1998/namespace", EXPECTED_FORM_ACTION_URL = "javascript:throw new Error('React form unexpectedly submitted.')", SUPPRESS_HYDRATION_WARNING = "suppressHydrationWarning", SUSPENSE_START_DATA = "$", SUSPENSE_END_DATA = "/$", SUSPENSE_PENDING_START_DATA = "$?", SUSPENSE_FALLBACK_START_DATA = "$!", FORM_STATE_IS_MATCHING = "F!", FORM_STATE_IS_NOT_MATCHING = "F", STYLE = "style", HostContextNamespaceNone = 0, HostContextNamespaceSvg = 1, HostContextNamespaceMath = 2, eventsEnabled = null, selectionInformation = null, warnedUnknownTags = { dialog: true, webview: true }, currentPopstateTransitionEvent = null, scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0, cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0, noTimeout = -1, localPromise = "function" === typeof Promise ? Promise : void 0, scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof localPromise ? function(callback) { return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick); } : scheduleTimeout, NotLoaded = 0, Loaded = 1, Errored = 2, Settled = 3, Inserted = 4, preloadPropsMap = /* @__PURE__ */ new Map(), preconnectsSet = /* @__PURE__ */ new Set(), previousDispatcher = ReactDOMSharedInternals.d; ReactDOMSharedInternals.d = { f: function() { var previousWasRendering = previousDispatcher.f(), wasRendering = flushSyncWork$1(); return previousWasRendering || wasRendering; }, r: function(form) { var formInst = getInstanceFromNode(form); null !== formInst && 5 === formInst.tag && "form" === formInst.type ? requestFormReset$1(formInst) : previousDispatcher.r(form); }, D: function(href) { previousDispatcher.D(href); preconnectAs("dns-prefetch", href, null); }, C: function(href, crossOrigin) { previousDispatcher.C(href, crossOrigin); preconnectAs("preconnect", href, crossOrigin); }, L: function(href, as, options) { previousDispatcher.L(href, as, options); var ownerDocument = globalDocument; if (ownerDocument && href && as) { var preloadSelector = 'link[rel="preload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"]'; "image" === as ? options && options.imageSrcSet ? (preloadSelector += '[imagesrcset="' + escapeSelectorAttributeValueInsideDoubleQuotes( options.imageSrcSet ) + '"]', "string" === typeof options.imageSizes && (preloadSelector += '[imagesizes="' + escapeSelectorAttributeValueInsideDoubleQuotes( options.imageSizes ) + '"]')) : preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]' : preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]'; var key = preloadSelector; switch (as) { case "style": key = getStyleKey(href); break; case "script": key = getScriptKey(href); } preloadPropsMap.has(key) || (href = assign( { rel: "preload", href: "image" === as && options && options.imageSrcSet ? void 0 : href, as }, options ), preloadPropsMap.set(key, href), null !== ownerDocument.querySelector(preloadSelector) || "style" === as && ownerDocument.querySelector( getStylesheetSelectorFromKey(key) ) || "script" === as && ownerDocument.querySelector(getScriptSelectorFromKey(key)) || (as = ownerDocument.createElement("link"), setInitialProperties(as, "link", href), markNodeAsHoistable(as), ownerDocument.head.appendChild(as))); } }, m: function(href, options) { previousDispatcher.m(href, options); var ownerDocument = globalDocument; if (ownerDocument && href) { var as = options && "string" === typeof options.as ? options.as : "script", preloadSelector = 'link[rel="modulepreload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"][href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]', key = preloadSelector; switch (as) { case "audioworklet": case "paintworklet": case "serviceworker": case "sharedworker": case "worker": case "script": key = getScriptKey(href); } if (!preloadPropsMap.has(key) && (href = assign({ rel: "modulepreload", href }, options), preloadPropsMap.set(key, href), null === ownerDocument.querySelector(preloadSelector))) { switch (as) { case "audioworklet": case "paintworklet": case "serviceworker": case "sharedworker": case "worker": case "script": if (ownerDocument.querySelector(getScriptSelectorFromKey(key))) return; } as = ownerDocument.createElement("link"); setInitialProperties(as, "link", href); markNodeAsHoistable(as); ownerDocument.head.appendChild(as); } } }, X: function(src, options) { previousDispatcher.X(src, options); var ownerDocument = globalDocument; if (ownerDocument && src) { var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); resource || (resource = ownerDocument.querySelector( getScriptSelectorFromKey(key) ), resource || (src = assign({ src, async: true }, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = { type: "script", instance: resource, count: 1, state: null }, scripts.set(key, resource)); } }, S: function(href, precedence, options) { previousDispatcher.S(href, precedence, options); var ownerDocument = globalDocument; if (ownerDocument && href) { var styles = getResourcesFromRoot(ownerDocument).hoistableStyles, key = getStyleKey(href); precedence = precedence || "default"; var resource = styles.get(key); if (!resource) { var state = { loading: NotLoaded, preload: null }; if (resource = ownerDocument.querySelector( getStylesheetSelectorFromKey(key) )) state.loading = Loaded | Inserted; else { href = assign( { rel: "stylesheet", href, "data-precedence": precedence }, options ); (options = preloadPropsMap.get(key)) && adoptPreloadPropsForStylesheet(href, options); var link = resource = ownerDocument.createElement("link"); markNodeAsHoistable(link); setInitialProperties(link, "link", href); link._p = new Promise(function(resolve, reject) { link.onload = resolve; link.onerror = reject; }); link.addEventListener("load", function() { state.loading |= Loaded; }); link.addEventListener("error", function() { state.loading |= Errored; }); state.loading |= Inserted; insertStylesheet(resource, precedence, ownerDocument); } resource = { type: "stylesheet", instance: resource, count: 1, state }; styles.set(key, resource); } } }, M: function(src, options) { previousDispatcher.M(src, options); var ownerDocument = globalDocument; if (ownerDocument && src) { var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); resource || (resource = ownerDocument.querySelector( getScriptSelectorFromKey(key) ), resource || (src = assign({ src, async: true, type: "module" }, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = { type: "script", instance: resource, count: 1, state: null }, scripts.set(key, resource)); } } }; var globalDocument = "undefined" === typeof document ? null : document, tagCaches = null, suspendedState = null, LAST_PRECEDENCE = null, precedencesByRoot = null, NotPendingTransition = NotPending, HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, Provider: null, Consumer: null, _currentValue: NotPendingTransition, _currentValue2: NotPendingTransition, _threadCount: 0 }, badgeFormat = "%c%s%c ", badgeStyle = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", resetStyle = "", pad = " ", bind = Function.prototype.bind; var didWarnAboutNestedUpdates = false; var overrideHookState = null, overrideHookStateDeletePath = null, overrideHookStateRenamePath = null, overrideProps = null, overridePropsDeletePath = null, overridePropsRenamePath = null, scheduleUpdate = null, setErrorHandler = null, setSuspenseHandler = null; overrideHookState = function(fiber, id, path, value) { id = findHook(fiber, id); null !== id && (path = copyWithSetImpl(id.memoizedState, path, 0, value), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2)); }; overrideHookStateDeletePath = function(fiber, id, path) { id = findHook(fiber, id); null !== id && (path = copyWithDeleteImpl(id.memoizedState, path, 0), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2)); }; overrideHookStateRenamePath = function(fiber, id, oldPath, newPath) { id = findHook(fiber, id); null !== id && (oldPath = copyWithRename(id.memoizedState, oldPath, newPath), id.memoizedState = oldPath, id.baseState = oldPath, fiber.memoizedProps = assign({}, fiber.memoizedProps), oldPath = enqueueConcurrentRenderForLane(fiber, 2), null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2)); }; overrideProps = function(fiber, path, value) { fiber.pendingProps = copyWithSetImpl(fiber.memoizedProps, path, 0, value); fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); path = enqueueConcurrentRenderForLane(fiber, 2); null !== path && scheduleUpdateOnFiber(path, fiber, 2); }; overridePropsDeletePath = function(fiber, path) { fiber.pendingProps = copyWithDeleteImpl(fiber.memoizedProps, path, 0); fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); path = enqueueConcurrentRenderForLane(fiber, 2); null !== path && scheduleUpdateOnFiber(path, fiber, 2); }; overridePropsRenamePath = function(fiber, oldPath, newPath) { fiber.pendingProps = copyWithRename( fiber.memoizedProps, oldPath, newPath ); fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps); oldPath = enqueueConcurrentRenderForLane(fiber, 2); null !== oldPath && scheduleUpdateOnFiber(oldPath, fiber, 2); }; scheduleUpdate = function(fiber) { var root2 = enqueueConcurrentRenderForLane(fiber, 2); null !== root2 && scheduleUpdateOnFiber(root2, fiber, 2); }; setErrorHandler = function(newShouldErrorImpl) { shouldErrorImpl = newShouldErrorImpl; }; setSuspenseHandler = function(newShouldSuspendImpl) { shouldSuspendImpl = newShouldSuspendImpl; }; var _enabled = true, return_targetInst = null, hasScheduledReplayAttempt = false, queuedFocus = null, queuedDrag = null, queuedMouse = null, queuedPointers = /* @__PURE__ */ new Map(), queuedPointerCaptures = /* @__PURE__ */ new Map(), queuedExplicitHydrationTargets = [], discreteReplayableEvents = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split( " " ), lastScheduledReplayQueue = null; ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function(children, JSCompiler_OptimizeArgumentsArray_p2) { var root2 = this._internalRoot; if (null === root2) throw Error("Cannot update an unmounted root."); "function" === typeof JSCompiler_OptimizeArgumentsArray_p2 ? console.error( "does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()." ) : isValidContainer(JSCompiler_OptimizeArgumentsArray_p2) ? console.error( "You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root." ) : "undefined" !== typeof JSCompiler_OptimizeArgumentsArray_p2 && console.error( "You passed a second argument to root.render(...) but it only accepts one argument." ); JSCompiler_OptimizeArgumentsArray_p2 = root2.current; var lane = requestUpdateLane(JSCompiler_OptimizeArgumentsArray_p2); updateContainerImpl( JSCompiler_OptimizeArgumentsArray_p2, lane, children, root2, null, null ); }; ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function(JSCompiler_OptimizeArgumentsArray_p3) { "function" === typeof JSCompiler_OptimizeArgumentsArray_p3 && console.error( "does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p3 = this._internalRoot; if (null !== JSCompiler_OptimizeArgumentsArray_p3) { this._internalRoot = null; var container = JSCompiler_OptimizeArgumentsArray_p3.containerInfo; (executionContext & (RenderContext | CommitContext)) !== NoContext && console.error( "Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition." ); updateContainerSync( null, JSCompiler_OptimizeArgumentsArray_p3, null, null ); flushSyncWork$1(); container[internalContainerInstanceKey] = null; } }; ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function(target) { if (target) { var updatePriority = resolveUpdatePriority(); target = { blockedOn: null, target, priority: updatePriority }; for (var i = 0; i < queuedExplicitHydrationTargets.length && 0 !== updatePriority && updatePriority < queuedExplicitHydrationTargets[i].priority; i++) ; queuedExplicitHydrationTargets.splice(i, 0, target); 0 === i && attemptExplicitHydrationTarget(target); } }; (function() { var isomorphicReactPackageVersion = React.version; if ("19.0.0" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.0.0\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); "function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error( "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills" ); ReactDOMSharedInternals.findDOMNode = function(componentOrElement) { var fiber = componentOrElement._reactInternals; if (void 0 === fiber) { if ("function" === typeof componentOrElement.render) throw Error("Unable to find node on an unmounted component."); componentOrElement = Object.keys(componentOrElement).join(","); throw Error( "Argument appears to not be a ReactComponent. Keys: " + componentOrElement ); } componentOrElement = findCurrentFiberUsingSlowPath(fiber); componentOrElement = null !== componentOrElement ? findCurrentHostFiberImpl(componentOrElement) : null; componentOrElement = null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; if (!function() { var internals = { bundleType: 1, version: "19.0.0", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, reconcilerVersion: "19.0.0" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; internals.overrideHookStateRenamePath = overrideHookStateRenamePath; internals.overrideProps = overrideProps; internals.overridePropsDeletePath = overridePropsDeletePath; internals.overridePropsRenamePath = overridePropsRenamePath; internals.scheduleUpdate = scheduleUpdate; internals.setErrorHandler = setErrorHandler; internals.setSuspenseHandler = setSuspenseHandler; internals.scheduleRefresh = scheduleRefresh; internals.scheduleRoot = scheduleRoot; internals.setRefreshHandler = setRefreshHandler; internals.getCurrentFiber = getCurrentFiberForDevTools; internals.getLaneLabelMap = getLaneLabelMap; internals.injectProfilingHooks = injectProfilingHooks; return injectInternals(internals); }() && canUseDOM && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && -1 === navigator.userAgent.indexOf("Edge") || -1 < navigator.userAgent.indexOf("Firefox"))) { var protocol = window.location.protocol; /^(https?|file):$/.test(protocol) && console.info( "%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools" + ("file:" === protocol ? "\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq" : ""), "font-weight:bold" ); } exports.createRoot = function(container, options) { if (!isValidContainer(container)) throw Error("Target container is not a DOM element."); warnIfReactDOMContainerInDEV(container); var isStrictMode = false, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, transitionCallbacks = null; null !== options && void 0 !== options && (options.hydrate ? console.warn( "hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, ) instead." ) : "object" === typeof options && null !== options && options.$$typeof === REACT_ELEMENT_TYPE && console.error( "You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render();" ), true === options.unstable_strictMode && (isStrictMode = true), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks)); options = createFiberRoot( container, 1, false, null, null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, null ); container[internalContainerInstanceKey] = options.current; listenToAllSupportedEvents( 8 === container.nodeType ? container.parentNode : container ); return new ReactDOMRoot(options); }; exports.hydrateRoot = function(container, initialChildren, options) { if (!isValidContainer(container)) throw Error("Target container is not a DOM element."); warnIfReactDOMContainerInDEV(container); void 0 === initialChildren && console.error( "Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, )" ); var isStrictMode = false, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, transitionCallbacks = null, formState = null; null !== options && void 0 !== options && (true === options.unstable_strictMode && (isStrictMode = true), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks), void 0 !== options.formState && (formState = options.formState)); initialChildren = createFiberRoot( container, 1, true, initialChildren, null != options ? options : null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, formState ); initialChildren.context = getContextForSubtree(null); options = initialChildren.current; isStrictMode = requestUpdateLane(options); identifierPrefix = createUpdate(isStrictMode); identifierPrefix.callback = null; enqueueUpdate(options, identifierPrefix, isStrictMode); initialChildren.current.lanes = isStrictMode; markRootUpdated$1(initialChildren, isStrictMode); ensureRootIsScheduled(initialChildren); container[internalContainerInstanceKey] = initialChildren.current; listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; exports.version = "19.0.0"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); })(); } }); // node_modules/react-dom/client.js var require_client = __commonJS({ "node_modules/react-dom/client.js"(exports, module) { if (false) { checkDCE(); module.exports = null; } else { module.exports = require_react_dom_client_development(); } } }); export default require_client(); /*! Bundled license information: scheduler/cjs/scheduler.development.js: (** * @license React * scheduler.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) react-dom/cjs/react-dom-client.development.js: (** * @license React * react-dom-client.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */ //# sourceMappingURL=react-dom_client.js.map Ә