{"version":3,"file":"dev-validation-worker-experimental.runtime.dev.js","sources":["webpack://next/./src/build/webpack/alias/react-dom-server-experimental.js","webpack://next/./dist/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js","webpack://next/./dist/compiled/react-dom-experimental/cjs/react-dom.development.js","webpack://next/./dist/compiled/react-dom-experimental/index.js","webpack://next/./dist/compiled/react-dom-experimental/static.node.js","webpack://next/./dist/compiled/react-experimental/cjs/react.development.js","webpack://next/./dist/compiled/react-experimental/index.js","webpack://next/./dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js","webpack://next/./dist/compiled/react-server-dom-webpack-experimental/client.node.js","webpack://next/./src/lib/scheduler.ts","webpack://next/./src/next-devtools/server/shared.ts","webpack://next/./src/shared/lib/errors/code-frame.ts","webpack://next/./src/shared/lib/router/utils/path-has-prefix.ts","webpack://next/./src/shared/lib/router/utils/parse-path.ts","webpack://next/./src/shared/lib/utils/reflect-utils.ts","webpack://next/./src/server/app-render/manifests-singleton.ts","webpack://next/./src/shared/lib/router/utils/remove-path-prefix.ts","webpack://next/./src/shared/lib/server-reference-info.ts","webpack://next/./src/lib/detached-promise.ts","webpack://next/./src/server/stream-utils/encoded-tags.ts","webpack://next/./src/server/stream-utils/uint8array-helpers.ts","webpack://next/./src/shared/lib/router/utils/cache-busting-search-param.ts","webpack://next/./src/server/stream-utils/node-web-streams-helper.ts","webpack://next/./src/server/stream-utils/node-buffered-transform-stream.ts","webpack://next/./src/shared/lib/htmlescape.ts","webpack://next/./src/server/app-render/use-flight-response.tsx","webpack://next/./src/server/app-render/app-render-prerender-utils.ts","webpack://next/./src/server/app-render/stream-ops.web.ts","webpack://next/./src/server/app-render/stream-ops.node.ts","webpack://next/./src/server/node-environment-extensions/web-crypto.tsx","webpack://next/./src/server/app-render/stream-ops.ts","webpack://next/./src/server/require-hook.ts","webpack://next/./src/server/app-render/staged-rendering.ts","webpack://next/./src/server/node-environment-extensions/date.tsx","webpack://next/./src/server/node-environment-extensions/error-inspect.tsx","webpack://next/./src/server/dev/browser-logs/file-logger.ts","webpack://next/./src/client/lib/console.ts","webpack://next/./src/server/node-environment-extensions/console-file.tsx","webpack://next/./src/server/node-environment-extensions/console-exit.tsx","webpack://next/./src/server/dynamic-rendering-utils.ts","webpack://next/./src/server/app-render/dynamic-rendering.ts","webpack://next/./src/server/app-render/sync-io-messages.ts","webpack://next/./src/server/node-environment-extensions/io-utils.tsx","webpack://next/./src/server/node-environment-extensions/random.tsx","webpack://next/./src/server/node-environment-extensions/node-crypto.tsx","webpack://next/./src/shared/lib/constants.ts","webpack://next/./src/shared/lib/i18n/normalize-locale-path.ts","webpack://next/./src/shared/lib/router/utils/interception-routes.ts","webpack://next/./src/shared/lib/router/utils/is-dynamic.ts","webpack://next/./src/shared/lib/utils.ts","webpack://next/./src/shared/lib/page-path/normalize-path-sep.ts","webpack://next/./src/server/require.ts","webpack://next/./src/shared/lib/page-path/denormalize-page-path.ts","webpack://next/./src/shared/lib/page-path/normalize-page-path.ts","webpack://next/./src/lib/interop-default.ts","webpack://next/./src/lib/wait.ts","webpack://next/./src/lib/metadata/is-metadata-route.ts","webpack://next/./src/server/load-components.ts","webpack://next/./src/lib/is-app-route-route.ts","webpack://next/./src/lib/error-telemetry-utils.ts","webpack://next/./src/server/app-render/dev-validation-error-delivery.ts","webpack://next/./src/server/app-render/dev-validation-events.ts","webpack://next/./src/lib/realpath.ts","webpack://next/./src/server/dev/require-cache.ts","webpack://next/./src/server/dev/dev-validation-worker.ts","webpack://next/./src/lib/is-error.ts","webpack://next/./src/server/lib/install-code-frame.ts","webpack://next/./src/server/setup-http-agent-env.ts","webpack://next/./src/server/lib/lru-cache.ts","webpack://next/./src/server/lib/source-maps.ts","webpack://next/./src/server/lib/trace/constants.ts","webpack://next/./src/server/node-environment-baseline.ts","webpack://next/./src/lib/picocolors.ts","webpack://next/./src/server/lib/parse-stack.ts","webpack://next/./src/server/patch-error-inspect.ts","webpack://next/./src/shared/lib/invariant-error.ts","webpack://next/./src/shared/lib/modern-browserslist-target.js","webpack://next/./src/shared/lib/page-path/ensure-leading-slash.ts","webpack://next/./src/shared/lib/router/utils/app-paths.ts","webpack://next/./src/shared/lib/segment.ts","webpack://next/webpack/runtime/compat_get_default_export","webpack://next/webpack/runtime/define_property_getters","webpack://next/webpack/runtime/ensure_chunk","webpack://next/webpack/runtime/has_own_property","webpack://next/webpack/runtime/make_namespace_object","webpack://next/webpack/runtime/node_module_decorator"],"sourcesContent":["const ERROR_MESSAGE =\n  'Internal Error: do not use legacy react-dom/server APIs. If you encountered this error, please open an issue on the Next.js repo.'\n\nfunction error() {\n  throw new Error(ERROR_MESSAGE)\n}\n\nvar b\nif (process.env.NEXT_RUNTIME === 'nodejs') {\n  if (process.env.NODE_ENV === 'production') {\n    b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js')\n  } else {\n    b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js')\n  }\n} else {\n  if (process.env.NODE_ENV === 'production') {\n    b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js')\n  } else {\n    b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js')\n  }\n}\n\nexports.version = b.version\nexports.renderToReadableStream = b.renderToReadableStream\nexports.renderToString = error\nexports.renderToStaticMarkup = error\nif (b.resume) {\n  exports.resume = b.resume\n}\nif (b.renderToPipeableStream) {\n  exports.renderToPipeableStream = b.renderToPipeableStream\n}\nif (b.resumeToPipeableStream) {\n  exports.resumeToPipeableStream = b.resumeToPipeableStream\n}\n","/**\n * @license React\n * react-dom-server.node.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n  (function () {\n    function styleReplacer(match, prefix, s, suffix) {\n      return \"\" + prefix + (\"s\" === s ? \"\\\\73 \" : \"\\\\53 \") + suffix;\n    }\n    function scriptReplacer(match, prefix, s, suffix) {\n      return \"\" + prefix + (\"s\" === s ? \"\\\\u0073\" : \"\\\\u0053\") + suffix;\n    }\n    function getIteratorFn(maybeIterable) {\n      if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n        return null;\n      maybeIterable =\n        (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n        maybeIterable[\"@@iterator\"];\n      return \"function\" === typeof maybeIterable ? maybeIterable : null;\n    }\n    function objectName(object) {\n      object = Object.prototype.toString.call(object);\n      return object.slice(8, object.length - 1);\n    }\n    function describeKeyForErrorMessage(key) {\n      var encodedKey = JSON.stringify(key);\n      return '\"' + key + '\"' === encodedKey ? key : encodedKey;\n    }\n    function describeValueForErrorMessage(value) {\n      switch (typeof value) {\n        case \"string\":\n          return JSON.stringify(\n            10 >= value.length ? value : value.slice(0, 10) + \"...\"\n          );\n        case \"object\":\n          if (isArrayImpl(value)) return \"[...]\";\n          if (null !== value && value.$$typeof === CLIENT_REFERENCE_TAG)\n            return \"client\";\n          value = objectName(value);\n          return \"Object\" === value ? \"{...}\" : value;\n        case \"function\":\n          return value.$$typeof === CLIENT_REFERENCE_TAG\n            ? \"client\"\n            : (value = value.displayName || value.name)\n              ? \"function \" + value\n              : \"function\";\n        default:\n          return String(value);\n      }\n    }\n    function describeElementType(type) {\n      if (\"string\" === typeof type) return type;\n      switch (type) {\n        case REACT_SUSPENSE_TYPE:\n          return \"Suspense\";\n        case REACT_SUSPENSE_LIST_TYPE:\n          return \"SuspenseList\";\n        case REACT_VIEW_TRANSITION_TYPE:\n          return \"ViewTransition\";\n      }\n      if (\"object\" === typeof type)\n        switch (type.$$typeof) {\n          case REACT_FORWARD_REF_TYPE:\n            return describeElementType(type.render);\n          case REACT_MEMO_TYPE:\n            return describeElementType(type.type);\n          case REACT_LAZY_TYPE:\n            var payload = type._payload;\n            type = type._init;\n            try {\n              return describeElementType(type(payload));\n            } catch (x) {}\n        }\n      return \"\";\n    }\n    function describeObjectForErrorMessage(objectOrArray, expandedName) {\n      var objKind = objectName(objectOrArray);\n      if (\"Object\" !== objKind && \"Array\" !== objKind) return objKind;\n      var start = -1,\n        length = 0;\n      if (isArrayImpl(objectOrArray))\n        if (jsxChildrenParents.has(objectOrArray)) {\n          var type = jsxChildrenParents.get(objectOrArray);\n          objKind = \"<\" + describeElementType(type) + \">\";\n          for (var i = 0; i < objectOrArray.length; i++) {\n            var value = objectOrArray[i];\n            value =\n              \"string\" === typeof value\n                ? value\n                : \"object\" === typeof value && null !== value\n                  ? \"{\" + describeObjectForErrorMessage(value) + \"}\"\n                  : \"{\" + describeValueForErrorMessage(value) + \"}\";\n            \"\" + i === expandedName\n              ? ((start = objKind.length),\n                (length = value.length),\n                (objKind += value))\n              : (objKind =\n                  15 > value.length && 40 > objKind.length + value.length\n                    ? objKind + value\n                    : objKind + \"{...}\");\n          }\n          objKind += \"</\" + describeElementType(type) + \">\";\n        } else {\n          objKind = \"[\";\n          for (type = 0; type < objectOrArray.length; type++)\n            0 < type && (objKind += \", \"),\n              (i = objectOrArray[type]),\n              (i =\n                \"object\" === typeof i && null !== i\n                  ? describeObjectForErrorMessage(i)\n                  : describeValueForErrorMessage(i)),\n              \"\" + type === expandedName\n                ? ((start = objKind.length),\n                  (length = i.length),\n                  (objKind += i))\n                : (objKind =\n                    10 > i.length && 40 > objKind.length + i.length\n                      ? objKind + i\n                      : objKind + \"...\");\n          objKind += \"]\";\n        }\n      else if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE)\n        objKind = \"<\" + describeElementType(objectOrArray.type) + \"/>\";\n      else {\n        if (objectOrArray.$$typeof === CLIENT_REFERENCE_TAG) return \"client\";\n        if (jsxPropsParents.has(objectOrArray)) {\n          objKind = jsxPropsParents.get(objectOrArray);\n          objKind = \"<\" + (describeElementType(objKind) || \"...\");\n          type = Object.keys(objectOrArray);\n          for (i = 0; i < type.length; i++) {\n            objKind += \" \";\n            value = type[i];\n            objKind += describeKeyForErrorMessage(value) + \"=\";\n            var _value2 = objectOrArray[value];\n            var _substr2 =\n              value === expandedName &&\n              \"object\" === typeof _value2 &&\n              null !== _value2\n                ? describeObjectForErrorMessage(_value2)\n                : describeValueForErrorMessage(_value2);\n            \"string\" !== typeof _value2 && (_substr2 = \"{\" + _substr2 + \"}\");\n            value === expandedName\n              ? ((start = objKind.length),\n                (length = _substr2.length),\n                (objKind += _substr2))\n              : (objKind =\n                  10 > _substr2.length && 40 > objKind.length + _substr2.length\n                    ? objKind + _substr2\n                    : objKind + \"...\");\n          }\n          objKind += \">\";\n        } else {\n          objKind = \"{\";\n          type = Object.keys(objectOrArray);\n          for (i = 0; i < type.length; i++)\n            0 < i && (objKind += \", \"),\n              (value = type[i]),\n              (objKind += describeKeyForErrorMessage(value) + \": \"),\n              (_value2 = objectOrArray[value]),\n              (_value2 =\n                \"object\" === typeof _value2 && null !== _value2\n                  ? describeObjectForErrorMessage(_value2)\n                  : describeValueForErrorMessage(_value2)),\n              value === expandedName\n                ? ((start = objKind.length),\n                  (length = _value2.length),\n                  (objKind += _value2))\n                : (objKind =\n                    10 > _value2.length && 40 > objKind.length + _value2.length\n                      ? objKind + _value2\n                      : objKind + \"...\");\n          objKind += \"}\";\n        }\n      }\n      return void 0 === expandedName\n        ? objKind\n        : -1 < start && 0 < length\n          ? ((objectOrArray = \" \".repeat(start) + \"^\".repeat(length)),\n            \"\\n  \" + objKind + \"\\n  \" + objectOrArray)\n          : \"\\n  \" + objKind;\n    }\n    function flushBuffered(destination) {\n      \"function\" === typeof destination.flush && destination.flush();\n    }\n    function writeChunk(destination, chunk) {\n      if (\"string\" === typeof chunk) {\n        if (0 !== chunk.length)\n          if (4096 < 3 * chunk.length)\n            0 < writtenBytes &&\n              (writeToDestination(\n                destination,\n                currentView.subarray(0, writtenBytes)\n              ),\n              (currentView = new Uint8Array(4096)),\n              (writtenBytes = 0)),\n              writeToDestination(destination, chunk);\n          else {\n            var target = currentView;\n            0 < writtenBytes && (target = currentView.subarray(writtenBytes));\n            target = textEncoder.encodeInto(chunk, target);\n            var read = target.read;\n            writtenBytes += target.written;\n            read < chunk.length &&\n              (writeToDestination(\n                destination,\n                currentView.subarray(0, writtenBytes)\n              ),\n              (currentView = new Uint8Array(4096)),\n              (writtenBytes = textEncoder.encodeInto(\n                chunk.slice(read),\n                currentView\n              ).written));\n            4096 === writtenBytes &&\n              (writeToDestination(destination, currentView),\n              (currentView = new Uint8Array(4096)),\n              (writtenBytes = 0));\n          }\n      } else\n        0 !== chunk.byteLength &&\n          (4096 < chunk.byteLength\n            ? (0 < writtenBytes &&\n                (writeToDestination(\n                  destination,\n                  currentView.subarray(0, writtenBytes)\n                ),\n                (currentView = new Uint8Array(4096)),\n                (writtenBytes = 0)),\n              writeToDestination(destination, chunk))\n            : ((target = currentView.length - writtenBytes),\n              target < chunk.byteLength &&\n                (0 === target\n                  ? writeToDestination(destination, currentView)\n                  : (currentView.set(chunk.subarray(0, target), writtenBytes),\n                    (writtenBytes += target),\n                    writeToDestination(destination, currentView),\n                    (chunk = chunk.subarray(target))),\n                (currentView = new Uint8Array(4096)),\n                (writtenBytes = 0)),\n              currentView.set(chunk, writtenBytes),\n              (writtenBytes += chunk.byteLength),\n              4096 === writtenBytes &&\n                (writeToDestination(destination, currentView),\n                (currentView = new Uint8Array(4096)),\n                (writtenBytes = 0))));\n    }\n    function writeToDestination(destination, view) {\n      destination = destination.write(view);\n      destinationHasCapacity$1 = destinationHasCapacity$1 && destination;\n    }\n    function writeChunkAndReturn(destination, chunk) {\n      writeChunk(destination, chunk);\n      return destinationHasCapacity$1;\n    }\n    function completeWriting(destination) {\n      currentView &&\n        0 < writtenBytes &&\n        destination.write(currentView.subarray(0, writtenBytes));\n      currentView = null;\n      writtenBytes = 0;\n      destinationHasCapacity$1 = !0;\n    }\n    function stringToPrecomputedChunk(content) {\n      content = textEncoder.encode(content);\n      4096 < content.byteLength &&\n        console.error(\n          \"precomputed chunks must be smaller than the view size configured for this host. This is a bug in React.\"\n        );\n      return content;\n    }\n    function byteLengthOfChunk(chunk) {\n      return \"string\" === typeof chunk\n        ? Buffer.byteLength(chunk, \"utf8\")\n        : chunk.byteLength;\n    }\n    function readAsDataURL(blob) {\n      return blob.arrayBuffer().then(function (arrayBuffer) {\n        arrayBuffer = Buffer.from(arrayBuffer).toString(\"base64\");\n        return (\n          \"data:\" +\n          (blob.type || \"application/octet-stream\") +\n          \";base64,\" +\n          arrayBuffer\n        );\n      });\n    }\n    function typeName(value) {\n      return (\n        (\"function\" === typeof Symbol &&\n          Symbol.toStringTag &&\n          value[Symbol.toStringTag]) ||\n        value.constructor.name ||\n        \"Object\"\n      );\n    }\n    function willCoercionThrow(value) {\n      try {\n        return testStringCoercion(value), !1;\n      } catch (e) {\n        return !0;\n      }\n    }\n    function testStringCoercion(value) {\n      return \"\" + value;\n    }\n    function checkAttributeStringCoercion(value, attributeName) {\n      if (willCoercionThrow(value))\n        return (\n          console.error(\n            \"The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.\",\n            attributeName,\n            typeName(value)\n          ),\n          testStringCoercion(value)\n        );\n    }\n    function checkCSSPropertyStringCoercion(value, propName) {\n      if (willCoercionThrow(value))\n        return (\n          console.error(\n            \"The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.\",\n            propName,\n            typeName(value)\n          ),\n          testStringCoercion(value)\n        );\n    }\n    function checkHtmlStringCoercion(value) {\n      if (willCoercionThrow(value))\n        return (\n          console.error(\n            \"The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.\",\n            typeName(value)\n          ),\n          testStringCoercion(value)\n        );\n    }\n    function isAttributeNameSafe(attributeName) {\n      if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))\n        return !0;\n      if (hasOwnProperty.call(illegalAttributeNameCache, attributeName))\n        return !1;\n      if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))\n        return (validatedAttributeNameCache[attributeName] = !0);\n      illegalAttributeNameCache[attributeName] = !0;\n      console.error(\"Invalid attribute name: `%s`\", attributeName);\n      return !1;\n    }\n    function checkControlledValueProps(tagName, props) {\n      hasReadOnlyValue[props.type] ||\n        props.onChange ||\n        props.onInput ||\n        props.readOnly ||\n        props.disabled ||\n        null == props.value ||\n        (\"select\" === tagName\n          ? console.error(\n              \"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.\"\n            )\n          : console.error(\n              \"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.\"\n            ));\n      props.onChange ||\n        props.readOnly ||\n        props.disabled ||\n        null == props.checked ||\n        console.error(\n          \"You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.\"\n        );\n    }\n    function validateProperty$1(tagName, name) {\n      if (\n        hasOwnProperty.call(warnedProperties$1, name) &&\n        warnedProperties$1[name]\n      )\n        return !0;\n      if (rARIACamel$1.test(name)) {\n        tagName = \"aria-\" + name.slice(4).toLowerCase();\n        tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;\n        if (null == tagName)\n          return (\n            console.error(\n              \"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.\",\n              name\n            ),\n            (warnedProperties$1[name] = !0)\n          );\n        if (name !== tagName)\n          return (\n            console.error(\n              \"Invalid ARIA attribute `%s`. Did you mean `%s`?\",\n              name,\n              tagName\n            ),\n            (warnedProperties$1[name] = !0)\n          );\n      }\n      if (rARIA$1.test(name)) {\n        tagName = name.toLowerCase();\n        tagName = ariaProperties.hasOwnProperty(tagName) ? tagName : null;\n        if (null == tagName) return (warnedProperties$1[name] = !0), !1;\n        name !== tagName &&\n          (console.error(\n            \"Unknown ARIA attribute `%s`. Did you mean `%s`?\",\n            name,\n            tagName\n          ),\n          (warnedProperties$1[name] = !0));\n      }\n      return !0;\n    }\n    function validateProperties$2(type, props) {\n      var invalidProps = [],\n        key;\n      for (key in props)\n        validateProperty$1(type, key) || invalidProps.push(key);\n      props = invalidProps\n        .map(function (prop) {\n          return \"`\" + prop + \"`\";\n        })\n        .join(\", \");\n      1 === invalidProps.length\n        ? console.error(\n            \"Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props\",\n            props,\n            type\n          )\n        : 1 < invalidProps.length &&\n          console.error(\n            \"Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props\",\n            props,\n            type\n          );\n    }\n    function validateProperty(tagName, name, value, eventRegistry) {\n      if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name])\n        return !0;\n      var lowerCasedName = name.toLowerCase();\n      if (\"onfocusin\" === lowerCasedName || \"onfocusout\" === lowerCasedName)\n        return (\n          console.error(\n            \"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.\"\n          ),\n          (warnedProperties[name] = !0)\n        );\n      if (\n        \"function\" === typeof value &&\n        ((\"form\" === tagName && \"action\" === name) ||\n          (\"input\" === tagName && \"formAction\" === name) ||\n          (\"button\" === tagName && \"formAction\" === name))\n      )\n        return !0;\n      if (null != eventRegistry) {\n        tagName = eventRegistry.possibleRegistrationNames;\n        if (eventRegistry.registrationNameDependencies.hasOwnProperty(name))\n          return !0;\n        eventRegistry = tagName.hasOwnProperty(lowerCasedName)\n          ? tagName[lowerCasedName]\n          : null;\n        if (null != eventRegistry)\n          return (\n            console.error(\n              \"Invalid event handler property `%s`. Did you mean `%s`?\",\n              name,\n              eventRegistry\n            ),\n            (warnedProperties[name] = !0)\n          );\n        if (EVENT_NAME_REGEX.test(name))\n          return (\n            console.error(\n              \"Unknown event handler property `%s`. It will be ignored.\",\n              name\n            ),\n            (warnedProperties[name] = !0)\n          );\n      } else if (EVENT_NAME_REGEX.test(name))\n        return (\n          INVALID_EVENT_NAME_REGEX.test(name) &&\n            console.error(\n              \"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.\",\n              name\n            ),\n          (warnedProperties[name] = !0)\n        );\n      if (rARIA.test(name) || rARIACamel.test(name)) return !0;\n      if (\"innerhtml\" === lowerCasedName)\n        return (\n          console.error(\n            \"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.\"\n          ),\n          (warnedProperties[name] = !0)\n        );\n      if (\"aria\" === lowerCasedName)\n        return (\n          console.error(\n            \"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.\"\n          ),\n          (warnedProperties[name] = !0)\n        );\n      if (\n        \"is\" === lowerCasedName &&\n        null !== value &&\n        void 0 !== value &&\n        \"string\" !== typeof value\n      )\n        return (\n          console.error(\n            \"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.\",\n            typeof value\n          ),\n          (warnedProperties[name] = !0)\n        );\n      if (\"number\" === typeof value && isNaN(value))\n        return (\n          console.error(\n            \"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.\",\n            name\n          ),\n          (warnedProperties[name] = !0)\n        );\n      if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {\n        if (\n          ((lowerCasedName = possibleStandardNames[lowerCasedName]),\n          lowerCasedName !== name)\n        )\n          return (\n            console.error(\n              \"Invalid DOM property `%s`. Did you mean `%s`?\",\n              name,\n              lowerCasedName\n            ),\n            (warnedProperties[name] = !0)\n          );\n      } else if (name !== lowerCasedName)\n        return (\n          console.error(\n            \"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.\",\n            name,\n            lowerCasedName\n          ),\n          (warnedProperties[name] = !0)\n        );\n      switch (name) {\n        case \"dangerouslySetInnerHTML\":\n        case \"children\":\n        case \"style\":\n        case \"suppressContentEditableWarning\":\n        case \"suppressHydrationWarning\":\n        case \"defaultValue\":\n        case \"defaultChecked\":\n        case \"innerHTML\":\n        case \"ref\":\n          return !0;\n        case \"innerText\":\n        case \"textContent\":\n          return !0;\n      }\n      switch (typeof value) {\n        case \"boolean\":\n          switch (name) {\n            case \"autoFocus\":\n            case \"checked\":\n            case \"multiple\":\n            case \"muted\":\n            case \"selected\":\n            case \"contentEditable\":\n            case \"spellCheck\":\n            case \"draggable\":\n            case \"value\":\n            case \"autoReverse\":\n            case \"externalResourcesRequired\":\n            case \"focusable\":\n            case \"preserveAlpha\":\n            case \"allowFullScreen\":\n            case \"async\":\n            case \"autoPlay\":\n            case \"controls\":\n            case \"credentialless\":\n            case \"default\":\n            case \"defer\":\n            case \"disabled\":\n            case \"disablePictureInPicture\":\n            case \"disableRemotePlayback\":\n            case \"formNoValidate\":\n            case \"hidden\":\n            case \"loop\":\n            case \"noModule\":\n            case \"noValidate\":\n            case \"open\":\n            case \"playsInline\":\n            case \"readOnly\":\n            case \"required\":\n            case \"reversed\":\n            case \"scoped\":\n            case \"seamless\":\n            case \"itemScope\":\n            case \"capture\":\n            case \"download\":\n            case \"inert\":\n              return !0;\n            default:\n              lowerCasedName = name.toLowerCase().slice(0, 5);\n              if (\"data-\" === lowerCasedName || \"aria-\" === lowerCasedName)\n                return !0;\n              value\n                ? console.error(\n                    'Received `%s` for a non-boolean attribute `%s`.\\n\\nIf you want to write it to the DOM, pass a string instead: %s=\"%s\" or %s={value.toString()}.',\n                    value,\n                    name,\n                    name,\n                    value,\n                    name\n                  )\n                : console.error(\n                    'Received `%s` for a non-boolean attribute `%s`.\\n\\nIf you want to write it to the DOM, pass a string instead: %s=\"%s\" or %s={value.toString()}.\\n\\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',\n                    value,\n                    name,\n                    name,\n                    value,\n                    name,\n                    name,\n                    name\n                  );\n              return (warnedProperties[name] = !0);\n          }\n        case \"function\":\n        case \"symbol\":\n          return (warnedProperties[name] = !0), !1;\n        case \"string\":\n          if (\"false\" === value || \"true\" === value) {\n            switch (name) {\n              case \"checked\":\n              case \"selected\":\n              case \"multiple\":\n              case \"muted\":\n              case \"allowFullScreen\":\n              case \"async\":\n              case \"autoPlay\":\n              case \"controls\":\n              case \"credentialless\":\n              case \"default\":\n              case \"defer\":\n              case \"disabled\":\n              case \"disablePictureInPicture\":\n              case \"disableRemotePlayback\":\n              case \"formNoValidate\":\n              case \"hidden\":\n              case \"loop\":\n              case \"noModule\":\n              case \"noValidate\":\n              case \"open\":\n              case \"playsInline\":\n              case \"readOnly\":\n              case \"required\":\n              case \"reversed\":\n              case \"scoped\":\n              case \"seamless\":\n              case \"itemScope\":\n              case \"inert\":\n                break;\n              default:\n                return !0;\n            }\n            console.error(\n              \"Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?\",\n              value,\n              name,\n              \"false\" === value\n                ? \"The browser will interpret it as a truthy value.\"\n                : 'Although this works, it will not work as expected if you pass the string \"false\".',\n              name,\n              value\n            );\n            warnedProperties[name] = !0;\n          }\n      }\n      return !0;\n    }\n    function warnUnknownProperties(type, props, eventRegistry) {\n      var unknownProps = [],\n        key;\n      for (key in props)\n        validateProperty(type, key, props[key], eventRegistry) ||\n          unknownProps.push(key);\n      props = unknownProps\n        .map(function (prop) {\n          return \"`\" + prop + \"`\";\n        })\n        .join(\", \");\n      1 === unknownProps.length\n        ? console.error(\n            \"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior \",\n            props,\n            type\n          )\n        : 1 < unknownProps.length &&\n          console.error(\n            \"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior \",\n            props,\n            type\n          );\n    }\n    function camelize(string) {\n      return string.replace(hyphenPattern, function (_, character) {\n        return character.toUpperCase();\n      });\n    }\n    function escapeTextForBrowser(text) {\n      if (\n        \"boolean\" === typeof text ||\n        \"number\" === typeof text ||\n        \"bigint\" === typeof text\n      )\n        return \"\" + text;\n      checkHtmlStringCoercion(text);\n      text = \"\" + text;\n      var match = matchHtmlRegExp.exec(text);\n      if (match) {\n        var html = \"\",\n          index,\n          lastIndex = 0;\n        for (index = match.index; index < text.length; index++) {\n          switch (text.charCodeAt(index)) {\n            case 34:\n              match = \"&quot;\";\n              break;\n            case 38:\n              match = \"&amp;\";\n              break;\n            case 39:\n              match = \"&#x27;\";\n              break;\n            case 60:\n              match = \"&lt;\";\n              break;\n            case 62:\n              match = \"&gt;\";\n              break;\n            default:\n              continue;\n          }\n          lastIndex !== index && (html += text.slice(lastIndex, index));\n          lastIndex = index + 1;\n          html += match;\n        }\n        text = lastIndex !== index ? html + text.slice(lastIndex, index) : html;\n      }\n      return text;\n    }\n    function sanitizeURL(url) {\n      return isJavaScriptProtocol.test(\"\" + url)\n        ? \"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')\"\n        : url;\n    }\n    function escapeEntireInlineScriptContent(scriptText) {\n      checkHtmlStringCoercion(scriptText);\n      return (\"\" + scriptText).replace(scriptRegex, scriptReplacer);\n    }\n    function createRenderState(\n      resumableState,\n      nonce,\n      externalRuntimeConfig,\n      importMap,\n      onHeaders,\n      maxHeadersLength\n    ) {\n      var nonceScript =\n          \"string\" === typeof nonce ? nonce : nonce && nonce.script,\n        inlineScriptWithNonce =\n          void 0 === nonceScript\n            ? startInlineScript\n            : stringToPrecomputedChunk(\n                '<script nonce=\"' + escapeTextForBrowser(nonceScript) + '\"'\n              ),\n        nonceStyle = \"string\" === typeof nonce ? void 0 : nonce && nonce.style,\n        inlineStyleWithNonce =\n          void 0 === nonceStyle\n            ? startInlineStyle\n            : stringToPrecomputedChunk(\n                '<style nonce=\"' + escapeTextForBrowser(nonceStyle) + '\"'\n              ),\n        idPrefix = resumableState.idPrefix,\n        bootstrapChunks = [],\n        externalRuntimeScript = null,\n        bootstrapScriptContent = resumableState.bootstrapScriptContent,\n        bootstrapScripts = resumableState.bootstrapScripts,\n        bootstrapModules = resumableState.bootstrapModules;\n      void 0 !== bootstrapScriptContent &&\n        (bootstrapChunks.push(inlineScriptWithNonce),\n        pushCompletedShellIdAttribute(bootstrapChunks, resumableState),\n        bootstrapChunks.push(\n          endOfStartTag,\n          escapeEntireInlineScriptContent(bootstrapScriptContent),\n          endInlineScript\n        ));\n      void 0 !== externalRuntimeConfig &&\n        (\"string\" === typeof externalRuntimeConfig\n          ? ((externalRuntimeScript = {\n              src: externalRuntimeConfig,\n              chunks: []\n            }),\n            pushScriptImpl(externalRuntimeScript.chunks, {\n              src: externalRuntimeConfig,\n              async: !0,\n              integrity: void 0,\n              nonce: nonceScript\n            }))\n          : ((externalRuntimeScript = {\n              src: externalRuntimeConfig.src,\n              chunks: []\n            }),\n            pushScriptImpl(externalRuntimeScript.chunks, {\n              src: externalRuntimeConfig.src,\n              async: !0,\n              integrity: externalRuntimeConfig.integrity,\n              nonce: nonceScript\n            })));\n      externalRuntimeConfig = [];\n      void 0 !== importMap &&\n        (externalRuntimeConfig.push(importMapScriptStart),\n        externalRuntimeConfig.push(\n          escapeEntireInlineScriptContent(JSON.stringify(importMap))\n        ),\n        externalRuntimeConfig.push(importMapScriptEnd));\n      onHeaders &&\n        \"number\" === typeof maxHeadersLength &&\n        0 >= maxHeadersLength &&\n        console.error(\n          \"React expected a positive non-zero `maxHeadersLength` option but found %s instead. When using the `onHeaders` option you may supply an optional `maxHeadersLength` option as well however, when setting this value to zero or less no headers will be captured.\",\n          0 === maxHeadersLength ? \"zero\" : maxHeadersLength\n        );\n      importMap = onHeaders\n        ? {\n            preconnects: \"\",\n            fontPreloads: \"\",\n            highImagePreloads: \"\",\n            remainingCapacity:\n              2 +\n              (\"number\" === typeof maxHeadersLength ? maxHeadersLength : 2e3)\n          }\n        : null;\n      onHeaders = {\n        placeholderPrefix: stringToPrecomputedChunk(idPrefix + \"P:\"),\n        segmentPrefix: stringToPrecomputedChunk(idPrefix + \"S:\"),\n        boundaryPrefix: stringToPrecomputedChunk(idPrefix + \"B:\"),\n        startInlineScript: inlineScriptWithNonce,\n        startInlineStyle: inlineStyleWithNonce,\n        preamble: createPreambleState(),\n        externalRuntimeScript: externalRuntimeScript,\n        bootstrapChunks: bootstrapChunks,\n        importMapChunks: externalRuntimeConfig,\n        onHeaders: onHeaders,\n        headers: importMap,\n        resets: {\n          font: {},\n          dns: {},\n          connect: { default: {}, anonymous: {}, credentials: {} },\n          image: {},\n          style: {}\n        },\n        charsetChunks: [],\n        viewportChunks: [],\n        hoistableChunks: [],\n        preconnects: new Set(),\n        fontPreloads: new Set(),\n        highImagePreloads: new Set(),\n        styles: new Map(),\n        bootstrapScripts: new Set(),\n        scripts: new Set(),\n        bulkPreloads: new Set(),\n        preloads: {\n          images: new Map(),\n          stylesheets: new Map(),\n          scripts: new Map(),\n          moduleScripts: new Map()\n        },\n        nonce: { script: nonceScript, style: nonceStyle },\n        hoistableState: null,\n        stylesToHoist: !1\n      };\n      if (void 0 !== bootstrapScripts)\n        for (\n          inlineScriptWithNonce = 0;\n          inlineScriptWithNonce < bootstrapScripts.length;\n          inlineScriptWithNonce++\n        )\n          (nonceStyle = bootstrapScripts[inlineScriptWithNonce]),\n            (externalRuntimeScript = idPrefix = void 0),\n            (importMap = {\n              rel: \"preload\",\n              as: \"script\",\n              fetchPriority: \"low\",\n              nonce: nonce\n            }),\n            \"string\" === typeof nonceStyle\n              ? (importMap.href = inlineStyleWithNonce = nonceStyle)\n              : ((importMap.href = inlineStyleWithNonce = nonceStyle.src),\n                (importMap.integrity = externalRuntimeScript =\n                  \"string\" === typeof nonceStyle.integrity\n                    ? nonceStyle.integrity\n                    : void 0),\n                (importMap.crossOrigin = idPrefix =\n                  \"string\" === typeof nonceStyle ||\n                  null == nonceStyle.crossOrigin\n                    ? void 0\n                    : \"use-credentials\" === nonceStyle.crossOrigin\n                      ? \"use-credentials\"\n                      : \"\")),\n            preloadBootstrapScriptOrModule(\n              resumableState,\n              onHeaders,\n              inlineStyleWithNonce,\n              importMap\n            ),\n            bootstrapChunks.push(\n              startScriptSrc,\n              escapeTextForBrowser(inlineStyleWithNonce),\n              attributeEnd\n            ),\n            nonceScript &&\n              bootstrapChunks.push(\n                scriptNonce,\n                escapeTextForBrowser(nonceScript),\n                attributeEnd\n              ),\n            \"string\" === typeof externalRuntimeScript &&\n              bootstrapChunks.push(\n                scriptIntegirty,\n                escapeTextForBrowser(externalRuntimeScript),\n                attributeEnd\n              ),\n            \"string\" === typeof idPrefix &&\n              bootstrapChunks.push(\n                scriptCrossOrigin,\n                escapeTextForBrowser(idPrefix),\n                attributeEnd\n              ),\n            pushCompletedShellIdAttribute(bootstrapChunks, resumableState),\n            bootstrapChunks.push(endAsyncScript);\n      if (void 0 !== bootstrapModules)\n        for (nonce = 0; nonce < bootstrapModules.length; nonce++)\n          (bootstrapScripts = bootstrapModules[nonce]),\n            (inlineStyleWithNonce = nonceStyle = void 0),\n            (idPrefix = {\n              rel: \"modulepreload\",\n              fetchPriority: \"low\",\n              nonce: nonceScript\n            }),\n            \"string\" === typeof bootstrapScripts\n              ? (idPrefix.href = inlineScriptWithNonce = bootstrapScripts)\n              : ((idPrefix.href = inlineScriptWithNonce = bootstrapScripts.src),\n                (idPrefix.integrity = inlineStyleWithNonce =\n                  \"string\" === typeof bootstrapScripts.integrity\n                    ? bootstrapScripts.integrity\n                    : void 0),\n                (idPrefix.crossOrigin = nonceStyle =\n                  \"string\" === typeof bootstrapScripts ||\n                  null == bootstrapScripts.crossOrigin\n                    ? void 0\n                    : \"use-credentials\" === bootstrapScripts.crossOrigin\n                      ? \"use-credentials\"\n                      : \"\")),\n            preloadBootstrapScriptOrModule(\n              resumableState,\n              onHeaders,\n              inlineScriptWithNonce,\n              idPrefix\n            ),\n            bootstrapChunks.push(\n              startModuleSrc,\n              escapeTextForBrowser(inlineScriptWithNonce),\n              attributeEnd\n            ),\n            nonceScript &&\n              bootstrapChunks.push(\n                scriptNonce,\n                escapeTextForBrowser(nonceScript),\n                attributeEnd\n              ),\n            \"string\" === typeof inlineStyleWithNonce &&\n              bootstrapChunks.push(\n                scriptIntegirty,\n                escapeTextForBrowser(inlineStyleWithNonce),\n                attributeEnd\n              ),\n            \"string\" === typeof nonceStyle &&\n              bootstrapChunks.push(\n                scriptCrossOrigin,\n                escapeTextForBrowser(nonceStyle),\n                attributeEnd\n              ),\n            pushCompletedShellIdAttribute(bootstrapChunks, resumableState),\n            bootstrapChunks.push(endAsyncScript);\n      return onHeaders;\n    }\n    function createResumableState(\n      identifierPrefix,\n      externalRuntimeConfig,\n      bootstrapScriptContent,\n      bootstrapScripts,\n      bootstrapModules\n    ) {\n      var streamingFormat = ScriptStreamingFormat;\n      void 0 !== externalRuntimeConfig && (streamingFormat = 1);\n      return {\n        idPrefix: void 0 === identifierPrefix ? \"\" : identifierPrefix,\n        nextFormID: 0,\n        streamingFormat: streamingFormat,\n        bootstrapScriptContent: bootstrapScriptContent,\n        bootstrapScripts: bootstrapScripts,\n        bootstrapModules: bootstrapModules,\n        instructions: NothingSent,\n        hasBody: !1,\n        hasHtml: !1,\n        unknownResources: {},\n        dnsResources: {},\n        connectResources: { default: {}, anonymous: {}, credentials: {} },\n        imageResources: {},\n        styleResources: {},\n        scriptResources: {},\n        moduleUnknownResources: {},\n        moduleScriptResources: {}\n      };\n    }\n    function createPreambleState() {\n      return { htmlChunks: null, headChunks: null, bodyChunks: null };\n    }\n    function createFormatContext(\n      insertionMode,\n      selectedValue,\n      tagScope,\n      viewTransition\n    ) {\n      return {\n        insertionMode: insertionMode,\n        selectedValue: selectedValue,\n        tagScope: tagScope,\n        viewTransition: viewTransition\n      };\n    }\n    function createRootFormatContext(namespaceURI) {\n      return createFormatContext(\n        \"http://www.w3.org/2000/svg\" === namespaceURI\n          ? SVG_MODE\n          : \"http://www.w3.org/1998/Math/MathML\" === namespaceURI\n            ? MATHML_MODE\n            : ROOT_HTML_MODE,\n        null,\n        0,\n        null\n      );\n    }\n    function getChildFormatContext(parentContext, type, props) {\n      var subtreeScope = parentContext.tagScope & -25;\n      switch (type) {\n        case \"noscript\":\n          return createFormatContext(HTML_MODE, null, subtreeScope | 1, null);\n        case \"select\":\n          return createFormatContext(\n            HTML_MODE,\n            null != props.value ? props.value : props.defaultValue,\n            subtreeScope,\n            null\n          );\n        case \"svg\":\n          return createFormatContext(SVG_MODE, null, subtreeScope, null);\n        case \"picture\":\n          return createFormatContext(HTML_MODE, null, subtreeScope | 2, null);\n        case \"math\":\n          return createFormatContext(MATHML_MODE, null, subtreeScope, null);\n        case \"foreignObject\":\n          return createFormatContext(HTML_MODE, null, subtreeScope, null);\n        case \"table\":\n          return createFormatContext(HTML_TABLE_MODE, null, subtreeScope, null);\n        case \"thead\":\n        case \"tbody\":\n        case \"tfoot\":\n          return createFormatContext(\n            HTML_TABLE_BODY_MODE,\n            null,\n            subtreeScope,\n            null\n          );\n        case \"colgroup\":\n          return createFormatContext(\n            HTML_COLGROUP_MODE,\n            null,\n            subtreeScope,\n            null\n          );\n        case \"tr\":\n          return createFormatContext(\n            HTML_TABLE_ROW_MODE,\n            null,\n            subtreeScope,\n            null\n          );\n        case \"head\":\n          if (parentContext.insertionMode < HTML_MODE)\n            return createFormatContext(\n              HTML_HEAD_MODE,\n              null,\n              subtreeScope,\n              null\n            );\n          break;\n        case \"html\":\n          if (parentContext.insertionMode === ROOT_HTML_MODE)\n            return createFormatContext(\n              HTML_HTML_MODE,\n              null,\n              subtreeScope,\n              null\n            );\n      }\n      return parentContext.insertionMode >= HTML_TABLE_MODE ||\n        parentContext.insertionMode < HTML_MODE\n        ? createFormatContext(HTML_MODE, null, subtreeScope, null)\n        : null !== parentContext.viewTransition ||\n            parentContext.tagScope !== subtreeScope\n          ? createFormatContext(\n              parentContext.insertionMode,\n              parentContext.selectedValue,\n              subtreeScope,\n              null\n            )\n          : parentContext;\n    }\n    function getSuspenseViewTransition(parentViewTransition) {\n      return null === parentViewTransition\n        ? null\n        : {\n            update: parentViewTransition.update,\n            enter: \"none\",\n            exit: \"none\",\n            share: parentViewTransition.update,\n            parentEnter: \"none\",\n            parentExit: \"none\",\n            name: parentViewTransition.autoName,\n            autoName: parentViewTransition.autoName,\n            nameIdx: 0\n          };\n    }\n    function getSuspenseFallbackFormatContext(resumableState, parentContext) {\n      parentContext.tagScope & 32 &&\n        (resumableState.instructions |= NeedUpgradeToViewTransitions);\n      return createFormatContext(\n        parentContext.insertionMode,\n        parentContext.selectedValue,\n        parentContext.tagScope | 12,\n        getSuspenseViewTransition(parentContext.viewTransition)\n      );\n    }\n    function getSuspenseContentFormatContext(resumableState, parentContext) {\n      resumableState = getSuspenseViewTransition(parentContext.viewTransition);\n      var subtreeScope = parentContext.tagScope | 16;\n      null !== resumableState &&\n        \"none\" !== resumableState.share &&\n        (subtreeScope |= 64);\n      return createFormatContext(\n        parentContext.insertionMode,\n        parentContext.selectedValue,\n        subtreeScope,\n        resumableState\n      );\n    }\n    function makeId(resumableState, treeId, localId) {\n      resumableState = \"_\" + resumableState.idPrefix + \"R_\" + treeId;\n      0 < localId && (resumableState += \"H\" + localId.toString(32));\n      return resumableState + \"_\";\n    }\n    function pushTextInstance(target, text, renderState, textEmbedded) {\n      if (\"\" === text) return textEmbedded;\n      textEmbedded && target.push(textSeparator);\n      target.push(escapeTextForBrowser(text));\n      return !0;\n    }\n    function pushViewTransitionAttributes(target, formatContext) {\n      formatContext = formatContext.viewTransition;\n      null !== formatContext &&\n        (\"auto\" !== formatContext.name &&\n          (pushStringAttribute(\n            target,\n            \"vt-name\",\n            0 === formatContext.nameIdx\n              ? formatContext.name\n              : formatContext.name + \"_\" + formatContext.nameIdx\n          ),\n          formatContext.nameIdx++),\n        pushStringAttribute(target, \"vt-update\", formatContext.update),\n        \"none\" !== formatContext.enter &&\n          pushStringAttribute(target, \"vt-enter\", formatContext.enter),\n        \"none\" !== formatContext.exit &&\n          pushStringAttribute(target, \"vt-exit\", formatContext.exit),\n        \"none\" !== formatContext.share &&\n          pushStringAttribute(target, \"vt-share\", formatContext.share),\n        \"none\" !== formatContext.parentEnter &&\n          pushStringAttribute(\n            target,\n            \"vt-parent-enter\",\n            formatContext.parentEnter\n          ),\n        \"none\" !== formatContext.parentExit &&\n          pushStringAttribute(\n            target,\n            \"vt-parent-exit\",\n            formatContext.parentExit\n          ));\n    }\n    function pushStyleAttribute(target, style) {\n      if (\"object\" !== typeof style)\n        throw Error(\n          \"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.\"\n        );\n      var isFirst = !0,\n        styleName;\n      for (styleName in style)\n        if (hasOwnProperty.call(style, styleName)) {\n          var styleValue = style[styleName];\n          if (\n            null != styleValue &&\n            \"boolean\" !== typeof styleValue &&\n            \"\" !== styleValue\n          ) {\n            if (0 === styleName.indexOf(\"--\")) {\n              var nameChunk = escapeTextForBrowser(styleName);\n              checkCSSPropertyStringCoercion(styleValue, styleName);\n              styleValue = escapeTextForBrowser((\"\" + styleValue).trim());\n            } else {\n              nameChunk = styleName;\n              var value = styleValue;\n              if (-1 < nameChunk.indexOf(\"-\")) {\n                var name = nameChunk;\n                (warnedStyleNames.hasOwnProperty(name) &&\n                  warnedStyleNames[name]) ||\n                  ((warnedStyleNames[name] = !0),\n                  console.error(\n                    \"Unsupported style property %s. Did you mean %s?\",\n                    name,\n                    camelize(name.replace(msPattern$1, \"ms-\"))\n                  ));\n              } else if (badVendoredStyleNamePattern.test(nameChunk))\n                (name = nameChunk),\n                  (warnedStyleNames.hasOwnProperty(name) &&\n                    warnedStyleNames[name]) ||\n                    ((warnedStyleNames[name] = !0),\n                    console.error(\n                      \"Unsupported vendor-prefixed style property %s. Did you mean %s?\",\n                      name,\n                      name.charAt(0).toUpperCase() + name.slice(1)\n                    ));\n              else if (badStyleValueWithSemicolonPattern.test(value)) {\n                name = nameChunk;\n                var value$jscomp$0 = value;\n                (warnedStyleValues.hasOwnProperty(value$jscomp$0) &&\n                  warnedStyleValues[value$jscomp$0]) ||\n                  ((warnedStyleValues[value$jscomp$0] = !0),\n                  console.error(\n                    'Style property values shouldn\\'t contain a semicolon. Try \"%s: %s\" instead.',\n                    name,\n                    value$jscomp$0.replace(\n                      badStyleValueWithSemicolonPattern,\n                      \"\"\n                    )\n                  ));\n              }\n              \"number\" === typeof value &&\n                (isNaN(value)\n                  ? warnedForNaNValue ||\n                    ((warnedForNaNValue = !0),\n                    console.error(\n                      \"`NaN` is an invalid value for the `%s` css style property.\",\n                      nameChunk\n                    ))\n                  : isFinite(value) ||\n                    warnedForInfinityValue ||\n                    ((warnedForInfinityValue = !0),\n                    console.error(\n                      \"`Infinity` is an invalid value for the `%s` css style property.\",\n                      nameChunk\n                    )));\n              nameChunk = styleName;\n              value = styleNameCache.get(nameChunk);\n              void 0 !== value\n                ? (nameChunk = value)\n                : ((value = stringToPrecomputedChunk(\n                    escapeTextForBrowser(\n                      nameChunk\n                        .replace(uppercasePattern, \"-$1\")\n                        .toLowerCase()\n                        .replace(msPattern, \"-ms-\")\n                    )\n                  )),\n                  styleNameCache.set(nameChunk, value),\n                  (nameChunk = value));\n              \"number\" === typeof styleValue\n                ? (styleValue =\n                    0 === styleValue || unitlessNumbers.has(styleName)\n                      ? \"\" + styleValue\n                      : styleValue + \"px\")\n                : (checkCSSPropertyStringCoercion(styleValue, styleName),\n                  (styleValue = escapeTextForBrowser(\n                    (\"\" + styleValue).trim()\n                  )));\n            }\n            isFirst\n              ? ((isFirst = !1),\n                target.push(\n                  styleAttributeStart,\n                  nameChunk,\n                  styleAssign,\n                  styleValue\n                ))\n              : target.push(styleSeparator, nameChunk, styleAssign, styleValue);\n          }\n        }\n      isFirst || target.push(attributeEnd);\n    }\n    function pushBooleanAttribute(target, name, value) {\n      value &&\n        \"function\" !== typeof value &&\n        \"symbol\" !== typeof value &&\n        target.push(attributeSeparator, name, attributeEmptyString);\n    }\n    function pushStringAttribute(target, name, value) {\n      \"function\" !== typeof value &&\n        \"symbol\" !== typeof value &&\n        \"boolean\" !== typeof value &&\n        target.push(\n          attributeSeparator,\n          name,\n          attributeAssign,\n          escapeTextForBrowser(value),\n          attributeEnd\n        );\n    }\n    function pushAdditionalFormField(value, key) {\n      this.push(startHiddenInputChunk);\n      validateAdditionalFormField(value);\n      pushStringAttribute(this, \"name\", key);\n      pushStringAttribute(this, \"value\", value);\n      this.push(endOfStartTagSelfClosing);\n    }\n    function validateAdditionalFormField(value) {\n      if (\"string\" !== typeof value)\n        throw Error(\n          \"File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.\"\n        );\n    }\n    function getCustomFormFields(resumableState, formAction) {\n      if (\"function\" === typeof formAction.$$FORM_ACTION) {\n        var id = resumableState.nextFormID++;\n        resumableState = resumableState.idPrefix + id;\n        try {\n          var customFields = formAction.$$FORM_ACTION(resumableState);\n          if (customFields) {\n            var formData = customFields.data;\n            null != formData && formData.forEach(validateAdditionalFormField);\n          }\n          return customFields;\n        } catch (x) {\n          if (\n            \"object\" === typeof x &&\n            null !== x &&\n            \"function\" === typeof x.then\n          )\n            throw x;\n          console.error(\n            \"Failed to serialize an action for progressive enhancement:\\n%s\",\n            x\n          );\n        }\n      }\n      return null;\n    }\n    function pushFormActionAttribute(\n      target,\n      resumableState,\n      renderState,\n      formAction,\n      formEncType,\n      formMethod,\n      formTarget,\n      name\n    ) {\n      var formData = null;\n      if (\"function\" === typeof formAction) {\n        null === name ||\n          didWarnFormActionName ||\n          ((didWarnFormActionName = !0),\n          console.error(\n            'Cannot specify a \"name\" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.'\n          ));\n        (null === formEncType && null === formMethod) ||\n          didWarnFormActionMethod ||\n          ((didWarnFormActionMethod = !0),\n          console.error(\n            \"Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.\"\n          ));\n        null === formTarget ||\n          didWarnFormActionTarget ||\n          ((didWarnFormActionTarget = !0),\n          console.error(\n            \"Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.\"\n          ));\n        var customFields = getCustomFormFields(resumableState, formAction);\n        null !== customFields\n          ? ((name = customFields.name),\n            (formAction = customFields.action || \"\"),\n            (formEncType = customFields.encType),\n            (formMethod = customFields.method),\n            (formTarget = customFields.target),\n            (formData = customFields.data))\n          : (target.push(\n              attributeSeparator,\n              \"formAction\",\n              attributeAssign,\n              actionJavaScriptURL,\n              attributeEnd\n            ),\n            (formTarget = formMethod = formEncType = formAction = name = null),\n            injectFormReplayingRuntime(resumableState, renderState));\n      }\n      null != name && pushAttribute(target, \"name\", name);\n      null != formAction && pushAttribute(target, \"formAction\", formAction);\n      null != formEncType && pushAttribute(target, \"formEncType\", formEncType);\n      null != formMethod && pushAttribute(target, \"formMethod\", formMethod);\n      null != formTarget && pushAttribute(target, \"formTarget\", formTarget);\n      return formData;\n    }\n    function pushSrcObjectAttribute(target, blob) {\n      null === blobCache && (blobCache = new WeakMap());\n      var suspenseCache = blobCache,\n        thenable = suspenseCache.get(blob);\n      void 0 === thenable &&\n        ((thenable = readAsDataURL(blob)),\n        thenable.then(\n          function (result) {\n            thenable.status = \"fulfilled\";\n            thenable.value = result;\n          },\n          function (error) {\n            thenable.status = \"rejected\";\n            thenable.reason = error;\n          }\n        ),\n        suspenseCache.set(blob, thenable));\n      if (\"rejected\" === thenable.status) throw thenable.reason;\n      if (\"fulfilled\" !== thenable.status) throw thenable;\n      target.push(\n        attributeSeparator,\n        \"src\",\n        attributeAssign,\n        escapeTextForBrowser(thenable.value),\n        attributeEnd\n      );\n    }\n    function pushAttribute(target, name, value) {\n      switch (name) {\n        case \"className\":\n          pushStringAttribute(target, \"class\", value);\n          break;\n        case \"tabIndex\":\n          pushStringAttribute(target, \"tabindex\", value);\n          break;\n        case \"dir\":\n        case \"role\":\n        case \"viewBox\":\n        case \"width\":\n        case \"height\":\n          pushStringAttribute(target, name, value);\n          break;\n        case \"style\":\n          pushStyleAttribute(target, value);\n          break;\n        case \"src\":\n          if (\n            \"object\" === typeof value &&\n            null !== value &&\n            \"function\" === typeof Blob &&\n            value instanceof Blob\n          ) {\n            pushSrcObjectAttribute(target, value);\n            break;\n          }\n        case \"href\":\n          if (\"\" === value) {\n            \"src\" === name\n              ? console.error(\n                  'An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',\n                  name,\n                  name\n                )\n              : console.error(\n                  'An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',\n                  name,\n                  name\n                );\n            break;\n          }\n        case \"action\":\n        case \"formAction\":\n          if (\n            null == value ||\n            \"function\" === typeof value ||\n            \"symbol\" === typeof value ||\n            \"boolean\" === typeof value\n          )\n            break;\n          checkAttributeStringCoercion(value, name);\n          value = sanitizeURL(\"\" + value);\n          target.push(\n            attributeSeparator,\n            name,\n            attributeAssign,\n            escapeTextForBrowser(value),\n            attributeEnd\n          );\n          break;\n        case \"defaultValue\":\n        case \"defaultChecked\":\n        case \"innerHTML\":\n        case \"suppressContentEditableWarning\":\n        case \"suppressHydrationWarning\":\n        case \"ref\":\n          break;\n        case \"autoFocus\":\n        case \"multiple\":\n        case \"muted\":\n          pushBooleanAttribute(target, name.toLowerCase(), value);\n          break;\n        case \"xlinkHref\":\n          if (\n            \"function\" === typeof value ||\n            \"symbol\" === typeof value ||\n            \"boolean\" === typeof value\n          )\n            break;\n          checkAttributeStringCoercion(value, name);\n          value = sanitizeURL(\"\" + value);\n          target.push(\n            attributeSeparator,\n            \"xlink:href\",\n            attributeAssign,\n            escapeTextForBrowser(value),\n            attributeEnd\n          );\n          break;\n        case \"contentEditable\":\n        case \"spellCheck\":\n        case \"draggable\":\n        case \"value\":\n        case \"autoReverse\":\n        case \"externalResourcesRequired\":\n        case \"focusable\":\n        case \"preserveAlpha\":\n          \"function\" !== typeof value &&\n            \"symbol\" !== typeof value &&\n            target.push(\n              attributeSeparator,\n              name,\n              attributeAssign,\n              escapeTextForBrowser(value),\n              attributeEnd\n            );\n          break;\n        case \"inert\":\n          \"\" !== value ||\n            didWarnForNewBooleanPropsWithEmptyValue[name] ||\n            ((didWarnForNewBooleanPropsWithEmptyValue[name] = !0),\n            console.error(\n              \"Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.\",\n              name\n            ));\n        case \"allowFullScreen\":\n        case \"async\":\n        case \"autoPlay\":\n        case \"controls\":\n        case \"credentialless\":\n        case \"default\":\n        case \"defer\":\n        case \"disabled\":\n        case \"disablePictureInPicture\":\n        case \"disableRemotePlayback\":\n        case \"formNoValidate\":\n        case \"hidden\":\n        case \"loop\":\n        case \"noModule\":\n        case \"noValidate\":\n        case \"open\":\n        case \"playsInline\":\n        case \"readOnly\":\n        case \"required\":\n        case \"reversed\":\n        case \"scoped\":\n        case \"seamless\":\n        case \"itemScope\":\n          value &&\n            \"function\" !== typeof value &&\n            \"symbol\" !== typeof value &&\n            target.push(attributeSeparator, name, attributeEmptyString);\n          break;\n        case \"capture\":\n        case \"download\":\n          !0 === value\n            ? target.push(attributeSeparator, name, attributeEmptyString)\n            : !1 !== value &&\n              \"function\" !== typeof value &&\n              \"symbol\" !== typeof value &&\n              target.push(\n                attributeSeparator,\n                name,\n                attributeAssign,\n                escapeTextForBrowser(value),\n                attributeEnd\n              );\n          break;\n        case \"cols\":\n        case \"rows\":\n        case \"size\":\n        case \"span\":\n          \"function\" !== typeof value &&\n            \"symbol\" !== typeof value &&\n            !isNaN(value) &&\n            1 <= value &&\n            target.push(\n              attributeSeparator,\n              name,\n              attributeAssign,\n              escapeTextForBrowser(value),\n              attributeEnd\n            );\n          break;\n        case \"rowSpan\":\n        case \"start\":\n          \"function\" === typeof value ||\n            \"symbol\" === typeof value ||\n            isNaN(value) ||\n            target.push(\n              attributeSeparator,\n              name,\n              attributeAssign,\n              escapeTextForBrowser(value),\n              attributeEnd\n            );\n          break;\n        case \"xlinkActuate\":\n          pushStringAttribute(target, \"xlink:actuate\", value);\n          break;\n        case \"xlinkArcrole\":\n          pushStringAttribute(target, \"xlink:arcrole\", value);\n          break;\n        case \"xlinkRole\":\n          pushStringAttribute(target, \"xlink:role\", value);\n          break;\n        case \"xlinkShow\":\n          pushStringAttribute(target, \"xlink:show\", value);\n          break;\n        case \"xlinkTitle\":\n          pushStringAttribute(target, \"xlink:title\", value);\n          break;\n        case \"xlinkType\":\n          pushStringAttribute(target, \"xlink:type\", value);\n          break;\n        case \"xmlBase\":\n          pushStringAttribute(target, \"xml:base\", value);\n          break;\n        case \"xmlLang\":\n          pushStringAttribute(target, \"xml:lang\", value);\n          break;\n        case \"xmlSpace\":\n          pushStringAttribute(target, \"xml:space\", value);\n          break;\n        default:\n          if (\n            !(2 < name.length) ||\n            (\"o\" !== name[0] && \"O\" !== name[0]) ||\n            (\"n\" !== name[1] && \"N\" !== name[1])\n          )\n            if (\n              ((name = aliases.get(name) || name), isAttributeNameSafe(name))\n            ) {\n              switch (typeof value) {\n                case \"function\":\n                case \"symbol\":\n                  return;\n                case \"boolean\":\n                  var prefix = name.toLowerCase().slice(0, 5);\n                  if (\"data-\" !== prefix && \"aria-\" !== prefix) return;\n              }\n              target.push(\n                attributeSeparator,\n                name,\n                attributeAssign,\n                escapeTextForBrowser(value),\n                attributeEnd\n              );\n            }\n      }\n    }\n    function pushInnerHTML(target, innerHTML, children) {\n      if (null != innerHTML) {\n        if (null != children)\n          throw Error(\n            \"Can only set one of `children` or `props.dangerouslySetInnerHTML`.\"\n          );\n        if (\"object\" !== typeof innerHTML || !(\"__html\" in innerHTML))\n          throw Error(\n            \"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.\"\n          );\n        innerHTML = innerHTML.__html;\n        null !== innerHTML &&\n          void 0 !== innerHTML &&\n          (checkHtmlStringCoercion(innerHTML), target.push(\"\" + innerHTML));\n      }\n    }\n    function checkSelectProp(props, propName) {\n      var value = props[propName];\n      null != value &&\n        ((value = isArrayImpl(value)),\n        props.multiple && !value\n          ? console.error(\n              \"The `%s` prop supplied to <select> must be an array if `multiple` is true.\",\n              propName\n            )\n          : !props.multiple &&\n            value &&\n            console.error(\n              \"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.\",\n              propName\n            ));\n    }\n    function flattenOptionChildren(children) {\n      var content = \"\";\n      React.Children.forEach(children, function (child) {\n        null != child &&\n          ((content += child),\n          didWarnInvalidOptionChildren ||\n            \"string\" === typeof child ||\n            \"number\" === typeof child ||\n            \"bigint\" === typeof child ||\n            ((didWarnInvalidOptionChildren = !0),\n            console.error(\n              \"Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.\"\n            )));\n      });\n      return content;\n    }\n    function injectFormReplayingRuntime(resumableState, renderState) {\n      if (\n        (resumableState.instructions & 16) === NothingSent &&\n        !renderState.externalRuntimeScript\n      ) {\n        resumableState.instructions |= 16;\n        var preamble = renderState.preamble,\n          bootstrapChunks = renderState.bootstrapChunks;\n        (preamble.htmlChunks || preamble.headChunks) &&\n        0 === bootstrapChunks.length\n          ? (bootstrapChunks.push(renderState.startInlineScript),\n            pushCompletedShellIdAttribute(bootstrapChunks, resumableState),\n            bootstrapChunks.push(\n              endOfStartTag,\n              formReplayingRuntimeScript,\n              endInlineScript\n            ))\n          : bootstrapChunks.unshift(\n              renderState.startInlineScript,\n              endOfStartTag,\n              formReplayingRuntimeScript,\n              endInlineScript\n            );\n      }\n    }\n    function pushLinkImpl(target, props) {\n      target.push(startChunkForTag(\"link\"));\n      for (var propKey in props)\n        if (hasOwnProperty.call(props, propKey)) {\n          var propValue = props[propKey];\n          if (null != propValue)\n            switch (propKey) {\n              case \"children\":\n              case \"dangerouslySetInnerHTML\":\n                throw Error(\n                  \"link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n                );\n              default:\n                pushAttribute(target, propKey, propValue);\n            }\n        }\n      target.push(endOfStartTagSelfClosing);\n      return null;\n    }\n    function escapeStyleTextContent(styleText) {\n      checkHtmlStringCoercion(styleText);\n      return (\"\" + styleText).replace(styleRegex, styleReplacer);\n    }\n    function pushSelfClosing(target, props, tag, formatContext) {\n      target.push(startChunkForTag(tag));\n      for (var propKey in props)\n        if (hasOwnProperty.call(props, propKey)) {\n          var propValue = props[propKey];\n          if (null != propValue)\n            switch (propKey) {\n              case \"children\":\n              case \"dangerouslySetInnerHTML\":\n                throw Error(\n                  tag +\n                    \" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n                );\n              default:\n                pushAttribute(target, propKey, propValue);\n            }\n        }\n      pushViewTransitionAttributes(target, formatContext);\n      target.push(endOfStartTagSelfClosing);\n      return null;\n    }\n    function pushTitleImpl(target, props) {\n      target.push(startChunkForTag(\"title\"));\n      var children = null,\n        innerHTML = null,\n        propKey;\n      for (propKey in props)\n        if (hasOwnProperty.call(props, propKey)) {\n          var propValue = props[propKey];\n          if (null != propValue)\n            switch (propKey) {\n              case \"children\":\n                children = propValue;\n                break;\n              case \"dangerouslySetInnerHTML\":\n                innerHTML = propValue;\n                break;\n              default:\n                pushAttribute(target, propKey, propValue);\n            }\n        }\n      target.push(endOfStartTag);\n      props = Array.isArray(children)\n        ? 2 > children.length\n          ? children[0]\n          : null\n        : children;\n      \"function\" !== typeof props &&\n        \"symbol\" !== typeof props &&\n        null !== props &&\n        void 0 !== props &&\n        target.push(escapeTextForBrowser(\"\" + props));\n      pushInnerHTML(target, innerHTML, children);\n      target.push(endChunkForTag(\"title\"));\n      return null;\n    }\n    function pushScriptImpl(target, props) {\n      target.push(startChunkForTag(\"script\"));\n      var children = null,\n        innerHTML = null,\n        propKey;\n      for (propKey in props)\n        if (hasOwnProperty.call(props, propKey)) {\n          var propValue = props[propKey];\n          if (null != propValue)\n            switch (propKey) {\n              case \"children\":\n                children = propValue;\n                break;\n              case \"dangerouslySetInnerHTML\":\n                innerHTML = propValue;\n                break;\n              default:\n                pushAttribute(target, propKey, propValue);\n            }\n        }\n      target.push(endOfStartTag);\n      null != children &&\n        \"string\" !== typeof children &&\n        ((props =\n          \"number\" === typeof children\n            ? \"a number for children\"\n            : Array.isArray(children)\n              ? \"an array for children\"\n              : \"something unexpected for children\"),\n        console.error(\n          \"A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.\",\n          props\n        ));\n      pushInnerHTML(target, innerHTML, children);\n      \"string\" === typeof children &&\n        target.push(escapeEntireInlineScriptContent(children));\n      target.push(endChunkForTag(\"script\"));\n      return null;\n    }\n    function pushStartSingletonElement(target, props, tag, formatContext) {\n      target.push(startChunkForTag(tag));\n      var innerHTML = (tag = null),\n        propKey;\n      for (propKey in props)\n        if (hasOwnProperty.call(props, propKey)) {\n          var propValue = props[propKey];\n          if (null != propValue)\n            switch (propKey) {\n              case \"children\":\n                tag = propValue;\n                break;\n              case \"dangerouslySetInnerHTML\":\n                innerHTML = propValue;\n                break;\n              default:\n                pushAttribute(target, propKey, propValue);\n            }\n        }\n      pushViewTransitionAttributes(target, formatContext);\n      target.push(endOfStartTag);\n      pushInnerHTML(target, innerHTML, tag);\n      return tag;\n    }\n    function pushStartGenericElement(target, props, tag, formatContext) {\n      target.push(startChunkForTag(tag));\n      var innerHTML = (tag = null),\n        propKey;\n      for (propKey in props)\n        if (hasOwnProperty.call(props, propKey)) {\n          var propValue = props[propKey];\n          if (null != propValue)\n            switch (propKey) {\n              case \"children\":\n                tag = propValue;\n                break;\n              case \"dangerouslySetInnerHTML\":\n                innerHTML = propValue;\n                break;\n              default:\n                pushAttribute(target, propKey, propValue);\n            }\n        }\n      pushViewTransitionAttributes(target, formatContext);\n      target.push(endOfStartTag);\n      pushInnerHTML(target, innerHTML, tag);\n      return \"string\" === typeof tag\n        ? (target.push(escapeTextForBrowser(tag)), null)\n        : tag;\n    }\n    function startChunkForTag(tag) {\n      var tagStartChunk = validatedTagCache.get(tag);\n      if (void 0 === tagStartChunk) {\n        if (!VALID_TAG_REGEX.test(tag)) throw Error(\"Invalid tag: \" + tag);\n        tagStartChunk = stringToPrecomputedChunk(\"<\" + tag);\n        validatedTagCache.set(tag, tagStartChunk);\n      }\n      return tagStartChunk;\n    }\n    function pushStartInstance(\n      target$jscomp$0,\n      type,\n      props,\n      resumableState,\n      renderState,\n      preambleState,\n      hoistableState,\n      formatContext,\n      textEmbedded\n    ) {\n      validateProperties$2(type, props);\n      (\"input\" !== type && \"textarea\" !== type && \"select\" !== type) ||\n        null == props ||\n        null !== props.value ||\n        didWarnValueNull ||\n        ((didWarnValueNull = !0),\n        \"select\" === type && props.multiple\n          ? console.error(\n              \"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.\",\n              type\n            )\n          : console.error(\n              \"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.\",\n              type\n            ));\n      b: if (-1 === type.indexOf(\"-\")) var JSCompiler_inline_result = !1;\n      else\n        switch (type) {\n          case \"annotation-xml\":\n          case \"color-profile\":\n          case \"font-face\":\n          case \"font-face-src\":\n          case \"font-face-uri\":\n          case \"font-face-format\":\n          case \"font-face-name\":\n          case \"missing-glyph\":\n            JSCompiler_inline_result = !1;\n            break b;\n          default:\n            JSCompiler_inline_result = !0;\n        }\n      JSCompiler_inline_result ||\n        \"string\" === typeof props.is ||\n        warnUnknownProperties(type, props, null);\n      !props.suppressContentEditableWarning &&\n        props.contentEditable &&\n        null != props.children &&\n        console.error(\n          \"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.\"\n        );\n      formatContext.insertionMode !== SVG_MODE &&\n        formatContext.insertionMode !== MATHML_MODE &&\n        -1 === type.indexOf(\"-\") &&\n        type.toLowerCase() !== type &&\n        console.error(\n          \"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.\",\n          type\n        );\n      switch (type) {\n        case \"div\":\n        case \"span\":\n        case \"svg\":\n        case \"path\":\n          break;\n        case \"a\":\n          target$jscomp$0.push(startChunkForTag(\"a\"));\n          var children = null,\n            innerHTML = null,\n            propKey;\n          for (propKey in props)\n            if (hasOwnProperty.call(props, propKey)) {\n              var propValue = props[propKey];\n              if (null != propValue)\n                switch (propKey) {\n                  case \"children\":\n                    children = propValue;\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    innerHTML = propValue;\n                    break;\n                  case \"href\":\n                    \"\" === propValue\n                      ? pushStringAttribute(target$jscomp$0, \"href\", \"\")\n                      : pushAttribute(target$jscomp$0, propKey, propValue);\n                    break;\n                  default:\n                    pushAttribute(target$jscomp$0, propKey, propValue);\n                }\n            }\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          pushInnerHTML(target$jscomp$0, innerHTML, children);\n          if (\"string\" === typeof children) {\n            target$jscomp$0.push(escapeTextForBrowser(children));\n            var JSCompiler_inline_result$jscomp$0 = null;\n          } else JSCompiler_inline_result$jscomp$0 = children;\n          return JSCompiler_inline_result$jscomp$0;\n        case \"g\":\n        case \"p\":\n        case \"li\":\n          break;\n        case \"select\":\n          checkControlledValueProps(\"select\", props);\n          checkSelectProp(props, \"value\");\n          checkSelectProp(props, \"defaultValue\");\n          void 0 === props.value ||\n            void 0 === props.defaultValue ||\n            didWarnDefaultSelectValue ||\n            (console.error(\n              \"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components\"\n            ),\n            (didWarnDefaultSelectValue = !0));\n          target$jscomp$0.push(startChunkForTag(\"select\"));\n          var children$jscomp$0 = null,\n            innerHTML$jscomp$0 = null,\n            propKey$jscomp$0;\n          for (propKey$jscomp$0 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$0)) {\n              var propValue$jscomp$0 = props[propKey$jscomp$0];\n              if (null != propValue$jscomp$0)\n                switch (propKey$jscomp$0) {\n                  case \"children\":\n                    children$jscomp$0 = propValue$jscomp$0;\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    innerHTML$jscomp$0 = propValue$jscomp$0;\n                    break;\n                  case \"defaultValue\":\n                  case \"value\":\n                    break;\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$0,\n                      propValue$jscomp$0\n                    );\n                }\n            }\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);\n          return children$jscomp$0;\n        case \"option\":\n          var selectedValue = formatContext.selectedValue;\n          target$jscomp$0.push(startChunkForTag(\"option\"));\n          var children$jscomp$1 = null,\n            value = null,\n            selected = null,\n            innerHTML$jscomp$1 = null,\n            propKey$jscomp$1;\n          for (propKey$jscomp$1 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$1)) {\n              var propValue$jscomp$1 = props[propKey$jscomp$1];\n              if (null != propValue$jscomp$1)\n                switch (propKey$jscomp$1) {\n                  case \"children\":\n                    children$jscomp$1 = propValue$jscomp$1;\n                    break;\n                  case \"selected\":\n                    selected = propValue$jscomp$1;\n                    didWarnSelectedSetOnOption ||\n                      (console.error(\n                        \"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.\"\n                      ),\n                      (didWarnSelectedSetOnOption = !0));\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    innerHTML$jscomp$1 = propValue$jscomp$1;\n                    break;\n                  case \"value\":\n                    value = propValue$jscomp$1;\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$1,\n                      propValue$jscomp$1\n                    );\n                }\n            }\n          if (null != selectedValue) {\n            if (null !== value) {\n              checkAttributeStringCoercion(value, \"value\");\n              var stringValue = \"\" + value;\n            } else\n              null === innerHTML$jscomp$1 ||\n                didWarnInvalidOptionInnerHTML ||\n                ((didWarnInvalidOptionInnerHTML = !0),\n                console.error(\n                  \"Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.\"\n                )),\n                (stringValue = flattenOptionChildren(children$jscomp$1));\n            if (isArrayImpl(selectedValue))\n              for (var i = 0; i < selectedValue.length; i++) {\n                if (\n                  (checkAttributeStringCoercion(selectedValue[i], \"value\"),\n                  \"\" + selectedValue[i] === stringValue)\n                ) {\n                  target$jscomp$0.push(selectedMarkerAttribute);\n                  break;\n                }\n              }\n            else\n              checkAttributeStringCoercion(selectedValue, \"select.value\"),\n                \"\" + selectedValue === stringValue &&\n                  target$jscomp$0.push(selectedMarkerAttribute);\n          } else selected && target$jscomp$0.push(selectedMarkerAttribute);\n          target$jscomp$0.push(endOfStartTag);\n          pushInnerHTML(target$jscomp$0, innerHTML$jscomp$1, children$jscomp$1);\n          return children$jscomp$1;\n        case \"textarea\":\n          checkControlledValueProps(\"textarea\", props);\n          void 0 === props.value ||\n            void 0 === props.defaultValue ||\n            didWarnDefaultTextareaValue ||\n            (console.error(\n              \"Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components\"\n            ),\n            (didWarnDefaultTextareaValue = !0));\n          target$jscomp$0.push(startChunkForTag(\"textarea\"));\n          var value$jscomp$0 = null,\n            defaultValue = null,\n            children$jscomp$2 = null,\n            propKey$jscomp$2;\n          for (propKey$jscomp$2 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$2)) {\n              var propValue$jscomp$2 = props[propKey$jscomp$2];\n              if (null != propValue$jscomp$2)\n                switch (propKey$jscomp$2) {\n                  case \"children\":\n                    children$jscomp$2 = propValue$jscomp$2;\n                    break;\n                  case \"value\":\n                    value$jscomp$0 = propValue$jscomp$2;\n                    break;\n                  case \"defaultValue\":\n                    defaultValue = propValue$jscomp$2;\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    throw Error(\n                      \"`dangerouslySetInnerHTML` does not make sense on <textarea>.\"\n                    );\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$2,\n                      propValue$jscomp$2\n                    );\n                }\n            }\n          null === value$jscomp$0 &&\n            null !== defaultValue &&\n            (value$jscomp$0 = defaultValue);\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          if (null != children$jscomp$2) {\n            console.error(\n              \"Use the `defaultValue` or `value` props instead of setting children on <textarea>.\"\n            );\n            if (null != value$jscomp$0)\n              throw Error(\n                \"If you supply `defaultValue` on a <textarea>, do not pass children.\"\n              );\n            if (isArrayImpl(children$jscomp$2)) {\n              if (1 < children$jscomp$2.length)\n                throw Error(\"<textarea> can only have at most one child.\");\n              checkHtmlStringCoercion(children$jscomp$2[0]);\n              value$jscomp$0 = \"\" + children$jscomp$2[0];\n            }\n            checkHtmlStringCoercion(children$jscomp$2);\n            value$jscomp$0 = \"\" + children$jscomp$2;\n          }\n          \"string\" === typeof value$jscomp$0 &&\n            \"\\n\" === value$jscomp$0[0] &&\n            target$jscomp$0.push(leadingNewline);\n          null !== value$jscomp$0 &&\n            (checkAttributeStringCoercion(value$jscomp$0, \"value\"),\n            target$jscomp$0.push(escapeTextForBrowser(\"\" + value$jscomp$0)));\n          return null;\n        case \"input\":\n          checkControlledValueProps(\"input\", props);\n          target$jscomp$0.push(startChunkForTag(\"input\"));\n          var name = null,\n            formAction = null,\n            formEncType = null,\n            formMethod = null,\n            formTarget = null,\n            value$jscomp$1 = null,\n            defaultValue$jscomp$0 = null,\n            checked = null,\n            defaultChecked = null,\n            propKey$jscomp$3;\n          for (propKey$jscomp$3 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$3)) {\n              var propValue$jscomp$3 = props[propKey$jscomp$3];\n              if (null != propValue$jscomp$3)\n                switch (propKey$jscomp$3) {\n                  case \"children\":\n                  case \"dangerouslySetInnerHTML\":\n                    throw Error(\n                      \"input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n                    );\n                  case \"name\":\n                    name = propValue$jscomp$3;\n                    break;\n                  case \"formAction\":\n                    formAction = propValue$jscomp$3;\n                    break;\n                  case \"formEncType\":\n                    formEncType = propValue$jscomp$3;\n                    break;\n                  case \"formMethod\":\n                    formMethod = propValue$jscomp$3;\n                    break;\n                  case \"formTarget\":\n                    formTarget = propValue$jscomp$3;\n                    break;\n                  case \"defaultChecked\":\n                    defaultChecked = propValue$jscomp$3;\n                    break;\n                  case \"defaultValue\":\n                    defaultValue$jscomp$0 = propValue$jscomp$3;\n                    break;\n                  case \"checked\":\n                    checked = propValue$jscomp$3;\n                    break;\n                  case \"value\":\n                    value$jscomp$1 = propValue$jscomp$3;\n                    break;\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$3,\n                      propValue$jscomp$3\n                    );\n                }\n            }\n          null === formAction ||\n            \"image\" === props.type ||\n            \"submit\" === props.type ||\n            didWarnFormActionType ||\n            ((didWarnFormActionType = !0),\n            console.error(\n              'An input can only specify a formAction along with type=\"submit\" or type=\"image\".'\n            ));\n          var formData = pushFormActionAttribute(\n            target$jscomp$0,\n            resumableState,\n            renderState,\n            formAction,\n            formEncType,\n            formMethod,\n            formTarget,\n            name\n          );\n          null === checked ||\n            null === defaultChecked ||\n            didWarnDefaultChecked ||\n            (console.error(\n              \"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components\",\n              \"A component\",\n              props.type\n            ),\n            (didWarnDefaultChecked = !0));\n          null === value$jscomp$1 ||\n            null === defaultValue$jscomp$0 ||\n            didWarnDefaultInputValue ||\n            (console.error(\n              \"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components\",\n              \"A component\",\n              props.type\n            ),\n            (didWarnDefaultInputValue = !0));\n          null !== checked\n            ? pushBooleanAttribute(target$jscomp$0, \"checked\", checked)\n            : null !== defaultChecked &&\n              pushBooleanAttribute(target$jscomp$0, \"checked\", defaultChecked);\n          null !== value$jscomp$1\n            ? pushAttribute(target$jscomp$0, \"value\", value$jscomp$1)\n            : null !== defaultValue$jscomp$0 &&\n              pushAttribute(target$jscomp$0, \"value\", defaultValue$jscomp$0);\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTagSelfClosing);\n          null != formData &&\n            formData.forEach(pushAdditionalFormField, target$jscomp$0);\n          return null;\n        case \"button\":\n          target$jscomp$0.push(startChunkForTag(\"button\"));\n          var children$jscomp$3 = null,\n            innerHTML$jscomp$2 = null,\n            name$jscomp$0 = null,\n            formAction$jscomp$0 = null,\n            formEncType$jscomp$0 = null,\n            formMethod$jscomp$0 = null,\n            formTarget$jscomp$0 = null,\n            propKey$jscomp$4;\n          for (propKey$jscomp$4 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$4)) {\n              var propValue$jscomp$4 = props[propKey$jscomp$4];\n              if (null != propValue$jscomp$4)\n                switch (propKey$jscomp$4) {\n                  case \"children\":\n                    children$jscomp$3 = propValue$jscomp$4;\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    innerHTML$jscomp$2 = propValue$jscomp$4;\n                    break;\n                  case \"name\":\n                    name$jscomp$0 = propValue$jscomp$4;\n                    break;\n                  case \"formAction\":\n                    formAction$jscomp$0 = propValue$jscomp$4;\n                    break;\n                  case \"formEncType\":\n                    formEncType$jscomp$0 = propValue$jscomp$4;\n                    break;\n                  case \"formMethod\":\n                    formMethod$jscomp$0 = propValue$jscomp$4;\n                    break;\n                  case \"formTarget\":\n                    formTarget$jscomp$0 = propValue$jscomp$4;\n                    break;\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$4,\n                      propValue$jscomp$4\n                    );\n                }\n            }\n          null === formAction$jscomp$0 ||\n            null == props.type ||\n            \"submit\" === props.type ||\n            didWarnFormActionType ||\n            ((didWarnFormActionType = !0),\n            console.error(\n              'A button can only specify a formAction along with type=\"submit\" or no type.'\n            ));\n          var formData$jscomp$0 = pushFormActionAttribute(\n            target$jscomp$0,\n            resumableState,\n            renderState,\n            formAction$jscomp$0,\n            formEncType$jscomp$0,\n            formMethod$jscomp$0,\n            formTarget$jscomp$0,\n            name$jscomp$0\n          );\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          null != formData$jscomp$0 &&\n            formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);\n          pushInnerHTML(target$jscomp$0, innerHTML$jscomp$2, children$jscomp$3);\n          if (\"string\" === typeof children$jscomp$3) {\n            target$jscomp$0.push(escapeTextForBrowser(children$jscomp$3));\n            var JSCompiler_inline_result$jscomp$1 = null;\n          } else JSCompiler_inline_result$jscomp$1 = children$jscomp$3;\n          return JSCompiler_inline_result$jscomp$1;\n        case \"form\":\n          target$jscomp$0.push(startChunkForTag(\"form\"));\n          var children$jscomp$4 = null,\n            innerHTML$jscomp$3 = null,\n            formAction$jscomp$1 = null,\n            formEncType$jscomp$1 = null,\n            formMethod$jscomp$1 = null,\n            formTarget$jscomp$1 = null,\n            propKey$jscomp$5;\n          for (propKey$jscomp$5 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$5)) {\n              var propValue$jscomp$5 = props[propKey$jscomp$5];\n              if (null != propValue$jscomp$5)\n                switch (propKey$jscomp$5) {\n                  case \"children\":\n                    children$jscomp$4 = propValue$jscomp$5;\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    innerHTML$jscomp$3 = propValue$jscomp$5;\n                    break;\n                  case \"action\":\n                    formAction$jscomp$1 = propValue$jscomp$5;\n                    break;\n                  case \"encType\":\n                    formEncType$jscomp$1 = propValue$jscomp$5;\n                    break;\n                  case \"method\":\n                    formMethod$jscomp$1 = propValue$jscomp$5;\n                    break;\n                  case \"target\":\n                    formTarget$jscomp$1 = propValue$jscomp$5;\n                    break;\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$5,\n                      propValue$jscomp$5\n                    );\n                }\n            }\n          var formData$jscomp$1 = null,\n            formActionName = null;\n          if (\"function\" === typeof formAction$jscomp$1) {\n            (null === formEncType$jscomp$1 && null === formMethod$jscomp$1) ||\n              didWarnFormActionMethod ||\n              ((didWarnFormActionMethod = !0),\n              console.error(\n                \"Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.\"\n              ));\n            null === formTarget$jscomp$1 ||\n              didWarnFormActionTarget ||\n              ((didWarnFormActionTarget = !0),\n              console.error(\n                \"Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.\"\n              ));\n            var customFields = getCustomFormFields(\n              resumableState,\n              formAction$jscomp$1\n            );\n            null !== customFields\n              ? ((formAction$jscomp$1 = customFields.action || \"\"),\n                (formEncType$jscomp$1 = customFields.encType),\n                (formMethod$jscomp$1 = customFields.method),\n                (formTarget$jscomp$1 = customFields.target),\n                (formData$jscomp$1 = customFields.data),\n                (formActionName = customFields.name))\n              : (target$jscomp$0.push(\n                  attributeSeparator,\n                  \"action\",\n                  attributeAssign,\n                  actionJavaScriptURL,\n                  attributeEnd\n                ),\n                (formTarget$jscomp$1 =\n                  formMethod$jscomp$1 =\n                  formEncType$jscomp$1 =\n                  formAction$jscomp$1 =\n                    null),\n                injectFormReplayingRuntime(resumableState, renderState));\n          }\n          null != formAction$jscomp$1 &&\n            pushAttribute(target$jscomp$0, \"action\", formAction$jscomp$1);\n          null != formEncType$jscomp$1 &&\n            pushAttribute(target$jscomp$0, \"encType\", formEncType$jscomp$1);\n          null != formMethod$jscomp$1 &&\n            pushAttribute(target$jscomp$0, \"method\", formMethod$jscomp$1);\n          null != formTarget$jscomp$1 &&\n            pushAttribute(target$jscomp$0, \"target\", formTarget$jscomp$1);\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          null !== formActionName &&\n            (target$jscomp$0.push(startHiddenInputChunk),\n            pushStringAttribute(target$jscomp$0, \"name\", formActionName),\n            target$jscomp$0.push(endOfStartTagSelfClosing),\n            null != formData$jscomp$1 &&\n              formData$jscomp$1.forEach(\n                pushAdditionalFormField,\n                target$jscomp$0\n              ));\n          pushInnerHTML(target$jscomp$0, innerHTML$jscomp$3, children$jscomp$4);\n          if (\"string\" === typeof children$jscomp$4) {\n            target$jscomp$0.push(escapeTextForBrowser(children$jscomp$4));\n            var JSCompiler_inline_result$jscomp$2 = null;\n          } else JSCompiler_inline_result$jscomp$2 = children$jscomp$4;\n          return JSCompiler_inline_result$jscomp$2;\n        case \"menuitem\":\n          target$jscomp$0.push(startChunkForTag(\"menuitem\"));\n          for (var propKey$jscomp$6 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$6)) {\n              var propValue$jscomp$6 = props[propKey$jscomp$6];\n              if (null != propValue$jscomp$6)\n                switch (propKey$jscomp$6) {\n                  case \"children\":\n                  case \"dangerouslySetInnerHTML\":\n                    throw Error(\n                      \"menuitems cannot have `children` nor `dangerouslySetInnerHTML`.\"\n                    );\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$6,\n                      propValue$jscomp$6\n                    );\n                }\n            }\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          return null;\n        case \"object\":\n          target$jscomp$0.push(startChunkForTag(\"object\"));\n          var children$jscomp$5 = null,\n            innerHTML$jscomp$4 = null,\n            propKey$jscomp$7;\n          for (propKey$jscomp$7 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$7)) {\n              var propValue$jscomp$7 = props[propKey$jscomp$7];\n              if (null != propValue$jscomp$7)\n                switch (propKey$jscomp$7) {\n                  case \"children\":\n                    children$jscomp$5 = propValue$jscomp$7;\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    innerHTML$jscomp$4 = propValue$jscomp$7;\n                    break;\n                  case \"data\":\n                    checkAttributeStringCoercion(propValue$jscomp$7, \"data\");\n                    var sanitizedValue = sanitizeURL(\"\" + propValue$jscomp$7);\n                    if (\"\" === sanitizedValue) {\n                      console.error(\n                        'An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',\n                        propKey$jscomp$7,\n                        propKey$jscomp$7\n                      );\n                      break;\n                    }\n                    target$jscomp$0.push(\n                      attributeSeparator,\n                      \"data\",\n                      attributeAssign,\n                      escapeTextForBrowser(sanitizedValue),\n                      attributeEnd\n                    );\n                    break;\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$7,\n                      propValue$jscomp$7\n                    );\n                }\n            }\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);\n          if (\"string\" === typeof children$jscomp$5) {\n            target$jscomp$0.push(escapeTextForBrowser(children$jscomp$5));\n            var JSCompiler_inline_result$jscomp$3 = null;\n          } else JSCompiler_inline_result$jscomp$3 = children$jscomp$5;\n          return JSCompiler_inline_result$jscomp$3;\n        case \"title\":\n          var noscriptTagInScope = formatContext.tagScope & 1,\n            isFallback = formatContext.tagScope & 4;\n          if (hasOwnProperty.call(props, \"children\")) {\n            var children$jscomp$6 = props.children,\n              child = Array.isArray(children$jscomp$6)\n                ? 2 > children$jscomp$6.length\n                  ? children$jscomp$6[0]\n                  : null\n                : children$jscomp$6;\n            Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length\n              ? console.error(\n                  \"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.\",\n                  children$jscomp$6.length\n                )\n              : \"function\" === typeof child || \"symbol\" === typeof child\n                ? console.error(\n                    \"React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.\",\n                    \"function\" === typeof child ? \"a Function\" : \"a Sybmol\"\n                  )\n                : child &&\n                  child.toString === {}.toString &&\n                  (null != child.$$typeof\n                    ? console.error(\n                        \"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML.\"\n                      )\n                    : console.error(\n                        \"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>.\"\n                      ));\n          }\n          if (\n            formatContext.insertionMode === SVG_MODE ||\n            noscriptTagInScope ||\n            null != props.itemProp\n          )\n            var JSCompiler_inline_result$jscomp$4 = pushTitleImpl(\n              target$jscomp$0,\n              props\n            );\n          else\n            isFallback\n              ? (JSCompiler_inline_result$jscomp$4 = null)\n              : (pushTitleImpl(renderState.hoistableChunks, props),\n                (JSCompiler_inline_result$jscomp$4 = void 0));\n          return JSCompiler_inline_result$jscomp$4;\n        case \"link\":\n          var noscriptTagInScope$jscomp$0 = formatContext.tagScope & 1,\n            isFallback$jscomp$0 = formatContext.tagScope & 4,\n            rel = props.rel,\n            href = props.href,\n            precedence = props.precedence;\n          if (\n            formatContext.insertionMode === SVG_MODE ||\n            noscriptTagInScope$jscomp$0 ||\n            null != props.itemProp ||\n            \"string\" !== typeof rel ||\n            \"string\" !== typeof href ||\n            \"\" === href\n          ) {\n            \"stylesheet\" === rel &&\n              \"string\" === typeof props.precedence &&\n              ((\"string\" === typeof href && href) ||\n                console.error(\n                  'React encountered a `<link rel=\"stylesheet\" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',\n                  null === href\n                    ? \"`null`\"\n                    : void 0 === href\n                      ? \"`undefined`\"\n                      : \"\" === href\n                        ? \"an empty string\"\n                        : 'something with type \"' + typeof href + '\"'\n                ));\n            pushLinkImpl(target$jscomp$0, props);\n            var JSCompiler_inline_result$jscomp$5 = null;\n          } else if (\"stylesheet\" === props.rel)\n            if (\n              \"string\" !== typeof precedence ||\n              null != props.disabled ||\n              props.onLoad ||\n              props.onError\n            ) {\n              if (\"string\" === typeof precedence)\n                if (null != props.disabled)\n                  console.error(\n                    'React encountered a `<link rel=\"stylesheet\" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.'\n                  );\n                else if (props.onLoad || props.onError) {\n                  var propDescription =\n                    props.onLoad && props.onError\n                      ? \"`onLoad` and `onError` props\"\n                      : props.onLoad\n                        ? \"`onLoad` prop\"\n                        : \"`onError` prop\";\n                  console.error(\n                    'React encountered a `<link rel=\"stylesheet\" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',\n                    propDescription,\n                    propDescription\n                  );\n                }\n              JSCompiler_inline_result$jscomp$5 = pushLinkImpl(\n                target$jscomp$0,\n                props\n              );\n            } else {\n              var styleQueue = renderState.styles.get(precedence),\n                resourceState = resumableState.styleResources.hasOwnProperty(\n                  href\n                )\n                  ? resumableState.styleResources[href]\n                  : void 0;\n              if (resourceState !== EXISTS) {\n                resumableState.styleResources[href] = EXISTS;\n                styleQueue ||\n                  ((styleQueue = {\n                    precedence: escapeTextForBrowser(precedence),\n                    rules: [],\n                    hrefs: [],\n                    sheets: new Map()\n                  }),\n                  renderState.styles.set(precedence, styleQueue));\n                var resource = {\n                  state: PENDING$1,\n                  props: assign({}, props, {\n                    \"data-precedence\": props.precedence,\n                    precedence: null\n                  })\n                };\n                if (resourceState) {\n                  2 === resourceState.length &&\n                    adoptPreloadCredentials(resource.props, resourceState);\n                  var preloadResource =\n                    renderState.preloads.stylesheets.get(href);\n                  preloadResource && 0 < preloadResource.length\n                    ? (preloadResource.length = 0)\n                    : (resource.state = PRELOADED);\n                }\n                styleQueue.sheets.set(href, resource);\n                hoistableState && hoistableState.stylesheets.add(resource);\n              } else if (styleQueue) {\n                var _resource = styleQueue.sheets.get(href);\n                _resource &&\n                  hoistableState &&\n                  hoistableState.stylesheets.add(_resource);\n              }\n              textEmbedded && target$jscomp$0.push(textSeparator);\n              JSCompiler_inline_result$jscomp$5 = null;\n            }\n          else\n            props.onLoad || props.onError\n              ? (JSCompiler_inline_result$jscomp$5 = pushLinkImpl(\n                  target$jscomp$0,\n                  props\n                ))\n              : (textEmbedded && target$jscomp$0.push(textSeparator),\n                (JSCompiler_inline_result$jscomp$5 = isFallback$jscomp$0\n                  ? null\n                  : pushLinkImpl(renderState.hoistableChunks, props)));\n          return JSCompiler_inline_result$jscomp$5;\n        case \"script\":\n          var noscriptTagInScope$jscomp$1 = formatContext.tagScope & 1,\n            asyncProp = props.async;\n          if (\n            \"string\" !== typeof props.src ||\n            !props.src ||\n            !asyncProp ||\n            \"function\" === typeof asyncProp ||\n            \"symbol\" === typeof asyncProp ||\n            props.onLoad ||\n            props.onError ||\n            formatContext.insertionMode === SVG_MODE ||\n            noscriptTagInScope$jscomp$1 ||\n            null != props.itemProp\n          )\n            var JSCompiler_inline_result$jscomp$6 = pushScriptImpl(\n              target$jscomp$0,\n              props\n            );\n          else {\n            var key = props.src;\n            if (\"module\" === props.type) {\n              var resources = resumableState.moduleScriptResources;\n              var preloads = renderState.preloads.moduleScripts;\n            } else\n              (resources = resumableState.scriptResources),\n                (preloads = renderState.preloads.scripts);\n            var resourceState$jscomp$0 = resources.hasOwnProperty(key)\n              ? resources[key]\n              : void 0;\n            if (resourceState$jscomp$0 !== EXISTS) {\n              resources[key] = EXISTS;\n              var scriptProps = props;\n              if (resourceState$jscomp$0) {\n                2 === resourceState$jscomp$0.length &&\n                  ((scriptProps = assign({}, props)),\n                  adoptPreloadCredentials(scriptProps, resourceState$jscomp$0));\n                var preloadResource$jscomp$0 = preloads.get(key);\n                preloadResource$jscomp$0 &&\n                  (preloadResource$jscomp$0.length = 0);\n              }\n              var resource$jscomp$0 = [];\n              renderState.scripts.add(resource$jscomp$0);\n              pushScriptImpl(resource$jscomp$0, scriptProps);\n            }\n            textEmbedded && target$jscomp$0.push(textSeparator);\n            JSCompiler_inline_result$jscomp$6 = null;\n          }\n          return JSCompiler_inline_result$jscomp$6;\n        case \"style\":\n          var noscriptTagInScope$jscomp$2 = formatContext.tagScope & 1;\n          if (hasOwnProperty.call(props, \"children\")) {\n            var children$jscomp$7 = props.children,\n              child$jscomp$0 = Array.isArray(children$jscomp$7)\n                ? 2 > children$jscomp$7.length\n                  ? children$jscomp$7[0]\n                  : null\n                : children$jscomp$7;\n            (\"function\" === typeof child$jscomp$0 ||\n              \"symbol\" === typeof child$jscomp$0 ||\n              Array.isArray(child$jscomp$0)) &&\n              console.error(\n                \"React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.\",\n                \"function\" === typeof child$jscomp$0\n                  ? \"a Function\"\n                  : \"symbol\" === typeof child$jscomp$0\n                    ? \"a Sybmol\"\n                    : \"an Array\"\n              );\n          }\n          var precedence$jscomp$0 = props.precedence,\n            href$jscomp$0 = props.href,\n            nonce = props.nonce;\n          if (\n            formatContext.insertionMode === SVG_MODE ||\n            noscriptTagInScope$jscomp$2 ||\n            null != props.itemProp ||\n            \"string\" !== typeof precedence$jscomp$0 ||\n            \"string\" !== typeof href$jscomp$0 ||\n            \"\" === href$jscomp$0\n          ) {\n            target$jscomp$0.push(startChunkForTag(\"style\"));\n            var children$jscomp$8 = null,\n              innerHTML$jscomp$5 = null,\n              propKey$jscomp$8;\n            for (propKey$jscomp$8 in props)\n              if (hasOwnProperty.call(props, propKey$jscomp$8)) {\n                var propValue$jscomp$8 = props[propKey$jscomp$8];\n                if (null != propValue$jscomp$8)\n                  switch (propKey$jscomp$8) {\n                    case \"children\":\n                      children$jscomp$8 = propValue$jscomp$8;\n                      break;\n                    case \"dangerouslySetInnerHTML\":\n                      innerHTML$jscomp$5 = propValue$jscomp$8;\n                      break;\n                    default:\n                      pushAttribute(\n                        target$jscomp$0,\n                        propKey$jscomp$8,\n                        propValue$jscomp$8\n                      );\n                  }\n              }\n            target$jscomp$0.push(endOfStartTag);\n            var child$jscomp$1 = Array.isArray(children$jscomp$8)\n              ? 2 > children$jscomp$8.length\n                ? children$jscomp$8[0]\n                : null\n              : children$jscomp$8;\n            \"function\" !== typeof child$jscomp$1 &&\n              \"symbol\" !== typeof child$jscomp$1 &&\n              null !== child$jscomp$1 &&\n              void 0 !== child$jscomp$1 &&\n              target$jscomp$0.push(escapeStyleTextContent(child$jscomp$1));\n            pushInnerHTML(\n              target$jscomp$0,\n              innerHTML$jscomp$5,\n              children$jscomp$8\n            );\n            target$jscomp$0.push(endChunkForTag(\"style\"));\n            var JSCompiler_inline_result$jscomp$7 = null;\n          } else {\n            href$jscomp$0.includes(\" \") &&\n              console.error(\n                'React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is \"%s\".',\n                href$jscomp$0\n              );\n            var styleQueue$jscomp$0 =\n                renderState.styles.get(precedence$jscomp$0),\n              resourceState$jscomp$1 =\n                resumableState.styleResources.hasOwnProperty(href$jscomp$0)\n                  ? resumableState.styleResources[href$jscomp$0]\n                  : void 0;\n            if (resourceState$jscomp$1 !== EXISTS) {\n              resumableState.styleResources[href$jscomp$0] = EXISTS;\n              resourceState$jscomp$1 &&\n                console.error(\n                  'React encountered a hoistable style tag for the same href as a preload: \"%s\". When using a style tag to inline styles you should not also preload it as a stylsheet.',\n                  href$jscomp$0\n                );\n              styleQueue$jscomp$0 ||\n                ((styleQueue$jscomp$0 = {\n                  precedence: escapeTextForBrowser(precedence$jscomp$0),\n                  rules: [],\n                  hrefs: [],\n                  sheets: new Map()\n                }),\n                renderState.styles.set(\n                  precedence$jscomp$0,\n                  styleQueue$jscomp$0\n                ));\n              var nonceStyle = renderState.nonce.style;\n              if (nonceStyle && nonceStyle !== nonce)\n                console.error(\n                  'React encountered a style tag with `precedence` \"%s\" and `nonce` \"%s\". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce \"%s\" that was included with this render.',\n                  precedence$jscomp$0,\n                  nonce,\n                  nonceStyle\n                );\n              else {\n                !nonceStyle &&\n                  nonce &&\n                  console.error(\n                    'React encountered a style tag with `precedence` \"%s\" and `nonce` \"%s\". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',\n                    precedence$jscomp$0,\n                    nonce\n                  );\n                styleQueue$jscomp$0.hrefs.push(\n                  escapeTextForBrowser(href$jscomp$0)\n                );\n                var target = styleQueue$jscomp$0.rules,\n                  children$jscomp$9 = null,\n                  innerHTML$jscomp$6 = null,\n                  propKey$jscomp$9;\n                for (propKey$jscomp$9 in props)\n                  if (hasOwnProperty.call(props, propKey$jscomp$9)) {\n                    var propValue$jscomp$9 = props[propKey$jscomp$9];\n                    if (null != propValue$jscomp$9)\n                      switch (propKey$jscomp$9) {\n                        case \"children\":\n                          children$jscomp$9 = propValue$jscomp$9;\n                          break;\n                        case \"dangerouslySetInnerHTML\":\n                          innerHTML$jscomp$6 = propValue$jscomp$9;\n                      }\n                  }\n                var child$jscomp$2 = Array.isArray(children$jscomp$9)\n                  ? 2 > children$jscomp$9.length\n                    ? children$jscomp$9[0]\n                    : null\n                  : children$jscomp$9;\n                \"function\" !== typeof child$jscomp$2 &&\n                  \"symbol\" !== typeof child$jscomp$2 &&\n                  null !== child$jscomp$2 &&\n                  void 0 !== child$jscomp$2 &&\n                  target.push(escapeStyleTextContent(child$jscomp$2));\n                pushInnerHTML(target, innerHTML$jscomp$6, children$jscomp$9);\n              }\n            }\n            styleQueue$jscomp$0 &&\n              hoistableState &&\n              hoistableState.styles.add(styleQueue$jscomp$0);\n            textEmbedded && target$jscomp$0.push(textSeparator);\n            JSCompiler_inline_result$jscomp$7 = void 0;\n          }\n          return JSCompiler_inline_result$jscomp$7;\n        case \"meta\":\n          var noscriptTagInScope$jscomp$3 = formatContext.tagScope & 1,\n            isFallback$jscomp$1 = formatContext.tagScope & 4;\n          if (\n            formatContext.insertionMode === SVG_MODE ||\n            noscriptTagInScope$jscomp$3 ||\n            null != props.itemProp\n          )\n            var JSCompiler_inline_result$jscomp$8 = pushSelfClosing(\n              target$jscomp$0,\n              props,\n              \"meta\",\n              formatContext\n            );\n          else\n            textEmbedded && target$jscomp$0.push(textSeparator),\n              (JSCompiler_inline_result$jscomp$8 = isFallback$jscomp$1\n                ? null\n                : \"string\" === typeof props.charSet\n                  ? pushSelfClosing(\n                      renderState.charsetChunks,\n                      props,\n                      \"meta\",\n                      formatContext\n                    )\n                  : \"viewport\" === props.name\n                    ? pushSelfClosing(\n                        renderState.viewportChunks,\n                        props,\n                        \"meta\",\n                        formatContext\n                      )\n                    : pushSelfClosing(\n                        renderState.hoistableChunks,\n                        props,\n                        \"meta\",\n                        formatContext\n                      ));\n          return JSCompiler_inline_result$jscomp$8;\n        case \"listing\":\n        case \"pre\":\n          target$jscomp$0.push(startChunkForTag(type));\n          var children$jscomp$10 = null,\n            innerHTML$jscomp$7 = null,\n            propKey$jscomp$10;\n          for (propKey$jscomp$10 in props)\n            if (hasOwnProperty.call(props, propKey$jscomp$10)) {\n              var propValue$jscomp$10 = props[propKey$jscomp$10];\n              if (null != propValue$jscomp$10)\n                switch (propKey$jscomp$10) {\n                  case \"children\":\n                    children$jscomp$10 = propValue$jscomp$10;\n                    break;\n                  case \"dangerouslySetInnerHTML\":\n                    innerHTML$jscomp$7 = propValue$jscomp$10;\n                    break;\n                  default:\n                    pushAttribute(\n                      target$jscomp$0,\n                      propKey$jscomp$10,\n                      propValue$jscomp$10\n                    );\n                }\n            }\n          pushViewTransitionAttributes(target$jscomp$0, formatContext);\n          target$jscomp$0.push(endOfStartTag);\n          if (null != innerHTML$jscomp$7) {\n            if (null != children$jscomp$10)\n              throw Error(\n                \"Can only set one of `children` or `props.dangerouslySetInnerHTML`.\"\n              );\n            if (\n              \"object\" !== typeof innerHTML$jscomp$7 ||\n              !(\"__html\" in innerHTML$jscomp$7)\n            )\n              throw Error(\n                \"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.\"\n              );\n            var html = innerHTML$jscomp$7.__html;\n            null !== html &&\n              void 0 !== html &&\n              (\"string\" === typeof html && 0 < html.length && \"\\n\" === html[0]\n                ? target$jscomp$0.push(leadingNewline, html)\n                : (checkHtmlStringCoercion(html),\n                  target$jscomp$0.push(\"\" + html)));\n          }\n          \"string\" === typeof children$jscomp$10 &&\n            \"\\n\" === children$jscomp$10[0] &&\n            target$jscomp$0.push(leadingNewline);\n          return children$jscomp$10;\n        case \"img\":\n          var pictureOrNoScriptTagInScope = formatContext.tagScope & 3,\n            src = props.src,\n            srcSet = props.srcSet;\n          if (\n            !(\n              \"lazy\" === props.loading ||\n              (!src && !srcSet) ||\n              (\"string\" !== typeof src && null != src) ||\n              (\"string\" !== typeof srcSet && null != srcSet) ||\n              \"low\" === props.fetchPriority ||\n              pictureOrNoScriptTagInScope\n            ) &&\n            (\"string\" !== typeof src ||\n              \":\" !== src[4] ||\n              (\"d\" !== src[0] && \"D\" !== src[0]) ||\n              (\"a\" !== src[1] && \"A\" !== src[1]) ||\n              (\"t\" !== src[2] && \"T\" !== src[2]) ||\n              (\"a\" !== src[3] && \"A\" !== src[3])) &&\n            (\"string\" !== typeof srcSet ||\n              \":\" !== srcSet[4] ||\n              (\"d\" !== srcSet[0] && \"D\" !== srcSet[0]) ||\n              (\"a\" !== srcSet[1] && \"A\" !== srcSet[1]) ||\n              (\"t\" !== srcSet[2] && \"T\" !== srcSet[2]) ||\n              (\"a\" !== srcSet[3] && \"A\" !== srcSet[3]))\n          ) {\n            null !== hoistableState &&\n              formatContext.tagScope & 64 &&\n              (hoistableState.suspenseyImages = !0);\n            var sizes = \"string\" === typeof props.sizes ? props.sizes : void 0,\n              key$jscomp$0 = srcSet ? srcSet + \"\\n\" + (sizes || \"\") : src,\n              promotablePreloads = renderState.preloads.images,\n              resource$jscomp$1 = promotablePreloads.get(key$jscomp$0);\n            if (resource$jscomp$1) {\n              if (\n                \"high\" === props.fetchPriority ||\n                10 > renderState.highImagePreloads.size\n              )\n                promotablePreloads.delete(key$jscomp$0),\n                  renderState.highImagePreloads.add(resource$jscomp$1);\n            } else if (\n              !resumableState.imageResources.hasOwnProperty(key$jscomp$0)\n            ) {\n              resumableState.imageResources[key$jscomp$0] = PRELOAD_NO_CREDS;\n              var input = props.crossOrigin;\n              var crossOrigin =\n                \"string\" === typeof input\n                  ? \"use-credentials\" === input\n                    ? input\n                    : \"\"\n                  : void 0;\n              var headers = renderState.headers,\n                header;\n              headers &&\n              0 < headers.remainingCapacity &&\n              \"string\" !== typeof props.srcSet &&\n              (\"high\" === props.fetchPriority ||\n                500 > headers.highImagePreloads.length) &&\n              ((header = getPreloadAsHeader(src, \"image\", {\n                imageSrcSet: props.srcSet,\n                imageSizes: props.sizes,\n                crossOrigin: crossOrigin,\n                integrity: props.integrity,\n                nonce: props.nonce,\n                type: props.type,\n                fetchPriority: props.fetchPriority,\n                referrerPolicy: props.referrerPolicy\n              })),\n              0 <= (headers.remainingCapacity -= header.length + 2))\n                ? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS),\n                  headers.highImagePreloads &&\n                    (headers.highImagePreloads += \", \"),\n                  (headers.highImagePreloads += header))\n                : ((resource$jscomp$1 = []),\n                  pushLinkImpl(resource$jscomp$1, {\n                    rel: \"preload\",\n                    as: \"image\",\n                    href: srcSet ? void 0 : src,\n                    imageSrcSet: srcSet,\n                    imageSizes: sizes,\n                    crossOrigin: crossOrigin,\n                    integrity: props.integrity,\n                    type: props.type,\n                    fetchPriority: props.fetchPriority,\n                    referrerPolicy: props.referrerPolicy\n                  }),\n                  \"high\" === props.fetchPriority ||\n                  10 > renderState.highImagePreloads.size\n                    ? renderState.highImagePreloads.add(resource$jscomp$1)\n                    : (renderState.bulkPreloads.add(resource$jscomp$1),\n                      promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));\n            }\n          }\n          return pushSelfClosing(target$jscomp$0, props, \"img\", formatContext);\n        case \"base\":\n        case \"area\":\n        case \"br\":\n        case \"col\":\n        case \"embed\":\n        case \"hr\":\n        case \"keygen\":\n        case \"param\":\n        case \"source\":\n        case \"track\":\n        case \"wbr\":\n          return pushSelfClosing(target$jscomp$0, props, type, formatContext);\n        case \"annotation-xml\":\n        case \"color-profile\":\n        case \"font-face\":\n        case \"font-face-src\":\n        case \"font-face-uri\":\n        case \"font-face-format\":\n        case \"font-face-name\":\n        case \"missing-glyph\":\n          break;\n        case \"head\":\n          if (formatContext.insertionMode < HTML_MODE) {\n            var preamble = preambleState || renderState.preamble;\n            if (preamble.headChunks)\n              throw Error(\"The `<head>` tag may only be rendered once.\");\n            null !== preambleState &&\n              target$jscomp$0.push(headPreambleContributionChunk);\n            preamble.headChunks = [];\n            var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(\n              preamble.headChunks,\n              props,\n              \"head\",\n              formatContext\n            );\n          } else\n            JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(\n              target$jscomp$0,\n              props,\n              \"head\",\n              formatContext\n            );\n          return JSCompiler_inline_result$jscomp$9;\n        case \"body\":\n          if (formatContext.insertionMode < HTML_MODE) {\n            var preamble$jscomp$0 = preambleState || renderState.preamble;\n            if (preamble$jscomp$0.bodyChunks)\n              throw Error(\"The `<body>` tag may only be rendered once.\");\n            null !== preambleState &&\n              target$jscomp$0.push(bodyPreambleContributionChunk);\n            preamble$jscomp$0.bodyChunks = [];\n            var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(\n              preamble$jscomp$0.bodyChunks,\n              props,\n              \"body\",\n              formatContext\n            );\n          } else\n            JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(\n              target$jscomp$0,\n              props,\n              \"body\",\n              formatContext\n            );\n          return JSCompiler_inline_result$jscomp$10;\n        case \"html\":\n          if (formatContext.insertionMode === ROOT_HTML_MODE) {\n            var preamble$jscomp$1 = preambleState || renderState.preamble;\n            if (preamble$jscomp$1.htmlChunks)\n              throw Error(\"The `<html>` tag may only be rendered once.\");\n            null !== preambleState &&\n              target$jscomp$0.push(htmlPreambleContributionChunk);\n            preamble$jscomp$1.htmlChunks = [doctypeChunk];\n            var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(\n              preamble$jscomp$1.htmlChunks,\n              props,\n              \"html\",\n              formatContext\n            );\n          } else\n            JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(\n              target$jscomp$0,\n              props,\n              \"html\",\n              formatContext\n            );\n          return JSCompiler_inline_result$jscomp$11;\n        default:\n          if (-1 !== type.indexOf(\"-\")) {\n            target$jscomp$0.push(startChunkForTag(type));\n            var children$jscomp$11 = null,\n              innerHTML$jscomp$8 = null,\n              propKey$jscomp$11;\n            for (propKey$jscomp$11 in props)\n              if (hasOwnProperty.call(props, propKey$jscomp$11)) {\n                var propValue$jscomp$11 = props[propKey$jscomp$11];\n                if (null != propValue$jscomp$11) {\n                  var attributeName = propKey$jscomp$11;\n                  switch (propKey$jscomp$11) {\n                    case \"children\":\n                      children$jscomp$11 = propValue$jscomp$11;\n                      break;\n                    case \"dangerouslySetInnerHTML\":\n                      innerHTML$jscomp$8 = propValue$jscomp$11;\n                      break;\n                    case \"style\":\n                      pushStyleAttribute(target$jscomp$0, propValue$jscomp$11);\n                      break;\n                    case \"suppressContentEditableWarning\":\n                    case \"suppressHydrationWarning\":\n                    case \"ref\":\n                      break;\n                    case \"className\":\n                      attributeName = \"class\";\n                    default:\n                      if (\n                        isAttributeNameSafe(propKey$jscomp$11) &&\n                        \"function\" !== typeof propValue$jscomp$11 &&\n                        \"symbol\" !== typeof propValue$jscomp$11 &&\n                        !1 !== propValue$jscomp$11\n                      ) {\n                        if (!0 === propValue$jscomp$11)\n                          propValue$jscomp$11 = \"\";\n                        else if (\"object\" === typeof propValue$jscomp$11)\n                          continue;\n                        target$jscomp$0.push(\n                          attributeSeparator,\n                          attributeName,\n                          attributeAssign,\n                          escapeTextForBrowser(propValue$jscomp$11),\n                          attributeEnd\n                        );\n                      }\n                  }\n                }\n              }\n            pushViewTransitionAttributes(target$jscomp$0, formatContext);\n            target$jscomp$0.push(endOfStartTag);\n            pushInnerHTML(\n              target$jscomp$0,\n              innerHTML$jscomp$8,\n              children$jscomp$11\n            );\n            return children$jscomp$11;\n          }\n      }\n      return pushStartGenericElement(\n        target$jscomp$0,\n        props,\n        type,\n        formatContext\n      );\n    }\n    function endChunkForTag(tag) {\n      var chunk = endTagCache.get(tag);\n      void 0 === chunk &&\n        ((chunk = stringToPrecomputedChunk(\"</\" + tag + \">\")),\n        endTagCache.set(tag, chunk));\n      return chunk;\n    }\n    function hoistPreambleState(renderState, preambleState) {\n      renderState = renderState.preamble;\n      null === renderState.htmlChunks &&\n        preambleState.htmlChunks &&\n        (renderState.htmlChunks = preambleState.htmlChunks);\n      null === renderState.headChunks &&\n        preambleState.headChunks &&\n        (renderState.headChunks = preambleState.headChunks);\n      null === renderState.bodyChunks &&\n        preambleState.bodyChunks &&\n        (renderState.bodyChunks = preambleState.bodyChunks);\n    }\n    function writeBootstrap(destination, renderState) {\n      renderState = renderState.bootstrapChunks;\n      for (var i = 0; i < renderState.length - 1; i++)\n        writeChunk(destination, renderState[i]);\n      return i < renderState.length\n        ? ((i = renderState[i]),\n          (renderState.length = 0),\n          writeChunkAndReturn(destination, i))\n        : !0;\n    }\n    function writeStartPendingSuspenseBoundary(destination, renderState, id) {\n      writeChunk(destination, startPendingSuspenseBoundary1);\n      if (null === id)\n        throw Error(\n          \"An ID must have been assigned before we can complete the boundary.\"\n        );\n      writeChunk(destination, renderState.boundaryPrefix);\n      writeChunk(destination, id.toString(16));\n      return writeChunkAndReturn(destination, startPendingSuspenseBoundary2);\n    }\n    function writeStartSegment(destination, renderState, formatContext, id) {\n      switch (formatContext.insertionMode) {\n        case ROOT_HTML_MODE:\n        case HTML_HTML_MODE:\n        case HTML_HEAD_MODE:\n        case HTML_MODE:\n          return (\n            writeChunk(destination, startSegmentHTML),\n            writeChunk(destination, renderState.segmentPrefix),\n            writeChunk(destination, id.toString(16)),\n            writeChunkAndReturn(destination, startSegmentHTML2)\n          );\n        case SVG_MODE:\n          return (\n            writeChunk(destination, startSegmentSVG),\n            writeChunk(destination, renderState.segmentPrefix),\n            writeChunk(destination, id.toString(16)),\n            writeChunkAndReturn(destination, startSegmentSVG2)\n          );\n        case MATHML_MODE:\n          return (\n            writeChunk(destination, startSegmentMathML),\n            writeChunk(destination, renderState.segmentPrefix),\n            writeChunk(destination, id.toString(16)),\n            writeChunkAndReturn(destination, startSegmentMathML2)\n          );\n        case HTML_TABLE_MODE:\n          return (\n            writeChunk(destination, startSegmentTable),\n            writeChunk(destination, renderState.segmentPrefix),\n            writeChunk(destination, id.toString(16)),\n            writeChunkAndReturn(destination, startSegmentTable2)\n          );\n        case HTML_TABLE_BODY_MODE:\n          return (\n            writeChunk(destination, startSegmentTableBody),\n            writeChunk(destination, renderState.segmentPrefix),\n            writeChunk(destination, id.toString(16)),\n            writeChunkAndReturn(destination, startSegmentTableBody2)\n          );\n        case HTML_TABLE_ROW_MODE:\n          return (\n            writeChunk(destination, startSegmentTableRow),\n            writeChunk(destination, renderState.segmentPrefix),\n            writeChunk(destination, id.toString(16)),\n            writeChunkAndReturn(destination, startSegmentTableRow2)\n          );\n        case HTML_COLGROUP_MODE:\n          return (\n            writeChunk(destination, startSegmentColGroup),\n            writeChunk(destination, renderState.segmentPrefix),\n            writeChunk(destination, id.toString(16)),\n            writeChunkAndReturn(destination, startSegmentColGroup2)\n          );\n        default:\n          throw Error(\"Unknown insertion mode. This is a bug in React.\");\n      }\n    }\n    function writeEndSegment(destination, formatContext) {\n      switch (formatContext.insertionMode) {\n        case ROOT_HTML_MODE:\n        case HTML_HTML_MODE:\n        case HTML_HEAD_MODE:\n        case HTML_MODE:\n          return writeChunkAndReturn(destination, endSegmentHTML);\n        case SVG_MODE:\n          return writeChunkAndReturn(destination, endSegmentSVG);\n        case MATHML_MODE:\n          return writeChunkAndReturn(destination, endSegmentMathML);\n        case HTML_TABLE_MODE:\n          return writeChunkAndReturn(destination, endSegmentTable);\n        case HTML_TABLE_BODY_MODE:\n          return writeChunkAndReturn(destination, endSegmentTableBody);\n        case HTML_TABLE_ROW_MODE:\n          return writeChunkAndReturn(destination, endSegmentTableRow);\n        case HTML_COLGROUP_MODE:\n          return writeChunkAndReturn(destination, endSegmentColGroup);\n        default:\n          throw Error(\"Unknown insertion mode. This is a bug in React.\");\n      }\n    }\n    function escapeJSStringsForInstructionScripts(input) {\n      return JSON.stringify(input).replace(\n        regexForJSStringsInInstructionScripts,\n        function (match) {\n          switch (match) {\n            case \"<\":\n              return \"\\\\u003c\";\n            case \"\\u2028\":\n              return \"\\\\u2028\";\n            case \"\\u2029\":\n              return \"\\\\u2029\";\n            default:\n              throw Error(\n                \"escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React\"\n              );\n          }\n        }\n      );\n    }\n    function escapeJSObjectForInstructionScripts(input) {\n      return JSON.stringify(input).replace(\n        regexForJSStringsInScripts,\n        function (match) {\n          switch (match) {\n            case \"&\":\n              return \"\\\\u0026\";\n            case \">\":\n              return \"\\\\u003e\";\n            case \"<\":\n              return \"\\\\u003c\";\n            case \"\\u2028\":\n              return \"\\\\u2028\";\n            case \"\\u2029\":\n              return \"\\\\u2029\";\n            default:\n              throw Error(\n                \"escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React\"\n              );\n          }\n        }\n      );\n    }\n    function flushStyleTagsLateForBoundary(styleQueue) {\n      var rules = styleQueue.rules,\n        hrefs = styleQueue.hrefs;\n      0 < rules.length &&\n        0 === hrefs.length &&\n        console.error(\n          \"React expected to have at least one href for an a hoistable style but found none. This is a bug in React.\"\n        );\n      var i = 0;\n      if (hrefs.length) {\n        writeChunk(this, currentlyFlushingRenderState.startInlineStyle);\n        writeChunk(this, lateStyleTagResourceOpen1);\n        writeChunk(this, styleQueue.precedence);\n        for (\n          writeChunk(this, lateStyleTagResourceOpen2);\n          i < hrefs.length - 1;\n          i++\n        )\n          writeChunk(this, hrefs[i]), writeChunk(this, spaceSeparator);\n        writeChunk(this, hrefs[i]);\n        writeChunk(this, lateStyleTagResourceOpen3);\n        for (i = 0; i < rules.length; i++) writeChunk(this, rules[i]);\n        destinationHasCapacity = writeChunkAndReturn(\n          this,\n          lateStyleTagTemplateClose\n        );\n        currentlyRenderingBoundaryHasStylesToHoist = !0;\n        rules.length = 0;\n        hrefs.length = 0;\n      }\n    }\n    function hasStylesToHoist(stylesheet) {\n      return stylesheet.state !== PREAMBLE\n        ? (currentlyRenderingBoundaryHasStylesToHoist = !0)\n        : !1;\n    }\n    function writeHoistablesForBoundary(\n      destination,\n      hoistableState,\n      renderState\n    ) {\n      currentlyRenderingBoundaryHasStylesToHoist = !1;\n      destinationHasCapacity = !0;\n      currentlyFlushingRenderState = renderState;\n      hoistableState.styles.forEach(flushStyleTagsLateForBoundary, destination);\n      currentlyFlushingRenderState = null;\n      hoistableState.stylesheets.forEach(hasStylesToHoist);\n      currentlyRenderingBoundaryHasStylesToHoist &&\n        (renderState.stylesToHoist = !0);\n      return destinationHasCapacity;\n    }\n    function flushResource(resource) {\n      for (var i = 0; i < resource.length; i++) writeChunk(this, resource[i]);\n      resource.length = 0;\n    }\n    function flushStyleInPreamble(stylesheet) {\n      pushLinkImpl(stylesheetFlushingQueue, stylesheet.props);\n      for (var i = 0; i < stylesheetFlushingQueue.length; i++)\n        writeChunk(this, stylesheetFlushingQueue[i]);\n      stylesheetFlushingQueue.length = 0;\n      stylesheet.state = PREAMBLE;\n    }\n    function flushStylesInPreamble(styleQueue) {\n      var hasStylesheets = 0 < styleQueue.sheets.size;\n      styleQueue.sheets.forEach(flushStyleInPreamble, this);\n      styleQueue.sheets.clear();\n      var rules = styleQueue.rules,\n        hrefs = styleQueue.hrefs;\n      if (!hasStylesheets || hrefs.length) {\n        writeChunk(this, currentlyFlushingRenderState.startInlineStyle);\n        writeChunk(this, styleTagResourceOpen1);\n        writeChunk(this, styleQueue.precedence);\n        styleQueue = 0;\n        if (hrefs.length) {\n          for (\n            writeChunk(this, styleTagResourceOpen2);\n            styleQueue < hrefs.length - 1;\n            styleQueue++\n          )\n            writeChunk(this, hrefs[styleQueue]),\n              writeChunk(this, spaceSeparator);\n          writeChunk(this, hrefs[styleQueue]);\n        }\n        writeChunk(this, styleTagResourceOpen3);\n        for (styleQueue = 0; styleQueue < rules.length; styleQueue++)\n          writeChunk(this, rules[styleQueue]);\n        writeChunk(this, styleTagResourceClose);\n        rules.length = 0;\n        hrefs.length = 0;\n      }\n    }\n    function preloadLateStyle(stylesheet) {\n      if (stylesheet.state === PENDING$1) {\n        stylesheet.state = PRELOADED;\n        var props = stylesheet.props;\n        pushLinkImpl(stylesheetFlushingQueue, {\n          rel: \"preload\",\n          as: \"style\",\n          href: stylesheet.props.href,\n          crossOrigin: props.crossOrigin,\n          fetchPriority: props.fetchPriority,\n          integrity: props.integrity,\n          media: props.media,\n          hrefLang: props.hrefLang,\n          referrerPolicy: props.referrerPolicy\n        });\n        for (\n          stylesheet = 0;\n          stylesheet < stylesheetFlushingQueue.length;\n          stylesheet++\n        )\n          writeChunk(this, stylesheetFlushingQueue[stylesheet]);\n        stylesheetFlushingQueue.length = 0;\n      }\n    }\n    function preloadLateStyles(styleQueue) {\n      styleQueue.sheets.forEach(preloadLateStyle, this);\n      styleQueue.sheets.clear();\n    }\n    function writeCompletedShellIdAttribute(destination, resumableState) {\n      (resumableState.instructions & SentCompletedShellId) === NothingSent &&\n        ((resumableState.instructions |= SentCompletedShellId),\n        (resumableState = \"_\" + resumableState.idPrefix + \"R_\"),\n        writeChunk(destination, completedShellIdAttributeStart),\n        writeChunk(destination, escapeTextForBrowser(resumableState)),\n        writeChunk(destination, attributeEnd));\n    }\n    function pushCompletedShellIdAttribute(target, resumableState) {\n      (resumableState.instructions & SentCompletedShellId) === NothingSent &&\n        ((resumableState.instructions |= SentCompletedShellId),\n        target.push(\n          completedShellIdAttributeStart,\n          escapeTextForBrowser(\"_\" + resumableState.idPrefix + \"R_\"),\n          attributeEnd\n        ));\n    }\n    function writeStyleResourceDependenciesInJS(destination, hoistableState) {\n      writeChunk(destination, arrayFirstOpenBracket);\n      var nextArrayOpenBrackChunk = arrayFirstOpenBracket;\n      hoistableState.stylesheets.forEach(function (resource) {\n        if (resource.state !== PREAMBLE)\n          if (resource.state === LATE)\n            writeChunk(destination, nextArrayOpenBrackChunk),\n              (resource = resource.props.href),\n              checkAttributeStringCoercion(resource, \"href\"),\n              writeChunk(\n                destination,\n                escapeJSObjectForInstructionScripts(\"\" + resource)\n              ),\n              writeChunk(destination, arrayCloseBracket),\n              (nextArrayOpenBrackChunk = arraySubsequentOpenBracket);\n          else {\n            writeChunk(destination, nextArrayOpenBrackChunk);\n            var precedence = resource.props[\"data-precedence\"],\n              props = resource.props,\n              coercedHref = sanitizeURL(\"\" + resource.props.href);\n            writeChunk(\n              destination,\n              escapeJSObjectForInstructionScripts(coercedHref)\n            );\n            checkAttributeStringCoercion(precedence, \"precedence\");\n            precedence = \"\" + precedence;\n            writeChunk(destination, arrayInterstitial);\n            writeChunk(\n              destination,\n              escapeJSObjectForInstructionScripts(precedence)\n            );\n            for (var propKey in props)\n              if (\n                hasOwnProperty.call(props, propKey) &&\n                ((precedence = props[propKey]), null != precedence)\n              )\n                switch (propKey) {\n                  case \"href\":\n                  case \"rel\":\n                  case \"precedence\":\n                  case \"data-precedence\":\n                    break;\n                  case \"children\":\n                  case \"dangerouslySetInnerHTML\":\n                    throw Error(\n                      \"link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n                    );\n                  default:\n                    writeStyleResourceAttributeInJS(\n                      destination,\n                      propKey,\n                      precedence\n                    );\n                }\n            writeChunk(destination, arrayCloseBracket);\n            nextArrayOpenBrackChunk = arraySubsequentOpenBracket;\n            resource.state = LATE;\n          }\n      });\n      writeChunk(destination, arrayCloseBracket);\n    }\n    function writeStyleResourceAttributeInJS(destination, name, value) {\n      var attributeName = name.toLowerCase();\n      switch (typeof value) {\n        case \"function\":\n        case \"symbol\":\n          return;\n      }\n      switch (name) {\n        case \"innerHTML\":\n        case \"dangerouslySetInnerHTML\":\n        case \"suppressContentEditableWarning\":\n        case \"suppressHydrationWarning\":\n        case \"style\":\n        case \"ref\":\n          return;\n        case \"className\":\n          attributeName = \"class\";\n          checkAttributeStringCoercion(value, attributeName);\n          name = \"\" + value;\n          break;\n        case \"hidden\":\n          if (!1 === value) return;\n          name = \"\";\n          break;\n        case \"src\":\n        case \"href\":\n          value = sanitizeURL(value);\n          checkAttributeStringCoercion(value, attributeName);\n          name = \"\" + value;\n          break;\n        default:\n          if (\n            (2 < name.length &&\n              (\"o\" === name[0] || \"O\" === name[0]) &&\n              (\"n\" === name[1] || \"N\" === name[1])) ||\n            !isAttributeNameSafe(name)\n          )\n            return;\n          checkAttributeStringCoercion(value, attributeName);\n          name = \"\" + value;\n      }\n      writeChunk(destination, arrayInterstitial);\n      writeChunk(\n        destination,\n        escapeJSObjectForInstructionScripts(attributeName)\n      );\n      writeChunk(destination, arrayInterstitial);\n      writeChunk(destination, escapeJSObjectForInstructionScripts(name));\n    }\n    function writeStyleResourceDependenciesInAttr(destination, hoistableState) {\n      writeChunk(destination, arrayFirstOpenBracket);\n      var nextArrayOpenBrackChunk = arrayFirstOpenBracket;\n      hoistableState.stylesheets.forEach(function (resource) {\n        if (resource.state !== PREAMBLE)\n          if (resource.state === LATE)\n            writeChunk(destination, nextArrayOpenBrackChunk),\n              (resource = resource.props.href),\n              checkAttributeStringCoercion(resource, \"href\"),\n              writeChunk(\n                destination,\n                escapeTextForBrowser(JSON.stringify(\"\" + resource))\n              ),\n              writeChunk(destination, arrayCloseBracket),\n              (nextArrayOpenBrackChunk = arraySubsequentOpenBracket);\n          else {\n            writeChunk(destination, nextArrayOpenBrackChunk);\n            var precedence = resource.props[\"data-precedence\"],\n              props = resource.props,\n              coercedHref = sanitizeURL(\"\" + resource.props.href);\n            writeChunk(\n              destination,\n              escapeTextForBrowser(JSON.stringify(coercedHref))\n            );\n            checkAttributeStringCoercion(precedence, \"precedence\");\n            precedence = \"\" + precedence;\n            writeChunk(destination, arrayInterstitial);\n            writeChunk(\n              destination,\n              escapeTextForBrowser(JSON.stringify(precedence))\n            );\n            for (var propKey in props)\n              if (\n                hasOwnProperty.call(props, propKey) &&\n                ((precedence = props[propKey]), null != precedence)\n              )\n                switch (propKey) {\n                  case \"href\":\n                  case \"rel\":\n                  case \"precedence\":\n                  case \"data-precedence\":\n                    break;\n                  case \"children\":\n                  case \"dangerouslySetInnerHTML\":\n                    throw Error(\n                      \"link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\"\n                    );\n                  default:\n                    writeStyleResourceAttributeInAttr(\n                      destination,\n                      propKey,\n                      precedence\n                    );\n                }\n            writeChunk(destination, arrayCloseBracket);\n            nextArrayOpenBrackChunk = arraySubsequentOpenBracket;\n            resource.state = LATE;\n          }\n      });\n      writeChunk(destination, arrayCloseBracket);\n    }\n    function writeStyleResourceAttributeInAttr(destination, name, value) {\n      var attributeName = name.toLowerCase();\n      switch (typeof value) {\n        case \"function\":\n        case \"symbol\":\n          return;\n      }\n      switch (name) {\n        case \"innerHTML\":\n        case \"dangerouslySetInnerHTML\":\n        case \"suppressContentEditableWarning\":\n        case \"suppressHydrationWarning\":\n        case \"style\":\n        case \"ref\":\n          return;\n        case \"className\":\n          attributeName = \"class\";\n          checkAttributeStringCoercion(value, attributeName);\n          name = \"\" + value;\n          break;\n        case \"hidden\":\n          if (!1 === value) return;\n          name = \"\";\n          break;\n        case \"src\":\n        case \"href\":\n          value = sanitizeURL(value);\n          checkAttributeStringCoercion(value, attributeName);\n          name = \"\" + value;\n          break;\n        default:\n          if (\n            (2 < name.length &&\n              (\"o\" === name[0] || \"O\" === name[0]) &&\n              (\"n\" === name[1] || \"N\" === name[1])) ||\n            !isAttributeNameSafe(name)\n          )\n            return;\n          checkAttributeStringCoercion(value, attributeName);\n          name = \"\" + value;\n      }\n      writeChunk(destination, arrayInterstitial);\n      writeChunk(\n        destination,\n        escapeTextForBrowser(JSON.stringify(attributeName))\n      );\n      writeChunk(destination, arrayInterstitial);\n      writeChunk(destination, escapeTextForBrowser(JSON.stringify(name)));\n    }\n    function createHoistableState() {\n      return { styles: new Set(), stylesheets: new Set(), suspenseyImages: !1 };\n    }\n    function preloadBootstrapScriptOrModule(\n      resumableState,\n      renderState,\n      href,\n      props\n    ) {\n      (resumableState.scriptResources.hasOwnProperty(href) ||\n        resumableState.moduleScriptResources.hasOwnProperty(href)) &&\n        console.error(\n          'Internal React Error: React expected bootstrap script or module with src \"%s\" to not have been preloaded already. please file an issue',\n          href\n        );\n      resumableState.scriptResources[href] = EXISTS;\n      resumableState.moduleScriptResources[href] = EXISTS;\n      resumableState = [];\n      pushLinkImpl(resumableState, props);\n      renderState.bootstrapScripts.add(resumableState);\n    }\n    function adoptPreloadCredentials(target, preloadState) {\n      null == target.crossOrigin && (target.crossOrigin = preloadState[0]);\n      null == target.integrity && (target.integrity = preloadState[1]);\n    }\n    function getPreloadAsHeader(href, as, params) {\n      href = escapeHrefForLinkHeaderURLContext(href);\n      as = escapeStringForLinkHeaderQuotedParamValueContext(as, \"as\");\n      as = \"<\" + href + '>; rel=preload; as=\"' + as + '\"';\n      for (var paramName in params)\n        hasOwnProperty.call(params, paramName) &&\n          ((href = params[paramName]),\n          \"string\" === typeof href &&\n            (as +=\n              \"; \" +\n              paramName.toLowerCase() +\n              '=\"' +\n              escapeStringForLinkHeaderQuotedParamValueContext(\n                href,\n                paramName\n              ) +\n              '\"'));\n      return as;\n    }\n    function escapeHrefForLinkHeaderURLContext(hrefInput) {\n      checkAttributeStringCoercion(hrefInput, \"href\");\n      return (\"\" + hrefInput).replace(\n        regexForHrefInLinkHeaderURLContext,\n        escapeHrefForLinkHeaderURLContextReplacer\n      );\n    }\n    function escapeHrefForLinkHeaderURLContextReplacer(match) {\n      switch (match) {\n        case \"<\":\n          return \"%3C\";\n        case \">\":\n          return \"%3E\";\n        case \"\\n\":\n          return \"%0A\";\n        case \"\\r\":\n          return \"%0D\";\n        default:\n          throw Error(\n            \"escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React\"\n          );\n      }\n    }\n    function escapeStringForLinkHeaderQuotedParamValueContext(value, name) {\n      willCoercionThrow(value) &&\n        (console.error(\n          \"The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.\",\n          name,\n          typeName(value)\n        ),\n        testStringCoercion(value));\n      return (\"\" + value).replace(\n        regexForLinkHeaderQuotedParamValueContext,\n        escapeStringForLinkHeaderQuotedParamValueContextReplacer\n      );\n    }\n    function escapeStringForLinkHeaderQuotedParamValueContextReplacer(match) {\n      switch (match) {\n        case '\"':\n          return \"%22\";\n        case \"'\":\n          return \"%27\";\n        case \";\":\n          return \"%3B\";\n        case \",\":\n          return \"%2C\";\n        case \"\\n\":\n          return \"%0A\";\n        case \"\\r\":\n          return \"%0D\";\n        default:\n          throw Error(\n            \"escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React\"\n          );\n      }\n    }\n    function hoistStyleQueueDependency(styleQueue) {\n      this.styles.add(styleQueue);\n    }\n    function hoistStylesheetDependency(stylesheet) {\n      this.stylesheets.add(stylesheet);\n    }\n    function hoistHoistables(parentState, childState) {\n      childState.styles.forEach(hoistStyleQueueDependency, parentState);\n      childState.stylesheets.forEach(hoistStylesheetDependency, parentState);\n      childState.suspenseyImages && (parentState.suspenseyImages = !0);\n    }\n    function hasSuspenseyContent(hoistableState, flushingInShell) {\n      return flushingInShell\n        ? hoistableState.suspenseyImages\n        : 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;\n    }\n    function getComponentNameFromType(type) {\n      if (null == type) return null;\n      if (\"function\" === typeof type)\n        return type.$$typeof === REACT_CLIENT_REFERENCE\n          ? null\n          : type.displayName || type.name || null;\n      if (\"string\" === typeof type) return type;\n      switch (type) {\n        case REACT_FRAGMENT_TYPE:\n          return \"Fragment\";\n        case REACT_PROFILER_TYPE:\n          return \"Profiler\";\n        case REACT_STRICT_MODE_TYPE:\n          return \"StrictMode\";\n        case REACT_SUSPENSE_TYPE:\n          return \"Suspense\";\n        case REACT_SUSPENSE_LIST_TYPE:\n          return \"SuspenseList\";\n        case REACT_ACTIVITY_TYPE:\n          return \"Activity\";\n        case REACT_VIEW_TRANSITION_TYPE:\n          return \"ViewTransition\";\n      }\n      if (\"object\" === typeof type)\n        switch (\n          (\"number\" === typeof type.tag &&\n            console.error(\n              \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n            ),\n          type.$$typeof)\n        ) {\n          case REACT_PORTAL_TYPE:\n            return \"Portal\";\n          case REACT_CONTEXT_TYPE:\n            return type.displayName || \"Context\";\n          case REACT_CONSUMER_TYPE:\n            return (type._context.displayName || \"Context\") + \".Consumer\";\n          case REACT_FORWARD_REF_TYPE:\n            var innerType = type.render;\n            type = type.displayName;\n            type ||\n              ((type = innerType.displayName || innerType.name || \"\"),\n              (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n            return type;\n          case REACT_MEMO_TYPE:\n            return (\n              (innerType = type.displayName || null),\n              null !== innerType\n                ? innerType\n                : getComponentNameFromType(type.type) || \"Memo\"\n            );\n          case REACT_LAZY_TYPE:\n            innerType = type._payload;\n            type = type._init;\n            try {\n              return getComponentNameFromType(type(innerType));\n            } catch (x) {}\n        }\n      return null;\n    }\n    function popToNearestCommonAncestor(prev, next) {\n      if (prev !== next) {\n        prev.context._currentValue = prev.parentValue;\n        prev = prev.parent;\n        var parentNext = next.parent;\n        if (null === prev) {\n          if (null !== parentNext)\n            throw Error(\n              \"The stacks must reach the root at the same time. This is a bug in React.\"\n            );\n        } else {\n          if (null === parentNext)\n            throw Error(\n              \"The stacks must reach the root at the same time. This is a bug in React.\"\n            );\n          popToNearestCommonAncestor(prev, parentNext);\n        }\n        next.context._currentValue = next.value;\n      }\n    }\n    function popAllPrevious(prev) {\n      prev.context._currentValue = prev.parentValue;\n      prev = prev.parent;\n      null !== prev && popAllPrevious(prev);\n    }\n    function pushAllNext(next) {\n      var parentNext = next.parent;\n      null !== parentNext && pushAllNext(parentNext);\n      next.context._currentValue = next.value;\n    }\n    function popPreviousToCommonLevel(prev, next) {\n      prev.context._currentValue = prev.parentValue;\n      prev = prev.parent;\n      if (null === prev)\n        throw Error(\n          \"The depth must equal at least at zero before reaching the root. This is a bug in React.\"\n        );\n      prev.depth === next.depth\n        ? popToNearestCommonAncestor(prev, next)\n        : popPreviousToCommonLevel(prev, next);\n    }\n    function popNextToCommonLevel(prev, next) {\n      var parentNext = next.parent;\n      if (null === parentNext)\n        throw Error(\n          \"The depth must equal at least at zero before reaching the root. This is a bug in React.\"\n        );\n      prev.depth === parentNext.depth\n        ? popToNearestCommonAncestor(prev, parentNext)\n        : popNextToCommonLevel(prev, parentNext);\n      next.context._currentValue = next.value;\n    }\n    function switchContext(newSnapshot) {\n      var prev = currentActiveSnapshot;\n      prev !== newSnapshot &&\n        (null === prev\n          ? pushAllNext(newSnapshot)\n          : null === newSnapshot\n            ? popAllPrevious(prev)\n            : prev.depth === newSnapshot.depth\n              ? popToNearestCommonAncestor(prev, newSnapshot)\n              : prev.depth > newSnapshot.depth\n                ? popPreviousToCommonLevel(prev, newSnapshot)\n                : popNextToCommonLevel(prev, newSnapshot),\n        (currentActiveSnapshot = newSnapshot));\n    }\n    function warnOnInvalidCallback(callback) {\n      if (null !== callback && \"function\" !== typeof callback) {\n        var key = String(callback);\n        didWarnOnInvalidCallback.has(key) ||\n          (didWarnOnInvalidCallback.add(key),\n          console.error(\n            \"Expected the last optional `callback` argument to be a function. Instead received: %s.\",\n            callback\n          ));\n      }\n    }\n    function warnNoop(publicInstance, callerName) {\n      publicInstance =\n        ((publicInstance = publicInstance.constructor) &&\n          getComponentNameFromType(publicInstance)) ||\n        \"ReactClass\";\n      var warningKey = publicInstance + \".\" + callerName;\n      didWarnAboutNoopUpdateForComponent[warningKey] ||\n        (console.error(\n          \"Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.\\n\\nPlease check the code for the %s component.\",\n          callerName,\n          publicInstance\n        ),\n        (didWarnAboutNoopUpdateForComponent[warningKey] = !0));\n    }\n    function getTreeId(context) {\n      var overflow = context.overflow;\n      context = context.id;\n      return (\n        (context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow\n      );\n    }\n    function pushTreeContext(baseContext, totalChildren, index) {\n      var baseIdWithLeadingBit = baseContext.id;\n      baseContext = baseContext.overflow;\n      var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;\n      baseIdWithLeadingBit &= ~(1 << baseLength);\n      index += 1;\n      var length = 32 - clz32(totalChildren) + baseLength;\n      if (30 < length) {\n        var numberOfOverflowBits = baseLength - (baseLength % 5);\n        length = (\n          baseIdWithLeadingBit &\n          ((1 << numberOfOverflowBits) - 1)\n        ).toString(32);\n        baseIdWithLeadingBit >>= numberOfOverflowBits;\n        baseLength -= numberOfOverflowBits;\n        return {\n          id:\n            (1 << (32 - clz32(totalChildren) + baseLength)) |\n            (index << baseLength) |\n            baseIdWithLeadingBit,\n          overflow: length + baseContext\n        };\n      }\n      return {\n        id: (1 << length) | (index << baseLength) | baseIdWithLeadingBit,\n        overflow: baseContext\n      };\n    }\n    function clz32Fallback(x) {\n      x >>>= 0;\n      return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;\n    }\n    function noop() {}\n    function trackUsedThenable(thenableState, thenable, index) {\n      index = thenableState[index];\n      void 0 === index\n        ? thenableState.push(thenable)\n        : index !== thenable && (thenable.then(noop, noop), (thenable = index));\n      switch (thenable.status) {\n        case \"fulfilled\":\n          return thenable.value;\n        case \"rejected\":\n          thenableState = thenable.reason;\n          if (void 0 === thenableState && !(\"reason\" in thenable))\n            throw Error(\n              \"A rejected Promise was passed to React without a `reason` property. React threw a generic error from where the Promise was used to assist in identifying the problematic Promise. Make sure that instrumented Promises correctly set the `reason` property when setting `status` to `'rejected'`.\"\n            );\n          throw thenableState;\n        default:\n          \"string\" === typeof thenable.status\n            ? thenable.then(noop, noop)\n            : ((thenableState = thenable),\n              (thenableState.status = \"pending\"),\n              thenableState.then(\n                function (fulfilledValue) {\n                  if (\"pending\" === thenable.status) {\n                    var fulfilledThenable = thenable;\n                    fulfilledThenable.status = \"fulfilled\";\n                    fulfilledThenable.value = fulfilledValue;\n                  }\n                },\n                function (error) {\n                  if (\"pending\" === thenable.status) {\n                    var rejectedThenable = thenable;\n                    rejectedThenable.status = \"rejected\";\n                    rejectedThenable.reason = error;\n                  }\n                }\n              ));\n          switch (thenable.status) {\n            case \"fulfilled\":\n              return thenable.value;\n            case \"rejected\":\n              throw thenable.reason;\n          }\n          suspendedThenable = thenable;\n          shouldCaptureSuspendedCallSite && captureSuspendedCallSite();\n          throw SuspenseException;\n      }\n    }\n    function getSuspendedThenable() {\n      if (null === suspendedThenable)\n        throw Error(\n          \"Expected a suspended thenable. This is a bug in React. Please file an issue.\"\n        );\n      var thenable = suspendedThenable;\n      suspendedThenable = null;\n      return thenable;\n    }\n    function captureSuspendedCallSite() {\n      var currentTask = currentTaskInDEV;\n      if (null === currentTask)\n        throw Error(\n          \"Expected to have a current task when tracking a suspend call site. This is a bug in React.\"\n        );\n      var currentComponentStack = currentTask.componentStack;\n      if (null === currentComponentStack)\n        throw Error(\n          \"Expected to have a component stack on the current task when tracking a suspended call site. This is a bug in React.\"\n        );\n      suspendedCallSiteStack = {\n        parent: currentComponentStack.parent,\n        type: currentComponentStack.type,\n        owner: currentComponentStack.owner,\n        stack: Error(\"react-stack-top-frame\")\n      };\n      suspendedCallSiteDebugTask = currentTask.debugTask;\n    }\n    function ensureSuspendableThenableStateDEV(thenableState) {\n      var lastThenable = thenableState[thenableState.length - 1];\n      switch (lastThenable.status) {\n        case \"fulfilled\":\n          var previousThenableValue = lastThenable.value,\n            previousThenableThen = lastThenable.then.bind(lastThenable);\n          delete lastThenable.value;\n          delete lastThenable.status;\n          lastThenable.then = noop;\n          return function () {\n            lastThenable.then = previousThenableThen;\n            lastThenable.value = previousThenableValue;\n            lastThenable.status = \"fulfilled\";\n          };\n        case \"rejected\":\n          var previousThenableReason = lastThenable.reason,\n            _previousThenableThen = lastThenable.then.bind(lastThenable);\n          delete lastThenable.reason;\n          delete lastThenable.status;\n          lastThenable.then = noop;\n          return function () {\n            lastThenable.then = _previousThenableThen;\n            lastThenable.reason = previousThenableReason;\n            lastThenable.status = \"rejected\";\n          };\n      }\n      return noop;\n    }\n    function is(x, y) {\n      return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n    }\n    function createFatalRecoverableError(recoverable) {\n      return Error(\n        \"The server render could not complete because client rendering was requested outside a Suspense boundary. See this error's cause for additional details.\",\n        { cause: recoverable }\n      );\n    }\n    function resolveCurrentlyRenderingComponent() {\n      if (null === currentlyRenderingComponent)\n        throw Error(\n          \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n        );\n      isInHookUserCodeInDev &&\n        console.error(\n          \"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks\"\n        );\n      return currentlyRenderingComponent;\n    }\n    function createHook() {\n      if (0 < numberOfReRenders)\n        throw Error(\"Rendered more hooks than during the previous render\");\n      return { memoizedState: null, queue: null, next: null };\n    }\n    function createWorkInProgressHook() {\n      null === workInProgressHook\n        ? null === firstWorkInProgressHook\n          ? ((isReRender = !1),\n            (firstWorkInProgressHook = workInProgressHook = createHook()))\n          : ((isReRender = !0), (workInProgressHook = firstWorkInProgressHook))\n        : null === workInProgressHook.next\n          ? ((isReRender = !1),\n            (workInProgressHook = workInProgressHook.next = createHook()))\n          : ((isReRender = !0), (workInProgressHook = workInProgressHook.next));\n      return workInProgressHook;\n    }\n    function getThenableStateAfterSuspending() {\n      var state = thenableState;\n      thenableState = null;\n      return state;\n    }\n    function resetHooksState() {\n      isInHookUserCodeInDev = !1;\n      currentlyRenderingKeyPath =\n        currentlyRenderingRequest =\n        currentlyRenderingTask =\n        currentlyRenderingComponent =\n          null;\n      didScheduleRenderPhaseUpdate = !1;\n      firstWorkInProgressHook = null;\n      numberOfReRenders = 0;\n      workInProgressHook = renderPhaseUpdates = null;\n    }\n    function readContext(context) {\n      isInHookUserCodeInDev &&\n        console.error(\n          \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n        );\n      return context._currentValue;\n    }\n    function basicStateReducer(state, action) {\n      return \"function\" === typeof action ? action(state) : action;\n    }\n    function useReducer(reducer, initialArg, init) {\n      reducer !== basicStateReducer && (currentHookNameInDev = \"useReducer\");\n      currentlyRenderingComponent = resolveCurrentlyRenderingComponent();\n      workInProgressHook = createWorkInProgressHook();\n      if (isReRender) {\n        init = workInProgressHook.queue;\n        initialArg = init.dispatch;\n        if (null !== renderPhaseUpdates) {\n          var firstRenderPhaseUpdate = renderPhaseUpdates.get(init);\n          if (void 0 !== firstRenderPhaseUpdate) {\n            renderPhaseUpdates.delete(init);\n            init = workInProgressHook.memoizedState;\n            do {\n              var action = firstRenderPhaseUpdate.action;\n              isInHookUserCodeInDev = !0;\n              init = reducer(init, action);\n              isInHookUserCodeInDev = !1;\n              firstRenderPhaseUpdate = firstRenderPhaseUpdate.next;\n            } while (null !== firstRenderPhaseUpdate);\n            workInProgressHook.memoizedState = init;\n            return [init, initialArg];\n          }\n        }\n        return [workInProgressHook.memoizedState, initialArg];\n      }\n      isInHookUserCodeInDev = !0;\n      reducer =\n        reducer === basicStateReducer\n          ? \"function\" === typeof initialArg\n            ? initialArg()\n            : initialArg\n          : void 0 !== init\n            ? init(initialArg)\n            : initialArg;\n      isInHookUserCodeInDev = !1;\n      workInProgressHook.memoizedState = reducer;\n      reducer = workInProgressHook.queue = { last: null, dispatch: null };\n      reducer = reducer.dispatch = dispatchAction.bind(\n        null,\n        currentlyRenderingComponent,\n        reducer\n      );\n      return [workInProgressHook.memoizedState, reducer];\n    }\n    function useMemo(nextCreate, deps) {\n      currentlyRenderingComponent = resolveCurrentlyRenderingComponent();\n      workInProgressHook = createWorkInProgressHook();\n      deps = void 0 === deps ? null : deps;\n      if (null !== workInProgressHook) {\n        var prevState = workInProgressHook.memoizedState;\n        if (null !== prevState && null !== deps) {\n          a: {\n            var JSCompiler_inline_result = prevState[1];\n            if (null === JSCompiler_inline_result)\n              console.error(\n                \"%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.\",\n                currentHookNameInDev\n              ),\n                (JSCompiler_inline_result = !1);\n            else {\n              deps.length !== JSCompiler_inline_result.length &&\n                console.error(\n                  \"The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\\n\\nPrevious: %s\\nIncoming: %s\",\n                  currentHookNameInDev,\n                  \"[\" + deps.join(\", \") + \"]\",\n                  \"[\" + JSCompiler_inline_result.join(\", \") + \"]\"\n                );\n              for (\n                var i = 0;\n                i < JSCompiler_inline_result.length && i < deps.length;\n                i++\n              )\n                if (!objectIs(deps[i], JSCompiler_inline_result[i])) {\n                  JSCompiler_inline_result = !1;\n                  break a;\n                }\n              JSCompiler_inline_result = !0;\n            }\n          }\n          if (JSCompiler_inline_result) return prevState[0];\n        }\n      }\n      isInHookUserCodeInDev = !0;\n      nextCreate = nextCreate();\n      isInHookUserCodeInDev = !1;\n      workInProgressHook.memoizedState = [nextCreate, deps];\n      return nextCreate;\n    }\n    function dispatchAction(componentIdentity, queue, action) {\n      if (25 <= numberOfReRenders)\n        throw Error(\n          \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n        );\n      if (componentIdentity === currentlyRenderingComponent)\n        if (\n          ((didScheduleRenderPhaseUpdate = !0),\n          (componentIdentity = { action: action, next: null }),\n          null === renderPhaseUpdates && (renderPhaseUpdates = new Map()),\n          (action = renderPhaseUpdates.get(queue)),\n          void 0 === action)\n        )\n          renderPhaseUpdates.set(queue, componentIdentity);\n        else {\n          for (queue = action; null !== queue.next; ) queue = queue.next;\n          queue.next = componentIdentity;\n        }\n    }\n    function throwOnUseEffectEventCall() {\n      throw Error(\n        \"A function wrapped in useEffectEvent can't be called during rendering.\"\n      );\n    }\n    function unsupportedStartTransition() {\n      throw Error(\"startTransition cannot be called during server rendering.\");\n    }\n    function unsupportedSetOptimisticState() {\n      throw Error(\"Cannot update optimistic state while rendering.\");\n    }\n    function createPostbackActionStateKey(\n      permalink,\n      componentKeyPath,\n      hookIndex\n    ) {\n      if (void 0 !== permalink) return \"p\" + permalink;\n      permalink = JSON.stringify([componentKeyPath, null, hookIndex]);\n      componentKeyPath = crypto.createHash(\"md5\");\n      componentKeyPath.update(permalink);\n      return \"k\" + componentKeyPath.digest(\"hex\");\n    }\n    function useActionState(action, initialState, permalink) {\n      resolveCurrentlyRenderingComponent();\n      var actionStateHookIndex = actionStateCounter++,\n        request = currentlyRenderingRequest;\n      if (\"function\" === typeof action.$$FORM_ACTION) {\n        var nextPostbackStateKey = null,\n          componentKeyPath = currentlyRenderingKeyPath;\n        request = request.formState;\n        var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL;\n        if (null !== request && \"function\" === typeof isSignatureEqual) {\n          var postbackKey = request[1];\n          isSignatureEqual.call(action, request[2], request[3]) &&\n            ((nextPostbackStateKey = createPostbackActionStateKey(\n              permalink,\n              componentKeyPath,\n              actionStateHookIndex\n            )),\n            postbackKey === nextPostbackStateKey &&\n              ((actionStateMatchingIndex = actionStateHookIndex),\n              (initialState = request[0])));\n        }\n        var boundAction = action.bind(null, initialState);\n        action = function (payload) {\n          boundAction(payload);\n        };\n        \"function\" === typeof boundAction.$$FORM_ACTION &&\n          (action.$$FORM_ACTION = function (prefix) {\n            prefix = boundAction.$$FORM_ACTION(prefix);\n            void 0 !== permalink &&\n              (checkAttributeStringCoercion(permalink, \"target\"),\n              (permalink += \"\"),\n              (prefix.action = permalink));\n            var formData = prefix.data;\n            formData &&\n              (null === nextPostbackStateKey &&\n                (nextPostbackStateKey = createPostbackActionStateKey(\n                  permalink,\n                  componentKeyPath,\n                  actionStateHookIndex\n                )),\n              formData.append(\"$ACTION_KEY\", nextPostbackStateKey));\n            return prefix;\n          });\n        return [initialState, action, !1];\n      }\n      var _boundAction = action.bind(null, initialState);\n      return [\n        initialState,\n        function (payload) {\n          _boundAction(payload);\n        },\n        !1\n      ];\n    }\n    function unwrapThenable(thenable) {\n      var index = thenableIndexCounter;\n      thenableIndexCounter += 1;\n      null === thenableState && (thenableState = []);\n      return trackUsedThenable(thenableState, thenable, index);\n    }\n    function readPreviousThenableFromState() {\n      var index = thenableIndexCounter;\n      thenableIndexCounter += 1;\n      if (null !== thenableState)\n        return (\n          (index = thenableState[index]),\n          (index = void 0 === index ? void 0 : index.value),\n          index\n        );\n    }\n    function unsupportedRefresh() {\n      throw Error(\"Cache cannot be refreshed during server rendering.\");\n    }\n    function disabledLog() {}\n    function disableLogs() {\n      if (0 === disabledDepth) {\n        prevLog = console.log;\n        prevInfo = console.info;\n        prevWarn = console.warn;\n        prevError = console.error;\n        prevGroup = console.group;\n        prevGroupCollapsed = console.groupCollapsed;\n        prevGroupEnd = console.groupEnd;\n        var props = {\n          configurable: !0,\n          enumerable: !0,\n          value: disabledLog,\n          writable: !0\n        };\n        Object.defineProperties(console, {\n          info: props,\n          log: props,\n          warn: props,\n          error: props,\n          group: props,\n          groupCollapsed: props,\n          groupEnd: props\n        });\n      }\n      disabledDepth++;\n    }\n    function reenableLogs() {\n      disabledDepth--;\n      if (0 === disabledDepth) {\n        var props = { configurable: !0, enumerable: !0, writable: !0 };\n        Object.defineProperties(console, {\n          log: assign({}, props, { value: prevLog }),\n          info: assign({}, props, { value: prevInfo }),\n          warn: assign({}, props, { value: prevWarn }),\n          error: assign({}, props, { value: prevError }),\n          group: assign({}, props, { value: prevGroup }),\n          groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),\n          groupEnd: assign({}, props, { value: prevGroupEnd })\n        });\n      }\n      0 > disabledDepth &&\n        console.error(\n          \"disabledDepth fell below zero. This is a bug in React. Please file an issue.\"\n        );\n    }\n    function prepareStackTrace(error, structuredStackTrace) {\n      error = (error.name || \"Error\") + \": \" + (error.message || \"\");\n      for (var i = 0; i < structuredStackTrace.length; i++)\n        error += \"\\n    at \" + structuredStackTrace[i].toString();\n      return error;\n    }\n    function formatOwnerStack(error) {\n      var prevPrepareStackTrace = Error.prepareStackTrace;\n      Error.prepareStackTrace = prepareStackTrace;\n      error = error.stack;\n      Error.prepareStackTrace = prevPrepareStackTrace;\n      error.startsWith(\"Error: react-stack-top-frame\\n\") &&\n        (error = error.slice(29));\n      prevPrepareStackTrace = error.indexOf(\"\\n\");\n      -1 !== prevPrepareStackTrace &&\n        (error = error.slice(prevPrepareStackTrace + 1));\n      prevPrepareStackTrace = error.indexOf(\"react_stack_bottom_frame\");\n      -1 !== prevPrepareStackTrace &&\n        (prevPrepareStackTrace = error.lastIndexOf(\n          \"\\n\",\n          prevPrepareStackTrace\n        ));\n      if (-1 !== prevPrepareStackTrace)\n        error = error.slice(0, prevPrepareStackTrace);\n      else return \"\";\n      return error;\n    }\n    function describeBuiltInComponentFrame(name) {\n      if (void 0 === prefix)\n        try {\n          throw Error();\n        } catch (x) {\n          var match = x.stack.trim().match(/\\n( *(at )?)/);\n          prefix = (match && match[1]) || \"\";\n          suffix =\n            -1 < x.stack.indexOf(\"\\n    at\")\n              ? \" (<anonymous>)\"\n              : -1 < x.stack.indexOf(\"@\")\n                ? \"@unknown:0:0\"\n                : \"\";\n        }\n      return \"\\n\" + prefix + name + suffix;\n    }\n    function describeNativeComponentFrame(fn, construct) {\n      if (!fn || reentry) return \"\";\n      var frame = componentFrameCache.get(fn);\n      if (void 0 !== frame) return frame;\n      reentry = !0;\n      frame = Error.prepareStackTrace;\n      Error.prepareStackTrace = prepareStackTrace;\n      var previousDispatcher = null;\n      previousDispatcher = ReactSharedInternals.H;\n      ReactSharedInternals.H = null;\n      disableLogs();\n      try {\n        var RunInRootFrame = {\n          DetermineComponentFrameRoot: function () {\n            try {\n              if (construct) {\n                var Fake = function () {\n                  throw Error();\n                };\n                Object.defineProperty(Fake.prototype, \"props\", {\n                  set: function () {\n                    throw Error();\n                  }\n                });\n                if (\"object\" === typeof Reflect && Reflect.construct) {\n                  try {\n                    Reflect.construct(Fake, []);\n                  } catch (x) {\n                    var control = x;\n                  }\n                  Reflect.construct(fn, [], Fake);\n                } else {\n                  try {\n                    Fake.call();\n                  } catch (x$0) {\n                    control = x$0;\n                  }\n                  Fake = !1;\n                  try {\n                    var prevProps = Object.getOwnPropertyDescriptor(\n                      fn.prototype,\n                      \"props\"\n                    );\n                    Object.defineProperty(fn.prototype, \"props\", {\n                      configurable: !0,\n                      set: function () {\n                        throw Error();\n                      }\n                    });\n                    Fake = !0;\n                    new fn();\n                  } finally {\n                    Fake &&\n                      (void 0 !== prevProps\n                        ? Object.defineProperty(\n                            fn.prototype,\n                            \"props\",\n                            prevProps\n                          )\n                        : delete fn.prototype.props);\n                  }\n                }\n              } else {\n                try {\n                  throw Error();\n                } catch (x$1) {\n                  control = x$1;\n                }\n                (Fake = fn()) &&\n                  \"function\" === typeof Fake.catch &&\n                  Fake.catch(function () {});\n              }\n            } catch (sample) {\n              if (sample && control && \"string\" === typeof sample.stack)\n                return [sample.stack, control.stack];\n            }\n            return [null, null];\n          }\n        };\n        RunInRootFrame.DetermineComponentFrameRoot.displayName =\n          \"DetermineComponentFrameRoot\";\n        var namePropDescriptor = Object.getOwnPropertyDescriptor(\n          RunInRootFrame.DetermineComponentFrameRoot,\n          \"name\"\n        );\n        namePropDescriptor &&\n          namePropDescriptor.configurable &&\n          Object.defineProperty(\n            RunInRootFrame.DetermineComponentFrameRoot,\n            \"name\",\n            { value: \"DetermineComponentFrameRoot\" }\n          );\n        var _RunInRootFrame$Deter =\n            RunInRootFrame.DetermineComponentFrameRoot(),\n          sampleStack = _RunInRootFrame$Deter[0],\n          controlStack = _RunInRootFrame$Deter[1];\n        if (sampleStack && controlStack) {\n          var sampleLines = sampleStack.split(\"\\n\"),\n            controlLines = controlStack.split(\"\\n\");\n          for (\n            _RunInRootFrame$Deter = namePropDescriptor = 0;\n            namePropDescriptor < sampleLines.length &&\n            !sampleLines[namePropDescriptor].includes(\n              \"DetermineComponentFrameRoot\"\n            );\n\n          )\n            namePropDescriptor++;\n          for (\n            ;\n            _RunInRootFrame$Deter < controlLines.length &&\n            !controlLines[_RunInRootFrame$Deter].includes(\n              \"DetermineComponentFrameRoot\"\n            );\n\n          )\n            _RunInRootFrame$Deter++;\n          if (\n            namePropDescriptor === sampleLines.length ||\n            _RunInRootFrame$Deter === controlLines.length\n          )\n            for (\n              namePropDescriptor = sampleLines.length - 1,\n                _RunInRootFrame$Deter = controlLines.length - 1;\n              1 <= namePropDescriptor &&\n              0 <= _RunInRootFrame$Deter &&\n              sampleLines[namePropDescriptor] !==\n                controlLines[_RunInRootFrame$Deter];\n\n            )\n              _RunInRootFrame$Deter--;\n          for (\n            ;\n            1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;\n            namePropDescriptor--, _RunInRootFrame$Deter--\n          )\n            if (\n              sampleLines[namePropDescriptor] !==\n              controlLines[_RunInRootFrame$Deter]\n            ) {\n              if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {\n                do\n                  if (\n                    (namePropDescriptor--,\n                    _RunInRootFrame$Deter--,\n                    0 > _RunInRootFrame$Deter ||\n                      sampleLines[namePropDescriptor] !==\n                        controlLines[_RunInRootFrame$Deter])\n                  ) {\n                    var _frame =\n                      \"\\n\" +\n                      sampleLines[namePropDescriptor].replace(\n                        \" at new \",\n                        \" at \"\n                      );\n                    fn.displayName &&\n                      _frame.includes(\"<anonymous>\") &&\n                      (_frame = _frame.replace(\"<anonymous>\", fn.displayName));\n                    \"function\" === typeof fn &&\n                      componentFrameCache.set(fn, _frame);\n                    return _frame;\n                  }\n                while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);\n              }\n              break;\n            }\n        }\n      } finally {\n        (reentry = !1),\n          (ReactSharedInternals.H = previousDispatcher),\n          reenableLogs(),\n          (Error.prepareStackTrace = frame);\n      }\n      sampleLines = (sampleLines = fn ? fn.displayName || fn.name : \"\")\n        ? describeBuiltInComponentFrame(sampleLines)\n        : \"\";\n      \"function\" === typeof fn && componentFrameCache.set(fn, sampleLines);\n      return sampleLines;\n    }\n    function describeComponentStackByType(type) {\n      if (\"string\" === typeof type) return describeBuiltInComponentFrame(type);\n      if (\"function\" === typeof type)\n        return type.prototype && type.prototype.isReactComponent\n          ? describeNativeComponentFrame(type, !0)\n          : describeNativeComponentFrame(type, !1);\n      if (\"object\" === typeof type && null !== type) {\n        switch (type.$$typeof) {\n          case REACT_FORWARD_REF_TYPE:\n            return describeNativeComponentFrame(type.render, !1);\n          case REACT_MEMO_TYPE:\n            return describeNativeComponentFrame(type.type, !1);\n          case REACT_LAZY_TYPE:\n            var lazyComponent = type,\n              payload = lazyComponent._payload;\n            lazyComponent = lazyComponent._init;\n            try {\n              type = lazyComponent(payload);\n            } catch (x) {\n              return describeBuiltInComponentFrame(\"Lazy\");\n            }\n            return describeComponentStackByType(type);\n        }\n        if (\"string\" === typeof type.name) {\n          a: {\n            payload = type.name;\n            lazyComponent = type.env;\n            type = type.debugLocation;\n            if (null != type) {\n              type = formatOwnerStack(type);\n              var idx = type.lastIndexOf(\"\\n\");\n              type = -1 === idx ? type : type.slice(idx + 1);\n              if (-1 !== type.indexOf(payload)) {\n                payload = \"\\n\" + type;\n                break a;\n              }\n            }\n            payload = describeBuiltInComponentFrame(\n              payload + (lazyComponent ? \" [\" + lazyComponent + \"]\" : \"\")\n            );\n          }\n          return payload;\n        }\n      }\n      switch (type) {\n        case REACT_SUSPENSE_LIST_TYPE:\n          return describeBuiltInComponentFrame(\"SuspenseList\");\n        case REACT_SUSPENSE_TYPE:\n          return describeBuiltInComponentFrame(\"Suspense\");\n        case REACT_VIEW_TRANSITION_TYPE:\n          return describeBuiltInComponentFrame(\"ViewTransition\");\n      }\n      return \"\";\n    }\n    function getViewTransitionClassName(defaultClass, eventClass) {\n      defaultClass =\n        null == defaultClass || \"string\" === typeof defaultClass\n          ? defaultClass\n          : defaultClass.default;\n      eventClass =\n        null == eventClass || \"string\" === typeof eventClass\n          ? eventClass\n          : eventClass.default;\n      return null == eventClass\n        ? \"auto\" === defaultClass\n          ? null\n          : defaultClass\n        : \"auto\" === eventClass\n          ? null\n          : eventClass;\n    }\n    function resetOwnerStackLimit() {\n      var now = getCurrentTime();\n      1e3 < now - lastResetTime &&\n        ((ReactSharedInternals.recentlyCreatedOwnerStacks = 0),\n        (lastResetTime = now));\n    }\n    function isEligibleForOutlining(request, boundary) {\n      return (\n        (500 < boundary.byteSize ||\n          hasSuspenseyContent(boundary.contentState, !1) ||\n          boundary.defer) &&\n        null === boundary.preamble\n      );\n    }\n    function defaultErrorHandler(error) {\n      if (\n        \"object\" === typeof error &&\n        null !== error &&\n        \"string\" === typeof error.environmentName\n      ) {\n        var JSCompiler_inline_result = error.environmentName;\n        error = [error].slice(0);\n        \"string\" === typeof error[0]\n          ? error.splice(\n              0,\n              1,\n              \"\\u001b[0m\\u001b[7m%c%s\\u001b[0m%c \" + error[0],\n              \"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\",\n              \" \" + JSCompiler_inline_result + \" \",\n              \"\"\n            )\n          : error.splice(\n              0,\n              0,\n              \"\\u001b[0m\\u001b[7m%c%s\\u001b[0m%c\",\n              \"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\",\n              \" \" + JSCompiler_inline_result + \" \",\n              \"\"\n            );\n        error.unshift(console);\n        JSCompiler_inline_result = bind.apply(console.error, error);\n        JSCompiler_inline_result();\n      } else console.error(error);\n      return null;\n    }\n    function RequestInstance(\n      resumableState,\n      renderState,\n      rootFormatContext,\n      progressiveChunkSize,\n      onError,\n      onAllReady,\n      onShellReady,\n      onShellError,\n      onFatalError,\n      formState\n    ) {\n      var abortSet = new Set();\n      this.destination = null;\n      this.flushScheduled = !1;\n      this.resumableState = resumableState;\n      this.renderState = renderState;\n      this.rootFormatContext = rootFormatContext;\n      this.progressiveChunkSize =\n        void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;\n      this.status = 10;\n      this.fatalError = null;\n      this.aborted = !1;\n      this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;\n      this.completedPreambleSegments = this.completedRootSegment = null;\n      this.byteSize = 0;\n      this.abortableTasks = abortSet;\n      this.pingedTasks = [];\n      this.currentTask = null;\n      this.clientRenderedBoundaries = [];\n      this.completedBoundaries = [];\n      this.partialBoundaries = [];\n      this.postponedState = this.trackedPostpones = null;\n      this.onError = void 0 === onError ? defaultErrorHandler : onError;\n      this.onAllReady = void 0 === onAllReady ? noop : onAllReady;\n      this.onShellReady = void 0 === onShellReady ? noop : onShellReady;\n      this.onShellError = void 0 === onShellError ? noop : onShellError;\n      this.onFatalError = void 0 === onFatalError ? noop : onFatalError;\n      this.formState = void 0 === formState ? null : formState;\n      this.didWarnForKey = null;\n    }\n    function createRequest(\n      children,\n      resumableState,\n      renderState,\n      rootFormatContext,\n      progressiveChunkSize,\n      onError,\n      onAllReady,\n      onShellReady,\n      onShellError,\n      onFatalError,\n      formState\n    ) {\n      resetOwnerStackLimit();\n      resumableState = new RequestInstance(\n        resumableState,\n        renderState,\n        rootFormatContext,\n        progressiveChunkSize,\n        onError,\n        onAllReady,\n        onShellReady,\n        onShellError,\n        onFatalError,\n        formState\n      );\n      renderState = createPendingSegment(\n        resumableState,\n        0,\n        null,\n        rootFormatContext,\n        !1,\n        !1\n      );\n      renderState.parentFlushed = !0;\n      children = createRenderTask(\n        resumableState,\n        null,\n        children,\n        -1,\n        null,\n        renderState,\n        null,\n        null,\n        resumableState.abortableTasks,\n        null,\n        rootFormatContext,\n        null,\n        emptyTreeContext,\n        null,\n        null,\n        emptyContextObject,\n        null\n      );\n      pushComponentStack(children);\n      resumableState.pingedTasks.push(children);\n      return resumableState;\n    }\n    function createPrerenderRequest(\n      children,\n      resumableState,\n      renderState,\n      rootFormatContext,\n      progressiveChunkSize,\n      onError,\n      onAllReady,\n      onShellReady,\n      onShellError,\n      onFatalError\n    ) {\n      children = createRequest(\n        children,\n        resumableState,\n        renderState,\n        rootFormatContext,\n        progressiveChunkSize,\n        onError,\n        onAllReady,\n        onShellReady,\n        onShellError,\n        onFatalError,\n        void 0\n      );\n      children.trackedPostpones = {\n        workingMap: new Map(),\n        rootNodes: [],\n        rootSlots: null\n      };\n      return children;\n    }\n    function resumeRequest(\n      children,\n      postponedState,\n      renderState,\n      onError,\n      onAllReady,\n      onShellReady,\n      onShellError,\n      onFatalError\n    ) {\n      resetOwnerStackLimit();\n      renderState = new RequestInstance(\n        postponedState.resumableState,\n        renderState,\n        postponedState.rootFormatContext,\n        postponedState.progressiveChunkSize,\n        onError,\n        onAllReady,\n        onShellReady,\n        onShellError,\n        onFatalError,\n        null\n      );\n      renderState.nextSegmentId = postponedState.nextSegmentId;\n      if (\"number\" === typeof postponedState.replaySlots)\n        return (\n          (onError = createPendingSegment(\n            renderState,\n            0,\n            null,\n            postponedState.rootFormatContext,\n            !1,\n            !1\n          )),\n          (onError.parentFlushed = !0),\n          (children = createRenderTask(\n            renderState,\n            null,\n            children,\n            -1,\n            null,\n            onError,\n            null,\n            null,\n            renderState.abortableTasks,\n            null,\n            postponedState.rootFormatContext,\n            null,\n            emptyTreeContext,\n            null,\n            null,\n            emptyContextObject,\n            null\n          )),\n          pushComponentStack(children),\n          renderState.pingedTasks.push(children),\n          renderState\n        );\n      children = createReplayTask(\n        renderState,\n        null,\n        {\n          nodes: postponedState.replayNodes,\n          slots: postponedState.replaySlots,\n          pendingTasks: 0\n        },\n        children,\n        -1,\n        null,\n        null,\n        renderState.abortableTasks,\n        null,\n        postponedState.rootFormatContext,\n        null,\n        emptyTreeContext,\n        null,\n        null,\n        emptyContextObject,\n        null\n      );\n      pushComponentStack(children);\n      renderState.pingedTasks.push(children);\n      return renderState;\n    }\n    function resumeAndPrerenderRequest(\n      children,\n      postponedState,\n      renderState,\n      onError,\n      onAllReady,\n      onShellReady,\n      onShellError,\n      onFatalError\n    ) {\n      children = resumeRequest(\n        children,\n        postponedState,\n        renderState,\n        onError,\n        onAllReady,\n        onShellReady,\n        onShellError,\n        onFatalError\n      );\n      children.trackedPostpones = {\n        workingMap: new Map(),\n        rootNodes: [],\n        rootSlots: null\n      };\n      return children;\n    }\n    function resolveRequest() {\n      if (currentRequest) return currentRequest;\n      var store = requestStorage.getStore();\n      return store ? store : null;\n    }\n    function pingTask(request, task) {\n      request.pingedTasks.push(task);\n      1 === request.pingedTasks.length &&\n        ((request.flushScheduled = null !== request.destination),\n        null !== request.trackedPostpones || 10 === request.status\n          ? scheduleMicrotask(function () {\n              return performWork(request);\n            })\n          : setImmediate(function () {\n              return performWork(request);\n            }));\n    }\n    function createSuspenseBoundary(\n      request,\n      row,\n      fallbackAbortableTasks,\n      preamble,\n      defer\n    ) {\n      fallbackAbortableTasks = {\n        status: PENDING,\n        rootSegmentID: -1,\n        parentFlushed: !1,\n        pendingTasks: 0,\n        row: row,\n        completedSegments: [],\n        byteSize: 0,\n        defer: defer,\n        fallbackAbortableTasks: fallbackAbortableTasks,\n        errorDigest: null,\n        contentState: createHoistableState(),\n        fallbackState: createHoistableState(),\n        preamble: preamble,\n        tracked: null,\n        errorMessage: null,\n        errorStack: null,\n        errorComponentStack: null\n      };\n      null !== row &&\n        (row.pendingTasks++,\n        (preamble = row.boundaries),\n        null !== preamble &&\n          (request.allPendingTasks++,\n          fallbackAbortableTasks.pendingTasks++,\n          preamble.push(fallbackAbortableTasks)),\n        (request = row.inheritedHoistables),\n        null !== request &&\n          hoistHoistables(fallbackAbortableTasks.contentState, request));\n      return fallbackAbortableTasks;\n    }\n    function createRenderTask(\n      request,\n      thenableState,\n      node,\n      childIndex,\n      blockedBoundary,\n      blockedSegment,\n      blockedPreamble,\n      hoistableState,\n      abortSet,\n      keyPath,\n      formatContext,\n      context,\n      treeContext,\n      row,\n      componentStack,\n      legacyContext,\n      debugTask\n    ) {\n      request.allPendingTasks++;\n      null === blockedBoundary\n        ? request.pendingRootTasks++\n        : blockedBoundary.pendingTasks++;\n      null !== row && row.pendingTasks++;\n      var task$jscomp$0 = {\n        replay: null,\n        node: node,\n        childIndex: childIndex,\n        ping: {\n          resolve: function () {\n            return pingTask(request, task$jscomp$0);\n          },\n          reject: function (error) {\n            var task = task$jscomp$0;\n            request.aborted\n              ? task.abortSet.delete(task) &&\n                finishAbortedTaskDEV(task, request, error)\n              : pingTask(request, task);\n          }\n        },\n        blockedBoundary: blockedBoundary,\n        blockedSegment: blockedSegment,\n        blockedPreamble: blockedPreamble,\n        hoistableState: hoistableState,\n        abortSet: abortSet,\n        keyPath: keyPath,\n        formatContext: formatContext,\n        context: context,\n        treeContext: treeContext,\n        row: row,\n        componentStack: componentStack,\n        thenableState: thenableState\n      };\n      task$jscomp$0.debugTask = debugTask;\n      abortSet.add(task$jscomp$0);\n      return task$jscomp$0;\n    }\n    function createReplayTask(\n      request,\n      thenableState,\n      replay,\n      node,\n      childIndex,\n      blockedBoundary,\n      hoistableState,\n      abortSet,\n      keyPath,\n      formatContext,\n      context,\n      treeContext,\n      row,\n      componentStack,\n      legacyContext,\n      debugTask\n    ) {\n      request.allPendingTasks++;\n      null === blockedBoundary\n        ? request.pendingRootTasks++\n        : blockedBoundary.pendingTasks++;\n      null !== row && row.pendingTasks++;\n      replay.pendingTasks++;\n      var task$jscomp$0 = {\n        replay: replay,\n        node: node,\n        childIndex: childIndex,\n        ping: {\n          resolve: function () {\n            return pingTask(request, task$jscomp$0);\n          },\n          reject: function (error) {\n            var task = task$jscomp$0;\n            request.aborted\n              ? task.abortSet.delete(task) &&\n                finishAbortedTaskDEV(task, request, error)\n              : pingTask(request, task);\n          }\n        },\n        blockedBoundary: blockedBoundary,\n        blockedSegment: null,\n        blockedPreamble: null,\n        hoistableState: hoistableState,\n        abortSet: abortSet,\n        keyPath: keyPath,\n        formatContext: formatContext,\n        context: context,\n        treeContext: treeContext,\n        row: row,\n        componentStack: componentStack,\n        thenableState: thenableState\n      };\n      task$jscomp$0.debugTask = debugTask;\n      abortSet.add(task$jscomp$0);\n      return task$jscomp$0;\n    }\n    function createPendingSegment(\n      request,\n      index,\n      boundary,\n      parentFormatContext,\n      lastPushedText,\n      textEmbedded\n    ) {\n      return {\n        status: PENDING,\n        parentFlushed: !1,\n        id: -1,\n        index: index,\n        chunks: [],\n        children: [],\n        preambleChildren: [],\n        parentFormatContext: parentFormatContext,\n        boundary: boundary,\n        lastPushedText: lastPushedText,\n        textEmbedded: textEmbedded\n      };\n    }\n    function getCurrentStackInDEV() {\n      if (null === currentTaskInDEV || null === currentTaskInDEV.componentStack)\n        return \"\";\n      var componentStack = currentTaskInDEV.componentStack;\n      try {\n        var info = \"\";\n        if (\"string\" === typeof componentStack.type)\n          info += describeBuiltInComponentFrame(componentStack.type);\n        else if (\"function\" === typeof componentStack.type) {\n          if (!componentStack.owner) {\n            var JSCompiler_temp_const = info,\n              fn = componentStack.type,\n              name = fn ? fn.displayName || fn.name : \"\";\n            var JSCompiler_inline_result = name\n              ? describeBuiltInComponentFrame(name)\n              : \"\";\n            info = JSCompiler_temp_const + JSCompiler_inline_result;\n          }\n        } else\n          componentStack.owner ||\n            (info += describeComponentStackByType(componentStack.type));\n        for (; componentStack; )\n          (JSCompiler_temp_const = null),\n            null != componentStack.debugStack\n              ? (JSCompiler_temp_const = formatOwnerStack(\n                  componentStack.debugStack\n                ))\n              : ((JSCompiler_inline_result = componentStack),\n                null != JSCompiler_inline_result.stack &&\n                  (JSCompiler_temp_const =\n                    \"string\" !== typeof JSCompiler_inline_result.stack\n                      ? (JSCompiler_inline_result.stack = formatOwnerStack(\n                          JSCompiler_inline_result.stack\n                        ))\n                      : JSCompiler_inline_result.stack)),\n            (componentStack = componentStack.owner) &&\n              JSCompiler_temp_const &&\n              (info += \"\\n\" + JSCompiler_temp_const);\n        var JSCompiler_inline_result$jscomp$0 = info;\n      } catch (x) {\n        JSCompiler_inline_result$jscomp$0 =\n          \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n      }\n      return JSCompiler_inline_result$jscomp$0;\n    }\n    function pushHaltedAwaitOnComponentStack(task, debugInfo) {\n      if (null != debugInfo)\n        for (var i = debugInfo.length - 1; 0 <= i; i--) {\n          var info = debugInfo[i];\n          if (null != info.awaited) {\n            var bestStack = null == info.debugStack ? info.awaited : info;\n            if (void 0 !== bestStack.debugStack) {\n              task.componentStack = {\n                parent: task.componentStack,\n                type: info,\n                owner: bestStack.owner,\n                stack: bestStack.debugStack\n              };\n              task.debugTask = bestStack.debugTask;\n              break;\n            }\n          }\n        }\n    }\n    function pushSuspendedCallSiteOnComponentStack(request, task) {\n      shouldCaptureSuspendedCallSite = !0;\n      var restoreThenableState = ensureSuspendableThenableStateDEV(\n        task.thenableState\n      );\n      try {\n        var prevStatus = request.status,\n          prevAborted = request.aborted;\n        request.status = 14;\n        request.aborted = !1;\n        var prevContext = currentActiveSnapshot,\n          prevDispatcher = ReactSharedInternals.H;\n        ReactSharedInternals.H = HooksDispatcher;\n        var prevAsyncDispatcher = ReactSharedInternals.A;\n        ReactSharedInternals.A = DefaultAsyncDispatcher;\n        var prevRequest = currentRequest;\n        currentRequest = request;\n        var prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack;\n        ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;\n        var prevResumableState = currentResumableState;\n        currentResumableState = request.resumableState;\n        switchContext(task.context);\n        var prevTaskInDEV = currentTaskInDEV;\n        currentTaskInDEV = task;\n        try {\n          retryNode(request, task);\n        } catch (x) {\n          resetHooksState();\n        } finally {\n          (currentTaskInDEV = prevTaskInDEV),\n            (currentResumableState = prevResumableState),\n            (ReactSharedInternals.H = prevDispatcher),\n            (ReactSharedInternals.A = prevAsyncDispatcher),\n            (ReactSharedInternals.getCurrentStack = prevGetCurrentStackImpl),\n            prevDispatcher === HooksDispatcher && switchContext(prevContext),\n            (currentRequest = prevRequest),\n            (request.status = prevStatus),\n            (request.aborted = prevAborted);\n        }\n      } finally {\n        restoreThenableState(), (shouldCaptureSuspendedCallSite = !1);\n      }\n      null === suspendedCallSiteStack\n        ? (request = null)\n        : ((request = suspendedCallSiteStack), (suspendedCallSiteStack = null));\n      null === suspendedCallSiteDebugTask\n        ? (restoreThenableState = null)\n        : ((restoreThenableState = suspendedCallSiteDebugTask),\n          (suspendedCallSiteDebugTask = null));\n      null !== request &&\n        (task.componentStack = {\n          owner: task.componentStack,\n          parent: request.parent,\n          stack: request.stack,\n          type: request.type\n        });\n      task.debugTask = restoreThenableState;\n    }\n    function pushServerComponentStack(task, debugInfo) {\n      if (null != debugInfo)\n        for (var i = 0; i < debugInfo.length; i++) {\n          var componentInfo = debugInfo[i];\n          \"string\" === typeof componentInfo.name &&\n            void 0 !== componentInfo.debugStack &&\n            ((task.componentStack = {\n              parent: task.componentStack,\n              type: componentInfo,\n              owner: componentInfo.owner,\n              stack: componentInfo.debugStack\n            }),\n            (task.debugTask = componentInfo.debugTask));\n        }\n    }\n    function pushComponentStack(task) {\n      var node = task.node;\n      if (\"object\" === typeof node && null !== node)\n        switch (node.$$typeof) {\n          case REACT_ELEMENT_TYPE:\n            var type = node.type,\n              owner = node._owner,\n              stack = node._debugStack;\n            pushServerComponentStack(task, node._debugInfo);\n            task.debugTask = node._debugTask;\n            task.componentStack = {\n              parent: task.componentStack,\n              type: type,\n              owner: owner,\n              stack: stack\n            };\n            break;\n          case REACT_LAZY_TYPE:\n            pushServerComponentStack(task, node._debugInfo);\n            break;\n          default:\n            \"function\" === typeof node.then &&\n              pushServerComponentStack(task, node._debugInfo);\n        }\n    }\n    function replaceSuspenseComponentStackWithSuspenseFallbackStack(\n      componentStack\n    ) {\n      return null === componentStack\n        ? null\n        : {\n            parent: componentStack.parent,\n            type: \"Suspense Fallback\",\n            owner: componentStack.owner,\n            stack: componentStack.stack\n          };\n    }\n    function getThrownInfo(node$jscomp$0) {\n      var errorInfo = {};\n      node$jscomp$0 &&\n        Object.defineProperty(errorInfo, \"componentStack\", {\n          configurable: !0,\n          enumerable: !0,\n          get: function () {\n            try {\n              var info = \"\",\n                node = node$jscomp$0;\n              do\n                (info += describeComponentStackByType(node.type)),\n                  (node = node.parent);\n              while (node);\n              var stack = info;\n            } catch (x) {\n              stack = \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n            }\n            Object.defineProperty(errorInfo, \"componentStack\", {\n              value: stack\n            });\n            return stack;\n          }\n        });\n      return errorInfo;\n    }\n    function encodeErrorForBoundary(\n      boundary,\n      digest,\n      error,\n      thrownInfo,\n      wasAborted\n    ) {\n      boundary.errorDigest = digest;\n      error === RecoverableException\n        ? (boundary.errorMessage = wasAborted\n            ? \"Switched to client rendering because the server render was aborted with a request to render on the client.\"\n            : \"Switched to client rendering because a component requested it.\")\n        : (error instanceof Error\n            ? ((digest = String(error.message)), (error = String(error.stack)))\n            : ((digest =\n                \"object\" === typeof error && null !== error\n                  ? describeObjectForErrorMessage(error)\n                  : String(error)),\n              (error = null)),\n          (wasAborted = wasAborted\n            ? \"Switched to client rendering because the server rendering aborted due to:\\n\\n\"\n            : \"Switched to client rendering because the server rendering errored:\\n\\n\"),\n          (boundary.errorMessage = wasAborted + digest),\n          (boundary.errorStack = null !== error ? wasAborted + error : null));\n      boundary.errorComponentStack = thrownInfo.componentStack;\n    }\n    function logRecoverableError(request, error, errorInfo, debugTask) {\n      if (error === RecoverableException)\n        return (suspendedRecoverableError = null), REACT_RECOVERABLE_DIGEST;\n      request = request.onError;\n      error = debugTask\n        ? debugTask.run(request.bind(null, error, errorInfo))\n        : request(error, errorInfo);\n      if (null != error && \"string\" !== typeof error)\n        console.error(\n          'onError returned something with a type other than \"string\". onError should return a string and may return null or undefined but must not return anything else. It received something of type \"%s\" instead',\n          typeof error\n        );\n      else return \"\" === error ? void 0 : error;\n    }\n    function fatalError(request, error, errorInfo, debugTask) {\n      errorInfo = request.onShellError;\n      var onFatalError = request.onFatalError,\n        shellComplete = 0 === request.pendingRootTasks;\n      debugTask\n        ? (shellComplete || debugTask.run(errorInfo.bind(null, error)),\n          debugTask.run(onFatalError.bind(null, error)))\n        : (shellComplete || errorInfo(error), onFatalError(error));\n      null !== request.destination\n        ? ((request.status = CLOSED), request.destination.destroy(error))\n        : ((request.status = 12), (request.fatalError = error));\n    }\n    function finishSuspenseListRow(request, row) {\n      unblockSuspenseListRow(request, row.next, row.hoistables);\n    }\n    function unblockSuspenseListRow(\n      request,\n      unblockedRow,\n      inheritedHoistables\n    ) {\n      for (; null !== unblockedRow; ) {\n        null !== inheritedHoistables &&\n          (hoistHoistables(unblockedRow.hoistables, inheritedHoistables),\n          (unblockedRow.inheritedHoistables = inheritedHoistables));\n        var unblockedBoundaries = unblockedRow.boundaries;\n        if (null !== unblockedBoundaries) {\n          unblockedRow.boundaries = null;\n          for (var i = 0; i < unblockedBoundaries.length; i++) {\n            var unblockedBoundary = unblockedBoundaries[i];\n            null !== inheritedHoistables &&\n              hoistHoistables(\n                unblockedBoundary.contentState,\n                inheritedHoistables\n              );\n            finishedTask(request, unblockedBoundary, null, null);\n          }\n        }\n        unblockedRow.pendingTasks--;\n        if (0 < unblockedRow.pendingTasks) break;\n        inheritedHoistables = unblockedRow.hoistables;\n        unblockedRow = unblockedRow.next;\n      }\n    }\n    function tryToResolveTogetherRow(request, togetherRow) {\n      var boundaries = togetherRow.boundaries;\n      if (\n        null !== boundaries &&\n        togetherRow.pendingTasks === boundaries.length\n      ) {\n        for (\n          var allCompleteAndInlinable = !0, i = 0;\n          i < boundaries.length;\n          i++\n        ) {\n          var rowBoundary = boundaries[i];\n          if (\n            1 !== rowBoundary.pendingTasks ||\n            rowBoundary.parentFlushed ||\n            isEligibleForOutlining(request, rowBoundary)\n          ) {\n            allCompleteAndInlinable = !1;\n            break;\n          }\n        }\n        allCompleteAndInlinable &&\n          unblockSuspenseListRow(request, togetherRow, togetherRow.hoistables);\n      }\n    }\n    function createSuspenseListRow(previousRow) {\n      var newRow = {\n        pendingTasks: 1,\n        boundaries: null,\n        hoistables: createHoistableState(),\n        inheritedHoistables: null,\n        together: !1,\n        next: null\n      };\n      null !== previousRow &&\n        0 < previousRow.pendingTasks &&\n        (newRow.pendingTasks++,\n        (newRow.boundaries = []),\n        (previousRow.next = newRow));\n      return newRow;\n    }\n    function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {\n      var prevKeyPath = task.keyPath,\n        prevTreeContext = task.treeContext,\n        prevRow = task.row,\n        previousComponentStack = task.componentStack;\n      var previousDebugTask = task.debugTask;\n      pushServerComponentStack(task, task.node.props.children._debugInfo);\n      task.keyPath = keyPath;\n      keyPath = rows.length;\n      var previousSuspenseListRow = null;\n      if (null !== task.replay) {\n        var resumeSlots = task.replay.slots;\n        if (null !== resumeSlots && \"object\" === typeof resumeSlots)\n          for (var n = 0; n < keyPath; n++) {\n            var i =\n                \"backwards\" !== revealOrder &&\n                \"unstable_legacy-backwards\" !== revealOrder\n                  ? n\n                  : keyPath - 1 - n,\n              node = rows[i];\n            task.row = previousSuspenseListRow = createSuspenseListRow(\n              previousSuspenseListRow\n            );\n            task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);\n            var resumeSegmentID = resumeSlots[i];\n            \"number\" === typeof resumeSegmentID\n              ? (resumeNode(request, task, resumeSegmentID, node, i),\n                delete resumeSlots[i])\n              : renderNode(request, task, node, i);\n            0 === --previousSuspenseListRow.pendingTasks &&\n              finishSuspenseListRow(request, previousSuspenseListRow);\n          }\n        else\n          for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)\n            (n =\n              \"backwards\" !== revealOrder &&\n              \"unstable_legacy-backwards\" !== revealOrder\n                ? resumeSlots\n                : keyPath - 1 - resumeSlots),\n              (i = rows[n]),\n              warnForMissingKey(request, task, i),\n              (task.row = previousSuspenseListRow =\n                createSuspenseListRow(previousSuspenseListRow)),\n              (task.treeContext = pushTreeContext(prevTreeContext, keyPath, n)),\n              renderNode(request, task, i, n),\n              0 === --previousSuspenseListRow.pendingTasks &&\n                finishSuspenseListRow(request, previousSuspenseListRow);\n      } else if (\n        \"backwards\" !== revealOrder &&\n        \"unstable_legacy-backwards\" !== revealOrder\n      )\n        for (revealOrder = 0; revealOrder < keyPath; revealOrder++)\n          (resumeSlots = rows[revealOrder]),\n            warnForMissingKey(request, task, resumeSlots),\n            (task.row = previousSuspenseListRow =\n              createSuspenseListRow(previousSuspenseListRow)),\n            (task.treeContext = pushTreeContext(\n              prevTreeContext,\n              keyPath,\n              revealOrder\n            )),\n            renderNode(request, task, resumeSlots, revealOrder),\n            0 === --previousSuspenseListRow.pendingTasks &&\n              finishSuspenseListRow(request, previousSuspenseListRow);\n      else {\n        resumeSlots = task.blockedSegment;\n        n = resumeSlots.children.length;\n        i = resumeSlots.chunks.length;\n        for (node = 0; node < keyPath; node++) {\n          resumeSegmentID =\n            \"unstable_legacy-backwards\" === revealOrder\n              ? keyPath - 1 - node\n              : node;\n          var _node3 = rows[resumeSegmentID];\n          task.row = previousSuspenseListRow = createSuspenseListRow(\n            previousSuspenseListRow\n          );\n          task.treeContext = pushTreeContext(\n            prevTreeContext,\n            keyPath,\n            resumeSegmentID\n          );\n          var newSegment = createPendingSegment(\n            request,\n            i,\n            null,\n            task.formatContext,\n            0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,\n            !0\n          );\n          resumeSlots.children.splice(n, 0, newSegment);\n          task.blockedSegment = newSegment;\n          warnForMissingKey(request, task, _node3);\n          try {\n            renderNode(request, task, _node3, resumeSegmentID),\n              newSegment.lastPushedText &&\n                newSegment.textEmbedded &&\n                newSegment.chunks.push(textSeparator),\n              (newSegment.status = COMPLETED),\n              finishedSegment(request, task.blockedBoundary, newSegment),\n              0 === --previousSuspenseListRow.pendingTasks &&\n                finishSuspenseListRow(request, previousSuspenseListRow);\n          } catch (thrownValue) {\n            throw (\n              ((newSegment.status = request.aborted ? ABORTED : ERRORED),\n              thrownValue)\n            );\n          }\n        }\n        task.blockedSegment = resumeSlots;\n        resumeSlots.lastPushedText = !1;\n      }\n      null !== prevRow &&\n        null !== previousSuspenseListRow &&\n        0 < previousSuspenseListRow.pendingTasks &&\n        (prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));\n      task.treeContext = prevTreeContext;\n      task.row = prevRow;\n      task.keyPath = prevKeyPath;\n      task.componentStack = previousComponentStack;\n      task.debugTask = previousDebugTask;\n    }\n    function renderWithHooks(\n      request,\n      task,\n      keyPath,\n      Component,\n      props,\n      secondArg\n    ) {\n      var prevThenableState = task.thenableState;\n      task.thenableState = null;\n      currentlyRenderingComponent = {};\n      currentlyRenderingTask = task;\n      currentlyRenderingRequest = request;\n      currentlyRenderingKeyPath = keyPath;\n      isInHookUserCodeInDev = !1;\n      actionStateCounter = localIdCounter = 0;\n      actionStateMatchingIndex = -1;\n      thenableIndexCounter = 0;\n      thenableState = prevThenableState;\n      for (\n        request = callComponentInDEV(Component, props, secondArg);\n        didScheduleRenderPhaseUpdate;\n\n      )\n        (didScheduleRenderPhaseUpdate = !1),\n          (actionStateCounter = localIdCounter = 0),\n          (actionStateMatchingIndex = -1),\n          (thenableIndexCounter = 0),\n          (numberOfReRenders += 1),\n          (workInProgressHook = null),\n          (request = Component(props, secondArg));\n      resetHooksState();\n      return request;\n    }\n    function finishFunctionComponent(\n      request,\n      task,\n      keyPath,\n      children,\n      hasId,\n      actionStateCount,\n      actionStateMatchingIndex\n    ) {\n      var didEmitActionStateMarkers = !1;\n      if (0 !== actionStateCount && null !== request.formState) {\n        var segment = task.blockedSegment;\n        if (null !== segment) {\n          didEmitActionStateMarkers = !0;\n          segment = segment.chunks;\n          for (var i = 0; i < actionStateCount; i++)\n            i === actionStateMatchingIndex\n              ? segment.push(formStateMarkerIsMatching)\n              : segment.push(formStateMarkerIsNotMatching);\n        }\n      }\n      actionStateCount = task.keyPath;\n      task.keyPath = keyPath;\n      hasId\n        ? ((keyPath = task.treeContext),\n          (task.treeContext = pushTreeContext(keyPath, 1, 0)),\n          renderNode(request, task, children, -1),\n          (task.treeContext = keyPath))\n        : didEmitActionStateMarkers\n          ? renderNode(request, task, children, -1)\n          : renderNodeDestructive(request, task, children, -1);\n      task.keyPath = actionStateCount;\n    }\n    function renderElement(request, task, keyPath, type, props, ref) {\n      if (\"function\" === typeof type)\n        if (type.prototype && type.prototype.isReactComponent) {\n          var newProps = props;\n          if (\"ref\" in props) {\n            newProps = {};\n            for (var propName in props)\n              \"ref\" !== propName && (newProps[propName] = props[propName]);\n          }\n          var defaultProps = type.defaultProps;\n          if (defaultProps) {\n            newProps === props && (newProps = assign({}, newProps, props));\n            for (var _propName in defaultProps)\n              void 0 === newProps[_propName] &&\n                (newProps[_propName] = defaultProps[_propName]);\n          }\n          var resolvedProps = newProps;\n          var context = emptyContextObject,\n            contextType = type.contextType;\n          if (\n            \"contextType\" in type &&\n            null !== contextType &&\n            (void 0 === contextType ||\n              contextType.$$typeof !== REACT_CONTEXT_TYPE) &&\n            !didWarnAboutInvalidateContextType.has(type)\n          ) {\n            didWarnAboutInvalidateContextType.add(type);\n            var addendum =\n              void 0 === contextType\n                ? \" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.\"\n                : \"object\" !== typeof contextType\n                  ? \" However, it is set to a \" + typeof contextType + \".\"\n                  : contextType.$$typeof === REACT_CONSUMER_TYPE\n                    ? \" Did you accidentally pass the Context.Consumer instead?\"\n                    : \" However, it is set to an object with keys {\" +\n                      Object.keys(contextType).join(\", \") +\n                      \"}.\";\n            console.error(\n              \"%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s\",\n              getComponentNameFromType(type) || \"Component\",\n              addendum\n            );\n          }\n          \"object\" === typeof contextType &&\n            null !== contextType &&\n            (context = contextType._currentValue);\n          var instance = new type(resolvedProps, context);\n          if (\n            \"function\" === typeof type.getDerivedStateFromProps &&\n            (null === instance.state || void 0 === instance.state)\n          ) {\n            var componentName = getComponentNameFromType(type) || \"Component\";\n            didWarnAboutUninitializedState.has(componentName) ||\n              (didWarnAboutUninitializedState.add(componentName),\n              console.error(\n                \"`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.\",\n                componentName,\n                null === instance.state ? \"null\" : \"undefined\",\n                componentName\n              ));\n          }\n          if (\n            \"function\" === typeof type.getDerivedStateFromProps ||\n            \"function\" === typeof instance.getSnapshotBeforeUpdate\n          ) {\n            var foundWillMountName = null,\n              foundWillReceivePropsName = null,\n              foundWillUpdateName = null;\n            \"function\" === typeof instance.componentWillMount &&\n            !0 !== instance.componentWillMount.__suppressDeprecationWarning\n              ? (foundWillMountName = \"componentWillMount\")\n              : \"function\" === typeof instance.UNSAFE_componentWillMount &&\n                (foundWillMountName = \"UNSAFE_componentWillMount\");\n            \"function\" === typeof instance.componentWillReceiveProps &&\n            !0 !==\n              instance.componentWillReceiveProps.__suppressDeprecationWarning\n              ? (foundWillReceivePropsName = \"componentWillReceiveProps\")\n              : \"function\" ===\n                  typeof instance.UNSAFE_componentWillReceiveProps &&\n                (foundWillReceivePropsName =\n                  \"UNSAFE_componentWillReceiveProps\");\n            \"function\" === typeof instance.componentWillUpdate &&\n            !0 !== instance.componentWillUpdate.__suppressDeprecationWarning\n              ? (foundWillUpdateName = \"componentWillUpdate\")\n              : \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n                (foundWillUpdateName = \"UNSAFE_componentWillUpdate\");\n            if (\n              null !== foundWillMountName ||\n              null !== foundWillReceivePropsName ||\n              null !== foundWillUpdateName\n            ) {\n              var _componentName =\n                  getComponentNameFromType(type) || \"Component\",\n                newApiName =\n                  \"function\" === typeof type.getDerivedStateFromProps\n                    ? \"getDerivedStateFromProps()\"\n                    : \"getSnapshotBeforeUpdate()\";\n              didWarnAboutLegacyLifecyclesAndDerivedState.has(_componentName) ||\n                (didWarnAboutLegacyLifecyclesAndDerivedState.add(\n                  _componentName\n                ),\n                console.error(\n                  \"Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\nhttps://react.dev/link/unsafe-component-lifecycles\",\n                  _componentName,\n                  newApiName,\n                  null !== foundWillMountName\n                    ? \"\\n  \" + foundWillMountName\n                    : \"\",\n                  null !== foundWillReceivePropsName\n                    ? \"\\n  \" + foundWillReceivePropsName\n                    : \"\",\n                  null !== foundWillUpdateName\n                    ? \"\\n  \" + foundWillUpdateName\n                    : \"\"\n                ));\n            }\n          }\n          var name = getComponentNameFromType(type) || \"Component\";\n          instance.render ||\n            (type.prototype && \"function\" === typeof type.prototype.render\n              ? console.error(\n                  \"No `render` method found on the %s instance: did you accidentally return an object from the constructor?\",\n                  name\n                )\n              : console.error(\n                  \"No `render` method found on the %s instance: you may have forgotten to define `render`.\",\n                  name\n                ));\n          !instance.getInitialState ||\n            instance.getInitialState.isReactClassApproved ||\n            instance.state ||\n            console.error(\n              \"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?\",\n              name\n            );\n          instance.getDefaultProps &&\n            !instance.getDefaultProps.isReactClassApproved &&\n            console.error(\n              \"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.\",\n              name\n            );\n          instance.contextType &&\n            console.error(\n              \"contextType was defined as an instance property on %s. Use a static property to define contextType instead.\",\n              name\n            );\n          type.childContextTypes &&\n            !didWarnAboutChildContextTypes.has(type) &&\n            (didWarnAboutChildContextTypes.add(type),\n            console.error(\n              \"%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)\",\n              name\n            ));\n          type.contextTypes &&\n            !didWarnAboutContextTypes$1.has(type) &&\n            (didWarnAboutContextTypes$1.add(type),\n            console.error(\n              \"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)\",\n              name\n            ));\n          \"function\" === typeof instance.componentShouldUpdate &&\n            console.error(\n              \"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.\",\n              name\n            );\n          type.prototype &&\n            type.prototype.isPureReactComponent &&\n            \"undefined\" !== typeof instance.shouldComponentUpdate &&\n            console.error(\n              \"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.\",\n              getComponentNameFromType(type) || \"A pure component\"\n            );\n          \"function\" === typeof instance.componentDidUnmount &&\n            console.error(\n              \"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?\",\n              name\n            );\n          \"function\" === typeof instance.componentDidReceiveProps &&\n            console.error(\n              \"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().\",\n              name\n            );\n          \"function\" === typeof instance.componentWillRecieveProps &&\n            console.error(\n              \"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?\",\n              name\n            );\n          \"function\" === typeof instance.UNSAFE_componentWillRecieveProps &&\n            console.error(\n              \"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?\",\n              name\n            );\n          var hasMutatedProps = instance.props !== resolvedProps;\n          void 0 !== instance.props &&\n            hasMutatedProps &&\n            console.error(\n              \"When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.\",\n              name\n            );\n          instance.defaultProps &&\n            console.error(\n              \"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.\",\n              name,\n              name\n            );\n          \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n            \"function\" === typeof instance.componentDidUpdate ||\n            didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(type) ||\n            (didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(type),\n            console.error(\n              \"%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.\",\n              getComponentNameFromType(type)\n            ));\n          \"function\" === typeof instance.getDerivedStateFromProps &&\n            console.error(\n              \"%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.\",\n              name\n            );\n          \"function\" === typeof instance.getDerivedStateFromError &&\n            console.error(\n              \"%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.\",\n              name\n            );\n          \"function\" === typeof type.getSnapshotBeforeUpdate &&\n            console.error(\n              \"%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.\",\n              name\n            );\n          var state = instance.state;\n          state &&\n            (\"object\" !== typeof state || isArrayImpl(state)) &&\n            console.error(\"%s.state: must be set to an object or null\", name);\n          \"function\" === typeof instance.getChildContext &&\n            \"object\" !== typeof type.childContextTypes &&\n            console.error(\n              \"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().\",\n              name\n            );\n          var initialState = void 0 !== instance.state ? instance.state : null;\n          instance.updater = classComponentUpdater;\n          instance.props = resolvedProps;\n          instance.state = initialState;\n          var internalInstance = { queue: [], replace: !1 };\n          instance._reactInternals = internalInstance;\n          var contextType$jscomp$0 = type.contextType;\n          instance.context =\n            \"object\" === typeof contextType$jscomp$0 &&\n            null !== contextType$jscomp$0\n              ? contextType$jscomp$0._currentValue\n              : emptyContextObject;\n          if (instance.state === resolvedProps) {\n            var componentName$jscomp$0 =\n              getComponentNameFromType(type) || \"Component\";\n            didWarnAboutDirectlyAssigningPropsToState.has(\n              componentName$jscomp$0\n            ) ||\n              (didWarnAboutDirectlyAssigningPropsToState.add(\n                componentName$jscomp$0\n              ),\n              console.error(\n                \"%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.\",\n                componentName$jscomp$0\n              ));\n          }\n          var getDerivedStateFromProps = type.getDerivedStateFromProps;\n          if (\"function\" === typeof getDerivedStateFromProps) {\n            var partialState = getDerivedStateFromProps(\n              resolvedProps,\n              initialState\n            );\n            if (void 0 === partialState) {\n              var componentName$jscomp$1 =\n                getComponentNameFromType(type) || \"Component\";\n              didWarnAboutUndefinedDerivedState.has(componentName$jscomp$1) ||\n                (didWarnAboutUndefinedDerivedState.add(componentName$jscomp$1),\n                console.error(\n                  \"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.\",\n                  componentName$jscomp$1\n                ));\n            }\n            var JSCompiler_inline_result =\n              null === partialState || void 0 === partialState\n                ? initialState\n                : assign({}, initialState, partialState);\n            instance.state = JSCompiler_inline_result;\n          }\n          if (\n            \"function\" !== typeof type.getDerivedStateFromProps &&\n            \"function\" !== typeof instance.getSnapshotBeforeUpdate &&\n            (\"function\" === typeof instance.UNSAFE_componentWillMount ||\n              \"function\" === typeof instance.componentWillMount)\n          ) {\n            var oldState = instance.state;\n            if (\"function\" === typeof instance.componentWillMount) {\n              if (\n                !0 !== instance.componentWillMount.__suppressDeprecationWarning\n              ) {\n                var componentName$jscomp$2 =\n                  getComponentNameFromType(type) || \"Unknown\";\n                didWarnAboutDeprecatedWillMount[componentName$jscomp$2] ||\n                  (console.warn(\n                    \"componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.\\n\\nPlease update the following components: %s\",\n                    componentName$jscomp$2\n                  ),\n                  (didWarnAboutDeprecatedWillMount[componentName$jscomp$2] =\n                    !0));\n              }\n              instance.componentWillMount();\n            }\n            \"function\" === typeof instance.UNSAFE_componentWillMount &&\n              instance.UNSAFE_componentWillMount();\n            oldState !== instance.state &&\n              (console.error(\n                \"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.\",\n                getComponentNameFromType(type) || \"Component\"\n              ),\n              classComponentUpdater.enqueueReplaceState(\n                instance,\n                instance.state,\n                null\n              ));\n            if (\n              null !== internalInstance.queue &&\n              0 < internalInstance.queue.length\n            ) {\n              var oldQueue = internalInstance.queue,\n                oldReplace = internalInstance.replace;\n              internalInstance.queue = null;\n              internalInstance.replace = !1;\n              if (oldReplace && 1 === oldQueue.length)\n                instance.state = oldQueue[0];\n              else {\n                for (\n                  var nextState = oldReplace ? oldQueue[0] : instance.state,\n                    dontMutate = !0,\n                    i = oldReplace ? 1 : 0;\n                  i < oldQueue.length;\n                  i++\n                ) {\n                  var partial = oldQueue[i],\n                    partialState$jscomp$0 =\n                      \"function\" === typeof partial\n                        ? partial.call(\n                            instance,\n                            nextState,\n                            resolvedProps,\n                            void 0\n                          )\n                        : partial;\n                  null != partialState$jscomp$0 &&\n                    (dontMutate\n                      ? ((dontMutate = !1),\n                        (nextState = assign(\n                          {},\n                          nextState,\n                          partialState$jscomp$0\n                        )))\n                      : assign(nextState, partialState$jscomp$0));\n                }\n                instance.state = nextState;\n              }\n            } else internalInstance.queue = null;\n          }\n          var nextChildren = callRenderInDEV(instance);\n          if (request.aborted) throw null;\n          instance.props !== resolvedProps &&\n            (didWarnAboutReassigningProps ||\n              console.error(\n                \"It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.\",\n                getComponentNameFromType(type) || \"a component\"\n              ),\n            (didWarnAboutReassigningProps = !0));\n          var prevKeyPath = task.keyPath;\n          task.keyPath = keyPath;\n          renderNodeDestructive(request, task, nextChildren, -1);\n          task.keyPath = prevKeyPath;\n        } else {\n          if (type.prototype && \"function\" === typeof type.prototype.render) {\n            var componentName$jscomp$3 =\n              getComponentNameFromType(type) || \"Unknown\";\n            didWarnAboutBadClass[componentName$jscomp$3] ||\n              (console.error(\n                \"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.\",\n                componentName$jscomp$3,\n                componentName$jscomp$3\n              ),\n              (didWarnAboutBadClass[componentName$jscomp$3] = !0));\n          }\n          var value = renderWithHooks(\n            request,\n            task,\n            keyPath,\n            type,\n            props,\n            void 0\n          );\n          if (request.aborted) throw null;\n          var hasId = 0 !== localIdCounter,\n            actionStateCount = actionStateCounter,\n            actionStateMatchingIndex$jscomp$0 = actionStateMatchingIndex;\n          if (type.contextTypes) {\n            var _componentName$jscomp$0 =\n              getComponentNameFromType(type) || \"Unknown\";\n            didWarnAboutContextTypes[_componentName$jscomp$0] ||\n              ((didWarnAboutContextTypes[_componentName$jscomp$0] = !0),\n              console.error(\n                \"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)\",\n                _componentName$jscomp$0\n              ));\n          }\n          type &&\n            type.childContextTypes &&\n            console.error(\n              \"childContextTypes cannot be defined on a function component.\\n  %s.childContextTypes = ...\",\n              type.displayName || type.name || \"Component\"\n            );\n          if (\"function\" === typeof type.getDerivedStateFromProps) {\n            var componentName$jscomp$4 =\n              getComponentNameFromType(type) || \"Unknown\";\n            didWarnAboutGetDerivedStateOnFunctionComponent[\n              componentName$jscomp$4\n            ] ||\n              (console.error(\n                \"%s: Function components do not support getDerivedStateFromProps.\",\n                componentName$jscomp$4\n              ),\n              (didWarnAboutGetDerivedStateOnFunctionComponent[\n                componentName$jscomp$4\n              ] = !0));\n          }\n          if (\n            \"object\" === typeof type.contextType &&\n            null !== type.contextType\n          ) {\n            var _componentName2 = getComponentNameFromType(type) || \"Unknown\";\n            didWarnAboutContextTypeOnFunctionComponent[_componentName2] ||\n              (console.error(\n                \"%s: Function components do not support contextType.\",\n                _componentName2\n              ),\n              (didWarnAboutContextTypeOnFunctionComponent[_componentName2] =\n                !0));\n          }\n          finishFunctionComponent(\n            request,\n            task,\n            keyPath,\n            value,\n            hasId,\n            actionStateCount,\n            actionStateMatchingIndex$jscomp$0\n          );\n        }\n      else if (\"string\" === typeof type) {\n        var segment = task.blockedSegment;\n        if (null === segment) {\n          var children = props.children,\n            prevContext = task.formatContext,\n            prevKeyPath$jscomp$0 = task.keyPath;\n          task.formatContext = getChildFormatContext(prevContext, type, props);\n          task.keyPath = keyPath;\n          renderNode(request, task, children, -1);\n          task.formatContext = prevContext;\n          task.keyPath = prevKeyPath$jscomp$0;\n        } else {\n          var _children = pushStartInstance(\n            segment.chunks,\n            type,\n            props,\n            request.resumableState,\n            request.renderState,\n            task.blockedPreamble,\n            task.hoistableState,\n            task.formatContext,\n            segment.lastPushedText\n          );\n          segment.lastPushedText = !1;\n          var _prevContext2 = task.formatContext,\n            _prevKeyPath3 = task.keyPath;\n          task.keyPath = keyPath;\n          if (\n            (task.formatContext = getChildFormatContext(\n              _prevContext2,\n              type,\n              props\n            )).insertionMode === HTML_HEAD_MODE\n          ) {\n            var preambleSegment = createPendingSegment(\n              request,\n              0,\n              null,\n              task.formatContext,\n              !1,\n              !1\n            );\n            segment.preambleChildren.push(preambleSegment);\n            task.blockedSegment = preambleSegment;\n            try {\n              renderNode(request, task, _children, -1),\n                preambleSegment.lastPushedText &&\n                  preambleSegment.textEmbedded &&\n                  preambleSegment.chunks.push(textSeparator),\n                (preambleSegment.status = COMPLETED),\n                finishedSegment(request, task.blockedBoundary, preambleSegment);\n            } finally {\n              task.blockedSegment = segment;\n            }\n          } else renderNode(request, task, _children, -1);\n          task.formatContext = _prevContext2;\n          task.keyPath = _prevKeyPath3;\n          a: {\n            var target = segment.chunks,\n              resumableState = request.resumableState;\n            switch (type) {\n              case \"title\":\n              case \"style\":\n              case \"script\":\n              case \"area\":\n              case \"base\":\n              case \"br\":\n              case \"col\":\n              case \"embed\":\n              case \"hr\":\n              case \"img\":\n              case \"input\":\n              case \"keygen\":\n              case \"link\":\n              case \"meta\":\n              case \"param\":\n              case \"source\":\n              case \"track\":\n              case \"wbr\":\n                break a;\n              case \"body\":\n                if (_prevContext2.insertionMode <= HTML_HTML_MODE) {\n                  resumableState.hasBody = !0;\n                  break a;\n                }\n                break;\n              case \"html\":\n                if (_prevContext2.insertionMode === ROOT_HTML_MODE) {\n                  resumableState.hasHtml = !0;\n                  break a;\n                }\n                break;\n              case \"head\":\n                if (_prevContext2.insertionMode <= HTML_HTML_MODE) break a;\n            }\n            target.push(endChunkForTag(type));\n          }\n          segment.lastPushedText = !1;\n        }\n      } else {\n        switch (type) {\n          case REACT_LEGACY_HIDDEN_TYPE:\n          case REACT_STRICT_MODE_TYPE:\n          case REACT_PROFILER_TYPE:\n          case REACT_FRAGMENT_TYPE:\n            var prevKeyPath$jscomp$1 = task.keyPath;\n            task.keyPath = keyPath;\n            renderNodeDestructive(request, task, props.children, -1);\n            task.keyPath = prevKeyPath$jscomp$1;\n            return;\n          case REACT_ACTIVITY_TYPE:\n            var segment$jscomp$0 = task.blockedSegment;\n            if (null === segment$jscomp$0) {\n              if (\"hidden\" !== props.mode) {\n                var prevKeyPath$jscomp$2 = task.keyPath;\n                task.keyPath = keyPath;\n                renderNode(request, task, props.children, -1);\n                task.keyPath = prevKeyPath$jscomp$2;\n              }\n            } else if (\"hidden\" !== props.mode) {\n              segment$jscomp$0.chunks.push(startActivityBoundary);\n              segment$jscomp$0.lastPushedText = !1;\n              var _prevKeyPath4 = task.keyPath;\n              task.keyPath = keyPath;\n              renderNode(request, task, props.children, -1);\n              task.keyPath = _prevKeyPath4;\n              segment$jscomp$0.chunks.push(endActivityBoundary);\n              segment$jscomp$0.lastPushedText = !1;\n            }\n            return;\n          case REACT_SUSPENSE_LIST_TYPE:\n            a: {\n              var children$jscomp$0 = props.children,\n                revealOrder = props.revealOrder;\n              if (\"independent\" !== revealOrder && \"together\" !== revealOrder) {\n                if (isArrayImpl(children$jscomp$0)) {\n                  renderSuspenseListRows(\n                    request,\n                    task,\n                    keyPath,\n                    children$jscomp$0,\n                    revealOrder\n                  );\n                  break a;\n                }\n                var iteratorFn = getIteratorFn(children$jscomp$0);\n                if (iteratorFn) {\n                  var iterator = iteratorFn.call(children$jscomp$0);\n                  if (iterator) {\n                    validateIterable(\n                      task,\n                      children$jscomp$0,\n                      -1,\n                      iterator,\n                      iteratorFn\n                    );\n                    var step = iterator.next();\n                    if (!step.done) {\n                      var rows = [];\n                      do rows.push(step.value), (step = iterator.next());\n                      while (!step.done);\n                      renderSuspenseListRows(\n                        request,\n                        task,\n                        keyPath,\n                        children$jscomp$0,\n                        revealOrder\n                      );\n                    }\n                    break a;\n                  }\n                }\n                if (\"function\" === typeof children$jscomp$0[ASYNC_ITERATOR]) {\n                  var _iterator = children$jscomp$0[ASYNC_ITERATOR]();\n                  if (_iterator) {\n                    validateAsyncIterable(\n                      task,\n                      children$jscomp$0,\n                      -1,\n                      _iterator\n                    );\n                    var prevThenableState = task.thenableState;\n                    task.thenableState = null;\n                    thenableIndexCounter = 0;\n                    thenableState = prevThenableState;\n                    var _rows = [],\n                      done = !1;\n                    if (_iterator === children$jscomp$0)\n                      for (\n                        var _step = readPreviousThenableFromState();\n                        void 0 !== _step;\n\n                      ) {\n                        if (_step.done) {\n                          done = !0;\n                          break;\n                        }\n                        _rows.push(_step.value);\n                        _step = readPreviousThenableFromState();\n                      }\n                    if (!done)\n                      for (\n                        var _step2 = unwrapThenable(_iterator.next());\n                        !_step2.done;\n\n                      )\n                        _rows.push(_step2.value),\n                          (_step2 = unwrapThenable(_iterator.next()));\n                    renderSuspenseListRows(\n                      request,\n                      task,\n                      keyPath,\n                      _rows,\n                      revealOrder\n                    );\n                    break a;\n                  }\n                }\n              }\n              if (\"together\" === revealOrder) {\n                var _prevKeyPath2 = task.keyPath,\n                  prevRow = task.row,\n                  newRow = (task.row = createSuspenseListRow(null));\n                newRow.boundaries = [];\n                newRow.together = !0;\n                task.keyPath = keyPath;\n                renderNodeDestructive(request, task, children$jscomp$0, -1);\n                0 === --newRow.pendingTasks &&\n                  finishSuspenseListRow(request, newRow);\n                task.keyPath = _prevKeyPath2;\n                task.row = prevRow;\n                null !== prevRow &&\n                  0 < newRow.pendingTasks &&\n                  (prevRow.pendingTasks++, (newRow.next = prevRow));\n              } else {\n                var prevKeyPath$jscomp$3 = task.keyPath;\n                task.keyPath = keyPath;\n                renderNodeDestructive(request, task, children$jscomp$0, -1);\n                task.keyPath = prevKeyPath$jscomp$3;\n              }\n            }\n            return;\n          case REACT_VIEW_TRANSITION_TYPE:\n            var prevContext$jscomp$0 = task.formatContext,\n              prevKeyPath$jscomp$4 = task.keyPath;\n            var resumableState$jscomp$0 = request.resumableState;\n            if (null != props.name && \"auto\" !== props.name)\n              var autoName = props.name;\n            else {\n              var treeId = getTreeId(task.treeContext);\n              autoName = makeId(resumableState$jscomp$0, treeId, 0);\n            }\n            var resumableState$jscomp$1 = request.resumableState,\n              update = getViewTransitionClassName(props.default, props.update),\n              enter = getViewTransitionClassName(props.default, props.enter),\n              exit = getViewTransitionClassName(props.default, props.exit),\n              share = getViewTransitionClassName(props.default, props.share),\n              parentEnter =\n                void 0 !== props.parentEnter\n                  ? getViewTransitionClassName(props.default, props.parentEnter)\n                  : void 0,\n              parentExit =\n                void 0 !== props.parentExit\n                  ? getViewTransitionClassName(props.default, props.parentExit)\n                  : void 0,\n              hasParentEnterHandler = null != props.onParentEnter,\n              hasParentExitHandler = null != props.onParentExit,\n              name$jscomp$0 = props.name,\n              autoName$jscomp$0 = autoName;\n            null == update && (update = \"auto\");\n            null == enter && (enter = \"auto\");\n            null == exit && (exit = \"auto\");\n            if (null == name$jscomp$0) {\n              var parentViewTransition = prevContext$jscomp$0.viewTransition;\n              null !== parentViewTransition\n                ? ((name$jscomp$0 = parentViewTransition.name),\n                  (share = parentViewTransition.share))\n                : ((name$jscomp$0 = \"auto\"), (share = \"none\"));\n            } else\n              null == share && (share = \"auto\"),\n                prevContext$jscomp$0.tagScope & 4 &&\n                  (resumableState$jscomp$1.instructions |=\n                    NeedUpgradeToViewTransitions);\n            prevContext$jscomp$0.tagScope & 8\n              ? (resumableState$jscomp$1.instructions |=\n                  NeedUpgradeToViewTransitions)\n              : (exit = \"none\");\n            prevContext$jscomp$0.tagScope & 16\n              ? (resumableState$jscomp$1.instructions |=\n                  NeedUpgradeToViewTransitions)\n              : (enter = \"none\");\n            var resolvedParentEnter = \"none\",\n              resolvedParentExit = \"none\";\n            null != parentEnter &&\n              0 !== (prevContext$jscomp$0.tagScope & 256) &&\n              (resolvedParentEnter = parentEnter);\n            null != parentExit &&\n              0 !== (prevContext$jscomp$0.tagScope & 128) &&\n              (resolvedParentExit = parentExit);\n            var viewTransition = {\n                update: update,\n                enter: enter,\n                exit: exit,\n                share: share,\n                parentEnter: resolvedParentEnter,\n                parentExit: resolvedParentExit,\n                name: name$jscomp$0,\n                autoName: autoName$jscomp$0,\n                nameIdx: 0\n              },\n              subtreeScope = prevContext$jscomp$0.tagScope & -25;\n            subtreeScope =\n              \"none\" !== update ? subtreeScope | 32 : subtreeScope & -33;\n            \"none\" !== enter && (subtreeScope |= 64);\n            \"none\" !== enter\n              ? (subtreeScope |= 256)\n              : 0 === (prevContext$jscomp$0.tagScope & 256) ||\n                (\"none\" !== parentEnter &&\n                  (void 0 !== parentEnter || hasParentEnterHandler)) ||\n                (subtreeScope &= -257);\n            \"none\" !== exit\n              ? (subtreeScope |= 128)\n              : 0 === (prevContext$jscomp$0.tagScope & 128) ||\n                (\"none\" !== parentExit &&\n                  (void 0 !== parentExit || hasParentExitHandler)) ||\n                (subtreeScope &= -129);\n            var JSCompiler_inline_result$jscomp$0 = createFormatContext(\n              prevContext$jscomp$0.insertionMode,\n              prevContext$jscomp$0.selectedValue,\n              subtreeScope,\n              viewTransition\n            );\n            task.formatContext = JSCompiler_inline_result$jscomp$0;\n            task.keyPath = keyPath;\n            if (null != props.name && \"auto\" !== props.name)\n              renderNodeDestructive(request, task, props.children, -1);\n            else {\n              var prevTreeContext = task.treeContext;\n              task.treeContext = pushTreeContext(prevTreeContext, 1, 0);\n              renderNode(request, task, props.children, -1);\n              task.treeContext = prevTreeContext;\n            }\n            task.formatContext = prevContext$jscomp$0;\n            task.keyPath = prevKeyPath$jscomp$4;\n            return;\n          case REACT_SCOPE_TYPE:\n            throw Error(\n              \"ReactDOMServer does not yet support scope components.\"\n            );\n          case REACT_SUSPENSE_TYPE:\n            a: if (null !== task.replay) {\n              var _prevKeyPath = task.keyPath,\n                _prevContext = task.formatContext,\n                _prevRow = task.row;\n              task.keyPath = keyPath;\n              task.formatContext = getSuspenseContentFormatContext(\n                request.resumableState,\n                _prevContext\n              );\n              task.row = null;\n              var _content = props.children;\n              try {\n                renderNode(request, task, _content, -1);\n              } finally {\n                (task.keyPath = _prevKeyPath),\n                  (task.formatContext = _prevContext),\n                  (task.row = _prevRow);\n              }\n            } else {\n              var prevKeyPath$jscomp$5 = task.keyPath,\n                prevContext$jscomp$1 = task.formatContext,\n                prevRow$jscomp$0 = task.row,\n                parentBoundary = task.blockedBoundary,\n                parentPreamble = task.blockedPreamble,\n                parentHoistableState = task.hoistableState,\n                parentSegment = task.blockedSegment,\n                fallback = props.fallback,\n                content = props.children,\n                defer = !0 === props.defer,\n                fallbackAbortSet = new Set(),\n                newBoundary = createSuspenseBoundary(\n                  request,\n                  task.row,\n                  fallbackAbortSet,\n                  task.formatContext.insertionMode < HTML_MODE\n                    ? {\n                        content: createPreambleState(),\n                        fallback: createPreambleState()\n                      }\n                    : null,\n                  defer\n                ),\n                boundarySegment = createPendingSegment(\n                  request,\n                  parentSegment.chunks.length,\n                  newBoundary,\n                  task.formatContext,\n                  !1,\n                  !1\n                );\n              parentSegment.children.push(boundarySegment);\n              parentSegment.lastPushedText = !1;\n              var contentRootSegment = createPendingSegment(\n                request,\n                0,\n                null,\n                task.formatContext,\n                !1,\n                !1\n              );\n              contentRootSegment.parentFlushed = !0;\n              var trackedPostpones = request.trackedPostpones;\n              if (null !== trackedPostpones || defer) {\n                var suspenseComponentStack = task.componentStack,\n                  fallbackKeyPath = [\n                    keyPath[0],\n                    \"Suspense Fallback\",\n                    keyPath[2]\n                  ];\n                if (null !== trackedPostpones) {\n                  var fallbackReplayNode = [\n                    fallbackKeyPath[1],\n                    fallbackKeyPath[2],\n                    [],\n                    null\n                  ];\n                  trackedPostpones.workingMap.set(\n                    fallbackKeyPath,\n                    fallbackReplayNode\n                  );\n                  newBoundary.tracked = {\n                    contentKeyPath: keyPath,\n                    fallbackNode: fallbackReplayNode\n                  };\n                }\n                task.blockedSegment = boundarySegment;\n                task.blockedPreamble =\n                  null === newBoundary.preamble\n                    ? null\n                    : newBoundary.preamble.fallback;\n                task.keyPath = fallbackKeyPath;\n                task.formatContext = getSuspenseFallbackFormatContext(\n                  request.resumableState,\n                  prevContext$jscomp$1\n                );\n                task.componentStack =\n                  replaceSuspenseComponentStackWithSuspenseFallbackStack(\n                    suspenseComponentStack\n                  );\n                try {\n                  renderNode(request, task, fallback, -1),\n                    boundarySegment.lastPushedText &&\n                      boundarySegment.textEmbedded &&\n                      boundarySegment.chunks.push(textSeparator),\n                    (boundarySegment.status = COMPLETED),\n                    finishedSegment(request, parentBoundary, boundarySegment);\n                } catch (thrownValue) {\n                  throw (\n                    ((boundarySegment.status = request.aborted\n                      ? ABORTED\n                      : ERRORED),\n                    thrownValue)\n                  );\n                } finally {\n                  (task.blockedSegment = parentSegment),\n                    (task.blockedPreamble = parentPreamble),\n                    (task.keyPath = prevKeyPath$jscomp$5),\n                    (task.formatContext = prevContext$jscomp$1);\n                }\n                var suspendedPrimaryTask = createRenderTask(\n                  request,\n                  null,\n                  content,\n                  -1,\n                  newBoundary,\n                  contentRootSegment,\n                  null === newBoundary.preamble\n                    ? null\n                    : newBoundary.preamble.content,\n                  newBoundary.contentState,\n                  task.abortSet,\n                  keyPath,\n                  getSuspenseContentFormatContext(\n                    request.resumableState,\n                    task.formatContext\n                  ),\n                  task.context,\n                  task.treeContext,\n                  null,\n                  suspenseComponentStack,\n                  emptyContextObject,\n                  task.debugTask\n                );\n                pushComponentStack(suspendedPrimaryTask);\n                request.pingedTasks.push(suspendedPrimaryTask);\n              } else {\n                task.blockedBoundary = newBoundary;\n                task.blockedPreamble =\n                  null === newBoundary.preamble\n                    ? null\n                    : newBoundary.preamble.content;\n                task.hoistableState = newBoundary.contentState;\n                task.blockedSegment = contentRootSegment;\n                task.keyPath = keyPath;\n                task.formatContext = getSuspenseContentFormatContext(\n                  request.resumableState,\n                  prevContext$jscomp$1\n                );\n                task.row = null;\n                try {\n                  if (\n                    (renderNode(request, task, content, -1),\n                    contentRootSegment.lastPushedText &&\n                      contentRootSegment.textEmbedded &&\n                      contentRootSegment.chunks.push(textSeparator),\n                    (contentRootSegment.status = COMPLETED),\n                    finishedSegment(request, newBoundary, contentRootSegment),\n                    queueCompletedSegment(newBoundary, contentRootSegment),\n                    0 === newBoundary.pendingTasks &&\n                      newBoundary.status === PENDING)\n                  ) {\n                    if (\n                      ((newBoundary.status = COMPLETED),\n                      !isEligibleForOutlining(request, newBoundary))\n                    ) {\n                      null !== prevRow$jscomp$0 &&\n                        0 === --prevRow$jscomp$0.pendingTasks &&\n                        finishSuspenseListRow(request, prevRow$jscomp$0);\n                      0 === request.pendingRootTasks &&\n                        task.blockedPreamble &&\n                        preparePreamble(request);\n                      break a;\n                    }\n                  } else\n                    null !== prevRow$jscomp$0 &&\n                      prevRow$jscomp$0.together &&\n                      tryToResolveTogetherRow(request, prevRow$jscomp$0);\n                } catch (thrownValue$2) {\n                  newBoundary.status = CLIENT_RENDERED;\n                  if (request.aborted) {\n                    contentRootSegment.status = ABORTED;\n                    var error = request.fatalError;\n                  } else\n                    (contentRootSegment.status = ERRORED),\n                      (error = thrownValue$2);\n                  var thrownInfo = getThrownInfo(task.componentStack),\n                    errorDigest = logRecoverableError(\n                      request,\n                      error,\n                      thrownInfo,\n                      task.debugTask\n                    );\n                  encodeErrorForBoundary(\n                    newBoundary,\n                    errorDigest,\n                    error,\n                    thrownInfo,\n                    !1\n                  );\n                  untrackBoundary(request, newBoundary);\n                } finally {\n                  (task.blockedBoundary = parentBoundary),\n                    (task.blockedPreamble = parentPreamble),\n                    (task.hoistableState = parentHoistableState),\n                    (task.blockedSegment = parentSegment),\n                    (task.keyPath = prevKeyPath$jscomp$5),\n                    (task.formatContext = prevContext$jscomp$1),\n                    (task.row = prevRow$jscomp$0);\n                }\n                var suspendedFallbackTask = createRenderTask(\n                  request,\n                  null,\n                  fallback,\n                  -1,\n                  parentBoundary,\n                  boundarySegment,\n                  null === newBoundary.preamble\n                    ? null\n                    : newBoundary.preamble.fallback,\n                  newBoundary.fallbackState,\n                  fallbackAbortSet,\n                  [keyPath[0], \"Suspense Fallback\", keyPath[2]],\n                  getSuspenseFallbackFormatContext(\n                    request.resumableState,\n                    task.formatContext\n                  ),\n                  task.context,\n                  task.treeContext,\n                  task.row,\n                  replaceSuspenseComponentStackWithSuspenseFallbackStack(\n                    task.componentStack\n                  ),\n                  emptyContextObject,\n                  task.debugTask\n                );\n                pushComponentStack(suspendedFallbackTask);\n                request.pingedTasks.push(suspendedFallbackTask);\n              }\n            }\n            return;\n        }\n        if (\"object\" === typeof type && null !== type)\n          switch (type.$$typeof) {\n            case REACT_FORWARD_REF_TYPE:\n              if (\"ref\" in props) {\n                var propsWithoutRef = {};\n                for (var key in props)\n                  \"ref\" !== key && (propsWithoutRef[key] = props[key]);\n              } else propsWithoutRef = props;\n              var children$jscomp$1 = renderWithHooks(\n                request,\n                task,\n                keyPath,\n                type.render,\n                propsWithoutRef,\n                ref\n              );\n              finishFunctionComponent(\n                request,\n                task,\n                keyPath,\n                children$jscomp$1,\n                0 !== localIdCounter,\n                actionStateCounter,\n                actionStateMatchingIndex\n              );\n              return;\n            case REACT_MEMO_TYPE:\n              renderElement(request, task, keyPath, type.type, props, ref);\n              return;\n            case REACT_CONTEXT_TYPE:\n              var value$jscomp$0 = props.value,\n                children$jscomp$2 = props.children;\n              var prevSnapshot = task.context;\n              var prevKeyPath$jscomp$6 = task.keyPath;\n              var prevValue = type._currentValue;\n              type._currentValue = value$jscomp$0;\n              void 0 !== type._currentRenderer &&\n                null !== type._currentRenderer &&\n                type._currentRenderer !== rendererSigil &&\n                console.error(\n                  \"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.\"\n                );\n              type._currentRenderer = rendererSigil;\n              var prevNode = currentActiveSnapshot,\n                newNode = {\n                  parent: prevNode,\n                  depth: null === prevNode ? 0 : prevNode.depth + 1,\n                  context: type,\n                  parentValue: prevValue,\n                  value: value$jscomp$0\n                };\n              currentActiveSnapshot = newNode;\n              task.context = newNode;\n              task.keyPath = keyPath;\n              renderNodeDestructive(request, task, children$jscomp$2, -1);\n              var prevSnapshot$jscomp$0 = currentActiveSnapshot;\n              if (null === prevSnapshot$jscomp$0)\n                throw Error(\n                  \"Tried to pop a Context at the root of the app. This is a bug in React.\"\n                );\n              prevSnapshot$jscomp$0.context !== type &&\n                console.error(\n                  \"The parent context is not the expected context. This is probably a bug in React.\"\n                );\n              prevSnapshot$jscomp$0.context._currentValue =\n                prevSnapshot$jscomp$0.parentValue;\n              void 0 !== type._currentRenderer &&\n                null !== type._currentRenderer &&\n                type._currentRenderer !== rendererSigil &&\n                console.error(\n                  \"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.\"\n                );\n              type._currentRenderer = rendererSigil;\n              var JSCompiler_inline_result$jscomp$1 = (currentActiveSnapshot =\n                prevSnapshot$jscomp$0.parent);\n              task.context = JSCompiler_inline_result$jscomp$1;\n              task.keyPath = prevKeyPath$jscomp$6;\n              prevSnapshot !== task.context &&\n                console.error(\n                  \"Popping the context provider did not return back to the original snapshot. This is a bug in React.\"\n                );\n              return;\n            case REACT_CONSUMER_TYPE:\n              var context$jscomp$0 = type._context,\n                render = props.children;\n              \"function\" !== typeof render &&\n                console.error(\n                  \"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.\"\n                );\n              var newChildren = render(context$jscomp$0._currentValue),\n                prevKeyPath$jscomp$7 = task.keyPath;\n              task.keyPath = keyPath;\n              renderNodeDestructive(request, task, newChildren, -1);\n              task.keyPath = prevKeyPath$jscomp$7;\n              return;\n            case REACT_LAZY_TYPE:\n              var Component = callLazyInitInDEV(type);\n              if (request.aborted) throw null;\n              renderElement(request, task, keyPath, Component, props, ref);\n              return;\n          }\n        var info = \"\";\n        if (\n          void 0 === type ||\n          (\"object\" === typeof type &&\n            null !== type &&\n            0 === Object.keys(type).length)\n        )\n          info +=\n            \" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.\";\n        throw Error(\n          \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n            ((null == type ? type : typeof type) + \".\" + info)\n        );\n      }\n    }\n    function resumeNode(request, task, segmentId, node, childIndex) {\n      var prevReplay = task.replay,\n        blockedBoundary = task.blockedBoundary,\n        resumedSegment = createPendingSegment(\n          request,\n          0,\n          null,\n          task.formatContext,\n          !1,\n          !1\n        );\n      resumedSegment.id = segmentId;\n      resumedSegment.parentFlushed = !0;\n      try {\n        (task.replay = null),\n          (task.blockedSegment = resumedSegment),\n          renderNode(request, task, node, childIndex),\n          (resumedSegment.status = COMPLETED),\n          finishedSegment(request, blockedBoundary, resumedSegment),\n          null === blockedBoundary\n            ? (request.completedRootSegment = resumedSegment)\n            : (queueCompletedSegment(blockedBoundary, resumedSegment),\n              blockedBoundary.parentFlushed &&\n                request.partialBoundaries.push(blockedBoundary));\n      } finally {\n        (task.replay = prevReplay), (task.blockedSegment = null);\n      }\n    }\n    function replayElement(\n      request,\n      task,\n      keyPath,\n      name,\n      keyOrIndex,\n      childIndex,\n      type,\n      props,\n      ref,\n      replay\n    ) {\n      childIndex = replay.nodes;\n      for (var i = 0; i < childIndex.length; i++) {\n        var node = childIndex[i];\n        if (keyOrIndex === node[1]) {\n          if (4 === node.length) {\n            if (null !== name && name !== node[0])\n              throw Error(\n                \"Expected the resume to render <\" +\n                  node[0] +\n                  \"> in this slot but instead it rendered <\" +\n                  name +\n                  \">. The tree doesn't match so React will fallback to client rendering.\"\n              );\n            var childNodes = node[2],\n              childSlots = node[3],\n              currentNode = task.node;\n            task.replay = {\n              nodes: childNodes,\n              slots: childSlots,\n              pendingTasks: 1\n            };\n            try {\n              renderElement(request, task, keyPath, type, props, ref);\n              if (\n                1 === task.replay.pendingTasks &&\n                0 < task.replay.nodes.length\n              )\n                throw Error(\n                  \"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.\"\n                );\n              task.replay.pendingTasks--;\n            } catch (x) {\n              if (\n                \"object\" === typeof x &&\n                null !== x &&\n                (x === SuspenseException ||\n                  \"function\" === typeof x.then ||\n                  \"Maximum call stack size exceeded\" === x.message)\n              )\n                throw (\n                  (task.node === currentNode\n                    ? (task.replay = replay)\n                    : childIndex.splice(i, 1),\n                  x)\n                );\n              task.replay.pendingTasks--;\n              keyPath = getThrownInfo(task.componentStack);\n              props = request;\n              currentNode = task.blockedBoundary;\n              request = request.aborted ? request.fatalError : x;\n              type = logRecoverableError(\n                props,\n                request,\n                keyPath,\n                task.debugTask\n              );\n              abortRemainingReplayNodes(\n                props,\n                currentNode,\n                childNodes,\n                childSlots,\n                request,\n                type,\n                keyPath,\n                !1\n              );\n            }\n            task.replay = replay;\n          } else {\n            if (type !== REACT_SUSPENSE_TYPE)\n              throw Error(\n                \"Expected the resume to render <Suspense> in this slot but instead it rendered <\" +\n                  (getComponentNameFromType(type) || \"Unknown\") +\n                  \">. The tree doesn't match so React will fallback to client rendering.\"\n              );\n            a: {\n              replay = request;\n              request = keyPath;\n              keyPath = node[5];\n              type = node[2];\n              ref = node[3];\n              name = null === node[4] ? [] : node[4][2];\n              node = null === node[4] ? null : node[4][3];\n              keyOrIndex = task.keyPath;\n              var prevContext = task.formatContext,\n                prevRow = task.row,\n                previousReplaySet = task.replay,\n                parentBoundary = task.blockedBoundary,\n                parentHoistableState = task.hoistableState,\n                content = props.children,\n                fallback = props.fallback,\n                defer = !0 === props.defer;\n              props = new Set();\n              defer = createSuspenseBoundary(\n                replay,\n                task.row,\n                props,\n                task.formatContext.insertionMode < HTML_MODE\n                  ? {\n                      content: createPreambleState(),\n                      fallback: createPreambleState()\n                    }\n                  : null,\n                defer\n              );\n              defer.parentFlushed = !0;\n              defer.rootSegmentID = keyPath;\n              task.blockedBoundary = defer;\n              task.hoistableState = defer.contentState;\n              task.keyPath = request;\n              task.formatContext = getSuspenseContentFormatContext(\n                replay.resumableState,\n                prevContext\n              );\n              task.row = null;\n              task.replay = { nodes: type, slots: ref, pendingTasks: 1 };\n              try {\n                renderNode(replay, task, content, -1);\n                if (\n                  1 === task.replay.pendingTasks &&\n                  0 < task.replay.nodes.length\n                )\n                  throw Error(\n                    \"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.\"\n                  );\n                task.replay.pendingTasks--;\n                if (0 === defer.pendingTasks && defer.status === PENDING) {\n                  defer.status = COMPLETED;\n                  replay.completedBoundaries.push(defer);\n                  break a;\n                }\n              } catch (thrownValue) {\n                (defer.status = CLIENT_RENDERED),\n                  (childNodes = replay.aborted\n                    ? replay.fatalError\n                    : thrownValue),\n                  (childSlots = getThrownInfo(task.componentStack)),\n                  (currentNode = logRecoverableError(\n                    replay,\n                    childNodes,\n                    childSlots,\n                    task.debugTask\n                  )),\n                  encodeErrorForBoundary(\n                    defer,\n                    currentNode,\n                    childNodes,\n                    childSlots,\n                    !1\n                  ),\n                  task.replay.pendingTasks--,\n                  replay.clientRenderedBoundaries.push(defer);\n              } finally {\n                (task.blockedBoundary = parentBoundary),\n                  (task.hoistableState = parentHoistableState),\n                  (task.replay = previousReplaySet),\n                  (task.keyPath = keyOrIndex),\n                  (task.formatContext = prevContext),\n                  (task.row = prevRow);\n              }\n              props = createReplayTask(\n                replay,\n                null,\n                { nodes: name, slots: node, pendingTasks: 0 },\n                fallback,\n                -1,\n                parentBoundary,\n                defer.fallbackState,\n                props,\n                [request[0], \"Suspense Fallback\", request[2]],\n                getSuspenseFallbackFormatContext(\n                  replay.resumableState,\n                  task.formatContext\n                ),\n                task.context,\n                task.treeContext,\n                task.row,\n                replaceSuspenseComponentStackWithSuspenseFallbackStack(\n                  task.componentStack\n                ),\n                emptyContextObject,\n                task.debugTask\n              );\n              pushComponentStack(props);\n              replay.pingedTasks.push(props);\n            }\n          }\n          childIndex.splice(i, 1);\n          break;\n        }\n      }\n    }\n    function validateIterable(\n      task,\n      iterable,\n      childIndex,\n      iterator,\n      iteratorFn\n    ) {\n      if (iterator === iterable) {\n        if (\n          -1 !== childIndex ||\n          null === task.componentStack ||\n          \"function\" !== typeof task.componentStack.type ||\n          \"[object GeneratorFunction]\" !==\n            Object.prototype.toString.call(task.componentStack.type) ||\n          \"[object Generator]\" !== Object.prototype.toString.call(iterator)\n        )\n          didWarnAboutGenerators ||\n            console.error(\n              \"Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items.\"\n            ),\n            (didWarnAboutGenerators = !0);\n      } else\n        iterable.entries !== iteratorFn ||\n          didWarnAboutMaps ||\n          (console.error(\n            \"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"\n          ),\n          (didWarnAboutMaps = !0));\n    }\n    function validateAsyncIterable(task, iterable, childIndex, iterator) {\n      iterator !== iterable ||\n        (-1 === childIndex &&\n          null !== task.componentStack &&\n          \"function\" === typeof task.componentStack.type &&\n          \"[object AsyncGeneratorFunction]\" ===\n            Object.prototype.toString.call(task.componentStack.type) &&\n          \"[object AsyncGenerator]\" ===\n            Object.prototype.toString.call(iterator)) ||\n        (didWarnAboutGenerators ||\n          console.error(\n            \"Using AsyncIterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You can use an AsyncIterable that can iterate multiple times over the same items.\"\n          ),\n        (didWarnAboutGenerators = !0));\n    }\n    function renderNodeDestructive(request, task, node, childIndex) {\n      null !== task.replay && \"number\" === typeof task.replay.slots\n        ? resumeNode(request, task, task.replay.slots, node, childIndex)\n        : ((task.node = node),\n          (task.childIndex = childIndex),\n          (node = task.componentStack),\n          (childIndex = task.debugTask),\n          pushComponentStack(task),\n          retryNode(request, task),\n          (task.componentStack = node),\n          (task.debugTask = childIndex));\n    }\n    function retryNode(request, task) {\n      var node = task.node,\n        childIndex = task.childIndex;\n      if (null !== node) {\n        if (\"object\" === typeof node) {\n          switch (node.$$typeof) {\n            case REACT_ELEMENT_TYPE:\n              var type = node.type,\n                key = node.key;\n              node = node.props;\n              var refProp = node.ref;\n              refProp = void 0 !== refProp ? refProp : null;\n              var debugTask = task.debugTask,\n                name = getComponentNameFromType(type);\n              key =\n                null == key || key === REACT_OPTIMISTIC_KEY\n                  ? -1 === childIndex\n                    ? 0\n                    : childIndex\n                  : key;\n              var keyPath = [task.keyPath, name, key];\n              null !== task.replay\n                ? debugTask\n                  ? debugTask.run(\n                      replayElement.bind(\n                        null,\n                        request,\n                        task,\n                        keyPath,\n                        name,\n                        key,\n                        childIndex,\n                        type,\n                        node,\n                        refProp,\n                        task.replay\n                      )\n                    )\n                  : replayElement(\n                      request,\n                      task,\n                      keyPath,\n                      name,\n                      key,\n                      childIndex,\n                      type,\n                      node,\n                      refProp,\n                      task.replay\n                    )\n                : debugTask\n                  ? debugTask.run(\n                      renderElement.bind(\n                        null,\n                        request,\n                        task,\n                        keyPath,\n                        type,\n                        node,\n                        refProp\n                      )\n                    )\n                  : renderElement(request, task, keyPath, type, node, refProp);\n              return;\n            case REACT_PORTAL_TYPE:\n              throw Error(\n                \"Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.\"\n              );\n            case REACT_LAZY_TYPE:\n              node = callLazyInitInDEV(node);\n              if (request.aborted) throw null;\n              renderNodeDestructive(request, task, node, childIndex);\n              return;\n          }\n          if (isArrayImpl(node)) {\n            renderChildrenArray(request, task, node, childIndex);\n            return;\n          }\n          if ((key = getIteratorFn(node)))\n            if ((type = key.call(node))) {\n              validateIterable(task, node, childIndex, type, key);\n              node = type.next();\n              if (!node.done) {\n                key = [];\n                do key.push(node.value), (node = type.next());\n                while (!node.done);\n                renderChildrenArray(request, task, key, childIndex);\n              }\n              return;\n            }\n          if (\n            \"function\" === typeof node[ASYNC_ITERATOR] &&\n            (type = node[ASYNC_ITERATOR]())\n          ) {\n            validateAsyncIterable(task, node, childIndex, type);\n            key = task.thenableState;\n            task.thenableState = null;\n            thenableIndexCounter = 0;\n            thenableState = key;\n            key = [];\n            refProp = !1;\n            if (type === node)\n              for (node = readPreviousThenableFromState(); void 0 !== node; ) {\n                if (node.done) {\n                  refProp = !0;\n                  break;\n                }\n                key.push(node.value);\n                node = readPreviousThenableFromState();\n              }\n            if (!refProp)\n              for (node = unwrapThenable(type.next()); !node.done; )\n                key.push(node.value), (node = unwrapThenable(type.next()));\n            renderChildrenArray(request, task, key, childIndex);\n            return;\n          }\n          if (\"function\" === typeof node.then)\n            return (\n              (task.thenableState = null),\n              renderNodeDestructive(\n                request,\n                task,\n                unwrapThenable(node),\n                childIndex\n              )\n            );\n          if (node.$$typeof === REACT_CONTEXT_TYPE)\n            return renderNodeDestructive(\n              request,\n              task,\n              node._currentValue,\n              childIndex\n            );\n          request = Object.prototype.toString.call(node);\n          throw Error(\n            \"Objects are not valid as a React child (found: \" +\n              (\"[object Object]\" === request\n                ? \"object with keys {\" + Object.keys(node).join(\", \") + \"}\"\n                : request) +\n              \"). If you meant to render a collection of children, use an array instead.\"\n          );\n        }\n        \"string\" === typeof node\n          ? ((task = task.blockedSegment),\n            null !== task &&\n              (task.lastPushedText = pushTextInstance(\n                task.chunks,\n                node,\n                request.renderState,\n                task.lastPushedText\n              )))\n          : \"number\" === typeof node || \"bigint\" === typeof node\n            ? ((task = task.blockedSegment),\n              null !== task &&\n                (task.lastPushedText = pushTextInstance(\n                  task.chunks,\n                  \"\" + node,\n                  request.renderState,\n                  task.lastPushedText\n                )))\n            : (\"function\" === typeof node &&\n                ((request = node.displayName || node.name || \"Component\"),\n                console.error(\n                  \"Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\",\n                  request,\n                  request\n                )),\n              \"symbol\" === typeof node &&\n                console.error(\n                  \"Symbols are not valid as a React child.\\n  %s\",\n                  String(node)\n                ));\n      }\n    }\n    function warnForMissingKey(request, task, child) {\n      if (\n        null !== child &&\n        \"object\" === typeof child &&\n        (child.$$typeof === REACT_ELEMENT_TYPE ||\n          child.$$typeof === REACT_PORTAL_TYPE) &&\n        child._store &&\n        ((!child._store.validated && null == child.key) ||\n          2 === child._store.validated)\n      ) {\n        if (\"object\" !== typeof child._store)\n          throw Error(\n            \"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.\"\n          );\n        child._store.validated = 1;\n        var didWarnForKey = request.didWarnForKey;\n        null == didWarnForKey &&\n          (didWarnForKey = request.didWarnForKey = new WeakSet());\n        request = task.componentStack;\n        if (null !== request && !didWarnForKey.has(request)) {\n          didWarnForKey.add(request);\n          var componentName = getComponentNameFromType(child.type);\n          didWarnForKey = child._owner;\n          var parentOwner = request.owner;\n          request = \"\";\n          if (parentOwner && \"undefined\" !== typeof parentOwner.type) {\n            var name = getComponentNameFromType(parentOwner.type);\n            name &&\n              (request = \"\\n\\nCheck the render method of `\" + name + \"`.\");\n          }\n          request ||\n            (componentName &&\n              (request =\n                \"\\n\\nCheck the top-level render call using <\" +\n                componentName +\n                \">.\"));\n          componentName = \"\";\n          null != didWarnForKey &&\n            parentOwner !== didWarnForKey &&\n            ((parentOwner = null),\n            \"undefined\" !== typeof didWarnForKey.type\n              ? (parentOwner = getComponentNameFromType(didWarnForKey.type))\n              : \"string\" === typeof didWarnForKey.name &&\n                (parentOwner = didWarnForKey.name),\n            parentOwner &&\n              (componentName =\n                \" It was passed a child from \" + parentOwner + \".\"));\n          didWarnForKey = task.componentStack;\n          task.componentStack = {\n            parent: task.componentStack,\n            type: child.type,\n            owner: child._owner,\n            stack: child._debugStack\n          };\n          console.error(\n            'Each child in a list should have a unique \"key\" prop.%s%s See https://react.dev/link/warning-keys for more information.',\n            request,\n            componentName\n          );\n          task.componentStack = didWarnForKey;\n        }\n      }\n    }\n    function renderChildrenArray(request, task, children, childIndex) {\n      var prevKeyPath = task.keyPath,\n        previousComponentStack = task.componentStack;\n      var previousDebugTask = task.debugTask;\n      pushServerComponentStack(task, task.node._debugInfo);\n      if (\n        -1 !== childIndex &&\n        ((task.keyPath = [task.keyPath, \"Fragment\", childIndex]),\n        null !== task.replay)\n      ) {\n        for (\n          var replay = task.replay, replayNodes = replay.nodes, j = 0;\n          j < replayNodes.length;\n          j++\n        ) {\n          var node = replayNodes[j];\n          if (node[1] === childIndex) {\n            childIndex = node[2];\n            var childSlots = node[3];\n            task.replay = {\n              nodes: childIndex,\n              slots: childSlots,\n              pendingTasks: 1\n            };\n            try {\n              renderChildrenArray(request, task, children, -1);\n              if (\n                1 === task.replay.pendingTasks &&\n                0 < task.replay.nodes.length\n              )\n                throw Error(\n                  \"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.\"\n                );\n              task.replay.pendingTasks--;\n            } catch (x) {\n              if (\n                \"object\" === typeof x &&\n                null !== x &&\n                (x === SuspenseException || \"function\" === typeof x.then)\n              )\n                throw x;\n              task.replay.pendingTasks--;\n              var thrownInfo = getThrownInfo(task.componentStack);\n              children = request;\n              node = task.blockedBoundary;\n              request = request.aborted ? request.fatalError : x;\n              var errorDigest = logRecoverableError(\n                children,\n                request,\n                thrownInfo,\n                task.debugTask\n              );\n              abortRemainingReplayNodes(\n                children,\n                node,\n                childIndex,\n                childSlots,\n                request,\n                errorDigest,\n                thrownInfo,\n                !1\n              );\n            }\n            task.replay = replay;\n            replayNodes.splice(j, 1);\n            break;\n          }\n        }\n        task.keyPath = prevKeyPath;\n        task.componentStack = previousComponentStack;\n        task.debugTask = previousDebugTask;\n        return;\n      }\n      replay = task.treeContext;\n      replayNodes = children.length;\n      if (\n        null !== task.replay &&\n        ((j = task.replay.slots), null !== j && \"object\" === typeof j)\n      ) {\n        for (node = 0; node < replayNodes; node++)\n          (childIndex = children[node]),\n            (task.treeContext = pushTreeContext(replay, replayNodes, node)),\n            (childSlots = j[node]),\n            \"number\" === typeof childSlots\n              ? (resumeNode(request, task, childSlots, childIndex, node),\n                delete j[node])\n              : renderNode(request, task, childIndex, node);\n        task.treeContext = replay;\n        task.keyPath = prevKeyPath;\n        task.componentStack = previousComponentStack;\n        task.debugTask = previousDebugTask;\n        return;\n      }\n      for (j = 0; j < replayNodes; j++)\n        (node = children[j]),\n          warnForMissingKey(request, task, node),\n          (task.treeContext = pushTreeContext(replay, replayNodes, j)),\n          renderNode(request, task, node, j);\n      task.treeContext = replay;\n      task.keyPath = prevKeyPath;\n      task.componentStack = previousComponentStack;\n      task.debugTask = previousDebugTask;\n    }\n    function trackPostponedBoundary(request, trackedPostpones, boundary) {\n      boundary.status = POSTPONED;\n      boundary.rootSegmentID = request.nextSegmentId++;\n      var tracked = boundary.tracked;\n      if (null === tracked)\n        throw Error(\n          \"It should not be possible to postpone at the root. This is a bug in React.\"\n        );\n      request = tracked.contentKeyPath;\n      if (null === request)\n        throw Error(\n          \"It should not be possible to postpone at the root. This is a bug in React.\"\n        );\n      tracked = tracked.fallbackNode;\n      var children = [],\n        boundaryNode = trackedPostpones.workingMap.get(request);\n      if (void 0 === boundaryNode)\n        return (\n          (boundary = [\n            request[1],\n            request[2],\n            children,\n            null,\n            tracked,\n            boundary.rootSegmentID\n          ]),\n          trackedPostpones.workingMap.set(request, boundary),\n          addToReplayParent(boundary, request[0], trackedPostpones),\n          boundary\n        );\n      boundaryNode[4] = tracked;\n      boundaryNode[5] = boundary.rootSegmentID;\n      return boundaryNode;\n    }\n    function trackPostpone(request, trackedPostpones, task, segment) {\n      segment.status = POSTPONED;\n      var keyPath = task.keyPath,\n        boundary = task.blockedBoundary;\n      if (null === boundary)\n        (segment.id = request.nextSegmentId++),\n          (trackedPostpones.rootSlots = segment.id),\n          null !== request.completedRootSegment &&\n            (request.completedRootSegment.status = POSTPONED);\n      else {\n        if (null !== boundary && boundary.status === PENDING) {\n          var boundaryNode = trackPostponedBoundary(\n            request,\n            trackedPostpones,\n            boundary\n          );\n          if (\n            null !== boundary.tracked &&\n            boundary.tracked.contentKeyPath === keyPath &&\n            -1 === task.childIndex\n          ) {\n            -1 === segment.id &&\n              (segment.id = segment.parentFlushed\n                ? boundary.rootSegmentID\n                : request.nextSegmentId++);\n            boundaryNode[3] = segment.id;\n            return;\n          }\n        }\n        -1 === segment.id &&\n          (segment.id =\n            segment.parentFlushed && null !== boundary\n              ? boundary.rootSegmentID\n              : request.nextSegmentId++);\n        if (-1 === task.childIndex)\n          null === keyPath\n            ? (trackedPostpones.rootSlots = segment.id)\n            : ((task = trackedPostpones.workingMap.get(keyPath)),\n              void 0 === task\n                ? ((task = [keyPath[1], keyPath[2], [], segment.id]),\n                  addToReplayParent(task, keyPath[0], trackedPostpones))\n                : (task[3] = segment.id));\n        else {\n          if (null === keyPath)\n            if (((request = trackedPostpones.rootSlots), null === request))\n              request = trackedPostpones.rootSlots = {};\n            else {\n              if (\"number\" === typeof request)\n                throw Error(\n                  \"It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.\"\n                );\n            }\n          else if (\n            ((boundary = trackedPostpones.workingMap),\n            (boundaryNode = boundary.get(keyPath)),\n            void 0 === boundaryNode)\n          )\n            (request = {}),\n              (boundaryNode = [keyPath[1], keyPath[2], [], request]),\n              boundary.set(keyPath, boundaryNode),\n              addToReplayParent(boundaryNode, keyPath[0], trackedPostpones);\n          else if (((request = boundaryNode[3]), null === request))\n            request = boundaryNode[3] = {};\n          else if (\"number\" === typeof request)\n            throw Error(\n              \"It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.\"\n            );\n          request[task.childIndex] = segment.id;\n        }\n      }\n    }\n    function untrackBoundary(request, boundary) {\n      request = request.trackedPostpones;\n      null !== request &&\n        ((boundary = boundary.tracked),\n        null !== boundary &&\n          ((boundary = boundary.contentKeyPath),\n          null !== boundary &&\n            ((request = request.workingMap.get(boundary)),\n            void 0 !== request &&\n              ((request.length = 4), (request[2] = []), (request[3] = null)))));\n    }\n    function spawnNewSuspendedReplayTask(request, task, thenableState) {\n      return createReplayTask(\n        request,\n        thenableState,\n        task.replay,\n        task.node,\n        task.childIndex,\n        task.blockedBoundary,\n        task.hoistableState,\n        task.abortSet,\n        task.keyPath,\n        task.formatContext,\n        task.context,\n        task.treeContext,\n        task.row,\n        task.componentStack,\n        emptyContextObject,\n        task.debugTask\n      );\n    }\n    function spawnNewSuspendedRenderTask(request, task, thenableState) {\n      var segment = task.blockedSegment,\n        newSegment = createPendingSegment(\n          request,\n          segment.chunks.length,\n          null,\n          task.formatContext,\n          segment.lastPushedText,\n          !0\n        );\n      segment.children.push(newSegment);\n      segment.lastPushedText = !1;\n      return createRenderTask(\n        request,\n        thenableState,\n        task.node,\n        task.childIndex,\n        task.blockedBoundary,\n        newSegment,\n        task.blockedPreamble,\n        task.hoistableState,\n        task.abortSet,\n        task.keyPath,\n        task.formatContext,\n        task.context,\n        task.treeContext,\n        task.row,\n        task.componentStack,\n        emptyContextObject,\n        task.debugTask\n      );\n    }\n    function renderNode(request, task, node, childIndex) {\n      var previousFormatContext = task.formatContext,\n        previousContext = task.context,\n        previousKeyPath = task.keyPath,\n        previousTreeContext = task.treeContext,\n        previousComponentStack = task.componentStack,\n        previousDebugTask = task.debugTask,\n        segment = task.blockedSegment;\n      if (null === segment) {\n        segment = task.replay;\n        try {\n          return renderNodeDestructive(request, task, node, childIndex);\n        } catch (thrownValue) {\n          if (\n            (resetHooksState(),\n            (node =\n              thrownValue === SuspenseException\n                ? getSuspendedThenable()\n                : thrownValue),\n            !request.aborted && \"object\" === typeof node && null !== node)\n          ) {\n            if (\"function\" === typeof node.then) {\n              childIndex =\n                thrownValue === SuspenseException\n                  ? getThenableStateAfterSuspending()\n                  : null;\n              request = spawnNewSuspendedReplayTask(\n                request,\n                task,\n                childIndex\n              ).ping;\n              node.then(request.resolve, request.reject);\n              task.formatContext = previousFormatContext;\n              task.context = previousContext;\n              task.keyPath = previousKeyPath;\n              task.treeContext = previousTreeContext;\n              task.componentStack = previousComponentStack;\n              task.replay = segment;\n              task.debugTask = previousDebugTask;\n              switchContext(previousContext);\n              return;\n            }\n            if (\"Maximum call stack size exceeded\" === node.message) {\n              node =\n                thrownValue === SuspenseException\n                  ? getThenableStateAfterSuspending()\n                  : null;\n              node = spawnNewSuspendedReplayTask(request, task, node);\n              request.pingedTasks.push(node);\n              task.formatContext = previousFormatContext;\n              task.context = previousContext;\n              task.keyPath = previousKeyPath;\n              task.treeContext = previousTreeContext;\n              task.componentStack = previousComponentStack;\n              task.replay = segment;\n              task.debugTask = previousDebugTask;\n              switchContext(previousContext);\n              return;\n            }\n          }\n        }\n      } else {\n        var childrenLength = segment.children.length,\n          chunkLength = segment.chunks.length;\n        try {\n          return renderNodeDestructive(request, task, node, childIndex);\n        } catch (thrownValue$3) {\n          if (\n            (resetHooksState(),\n            (segment.children.length = childrenLength),\n            (segment.chunks.length = chunkLength),\n            (node =\n              thrownValue$3 === SuspenseException\n                ? getSuspendedThenable()\n                : thrownValue$3),\n            !request.aborted && \"object\" === typeof node && null !== node)\n          ) {\n            if (\"function\" === typeof node.then) {\n              segment = node;\n              node =\n                thrownValue$3 === SuspenseException\n                  ? getThenableStateAfterSuspending()\n                  : null;\n              request = spawnNewSuspendedRenderTask(request, task, node).ping;\n              segment.then(request.resolve, request.reject);\n              task.formatContext = previousFormatContext;\n              task.context = previousContext;\n              task.keyPath = previousKeyPath;\n              task.treeContext = previousTreeContext;\n              task.componentStack = previousComponentStack;\n              task.debugTask = previousDebugTask;\n              switchContext(previousContext);\n              return;\n            }\n            if (\"Maximum call stack size exceeded\" === node.message) {\n              segment =\n                thrownValue$3 === SuspenseException\n                  ? getThenableStateAfterSuspending()\n                  : null;\n              segment = spawnNewSuspendedRenderTask(request, task, segment);\n              request.pingedTasks.push(segment);\n              task.formatContext = previousFormatContext;\n              task.context = previousContext;\n              task.keyPath = previousKeyPath;\n              task.treeContext = previousTreeContext;\n              task.componentStack = previousComponentStack;\n              task.debugTask = previousDebugTask;\n              switchContext(previousContext);\n              return;\n            }\n          }\n        }\n      }\n      task.formatContext = previousFormatContext;\n      task.context = previousContext;\n      task.keyPath = previousKeyPath;\n      task.treeContext = previousTreeContext;\n      switchContext(previousContext);\n      throw node;\n    }\n    function abortTaskSoft(task) {\n      var boundary = task.blockedBoundary,\n        segment = task.blockedSegment;\n      null !== segment &&\n        ((segment.status = ABORTED),\n        finishedTask(this, boundary, task.row, segment));\n    }\n    function abortRemainingReplayNodes(\n      request$jscomp$0,\n      boundary,\n      nodes,\n      slots,\n      error$jscomp$0,\n      errorDigest$jscomp$0,\n      errorInfo$jscomp$0,\n      aborted\n    ) {\n      for (var i = 0; i < nodes.length; i++) {\n        var node = nodes[i];\n        if (4 === node.length)\n          abortRemainingReplayNodes(\n            request$jscomp$0,\n            boundary,\n            node[2],\n            node[3],\n            error$jscomp$0,\n            errorDigest$jscomp$0,\n            errorInfo$jscomp$0,\n            aborted\n          );\n        else {\n          var request = request$jscomp$0;\n          node = node[5];\n          var error = error$jscomp$0,\n            errorDigest = errorDigest$jscomp$0,\n            errorInfo = errorInfo$jscomp$0,\n            wasAborted = aborted,\n            resumedBoundary = createSuspenseBoundary(\n              request,\n              null,\n              new Set(),\n              null,\n              !1\n            );\n          resumedBoundary.parentFlushed = !0;\n          resumedBoundary.rootSegmentID = node;\n          resumedBoundary.status = CLIENT_RENDERED;\n          encodeErrorForBoundary(\n            resumedBoundary,\n            errorDigest,\n            error,\n            errorInfo,\n            wasAborted\n          );\n          resumedBoundary.parentFlushed &&\n            request.clientRenderedBoundaries.push(resumedBoundary);\n        }\n      }\n      nodes.length = 0;\n      if (null !== slots) {\n        if (null === boundary)\n          throw Error(\n            \"We should not have any resumable nodes in the shell. This is a bug in React.\"\n          );\n        boundary.status !== CLIENT_RENDERED &&\n          ((boundary.status = CLIENT_RENDERED),\n          encodeErrorForBoundary(\n            boundary,\n            errorDigest$jscomp$0,\n            error$jscomp$0,\n            errorInfo$jscomp$0,\n            aborted\n          ),\n          boundary.parentFlushed &&\n            request$jscomp$0.clientRenderedBoundaries.push(boundary));\n        if (\"object\" === typeof slots)\n          for (var index in slots) delete slots[index];\n      }\n    }\n    function abortTask(task, request) {\n      if (task !== request.currentTask) {\n        var boundary = task.blockedBoundary,\n          segment = task.blockedSegment;\n        null !== segment && (segment.status = ABORTED);\n        segment = task.node;\n        if (null !== segment && \"object\" === typeof segment) {\n          for (\n            var debugInfo = segment._debugInfo;\n            \"object\" === typeof segment &&\n            null !== segment &&\n            segment.$$typeof === REACT_LAZY_TYPE;\n\n          ) {\n            var payload = segment._payload;\n            if (\"fulfilled\" === payload.status) segment = payload.value;\n            else break;\n          }\n          \"object\" === typeof segment &&\n            null !== segment &&\n            (isArrayImpl(segment) ||\n              \"function\" === typeof segment[ASYNC_ITERATOR] ||\n              segment.$$typeof === REACT_ELEMENT_TYPE ||\n              segment.$$typeof === REACT_LAZY_TYPE) &&\n            isArrayImpl(segment._debugInfo) &&\n            (debugInfo = segment._debugInfo);\n          pushHaltedAwaitOnComponentStack(task, debugInfo);\n          null !== task.thenableState &&\n            pushSuspendedCallSiteOnComponentStack(request, task);\n        }\n        null !== boundary &&\n          boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {\n            return abortTask(fallbackTask, request);\n          });\n      }\n    }\n    function finishAbortedTask(task, request, error) {\n      if (task !== request.currentTask) {\n        var boundary = task.blockedBoundary,\n          segment = task.blockedSegment;\n        if (null === segment || segment.status === ABORTED) {\n          var errorInfo = getThrownInfo(task.componentStack),\n            isRecoverableAbort =\n              \"object\" === typeof error &&\n              null !== error &&\n              error.$$typeof === REACT_RECOVERABLE_TYPE;\n          if (null === boundary) {\n            boundary = task.replay;\n            if (null === boundary) {\n              isRecoverableAbort ||\n              null === request.trackedPostpones ||\n              null === segment\n                ? isRecoverableAbort\n                  ? ((boundary = createFatalRecoverableError(error)),\n                    logRecoverableError(\n                      request,\n                      boundary,\n                      errorInfo,\n                      task.debugTask\n                    ),\n                    12 !== request.status &&\n                      request.status !== CLOSED &&\n                      fatalError(request, boundary, errorInfo, task.debugTask))\n                  : (logRecoverableError(\n                      request,\n                      error,\n                      errorInfo,\n                      task.debugTask\n                    ),\n                    12 !== request.status &&\n                      request.status !== CLOSED &&\n                      fatalError(request, error, errorInfo, task.debugTask))\n                : ((boundary = request.trackedPostpones),\n                  logRecoverableError(\n                    request,\n                    error,\n                    errorInfo,\n                    task.debugTask\n                  ),\n                  trackPostpone(request, boundary, task, segment),\n                  finishedTask(request, null, task.row, segment));\n              return;\n            }\n            12 !== request.status &&\n              request.status !== CLOSED &&\n              (boundary.pendingTasks--,\n              0 === boundary.pendingTasks &&\n                0 < boundary.nodes.length &&\n                (isRecoverableAbort\n                  ? ((segment = REACT_RECOVERABLE_DIGEST),\n                    (isRecoverableAbort = RecoverableException))\n                  : ((segment = logRecoverableError(\n                      request,\n                      error,\n                      errorInfo,\n                      null\n                    )),\n                    (isRecoverableAbort = error)),\n                abortRemainingReplayNodes(\n                  request,\n                  null,\n                  boundary.nodes,\n                  boundary.slots,\n                  isRecoverableAbort,\n                  segment,\n                  errorInfo,\n                  !0\n                )),\n              request.pendingRootTasks--,\n              0 === request.pendingRootTasks && completeShell(request));\n          } else {\n            var _trackedPostpones = request.trackedPostpones;\n            if (boundary.status !== CLIENT_RENDERED) {\n              if (\n                !isRecoverableAbort &&\n                null !== _trackedPostpones &&\n                null !== segment\n              )\n                return (\n                  logRecoverableError(\n                    request,\n                    error,\n                    errorInfo,\n                    task.debugTask\n                  ),\n                  trackPostpone(request, _trackedPostpones, task, segment),\n                  boundary.fallbackAbortableTasks.forEach(\n                    function (fallbackTask) {\n                      return finishAbortedTask(fallbackTask, request, error);\n                    }\n                  ),\n                  boundary.fallbackAbortableTasks.clear(),\n                  finishedTask(request, boundary, task.row, segment)\n                );\n              boundary.status = CLIENT_RENDERED;\n              segment = isRecoverableAbort\n                ? REACT_RECOVERABLE_DIGEST\n                : logRecoverableError(\n                    request,\n                    error,\n                    errorInfo,\n                    task.debugTask\n                  );\n              encodeErrorForBoundary(\n                boundary,\n                segment,\n                isRecoverableAbort ? RecoverableException : error,\n                errorInfo,\n                !0\n              );\n              untrackBoundary(request, boundary);\n              boundary.parentFlushed &&\n                request.clientRenderedBoundaries.push(boundary);\n            }\n            boundary.pendingTasks--;\n            errorInfo = boundary.row;\n            null !== errorInfo &&\n              0 === --errorInfo.pendingTasks &&\n              finishSuspenseListRow(request, errorInfo);\n            boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {\n              return finishAbortedTask(fallbackTask, request, error);\n            });\n            boundary.fallbackAbortableTasks.clear();\n          }\n          task = task.row;\n          null !== task &&\n            0 === --task.pendingTasks &&\n            finishSuspenseListRow(request, task);\n          request.allPendingTasks--;\n          0 === request.allPendingTasks && completeAll(request);\n        }\n      }\n    }\n    function finishAbortedTaskDEV(task, request, error) {\n      var prevTaskInDEV = currentTaskInDEV,\n        prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack;\n      currentTaskInDEV = task;\n      ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;\n      try {\n        finishAbortedTask(task, request, error);\n      } finally {\n        (currentTaskInDEV = prevTaskInDEV),\n          (ReactSharedInternals.getCurrentStack = prevGetCurrentStackImpl);\n      }\n    }\n    function abortTaskDEV(task, request) {\n      var prevTaskInDEV = currentTaskInDEV,\n        prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack;\n      currentTaskInDEV = task;\n      ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;\n      try {\n        abortTask(task, request);\n      } finally {\n        (currentTaskInDEV = prevTaskInDEV),\n          (ReactSharedInternals.getCurrentStack = prevGetCurrentStackImpl);\n      }\n    }\n    function safelyEmitEarlyPreloads(request, shellComplete) {\n      try {\n        var renderState = request.renderState,\n          onHeaders = renderState.onHeaders;\n        if (onHeaders) {\n          var headers = renderState.headers;\n          if (headers) {\n            renderState.headers = null;\n            var linkHeader = headers.preconnects;\n            headers.fontPreloads &&\n              (linkHeader && (linkHeader += \", \"),\n              (linkHeader += headers.fontPreloads));\n            headers.highImagePreloads &&\n              (linkHeader && (linkHeader += \", \"),\n              (linkHeader += headers.highImagePreloads));\n            if (!shellComplete) {\n              var queueIter = renderState.styles.values(),\n                queueStep = queueIter.next();\n              b: for (\n                ;\n                0 < headers.remainingCapacity && !queueStep.done;\n                queueStep = queueIter.next()\n              )\n                for (\n                  var sheetIter = queueStep.value.sheets.values(),\n                    sheetStep = sheetIter.next();\n                  0 < headers.remainingCapacity && !sheetStep.done;\n                  sheetStep = sheetIter.next()\n                ) {\n                  var sheet = sheetStep.value,\n                    props = sheet.props,\n                    key = props.href,\n                    props$jscomp$0 = sheet.props;\n                  var header = getPreloadAsHeader(\n                    props$jscomp$0.href,\n                    \"style\",\n                    {\n                      crossOrigin: props$jscomp$0.crossOrigin,\n                      integrity: props$jscomp$0.integrity,\n                      nonce: props$jscomp$0.nonce,\n                      type: props$jscomp$0.type,\n                      fetchPriority: props$jscomp$0.fetchPriority,\n                      referrerPolicy: props$jscomp$0.referrerPolicy,\n                      media: props$jscomp$0.media\n                    }\n                  );\n                  if (0 <= (headers.remainingCapacity -= header.length + 2))\n                    (renderState.resets.style[key] = PRELOAD_NO_CREDS),\n                      linkHeader && (linkHeader += \", \"),\n                      (linkHeader += header),\n                      (renderState.resets.style[key] =\n                        \"string\" === typeof props.crossOrigin ||\n                        \"string\" === typeof props.integrity\n                          ? [props.crossOrigin, props.integrity]\n                          : PRELOAD_NO_CREDS);\n                  else break b;\n                }\n            }\n            linkHeader ? onHeaders({ Link: linkHeader }) : onHeaders({});\n          }\n        }\n      } catch (error) {\n        logRecoverableError(request, error, {}, null);\n      }\n    }\n    function completeShell(request) {\n      null === request.trackedPostpones && safelyEmitEarlyPreloads(request, !0);\n      null === request.trackedPostpones && preparePreamble(request);\n      request = request.onShellReady;\n      request();\n    }\n    function completeAll(request) {\n      safelyEmitEarlyPreloads(\n        request,\n        null === request.trackedPostpones\n          ? !0\n          : null === request.completedRootSegment ||\n              request.completedRootSegment.status !== POSTPONED\n      );\n      preparePreamble(request);\n      request = request.onAllReady;\n      request();\n    }\n    function queueCompletedSegment(boundary, segment) {\n      if (\n        0 === segment.chunks.length &&\n        1 === segment.children.length &&\n        null === segment.children[0].boundary &&\n        -1 === segment.children[0].id\n      ) {\n        var childSegment = segment.children[0];\n        childSegment.id = segment.id;\n        childSegment.parentFlushed = !0;\n        (childSegment.status !== COMPLETED &&\n          childSegment.status !== ABORTED &&\n          childSegment.status !== ERRORED) ||\n          queueCompletedSegment(boundary, childSegment);\n      } else boundary.completedSegments.push(segment);\n    }\n    function finishedSegment(request, boundary, segment) {\n      if (null !== byteLengthOfChunk) {\n        segment = segment.chunks;\n        for (var segmentByteSize = 0, i = 0; i < segment.length; i++)\n          segmentByteSize += byteLengthOfChunk(segment[i]);\n        null === boundary\n          ? (request.byteSize += segmentByteSize)\n          : (boundary.byteSize += segmentByteSize);\n      }\n    }\n    function finishedTask(request, boundary, row, segment) {\n      null !== row &&\n        (0 === --row.pendingTasks\n          ? finishSuspenseListRow(request, row)\n          : row.together && tryToResolveTogetherRow(request, row));\n      request.allPendingTasks--;\n      if (null === boundary) {\n        if (null !== segment && segment.parentFlushed) {\n          if (null !== request.completedRootSegment)\n            throw Error(\n              \"There can only be one root segment. This is a bug in React.\"\n            );\n          request.completedRootSegment = segment;\n        }\n        request.pendingRootTasks--;\n        0 === request.pendingRootTasks && completeShell(request);\n      } else if ((boundary.pendingTasks--, boundary.status !== CLIENT_RENDERED))\n        if (0 === boundary.pendingTasks)\n          if (\n            (boundary.status === PENDING && (boundary.status = COMPLETED),\n            null !== segment &&\n              segment.parentFlushed &&\n              (segment.status === COMPLETED || segment.status === ABORTED) &&\n              queueCompletedSegment(boundary, segment),\n            boundary.parentFlushed &&\n              request.completedBoundaries.push(boundary),\n            boundary.status === COMPLETED)\n          )\n            (row = boundary.row),\n              null !== row &&\n                hoistHoistables(row.hoistables, boundary.contentState),\n              isEligibleForOutlining(request, boundary) ||\n                (request.allPendingTasks++,\n                boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),\n                boundary.fallbackAbortableTasks.clear(),\n                null !== row &&\n                  0 === --row.pendingTasks &&\n                  finishSuspenseListRow(request, row),\n                request.allPendingTasks--),\n              0 === request.pendingRootTasks &&\n                null === request.trackedPostpones &&\n                null !== boundary.preamble &&\n                preparePreamble(request);\n          else {\n            if (\n              boundary.status === POSTPONED &&\n              ((boundary = boundary.row), null !== boundary)\n            ) {\n              if (null !== request.trackedPostpones) {\n                row = request.trackedPostpones;\n                var postponedRow = boundary.next;\n                if (\n                  null !== postponedRow &&\n                  ((segment = postponedRow.boundaries), null !== segment)\n                )\n                  for (\n                    postponedRow.boundaries = null, postponedRow = 0;\n                    postponedRow < segment.length;\n                    postponedRow++\n                  ) {\n                    var postponedBoundary = segment[postponedRow];\n                    trackPostponedBoundary(request, row, postponedBoundary);\n                    finishedTask(request, postponedBoundary, null, null);\n                  }\n              }\n              request.allPendingTasks++;\n              0 === --boundary.pendingTasks &&\n                finishSuspenseListRow(request, boundary);\n              request.allPendingTasks--;\n            }\n          }\n        else\n          null === segment ||\n            !segment.parentFlushed ||\n            (segment.status !== COMPLETED && segment.status !== ABORTED) ||\n            (queueCompletedSegment(boundary, segment),\n            1 === boundary.completedSegments.length &&\n              boundary.parentFlushed &&\n              request.partialBoundaries.push(boundary)),\n            (boundary = boundary.row),\n            null !== boundary &&\n              boundary.together &&\n              tryToResolveTogetherRow(request, boundary);\n      0 === request.allPendingTasks && completeAll(request);\n    }\n    function performWork(request$jscomp$1) {\n      if (!(request$jscomp$1.aborted || 11 < request$jscomp$1.status)) {\n        var prevContext = currentActiveSnapshot,\n          prevDispatcher = ReactSharedInternals.H;\n        ReactSharedInternals.H = HooksDispatcher;\n        var prevAsyncDispatcher = ReactSharedInternals.A;\n        ReactSharedInternals.A = DefaultAsyncDispatcher;\n        var prevRequest = currentRequest;\n        currentRequest = request$jscomp$1;\n        var prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack;\n        ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;\n        var prevResumableState = currentResumableState;\n        currentResumableState = request$jscomp$1.resumableState;\n        try {\n          var pingedTasks = request$jscomp$1.pingedTasks,\n            i;\n          for (i = 0; i < pingedTasks.length; i++) {\n            var request = request$jscomp$1,\n              task = pingedTasks[i],\n              segment = task.blockedSegment;\n            if (null === segment)\n              a: {\n                var prevTaskInDEV = void 0,\n                  task$jscomp$0 = task;\n                if (0 !== task$jscomp$0.replay.pendingTasks) {\n                  var prevTask = request.currentTask;\n                  request.currentTask = task$jscomp$0;\n                  switchContext(task$jscomp$0.context);\n                  prevTaskInDEV = currentTaskInDEV;\n                  currentTaskInDEV = task$jscomp$0;\n                  var startNode = task$jscomp$0.node;\n                  try {\n                    \"number\" === typeof task$jscomp$0.replay.slots\n                      ? resumeNode(\n                          request,\n                          task$jscomp$0,\n                          task$jscomp$0.replay.slots,\n                          task$jscomp$0.node,\n                          task$jscomp$0.childIndex\n                        )\n                      : retryNode(request, task$jscomp$0);\n                    if (\n                      1 === task$jscomp$0.replay.pendingTasks &&\n                      0 < task$jscomp$0.replay.nodes.length\n                    )\n                      throw Error(\n                        \"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.\"\n                      );\n                    task$jscomp$0.replay.pendingTasks--;\n                    task$jscomp$0.abortSet.delete(task$jscomp$0);\n                    finishedTask(\n                      request,\n                      task$jscomp$0.blockedBoundary,\n                      task$jscomp$0.row,\n                      null\n                    );\n                  } catch (thrownValue) {\n                    resetHooksState();\n                    var x =\n                      thrownValue === SuspenseException\n                        ? getSuspendedThenable()\n                        : thrownValue;\n                    if (request.aborted) {\n                      thrownValue === SuspenseException &&\n                        (task$jscomp$0.thenableState =\n                          getThenableStateAfterSuspending());\n                      request.currentTask = prevTask;\n                      var request$jscomp$0 = request;\n                      abortTaskDEV(task$jscomp$0, request$jscomp$0);\n                      task$jscomp$0.abortSet.delete(task$jscomp$0);\n                      finishAbortedTaskDEV(\n                        task$jscomp$0,\n                        request$jscomp$0,\n                        request$jscomp$0.fatalError\n                      );\n                    } else {\n                      if (\"object\" === typeof x && null !== x) {\n                        if (\"function\" === typeof x.then) {\n                          var ping = task$jscomp$0.ping;\n                          x.then(ping.resolve, ping.reject);\n                          task$jscomp$0.thenableState =\n                            thrownValue === SuspenseException\n                              ? getThenableStateAfterSuspending()\n                              : null;\n                          break a;\n                        }\n                        if (\n                          \"Maximum call stack size exceeded\" === x.message &&\n                          task$jscomp$0.node !== startNode\n                        ) {\n                          task$jscomp$0.thenableState = null;\n                          request.pingedTasks.push(task$jscomp$0);\n                          break a;\n                        }\n                      }\n                      task$jscomp$0.replay.pendingTasks--;\n                      task$jscomp$0.abortSet.delete(task$jscomp$0);\n                      var errorInfo = getThrownInfo(\n                        task$jscomp$0.componentStack\n                      );\n                      request$jscomp$0 = request;\n                      var boundary = task$jscomp$0.blockedBoundary,\n                        error$jscomp$0 = request.aborted\n                          ? request.fatalError\n                          : x,\n                        errorInfo$jscomp$0 = errorInfo,\n                        replayNodes = task$jscomp$0.replay.nodes,\n                        resumeSlots = task$jscomp$0.replay.slots,\n                        errorDigest = logRecoverableError(\n                          request$jscomp$0,\n                          error$jscomp$0,\n                          errorInfo$jscomp$0,\n                          task$jscomp$0.debugTask\n                        );\n                      abortRemainingReplayNodes(\n                        request$jscomp$0,\n                        boundary,\n                        replayNodes,\n                        resumeSlots,\n                        error$jscomp$0,\n                        errorDigest,\n                        errorInfo$jscomp$0,\n                        !1\n                      );\n                      request.pendingRootTasks--;\n                      0 === request.pendingRootTasks && completeShell(request);\n                      request.allPendingTasks--;\n                      0 === request.allPendingTasks && completeAll(request);\n                    }\n                  } finally {\n                    (request.currentTask = prevTask),\n                      (currentTaskInDEV = prevTaskInDEV);\n                  }\n                }\n              }\n            else\n              a: if (\n                ((prevTaskInDEV = void 0),\n                (task$jscomp$0 = task),\n                (request$jscomp$0 = segment),\n                request$jscomp$0.status === PENDING)\n              ) {\n                var prevTask$jscomp$0 = request.currentTask;\n                request.currentTask = task$jscomp$0;\n                switchContext(task$jscomp$0.context);\n                prevTaskInDEV = currentTaskInDEV;\n                currentTaskInDEV = task$jscomp$0;\n                var childrenLength = request$jscomp$0.children.length,\n                  chunkLength = request$jscomp$0.chunks.length,\n                  startNode$jscomp$0 = task$jscomp$0.node;\n                try {\n                  retryNode(request, task$jscomp$0),\n                    request$jscomp$0.lastPushedText &&\n                      request$jscomp$0.textEmbedded &&\n                      request$jscomp$0.chunks.push(textSeparator),\n                    task$jscomp$0.abortSet.delete(task$jscomp$0),\n                    (request$jscomp$0.status = COMPLETED),\n                    finishedSegment(\n                      request,\n                      task$jscomp$0.blockedBoundary,\n                      request$jscomp$0\n                    ),\n                    finishedTask(\n                      request,\n                      task$jscomp$0.blockedBoundary,\n                      task$jscomp$0.row,\n                      request$jscomp$0\n                    );\n                } catch (thrownValue) {\n                  resetHooksState();\n                  request$jscomp$0.children.length = childrenLength;\n                  request$jscomp$0.chunks.length = chunkLength;\n                  var x$jscomp$0 =\n                    thrownValue === SuspenseException\n                      ? getSuspendedThenable()\n                      : thrownValue;\n                  if (request.aborted)\n                    thrownValue === SuspenseException &&\n                      (task$jscomp$0.thenableState =\n                        getThenableStateAfterSuspending()),\n                      (request.currentTask = prevTask$jscomp$0),\n                      (request$jscomp$0 = request),\n                      abortTaskDEV(task$jscomp$0, request$jscomp$0),\n                      task$jscomp$0.abortSet.delete(task$jscomp$0),\n                      finishAbortedTaskDEV(\n                        task$jscomp$0,\n                        request$jscomp$0,\n                        request$jscomp$0.fatalError\n                      );\n                  else {\n                    if (\"object\" === typeof x$jscomp$0 && null !== x$jscomp$0) {\n                      if (\"function\" === typeof x$jscomp$0.then) {\n                        request$jscomp$0.status = PENDING;\n                        task$jscomp$0.thenableState =\n                          thrownValue === SuspenseException\n                            ? getThenableStateAfterSuspending()\n                            : null;\n                        var ping$jscomp$0 = task$jscomp$0.ping;\n                        x$jscomp$0.then(\n                          ping$jscomp$0.resolve,\n                          ping$jscomp$0.reject\n                        );\n                        break a;\n                      }\n                      if (\n                        \"Maximum call stack size exceeded\" ===\n                          x$jscomp$0.message &&\n                        task$jscomp$0.node !== startNode$jscomp$0\n                      ) {\n                        request$jscomp$0.status = PENDING;\n                        task$jscomp$0.thenableState = null;\n                        request.pingedTasks.push(task$jscomp$0);\n                        break a;\n                      }\n                    }\n                    var errorInfo$jscomp$1 = getThrownInfo(\n                      task$jscomp$0.componentStack\n                    );\n                    task$jscomp$0.abortSet.delete(task$jscomp$0);\n                    request$jscomp$0.status = ERRORED;\n                    var boundary$jscomp$0 = task$jscomp$0.blockedBoundary,\n                      row = task$jscomp$0.row,\n                      debugTask = task$jscomp$0.debugTask;\n                    null !== row &&\n                      0 === --row.pendingTasks &&\n                      finishSuspenseListRow(request, row);\n                    request.allPendingTasks--;\n                    if (null === boundary$jscomp$0)\n                      if (x$jscomp$0 === RecoverableException) {\n                        if (null === suspendedRecoverableError)\n                          throw Error(\n                            \"Expected a suspended recoverable. This is a bug in React. Please file an issue.\"\n                          );\n                        task$jscomp$0 = suspendedRecoverableError;\n                        suspendedRecoverableError = null;\n                        var useError = task$jscomp$0;\n                        logRecoverableError(\n                          request,\n                          useError,\n                          errorInfo$jscomp$1,\n                          debugTask\n                        );\n                        fatalError(\n                          request,\n                          useError,\n                          errorInfo$jscomp$1,\n                          debugTask\n                        );\n                      } else\n                        logRecoverableError(\n                          request,\n                          x$jscomp$0,\n                          errorInfo$jscomp$1,\n                          debugTask\n                        ),\n                          fatalError(\n                            request,\n                            x$jscomp$0,\n                            errorInfo$jscomp$1,\n                            debugTask\n                          );\n                    else {\n                      var errorDigest$jscomp$0 = logRecoverableError(\n                        request,\n                        x$jscomp$0,\n                        errorInfo$jscomp$1,\n                        debugTask\n                      );\n                      boundary$jscomp$0.pendingTasks--;\n                      if (boundary$jscomp$0.status !== CLIENT_RENDERED) {\n                        boundary$jscomp$0.status = CLIENT_RENDERED;\n                        encodeErrorForBoundary(\n                          boundary$jscomp$0,\n                          errorDigest$jscomp$0,\n                          x$jscomp$0,\n                          errorInfo$jscomp$1,\n                          !1\n                        );\n                        untrackBoundary(request, boundary$jscomp$0);\n                        var boundaryRow = boundary$jscomp$0.row;\n                        null !== boundaryRow &&\n                          (request.allPendingTasks++,\n                          0 === --boundaryRow.pendingTasks &&\n                            finishSuspenseListRow(request, boundaryRow),\n                          request.allPendingTasks--);\n                        boundary$jscomp$0.parentFlushed &&\n                          request.clientRenderedBoundaries.push(\n                            boundary$jscomp$0\n                          );\n                        0 === request.pendingRootTasks &&\n                          null === request.trackedPostpones &&\n                          null !== boundary$jscomp$0.preamble &&\n                          preparePreamble(request);\n                      }\n                      0 === request.allPendingTasks && completeAll(request);\n                    }\n                  }\n                } finally {\n                  (request.currentTask = prevTask$jscomp$0),\n                    (currentTaskInDEV = prevTaskInDEV);\n                }\n              }\n          }\n          pingedTasks.splice(0, i);\n          null !== request$jscomp$1.destination &&\n            flushCompletedQueues(\n              request$jscomp$1,\n              request$jscomp$1.destination\n            );\n        } catch (error) {\n          (pingedTasks = {}),\n            logRecoverableError(request$jscomp$1, error, pingedTasks, null),\n            fatalError(request$jscomp$1, error, pingedTasks, null);\n        } finally {\n          (currentResumableState = prevResumableState),\n            (ReactSharedInternals.H = prevDispatcher),\n            (ReactSharedInternals.A = prevAsyncDispatcher),\n            (ReactSharedInternals.getCurrentStack = prevGetCurrentStackImpl),\n            prevDispatcher === HooksDispatcher && switchContext(prevContext),\n            (currentRequest = prevRequest);\n        }\n      }\n    }\n    function preparePreambleFromSubtree(\n      request,\n      segment,\n      collectedPreambleSegments\n    ) {\n      segment.preambleChildren.length &&\n        collectedPreambleSegments.push(segment.preambleChildren);\n      for (var pendingPreambles = !1, i = 0; i < segment.children.length; i++)\n        pendingPreambles =\n          preparePreambleFromSegment(\n            request,\n            segment.children[i],\n            collectedPreambleSegments\n          ) || pendingPreambles;\n      return pendingPreambles;\n    }\n    function preparePreambleFromSegment(\n      request,\n      segment,\n      collectedPreambleSegments\n    ) {\n      var boundary = segment.boundary;\n      if (null === boundary)\n        return preparePreambleFromSubtree(\n          request,\n          segment,\n          collectedPreambleSegments\n        );\n      var preamble = boundary.preamble;\n      if (null === preamble) return !1;\n      switch (boundary.status) {\n        case COMPLETED:\n          hoistPreambleState(request.renderState, preamble.content);\n          request.byteSize += boundary.byteSize;\n          segment = boundary.completedSegments[0];\n          if (!segment)\n            throw Error(\n              \"A previously unvisited boundary must have exactly one root segment. This is a bug in React.\"\n            );\n          return preparePreambleFromSubtree(\n            request,\n            segment,\n            collectedPreambleSegments\n          );\n        case POSTPONED:\n          if (null !== request.trackedPostpones) return !0;\n        case CLIENT_RENDERED:\n          if (segment.status === COMPLETED)\n            return (\n              hoistPreambleState(request.renderState, preamble.fallback),\n              preparePreambleFromSubtree(\n                request,\n                segment,\n                collectedPreambleSegments\n              )\n            );\n        default:\n          return !0;\n      }\n    }\n    function preparePreamble(request) {\n      if (\n        request.completedRootSegment &&\n        null === request.completedPreambleSegments\n      ) {\n        var collectedPreambleSegments = [],\n          originalRequestByteSize = request.byteSize,\n          hasPendingPreambles = preparePreambleFromSegment(\n            request,\n            request.completedRootSegment,\n            collectedPreambleSegments\n          ),\n          preamble = request.renderState.preamble;\n        !1 === hasPendingPreambles ||\n        (preamble.headChunks && preamble.bodyChunks)\n          ? (request.completedPreambleSegments = collectedPreambleSegments)\n          : (request.byteSize = originalRequestByteSize);\n      }\n    }\n    function flushSubtree(request, destination, segment, hoistableState) {\n      segment.parentFlushed = !0;\n      switch (segment.status) {\n        case PENDING:\n          segment.id = request.nextSegmentId++;\n        case POSTPONED:\n          return (\n            (hoistableState = segment.id),\n            (segment.lastPushedText = !1),\n            (segment.textEmbedded = !1),\n            (request = request.renderState),\n            writeChunk(destination, placeholder1),\n            writeChunk(destination, request.placeholderPrefix),\n            (request = hoistableState.toString(16)),\n            writeChunk(destination, request),\n            writeChunkAndReturn(destination, placeholder2)\n          );\n        case COMPLETED:\n          segment.status = FLUSHED;\n          var r = !0,\n            chunks = segment.chunks,\n            chunkIdx = 0;\n          segment = segment.children;\n          for (var childIdx = 0; childIdx < segment.length; childIdx++) {\n            for (r = segment[childIdx]; chunkIdx < r.index; chunkIdx++)\n              writeChunk(destination, chunks[chunkIdx]);\n            r = flushSegment(request, destination, r, hoistableState);\n          }\n          for (; chunkIdx < chunks.length - 1; chunkIdx++)\n            writeChunk(destination, chunks[chunkIdx]);\n          chunkIdx < chunks.length &&\n            (r = writeChunkAndReturn(destination, chunks[chunkIdx]));\n          return r;\n        case ABORTED:\n          return !0;\n        default:\n          throw Error(\n            \"Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.\"\n          );\n      }\n    }\n    function flushSegment(request, destination, segment, hoistableState) {\n      var boundary = segment.boundary;\n      if (null === boundary)\n        return flushSubtree(request, destination, segment, hoistableState);\n      segment.boundary = null;\n      boundary.parentFlushed = !0;\n      if (boundary.status === CLIENT_RENDERED) {\n        var row = boundary.row;\n        null !== row &&\n          0 === --row.pendingTasks &&\n          finishSuspenseListRow(request, row);\n        row = boundary.errorDigest;\n        var errorMessage = boundary.errorMessage,\n          errorStack = boundary.errorStack;\n        boundary = boundary.errorComponentStack;\n        writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);\n        writeChunk(destination, clientRenderedSuspenseBoundaryError1);\n        null != row &&\n          (writeChunk(destination, clientRenderedSuspenseBoundaryError1A),\n          writeChunk(destination, escapeTextForBrowser(row)),\n          writeChunk(\n            destination,\n            clientRenderedSuspenseBoundaryErrorAttrInterstitial\n          ));\n        errorMessage &&\n          (writeChunk(destination, clientRenderedSuspenseBoundaryError1B),\n          writeChunk(destination, escapeTextForBrowser(errorMessage)),\n          writeChunk(\n            destination,\n            clientRenderedSuspenseBoundaryErrorAttrInterstitial\n          ));\n        errorStack &&\n          (writeChunk(destination, clientRenderedSuspenseBoundaryError1C),\n          writeChunk(destination, escapeTextForBrowser(errorStack)),\n          writeChunk(\n            destination,\n            clientRenderedSuspenseBoundaryErrorAttrInterstitial\n          ));\n        boundary &&\n          (writeChunk(destination, clientRenderedSuspenseBoundaryError1D),\n          writeChunk(destination, escapeTextForBrowser(boundary)),\n          writeChunk(\n            destination,\n            clientRenderedSuspenseBoundaryErrorAttrInterstitial\n          ));\n        writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2);\n        flushSubtree(request, destination, segment, hoistableState);\n      } else if (boundary.status !== COMPLETED)\n        boundary.status === PENDING &&\n          (boundary.rootSegmentID = request.nextSegmentId++),\n          0 < boundary.completedSegments.length &&\n            request.partialBoundaries.push(boundary),\n          writeStartPendingSuspenseBoundary(\n            destination,\n            request.renderState,\n            boundary.rootSegmentID\n          ),\n          hoistableState &&\n            hoistHoistables(hoistableState, boundary.fallbackState),\n          flushSubtree(request, destination, segment, hoistableState);\n      else if (\n        !flushingPartialBoundaries &&\n        isEligibleForOutlining(request, boundary) &&\n        (flushedByteSize + boundary.byteSize > request.progressiveChunkSize ||\n          hasSuspenseyContent(boundary.contentState, flushingShell) ||\n          boundary.defer)\n      )\n        (boundary.rootSegmentID = request.nextSegmentId++),\n          request.completedBoundaries.push(boundary),\n          writeStartPendingSuspenseBoundary(\n            destination,\n            request.renderState,\n            boundary.rootSegmentID\n          ),\n          flushSubtree(request, destination, segment, hoistableState);\n      else {\n        flushedByteSize += boundary.byteSize;\n        hoistableState &&\n          hoistHoistables(hoistableState, boundary.contentState);\n        segment = boundary.row;\n        null !== segment &&\n          isEligibleForOutlining(request, boundary) &&\n          0 === --segment.pendingTasks &&\n          finishSuspenseListRow(request, segment);\n        writeChunkAndReturn(destination, startCompletedSuspenseBoundary);\n        segment = boundary.completedSegments;\n        if (1 !== segment.length)\n          throw Error(\n            \"A previously unvisited boundary must have exactly one root segment. This is a bug in React.\"\n          );\n        flushSegment(request, destination, segment[0], hoistableState);\n      }\n      return writeChunkAndReturn(destination, endSuspenseBoundary);\n    }\n    function flushSegmentContainer(\n      request,\n      destination,\n      segment,\n      hoistableState\n    ) {\n      writeStartSegment(\n        destination,\n        request.renderState,\n        segment.parentFormatContext,\n        segment.id\n      );\n      flushSegment(request, destination, segment, hoistableState);\n      return writeEndSegment(destination, segment.parentFormatContext);\n    }\n    function flushCompletedBoundary(request, destination, boundary) {\n      flushedByteSize = boundary.byteSize;\n      for (\n        var completedSegments = boundary.completedSegments, i = 0;\n        i < completedSegments.length;\n        i++\n      )\n        flushPartiallyCompletedSegment(\n          request,\n          destination,\n          boundary,\n          completedSegments[i]\n        );\n      completedSegments.length = 0;\n      completedSegments = boundary.row;\n      null !== completedSegments &&\n        isEligibleForOutlining(request, boundary) &&\n        0 === --completedSegments.pendingTasks &&\n        finishSuspenseListRow(request, completedSegments);\n      writeHoistablesForBoundary(\n        destination,\n        boundary.contentState,\n        request.renderState\n      );\n      completedSegments = request.resumableState;\n      request = request.renderState;\n      i = boundary.rootSegmentID;\n      boundary = boundary.contentState;\n      var requiresStyleInsertion = request.stylesToHoist,\n        requiresViewTransitions =\n          (completedSegments.instructions & NeedUpgradeToViewTransitions) !==\n          NothingSent;\n      request.stylesToHoist = !1;\n      var scriptFormat =\n        completedSegments.streamingFormat === ScriptStreamingFormat;\n      scriptFormat\n        ? (writeChunk(destination, request.startInlineScript),\n          writeChunk(destination, endOfStartTag),\n          requiresStyleInsertion\n            ? ((completedSegments.instructions & SentClientRenderFunction) ===\n                NothingSent &&\n                ((completedSegments.instructions |= SentClientRenderFunction),\n                writeChunk(destination, clientRenderScriptFunctionOnly)),\n              (completedSegments.instructions &\n                SentCompleteBoundaryFunction) ===\n                NothingSent &&\n                ((completedSegments.instructions |=\n                  SentCompleteBoundaryFunction),\n                writeChunk(destination, completeBoundaryScriptFunctionOnly)),\n              requiresViewTransitions &&\n                (completedSegments.instructions &\n                  SentUpgradeToViewTransitions) ===\n                  NothingSent &&\n                ((completedSegments.instructions |=\n                  SentUpgradeToViewTransitions),\n                writeChunk(\n                  destination,\n                  completeBoundaryUpgradeToViewTransitionsInstruction\n                )),\n              (completedSegments.instructions & SentStyleInsertionFunction) ===\n              NothingSent\n                ? ((completedSegments.instructions |=\n                    SentStyleInsertionFunction),\n                  writeChunk(\n                    destination,\n                    completeBoundaryWithStylesScript1FullPartial\n                  ))\n                : writeChunk(\n                    destination,\n                    completeBoundaryWithStylesScript1Partial\n                  ))\n            : ((completedSegments.instructions &\n                SentCompleteBoundaryFunction) ===\n                NothingSent &&\n                ((completedSegments.instructions |=\n                  SentCompleteBoundaryFunction),\n                writeChunk(destination, completeBoundaryScriptFunctionOnly)),\n              requiresViewTransitions &&\n                (completedSegments.instructions &\n                  SentUpgradeToViewTransitions) ===\n                  NothingSent &&\n                ((completedSegments.instructions |=\n                  SentUpgradeToViewTransitions),\n                writeChunk(\n                  destination,\n                  completeBoundaryUpgradeToViewTransitionsInstruction\n                )),\n              writeChunk(destination, completeBoundaryScript1Partial)))\n        : requiresStyleInsertion\n          ? writeChunk(destination, completeBoundaryWithStylesData1)\n          : writeChunk(destination, completeBoundaryData1);\n      completedSegments = i.toString(16);\n      writeChunk(destination, request.boundaryPrefix);\n      writeChunk(destination, completedSegments);\n      scriptFormat\n        ? writeChunk(destination, completeBoundaryScript2)\n        : writeChunk(destination, completeBoundaryData2);\n      writeChunk(destination, request.segmentPrefix);\n      writeChunk(destination, completedSegments);\n      requiresStyleInsertion\n        ? scriptFormat\n          ? (writeChunk(destination, completeBoundaryScript3a),\n            writeStyleResourceDependenciesInJS(destination, boundary))\n          : (writeChunk(destination, completeBoundaryData3a),\n            writeStyleResourceDependenciesInAttr(destination, boundary))\n        : scriptFormat && writeChunk(destination, completeBoundaryScript3b);\n      completedSegments = scriptFormat\n        ? writeChunkAndReturn(destination, completeBoundaryScriptEnd)\n        : writeChunkAndReturn(destination, completeBoundaryDataEnd);\n      return writeBootstrap(destination, request) && completedSegments;\n    }\n    function flushPartiallyCompletedSegment(\n      request,\n      destination,\n      boundary,\n      segment\n    ) {\n      if (segment.status === FLUSHED) return !0;\n      var hoistableState = boundary.contentState,\n        segmentID = segment.id;\n      if (-1 === segmentID) {\n        if (-1 === (segment.id = boundary.rootSegmentID))\n          throw Error(\n            \"A root segment ID must have been assigned by now. This is a bug in React.\"\n          );\n        return flushSegmentContainer(\n          request,\n          destination,\n          segment,\n          hoistableState\n        );\n      }\n      if (segmentID === boundary.rootSegmentID)\n        return flushSegmentContainer(\n          request,\n          destination,\n          segment,\n          hoistableState\n        );\n      flushSegmentContainer(request, destination, segment, hoistableState);\n      boundary = request.resumableState;\n      request = request.renderState;\n      (segment = boundary.streamingFormat === ScriptStreamingFormat)\n        ? (writeChunk(destination, request.startInlineScript),\n          writeChunk(destination, endOfStartTag),\n          (boundary.instructions & SentCompleteSegmentFunction) === NothingSent\n            ? ((boundary.instructions |= SentCompleteSegmentFunction),\n              writeChunk(destination, completeSegmentScript1Full))\n            : writeChunk(destination, completeSegmentScript1Partial))\n        : writeChunk(destination, completeSegmentData1);\n      writeChunk(destination, request.segmentPrefix);\n      segmentID = segmentID.toString(16);\n      writeChunk(destination, segmentID);\n      segment\n        ? writeChunk(destination, completeSegmentScript2)\n        : writeChunk(destination, completeSegmentData2);\n      writeChunk(destination, request.placeholderPrefix);\n      writeChunk(destination, segmentID);\n      destination = segment\n        ? writeChunkAndReturn(destination, completeSegmentScriptEnd)\n        : writeChunkAndReturn(destination, completeSegmentDataEnd);\n      return destination;\n    }\n    function flushCompletedQueues(request, destination) {\n      currentView = new Uint8Array(4096);\n      writtenBytes = 0;\n      destinationHasCapacity$1 = !0;\n      try {\n        if (!(0 < request.pendingRootTasks)) {\n          var i,\n            completedRootSegment = request.completedRootSegment;\n          if (null !== completedRootSegment) {\n            if (completedRootSegment.status === POSTPONED) return;\n            var completedPreambleSegments = request.completedPreambleSegments;\n            if (null === completedPreambleSegments) return;\n            flushedByteSize = request.byteSize;\n            var skipBlockingShell = !1,\n              blockingRenderMaxSize = 40 * request.progressiveChunkSize;\n            flushedByteSize > blockingRenderMaxSize &&\n              ((skipBlockingShell = !0),\n              logRecoverableError(\n                request,\n                Error(\n                  \"This rendered a large document (>\" +\n                    Math.round(blockingRenderMaxSize / 1e3) +\n                    \" kB) without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML.\"\n                ),\n                {},\n                null\n              ));\n            var resumableState = request.resumableState,\n              renderState = request.renderState;\n            if (renderState.externalRuntimeScript) {\n              var _renderState$external = renderState.externalRuntimeScript,\n                src = _renderState$external.src,\n                chunks = _renderState$external.chunks;\n              resumableState.scriptResources.hasOwnProperty(src) ||\n                ((resumableState.scriptResources[src] = EXISTS),\n                renderState.scripts.add(chunks));\n            }\n            var preamble = renderState.preamble,\n              htmlChunks = preamble.htmlChunks,\n              headChunks = preamble.headChunks,\n              i$jscomp$0;\n            if (htmlChunks) {\n              for (i$jscomp$0 = 0; i$jscomp$0 < htmlChunks.length; i$jscomp$0++)\n                writeChunk(destination, htmlChunks[i$jscomp$0]);\n              if (headChunks)\n                for (\n                  i$jscomp$0 = 0;\n                  i$jscomp$0 < headChunks.length;\n                  i$jscomp$0++\n                )\n                  writeChunk(destination, headChunks[i$jscomp$0]);\n              else\n                writeChunk(destination, startChunkForTag(\"head\")),\n                  writeChunk(destination, endOfStartTag);\n            } else if (headChunks)\n              for (i$jscomp$0 = 0; i$jscomp$0 < headChunks.length; i$jscomp$0++)\n                writeChunk(destination, headChunks[i$jscomp$0]);\n            var charsetChunks = renderState.charsetChunks;\n            for (\n              i$jscomp$0 = 0;\n              i$jscomp$0 < charsetChunks.length;\n              i$jscomp$0++\n            )\n              writeChunk(destination, charsetChunks[i$jscomp$0]);\n            charsetChunks.length = 0;\n            renderState.preconnects.forEach(flushResource, destination);\n            renderState.preconnects.clear();\n            var viewportChunks = renderState.viewportChunks;\n            for (\n              i$jscomp$0 = 0;\n              i$jscomp$0 < viewportChunks.length;\n              i$jscomp$0++\n            )\n              writeChunk(destination, viewportChunks[i$jscomp$0]);\n            viewportChunks.length = 0;\n            renderState.fontPreloads.forEach(flushResource, destination);\n            renderState.fontPreloads.clear();\n            renderState.highImagePreloads.forEach(flushResource, destination);\n            renderState.highImagePreloads.clear();\n            currentlyFlushingRenderState = renderState;\n            renderState.styles.forEach(flushStylesInPreamble, destination);\n            currentlyFlushingRenderState = null;\n            var importMapChunks = renderState.importMapChunks;\n            for (\n              i$jscomp$0 = 0;\n              i$jscomp$0 < importMapChunks.length;\n              i$jscomp$0++\n            )\n              writeChunk(destination, importMapChunks[i$jscomp$0]);\n            importMapChunks.length = 0;\n            renderState.bootstrapScripts.forEach(flushResource, destination);\n            renderState.scripts.forEach(flushResource, destination);\n            renderState.scripts.clear();\n            renderState.bulkPreloads.forEach(flushResource, destination);\n            renderState.bulkPreloads.clear();\n            if ((!htmlChunks && !headChunks) || skipBlockingShell)\n              resumableState.instructions |= SentCompletedShellId;\n            else {\n              var shellId = \"_\" + resumableState.idPrefix + \"R_\";\n              writeChunk(destination, blockingRenderChunkStart);\n              writeChunk(destination, escapeTextForBrowser(shellId));\n              writeChunk(destination, blockingRenderChunkEnd);\n            }\n            var hoistableChunks = renderState.hoistableChunks;\n            for (\n              i$jscomp$0 = 0;\n              i$jscomp$0 < hoistableChunks.length;\n              i$jscomp$0++\n            )\n              writeChunk(destination, hoistableChunks[i$jscomp$0]);\n            for (\n              resumableState = hoistableChunks.length = 0;\n              resumableState < completedPreambleSegments.length;\n              resumableState++\n            ) {\n              var segments = completedPreambleSegments[resumableState];\n              for (\n                renderState = 0;\n                renderState < segments.length;\n                renderState++\n              )\n                flushSegment(request, destination, segments[renderState], null);\n            }\n            var preamble$jscomp$0 = request.renderState.preamble,\n              headChunks$jscomp$0 = preamble$jscomp$0.headChunks;\n            (preamble$jscomp$0.htmlChunks || headChunks$jscomp$0) &&\n              writeChunk(destination, endChunkForTag(\"head\"));\n            var bodyChunks = preamble$jscomp$0.bodyChunks;\n            if (bodyChunks)\n              for (\n                completedPreambleSegments = 0;\n                completedPreambleSegments < bodyChunks.length;\n                completedPreambleSegments++\n              )\n                writeChunk(destination, bodyChunks[completedPreambleSegments]);\n            flushingShell = !0;\n            flushSegment(request, destination, completedRootSegment, null);\n            flushingShell = !1;\n            request.completedRootSegment = null;\n            var resumableState$jscomp$0 = request.resumableState,\n              renderState$jscomp$0 = request.renderState;\n            (0 === request.allPendingTasks &&\n              0 === request.clientRenderedBoundaries.length &&\n              0 === request.completedBoundaries.length &&\n              (null === request.trackedPostpones ||\n                (0 === request.trackedPostpones.rootNodes.length &&\n                  null === request.trackedPostpones.rootSlots))) ||\n              resumableState$jscomp$0.streamingFormat !==\n                ScriptStreamingFormat ||\n              (resumableState$jscomp$0.instructions & SentMarkShellTime) !==\n                NothingSent ||\n              ((resumableState$jscomp$0.instructions |= SentMarkShellTime),\n              writeChunk(destination, renderState$jscomp$0.startInlineScript),\n              writeCompletedShellIdAttribute(\n                destination,\n                resumableState$jscomp$0\n              ),\n              writeChunk(destination, endOfStartTag),\n              writeChunk(destination, shellTimeRuntimeScript),\n              writeChunkAndReturn(destination, endInlineScript));\n            var preamble$jscomp$1 = renderState$jscomp$0.preamble;\n            (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&\n              (resumableState$jscomp$0.instructions & SentCompletedShellId) ===\n                NothingSent &&\n              (writeChunk(destination, startChunkForTag(\"template\")),\n              writeCompletedShellIdAttribute(\n                destination,\n                resumableState$jscomp$0\n              ),\n              writeChunk(destination, endOfStartTag),\n              writeChunk(destination, endChunkForTag(\"template\")));\n            writeBootstrap(destination, renderState$jscomp$0);\n          }\n          var renderState$jscomp$1 = request.renderState;\n          completedRootSegment = 0;\n          var viewportChunks$jscomp$0 = renderState$jscomp$1.viewportChunks;\n          for (\n            completedRootSegment = 0;\n            completedRootSegment < viewportChunks$jscomp$0.length;\n            completedRootSegment++\n          )\n            writeChunk(\n              destination,\n              viewportChunks$jscomp$0[completedRootSegment]\n            );\n          viewportChunks$jscomp$0.length = 0;\n          renderState$jscomp$1.preconnects.forEach(flushResource, destination);\n          renderState$jscomp$1.preconnects.clear();\n          renderState$jscomp$1.fontPreloads.forEach(flushResource, destination);\n          renderState$jscomp$1.fontPreloads.clear();\n          renderState$jscomp$1.highImagePreloads.forEach(\n            flushResource,\n            destination\n          );\n          renderState$jscomp$1.highImagePreloads.clear();\n          renderState$jscomp$1.styles.forEach(preloadLateStyles, destination);\n          renderState$jscomp$1.scripts.forEach(flushResource, destination);\n          renderState$jscomp$1.scripts.clear();\n          renderState$jscomp$1.bulkPreloads.forEach(flushResource, destination);\n          renderState$jscomp$1.bulkPreloads.clear();\n          var hoistableChunks$jscomp$0 = renderState$jscomp$1.hoistableChunks;\n          for (\n            completedRootSegment = 0;\n            completedRootSegment < hoistableChunks$jscomp$0.length;\n            completedRootSegment++\n          )\n            writeChunk(\n              destination,\n              hoistableChunks$jscomp$0[completedRootSegment]\n            );\n          hoistableChunks$jscomp$0.length = 0;\n          var clientRenderedBoundaries = request.clientRenderedBoundaries;\n          for (i = 0; i < clientRenderedBoundaries.length; i++) {\n            var boundary = clientRenderedBoundaries[i];\n            renderState$jscomp$1 = destination;\n            var resumableState$jscomp$1 = request.resumableState,\n              renderState$jscomp$2 = request.renderState,\n              id = boundary.rootSegmentID,\n              errorDigest = boundary.errorDigest,\n              errorMessage = boundary.errorMessage,\n              errorStack = boundary.errorStack,\n              errorComponentStack = boundary.errorComponentStack,\n              scriptFormat =\n                resumableState$jscomp$1.streamingFormat ===\n                ScriptStreamingFormat;\n            scriptFormat\n              ? (writeChunk(\n                  renderState$jscomp$1,\n                  renderState$jscomp$2.startInlineScript\n                ),\n                writeChunk(renderState$jscomp$1, endOfStartTag),\n                (resumableState$jscomp$1.instructions &\n                  SentClientRenderFunction) ===\n                NothingSent\n                  ? ((resumableState$jscomp$1.instructions |=\n                      SentClientRenderFunction),\n                    writeChunk(renderState$jscomp$1, clientRenderScript1Full))\n                  : writeChunk(\n                      renderState$jscomp$1,\n                      clientRenderScript1Partial\n                    ))\n              : writeChunk(renderState$jscomp$1, clientRenderData1);\n            writeChunk(\n              renderState$jscomp$1,\n              renderState$jscomp$2.boundaryPrefix\n            );\n            writeChunk(renderState$jscomp$1, id.toString(16));\n            scriptFormat &&\n              writeChunk(renderState$jscomp$1, clientRenderScript1A);\n            if (\n              null != errorDigest ||\n              errorMessage ||\n              errorStack ||\n              errorComponentStack\n            )\n              scriptFormat\n                ? (writeChunk(\n                    renderState$jscomp$1,\n                    clientRenderErrorScriptArgInterstitial\n                  ),\n                  null == errorDigest\n                    ? writeChunk(\n                        renderState$jscomp$1,\n                        clientRenderErrorScriptNull\n                      )\n                    : writeChunk(\n                        renderState$jscomp$1,\n                        escapeJSStringsForInstructionScripts(errorDigest)\n                      ))\n                : null != errorDigest &&\n                  (writeChunk(renderState$jscomp$1, clientRenderData2),\n                  writeChunk(\n                    renderState$jscomp$1,\n                    escapeTextForBrowser(errorDigest)\n                  ));\n            if (errorMessage || errorStack || errorComponentStack)\n              scriptFormat\n                ? (writeChunk(\n                    renderState$jscomp$1,\n                    clientRenderErrorScriptArgInterstitial\n                  ),\n                  writeChunk(\n                    renderState$jscomp$1,\n                    escapeJSStringsForInstructionScripts(errorMessage || \"\")\n                  ))\n                : (writeChunk(renderState$jscomp$1, clientRenderData3),\n                  writeChunk(\n                    renderState$jscomp$1,\n                    escapeTextForBrowser(errorMessage || \"\")\n                  ));\n            if (errorStack || errorComponentStack)\n              scriptFormat\n                ? (writeChunk(\n                    renderState$jscomp$1,\n                    clientRenderErrorScriptArgInterstitial\n                  ),\n                  writeChunk(\n                    renderState$jscomp$1,\n                    escapeJSStringsForInstructionScripts(errorStack || \"\")\n                  ))\n                : (writeChunk(renderState$jscomp$1, clientRenderData4),\n                  writeChunk(\n                    renderState$jscomp$1,\n                    escapeTextForBrowser(errorStack || \"\")\n                  ));\n            errorComponentStack &&\n              (scriptFormat\n                ? (writeChunk(\n                    renderState$jscomp$1,\n                    clientRenderErrorScriptArgInterstitial\n                  ),\n                  writeChunk(\n                    renderState$jscomp$1,\n                    escapeJSStringsForInstructionScripts(errorComponentStack)\n                  ))\n                : (writeChunk(renderState$jscomp$1, clientRenderData5),\n                  writeChunk(\n                    renderState$jscomp$1,\n                    escapeTextForBrowser(errorComponentStack)\n                  )));\n            var JSCompiler_inline_result = scriptFormat\n              ? writeChunkAndReturn(renderState$jscomp$1, clientRenderScriptEnd)\n              : writeChunkAndReturn(renderState$jscomp$1, clientRenderDataEnd);\n            if (!JSCompiler_inline_result) {\n              request.destination = null;\n              i++;\n              clientRenderedBoundaries.splice(0, i);\n              return;\n            }\n          }\n          clientRenderedBoundaries.splice(0, i);\n          var completedBoundaries = request.completedBoundaries;\n          for (i = 0; i < completedBoundaries.length; i++)\n            if (\n              !flushCompletedBoundary(\n                request,\n                destination,\n                completedBoundaries[i]\n              )\n            ) {\n              request.destination = null;\n              i++;\n              completedBoundaries.splice(0, i);\n              return;\n            }\n          completedBoundaries.splice(0, i);\n          completeWriting(destination);\n          currentView = new Uint8Array(4096);\n          writtenBytes = 0;\n          flushingPartialBoundaries = destinationHasCapacity$1 = !0;\n          var partialBoundaries = request.partialBoundaries;\n          for (i = 0; i < partialBoundaries.length; i++) {\n            a: {\n              clientRenderedBoundaries = request;\n              boundary = destination;\n              var boundary$jscomp$0 = partialBoundaries[i];\n              flushedByteSize = boundary$jscomp$0.byteSize;\n              var completedSegments = boundary$jscomp$0.completedSegments;\n              for (\n                JSCompiler_inline_result = 0;\n                JSCompiler_inline_result < completedSegments.length;\n                JSCompiler_inline_result++\n              )\n                if (\n                  !flushPartiallyCompletedSegment(\n                    clientRenderedBoundaries,\n                    boundary,\n                    boundary$jscomp$0,\n                    completedSegments[JSCompiler_inline_result]\n                  )\n                ) {\n                  JSCompiler_inline_result++;\n                  completedSegments.splice(0, JSCompiler_inline_result);\n                  var JSCompiler_inline_result$jscomp$0 = !1;\n                  break a;\n                }\n              completedSegments.splice(0, JSCompiler_inline_result);\n              var row = boundary$jscomp$0.row;\n              null !== row &&\n                row.together &&\n                1 === boundary$jscomp$0.pendingTasks &&\n                (1 === row.pendingTasks\n                  ? unblockSuspenseListRow(\n                      clientRenderedBoundaries,\n                      row,\n                      row.hoistables\n                    )\n                  : row.pendingTasks--);\n              JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(\n                boundary,\n                boundary$jscomp$0.contentState,\n                clientRenderedBoundaries.renderState\n              );\n            }\n            if (!JSCompiler_inline_result$jscomp$0) {\n              request.destination = null;\n              i++;\n              partialBoundaries.splice(0, i);\n              return;\n            }\n          }\n          partialBoundaries.splice(0, i);\n          flushingPartialBoundaries = !1;\n          var largeBoundaries = request.completedBoundaries;\n          for (i = 0; i < largeBoundaries.length; i++)\n            if (\n              !flushCompletedBoundary(request, destination, largeBoundaries[i])\n            ) {\n              request.destination = null;\n              i++;\n              largeBoundaries.splice(0, i);\n              return;\n            }\n          largeBoundaries.splice(0, i);\n        }\n      } finally {\n        (flushingPartialBoundaries = !1),\n          (i = request.postponedState),\n          null !== i && (i.nextSegmentId = request.nextSegmentId),\n          0 === request.allPendingTasks &&\n          0 === request.clientRenderedBoundaries.length &&\n          0 === request.completedBoundaries.length\n            ? ((request.flushScheduled = !1),\n              (i = request.resumableState),\n              i.hasBody && writeChunk(destination, endChunkForTag(\"body\")),\n              i.hasHtml && writeChunk(destination, endChunkForTag(\"html\")),\n              completeWriting(destination),\n              flushBuffered(destination),\n              0 !== request.abortableTasks.size &&\n                console.error(\n                  \"There was still abortable task at the root when we closed. This is a bug in React.\"\n                ),\n              (request.status = CLOSED),\n              destination.end(),\n              (request.destination = null))\n            : (completeWriting(destination), flushBuffered(destination));\n      }\n    }\n    function startWork(request) {\n      request.flushScheduled = null !== request.destination;\n      scheduleMicrotask(function () {\n        return requestStorage.run(request, performWork, request);\n      });\n      setImmediate(function () {\n        10 === request.status && (request.status = 11);\n        null === request.trackedPostpones &&\n          requestStorage.run(\n            request,\n            enqueueEarlyPreloadsAfterInitialWork,\n            request\n          );\n      });\n    }\n    function enqueueEarlyPreloadsAfterInitialWork(request) {\n      safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks);\n    }\n    function enqueueFlush(request) {\n      !1 === request.flushScheduled &&\n        0 === request.pingedTasks.length &&\n        null !== request.destination &&\n        ((request.flushScheduled = !0),\n        setImmediate(function () {\n          var destination = request.destination;\n          destination\n            ? flushCompletedQueues(request, destination)\n            : (request.flushScheduled = !1);\n        }));\n    }\n    function startFlowing(request, destination) {\n      if (12 === request.status)\n        (request.status = CLOSED), destination.destroy(request.fatalError);\n      else if (request.status !== CLOSED && null === request.destination) {\n        request.destination = destination;\n        try {\n          flushCompletedQueues(request, destination);\n        } catch (error) {\n          (destination = {}),\n            logRecoverableError(request, error, destination, null),\n            fatalError(request, error, destination, null);\n        }\n      }\n    }\n    function finishAbort(request, abortableTasks) {\n      try {\n        if (0 < abortableTasks.size) {\n          var error = request.fatalError;\n          abortableTasks.forEach(function (task) {\n            return finishAbortedTaskDEV(task, request, error);\n          });\n          abortableTasks.clear();\n        }\n        null !== request.destination &&\n          flushCompletedQueues(request, request.destination);\n      } catch (error$4) {\n        (abortableTasks = {}),\n          logRecoverableError(request, error$4, abortableTasks, null),\n          fatalError(request, error$4, abortableTasks, null);\n      }\n    }\n    function abort(request, reason) {\n      if (\n        !(request.aborted || (11 !== request.status && 10 !== request.status))\n      ) {\n        request.aborted = !0;\n        request.fatalError =\n          void 0 === reason\n            ? Error(\"The render was aborted by the server without a reason.\")\n            : \"object\" === typeof reason &&\n                null !== reason &&\n                \"function\" === typeof reason.then\n              ? Error(\"The render was aborted by the server with a promise.\")\n              : reason;\n        var abortableTasks = request.abortableTasks;\n        abortableTasks.forEach(function (task) {\n          return abortTaskDEV(task, request);\n        });\n        setImmediate(function () {\n          return finishAbort(request, abortableTasks);\n        });\n      }\n    }\n    function addToReplayParent(node, parentKeyPath, trackedPostpones) {\n      if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);\n      else {\n        var workingMap = trackedPostpones.workingMap,\n          parentNode = workingMap.get(parentKeyPath);\n        void 0 === parentNode &&\n          ((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),\n          workingMap.set(parentKeyPath, parentNode),\n          addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));\n        parentNode[2].push(node);\n      }\n    }\n    function getPostponedState(request) {\n      var trackedPostpones = request.trackedPostpones;\n      if (\n        null === trackedPostpones ||\n        (0 === trackedPostpones.rootNodes.length &&\n          null === trackedPostpones.rootSlots)\n      )\n        return (request.trackedPostpones = null);\n      var hasFlushableShell =\n        null === request.completedRootSegment ||\n        (request.completedRootSegment.status !== POSTPONED &&\n          null !== request.completedPreambleSegments);\n      if (hasFlushableShell) {\n        var nextSegmentId = request.nextSegmentId;\n        var replaySlots = trackedPostpones.rootSlots;\n        var resumableState = request.resumableState;\n        resumableState.bootstrapScriptContent = void 0;\n        resumableState.bootstrapScripts = void 0;\n        resumableState.bootstrapModules = void 0;\n      } else {\n        nextSegmentId = 0;\n        replaySlots = -1;\n        resumableState = request.resumableState;\n        var renderState = request.renderState;\n        resumableState.nextFormID = 0;\n        resumableState.hasBody = !1;\n        resumableState.hasHtml = !1;\n        resumableState.unknownResources = { font: renderState.resets.font };\n        resumableState.dnsResources = renderState.resets.dns;\n        resumableState.connectResources = renderState.resets.connect;\n        resumableState.imageResources = renderState.resets.image;\n        resumableState.styleResources = renderState.resets.style;\n        resumableState.scriptResources = {};\n        resumableState.moduleUnknownResources = {};\n        resumableState.moduleScriptResources = {};\n        resumableState.instructions = NothingSent;\n      }\n      trackedPostpones = {\n        nextSegmentId: nextSegmentId,\n        rootFormatContext: request.rootFormatContext,\n        progressiveChunkSize: request.progressiveChunkSize,\n        resumableState: request.resumableState,\n        replayNodes: trackedPostpones.rootNodes,\n        replaySlots: replaySlots\n      };\n      hasFlushableShell && (request.postponedState = trackedPostpones);\n      return trackedPostpones;\n    }\n    function ensureCorrectIsomorphicReactVersion() {\n      var isomorphicReactPackageVersion = React.version;\n      if (\"19.3.0-experimental-cbb046ab-20260731\" !== isomorphicReactPackageVersion)\n        throw Error(\n          'Incompatible React versions: The \"react\" and \"react-dom\" packages must have the exact same version. Instead got:\\n  - react:      ' +\n            (isomorphicReactPackageVersion +\n              \"\\n  - react-dom:  19.3.0-experimental-cbb046ab-20260731\\nLearn more: https://react.dev/warnings/version-mismatch\")\n        );\n    }\n    function createDrainHandler(destination, request) {\n      return function () {\n        return startFlowing(request, destination);\n      };\n    }\n    function createCancelHandler(request, reason) {\n      return function () {\n        request.destination = null;\n        abort(request, Error(reason));\n      };\n    }\n    function createRequestImpl(children, options) {\n      var resumableState = createResumableState(\n        options ? options.identifierPrefix : void 0,\n        options ? options.unstable_externalRuntimeSrc : void 0,\n        options ? options.bootstrapScriptContent : void 0,\n        options ? options.bootstrapScripts : void 0,\n        options ? options.bootstrapModules : void 0\n      );\n      return createRequest(\n        children,\n        resumableState,\n        createRenderState(\n          resumableState,\n          options ? options.nonce : void 0,\n          options ? options.unstable_externalRuntimeSrc : void 0,\n          options ? options.importMap : void 0,\n          options ? options.onHeaders : void 0,\n          options ? options.maxHeadersLength : void 0\n        ),\n        createRootFormatContext(options ? options.namespaceURI : void 0),\n        options ? options.progressiveChunkSize : void 0,\n        options ? options.onError : void 0,\n        options ? options.onAllReady : void 0,\n        options ? options.onShellReady : void 0,\n        options ? options.onShellError : void 0,\n        void 0,\n        options ? options.formState : void 0\n      );\n    }\n    function createFakeWritableFromReadableStreamController$1(controller) {\n      return {\n        write: function (chunk) {\n          \"string\" === typeof chunk && (chunk = textEncoder.encode(chunk));\n          controller.enqueue(chunk);\n          return !0;\n        },\n        end: function () {\n          controller.close();\n        },\n        destroy: function (error) {\n          \"function\" === typeof controller.error\n            ? controller.error(error)\n            : controller.close();\n        }\n      };\n    }\n    function resumeRequestImpl(children, postponedState, options) {\n      return resumeRequest(\n        children,\n        postponedState,\n        createRenderState(\n          postponedState.resumableState,\n          options ? options.nonce : void 0,\n          void 0,\n          void 0,\n          void 0,\n          void 0\n        ),\n        options ? options.onError : void 0,\n        options ? options.onAllReady : void 0,\n        options ? options.onShellReady : void 0,\n        options ? options.onShellError : void 0,\n        void 0\n      );\n    }\n    function createFakeWritableFromReadableStreamController(controller) {\n      return {\n        write: function (chunk) {\n          \"string\" === typeof chunk && (chunk = textEncoder.encode(chunk));\n          controller.enqueue(chunk);\n          return !0;\n        },\n        end: function () {\n          controller.close();\n        },\n        destroy: function (error) {\n          \"function\" === typeof controller.error\n            ? controller.error(error)\n            : controller.close();\n        }\n      };\n    }\n    function createFakeWritableFromReadable(readable) {\n      return {\n        write: function (chunk) {\n          return readable.push(chunk);\n        },\n        end: function () {\n          readable.push(null);\n        },\n        destroy: function (error) {\n          readable.destroy(error);\n        }\n      };\n    }\n    var util = require(\"util\"),\n      crypto = require(\"crypto\"),\n      async_hooks = require(\"async_hooks\"),\n      React = require(\"next/dist/compiled/react-experimental\"),\n      ReactDOM = require(\"next/dist/compiled/react-dom-experimental\"),\n      stream = require(\"stream\"),\n      REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n      REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n      REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n      REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n      REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n      REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n      REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n      REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n      REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n      REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n      REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n      REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n      REACT_SCOPE_TYPE = Symbol.for(\"react.scope\"),\n      REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n      REACT_LEGACY_HIDDEN_TYPE = Symbol.for(\"react.legacy_hidden\"),\n      REACT_MEMO_CACHE_SENTINEL = Symbol.for(\"react.memo_cache_sentinel\"),\n      REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n      REACT_RECOVERABLE_TYPE = Symbol.for(\"react.recoverable\"),\n      MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n      ASYNC_ITERATOR = Symbol.asyncIterator,\n      REACT_OPTIMISTIC_KEY = Symbol.for(\"react.optimistic_key\"),\n      isArrayImpl = Array.isArray,\n      jsxPropsParents = new WeakMap(),\n      jsxChildrenParents = new WeakMap(),\n      CLIENT_REFERENCE_TAG = Symbol.for(\"react.client.reference\"),\n      scheduleMicrotask = queueMicrotask,\n      currentView = null,\n      writtenBytes = 0,\n      destinationHasCapacity$1 = !0,\n      textEncoder = new util.TextEncoder(),\n      assign = Object.assign,\n      hasOwnProperty = Object.prototype.hasOwnProperty,\n      VALID_ATTRIBUTE_NAME_REGEX = RegExp(\n        \"^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n      ),\n      illegalAttributeNameCache = {},\n      validatedAttributeNameCache = {},\n      unitlessNumbers = new Set(\n        \"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp\".split(\n          \" \"\n        )\n      ),\n      aliases = new Map([\n        [\"acceptCharset\", \"accept-charset\"],\n        [\"htmlFor\", \"for\"],\n        [\"httpEquiv\", \"http-equiv\"],\n        [\"crossOrigin\", \"crossorigin\"],\n        [\"accentHeight\", \"accent-height\"],\n        [\"alignmentBaseline\", \"alignment-baseline\"],\n        [\"arabicForm\", \"arabic-form\"],\n        [\"baselineShift\", \"baseline-shift\"],\n        [\"capHeight\", \"cap-height\"],\n        [\"clipPath\", \"clip-path\"],\n        [\"clipRule\", \"clip-rule\"],\n        [\"colorInterpolation\", \"color-interpolation\"],\n        [\"colorInterpolationFilters\", \"color-interpolation-filters\"],\n        [\"colorProfile\", \"color-profile\"],\n        [\"colorRendering\", \"color-rendering\"],\n        [\"dominantBaseline\", \"dominant-baseline\"],\n        [\"enableBackground\", \"enable-background\"],\n        [\"fillOpacity\", \"fill-opacity\"],\n        [\"fillRule\", \"fill-rule\"],\n        [\"floodColor\", \"flood-color\"],\n        [\"floodOpacity\", \"flood-opacity\"],\n        [\"fontFamily\", \"font-family\"],\n        [\"fontSize\", \"font-size\"],\n        [\"fontSizeAdjust\", \"font-size-adjust\"],\n        [\"fontStretch\", \"font-stretch\"],\n        [\"fontStyle\", \"font-style\"],\n        [\"fontVariant\", \"font-variant\"],\n        [\"fontWeight\", \"font-weight\"],\n        [\"glyphName\", \"glyph-name\"],\n        [\"glyphOrientationHorizontal\", \"glyph-orientation-horizontal\"],\n        [\"glyphOrientationVertical\", \"glyph-orientation-vertical\"],\n        [\"horizAdvX\", \"horiz-adv-x\"],\n        [\"horizOriginX\", \"horiz-origin-x\"],\n        [\"imageRendering\", \"image-rendering\"],\n        [\"letterSpacing\", \"letter-spacing\"],\n        [\"lightingColor\", \"lighting-color\"],\n        [\"markerEnd\", \"marker-end\"],\n        [\"markerMid\", \"marker-mid\"],\n        [\"markerStart\", \"marker-start\"],\n        [\"maskType\", \"mask-type\"],\n        [\"overlinePosition\", \"overline-position\"],\n        [\"overlineThickness\", \"overline-thickness\"],\n        [\"paintOrder\", \"paint-order\"],\n        [\"panose-1\", \"panose-1\"],\n        [\"pointerEvents\", \"pointer-events\"],\n        [\"renderingIntent\", \"rendering-intent\"],\n        [\"shapeRendering\", \"shape-rendering\"],\n        [\"stopColor\", \"stop-color\"],\n        [\"stopOpacity\", \"stop-opacity\"],\n        [\"strikethroughPosition\", \"strikethrough-position\"],\n        [\"strikethroughThickness\", \"strikethrough-thickness\"],\n        [\"strokeDasharray\", \"stroke-dasharray\"],\n        [\"strokeDashoffset\", \"stroke-dashoffset\"],\n        [\"strokeLinecap\", \"stroke-linecap\"],\n        [\"strokeLinejoin\", \"stroke-linejoin\"],\n        [\"strokeMiterlimit\", \"stroke-miterlimit\"],\n        [\"strokeOpacity\", \"stroke-opacity\"],\n        [\"strokeWidth\", \"stroke-width\"],\n        [\"textAnchor\", \"text-anchor\"],\n        [\"textDecoration\", \"text-decoration\"],\n        [\"textRendering\", \"text-rendering\"],\n        [\"transformOrigin\", \"transform-origin\"],\n        [\"underlinePosition\", \"underline-position\"],\n        [\"underlineThickness\", \"underline-thickness\"],\n        [\"unicodeBidi\", \"unicode-bidi\"],\n        [\"unicodeRange\", \"unicode-range\"],\n        [\"unitsPerEm\", \"units-per-em\"],\n        [\"vAlphabetic\", \"v-alphabetic\"],\n        [\"vHanging\", \"v-hanging\"],\n        [\"vIdeographic\", \"v-ideographic\"],\n        [\"vMathematical\", \"v-mathematical\"],\n        [\"vectorEffect\", \"vector-effect\"],\n        [\"vertAdvY\", \"vert-adv-y\"],\n        [\"vertOriginX\", \"vert-origin-x\"],\n        [\"vertOriginY\", \"vert-origin-y\"],\n        [\"wordSpacing\", \"word-spacing\"],\n        [\"writingMode\", \"writing-mode\"],\n        [\"xmlnsXlink\", \"xmlns:xlink\"],\n        [\"xHeight\", \"x-height\"]\n      ]),\n      hasReadOnlyValue = {\n        button: !0,\n        checkbox: !0,\n        image: !0,\n        hidden: !0,\n        radio: !0,\n        reset: !0,\n        submit: !0\n      },\n      ariaProperties = {\n        \"aria-current\": 0,\n        \"aria-description\": 0,\n        \"aria-details\": 0,\n        \"aria-disabled\": 0,\n        \"aria-hidden\": 0,\n        \"aria-invalid\": 0,\n        \"aria-keyshortcuts\": 0,\n        \"aria-label\": 0,\n        \"aria-roledescription\": 0,\n        \"aria-autocomplete\": 0,\n        \"aria-checked\": 0,\n        \"aria-expanded\": 0,\n        \"aria-haspopup\": 0,\n        \"aria-level\": 0,\n        \"aria-modal\": 0,\n        \"aria-multiline\": 0,\n        \"aria-multiselectable\": 0,\n        \"aria-orientation\": 0,\n        \"aria-placeholder\": 0,\n        \"aria-pressed\": 0,\n        \"aria-readonly\": 0,\n        \"aria-required\": 0,\n        \"aria-selected\": 0,\n        \"aria-sort\": 0,\n        \"aria-valuemax\": 0,\n        \"aria-valuemin\": 0,\n        \"aria-valuenow\": 0,\n        \"aria-valuetext\": 0,\n        \"aria-atomic\": 0,\n        \"aria-busy\": 0,\n        \"aria-live\": 0,\n        \"aria-relevant\": 0,\n        \"aria-dropeffect\": 0,\n        \"aria-grabbed\": 0,\n        \"aria-activedescendant\": 0,\n        \"aria-colcount\": 0,\n        \"aria-colindex\": 0,\n        \"aria-colspan\": 0,\n        \"aria-controls\": 0,\n        \"aria-describedby\": 0,\n        \"aria-errormessage\": 0,\n        \"aria-flowto\": 0,\n        \"aria-labelledby\": 0,\n        \"aria-owns\": 0,\n        \"aria-posinset\": 0,\n        \"aria-rowcount\": 0,\n        \"aria-rowindex\": 0,\n        \"aria-rowspan\": 0,\n        \"aria-setsize\": 0,\n        \"aria-braillelabel\": 0,\n        \"aria-brailleroledescription\": 0,\n        \"aria-colindextext\": 0,\n        \"aria-rowindextext\": 0\n      },\n      warnedProperties$1 = {},\n      rARIA$1 = RegExp(\n        \"^(aria)-[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n      ),\n      rARIACamel$1 = RegExp(\n        \"^(aria)[A-Z][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n      ),\n      didWarnValueNull = !1,\n      possibleStandardNames = {\n        accept: \"accept\",\n        acceptcharset: \"acceptCharset\",\n        \"accept-charset\": \"acceptCharset\",\n        accesskey: \"accessKey\",\n        action: \"action\",\n        allowfullscreen: \"allowFullScreen\",\n        alt: \"alt\",\n        as: \"as\",\n        async: \"async\",\n        autocapitalize: \"autoCapitalize\",\n        autocomplete: \"autoComplete\",\n        autocorrect: \"autoCorrect\",\n        autofocus: \"autoFocus\",\n        autoplay: \"autoPlay\",\n        autosave: \"autoSave\",\n        capture: \"capture\",\n        cellpadding: \"cellPadding\",\n        cellspacing: \"cellSpacing\",\n        challenge: \"challenge\",\n        charset: \"charSet\",\n        checked: \"checked\",\n        children: \"children\",\n        cite: \"cite\",\n        class: \"className\",\n        classid: \"classID\",\n        classname: \"className\",\n        cols: \"cols\",\n        colspan: \"colSpan\",\n        content: \"content\",\n        contenteditable: \"contentEditable\",\n        contextmenu: \"contextMenu\",\n        controls: \"controls\",\n        controlslist: \"controlsList\",\n        coords: \"coords\",\n        credentialless: \"credentialless\",\n        crossorigin: \"crossOrigin\",\n        dangerouslysetinnerhtml: \"dangerouslySetInnerHTML\",\n        data: \"data\",\n        datetime: \"dateTime\",\n        default: \"default\",\n        defaultchecked: \"defaultChecked\",\n        defaultvalue: \"defaultValue\",\n        defer: \"defer\",\n        dir: \"dir\",\n        disabled: \"disabled\",\n        disablepictureinpicture: \"disablePictureInPicture\",\n        disableremoteplayback: \"disableRemotePlayback\",\n        download: \"download\",\n        draggable: \"draggable\",\n        enctype: \"encType\",\n        enterkeyhint: \"enterKeyHint\",\n        fetchpriority: \"fetchPriority\",\n        for: \"htmlFor\",\n        form: \"form\",\n        formmethod: \"formMethod\",\n        formaction: \"formAction\",\n        formenctype: \"formEncType\",\n        formnovalidate: \"formNoValidate\",\n        formtarget: \"formTarget\",\n        frameborder: \"frameBorder\",\n        headers: \"headers\",\n        height: \"height\",\n        hidden: \"hidden\",\n        high: \"high\",\n        href: \"href\",\n        hreflang: \"hrefLang\",\n        htmlfor: \"htmlFor\",\n        httpequiv: \"httpEquiv\",\n        \"http-equiv\": \"httpEquiv\",\n        icon: \"icon\",\n        id: \"id\",\n        imagesizes: \"imageSizes\",\n        imagesrcset: \"imageSrcSet\",\n        inert: \"inert\",\n        innerhtml: \"innerHTML\",\n        inputmode: \"inputMode\",\n        integrity: \"integrity\",\n        is: \"is\",\n        itemid: \"itemID\",\n        itemprop: \"itemProp\",\n        itemref: \"itemRef\",\n        itemscope: \"itemScope\",\n        itemtype: \"itemType\",\n        keyparams: \"keyParams\",\n        keytype: \"keyType\",\n        kind: \"kind\",\n        label: \"label\",\n        lang: \"lang\",\n        list: \"list\",\n        loop: \"loop\",\n        low: \"low\",\n        manifest: \"manifest\",\n        marginwidth: \"marginWidth\",\n        marginheight: \"marginHeight\",\n        max: \"max\",\n        maxlength: \"maxLength\",\n        media: \"media\",\n        mediagroup: \"mediaGroup\",\n        method: \"method\",\n        min: \"min\",\n        minlength: \"minLength\",\n        multiple: \"multiple\",\n        muted: \"muted\",\n        name: \"name\",\n        nomodule: \"noModule\",\n        nonce: \"nonce\",\n        novalidate: \"noValidate\",\n        open: \"open\",\n        optimum: \"optimum\",\n        pattern: \"pattern\",\n        placeholder: \"placeholder\",\n        playsinline: \"playsInline\",\n        poster: \"poster\",\n        preload: \"preload\",\n        profile: \"profile\",\n        radiogroup: \"radioGroup\",\n        readonly: \"readOnly\",\n        referrerpolicy: \"referrerPolicy\",\n        rel: \"rel\",\n        required: \"required\",\n        reversed: \"reversed\",\n        role: \"role\",\n        rows: \"rows\",\n        rowspan: \"rowSpan\",\n        sandbox: \"sandbox\",\n        scope: \"scope\",\n        scoped: \"scoped\",\n        scrolling: \"scrolling\",\n        seamless: \"seamless\",\n        selected: \"selected\",\n        shape: \"shape\",\n        size: \"size\",\n        sizes: \"sizes\",\n        span: \"span\",\n        spellcheck: \"spellCheck\",\n        src: \"src\",\n        srcdoc: \"srcDoc\",\n        srclang: \"srcLang\",\n        srcset: \"srcSet\",\n        start: \"start\",\n        step: \"step\",\n        style: \"style\",\n        summary: \"summary\",\n        tabindex: \"tabIndex\",\n        target: \"target\",\n        title: \"title\",\n        type: \"type\",\n        usemap: \"useMap\",\n        value: \"value\",\n        width: \"width\",\n        wmode: \"wmode\",\n        wrap: \"wrap\",\n        about: \"about\",\n        accentheight: \"accentHeight\",\n        \"accent-height\": \"accentHeight\",\n        accumulate: \"accumulate\",\n        additive: \"additive\",\n        alignmentbaseline: \"alignmentBaseline\",\n        \"alignment-baseline\": \"alignmentBaseline\",\n        allowreorder: \"allowReorder\",\n        alphabetic: \"alphabetic\",\n        amplitude: \"amplitude\",\n        arabicform: \"arabicForm\",\n        \"arabic-form\": \"arabicForm\",\n        ascent: \"ascent\",\n        attributename: \"attributeName\",\n        attributetype: \"attributeType\",\n        autoreverse: \"autoReverse\",\n        azimuth: \"azimuth\",\n        basefrequency: \"baseFrequency\",\n        baselineshift: \"baselineShift\",\n        \"baseline-shift\": \"baselineShift\",\n        baseprofile: \"baseProfile\",\n        bbox: \"bbox\",\n        begin: \"begin\",\n        bias: \"bias\",\n        by: \"by\",\n        calcmode: \"calcMode\",\n        capheight: \"capHeight\",\n        \"cap-height\": \"capHeight\",\n        clip: \"clip\",\n        clippath: \"clipPath\",\n        \"clip-path\": \"clipPath\",\n        clippathunits: \"clipPathUnits\",\n        cliprule: \"clipRule\",\n        \"clip-rule\": \"clipRule\",\n        color: \"color\",\n        colorinterpolation: \"colorInterpolation\",\n        \"color-interpolation\": \"colorInterpolation\",\n        colorinterpolationfilters: \"colorInterpolationFilters\",\n        \"color-interpolation-filters\": \"colorInterpolationFilters\",\n        colorprofile: \"colorProfile\",\n        \"color-profile\": \"colorProfile\",\n        colorrendering: \"colorRendering\",\n        \"color-rendering\": \"colorRendering\",\n        contentscripttype: \"contentScriptType\",\n        contentstyletype: \"contentStyleType\",\n        cursor: \"cursor\",\n        cx: \"cx\",\n        cy: \"cy\",\n        d: \"d\",\n        datatype: \"datatype\",\n        decelerate: \"decelerate\",\n        descent: \"descent\",\n        diffuseconstant: \"diffuseConstant\",\n        direction: \"direction\",\n        display: \"display\",\n        divisor: \"divisor\",\n        dominantbaseline: \"dominantBaseline\",\n        \"dominant-baseline\": \"dominantBaseline\",\n        dur: \"dur\",\n        dx: \"dx\",\n        dy: \"dy\",\n        edgemode: \"edgeMode\",\n        elevation: \"elevation\",\n        enablebackground: \"enableBackground\",\n        \"enable-background\": \"enableBackground\",\n        end: \"end\",\n        exponent: \"exponent\",\n        externalresourcesrequired: \"externalResourcesRequired\",\n        fill: \"fill\",\n        fillopacity: \"fillOpacity\",\n        \"fill-opacity\": \"fillOpacity\",\n        fillrule: \"fillRule\",\n        \"fill-rule\": \"fillRule\",\n        filter: \"filter\",\n        filterres: \"filterRes\",\n        filterunits: \"filterUnits\",\n        floodopacity: \"floodOpacity\",\n        \"flood-opacity\": \"floodOpacity\",\n        floodcolor: \"floodColor\",\n        \"flood-color\": \"floodColor\",\n        focusable: \"focusable\",\n        fontfamily: \"fontFamily\",\n        \"font-family\": \"fontFamily\",\n        fontsize: \"fontSize\",\n        \"font-size\": \"fontSize\",\n        fontsizeadjust: \"fontSizeAdjust\",\n        \"font-size-adjust\": \"fontSizeAdjust\",\n        fontstretch: \"fontStretch\",\n        \"font-stretch\": \"fontStretch\",\n        fontstyle: \"fontStyle\",\n        \"font-style\": \"fontStyle\",\n        fontvariant: \"fontVariant\",\n        \"font-variant\": \"fontVariant\",\n        fontweight: \"fontWeight\",\n        \"font-weight\": \"fontWeight\",\n        format: \"format\",\n        from: \"from\",\n        fx: \"fx\",\n        fy: \"fy\",\n        g1: \"g1\",\n        g2: \"g2\",\n        glyphname: \"glyphName\",\n        \"glyph-name\": \"glyphName\",\n        glyphorientationhorizontal: \"glyphOrientationHorizontal\",\n        \"glyph-orientation-horizontal\": \"glyphOrientationHorizontal\",\n        glyphorientationvertical: \"glyphOrientationVertical\",\n        \"glyph-orientation-vertical\": \"glyphOrientationVertical\",\n        glyphref: \"glyphRef\",\n        gradienttransform: \"gradientTransform\",\n        gradientunits: \"gradientUnits\",\n        hanging: \"hanging\",\n        horizadvx: \"horizAdvX\",\n        \"horiz-adv-x\": \"horizAdvX\",\n        horizoriginx: \"horizOriginX\",\n        \"horiz-origin-x\": \"horizOriginX\",\n        ideographic: \"ideographic\",\n        imagerendering: \"imageRendering\",\n        \"image-rendering\": \"imageRendering\",\n        in2: \"in2\",\n        in: \"in\",\n        inlist: \"inlist\",\n        intercept: \"intercept\",\n        k1: \"k1\",\n        k2: \"k2\",\n        k3: \"k3\",\n        k4: \"k4\",\n        k: \"k\",\n        kernelmatrix: \"kernelMatrix\",\n        kernelunitlength: \"kernelUnitLength\",\n        kerning: \"kerning\",\n        keypoints: \"keyPoints\",\n        keysplines: \"keySplines\",\n        keytimes: \"keyTimes\",\n        lengthadjust: \"lengthAdjust\",\n        letterspacing: \"letterSpacing\",\n        \"letter-spacing\": \"letterSpacing\",\n        lightingcolor: \"lightingColor\",\n        \"lighting-color\": \"lightingColor\",\n        limitingconeangle: \"limitingConeAngle\",\n        local: \"local\",\n        markerend: \"markerEnd\",\n        \"marker-end\": \"markerEnd\",\n        markerheight: \"markerHeight\",\n        markermid: \"markerMid\",\n        \"marker-mid\": \"markerMid\",\n        markerstart: \"markerStart\",\n        \"marker-start\": \"markerStart\",\n        markerunits: \"markerUnits\",\n        markerwidth: \"markerWidth\",\n        mask: \"mask\",\n        maskcontentunits: \"maskContentUnits\",\n        masktype: \"maskType\",\n        maskunits: \"maskUnits\",\n        mathematical: \"mathematical\",\n        mode: \"mode\",\n        numoctaves: \"numOctaves\",\n        offset: \"offset\",\n        opacity: \"opacity\",\n        operator: \"operator\",\n        order: \"order\",\n        orient: \"orient\",\n        orientation: \"orientation\",\n        origin: \"origin\",\n        overflow: \"overflow\",\n        overlineposition: \"overlinePosition\",\n        \"overline-position\": \"overlinePosition\",\n        overlinethickness: \"overlineThickness\",\n        \"overline-thickness\": \"overlineThickness\",\n        paintorder: \"paintOrder\",\n        \"paint-order\": \"paintOrder\",\n        panose1: \"panose1\",\n        \"panose-1\": \"panose1\",\n        pathlength: \"pathLength\",\n        patterncontentunits: \"patternContentUnits\",\n        patterntransform: \"patternTransform\",\n        patternunits: \"patternUnits\",\n        pointerevents: \"pointerEvents\",\n        \"pointer-events\": \"pointerEvents\",\n        points: \"points\",\n        pointsatx: \"pointsAtX\",\n        pointsaty: \"pointsAtY\",\n        pointsatz: \"pointsAtZ\",\n        popover: \"popover\",\n        popovertarget: \"popoverTarget\",\n        popovertargetaction: \"popoverTargetAction\",\n        prefix: \"prefix\",\n        preservealpha: \"preserveAlpha\",\n        preserveaspectratio: \"preserveAspectRatio\",\n        primitiveunits: \"primitiveUnits\",\n        property: \"property\",\n        r: \"r\",\n        radius: \"radius\",\n        refx: \"refX\",\n        refy: \"refY\",\n        renderingintent: \"renderingIntent\",\n        \"rendering-intent\": \"renderingIntent\",\n        repeatcount: \"repeatCount\",\n        repeatdur: \"repeatDur\",\n        requiredextensions: \"requiredExtensions\",\n        requiredfeatures: \"requiredFeatures\",\n        resource: \"resource\",\n        restart: \"restart\",\n        result: \"result\",\n        results: \"results\",\n        rotate: \"rotate\",\n        rx: \"rx\",\n        ry: \"ry\",\n        scale: \"scale\",\n        security: \"security\",\n        seed: \"seed\",\n        shaperendering: \"shapeRendering\",\n        \"shape-rendering\": \"shapeRendering\",\n        slope: \"slope\",\n        spacing: \"spacing\",\n        specularconstant: \"specularConstant\",\n        specularexponent: \"specularExponent\",\n        speed: \"speed\",\n        spreadmethod: \"spreadMethod\",\n        startoffset: \"startOffset\",\n        stddeviation: \"stdDeviation\",\n        stemh: \"stemh\",\n        stemv: \"stemv\",\n        stitchtiles: \"stitchTiles\",\n        stopcolor: \"stopColor\",\n        \"stop-color\": \"stopColor\",\n        stopopacity: \"stopOpacity\",\n        \"stop-opacity\": \"stopOpacity\",\n        strikethroughposition: \"strikethroughPosition\",\n        \"strikethrough-position\": \"strikethroughPosition\",\n        strikethroughthickness: \"strikethroughThickness\",\n        \"strikethrough-thickness\": \"strikethroughThickness\",\n        string: \"string\",\n        stroke: \"stroke\",\n        strokedasharray: \"strokeDasharray\",\n        \"stroke-dasharray\": \"strokeDasharray\",\n        strokedashoffset: \"strokeDashoffset\",\n        \"stroke-dashoffset\": \"strokeDashoffset\",\n        strokelinecap: \"strokeLinecap\",\n        \"stroke-linecap\": \"strokeLinecap\",\n        strokelinejoin: \"strokeLinejoin\",\n        \"stroke-linejoin\": \"strokeLinejoin\",\n        strokemiterlimit: \"strokeMiterlimit\",\n        \"stroke-miterlimit\": \"strokeMiterlimit\",\n        strokewidth: \"strokeWidth\",\n        \"stroke-width\": \"strokeWidth\",\n        strokeopacity: \"strokeOpacity\",\n        \"stroke-opacity\": \"strokeOpacity\",\n        suppresscontenteditablewarning: \"suppressContentEditableWarning\",\n        suppresshydrationwarning: \"suppressHydrationWarning\",\n        surfacescale: \"surfaceScale\",\n        systemlanguage: \"systemLanguage\",\n        tablevalues: \"tableValues\",\n        targetx: \"targetX\",\n        targety: \"targetY\",\n        textanchor: \"textAnchor\",\n        \"text-anchor\": \"textAnchor\",\n        textdecoration: \"textDecoration\",\n        \"text-decoration\": \"textDecoration\",\n        textlength: \"textLength\",\n        textrendering: \"textRendering\",\n        \"text-rendering\": \"textRendering\",\n        to: \"to\",\n        transform: \"transform\",\n        transformorigin: \"transformOrigin\",\n        \"transform-origin\": \"transformOrigin\",\n        typeof: \"typeof\",\n        u1: \"u1\",\n        u2: \"u2\",\n        underlineposition: \"underlinePosition\",\n        \"underline-position\": \"underlinePosition\",\n        underlinethickness: \"underlineThickness\",\n        \"underline-thickness\": \"underlineThickness\",\n        unicode: \"unicode\",\n        unicodebidi: \"unicodeBidi\",\n        \"unicode-bidi\": \"unicodeBidi\",\n        unicoderange: \"unicodeRange\",\n        \"unicode-range\": \"unicodeRange\",\n        unitsperem: \"unitsPerEm\",\n        \"units-per-em\": \"unitsPerEm\",\n        unselectable: \"unselectable\",\n        valphabetic: \"vAlphabetic\",\n        \"v-alphabetic\": \"vAlphabetic\",\n        values: \"values\",\n        vectoreffect: \"vectorEffect\",\n        \"vector-effect\": \"vectorEffect\",\n        version: \"version\",\n        vertadvy: \"vertAdvY\",\n        \"vert-adv-y\": \"vertAdvY\",\n        vertoriginx: \"vertOriginX\",\n        \"vert-origin-x\": \"vertOriginX\",\n        vertoriginy: \"vertOriginY\",\n        \"vert-origin-y\": \"vertOriginY\",\n        vhanging: \"vHanging\",\n        \"v-hanging\": \"vHanging\",\n        videographic: \"vIdeographic\",\n        \"v-ideographic\": \"vIdeographic\",\n        viewbox: \"viewBox\",\n        viewtarget: \"viewTarget\",\n        visibility: \"visibility\",\n        vmathematical: \"vMathematical\",\n        \"v-mathematical\": \"vMathematical\",\n        vocab: \"vocab\",\n        widths: \"widths\",\n        wordspacing: \"wordSpacing\",\n        \"word-spacing\": \"wordSpacing\",\n        writingmode: \"writingMode\",\n        \"writing-mode\": \"writingMode\",\n        x1: \"x1\",\n        x2: \"x2\",\n        x: \"x\",\n        xchannelselector: \"xChannelSelector\",\n        xheight: \"xHeight\",\n        \"x-height\": \"xHeight\",\n        xlinkactuate: \"xlinkActuate\",\n        \"xlink:actuate\": \"xlinkActuate\",\n        xlinkarcrole: \"xlinkArcrole\",\n        \"xlink:arcrole\": \"xlinkArcrole\",\n        xlinkhref: \"xlinkHref\",\n        \"xlink:href\": \"xlinkHref\",\n        xlinkrole: \"xlinkRole\",\n        \"xlink:role\": \"xlinkRole\",\n        xlinkshow: \"xlinkShow\",\n        \"xlink:show\": \"xlinkShow\",\n        xlinktitle: \"xlinkTitle\",\n        \"xlink:title\": \"xlinkTitle\",\n        xlinktype: \"xlinkType\",\n        \"xlink:type\": \"xlinkType\",\n        xmlbase: \"xmlBase\",\n        \"xml:base\": \"xmlBase\",\n        xmllang: \"xmlLang\",\n        \"xml:lang\": \"xmlLang\",\n        xmlns: \"xmlns\",\n        \"xml:space\": \"xmlSpace\",\n        xmlnsxlink: \"xmlnsXlink\",\n        \"xmlns:xlink\": \"xmlnsXlink\",\n        xmlspace: \"xmlSpace\",\n        y1: \"y1\",\n        y2: \"y2\",\n        y: \"y\",\n        ychannelselector: \"yChannelSelector\",\n        z: \"z\",\n        zoomandpan: \"zoomAndPan\"\n      },\n      warnedProperties = {},\n      EVENT_NAME_REGEX = /^on./,\n      INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/,\n      rARIA = RegExp(\n        \"^(aria)-[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n      ),\n      rARIACamel = RegExp(\n        \"^(aria)[A-Z][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n      ),\n      badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/,\n      msPattern$1 = /^-ms-/,\n      hyphenPattern = /-(.)/g,\n      badStyleValueWithSemicolonPattern = /;\\s*$/,\n      warnedStyleNames = {},\n      warnedStyleValues = {},\n      warnedForNaNValue = !1,\n      warnedForInfinityValue = !1,\n      matchHtmlRegExp = /[\"'&<>]/,\n      uppercasePattern = /([A-Z])/g,\n      msPattern = /^ms-/,\n      isJavaScriptProtocol =\n        /^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i,\n      ReactSharedInternals =\n        React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n      ReactDOMSharedInternals =\n        ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n      NotPending = Object.freeze({\n        pending: !1,\n        data: null,\n        method: null,\n        action: null\n      }),\n      previousDispatcher = ReactDOMSharedInternals.d;\n    ReactDOMSharedInternals.d = {\n      f: previousDispatcher.f,\n      r: previousDispatcher.r,\n      D: function (href) {\n        var request = resolveRequest();\n        if (request) {\n          var resumableState = request.resumableState,\n            renderState = request.renderState;\n          if (\"string\" === typeof href && href) {\n            if (!resumableState.dnsResources.hasOwnProperty(href)) {\n              resumableState.dnsResources[href] = EXISTS;\n              resumableState = renderState.headers;\n              var header, JSCompiler_temp;\n              if (\n                (JSCompiler_temp =\n                  resumableState && 0 < resumableState.remainingCapacity)\n              )\n                JSCompiler_temp =\n                  ((header =\n                    \"<\" +\n                    escapeHrefForLinkHeaderURLContext(href) +\n                    \">; rel=dns-prefetch\"),\n                  0 <= (resumableState.remainingCapacity -= header.length + 2));\n              JSCompiler_temp\n                ? ((renderState.resets.dns[href] = EXISTS),\n                  resumableState.preconnects &&\n                    (resumableState.preconnects += \", \"),\n                  (resumableState.preconnects += header))\n                : ((header = []),\n                  pushLinkImpl(header, { href: href, rel: \"dns-prefetch\" }),\n                  renderState.preconnects.add(header));\n            }\n            enqueueFlush(request);\n          }\n        } else previousDispatcher.D(href);\n      },\n      C: function (href, crossOrigin) {\n        var request = resolveRequest();\n        if (request) {\n          var resumableState = request.resumableState,\n            renderState = request.renderState;\n          if (\"string\" === typeof href && href) {\n            var bucket =\n              \"use-credentials\" === crossOrigin\n                ? \"credentials\"\n                : \"string\" === typeof crossOrigin\n                  ? \"anonymous\"\n                  : \"default\";\n            if (!resumableState.connectResources[bucket].hasOwnProperty(href)) {\n              resumableState.connectResources[bucket][href] = EXISTS;\n              resumableState = renderState.headers;\n              var header, JSCompiler_temp;\n              if (\n                (JSCompiler_temp =\n                  resumableState && 0 < resumableState.remainingCapacity)\n              ) {\n                JSCompiler_temp =\n                  \"<\" +\n                  escapeHrefForLinkHeaderURLContext(href) +\n                  \">; rel=preconnect\";\n                if (\"string\" === typeof crossOrigin) {\n                  var escapedCrossOrigin =\n                    escapeStringForLinkHeaderQuotedParamValueContext(\n                      crossOrigin,\n                      \"crossOrigin\"\n                    );\n                  JSCompiler_temp +=\n                    '; crossorigin=\"' + escapedCrossOrigin + '\"';\n                }\n                JSCompiler_temp =\n                  ((header = JSCompiler_temp),\n                  0 <= (resumableState.remainingCapacity -= header.length + 2));\n              }\n              JSCompiler_temp\n                ? ((renderState.resets.connect[bucket][href] = EXISTS),\n                  resumableState.preconnects &&\n                    (resumableState.preconnects += \", \"),\n                  (resumableState.preconnects += header))\n                : ((bucket = []),\n                  pushLinkImpl(bucket, {\n                    rel: \"preconnect\",\n                    href: href,\n                    crossOrigin: crossOrigin\n                  }),\n                  renderState.preconnects.add(bucket));\n            }\n            enqueueFlush(request);\n          }\n        } else previousDispatcher.C(href, crossOrigin);\n      },\n      L: function (href, as, options) {\n        var request = resolveRequest();\n        if (request) {\n          var resumableState = request.resumableState,\n            renderState = request.renderState;\n          if (as && href) {\n            switch (as) {\n              case \"image\":\n                if (options) {\n                  var imageSrcSet = options.imageSrcSet;\n                  var imageSizes = options.imageSizes;\n                  var fetchPriority = options.fetchPriority;\n                }\n                var key = imageSrcSet\n                  ? imageSrcSet + \"\\n\" + (imageSizes || \"\")\n                  : href;\n                if (resumableState.imageResources.hasOwnProperty(key)) return;\n                resumableState.imageResources[key] = PRELOAD_NO_CREDS;\n                resumableState = renderState.headers;\n                var header;\n                resumableState &&\n                0 < resumableState.remainingCapacity &&\n                \"string\" !== typeof imageSrcSet &&\n                \"high\" === fetchPriority &&\n                ((header = getPreloadAsHeader(href, as, options)),\n                0 <= (resumableState.remainingCapacity -= header.length + 2))\n                  ? ((renderState.resets.image[key] = PRELOAD_NO_CREDS),\n                    resumableState.highImagePreloads &&\n                      (resumableState.highImagePreloads += \", \"),\n                    (resumableState.highImagePreloads += header))\n                  : ((resumableState = []),\n                    pushLinkImpl(\n                      resumableState,\n                      assign(\n                        {\n                          rel: \"preload\",\n                          href: imageSrcSet ? void 0 : href,\n                          as: as\n                        },\n                        options\n                      )\n                    ),\n                    \"high\" === fetchPriority\n                      ? renderState.highImagePreloads.add(resumableState)\n                      : (renderState.bulkPreloads.add(resumableState),\n                        renderState.preloads.images.set(key, resumableState)));\n                break;\n              case \"style\":\n                if (resumableState.styleResources.hasOwnProperty(href)) return;\n                imageSrcSet = [];\n                pushLinkImpl(\n                  imageSrcSet,\n                  assign({ rel: \"preload\", href: href, as: as }, options)\n                );\n                resumableState.styleResources[href] =\n                  !options ||\n                  (\"string\" !== typeof options.crossOrigin &&\n                    \"string\" !== typeof options.integrity)\n                    ? PRELOAD_NO_CREDS\n                    : [options.crossOrigin, options.integrity];\n                renderState.preloads.stylesheets.set(href, imageSrcSet);\n                renderState.bulkPreloads.add(imageSrcSet);\n                break;\n              case \"script\":\n                if (resumableState.scriptResources.hasOwnProperty(href)) return;\n                imageSrcSet = [];\n                renderState.preloads.scripts.set(href, imageSrcSet);\n                renderState.bulkPreloads.add(imageSrcSet);\n                pushLinkImpl(\n                  imageSrcSet,\n                  assign({ rel: \"preload\", href: href, as: as }, options)\n                );\n                resumableState.scriptResources[href] =\n                  !options ||\n                  (\"string\" !== typeof options.crossOrigin &&\n                    \"string\" !== typeof options.integrity)\n                    ? PRELOAD_NO_CREDS\n                    : [options.crossOrigin, options.integrity];\n                break;\n              default:\n                if (resumableState.unknownResources.hasOwnProperty(as)) {\n                  if (\n                    ((imageSrcSet = resumableState.unknownResources[as]),\n                    imageSrcSet.hasOwnProperty(href))\n                  )\n                    return;\n                } else\n                  (imageSrcSet = {}),\n                    (resumableState.unknownResources[as] = imageSrcSet);\n                imageSrcSet[href] = PRELOAD_NO_CREDS;\n                if (\n                  (resumableState = renderState.headers) &&\n                  0 < resumableState.remainingCapacity &&\n                  \"font\" === as &&\n                  ((key = getPreloadAsHeader(href, as, options)),\n                  0 <= (resumableState.remainingCapacity -= key.length + 2))\n                )\n                  (renderState.resets.font[href] = PRELOAD_NO_CREDS),\n                    resumableState.fontPreloads &&\n                      (resumableState.fontPreloads += \", \"),\n                    (resumableState.fontPreloads += key);\n                else\n                  switch (\n                    ((resumableState = []),\n                    (href = assign(\n                      { rel: \"preload\", href: href, as: as },\n                      options\n                    )),\n                    pushLinkImpl(resumableState, href),\n                    as)\n                  ) {\n                    case \"font\":\n                      renderState.fontPreloads.add(resumableState);\n                      break;\n                    default:\n                      renderState.bulkPreloads.add(resumableState);\n                  }\n            }\n            enqueueFlush(request);\n          }\n        } else previousDispatcher.L(href, as, options);\n      },\n      m: function (href, options) {\n        var request = resolveRequest();\n        if (request) {\n          var resumableState = request.resumableState,\n            renderState = request.renderState;\n          if (href) {\n            var as =\n              options && \"string\" === typeof options.as ? options.as : \"script\";\n            switch (as) {\n              case \"script\":\n                if (resumableState.moduleScriptResources.hasOwnProperty(href))\n                  return;\n                as = [];\n                resumableState.moduleScriptResources[href] =\n                  !options ||\n                  (\"string\" !== typeof options.crossOrigin &&\n                    \"string\" !== typeof options.integrity)\n                    ? PRELOAD_NO_CREDS\n                    : [options.crossOrigin, options.integrity];\n                renderState.preloads.moduleScripts.set(href, as);\n                break;\n              default:\n                if (resumableState.moduleUnknownResources.hasOwnProperty(as)) {\n                  var resources = resumableState.moduleUnknownResources[as];\n                  if (resources.hasOwnProperty(href)) return;\n                } else\n                  (resources = {}),\n                    (resumableState.moduleUnknownResources[as] = resources);\n                as = [];\n                resources[href] = PRELOAD_NO_CREDS;\n            }\n            pushLinkImpl(\n              as,\n              assign({ rel: \"modulepreload\", href: href }, options)\n            );\n            renderState.bulkPreloads.add(as);\n            enqueueFlush(request);\n          }\n        } else previousDispatcher.m(href, options);\n      },\n      X: function (src, options) {\n        var request = resolveRequest();\n        if (request) {\n          var resumableState = request.resumableState,\n            renderState = request.renderState;\n          if (src) {\n            var resourceState = resumableState.scriptResources.hasOwnProperty(\n              src\n            )\n              ? resumableState.scriptResources[src]\n              : void 0;\n            resourceState !== EXISTS &&\n              ((resumableState.scriptResources[src] = EXISTS),\n              (options = assign({ src: src, async: !0 }, options)),\n              resourceState &&\n                (2 === resourceState.length &&\n                  adoptPreloadCredentials(options, resourceState),\n                (src = renderState.preloads.scripts.get(src))) &&\n                (src.length = 0),\n              (src = []),\n              renderState.scripts.add(src),\n              pushScriptImpl(src, options),\n              enqueueFlush(request));\n          }\n        } else previousDispatcher.X(src, options);\n      },\n      S: function (href, precedence, options) {\n        var request = resolveRequest();\n        if (request) {\n          var resumableState = request.resumableState,\n            renderState = request.renderState;\n          if (href) {\n            precedence = precedence || \"default\";\n            var styleQueue = renderState.styles.get(precedence),\n              resourceState = resumableState.styleResources.hasOwnProperty(href)\n                ? resumableState.styleResources[href]\n                : void 0;\n            resourceState !== EXISTS &&\n              ((resumableState.styleResources[href] = EXISTS),\n              styleQueue ||\n                ((styleQueue = {\n                  precedence: escapeTextForBrowser(precedence),\n                  rules: [],\n                  hrefs: [],\n                  sheets: new Map()\n                }),\n                renderState.styles.set(precedence, styleQueue)),\n              (precedence = {\n                state: PENDING$1,\n                props: assign(\n                  {\n                    rel: \"stylesheet\",\n                    href: href,\n                    \"data-precedence\": precedence\n                  },\n                  options\n                )\n              }),\n              resourceState &&\n                (2 === resourceState.length &&\n                  adoptPreloadCredentials(precedence.props, resourceState),\n                (renderState = renderState.preloads.stylesheets.get(href)) &&\n                0 < renderState.length\n                  ? (renderState.length = 0)\n                  : (precedence.state = PRELOADED)),\n              styleQueue.sheets.set(href, precedence),\n              enqueueFlush(request));\n          }\n        } else previousDispatcher.S(href, precedence, options);\n      },\n      M: function (src, options) {\n        var request = resolveRequest();\n        if (request) {\n          var resumableState = request.resumableState,\n            renderState = request.renderState;\n          if (src) {\n            var resourceState =\n              resumableState.moduleScriptResources.hasOwnProperty(src)\n                ? resumableState.moduleScriptResources[src]\n                : void 0;\n            resourceState !== EXISTS &&\n              ((resumableState.moduleScriptResources[src] = EXISTS),\n              (options = assign(\n                { src: src, type: \"module\", async: !0 },\n                options\n              )),\n              resourceState &&\n                (2 === resourceState.length &&\n                  adoptPreloadCredentials(options, resourceState),\n                (src = renderState.preloads.moduleScripts.get(src))) &&\n                (src.length = 0),\n              (src = []),\n              renderState.scripts.add(src),\n              pushScriptImpl(src, options),\n              enqueueFlush(request));\n          }\n        } else previousDispatcher.M(src, options);\n      }\n    };\n    var ScriptStreamingFormat = 0,\n      NothingSent = 0,\n      SentCompleteSegmentFunction = 1,\n      SentCompleteBoundaryFunction = 2,\n      SentClientRenderFunction = 4,\n      SentStyleInsertionFunction = 8,\n      SentCompletedShellId = 32,\n      SentMarkShellTime = 64,\n      NeedUpgradeToViewTransitions = 128,\n      SentUpgradeToViewTransitions = 256,\n      EXISTS = null,\n      PRELOAD_NO_CREDS = [];\n    Object.freeze(PRELOAD_NO_CREDS);\n    var currentlyFlushingRenderState = null,\n      dataElementQuotedEnd = stringToPrecomputedChunk('\"></template>'),\n      startInlineScript = stringToPrecomputedChunk(\"<script\"),\n      endInlineScript = stringToPrecomputedChunk(\"\\x3c/script>\"),\n      startScriptSrc = stringToPrecomputedChunk('<script src=\"'),\n      startModuleSrc = stringToPrecomputedChunk('<script type=\"module\" src=\"'),\n      scriptNonce = stringToPrecomputedChunk(' nonce=\"'),\n      scriptIntegirty = stringToPrecomputedChunk(' integrity=\"'),\n      scriptCrossOrigin = stringToPrecomputedChunk(' crossorigin=\"'),\n      endAsyncScript = stringToPrecomputedChunk(' async=\"\">\\x3c/script>'),\n      startInlineStyle = stringToPrecomputedChunk(\"<style\"),\n      scriptRegex = /(<\\/|<)(s)(cript)/gi,\n      importMapScriptStart = stringToPrecomputedChunk(\n        '<script type=\"importmap\">'\n      ),\n      importMapScriptEnd = stringToPrecomputedChunk(\"\\x3c/script>\");\n    var didWarnForNewBooleanPropsWithEmptyValue = {};\n    var ROOT_HTML_MODE = 0,\n      HTML_HTML_MODE = 1,\n      HTML_MODE = 2,\n      HTML_HEAD_MODE = 3,\n      SVG_MODE = 4,\n      MATHML_MODE = 5,\n      HTML_TABLE_MODE = 6,\n      HTML_TABLE_BODY_MODE = 7,\n      HTML_TABLE_ROW_MODE = 8,\n      HTML_COLGROUP_MODE = 9,\n      textSeparator = stringToPrecomputedChunk(\"\\x3c!-- --\\x3e\"),\n      styleNameCache = new Map(),\n      styleAttributeStart = stringToPrecomputedChunk(' style=\"'),\n      styleAssign = stringToPrecomputedChunk(\":\"),\n      styleSeparator = stringToPrecomputedChunk(\";\"),\n      attributeSeparator = stringToPrecomputedChunk(\" \"),\n      attributeAssign = stringToPrecomputedChunk('=\"'),\n      attributeEnd = stringToPrecomputedChunk('\"'),\n      attributeEmptyString = stringToPrecomputedChunk('=\"\"'),\n      actionJavaScriptURL = stringToPrecomputedChunk(\n        escapeTextForBrowser(\n          \"javascript:throw new Error('React form unexpectedly submitted.')\"\n        )\n      ),\n      startHiddenInputChunk = stringToPrecomputedChunk('<input type=\"hidden\"'),\n      blobCache = null,\n      endOfStartTag = stringToPrecomputedChunk(\">\"),\n      endOfStartTagSelfClosing = stringToPrecomputedChunk(\"/>\"),\n      didWarnDefaultInputValue = !1,\n      didWarnDefaultChecked = !1,\n      didWarnDefaultSelectValue = !1,\n      didWarnDefaultTextareaValue = !1,\n      didWarnInvalidOptionChildren = !1,\n      didWarnInvalidOptionInnerHTML = !1,\n      didWarnSelectedSetOnOption = !1,\n      didWarnFormActionType = !1,\n      didWarnFormActionName = !1,\n      didWarnFormActionTarget = !1,\n      didWarnFormActionMethod = !1,\n      selectedMarkerAttribute = stringToPrecomputedChunk(' selected=\"\"'),\n      formReplayingRuntimeScript = stringToPrecomputedChunk(\n        'addEventListener(\"submit\",function(a){if(!a.defaultPrevented){var b=a.target,d=a.submitter,c=b.action,e=d;if(d){var f=d.getAttribute(\"formAction\");null!=f&&(c=f,e=null)}\"javascript:throw new Error(\\'React form unexpectedly submitted.\\')\"===c&&(a.preventDefault(),a=new FormData(b,e),c=b.ownerDocument||b,(c.$$reactFormReplay=c.$$reactFormReplay||[]).push(b,d,a))}});'\n      ),\n      formStateMarkerIsMatching = stringToPrecomputedChunk(\"\\x3c!--F!--\\x3e\"),\n      formStateMarkerIsNotMatching = stringToPrecomputedChunk(\"\\x3c!--F--\\x3e\"),\n      styleRegex = /(<\\/|<)(s)(tyle)/gi,\n      headPreambleContributionChunk =\n        stringToPrecomputedChunk(\"\\x3c!--head--\\x3e\"),\n      bodyPreambleContributionChunk =\n        stringToPrecomputedChunk(\"\\x3c!--body--\\x3e\"),\n      htmlPreambleContributionChunk =\n        stringToPrecomputedChunk(\"\\x3c!--html--\\x3e\"),\n      leadingNewline = stringToPrecomputedChunk(\"\\n\"),\n      VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\\.\\-\\d]*$/,\n      validatedTagCache = new Map(),\n      doctypeChunk = stringToPrecomputedChunk(\"<!DOCTYPE html>\"),\n      endTagCache = new Map(),\n      shellTimeRuntimeScript = stringToPrecomputedChunk(\n        \"requestAnimationFrame(function(){$RT=performance.now()});\"\n      ),\n      placeholder1 = stringToPrecomputedChunk('<template id=\"'),\n      placeholder2 = stringToPrecomputedChunk('\"></template>'),\n      startActivityBoundary = stringToPrecomputedChunk(\"\\x3c!--&--\\x3e\"),\n      endActivityBoundary = stringToPrecomputedChunk(\"\\x3c!--/&--\\x3e\"),\n      startCompletedSuspenseBoundary =\n        stringToPrecomputedChunk(\"\\x3c!--$--\\x3e\"),\n      startPendingSuspenseBoundary1 = stringToPrecomputedChunk(\n        '\\x3c!--$?--\\x3e<template id=\"'\n      ),\n      startPendingSuspenseBoundary2 = stringToPrecomputedChunk('\"></template>'),\n      startClientRenderedSuspenseBoundary =\n        stringToPrecomputedChunk(\"\\x3c!--$!--\\x3e\"),\n      endSuspenseBoundary = stringToPrecomputedChunk(\"\\x3c!--/$--\\x3e\"),\n      clientRenderedSuspenseBoundaryError1 =\n        stringToPrecomputedChunk(\"<template\"),\n      clientRenderedSuspenseBoundaryErrorAttrInterstitial =\n        stringToPrecomputedChunk('\"'),\n      clientRenderedSuspenseBoundaryError1A =\n        stringToPrecomputedChunk(' data-dgst=\"'),\n      clientRenderedSuspenseBoundaryError1B =\n        stringToPrecomputedChunk(' data-msg=\"'),\n      clientRenderedSuspenseBoundaryError1C =\n        stringToPrecomputedChunk(' data-stck=\"'),\n      clientRenderedSuspenseBoundaryError1D =\n        stringToPrecomputedChunk(' data-cstck=\"'),\n      clientRenderedSuspenseBoundaryError2 =\n        stringToPrecomputedChunk(\"></template>\"),\n      startSegmentHTML = stringToPrecomputedChunk('<div hidden id=\"'),\n      startSegmentHTML2 = stringToPrecomputedChunk('\">'),\n      endSegmentHTML = stringToPrecomputedChunk(\"</div>\"),\n      startSegmentSVG = stringToPrecomputedChunk(\n        '<svg aria-hidden=\"true\" style=\"display:none\" id=\"'\n      ),\n      startSegmentSVG2 = stringToPrecomputedChunk('\">'),\n      endSegmentSVG = stringToPrecomputedChunk(\"</svg>\"),\n      startSegmentMathML = stringToPrecomputedChunk(\n        '<math aria-hidden=\"true\" style=\"display:none\" id=\"'\n      ),\n      startSegmentMathML2 = stringToPrecomputedChunk('\">'),\n      endSegmentMathML = stringToPrecomputedChunk(\"</math>\"),\n      startSegmentTable = stringToPrecomputedChunk('<table hidden id=\"'),\n      startSegmentTable2 = stringToPrecomputedChunk('\">'),\n      endSegmentTable = stringToPrecomputedChunk(\"</table>\"),\n      startSegmentTableBody = stringToPrecomputedChunk(\n        '<table hidden><tbody id=\"'\n      ),\n      startSegmentTableBody2 = stringToPrecomputedChunk('\">'),\n      endSegmentTableBody = stringToPrecomputedChunk(\"</tbody></table>\"),\n      startSegmentTableRow = stringToPrecomputedChunk('<table hidden><tr id=\"'),\n      startSegmentTableRow2 = stringToPrecomputedChunk('\">'),\n      endSegmentTableRow = stringToPrecomputedChunk(\"</tr></table>\"),\n      startSegmentColGroup = stringToPrecomputedChunk(\n        '<table hidden><colgroup id=\"'\n      ),\n      startSegmentColGroup2 = stringToPrecomputedChunk('\">'),\n      endSegmentColGroup = stringToPrecomputedChunk(\"</colgroup></table>\"),\n      completeSegmentScript1Full = stringToPrecomputedChunk(\n        '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS(\"'\n      ),\n      completeSegmentScript1Partial = stringToPrecomputedChunk('$RS(\"'),\n      completeSegmentScript2 = stringToPrecomputedChunk('\",\"'),\n      completeSegmentScriptEnd = stringToPrecomputedChunk('\")\\x3c/script>'),\n      completeSegmentData1 = stringToPrecomputedChunk(\n        '<template data-rsi=\"\" data-sid=\"'\n      ),\n      completeSegmentData2 = stringToPrecomputedChunk('\" data-pid=\"'),\n      completeSegmentDataEnd = dataElementQuotedEnd,\n      completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(\n        '$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if(\"/$\"===d||\"/&\"===d)if(0===h)break;else h--;else\"$\"!==d&&\"$?\"!==d&&\"$~\"!==d&&\"$!\"!==d&&\"&\"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data=\"$\";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data=\"$~\",$RB.push(a,b),2===$RB.length&&(\"number\"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};'\n      ),\n      completeBoundaryUpgradeToViewTransitionsInstruction =\n        '$RV=function(B,g){function h(a,c){var e=a.getAttribute(c);e&&(c=a.style,l.push(a,c.viewTransitionName,c.viewTransitionClass),\"auto\"!==e&&(c.viewTransitionClass=e),(a=a.getAttribute(\"vt-name\"))||(a=\"_T_\"+N++ +\"_\"),a=CSS.escape(a)!==a?\"r-\"+btoa(a).replace(/=/g,\"\"):a,c.viewTransitionName=a,C=!0)}var C=!1,N=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var k=g[f].querySelectorAll(\"[vt-share]\"),d=0;d<k.length;d++){var b=k[d];m.set(b.getAttribute(\"vt-name\"),b)}var u=[];for(k=0;k<g.length;k+=2){var D=g[k],x=D.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){b=D;for(f=0;b;){if(8===b.nodeType){var t=b.data;if(\"/$\"===t)if(0===f)break;else f--;else\"$\"!==t&&\"$?\"!==t&&\"$~\"!==t&&\"$!\"!==t||f++}else if(1===b.nodeType){d=b;var E=d.getAttribute(\"vt-name\"),y=m.get(E);h(d,y?\"vt-share\":\"vt-exit\");y&&(h(y,\"vt-share\"),m.set(E,null));for(var F=d.querySelectorAll(\"[vt-share]\"),\\nz=0;z<F.length;z++){var G=F[z],H=G.getAttribute(\"vt-name\"),I=m.get(H);I&&(h(G,\"vt-share\"),h(I,\"vt-share\"),m.set(H,null))}var J=d.querySelectorAll(\"[vt-parent-exit]\");for(d=0;d<J.length;d++)h(J[d],\"vt-parent-exit\")}b=b.nextSibling}for(var K=g[k+1],n=K.firstElementChild;n;){null!==m.get(n.getAttribute(\"vt-name\"))&&h(n,\"vt-enter\");var L=n.querySelectorAll(\"[vt-parent-enter]\");for(b=0;b<L.length;b++)h(L[b],\"vt-parent-enter\");n=n.nextElementSibling}b=x;do for(var p=b.firstElementChild;p;){var M=p.getAttribute(\"vt-update\");\\nM&&\"none\"!==M&&!l.includes(p)&&h(p,\"vt-update\");p=p.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&\"none\"!==b.getAttribute(\"vt-update\"));u.push.apply(u,K.querySelectorAll(\\'img[src]:not([loading=\"lazy\"])\\'))}}}if(C){var A=document.__reactViewTransition=document.startViewTransition({update:function(){B(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],c={},e=0;e<u.length;c={g:c.g},e++)if(c.g=u[e],!c.g.complete){var q=c.g.getBoundingClientRect();0<q.bottom&&0<q.right&&\\nq.top<window.innerHeight&&q.left<window.innerWidth&&(q=new Promise(function(w){return function(r){w.g.addEventListener(\"load\",r);w.g.addEventListener(\"error\",r)}}(c)),a.push(q))}return Promise.race([Promise.all(a),new Promise(function(w){var r=performance.now();setTimeout(w,2300>r&&2E3<r?2300-r:500)})])},types:[]});A.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var c=l[a],e=c.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];\"\"===c.getAttribute(\"style\")&&c.removeAttribute(\"style\")}});\\nA.finished.finally(function(){document.__reactViewTransition===A&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}B(g)}.bind(null,$RV);',\n      completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC(\"'),\n      completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(\n        '$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll(\"link[data-precedence],style[data-precedence]\"),v=[],k=0;b=e[k++];)\"not all\"===b.getAttribute(\"media\")?v.push(b):(\"LINK\"===b.tagName&&$RM.set(b.getAttribute(\"href\"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement(\"link\");a.href=d;a.rel=\\n\"stylesheet\";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute(\"media\");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute(\"data-precedence\");a.removeAttribute(\"media\")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\\n\"$~\";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,\"CSS failed to load\"))};$RR(\"'\n      ),\n      completeBoundaryWithStylesScript1Partial =\n        stringToPrecomputedChunk('$RR(\"'),\n      completeBoundaryScript2 = stringToPrecomputedChunk('\",\"'),\n      completeBoundaryScript3a = stringToPrecomputedChunk('\",'),\n      completeBoundaryScript3b = stringToPrecomputedChunk('\"'),\n      completeBoundaryScriptEnd = stringToPrecomputedChunk(\")\\x3c/script>\"),\n      completeBoundaryData1 = stringToPrecomputedChunk(\n        '<template data-rci=\"\" data-bid=\"'\n      ),\n      completeBoundaryWithStylesData1 = stringToPrecomputedChunk(\n        '<template data-rri=\"\" data-bid=\"'\n      ),\n      completeBoundaryData2 = stringToPrecomputedChunk('\" data-sid=\"'),\n      completeBoundaryData3a = stringToPrecomputedChunk('\" data-sty=\"'),\n      completeBoundaryDataEnd = dataElementQuotedEnd,\n      clientRenderScriptFunctionOnly = stringToPrecomputedChunk(\n        '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'\n      ),\n      clientRenderScript1Full = stringToPrecomputedChunk(\n        '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX(\"'\n      ),\n      clientRenderScript1Partial = stringToPrecomputedChunk('$RX(\"'),\n      clientRenderScript1A = stringToPrecomputedChunk('\"'),\n      clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(\",\"),\n      clientRenderErrorScriptNull = stringToPrecomputedChunk(\"null\"),\n      clientRenderScriptEnd = stringToPrecomputedChunk(\")\\x3c/script>\"),\n      clientRenderData1 = stringToPrecomputedChunk(\n        '<template data-rxi=\"\" data-bid=\"'\n      ),\n      clientRenderData2 = stringToPrecomputedChunk('\" data-dgst=\"'),\n      clientRenderData3 = stringToPrecomputedChunk('\" data-msg=\"'),\n      clientRenderData4 = stringToPrecomputedChunk('\" data-stck=\"'),\n      clientRenderData5 = stringToPrecomputedChunk('\" data-cstck=\"'),\n      clientRenderDataEnd = dataElementQuotedEnd,\n      regexForJSStringsInInstructionScripts = /[<\\u2028\\u2029]/g,\n      regexForJSStringsInScripts = /[&><\\u2028\\u2029]/g,\n      lateStyleTagResourceOpen1 = stringToPrecomputedChunk(\n        ' media=\"not all\" data-precedence=\"'\n      ),\n      lateStyleTagResourceOpen2 = stringToPrecomputedChunk('\" data-href=\"'),\n      lateStyleTagResourceOpen3 = stringToPrecomputedChunk('\">'),\n      lateStyleTagTemplateClose = stringToPrecomputedChunk(\"</style>\"),\n      currentlyRenderingBoundaryHasStylesToHoist = !1,\n      destinationHasCapacity = !0,\n      stylesheetFlushingQueue = [],\n      styleTagResourceOpen1 = stringToPrecomputedChunk(' data-precedence=\"'),\n      styleTagResourceOpen2 = stringToPrecomputedChunk('\" data-href=\"'),\n      spaceSeparator = stringToPrecomputedChunk(\" \"),\n      styleTagResourceOpen3 = stringToPrecomputedChunk('\">'),\n      styleTagResourceClose = stringToPrecomputedChunk(\"</style>\"),\n      blockingRenderChunkStart = stringToPrecomputedChunk(\n        '<link rel=\"expect\" href=\"#'\n      ),\n      blockingRenderChunkEnd = stringToPrecomputedChunk(\n        '\" blocking=\"render\"/>'\n      ),\n      completedShellIdAttributeStart = stringToPrecomputedChunk(' id=\"'),\n      arrayFirstOpenBracket = stringToPrecomputedChunk(\"[\"),\n      arraySubsequentOpenBracket = stringToPrecomputedChunk(\",[\"),\n      arrayInterstitial = stringToPrecomputedChunk(\",\"),\n      arrayCloseBracket = stringToPrecomputedChunk(\"]\"),\n      PENDING$1 = 0,\n      PRELOADED = 1,\n      PREAMBLE = 2,\n      LATE = 3,\n      regexForHrefInLinkHeaderURLContext = /[<>\\r\\n]/g,\n      regexForLinkHeaderQuotedParamValueContext = /[\"';,\\r\\n]/g,\n      bind = Function.prototype.bind,\n      requestStorage = new async_hooks.AsyncLocalStorage(),\n      REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n      emptyContextObject = {};\n    Object.freeze(emptyContextObject);\n    var rendererSigil = {};\n    var currentActiveSnapshot = null,\n      didWarnAboutNoopUpdateForComponent = {},\n      didWarnAboutDeprecatedWillMount = {};\n    var didWarnAboutUninitializedState = new Set();\n    var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = new Set();\n    var didWarnAboutLegacyLifecyclesAndDerivedState = new Set();\n    var didWarnAboutDirectlyAssigningPropsToState = new Set();\n    var didWarnAboutUndefinedDerivedState = new Set();\n    var didWarnAboutContextTypes$1 = new Set();\n    var didWarnAboutChildContextTypes = new Set();\n    var didWarnAboutInvalidateContextType = new Set();\n    var didWarnOnInvalidCallback = new Set();\n    var classComponentUpdater = {\n        enqueueSetState: function (inst, payload, callback) {\n          var internals = inst._reactInternals;\n          null === internals.queue\n            ? warnNoop(inst, \"setState\")\n            : (internals.queue.push(payload),\n              void 0 !== callback &&\n                null !== callback &&\n                warnOnInvalidCallback(callback));\n        },\n        enqueueReplaceState: function (inst, payload, callback) {\n          inst = inst._reactInternals;\n          inst.replace = !0;\n          inst.queue = [payload];\n          void 0 !== callback &&\n            null !== callback &&\n            warnOnInvalidCallback(callback);\n        },\n        enqueueForceUpdate: function (inst, callback) {\n          null === inst._reactInternals.queue\n            ? warnNoop(inst, \"forceUpdate\")\n            : void 0 !== callback &&\n              null !== callback &&\n              warnOnInvalidCallback(callback);\n        }\n      },\n      emptyTreeContext = { id: 1, overflow: \"\" },\n      clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n      log = Math.log,\n      LN2 = Math.LN2,\n      currentTaskInDEV = null,\n      SuspenseException = Error(\n        \"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\\n\\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.\"\n      ),\n      suspendedThenable = null,\n      shouldCaptureSuspendedCallSite = !1,\n      suspendedCallSiteStack = null,\n      suspendedCallSiteDebugTask = null,\n      objectIs = \"function\" === typeof Object.is ? Object.is : is,\n      currentlyRenderingComponent = null,\n      currentlyRenderingTask = null,\n      currentlyRenderingRequest = null,\n      currentlyRenderingKeyPath = null,\n      firstWorkInProgressHook = null,\n      workInProgressHook = null,\n      isReRender = !1,\n      didScheduleRenderPhaseUpdate = !1,\n      localIdCounter = 0,\n      actionStateCounter = 0,\n      actionStateMatchingIndex = -1,\n      thenableIndexCounter = 0,\n      thenableState = null,\n      RecoverableException = Error(\n        \"Recoverable Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render so a downstream renderer can recover it. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\"\n      ),\n      suspendedRecoverableError = null,\n      renderPhaseUpdates = null,\n      numberOfReRenders = 0,\n      isInHookUserCodeInDev = !1,\n      currentHookNameInDev,\n      HooksDispatcher = {\n        readContext: readContext,\n        use: function (usable) {\n          if (null !== usable && \"object\" === typeof usable) {\n            if (\"function\" === typeof usable.then)\n              return unwrapThenable(usable);\n            if (usable.$$typeof === REACT_RECOVERABLE_TYPE)\n              throw (\n                ((suspendedRecoverableError =\n                  createFatalRecoverableError(usable)),\n                RecoverableException)\n              );\n            if (usable.$$typeof === REACT_CONTEXT_TYPE)\n              return readContext(usable);\n          }\n          throw Error(\n            \"An unsupported type was passed to use(): \" + String(usable)\n          );\n        },\n        useContext: function (context) {\n          currentHookNameInDev = \"useContext\";\n          resolveCurrentlyRenderingComponent();\n          return context._currentValue;\n        },\n        useMemo: useMemo,\n        useReducer: useReducer,\n        useRef: function (initialValue) {\n          currentlyRenderingComponent = resolveCurrentlyRenderingComponent();\n          workInProgressHook = createWorkInProgressHook();\n          var previousRef = workInProgressHook.memoizedState;\n          return null === previousRef\n            ? ((initialValue = { current: initialValue }),\n              Object.seal(initialValue),\n              (workInProgressHook.memoizedState = initialValue))\n            : previousRef;\n        },\n        useState: function (initialState) {\n          currentHookNameInDev = \"useState\";\n          return useReducer(basicStateReducer, initialState);\n        },\n        useInsertionEffect: noop,\n        useLayoutEffect: noop,\n        useCallback: function (callback, deps) {\n          return useMemo(function () {\n            return callback;\n          }, deps);\n        },\n        useImperativeHandle: noop,\n        useEffect: noop,\n        useDebugValue: noop,\n        useDeferredValue: function (value, initialValue) {\n          resolveCurrentlyRenderingComponent();\n          return void 0 !== initialValue ? initialValue : value;\n        },\n        useTransition: function () {\n          resolveCurrentlyRenderingComponent();\n          return [!1, unsupportedStartTransition];\n        },\n        useId: function () {\n          var treeId = getTreeId(currentlyRenderingTask.treeContext),\n            resumableState = currentResumableState;\n          if (null === resumableState)\n            throw Error(\n              \"Invalid hook call. Hooks can only be called inside of the body of a function component.\"\n            );\n          var localId = localIdCounter++;\n          return makeId(resumableState, treeId, localId);\n        },\n        useSyncExternalStore: function (\n          subscribe,\n          getSnapshot,\n          getServerSnapshot\n        ) {\n          if (void 0 === getServerSnapshot)\n            throw Error(\n              \"Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.\"\n            );\n          return getServerSnapshot();\n        },\n        useOptimistic: function (passthrough) {\n          resolveCurrentlyRenderingComponent();\n          return [passthrough, unsupportedSetOptimisticState];\n        },\n        useActionState: useActionState,\n        useFormState: useActionState,\n        useHostTransitionStatus: function () {\n          resolveCurrentlyRenderingComponent();\n          return NotPending;\n        },\n        useMemoCache: function (size) {\n          for (var data = Array(size), i = 0; i < size; i++)\n            data[i] = REACT_MEMO_CACHE_SENTINEL;\n          return data;\n        },\n        useCacheRefresh: function () {\n          return unsupportedRefresh;\n        },\n        useEffectEvent: function () {\n          return throwOnUseEffectEventCall;\n        }\n      },\n      currentResumableState = null,\n      DefaultAsyncDispatcher = {\n        getCacheForType: function () {\n          throw Error(\"Not implemented.\");\n        },\n        cacheSignal: function () {\n          throw Error(\"Not implemented.\");\n        },\n        getOwner: function () {\n          return null === currentTaskInDEV\n            ? null\n            : currentTaskInDEV.componentStack;\n        }\n      },\n      disabledDepth = 0,\n      prevLog,\n      prevInfo,\n      prevWarn,\n      prevError,\n      prevGroup,\n      prevGroupCollapsed,\n      prevGroupEnd;\n    disabledLog.__reactDisabledLog = !0;\n    var prefix,\n      suffix,\n      reentry = !1;\n    var componentFrameCache = new (\n      \"function\" === typeof WeakMap ? WeakMap : Map\n    )();\n    var callComponent = {\n        react_stack_bottom_frame: function (Component, props, secondArg) {\n          return Component(props, secondArg);\n        }\n      },\n      callComponentInDEV =\n        callComponent.react_stack_bottom_frame.bind(callComponent),\n      callRender = {\n        react_stack_bottom_frame: function (instance) {\n          return instance.render();\n        }\n      },\n      callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender),\n      callLazyInit = {\n        react_stack_bottom_frame: function (lazy) {\n          var init = lazy._init;\n          return init(lazy._payload);\n        }\n      },\n      callLazyInitInDEV =\n        callLazyInit.react_stack_bottom_frame.bind(callLazyInit),\n      lastResetTime = 0;\n    if (\n      \"object\" === typeof performance &&\n      \"function\" === typeof performance.now\n    ) {\n      var localPerformance = performance;\n      var getCurrentTime = function () {\n        return localPerformance.now();\n      };\n    } else {\n      var localDate = Date;\n      getCurrentTime = function () {\n        return localDate.now();\n      };\n    }\n    var REACT_RECOVERABLE_DIGEST = \"\",\n      CLIENT_RENDERED = 4,\n      PENDING = 0,\n      COMPLETED = 1,\n      FLUSHED = 2,\n      ABORTED = 3,\n      ERRORED = 4,\n      POSTPONED = 5,\n      CLOSED = 13,\n      currentRequest = null,\n      didWarnAboutBadClass = {},\n      didWarnAboutContextTypes = {},\n      didWarnAboutContextTypeOnFunctionComponent = {},\n      didWarnAboutGetDerivedStateOnFunctionComponent = {},\n      didWarnAboutReassigningProps = !1,\n      didWarnAboutGenerators = !1,\n      didWarnAboutMaps = !1,\n      flushedByteSize = 0,\n      flushingPartialBoundaries = !1,\n      flushingShell = !1;\n    ensureCorrectIsomorphicReactVersion();\n    ensureCorrectIsomorphicReactVersion();\n    exports.prerender = function (children, options) {\n      return new Promise(function (resolve, reject) {\n        var onHeaders = options ? options.onHeaders : void 0,\n          onHeadersImpl;\n        onHeaders &&\n          (onHeadersImpl = function (headersDescriptor) {\n            onHeaders(new Headers(headersDescriptor));\n          });\n        var resources = createResumableState(\n            options ? options.identifierPrefix : void 0,\n            options ? options.unstable_externalRuntimeSrc : void 0,\n            options ? options.bootstrapScriptContent : void 0,\n            options ? options.bootstrapScripts : void 0,\n            options ? options.bootstrapModules : void 0\n          ),\n          request = createPrerenderRequest(\n            children,\n            resources,\n            createRenderState(\n              resources,\n              void 0,\n              options ? options.unstable_externalRuntimeSrc : void 0,\n              options ? options.importMap : void 0,\n              onHeadersImpl,\n              options ? options.maxHeadersLength : void 0\n            ),\n            createRootFormatContext(options ? options.namespaceURI : void 0),\n            options ? options.progressiveChunkSize : void 0,\n            options ? options.onError : void 0,\n            function () {\n              var writable,\n                stream = new ReadableStream(\n                  {\n                    type: \"bytes\",\n                    start: function (controller) {\n                      writable =\n                        createFakeWritableFromReadableStreamController(\n                          controller\n                        );\n                    },\n                    pull: function () {\n                      startFlowing(request, writable);\n                    },\n                    cancel: function (reason) {\n                      request.destination = null;\n                      abort(request, reason);\n                    }\n                  },\n                  { highWaterMark: 0 }\n                );\n              stream = {\n                postponed: getPostponedState(request),\n                prelude: stream\n              };\n              resolve(stream);\n            },\n            void 0,\n            void 0,\n            reject\n          );\n        if (options && options.signal) {\n          var signal = options.signal;\n          if (signal.aborted) abort(request, signal.reason);\n          else {\n            var listener = function () {\n              abort(request, signal.reason);\n              signal.removeEventListener(\"abort\", listener);\n            };\n            signal.addEventListener(\"abort\", listener);\n          }\n        }\n        startWork(request);\n      });\n    };\n    exports.prerenderToNodeStream = function (children, options) {\n      return new Promise(function (resolve, reject) {\n        var resumableState = createResumableState(\n            options ? options.identifierPrefix : void 0,\n            options ? options.unstable_externalRuntimeSrc : void 0,\n            options ? options.bootstrapScriptContent : void 0,\n            options ? options.bootstrapScripts : void 0,\n            options ? options.bootstrapModules : void 0\n          ),\n          request = createPrerenderRequest(\n            children,\n            resumableState,\n            createRenderState(\n              resumableState,\n              void 0,\n              options ? options.unstable_externalRuntimeSrc : void 0,\n              options ? options.importMap : void 0,\n              options ? options.onHeaders : void 0,\n              options ? options.maxHeadersLength : void 0\n            ),\n            createRootFormatContext(options ? options.namespaceURI : void 0),\n            options ? options.progressiveChunkSize : void 0,\n            options ? options.onError : void 0,\n            function () {\n              var readable = new stream.Readable({\n                  read: function () {\n                    startFlowing(request, writable);\n                  }\n                }),\n                writable = createFakeWritableFromReadable(readable);\n              readable = {\n                postponed: getPostponedState(request),\n                prelude: readable\n              };\n              resolve(readable);\n            },\n            void 0,\n            void 0,\n            reject\n          );\n        if (options && options.signal) {\n          var signal = options.signal;\n          if (signal.aborted) abort(request, signal.reason);\n          else {\n            var listener = function () {\n              abort(request, signal.reason);\n              signal.removeEventListener(\"abort\", listener);\n            };\n            signal.addEventListener(\"abort\", listener);\n          }\n        }\n        startWork(request);\n      });\n    };\n    exports.renderToPipeableStream = function (children, options) {\n      var request = createRequestImpl(children, options),\n        hasStartedFlowing = !1;\n      startWork(request);\n      return {\n        pipe: function (destination) {\n          if (hasStartedFlowing)\n            throw Error(\n              \"React currently only supports piping to one writable stream.\"\n            );\n          hasStartedFlowing = !0;\n          safelyEmitEarlyPreloads(\n            request,\n            null === request.trackedPostpones\n              ? 0 === request.pendingRootTasks\n              : null === request.completedRootSegment\n                ? 0 === request.pendingRootTasks\n                : request.completedRootSegment.status !== POSTPONED\n          );\n          startFlowing(request, destination);\n          destination.on(\"drain\", createDrainHandler(destination, request));\n          destination.on(\n            \"error\",\n            createCancelHandler(\n              request,\n              \"The destination stream errored while writing data.\"\n            )\n          );\n          destination.on(\n            \"close\",\n            createCancelHandler(request, \"The destination stream closed early.\")\n          );\n          return destination;\n        },\n        abort: function (reason) {\n          abort(request, reason);\n        }\n      };\n    };\n    exports.renderToReadableStream = function (children, options) {\n      return new Promise(function (resolve, reject) {\n        var onFatalError,\n          onAllReady,\n          allReady = new Promise(function (res, rej) {\n            onAllReady = res;\n            onFatalError = rej;\n          }),\n          onHeaders = options ? options.onHeaders : void 0,\n          onHeadersImpl;\n        onHeaders &&\n          (onHeadersImpl = function (headersDescriptor) {\n            onHeaders(new Headers(headersDescriptor));\n          });\n        var resumableState = createResumableState(\n            options ? options.identifierPrefix : void 0,\n            options ? options.unstable_externalRuntimeSrc : void 0,\n            options ? options.bootstrapScriptContent : void 0,\n            options ? options.bootstrapScripts : void 0,\n            options ? options.bootstrapModules : void 0\n          ),\n          request = createRequest(\n            children,\n            resumableState,\n            createRenderState(\n              resumableState,\n              options ? options.nonce : void 0,\n              options ? options.unstable_externalRuntimeSrc : void 0,\n              options ? options.importMap : void 0,\n              onHeadersImpl,\n              options ? options.maxHeadersLength : void 0\n            ),\n            createRootFormatContext(options ? options.namespaceURI : void 0),\n            options ? options.progressiveChunkSize : void 0,\n            options ? options.onError : void 0,\n            onAllReady,\n            function () {\n              var writable,\n                stream = new ReadableStream(\n                  {\n                    type: \"bytes\",\n                    start: function (controller) {\n                      writable =\n                        createFakeWritableFromReadableStreamController$1(\n                          controller\n                        );\n                    },\n                    pull: function () {\n                      startFlowing(request, writable);\n                    },\n                    cancel: function (reason) {\n                      request.destination = null;\n                      abort(request, reason);\n                    }\n                  },\n                  { highWaterMark: 0 }\n                );\n              stream.allReady = allReady;\n              resolve(stream);\n            },\n            function (error) {\n              allReady.catch(function () {});\n              reject(error);\n            },\n            onFatalError,\n            options ? options.formState : void 0\n          );\n        if (options && options.signal) {\n          var signal = options.signal;\n          if (signal.aborted) abort(request, signal.reason);\n          else {\n            var listener = function () {\n              abort(request, signal.reason);\n              signal.removeEventListener(\"abort\", listener);\n            };\n            signal.addEventListener(\"abort\", listener);\n          }\n        }\n        startWork(request);\n      });\n    };\n    exports.resume = function (children, postponedState, options) {\n      return new Promise(function (resolve, reject) {\n        var onFatalError,\n          onAllReady,\n          allReady = new Promise(function (res, rej) {\n            onAllReady = res;\n            onFatalError = rej;\n          }),\n          request = resumeRequest(\n            children,\n            postponedState,\n            createRenderState(\n              postponedState.resumableState,\n              options ? options.nonce : void 0,\n              void 0,\n              void 0,\n              void 0,\n              void 0\n            ),\n            options ? options.onError : void 0,\n            onAllReady,\n            function () {\n              var writable,\n                stream = new ReadableStream(\n                  {\n                    type: \"bytes\",\n                    start: function (controller) {\n                      writable =\n                        createFakeWritableFromReadableStreamController$1(\n                          controller\n                        );\n                    },\n                    pull: function () {\n                      startFlowing(request, writable);\n                    },\n                    cancel: function (reason) {\n                      request.destination = null;\n                      abort(request, reason);\n                    }\n                  },\n                  { highWaterMark: 0 }\n                );\n              stream.allReady = allReady;\n              resolve(stream);\n            },\n            function (error) {\n              allReady.catch(function () {});\n              reject(error);\n            },\n            onFatalError\n          );\n        if (options && options.signal) {\n          var signal = options.signal;\n          if (signal.aborted) abort(request, signal.reason);\n          else {\n            var listener = function () {\n              abort(request, signal.reason);\n              signal.removeEventListener(\"abort\", listener);\n            };\n            signal.addEventListener(\"abort\", listener);\n          }\n        }\n        startWork(request);\n      });\n    };\n    exports.resumeAndPrerender = function (children, postponedState, options) {\n      return new Promise(function (resolve, reject) {\n        var request = resumeAndPrerenderRequest(\n          children,\n          postponedState,\n          createRenderState(\n            postponedState.resumableState,\n            void 0,\n            void 0,\n            void 0,\n            void 0,\n            void 0\n          ),\n          options ? options.onError : void 0,\n          function () {\n            var writable,\n              stream = new ReadableStream(\n                {\n                  type: \"bytes\",\n                  start: function (controller) {\n                    writable =\n                      createFakeWritableFromReadableStreamController(\n                        controller\n                      );\n                  },\n                  pull: function () {\n                    startFlowing(request, writable);\n                  },\n                  cancel: function (reason) {\n                    request.destination = null;\n                    abort(request, reason);\n                  }\n                },\n                { highWaterMark: 0 }\n              );\n            stream = { postponed: getPostponedState(request), prelude: stream };\n            resolve(stream);\n          },\n          void 0,\n          void 0,\n          reject\n        );\n        if (options && options.signal) {\n          var signal = options.signal;\n          if (signal.aborted) abort(request, signal.reason);\n          else {\n            var listener = function () {\n              abort(request, signal.reason);\n              signal.removeEventListener(\"abort\", listener);\n            };\n            signal.addEventListener(\"abort\", listener);\n          }\n        }\n        startWork(request);\n      });\n    };\n    exports.resumeAndPrerenderToNodeStream = function (\n      children,\n      postponedState,\n      options\n    ) {\n      return new Promise(function (resolve, reject) {\n        var request = resumeAndPrerenderRequest(\n          children,\n          postponedState,\n          createRenderState(\n            postponedState.resumableState,\n            void 0,\n            void 0,\n            void 0,\n            void 0,\n            void 0\n          ),\n          options ? options.onError : void 0,\n          function () {\n            var readable = new stream.Readable({\n                read: function () {\n                  startFlowing(request, writable);\n                }\n              }),\n              writable = createFakeWritableFromReadable(readable);\n            readable = {\n              postponed: getPostponedState(request),\n              prelude: readable\n            };\n            resolve(readable);\n          },\n          void 0,\n          void 0,\n          reject\n        );\n        if (options && options.signal) {\n          var signal = options.signal;\n          if (signal.aborted) abort(request, signal.reason);\n          else {\n            var listener = function () {\n              abort(request, signal.reason);\n              signal.removeEventListener(\"abort\", listener);\n            };\n            signal.addEventListener(\"abort\", listener);\n          }\n        }\n        startWork(request);\n      });\n    };\n    exports.resumeToPipeableStream = function (\n      children,\n      postponedState,\n      options\n    ) {\n      var request = resumeRequestImpl(children, postponedState, options),\n        hasStartedFlowing = !1;\n      startWork(request);\n      return {\n        pipe: function (destination) {\n          if (hasStartedFlowing)\n            throw Error(\n              \"React currently only supports piping to one writable stream.\"\n            );\n          hasStartedFlowing = !0;\n          startFlowing(request, destination);\n          destination.on(\"drain\", createDrainHandler(destination, request));\n          destination.on(\n            \"error\",\n            createCancelHandler(\n              request,\n              \"The destination stream errored while writing data.\"\n            )\n          );\n          destination.on(\n            \"close\",\n            createCancelHandler(request, \"The destination stream closed early.\")\n          );\n          return destination;\n        },\n        abort: function (reason) {\n          abort(request, reason);\n        }\n      };\n    };\n    exports.version = \"19.3.0-experimental-cbb046ab-20260731\";\n  })();\n","/**\n * @license React\n * react-dom.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n  (function () {\n    function noop() {}\n    function testStringCoercion(value) {\n      return \"\" + value;\n    }\n    function createPortal$1(children, containerInfo, implementation) {\n      var key =\n        3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n      if (null == key) key = null;\n      else if (key === REACT_OPTIMISTIC_KEY) key = REACT_OPTIMISTIC_KEY;\n      else {\n        try {\n          testStringCoercion(key);\n          var JSCompiler_inline_result = !1;\n        } catch (e) {\n          JSCompiler_inline_result = !0;\n        }\n        JSCompiler_inline_result &&\n          (console.error(\n            \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n            (\"function\" === typeof Symbol &&\n              Symbol.toStringTag &&\n              key[Symbol.toStringTag]) ||\n              key.constructor.name ||\n              \"Object\"\n          ),\n          testStringCoercion(key));\n        key = \"\" + key;\n      }\n      return {\n        $$typeof: REACT_PORTAL_TYPE,\n        key: key,\n        children: children,\n        containerInfo: containerInfo,\n        implementation: implementation\n      };\n    }\n    function getCrossOriginStringAs(as, input) {\n      if (\"font\" === as) return \"\";\n      if (\"string\" === typeof input)\n        return \"use-credentials\" === input ? input : \"\";\n    }\n    function getValueDescriptorExpectingObjectForWarning(thing) {\n      return null === thing\n        ? \"`null`\"\n        : void 0 === thing\n          ? \"`undefined`\"\n          : \"\" === thing\n            ? \"an empty string\"\n            : 'something with type \"' + typeof thing + '\"';\n    }\n    function getValueDescriptorExpectingEnumForWarning(thing) {\n      return null === thing\n        ? \"`null`\"\n        : void 0 === thing\n          ? \"`undefined`\"\n          : \"\" === thing\n            ? \"an empty string\"\n            : \"string\" === typeof thing\n              ? JSON.stringify(thing)\n              : \"number\" === typeof thing\n                ? \"`\" + thing + \"`\"\n                : 'something with type \"' + typeof thing + '\"';\n    }\n    function resolveDispatcher() {\n      var dispatcher = ReactSharedInternals.H;\n      null === dispatcher &&\n        console.error(\n          \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n        );\n      return dispatcher;\n    }\n    \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n      \"function\" ===\n        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n    var React = require(\"next/dist/compiled/react-experimental\"),\n      Internals = {\n        d: {\n          f: noop,\n          r: function () {\n            throw Error(\n              \"Invalid form element. requestFormReset must be passed a form that was rendered by React.\"\n            );\n          },\n          D: noop,\n          C: noop,\n          L: noop,\n          m: noop,\n          X: noop,\n          S: noop,\n          M: noop\n        },\n        p: 0,\n        findDOMNode: null\n      },\n      REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n      REACT_RECOVERABLE_TYPE = Symbol.for(\"react.recoverable\"),\n      REACT_OPTIMISTIC_KEY = Symbol.for(\"react.optimistic_key\"),\n      ReactSharedInternals =\n        React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n    (\"function\" === typeof Map &&\n      null != Map.prototype &&\n      \"function\" === typeof Map.prototype.forEach &&\n      \"function\" === typeof Set &&\n      null != Set.prototype &&\n      \"function\" === typeof Set.prototype.clear &&\n      \"function\" === typeof Set.prototype.forEach) ||\n      console.error(\n        \"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\"\n      );\n    exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n      Internals;\n    exports.browser = function () {\n      var recoverable = Error(\n        \"Recoverable Exception: This is not a real error! It's an implementation detail of `use(browser())` to defer rendering to the browser. `use(browser())` can only be used inside a `<Suspense>` boundary. If a server render errors with this as its cause, the component that called `use(browser())` does not have a `<Suspense>` boundary above it.\"\n      );\n      Object.defineProperty(recoverable, \"$$typeof\", {\n        value: REACT_RECOVERABLE_TYPE\n      });\n      return recoverable;\n    };\n    exports.createPortal = function (children, container) {\n      var key =\n        2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n      if (\n        !container ||\n        (1 !== container.nodeType &&\n          9 !== container.nodeType &&\n          11 !== container.nodeType)\n      )\n        throw Error(\"Target container is not a DOM element.\");\n      return createPortal$1(children, container, null, key);\n    };\n    exports.flushSync = function (fn) {\n      var previousTransition = ReactSharedInternals.T,\n        previousUpdatePriority = Internals.p;\n      try {\n        if (((ReactSharedInternals.T = null), (Internals.p = 2), fn))\n          return fn();\n      } finally {\n        (ReactSharedInternals.T = previousTransition),\n          (Internals.p = previousUpdatePriority),\n          Internals.d.f() &&\n            console.error(\n              \"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.\"\n            );\n      }\n    };\n    exports.preconnect = function (href, options) {\n      \"string\" === typeof href && href\n        ? null != options && \"object\" !== typeof options\n          ? console.error(\n              \"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.\",\n              getValueDescriptorExpectingEnumForWarning(options)\n            )\n          : null != options &&\n            \"string\" !== typeof options.crossOrigin &&\n            console.error(\n              \"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.\",\n              getValueDescriptorExpectingObjectForWarning(options.crossOrigin)\n            )\n        : console.error(\n            \"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n            getValueDescriptorExpectingObjectForWarning(href)\n          );\n      \"string\" === typeof href &&\n        (options\n          ? ((options = options.crossOrigin),\n            (options =\n              \"string\" === typeof options\n                ? \"use-credentials\" === options\n                  ? options\n                  : \"\"\n                : void 0))\n          : (options = null),\n        Internals.d.C(href, options));\n    };\n    exports.prefetchDNS = function (href) {\n      if (\"string\" !== typeof href || !href)\n        console.error(\n          \"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n          getValueDescriptorExpectingObjectForWarning(href)\n        );\n      else if (1 < arguments.length) {\n        var options = arguments[1];\n        \"object\" === typeof options && options.hasOwnProperty(\"crossOrigin\")\n          ? console.error(\n              \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n              getValueDescriptorExpectingEnumForWarning(options)\n            )\n          : console.error(\n              \"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",\n              getValueDescriptorExpectingEnumForWarning(options)\n            );\n      }\n      \"string\" === typeof href && Internals.d.D(href);\n    };\n    exports.preinit = function (href, options) {\n      \"string\" === typeof href && href\n        ? null == options || \"object\" !== typeof options\n          ? console.error(\n              \"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.\",\n              getValueDescriptorExpectingEnumForWarning(options)\n            )\n          : \"style\" !== options.as &&\n            \"script\" !== options.as &&\n            console.error(\n              'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are \"style\" and \"script\".',\n              getValueDescriptorExpectingEnumForWarning(options.as)\n            )\n        : console.error(\n            \"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",\n            getValueDescriptorExpectingObjectForWarning(href)\n          );\n      if (\n        \"string\" === typeof href &&\n        options &&\n        \"string\" === typeof options.as\n      ) {\n        var as = options.as,\n          crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n          integrity =\n            \"string\" === typeof options.integrity ? options.integrity : void 0,\n          fetchPriority =\n            \"string\" === typeof options.fetchPriority\n              ? options.fetchPriority\n              : void 0;\n        \"style\" === as\n          ? Internals.d.S(\n              href,\n              \"string\" === typeof options.precedence\n                ? options.precedence\n                : void 0,\n              {\n                crossOrigin: crossOrigin,\n                integrity: integrity,\n                fetchPriority: fetchPriority\n              }\n            )\n          : \"script\" === as &&\n            Internals.d.X(href, {\n              crossOrigin: crossOrigin,\n              integrity: integrity,\n              fetchPriority: fetchPriority,\n              nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n            });\n      }\n    };\n    exports.preinitModule = function (href, options) {\n      var encountered = \"\";\n      (\"string\" === typeof href && href) ||\n        (encountered +=\n          \" The `href` argument encountered was \" +\n          getValueDescriptorExpectingObjectForWarning(href) +\n          \".\");\n      void 0 !== options && \"object\" !== typeof options\n        ? (encountered +=\n            \" The `options` argument encountered was \" +\n            getValueDescriptorExpectingObjectForWarning(options) +\n            \".\")\n        : options &&\n          \"as\" in options &&\n          \"script\" !== options.as &&\n          (encountered +=\n            \" The `as` option encountered was \" +\n            getValueDescriptorExpectingEnumForWarning(options.as) +\n            \".\");\n      if (encountered)\n        console.error(\n          \"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s\",\n          encountered\n        );\n      else\n        switch (\n          ((encountered =\n            options && \"string\" === typeof options.as ? options.as : \"script\"),\n          encountered)\n        ) {\n          case \"script\":\n            break;\n          default:\n            (encountered =\n              getValueDescriptorExpectingEnumForWarning(encountered)),\n              console.error(\n                'ReactDOM.preinitModule(): Currently the only supported \"as\" type for this function is \"script\" but received \"%s\" instead. This warning was generated for `href` \"%s\". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',\n                encountered,\n                href\n              );\n        }\n      if (\"string\" === typeof href)\n        if (\"object\" === typeof options && null !== options) {\n          if (null == options.as || \"script\" === options.as)\n            (encountered = getCrossOriginStringAs(\n              options.as,\n              options.crossOrigin\n            )),\n              Internals.d.M(href, {\n                crossOrigin: encountered,\n                integrity:\n                  \"string\" === typeof options.integrity\n                    ? options.integrity\n                    : void 0,\n                nonce:\n                  \"string\" === typeof options.nonce ? options.nonce : void 0,\n                fetchPriority:\n                  \"string\" === typeof options.fetchPriority\n                    ? options.fetchPriority\n                    : void 0\n              });\n        } else null == options && Internals.d.M(href);\n    };\n    exports.preload = function (href, options) {\n      var encountered = \"\";\n      (\"string\" === typeof href && href) ||\n        (encountered +=\n          \" The `href` argument encountered was \" +\n          getValueDescriptorExpectingObjectForWarning(href) +\n          \".\");\n      null == options || \"object\" !== typeof options\n        ? (encountered +=\n            \" The `options` argument encountered was \" +\n            getValueDescriptorExpectingObjectForWarning(options) +\n            \".\")\n        : (\"string\" === typeof options.as && options.as) ||\n          (encountered +=\n            \" The `as` option encountered was \" +\n            getValueDescriptorExpectingObjectForWarning(options.as) +\n            \".\");\n      encountered &&\n        console.error(\n          'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel=\"preload\" as=\"...\" />` tag.%s',\n          encountered\n        );\n      if (\n        \"string\" === typeof href &&\n        \"object\" === typeof options &&\n        null !== options &&\n        \"string\" === typeof options.as\n      ) {\n        encountered = options.as;\n        var crossOrigin = getCrossOriginStringAs(\n          encountered,\n          options.crossOrigin\n        );\n        Internals.d.L(href, encountered, {\n          crossOrigin: crossOrigin,\n          integrity:\n            \"string\" === typeof options.integrity ? options.integrity : void 0,\n          nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n          type: \"string\" === typeof options.type ? options.type : void 0,\n          fetchPriority:\n            \"string\" === typeof options.fetchPriority\n              ? options.fetchPriority\n              : void 0,\n          referrerPolicy:\n            \"string\" === typeof options.referrerPolicy\n              ? options.referrerPolicy\n              : void 0,\n          imageSrcSet:\n            \"string\" === typeof options.imageSrcSet\n              ? options.imageSrcSet\n              : void 0,\n          imageSizes:\n            \"string\" === typeof options.imageSizes\n              ? options.imageSizes\n              : void 0,\n          media: \"string\" === typeof options.media ? options.media : void 0\n        });\n      }\n    };\n    exports.preloadModule = function (href, options) {\n      var encountered = \"\";\n      (\"string\" === typeof href && href) ||\n        (encountered +=\n          \" The `href` argument encountered was \" +\n          getValueDescriptorExpectingObjectForWarning(href) +\n          \".\");\n      void 0 !== options && \"object\" !== typeof options\n        ? (encountered +=\n            \" The `options` argument encountered was \" +\n            getValueDescriptorExpectingObjectForWarning(options) +\n            \".\")\n        : options &&\n          \"as\" in options &&\n          \"string\" !== typeof options.as &&\n          (encountered +=\n            \" The `as` option encountered was \" +\n            getValueDescriptorExpectingObjectForWarning(options.as) +\n            \".\");\n      encountered &&\n        console.error(\n          'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel=\"modulepreload\" as=\"...\" />` tag.%s',\n          encountered\n        );\n      \"string\" === typeof href &&\n        (options\n          ? ((encountered = getCrossOriginStringAs(\n              options.as,\n              options.crossOrigin\n            )),\n            Internals.d.m(href, {\n              as:\n                \"string\" === typeof options.as && \"script\" !== options.as\n                  ? options.as\n                  : void 0,\n              crossOrigin: encountered,\n              integrity:\n                \"string\" === typeof options.integrity\n                  ? options.integrity\n                  : void 0,\n              nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n              fetchPriority:\n                \"string\" === typeof options.fetchPriority\n                  ? options.fetchPriority\n                  : void 0\n            }))\n          : Internals.d.m(href));\n    };\n    exports.requestFormReset = function (form) {\n      Internals.d.r(form);\n    };\n    exports.unstable_batchedUpdates = function (fn, a) {\n      return fn(a);\n    };\n    exports.useFormState = function (action, initialState, permalink) {\n      return resolveDispatcher().useFormState(action, initialState, permalink);\n    };\n    exports.useFormStatus = function () {\n      return resolveDispatcher().useHostTransitionStatus();\n    };\n    exports.version = \"19.3.0-experimental-cbb046ab-20260731\";\n    \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n      \"function\" ===\n        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n  })();\n","'use strict';\n\nfunction checkDCE() {\n  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n  if (\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n  ) {\n    return;\n  }\n  if (process.env.NODE_ENV !== 'production') {\n    // This branch is unreachable because this function is only called\n    // in production, but the condition is true only in development.\n    // Therefore if the branch is still here, dead code elimination wasn't\n    // properly applied.\n    // Don't change the message. React DevTools relies on it. Also make sure\n    // this message doesn't occur elsewhere in this function, or it will cause\n    // a false positive.\n    throw new Error('^_^');\n  }\n  try {\n    // Verify that the code above has been dead code eliminated (DCE'd).\n    __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n  } catch (err) {\n    // DevTools shouldn't crash React, no matter what.\n    // We should still report in case we break this code.\n    console.error(err);\n  }\n}\n\nif (process.env.NODE_ENV === 'production') {\n  // DCE check should happen before ReactDOM bundle executes so that\n  // DevTools can report bad minification during injection.\n  checkDCE();\n  module.exports = require('./cjs/react-dom.production.js');\n} else {\n  module.exports = require('./cjs/react-dom.development.js');\n}\n","'use strict';\n\nvar s;\nif (process.env.NODE_ENV === 'production') {\n  s = require('./cjs/react-dom-server.node.production.js');\n} else {\n  s = require('./cjs/react-dom-server.node.development.js');\n}\n\nexports.version = s.version;\nexports.prerenderToNodeStream = s.prerenderToNodeStream;\nexports.prerender = s.prerender;\nexports.resumeAndPrerenderToNodeStream = s.resumeAndPrerenderToNodeStream;\nexports.resumeAndPrerender = s.resumeAndPrerender;\n","/**\n * @license React\n * react.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n  (function () {\n    function defineDeprecationWarning(methodName, info) {\n      Object.defineProperty(Component.prototype, methodName, {\n        get: function () {\n          console.warn(\n            \"%s(...) is deprecated in plain JavaScript React classes. %s\",\n            info[0],\n            info[1]\n          );\n        }\n      });\n    }\n    function getIteratorFn(maybeIterable) {\n      if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n        return null;\n      maybeIterable =\n        (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n        maybeIterable[\"@@iterator\"];\n      return \"function\" === typeof maybeIterable ? maybeIterable : null;\n    }\n    function warnNoop(publicInstance, callerName) {\n      publicInstance =\n        ((publicInstance = publicInstance.constructor) &&\n          (publicInstance.displayName || publicInstance.name)) ||\n        \"ReactClass\";\n      var warningKey = publicInstance + \".\" + callerName;\n      didWarnStateUpdateForUnmountedComponent[warningKey] ||\n        (console.error(\n          \"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.\",\n          callerName,\n          publicInstance\n        ),\n        (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));\n    }\n    function Component(props, context, updater) {\n      this.props = props;\n      this.context = context;\n      this.refs = emptyObject;\n      this.updater = updater || ReactNoopUpdateQueue;\n    }\n    function ComponentDummy() {}\n    function PureComponent(props, context, updater) {\n      this.props = props;\n      this.context = context;\n      this.refs = emptyObject;\n      this.updater = updater || ReactNoopUpdateQueue;\n    }\n    function noop() {}\n    function testStringCoercion(value) {\n      return \"\" + value;\n    }\n    function checkKeyStringCoercion(value) {\n      try {\n        testStringCoercion(value);\n        var JSCompiler_inline_result = !1;\n      } catch (e) {\n        JSCompiler_inline_result = !0;\n      }\n      if (JSCompiler_inline_result) {\n        JSCompiler_inline_result = console;\n        var JSCompiler_temp_const = JSCompiler_inline_result.error;\n        var JSCompiler_inline_result$jscomp$0 =\n          (\"function\" === typeof Symbol &&\n            Symbol.toStringTag &&\n            value[Symbol.toStringTag]) ||\n          value.constructor.name ||\n          \"Object\";\n        JSCompiler_temp_const.call(\n          JSCompiler_inline_result,\n          \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n          JSCompiler_inline_result$jscomp$0\n        );\n        return testStringCoercion(value);\n      }\n    }\n    function getComponentNameFromType(type) {\n      if (null == type) return null;\n      if (\"function\" === typeof type)\n        return type.$$typeof === REACT_CLIENT_REFERENCE\n          ? null\n          : type.displayName || type.name || null;\n      if (\"string\" === typeof type) return type;\n      switch (type) {\n        case REACT_FRAGMENT_TYPE:\n          return \"Fragment\";\n        case REACT_PROFILER_TYPE:\n          return \"Profiler\";\n        case REACT_STRICT_MODE_TYPE:\n          return \"StrictMode\";\n        case REACT_SUSPENSE_TYPE:\n          return \"Suspense\";\n        case REACT_SUSPENSE_LIST_TYPE:\n          return \"SuspenseList\";\n        case REACT_ACTIVITY_TYPE:\n          return \"Activity\";\n        case REACT_VIEW_TRANSITION_TYPE:\n          return \"ViewTransition\";\n      }\n      if (\"object\" === typeof type)\n        switch (\n          (\"number\" === typeof type.tag &&\n            console.error(\n              \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n            ),\n          type.$$typeof)\n        ) {\n          case REACT_PORTAL_TYPE:\n            return \"Portal\";\n          case REACT_CONTEXT_TYPE:\n            return type.displayName || \"Context\";\n          case REACT_CONSUMER_TYPE:\n            return (type._context.displayName || \"Context\") + \".Consumer\";\n          case REACT_FORWARD_REF_TYPE:\n            var innerType = type.render;\n            type = type.displayName;\n            type ||\n              ((type = innerType.displayName || innerType.name || \"\"),\n              (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n            return type;\n          case REACT_MEMO_TYPE:\n            return (\n              (innerType = type.displayName || null),\n              null !== innerType\n                ? innerType\n                : getComponentNameFromType(type.type) || \"Memo\"\n            );\n          case REACT_LAZY_TYPE:\n            innerType = type._payload;\n            type = type._init;\n            try {\n              return getComponentNameFromType(type(innerType));\n            } catch (x) {}\n        }\n      return null;\n    }\n    function getTaskName(type) {\n      if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n      if (\n        \"object\" === typeof type &&\n        null !== type &&\n        type.$$typeof === REACT_LAZY_TYPE\n      )\n        return \"<...>\";\n      try {\n        var name = getComponentNameFromType(type);\n        return name ? \"<\" + name + \">\" : \"<...>\";\n      } catch (x) {\n        return \"<...>\";\n      }\n    }\n    function getOwner() {\n      var dispatcher = ReactSharedInternals.A;\n      return null === dispatcher ? null : dispatcher.getOwner();\n    }\n    function UnknownOwner() {\n      return Error(\"react-stack-top-frame\");\n    }\n    function hasValidKey(config) {\n      if (hasOwnProperty.call(config, \"key\")) {\n        var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n        if (getter && getter.isReactWarning) return !1;\n      }\n      return void 0 !== config.key;\n    }\n    function defineKeyPropWarningGetter(props, displayName) {\n      function warnAboutAccessingKey() {\n        specialPropKeyWarningShown ||\n          ((specialPropKeyWarningShown = !0),\n          console.error(\n            \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n            displayName\n          ));\n      }\n      warnAboutAccessingKey.isReactWarning = !0;\n      Object.defineProperty(props, \"key\", {\n        get: warnAboutAccessingKey,\n        configurable: !0\n      });\n    }\n    function elementRefGetterWithDeprecationWarning() {\n      var componentName = getComponentNameFromType(this.type);\n      didWarnAboutElementRef[componentName] ||\n        ((didWarnAboutElementRef[componentName] = !0),\n        console.error(\n          \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n        ));\n      componentName = this.props.ref;\n      return void 0 !== componentName ? componentName : null;\n    }\n    function ReactElement(type, key, props, owner, debugStack, debugTask) {\n      var refProp = props.ref;\n      type = {\n        $$typeof: REACT_ELEMENT_TYPE,\n        type: type,\n        key: key,\n        props: props,\n        _owner: owner\n      };\n      null !== (void 0 !== refProp ? refProp : null)\n        ? Object.defineProperty(type, \"ref\", {\n            enumerable: !1,\n            get: elementRefGetterWithDeprecationWarning\n          })\n        : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n      type._store = {};\n      Object.defineProperty(type._store, \"validated\", {\n        configurable: !1,\n        enumerable: !1,\n        writable: !0,\n        value: 0\n      });\n      Object.defineProperty(type, \"_debugInfo\", {\n        configurable: !1,\n        enumerable: !1,\n        writable: !0,\n        value: null\n      });\n      Object.defineProperty(type, \"_debugStack\", {\n        configurable: !1,\n        enumerable: !1,\n        writable: !0,\n        value: debugStack\n      });\n      Object.defineProperty(type, \"_debugTask\", {\n        configurable: !1,\n        enumerable: !1,\n        writable: !0,\n        value: debugTask\n      });\n      Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n      return type;\n    }\n    function cloneAndReplaceKey(oldElement, newKey) {\n      newKey = ReactElement(\n        oldElement.type,\n        newKey,\n        oldElement.props,\n        oldElement._owner,\n        oldElement._debugStack,\n        oldElement._debugTask\n      );\n      oldElement._store &&\n        (newKey._store.validated = oldElement._store.validated);\n      return newKey;\n    }\n    function validateChildKeys(node) {\n      isValidElement(node)\n        ? node._store && (node._store.validated = 1)\n        : \"object\" === typeof node &&\n          null !== node &&\n          node.$$typeof === REACT_LAZY_TYPE &&\n          (\"fulfilled\" === node._payload.status\n            ? isValidElement(node._payload.value) &&\n              node._payload.value._store &&\n              (node._payload.value._store.validated = 1)\n            : node._store && (node._store.validated = 1));\n    }\n    function isValidElement(object) {\n      return (\n        \"object\" === typeof object &&\n        null !== object &&\n        object.$$typeof === REACT_ELEMENT_TYPE\n      );\n    }\n    function escape(key) {\n      var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n      return (\n        \"$\" +\n        key.replace(/[=:]/g, function (match) {\n          return escaperLookup[match];\n        })\n      );\n    }\n    function getElementKey(element, index) {\n      if (\n        \"object\" === typeof element &&\n        null !== element &&\n        null != element.key\n      ) {\n        if (element.key === REACT_OPTIMISTIC_KEY)\n          return (\n            console.error(\n              \"React.Children helpers don't support optimisticKey.\"\n            ),\n            index.toString(36)\n          );\n        checkKeyStringCoercion(element.key);\n        return escape(\"\" + element.key);\n      }\n      return index.toString(36);\n    }\n    function resolveThenable(thenable) {\n      switch (thenable.status) {\n        case \"fulfilled\":\n          return thenable.value;\n        case \"rejected\":\n          throw thenable.reason;\n        default:\n          switch (\n            (\"string\" === typeof thenable.status\n              ? thenable.then(noop, noop)\n              : ((thenable.status = \"pending\"),\n                thenable.then(\n                  function (fulfilledValue) {\n                    \"pending\" === thenable.status &&\n                      ((thenable.status = \"fulfilled\"),\n                      (thenable.value = fulfilledValue));\n                  },\n                  function (error) {\n                    \"pending\" === thenable.status &&\n                      ((thenable.status = \"rejected\"),\n                      (thenable.reason = error));\n                  }\n                )),\n            thenable.status)\n          ) {\n            case \"fulfilled\":\n              return thenable.value;\n            case \"rejected\":\n              throw thenable.reason;\n          }\n      }\n      throw thenable;\n    }\n    function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n      var type = typeof children;\n      if (\"undefined\" === type || \"boolean\" === type) children = null;\n      var invokeCallback = !1;\n      if (null === children) invokeCallback = !0;\n      else\n        switch (type) {\n          case \"bigint\":\n          case \"string\":\n          case \"number\":\n            invokeCallback = !0;\n            break;\n          case \"object\":\n            switch (children.$$typeof) {\n              case REACT_ELEMENT_TYPE:\n              case REACT_PORTAL_TYPE:\n                invokeCallback = !0;\n                break;\n              case REACT_LAZY_TYPE:\n                return (\n                  (invokeCallback = children._init),\n                  mapIntoArray(\n                    invokeCallback(children._payload),\n                    array,\n                    escapedPrefix,\n                    nameSoFar,\n                    callback\n                  )\n                );\n            }\n        }\n      if (invokeCallback) {\n        invokeCallback = children;\n        callback = callback(invokeCallback);\n        var childKey =\n          \"\" === nameSoFar ? \".\" + getElementKey(invokeCallback, 0) : nameSoFar;\n        isArrayImpl(callback)\n          ? ((escapedPrefix = \"\"),\n            null != childKey &&\n              (escapedPrefix =\n                childKey.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n            mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n              return c;\n            }))\n          : null != callback &&\n            (isValidElement(callback) &&\n              (null != callback.key &&\n                ((invokeCallback && invokeCallback.key === callback.key) ||\n                  checkKeyStringCoercion(callback.key)),\n              (escapedPrefix = cloneAndReplaceKey(\n                callback,\n                escapedPrefix +\n                  (null == callback.key ||\n                  (invokeCallback && invokeCallback.key === callback.key)\n                    ? \"\"\n                    : (\"\" + callback.key).replace(\n                        userProvidedKeyEscapeRegex,\n                        \"$&/\"\n                      ) + \"/\") +\n                  childKey\n              )),\n              \"\" !== nameSoFar &&\n                null != invokeCallback &&\n                isValidElement(invokeCallback) &&\n                null == invokeCallback.key &&\n                invokeCallback._store &&\n                !invokeCallback._store.validated &&\n                (escapedPrefix._store.validated = 2),\n              (callback = escapedPrefix)),\n            array.push(callback));\n        return 1;\n      }\n      invokeCallback = 0;\n      childKey = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n      if (isArrayImpl(children))\n        for (var i = 0; i < children.length; i++)\n          (nameSoFar = children[i]),\n            (type = childKey + getElementKey(nameSoFar, i)),\n            (invokeCallback += mapIntoArray(\n              nameSoFar,\n              array,\n              escapedPrefix,\n              type,\n              callback\n            ));\n      else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n        for (\n          i === children.entries &&\n            (didWarnAboutMaps ||\n              console.warn(\n                \"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"\n              ),\n            (didWarnAboutMaps = !0)),\n            children = i.call(children),\n            i = 0;\n          !(nameSoFar = children.next()).done;\n\n        )\n          (nameSoFar = nameSoFar.value),\n            (type = childKey + getElementKey(nameSoFar, i++)),\n            (invokeCallback += mapIntoArray(\n              nameSoFar,\n              array,\n              escapedPrefix,\n              type,\n              callback\n            ));\n      else if (\"object\" === type) {\n        if (\"function\" === typeof children.then)\n          return mapIntoArray(\n            resolveThenable(children),\n            array,\n            escapedPrefix,\n            nameSoFar,\n            callback\n          );\n        array = String(children);\n        throw Error(\n          \"Objects are not valid as a React child (found: \" +\n            (\"[object Object]\" === array\n              ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n              : array) +\n            \"). If you meant to render a collection of children, use an array instead.\"\n        );\n      }\n      return invokeCallback;\n    }\n    function mapChildren(children, func, context) {\n      if (null == children) return children;\n      var result = [],\n        count = 0;\n      mapIntoArray(children, result, \"\", \"\", function (child) {\n        return func.call(context, child, count++);\n      });\n      return result;\n    }\n    function lazyInitializer(payload) {\n      if (-1 === payload._status) {\n        var resolveDebugValue = null,\n          rejectDebugValue = null,\n          ioInfo = payload._ioInfo;\n        null != ioInfo &&\n          ((ioInfo.start = ioInfo.end = performance.now()),\n          (ioInfo.value = new Promise(function (resolve, reject) {\n            resolveDebugValue = resolve;\n            rejectDebugValue = reject;\n          })));\n        ioInfo = payload._result;\n        var thenable = ioInfo();\n        thenable.then(\n          function (moduleObject) {\n            if (0 === payload._status || -1 === payload._status) {\n              payload._status = 1;\n              payload._result = moduleObject;\n              var _ioInfo = payload._ioInfo;\n              if (null != _ioInfo) {\n                _ioInfo.end = performance.now();\n                var debugValue =\n                  null == moduleObject ? void 0 : moduleObject.default;\n                resolveDebugValue(debugValue);\n                _ioInfo.value.status = \"fulfilled\";\n                _ioInfo.value.value = debugValue;\n              }\n              void 0 === thenable.status &&\n                ((thenable.status = \"fulfilled\"),\n                (thenable.value = moduleObject));\n            }\n          },\n          function (error) {\n            if (0 === payload._status || -1 === payload._status) {\n              payload._status = 2;\n              payload._result = error;\n              var _ioInfo2 = payload._ioInfo;\n              null != _ioInfo2 &&\n                ((_ioInfo2.end = performance.now()),\n                _ioInfo2.value.then(noop, noop),\n                rejectDebugValue(error),\n                (_ioInfo2.value.status = \"rejected\"),\n                (_ioInfo2.value.reason = error));\n              void 0 === thenable.status &&\n                ((thenable.status = \"rejected\"), (thenable.reason = error));\n            }\n          }\n        );\n        ioInfo = payload._ioInfo;\n        if (null != ioInfo) {\n          var displayName = thenable.displayName;\n          \"string\" === typeof displayName && (ioInfo.name = displayName);\n        }\n        -1 === payload._status &&\n          ((payload._status = 0), (payload._result = thenable));\n      }\n      if (1 === payload._status)\n        return (\n          (ioInfo = payload._result),\n          void 0 === ioInfo &&\n            console.error(\n              \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n  const MyComponent = lazy(() => import('./MyComponent'))\\n\\nDid you accidentally put curly braces around the import?\",\n              ioInfo\n            ),\n          \"default\" in ioInfo ||\n            console.error(\n              \"lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n  const MyComponent = lazy(() => import('./MyComponent'))\",\n              ioInfo\n            ),\n          ioInfo.default\n        );\n      throw payload._result;\n    }\n    function resolveDispatcher() {\n      var dispatcher = ReactSharedInternals.H;\n      null === dispatcher &&\n        console.error(\n          \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n        );\n      return dispatcher;\n    }\n    function useOptimistic(passthrough, reducer) {\n      return resolveDispatcher().useOptimistic(passthrough, reducer);\n    }\n    function releaseAsyncTransition() {\n      ReactSharedInternals.asyncTransitions--;\n    }\n    function startTransition(scope) {\n      var prevTransition = ReactSharedInternals.T,\n        currentTransition = {};\n      currentTransition.types =\n        null !== prevTransition ? prevTransition.types : null;\n      currentTransition.gesture = null;\n      currentTransition._updatedFibers = new Set();\n      ReactSharedInternals.T = currentTransition;\n      try {\n        var returnValue = scope(),\n          onStartTransitionFinish = ReactSharedInternals.S;\n        null !== onStartTransitionFinish &&\n          onStartTransitionFinish(currentTransition, returnValue);\n        \"object\" === typeof returnValue &&\n          null !== returnValue &&\n          \"function\" === typeof returnValue.then &&\n          (ReactSharedInternals.asyncTransitions++,\n          returnValue.then(releaseAsyncTransition, releaseAsyncTransition),\n          returnValue.then(noop, reportGlobalError));\n      } catch (error) {\n        reportGlobalError(error);\n      } finally {\n        null === prevTransition &&\n          currentTransition._updatedFibers &&\n          ((scope = currentTransition._updatedFibers.size),\n          currentTransition._updatedFibers.clear(),\n          10 < scope &&\n            console.warn(\n              \"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"\n            )),\n          null !== prevTransition &&\n            null !== currentTransition.types &&\n            (null !== prevTransition.types &&\n              prevTransition.types !== currentTransition.types &&\n              console.error(\n                \"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"\n              ),\n            (prevTransition.types = currentTransition.types)),\n          (ReactSharedInternals.T = prevTransition);\n      }\n    }\n    function addTransitionType(type) {\n      var transition = ReactSharedInternals.T;\n      if (null !== transition) {\n        var transitionTypes = transition.types;\n        null === transitionTypes\n          ? (transition.types = [type])\n          : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);\n      } else\n        0 === ReactSharedInternals.asyncTransitions &&\n          console.error(\n            \"addTransitionType can only be called inside a `startTransition()` or `startGestureTransition()` callback. It must be associated with a specific Transition.\"\n          ),\n          startTransition(addTransitionType.bind(null, type));\n    }\n    function enqueueTask(task) {\n      if (null === enqueueTaskImpl)\n        try {\n          var requireString = (\"require\" + Math.random()).slice(0, 7);\n          enqueueTaskImpl = (module && module[requireString]).call(\n            module,\n            \"timers\"\n          ).setImmediate;\n        } catch (_err) {\n          enqueueTaskImpl = function (callback) {\n            !1 === didWarnAboutMessageChannel &&\n              ((didWarnAboutMessageChannel = !0),\n              \"undefined\" === typeof MessageChannel &&\n                console.error(\n                  \"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"\n                ));\n            var channel = new MessageChannel();\n            channel.port1.onmessage = callback;\n            channel.port2.postMessage(void 0);\n          };\n        }\n      return enqueueTaskImpl(task);\n    }\n    function aggregateErrors(errors) {\n      return 1 < errors.length && \"function\" === typeof AggregateError\n        ? new AggregateError(errors)\n        : errors[0];\n    }\n    function popActScope(prevActQueue, prevActScopeDepth) {\n      prevActScopeDepth !== actScopeDepth - 1 &&\n        console.error(\n          \"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \"\n        );\n      actScopeDepth = prevActScopeDepth;\n    }\n    function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {\n      var queue = ReactSharedInternals.actQueue;\n      if (null !== queue)\n        if (0 !== queue.length)\n          try {\n            flushActQueue(queue);\n            enqueueTask(function () {\n              return recursivelyFlushAsyncActWork(returnValue, resolve, reject);\n            });\n            return;\n          } catch (error) {\n            ReactSharedInternals.thrownErrors.push(error);\n          }\n        else ReactSharedInternals.actQueue = null;\n      0 < ReactSharedInternals.thrownErrors.length\n        ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),\n          (ReactSharedInternals.thrownErrors.length = 0),\n          reject(queue))\n        : resolve(returnValue);\n    }\n    function flushActQueue(queue) {\n      if (!isFlushing) {\n        isFlushing = !0;\n        var i = 0;\n        try {\n          for (; i < queue.length; i++) {\n            var callback = queue[i];\n            do {\n              ReactSharedInternals.didUsePromise = !1;\n              var continuation = callback(!1);\n              if (null !== continuation) {\n                if (ReactSharedInternals.didUsePromise) {\n                  queue[i] = callback;\n                  queue.splice(0, i);\n                  return;\n                }\n                callback = continuation;\n              } else break;\n            } while (1);\n          }\n          queue.length = 0;\n        } catch (error) {\n          queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);\n        } finally {\n          isFlushing = !1;\n        }\n      }\n    }\n    \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n      \"function\" ===\n        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n    var REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n      REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n      REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n      REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n      REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n      REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n      REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n      REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n      REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n      REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n      REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n      REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n      REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n      REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n      MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n      REACT_OPTIMISTIC_KEY = Symbol.for(\"react.optimistic_key\"),\n      didWarnStateUpdateForUnmountedComponent = {},\n      ReactNoopUpdateQueue = {\n        isMounted: function () {\n          return !1;\n        },\n        enqueueForceUpdate: function (publicInstance) {\n          warnNoop(publicInstance, \"forceUpdate\");\n        },\n        enqueueReplaceState: function (publicInstance) {\n          warnNoop(publicInstance, \"replaceState\");\n        },\n        enqueueSetState: function (publicInstance) {\n          warnNoop(publicInstance, \"setState\");\n        }\n      },\n      assign = Object.assign,\n      emptyObject = {};\n    Object.freeze(emptyObject);\n    Component.prototype.isReactComponent = {};\n    Component.prototype.setState = function (partialState, callback) {\n      if (\n        \"object\" !== typeof partialState &&\n        \"function\" !== typeof partialState &&\n        null != partialState\n      )\n        throw Error(\n          \"takes an object of state variables to update or a function which returns an object of state variables.\"\n        );\n      this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n    };\n    Component.prototype.forceUpdate = function (callback) {\n      this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n    };\n    var deprecatedAPIs = {\n      isMounted: [\n        \"isMounted\",\n        \"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"\n      ],\n      replaceState: [\n        \"replaceState\",\n        \"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"\n      ]\n    };\n    for (fnName in deprecatedAPIs)\n      deprecatedAPIs.hasOwnProperty(fnName) &&\n        defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n    ComponentDummy.prototype = Component.prototype;\n    deprecatedAPIs = PureComponent.prototype = new ComponentDummy();\n    deprecatedAPIs.constructor = PureComponent;\n    assign(deprecatedAPIs, Component.prototype);\n    deprecatedAPIs.isPureReactComponent = !0;\n    var isArrayImpl = Array.isArray,\n      REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n      ReactSharedInternals = {\n        H: null,\n        A: null,\n        T: null,\n        S: null,\n        G: null,\n        actQueue: null,\n        asyncTransitions: 0,\n        isBatchingLegacy: !1,\n        didScheduleLegacyUpdate: !1,\n        didUsePromise: !1,\n        thrownErrors: [],\n        getCurrentStack: null,\n        recentlyCreatedOwnerStacks: 0\n      },\n      hasOwnProperty = Object.prototype.hasOwnProperty,\n      createTask = console.createTask\n        ? console.createTask\n        : function () {\n            return null;\n          };\n    deprecatedAPIs = {\n      react_stack_bottom_frame: function (callStackForError) {\n        return callStackForError();\n      }\n    };\n    var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;\n    var didWarnAboutElementRef = {};\n    var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(\n      deprecatedAPIs,\n      UnknownOwner\n    )();\n    var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n    var didWarnAboutMaps = !1,\n      userProvidedKeyEscapeRegex = /\\/+/g,\n      reportGlobalError =\n        \"function\" === typeof reportError\n          ? reportError\n          : function (error) {\n              if (\n                \"object\" === typeof window &&\n                \"function\" === typeof window.ErrorEvent\n              ) {\n                var event = new window.ErrorEvent(\"error\", {\n                  bubbles: !0,\n                  cancelable: !0,\n                  message:\n                    \"object\" === typeof error &&\n                    null !== error &&\n                    \"string\" === typeof error.message\n                      ? String(error.message)\n                      : String(error),\n                  error: error\n                });\n                if (!window.dispatchEvent(event)) return;\n              } else if (\n                \"object\" === typeof process &&\n                \"function\" === typeof process.emit\n              ) {\n                process.emit(\"uncaughtException\", error);\n                return;\n              }\n              console.error(error);\n            },\n      didWarnAboutMessageChannel = !1,\n      enqueueTaskImpl = null,\n      actScopeDepth = 0,\n      didWarnNoAwaitAct = !1,\n      isFlushing = !1,\n      queueSeveralMicrotasks =\n        \"function\" === typeof queueMicrotask\n          ? function (callback) {\n              queueMicrotask(function () {\n                return queueMicrotask(callback);\n              });\n            }\n          : enqueueTask;\n    deprecatedAPIs = Object.freeze({\n      __proto__: null,\n      c: function (size) {\n        return resolveDispatcher().useMemoCache(size);\n      }\n    });\n    var fnName = {\n      map: mapChildren,\n      forEach: function (children, forEachFunc, forEachContext) {\n        mapChildren(\n          children,\n          function () {\n            forEachFunc.apply(this, arguments);\n          },\n          forEachContext\n        );\n      },\n      count: function (children) {\n        var n = 0;\n        mapChildren(children, function () {\n          n++;\n        });\n        return n;\n      },\n      toArray: function (children) {\n        return (\n          mapChildren(children, function (child) {\n            return child;\n          }) || []\n        );\n      },\n      only: function (children) {\n        if (!isValidElement(children))\n          throw Error(\n            \"React.Children.only expected to receive a single React element child.\"\n          );\n        return children;\n      }\n    };\n    exports.Activity = REACT_ACTIVITY_TYPE;\n    exports.Children = fnName;\n    exports.Component = Component;\n    exports.Fragment = REACT_FRAGMENT_TYPE;\n    exports.Profiler = REACT_PROFILER_TYPE;\n    exports.PureComponent = PureComponent;\n    exports.StrictMode = REACT_STRICT_MODE_TYPE;\n    exports.Suspense = REACT_SUSPENSE_TYPE;\n    exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;\n    exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n      ReactSharedInternals;\n    exports.__COMPILER_RUNTIME = deprecatedAPIs;\n    exports.act = function (callback) {\n      var prevActQueue = ReactSharedInternals.actQueue,\n        prevActScopeDepth = actScopeDepth;\n      actScopeDepth++;\n      var queue = (ReactSharedInternals.actQueue =\n          null !== prevActQueue ? prevActQueue : []),\n        didAwaitActCall = !1;\n      try {\n        var result = callback();\n      } catch (error) {\n        ReactSharedInternals.thrownErrors.push(error);\n      }\n      if (0 < ReactSharedInternals.thrownErrors.length)\n        throw (\n          (popActScope(prevActQueue, prevActScopeDepth),\n          (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n          (ReactSharedInternals.thrownErrors.length = 0),\n          callback)\n        );\n      if (\n        null !== result &&\n        \"object\" === typeof result &&\n        \"function\" === typeof result.then\n      ) {\n        var thenable = result;\n        queueSeveralMicrotasks(function () {\n          didAwaitActCall ||\n            didWarnNoAwaitAct ||\n            ((didWarnNoAwaitAct = !0),\n            console.error(\n              \"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);\"\n            ));\n        });\n        return {\n          then: function (resolve, reject) {\n            didAwaitActCall = !0;\n            thenable.then(\n              function (returnValue) {\n                popActScope(prevActQueue, prevActScopeDepth);\n                if (0 === prevActScopeDepth) {\n                  try {\n                    flushActQueue(queue),\n                      enqueueTask(function () {\n                        return recursivelyFlushAsyncActWork(\n                          returnValue,\n                          resolve,\n                          reject\n                        );\n                      });\n                  } catch (error$0) {\n                    ReactSharedInternals.thrownErrors.push(error$0);\n                  }\n                  if (0 < ReactSharedInternals.thrownErrors.length) {\n                    var _thrownError = aggregateErrors(\n                      ReactSharedInternals.thrownErrors\n                    );\n                    ReactSharedInternals.thrownErrors.length = 0;\n                    reject(_thrownError);\n                  }\n                } else resolve(returnValue);\n              },\n              function (error) {\n                popActScope(prevActQueue, prevActScopeDepth);\n                0 < ReactSharedInternals.thrownErrors.length\n                  ? ((error = aggregateErrors(\n                      ReactSharedInternals.thrownErrors\n                    )),\n                    (ReactSharedInternals.thrownErrors.length = 0),\n                    reject(error))\n                  : reject(error);\n              }\n            );\n          }\n        };\n      }\n      var returnValue$jscomp$0 = result;\n      popActScope(prevActQueue, prevActScopeDepth);\n      0 === prevActScopeDepth &&\n        (flushActQueue(queue),\n        0 !== queue.length &&\n          queueSeveralMicrotasks(function () {\n            didAwaitActCall ||\n              didWarnNoAwaitAct ||\n              ((didWarnNoAwaitAct = !0),\n              console.error(\n                \"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\n\\nawait act(() => ...)\"\n              ));\n          }),\n        (ReactSharedInternals.actQueue = null));\n      if (0 < ReactSharedInternals.thrownErrors.length)\n        throw (\n          ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),\n          (ReactSharedInternals.thrownErrors.length = 0),\n          callback)\n        );\n      return {\n        then: function (resolve, reject) {\n          didAwaitActCall = !0;\n          0 === prevActScopeDepth\n            ? ((ReactSharedInternals.actQueue = queue),\n              enqueueTask(function () {\n                return recursivelyFlushAsyncActWork(\n                  returnValue$jscomp$0,\n                  resolve,\n                  reject\n                );\n              }))\n            : resolve(returnValue$jscomp$0);\n        }\n      };\n    };\n    exports.addTransitionType = addTransitionType;\n    exports.cache = function (fn) {\n      return function () {\n        return fn.apply(null, arguments);\n      };\n    };\n    exports.cacheSignal = function () {\n      return null;\n    };\n    exports.captureOwnerStack = function () {\n      var getCurrentStack = ReactSharedInternals.getCurrentStack;\n      return null === getCurrentStack ? null : getCurrentStack();\n    };\n    exports.cloneElement = function (element, config, children) {\n      if (null === element || void 0 === element)\n        throw Error(\n          \"The argument must be a React element, but you passed \" +\n            element +\n            \".\"\n        );\n      var props = assign({}, element.props),\n        key = element.key,\n        owner = element._owner;\n      if (null != config) {\n        var JSCompiler_inline_result;\n        a: {\n          if (\n            hasOwnProperty.call(config, \"ref\") &&\n            (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(\n              config,\n              \"ref\"\n            ).get) &&\n            JSCompiler_inline_result.isReactWarning\n          ) {\n            JSCompiler_inline_result = !1;\n            break a;\n          }\n          JSCompiler_inline_result = void 0 !== config.ref;\n        }\n        JSCompiler_inline_result && (owner = getOwner());\n        hasValidKey(config) &&\n          (config.key === REACT_OPTIMISTIC_KEY\n            ? (key = REACT_OPTIMISTIC_KEY)\n            : (checkKeyStringCoercion(config.key), (key = \"\" + config.key)));\n        for (propName in config)\n          !hasOwnProperty.call(config, propName) ||\n            \"key\" === propName ||\n            \"__self\" === propName ||\n            \"__source\" === propName ||\n            (\"ref\" === propName && void 0 === config.ref) ||\n            (props[propName] = config[propName]);\n      }\n      var propName = arguments.length - 2;\n      if (1 === propName) props.children = children;\n      else if (1 < propName) {\n        JSCompiler_inline_result = Array(propName);\n        for (var i = 0; i < propName; i++)\n          JSCompiler_inline_result[i] = arguments[i + 2];\n        props.children = JSCompiler_inline_result;\n      }\n      props = ReactElement(\n        element.type,\n        key,\n        props,\n        owner,\n        element._debugStack,\n        element._debugTask\n      );\n      for (key = 2; key < arguments.length; key++)\n        validateChildKeys(arguments[key]);\n      return props;\n    };\n    exports.createContext = function (defaultValue) {\n      defaultValue = {\n        $$typeof: REACT_CONTEXT_TYPE,\n        _currentValue: defaultValue,\n        _currentValue2: defaultValue,\n        _threadCount: 0,\n        Provider: null,\n        Consumer: null\n      };\n      defaultValue.Provider = defaultValue;\n      defaultValue.Consumer = {\n        $$typeof: REACT_CONSUMER_TYPE,\n        _context: defaultValue\n      };\n      defaultValue._currentRenderer = null;\n      defaultValue._currentRenderer2 = null;\n      return defaultValue;\n    };\n    exports.createElement = function (type, config, children) {\n      for (var i = 2; i < arguments.length; i++)\n        validateChildKeys(arguments[i]);\n      var propName;\n      i = {};\n      var key = null;\n      if (null != config)\n        for (propName in (didWarnAboutOldJSXRuntime ||\n          !(\"__self\" in config) ||\n          \"key\" in config ||\n          ((didWarnAboutOldJSXRuntime = !0),\n          console.warn(\n            \"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\"\n          )),\n        hasValidKey(config) &&\n          (config.key === REACT_OPTIMISTIC_KEY\n            ? (key = REACT_OPTIMISTIC_KEY)\n            : (checkKeyStringCoercion(config.key), (key = \"\" + config.key))),\n        config))\n          hasOwnProperty.call(config, propName) &&\n            \"key\" !== propName &&\n            \"__self\" !== propName &&\n            \"__source\" !== propName &&\n            (i[propName] = config[propName]);\n      var childrenLength = arguments.length - 2;\n      if (1 === childrenLength) i.children = children;\n      else if (1 < childrenLength) {\n        for (\n          var childArray = Array(childrenLength), _i = 0;\n          _i < childrenLength;\n          _i++\n        )\n          childArray[_i] = arguments[_i + 2];\n        Object.freeze && Object.freeze(childArray);\n        i.children = childArray;\n      }\n      if (type && type.defaultProps)\n        for (propName in ((childrenLength = type.defaultProps), childrenLength))\n          void 0 === i[propName] && (i[propName] = childrenLength[propName]);\n      key &&\n        defineKeyPropWarningGetter(\n          i,\n          \"function\" === typeof type\n            ? type.displayName || type.name || \"Unknown\"\n            : type\n        );\n      (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++)\n        ? ((childArray = Error.stackTraceLimit),\n          (Error.stackTraceLimit = 10),\n          (childrenLength = Error(\"react-stack-top-frame\")),\n          (Error.stackTraceLimit = childArray))\n        : (childrenLength = unknownOwnerDebugStack);\n      return ReactElement(\n        type,\n        key,\n        i,\n        getOwner(),\n        childrenLength,\n        propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n      );\n    };\n    exports.createRef = function () {\n      var refObject = { current: null };\n      Object.seal(refObject);\n      return refObject;\n    };\n    exports.experimental_useOptimistic = function (passthrough, reducer) {\n      console.error(\n        \"useOptimistic is now in canary. Remove the experimental_ prefix. The prefixed alias will be removed in an upcoming release.\"\n      );\n      return useOptimistic(passthrough, reducer);\n    };\n    exports.forwardRef = function (render) {\n      null != render && render.$$typeof === REACT_MEMO_TYPE\n        ? console.error(\n            \"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\"\n          )\n        : \"function\" !== typeof render\n          ? console.error(\n              \"forwardRef requires a render function but was given %s.\",\n              null === render ? \"null\" : typeof render\n            )\n          : 0 !== render.length &&\n            2 !== render.length &&\n            console.error(\n              \"forwardRef render functions accept exactly two parameters: props and ref. %s\",\n              1 === render.length\n                ? \"Did you forget to use the ref parameter?\"\n                : \"Any additional parameter will be undefined.\"\n            );\n      null != render &&\n        null != render.defaultProps &&\n        console.error(\n          \"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\"\n        );\n      var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },\n        ownName;\n      Object.defineProperty(elementType, \"displayName\", {\n        enumerable: !1,\n        configurable: !0,\n        get: function () {\n          return ownName;\n        },\n        set: function (name) {\n          ownName = name;\n          render.name ||\n            render.displayName ||\n            (Object.defineProperty(render, \"name\", { value: name }),\n            (render.displayName = name));\n        }\n      });\n      return elementType;\n    };\n    exports.isValidElement = isValidElement;\n    exports.lazy = function (ctor) {\n      ctor = { _status: -1, _result: ctor };\n      var lazyType = {\n          $$typeof: REACT_LAZY_TYPE,\n          _payload: ctor,\n          _init: lazyInitializer\n        },\n        ioInfo = {\n          name: \"lazy\",\n          start: -1,\n          end: -1,\n          value: null,\n          owner: null,\n          debugStack: Error(\"react-stack-top-frame\"),\n          debugTask: console.createTask ? console.createTask(\"lazy()\") : null\n        };\n      ctor._ioInfo = ioInfo;\n      lazyType._debugInfo = [{ awaited: ioInfo }];\n      return lazyType;\n    };\n    exports.memo = function (type, compare) {\n      null == type &&\n        console.error(\n          \"memo: The first argument must be a component. Instead received: %s\",\n          null === type ? \"null\" : typeof type\n        );\n      compare = {\n        $$typeof: REACT_MEMO_TYPE,\n        type: type,\n        compare: void 0 === compare ? null : compare\n      };\n      var ownName;\n      Object.defineProperty(compare, \"displayName\", {\n        enumerable: !1,\n        configurable: !0,\n        get: function () {\n          return ownName;\n        },\n        set: function (name) {\n          ownName = name;\n          type.name ||\n            type.displayName ||\n            (Object.defineProperty(type, \"name\", { value: name }),\n            (type.displayName = name));\n        }\n      });\n      return compare;\n    };\n    exports.optimisticKey = REACT_OPTIMISTIC_KEY;\n    exports.startTransition = startTransition;\n    exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;\n    exports.unstable_getCacheForType = function (resourceType) {\n      var dispatcher = ReactSharedInternals.A;\n      return dispatcher\n        ? dispatcher.getCacheForType(resourceType)\n        : resourceType();\n    };\n    exports.unstable_startGestureTransition = function (\n      provider,\n      scope,\n      options\n    ) {\n      if (null == provider)\n        throw Error(\n          \"A Timeline is required as the first argument to startGestureTransition.\"\n        );\n      var prevTransition = ReactSharedInternals.T,\n        currentTransition = { types: null };\n      currentTransition.gesture = provider;\n      currentTransition._updatedFibers = new Set();\n      ReactSharedInternals.T = currentTransition;\n      try {\n        var returnValue = scope();\n        \"object\" === typeof returnValue &&\n          null !== returnValue &&\n          \"function\" === typeof returnValue.then &&\n          console.error(\n            \"Cannot use an async function in startGestureTransition. It must be able to start immediately.\"\n          );\n        var onStartGestureTransitionFinish = ReactSharedInternals.G;\n        if (null !== onStartGestureTransitionFinish)\n          return onStartGestureTransitionFinish(\n            currentTransition,\n            provider,\n            options\n          );\n      } catch (error) {\n        reportGlobalError(error);\n      } finally {\n        ReactSharedInternals.T = prevTransition;\n      }\n      return noop;\n    };\n    exports.unstable_useCacheRefresh = function () {\n      return resolveDispatcher().useCacheRefresh();\n    };\n    exports.use = function (usable) {\n      return resolveDispatcher().use(usable);\n    };\n    exports.useActionState = function (action, initialState, permalink) {\n      return resolveDispatcher().useActionState(\n        action,\n        initialState,\n        permalink\n      );\n    };\n    exports.useCallback = function (callback, deps) {\n      return resolveDispatcher().useCallback(callback, deps);\n    };\n    exports.useContext = function (Context) {\n      var dispatcher = resolveDispatcher();\n      Context.$$typeof === REACT_CONSUMER_TYPE &&\n        console.error(\n          \"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\"\n        );\n      return dispatcher.useContext(Context);\n    };\n    exports.useDebugValue = function (value, formatterFn) {\n      return resolveDispatcher().useDebugValue(value, formatterFn);\n    };\n    exports.useDeferredValue = function (value, initialValue) {\n      return resolveDispatcher().useDeferredValue(value, initialValue);\n    };\n    exports.useEffect = function (create, deps) {\n      null == create &&\n        console.warn(\n          \"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n        );\n      return resolveDispatcher().useEffect(create, deps);\n    };\n    exports.useEffectEvent = function (callback) {\n      return resolveDispatcher().useEffectEvent(callback);\n    };\n    exports.useId = function () {\n      return resolveDispatcher().useId();\n    };\n    exports.useImperativeHandle = function (ref, create, deps) {\n      return resolveDispatcher().useImperativeHandle(ref, create, deps);\n    };\n    exports.useInsertionEffect = function (create, deps) {\n      null == create &&\n        console.warn(\n          \"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n        );\n      return resolveDispatcher().useInsertionEffect(create, deps);\n    };\n    exports.useLayoutEffect = function (create, deps) {\n      null == create &&\n        console.warn(\n          \"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\"\n        );\n      return resolveDispatcher().useLayoutEffect(create, deps);\n    };\n    exports.useMemo = function (create, deps) {\n      return resolveDispatcher().useMemo(create, deps);\n    };\n    exports.useOptimistic = useOptimistic;\n    exports.useReducer = function (reducer, initialArg, init) {\n      return resolveDispatcher().useReducer(reducer, initialArg, init);\n    };\n    exports.useRef = function (initialValue) {\n      return resolveDispatcher().useRef(initialValue);\n    };\n    exports.useState = function (initialState) {\n      return resolveDispatcher().useState(initialState);\n    };\n    exports.useSyncExternalStore = function (\n      subscribe,\n      getSnapshot,\n      getServerSnapshot\n    ) {\n      return resolveDispatcher().useSyncExternalStore(\n        subscribe,\n        getSnapshot,\n        getServerSnapshot\n      );\n    };\n    exports.useTransition = function () {\n      return resolveDispatcher().useTransition();\n    };\n    exports.version = \"19.3.0-experimental-cbb046ab-20260731\";\n    \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n      \"function\" ===\n        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n      __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n  })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react.production.js');\n} else {\n  module.exports = require('./cjs/react.development.js');\n}\n","/**\n * @license React\n * react-server-dom-webpack-client.node.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n  (function () {\n    function checkEvalAvailabilityOnceDev() {\n      if (!hasConfirmedEval) {\n        hasConfirmedEval = !0;\n        try {\n          (0, eval)(\"null\");\n        } catch ($jscomp$unused$catch) {\n          console.error(\n            \"eval() is not supported in this environment. This can happen if you started the Node.js process with --disallow-code-generation-from-strings, or if `eval` was patched by other means. React requires eval() in development mode for various debugging features like reconstructing callstacks from a different environment.\\nReact will never use eval() in production mode\"\n          );\n        }\n      }\n    }\n    function resolveClientReference(bundlerConfig, metadata) {\n      if (bundlerConfig) {\n        var moduleExports = bundlerConfig[metadata[0]];\n        if ((bundlerConfig = moduleExports && moduleExports[metadata[2]]))\n          moduleExports = bundlerConfig.name;\n        else {\n          bundlerConfig = moduleExports && moduleExports[\"*\"];\n          if (!bundlerConfig)\n            throw Error(\n              'Could not find the module \"' +\n                metadata[0] +\n                '\" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.'\n            );\n          moduleExports = metadata[2];\n        }\n        return 4 === metadata.length\n          ? [bundlerConfig.id, bundlerConfig.chunks, moduleExports, 1]\n          : [bundlerConfig.id, bundlerConfig.chunks, moduleExports];\n      }\n      return metadata;\n    }\n    function resolveServerReference(bundlerConfig, id) {\n      var name = \"\",\n        resolvedModuleData = bundlerConfig[id];\n      if (resolvedModuleData) name = resolvedModuleData.name;\n      else {\n        var idx = id.lastIndexOf(\"#\");\n        -1 !== idx &&\n          ((name = id.slice(idx + 1)),\n          (resolvedModuleData = bundlerConfig[id.slice(0, idx)]));\n        if (!resolvedModuleData)\n          throw Error(\n            'Could not find the module \"' +\n              id +\n              '\" in the React Server Manifest. This is probably a bug in the React Server Components bundler.'\n          );\n      }\n      return resolvedModuleData.async\n        ? [resolvedModuleData.id, resolvedModuleData.chunks, name, 1]\n        : [resolvedModuleData.id, resolvedModuleData.chunks, name];\n    }\n    function requireAsyncModule(id) {\n      var promise = globalThis.__next_require__(id);\n      if (\"function\" !== typeof promise.then || \"fulfilled\" === promise.status)\n        return null;\n      promise.then(\n        function (value) {\n          promise.status = \"fulfilled\";\n          promise.value = value;\n        },\n        function (reason) {\n          promise.status = \"rejected\";\n          promise.reason = reason;\n        }\n      );\n      return promise;\n    }\n    function ignoreReject() {}\n    function preloadModule(metadata) {\n      for (\n        var chunks = metadata[1], promises = [], i = 0;\n        i < chunks.length;\n\n      ) {\n        var chunkId = chunks[i++];\n        chunks[i++];\n        var entry = chunkCache.get(chunkId);\n        if (void 0 === entry) {\n          entry = __webpack_chunk_load__(chunkId);\n          promises.push(entry);\n          var resolve = chunkCache.set.bind(chunkCache, chunkId, null);\n          entry.then(resolve, ignoreReject);\n          chunkCache.set(chunkId, entry);\n        } else null !== entry && promises.push(entry);\n      }\n      return 4 === metadata.length\n        ? 0 === promises.length\n          ? requireAsyncModule(metadata[0])\n          : Promise.all(promises).then(function () {\n              return requireAsyncModule(metadata[0]);\n            })\n        : 0 < promises.length\n          ? Promise.all(promises)\n          : null;\n    }\n    function requireModule(metadata) {\n      var moduleExports = globalThis.__next_require__(metadata[0]);\n      if (4 === metadata.length && \"function\" === typeof moduleExports.then)\n        if (\"fulfilled\" === moduleExports.status)\n          moduleExports = moduleExports.value;\n        else throw moduleExports.reason;\n      if (\"*\" === metadata[2]) return moduleExports;\n      if (\"\" === metadata[2])\n        return moduleExports.__esModule ? moduleExports.default : moduleExports;\n      if (hasOwnProperty.call(moduleExports, metadata[2]))\n        return moduleExports[metadata[2]];\n    }\n    function prepareDestinationWithChunks(\n      moduleLoading,\n      chunks,\n      nonce$jscomp$0\n    ) {\n      if (null !== moduleLoading)\n        for (var i = 1; i < chunks.length; i += 2) {\n          var nonce = nonce$jscomp$0,\n            JSCompiler_temp_const = ReactDOMSharedInternals.d,\n            JSCompiler_temp_const$jscomp$0 = JSCompiler_temp_const.X,\n            JSCompiler_temp_const$jscomp$1 = moduleLoading.prefix + chunks[i];\n          var JSCompiler_inline_result = moduleLoading.crossOrigin;\n          JSCompiler_inline_result =\n            \"string\" === typeof JSCompiler_inline_result\n              ? \"use-credentials\" === JSCompiler_inline_result\n                ? JSCompiler_inline_result\n                : \"\"\n              : void 0;\n          JSCompiler_temp_const$jscomp$0.call(\n            JSCompiler_temp_const,\n            JSCompiler_temp_const$jscomp$1,\n            {\n              crossOrigin: JSCompiler_inline_result,\n              integrity: void 0,\n              fetchPriority: void 0,\n              nonce: nonce\n            }\n          );\n        }\n    }\n    function getIteratorFn(maybeIterable) {\n      if (null === maybeIterable || \"object\" !== typeof maybeIterable)\n        return null;\n      maybeIterable =\n        (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n        maybeIterable[\"@@iterator\"];\n      return \"function\" === typeof maybeIterable ? maybeIterable : null;\n    }\n    function isObjectPrototype(object) {\n      if (!object) return !1;\n      var ObjectPrototype = Object.prototype;\n      if (object === ObjectPrototype) return !0;\n      if (getPrototypeOf(object)) return !1;\n      object = Object.getOwnPropertyNames(object);\n      for (var i = 0; i < object.length; i++)\n        if (!(object[i] in ObjectPrototype)) return !1;\n      return !0;\n    }\n    function isSimpleObject(object) {\n      if (!isObjectPrototype(getPrototypeOf(object))) return !1;\n      for (\n        var names = Object.getOwnPropertyNames(object), i = 0;\n        i < names.length;\n        i++\n      ) {\n        var descriptor = Object.getOwnPropertyDescriptor(object, names[i]);\n        if (\n          !descriptor ||\n          (!descriptor.enumerable &&\n            ((\"key\" !== names[i] && \"ref\" !== names[i]) ||\n              \"function\" !== typeof descriptor.get))\n        )\n          return !1;\n      }\n      return !0;\n    }\n    function objectName(object) {\n      object = Object.prototype.toString.call(object);\n      return object.slice(8, object.length - 1);\n    }\n    function describeKeyForErrorMessage(key) {\n      var encodedKey = JSON.stringify(key);\n      return '\"' + key + '\"' === encodedKey ? key : encodedKey;\n    }\n    function describeValueForErrorMessage(value) {\n      switch (typeof value) {\n        case \"string\":\n          return JSON.stringify(\n            10 >= value.length ? value : value.slice(0, 10) + \"...\"\n          );\n        case \"object\":\n          if (isArrayImpl(value)) return \"[...]\";\n          if (null !== value && value.$$typeof === CLIENT_REFERENCE_TAG)\n            return \"client\";\n          value = objectName(value);\n          return \"Object\" === value ? \"{...}\" : value;\n        case \"function\":\n          return value.$$typeof === CLIENT_REFERENCE_TAG\n            ? \"client\"\n            : (value = value.displayName || value.name)\n              ? \"function \" + value\n              : \"function\";\n        default:\n          return String(value);\n      }\n    }\n    function describeElementType(type) {\n      if (\"string\" === typeof type) return type;\n      switch (type) {\n        case REACT_SUSPENSE_TYPE:\n          return \"Suspense\";\n        case REACT_SUSPENSE_LIST_TYPE:\n          return \"SuspenseList\";\n        case REACT_VIEW_TRANSITION_TYPE:\n          return \"ViewTransition\";\n      }\n      if (\"object\" === typeof type)\n        switch (type.$$typeof) {\n          case REACT_FORWARD_REF_TYPE:\n            return describeElementType(type.render);\n          case REACT_MEMO_TYPE:\n            return describeElementType(type.type);\n          case REACT_LAZY_TYPE:\n            var payload = type._payload;\n            type = type._init;\n            try {\n              return describeElementType(type(payload));\n            } catch (x) {}\n        }\n      return \"\";\n    }\n    function describeObjectForErrorMessage(objectOrArray, expandedName) {\n      var objKind = objectName(objectOrArray);\n      if (\"Object\" !== objKind && \"Array\" !== objKind) return objKind;\n      var start = -1,\n        length = 0;\n      if (isArrayImpl(objectOrArray))\n        if (jsxChildrenParents.has(objectOrArray)) {\n          var type = jsxChildrenParents.get(objectOrArray);\n          objKind = \"<\" + describeElementType(type) + \">\";\n          for (var i = 0; i < objectOrArray.length; i++) {\n            var value = objectOrArray[i];\n            value =\n              \"string\" === typeof value\n                ? value\n                : \"object\" === typeof value && null !== value\n                  ? \"{\" + describeObjectForErrorMessage(value) + \"}\"\n                  : \"{\" + describeValueForErrorMessage(value) + \"}\";\n            \"\" + i === expandedName\n              ? ((start = objKind.length),\n                (length = value.length),\n                (objKind += value))\n              : (objKind =\n                  15 > value.length && 40 > objKind.length + value.length\n                    ? objKind + value\n                    : objKind + \"{...}\");\n          }\n          objKind += \"</\" + describeElementType(type) + \">\";\n        } else {\n          objKind = \"[\";\n          for (type = 0; type < objectOrArray.length; type++)\n            0 < type && (objKind += \", \"),\n              (i = objectOrArray[type]),\n              (i =\n                \"object\" === typeof i && null !== i\n                  ? describeObjectForErrorMessage(i)\n                  : describeValueForErrorMessage(i)),\n              \"\" + type === expandedName\n                ? ((start = objKind.length),\n                  (length = i.length),\n                  (objKind += i))\n                : (objKind =\n                    10 > i.length && 40 > objKind.length + i.length\n                      ? objKind + i\n                      : objKind + \"...\");\n          objKind += \"]\";\n        }\n      else if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE)\n        objKind = \"<\" + describeElementType(objectOrArray.type) + \"/>\";\n      else {\n        if (objectOrArray.$$typeof === CLIENT_REFERENCE_TAG) return \"client\";\n        if (jsxPropsParents.has(objectOrArray)) {\n          objKind = jsxPropsParents.get(objectOrArray);\n          objKind = \"<\" + (describeElementType(objKind) || \"...\");\n          type = Object.keys(objectOrArray);\n          for (i = 0; i < type.length; i++) {\n            objKind += \" \";\n            value = type[i];\n            objKind += describeKeyForErrorMessage(value) + \"=\";\n            var _value2 = objectOrArray[value];\n            var _substr2 =\n              value === expandedName &&\n              \"object\" === typeof _value2 &&\n              null !== _value2\n                ? describeObjectForErrorMessage(_value2)\n                : describeValueForErrorMessage(_value2);\n            \"string\" !== typeof _value2 && (_substr2 = \"{\" + _substr2 + \"}\");\n            value === expandedName\n              ? ((start = objKind.length),\n                (length = _substr2.length),\n                (objKind += _substr2))\n              : (objKind =\n                  10 > _substr2.length && 40 > objKind.length + _substr2.length\n                    ? objKind + _substr2\n                    : objKind + \"...\");\n          }\n          objKind += \">\";\n        } else {\n          objKind = \"{\";\n          type = Object.keys(objectOrArray);\n          for (i = 0; i < type.length; i++)\n            0 < i && (objKind += \", \"),\n              (value = type[i]),\n              (objKind += describeKeyForErrorMessage(value) + \": \"),\n              (_value2 = objectOrArray[value]),\n              (_value2 =\n                \"object\" === typeof _value2 && null !== _value2\n                  ? describeObjectForErrorMessage(_value2)\n                  : describeValueForErrorMessage(_value2)),\n              value === expandedName\n                ? ((start = objKind.length),\n                  (length = _value2.length),\n                  (objKind += _value2))\n                : (objKind =\n                    10 > _value2.length && 40 > objKind.length + _value2.length\n                      ? objKind + _value2\n                      : objKind + \"...\");\n          objKind += \"}\";\n        }\n      }\n      return void 0 === expandedName\n        ? objKind\n        : -1 < start && 0 < length\n          ? ((objectOrArray = \" \".repeat(start) + \"^\".repeat(length)),\n            \"\\n  \" + objKind + \"\\n  \" + objectOrArray)\n          : \"\\n  \" + objKind;\n    }\n    function serializeNumber(number) {\n      return Number.isFinite(number)\n        ? 0 === number && -Infinity === 1 / number\n          ? \"$-0\"\n          : number\n        : Infinity === number\n          ? \"$Infinity\"\n          : -Infinity === number\n            ? \"$-Infinity\"\n            : \"$NaN\";\n    }\n    function processReply(\n      root,\n      formFieldPrefix,\n      temporaryReferences,\n      resolve,\n      reject\n    ) {\n      function serializeTypedArray(tag, typedArray) {\n        typedArray = new Blob([\n          new Uint8Array(\n            typedArray.buffer,\n            typedArray.byteOffset,\n            typedArray.byteLength\n          )\n        ]);\n        var blobId = nextPartId++;\n        null === formData && (formData = new FormData());\n        formData.append(formFieldPrefix + blobId, typedArray);\n        return \"$\" + tag + blobId.toString(16);\n      }\n      function serializeBinaryReader(reader) {\n        function progress(entry) {\n          entry.done\n            ? ((entry = nextPartId++),\n              data.append(formFieldPrefix + entry, new Blob(buffer)),\n              data.append(\n                formFieldPrefix + streamId,\n                '\"$o' + entry.toString(16) + '\"'\n              ),\n              data.append(formFieldPrefix + streamId, \"C\"),\n              pendingParts--,\n              0 === pendingParts && resolve(data))\n            : (buffer.push(entry.value),\n              reader.read(new Uint8Array(1024)).then(progress, reject));\n        }\n        null === formData && (formData = new FormData());\n        var data = formData;\n        pendingParts++;\n        var streamId = nextPartId++,\n          buffer = [];\n        reader.read(new Uint8Array(1024)).then(progress, reject);\n        return \"$r\" + streamId.toString(16);\n      }\n      function serializeReader(reader) {\n        function progress(entry) {\n          if (entry.done)\n            data.append(formFieldPrefix + streamId, \"C\"),\n              pendingParts--,\n              0 === pendingParts && resolve(data);\n          else\n            try {\n              var partJSON = JSON.stringify(entry.value, resolveToJSON);\n              data.append(formFieldPrefix + streamId, partJSON);\n              reader.read().then(progress, reject);\n            } catch (x) {\n              reject(x);\n            }\n        }\n        null === formData && (formData = new FormData());\n        var data = formData;\n        pendingParts++;\n        var streamId = nextPartId++;\n        reader.read().then(progress, reject);\n        return \"$R\" + streamId.toString(16);\n      }\n      function serializeReadableStream(stream) {\n        try {\n          var binaryReader = stream.getReader({ mode: \"byob\" });\n        } catch (x) {\n          return serializeReader(stream.getReader());\n        }\n        return serializeBinaryReader(binaryReader);\n      }\n      function serializeAsyncIterable(iterable, iterator) {\n        function progress(entry) {\n          if (entry.done) {\n            if (void 0 === entry.value)\n              data.append(formFieldPrefix + streamId, \"C\");\n            else\n              try {\n                var partJSON = JSON.stringify(entry.value, resolveToJSON);\n                data.append(formFieldPrefix + streamId, \"C\" + partJSON);\n              } catch (x) {\n                reject(x);\n                return;\n              }\n            pendingParts--;\n            0 === pendingParts && resolve(data);\n          } else\n            try {\n              var _partJSON = JSON.stringify(entry.value, resolveToJSON);\n              data.append(formFieldPrefix + streamId, _partJSON);\n              iterator.next().then(progress, reject);\n            } catch (x$0) {\n              reject(x$0);\n            }\n        }\n        null === formData && (formData = new FormData());\n        var data = formData;\n        pendingParts++;\n        var streamId = nextPartId++;\n        iterable = iterable === iterator;\n        iterator.next().then(progress, reject);\n        return \"$\" + (iterable ? \"x\" : \"X\") + streamId.toString(16);\n      }\n      function resolveToJSON(key, value) {\n        \"__proto__\" === key &&\n          console.error(\n            \"Expected not to serialize an object with own property `__proto__`. When parsed this property will be omitted.%s\",\n            describeObjectForErrorMessage(this, key)\n          );\n        var originalValue = this[key];\n        \"object\" !== typeof originalValue ||\n          originalValue === value ||\n          originalValue instanceof Date ||\n          (\"Object\" !== objectName(originalValue)\n            ? console.error(\n                \"Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s\",\n                objectName(originalValue),\n                describeObjectForErrorMessage(this, key)\n              )\n            : console.error(\n                \"Only plain objects can be passed to Server Functions from the Client. Objects with toJSON methods are not supported. Convert it manually to a simple value before passing it to props.%s\",\n                describeObjectForErrorMessage(this, key)\n              ));\n        if (null === value) return null;\n        if (\"object\" === typeof value) {\n          switch (value.$$typeof) {\n            case REACT_ELEMENT_TYPE:\n              if (void 0 !== temporaryReferences && -1 === key.indexOf(\":\")) {\n                var parentReference = writtenObjects.get(this);\n                if (void 0 !== parentReference)\n                  return (\n                    temporaryReferences.set(parentReference + \":\" + key, value),\n                    \"$T\"\n                  );\n              }\n              if (void 0 !== temporaryReferences && modelRoot === value)\n                return (modelRoot = null), \"$T\";\n              throw Error(\n                \"React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.\" +\n                  describeObjectForErrorMessage(this, key)\n              );\n            case REACT_LAZY_TYPE:\n              originalValue = value._payload;\n              var init = value._init;\n              null === formData && (formData = new FormData());\n              pendingParts++;\n              try {\n                parentReference = init(originalValue);\n                var lazyId = nextPartId++,\n                  partJSON = serializeModel(parentReference, lazyId);\n                formData.append(formFieldPrefix + lazyId, partJSON);\n                return \"$\" + lazyId.toString(16);\n              } catch (x) {\n                if (\n                  \"object\" === typeof x &&\n                  null !== x &&\n                  \"function\" === typeof x.then\n                ) {\n                  pendingParts++;\n                  var _lazyId = nextPartId++;\n                  parentReference = function () {\n                    try {\n                      var _partJSON2 = serializeModel(value, _lazyId),\n                        _data = formData;\n                      _data.append(formFieldPrefix + _lazyId, _partJSON2);\n                      pendingParts--;\n                      0 === pendingParts && resolve(_data);\n                    } catch (reason) {\n                      reject(reason);\n                    }\n                  };\n                  x.then(parentReference, parentReference);\n                  return \"$\" + _lazyId.toString(16);\n                }\n                reject(x);\n                return null;\n              } finally {\n                pendingParts--;\n              }\n          }\n          parentReference = writtenObjects.get(value);\n          if (\"function\" === typeof value.then) {\n            if (void 0 !== parentReference)\n              if (modelRoot === value) modelRoot = null;\n              else return parentReference;\n            null === formData && (formData = new FormData());\n            pendingParts++;\n            var promiseId = nextPartId++;\n            key = \"$@\" + promiseId.toString(16);\n            writtenObjects.set(value, key);\n            value.then(function (partValue) {\n              try {\n                var previousReference = writtenObjects.get(partValue);\n                var _partJSON3 =\n                  void 0 !== previousReference\n                    ? JSON.stringify(previousReference)\n                    : serializeModel(partValue, promiseId);\n                partValue = formData;\n                partValue.append(formFieldPrefix + promiseId, _partJSON3);\n                pendingParts--;\n                0 === pendingParts && resolve(partValue);\n              } catch (reason) {\n                reject(reason);\n              }\n            }, reject);\n            return key;\n          }\n          if (void 0 !== parentReference)\n            if (modelRoot === value) modelRoot = null;\n            else return parentReference;\n          else\n            -1 === key.indexOf(\":\") &&\n              ((parentReference = writtenObjects.get(this)),\n              void 0 !== parentReference &&\n                ((parentReference = parentReference + \":\" + key),\n                writtenObjects.set(value, parentReference),\n                void 0 !== temporaryReferences &&\n                  temporaryReferences.set(parentReference, value)));\n          if (isArrayImpl(value)) return value;\n          if (value instanceof FormData) {\n            null === formData && (formData = new FormData());\n            var _data3 = formData;\n            key = nextPartId++;\n            var prefix = formFieldPrefix + \"_\" + key + \"_\";\n            value.forEach(function (originalValue, originalKey) {\n              _data3.append(prefix + originalKey, originalValue);\n            });\n            return \"$K\" + key.toString(16);\n          }\n          if (value instanceof Map)\n            return (\n              (key = nextPartId++),\n              (parentReference = serializeModel(Array.from(value), key)),\n              null === formData && (formData = new FormData()),\n              formData.append(formFieldPrefix + key, parentReference),\n              \"$Q\" + key.toString(16)\n            );\n          if (value instanceof Set)\n            return (\n              (key = nextPartId++),\n              (parentReference = serializeModel(Array.from(value), key)),\n              null === formData && (formData = new FormData()),\n              formData.append(formFieldPrefix + key, parentReference),\n              \"$W\" + key.toString(16)\n            );\n          if (value instanceof ArrayBuffer)\n            return (\n              (key = new Blob([value])),\n              (parentReference = nextPartId++),\n              null === formData && (formData = new FormData()),\n              formData.append(formFieldPrefix + parentReference, key),\n              \"$A\" + parentReference.toString(16)\n            );\n          if (value instanceof Int8Array)\n            return serializeTypedArray(\"O\", value);\n          if (value instanceof Uint8Array)\n            return serializeTypedArray(\"o\", value);\n          if (value instanceof Uint8ClampedArray)\n            return serializeTypedArray(\"U\", value);\n          if (value instanceof Int16Array)\n            return serializeTypedArray(\"S\", value);\n          if (value instanceof Uint16Array)\n            return serializeTypedArray(\"s\", value);\n          if (value instanceof Int32Array)\n            return serializeTypedArray(\"L\", value);\n          if (value instanceof Uint32Array)\n            return serializeTypedArray(\"l\", value);\n          if (value instanceof Float32Array)\n            return serializeTypedArray(\"G\", value);\n          if (value instanceof Float64Array)\n            return serializeTypedArray(\"g\", value);\n          if (value instanceof BigInt64Array)\n            return serializeTypedArray(\"M\", value);\n          if (value instanceof BigUint64Array)\n            return serializeTypedArray(\"m\", value);\n          if (value instanceof DataView) return serializeTypedArray(\"V\", value);\n          if (\"function\" === typeof Blob && value instanceof Blob)\n            return (\n              null === formData && (formData = new FormData()),\n              (key = nextPartId++),\n              formData.append(formFieldPrefix + key, value),\n              \"$B\" + key.toString(16)\n            );\n          if ((parentReference = getIteratorFn(value)))\n            return (\n              (parentReference = parentReference.call(value)),\n              parentReference === value\n                ? ((key = nextPartId++),\n                  (parentReference = serializeModel(\n                    Array.from(parentReference),\n                    key\n                  )),\n                  null === formData && (formData = new FormData()),\n                  formData.append(formFieldPrefix + key, parentReference),\n                  \"$i\" + key.toString(16))\n                : Array.from(parentReference)\n            );\n          if (\n            \"function\" === typeof ReadableStream &&\n            value instanceof ReadableStream\n          )\n            return serializeReadableStream(value);\n          parentReference = value[ASYNC_ITERATOR];\n          if (\"function\" === typeof parentReference)\n            return serializeAsyncIterable(value, parentReference.call(value));\n          parentReference = getPrototypeOf(value);\n          if (\n            parentReference !== ObjectPrototype$1 &&\n            (null === parentReference ||\n              null !== getPrototypeOf(parentReference))\n          ) {\n            if (void 0 === temporaryReferences)\n              throw Error(\n                \"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.\" +\n                  describeObjectForErrorMessage(this, key)\n              );\n            return \"$T\";\n          }\n          value.$$typeof === REACT_CONTEXT_TYPE\n            ? console.error(\n                \"React Context Providers cannot be passed to Server Functions from the Client.%s\",\n                describeObjectForErrorMessage(this, key)\n              )\n            : \"Object\" !== objectName(value)\n              ? console.error(\n                  \"Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s\",\n                  objectName(value),\n                  describeObjectForErrorMessage(this, key)\n                )\n              : isSimpleObject(value)\n                ? Object.getOwnPropertySymbols &&\n                  ((parentReference = Object.getOwnPropertySymbols(value)),\n                  0 < parentReference.length &&\n                    console.error(\n                      \"Only plain objects can be passed to Server Functions from the Client. Objects with symbol properties like %s are not supported.%s\",\n                      parentReference[0].description,\n                      describeObjectForErrorMessage(this, key)\n                    ))\n                : console.error(\n                    \"Only plain objects can be passed to Server Functions from the Client. Classes or other objects with methods are not supported.%s\",\n                    describeObjectForErrorMessage(this, key)\n                  );\n          return value;\n        }\n        if (\"string\" === typeof value) {\n          if (\"Z\" === value[value.length - 1] && this[key] instanceof Date)\n            return \"$D\" + value;\n          key = \"$\" === value[0] ? \"$\" + value : value;\n          return key;\n        }\n        if (\"boolean\" === typeof value) return value;\n        if (\"number\" === typeof value) return serializeNumber(value);\n        if (\"undefined\" === typeof value) return \"$undefined\";\n        if (\"function\" === typeof value) {\n          parentReference = knownServerReferences.get(value);\n          if (void 0 !== parentReference) {\n            key = writtenObjects.get(value);\n            if (void 0 !== key) return key;\n            key = JSON.stringify(\n              { id: parentReference.id, bound: parentReference.bound },\n              resolveToJSON\n            );\n            null === formData && (formData = new FormData());\n            parentReference = nextPartId++;\n            formData.set(formFieldPrefix + parentReference, key);\n            key = \"$h\" + parentReference.toString(16);\n            writtenObjects.set(value, key);\n            return key;\n          }\n          if (\n            void 0 !== temporaryReferences &&\n            -1 === key.indexOf(\":\") &&\n            ((parentReference = writtenObjects.get(this)),\n            void 0 !== parentReference)\n          )\n            return (\n              temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n            );\n          throw Error(\n            \"Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.\"\n          );\n        }\n        if (\"symbol\" === typeof value) {\n          if (\n            void 0 !== temporaryReferences &&\n            -1 === key.indexOf(\":\") &&\n            ((parentReference = writtenObjects.get(this)),\n            void 0 !== parentReference)\n          )\n            return (\n              temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n            );\n          throw Error(\n            \"Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.\" +\n              describeObjectForErrorMessage(this, key)\n          );\n        }\n        if (\"bigint\" === typeof value) return \"$n\" + value.toString(10);\n        throw Error(\n          \"Type \" +\n            typeof value +\n            \" is not supported as an argument to a Server Function.\"\n        );\n      }\n      function serializeModel(model, id) {\n        \"object\" === typeof model &&\n          null !== model &&\n          ((id = \"$\" + id.toString(16)),\n          writtenObjects.set(model, id),\n          void 0 !== temporaryReferences && temporaryReferences.set(id, model));\n        modelRoot = model;\n        return JSON.stringify(model, resolveToJSON);\n      }\n      var nextPartId = 1,\n        pendingParts = 0,\n        formData = null,\n        writtenObjects = new WeakMap(),\n        modelRoot = root;\n      checkEvalAvailabilityOnceDev();\n      var json = serializeModel(root, 0);\n      null === formData\n        ? resolve(json)\n        : (formData.set(formFieldPrefix + \"0\", json),\n          0 === pendingParts && resolve(formData));\n      return function () {\n        0 < pendingParts &&\n          ((pendingParts = 0),\n          null === formData ? resolve(json) : resolve(formData));\n      };\n    }\n    function encodeFormData(reference) {\n      var resolve,\n        reject,\n        thenable = new Promise(function (res, rej) {\n          resolve = res;\n          reject = rej;\n        });\n      processReply(\n        reference,\n        \"\",\n        void 0,\n        function (body) {\n          if (\"string\" === typeof body) {\n            var data = new FormData();\n            data.append(\"0\", body);\n            body = data;\n          }\n          thenable.status = \"fulfilled\";\n          thenable.value = body;\n          resolve(body);\n        },\n        function (e) {\n          thenable.status = \"rejected\";\n          thenable.reason = e;\n          reject(e);\n        }\n      );\n      return thenable;\n    }\n    function defaultEncodeFormAction(identifierPrefix) {\n      var referenceClosure = knownServerReferences.get(this);\n      if (!referenceClosure)\n        throw Error(\n          \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n        );\n      var data = null;\n      if (null !== referenceClosure.bound) {\n        data = boundCache.get(referenceClosure);\n        data ||\n          ((data = encodeFormData({\n            id: referenceClosure.id,\n            bound: referenceClosure.bound\n          })),\n          boundCache.set(referenceClosure, data));\n        if (\"rejected\" === data.status) throw data.reason;\n        if (\"fulfilled\" !== data.status) throw data;\n        referenceClosure = data.value;\n        var prefixedData = new FormData();\n        referenceClosure.forEach(function (value, key) {\n          prefixedData.append(\"$ACTION_\" + identifierPrefix + \":\" + key, value);\n        });\n        data = prefixedData;\n        referenceClosure = \"$ACTION_REF_\" + identifierPrefix;\n      } else referenceClosure = \"$ACTION_ID_\" + referenceClosure.id;\n      return {\n        name: referenceClosure,\n        method: \"POST\",\n        encType: \"multipart/form-data\",\n        data: data\n      };\n    }\n    function isSignatureEqual(referenceId, numberOfBoundArgs) {\n      var referenceClosure = knownServerReferences.get(this);\n      if (!referenceClosure)\n        throw Error(\n          \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n        );\n      if (referenceClosure.id !== referenceId) return !1;\n      var boundPromise = referenceClosure.bound;\n      if (null === boundPromise) return 0 === numberOfBoundArgs;\n      switch (boundPromise.status) {\n        case \"fulfilled\":\n          return boundPromise.value.length === numberOfBoundArgs;\n        case \"pending\":\n          throw boundPromise;\n        case \"rejected\":\n          throw boundPromise.reason;\n        default:\n          throw (\n            (\"string\" !== typeof boundPromise.status &&\n              ((boundPromise.status = \"pending\"),\n              boundPromise.then(\n                function (boundArgs) {\n                  boundPromise.status = \"fulfilled\";\n                  boundPromise.value = boundArgs;\n                },\n                function (error) {\n                  boundPromise.status = \"rejected\";\n                  boundPromise.reason = error;\n                }\n              )),\n            boundPromise)\n          );\n      }\n    }\n    function createFakeServerFunction(\n      name,\n      filename,\n      sourceMap,\n      line,\n      col,\n      environmentName,\n      innerFunction\n    ) {\n      name || (name = \"<anonymous>\");\n      var encodedName = JSON.stringify(name);\n      1 >= line\n        ? ((line = encodedName.length + 7),\n          (col =\n            \"s=>({\" +\n            encodedName +\n            \" \".repeat(col < line ? 0 : col - line) +\n            \":(...args) => s(...args)})\\n/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */\"))\n        : (col =\n            \"/* This module is a proxy to a Server Action. Turn on Source Maps to see the server source. */\" +\n            \"\\n\".repeat(line - 2) +\n            \"server=>({\" +\n            encodedName +\n            \":\\n\" +\n            \" \".repeat(1 > col ? 0 : col - 1) +\n            \"(...args) => server(...args)})\");\n      filename.startsWith(\"/\") && (filename = \"file://\" + filename);\n      sourceMap\n        ? ((col +=\n            \"\\n//# sourceURL=about://React/\" +\n            encodeURIComponent(environmentName) +\n            \"/\" +\n            encodeURI(filename) +\n            \"?s\" +\n            fakeServerFunctionIdx++),\n          (col += \"\\n//# sourceMappingURL=\" + sourceMap))\n        : filename && (col += \"\\n//# sourceURL=\" + filename);\n      try {\n        return (0, eval)(col)(innerFunction)[name];\n      } catch (x) {\n        return innerFunction;\n      }\n    }\n    function registerBoundServerReference(\n      reference,\n      id,\n      bound,\n      encodeFormAction\n    ) {\n      knownServerReferences.has(reference) ||\n        (knownServerReferences.set(reference, {\n          id: id,\n          originalBind: reference.bind,\n          bound: bound\n        }),\n        Object.defineProperties(reference, {\n          $$FORM_ACTION: {\n            value:\n              void 0 === encodeFormAction\n                ? defaultEncodeFormAction\n                : function () {\n                    var referenceClosure = knownServerReferences.get(this);\n                    if (!referenceClosure)\n                      throw Error(\n                        \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n                      );\n                    var boundPromise = referenceClosure.bound;\n                    null === boundPromise &&\n                      (boundPromise = Promise.resolve([]));\n                    return encodeFormAction(referenceClosure.id, boundPromise);\n                  }\n          },\n          $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },\n          bind: { value: bind }\n        }));\n    }\n    function bind() {\n      var referenceClosure = knownServerReferences.get(this);\n      if (!referenceClosure) return FunctionBind.apply(this, arguments);\n      var newFn = referenceClosure.originalBind.apply(this, arguments);\n      null != arguments[0] &&\n        console.error(\n          'Cannot bind \"this\" of a Server Action. Pass null or undefined as the first argument to .bind().'\n        );\n      var args = ArraySlice.call(arguments, 1),\n        boundPromise = null;\n      boundPromise =\n        null !== referenceClosure.bound\n          ? Promise.resolve(referenceClosure.bound).then(function (boundArgs) {\n              return boundArgs.concat(args);\n            })\n          : Promise.resolve(args);\n      knownServerReferences.set(newFn, {\n        id: referenceClosure.id,\n        originalBind: newFn.bind,\n        bound: boundPromise\n      });\n      Object.defineProperties(newFn, {\n        $$FORM_ACTION: { value: this.$$FORM_ACTION },\n        $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },\n        bind: { value: bind }\n      });\n      return newFn;\n    }\n    function createBoundServerReference(\n      metaData,\n      callServer,\n      encodeFormAction,\n      findSourceMapURL\n    ) {\n      function action() {\n        var args = Array.prototype.slice.call(arguments);\n        return bound\n          ? \"fulfilled\" === bound.status\n            ? callServer(id, bound.value.concat(args))\n            : Promise.resolve(bound).then(function (boundArgs) {\n                return callServer(id, boundArgs.concat(args));\n              })\n          : callServer(id, args);\n      }\n      var id = metaData.id,\n        bound = metaData.bound,\n        location = metaData.location;\n      if (location) {\n        var functionName = metaData.name || \"\",\n          filename = location[1],\n          line = location[2];\n        location = location[3];\n        metaData = metaData.env || \"Server\";\n        findSourceMapURL =\n          null == findSourceMapURL\n            ? null\n            : findSourceMapURL(filename, metaData);\n        action = createFakeServerFunction(\n          functionName,\n          filename,\n          findSourceMapURL,\n          line,\n          location,\n          metaData,\n          action\n        );\n      }\n      registerBoundServerReference(action, id, bound, encodeFormAction);\n      return action;\n    }\n    function parseStackLocation(error) {\n      error = error.stack;\n      error.startsWith(\"Error: react-stack-top-frame\\n\") &&\n        (error = error.slice(29));\n      var endOfFirst = error.indexOf(\"\\n\");\n      if (-1 !== endOfFirst) {\n        var endOfSecond = error.indexOf(\"\\n\", endOfFirst + 1);\n        endOfFirst =\n          -1 === endOfSecond\n            ? error.slice(endOfFirst + 1)\n            : error.slice(endOfFirst + 1, endOfSecond);\n      } else endOfFirst = error;\n      error = v8FrameRegExp.exec(endOfFirst);\n      if (\n        !error &&\n        ((error = jscSpiderMonkeyFrameRegExp.exec(endOfFirst)), !error)\n      )\n        return null;\n      endOfFirst = error[1] || \"\";\n      \"<anonymous>\" === endOfFirst && (endOfFirst = \"\");\n      endOfSecond = error[2] || error[5] || \"\";\n      \"<anonymous>\" === endOfSecond && (endOfSecond = \"\");\n      return [\n        endOfFirst,\n        endOfSecond,\n        +(error[3] || error[6]),\n        +(error[4] || error[7])\n      ];\n    }\n    function createServerReference$1(\n      id,\n      callServer,\n      encodeFormAction,\n      findSourceMapURL,\n      functionName\n    ) {\n      function action() {\n        var args = Array.prototype.slice.call(arguments);\n        return callServer(id, args);\n      }\n      var location = parseStackLocation(Error(\"react-stack-top-frame\"));\n      if (null !== location) {\n        var filename = location[1],\n          line = location[2];\n        location = location[3];\n        findSourceMapURL =\n          null == findSourceMapURL\n            ? null\n            : findSourceMapURL(filename, \"Client\");\n        action = createFakeServerFunction(\n          functionName || \"\",\n          filename,\n          findSourceMapURL,\n          line,\n          location,\n          \"Client\",\n          action\n        );\n      }\n      registerBoundServerReference(action, id, null, encodeFormAction);\n      return action;\n    }\n    function getComponentNameFromType(type) {\n      if (null == type) return null;\n      if (\"function\" === typeof type)\n        return type.$$typeof === REACT_CLIENT_REFERENCE\n          ? null\n          : type.displayName || type.name || null;\n      if (\"string\" === typeof type) return type;\n      switch (type) {\n        case REACT_FRAGMENT_TYPE:\n          return \"Fragment\";\n        case REACT_PROFILER_TYPE:\n          return \"Profiler\";\n        case REACT_STRICT_MODE_TYPE:\n          return \"StrictMode\";\n        case REACT_SUSPENSE_TYPE:\n          return \"Suspense\";\n        case REACT_SUSPENSE_LIST_TYPE:\n          return \"SuspenseList\";\n        case REACT_ACTIVITY_TYPE:\n          return \"Activity\";\n        case REACT_VIEW_TRANSITION_TYPE:\n          return \"ViewTransition\";\n      }\n      if (\"object\" === typeof type)\n        switch (\n          (\"number\" === typeof type.tag &&\n            console.error(\n              \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n            ),\n          type.$$typeof)\n        ) {\n          case REACT_PORTAL_TYPE:\n            return \"Portal\";\n          case REACT_CONTEXT_TYPE:\n            return type.displayName || \"Context\";\n          case REACT_CONSUMER_TYPE:\n            return (type._context.displayName || \"Context\") + \".Consumer\";\n          case REACT_FORWARD_REF_TYPE:\n            var innerType = type.render;\n            type = type.displayName;\n            type ||\n              ((type = innerType.displayName || innerType.name || \"\"),\n              (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n            return type;\n          case REACT_MEMO_TYPE:\n            return (\n              (innerType = type.displayName || null),\n              null !== innerType\n                ? innerType\n                : getComponentNameFromType(type.type) || \"Memo\"\n            );\n          case REACT_LAZY_TYPE:\n            innerType = type._payload;\n            type = type._init;\n            try {\n              return getComponentNameFromType(type(innerType));\n            } catch (x) {}\n        }\n      return null;\n    }\n    function getArrayKind(array) {\n      for (var kind = 0, i = 0; i < array.length && 100 > i; i++) {\n        var value = array[i];\n        if (\"object\" === typeof value && null !== value)\n          if (\n            isArrayImpl(value) &&\n            2 === value.length &&\n            \"string\" === typeof value[0]\n          ) {\n            if (0 !== kind && 3 !== kind) return 1;\n            kind = 3;\n          } else return 1;\n        else {\n          if (\n            \"function\" === typeof value ||\n            (\"string\" === typeof value && 50 < value.length) ||\n            (0 !== kind && 2 !== kind) ||\n            \"bigint\" === typeof value\n          )\n            return 1;\n          kind = 2;\n        }\n      }\n      return kind;\n    }\n    function addObjectToProperties(object, properties, indent, prefix) {\n      if (!ArrayBuffer.isView(object)) {\n        var addedProperties = 0,\n          key;\n        for (key in object)\n          if (\n            hasOwnProperty.call(object, key) &&\n            \"_\" !== key[0] &&\n            (addedProperties++,\n            addValueToProperties(key, object[key], properties, indent, prefix),\n            100 <= addedProperties)\n          ) {\n            properties.push([\n              prefix +\n                \"\\u00a0\\u00a0\".repeat(indent) +\n                \"Only 100 properties are shown. React will not log more properties of this object.\",\n              \"\"\n            ]);\n            break;\n          }\n      }\n    }\n    function addValueToProperties(\n      propertyName,\n      value,\n      properties,\n      indent,\n      prefix\n    ) {\n      switch (typeof value) {\n        case \"object\":\n          if (null === value) {\n            value = \"null\";\n            break;\n          } else {\n            if (\n              (\"$$typeof\" in value && hasOwnProperty.call(value, \"$$typeof\")\n                ? value.$$typeof\n                : void 0) === REACT_ELEMENT_TYPE\n            ) {\n              var typeName = getComponentNameFromType(value.type) || \"\\u2026\",\n                key = value.key;\n              value = value.props;\n              var propsKeys = Object.keys(value),\n                propsLength = propsKeys.length;\n              if (null == key && 0 === propsLength) {\n                value = \"<\" + typeName + \" />\";\n                break;\n              }\n              if (\n                3 > indent ||\n                (1 === propsLength &&\n                  \"children\" === propsKeys[0] &&\n                  null == key)\n              ) {\n                value = \"<\" + typeName + \" \\u2026 />\";\n                break;\n              }\n              properties.push([\n                prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n                \"<\" + typeName\n              ]);\n              null !== key &&\n                addValueToProperties(\n                  \"key\",\n                  key,\n                  properties,\n                  indent + 1,\n                  prefix\n                );\n              propertyName = !1;\n              key = 0;\n              for (var propKey in value)\n                if (\n                  (key++,\n                  \"children\" === propKey\n                    ? null != value.children &&\n                      (!isArrayImpl(value.children) ||\n                        0 < value.children.length) &&\n                      (propertyName = !0)\n                    : hasOwnProperty.call(value, propKey) &&\n                      \"_\" !== propKey[0] &&\n                      addValueToProperties(\n                        propKey,\n                        value[propKey],\n                        properties,\n                        indent + 1,\n                        prefix\n                      ),\n                  100 <= key)\n                )\n                  break;\n              properties.push([\n                \"\",\n                propertyName ? \">\\u2026</\" + typeName + \">\" : \"/>\"\n              ]);\n              return;\n            }\n            typeName = Object.prototype.toString.call(value);\n            typeName = typeName.slice(8, typeName.length - 1);\n            if (ArrayBuffer.isView(value)) {\n              value = value.length;\n              value =\n                \"number\" === typeof value\n                  ? typeName + \"(\" + value + \")\"\n                  : typeName;\n              break;\n            }\n            if (\"Array\" === typeName)\n              if (\n                ((propKey = 100 < value.length),\n                (key = getArrayKind(value)),\n                2 === key || 0 === key)\n              ) {\n                value = JSON.stringify(\n                  propKey ? value.slice(0, 100).concat(\"\\u2026\") : value\n                );\n                break;\n              } else if (3 === key) {\n                properties.push([\n                  prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n                  \"\"\n                ]);\n                for (\n                  propertyName = 0;\n                  propertyName < value.length && 100 > propertyName;\n                  propertyName++\n                )\n                  (typeName = value[propertyName]),\n                    addValueToProperties(\n                      typeName[0],\n                      typeName[1],\n                      properties,\n                      indent + 1,\n                      prefix\n                    );\n                propKey &&\n                  addValueToProperties(\n                    (100).toString(),\n                    \"\\u2026\",\n                    properties,\n                    indent + 1,\n                    prefix\n                  );\n                return;\n              }\n            if (\"Promise\" === typeName) {\n              if (\"fulfilled\" === value.status) {\n                if (\n                  ((typeName = properties.length),\n                  addValueToProperties(\n                    propertyName,\n                    value.value,\n                    properties,\n                    indent,\n                    prefix\n                  ),\n                  properties.length > typeName)\n                ) {\n                  properties = properties[typeName];\n                  properties[1] =\n                    \"Promise<\" + (properties[1] || \"Object\") + \">\";\n                  return;\n                }\n              } else if (\n                \"rejected\" === value.status &&\n                ((typeName = properties.length),\n                addValueToProperties(\n                  propertyName,\n                  value.reason,\n                  properties,\n                  indent,\n                  prefix\n                ),\n                properties.length > typeName)\n              ) {\n                properties = properties[typeName];\n                properties[1] = \"Rejected Promise<\" + properties[1] + \">\";\n                return;\n              }\n              properties.push([\n                \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n                \"Promise\"\n              ]);\n              return;\n            }\n            \"Object\" === typeName &&\n              (propKey = Object.getPrototypeOf(value)) &&\n              \"function\" === typeof propKey.constructor &&\n              (typeName = propKey.constructor.name);\n            properties.push([\n              prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n              \"Object\" === typeName ? (3 > indent ? \"\" : \"\\u2026\") : typeName\n            ]);\n            3 > indent &&\n              addObjectToProperties(value, properties, indent + 1, prefix);\n            return;\n          }\n        case \"function\":\n          value = value.name;\n          value =\n            \"\" === value || \"string\" !== typeof value\n              ? \"() => {}\"\n              : value + \"() {}\";\n          break;\n        case \"string\":\n          value =\n            \"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\" ===\n            value\n              ? \"\\u2026\"\n              : JSON.stringify(\n                  1024 <= value.length ? value.slice(0, 1023) + \"\\u2026\" : value\n                );\n          break;\n        case \"undefined\":\n          value = \"undefined\";\n          break;\n        case \"boolean\":\n          value = value ? \"true\" : \"false\";\n          break;\n        default:\n          value = String(value);\n      }\n      properties.push([\n        prefix + \"\\u00a0\\u00a0\".repeat(indent) + propertyName,\n        value\n      ]);\n    }\n    function getIODescription(value) {\n      try {\n        switch (typeof value) {\n          case \"function\":\n            return value.name || \"\";\n          case \"object\":\n            if (null === value) return \"\";\n            if (value instanceof Error) return String(value.message);\n            if (\"string\" === typeof value.url) return value.url;\n            if (\"string\" === typeof value.href) return value.href;\n            if (\"string\" === typeof value.src) return value.src;\n            if (\"string\" === typeof value.currentSrc) return value.currentSrc;\n            if (\"string\" === typeof value.command) return value.command;\n            if (\n              \"object\" === typeof value.request &&\n              null !== value.request &&\n              \"string\" === typeof value.request.url\n            )\n              return value.request.url;\n            if (\n              \"object\" === typeof value.response &&\n              null !== value.response &&\n              \"string\" === typeof value.response.url\n            )\n              return value.response.url;\n            if (\n              \"string\" === typeof value.id ||\n              \"number\" === typeof value.id ||\n              \"bigint\" === typeof value.id\n            )\n              return String(value.id);\n            if (\"string\" === typeof value.name) return value.name;\n            var str = value.toString();\n            return str.startsWith(\"[object \") ||\n              5 > str.length ||\n              500 < str.length\n              ? \"\"\n              : str;\n          case \"string\":\n            return 5 > value.length || 500 < value.length ? \"\" : value;\n          case \"number\":\n          case \"bigint\":\n            return String(value);\n          default:\n            return \"\";\n        }\n      } catch (x) {\n        return \"\";\n      }\n    }\n    function markAllTracksInOrder() {\n      supportsUserTiming &&\n        (console.timeStamp(\n          \"Server Requests Track\",\n          0.001,\n          0.001,\n          \"Server Requests \\u269b\",\n          void 0,\n          \"primary-light\"\n        ),\n        console.timeStamp(\n          \"Server Components Track\",\n          0.001,\n          0.001,\n          \"Primary\",\n          \"Server Components \\u269b\",\n          \"primary-light\"\n        ));\n    }\n    function getIOColor(functionName) {\n      switch (functionName.charCodeAt(0) % 3) {\n        case 0:\n          return \"tertiary-light\";\n        case 1:\n          return \"tertiary\";\n        default:\n          return \"tertiary-dark\";\n      }\n    }\n    function getIOLongName(ioInfo, description, env, rootEnv) {\n      ioInfo = ioInfo.name;\n      description =\n        \"\" === description ? ioInfo : ioInfo + \" (\" + description + \")\";\n      return env === rootEnv || void 0 === env\n        ? description\n        : description + \" [\" + env + \"]\";\n    }\n    function getIOShortName(ioInfo, description, env, rootEnv) {\n      ioInfo = ioInfo.name;\n      env = env === rootEnv || void 0 === env ? \"\" : \" [\" + env + \"]\";\n      var desc = \"\";\n      rootEnv = 30 - ioInfo.length - env.length;\n      if (1 < rootEnv) {\n        var l = description.length;\n        if (0 < l && l <= rootEnv) desc = \" (\" + description + \")\";\n        else if (\n          description.startsWith(\"http://\") ||\n          description.startsWith(\"https://\") ||\n          description.startsWith(\"/\")\n        ) {\n          var queryIdx = description.indexOf(\"?\");\n          -1 === queryIdx && (queryIdx = description.length);\n          47 === description.charCodeAt(queryIdx - 1) && queryIdx--;\n          desc = description.lastIndexOf(\"/\", queryIdx - 1);\n          queryIdx - desc < rootEnv\n            ? (desc = \" (\\u2026\" + description.slice(desc, queryIdx) + \")\")\n            : ((l = description.slice(desc, desc + rootEnv / 2)),\n              (description = description.slice(\n                queryIdx - rootEnv / 2,\n                queryIdx\n              )),\n              (desc =\n                \" (\" +\n                (0 < desc ? \"\\u2026\" : \"\") +\n                l +\n                \"\\u2026\" +\n                description +\n                \")\"));\n        }\n      }\n      return ioInfo + desc + env;\n    }\n    function logComponentAwait(\n      asyncInfo,\n      trackIdx,\n      startTime,\n      endTime,\n      rootEnv,\n      value\n    ) {\n      if (supportsUserTiming && 0 < endTime) {\n        var description = getIODescription(value),\n          name = getIOShortName(\n            asyncInfo.awaited,\n            description,\n            asyncInfo.env,\n            rootEnv\n          ),\n          entryName = \"await \" + name;\n        name = getIOColor(name);\n        var debugTask = asyncInfo.debugTask || asyncInfo.awaited.debugTask;\n        if (debugTask) {\n          var properties = [];\n          \"object\" === typeof value && null !== value\n            ? addObjectToProperties(value, properties, 0, \"\")\n            : void 0 !== value &&\n              addValueToProperties(\"awaited value\", value, properties, 0, \"\");\n          asyncInfo = getIOLongName(\n            asyncInfo.awaited,\n            description,\n            asyncInfo.env,\n            rootEnv\n          );\n          debugTask.run(\n            performance.measure.bind(performance, entryName, {\n              start: 0 > startTime ? 0 : startTime,\n              end: endTime,\n              detail: {\n                devtools: {\n                  color: name,\n                  track: trackNames[trackIdx],\n                  trackGroup: \"Server Components \\u269b\",\n                  properties: properties,\n                  tooltipText: asyncInfo\n                }\n              }\n            })\n          );\n          performance.clearMeasures(entryName);\n        } else\n          console.timeStamp(\n            entryName,\n            0 > startTime ? 0 : startTime,\n            endTime,\n            trackNames[trackIdx],\n            \"Server Components \\u269b\",\n            name\n          );\n      }\n    }\n    function logIOInfoErrored(ioInfo, rootEnv, error) {\n      var startTime = ioInfo.start,\n        endTime = ioInfo.end;\n      if (supportsUserTiming && 0 <= endTime) {\n        var description = getIODescription(error),\n          entryName = getIOShortName(ioInfo, description, ioInfo.env, rootEnv),\n          debugTask = ioInfo.debugTask;\n        entryName = \"\\u200b\" + entryName;\n        debugTask\n          ? ((error = [\n              [\n                \"rejected with\",\n                \"object\" === typeof error &&\n                null !== error &&\n                \"string\" === typeof error.message\n                  ? String(error.message)\n                  : String(error)\n              ]\n            ]),\n            (ioInfo =\n              getIOLongName(ioInfo, description, ioInfo.env, rootEnv) +\n              \" Rejected\"),\n            debugTask.run(\n              performance.measure.bind(performance, entryName, {\n                start: 0 > startTime ? 0 : startTime,\n                end: endTime,\n                detail: {\n                  devtools: {\n                    color: \"error\",\n                    track: \"Server Requests \\u269b\",\n                    properties: error,\n                    tooltipText: ioInfo\n                  }\n                }\n              })\n            ),\n            performance.clearMeasures(entryName))\n          : console.timeStamp(\n              entryName,\n              0 > startTime ? 0 : startTime,\n              endTime,\n              \"Server Requests \\u269b\",\n              void 0,\n              \"error\"\n            );\n      }\n    }\n    function logIOInfo(ioInfo, rootEnv, value) {\n      var startTime = ioInfo.start,\n        endTime = ioInfo.end;\n      if (supportsUserTiming && 0 <= endTime) {\n        var description = getIODescription(value),\n          entryName = getIOShortName(ioInfo, description, ioInfo.env, rootEnv),\n          color = getIOColor(entryName),\n          debugTask = ioInfo.debugTask;\n        entryName = \"\\u200b\" + entryName;\n        if (debugTask) {\n          var properties = [];\n          \"object\" === typeof value && null !== value\n            ? addObjectToProperties(value, properties, 0, \"\")\n            : void 0 !== value &&\n              addValueToProperties(\"Resolved\", value, properties, 0, \"\");\n          ioInfo = getIOLongName(ioInfo, description, ioInfo.env, rootEnv);\n          debugTask.run(\n            performance.measure.bind(performance, entryName, {\n              start: 0 > startTime ? 0 : startTime,\n              end: endTime,\n              detail: {\n                devtools: {\n                  color: color,\n                  track: \"Server Requests \\u269b\",\n                  properties: properties,\n                  tooltipText: ioInfo\n                }\n              }\n            })\n          );\n          performance.clearMeasures(entryName);\n        } else\n          console.timeStamp(\n            entryName,\n            0 > startTime ? 0 : startTime,\n            endTime,\n            \"Server Requests \\u269b\",\n            void 0,\n            color\n          );\n      }\n    }\n    function prepareStackTrace(error, structuredStackTrace) {\n      error = (error.name || \"Error\") + \": \" + (error.message || \"\");\n      for (var i = 0; i < structuredStackTrace.length; i++)\n        error += \"\\n    at \" + structuredStackTrace[i].toString();\n      return error;\n    }\n    function ReactPromise(status, value, reason) {\n      this.status = status;\n      this.value = value;\n      this.reason = reason;\n      this._children = [];\n      this._debugChunk = null;\n      this._debugInfo = [];\n    }\n    function hasGCedResponse(weakResponse) {\n      return void 0 === weakResponse.weak.deref();\n    }\n    function unwrapWeakResponse(weakResponse) {\n      weakResponse = weakResponse.weak.deref();\n      if (void 0 === weakResponse)\n        throw Error(\n          \"We did not expect to receive new data after GC:ing the response.\"\n        );\n      return weakResponse;\n    }\n    function closeDebugChannel(debugChannel) {\n      debugChannel.callback && debugChannel.callback(\"\");\n    }\n    function readChunk(chunk) {\n      switch (chunk.status) {\n        case \"resolved_model\":\n          initializeModelChunk(chunk);\n          break;\n        case \"resolved_module\":\n          initializeModuleChunk(chunk);\n      }\n      switch (chunk.status) {\n        case \"fulfilled\":\n          return chunk.value;\n        case \"pending\":\n        case \"blocked\":\n        case \"halted\":\n          throw chunk;\n        default:\n          throw chunk.reason;\n      }\n    }\n    function getRoot(weakResponse) {\n      weakResponse = unwrapWeakResponse(weakResponse);\n      return getChunk(weakResponse, 0);\n    }\n    function createPendingChunk(response) {\n      0 === response._pendingChunks++ &&\n        ((response._weakResponse.response = response),\n        null !== response._pendingInitialRender &&\n          (clearTimeout(response._pendingInitialRender),\n          (response._pendingInitialRender = null)));\n      return new ReactPromise(\"pending\", null, null);\n    }\n    function releasePendingChunk(response, chunk) {\n      \"pending\" === chunk.status &&\n        0 === --response._pendingChunks &&\n        ((response._weakResponse.response = null),\n        (response._pendingInitialRender = setTimeout(\n          flushInitialRenderPerformance.bind(null, response),\n          100\n        )));\n    }\n    function filterDebugInfo(response, value) {\n      if (null !== response._debugEndTime) {\n        response = response._debugEndTime - performance.timeOrigin;\n        for (var debugInfo = [], i = 0; i < value._debugInfo.length; i++) {\n          var info = value._debugInfo[i];\n          if (\"number\" === typeof info.time && info.time > response) break;\n          debugInfo.push(info);\n        }\n        value._debugInfo = debugInfo;\n      }\n    }\n    function moveDebugInfoFromChunkToInnerValue(chunk, value) {\n      value = resolveLazy(value);\n      \"object\" !== typeof value ||\n        null === value ||\n        (!isArrayImpl(value) &&\n          \"function\" !== typeof value[ASYNC_ITERATOR] &&\n          value.$$typeof !== REACT_ELEMENT_TYPE &&\n          value.$$typeof !== REACT_LAZY_TYPE) ||\n        ((chunk = chunk._debugInfo.splice(0)),\n        isArrayImpl(value._debugInfo)\n          ? value._debugInfo.unshift.apply(value._debugInfo, chunk)\n          : Object.isFrozen(value) ||\n            Object.defineProperty(value, \"_debugInfo\", {\n              configurable: !1,\n              enumerable: !1,\n              writable: !0,\n              value: chunk\n            }));\n    }\n    function wakeChunk(response, listeners, value, chunk) {\n      for (var i = 0; i < listeners.length; i++) {\n        var listener = listeners[i];\n        \"function\" === typeof listener\n          ? listener(value)\n          : fulfillReference(response, listener, value, chunk);\n      }\n      filterDebugInfo(response, chunk);\n      moveDebugInfoFromChunkToInnerValue(chunk, value);\n    }\n    function rejectChunk(response, listeners, error) {\n      for (var i = 0; i < listeners.length; i++) {\n        var listener = listeners[i];\n        \"function\" === typeof listener\n          ? listener(error)\n          : rejectReference(response, listener.handler, error);\n      }\n    }\n    function resolveBlockedCycle(resolvedChunk, reference) {\n      var referencedChunk = reference.handler.chunk;\n      if (null === referencedChunk) return null;\n      if (referencedChunk === resolvedChunk) return reference.handler;\n      reference = referencedChunk.value;\n      if (null !== reference)\n        for (\n          referencedChunk = 0;\n          referencedChunk < reference.length;\n          referencedChunk++\n        ) {\n          var listener = reference[referencedChunk];\n          if (\n            \"function\" !== typeof listener &&\n            ((listener = resolveBlockedCycle(resolvedChunk, listener)),\n            null !== listener)\n          )\n            return listener;\n        }\n      return null;\n    }\n    function wakeChunkIfInitialized(\n      response,\n      chunk,\n      resolveListeners,\n      rejectListeners\n    ) {\n      switch (chunk.status) {\n        case \"fulfilled\":\n          wakeChunk(response, resolveListeners, chunk.value, chunk);\n          break;\n        case \"blocked\":\n          for (var i = 0; i < resolveListeners.length; i++) {\n            var listener = resolveListeners[i];\n            if (\"function\" !== typeof listener) {\n              var cyclicHandler = resolveBlockedCycle(chunk, listener);\n              if (null !== cyclicHandler)\n                switch (\n                  (fulfillReference(\n                    response,\n                    listener,\n                    cyclicHandler.value,\n                    chunk\n                  ),\n                  resolveListeners.splice(i, 1),\n                  i--,\n                  null !== rejectListeners &&\n                    ((listener = rejectListeners.indexOf(listener)),\n                    -1 !== listener && rejectListeners.splice(listener, 1)),\n                  chunk.status)\n                ) {\n                  case \"fulfilled\":\n                    wakeChunk(response, resolveListeners, chunk.value, chunk);\n                    return;\n                  case \"rejected\":\n                    null !== rejectListeners &&\n                      rejectChunk(response, rejectListeners, chunk.reason);\n                    return;\n                }\n            }\n          }\n        case \"pending\":\n          if (chunk.value)\n            for (response = 0; response < resolveListeners.length; response++)\n              chunk.value.push(resolveListeners[response]);\n          else chunk.value = resolveListeners;\n          if (chunk.reason) {\n            if (rejectListeners)\n              for (\n                resolveListeners = 0;\n                resolveListeners < rejectListeners.length;\n                resolveListeners++\n              )\n                chunk.reason.push(rejectListeners[resolveListeners]);\n          } else chunk.reason = rejectListeners;\n          break;\n        case \"rejected\":\n          rejectListeners &&\n            rejectChunk(response, rejectListeners, chunk.reason);\n      }\n    }\n    function triggerErrorOnChunk(response, chunk, error) {\n      if (\"pending\" !== chunk.status && \"blocked\" !== chunk.status)\n        chunk.reason.error(error);\n      else {\n        releasePendingChunk(response, chunk);\n        var listeners = chunk.reason;\n        if (\"pending\" === chunk.status && null != chunk._debugChunk) {\n          var prevHandler = initializingHandler,\n            prevChunk = initializingChunk;\n          initializingHandler = null;\n          chunk.status = \"blocked\";\n          chunk.value = null;\n          chunk.reason = null;\n          initializingChunk = chunk;\n          try {\n            initializeDebugChunk(response, chunk);\n          } finally {\n            (initializingHandler = prevHandler),\n              (initializingChunk = prevChunk);\n          }\n        }\n        chunk.status = \"rejected\";\n        chunk.reason = error;\n        a: if (null !== response._debugEndTime)\n          for (\n            prevHandler = response._debugEndTime - performance.timeOrigin,\n              chunk = chunk._debugInfo,\n              prevChunk = 0;\n            prevChunk < chunk.length;\n            prevChunk++\n          ) {\n            var info = chunk[prevChunk];\n            if (\"number\" === typeof info.time && info.time > prevHandler) {\n              chunk.length = prevChunk;\n              break a;\n            }\n          }\n        null !== listeners && rejectChunk(response, listeners, error);\n      }\n    }\n    function createResolvedModelChunk(response, value) {\n      return new ReactPromise(\"resolved_model\", value, response);\n    }\n    function createResolvedIteratorResultChunk(response, value, done) {\n      return new ReactPromise(\n        \"resolved_model\",\n        (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') +\n          value +\n          \"}\",\n        response\n      );\n    }\n    function resolveIteratorResultChunk(response, chunk, value, done) {\n      resolveModelChunk(\n        response,\n        chunk,\n        (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') +\n          value +\n          \"}\"\n      );\n    }\n    function resolveModelChunk(response, chunk, value) {\n      if (\"pending\" !== chunk.status) chunk.reason.enqueueModel(value);\n      else {\n        releasePendingChunk(response, chunk);\n        var resolveListeners = chunk.value,\n          rejectListeners = chunk.reason;\n        chunk.status = \"resolved_model\";\n        chunk.value = value;\n        chunk.reason = response;\n        null !== resolveListeners &&\n          (initializeModelChunk(chunk),\n          wakeChunkIfInitialized(\n            response,\n            chunk,\n            resolveListeners,\n            rejectListeners\n          ));\n      }\n    }\n    function resolveModuleChunk(response, chunk, value) {\n      if (\"pending\" === chunk.status || \"blocked\" === chunk.status) {\n        releasePendingChunk(response, chunk);\n        var resolveListeners = chunk.value,\n          rejectListeners = chunk.reason;\n        chunk.status = \"resolved_module\";\n        chunk.value = value;\n        chunk.reason = null;\n        value = [];\n        null !== value && chunk._debugInfo.push.apply(chunk._debugInfo, value);\n        null !== resolveListeners &&\n          (initializeModuleChunk(chunk),\n          wakeChunkIfInitialized(\n            response,\n            chunk,\n            resolveListeners,\n            rejectListeners\n          ));\n      }\n    }\n    function initializeDebugChunk(response, chunk) {\n      var debugChunk = chunk._debugChunk;\n      if (null !== debugChunk) {\n        var debugInfo = chunk._debugInfo,\n          prevIsInitializingDebugInfo = isInitializingDebugInfo;\n        isInitializingDebugInfo = !0;\n        try {\n          if (\"resolved_model\" === debugChunk.status) {\n            for (\n              var idx = debugInfo.length, c = debugChunk._debugChunk;\n              null !== c;\n\n            )\n              \"fulfilled\" !== c.status && idx++, (c = c._debugChunk);\n            initializeModelChunk(debugChunk);\n            switch (debugChunk.status) {\n              case \"fulfilled\":\n                debugInfo[idx] = initializeDebugInfo(\n                  response,\n                  debugChunk.value\n                );\n                break;\n              case \"blocked\":\n              case \"pending\":\n                waitForReference(\n                  debugChunk,\n                  debugInfo,\n                  \"\" + idx,\n                  response,\n                  initializeDebugInfo,\n                  [\"\"],\n                  !0\n                );\n                break;\n              default:\n                throw debugChunk.reason;\n            }\n          } else\n            switch (debugChunk.status) {\n              case \"fulfilled\":\n                break;\n              case \"blocked\":\n              case \"pending\":\n                waitForReference(\n                  debugChunk,\n                  {},\n                  \"debug\",\n                  response,\n                  initializeDebugInfo,\n                  [\"\"],\n                  !0\n                );\n                break;\n              default:\n                throw debugChunk.reason;\n            }\n        } catch (error) {\n          triggerErrorOnChunk(response, chunk, error);\n        } finally {\n          isInitializingDebugInfo = prevIsInitializingDebugInfo;\n        }\n      }\n    }\n    function initializeModelChunk(chunk) {\n      var prevHandler = initializingHandler,\n        prevChunk = initializingChunk;\n      initializingHandler = null;\n      var resolvedModel = chunk.value,\n        response = chunk.reason;\n      chunk.status = \"blocked\";\n      chunk.value = null;\n      chunk.reason = null;\n      initializingChunk = chunk;\n      initializeDebugChunk(response, chunk);\n      try {\n        var value = parseModel(response, resolvedModel),\n          resolveListeners = chunk.value;\n        if (null !== resolveListeners)\n          for (\n            chunk.value = null, chunk.reason = null, resolvedModel = 0;\n            resolvedModel < resolveListeners.length;\n            resolvedModel++\n          ) {\n            var listener = resolveListeners[resolvedModel];\n            \"function\" === typeof listener\n              ? listener(value)\n              : fulfillReference(response, listener, value, chunk);\n          }\n        if (null !== initializingHandler) {\n          if (initializingHandler.errored) throw initializingHandler.reason;\n          if (0 < initializingHandler.deps) {\n            initializingHandler.value = value;\n            initializingHandler.chunk = chunk;\n            return;\n          }\n        }\n        chunk.status = \"fulfilled\";\n        chunk.value = value;\n        chunk.reason = null;\n        filterDebugInfo(response, chunk);\n        moveDebugInfoFromChunkToInnerValue(chunk, value);\n      } catch (error) {\n        (chunk.status = \"rejected\"), (chunk.reason = error);\n      } finally {\n        (initializingHandler = prevHandler), (initializingChunk = prevChunk);\n      }\n    }\n    function initializeModuleChunk(chunk) {\n      try {\n        var value = requireModule(chunk.value);\n        chunk.status = \"fulfilled\";\n        chunk.value = value;\n        chunk.reason = null;\n      } catch (error) {\n        (chunk.status = \"rejected\"), (chunk.reason = error);\n      }\n    }\n    function reportGlobalError(weakResponse, error) {\n      if (!hasGCedResponse(weakResponse)) {\n        var response = unwrapWeakResponse(weakResponse);\n        response._closed = !0;\n        response._closedReason = error;\n        response._chunks.forEach(function (chunk) {\n          \"pending\" === chunk.status\n            ? triggerErrorOnChunk(response, chunk, error)\n            : \"fulfilled\" === chunk.status &&\n              null !== chunk.reason &&\n              chunk.reason.error(error);\n        });\n        weakResponse = response._debugChannel;\n        void 0 !== weakResponse &&\n          (closeDebugChannel(weakResponse),\n          (response._debugChannel = void 0),\n          null !== debugChannelRegistry &&\n            debugChannelRegistry.unregister(response));\n      }\n    }\n    function nullRefGetter() {\n      return null;\n    }\n    function getTaskName(type) {\n      if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n      if (\"function\" === typeof type) return '\"use client\"';\n      if (\n        \"object\" === typeof type &&\n        null !== type &&\n        type.$$typeof === REACT_LAZY_TYPE\n      )\n        return type._init === readChunk ? '\"use client\"' : \"<...>\";\n      try {\n        var name = getComponentNameFromType(type);\n        return name ? \"<\" + name + \">\" : \"<...>\";\n      } catch (x) {\n        return \"<...>\";\n      }\n    }\n    function initializeElement(response, element, lazyNode) {\n      var stack = element._debugStack,\n        owner = element._owner;\n      null === owner && (element._owner = response._debugRootOwner);\n      var env = response._rootEnvironmentName;\n      null !== owner && null != owner.env && (env = owner.env);\n      var normalizedStackTrace = null;\n      null === owner && null != response._debugRootStack\n        ? (normalizedStackTrace = response._debugRootStack)\n        : null !== stack &&\n          (normalizedStackTrace = createFakeJSXCallStackInDEV(\n            response,\n            stack,\n            env\n          ));\n      element._debugStack = normalizedStackTrace;\n      normalizedStackTrace = null;\n      supportsCreateTask &&\n        null !== stack &&\n        ((normalizedStackTrace = console.createTask.bind(\n          console,\n          getTaskName(element.type)\n        )),\n        (stack = buildFakeCallStack(\n          response,\n          stack,\n          env,\n          !1,\n          normalizedStackTrace\n        )),\n        (env = null === owner ? null : initializeFakeTask(response, owner)),\n        null === env\n          ? ((env = response._debugRootTask),\n            (normalizedStackTrace = null != env ? env.run(stack) : stack()))\n          : (normalizedStackTrace = env.run(stack)));\n      element._debugTask = normalizedStackTrace;\n      null !== owner && initializeFakeStack(response, owner);\n      null !== lazyNode &&\n        (lazyNode._store &&\n          lazyNode._store.validated &&\n          !element._store.validated &&\n          (element._store.validated = lazyNode._store.validated),\n        \"fulfilled\" === lazyNode._payload.status &&\n          lazyNode._debugInfo &&\n          ((response = lazyNode._debugInfo.splice(0)),\n          element._debugInfo\n            ? element._debugInfo.unshift.apply(element._debugInfo, response)\n            : Object.defineProperty(element, \"_debugInfo\", {\n                configurable: !1,\n                enumerable: !1,\n                writable: !0,\n                value: response\n              })));\n      Object.freeze(element.props);\n    }\n    function createLazyChunkWrapper(chunk, validated) {\n      var lazyType = {\n        $$typeof: REACT_LAZY_TYPE,\n        _payload: chunk,\n        _init: readChunk\n      };\n      lazyType._debugInfo = chunk._debugInfo;\n      lazyType._store = { validated: validated };\n      return lazyType;\n    }\n    function getChunk(response, id) {\n      var chunks = response._chunks,\n        chunk = chunks.get(id);\n      chunk ||\n        (response._closed\n          ? response._allowPartialStream\n            ? ((response = chunk = createPendingChunk(response)),\n              (response.status = \"halted\"),\n              (response.value = null),\n              (response.reason = null))\n            : (chunk = new ReactPromise(\n                \"rejected\",\n                null,\n                response._closedReason\n              ))\n          : (chunk = createPendingChunk(response)),\n        chunks.set(id, chunk));\n      return chunk;\n    }\n    function fulfillReference(response, reference, value, fulfilledChunk) {\n      var handler = reference.handler,\n        parentObject = reference.parentObject,\n        key = reference.key,\n        map = reference.map,\n        path = reference.path;\n      try {\n        for (var i = 1; i < path.length; i++) {\n          for (\n            ;\n            \"object\" === typeof value &&\n            null !== value &&\n            value.$$typeof === REACT_LAZY_TYPE;\n\n          ) {\n            var referencedChunk = value._payload;\n            if (referencedChunk === handler.chunk) value = handler.value;\n            else {\n              switch (referencedChunk.status) {\n                case \"resolved_model\":\n                  initializeModelChunk(referencedChunk);\n                  break;\n                case \"resolved_module\":\n                  initializeModuleChunk(referencedChunk);\n              }\n              switch (referencedChunk.status) {\n                case \"fulfilled\":\n                  value = referencedChunk.value;\n                  continue;\n                case \"blocked\":\n                  var cyclicHandler = resolveBlockedCycle(\n                    referencedChunk,\n                    reference\n                  );\n                  if (null !== cyclicHandler) {\n                    value = cyclicHandler.value;\n                    continue;\n                  }\n                case \"pending\":\n                  path.splice(0, i - 1);\n                  null === referencedChunk.value\n                    ? (referencedChunk.value = [reference])\n                    : referencedChunk.value.push(reference);\n                  null === referencedChunk.reason\n                    ? (referencedChunk.reason = [reference])\n                    : referencedChunk.reason.push(reference);\n                  return;\n                case \"halted\":\n                  return;\n                default:\n                  rejectReference(\n                    response,\n                    reference.handler,\n                    referencedChunk.reason\n                  );\n                  return;\n              }\n            }\n          }\n          var name = path[i];\n          if (\n            \"object\" === typeof value &&\n            null !== value &&\n            hasOwnProperty.call(value, name)\n          )\n            value = value[name];\n          else throw Error(\"Invalid reference.\");\n        }\n        for (\n          ;\n          \"object\" === typeof value &&\n          null !== value &&\n          value.$$typeof === REACT_LAZY_TYPE;\n\n        ) {\n          var _referencedChunk = value._payload;\n          if (_referencedChunk === handler.chunk) value = handler.value;\n          else {\n            switch (_referencedChunk.status) {\n              case \"resolved_model\":\n                initializeModelChunk(_referencedChunk);\n                break;\n              case \"resolved_module\":\n                initializeModuleChunk(_referencedChunk);\n            }\n            switch (_referencedChunk.status) {\n              case \"fulfilled\":\n                value = _referencedChunk.value;\n                continue;\n            }\n            break;\n          }\n        }\n        var mappedValue = map(response, value, parentObject, key);\n        \"__proto__\" !== key && (parentObject[key] = mappedValue);\n        \"\" === key && null === handler.value && (handler.value = mappedValue);\n        if (\n          parentObject[0] === REACT_ELEMENT_TYPE &&\n          \"object\" === typeof handler.value &&\n          null !== handler.value &&\n          handler.value.$$typeof === REACT_ELEMENT_TYPE\n        ) {\n          var element = handler.value;\n          switch (key) {\n            case \"3\":\n              transferReferencedDebugInfo(handler.chunk, fulfilledChunk);\n              element.props = mappedValue;\n              break;\n            case \"4\":\n              element._owner = mappedValue;\n              break;\n            case \"5\":\n              element._debugStack = mappedValue;\n              break;\n            default:\n              transferReferencedDebugInfo(handler.chunk, fulfilledChunk);\n          }\n        } else\n          reference.isDebug ||\n            transferReferencedDebugInfo(handler.chunk, fulfilledChunk);\n      } catch (error) {\n        rejectReference(response, reference.handler, error);\n        return;\n      }\n      handler.deps--;\n      0 === handler.deps &&\n        ((reference = handler.chunk),\n        null !== reference &&\n          \"blocked\" === reference.status &&\n          ((value = reference.value),\n          (reference.status = \"fulfilled\"),\n          (reference.value = handler.value),\n          (reference.reason = handler.reason),\n          null !== value\n            ? wakeChunk(response, value, handler.value, reference)\n            : ((handler = handler.value),\n              filterDebugInfo(response, reference),\n              moveDebugInfoFromChunkToInnerValue(reference, handler))));\n    }\n    function rejectReference(response, handler, error) {\n      if (!handler.errored) {\n        var blockedValue = handler.value;\n        handler.errored = !0;\n        handler.value = null;\n        handler.reason = error;\n        handler = handler.chunk;\n        if (null !== handler && \"blocked\" === handler.status) {\n          if (\n            \"object\" === typeof blockedValue &&\n            null !== blockedValue &&\n            blockedValue.$$typeof === REACT_ELEMENT_TYPE\n          ) {\n            var erroredComponent = {\n              name: getComponentNameFromType(blockedValue.type) || \"\",\n              owner: blockedValue._owner\n            };\n            erroredComponent.debugStack = blockedValue._debugStack;\n            supportsCreateTask &&\n              (erroredComponent.debugTask = blockedValue._debugTask);\n            handler._debugInfo.push(erroredComponent);\n          }\n          triggerErrorOnChunk(response, handler, error);\n        }\n      }\n    }\n    function waitForReference(\n      referencedChunk,\n      parentObject,\n      key,\n      response,\n      map,\n      path,\n      isAwaitingDebugInfo\n    ) {\n      if (\n        !(\n          (void 0 !== response._debugChannel &&\n            response._debugChannel.hasReadable) ||\n          \"pending\" !== referencedChunk.status ||\n          parentObject[0] !== REACT_ELEMENT_TYPE ||\n          (\"4\" !== key && \"5\" !== key)\n        )\n      )\n        return null;\n      initializingHandler\n        ? ((response = initializingHandler), response.deps++)\n        : (response = initializingHandler =\n            {\n              parent: null,\n              chunk: null,\n              value: null,\n              reason: null,\n              deps: 1,\n              errored: !1\n            });\n      parentObject = {\n        handler: response,\n        parentObject: parentObject,\n        key: key,\n        map: map,\n        path: path\n      };\n      parentObject.isDebug = isAwaitingDebugInfo;\n      null === referencedChunk.value\n        ? (referencedChunk.value = [parentObject])\n        : referencedChunk.value.push(parentObject);\n      null === referencedChunk.reason\n        ? (referencedChunk.reason = [parentObject])\n        : referencedChunk.reason.push(parentObject);\n      return null;\n    }\n    function loadServerReference(response, metaData, parentObject, key) {\n      if (!response._serverReferenceConfig)\n        return createBoundServerReference(\n          metaData,\n          response._callServer,\n          response._encodeFormAction,\n          response._debugFindSourceMapURL\n        );\n      var serverReference = resolveServerReference(\n          response._serverReferenceConfig,\n          metaData.id\n        ),\n        promise = preloadModule(serverReference);\n      if (promise)\n        metaData.bound && (promise = Promise.all([promise, metaData.bound]));\n      else if (metaData.bound) promise = Promise.resolve(metaData.bound);\n      else\n        return (\n          (promise = requireModule(serverReference)),\n          registerBoundServerReference(\n            promise,\n            metaData.id,\n            metaData.bound,\n            response._encodeFormAction\n          ),\n          promise\n        );\n      if (initializingHandler) {\n        var handler = initializingHandler;\n        handler.deps++;\n      } else\n        handler = initializingHandler = {\n          parent: null,\n          chunk: null,\n          value: null,\n          reason: null,\n          deps: 1,\n          errored: !1\n        };\n      promise.then(\n        function () {\n          var resolvedValue = requireModule(serverReference);\n          if (metaData.bound) {\n            var boundArgs = metaData.bound.value.slice(0);\n            boundArgs.unshift(null);\n            resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs);\n          }\n          registerBoundServerReference(\n            resolvedValue,\n            metaData.id,\n            metaData.bound,\n            response._encodeFormAction\n          );\n          \"__proto__\" !== key && (parentObject[key] = resolvedValue);\n          \"\" === key &&\n            null === handler.value &&\n            (handler.value = resolvedValue);\n          if (\n            parentObject[0] === REACT_ELEMENT_TYPE &&\n            \"object\" === typeof handler.value &&\n            null !== handler.value &&\n            handler.value.$$typeof === REACT_ELEMENT_TYPE\n          )\n            switch (((boundArgs = handler.value), key)) {\n              case \"3\":\n                boundArgs.props = resolvedValue;\n                break;\n              case \"4\":\n                boundArgs._owner = resolvedValue;\n            }\n          handler.deps--;\n          0 === handler.deps &&\n            ((resolvedValue = handler.chunk),\n            null !== resolvedValue &&\n              \"blocked\" === resolvedValue.status &&\n              ((boundArgs = resolvedValue.value),\n              (resolvedValue.status = \"fulfilled\"),\n              (resolvedValue.value = handler.value),\n              (resolvedValue.reason = null),\n              null !== boundArgs\n                ? wakeChunk(response, boundArgs, handler.value, resolvedValue)\n                : ((boundArgs = handler.value),\n                  filterDebugInfo(response, resolvedValue),\n                  moveDebugInfoFromChunkToInnerValue(\n                    resolvedValue,\n                    boundArgs\n                  ))));\n        },\n        function (error) {\n          if (!handler.errored) {\n            var blockedValue = handler.value;\n            handler.errored = !0;\n            handler.value = null;\n            handler.reason = error;\n            var chunk = handler.chunk;\n            if (null !== chunk && \"blocked\" === chunk.status) {\n              if (\n                \"object\" === typeof blockedValue &&\n                null !== blockedValue &&\n                blockedValue.$$typeof === REACT_ELEMENT_TYPE\n              ) {\n                var erroredComponent = {\n                  name: getComponentNameFromType(blockedValue.type) || \"\",\n                  owner: blockedValue._owner\n                };\n                erroredComponent.debugStack = blockedValue._debugStack;\n                supportsCreateTask &&\n                  (erroredComponent.debugTask = blockedValue._debugTask);\n                chunk._debugInfo.push(erroredComponent);\n              }\n              triggerErrorOnChunk(response, chunk, error);\n            }\n          }\n        }\n      );\n      return null;\n    }\n    function resolveLazy(value) {\n      for (\n        ;\n        \"object\" === typeof value &&\n        null !== value &&\n        value.$$typeof === REACT_LAZY_TYPE;\n\n      ) {\n        var payload = value._payload;\n        if (\"fulfilled\" === payload.status) value = payload.value;\n        else break;\n      }\n      return value;\n    }\n    function transferReferencedDebugInfo(parentChunk, referencedChunk) {\n      if (null !== parentChunk) {\n        referencedChunk = referencedChunk._debugInfo;\n        parentChunk = parentChunk._debugInfo;\n        for (var i = 0; i < referencedChunk.length; ++i) {\n          var debugInfoEntry = referencedChunk[i];\n          null == debugInfoEntry.name && parentChunk.push(debugInfoEntry);\n        }\n      }\n    }\n    function getOutlinedModel(response, reference, parentObject, key, map) {\n      var path = reference.split(\":\");\n      reference = parseInt(path[0], 16);\n      reference = getChunk(response, reference);\n      null !== initializingChunk &&\n        isArrayImpl(initializingChunk._children) &&\n        initializingChunk._children.push(reference);\n      switch (reference.status) {\n        case \"resolved_model\":\n          initializeModelChunk(reference);\n          break;\n        case \"resolved_module\":\n          initializeModuleChunk(reference);\n      }\n      switch (reference.status) {\n        case \"fulfilled\":\n          for (var value = reference.value, i = 1; i < path.length; i++) {\n            for (\n              ;\n              \"object\" === typeof value &&\n              null !== value &&\n              value.$$typeof === REACT_LAZY_TYPE;\n\n            ) {\n              value = value._payload;\n              switch (value.status) {\n                case \"resolved_model\":\n                  initializeModelChunk(value);\n                  break;\n                case \"resolved_module\":\n                  initializeModuleChunk(value);\n              }\n              switch (value.status) {\n                case \"fulfilled\":\n                  value = value.value;\n                  break;\n                case \"blocked\":\n                case \"pending\":\n                  return waitForReference(\n                    value,\n                    parentObject,\n                    key,\n                    response,\n                    map,\n                    path.slice(i - 1),\n                    isInitializingDebugInfo\n                  );\n                case \"halted\":\n                  return (\n                    initializingHandler\n                      ? ((parentObject = initializingHandler),\n                        parentObject.deps++)\n                      : (initializingHandler = {\n                          parent: null,\n                          chunk: null,\n                          value: null,\n                          reason: null,\n                          deps: 1,\n                          errored: !1\n                        }),\n                    null\n                  );\n                default:\n                  return (\n                    initializingHandler\n                      ? ((initializingHandler.errored = !0),\n                        (initializingHandler.value = null),\n                        (initializingHandler.reason = value.reason))\n                      : (initializingHandler = {\n                          parent: null,\n                          chunk: null,\n                          value: null,\n                          reason: value.reason,\n                          deps: 0,\n                          errored: !0\n                        }),\n                    null\n                  );\n              }\n            }\n            var name = path[i];\n            if (\n              \"object\" !== typeof value ||\n              null === value ||\n              (getPrototypeOf(value) !== ObjectPrototype &&\n                getPrototypeOf(value) !== ArrayPrototype) ||\n              !hasOwnProperty.call(value, name)\n            )\n              throw Error(\"Invalid reference.\");\n            value = value[name];\n          }\n          for (\n            ;\n            \"object\" === typeof value &&\n            null !== value &&\n            value.$$typeof === REACT_LAZY_TYPE;\n\n          ) {\n            path = value._payload;\n            switch (path.status) {\n              case \"resolved_model\":\n                initializeModelChunk(path);\n                break;\n              case \"resolved_module\":\n                initializeModuleChunk(path);\n            }\n            switch (path.status) {\n              case \"fulfilled\":\n                value = path.value;\n                continue;\n            }\n            break;\n          }\n          response = map(response, value, parentObject, key);\n          if (\n            parentObject[0] !== REACT_ELEMENT_TYPE ||\n            (\"4\" !== key && \"5\" !== key)\n          )\n            isInitializingDebugInfo ||\n              transferReferencedDebugInfo(initializingChunk, reference);\n          return response;\n        case \"pending\":\n        case \"blocked\":\n          return waitForReference(\n            reference,\n            parentObject,\n            key,\n            response,\n            map,\n            path,\n            isInitializingDebugInfo\n          );\n        case \"halted\":\n          return (\n            initializingHandler\n              ? ((parentObject = initializingHandler), parentObject.deps++)\n              : (initializingHandler = {\n                  parent: null,\n                  chunk: null,\n                  value: null,\n                  reason: null,\n                  deps: 1,\n                  errored: !1\n                }),\n            null\n          );\n        default:\n          return (\n            initializingHandler\n              ? ((initializingHandler.errored = !0),\n                (initializingHandler.value = null),\n                (initializingHandler.reason = reference.reason))\n              : (initializingHandler = {\n                  parent: null,\n                  chunk: null,\n                  value: null,\n                  reason: reference.reason,\n                  deps: 0,\n                  errored: !0\n                }),\n            null\n          );\n      }\n    }\n    function createMap(response, model) {\n      return new Map(model);\n    }\n    function createSet(response, model) {\n      return new Set(model);\n    }\n    function createBlob(response, model) {\n      return new Blob(model.slice(1), { type: model[0] });\n    }\n    function createFormData(response, model) {\n      response = new FormData();\n      for (var i = 0; i < model.length; i++)\n        response.append(model[i][0], model[i][1]);\n      return response;\n    }\n    function applyConstructor(response, model, parentObject) {\n      Object.setPrototypeOf(parentObject, model.prototype);\n    }\n    function defineLazyGetter(response, chunk, parentObject, key) {\n      \"__proto__\" !== key &&\n        Object.defineProperty(parentObject, key, {\n          get: function () {\n            \"resolved_model\" === chunk.status && initializeModelChunk(chunk);\n            switch (chunk.status) {\n              case \"fulfilled\":\n                return chunk.value;\n              case \"rejected\":\n                throw chunk.reason;\n            }\n            return \"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\";\n          },\n          set: function () {},\n          enumerable: !0,\n          configurable: !1\n        });\n      return null;\n    }\n    function extractIterator(response, model) {\n      return model[Symbol.iterator]();\n    }\n    function createModel(response, model) {\n      return model;\n    }\n    function getInferredFunctionApproximate(code) {\n      code = code.startsWith(\"Object.defineProperty(\")\n        ? code.slice(22)\n        : code.startsWith(\"(\")\n          ? code.slice(1)\n          : code;\n      if (code.startsWith(\"async function\")) {\n        var idx = code.indexOf(\"(\", 14);\n        if (-1 !== idx)\n          return (\n            (code = code.slice(14, idx).trim()),\n            (0, eval)(\"({\" + JSON.stringify(code) + \":async function(){}})\")[\n              code\n            ]\n          );\n      } else if (code.startsWith(\"function\")) {\n        if (((idx = code.indexOf(\"(\", 8)), -1 !== idx))\n          return (\n            (code = code.slice(8, idx).trim()),\n            (0, eval)(\"({\" + JSON.stringify(code) + \":function(){}})\")[code]\n          );\n      } else if (\n        code.startsWith(\"class\") &&\n        ((idx = code.indexOf(\"{\", 5)), -1 !== idx)\n      )\n        return (\n          (code = code.slice(5, idx).trim()),\n          (0, eval)(\"({\" + JSON.stringify(code) + \":class{}})\")[code]\n        );\n      return function () {};\n    }\n    function parseModelString(response, parentObject, key, value) {\n      if (\"$\" === value[0]) {\n        if (\"$\" === value)\n          return (\n            null !== initializingHandler &&\n              \"0\" === key &&\n              (initializingHandler = {\n                parent: initializingHandler,\n                chunk: null,\n                value: null,\n                reason: null,\n                deps: 0,\n                errored: !1\n              }),\n            REACT_ELEMENT_TYPE\n          );\n        switch (value[1]) {\n          case \"$\":\n            return value.slice(1);\n          case \"L\":\n            return (\n              (parentObject = parseInt(value.slice(2), 16)),\n              (response = getChunk(response, parentObject)),\n              null !== initializingChunk &&\n                isArrayImpl(initializingChunk._children) &&\n                initializingChunk._children.push(response),\n              createLazyChunkWrapper(response, 0)\n            );\n          case \"@\":\n            return (\n              (parentObject = parseInt(value.slice(2), 16)),\n              (response = getChunk(response, parentObject)),\n              null !== initializingChunk &&\n                isArrayImpl(initializingChunk._children) &&\n                initializingChunk._children.push(response),\n              response\n            );\n          case \"S\":\n            return Symbol.for(value.slice(2));\n          case \"h\":\n            var ref = value.slice(2);\n            return getOutlinedModel(\n              response,\n              ref,\n              parentObject,\n              key,\n              loadServerReference\n            );\n          case \"T\":\n            parentObject = \"$\" + value.slice(2);\n            response = response._tempRefs;\n            if (null == response)\n              throw Error(\n                \"Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.\"\n              );\n            return response.get(parentObject);\n          case \"Q\":\n            return (\n              (ref = value.slice(2)),\n              getOutlinedModel(response, ref, parentObject, key, createMap)\n            );\n          case \"W\":\n            return (\n              (ref = value.slice(2)),\n              getOutlinedModel(response, ref, parentObject, key, createSet)\n            );\n          case \"B\":\n            return (\n              (ref = value.slice(2)),\n              getOutlinedModel(response, ref, parentObject, key, createBlob)\n            );\n          case \"K\":\n            return (\n              (ref = value.slice(2)),\n              getOutlinedModel(response, ref, parentObject, key, createFormData)\n            );\n          case \"Z\":\n            return (\n              (ref = value.slice(2)),\n              getOutlinedModel(\n                response,\n                ref,\n                parentObject,\n                key,\n                resolveErrorDev\n              )\n            );\n          case \"i\":\n            return (\n              (ref = value.slice(2)),\n              getOutlinedModel(\n                response,\n                ref,\n                parentObject,\n                key,\n                extractIterator\n              )\n            );\n          case \"I\":\n            return Infinity;\n          case \"-\":\n            return \"$-0\" === value ? -0 : -Infinity;\n          case \"N\":\n            return NaN;\n          case \"u\":\n            return;\n          case \"D\":\n            return new Date(Date.parse(value.slice(2)));\n          case \"n\":\n            return BigInt(value.slice(2));\n          case \"P\":\n            return (\n              (ref = value.slice(2)),\n              getOutlinedModel(\n                response,\n                ref,\n                parentObject,\n                key,\n                applyConstructor\n              )\n            );\n          case \"E\":\n            response = value.slice(2);\n            try {\n              if (!mightHaveStaticConstructor.test(response))\n                return (0, eval)(response);\n            } catch (x) {}\n            try {\n              if (\n                ((ref = getInferredFunctionApproximate(response)),\n                response.startsWith(\"Object.defineProperty(\"))\n              ) {\n                var idx = response.lastIndexOf(',\"name\",{value:\"');\n                if (-1 !== idx) {\n                  var name = JSON.parse(\n                    response.slice(idx + 16 - 1, response.length - 2)\n                  );\n                  Object.defineProperty(ref, \"name\", { value: name });\n                }\n              }\n            } catch (_) {\n              ref = function () {};\n            }\n            return ref;\n          case \"Y\":\n            if (\n              2 < value.length &&\n              (ref = response._debugChannel && response._debugChannel.callback)\n            ) {\n              if (\"@\" === value[2])\n                return (\n                  (parentObject = value.slice(3)),\n                  (key = parseInt(parentObject, 16)),\n                  response._chunks.has(key) || ref(\"P:\" + parentObject),\n                  getChunk(response, key)\n                );\n              value = value.slice(2);\n              idx = parseInt(value, 16);\n              response._chunks.has(idx) || ref(\"Q:\" + value);\n              ref = getChunk(response, idx);\n              return \"fulfilled\" === ref.status\n                ? ref.value\n                : defineLazyGetter(response, ref, parentObject, key);\n            }\n            \"__proto__\" !== key &&\n              Object.defineProperty(parentObject, key, {\n                get: function () {\n                  return \"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\";\n                },\n                set: function () {},\n                enumerable: !0,\n                configurable: !1\n              });\n            return null;\n          default:\n            return (\n              (ref = value.slice(1)),\n              getOutlinedModel(response, ref, parentObject, key, createModel)\n            );\n        }\n      }\n      return value;\n    }\n    function missingCall() {\n      throw Error(\n        'Trying to call a function from \"use server\" but the callServer option was not implemented in your router runtime.'\n      );\n    }\n    function markIOStarted() {\n      this._debugIOStarted = !0;\n    }\n    function ResponseInstance(\n      bundlerConfig,\n      serverReferenceConfig,\n      moduleLoading,\n      callServer,\n      encodeFormAction,\n      nonce,\n      temporaryReferences,\n      allowPartialStream,\n      findSourceMapURL,\n      replayConsole,\n      environmentName,\n      debugStartTime,\n      debugEndTime,\n      debugChannel\n    ) {\n      var chunks = new Map();\n      this._bundlerConfig = bundlerConfig;\n      this._serverReferenceConfig = serverReferenceConfig;\n      this._moduleLoading = moduleLoading;\n      this._callServer = void 0 !== callServer ? callServer : missingCall;\n      this._encodeFormAction = encodeFormAction;\n      this._nonce = nonce;\n      this._chunks = chunks;\n      this._stringDecoder = new util.TextDecoder();\n      this._closed = !1;\n      this._closedReason = null;\n      this._allowPartialStream = allowPartialStream;\n      this._tempRefs = temporaryReferences;\n      this._timeOrigin = 0;\n      this._pendingInitialRender = null;\n      this._pendingChunks = 0;\n      this._weakResponse = { weak: new WeakRef(this), response: this };\n      this._debugRootOwner = bundlerConfig =\n        void 0 === ReactSharedInteralsServer ||\n        null === ReactSharedInteralsServer.A\n          ? null\n          : ReactSharedInteralsServer.A.getOwner();\n      this._debugRootStack =\n        null !== bundlerConfig ? Error(\"react-stack-top-frame\") : null;\n      environmentName = void 0 === environmentName ? \"Server\" : environmentName;\n      supportsCreateTask &&\n        (this._debugRootTask = console.createTask(\n          '\"use ' + environmentName.toLowerCase() + '\"'\n        ));\n      this._debugStartTime =\n        null == debugStartTime ? performance.now() : debugStartTime;\n      this._debugIOStarted = !1;\n      setTimeout(markIOStarted.bind(this), 0);\n      this._debugEndTime = void 0 === debugEndTime ? null : debugEndTime;\n      this._debugFindSourceMapURL = findSourceMapURL;\n      this._debugChannel = debugChannel;\n      this._blockedConsole = null;\n      this._replayConsole = replayConsole;\n      this._rootEnvironmentName = environmentName;\n      debugChannel &&\n        (null === debugChannelRegistry\n          ? (closeDebugChannel(debugChannel), (this._debugChannel = void 0))\n          : debugChannelRegistry.register(this, debugChannel, this));\n      replayConsole && markAllTracksInOrder();\n    }\n    function createResponse(\n      bundlerConfig,\n      serverReferenceConfig,\n      moduleLoading,\n      callServer,\n      encodeFormAction,\n      nonce,\n      temporaryReferences,\n      allowPartialStream,\n      findSourceMapURL,\n      replayConsole,\n      environmentName,\n      debugStartTime,\n      debugEndTime,\n      debugChannel\n    ) {\n      checkEvalAvailabilityOnceDev();\n      bundlerConfig = new ResponseInstance(\n        bundlerConfig,\n        serverReferenceConfig,\n        moduleLoading,\n        callServer,\n        encodeFormAction,\n        nonce,\n        temporaryReferences,\n        allowPartialStream,\n        findSourceMapURL,\n        replayConsole,\n        environmentName,\n        debugStartTime,\n        debugEndTime,\n        debugChannel\n      )._weakResponse;\n      return bundlerConfig;\n    }\n    function createStreamState(weakResponse, streamDebugValue) {\n      var streamState = {\n        _rowState: 0,\n        _rowID: 0,\n        _rowTag: 0,\n        _rowLength: 0,\n        _buffer: []\n      };\n      weakResponse = unwrapWeakResponse(weakResponse);\n      var debugValuePromise = Promise.resolve(streamDebugValue);\n      debugValuePromise.status = \"fulfilled\";\n      debugValuePromise.value = streamDebugValue;\n      streamState._debugInfo = {\n        name: \"rsc stream\",\n        start: weakResponse._debugStartTime,\n        end: weakResponse._debugStartTime,\n        byteSize: 0,\n        value: debugValuePromise,\n        owner: weakResponse._debugRootOwner,\n        debugStack: weakResponse._debugRootStack,\n        debugTask: weakResponse._debugRootTask\n      };\n      streamState._debugTargetChunkSize = MIN_CHUNK_SIZE;\n      return streamState;\n    }\n    function incrementChunkDebugInfo(streamState, chunkLength) {\n      var debugInfo = streamState._debugInfo,\n        endTime = performance.now(),\n        previousEndTime = debugInfo.end;\n      chunkLength = debugInfo.byteSize + chunkLength;\n      chunkLength > streamState._debugTargetChunkSize ||\n      endTime > previousEndTime + 10\n        ? ((streamState._debugInfo = {\n            name: debugInfo.name,\n            start: debugInfo.start,\n            end: endTime,\n            byteSize: chunkLength,\n            value: debugInfo.value,\n            owner: debugInfo.owner,\n            debugStack: debugInfo.debugStack,\n            debugTask: debugInfo.debugTask\n          }),\n          (streamState._debugTargetChunkSize = chunkLength + MIN_CHUNK_SIZE))\n        : ((debugInfo.end = endTime), (debugInfo.byteSize = chunkLength));\n    }\n    function addAsyncInfo(chunk, asyncInfo) {\n      var value = resolveLazy(chunk.value);\n      \"object\" !== typeof value ||\n      null === value ||\n      (!isArrayImpl(value) &&\n        \"function\" !== typeof value[ASYNC_ITERATOR] &&\n        value.$$typeof !== REACT_ELEMENT_TYPE &&\n        value.$$typeof !== REACT_LAZY_TYPE)\n        ? chunk._debugInfo.push(asyncInfo)\n        : isArrayImpl(value._debugInfo)\n          ? value._debugInfo.push(asyncInfo)\n          : Object.isFrozen(value) ||\n            Object.defineProperty(value, \"_debugInfo\", {\n              configurable: !1,\n              enumerable: !1,\n              writable: !0,\n              value: [asyncInfo]\n            });\n    }\n    function resolveChunkDebugInfo(response, streamState, chunk) {\n      response._debugIOStarted &&\n        ((response = { awaited: streamState._debugInfo }),\n        \"pending\" === chunk.status || \"blocked\" === chunk.status\n          ? ((response = addAsyncInfo.bind(null, chunk, response)),\n            chunk.then(response, response))\n          : addAsyncInfo(chunk, response));\n    }\n    function resolveBuffer(response, id, buffer, streamState) {\n      var chunks = response._chunks,\n        chunk = chunks.get(id);\n      chunk && \"pending\" !== chunk.status\n        ? chunk.reason.enqueueValue(buffer)\n        : (chunk && releasePendingChunk(response, chunk),\n          (buffer = new ReactPromise(\"fulfilled\", buffer, null)),\n          resolveChunkDebugInfo(response, streamState, buffer),\n          chunks.set(id, buffer));\n    }\n    function resolveModule(response, id, model, streamState) {\n      var chunks = response._chunks,\n        chunk = chunks.get(id);\n      model = parseModel(response, model);\n      var clientReference = resolveClientReference(\n        response._bundlerConfig,\n        model\n      );\n      prepareDestinationWithChunks(\n        response._moduleLoading,\n        model[1],\n        response._nonce\n      );\n      if ((model = preloadModule(clientReference))) {\n        if (chunk) {\n          releasePendingChunk(response, chunk);\n          var blockedChunk = chunk;\n          blockedChunk.status = \"blocked\";\n        } else\n          (blockedChunk = new ReactPromise(\"blocked\", null, null)),\n            chunks.set(id, blockedChunk);\n        resolveChunkDebugInfo(response, streamState, blockedChunk);\n        model.then(\n          function () {\n            return resolveModuleChunk(response, blockedChunk, clientReference);\n          },\n          function (error) {\n            return triggerErrorOnChunk(response, blockedChunk, error);\n          }\n        );\n      } else\n        chunk\n          ? (resolveChunkDebugInfo(response, streamState, chunk),\n            resolveModuleChunk(response, chunk, clientReference))\n          : ((chunk = new ReactPromise(\n              \"resolved_module\",\n              clientReference,\n              null\n            )),\n            resolveChunkDebugInfo(response, streamState, chunk),\n            chunks.set(id, chunk));\n    }\n    function resolveStream(response, id, stream, controller, streamState) {\n      var chunks = response._chunks,\n        chunk = chunks.get(id);\n      if (chunk) {\n        if (\n          (resolveChunkDebugInfo(response, streamState, chunk),\n          \"pending\" === chunk.status)\n        ) {\n          id = chunk.value;\n          if (null != chunk._debugChunk) {\n            streamState = initializingHandler;\n            chunks = initializingChunk;\n            initializingHandler = null;\n            chunk.status = \"blocked\";\n            chunk.value = null;\n            chunk.reason = null;\n            initializingChunk = chunk;\n            try {\n              if (\n                (initializeDebugChunk(response, chunk),\n                null !== initializingHandler &&\n                  !initializingHandler.errored &&\n                  0 < initializingHandler.deps)\n              ) {\n                initializingHandler.value = stream;\n                initializingHandler.reason = controller;\n                initializingHandler.chunk = chunk;\n                return;\n              }\n            } finally {\n              (initializingHandler = streamState), (initializingChunk = chunks);\n            }\n          }\n          chunk.status = \"fulfilled\";\n          chunk.value = stream;\n          chunk.reason = controller;\n          null !== id\n            ? wakeChunk(response, id, chunk.value, chunk)\n            : (filterDebugInfo(response, chunk),\n              moveDebugInfoFromChunkToInnerValue(chunk, stream));\n        }\n      } else\n        0 === response._pendingChunks++ &&\n          (response._weakResponse.response = response),\n          (stream = new ReactPromise(\"fulfilled\", stream, controller)),\n          resolveChunkDebugInfo(response, streamState, stream),\n          chunks.set(id, stream);\n    }\n    function startReadableStream(response, id, type, streamState) {\n      var controller = null,\n        closed = !1;\n      type = new ReadableStream({\n        type: type,\n        start: function (c) {\n          controller = c;\n        }\n      });\n      var previousBlockedChunk = null;\n      resolveStream(\n        response,\n        id,\n        type,\n        {\n          enqueueValue: function (value) {\n            null === previousBlockedChunk\n              ? controller.enqueue(value)\n              : previousBlockedChunk.then(function () {\n                  controller.enqueue(value);\n                });\n          },\n          enqueueModel: function (json) {\n            if (null === previousBlockedChunk) {\n              var chunk = createResolvedModelChunk(response, json);\n              initializeModelChunk(chunk);\n              \"fulfilled\" === chunk.status\n                ? controller.enqueue(chunk.value)\n                : (chunk.then(\n                    function (v) {\n                      return controller.enqueue(v);\n                    },\n                    function (e) {\n                      return controller.error(e);\n                    }\n                  ),\n                  (previousBlockedChunk = chunk));\n            } else {\n              chunk = previousBlockedChunk;\n              var _chunk3 = createPendingChunk(response);\n              _chunk3.then(\n                function (v) {\n                  return controller.enqueue(v);\n                },\n                function (e) {\n                  return controller.error(e);\n                }\n              );\n              previousBlockedChunk = _chunk3;\n              chunk.then(function () {\n                previousBlockedChunk === _chunk3 &&\n                  (previousBlockedChunk = null);\n                resolveModelChunk(response, _chunk3, json);\n              });\n            }\n          },\n          close: function () {\n            if (!closed)\n              if (((closed = !0), null === previousBlockedChunk))\n                controller.close();\n              else {\n                var blockedChunk = previousBlockedChunk;\n                previousBlockedChunk = null;\n                blockedChunk.then(function () {\n                  return controller.close();\n                });\n              }\n          },\n          error: function (error) {\n            if (!closed)\n              if (((closed = !0), null === previousBlockedChunk))\n                controller.error(error);\n              else {\n                var blockedChunk = previousBlockedChunk;\n                previousBlockedChunk = null;\n                blockedChunk.then(function () {\n                  return controller.error(error);\n                });\n              }\n          }\n        },\n        streamState\n      );\n    }\n    function asyncIterator() {\n      return this;\n    }\n    function createIterator(next) {\n      next = { next: next };\n      next[ASYNC_ITERATOR] = asyncIterator;\n      return next;\n    }\n    function startAsyncIterable(response, id, iterator, streamState) {\n      var buffer = [],\n        closed = !1,\n        nextWriteIndex = 0,\n        iterable = {};\n      iterable[ASYNC_ITERATOR] = function () {\n        var nextReadIndex = 0;\n        return createIterator(function (arg) {\n          if (void 0 !== arg)\n            throw Error(\n              \"Values cannot be passed to next() of AsyncIterables passed to Client Components.\"\n            );\n          if (nextReadIndex === buffer.length) {\n            if (closed)\n              return new ReactPromise(\n                \"fulfilled\",\n                { done: !0, value: void 0 },\n                null\n              );\n            buffer[nextReadIndex] = createPendingChunk(response);\n          }\n          return buffer[nextReadIndex++];\n        });\n      };\n      resolveStream(\n        response,\n        id,\n        iterator ? iterable[ASYNC_ITERATOR]() : iterable,\n        {\n          enqueueValue: function (value) {\n            if (nextWriteIndex === buffer.length)\n              buffer[nextWriteIndex] = new ReactPromise(\n                \"fulfilled\",\n                { done: !1, value: value },\n                null\n              );\n            else {\n              var chunk = buffer[nextWriteIndex],\n                resolveListeners = chunk.value,\n                rejectListeners = chunk.reason;\n              chunk.status = \"fulfilled\";\n              chunk.value = { done: !1, value: value };\n              chunk.reason = null;\n              null !== resolveListeners &&\n                wakeChunkIfInitialized(\n                  response,\n                  chunk,\n                  resolveListeners,\n                  rejectListeners\n                );\n            }\n            nextWriteIndex++;\n          },\n          enqueueModel: function (value) {\n            nextWriteIndex === buffer.length\n              ? (buffer[nextWriteIndex] = createResolvedIteratorResultChunk(\n                  response,\n                  value,\n                  !1\n                ))\n              : resolveIteratorResultChunk(\n                  response,\n                  buffer[nextWriteIndex],\n                  value,\n                  !1\n                );\n            nextWriteIndex++;\n          },\n          close: function (value) {\n            if (!closed)\n              for (\n                closed = !0,\n                  nextWriteIndex === buffer.length\n                    ? (buffer[nextWriteIndex] =\n                        createResolvedIteratorResultChunk(response, value, !0))\n                    : resolveIteratorResultChunk(\n                        response,\n                        buffer[nextWriteIndex],\n                        value,\n                        !0\n                      ),\n                  nextWriteIndex++;\n                nextWriteIndex < buffer.length;\n\n              )\n                resolveIteratorResultChunk(\n                  response,\n                  buffer[nextWriteIndex++],\n                  '\"$undefined\"',\n                  !0\n                );\n          },\n          error: function (error) {\n            if (!closed)\n              for (\n                closed = !0,\n                  nextWriteIndex === buffer.length &&\n                    (buffer[nextWriteIndex] = createPendingChunk(response));\n                nextWriteIndex < buffer.length;\n\n              )\n                triggerErrorOnChunk(response, buffer[nextWriteIndex++], error);\n          }\n        },\n        streamState\n      );\n    }\n    function resolveErrorDev(response, errorInfo) {\n      var name = errorInfo.name,\n        message = errorInfo.message,\n        stack = errorInfo.stack,\n        env = errorInfo.env,\n        errorOptions =\n          \"cause\" in errorInfo\n            ? {\n                cause: reviveModel(\n                  response,\n                  errorInfo.cause,\n                  errorInfo,\n                  \"cause\"\n                )\n              }\n            : void 0,\n        isAggregateError =\n          \"undefined\" !== typeof AggregateError && \"errors\" in errorInfo,\n        revivedErrors = isAggregateError\n          ? reviveModel(response, errorInfo.errors, errorInfo, \"errors\")\n          : null;\n      message = buildFakeCallStack(\n        response,\n        stack,\n        env,\n        !1,\n        isAggregateError\n          ? AggregateError.bind(\n              null,\n              revivedErrors,\n              message ||\n                \"An error occurred in the Server Components render but no message was provided\",\n              errorOptions\n            )\n          : Error.bind(\n              null,\n              message ||\n                \"An error occurred in the Server Components render but no message was provided\",\n              errorOptions\n            )\n      );\n      stack = null;\n      null != errorInfo.owner &&\n        ((errorInfo = errorInfo.owner.slice(1)),\n        (errorInfo = getOutlinedModel(\n          response,\n          errorInfo,\n          {},\n          \"\",\n          createModel\n        )),\n        null !== errorInfo &&\n          (stack = initializeFakeTask(response, errorInfo)));\n      null === stack\n        ? ((response = getRootTask(response, env)),\n          (response = null != response ? response.run(message) : message()))\n        : (response = stack.run(message));\n      response.name = name;\n      response.environmentName = env;\n      return response;\n    }\n    function createFakeFunction(\n      name,\n      filename,\n      sourceMap,\n      line,\n      col,\n      enclosingLine,\n      enclosingCol,\n      environmentName\n    ) {\n      name || (name = \"<anonymous>\");\n      var encodedName = JSON.stringify(name);\n      1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;\n      1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;\n      1 > line ? (line = 0) : line--;\n      1 > col ? (col = 0) : col--;\n      if (\n        line < enclosingLine ||\n        (line === enclosingLine && col < enclosingCol)\n      )\n        enclosingCol = enclosingLine = 0;\n      1 > line\n        ? ((line = encodedName.length + 3),\n          (enclosingCol -= line),\n          0 > enclosingCol && (enclosingCol = 0),\n          (col = col - enclosingCol - line - 3),\n          0 > col && (col = 0),\n          (encodedName =\n            \"({\" +\n            encodedName +\n            \":\" +\n            \" \".repeat(enclosingCol) +\n            \"_=>\" +\n            \" \".repeat(col) +\n            \"_()})\"))\n        : 1 > enclosingLine\n          ? ((enclosingCol -= encodedName.length + 3),\n            0 > enclosingCol && (enclosingCol = 0),\n            (encodedName =\n              \"({\" +\n              encodedName +\n              \":\" +\n              \" \".repeat(enclosingCol) +\n              \"_=>\" +\n              \"\\n\".repeat(line - enclosingLine) +\n              \" \".repeat(col) +\n              \"_()})\"))\n          : enclosingLine === line\n            ? ((col = col - enclosingCol - 3),\n              0 > col && (col = 0),\n              (encodedName =\n                \"\\n\".repeat(enclosingLine - 1) +\n                \"({\" +\n                encodedName +\n                \":\\n\" +\n                \" \".repeat(enclosingCol) +\n                \"_=>\" +\n                \" \".repeat(col) +\n                \"_()})\"))\n            : (encodedName =\n                \"\\n\".repeat(enclosingLine - 1) +\n                \"({\" +\n                encodedName +\n                \":\\n\" +\n                \" \".repeat(enclosingCol) +\n                \"_=>\" +\n                \"\\n\".repeat(line - enclosingLine) +\n                \" \".repeat(col) +\n                \"_()})\");\n      encodedName =\n        1 > enclosingLine\n          ? encodedName +\n            \"\\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */\"\n          : \"/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */\" +\n            encodedName;\n      filename.startsWith(\"/\") && (filename = \"file://\" + filename);\n      sourceMap\n        ? ((encodedName +=\n            \"\\n//# sourceURL=about://React/\" +\n            encodeURIComponent(environmentName) +\n            \"/\" +\n            encodeURI(filename) +\n            \"?\" +\n            fakeFunctionIdx++),\n          (encodedName += \"\\n//# sourceMappingURL=\" + sourceMap))\n        : (encodedName = filename\n            ? encodedName + (\"\\n//# sourceURL=\" + encodeURI(filename))\n            : encodedName + \"\\n//# sourceURL=<anonymous>\");\n      try {\n        var fn = (0, eval)(encodedName)[name];\n      } catch (x) {\n        (fn = function (_) {\n          return _();\n        }),\n          Object.defineProperty(fn, \"name\", { value: name });\n      }\n      return fn;\n    }\n    function buildFakeCallStack(\n      response,\n      stack,\n      environmentName,\n      useEnclosingLine,\n      innerCall\n    ) {\n      for (var i = 0; i < stack.length; i++) {\n        var frame = stack[i],\n          frameKey =\n            frame.join(\"-\") +\n            \"-\" +\n            environmentName +\n            (useEnclosingLine ? \"-e\" : \"-n\"),\n          fn = fakeFunctionCache.get(frameKey);\n        if (void 0 === fn) {\n          fn = frame[0];\n          var filename = frame[1],\n            line = frame[2],\n            col = frame[3],\n            enclosingLine = frame[4];\n          frame = frame[5];\n          var findSourceMapURL = response._debugFindSourceMapURL;\n          findSourceMapURL = findSourceMapURL\n            ? findSourceMapURL(filename, environmentName)\n            : null;\n          fn = createFakeFunction(\n            fn,\n            filename,\n            findSourceMapURL,\n            line,\n            col,\n            useEnclosingLine ? line : enclosingLine,\n            useEnclosingLine ? col : frame,\n            environmentName\n          );\n          fakeFunctionCache.set(frameKey, fn);\n        }\n        innerCall = fn.bind(null, innerCall);\n      }\n      return innerCall;\n    }\n    function getRootTask(response, childEnvironmentName) {\n      var rootTask = response._debugRootTask;\n      return rootTask\n        ? response._rootEnvironmentName !== childEnvironmentName\n          ? ((response = console.createTask.bind(\n              console,\n              '\"use ' + childEnvironmentName.toLowerCase() + '\"'\n            )),\n            rootTask.run(response))\n          : rootTask\n        : null;\n    }\n    function initializeFakeTask(response, debugInfo) {\n      if (!supportsCreateTask || null == debugInfo.stack) return null;\n      var cachedEntry = debugInfo.debugTask;\n      if (void 0 !== cachedEntry) return cachedEntry;\n      var useEnclosingLine = void 0 === debugInfo.key,\n        stack = debugInfo.stack,\n        env =\n          null == debugInfo.env ? response._rootEnvironmentName : debugInfo.env;\n      cachedEntry =\n        null == debugInfo.owner || null == debugInfo.owner.env\n          ? response._rootEnvironmentName\n          : debugInfo.owner.env;\n      var ownerTask =\n        null == debugInfo.owner\n          ? null\n          : initializeFakeTask(response, debugInfo.owner);\n      env =\n        env !== cachedEntry\n          ? '\"use ' + env.toLowerCase() + '\"'\n          : void 0 !== debugInfo.key\n            ? \"<\" + (debugInfo.name || \"...\") + \">\"\n            : void 0 !== debugInfo.name\n              ? debugInfo.name || \"unknown\"\n              : \"await \" + (debugInfo.awaited.name || \"unknown\");\n      env = console.createTask.bind(console, env);\n      useEnclosingLine = buildFakeCallStack(\n        response,\n        stack,\n        cachedEntry,\n        useEnclosingLine,\n        env\n      );\n      null === ownerTask\n        ? ((response = getRootTask(response, cachedEntry)),\n          (response =\n            null != response\n              ? response.run(useEnclosingLine)\n              : useEnclosingLine()))\n        : (response = ownerTask.run(useEnclosingLine));\n      return (debugInfo.debugTask = response);\n    }\n    function fakeJSXCallSite() {\n      var previousStackTraceLimit = Error.stackTraceLimit;\n      Error.stackTraceLimit = ownerStackTraceLimit;\n      var error = Error(\"react-stack-top-frame\");\n      Error.stackTraceLimit = previousStackTraceLimit;\n      return error;\n    }\n    function initializeFakeStack(response, debugInfo) {\n      if (void 0 === debugInfo.debugStack) {\n        null != debugInfo.stack &&\n          (debugInfo.debugStack = createFakeJSXCallStackInDEV(\n            response,\n            debugInfo.stack,\n            null == debugInfo.env ? \"\" : debugInfo.env\n          ));\n        var owner = debugInfo.owner;\n        null != owner &&\n          (initializeFakeStack(response, owner),\n          void 0 === owner.debugLocation &&\n            null != debugInfo.debugStack &&\n            (owner.debugLocation = debugInfo.debugStack));\n      }\n    }\n    function initializeDebugInfo(response, debugInfo) {\n      void 0 !== debugInfo.stack && initializeFakeTask(response, debugInfo);\n      if (null == debugInfo.owner && null != response._debugRootOwner) {\n        var _componentInfoOrAsyncInfo = debugInfo;\n        _componentInfoOrAsyncInfo.owner = response._debugRootOwner;\n        _componentInfoOrAsyncInfo.stack = null;\n        _componentInfoOrAsyncInfo.debugStack = response._debugRootStack;\n        _componentInfoOrAsyncInfo.debugTask = response._debugRootTask;\n      } else\n        void 0 !== debugInfo.stack && initializeFakeStack(response, debugInfo);\n      \"number\" === typeof debugInfo.time &&\n        (debugInfo = { time: debugInfo.time + response._timeOrigin });\n      return debugInfo;\n    }\n    function getCurrentStackInDEV() {\n      var owner = currentOwnerInDEV;\n      if (null === owner) return \"\";\n      try {\n        var info = \"\";\n        if (owner.owner || \"string\" !== typeof owner.name) {\n          for (; owner; ) {\n            var ownerStack = owner.debugStack;\n            if (null != ownerStack) {\n              if ((owner = owner.owner)) {\n                var JSCompiler_temp_const = info;\n                var error = ownerStack,\n                  prevPrepareStackTrace = Error.prepareStackTrace;\n                Error.prepareStackTrace = prepareStackTrace;\n                var stack = error.stack;\n                Error.prepareStackTrace = prevPrepareStackTrace;\n                stack.startsWith(\"Error: react-stack-top-frame\\n\") &&\n                  (stack = stack.slice(29));\n                var idx = stack.indexOf(\"\\n\");\n                -1 !== idx && (stack = stack.slice(idx + 1));\n                idx = stack.indexOf(\"react_stack_bottom_frame\");\n                -1 !== idx && (idx = stack.lastIndexOf(\"\\n\", idx));\n                var JSCompiler_inline_result =\n                  -1 !== idx ? (stack = stack.slice(0, idx)) : \"\";\n                info =\n                  JSCompiler_temp_const + (\"\\n\" + JSCompiler_inline_result);\n              }\n            } else break;\n          }\n          var JSCompiler_inline_result$jscomp$0 = info;\n        } else {\n          JSCompiler_temp_const = owner.name;\n          if (void 0 === prefix)\n            try {\n              throw Error();\n            } catch (x) {\n              (prefix =\n                ((error = x.stack.trim().match(/\\n( *(at )?)/)) && error[1]) ||\n                \"\"),\n                (suffix =\n                  -1 < x.stack.indexOf(\"\\n    at\")\n                    ? \" (<anonymous>)\"\n                    : -1 < x.stack.indexOf(\"@\")\n                      ? \"@unknown:0:0\"\n                      : \"\");\n            }\n          JSCompiler_inline_result$jscomp$0 =\n            \"\\n\" + prefix + JSCompiler_temp_const + suffix;\n        }\n      } catch (x) {\n        JSCompiler_inline_result$jscomp$0 =\n          \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n      }\n      return JSCompiler_inline_result$jscomp$0;\n    }\n    function resolveConsoleEntry(response, json) {\n      if (response._replayConsole) {\n        var blockedChunk = response._blockedConsole;\n        if (null == blockedChunk)\n          (blockedChunk = createResolvedModelChunk(response, json)),\n            initializeModelChunk(blockedChunk),\n            \"fulfilled\" === blockedChunk.status\n              ? replayConsoleWithCallStackInDEV(response, blockedChunk.value)\n              : (blockedChunk.then(\n                  function (v) {\n                    return replayConsoleWithCallStackInDEV(response, v);\n                  },\n                  function () {}\n                ),\n                (response._blockedConsole = blockedChunk));\n        else {\n          var _chunk4 = createPendingChunk(response);\n          _chunk4.then(\n            function (v) {\n              return replayConsoleWithCallStackInDEV(response, v);\n            },\n            function () {}\n          );\n          response._blockedConsole = _chunk4;\n          var unblock = function () {\n            response._blockedConsole === _chunk4 &&\n              (response._blockedConsole = null);\n            resolveModelChunk(response, _chunk4, json);\n          };\n          blockedChunk.then(unblock, unblock);\n        }\n      }\n    }\n    function initializeIOInfo(response, ioInfo) {\n      void 0 !== ioInfo.stack &&\n        (initializeFakeTask(response, ioInfo),\n        initializeFakeStack(response, ioInfo));\n      ioInfo.start += response._timeOrigin;\n      ioInfo.end += response._timeOrigin;\n      if (response._replayConsole) {\n        response = response._rootEnvironmentName;\n        var promise = ioInfo.value;\n        if (promise)\n          switch (promise.status) {\n            case \"fulfilled\":\n              logIOInfo(ioInfo, response, promise.value);\n              break;\n            case \"rejected\":\n              logIOInfoErrored(ioInfo, response, promise.reason);\n              break;\n            default:\n              promise.then(\n                logIOInfo.bind(null, ioInfo, response),\n                logIOInfoErrored.bind(null, ioInfo, response)\n              );\n          }\n        else logIOInfo(ioInfo, response, void 0);\n      }\n    }\n    function resolveIOInfo(response, id, model) {\n      var chunks = response._chunks,\n        chunk = chunks.get(id),\n        prevIsInitializingDebugInfo = isInitializingDebugInfo;\n      isInitializingDebugInfo = !0;\n      try {\n        chunk\n          ? (resolveModelChunk(response, chunk, model),\n            \"resolved_model\" === chunk.status && initializeModelChunk(chunk))\n          : ((chunk = createResolvedModelChunk(response, model)),\n            chunks.set(id, chunk),\n            initializeModelChunk(chunk));\n      } finally {\n        isInitializingDebugInfo = prevIsInitializingDebugInfo;\n      }\n      \"fulfilled\" === chunk.status\n        ? initializeIOInfo(response, chunk.value)\n        : chunk.then(\n            function (v) {\n              initializeIOInfo(response, v);\n            },\n            function () {}\n          );\n    }\n    function mergeBuffer(buffer, lastChunk) {\n      for (\n        var l = buffer.length, byteLength = lastChunk.length, i = 0;\n        i < l;\n        i++\n      )\n        byteLength += buffer[i].byteLength;\n      byteLength = new Uint8Array(byteLength);\n      for (var _i3 = (i = 0); _i3 < l; _i3++) {\n        var chunk = buffer[_i3];\n        byteLength.set(chunk, i);\n        i += chunk.byteLength;\n      }\n      byteLength.set(lastChunk, i);\n      return byteLength;\n    }\n    function resolveTypedArray(\n      response,\n      id,\n      buffer,\n      lastChunk,\n      constructor,\n      bytesPerElement,\n      streamState\n    ) {\n      buffer =\n        0 === buffer.length && 0 === lastChunk.byteOffset % bytesPerElement\n          ? lastChunk\n          : mergeBuffer(buffer, lastChunk);\n      constructor = new constructor(\n        buffer.buffer,\n        buffer.byteOffset,\n        buffer.byteLength / bytesPerElement\n      );\n      resolveBuffer(response, id, constructor, streamState);\n    }\n    function flushComponentPerformance(\n      response$jscomp$0,\n      root,\n      trackIdx$jscomp$6,\n      trackTime,\n      parentEndTime\n    ) {\n      if (!isArrayImpl(root._children)) {\n        var previousResult = root._children,\n          previousEndTime = previousResult.endTime;\n        if (\n          -Infinity < parentEndTime &&\n          parentEndTime < previousEndTime &&\n          null !== previousResult.component\n        ) {\n          var componentInfo = previousResult.component,\n            trackIdx = trackIdx$jscomp$6,\n            startTime = parentEndTime;\n          if (supportsUserTiming && 0 <= previousEndTime && 10 > trackIdx) {\n            var color =\n                componentInfo.env === response$jscomp$0._rootEnvironmentName\n                  ? \"primary-light\"\n                  : \"secondary-light\",\n              entryName = componentInfo.name + \" [deduped]\",\n              debugTask = componentInfo.debugTask;\n            debugTask\n              ? debugTask.run(\n                  console.timeStamp.bind(\n                    console,\n                    entryName,\n                    0 > startTime ? 0 : startTime,\n                    previousEndTime,\n                    trackNames[trackIdx],\n                    \"Server Components \\u269b\",\n                    color\n                  )\n                )\n              : console.timeStamp(\n                  entryName,\n                  0 > startTime ? 0 : startTime,\n                  previousEndTime,\n                  trackNames[trackIdx],\n                  \"Server Components \\u269b\",\n                  color\n                );\n          }\n        }\n        previousResult.track = trackIdx$jscomp$6;\n        return previousResult;\n      }\n      var children = root._children;\n      var debugInfo = root._debugInfo;\n      if (0 === debugInfo.length && \"fulfilled\" === root.status) {\n        var resolvedValue = resolveLazy(root.value);\n        \"object\" === typeof resolvedValue &&\n          null !== resolvedValue &&\n          (isArrayImpl(resolvedValue) ||\n            \"function\" === typeof resolvedValue[ASYNC_ITERATOR] ||\n            resolvedValue.$$typeof === REACT_ELEMENT_TYPE ||\n            resolvedValue.$$typeof === REACT_LAZY_TYPE) &&\n          isArrayImpl(resolvedValue._debugInfo) &&\n          (debugInfo = resolvedValue._debugInfo);\n      }\n      if (debugInfo) {\n        for (var startTime$jscomp$0 = 0, i = 0; i < debugInfo.length; i++) {\n          var info = debugInfo[i];\n          \"number\" === typeof info.time && (startTime$jscomp$0 = info.time);\n          if (\"string\" === typeof info.name) {\n            startTime$jscomp$0 < trackTime && trackIdx$jscomp$6++;\n            trackTime = startTime$jscomp$0;\n            break;\n          }\n        }\n        for (var _i4 = debugInfo.length - 1; 0 <= _i4; _i4--) {\n          var _info = debugInfo[_i4];\n          if (\"number\" === typeof _info.time && _info.time > parentEndTime) {\n            parentEndTime = _info.time;\n            break;\n          }\n        }\n      }\n      var result = {\n        track: trackIdx$jscomp$6,\n        endTime: -Infinity,\n        component: null\n      };\n      root._children = result;\n      for (\n        var childrenEndTime = -Infinity,\n          childTrackIdx = trackIdx$jscomp$6,\n          childTrackTime = trackTime,\n          _i5 = 0;\n        _i5 < children.length;\n        _i5++\n      ) {\n        var childResult = flushComponentPerformance(\n          response$jscomp$0,\n          children[_i5],\n          childTrackIdx,\n          childTrackTime,\n          parentEndTime\n        );\n        null !== childResult.component &&\n          (result.component = childResult.component);\n        childTrackIdx = childResult.track;\n        var childEndTime = childResult.endTime;\n        childEndTime > childTrackTime && (childTrackTime = childEndTime);\n        childEndTime > childrenEndTime && (childrenEndTime = childEndTime);\n      }\n      if (debugInfo)\n        for (\n          var componentEndTime = 0,\n            isLastComponent = !0,\n            endTime = -1,\n            endTimeIdx = -1,\n            _i6 = debugInfo.length - 1;\n          0 <= _i6;\n          _i6--\n        ) {\n          var _info2 = debugInfo[_i6];\n          if (\"number\" === typeof _info2.time) {\n            0 === componentEndTime && (componentEndTime = _info2.time);\n            var time = _info2.time;\n            if (-1 < endTimeIdx)\n              for (var j = endTimeIdx - 1; j > _i6; j--) {\n                var candidateInfo = debugInfo[j];\n                if (\"string\" === typeof candidateInfo.name) {\n                  componentEndTime > childrenEndTime &&\n                    (childrenEndTime = componentEndTime);\n                  var componentInfo$jscomp$0 = candidateInfo,\n                    response = response$jscomp$0,\n                    componentInfo$jscomp$1 = componentInfo$jscomp$0,\n                    trackIdx$jscomp$0 = trackIdx$jscomp$6,\n                    startTime$jscomp$1 = time,\n                    componentEndTime$jscomp$0 = componentEndTime,\n                    childrenEndTime$jscomp$0 = childrenEndTime;\n                  if (\n                    isLastComponent &&\n                    \"rejected\" === root.status &&\n                    root.reason !== response._closedReason\n                  ) {\n                    var componentInfo$jscomp$2 = componentInfo$jscomp$1,\n                      trackIdx$jscomp$1 = trackIdx$jscomp$0,\n                      startTime$jscomp$2 = startTime$jscomp$1,\n                      childrenEndTime$jscomp$1 = childrenEndTime$jscomp$0,\n                      error = root.reason;\n                    if (supportsUserTiming) {\n                      var env = componentInfo$jscomp$2.env,\n                        name = componentInfo$jscomp$2.name,\n                        entryName$jscomp$0 =\n                          env === response._rootEnvironmentName ||\n                          void 0 === env\n                            ? name\n                            : name + \" [\" + env + \"]\",\n                        measureName = \"\\u200b\" + entryName$jscomp$0,\n                        properties = [\n                          [\n                            \"Error\",\n                            \"object\" === typeof error &&\n                            null !== error &&\n                            \"string\" === typeof error.message\n                              ? String(error.message)\n                              : String(error)\n                          ]\n                        ];\n                      null != componentInfo$jscomp$2.key &&\n                        addValueToProperties(\n                          \"key\",\n                          componentInfo$jscomp$2.key,\n                          properties,\n                          0,\n                          \"\"\n                        );\n                      null != componentInfo$jscomp$2.props &&\n                        addObjectToProperties(\n                          componentInfo$jscomp$2.props,\n                          properties,\n                          0,\n                          \"\"\n                        );\n                      performance.measure(measureName, {\n                        start: 0 > startTime$jscomp$2 ? 0 : startTime$jscomp$2,\n                        end: childrenEndTime$jscomp$1,\n                        detail: {\n                          devtools: {\n                            color: \"error\",\n                            track: trackNames[trackIdx$jscomp$1],\n                            trackGroup: \"Server Components \\u269b\",\n                            tooltipText: entryName$jscomp$0 + \" Errored\",\n                            properties: properties\n                          }\n                        }\n                      });\n                      performance.clearMeasures(measureName);\n                    }\n                  } else {\n                    var componentInfo$jscomp$3 = componentInfo$jscomp$1,\n                      trackIdx$jscomp$2 = trackIdx$jscomp$0,\n                      startTime$jscomp$3 = startTime$jscomp$1,\n                      childrenEndTime$jscomp$2 = childrenEndTime$jscomp$0;\n                    if (\n                      supportsUserTiming &&\n                      0 <= childrenEndTime$jscomp$2 &&\n                      10 > trackIdx$jscomp$2\n                    ) {\n                      var env$jscomp$0 = componentInfo$jscomp$3.env,\n                        name$jscomp$0 = componentInfo$jscomp$3.name,\n                        isPrimaryEnv =\n                          env$jscomp$0 === response._rootEnvironmentName,\n                        selfTime =\n                          componentEndTime$jscomp$0 - startTime$jscomp$3,\n                        color$jscomp$0 =\n                          0.5 > selfTime\n                            ? isPrimaryEnv\n                              ? \"primary-light\"\n                              : \"secondary-light\"\n                            : 50 > selfTime\n                              ? isPrimaryEnv\n                                ? \"primary\"\n                                : \"secondary\"\n                              : 500 > selfTime\n                                ? isPrimaryEnv\n                                  ? \"primary-dark\"\n                                  : \"secondary-dark\"\n                                : \"error\",\n                        debugTask$jscomp$0 = componentInfo$jscomp$3.debugTask,\n                        measureName$jscomp$0 =\n                          \"\\u200b\" +\n                          (isPrimaryEnv || void 0 === env$jscomp$0\n                            ? name$jscomp$0\n                            : name$jscomp$0 + \" [\" + env$jscomp$0 + \"]\");\n                      if (debugTask$jscomp$0) {\n                        var properties$jscomp$0 = [];\n                        null != componentInfo$jscomp$3.key &&\n                          addValueToProperties(\n                            \"key\",\n                            componentInfo$jscomp$3.key,\n                            properties$jscomp$0,\n                            0,\n                            \"\"\n                          );\n                        null != componentInfo$jscomp$3.props &&\n                          addObjectToProperties(\n                            componentInfo$jscomp$3.props,\n                            properties$jscomp$0,\n                            0,\n                            \"\"\n                          );\n                        debugTask$jscomp$0.run(\n                          performance.measure.bind(\n                            performance,\n                            measureName$jscomp$0,\n                            {\n                              start:\n                                0 > startTime$jscomp$3 ? 0 : startTime$jscomp$3,\n                              end: childrenEndTime$jscomp$2,\n                              detail: {\n                                devtools: {\n                                  color: color$jscomp$0,\n                                  track: trackNames[trackIdx$jscomp$2],\n                                  trackGroup: \"Server Components \\u269b\",\n                                  properties: properties$jscomp$0\n                                }\n                              }\n                            }\n                          )\n                        );\n                        performance.clearMeasures(measureName$jscomp$0);\n                      } else\n                        console.timeStamp(\n                          measureName$jscomp$0,\n                          0 > startTime$jscomp$3 ? 0 : startTime$jscomp$3,\n                          childrenEndTime$jscomp$2,\n                          trackNames[trackIdx$jscomp$2],\n                          \"Server Components \\u269b\",\n                          color$jscomp$0\n                        );\n                    }\n                  }\n                  componentEndTime = time;\n                  result.component = componentInfo$jscomp$0;\n                  isLastComponent = !1;\n                } else if (\n                  candidateInfo.awaited &&\n                  null != candidateInfo.awaited.env\n                ) {\n                  endTime > childrenEndTime && (childrenEndTime = endTime);\n                  var asyncInfo = candidateInfo,\n                    env$jscomp$1 = response$jscomp$0._rootEnvironmentName,\n                    promise = asyncInfo.awaited.value;\n                  if (promise) {\n                    var thenable = promise;\n                    switch (thenable.status) {\n                      case \"fulfilled\":\n                        logComponentAwait(\n                          asyncInfo,\n                          trackIdx$jscomp$6,\n                          time,\n                          endTime,\n                          env$jscomp$1,\n                          thenable.value\n                        );\n                        break;\n                      case \"rejected\":\n                        var asyncInfo$jscomp$0 = asyncInfo,\n                          trackIdx$jscomp$3 = trackIdx$jscomp$6,\n                          startTime$jscomp$4 = time,\n                          endTime$jscomp$0 = endTime,\n                          rootEnv = env$jscomp$1,\n                          error$jscomp$0 = thenable.reason;\n                        if (supportsUserTiming && 0 < endTime$jscomp$0) {\n                          var description = getIODescription(error$jscomp$0),\n                            entryName$jscomp$1 =\n                              \"await \" +\n                              getIOShortName(\n                                asyncInfo$jscomp$0.awaited,\n                                description,\n                                asyncInfo$jscomp$0.env,\n                                rootEnv\n                              ),\n                            debugTask$jscomp$1 =\n                              asyncInfo$jscomp$0.debugTask ||\n                              asyncInfo$jscomp$0.awaited.debugTask;\n                          if (debugTask$jscomp$1) {\n                            var properties$jscomp$1 = [\n                                [\n                                  \"Rejected\",\n                                  \"object\" === typeof error$jscomp$0 &&\n                                  null !== error$jscomp$0 &&\n                                  \"string\" === typeof error$jscomp$0.message\n                                    ? String(error$jscomp$0.message)\n                                    : String(error$jscomp$0)\n                                ]\n                              ],\n                              tooltipText =\n                                getIOLongName(\n                                  asyncInfo$jscomp$0.awaited,\n                                  description,\n                                  asyncInfo$jscomp$0.env,\n                                  rootEnv\n                                ) + \" Rejected\";\n                            debugTask$jscomp$1.run(\n                              performance.measure.bind(\n                                performance,\n                                entryName$jscomp$1,\n                                {\n                                  start:\n                                    0 > startTime$jscomp$4\n                                      ? 0\n                                      : startTime$jscomp$4,\n                                  end: endTime$jscomp$0,\n                                  detail: {\n                                    devtools: {\n                                      color: \"error\",\n                                      track: trackNames[trackIdx$jscomp$3],\n                                      trackGroup: \"Server Components \\u269b\",\n                                      properties: properties$jscomp$1,\n                                      tooltipText: tooltipText\n                                    }\n                                  }\n                                }\n                              )\n                            );\n                            performance.clearMeasures(entryName$jscomp$1);\n                          } else\n                            console.timeStamp(\n                              entryName$jscomp$1,\n                              0 > startTime$jscomp$4 ? 0 : startTime$jscomp$4,\n                              endTime$jscomp$0,\n                              trackNames[trackIdx$jscomp$3],\n                              \"Server Components \\u269b\",\n                              \"error\"\n                            );\n                        }\n                        break;\n                      default:\n                        logComponentAwait(\n                          asyncInfo,\n                          trackIdx$jscomp$6,\n                          time,\n                          endTime,\n                          env$jscomp$1,\n                          void 0\n                        );\n                    }\n                  } else\n                    logComponentAwait(\n                      asyncInfo,\n                      trackIdx$jscomp$6,\n                      time,\n                      endTime,\n                      env$jscomp$1,\n                      void 0\n                    );\n                }\n              }\n            else {\n              endTime = time;\n              for (var _j = debugInfo.length - 1; _j > _i6; _j--) {\n                var _candidateInfo = debugInfo[_j];\n                if (\"string\" === typeof _candidateInfo.name) {\n                  componentEndTime > childrenEndTime &&\n                    (childrenEndTime = componentEndTime);\n                  var _componentInfo = _candidateInfo,\n                    _env = response$jscomp$0._rootEnvironmentName,\n                    componentInfo$jscomp$4 = _componentInfo,\n                    trackIdx$jscomp$4 = trackIdx$jscomp$6,\n                    startTime$jscomp$5 = time,\n                    childrenEndTime$jscomp$3 = childrenEndTime;\n                  if (supportsUserTiming) {\n                    var env$jscomp$2 = componentInfo$jscomp$4.env,\n                      name$jscomp$1 = componentInfo$jscomp$4.name,\n                      entryName$jscomp$2 =\n                        env$jscomp$2 === _env || void 0 === env$jscomp$2\n                          ? name$jscomp$1\n                          : name$jscomp$1 + \" [\" + env$jscomp$2 + \"]\",\n                      measureName$jscomp$1 = \"\\u200b\" + entryName$jscomp$2,\n                      properties$jscomp$2 = [\n                        [\n                          \"Aborted\",\n                          \"The stream was aborted before this Component finished rendering.\"\n                        ]\n                      ];\n                    null != componentInfo$jscomp$4.key &&\n                      addValueToProperties(\n                        \"key\",\n                        componentInfo$jscomp$4.key,\n                        properties$jscomp$2,\n                        0,\n                        \"\"\n                      );\n                    null != componentInfo$jscomp$4.props &&\n                      addObjectToProperties(\n                        componentInfo$jscomp$4.props,\n                        properties$jscomp$2,\n                        0,\n                        \"\"\n                      );\n                    performance.measure(measureName$jscomp$1, {\n                      start: 0 > startTime$jscomp$5 ? 0 : startTime$jscomp$5,\n                      end: childrenEndTime$jscomp$3,\n                      detail: {\n                        devtools: {\n                          color: \"warning\",\n                          track: trackNames[trackIdx$jscomp$4],\n                          trackGroup: \"Server Components \\u269b\",\n                          tooltipText: entryName$jscomp$2 + \" Aborted\",\n                          properties: properties$jscomp$2\n                        }\n                      }\n                    });\n                    performance.clearMeasures(measureName$jscomp$1);\n                  }\n                  componentEndTime = time;\n                  result.component = _componentInfo;\n                  isLastComponent = !1;\n                } else if (\n                  _candidateInfo.awaited &&\n                  null != _candidateInfo.awaited.env\n                ) {\n                  var _asyncInfo = _candidateInfo,\n                    _env2 = response$jscomp$0._rootEnvironmentName;\n                  _asyncInfo.awaited.end > endTime &&\n                    (endTime = _asyncInfo.awaited.end);\n                  endTime > childrenEndTime && (childrenEndTime = endTime);\n                  var asyncInfo$jscomp$1 = _asyncInfo,\n                    trackIdx$jscomp$5 = trackIdx$jscomp$6,\n                    startTime$jscomp$6 = time,\n                    endTime$jscomp$1 = endTime,\n                    rootEnv$jscomp$0 = _env2;\n                  if (supportsUserTiming && 0 < endTime$jscomp$1) {\n                    var entryName$jscomp$3 =\n                        \"await \" +\n                        getIOShortName(\n                          asyncInfo$jscomp$1.awaited,\n                          \"\",\n                          asyncInfo$jscomp$1.env,\n                          rootEnv$jscomp$0\n                        ),\n                      debugTask$jscomp$2 =\n                        asyncInfo$jscomp$1.debugTask ||\n                        asyncInfo$jscomp$1.awaited.debugTask;\n                    if (debugTask$jscomp$2) {\n                      var tooltipText$jscomp$0 =\n                        getIOLongName(\n                          asyncInfo$jscomp$1.awaited,\n                          \"\",\n                          asyncInfo$jscomp$1.env,\n                          rootEnv$jscomp$0\n                        ) + \" Aborted\";\n                      debugTask$jscomp$2.run(\n                        performance.measure.bind(\n                          performance,\n                          entryName$jscomp$3,\n                          {\n                            start:\n                              0 > startTime$jscomp$6 ? 0 : startTime$jscomp$6,\n                            end: endTime$jscomp$1,\n                            detail: {\n                              devtools: {\n                                color: \"warning\",\n                                track: trackNames[trackIdx$jscomp$5],\n                                trackGroup: \"Server Components \\u269b\",\n                                properties: [\n                                  [\n                                    \"Aborted\",\n                                    \"The stream was aborted before this Promise resolved.\"\n                                  ]\n                                ],\n                                tooltipText: tooltipText$jscomp$0\n                              }\n                            }\n                          }\n                        )\n                      );\n                      performance.clearMeasures(entryName$jscomp$3);\n                    } else\n                      console.timeStamp(\n                        entryName$jscomp$3,\n                        0 > startTime$jscomp$6 ? 0 : startTime$jscomp$6,\n                        endTime$jscomp$1,\n                        trackNames[trackIdx$jscomp$5],\n                        \"Server Components \\u269b\",\n                        \"warning\"\n                      );\n                  }\n                }\n              }\n            }\n            endTime = time;\n            endTimeIdx = _i6;\n          }\n        }\n      result.endTime = childrenEndTime;\n      return result;\n    }\n    function flushInitialRenderPerformance(response) {\n      if (response._replayConsole) {\n        var rootChunk = getChunk(response, 0);\n        isArrayImpl(rootChunk._children) &&\n          (markAllTracksInOrder(),\n          flushComponentPerformance(\n            response,\n            rootChunk,\n            0,\n            -Infinity,\n            -Infinity\n          ));\n      }\n    }\n    function processFullBinaryRow(\n      response,\n      streamState,\n      id,\n      tag,\n      buffer,\n      chunk\n    ) {\n      switch (tag) {\n        case 65:\n          resolveBuffer(\n            response,\n            id,\n            mergeBuffer(buffer, chunk).buffer,\n            streamState\n          );\n          return;\n        case 79:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Int8Array,\n            1,\n            streamState\n          );\n          return;\n        case 111:\n          resolveBuffer(\n            response,\n            id,\n            0 === buffer.length ? chunk : mergeBuffer(buffer, chunk),\n            streamState\n          );\n          return;\n        case 85:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Uint8ClampedArray,\n            1,\n            streamState\n          );\n          return;\n        case 83:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Int16Array,\n            2,\n            streamState\n          );\n          return;\n        case 115:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Uint16Array,\n            2,\n            streamState\n          );\n          return;\n        case 76:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Int32Array,\n            4,\n            streamState\n          );\n          return;\n        case 108:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Uint32Array,\n            4,\n            streamState\n          );\n          return;\n        case 71:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Float32Array,\n            4,\n            streamState\n          );\n          return;\n        case 103:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            Float64Array,\n            8,\n            streamState\n          );\n          return;\n        case 77:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            BigInt64Array,\n            8,\n            streamState\n          );\n          return;\n        case 109:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            BigUint64Array,\n            8,\n            streamState\n          );\n          return;\n        case 86:\n          resolveTypedArray(\n            response,\n            id,\n            buffer,\n            chunk,\n            DataView,\n            1,\n            streamState\n          );\n          return;\n      }\n      for (\n        var stringDecoder = response._stringDecoder, row = \"\", i = 0;\n        i < buffer.length;\n        i++\n      )\n        row += stringDecoder.decode(buffer[i], decoderOptions);\n      row += stringDecoder.decode(chunk);\n      processFullStringRow(response, streamState, id, tag, row);\n    }\n    function processFullStringRow(response, streamState, id, tag, row) {\n      switch (tag) {\n        case 73:\n          resolveModule(response, id, row, streamState);\n          break;\n        case 72:\n          id = row[0];\n          streamState = row.slice(1);\n          response = parseModel(response, streamState);\n          streamState = ReactDOMSharedInternals.d;\n          switch (id) {\n            case \"D\":\n              streamState.D(response);\n              break;\n            case \"C\":\n              \"string\" === typeof response\n                ? streamState.C(response)\n                : streamState.C(response[0], response[1]);\n              break;\n            case \"L\":\n              id = response[0];\n              row = response[1];\n              3 === response.length\n                ? streamState.L(id, row, response[2])\n                : streamState.L(id, row);\n              break;\n            case \"m\":\n              \"string\" === typeof response\n                ? streamState.m(response)\n                : streamState.m(response[0], response[1]);\n              break;\n            case \"X\":\n              \"string\" === typeof response\n                ? streamState.X(response)\n                : streamState.X(response[0], response[1]);\n              break;\n            case \"S\":\n              \"string\" === typeof response\n                ? streamState.S(response)\n                : streamState.S(\n                    response[0],\n                    0 === response[1] ? void 0 : response[1],\n                    3 === response.length ? response[2] : void 0\n                  );\n              break;\n            case \"M\":\n              \"string\" === typeof response\n                ? streamState.M(response)\n                : streamState.M(response[0], response[1]);\n          }\n          break;\n        case 69:\n          tag = response._chunks;\n          var chunk = tag.get(id);\n          row = JSON.parse(row);\n          var error = resolveErrorDev(response, row);\n          error.digest = row.digest;\n          chunk\n            ? (resolveChunkDebugInfo(response, streamState, chunk),\n              triggerErrorOnChunk(response, chunk, error))\n            : ((row = new ReactPromise(\"rejected\", null, error)),\n              resolveChunkDebugInfo(response, streamState, row),\n              tag.set(id, row));\n          break;\n        case 84:\n          tag = response._chunks;\n          (chunk = tag.get(id)) && \"pending\" !== chunk.status\n            ? chunk.reason.enqueueValue(row)\n            : (chunk && releasePendingChunk(response, chunk),\n              (row = new ReactPromise(\"fulfilled\", row, null)),\n              resolveChunkDebugInfo(response, streamState, row),\n              tag.set(id, row));\n          break;\n        case 78:\n          response._timeOrigin = +row - performance.timeOrigin;\n          break;\n        case 68:\n          id = getChunk(response, id);\n          \"fulfilled\" !== id.status &&\n            \"rejected\" !== id.status &&\n            \"halted\" !== id.status &&\n            \"blocked\" !== id.status &&\n            \"resolved_module\" !== id.status &&\n            ((streamState = id._debugChunk),\n            (tag = createResolvedModelChunk(response, row)),\n            (tag._debugChunk = streamState),\n            (id._debugChunk = tag),\n            initializeDebugChunk(response, id),\n            \"blocked\" !== tag.status ||\n              (void 0 !== response._debugChannel &&\n                response._debugChannel.hasReadable) ||\n              '\"' !== row[0] ||\n              \"$\" !== row[1] ||\n              ((streamState = row.slice(2, row.length - 1).split(\":\")),\n              (streamState = parseInt(streamState[0], 16)),\n              \"pending\" === getChunk(response, streamState).status &&\n                (id._debugChunk = null)));\n          break;\n        case 74:\n          resolveIOInfo(response, id, row);\n          break;\n        case 87:\n          resolveConsoleEntry(response, row);\n          break;\n        case 82:\n          startReadableStream(response, id, void 0, streamState);\n          break;\n        case 114:\n          startReadableStream(response, id, \"bytes\", streamState);\n          break;\n        case 88:\n          startAsyncIterable(response, id, !1, streamState);\n          break;\n        case 120:\n          startAsyncIterable(response, id, !0, streamState);\n          break;\n        case 67:\n          (id = response._chunks.get(id)) &&\n            \"fulfilled\" === id.status &&\n            (0 === --response._pendingChunks &&\n              (response._weakResponse.response = null),\n            id.reason.close(\"\" === row ? '\"$undefined\"' : row));\n          break;\n        default:\n          if (\"\" === row) {\n            if (\n              ((streamState = response._chunks),\n              (row = streamState.get(id)) ||\n                streamState.set(id, (row = createPendingChunk(response))),\n              \"pending\" === row.status || \"blocked\" === row.status)\n            )\n              releasePendingChunk(response, row),\n                (response = row),\n                (response.status = \"halted\"),\n                (response.value = null),\n                (response.reason = null);\n          } else\n            (tag = response._chunks),\n              (chunk = tag.get(id))\n                ? (resolveChunkDebugInfo(response, streamState, chunk),\n                  resolveModelChunk(response, chunk, row))\n                : ((row = createResolvedModelChunk(response, row)),\n                  resolveChunkDebugInfo(response, streamState, row),\n                  tag.set(id, row));\n      }\n    }\n    function processBinaryChunk(weakResponse, streamState, chunk) {\n      if (!hasGCedResponse(weakResponse)) {\n        weakResponse = unwrapWeakResponse(weakResponse);\n        var i = 0,\n          rowState = streamState._rowState,\n          rowID = streamState._rowID,\n          rowTag = streamState._rowTag,\n          rowLength = streamState._rowLength,\n          buffer = streamState._buffer,\n          chunkLength = chunk.length;\n        for (\n          incrementChunkDebugInfo(streamState, chunkLength);\n          i < chunkLength;\n\n        ) {\n          var lastIdx = -1;\n          switch (rowState) {\n            case 0:\n              lastIdx = chunk[i++];\n              58 === lastIdx\n                ? (rowState = 1)\n                : (rowID =\n                    (rowID << 4) |\n                    (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n              continue;\n            case 1:\n              rowState = chunk[i];\n              84 === rowState ||\n              65 === rowState ||\n              79 === rowState ||\n              111 === rowState ||\n              98 === rowState ||\n              85 === rowState ||\n              83 === rowState ||\n              115 === rowState ||\n              76 === rowState ||\n              108 === rowState ||\n              71 === rowState ||\n              103 === rowState ||\n              77 === rowState ||\n              109 === rowState ||\n              86 === rowState\n                ? ((rowTag = rowState), (rowState = 2), i++)\n                : (64 < rowState && 91 > rowState) ||\n                    35 === rowState ||\n                    114 === rowState ||\n                    120 === rowState\n                  ? ((rowTag = rowState), (rowState = 3), i++)\n                  : ((rowTag = 0), (rowState = 3));\n              continue;\n            case 2:\n              lastIdx = chunk[i++];\n              44 === lastIdx\n                ? (rowState = 4)\n                : (rowLength =\n                    (rowLength << 4) |\n                    (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n              continue;\n            case 3:\n              lastIdx = chunk.indexOf(10, i);\n              break;\n            case 4:\n              (lastIdx = i + rowLength),\n                lastIdx > chunk.length && (lastIdx = -1);\n          }\n          var offset = chunk.byteOffset + i;\n          if (-1 < lastIdx)\n            (rowLength = new Uint8Array(chunk.buffer, offset, lastIdx - i)),\n              98 === rowTag\n                ? resolveBuffer(\n                    weakResponse,\n                    rowID,\n                    lastIdx === chunkLength ? rowLength : rowLength.slice(),\n                    streamState\n                  )\n                : processFullBinaryRow(\n                    weakResponse,\n                    streamState,\n                    rowID,\n                    rowTag,\n                    buffer,\n                    rowLength\n                  ),\n              (i = lastIdx),\n              3 === rowState && i++,\n              (rowLength = rowID = rowTag = rowState = 0),\n              (buffer.length = 0);\n          else {\n            chunk = new Uint8Array(chunk.buffer, offset, chunk.byteLength - i);\n            98 === rowTag\n              ? ((rowLength -= chunk.byteLength),\n                resolveBuffer(weakResponse, rowID, chunk, streamState))\n              : (buffer.push(chunk), (rowLength -= chunk.byteLength));\n            break;\n          }\n        }\n        streamState._rowState = rowState;\n        streamState._rowID = rowID;\n        streamState._rowTag = rowTag;\n        streamState._rowLength = rowLength;\n      }\n    }\n    function parseModel(response, json) {\n      json = JSON.parse(json);\n      return reviveModel(response, json, { \"\": json }, \"\");\n    }\n    function reviveModel(response, value, parentObject, key) {\n      if (\"string\" === typeof value)\n        return \"$\" === value[0]\n          ? parseModelString(response, parentObject, key, value)\n          : value;\n      if (\"object\" !== typeof value || null === value) return value;\n      if (isArrayImpl(value)) {\n        for (var i = 0; i < value.length; i++)\n          value[i] = reviveModel(response, value[i], value, \"\" + i);\n        if (value[0] === REACT_ELEMENT_TYPE) {\n          if (value[0] === REACT_ELEMENT_TYPE)\n            b: {\n              key = value[4];\n              parentObject = value[5];\n              i = value[6];\n              value = {\n                $$typeof: REACT_ELEMENT_TYPE,\n                type: value[1],\n                key: value[2],\n                props: value[3],\n                _owner: void 0 === key ? null : key\n              };\n              Object.defineProperty(value, \"ref\", {\n                enumerable: !1,\n                get: nullRefGetter\n              });\n              value._store = {};\n              Object.defineProperty(value._store, \"validated\", {\n                configurable: !1,\n                enumerable: !1,\n                writable: !0,\n                value: i\n              });\n              Object.defineProperty(value, \"_debugInfo\", {\n                configurable: !1,\n                enumerable: !1,\n                writable: !0,\n                value: null\n              });\n              Object.defineProperty(value, \"_debugStack\", {\n                configurable: !1,\n                enumerable: !1,\n                writable: !0,\n                value: void 0 === parentObject ? null : parentObject\n              });\n              Object.defineProperty(value, \"_debugTask\", {\n                configurable: !1,\n                enumerable: !1,\n                writable: !0,\n                value: null\n              });\n              if (null !== initializingHandler) {\n                key = initializingHandler;\n                initializingHandler = key.parent;\n                if (key.errored) {\n                  parentObject = new ReactPromise(\"rejected\", null, key.reason);\n                  initializeElement(response, value, null);\n                  response = {\n                    name: getComponentNameFromType(value.type) || \"\",\n                    owner: value._owner\n                  };\n                  response.debugStack = value._debugStack;\n                  supportsCreateTask && (response.debugTask = value._debugTask);\n                  parentObject._debugInfo = [response];\n                  response = createLazyChunkWrapper(parentObject, i);\n                  break b;\n                }\n                if (0 < key.deps) {\n                  parentObject = new ReactPromise(\"blocked\", null, null);\n                  key.value = value;\n                  key.chunk = parentObject;\n                  i = createLazyChunkWrapper(parentObject, i);\n                  response = initializeElement.bind(null, response, value, i);\n                  parentObject.then(response, response);\n                  response = i;\n                  break b;\n                }\n              }\n              initializeElement(response, value, null);\n              response = value;\n            }\n          else response = value;\n          return response;\n        }\n        return value;\n      }\n      for (i in value)\n        hasOwnProperty.call(value, i) &&\n          (\"__proto__\" === i\n            ? delete value[i]\n            : ((parentObject = reviveModel(response, value[i], value, i)),\n              void 0 !== parentObject\n                ? (value[i] = parentObject)\n                : delete value[i]));\n      return value;\n    }\n    function close(weakResponse) {\n      if (!hasGCedResponse(weakResponse)) {\n        var response = unwrapWeakResponse(weakResponse);\n        response._allowPartialStream\n          ? ((response._closed = !0),\n            response._chunks.forEach(function (chunk) {\n              \"pending\" === chunk.status\n                ? (releasePendingChunk(response, chunk),\n                  (chunk.status = \"halted\"),\n                  (chunk.value = null),\n                  (chunk.reason = null))\n                : \"fulfilled\" === chunk.status &&\n                  null !== chunk.reason &&\n                  chunk.reason.close('\"$undefined\"');\n            }),\n            (weakResponse = response._debugChannel),\n            void 0 !== weakResponse &&\n              (closeDebugChannel(weakResponse),\n              (response._debugChannel = void 0),\n              null !== debugChannelRegistry &&\n                debugChannelRegistry.unregister(response)))\n          : reportGlobalError(weakResponse, Error(\"Connection closed.\"));\n      }\n    }\n    function noServerCall$1() {\n      throw Error(\n        \"Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.\"\n      );\n    }\n    function createResponseFromOptions(options) {\n      return createResponse(\n        options.serverConsumerManifest.moduleMap,\n        options.serverConsumerManifest.serverModuleMap,\n        options.serverConsumerManifest.moduleLoading,\n        noServerCall$1,\n        options.encodeFormAction,\n        \"string\" === typeof options.nonce ? options.nonce : void 0,\n        options && options.temporaryReferences\n          ? options.temporaryReferences\n          : void 0,\n        options && options.unstable_allowPartialStream\n          ? options.unstable_allowPartialStream\n          : !1,\n        options && options.findSourceMapURL ? options.findSourceMapURL : void 0,\n        options ? !0 === options.replayConsoleLogs : !1,\n        options && options.environmentName ? options.environmentName : void 0,\n        options && null != options.startTime ? options.startTime : void 0,\n        options && null != options.endTime ? options.endTime : void 0,\n        options && void 0 !== options.debugChannel\n          ? {\n              hasReadable: void 0 !== options.debugChannel.readable,\n              callback: null\n            }\n          : void 0\n      );\n    }\n    function startReadingFromStream$1(response, stream, onDone, debugValue) {\n      function progress(_ref) {\n        var value = _ref.value;\n        if (_ref.done) return onDone();\n        processBinaryChunk(response, streamState, value);\n        return reader.read().then(progress).catch(error);\n      }\n      function error(e) {\n        reportGlobalError(response, e);\n      }\n      var streamState = createStreamState(response, debugValue),\n        reader = stream.getReader();\n      reader.read().then(progress).catch(error);\n    }\n    function noServerCall() {\n      throw Error(\n        \"Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.\"\n      );\n    }\n    function startReadingFromStream(response$jscomp$0, stream, onEnd) {\n      var streamState = createStreamState(response$jscomp$0, stream);\n      stream.on(\"data\", function (chunk) {\n        if (\"string\" === typeof chunk) {\n          if (!hasGCedResponse(response$jscomp$0)) {\n            var response = unwrapWeakResponse(response$jscomp$0),\n              i = 0,\n              rowState = streamState._rowState,\n              rowID = streamState._rowID,\n              rowTag = streamState._rowTag,\n              rowLength = streamState._rowLength,\n              buffer = streamState._buffer,\n              chunkLength = chunk.length;\n            for (\n              incrementChunkDebugInfo(streamState, chunkLength);\n              i < chunkLength;\n\n            ) {\n              var lastIdx = -1;\n              switch (rowState) {\n                case 0:\n                  lastIdx = chunk.charCodeAt(i++);\n                  58 === lastIdx\n                    ? (rowState = 1)\n                    : (rowID =\n                        (rowID << 4) |\n                        (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n                  continue;\n                case 1:\n                  rowState = chunk.charCodeAt(i);\n                  84 === rowState ||\n                  65 === rowState ||\n                  79 === rowState ||\n                  111 === rowState ||\n                  85 === rowState ||\n                  83 === rowState ||\n                  115 === rowState ||\n                  76 === rowState ||\n                  108 === rowState ||\n                  71 === rowState ||\n                  103 === rowState ||\n                  77 === rowState ||\n                  109 === rowState ||\n                  86 === rowState\n                    ? ((rowTag = rowState), (rowState = 2), i++)\n                    : (64 < rowState && 91 > rowState) ||\n                        114 === rowState ||\n                        120 === rowState\n                      ? ((rowTag = rowState), (rowState = 3), i++)\n                      : ((rowTag = 0), (rowState = 3));\n                  continue;\n                case 2:\n                  lastIdx = chunk.charCodeAt(i++);\n                  44 === lastIdx\n                    ? (rowState = 4)\n                    : (rowLength =\n                        (rowLength << 4) |\n                        (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n                  continue;\n                case 3:\n                  lastIdx = chunk.indexOf(\"\\n\", i);\n                  break;\n                case 4:\n                  if (84 !== rowTag)\n                    throw Error(\n                      \"Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams.\"\n                    );\n                  if (rowLength < chunk.length || chunk.length > 3 * rowLength)\n                    throw Error(\n                      \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n                    );\n                  lastIdx = chunk.length;\n              }\n              if (-1 < lastIdx) {\n                if (0 < buffer.length)\n                  throw Error(\n                    \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n                  );\n                i = chunk.slice(i, lastIdx);\n                processFullStringRow(response, streamState, rowID, rowTag, i);\n                i = lastIdx;\n                3 === rowState && i++;\n                rowLength = rowID = rowTag = rowState = 0;\n                buffer.length = 0;\n              } else if (chunk.length !== i)\n                throw Error(\n                  \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n                );\n            }\n            streamState._rowState = rowState;\n            streamState._rowID = rowID;\n            streamState._rowTag = rowTag;\n            streamState._rowLength = rowLength;\n          }\n        } else processBinaryChunk(response$jscomp$0, streamState, chunk);\n      });\n      stream.on(\"error\", function (error) {\n        reportGlobalError(response$jscomp$0, error);\n      });\n      stream.on(\"end\", onEnd);\n    }\n    var util = require(\"util\"),\n      ReactDOM = require(\"react-dom\"),\n      React = require(\"react\"),\n      decoderOptions = { stream: !0 },\n      bind$1 = Function.prototype.bind,\n      hasConfirmedEval = !1,\n      hasOwnProperty = Object.prototype.hasOwnProperty,\n      chunkCache = new Map(),\n      ReactDOMSharedInternals =\n        ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n      REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n      REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n      REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n      REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n      REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n      REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n      REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n      REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n      REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n      REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n      REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n      REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n      REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n      REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n      MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n      ASYNC_ITERATOR = Symbol.asyncIterator,\n      isArrayImpl = Array.isArray,\n      getPrototypeOf = Object.getPrototypeOf,\n      jsxPropsParents = new WeakMap(),\n      jsxChildrenParents = new WeakMap(),\n      CLIENT_REFERENCE_TAG = Symbol.for(\"react.client.reference\"),\n      ObjectPrototype$1 = Object.prototype,\n      knownServerReferences = new WeakMap(),\n      boundCache = new WeakMap(),\n      fakeServerFunctionIdx = 0,\n      FunctionBind = Function.prototype.bind,\n      ArraySlice = Array.prototype.slice,\n      v8FrameRegExp =\n        /^ {3} at (?:(.+) \\((.+):(\\d+):(\\d+)\\)|(?:async )?(.+):(\\d+):(\\d+))$/,\n      jscSpiderMonkeyFrameRegExp = /(?:(.*)@)?(.*):(\\d+):(\\d+)/,\n      REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n      supportsUserTiming =\n        \"undefined\" !== typeof console &&\n        \"function\" === typeof console.timeStamp &&\n        \"undefined\" !== typeof performance &&\n        \"function\" === typeof performance.measure,\n      trackNames =\n        \"Primary Parallel Parallel\\u200b Parallel\\u200b\\u200b Parallel\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b Parallel\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\\u200b\".split(\n          \" \"\n        ),\n      prefix,\n      suffix;\n    new (\"function\" === typeof WeakMap ? WeakMap : Map)();\n    var ReactSharedInteralsServer =\n        React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n      ReactSharedInternals =\n        React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE ||\n        ReactSharedInteralsServer,\n      ObjectPrototype = Object.prototype,\n      ArrayPrototype = Array.prototype;\n    ReactPromise.prototype = Object.create(Promise.prototype);\n    Object.defineProperty(ReactPromise.prototype, \"then\", {\n      writable: !0,\n      enumerable: !0,\n      configurable: !0,\n      value: function (resolve, reject) {\n        var _this = this;\n        switch (this.status) {\n          case \"resolved_model\":\n            initializeModelChunk(this);\n            break;\n          case \"resolved_module\":\n            initializeModuleChunk(this);\n        }\n        var resolveCallback = resolve,\n          rejectCallback = reject,\n          wrapperPromise = new Promise(function (res, rej) {\n            resolve = function (value) {\n              wrapperPromise._debugInfo = _this._debugInfo;\n              res(value);\n            };\n            reject = function (reason) {\n              wrapperPromise._debugInfo = _this._debugInfo;\n              rej(reason);\n            };\n          });\n        wrapperPromise.then(resolveCallback, rejectCallback);\n        switch (this.status) {\n          case \"fulfilled\":\n            \"function\" === typeof resolve && resolve(this.value);\n            break;\n          case \"pending\":\n          case \"blocked\":\n            \"function\" === typeof resolve &&\n              (null === this.value && (this.value = []),\n              this.value.push(resolve));\n            \"function\" === typeof reject &&\n              (null === this.reason && (this.reason = []),\n              this.reason.push(reject));\n            break;\n          case \"halted\":\n            break;\n          default:\n            \"function\" === typeof reject && reject(this.reason);\n        }\n      }\n    });\n    var debugChannelRegistry =\n        \"function\" === typeof FinalizationRegistry\n          ? new FinalizationRegistry(closeDebugChannel)\n          : null,\n      initializingHandler = null,\n      initializingChunk = null,\n      isInitializingDebugInfo = !1,\n      mightHaveStaticConstructor = /\\bclass\\b.*\\bstatic\\b/,\n      MIN_CHUNK_SIZE = 65536,\n      supportsCreateTask = !!console.createTask,\n      fakeFunctionCache = new Map(),\n      fakeFunctionIdx = 0,\n      createFakeJSXCallStack = {\n        react_stack_bottom_frame: function (response, stack, environmentName) {\n          return buildFakeCallStack(\n            response,\n            stack,\n            environmentName,\n            !1,\n            fakeJSXCallSite\n          )();\n        }\n      },\n      createFakeJSXCallStackInDEV =\n        createFakeJSXCallStack.react_stack_bottom_frame.bind(\n          createFakeJSXCallStack\n        ),\n      ownerStackTraceLimit = 10,\n      currentOwnerInDEV = null,\n      replayConsoleWithCallStack = {\n        react_stack_bottom_frame: function (response, payload) {\n          var methodName = payload[0],\n            stackTrace = payload[1],\n            owner = payload[2],\n            env = payload[3];\n          payload = payload.slice(4);\n          var prevStack = ReactSharedInternals.getCurrentStack;\n          ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;\n          currentOwnerInDEV = null === owner ? response._debugRootOwner : owner;\n          try {\n            a: {\n              var offset = 0;\n              switch (methodName) {\n                case \"dir\":\n                case \"dirxml\":\n                case \"groupEnd\":\n                case \"table\":\n                  var JSCompiler_inline_result = bind$1.apply(\n                    console[methodName],\n                    [console].concat(payload)\n                  );\n                  break a;\n                case \"assert\":\n                  offset = 1;\n              }\n              var newArgs = payload.slice(0);\n              \"string\" === typeof newArgs[offset]\n                ? newArgs.splice(\n                    offset,\n                    1,\n                    \"\\u001b[0m\\u001b[7m%c%s\\u001b[0m%c \" + newArgs[offset],\n                    \"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\",\n                    \" \" + env + \" \",\n                    \"\"\n                  )\n                : newArgs.splice(\n                    offset,\n                    0,\n                    \"\\u001b[0m\\u001b[7m%c%s\\u001b[0m%c\",\n                    \"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\",\n                    \" \" + env + \" \",\n                    \"\"\n                  );\n              newArgs.unshift(console);\n              JSCompiler_inline_result = bind$1.apply(\n                console[methodName],\n                newArgs\n              );\n            }\n            var callStack = buildFakeCallStack(\n              response,\n              stackTrace,\n              env,\n              !1,\n              JSCompiler_inline_result\n            );\n            if (null != owner) {\n              var task = initializeFakeTask(response, owner);\n              initializeFakeStack(response, owner);\n              if (null !== task) {\n                task.run(callStack);\n                return;\n              }\n            }\n            var rootTask = getRootTask(response, env);\n            null != rootTask ? rootTask.run(callStack) : callStack();\n          } finally {\n            (currentOwnerInDEV = null),\n              (ReactSharedInternals.getCurrentStack = prevStack);\n          }\n        }\n      },\n      replayConsoleWithCallStackInDEV =\n        replayConsoleWithCallStack.react_stack_bottom_frame.bind(\n          replayConsoleWithCallStack\n        );\n    exports.createFromFetch = function (promiseForResponse, options) {\n      var response = createResponseFromOptions(options);\n      promiseForResponse.then(\n        function (r) {\n          if (\n            options &&\n            options.debugChannel &&\n            options.debugChannel.readable\n          ) {\n            var streamDoneCount = 0,\n              handleDone = function () {\n                2 === ++streamDoneCount && close(response);\n              };\n            startReadingFromStream$1(\n              response,\n              options.debugChannel.readable,\n              handleDone\n            );\n            startReadingFromStream$1(response, r.body, handleDone, r);\n          } else\n            startReadingFromStream$1(\n              response,\n              r.body,\n              close.bind(null, response),\n              r\n            );\n        },\n        function (e) {\n          reportGlobalError(response, e);\n        }\n      );\n      return getRoot(response);\n    };\n    exports.createFromNodeStream = function (\n      stream,\n      serverConsumerManifest,\n      options\n    ) {\n      var response = createResponse(\n        serverConsumerManifest.moduleMap,\n        serverConsumerManifest.serverModuleMap,\n        serverConsumerManifest.moduleLoading,\n        noServerCall,\n        options ? options.encodeFormAction : void 0,\n        options && \"string\" === typeof options.nonce ? options.nonce : void 0,\n        void 0,\n        options && options.unstable_allowPartialStream\n          ? options.unstable_allowPartialStream\n          : !1,\n        options && options.findSourceMapURL ? options.findSourceMapURL : void 0,\n        options ? !0 === options.replayConsoleLogs : !1,\n        options && options.environmentName ? options.environmentName : void 0,\n        options && null != options.startTime ? options.startTime : void 0,\n        options && null != options.endTime ? options.endTime : void 0,\n        options && void 0 !== options.debugChannel\n          ? { hasReadable: !0, callback: null }\n          : void 0\n      );\n      if (options && options.debugChannel) {\n        var streamEndedCount = 0;\n        serverConsumerManifest = function () {\n          2 === ++streamEndedCount && close(response);\n        };\n        startReadingFromStream(\n          response,\n          options.debugChannel,\n          serverConsumerManifest\n        );\n        startReadingFromStream(response, stream, serverConsumerManifest);\n      } else\n        startReadingFromStream(response, stream, close.bind(null, response));\n      return getRoot(response);\n    };\n    exports.createFromReadableStream = function (stream, options) {\n      var response = createResponseFromOptions(options);\n      if (options && options.debugChannel && options.debugChannel.readable) {\n        var streamDoneCount = 0,\n          handleDone = function () {\n            2 === ++streamDoneCount && close(response);\n          };\n        startReadingFromStream$1(\n          response,\n          options.debugChannel.readable,\n          handleDone\n        );\n        startReadingFromStream$1(response, stream, handleDone, stream);\n      } else\n        startReadingFromStream$1(\n          response,\n          stream,\n          close.bind(null, response),\n          stream\n        );\n      return getRoot(response);\n    };\n    exports.createServerReference = function (id) {\n      return createServerReference$1(id, noServerCall$1);\n    };\n    exports.createTemporaryReferenceSet = function () {\n      return new Map();\n    };\n    exports.encodeReply = function (value, options) {\n      return new Promise(function (resolve, reject) {\n        var abort = processReply(\n          value,\n          \"\",\n          options && options.temporaryReferences\n            ? options.temporaryReferences\n            : void 0,\n          resolve,\n          reject\n        );\n        if (options && options.signal) {\n          var signal = options.signal;\n          if (signal.aborted) abort(signal.reason);\n          else {\n            var listener = function () {\n              abort(signal.reason);\n              signal.removeEventListener(\"abort\", listener);\n            };\n            signal.addEventListener(\"abort\", listener);\n          }\n        }\n      });\n    };\n    exports.registerServerReference = function (\n      reference,\n      id,\n      encodeFormAction\n    ) {\n      registerBoundServerReference(reference, id, null, encodeFormAction);\n      return reference;\n    };\n  })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-server-dom-webpack-client.node.production.js');\n} else {\n  module.exports = require('./cjs/react-server-dom-webpack-client.node.development.js');\n}\n","export type ScheduledFn<T = void> = () => T | PromiseLike<T>\nexport type SchedulerFn<T = void> = (cb: ScheduledFn<T>) => void\n\n/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */\nexport const scheduleOnNextTick = (cb: ScheduledFn<void>) => {\n  // We use Promise.resolve().then() here so that the operation is scheduled at\n  // the end of the promise job queue, we then add it to the next process tick\n  // to ensure it's evaluated afterwards.\n  //\n  // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n  //\n  Promise.resolve().then(() => {\n    if (process.env.NEXT_RUNTIME === 'edge') {\n      setTimeout(cb, 0)\n    } else {\n      process.nextTick(cb)\n    }\n  })\n}\n\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */\nexport const scheduleImmediate = (cb: ScheduledFn<void>): void => {\n  if (process.env.NEXT_RUNTIME === 'edge') {\n    setTimeout(cb, 0)\n  } else {\n    setImmediate(cb)\n  }\n}\n\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */\nexport function atLeastOneTask() {\n  return new Promise<void>((resolve) => scheduleImmediate(resolve))\n}\n\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */\nexport function waitAtLeastOneReactRenderTask(): Promise<void> {\n  if (process.env.NEXT_RUNTIME === 'edge') {\n    return new Promise((r) => setTimeout(r, 0))\n  } else {\n    return new Promise((r) => setImmediate(r))\n  }\n}\n","import { codeFrameColumns } from '../../shared/lib/errors/code-frame'\nimport type { StackFrame } from '../../server/lib/parse-stack'\nimport { ignoreListAnonymousStackFramesIfSandwiched as ignoreListAnonymousStackFramesIfSandwichedGeneric } from '../../server/lib/source-maps'\n\nexport type { StackFrame }\n\nexport interface IgnorableStackFrame extends StackFrame {\n  ignored: boolean\n}\n\nexport interface OriginalStackFramesRequest {\n  frames: readonly StackFrame[]\n  isServer: boolean\n  isEdgeServer: boolean\n  isAppDirectory: boolean\n}\n\nexport type OriginalStackFramesResponse = OriginalStackFrameResponseResult[]\n\nexport type OriginalStackFrameResponseResult =\n  PromiseSettledResult<OriginalStackFrameResponse>\n\nexport interface OriginalStackFrameResponse {\n  originalStackFrame: (StackFrame & { ignored: boolean }) | null\n  originalCodeFrame: string | null\n}\n\ntype CodeFrameRenderOptions = {\n  colors?: boolean\n  maxWidth?: number\n}\n\nexport const DEVTOOLS_CODE_FRAME_MAX_WIDTH = 1000\n\nexport function ignoreListAnonymousStackFramesIfSandwiched(\n  responses: OriginalStackFramesResponse\n): void {\n  ignoreListAnonymousStackFramesIfSandwichedGeneric(\n    responses,\n    (response) => {\n      return (\n        response.status === 'fulfilled' &&\n        response.value.originalStackFrame !== null &&\n        response.value.originalStackFrame.file === '<anonymous>'\n      )\n    },\n    (response) => {\n      return (\n        response.status === 'fulfilled' &&\n        response.value.originalStackFrame !== null &&\n        response.value.originalStackFrame.ignored === true\n      )\n    },\n    (response) => {\n      return response.status === 'fulfilled' &&\n        response.value.originalStackFrame !== null\n        ? response.value.originalStackFrame.methodName\n        : ''\n    },\n    (response) => {\n      ;(\n        response as PromiseFulfilledResult<OriginalStackFrameResponse>\n      ).value.originalStackFrame!.ignored = true\n    }\n  )\n}\n\n/**\n * It looks up the code frame of the traced source.\n * @note It ignores Next.js/React internals, as these can often be huge bundled files.\n */\nexport function getOriginalCodeFrame(\n  frame: IgnorableStackFrame,\n  source: string | null,\n  colorsOrOptions: boolean | CodeFrameRenderOptions = process.stdout?.isTTY ??\n    false\n): string | null {\n  if (!source || frame.line1 == null) {\n    return null\n  }\n\n  const { colors, maxWidth } =\n    typeof colorsOrOptions === 'boolean'\n      ? { colors: colorsOrOptions, maxWidth: undefined }\n      : {\n          colors: colorsOrOptions.colors ?? process.stdout?.isTTY ?? false,\n          maxWidth: colorsOrOptions.maxWidth,\n        }\n\n  return (\n    codeFrameColumns(\n      source,\n      {\n        start: {\n          line: frame.line1,\n          column: frame.column1 ?? undefined,\n        },\n      },\n      {\n        color: colors,\n        maxWidth,\n      }\n    ) ?? null\n  )\n}\n","import { getBindingsSync } from '../../../build/swc'\nimport type {\n  NapiCodeFrameLocation,\n  NapiCodeFrameOptions,\n} from '../../../build/swc/generated-native'\n\n/**\n * Renders a code frame showing the location of an error in source code.\n * Requires native bindings to be installed — throws otherwise.\n */\nexport function codeFrameColumns(\n  file: string,\n  location: NapiCodeFrameLocation,\n  options: NapiCodeFrameOptions = {}\n): string | undefined {\n  // Default to the terminal width\n  if (options.maxWidth === undefined) {\n    options.maxWidth = process.stdout.columns\n  }\n  return getBindingsSync().codeFrameColumns(file, location, options)\n}\n\nexport type { NapiCodeFrameLocation, NapiCodeFrameOptions }\n","import { parsePath } from './parse-path'\n\n/**\n * Checks if a given path starts with a given prefix. It ensures it matches\n * exactly without containing extra chars. e.g. prefix /docs should replace\n * for /docs, /docs/, /docs/a but not /docsss\n * @param path The path to check.\n * @param prefix The prefix to check against.\n */\nexport function pathHasPrefix(path: string, prefix: string) {\n  if (typeof path !== 'string') {\n    return false\n  }\n\n  const { pathname } = parsePath(path)\n  return pathname === prefix || pathname.startsWith(prefix + '/')\n}\n","/**\n * Given a path this function will find the pathname, query and hash and return\n * them. This is useful to parse full paths on the client side.\n * @param path A path to parse e.g. /foo/bar?id=1#hash\n */\nexport function parsePath(path: string) {\n  const hashIndex = path.indexOf('#')\n  const queryIndex = path.indexOf('?')\n  const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex)\n\n  if (hasQuery || hashIndex > -1) {\n    return {\n      pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),\n      query: hasQuery\n        ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined)\n        : '',\n      hash: hashIndex > -1 ? path.slice(hashIndex) : '',\n    }\n  }\n\n  return { pathname: path, query: '', hash: '' }\n}\n","// This regex will have fast negatives meaning valid identifiers may not pass\n// this test. However this is only used during static generation to provide hints\n// about why a page bailed out of some or all prerendering and we can use bracket notation\n// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`\n// even if this would have been fine too `searchParams.ಠ_ಠ`\nconst isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/\n\nexport function describeStringPropertyAccess(target: string, prop: string) {\n  if (isDefinitelyAValidIdentifier.test(prop)) {\n    return `\\`${target}.${prop}\\``\n  }\n  return `\\`${target}[${JSON.stringify(prop)}]\\``\n}\n\nexport function describeHasCheckingStringProperty(\n  target: string,\n  prop: string\n) {\n  const stringifiedProp = JSON.stringify(prop)\n  return `\\`Reflect.has(${target}, ${stringifiedProp})\\`, \\`${stringifiedProp} in ${target}\\`, or similar`\n}\n\nexport const wellKnownProperties = new Set([\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toString',\n  'valueOf',\n  'toLocaleString',\n\n  // Promise prototype\n  'then',\n  'catch',\n  'finally',\n\n  // React Promise extension\n  'status',\n  // 'value',\n  // 'error',\n\n  // React introspection\n  'displayName',\n  '_debugInfo',\n\n  // Common tested properties\n  'toJSON',\n  '$$typeof',\n  '__esModule',\n\n  // Tested by flight when checking for iterables\n  '@@iterator',\n])\n","import type { ActionManifest } from '../../build/webpack/plugins/flight-client-entry-plugin'\nimport type { ClientReferenceManifest } from '../../build/webpack/plugins/flight-manifest-plugin'\nimport type { DeepReadonly } from '../../shared/lib/deep-readonly'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { pathHasPrefix } from '../../shared/lib/router/utils/path-has-prefix'\nimport { removePathPrefix } from '../../shared/lib/router/utils/remove-path-prefix'\nimport { mightBeServerReferenceId } from '../../shared/lib/server-reference-info'\nimport { wellKnownProperties } from '../../shared/lib/utils/reflect-utils'\nimport { workAsyncStorage } from './work-async-storage.external'\n\nexport interface ServerModuleMap {\n  readonly [name: string]: {\n    readonly id: string | number\n    readonly name: string\n    readonly chunks: Readonly<Array<string>> // currently not used\n    readonly async?: boolean\n  }\n}\n\nexport function getActionNotFoundError(actionId: string | null): Error {\n  return new Error(\n    `Failed to find Server Action${actionId ? ` \"${actionId}\"` : ''}. This request might be from an older or newer deployment.\\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action`\n  )\n}\n\nexport function getInvalidServerReferenceIdError(id: string): Error {\n  // `id` is arbitrary client-provided input. Unlike the not-found case, it has\n  // not passed the length gate and can reach this error via a malformed server\n  // reference in an action payload, so it may be of any length and contain\n  // control characters. `JSON.stringify` escapes newlines and quotes so it\n  // can't forge log lines, and truncating overly long ids prevents log\n  // flooding. Ids at or below the cap are logged in full so that we only add an\n  // ellipsis to ids that are meaningfully longer than the truncated length.\n  const encoded = JSON.stringify(\n    id.length > MAX_LOGGED_SERVER_REFERENCE_ID_LENGTH\n      ? id.slice(0, TRUNCATED_SERVER_REFERENCE_ID_LENGTH) + '…'\n      : id\n  )\n\n  return new Error(\n    `The Server Reference ID did not match the expected format. Received ${encoded}.\\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action`\n  )\n}\n\n// Ids at or below the cap are logged in full. Longer ids are truncated to the\n// shorter length and marked with an ellipsis, so the cap leaves headroom over\n// the truncated length rather than ellipsizing ids that are barely too long.\nconst MAX_LOGGED_SERVER_REFERENCE_ID_LENGTH = 100\nconst TRUNCATED_SERVER_REFERENCE_ID_LENGTH = 90\n\n// This is a global singleton that is, among other things, also used to\n// encode/decode bound args of server function closures. This can't be using a\n// AsyncLocalStorage as it might happen at the module level.\nconst MANIFESTS_SINGLETON = Symbol.for('next.server.manifests')\n\ninterface RegisteredClientReferenceManifest {\n  /**\n   * The page the manifest was registered with. Routes are normalized app paths,\n   * which is lossy (route groups, parallel slots and the trailing `/page` are\n   * stripped), so this is kept alongside for consumers that need to address the\n   * manifest on disk again rather than reversing the normalization.\n   */\n  readonly page: string\n  readonly clientReferenceManifest: DeepReadonly<ClientReferenceManifest>\n}\n\ninterface ManifestsSingleton {\n  readonly clientReferenceManifestsPerRoute: Map<\n    string,\n    RegisteredClientReferenceManifest\n  >\n  readonly proxiedClientReferenceManifest: DeepReadonly<ClientReferenceManifest>\n  serverActionsManifest: DeepReadonly<ActionManifest>\n  serverModuleMap: ServerModuleMap\n}\n\ntype GlobalThisWithManifests = typeof globalThis & {\n  [MANIFESTS_SINGLETON]?: ManifestsSingleton\n}\n\ntype ClientReferenceManifestMappingProp =\n  | 'clientModules'\n  | 'rscModuleMapping'\n  | 'edgeRscModuleMapping'\n  | 'ssrModuleMapping'\n  | 'edgeSSRModuleMapping'\n\nconst globalThisWithManifests = globalThis as GlobalThisWithManifests\n\nfunction createProxiedClientReferenceManifest(\n  clientReferenceManifestsPerRoute: Map<\n    string,\n    RegisteredClientReferenceManifest\n  >\n): DeepReadonly<ClientReferenceManifest> {\n  const createMappingProxy = (prop: ClientReferenceManifestMappingProp) => {\n    return new Proxy(\n      {},\n      {\n        get(_, id: string) {\n          const workStore = workAsyncStorage.getStore()\n\n          if (workStore) {\n            const currentManifest = clientReferenceManifestsPerRoute.get(\n              workStore.route\n            )?.clientReferenceManifest\n\n            if (currentManifest?.[prop][id]) {\n              return currentManifest[prop][id]\n            }\n\n            // In development, we also check all other manifests to see if the\n            // module exists there. This is to support a scenario where React's\n            // I/O tracking (dev-only) creates a connection from one page to\n            // another through an emitted async I/O node that references client\n            // components from the other page, e.g. in owner props.\n            // TODO: Maybe we need to add a `debugBundlerConfig` option to React\n            // to avoid this workaround. The current workaround has the\n            // disadvantage that one might accidentally or intentionally share\n            // client references across pages (e.g. by storing them in a global\n            // variable), which would then only be caught in production.\n            if (process.env.NODE_ENV !== 'production') {\n              for (const [\n                route,\n                { page, clientReferenceManifest },\n              ] of clientReferenceManifestsPerRoute) {\n                if (route === workStore.route) {\n                  continue\n                }\n\n                const entry = clientReferenceManifest[prop][id]\n\n                if (entry !== undefined) {\n                  if (process.env.__NEXT_DEV_SERVER) {\n                    // The dev validation worker rebuilds this registry in its\n                    // own thread, seeded with only the route it validates, so\n                    // it has to be told which other manifests it needs.\n                    workStore.additionalClientReferenceManifestPages ??=\n                      new Set()\n                    workStore.additionalClientReferenceManifestPages.add(page)\n                  }\n\n                  return entry\n                }\n              }\n            }\n          } else {\n            // If there's no work store defined, we can assume that a client\n            // reference manifest is needed during module evaluation, e.g. to\n            // create a server function using a higher-order function. This\n            // might also use client components which need to be serialized by\n            // Flight, and therefore client references need to be resolvable. In\n            // that case we search all page manifests to find the module.\n            for (const {\n              clientReferenceManifest,\n            } of clientReferenceManifestsPerRoute.values()) {\n              const entry = clientReferenceManifest[prop][id]\n\n              if (entry !== undefined) {\n                return entry\n              }\n            }\n          }\n\n          return undefined\n        },\n      }\n    )\n  }\n\n  const mappingProxies = new Map<\n    ClientReferenceManifestMappingProp,\n    ReturnType<typeof createMappingProxy>\n  >()\n\n  return new Proxy(\n    {},\n    {\n      get(_, prop) {\n        const workStore = workAsyncStorage.getStore()\n\n        switch (prop) {\n          case 'moduleLoading':\n          case 'entryCSSFiles':\n          case 'entryJSFiles': {\n            if (!workStore) {\n              throw new InvariantError(\n                `Cannot access \"${prop}\" without a work store.`\n              )\n            }\n\n            const registeredManifest = clientReferenceManifestsPerRoute.get(\n              workStore.route\n            )\n\n            if (!registeredManifest) {\n              throw new InvariantError(\n                `The client reference manifest for route \"${workStore.route}\" does not exist.`\n              )\n            }\n\n            return registeredManifest.clientReferenceManifest[prop]\n          }\n          case 'clientModules':\n          case 'rscModuleMapping':\n          case 'edgeRscModuleMapping':\n          case 'ssrModuleMapping':\n          case 'edgeSSRModuleMapping': {\n            let proxy = mappingProxies.get(prop)\n\n            if (!proxy) {\n              proxy = createMappingProxy(prop)\n              mappingProxies.set(prop, proxy)\n            }\n\n            return proxy\n          }\n          default: {\n            throw new InvariantError(\n              `This is a proxied client reference manifest. The property \"${String(prop)}\" is not handled.`\n            )\n          }\n        }\n      },\n    }\n  ) as DeepReadonly<ClientReferenceManifest>\n}\n\n/**\n * This function creates a Flight-acceptable server module map proxy from our\n * Server Reference Manifest similar to our client module map. This is because\n * our manifest contains a lot of internal Next.js data that are relevant to the\n * runtime, workers, etc. that React doesn't need to know.\n */\nfunction createServerModuleMap(): ServerModuleMap {\n  return new Proxy(Object.create(null) as ServerModuleMap, {\n    get: (target, id: string | symbol, receiver) => {\n      // React's debug serialization can probe the module map like a plain object.\n      // These probes are not server reference lookups.\n      if (typeof id !== 'string') {\n        return Reflect.get(target, id, receiver)\n      }\n\n      if (wellKnownProperties.has(id)) {\n        return Reflect.get(target, id, receiver)\n      }\n\n      if (!mightBeServerReferenceId(id)) {\n        throw getInvalidServerReferenceIdError(id)\n      }\n\n      const workers =\n        getServerActionsManifest()[\n          process.env.NEXT_RUNTIME === 'edge' ? 'edge' : 'node'\n        ]?.[id]?.workers\n\n      if (!workers) {\n        throw getActionNotFoundError(id)\n      }\n\n      const workStore = workAsyncStorage.getStore()\n\n      let workerEntry: { moduleId: string | number; async: boolean } | undefined\n\n      if (workStore) {\n        workerEntry = workers[normalizeWorkerPageName(workStore.page)]\n      } else {\n        // If there's no work store defined, we can assume that a server\n        // module map is needed during module evaluation, e.g. to create a\n        // server action using a higher-order function. Therefore it should be\n        // safe to return any entry from the manifest that matches the action\n        // ID. They all refer to the same module ID, which must also exist in\n        // the current page bundle. TODO: This is currently not guaranteed in\n        // Turbopack, and needs to be fixed.\n        workerEntry = Object.values(workers).at(0)\n      }\n\n      if (!workerEntry) {\n        throw getActionNotFoundError(id)\n      }\n\n      const { moduleId, async } = workerEntry\n\n      return { id: moduleId, name: id, chunks: [], async }\n    },\n  })\n}\n\n/**\n * The flight entry loader keys actions by bundlePath. bundlePath corresponds\n * with the relative path (including 'app') to the page entrypoint.\n */\nfunction normalizeWorkerPageName(pageName: string) {\n  if (pathHasPrefix(pageName, 'app')) {\n    return pageName\n  }\n\n  return 'app' + pageName\n}\n\n/**\n * Converts a bundlePath (relative path to the entrypoint) to a routable page\n * name.\n */\nfunction denormalizeWorkerPageName(bundlePath: string) {\n  return normalizeAppPath(removePathPrefix(bundlePath, 'app'))\n}\n\n/**\n * Checks if the requested action has a worker for the current page.\n * If not, it returns the first worker that has a handler for the action.\n */\nexport function selectWorkerForForwarding(\n  actionId: string,\n  pageName: string\n): string | undefined {\n  const serverActionsManifest = getServerActionsManifest()\n  const workers =\n    serverActionsManifest[\n      process.env.NEXT_RUNTIME === 'edge' ? 'edge' : 'node'\n    ][actionId]?.workers\n\n  // There are no workers to handle this action, nothing to forward to.\n  if (!workers) {\n    return\n  }\n\n  // If there is an entry for the current page, we don't need to forward.\n  if (workers[normalizeWorkerPageName(pageName)]) {\n    return\n  }\n\n  // Otherwise, grab the first worker that has a handler for this action id.\n  return denormalizeWorkerPageName(Object.keys(workers)[0])\n}\n\nexport function setManifestsSingleton({\n  page,\n  clientReferenceManifest,\n  serverActionsManifest: rawServerActionsManifest,\n}: {\n  page: string\n  clientReferenceManifest: DeepReadonly<ClientReferenceManifest>\n  serverActionsManifest: DeepReadonly<ActionManifest>\n}) {\n  const existingSingleton = globalThisWithManifests[MANIFESTS_SINGLETON]\n  const route = normalizeAppPath(page)\n\n  const serverActionsManifest: DeepReadonly<ActionManifest> = {\n    encryptionKey: rawServerActionsManifest.encryptionKey,\n    // Use null-prototypes for the action objects to prevent prototype pollution\n    // from affecting action ID lookups.\n    node: Object.assign(Object.create(null), rawServerActionsManifest.node),\n    edge: Object.assign(Object.create(null), rawServerActionsManifest.edge),\n  }\n\n  if (existingSingleton) {\n    existingSingleton.clientReferenceManifestsPerRoute.set(route, {\n      page,\n      clientReferenceManifest,\n    })\n\n    existingSingleton.serverActionsManifest = serverActionsManifest\n  } else {\n    const clientReferenceManifestsPerRoute = new Map<\n      string,\n      RegisteredClientReferenceManifest\n    >([[route, { page, clientReferenceManifest }]])\n\n    const proxiedClientReferenceManifest = createProxiedClientReferenceManifest(\n      clientReferenceManifestsPerRoute\n    )\n\n    globalThisWithManifests[MANIFESTS_SINGLETON] = {\n      clientReferenceManifestsPerRoute,\n      proxiedClientReferenceManifest,\n      serverActionsManifest,\n      serverModuleMap: createServerModuleMap(),\n    }\n  }\n}\n\nfunction getManifestsSingleton(): ManifestsSingleton {\n  const manifestSingleton = globalThisWithManifests[MANIFESTS_SINGLETON]\n\n  if (!manifestSingleton) {\n    throw new InvariantError('The manifests singleton was not initialized.')\n  }\n\n  return manifestSingleton\n}\n\nexport function getClientReferenceManifest(): DeepReadonly<ClientReferenceManifest> {\n  return getManifestsSingleton().proxiedClientReferenceManifest\n}\n\nexport function getServerActionsManifest(): DeepReadonly<ActionManifest> {\n  return getManifestsSingleton().serverActionsManifest\n}\n\nexport function getServerModuleMap() {\n  return getManifestsSingleton().serverModuleMap\n}\n","import { pathHasPrefix } from './path-has-prefix'\n\n/**\n * Given a path and a prefix it will remove the prefix when it exists in the\n * given path. It ensures it matches exactly without containing extra chars\n * and if the prefix is not there it will be noop.\n *\n * @param path The path to remove the prefix from.\n * @param prefix The prefix to be removed.\n */\nexport function removePathPrefix(path: string, prefix: string): string {\n  // If the path doesn't start with the prefix we can return it as is. This\n  // protects us from situations where the prefix is a substring of the path\n  // prefix such as:\n  //\n  // For prefix: /blog\n  //\n  //   /blog -> true\n  //   /blog/ -> true\n  //   /blog/1 -> true\n  //   /blogging -> false\n  //   /blogging/ -> false\n  //   /blogging/1 -> false\n  if (!pathHasPrefix(path, prefix)) {\n    return path\n  }\n\n  // Remove the prefix from the path via slicing.\n  const withoutPrefix = path.slice(prefix.length)\n\n  // If the path without the prefix starts with a `/` we can return it as is.\n  if (withoutPrefix.startsWith('/')) {\n    return withoutPrefix\n  }\n\n  // If the path without the prefix doesn't start with a `/` we need to add it\n  // back to the path to make sure it's a valid path.\n  return `/${withoutPrefix}`\n}\n","export interface ServerReferenceInfo {\n  type: 'server-action' | 'use-cache'\n  usedArgs: [boolean, boolean, boolean, boolean, boolean, boolean]\n  hasRestArgs: boolean\n}\n\nexport const SERVER_REFERENCE_ID_LENGTH = 42\n\nexport function mightBeServerReferenceId(id: string): boolean {\n  return id.length === SERVER_REFERENCE_ID_LENGTH\n}\n\n/**\n * Extracts info about the server reference for the given server reference ID by\n * parsing the first byte of the hex-encoded ID.\n *\n * ```\n * Bit positions: [7]      [6] [5] [4] [3] [2] [1]  [0]\n * Bits:          typeBit  argMask                  restArgs\n * ```\n *\n * If the `typeBit` is `1` the server reference represents a `\"use cache\"`\n * function, otherwise a server action.\n *\n * The `argMask` encodes whether the function uses the argument at the\n * respective position.\n *\n * The `restArgs` bit indicates whether the function uses a rest parameter. It's\n * also set to 1 if the function has more than 6 args.\n *\n * @param id hex-encoded server reference ID\n */\nexport function extractInfoFromServerReferenceId(\n  id: string\n): ServerReferenceInfo {\n  const infoByte = parseInt(id.slice(0, 2), 16)\n  const typeBit = (infoByte >> 7) & 0x1\n  const argMask = (infoByte >> 1) & 0x3f\n  const restArgs = infoByte & 0x1\n  const usedArgs = Array(6)\n\n  for (let index = 0; index < 6; index++) {\n    const bitPosition = 5 - index\n    const bit = (argMask >> bitPosition) & 0x1\n    usedArgs[index] = bit === 1\n  }\n\n  return {\n    type: typeBit === 1 ? 'use-cache' : 'server-action',\n    usedArgs: usedArgs as [\n      boolean,\n      boolean,\n      boolean,\n      boolean,\n      boolean,\n      boolean,\n    ],\n    hasRestArgs: restArgs === 1,\n  }\n}\n\n/**\n * Creates a sparse array containing only the used arguments based on the\n * provided action info.\n */\nexport function omitUnusedArgs(\n  args: unknown[],\n  info: ServerReferenceInfo\n): unknown[] {\n  const filteredArgs = new Array(args.length)\n  let length = 0\n\n  for (let index = 0; index < args.length; index++) {\n    if (\n      (index < 6 && info.usedArgs[index]) ||\n      // This assumes that the server reference info byte has the restArgs bit\n      // set to 1 if there are more than 6 args.\n      (index >= 6 && info.hasRestArgs)\n    ) {\n      filteredArgs[index] = args[index]\n      length = index + 1\n    }\n  }\n\n  // Trim trailing unused args from the array.\n  filteredArgs.length = length\n\n  return filteredArgs\n}\n","/**\n * A `Promise.withResolvers` implementation that exposes the `resolve` and\n * `reject` functions on a `Promise`.\n *\n * @see https://tc39.es/proposal-promise-with-resolvers/\n */\nexport class DetachedPromise<T = any> {\n  public readonly resolve: (value: T | PromiseLike<T>) => void\n  public readonly reject: (reason: any) => void\n  public readonly promise: Promise<T>\n\n  constructor() {\n    let resolve: (value: T | PromiseLike<T>) => void\n    let reject: (reason: any) => void\n\n    // Create the promise and assign the resolvers to the object.\n    this.promise = new Promise<T>((res, rej) => {\n      resolve = res\n      reject = rej\n    })\n\n    // We know that resolvers is defined because the Promise constructor runs\n    // synchronously.\n    this.resolve = resolve!\n    this.reject = reject!\n  }\n}\n","export const ENCODED_TAGS = {\n  // opening tags do not have the closing `>` since they can contain other attributes such as `<body className=''>`\n  OPENING: {\n    // <html\n    HTML: new Uint8Array([60, 104, 116, 109, 108]),\n    // <head\n    HEAD: new Uint8Array([60, 104, 101, 97, 100]),\n    // <body\n    BODY: new Uint8Array([60, 98, 111, 100, 121]),\n  },\n  CLOSED: {\n    // </head>\n    HEAD: new Uint8Array([60, 47, 104, 101, 97, 100, 62]),\n    // </body>\n    BODY: new Uint8Array([60, 47, 98, 111, 100, 121, 62]),\n    // </html>\n    HTML: new Uint8Array([60, 47, 104, 116, 109, 108, 62]),\n    // </body></html>\n    BODY_AND_HTML: new Uint8Array([\n      60, 47, 98, 111, 100, 121, 62, 60, 47, 104, 116, 109, 108, 62,\n    ]),\n  },\n  META: {\n    // Only the match the prefix cause the suffix can be different wether it's xml compatible or not \">\" or \"/>\"\n    // <meta name=\"«nxt-icon»\"\n    // This is a special mark that will be replaced by the icon insertion script tag.\n    ICON_MARK: new Uint8Array([\n      60, 109, 101, 116, 97, 32, 110, 97, 109, 101, 61, 34, 194, 171, 110, 120,\n      116, 45, 105, 99, 111, 110, 194, 187, 34,\n    ]),\n  },\n} as const\n","/**\n * Find the starting index of Uint8Array `b` within Uint8Array `a`.\n */\nexport function indexOfUint8Array(a: Uint8Array, b: Uint8Array) {\n  if (b.length === 0) return 0\n  if (a.length === 0 || b.length > a.length) return -1\n\n  // Use Node's native implementation when available.\n  if (typeof Buffer !== 'undefined') {\n    const haystack = Buffer.isBuffer(a)\n      ? a\n      : Buffer.from(a.buffer, a.byteOffset, a.byteLength)\n    return haystack.indexOf(b)\n  }\n\n  // start iterating through `a`\n  for (let i = 0; i <= a.length - b.length; i++) {\n    let completeMatch = true\n    // from index `i`, iterate through `b` and check for mismatch\n    for (let j = 0; j < b.length; j++) {\n      // if the values do not match, then this isn't a complete match, exit `b` iteration early and iterate to next index of `a`.\n      if (a[i + j] !== b[j]) {\n        completeMatch = false\n        break\n      }\n    }\n\n    if (completeMatch) {\n      return i\n    }\n  }\n\n  return -1\n}\n\n/**\n * Check if two Uint8Arrays are strictly equivalent.\n */\nexport function isEquivalentUint8Arrays(a: Uint8Array, b: Uint8Array) {\n  if (a.length !== b.length) return false\n\n  for (let i = 0; i < a.length; i++) {\n    if (a[i] !== b[i]) return false\n  }\n\n  return true\n}\n\n/**\n * Remove Uint8Array `b` from Uint8Array `a`.\n *\n * If `b` is not in `a`, `a` is returned unchanged.\n *\n * Otherwise, the function returns a new Uint8Array instance with size `a.length - b.length`\n */\nexport function removeFromUint8Array(a: Uint8Array, b: Uint8Array) {\n  const tagIndex = indexOfUint8Array(a, b)\n  if (tagIndex === 0) return a.subarray(b.length)\n  if (tagIndex > -1) {\n    const removed = new Uint8Array(a.length - b.length)\n    removed.set(a.subarray(0, tagIndex))\n    removed.set(a.subarray(tagIndex + b.length), tagIndex)\n    return removed\n  } else {\n    return a\n  }\n}\n","import { hexHash } from '../../hash'\n\nconst CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES = 12\nconst textEncoder = new TextEncoder()\n\nfunction encodeCacheBustingSearchParam(bytes: Uint8Array): string {\n  let binary = ''\n  for (let i = 0; i < bytes.length; i++) {\n    binary += String.fromCharCode(bytes[i])\n  }\n\n  return btoa(binary).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '')\n}\n\nfunction normalizeCacheBustingInput(\n  value: string | string[] | undefined\n): string {\n  if (value === undefined) {\n    return '0'\n  }\n  return Array.isArray(value) ? value.join(',') : value\n}\n\nfunction createCacheBustingSearchParamInput(\n  prefetchHeader: '1' | '2' | '3' | '0' | undefined,\n  segmentPrefetchHeader: string | string[] | undefined,\n  stateTreeHeader: string | string[] | undefined,\n  nextUrlHeader: string | string[] | undefined\n): string | null {\n  if (\n    (prefetchHeader === undefined || prefetchHeader === '0') &&\n    segmentPrefetchHeader === undefined &&\n    stateTreeHeader === undefined &&\n    nextUrlHeader === undefined\n  ) {\n    return null\n  }\n\n  return [\n    prefetchHeader ?? '0',\n    normalizeCacheBustingInput(segmentPrefetchHeader),\n    normalizeCacheBustingInput(stateTreeHeader),\n    normalizeCacheBustingInput(nextUrlHeader),\n  ].join(',')\n}\n\nasync function computeCacheBustingSearchParamFromInput(\n  input: string\n): Promise<string> {\n  // Truncate SHA-256 to 96 bits to keep `_rsc` compact\n  const digest = await globalThis.crypto.subtle.digest(\n    'SHA-256',\n    textEncoder.encode(input)\n  )\n  return encodeCacheBustingSearchParam(\n    new Uint8Array(digest).subarray(0, CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES)\n  )\n}\n\nexport async function computeCacheBustingSearchParam(\n  prefetchHeader: '1' | '2' | '3' | '0' | undefined,\n  segmentPrefetchHeader: string | string[] | undefined,\n  stateTreeHeader: string | string[] | undefined,\n  nextUrlHeader: string | string[] | undefined\n): Promise<string> {\n  const input = createCacheBustingSearchParamInput(\n    prefetchHeader,\n    segmentPrefetchHeader,\n    stateTreeHeader,\n    nextUrlHeader\n  )\n  if (input === null) {\n    return ''\n  }\n\n  return computeCacheBustingSearchParamFromInput(input)\n}\n\nexport function computeLegacyCacheBustingSearchParam(\n  prefetchHeader: '1' | '2' | '3' | '0' | undefined,\n  segmentPrefetchHeader: string | string[] | undefined,\n  stateTreeHeader: string | string[] | undefined,\n  nextUrlHeader: string | string[] | undefined\n): string {\n  const input = createCacheBustingSearchParamInput(\n    prefetchHeader,\n    segmentPrefetchHeader,\n    stateTreeHeader,\n    nextUrlHeader\n  )\n  if (input === null) {\n    return ''\n  }\n\n  return hexHash(input)\n}\n","import type { ReactDOMServerReadableStream } from 'react-dom/server'\nimport { getTracer } from '../lib/trace/tracer'\nimport { AppRenderSpan } from '../lib/trace/constants'\nimport { DetachedPromise } from '../../lib/detached-promise'\nimport {\n  scheduleImmediate,\n  atLeastOneTask,\n  waitAtLeastOneReactRenderTask,\n} from '../../lib/scheduler'\nimport { ENCODED_TAGS } from './encoded-tags'\nimport {\n  indexOfUint8Array,\n  isEquivalentUint8Arrays,\n  removeFromUint8Array,\n} from './uint8array-helpers'\nimport { MISSING_ROOT_TAGS_ERROR } from '../../shared/lib/errors/constants'\nimport {\n  RSC_HEADER,\n  NEXT_ROUTER_PREFETCH_HEADER,\n  NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n  NEXT_RSC_UNION_QUERY,\n} from '../../client/components/app-router-headers'\nimport { computeCacheBustingSearchParam } from '../../shared/lib/router/utils/cache-busting-search-param'\nimport type { AnyStream } from '../app-render/stream-ops'\n\nfunction voidCatch() {\n  // this catcher is designed to be used with pipeTo where we expect the underlying\n  // pipe implementation to forward errors but we don't want the pipeTo promise to reject\n  // and be unhandled\n}\n\n// We can share the same encoder instance everywhere\n// Notably we cannot do the same for TextDecoder because it is stateful\n// when handling streaming data\nconst encoder = new TextEncoder()\n\nexport function chainStreams<T>(\n  ...streams: ReadableStream<T>[]\n): ReadableStream<T> {\n  // If we have no streams, return an empty stream. This behavior is\n  // intentional as we're now providing the `RenderResult.EMPTY` value.\n  if (streams.length === 0) {\n    return new ReadableStream<T>({\n      start(controller) {\n        controller.close()\n      },\n    })\n  }\n\n  // If we only have 1 stream we fast path it by returning just this stream\n  if (streams.length === 1) {\n    return streams[0]\n  }\n\n  const { readable, writable } = new TransformStream()\n\n  // We always initiate pipeTo immediately. We know we have at least 2 streams\n  // so we need to avoid closing the writable when this one finishes.\n  let promise = streams[0].pipeTo(writable, { preventClose: true })\n\n  let i = 1\n  for (; i < streams.length - 1; i++) {\n    const nextStream = streams[i]\n    promise = promise.then(() =>\n      nextStream.pipeTo(writable, { preventClose: true })\n    )\n  }\n\n  // We can omit the length check because we halted before the last stream and there\n  // is at least two streams so the lastStream here will always be defined\n  const lastStream = streams[i]\n  promise = promise.then(() => lastStream.pipeTo(writable))\n\n  // Catch any errors from the streams and ignore them, they will be handled\n  // by whatever is consuming the readable stream.\n  promise.catch(voidCatch)\n\n  return readable\n}\n\nexport function streamFromString(str: string): ReadableStream<Uint8Array> {\n  return new ReadableStream({\n    start(controller) {\n      controller.enqueue(encoder.encode(str))\n      controller.close()\n    },\n  })\n}\n\nexport function streamFromBuffer(chunk: Buffer): ReadableStream<Uint8Array> {\n  return new ReadableStream({\n    start(controller) {\n      controller.enqueue(chunk)\n      controller.close()\n    },\n  })\n}\n\nasync function streamToChunks(\n  stream: ReadableStream<Uint8Array>\n): Promise<Array<Uint8Array>> {\n  const reader = stream.getReader()\n  const chunks: Array<Uint8Array> = []\n\n  while (true) {\n    const { done, value } = await reader.read()\n    if (done) {\n      break\n    }\n\n    chunks.push(value)\n  }\n\n  return chunks\n}\n\nfunction concatUint8Arrays(chunks: Array<Uint8Array>): Uint8Array {\n  const totalLength = chunks.reduce((sum, chunk) => sum + chunk.length, 0)\n  const result = new Uint8Array(totalLength)\n  let offset = 0\n  for (const chunk of chunks) {\n    result.set(chunk, offset)\n    offset += chunk.length\n  }\n  return result\n}\n\nexport async function webstreamToUint8Array(\n  stream: ReadableStream<Uint8Array>\n): Promise<Uint8Array> {\n  return concatUint8Arrays(await streamToChunks(stream))\n}\n\nfunction webToReadable(\n  stream: ReadableStream<Uint8Array> | import('node:stream').Readable\n): import('node:stream').Readable {\n  if (process.env.NEXT_RUNTIME === 'edge') {\n    throw new Error('webToReadable cannot be used in the edge runtime')\n  } else {\n    let Readable: typeof import('node:stream').Readable\n    if (process.env.TURBOPACK) {\n      Readable = (require('node:stream') as typeof import('node:stream'))\n        .Readable\n    } else if (\n      process.env.__NEXT_BUNDLER === 'Webpack' ||\n      process.env.__NEXT_BUNDLER === 'Rspack'\n    ) {\n      Readable = (\n        __non_webpack_require__('node:stream') as typeof import('node:stream')\n      ).Readable\n    } else {\n      Readable = (require('node:stream') as typeof import('node:stream'))\n        .Readable\n    }\n    if (stream instanceof Readable) {\n      return stream\n    }\n    return Readable.fromWeb(stream as import('stream/web').ReadableStream)\n  }\n}\n\nexport async function nodestreamToUint8Array(\n  stream: AnyStream\n): Promise<Uint8Array> {\n  const chunks: Buffer[] = []\n  for await (const chunk of webToReadable(stream)) {\n    chunks.push(typeof chunk === 'string' ? Buffer.from(chunk) : chunk)\n  }\n  return Buffer.concat(chunks)\n}\n\nexport async function streamToUint8Array(stream: AnyStream) {\n  if (process.env.NEXT_RUNTIME === 'edge') {\n    // Edge runtime always uses web streams\n    return webstreamToUint8Array(stream as ReadableStream<Uint8Array>)\n  } else {\n    let Readable: typeof import('node:stream').Readable\n    if (process.env.TURBOPACK) {\n      Readable = (require('node:stream') as typeof import('node:stream'))\n        .Readable\n    } else if (\n      process.env.__NEXT_BUNDLER === 'Webpack' ||\n      process.env.__NEXT_BUNDLER === 'Rspack'\n    ) {\n      Readable = (\n        __non_webpack_require__('node:stream') as typeof import('node:stream')\n      ).Readable\n    } else {\n      Readable = (require('node:stream') as typeof import('node:stream'))\n        .Readable\n    }\n\n    if (stream instanceof Readable) {\n      return nodestreamToUint8Array(stream)\n    }\n\n    return webstreamToUint8Array(stream)\n  }\n}\n\nexport async function streamToBuffer(\n  stream: ReadableStream<Uint8Array>\n): Promise<Buffer> {\n  return Buffer.concat(await streamToChunks(stream))\n}\n\nexport async function streamToString(\n  stream: ReadableStream<Uint8Array>,\n  signal?: AbortSignal\n): Promise<string> {\n  const decoder = new TextDecoder('utf-8', { fatal: true })\n  let string = ''\n\n  for await (const chunk of stream) {\n    if (signal?.aborted) {\n      return string\n    }\n\n    string += decoder.decode(chunk, { stream: true })\n  }\n\n  string += decoder.decode()\n\n  return string\n}\n\nexport type BufferedTransformOptions = {\n  /**\n   * Flush synchronously once the buffer reaches this many bytes.\n   */\n  readonly maxBufferByteLength?: number\n}\n\nexport function createBufferedTransformStream(\n  options: BufferedTransformOptions = {}\n): TransformStream<Uint8Array, Uint8Array> {\n  const { maxBufferByteLength = Infinity } = options\n\n  let bufferedChunks: Array<Uint8Array> = []\n  let bufferByteLength: number = 0\n  let pending: DetachedPromise<void> | undefined\n\n  const flush = (controller: TransformStreamDefaultController) => {\n    try {\n      if (bufferedChunks.length === 0) {\n        return\n      }\n\n      const chunk = new Uint8Array(bufferByteLength)\n      let copiedBytes = 0\n\n      for (let i = 0; i < bufferedChunks.length; i++) {\n        const bufferedChunk = bufferedChunks[i]\n        chunk.set(bufferedChunk, copiedBytes)\n        copiedBytes += bufferedChunk.byteLength\n      }\n      // We just wrote all the buffered chunks so we need to reset the bufferedChunks array\n      // and our bufferByteLength to prepare for the next round of buffered chunks\n      bufferedChunks.length = 0\n      bufferByteLength = 0\n      controller.enqueue(chunk)\n    } catch {\n      // If an error occurs while enqueuing, it can't be due to this\n      // transformer. It's most likely caused by the controller having been\n      // errored (for example, if the stream was cancelled).\n    }\n  }\n\n  const scheduleFlush = (controller: TransformStreamDefaultController) => {\n    if (pending) {\n      return\n    }\n\n    const detached = new DetachedPromise<void>()\n    pending = detached\n\n    scheduleImmediate(() => {\n      try {\n        flush(controller)\n      } finally {\n        pending = undefined\n        detached.resolve()\n      }\n    })\n  }\n\n  return new TransformStream({\n    transform(chunk, controller) {\n      // Combine the previous buffer with the new chunk.\n      bufferedChunks.push(chunk)\n      bufferByteLength += chunk.byteLength\n\n      if (bufferByteLength >= maxBufferByteLength) {\n        flush(controller)\n      } else {\n        scheduleFlush(controller)\n      }\n    },\n    flush() {\n      return pending?.promise\n    },\n  })\n}\n\n// TODO this is currently unused but once we add proper output:export support, it needs to be\n// revisited. See https://github.com/vercel/next.js/pull/89478 for more details\n//\n// function createPrefetchCommentStream(\n//   isBuildTimePrerendering: boolean,\n//   buildId: string\n// ): TransformStream<Uint8Array, Uint8Array> {\n//   // Insert an extra comment at the beginning of the HTML document. This must\n//   // come after the DOCTYPE, which is inserted by React.\n//   //\n//   // The first chunk sent by React will contain the doctype. After that, we can\n//   // pass through the rest of the chunks as-is.\n//   let didTransformFirstChunk = false\n//   return new TransformStream({\n//     transform(chunk, controller) {\n//       if (isBuildTimePrerendering && !didTransformFirstChunk) {\n//         didTransformFirstChunk = true\n//         const decoder = new TextDecoder('utf-8', { fatal: true })\n//         const chunkStr = decoder.decode(chunk, {\n//           stream: true,\n//         })\n//         const updatedChunkStr = insertBuildIdComment(chunkStr, buildId)\n//         controller.enqueue(encoder.encode(updatedChunkStr))\n//         return\n//       }\n//       controller.enqueue(chunk)\n//     },\n//   })\n// }\n\nexport function renderToInitialFizzStream({\n  ReactDOMServer,\n  element,\n  streamOptions,\n}: {\n  ReactDOMServer: {\n    renderToReadableStream: typeof import('react-dom/server').renderToReadableStream\n  }\n  element: React.ReactElement\n  streamOptions?: Parameters<typeof ReactDOMServer.renderToReadableStream>[1]\n}): Promise<ReactDOMServerReadableStream> {\n  return getTracer().trace(AppRenderSpan.renderToReadableStream, async () =>\n    ReactDOMServer.renderToReadableStream(element, streamOptions)\n  )\n}\n\nexport function createMetadataTransformStream(\n  insert: () => Promise<string> | string\n): TransformStream<Uint8Array, Uint8Array> {\n  let chunkIndex = -1\n  let isMarkRemoved = false\n\n  return new TransformStream({\n    async transform(chunk, controller) {\n      let iconMarkIndex = -1\n      let closedHeadIndex = -1\n      chunkIndex++\n\n      if (isMarkRemoved) {\n        controller.enqueue(chunk)\n        return\n      }\n      let iconMarkLength = 0\n      // Only search for the closed head tag once\n      if (iconMarkIndex === -1) {\n        iconMarkIndex = indexOfUint8Array(chunk, ENCODED_TAGS.META.ICON_MARK)\n        if (iconMarkIndex === -1) {\n          controller.enqueue(chunk)\n          return\n        } else {\n          // When we found the `<meta name=\"«nxt-icon»\"` tag prefix, we will remove it from the chunk.\n          // Its close tag could either be `/>` or `>`, checking the next char to ensure we cover both cases.\n          iconMarkLength = ENCODED_TAGS.META.ICON_MARK.length\n          // Check if next char is /, this is for xml mode.\n          if (chunk[iconMarkIndex + iconMarkLength] === 47) {\n            iconMarkLength += 2\n          } else {\n            // The last char is `>`\n            iconMarkLength++\n          }\n        }\n      }\n\n      // Check if icon mark is inside <head> tag in the first chunk.\n      if (chunkIndex === 0) {\n        closedHeadIndex = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD)\n        if (iconMarkIndex !== -1) {\n          // The mark icon is located in the 1st chunk before the head tag.\n          // We do not need to insert the script tag in this case because it's in the head.\n          // Just remove the icon mark from the chunk.\n          if (iconMarkIndex < closedHeadIndex) {\n            const replaced = new Uint8Array(chunk.length - iconMarkLength)\n\n            // Remove the icon mark from the chunk.\n            replaced.set(chunk.subarray(0, iconMarkIndex))\n            replaced.set(\n              chunk.subarray(iconMarkIndex + iconMarkLength),\n              iconMarkIndex\n            )\n            chunk = replaced\n          } else {\n            // The icon mark is after the head tag, replace and insert the script tag at that position.\n            const insertion = await insert()\n            const encodedInsertion = encoder.encode(insertion)\n            const insertionLength = encodedInsertion.length\n            const replaced = new Uint8Array(\n              chunk.length - iconMarkLength + insertionLength\n            )\n            replaced.set(chunk.subarray(0, iconMarkIndex))\n            replaced.set(encodedInsertion, iconMarkIndex)\n            replaced.set(\n              chunk.subarray(iconMarkIndex + iconMarkLength),\n              iconMarkIndex + insertionLength\n            )\n            chunk = replaced\n          }\n          isMarkRemoved = true\n        }\n        // If there's no icon mark located, it will be handled later when if present in the following chunks.\n      } else {\n        // When it's appeared in the following chunks, we'll need to\n        // remove the mark and then insert the script tag at that position.\n        const insertion = await insert()\n        const encodedInsertion = encoder.encode(insertion)\n        const insertionLength = encodedInsertion.length\n        // Replace the icon mark with the hoist script or empty string.\n        const replaced = new Uint8Array(\n          chunk.length - iconMarkLength + insertionLength\n        )\n        // Set the first part of the chunk, before the icon mark.\n        replaced.set(chunk.subarray(0, iconMarkIndex))\n        // Set the insertion after the icon mark.\n        replaced.set(encodedInsertion, iconMarkIndex)\n\n        // Set the rest of the chunk after the icon mark.\n        replaced.set(\n          chunk.subarray(iconMarkIndex + iconMarkLength),\n          iconMarkIndex + insertionLength\n        )\n        chunk = replaced\n        isMarkRemoved = true\n      }\n      controller.enqueue(chunk)\n    },\n  })\n}\n\nexport function createHeadInsertionTransformStream(\n  insert: () => Promise<string>\n): TransformStream<Uint8Array, Uint8Array> {\n  let inserted = false\n\n  // We need to track if this transform saw any bytes because if it didn't\n  // we won't want to insert any server HTML at all\n  let hasBytes = false\n\n  return new TransformStream({\n    async transform(chunk, controller) {\n      hasBytes = true\n\n      const insertion = await insert()\n      if (inserted) {\n        if (insertion) {\n          const encodedInsertion = encoder.encode(insertion)\n          controller.enqueue(encodedInsertion)\n        }\n        controller.enqueue(chunk)\n      } else {\n        // TODO (@Ethan-Arrowood): Replace the generic `indexOfUint8Array` method with something finely tuned for the subset of things actually being checked for.\n        const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD)\n        // In fully static rendering or non PPR rendering cases:\n        // `/head>` will always be found in the chunk in first chunk rendering.\n        if (index !== -1) {\n          if (insertion) {\n            const encodedInsertion = encoder.encode(insertion)\n            // Get the total count of the bytes in the chunk and the insertion\n            // e.g.\n            // chunk = <head><meta charset=\"utf-8\"></head>\n            // insertion = <script>...</script>\n            // output = <head><meta charset=\"utf-8\"> [ <script>...</script> ] </head>\n            const insertedHeadContent = new Uint8Array(\n              chunk.length + encodedInsertion.length\n            )\n            // Append the first part of the chunk, before the head tag\n            insertedHeadContent.set(chunk.slice(0, index))\n            // Append the server inserted content\n            insertedHeadContent.set(encodedInsertion, index)\n            // Append the rest of the chunk\n            insertedHeadContent.set(\n              chunk.slice(index),\n              index + encodedInsertion.length\n            )\n            controller.enqueue(insertedHeadContent)\n          } else {\n            controller.enqueue(chunk)\n          }\n          inserted = true\n        } else {\n          // This will happens in PPR rendering during next start, when the page is partially rendered.\n          // When the page resumes, the head tag will be found in the middle of the chunk.\n          // Where we just need to append the insertion and chunk to the current stream.\n          // e.g.\n          // PPR-static: <head>...</head><body> [ resume content ] </body>\n          // PPR-resume: [ insertion ] [ rest content ]\n          if (insertion) {\n            controller.enqueue(encoder.encode(insertion))\n          }\n          controller.enqueue(chunk)\n          inserted = true\n        }\n      }\n    },\n    async flush(controller) {\n      // Check before closing if there's anything remaining to insert.\n      if (hasBytes) {\n        const insertion = await insert()\n        if (insertion) {\n          controller.enqueue(encoder.encode(insertion))\n        }\n      }\n    },\n  })\n}\n\nasync function createClientResumeScriptInsertionTransformStream(): Promise<\n  TransformStream<Uint8Array, Uint8Array>\n> {\n  const segmentPath = '/_full'\n  const cacheBustingHeader = await computeCacheBustingSearchParam(\n    '1', //            headers[NEXT_ROUTER_PREFETCH_HEADER]\n    '/_full', //       headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]\n    undefined, //      headers[NEXT_ROUTER_STATE_TREE_HEADER]\n    undefined //       headers[NEXT_URL]\n  )\n  const searchStr = `${NEXT_RSC_UNION_QUERY}=${cacheBustingHeader}`\n  const NEXT_CLIENT_RESUME_SCRIPT = `<script>__NEXT_CLIENT_RESUME=fetch(location.pathname+'?${searchStr}',{credentials:'same-origin',headers:{'${RSC_HEADER}': '1','${NEXT_ROUTER_PREFETCH_HEADER}': '1','${NEXT_ROUTER_SEGMENT_PREFETCH_HEADER}': '${segmentPath}'}})</script>`\n\n  let didAlreadyInsert = false\n  return new TransformStream({\n    transform(chunk, controller) {\n      if (didAlreadyInsert) {\n        // Already inserted the script into the head. Pass through.\n        controller.enqueue(chunk)\n        return\n      }\n      // TODO (@Ethan-Arrowood): Replace the generic `indexOfUint8Array` method with something finely tuned for the subset of things actually being checked for.\n      const headClosingTagIndex = indexOfUint8Array(\n        chunk,\n        ENCODED_TAGS.CLOSED.HEAD\n      )\n\n      if (headClosingTagIndex === -1) {\n        // In fully static rendering or non PPR rendering cases:\n        // `/head>` will always be found in the chunk in first chunk rendering.\n        controller.enqueue(chunk)\n        return\n      }\n\n      const encodedInsertion = encoder.encode(NEXT_CLIENT_RESUME_SCRIPT)\n      // Get the total count of the bytes in the chunk and the insertion\n      // e.g.\n      // chunk = <head><meta charset=\"utf-8\"></head>\n      // insertion = <script>...</script>\n      // output = <head><meta charset=\"utf-8\"> [ <script>...</script> ] </head>\n      const insertedHeadContent = new Uint8Array(\n        chunk.length + encodedInsertion.length\n      )\n      // Append the first part of the chunk, before the head tag\n      insertedHeadContent.set(chunk.slice(0, headClosingTagIndex))\n      // Append the server inserted content\n      insertedHeadContent.set(encodedInsertion, headClosingTagIndex)\n      // Append the rest of the chunk\n      insertedHeadContent.set(\n        chunk.slice(headClosingTagIndex),\n        headClosingTagIndex + encodedInsertion.length\n      )\n\n      controller.enqueue(insertedHeadContent)\n      didAlreadyInsert = true\n    },\n  })\n}\n\n// Suffix after main body content - scripts before </body>,\n// but wait for the major chunks to be enqueued.\nexport function createDeferredSuffixStream(\n  suffix: string\n): TransformStream<Uint8Array, Uint8Array> {\n  let flushed = false\n  let pending: DetachedPromise<void> | undefined\n\n  const flush = (controller: TransformStreamDefaultController) => {\n    const detached = new DetachedPromise<void>()\n    pending = detached\n\n    scheduleImmediate(() => {\n      try {\n        controller.enqueue(encoder.encode(suffix))\n      } catch {\n        // If an error occurs while enqueuing it can't be due to this\n        // transformers fault. It's likely due to the controller being\n        // errored due to the stream being cancelled.\n      } finally {\n        pending = undefined\n        detached.resolve()\n      }\n    })\n  }\n\n  return new TransformStream({\n    transform(chunk, controller) {\n      controller.enqueue(chunk)\n\n      // If we've already flushed, we're done.\n      if (flushed) return\n\n      // Schedule the flush to happen.\n      flushed = true\n      flush(controller)\n    },\n    flush(controller) {\n      if (pending) return pending.promise\n      if (flushed) return\n\n      // Flush now.\n      controller.enqueue(encoder.encode(suffix))\n    },\n  })\n}\n\nexport function createFlightDataInjectionTransformStream(\n  stream: ReadableStream<Uint8Array>,\n  delayDataUntilFirstHtmlChunk: boolean\n): TransformStream<Uint8Array, Uint8Array> {\n  let htmlStreamFinished = false\n\n  let pull: Promise<void> | null = null\n  let donePulling = false\n\n  function startOrContinuePulling(\n    controller: TransformStreamDefaultController\n  ) {\n    if (!pull) {\n      pull = startPulling(controller)\n    }\n    return pull\n  }\n\n  async function startPulling(controller: TransformStreamDefaultController) {\n    const reader = stream.getReader()\n\n    if (delayDataUntilFirstHtmlChunk) {\n      // NOTE: streaming flush\n      // We are buffering here for the inlined data stream because the\n      // \"shell\" stream might be chunkenized again by the underlying stream\n      // implementation, e.g. with a specific high-water mark. To ensure it's\n      // the safe timing to pipe the data stream, this extra tick is\n      // necessary.\n\n      // We don't start reading until we've left the current Task to ensure\n      // that it's inserted after flushing the shell. Note that this implementation\n      // might get stale if impl details of Fizz change in the future.\n      await atLeastOneTask()\n    }\n\n    try {\n      while (true) {\n        const { done, value } = await reader.read()\n        if (done) {\n          donePulling = true\n          return\n        }\n\n        // We want to prioritize HTML over RSC data.\n        // The SSR render is based on the same RSC stream, so when we get a new RSC chunk,\n        // we're likely to produce an HTML chunk as well, so give it a chance to flush first.\n        if (!delayDataUntilFirstHtmlChunk && !htmlStreamFinished) {\n          await atLeastOneTask()\n        }\n        controller.enqueue(value)\n      }\n    } catch (err) {\n      controller.error(err)\n    }\n  }\n\n  return new TransformStream({\n    start(controller) {\n      if (!delayDataUntilFirstHtmlChunk) {\n        startOrContinuePulling(controller)\n      }\n    },\n    transform(chunk, controller) {\n      controller.enqueue(chunk)\n\n      // Start the streaming if it hasn't already been started yet.\n      if (delayDataUntilFirstHtmlChunk) {\n        startOrContinuePulling(controller)\n      }\n    },\n    flush(controller) {\n      htmlStreamFinished = true\n      if (donePulling) {\n        return\n      }\n      return startOrContinuePulling(controller)\n    },\n  })\n}\n\nexport const CLOSE_TAG = '</body></html>'\n\n/**\n * This transform stream moves the suffix to the end of the stream, so results\n * like `</body></html><script>...</script>` will be transformed to\n * `<script>...</script></body></html>`.\n */\nexport function createMoveSuffixStream(): TransformStream<\n  Uint8Array,\n  Uint8Array\n> {\n  let foundSuffix = false\n\n  return new TransformStream({\n    transform(chunk, controller) {\n      if (foundSuffix) {\n        return controller.enqueue(chunk)\n      }\n\n      const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.BODY_AND_HTML)\n      if (index > -1) {\n        foundSuffix = true\n\n        // If the whole chunk is the suffix, then don't write anything, it will\n        // be written in the flush.\n        if (chunk.length === ENCODED_TAGS.CLOSED.BODY_AND_HTML.length) {\n          return\n        }\n\n        // Write out the part before the suffix.\n        const before = chunk.slice(0, index)\n        controller.enqueue(before)\n\n        // In the case where the suffix is in the middle of the chunk, we need\n        // to split the chunk into two parts.\n        if (chunk.length > ENCODED_TAGS.CLOSED.BODY_AND_HTML.length + index) {\n          // Write out the part after the suffix.\n          const after = chunk.slice(\n            index + ENCODED_TAGS.CLOSED.BODY_AND_HTML.length\n          )\n          controller.enqueue(after)\n        }\n      } else {\n        controller.enqueue(chunk)\n      }\n    },\n    flush(controller) {\n      // Even if we didn't find the suffix, the HTML is not valid if we don't\n      // add it, so insert it at the end.\n      controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML)\n    },\n  })\n}\n\nfunction createStripDocumentClosingTagsTransform(): TransformStream<\n  Uint8Array,\n  Uint8Array\n> {\n  return new TransformStream({\n    transform(chunk, controller) {\n      // We rely on the assumption that chunks will never break across a code unit.\n      // This is reasonable because we currently concat all of React's output from a single\n      // flush into one chunk before streaming it forward which means the chunk will represent\n      // a single coherent utf-8 string. This is not safe to use if we change our streaming to no\n      // longer do this large buffered chunk\n      if (\n        isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.BODY_AND_HTML) ||\n        isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.BODY) ||\n        isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.HTML)\n      ) {\n        // the entire chunk is the closing tags; return without enqueueing anything.\n        return\n      }\n\n      // We assume these tags will go at together at the end of the document and that\n      // they won't appear anywhere else in the document. This is not really a safe assumption\n      // but until we revamp our streaming infra this is a performant way to string the tags\n      chunk = removeFromUint8Array(chunk, ENCODED_TAGS.CLOSED.BODY)\n      chunk = removeFromUint8Array(chunk, ENCODED_TAGS.CLOSED.HTML)\n\n      controller.enqueue(chunk)\n    },\n  })\n}\n\nexport function createHtmlDataDplIdTransformStream(\n  dplId: string\n): TransformStream<Uint8Array, Uint8Array> {\n  let didTransform = false\n\n  return new TransformStream({\n    transform(chunk, controller) {\n      if (didTransform) {\n        controller.enqueue(chunk)\n        return\n      }\n\n      const htmlTagIndex = indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.HTML)\n      if (htmlTagIndex === -1) {\n        controller.enqueue(chunk)\n        return\n      }\n\n      // Insert the data-dpl-id attribute right after \"<html \"\n      const insertionPoint = htmlTagIndex + ENCODED_TAGS.OPENING.HTML.length\n      const attribute = ` data-dpl-id=\"${dplId}\"`\n      const encodedAttribute = encoder.encode(attribute)\n      const modifiedChunk = new Uint8Array(\n        chunk.length + encodedAttribute.length\n      )\n\n      // Copy everything before the insertion point\n      modifiedChunk.set(chunk.subarray(0, insertionPoint))\n      // Insert the attribute\n      modifiedChunk.set(encodedAttribute, insertionPoint)\n      // Copy everything after\n      modifiedChunk.set(\n        chunk.subarray(insertionPoint),\n        insertionPoint + encodedAttribute.length\n      )\n\n      controller.enqueue(modifiedChunk)\n      didTransform = true\n    },\n  })\n}\n\n/*\n * Checks if the root layout is missing the html or body tags\n * and if so, it will inject a script tag to throw an error in the browser, showing the user\n * the error message in the error overlay.\n */\nexport function createRootLayoutValidatorStream(): TransformStream<\n  Uint8Array,\n  Uint8Array\n> {\n  let foundHtml = false\n  let foundBody = false\n  return new TransformStream({\n    async transform(chunk, controller) {\n      // Peek into the streamed chunk to see if the tags are present.\n      if (\n        !foundHtml &&\n        indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.HTML) > -1\n      ) {\n        foundHtml = true\n      }\n\n      if (\n        !foundBody &&\n        indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.BODY) > -1\n      ) {\n        foundBody = true\n      }\n\n      controller.enqueue(chunk)\n    },\n    flush(controller) {\n      const missingTags: ('html' | 'body')[] = []\n      if (!foundHtml) missingTags.push('html')\n      if (!foundBody) missingTags.push('body')\n\n      if (!missingTags.length) return\n\n      controller.enqueue(\n        encoder.encode(\n          `<html id=\"__next_error__\">\n            <template\n              data-next-error-message=\"Missing ${missingTags\n                .map((c) => `<${c}>`)\n                .join(\n                  missingTags.length > 1 ? ' and ' : ''\n                )} tags in the root layout.\\nRead more at https://nextjs.org/docs/messages/missing-root-layout-tags\"\n              data-next-error-digest=\"${MISSING_ROOT_TAGS_ERROR}\"\n              data-next-error-stack=\"\"\n            ></template>\n          `\n        )\n      )\n    },\n  })\n}\n\nexport function chainTransformers<T>(\n  readable: ReadableStream<T>,\n  transformers: ReadonlyArray<TransformStream<T, T> | null>\n): ReadableStream<T> {\n  let stream = readable\n  for (const transformer of transformers) {\n    if (!transformer) continue\n\n    stream = stream.pipeThrough(transformer)\n  }\n  return stream\n}\n\nexport type ContinueStreamOptions = {\n  inlinedDataStream: ReadableStream<Uint8Array> | undefined\n  isStaticGeneration: boolean\n  deploymentId: string | undefined\n  getServerInsertedHTML: () => Promise<string>\n  getServerInsertedMetadata: () => Promise<string>\n  validateRootLayout?: boolean\n  /**\n   * Suffix to inject after the buffered data, but before the close tags.\n   */\n  suffix?: string | undefined\n}\n\nexport async function continueFizzStream(\n  renderStream: ReactDOMServerReadableStream,\n  {\n    suffix,\n    inlinedDataStream,\n    isStaticGeneration,\n    deploymentId,\n    getServerInsertedHTML,\n    getServerInsertedMetadata,\n    validateRootLayout,\n  }: ContinueStreamOptions\n): Promise<ReadableStream<Uint8Array>> {\n  // Suffix itself might contain close tags at the end, so we need to split it.\n  const suffixUnclosed = suffix ? suffix.split(CLOSE_TAG, 1)[0] : null\n\n  if (isStaticGeneration) {\n    // If we're generating static HTML we need to wait for it to resolve before continuing.\n    await renderStream.allReady\n  } else {\n    // Otherwise, we want to make sure Fizz is done with all microtasky work\n    // before we start pulling the stream and cause a flush.\n    await waitAtLeastOneReactRenderTask()\n  }\n\n  return chainTransformers(renderStream, [\n    // Buffer everything to avoid flushing too frequently\n    createBufferedTransformStream(),\n\n    // Insert data-dpl-id attribute on the html tag\n    deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n\n    // Transform metadata\n    createMetadataTransformStream(getServerInsertedMetadata),\n\n    // Insert suffix content\n    suffixUnclosed != null && suffixUnclosed.length > 0\n      ? createDeferredSuffixStream(suffixUnclosed)\n      : null,\n\n    // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n    inlinedDataStream\n      ? createFlightDataInjectionTransformStream(inlinedDataStream, true)\n      : null,\n\n    // Validate the root layout for missing html or body tags\n    validateRootLayout ? createRootLayoutValidatorStream() : null,\n\n    // Close tags should always be deferred to the end\n    createMoveSuffixStream(),\n\n    // Special head insertions\n    // TODO-APP: Insert server side html to end of head in app layout rendering, to avoid\n    // hydration errors. Remove this once it's ready to be handled by react itself.\n    createHeadInsertionTransformStream(getServerInsertedHTML),\n  ])\n}\n\ntype ContinueDynamicPrerenderOptions = {\n  getServerInsertedHTML: () => Promise<string>\n  getServerInsertedMetadata: () => Promise<string>\n  deploymentId: string | undefined\n}\n\nexport async function continueDynamicPrerender(\n  prerenderStream: ReadableStream<Uint8Array>,\n  {\n    getServerInsertedHTML,\n    getServerInsertedMetadata,\n    deploymentId,\n  }: ContinueDynamicPrerenderOptions\n) {\n  return chainTransformers(prerenderStream, [\n    // Buffer everything to avoid flushing too frequently\n    createBufferedTransformStream(),\n    createStripDocumentClosingTagsTransform(),\n    // Insert data-dpl-id attribute on the html tag\n    deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n    // Insert generated tags to head\n    createHeadInsertionTransformStream(getServerInsertedHTML),\n    // Transform metadata\n    createMetadataTransformStream(getServerInsertedMetadata),\n  ])\n}\n\ntype ContinueStaticPrerenderOptions = {\n  inlinedDataStream: ReadableStream<Uint8Array>\n  getServerInsertedHTML: () => Promise<string>\n  getServerInsertedMetadata: () => Promise<string>\n  deploymentId: string | undefined\n}\n\nexport async function continueStaticPrerender(\n  prerenderStream: ReadableStream<Uint8Array>,\n  {\n    inlinedDataStream,\n    getServerInsertedHTML,\n    getServerInsertedMetadata,\n    deploymentId,\n  }: ContinueStaticPrerenderOptions\n) {\n  return chainTransformers(prerenderStream, [\n    // Buffer everything to avoid flushing too frequently\n    createBufferedTransformStream(),\n    // Add build id comment to start of the HTML document (in export mode)\n    // Insert data-dpl-id attribute on the html tag\n    deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n    // Insert generated tags to head\n    createHeadInsertionTransformStream(getServerInsertedHTML),\n    // Transform metadata\n    createMetadataTransformStream(getServerInsertedMetadata),\n    // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n    createFlightDataInjectionTransformStream(inlinedDataStream, true),\n    // Close tags should always be deferred to the end\n    createMoveSuffixStream(),\n  ])\n}\n\nexport async function continueStaticFallbackPrerender(\n  prerenderStream: ReadableStream<Uint8Array>,\n  {\n    inlinedDataStream,\n    getServerInsertedHTML,\n    getServerInsertedMetadata,\n    deploymentId,\n  }: ContinueStaticPrerenderOptions\n) {\n  // Same as `continueStaticPrerender`, but also inserts an additional script\n  // to instruct the client to start fetching the hydration data as early\n  // as possible.\n  return chainTransformers(prerenderStream, [\n    // Buffer everything to avoid flushing too frequently\n    createBufferedTransformStream(),\n    // Insert data-dpl-id attribute on the html tag\n    deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n    // Insert generated tags to head\n    createHeadInsertionTransformStream(getServerInsertedHTML),\n    // Insert the client resume script into the head\n    await createClientResumeScriptInsertionTransformStream(),\n    // Transform metadata\n    createMetadataTransformStream(getServerInsertedMetadata),\n    // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n    createFlightDataInjectionTransformStream(inlinedDataStream, true),\n    // Close tags should always be deferred to the end\n    createMoveSuffixStream(),\n  ])\n}\n\ntype ContinueResumeOptions = {\n  inlinedDataStream: ReadableStream<Uint8Array>\n  getServerInsertedHTML: () => Promise<string>\n  getServerInsertedMetadata: () => Promise<string>\n  delayDataUntilFirstHtmlChunk: boolean\n  deploymentId: string | undefined\n}\n\nexport async function continueDynamicHTMLResume(\n  renderStream: ReadableStream<Uint8Array>,\n  {\n    delayDataUntilFirstHtmlChunk,\n    inlinedDataStream,\n    getServerInsertedHTML,\n    getServerInsertedMetadata,\n    deploymentId,\n  }: ContinueResumeOptions\n) {\n  return chainTransformers(renderStream, [\n    // Buffer everything to avoid flushing too frequently\n    createBufferedTransformStream(),\n    // Insert data-dpl-id attribute on the html tag\n    deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n    // Insert generated tags to head\n    createHeadInsertionTransformStream(getServerInsertedHTML),\n    // Transform metadata\n    createMetadataTransformStream(getServerInsertedMetadata),\n    // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n    createFlightDataInjectionTransformStream(\n      inlinedDataStream,\n      delayDataUntilFirstHtmlChunk\n    ),\n    // Close tags should always be deferred to the end\n    createMoveSuffixStream(),\n  ])\n}\n\nexport function createDocumentClosingStream(): ReadableStream<Uint8Array> {\n  return streamFromString(CLOSE_TAG)\n}\n\n// ---------------------------------------------------------------------------\n// Runtime prefetch transform (Web streams)\n// ---------------------------------------------------------------------------\n\n/**\n * Web TransformStream that replaces the runtime prefetch sentinel in an RSC\n * payload stream: `[<sentinel>]` -> `[<isPartial>,<staleTime>]`.\n *\n * This is the web equivalent of createRuntimePrefetchNodeTransform\n * in node-stream-helpers.ts.\n */\nexport function createRuntimePrefetchTransformStream(\n  sentinel: number,\n  isPartial: boolean,\n  staleTime: number\n): TransformStream<Uint8Array, Uint8Array> {\n  const enc = new TextEncoder()\n\n  // Search for: [<sentinel>]\n  // Replace with: [<isPartial>,<staleTime>]\n  const search = enc.encode(`[${sentinel}]`)\n  const first = search[0]\n  const replace = enc.encode(`[${isPartial},${staleTime}]`)\n  const searchLen = search.length\n\n  let currentChunk: Uint8Array | null = null\n  let found = false\n\n  function processChunk(\n    controller: TransformStreamDefaultController<Uint8Array>,\n    nextChunk: null | Uint8Array\n  ) {\n    if (found) {\n      if (nextChunk) {\n        controller.enqueue(nextChunk)\n      }\n      return\n    }\n\n    if (currentChunk) {\n      // We can't search past the index that can contain a full match\n      let exclusiveUpperBound = currentChunk.length - (searchLen - 1)\n      if (nextChunk) {\n        // If we have any overflow bytes we can search up to the chunk's final byte\n        exclusiveUpperBound += Math.min(nextChunk.length, searchLen - 1)\n      }\n      if (exclusiveUpperBound < 1) {\n        // we can't match the current chunk.\n        controller.enqueue(currentChunk)\n        currentChunk = nextChunk // advance so we don't process this chunk again\n        return\n      }\n\n      let currentIndex = currentChunk.indexOf(first)\n\n      // check the current candidate match if it is within the bounds of our search space for the currentChunk\n      candidateLoop: while (\n        -1 < currentIndex &&\n        currentIndex < exclusiveUpperBound\n      ) {\n        // We already know index 0 matches because we used indexOf to find the candidateIndex so we start at index 1\n        let matchIndex = 1\n        while (matchIndex < searchLen) {\n          const candidateIndex = currentIndex + matchIndex\n          const candidateValue =\n            candidateIndex < currentChunk.length\n              ? currentChunk[candidateIndex]\n              : // if we ever hit this condition it is because there is a nextChunk we can read from\n                nextChunk![candidateIndex - currentChunk.length]\n          if (candidateValue !== search[matchIndex]) {\n            // No match, reset and continue the search from the next position\n            currentIndex = currentChunk.indexOf(first, currentIndex + 1)\n            continue candidateLoop\n          }\n          matchIndex++\n        }\n        // We found a complete match. currentIndex is our starting point to replace the value.\n        found = true\n        // enqueue everything up to the match\n        controller.enqueue(currentChunk.subarray(0, currentIndex))\n        // enqueue the replacement value\n        controller.enqueue(replace)\n        // If there are bytes in the currentChunk after the match enqueue them\n        if (currentIndex + searchLen < currentChunk.length) {\n          controller.enqueue(currentChunk.slice(currentIndex + searchLen))\n        }\n        // If we have a next chunk we enqueue it now\n        if (nextChunk) {\n          // if replacement spills over to the next chunk we first exclude the replaced bytes\n          const overflowBytes = currentIndex + searchLen - currentChunk.length\n          const truncatedChunk =\n            overflowBytes > 0 ? nextChunk!.subarray(overflowBytes) : nextChunk\n          controller.enqueue(truncatedChunk)\n        }\n        // We are now in found mode and don't need to track currentChunk anymore\n        currentChunk = null\n        return\n      }\n      // No match found in this chunk, emit it and wait for the next one\n      controller.enqueue(currentChunk)\n    }\n\n    // Advance to the next chunk\n    currentChunk = nextChunk\n  }\n\n  return new TransformStream<Uint8Array, Uint8Array>({\n    transform(chunk, controller) {\n      processChunk(controller, chunk)\n    },\n    flush(controller) {\n      processChunk(controller, null)\n    },\n  })\n}\n","import { Transform } from 'node:stream'\n\n/**\n * Node.js `Transform` that coalesces chunks written in the same microtask into\n * a single `Uint8Array` before pushing downstream, flushing synchronously once\n * the buffer reaches `maxBufferByteLength` (default: never, i.e.\n * microtask-only).\n *\n * This lives in its own module, separate from `stream-ops.node`, so that\n * consumers outside the render layer (e.g. the dev server's React debug\n * channel) can batch Node streams without pulling in `stream-ops.node`'s\n * `react-dom/server` and `react-dom/static` imports. Those resolve to the\n * vendored React only inside aliased app bundles; loaded from the unaliased\n * dev-server runtime they resolve to the app's installed React, which on React\n * 18 has no `react-dom/static` export.\n */\nexport function createNodeBufferedTransformStream(\n  maxBufferByteLength: number = Infinity\n): Transform {\n  let bufferedChunks: Array<Uint8Array> = []\n  let bufferByteLength = 0\n  let flushScheduled = false\n\n  function flushBuffered(stream: Transform): void {\n    if (bufferedChunks.length === 0) return\n\n    const merged = new Uint8Array(bufferByteLength)\n    let copiedBytes = 0\n    for (let i = 0; i < bufferedChunks.length; i++) {\n      const bufferedChunk = bufferedChunks[i]\n      merged.set(bufferedChunk, copiedBytes)\n      copiedBytes += bufferedChunk.byteLength\n    }\n    bufferedChunks.length = 0\n    bufferByteLength = 0\n    stream.push(merged)\n  }\n\n  return new Transform({\n    transform(chunk, _encoding, callback) {\n      bufferedChunks.push(chunk)\n      bufferByteLength += chunk.byteLength\n\n      if (bufferByteLength >= maxBufferByteLength) {\n        flushBuffered(this)\n      } else if (!flushScheduled) {\n        flushScheduled = true\n        queueMicrotask(() => {\n          flushScheduled = false\n          flushBuffered(this)\n        })\n      }\n      callback()\n    },\n    flush(callback) {\n      flushBuffered(this)\n      callback()\n    },\n  })\n}\n","// This utility is based on https://github.com/zertosh/htmlescape\n// License: https://github.com/zertosh/htmlescape/blob/0527ca7156a524d256101bb310a9f970f63078ad/LICENSE\n\nconst ESCAPE_LOOKUP: { [match: string]: string } = {\n  '&': '\\\\u0026',\n  '>': '\\\\u003e',\n  '<': '\\\\u003c',\n  '\\u2028': '\\\\u2028',\n  '\\u2029': '\\\\u2029',\n}\n\nexport const ESCAPE_REGEX = /[&><\\u2028\\u2029]/g\n\nconst ATTRIBUTE_ESCAPE_LOOKUP: { [match: string]: string } = {\n  '&': '&amp;',\n  '\"': '&quot;',\n  \"'\": '&#39;',\n  '<': '&lt;',\n  '>': '&gt;',\n}\n\nconst ATTRIBUTE_ESCAPE_REGEX = /[&\"'<>]/g\n\nexport function htmlEscapeJsonString(str: string): string {\n  return str.replace(ESCAPE_REGEX, (match) => ESCAPE_LOOKUP[match])\n}\n\nexport function htmlEscapeAttributeString(str: string): string {\n  return str.replace(\n    ATTRIBUTE_ESCAPE_REGEX,\n    (match) => ATTRIBUTE_ESCAPE_LOOKUP[match]\n  )\n}\n","import type { BinaryStreamOf } from './app-render'\nimport type { Readable } from 'node:stream'\n\nimport {\n  htmlEscapeAttributeString,\n  htmlEscapeJsonString,\n} from '../../shared/lib/htmlescape'\nimport { workUnitAsyncStorage } from './work-unit-async-storage.external'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport { getClientReferenceManifest } from './manifests-singleton'\n\nconst isEdgeRuntime = process.env.NEXT_RUNTIME === 'edge'\n\nconst INLINE_FLIGHT_PAYLOAD_BOOTSTRAP = 0\nconst INLINE_FLIGHT_PAYLOAD_DATA = 1\nconst INLINE_FLIGHT_PAYLOAD_FORM_STATE = 2\nconst INLINE_FLIGHT_PAYLOAD_BINARY = 3\n\nconst flightResponses = new WeakMap<\n  Readable | BinaryStreamOf<any>,\n  Promise<any>\n>()\nconst encoder = new TextEncoder()\n\nconst findSourceMapURL =\n  process.env.NODE_ENV !== 'production'\n    ? (require('../lib/source-maps') as typeof import('../lib/source-maps'))\n        .findSourceMapURLDEV\n    : undefined\n\n/**\n * Render Flight stream.\n * This is only used for renderToHTML, the Flight response does not need additional wrappers.\n */\nexport function getFlightStream<T>(\n  flightStream: Readable | BinaryStreamOf<T>,\n  debugStream: Readable | ReadableStream<Uint8Array> | undefined,\n  debugEndTime: number | undefined,\n  nonce: string | undefined\n): Promise<T> {\n  const response = flightResponses.get(flightStream)\n\n  if (response) {\n    return response\n  }\n\n  const { moduleLoading, edgeSSRModuleMapping, ssrModuleMapping } =\n    getClientReferenceManifest()\n\n  let newResponse: Promise<T>\n  if (flightStream instanceof ReadableStream) {\n    // The types of flightStream and debugStream should match.\n    if (debugStream && !(debugStream instanceof ReadableStream)) {\n      throw new InvariantError('Expected debug stream to be a ReadableStream')\n    }\n\n    // react-server-dom-webpack/client.edge must not be hoisted for require cache clearing to work correctly\n    const { createFromReadableStream } =\n      // eslint-disable-next-line import/no-extraneous-dependencies\n      require('react-server-dom-webpack/client') as typeof import('react-server-dom-webpack/client')\n\n    newResponse = createFromReadableStream<T>(flightStream, {\n      findSourceMapURL,\n      serverConsumerManifest: {\n        moduleLoading,\n        moduleMap: isEdgeRuntime ? edgeSSRModuleMapping : ssrModuleMapping,\n        serverModuleMap: null,\n      },\n      nonce,\n      debugChannel: debugStream ? { readable: debugStream } : undefined,\n      endTime: debugEndTime,\n    })\n  } else {\n    if (process.env.NEXT_RUNTIME === 'edge') {\n      throw new InvariantError(\n        'getFlightStream should always receive a ReadableStream when using the edge runtime'\n      )\n    } else {\n      const { Readable } =\n        require('node:stream') as typeof import('node:stream')\n\n      // Convert debug stream to Readable if it's a ReadableStream.\n      // When __NEXT_USE_NODE_STREAMS is enabled, the debug channel produces\n      // Node Readables natively. Otherwise, it produces web ReadableStreams.\n      let nodeDebugStream: Readable | undefined\n      if (debugStream) {\n        if (debugStream instanceof Readable) {\n          nodeDebugStream = debugStream\n        } else {\n          type WebReadableStream = import('stream/web').ReadableStream\n          nodeDebugStream = Readable.fromWeb(debugStream as WebReadableStream)\n        }\n      }\n\n      // react-server-dom-webpack/client.edge must not be hoisted for require cache clearing to work correctly\n      const { createFromNodeStream } =\n        // eslint-disable-next-line import/no-extraneous-dependencies\n        require('react-server-dom-webpack/client') as typeof import('react-server-dom-webpack/client')\n\n      newResponse = createFromNodeStream<T>(\n        flightStream,\n        {\n          moduleLoading,\n          moduleMap: isEdgeRuntime ? edgeSSRModuleMapping : ssrModuleMapping,\n          serverModuleMap: null,\n        },\n        {\n          findSourceMapURL,\n          nonce,\n          debugChannel: nodeDebugStream,\n          endTime: debugEndTime,\n        }\n      )\n    }\n  }\n\n  // Edge pages are never prerendered so they necessarily cannot have a workUnitStore type\n  // that requires the nextTick behavior. This is why it is safe to access a node only API here\n  if (process.env.NEXT_RUNTIME !== 'edge') {\n    const workUnitStore = workUnitAsyncStorage.getStore()\n\n    if (!workUnitStore) {\n      throw new InvariantError('Expected workUnitAsyncStorage to have a store.')\n    }\n\n    switch (workUnitStore.type) {\n      case 'prerender-client':\n      case 'validation-client':\n        const responseOnNextTick = new Promise<T>((resolve) => {\n          process.nextTick(() => {\n            resolve(newResponse)\n          })\n        })\n        flightResponses.set(flightStream, responseOnNextTick)\n        return responseOnNextTick\n      case 'prerender':\n      case 'prerender-runtime':\n      case 'prerender-ppr':\n      case 'prerender-legacy':\n      case 'request':\n      case 'cache':\n      case 'private-cache':\n      case 'unstable-cache':\n      case 'generate-static-params':\n        break\n      default:\n        workUnitStore satisfies never\n    }\n  }\n\n  flightResponses.set(flightStream, newResponse)\n\n  return newResponse\n}\n\n/**\n * Creates a ReadableStream provides inline script tag chunks for writing hydration\n * data to the client outside the React render itself.\n *\n * @param flightStream The RSC render stream\n * @param nonce optionally a nonce used during this particular render\n * @param formState optionally the formState used with this particular render\n * @returns a ReadableStream without the complete property. This signifies a lazy ReadableStream\n */\nexport function createInlinedDataReadableStream(\n  flightStream: ReadableStream<Uint8Array>,\n  nonce: string | undefined,\n  formState: unknown | null\n): ReadableStream<Uint8Array> {\n  const startScriptTag = nonce\n    ? `<script nonce=\"${htmlEscapeAttributeString(nonce)}\">`\n    : '<script>'\n\n  const flightReader = flightStream.getReader()\n  const decoder = new TextDecoder('utf-8', { fatal: true })\n\n  const readable = new ReadableStream({\n    type: 'bytes',\n    start(controller) {\n      try {\n        writeInitialInstructions(controller, startScriptTag, formState)\n      } catch (error) {\n        // during encoding or enqueueing forward the error downstream\n        controller.error(error)\n      }\n    },\n    async pull(controller) {\n      try {\n        const { done, value } = await flightReader.read()\n\n        if (value) {\n          try {\n            const decodedString = decoder.decode(value, { stream: !done })\n\n            // The chunk cannot be decoded as valid UTF-8 string as it might\n            // have arbitrary binary data.\n            writeFlightDataInstruction(\n              controller,\n              startScriptTag,\n              decodedString\n            )\n          } catch {\n            // The chunk cannot be decoded as valid UTF-8 string.\n            writeFlightDataInstruction(controller, startScriptTag, value)\n          }\n        }\n\n        if (done) {\n          controller.close()\n        }\n      } catch (error) {\n        // There was a problem in the upstream reader or during decoding or enqueuing\n        // forward the error downstream\n        controller.error(error)\n      }\n    },\n  })\n\n  return readable\n}\n\nfunction writeInitialInstructions(\n  controller: ReadableStreamDefaultController,\n  scriptStart: string,\n  formState: unknown | null\n) {\n  let scriptContents = `(self.__next_f=self.__next_f||[]).push(${htmlEscapeJsonString(\n    JSON.stringify([INLINE_FLIGHT_PAYLOAD_BOOTSTRAP])\n  )})`\n\n  if (formState != null) {\n    scriptContents += `;self.__next_f.push(${htmlEscapeJsonString(\n      JSON.stringify([INLINE_FLIGHT_PAYLOAD_FORM_STATE, formState])\n    )})`\n  }\n\n  controller.enqueue(encoder.encode(`${scriptStart}${scriptContents}</script>`))\n}\n\nfunction writeFlightDataInstruction(\n  controller: ReadableStreamDefaultController,\n  scriptStart: string,\n  chunk: string | Uint8Array\n) {\n  let htmlInlinedData: string\n\n  if (typeof chunk === 'string') {\n    htmlInlinedData = htmlEscapeJsonString(\n      JSON.stringify([INLINE_FLIGHT_PAYLOAD_DATA, chunk])\n    )\n  } else {\n    // The chunk cannot be embedded as a UTF-8 string in the script tag.\n    // Instead let's inline it in base64.\n    // Credits to Devon Govett (devongovett) for the technique.\n    // https://github.com/devongovett/rsc-html-stream\n    const base64 =\n      typeof Buffer !== 'undefined'\n        ? Buffer.from(\n            chunk.buffer,\n            chunk.byteOffset,\n            chunk.byteLength\n          ).toString('base64')\n        : btoa(String.fromCodePoint(...chunk))\n    htmlInlinedData = htmlEscapeJsonString(\n      JSON.stringify([INLINE_FLIGHT_PAYLOAD_BINARY, base64])\n    )\n  }\n\n  controller.enqueue(\n    encoder.encode(\n      `${scriptStart}self.__next_f.push(${htmlInlinedData})</script>`\n    )\n  )\n}\n","import type { Readable } from 'node:stream'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nexport type AnyStream = ReadableStream<Uint8Array> | Readable\n\nfunction isWebStream(stream: AnyStream): stream is ReadableStream<Uint8Array> {\n  return typeof (stream as ReadableStream).tee === 'function'\n}\n\n// React's RSC prerender function will emit an incomplete flight stream when using `prerender`. If the connection\n// closes then whatever hanging chunks exist will be errored. This is because prerender (an experimental feature)\n// has not yet implemented a concept of resume. For now we will simulate a paused connection by wrapping the stream\n// in one that doesn't close even when the underlying is complete.\nexport class ReactServerResult {\n  private _stream: null | AnyStream\n  private _replayable: ReplayableNodeStream | null\n\n  constructor(stream: AnyStream) {\n    if (process.env.__NEXT_USE_NODE_STREAMS && !isWebStream(stream)) {\n      this._stream = null\n      this._replayable = new ReplayableNodeStream(stream as Readable)\n    } else {\n      this._stream = stream\n      this._replayable = null\n    }\n  }\n\n  tee(): AnyStream {\n    if (this._replayable) {\n      return this._replayable.createReplayStream()\n    }\n\n    if (this._stream === null) {\n      throw new Error(\n        'Cannot tee a ReactServerResult that has already been consumed'\n      )\n    }\n    if (isWebStream(this._stream)) {\n      const tee = this._stream.tee()\n      this._stream = tee[0]\n      return tee[1]\n    }\n\n    if (process.env.NEXT_RUNTIME === 'edge') {\n      throw new InvariantError(\n        'Node.js Readable cannot be teed in the edge runtime'\n      )\n    } else {\n      let Readable: typeof import('node:stream').Readable\n      if (process.env.TURBOPACK) {\n        Readable = (require('node:stream') as typeof import('node:stream'))\n          .Readable\n      } else {\n        Readable = (\n          __non_webpack_require__('node:stream') as typeof import('node:stream')\n        ).Readable\n      }\n      const webStream = Readable.toWeb(\n        this._stream\n      ) as ReadableStream<Uint8Array>\n      const tee = webStream.tee()\n      this._stream = Readable.fromWeb(\n        tee[0] as import('stream/web').ReadableStream\n      )\n      return Readable.fromWeb(tee[1] as import('stream/web').ReadableStream)\n    }\n  }\n\n  consume(): AnyStream {\n    if (this._replayable) {\n      const stream = this._replayable.createReplayStream()\n      this._replayable.dispose()\n      this._replayable = null\n      return stream\n    }\n\n    if (this._stream === null) {\n      throw new Error(\n        'Cannot consume a ReactServerResult that has already been consumed'\n      )\n    }\n    const stream = this._stream\n    this._stream = null\n    return stream\n  }\n}\n\ntype ReplayableStreamSubscriber = {\n  onChunk: (chunk: Uint8Array) => void\n  onEnd: () => void\n  onError: (err: Error) => void\n}\n\n/**\n * Buffers all chunks from a Node.js Readable stream and allows creating new\n * Readable streams that replay the buffered chunks plus any subsequent chunks\n * from the source. Multiple replay streams can be created independently.\n */\nexport class ReplayableNodeStream {\n  private _chunks: Array<Uint8Array> | null\n  private _done: boolean\n  private _error: Error | null\n  private _subscribers: Set<ReplayableStreamSubscriber>\n\n  constructor(stream: Readable) {\n    this._chunks = []\n    this._done = false\n    this._error = null\n    this._subscribers = new Set()\n\n    stream.on('data', (chunk: Buffer | Uint8Array) => {\n      const buf = chunk instanceof Uint8Array ? chunk : new Uint8Array(chunk)\n      if (this._chunks !== null) {\n        this._chunks.push(buf)\n      }\n      for (const sub of this._subscribers) {\n        sub.onChunk(buf)\n      }\n    })\n\n    stream.on('end', () => {\n      this._done = true\n      for (const sub of this._subscribers) {\n        sub.onEnd()\n      }\n      this._subscribers.clear()\n    })\n\n    stream.on('error', (err: Error) => {\n      this._error = err\n      for (const sub of this._subscribers) {\n        sub.onError(err)\n      }\n      this._subscribers.clear()\n    })\n  }\n\n  /**\n   * Creates a new Node.js Readable stream that first emits all buffered chunks,\n   * then forwards any new chunks from the source as they arrive.\n   *\n   * Buffered chunks are delivered via _read() (pull-based) rather than pushed\n   * eagerly. This is critical because createReplayStream() is called outside\n   * of AsyncLocalStorage context, and eagerly pushing chunks triggers internal\n   * Node.js stream scheduling (process.nextTick for maybeReadMore) that\n   * captures the empty ALS context. By deferring to _read(), chunks are only\n   * delivered when the consumer reads, which happens inside the correct ALS\n   * scope (e.g. during Fizz's performWork).\n   */\n  createReplayStream(): Readable {\n    if (this._chunks === null) {\n      throw new InvariantError(\n        'Cannot create a replay stream after the ReplayableNodeStream has been disposed.'\n      )\n    }\n\n    let ReadableCtor: typeof import('node:stream').Readable\n    if (process.env.NEXT_RUNTIME === 'edge') {\n      throw new InvariantError(\n        'Node.js Readable cannot be teed in the edge runtime'\n      )\n    } else {\n      if (\n        process.env.__NEXT_BUNDLER === 'Webpack' ||\n        process.env.__NEXT_BUNDLER === 'Rspack'\n      ) {\n        ReadableCtor = (\n          __non_webpack_require__('node:stream') as typeof import('node:stream')\n        ).Readable\n      } else {\n        ReadableCtor = (require('node:stream') as typeof import('node:stream'))\n          .Readable\n      }\n    }\n\n    const bufferedChunks = this._chunks.slice()\n    let bufferIndex = 0\n    let bufferDrained = false\n    const isDone = this._done\n    const sourceError = this._error\n\n    const stream = new ReadableCtor({\n      read() {\n        if (!bufferDrained) {\n          bufferDrained = true\n          for (let i = bufferIndex; i < bufferedChunks.length; i++) {\n            this.push(bufferedChunks[i])\n          }\n          bufferIndex = bufferedChunks.length\n          if (isDone) {\n            this.push(null)\n          }\n        }\n      },\n    })\n\n    if (sourceError) {\n      stream.destroy(sourceError)\n      return stream\n    }\n\n    if (isDone) {\n      return stream\n    }\n\n    const subscriber: ReplayableStreamSubscriber = {\n      onChunk: (chunk) => {\n        stream.push(chunk)\n      },\n      onEnd: () => {\n        stream.push(null)\n      },\n      onError: (err) => {\n        stream.destroy(err)\n      },\n    }\n    this._subscribers.add(subscriber)\n\n    stream.on('close', () => {\n      this._subscribers.delete(subscriber)\n    })\n\n    return stream\n  }\n\n  /**\n   * Clears the buffered chunks and all subscriber references. After calling\n   * this, no new replay streams can be created.\n   */\n  dispose(): void {\n    this._chunks = null\n  }\n}\n\nexport type ReactServerPrerenderResolveToType = {\n  prelude: ReadableStream<Uint8Array>\n}\n\nexport async function createReactServerPrerenderResult(\n  underlying: Promise<ReactServerPrerenderResolveToType>\n): Promise<ReactServerPrerenderResult> {\n  const chunks: Array<Uint8Array> = []\n  const { prelude } = await underlying\n  const reader = prelude.getReader()\n  while (true) {\n    const { done, value } = await reader.read()\n    if (done) {\n      return new ReactServerPrerenderResult(chunks)\n    } else {\n      chunks.push(value)\n    }\n  }\n}\n\nexport async function createReactServerPrerenderResultFromRender(\n  underlying: AnyStream\n): Promise<ReactServerPrerenderResult> {\n  const chunks: Array<Uint8Array> = []\n\n  if (isWebStream(underlying)) {\n    const reader = underlying.getReader()\n    while (true) {\n      const { done, value } = await reader.read()\n      if (done) {\n        break\n      } else {\n        chunks.push(value)\n      }\n    }\n  } else {\n    for await (const chunk of underlying) {\n      chunks.push(chunk instanceof Uint8Array ? chunk : new Uint8Array(chunk))\n    }\n  }\n\n  return new ReactServerPrerenderResult(chunks)\n}\nexport class ReactServerPrerenderResult {\n  private _chunks: null | Array<Uint8Array>\n\n  private assertChunks(expression: string): Array<Uint8Array> {\n    if (this._chunks === null) {\n      throw new InvariantError(\n        `Cannot \\`${expression}\\` on a ReactServerPrerenderResult that has already been consumed.`\n      )\n    }\n    return this._chunks\n  }\n\n  private consumeChunks(expression: string): Array<Uint8Array> {\n    const chunks = this.assertChunks(expression)\n    this.consume()\n    return chunks\n  }\n\n  consume(): void {\n    this._chunks = null\n  }\n\n  constructor(chunks: Array<Uint8Array>) {\n    this._chunks = chunks\n  }\n\n  asChunks(): Array<Uint8Array> {\n    const chunks = this.assertChunks('asChunks()')\n    return chunks\n  }\n\n  asUnclosingStream(): ReadableStream<Uint8Array> {\n    const chunks = this.assertChunks('asUnclosingStream()')\n    return createUnclosingStream(chunks)\n  }\n\n  consumeAsUnclosingStream(): ReadableStream<Uint8Array> {\n    const chunks = this.consumeChunks('consumeAsUnclosingStream()')\n    return createUnclosingStream(chunks)\n  }\n\n  asStream(): ReadableStream<Uint8Array> {\n    const chunks = this.assertChunks('asStream()')\n    return createClosingStream(chunks)\n  }\n\n  consumeAsStream(): ReadableStream<Uint8Array> {\n    const chunks = this.consumeChunks('consumeAsStream()')\n    return createClosingStream(chunks)\n  }\n}\n\nfunction createUnclosingStream(\n  chunks: Array<Uint8Array>\n): ReadableStream<Uint8Array> {\n  let i = 0\n  return new ReadableStream({\n    async pull(controller) {\n      if (i < chunks.length) {\n        controller.enqueue(chunks[i++])\n      }\n      // we intentionally keep the stream open. The consumer will clear\n      // out chunks once finished and the remaining memory will be GC'd\n      // when this object goes out of scope\n    },\n  })\n}\n\nfunction createClosingStream(\n  chunks: Array<Uint8Array>\n): ReadableStream<Uint8Array> {\n  let i = 0\n  return new ReadableStream({\n    async pull(controller) {\n      if (i < chunks.length) {\n        controller.enqueue(chunks[i++])\n      } else {\n        controller.close()\n      }\n    },\n  })\n}\n\nexport async function processPrelude(\n  unprocessedPrelude: ReadableStream<Uint8Array>\n) {\n  const [prelude, peek] = unprocessedPrelude.tee()\n\n  const reader = peek.getReader()\n  const firstResult = await reader.read()\n  reader.cancel()\n\n  const preludeIsEmpty = firstResult.done === true\n\n  return { prelude, preludeIsEmpty }\n}\n","/**\n * Web stream operations for the rendering pipeline.\n * Loaded by stream-ops.ts when __NEXT_USE_NODE_STREAMS is false, such as edge\n * bundles where Node.js streams are unavailable.\n *\n * AnyStream = AnyStreamType so the exported type surface matches stream-ops.node.ts,\n * allowing the switcher to assign either module without `as unknown as`.\n */\n\nimport type { PostponedState, PrerenderOptions } from 'react-dom/static'\nimport { resume, renderToReadableStream } from 'react-dom/server'\nimport { prerender } from 'react-dom/static'\nimport type { renderToReadableStream as flightRenderToReadableStream } from 'react-server-dom-webpack/server'\n\nimport {\n  renderToInitialFizzStream,\n  streamToString as webStreamToString,\n  createRuntimePrefetchTransformStream,\n  continueFizzStream as webContinueFizzStream,\n  continueStaticPrerender as webContinueStaticPrerender,\n  continueDynamicPrerender as webContinueDynamicPrerender,\n  continueStaticFallbackPrerender as webContinueStaticFallbackPrerender,\n  continueDynamicHTMLResume as webContinueDynamicHTMLResume,\n  streamToBuffer as webStreamToBuffer,\n  chainStreams as webChainStreams,\n  createDocumentClosingStream as webCreateDocumentClosingStream,\n} from '../stream-utils/node-web-streams-helper'\nimport { createInlinedDataReadableStream } from './use-flight-response'\nimport { processPrelude as webProcessPrelude } from './app-render-prerender-utils'\nimport type { AnyStream as AnyStreamType } from './app-render-prerender-utils'\n\n// ---------------------------------------------------------------------------\n// Shared types\n// ---------------------------------------------------------------------------\n\ntype FlightRenderToReadableStream = typeof flightRenderToReadableStream\n\nexport type AnyStream = AnyStreamType\n\nexport type ContinueStreamSharedOptions = {\n  deploymentId: string | undefined\n  getServerInsertedHTML: () => Promise<string>\n  getServerInsertedMetadata: () => Promise<string>\n}\n\nexport type ContinueFizzStreamOptions = ContinueStreamSharedOptions & {\n  inlinedDataStream: AnyStream | undefined\n  isStaticGeneration: boolean\n  allReady?: Promise<void>\n  validateRootLayout?: boolean\n  suffix?: string\n}\n\nexport type ContinueStaticPrerenderOptions = ContinueStreamSharedOptions & {\n  inlinedDataStream: AnyStream\n}\n\nexport type ContinueDynamicHTMLResumeOptions = ContinueStreamSharedOptions & {\n  inlinedDataStream: AnyStream\n  delayDataUntilFirstHtmlChunk: boolean\n}\n\nexport type FlightComponentMod = {\n  renderToReadableStream: FlightRenderToReadableStream\n}\n\nexport type ServerPrerenderComponentMod = {\n  prerender: (...args: any[]) => Promise<any>\n}\n\nexport type FlightPayload = Parameters<FlightRenderToReadableStream>[0]\nexport type FlightClientModules = Parameters<FlightRenderToReadableStream>[1]\n\n/**\n * The options our Flight render wrappers accept, taken from React's Flight\n * `renderToReadableStream`. `signal` aborts the render: the Web wrapper passes\n * it straight to `renderToReadableStream`, while the Node wrapper aborts the\n * pipeable returned by `renderToPipeableStream` (which has no `signal` option)\n * when it fires.\n */\nexport type FlightRenderOptions = NonNullable<\n  Parameters<FlightRenderToReadableStream>[2]\n>\n\nexport type FizzStreamResult = {\n  stream: AnyStream\n  allReady: Promise<void>\n  abort?: (reason?: unknown) => void\n}\n\n// ---------------------------------------------------------------------------\n// Continue function wrappers\n// Thin wrappers that accept AnyStream and narrow to\n// ReadableStream<Uint8Array> internally for the web helper functions.\n// ---------------------------------------------------------------------------\n\nexport function continueFizzStream(\n  renderStream: AnyStream,\n  opts: ContinueFizzStreamOptions\n): Promise<AnyStream> {\n  return webContinueFizzStream(\n    renderStream as ReadableStream<Uint8Array> as any,\n    {\n      ...opts,\n      inlinedDataStream: opts.inlinedDataStream as\n        | ReadableStream<Uint8Array>\n        | undefined,\n    }\n  )\n}\n\nexport async function continueStaticPrerender(\n  prerenderStream: AnyStream,\n  opts: ContinueStaticPrerenderOptions\n): Promise<AnyStream> {\n  return webContinueStaticPrerender(\n    prerenderStream as ReadableStream<Uint8Array>,\n    {\n      ...opts,\n      inlinedDataStream: opts.inlinedDataStream as ReadableStream<Uint8Array>,\n    }\n  )\n}\n\nexport async function continueDynamicPrerender(\n  prerenderStream: AnyStream,\n  opts: {\n    getServerInsertedHTML: () => Promise<string>\n    getServerInsertedMetadata: () => Promise<string>\n    deploymentId: string | undefined\n  }\n): Promise<AnyStream> {\n  return webContinueDynamicPrerender(\n    prerenderStream as ReadableStream<Uint8Array>,\n    opts\n  )\n}\n\nexport async function continueStaticFallbackPrerender(\n  prerenderStream: AnyStream,\n  opts: ContinueStaticPrerenderOptions\n): Promise<AnyStream> {\n  return webContinueStaticFallbackPrerender(\n    prerenderStream as ReadableStream<Uint8Array>,\n    {\n      ...opts,\n      inlinedDataStream: opts.inlinedDataStream as ReadableStream<Uint8Array>,\n    }\n  )\n}\n\nexport async function continueDynamicHTMLResumeWeb(\n  renderStream: AnyStream,\n  opts: ContinueDynamicHTMLResumeOptions\n): Promise<AnyStream> {\n  return webContinueDynamicHTMLResume(\n    renderStream as ReadableStream<Uint8Array>,\n    {\n      ...opts,\n      inlinedDataStream: opts.inlinedDataStream as ReadableStream<Uint8Array>,\n    }\n  )\n}\n\nexport function continueDynamicHTMLResumeNode(\n  _renderStream: AnyStream,\n  _opts: ContinueDynamicHTMLResumeOptions\n): Promise<AnyStream> {\n  throw new Error('not implemented')\n}\n\nexport async function streamToBuffer(stream: AnyStream): Promise<Buffer> {\n  return webStreamToBuffer(stream as ReadableStream<Uint8Array>)\n}\n\nexport function chainStreams(...streams: AnyStream[]): AnyStream {\n  return webChainStreams(...(streams as ReadableStream<Uint8Array>[]))\n}\n\nexport function createDocumentClosingStream(): AnyStream {\n  return webCreateDocumentClosingStream()\n}\n\nexport async function processPrelude(\n  unprocessedPrelude: AnyStream\n): Promise<{ prelude: AnyStream; preludeIsEmpty: boolean }> {\n  return webProcessPrelude(unprocessedPrelude as ReadableStream<Uint8Array>)\n}\n\n// ---------------------------------------------------------------------------\n// Composed helpers\n// ---------------------------------------------------------------------------\n\nexport function createWebInlinedDataStream(\n  source: AnyStream,\n  nonce: string | undefined,\n  formState: unknown | null\n): AnyStream {\n  return createInlinedDataReadableStream(\n    source as ReadableStream<Uint8Array>,\n    nonce,\n    formState\n  )\n}\n\nexport function createNodeInlinedDataStream(\n  _source: AnyStream,\n  _nonce: string | undefined,\n  _formState: unknown | null\n): AnyStream {\n  throw new Error('not implemented')\n}\n\nexport function createPendingStream(): AnyStream {\n  return new ReadableStream<Uint8Array>()\n}\n\nexport function createOnHeadersCallback(\n  appendHeader: (key: string, value: string) => void\n): NonNullable<PrerenderOptions['onHeaders']> {\n  return (headers: Headers) => {\n    headers.forEach((value, key) => {\n      appendHeader(key, value)\n    })\n  }\n}\n\nexport async function resumeAndAbort(\n  element: React.ReactElement,\n  postponed: PostponedState | null,\n  opts: Parameters<typeof resume>[2] & { nonce?: string }\n): Promise<AnyStream> {\n  return resume(\n    element,\n    postponed as PostponedState,\n    opts as Parameters<typeof resume>[2]\n  )\n}\n\nexport function renderToNodeFlightStream(\n  _ComponentMod: FlightComponentMod,\n  _payload: FlightPayload,\n  _clientModules: FlightClientModules,\n  _opts: FlightRenderOptions\n): AnyStream {\n  throw new Error('not implemented')\n}\n\nexport function renderToWebFlightStream(\n  ComponentMod: FlightComponentMod,\n  payload: FlightPayload,\n  clientModules: FlightClientModules,\n  opts: FlightRenderOptions\n): AnyStream {\n  return ComponentMod.renderToReadableStream(payload, clientModules, opts)\n}\n\nexport async function streamToString(stream: AnyStream): Promise<string> {\n  return webStreamToString(stream as ReadableStream<Uint8Array>)\n}\n\nexport async function renderToWebFizzStream(\n  element: React.ReactElement,\n  streamOptions: any,\n  _options?: { waitForAllReady?: boolean }\n): Promise<FizzStreamResult> {\n  const stream = await renderToInitialFizzStream({\n    ReactDOMServer: { renderToReadableStream },\n    element,\n    streamOptions,\n  })\n  return { stream, allReady: stream.allReady, abort: undefined }\n}\n\nexport async function renderToNodeFizzStream(\n  _element: React.ReactElement,\n  _streamOptions: any,\n  _options?: { waitForAllReady?: boolean }\n): Promise<FizzStreamResult> {\n  throw new Error('Not implemented')\n}\n\nexport async function resumeToFizzStream(\n  element: React.ReactElement,\n  postponedState: PostponedState,\n  streamOptions: any\n): Promise<FizzStreamResult> {\n  const stream = await resume(element, postponedState, streamOptions)\n  return { stream, allReady: stream.allReady, abort: undefined }\n}\n\nexport function getServerPrerender(\n  ComponentMod: ServerPrerenderComponentMod\n): (...args: any[]) => any {\n  return ComponentMod.prerender\n}\n\nexport const getClientPrerender: typeof import('react-dom/static').prerender =\n  prerender\n\nexport function pipeRuntimePrefetchTransform(\n  stream: AnyStream,\n  sentinel: number,\n  isPartial: boolean,\n  staleTime: number\n): AnyStream {\n  return (stream as ReadableStream<Uint8Array>).pipeThrough(\n    createRuntimePrefetchTransformStream(sentinel, isPartial, staleTime)\n  )\n}\n\nexport function teeStream(stream: AnyStream): [AnyStream, AnyStream] {\n  return (stream as ReadableStream<Uint8Array>).tee()\n}\n","/**\n * Node.js stream operations for the rendering pipeline.\n * Loaded by stream-ops.ts when process.env.__NEXT_USE_NODE_STREAMS is true.\n *\n * AnyStream = AnyStreamType so the exported type surface matches stream-ops.web.ts,\n * allowing the switcher to assign either module without casts.\n * Rendering uses pipeable APIs; continue functions wrap the existing web\n * transforms via Readable.fromWeb() on their output.\n */\n\nimport type { PostponedState, PrerenderOptions } from 'react-dom/static'\nimport {\n  renderToPipeableStream,\n  resumeToPipeableStream,\n} from 'react-dom/server'\nimport { prerender } from 'react-dom/static'\nimport { PassThrough, Readable, Transform } from 'node:stream'\nimport { isUtf8 } from 'node:buffer'\n\nimport {\n  continueStaticPrerender as webContinueStaticPrerender,\n  continueDynamicPrerender as webContinueDynamicPrerender,\n  continueStaticFallbackPrerender as webContinueStaticFallbackPrerender,\n  continueDynamicHTMLResume as webContinueDynamicHTMLResume,\n  streamToBuffer as webStreamToBuffer,\n  streamToString as webStreamToString,\n  createDocumentClosingStream as webCreateDocumentClosingStream,\n  createRuntimePrefetchTransformStream,\n  CLOSE_TAG,\n} from '../stream-utils/node-web-streams-helper'\nimport { indexOfUint8Array } from '../stream-utils/uint8array-helpers'\nimport { ENCODED_TAGS } from '../stream-utils/encoded-tags'\nimport { createNodeBufferedTransformStream } from '../stream-utils/node-buffered-transform-stream'\nimport { MISSING_ROOT_TAGS_ERROR } from '../../shared/lib/errors/constants'\nimport {\n  htmlEscapeAttributeString,\n  htmlEscapeJsonString,\n} from '../../shared/lib/htmlescape'\nimport { createInlinedDataReadableStream } from './use-flight-response'\nimport {\n  ReplayableNodeStream,\n  type AnyStream as AnyStreamType,\n} from './app-render-prerender-utils'\nimport { DetachedPromise } from '../../lib/detached-promise'\nimport { getTracer } from '../lib/trace/tracer'\nimport { AppRenderSpan } from '../lib/trace/constants'\nimport {\n  atLeastOneTask,\n  waitAtLeastOneReactRenderTask,\n} from '../../lib/scheduler'\nimport type {\n  FlightPayload,\n  FlightClientModules,\n  FlightRenderOptions,\n} from './stream-ops.web'\n\n// ---------------------------------------------------------------------------\n// Re-export shared types from the web module\n// ---------------------------------------------------------------------------\n\nexport type {\n  ContinueStreamSharedOptions,\n  ContinueFizzStreamOptions,\n  ContinueStaticPrerenderOptions,\n  ContinueDynamicHTMLResumeOptions,\n  ServerPrerenderComponentMod,\n  FlightPayload,\n  FlightClientModules,\n  FlightRenderOptions,\n} from './stream-ops.web'\n\n// ---------------------------------------------------------------------------\n// AnyStream matches stream-ops.web.ts so both modules have the same type surface\n// ---------------------------------------------------------------------------\n\nexport type AnyStream = AnyStreamType\n\nexport type FlightComponentMod = {\n  renderToReadableStream: (\n    model: any,\n    webpackMap: any,\n    options?: any\n  ) => ReadableStream<Uint8Array>\n  renderToPipeableStream?: (\n    model: any,\n    webpackMap: any,\n    options?: any\n  ) => {\n    pipe<Writable extends NodeJS.WritableStream>(\n      destination: Writable\n    ): Writable\n    abort(reason?: unknown): void\n  }\n}\n\nexport type FizzStreamResult = {\n  stream: AnyStream\n  allReady: Promise<void>\n  abort?: (reason?: unknown) => void\n}\n\n// ---------------------------------------------------------------------------\n// Internal helpers\n// ---------------------------------------------------------------------------\n\ntype WebReadableStream = import('stream/web').ReadableStream\n\nfunction nodeReadableToWebReadableStream(\n  stream: Readable | ReadableStream<Uint8Array>\n): ReadableStream<Uint8Array> {\n  if (stream instanceof ReadableStream) {\n    return stream\n  }\n  // Readable.toWeb returns stream/web ReadableStream which is structurally\n  // identical to the global ReadableStream<Uint8Array>.\n  return Readable.toWeb(stream) as unknown as ReadableStream<Uint8Array>\n}\n\nfunction webToReadable(\n  stream: ReadableStream<Uint8Array> | Readable\n): Readable {\n  if (stream instanceof Readable) {\n    return stream\n  }\n  return Readable.fromWeb(stream as WebReadableStream)\n}\n\n// ---------------------------------------------------------------------------\n// Flight data injection – Node.js Transform that passes HTML chunks through\n// while pulling from a separate data stream and interleaving its chunks.\n// ---------------------------------------------------------------------------\n\nfunction createFlightDataInjectionTransform(\n  dataStream: Readable,\n  delayDataUntilFirstHtmlChunk: boolean\n): Transform {\n  let htmlStreamFinished = false\n  let pull: Promise<void> | null = null\n  let donePulling = false\n\n  function startOrContinuePulling(target: Transform) {\n    if (!pull) {\n      pull = startPulling(target)\n    }\n    return pull\n  }\n\n  async function startPulling(target: Transform) {\n    if (delayDataUntilFirstHtmlChunk) {\n      // Buffer the inlined data stream until we've left the current Task so\n      // it's inserted after flushing the shell.\n      await atLeastOneTask()\n    }\n\n    try {\n      const iterator = dataStream[Symbol.asyncIterator]()\n      while (true) {\n        const { done, value } = await iterator.next()\n        if (done) {\n          donePulling = true\n          return\n        }\n\n        // Prioritize HTML over RSC data: the SSR render produces HTML from\n        // the same RSC stream, so yield a task to let HTML flush first.\n        if (!delayDataUntilFirstHtmlChunk && !htmlStreamFinished) {\n          await atLeastOneTask()\n        }\n        target.push(value)\n      }\n    } catch (err) {\n      target.destroy(err as Error)\n    }\n  }\n\n  const nodeTransform = new Transform({\n    transform(chunk, _encoding, callback) {\n      this.push(chunk)\n      if (delayDataUntilFirstHtmlChunk) {\n        startOrContinuePulling(this)\n      }\n      callback()\n    },\n    flush(callback) {\n      htmlStreamFinished = true\n      if (donePulling) {\n        callback()\n        return\n      }\n      startOrContinuePulling(this).then(\n        () => callback(),\n        (err) => callback(err as Error)\n      )\n    },\n  })\n\n  if (!delayDataUntilFirstHtmlChunk) {\n    startOrContinuePulling(nodeTransform)\n  }\n\n  return nodeTransform\n}\n\n// ---------------------------------------------------------------------------\n// Head insertion – Node.js Transform that inserts server-generated HTML\n// (e.g. <script>, <style>) right before </head>, or prepends it if no\n// </head> tag is found (PPR resume case).\n// ---------------------------------------------------------------------------\n\nfunction createHeadInsertionTransform(\n  insert: () => Promise<string>\n): Transform {\n  let inserted = false\n  let hasBytes = false\n\n  return new Transform({\n    async transform(chunk, _encoding, callback) {\n      hasBytes = true\n\n      try {\n        const insertion = await insert()\n        if (inserted) {\n          if (insertion) {\n            this.push(Buffer.from(insertion))\n          }\n          this.push(chunk)\n        } else {\n          const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD)\n          if (index !== -1) {\n            if (insertion) {\n              const encodedInsertion = Buffer.from(insertion)\n              const merged = Buffer.allocUnsafe(\n                chunk.length + encodedInsertion.length\n              )\n              merged.set(chunk.slice(0, index))\n              merged.set(encodedInsertion, index)\n              merged.set(chunk.slice(index), index + encodedInsertion.length)\n              this.push(merged)\n            } else {\n              this.push(chunk)\n            }\n            inserted = true\n          } else {\n            if (insertion) {\n              this.push(Buffer.from(insertion))\n            }\n            this.push(chunk)\n            inserted = true\n          }\n        }\n        callback()\n      } catch (err) {\n        callback(err as Error)\n      }\n    },\n    async flush(callback) {\n      try {\n        if (hasBytes) {\n          const insertion = await insert()\n          if (insertion) {\n            this.push(Buffer.from(insertion))\n          }\n        }\n        callback()\n      } catch (err) {\n        callback(err as Error)\n      }\n    },\n  })\n}\n\n// ---------------------------------------------------------------------------\n// Metadata transform – Node.js Transform that finds the «nxt-icon» meta mark\n// and replaces it with a script tag (or removes it if inside <head>).\n// ---------------------------------------------------------------------------\n\nfunction createMetadataTransform(\n  insert: () => Promise<string> | string\n): Transform {\n  let chunkIndex = -1\n  let isMarkRemoved = false\n\n  return new Transform({\n    async transform(chunk, _encoding, callback) {\n      let iconMarkIndex = -1\n      let closedHeadIndex = -1\n      chunkIndex++\n\n      if (isMarkRemoved) {\n        this.push(chunk)\n        callback()\n        return\n      }\n\n      try {\n        let iconMarkLength = 0\n        iconMarkIndex = indexOfUint8Array(chunk, ENCODED_TAGS.META.ICON_MARK)\n        if (iconMarkIndex === -1) {\n          this.push(chunk)\n          callback()\n          return\n        }\n\n        iconMarkLength = ENCODED_TAGS.META.ICON_MARK.length\n        if (chunk[iconMarkIndex + iconMarkLength] === 47) {\n          iconMarkLength += 2\n        } else {\n          iconMarkLength++\n        }\n\n        if (chunkIndex === 0) {\n          closedHeadIndex = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD)\n          if (iconMarkIndex < closedHeadIndex) {\n            const replaced = Buffer.allocUnsafe(chunk.length - iconMarkLength)\n            replaced.set(chunk.subarray(0, iconMarkIndex))\n            replaced.set(\n              chunk.subarray(iconMarkIndex + iconMarkLength),\n              iconMarkIndex\n            )\n            chunk = replaced\n          } else {\n            const insertion = await insert()\n            const encodedInsertion = Buffer.from(insertion)\n            const insertionLength = encodedInsertion.length\n            const replaced = Buffer.allocUnsafe(\n              chunk.length - iconMarkLength + insertionLength\n            )\n            replaced.set(chunk.subarray(0, iconMarkIndex))\n            replaced.set(encodedInsertion, iconMarkIndex)\n            replaced.set(\n              chunk.subarray(iconMarkIndex + iconMarkLength),\n              iconMarkIndex + insertionLength\n            )\n            chunk = replaced\n          }\n          isMarkRemoved = true\n        } else {\n          const insertion = await insert()\n          const encodedInsertion = Buffer.from(insertion)\n          const insertionLength = encodedInsertion.length\n          const replaced = Buffer.allocUnsafe(\n            chunk.length - iconMarkLength + insertionLength\n          )\n          replaced.set(chunk.subarray(0, iconMarkIndex))\n          replaced.set(encodedInsertion, iconMarkIndex)\n          replaced.set(\n            chunk.subarray(iconMarkIndex + iconMarkLength),\n            iconMarkIndex + insertionLength\n          )\n          chunk = replaced\n          isMarkRemoved = true\n        }\n        this.push(chunk)\n        callback()\n      } catch (err) {\n        callback(err as Error)\n      }\n    },\n  })\n}\n\n// ---------------------------------------------------------------------------\n// Deferred suffix – Node.js Transform that appends a suffix string after the\n// first HTML chunk, deferring via queueMicrotask so the chunk flushes first.\n// ---------------------------------------------------------------------------\n\nfunction createDeferredSuffixTransform(suffix: string): Transform {\n  let flushed = false\n  const encodedSuffix = Buffer.from(suffix)\n\n  return new Transform({\n    transform(chunk, _encoding, callback) {\n      this.push(chunk)\n\n      if (!flushed) {\n        flushed = true\n        queueMicrotask(() => {\n          this.push(encodedSuffix)\n        })\n      }\n      callback()\n    },\n    flush(callback) {\n      if (!flushed) {\n        this.push(encodedSuffix)\n      }\n      callback()\n    },\n  })\n}\n\n// ---------------------------------------------------------------------------\n// Move suffix – Node.js Transform that strips </body></html> from its\n// original position and re-appends it at the very end of the stream, so any\n// content injected after the suffix still appears before the closing tags.\n// ---------------------------------------------------------------------------\n\nfunction createMoveSuffixTransform(): Transform {\n  let foundSuffix = false\n\n  return new Transform({\n    transform(chunk, _encoding, callback) {\n      if (foundSuffix) {\n        this.push(chunk)\n        callback()\n        return\n      }\n\n      const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.BODY_AND_HTML)\n      if (index > -1) {\n        foundSuffix = true\n\n        if (chunk.length === ENCODED_TAGS.CLOSED.BODY_AND_HTML.length) {\n          callback()\n          return\n        }\n\n        const before = chunk.slice(0, index)\n        this.push(before)\n\n        if (chunk.length > ENCODED_TAGS.CLOSED.BODY_AND_HTML.length + index) {\n          const after = chunk.slice(\n            index + ENCODED_TAGS.CLOSED.BODY_AND_HTML.length\n          )\n          this.push(after)\n        }\n      } else {\n        this.push(chunk)\n      }\n      callback()\n    },\n    flush(callback) {\n      this.push(ENCODED_TAGS.CLOSED.BODY_AND_HTML)\n      callback()\n    },\n  })\n}\n\n// ---------------------------------------------------------------------------\n// data-dpl-id insertion – Node.js Transform that inserts a `data-dpl-id`\n// attribute on the opening <html tag for deployment identification.\n// ---------------------------------------------------------------------------\n\nfunction createHtmlDataDplIdTransform(dplId: string): Transform {\n  let didTransform = false\n\n  return new Transform({\n    transform(chunk, _encoding, callback) {\n      if (didTransform) {\n        this.push(chunk)\n        callback()\n        return\n      }\n\n      const htmlTagIndex = indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.HTML)\n      if (htmlTagIndex === -1) {\n        this.push(chunk)\n        callback()\n        return\n      }\n\n      const insertionPoint = htmlTagIndex + ENCODED_TAGS.OPENING.HTML.length\n      const encodedAttribute = Buffer.from(` data-dpl-id=\"${dplId}\"`)\n      const modified = Buffer.allocUnsafe(\n        chunk.length + encodedAttribute.length\n      )\n\n      modified.set(chunk.subarray(0, insertionPoint))\n      modified.set(encodedAttribute, insertionPoint)\n      modified.set(\n        chunk.subarray(insertionPoint),\n        insertionPoint + encodedAttribute.length\n      )\n\n      this.push(modified)\n      didTransform = true\n      callback()\n    },\n  })\n}\n\n// ---------------------------------------------------------------------------\n// Root layout validator – Node.js Transform that checks whether <html> and\n// <body> tags are present in the streamed output.  Dev-only; appends an\n// error template when tags are missing so the error overlay can display it.\n// ---------------------------------------------------------------------------\n\nfunction createRootLayoutValidatorTransform(): Transform {\n  let foundHtml = false\n  let foundBody = false\n\n  return new Transform({\n    transform(chunk, _encoding, callback) {\n      if (\n        !foundHtml &&\n        indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.HTML) > -1\n      ) {\n        foundHtml = true\n      }\n      if (\n        !foundBody &&\n        indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.BODY) > -1\n      ) {\n        foundBody = true\n      }\n      this.push(chunk)\n      callback()\n    },\n    flush(callback) {\n      const missingTags: ('html' | 'body')[] = []\n      if (!foundHtml) missingTags.push('html')\n      if (!foundBody) missingTags.push('body')\n\n      if (missingTags.length) {\n        this.push(\n          Buffer.from(\n            `<html id=\"__next_error__\">\n            <template\n              data-next-error-message=\"Missing ${missingTags\n                .map((c) => `<${c}>`)\n                .join(\n                  missingTags.length > 1 ? ' and ' : ''\n                )} tags in the root layout.\\nRead more at https://nextjs.org/docs/messages/missing-root-layout-tags\"\n              data-next-error-digest=\"${MISSING_ROOT_TAGS_ERROR}\"\n              data-next-error-stack=\"\"\n            ></template>\n          `\n          )\n        )\n      }\n      callback()\n    },\n  })\n}\n\n// ---------------------------------------------------------------------------\n// Rendering functions (output Node Readable natively via PassThrough)\n// ---------------------------------------------------------------------------\n\nexport { renderToWebFlightStream } from './stream-ops.web'\n\nexport function renderToNodeFlightStream(\n  ComponentMod: FlightComponentMod,\n  payload: FlightPayload,\n  clientModules: FlightClientModules,\n  opts: FlightRenderOptions\n): AnyStream {\n  if (!ComponentMod.renderToPipeableStream) {\n    throw new Error('renderToPipeableStream is not implemented')\n  }\n\n  // `renderToPipeableStream` has no `signal` option (unlike the Web\n  // `renderToReadableStream`), so pull `signal` out of the options and abort\n  // the returned pipeable ourselves when it fires. We drop the listener when\n  // the passthrough closes so a finished render's `pipeable` isn't retained by\n  // the request signal, which can outlive it.\n  const { signal, ...renderOptions } = opts ?? {}\n\n  const pt = new PassThrough()\n  const pipeable = ComponentMod.renderToPipeableStream!(\n    payload,\n    clientModules,\n    renderOptions\n  )\n  pipeable.pipe(pt)\n\n  if (signal) {\n    if (signal.aborted) {\n      pipeable.abort(signal.reason)\n    } else {\n      const onAbort = () => pipeable.abort(signal.reason)\n      signal.addEventListener('abort', onAbort, { once: true })\n      pt.on('close', () => signal.removeEventListener('abort', onAbort))\n    }\n  }\n\n  return pt\n}\n\nexport { renderToWebFizzStream } from './stream-ops.web'\n\nexport async function renderToNodeFizzStream(\n  element: React.ReactElement,\n  streamOptions: any,\n  options?: { waitForAllReady?: boolean }\n): Promise<FizzStreamResult> {\n  const pt = new PassThrough()\n  const shellReady = new DetachedPromise<void>()\n  const allReady = new DetachedPromise<void>()\n  const deferPipe = options?.waitForAllReady === true\n\n  const pipeable = getTracer().trace(AppRenderSpan.renderToReadableStream, () =>\n    renderToPipeableStream(element, {\n      ...streamOptions,\n      onHeaders: streamOptions?.onHeaders,\n      onShellReady() {\n        streamOptions?.onShellReady?.()\n        shellReady.resolve()\n      },\n      onShellError(error: unknown) {\n        streamOptions?.onShellError?.(error)\n        shellReady.reject(error)\n      },\n      onAllReady() {\n        streamOptions?.onAllReady?.()\n        if (deferPipe) {\n          pipeable.pipe(pt)\n        }\n        allReady.resolve()\n      },\n      onError: streamOptions?.onError,\n    })\n  )\n\n  await getTracer().trace(\n    AppRenderSpan.waitShellReady,\n    () => shellReady.promise\n  )\n\n  if (!deferPipe) {\n    await waitAtLeastOneReactRenderTask()\n    pipeable.pipe(pt)\n  }\n\n  return {\n    stream: pt,\n    allReady: allReady.promise,\n    abort: (reason?: unknown) => pipeable.abort(reason),\n  }\n}\n\nexport async function resumeToFizzStream(\n  element: React.ReactElement,\n  postponedState: PostponedState,\n  streamOptions: any,\n  runInContext?: <T>(fn: () => T) => T\n): Promise<FizzStreamResult> {\n  const run: <T>(fn: () => T) => T = runInContext ?? ((fn) => fn())\n\n  const pt = new PassThrough()\n  const shellReady = new DetachedPromise<void>()\n  const allReady = new DetachedPromise<void>()\n\n  const pipeable = await run(() =>\n    resumeToPipeableStream(element, postponedState, {\n      ...streamOptions,\n      onShellReady() {\n        streamOptions?.onShellReady?.()\n        shellReady.resolve()\n      },\n      onShellError(error: unknown) {\n        streamOptions?.onShellError?.(error)\n        shellReady.reject(error)\n      },\n      onAllReady() {\n        streamOptions?.onAllReady?.()\n        allReady.resolve()\n      },\n    })\n  )\n\n  pipeable.pipe(pt)\n  await shellReady.promise\n\n  return {\n    stream: pt,\n    allReady: allReady.promise,\n    abort: (reason?: unknown) => pipeable.abort(reason),\n  }\n}\n\nexport async function resumeAndAbort(\n  element: React.ReactElement,\n  postponed: PostponedState | null,\n  opts: any\n): Promise<AnyStream> {\n  const pt = new PassThrough()\n  const pipeable = await resumeToPipeableStream(\n    element,\n    postponed as PostponedState,\n    opts\n  )\n  pipeable.pipe(pt)\n  pipeable.abort(opts?.signal?.reason)\n  return pt\n}\n\n// ---------------------------------------------------------------------------\n// Continue function wrappers\n// Bridge Node Readable → web, apply existing web transforms, Readable.fromWeb()\n// ---------------------------------------------------------------------------\n\nexport async function continueFizzStream(\n  renderStream: AnyStream,\n  {\n    suffix,\n    inlinedDataStream,\n    isStaticGeneration,\n    allReady,\n    deploymentId,\n    getServerInsertedHTML,\n    getServerInsertedMetadata,\n    validateRootLayout,\n  }: import('./stream-ops.web').ContinueFizzStreamOptions\n): Promise<Readable> {\n  // Suffix itself might contain close tags at the end, so we need to split it.\n  const suffixUnclosed = suffix ? suffix.split(CLOSE_TAG, 1)[0] : null\n\n  if (isStaticGeneration) {\n    if (allReady) {\n      await allReady\n    }\n  } else {\n    // Otherwise, we want to make sure Fizz is done with all microtasky work\n    // before we start pulling the stream and cause a flush.\n    await waitAtLeastOneReactRenderTask()\n  }\n\n  // Pipe the render stream through Node.js Transforms:\n  // 1. Buffer – coalesces chunks written in the same microtask into one Uint8Array\n  // 2. Flight data injection – interleaves RSC data chunks with the HTML stream\n  // 3. Head insertion – inserts server-generated HTML before </head>\n  const buffered = createNodeBufferedTransformStream()\n  webToReadable(renderStream).pipe(buffered)\n\n  let source: Readable = buffered\n\n  if (deploymentId) {\n    const dplId = createHtmlDataDplIdTransform(deploymentId)\n    source.pipe(dplId)\n    source = dplId\n  }\n\n  // Metadata (icon mark replacement)\n  const metadata = createMetadataTransform(getServerInsertedMetadata)\n  source.pipe(metadata)\n  source = metadata\n\n  // Insert suffix content\n  if (suffixUnclosed != null && suffixUnclosed.length > 0) {\n    const deferredSuffix = createDeferredSuffixTransform(suffixUnclosed)\n    source.pipe(deferredSuffix)\n    source = deferredSuffix\n  }\n\n  // Flight data injection – interleaves RSC data chunks with the HTML stream\n  if (inlinedDataStream) {\n    const flightInjection = createFlightDataInjectionTransform(\n      webToReadable(inlinedDataStream),\n      true\n    )\n    source.pipe(flightInjection)\n    source = flightInjection\n  }\n\n  if (validateRootLayout) {\n    const rootLayoutValidator = createRootLayoutValidatorTransform()\n    source.pipe(rootLayoutValidator)\n    source = rootLayoutValidator\n  }\n\n  // Close tags should always be deferred to the end\n  const moveSuffix = createMoveSuffixTransform()\n  source.pipe(moveSuffix)\n  source = moveSuffix\n\n  // Head insertion – inserts server-generated HTML before </head>\n  const headInsertion = createHeadInsertionTransform(getServerInsertedHTML)\n  source.pipe(headInsertion)\n  source = headInsertion\n\n  return source\n}\n\nexport async function continueStaticPrerender(\n  prerenderStream: AnyStream,\n  opts: import('./stream-ops.web').ContinueStaticPrerenderOptions\n): Promise<AnyStream> {\n  const webResult = await webContinueStaticPrerender(\n    nodeReadableToWebReadableStream(prerenderStream),\n    {\n      ...opts,\n      inlinedDataStream: nodeReadableToWebReadableStream(\n        opts.inlinedDataStream\n      ),\n    }\n  )\n  return webToReadable(webResult)\n}\n\nexport async function continueDynamicPrerender(\n  prerenderStream: AnyStream,\n  opts: {\n    getServerInsertedHTML: () => Promise<string>\n    getServerInsertedMetadata: () => Promise<string>\n    deploymentId: string | undefined\n  }\n): Promise<AnyStream> {\n  const webResult = await webContinueDynamicPrerender(\n    nodeReadableToWebReadableStream(prerenderStream),\n    opts\n  )\n  return webToReadable(webResult)\n}\n\nexport async function continueStaticFallbackPrerender(\n  prerenderStream: AnyStream,\n  opts: import('./stream-ops.web').ContinueStaticPrerenderOptions\n): Promise<AnyStream> {\n  const webResult = await webContinueStaticFallbackPrerender(\n    nodeReadableToWebReadableStream(prerenderStream),\n    {\n      ...opts,\n      inlinedDataStream: nodeReadableToWebReadableStream(\n        opts.inlinedDataStream\n      ),\n    }\n  )\n  return webToReadable(webResult)\n}\n\nexport async function continueDynamicHTMLResumeNode(\n  renderStream: AnyStream,\n  {\n    delayDataUntilFirstHtmlChunk,\n    inlinedDataStream,\n    getServerInsertedHTML,\n    getServerInsertedMetadata,\n    deploymentId,\n  }: import('./stream-ops.web').ContinueDynamicHTMLResumeOptions\n): Promise<AnyStream> {\n  await waitAtLeastOneReactRenderTask()\n\n  const buffered = createNodeBufferedTransformStream()\n  webToReadable(renderStream).pipe(buffered)\n\n  let source: Readable = buffered\n\n  if (deploymentId) {\n    const dplId = createHtmlDataDplIdTransform(deploymentId)\n    source.pipe(dplId)\n    source = dplId\n  }\n\n  const headInsertion = createHeadInsertionTransform(getServerInsertedHTML)\n  source.pipe(headInsertion)\n  source = headInsertion\n\n  const metadata = createMetadataTransform(getServerInsertedMetadata)\n  source.pipe(metadata)\n  source = metadata\n\n  const flightInjection = createFlightDataInjectionTransform(\n    webToReadable(inlinedDataStream),\n    delayDataUntilFirstHtmlChunk\n  )\n  source.pipe(flightInjection)\n  source = flightInjection\n\n  const moveSuffix = createMoveSuffixTransform()\n  source.pipe(moveSuffix)\n  source = moveSuffix\n\n  return source\n}\n\nexport async function continueDynamicHTMLResumeWeb(\n  renderStream: AnyStream,\n  opts: import('./stream-ops.web').ContinueDynamicHTMLResumeOptions\n): Promise<AnyStream> {\n  const webResult = await webContinueDynamicHTMLResume(\n    nodeReadableToWebReadableStream(renderStream),\n    {\n      ...opts,\n      inlinedDataStream: nodeReadableToWebReadableStream(\n        opts.inlinedDataStream\n      ),\n    }\n  )\n  return webToReadable(webResult)\n}\n\n// ---------------------------------------------------------------------------\n// Utility functions (Node-native)\n// ---------------------------------------------------------------------------\n\nexport function chainStreams(...streams: AnyStream[]): AnyStream {\n  if (streams.length === 0) {\n    const pt = new PassThrough()\n    pt.end()\n    return pt\n  }\n\n  if (streams.length === 1) {\n    return streams[0]\n  }\n\n  const out = new PassThrough()\n  let i = 0\n\n  function pipeNext() {\n    if (i >= streams.length) {\n      out.end()\n      return\n    }\n    const current = webToReadable(streams[i++])\n    current.pipe(out, { end: false })\n    current.on('end', pipeNext)\n    current.on('error', (err) => out.destroy(err))\n  }\n\n  pipeNext()\n  return out\n}\n\nexport async function streamToBuffer(stream: AnyStream): Promise<Buffer> {\n  return webStreamToBuffer(nodeReadableToWebReadableStream(stream))\n}\n\nexport async function streamToString(stream: AnyStream): Promise<string> {\n  return webStreamToString(nodeReadableToWebReadableStream(stream))\n}\n\nexport function createWebInlinedDataStream(\n  source: AnyStream,\n  nonce: string | undefined,\n  formState: unknown | null\n): AnyStream {\n  const webSource = nodeReadableToWebReadableStream(source)\n  const webResult = createInlinedDataReadableStream(webSource, nonce, formState)\n  return webToReadable(webResult)\n}\n\nexport function createNodeInlinedDataStream(\n  source: AnyStream,\n  nonce: string | undefined,\n  formState: unknown | null\n): AnyStream {\n  const startScriptTag = nonce\n    ? `<script nonce=\"${htmlEscapeAttributeString(nonce)}\">`\n    : '<script>'\n\n  const dataStream = webToReadable(source)\n  const pt = new PassThrough()\n\n  // Write initial bootstrap instructions\n  let scriptContents = `(self.__next_f=self.__next_f||[]).push(${htmlEscapeJsonString(\n    JSON.stringify([INLINE_FLIGHT_PAYLOAD_BOOTSTRAP])\n  )})`\n  if (formState != null) {\n    scriptContents += `;self.__next_f.push(${htmlEscapeJsonString(\n      JSON.stringify([INLINE_FLIGHT_PAYLOAD_FORM_STATE, formState])\n    )})`\n  }\n  pt.push(Buffer.from(`${startScriptTag}${scriptContents}</script>`))\n\n  // Pull from the flight data stream and wrap each chunk in a <script> tag\n  pullFlightData(dataStream, pt, startScriptTag)\n\n  return pt\n}\n\nconst INLINE_FLIGHT_PAYLOAD_BOOTSTRAP = 0\nconst INLINE_FLIGHT_PAYLOAD_DATA = 1\nconst INLINE_FLIGHT_PAYLOAD_FORM_STATE = 2\nconst INLINE_FLIGHT_PAYLOAD_BINARY = 3\n\nasync function pullFlightData(\n  dataStream: Readable,\n  output: PassThrough,\n  startScriptTag: string\n): Promise<void> {\n  function waitForReadableOrEnd(): Promise<void> {\n    if (dataStream.readableLength > 0 || dataStream.readableEnded) {\n      return Promise.resolve()\n    }\n    return new Promise<void>((resolve, reject) => {\n      function cleanup() {\n        dataStream.removeListener('readable', onDone)\n        dataStream.removeListener('end', onDone)\n        dataStream.removeListener('error', onError)\n      }\n      function onDone() {\n        cleanup()\n        resolve()\n      }\n      function onError(err: Error) {\n        cleanup()\n        reject(err)\n      }\n      dataStream.on('readable', onDone)\n      dataStream.on('end', onDone)\n      dataStream.on('error', onError)\n    })\n  }\n\n  try {\n    while (true) {\n      const chunk: Buffer | null = dataStream.read()\n      if (chunk !== null) {\n        let htmlInlinedData: string\n        if (isUtf8(chunk)) {\n          const decodedString = chunk.toString('utf-8')\n          htmlInlinedData = htmlEscapeJsonString(\n            JSON.stringify([INLINE_FLIGHT_PAYLOAD_DATA, decodedString])\n          )\n        } else {\n          const base64 = Buffer.from(\n            chunk.buffer,\n            chunk.byteOffset,\n            chunk.byteLength\n          ).toString('base64')\n          htmlInlinedData = htmlEscapeJsonString(\n            JSON.stringify([INLINE_FLIGHT_PAYLOAD_BINARY, base64])\n          )\n        }\n        output.push(\n          Buffer.from(\n            `${startScriptTag}self.__next_f.push(${htmlInlinedData})</script>`\n          )\n        )\n        continue\n      }\n\n      if (dataStream.readableEnded) {\n        output.end()\n        return\n      }\n\n      await waitForReadableOrEnd()\n    }\n  } catch (err) {\n    output.destroy(err as Error)\n  }\n}\n\nexport function createPendingStream(): AnyStream {\n  return new PassThrough()\n}\n\nexport function createDocumentClosingStream(): AnyStream {\n  const webStream = webCreateDocumentClosingStream()\n  return webToReadable(webStream)\n}\n\nexport function createOnHeadersCallback(\n  appendHeader: (key: string, value: string) => void\n): NonNullable<PrerenderOptions['onHeaders']> {\n  return (headers: Headers) => {\n    headers.forEach((value, key) => {\n      appendHeader(key, value)\n    })\n  }\n}\n\nexport function pipeRuntimePrefetchTransform(\n  stream: AnyStream,\n  sentinel: number,\n  isPartial: boolean,\n  staleTime: number\n): AnyStream {\n  const webStream = nodeReadableToWebReadableStream(stream)\n  const transformed = webStream.pipeThrough(\n    createRuntimePrefetchTransformStream(sentinel, isPartial, staleTime)\n  )\n  return webToReadable(transformed)\n}\n\n// ---------------------------------------------------------------------------\n// Re-exports (no stream involvement, identical to web)\n// ---------------------------------------------------------------------------\n\nexport async function processPrelude(unprocessedPrelude: AnyStream) {\n  const [prelude, peek] =\n    nodeReadableToWebReadableStream(unprocessedPrelude).tee()\n\n  const reader = peek.getReader()\n  const firstResult = await reader.read()\n  reader.cancel()\n\n  return {\n    prelude: webToReadable(prelude) as AnyStream,\n    preludeIsEmpty: firstResult.done === true,\n  }\n}\n\nexport function getServerPrerender(ComponentMod: {\n  prerender: (...args: any[]) => Promise<any>\n}): (...args: any[]) => any {\n  return ComponentMod.prerender\n}\n\nexport const getClientPrerender: typeof import('react-dom/static').prerender =\n  prerender\n\n// Node counterpart of the web `teeStream`. Like the web version it assumes the\n// stream type matching its build — here a Node `Readable` — and fans out\n// through `ReplayableNodeStream`. Need three or more consumers from one source?\n// Use `ReplayableNodeStream` directly (N `createReplayStream()` calls) to avoid\n// nesting tees.\nexport function teeStream(stream: AnyStream): [AnyStream, AnyStream] {\n  const replayable = new ReplayableNodeStream(stream as Readable)\n  return [replayable.createReplayStream(), replayable.createReplayStream()]\n}\n","/**\n * We extend Web Crypto APIs during builds and revalidates to ensure that prerenders don't observe random bytes\n * When cacheComponents is enabled. Random bytes are a form of IO even if they resolve synchronously. When cacheComponents is\n * enabled we need to ensure that random bytes are excluded from prerenders unless they are cached.\n *\n *\n * The extensions here never error nor alter the underlying return values and thus should be transparent to callers.\n */\n\nimport { io } from './io-utils'\n\nlet webCrypto: typeof crypto\nif (process.env.NEXT_RUNTIME === 'edge') {\n  webCrypto = crypto\n} else {\n  if (typeof crypto === 'undefined') {\n    // @ts-expect-error -- TODO: Is this actually safe?\n    webCrypto = (require('node:crypto') as typeof import('node:crypto'))\n      .webcrypto\n  } else {\n    webCrypto = crypto\n  }\n}\n\nconst getRandomValuesExpression = '`crypto.getRandomValues()`'\ntry {\n  const _getRandomValues = webCrypto.getRandomValues\n  webCrypto.getRandomValues = function getRandomValues() {\n    io(getRandomValuesExpression, 'crypto')\n    return _getRandomValues.apply(webCrypto, arguments as any)\n  }\n} catch {\n  console.error(\n    `Failed to install ${getRandomValuesExpression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n  )\n}\n\nconst randomUUIDExpression = '`crypto.randomUUID()`'\ntry {\n  const _randomUUID = webCrypto.randomUUID\n  webCrypto.randomUUID = function randomUUID() {\n    io(randomUUIDExpression, 'crypto')\n    return _randomUUID.apply(webCrypto, arguments as any)\n  } as typeof _randomUUID\n} catch {\n  console.error(\n    `Failed to install ${getRandomValuesExpression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n  )\n}\n","/**\n * Compile-time switcher for stream operations.\n *\n * When __NEXT_USE_NODE_STREAMS is true, uses Node.js pipeable stream APIs.\n * Otherwise, uses web ReadableStream APIs.\n *\n * Both modules export AnyStream = AnyStreamType so their type surfaces are\n * structurally identical — no `as unknown as` cast is needed.\n */\nexport type {\n  AnyStream,\n  ContinueFizzStreamOptions,\n  ContinueStaticPrerenderOptions,\n  ContinueStreamSharedOptions,\n  ContinueDynamicHTMLResumeOptions,\n  FlightComponentMod,\n  ServerPrerenderComponentMod,\n  FlightPayload,\n  FlightClientModules,\n  FlightRenderOptions,\n  FizzStreamResult,\n} from './stream-ops.web'\n\ntype WebMod = typeof import('./stream-ops.web')\n\nlet _m: WebMod\nif (process.env.__NEXT_USE_NODE_STREAMS) {\n  _m = require('./stream-ops.node') as typeof import('./stream-ops.node')\n} else {\n  _m = require('./stream-ops.web') as typeof import('./stream-ops.web')\n}\n\nexport const continueFizzStream = _m.continueFizzStream\nexport const continueStaticPrerender = _m.continueStaticPrerender\nexport const continueDynamicPrerender = _m.continueDynamicPrerender\nexport const continueStaticFallbackPrerender =\n  _m.continueStaticFallbackPrerender\nexport const continueDynamicHTMLResumeNode = _m.continueDynamicHTMLResumeNode\nexport const continueDynamicHTMLResumeWeb = _m.continueDynamicHTMLResumeWeb\nexport const streamToBuffer = _m.streamToBuffer\nexport const chainStreams = _m.chainStreams\nexport const createDocumentClosingStream = _m.createDocumentClosingStream\nexport const processPrelude = _m.processPrelude\nexport const createWebInlinedDataStream = _m.createWebInlinedDataStream\nexport const createNodeInlinedDataStream = _m.createNodeInlinedDataStream\nexport const createPendingStream = _m.createPendingStream\nexport const createOnHeadersCallback = _m.createOnHeadersCallback\nexport const resumeAndAbort = _m.resumeAndAbort\nexport const renderToWebFlightStream = _m.renderToWebFlightStream\nexport const renderToNodeFlightStream = _m.renderToNodeFlightStream\nexport const streamToString = _m.streamToString\nexport const renderToWebFizzStream = _m.renderToWebFizzStream\nexport const renderToNodeFizzStream = _m.renderToNodeFizzStream\nexport const resumeToFizzStream = _m.resumeToFizzStream\nexport const getServerPrerender = _m.getServerPrerender\nexport const getClientPrerender = _m.getClientPrerender\nexport const pipeRuntimePrefetchTransform = _m.pipeRuntimePrefetchTransform\nexport const teeStream = _m.teeStream\n","// Synchronously inject a require hook for webpack and webpack/. It's required to use the internal ncc webpack version.\n// This is needed for userland plugins to attach to the same webpack instance as Next.js'.\n// Individually compiled modules are as defined for the compilation in bundles/webpack/packages/*.\n\n// This module will only be loaded once per process.\nconst path = require('path') as typeof import('path')\nconst mod = require('module') as typeof import('module')\nconst originalRequire = mod.prototype.require\nconst resolveFilename =\n  // @ts-expect-error\n  mod._resolveFilename\n\nlet resolve: typeof require.resolve = process.env.NEXT_MINIMAL\n  ? // @ts-ignore\n    __non_webpack_require__.resolve\n  : require.resolve\n\nexport const hookPropertyMap = new Map()\n\nexport const defaultOverrides: Record<string, string> = {}\n\ntry {\n  Object.assign(defaultOverrides, {\n    'styled-jsx': path.dirname(resolve('styled-jsx/package.json')),\n    'styled-jsx/style': resolve('styled-jsx/style'),\n    'styled-jsx/style.js': resolve('styled-jsx/style'),\n  })\n} catch (_) {}\n\nconst toResolveMap = (map: Record<string, string>): [string, string][] => {\n  const resolveMap: [string, string][] = []\n  for (const [key, value] of Object.entries(map)) {\n    try {\n      resolveMap.push([key, resolve(value)])\n    } catch {}\n  }\n  return resolveMap\n}\n\nexport function addHookAliases(aliases: [string, string][] = []) {\n  for (const [key, value] of aliases) {\n    hookPropertyMap.set(key, value)\n  }\n}\n\naddHookAliases(toResolveMap(defaultOverrides))\n\n// @ts-expect-error\nmod._resolveFilename = function (\n  originalResolveFilename: (\n    request: string,\n    parent: string,\n    isMain: boolean,\n    opts: any\n  ) => string,\n  requestMap: Map<string, string>,\n  request: string,\n  parent: string,\n  isMain: boolean,\n  options: any\n) {\n  const hookResolved = requestMap.get(request)\n  if (hookResolved) request = hookResolved\n\n  return originalResolveFilename.call(mod, request, parent, isMain, options)\n\n  // We use `bind` here to avoid referencing outside variables to create potential memory leaks.\n}.bind(null, resolveFilename, hookPropertyMap)\n\n// @ts-expect-error\n// This is a hack to make sure that if a user requires a Next.js module that wasn't bundled\n// that needs to point to the rendering runtime version, it will point to the correct one.\n// This can happen on `pages` when a user requires a dependency that uses next/image for example.\nmod.prototype.require = function (request: string) {\n  if (request.endsWith('.shared-runtime')) {\n    return originalRequire.call(\n      this,\n      `next/dist/server/route-modules/pages/vendored/contexts/${path.basename(\n        request,\n        '.shared-runtime'\n      )}`\n    )\n  }\n\n  return originalRequire.call(this, request)\n}\n","import { InvariantError } from '../../shared/lib/invariant-error'\nimport { createPromiseWithResolvers } from '../../shared/lib/promise-with-resolvers'\n\nexport enum RenderStage {\n  Before = 1,\n  //\n  ShellStatic = 11,\n  Static = 13,\n  //\n  ShellRuntime = 21,\n  Runtime = 23,\n  //\n  Dynamic = 30,\n  //\n  Abandoned = 40,\n}\n\nexport type AdvanceableRenderStage = Exclude<\n  RenderStage,\n  RenderStage.Before | RenderStage.Abandoned\n>\n\nexport const RENDER_STAGE_ADVANCE_ORDER: AdvanceableRenderStage[] = [\n  RenderStage.ShellStatic,\n  RenderStage.Static,\n  //\n  RenderStage.ShellRuntime,\n  RenderStage.Runtime,\n  //\n  RenderStage.Dynamic,\n]\n\nexport function getNextStage(\n  stage: Exclude<AdvanceableRenderStage, RenderStage.Dynamic>\n) {\n  return RENDER_STAGE_ADVANCE_ORDER[\n    RENDER_STAGE_ADVANCE_ORDER.indexOf(stage) + 1\n  ]\n}\n\nexport function isAdvanceableRenderStage(\n  stage: RenderStage\n): stage is AdvanceableRenderStage {\n  return RenderStage.Before < stage && stage <= RenderStage.Dynamic\n}\n\nexport enum SyncIOMode {\n  /** Sync IO does not error in any stage. */\n  Untracked = 1,\n  /** Before `partialPrefetching`: Sync IO errors in static stages, and is allowed otherwise. */\n  AllowedInRuntimeOrDynamic = 2,\n  /** After `partialPrefetching`: Sync IO errors in all stages other than dynamic. */\n  AllowedInDynamic = 3,\n}\n\nexport class StagedRenderingController {\n  private abortSignal: AbortSignal | null\n  private abandonController: AbortController | null\n  private syncIOMode: SyncIOMode\n  public readonly finalStage: AdvanceableRenderStage | null\n\n  currentStage: RenderStage = RenderStage.Before\n\n  syncInterruptReason: Error | null = null\n\n  triggers: Record<AdvanceableRenderStage, StageTrigger> = {\n    [RenderStage.ShellStatic]: createStageTrigger(),\n    [RenderStage.Static]: createStageTrigger(),\n    //\n    [RenderStage.ShellRuntime]: createStageTrigger(),\n    [RenderStage.Runtime]: createStageTrigger(),\n    //\n    [RenderStage.Dynamic]: createStageTrigger(),\n  }\n\n  constructor({\n    abortSignal,\n    abandonController,\n    syncIO,\n    finalStage,\n  }: {\n    abortSignal: AbortSignal | null\n    abandonController: AbortController | null\n    syncIO: SyncIOMode\n    finalStage: AdvanceableRenderStage | null\n  }) {\n    this.abortSignal = abortSignal\n    this.abandonController = abandonController\n    this.syncIOMode = syncIO\n    this.finalStage = finalStage\n\n    if (abortSignal) {\n      abortSignal.addEventListener(\n        'abort',\n        () => {\n          // Reject all stage promises that haven't already been resolved.\n          // `cancelStageTrigger` is a noop if the trigger already resolved.\n          const { reason } = abortSignal\n          for (const trigger of Object.values(this.triggers)) {\n            cancelStageTrigger(trigger, reason)\n          }\n        },\n        { once: true }\n      )\n    }\n\n    if (abandonController) {\n      abandonController.signal.addEventListener(\n        'abort',\n        () => {\n          this.abandonRender()\n        },\n        { once: true }\n      )\n    }\n  }\n\n  onStage(stage: AdvanceableRenderStage, callback: () => void) {\n    addSyncTriggerListener(this.triggers[stage], callback)\n  }\n\n  shouldTrackSyncInterrupt(): boolean {\n    if (this.syncIOMode === SyncIOMode.Untracked) {\n      return false\n    }\n\n    switch (this.currentStage) {\n      case RenderStage.Before:\n        // If we haven't started the render yet, it can't be interrupted.\n        return false\n      case RenderStage.ShellStatic:\n      case RenderStage.Static:\n        return true\n      case RenderStage.ShellRuntime:\n      case RenderStage.Runtime: {\n        switch (this.syncIOMode) {\n          case SyncIOMode.AllowedInRuntimeOrDynamic: {\n            // Before `partialPrefetching`: Sync IO only errors in static stages.\n            return false\n          }\n          case SyncIOMode.AllowedInDynamic: {\n            return true\n          }\n        }\n        // NOT a fallthrough, but eslint doesn't understand that\n      }\n      case RenderStage.Dynamic:\n      case RenderStage.Abandoned:\n        return false\n      default:\n        this.currentStage satisfies never\n        return false\n    }\n  }\n\n  /** Note: only call this if `shouldTrackSyncInterrupt()` returned true */\n  syncInterruptCurrentStageWithReason(reason: Error) {\n    const { currentStage } = this\n    if (\n      currentStage === RenderStage.Before ||\n      currentStage === RenderStage.Dynamic ||\n      currentStage === RenderStage.Abandoned\n    ) {\n      // Not interruptible. Defensive noop.\n      return\n    }\n\n    // If Sync IO occurs during an abandonable render, we trigger the abandon.\n    // The abandon listener will call abandonRender which advances through\n    // stages to let caches fill before marking as Abandoned.\n    if (this.abandonController) {\n      this.abandonController.abort()\n      return\n    }\n\n    if (this.abortSignal) {\n      // If this is an abortable render, we capture the interruption reason and stop advancing.\n      // We don't release any more promises.\n      // The caller is expected to abort the signal.\n      this.syncInterruptReason = reason\n      this.currentStage = RenderStage.Abandoned\n      return\n    }\n\n    // If we're in a non-abandonable & non-abortable render,\n    // we need to advance to the Dynamic stage and capture the interruption reason.\n    // (in dev, this will be the restarted render)\n    this.syncInterruptReason = reason\n    this.advanceStage(RenderStage.Dynamic)\n  }\n\n  getSyncInterruptReason() {\n    return this.syncInterruptReason\n  }\n\n  getStageEndTime(stage: Exclude<AdvanceableRenderStage, RenderStage.Dynamic>) {\n    return this.triggers[getNextStage(stage)].triggeredAt ?? Infinity\n  }\n\n  private abandonRender() {\n    // In staged rendering, only the initial render is abandonable.\n    // We can abandon the initial render if\n    //   1. We notice a cache miss, and need to wait for caches to fill\n    //   2. A sync IO error occurs, and the render should be interrupted\n    //      (this might be a lazy intitialization of a module,\n    //       so we still want to restart in this case and see if it still occurs)\n    // In either case, we'll be doing another render after this one,\n    // so we only want to unblock the next stage, not Dynamic, because\n    // unblocking the dynamic stage would likely lead to wasted (uncached) IO.\n\n    const { currentStage } = this\n\n    if (currentStage === RenderStage.Before) {\n      throw new InvariantError(\n        \"A render that hasn't started yet cannot be abandoned\"\n      )\n    }\n    if (\n      currentStage === RenderStage.Dynamic ||\n      currentStage === RenderStage.Abandoned\n    ) {\n      // We shouldn't ever trigger an abandon in these. Defensive noop.\n      return\n    }\n\n    // Resolve all stages after the current one, up to runtime (excluding dynamic)\n    const nextStageIx = RENDER_STAGE_ADVANCE_ORDER.indexOf(currentStage) + 1\n    const dynamicStageIx = RENDER_STAGE_ADVANCE_ORDER.indexOf(\n      RenderStage.Dynamic\n    )\n    for (let i = nextStageIx; i < dynamicStageIx; i++) {\n      this.resolveStage(RENDER_STAGE_ADVANCE_ORDER[i])\n    }\n\n    this.currentStage = RenderStage.Abandoned\n  }\n\n  advanceStage(targetStage: AdvanceableRenderStage) {\n    if (this.finalStage !== null && targetStage > this.finalStage) {\n      throw new InvariantError(\n        `Attempted to advance to stage ${RenderStage[targetStage]} but the render is limited to ${RenderStage[this.finalStage]}`\n      )\n    }\n    const { currentStage } = this\n\n    if (\n      currentStage === RenderStage.Dynamic ||\n      currentStage === RenderStage.Abandoned\n    ) {\n      // Terminal stages, nowhere left to advance.\n      return\n    }\n\n    // If we're already at the target stage or beyond, do nothing.\n    if (targetStage <= currentStage) {\n      return\n    }\n\n    this.currentStage = targetStage\n\n    // Resolve all stages between the current stage and the target.\n    const nextStageIx =\n      currentStage === RenderStage.Before\n        ? 0\n        : RENDER_STAGE_ADVANCE_ORDER.indexOf(currentStage) + 1\n    const targetStageIx = RENDER_STAGE_ADVANCE_ORDER.indexOf(targetStage)\n    for (let i = nextStageIx; i <= targetStageIx; i++) {\n      this.resolveStage(RENDER_STAGE_ADVANCE_ORDER[i])\n    }\n  }\n\n  private resolveStage(stage: AdvanceableRenderStage) {\n    fireStageTrigger(this.triggers[stage])\n  }\n\n  private getStagePromise(stage: AdvanceableRenderStage): Promise<void> {\n    return this.triggers[stage].promise\n  }\n\n  waitForStage(stage: AdvanceableRenderStage) {\n    return this.getStagePromise(stage)\n  }\n\n  delayUntilStage<T>(\n    stage: AdvanceableRenderStage,\n    displayName: string | undefined,\n    resolvedValue: T\n  ): Promise<T> {\n    const stagePromise = this.getStagePromise(stage)\n\n    const promise =\n      process.env.NODE_ENV === 'development'\n        ? makeDevtoolsIOPromiseFromIOTrigger(\n            stagePromise,\n            displayName,\n            resolvedValue\n          )\n        : stagePromise.then(() => resolvedValue)\n\n    // Analogously to `makeDynamicHangingPromise`, we might reject this promise if the signal is invoked.\n    // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it).\n    // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning.\n    if (this.abortSignal) {\n      promise.catch(ignoreReject)\n    }\n    return promise\n  }\n}\n\nfunction ignoreReject() {}\n\n// TODO(restart-on-cache-miss): the layering of `delayUntilStage`,\n// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise`\n// is confusing, we should clean it up.\nfunction makeDevtoolsIOPromiseFromIOTrigger<T>(\n  ioTrigger: Promise<any>,\n  displayName: string | undefined,\n  resolvedValue: T\n): Promise<T> {\n  // If we create a `new Promise` and give it a displayName\n  // (with no userspace code above us in the stack)\n  // React Devtools will use it as the IO cause when determining \"suspended by\".\n  // In particular, it should shadow any inner IO that resolved/rejected the promise\n  // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage)\n  const promise = new Promise<T>((resolve, reject) => {\n    ioTrigger.then(resolve.bind(null, resolvedValue), reject)\n  })\n  if (displayName !== undefined) {\n    // @ts-expect-error\n    promise.displayName = displayName\n  }\n  return promise\n}\n\ntype StageTrigger = {\n  state: 'pending' | 'triggered' | 'cancelled'\n  triggeredAt: number | null\n  promise: Promise<void>\n  _listeners: Array<() => void>\n  _resolvePromise: () => void\n  _rejectPromise: (reason: unknown) => void\n}\n\nfunction addSyncTriggerListener(trigger: StageTrigger, listener: () => void) {\n  if (trigger.state === 'pending') {\n    trigger._listeners.push(listener)\n  } else {\n    listener()\n  }\n}\n\nfunction createStageTrigger(): StageTrigger {\n  const { promise, resolve, reject } = createPromiseWithResolvers<void>()\n  return {\n    state: 'pending',\n    triggeredAt: null,\n    promise,\n    _listeners: [],\n    _resolvePromise: resolve,\n    _rejectPromise: reject,\n  }\n}\n\nfunction fireStageTrigger(trigger: StageTrigger) {\n  if (trigger.state !== 'pending') {\n    return\n  }\n  trigger.state = 'triggered'\n  trigger.triggeredAt = performance.now() + performance.timeOrigin\n  try {\n    const { _listeners: listeners } = trigger\n    for (let i = 0; i < listeners.length; i++) {\n      listeners[i]()\n    }\n    listeners.length = 0\n  } finally {\n    trigger._resolvePromise()\n  }\n}\n\nfunction cancelStageTrigger(trigger: StageTrigger, reason: unknown) {\n  if (trigger.state !== 'pending') {\n    return\n  }\n  trigger.state = 'cancelled'\n  // we didn't trigger, so don't save `triggeredAt`.\n\n  // We're not gonna fire the listeners, we may as well free them.\n  trigger._listeners.length = 0\n\n  // Suppress unhandled rejection warnings for promises that no one is awaiting.\n  trigger.promise.catch(ignoreReject)\n  trigger._rejectPromise(reason)\n}\n","/**\n * We extend `Date` during builds and revalidates to ensure that prerenders don't observe the clock as a source of IO\n * When cacheComponents is enabled. The current time is a form of IO even though it resolves synchronously. When cacheComponents is\n * enabled we need to ensure that clock time is excluded from prerenders unless it is cached.\n *\n * There is tension here because time is used for both output and introspection. While arbitrary we intend to reserve\n * `Date` for output use cases and `performance` for introspection use cases. If you want to measure\n * how long something takes use `performance.timeOrigin` and `performance.now()` rather than `Date.now()` for instance.\n *\n * The extensions here never error nor alter the underlying Date objects, strings, and numbers created and thus should be transparent to callers.\n */\nimport { io } from './io-utils'\n\nfunction createNow(originalNow: typeof Date.now) {\n  return {\n    now: function now() {\n      io('`Date.now()`', 'time')\n      return originalNow()\n    },\n  }['now'.slice() as 'now'].bind(null)\n}\n\nfunction createDate(originalConstructor: typeof Date): typeof Date {\n  const properties = Object.getOwnPropertyDescriptors(originalConstructor)\n  properties.now.value = createNow(originalConstructor.now)\n\n  const apply = Reflect.apply\n  const construct = Reflect.construct\n\n  const newConstructor = Object.defineProperties(\n    // Ideally this should not minify the name.\n    function Date() {\n      if (new.target === undefined) {\n        io('`Date()`', 'time')\n        return apply(originalConstructor, undefined, arguments)\n      }\n      if (arguments.length === 0) {\n        io('`new Date()`', 'time')\n      }\n      return construct(originalConstructor, arguments, new.target)\n    },\n    properties\n  )\n  Object.defineProperty(originalConstructor.prototype, 'constructor', {\n    value: newConstructor,\n  })\n  return newConstructor as typeof Date\n}\n\ntry {\n  // eslint-disable-next-line no-native-reassign\n  Date = createDate(Date)\n} catch {\n  console.error(\n    'Failed to install `Date` class extension. When using `cacheComponents`, APIs that read the current time will not correctly trigger dynamic behavior.'\n  )\n}\n","import { patchErrorInspectNodeJS } from '../patch-error-inspect'\n\npatchErrorInspectNodeJS(globalThis.Error)\n","import fs from 'fs'\nimport path from 'path'\n\nexport interface LogEntry {\n  timestamp: string\n  source: 'Server' | 'Browser'\n  level: string\n  message: string\n}\n\n// Logging server and browser logs to a file\nexport class FileLogger {\n  private logFilePath: string = ''\n  private isInitialized: boolean = false\n  private logQueue: string[] = []\n  private flushTimer: NodeJS.Timeout | null = null\n  private mcpServerEnabled: boolean = false\n\n  public initialize(distDir: string, mcpServerEnabled: boolean): void {\n    this.logFilePath = path.join(distDir, 'logs', `next-development.log`)\n    this.mcpServerEnabled = mcpServerEnabled\n\n    if (this.isInitialized) {\n      return\n    }\n\n    // Only initialize if mcpServer is enabled\n    if (!this.mcpServerEnabled) {\n      return\n    }\n\n    try {\n      // Clean up the log file on each initialization\n      // ensure the directory exists\n      fs.mkdirSync(path.dirname(this.logFilePath), { recursive: true })\n      fs.writeFileSync(this.logFilePath, '')\n      this.isInitialized = true\n    } catch (error) {\n      console.error(error)\n    }\n  }\n\n  private formatTimestamp(): string {\n    // Use performance.now() instead of Date.now() for avoid sync IO of cache components\n    const now = performance.now()\n    const hours = Math.floor(now / 3600000)\n      .toString()\n      .padStart(2, '0')\n    const minutes = Math.floor((now % 3600000) / 60000)\n      .toString()\n      .padStart(2, '0')\n    const seconds = Math.floor((now % 60000) / 1000)\n      .toString()\n      .padStart(2, '0')\n    const milliseconds = Math.floor(now % 1000)\n      .toString()\n      .padStart(3, '0')\n    return `${hours}:${minutes}:${seconds}.${milliseconds}`\n  }\n\n  private formatLogEntry(entry: LogEntry): string {\n    const { timestamp, source, level, message } = entry\n    return JSON.stringify({ timestamp, source, level, message }) + '\\n'\n  }\n\n  private scheduleFlush(): void {\n    // Debounce the flush\n    if (this.flushTimer) {\n      clearTimeout(this.flushTimer)\n      this.flushTimer = null\n    }\n\n    // Delay the log flush to ensure more logs can be batched together asynchronously\n    this.flushTimer = setTimeout(() => {\n      this.flush()\n    }, 100)\n  }\n\n  public getLogQueue(): string[] {\n    return this.logQueue\n  }\n\n  public isEnabled(): boolean {\n    return this.mcpServerEnabled && this.isInitialized\n  }\n\n  private flush(): void {\n    if (this.logQueue.length === 0) {\n      return\n    }\n\n    // Only flush to disk if mcpServer is enabled\n    if (!this.mcpServerEnabled) {\n      this.logQueue.length = 0 // Clear the queue without GC overhead\n      this.flushTimer = null\n      return\n    }\n\n    try {\n      // Ensure the directory exists before writing\n      const logDir = path.dirname(this.logFilePath)\n      if (!fs.existsSync(logDir)) {\n        fs.mkdirSync(logDir, { recursive: true })\n      }\n\n      const logsToWrite = this.logQueue.join('')\n      // Writing logs to files synchronously to ensure they're written before returning\n      fs.appendFileSync(this.logFilePath, logsToWrite)\n      this.logQueue.length = 0 // Clear the queue without GC overhead\n    } catch (error) {\n      console.error('Failed to flush logs to file:', error)\n    } finally {\n      this.flushTimer = null\n    }\n  }\n\n  private enqueueLog(formattedEntry: string): void {\n    this.logQueue.push(formattedEntry)\n\n    // Cancel existing timer and start a new one to ensure all logs are flushed together\n    if (this.flushTimer) {\n      clearTimeout(this.flushTimer)\n      this.flushTimer = null\n    }\n\n    this.scheduleFlush()\n  }\n\n  log(source: 'Server' | 'Browser', level: string, message: string): void {\n    // Don't log anything if mcpServer is disabled\n    if (!this.isEnabled()) {\n      return\n    }\n\n    const logEntry: LogEntry = {\n      timestamp: this.formatTimestamp(),\n      source,\n      level,\n      message,\n    }\n\n    const formattedEntry = this.formatLogEntry(logEntry)\n    this.enqueueLog(formattedEntry)\n  }\n\n  logServer(level: string, message: string): void {\n    this.log('Server', level, message)\n  }\n\n  logBrowser(level: string, message: string): void {\n    this.log('Browser', level, message)\n  }\n\n  // Force flush all queued logs immediately\n  forceFlush(): void {\n    if (this.flushTimer) {\n      clearTimeout(this.flushTimer)\n      this.flushTimer = null\n    }\n    this.flush()\n  }\n\n  // Cleanup method to flush logs on process exit\n  destroy(): void {\n    this.forceFlush()\n  }\n}\n\n// Singleton instance\nlet fileLogger: FileLogger | null = null\n\nexport function getFileLogger(): FileLogger {\n  if (!fileLogger || process.env.NODE_ENV === 'test') {\n    fileLogger = new FileLogger()\n  }\n  return fileLogger\n}\n\n// Only used for testing\nexport function test__resetFileLogger(): void {\n  if (fileLogger) {\n    fileLogger.destroy()\n  }\n  fileLogger = null\n}\n","import isError from '../../lib/is-error'\n\nfunction formatObject(arg: unknown, depth: number) {\n  switch (typeof arg) {\n    case 'object':\n      if (arg === null) {\n        return 'null'\n      } else if (Array.isArray(arg)) {\n        let result = '['\n        if (depth < 1) {\n          for (let i = 0; i < arg.length; i++) {\n            if (result !== '[') {\n              result += ','\n            }\n            if (Object.prototype.hasOwnProperty.call(arg, i)) {\n              result += formatObject(arg[i], depth + 1)\n            }\n          }\n        } else {\n          result += arg.length > 0 ? '...' : ''\n        }\n        result += ']'\n        return result\n      } else if (arg instanceof Error) {\n        return arg + ''\n      } else {\n        const keys = Object.keys(arg)\n        let result = '{'\n        if (depth < 1) {\n          for (let i = 0; i < keys.length; i++) {\n            const key = keys[i]\n            const desc = Object.getOwnPropertyDescriptor(arg, 'key')\n            if (desc && !desc.get && !desc.set) {\n              const jsonKey = JSON.stringify(key)\n              if (jsonKey !== '\"' + key + '\"') {\n                result += jsonKey + ': '\n              } else {\n                result += key + ': '\n              }\n              result += formatObject(desc.value, depth + 1)\n            }\n          }\n        } else {\n          result += keys.length > 0 ? '...' : ''\n        }\n        result += '}'\n        return result\n      }\n    case 'string':\n      return JSON.stringify(arg)\n    case 'number':\n    case 'bigint':\n    case 'boolean':\n    case 'symbol':\n    case 'undefined':\n    case 'function':\n    default:\n      return String(arg)\n  }\n}\n\nexport function formatConsoleArgs(args: unknown[]): string {\n  let message: string\n  let idx: number\n  if (typeof args[0] === 'string') {\n    message = args[0]\n    idx = 1\n  } else {\n    message = ''\n    idx = 0\n  }\n  let result = ''\n  let startQuote = false\n  for (let i = 0; i < message.length; ++i) {\n    const char = message[i]\n    if (char !== '%' || i === message.length - 1 || idx >= args.length) {\n      result += char\n      continue\n    }\n\n    const code = message[++i]\n    switch (code) {\n      case 'c': {\n        // TODO: We should colorize with HTML instead of turning into a string.\n        // Ignore for now.\n        result = startQuote ? `${result}]` : `[${result}`\n        startQuote = !startQuote\n        idx++\n        break\n      }\n      case 'O':\n      case 'o': {\n        result += formatObject(args[idx++], 0)\n        break\n      }\n      case 'd':\n      case 'i': {\n        result += parseInt(args[idx++] as any, 10)\n        break\n      }\n      case 'f': {\n        result += parseFloat(args[idx++] as any)\n        break\n      }\n      case 's': {\n        result += String(args[idx++])\n        break\n      }\n      default:\n        result += '%' + code\n    }\n  }\n\n  for (; idx < args.length; idx++) {\n    result += (idx > 0 ? ' ' : '') + formatObject(args[idx], 0)\n  }\n\n  return result\n}\n\nexport function parseConsoleArgs(args: unknown[]): {\n  environmentName: string | null\n  error: Error | null\n} {\n  // See\n  // https://github.com/facebook/react/blob/65a56d0e99261481c721334a3ec4561d173594cd/packages/react-devtools-shared/src/backend/flight/renderer.js#L88-L93\n  //\n  // Logs replayed from the server look like this:\n  // [\n  //   \"%c%s%c%o\\n\\n%s\\n\\n%s\\n\",\n  //   \"background: #e6e6e6; ...\",\n  //   \" Server \", // can also be e.g. \" Prerender \"\n  //   \"\",\n  //   Error,\n  //   \"The above error occurred in the <Page> component.\",\n  //   ...\n  // ]\n  if (\n    args.length > 3 &&\n    typeof args[0] === 'string' &&\n    args[0].startsWith('%c%s%c') &&\n    typeof args[1] === 'string' &&\n    typeof args[2] === 'string' &&\n    typeof args[3] === 'string'\n  ) {\n    const environmentName = args[2]\n    const maybeError = args[4]\n\n    return {\n      environmentName: environmentName.trim(),\n      error: isError(maybeError) ? maybeError : null,\n    }\n  }\n\n  return {\n    environmentName: null,\n    error: null,\n  }\n}\n","import { consoleAsyncStorage } from '../app-render/console-async-storage.external'\nimport { getFileLogger } from '../dev/browser-logs/file-logger'\nimport { formatConsoleArgs } from '../../client/lib/console'\n\ntype InterceptableConsoleMethod =\n  | 'error'\n  | 'assert'\n  | 'debug'\n  | 'dir'\n  | 'dirxml'\n  | 'group'\n  | 'groupCollapsed'\n  | 'groupEnd'\n  | 'info'\n  | 'log'\n  | 'table'\n  | 'trace'\n  | 'warn'\n\n// Based on https://github.com/facebook/react/blob/28dc0776be2e1370fe217549d32aee2519f0cf05/packages/react-server/src/ReactFlightServer.js#L248\nfunction patchConsoleMethodDEV(methodName: InterceptableConsoleMethod): void {\n  const descriptor = Object.getOwnPropertyDescriptor(console, methodName)\n  if (\n    descriptor &&\n    (descriptor.configurable || descriptor.writable) &&\n    typeof descriptor.value === 'function'\n  ) {\n    const originalMethod = descriptor.value\n    const originalName = Object.getOwnPropertyDescriptor(originalMethod, 'name')\n    const wrapperMethod = function (this: typeof console, ...args: any[]) {\n      const consoleStore = consoleAsyncStorage.getStore()\n\n      if (consoleStore?.dim === true) {\n        // In this context the log args are already dimmed. We use the console store\n        // to decide if this log is ignorable for reporting in our file logger.\n        return originalMethod.apply(this, args)\n      } else {\n        const ret = originalMethod.apply(this, args)\n\n        const fileLogger = getFileLogger()\n        const message = formatConsoleArgs(args)\n        // Strip ANSI escape codes for file logging\n        // eslint-disable-next-line no-control-regex\n        const ansiEscapeRegex = new RegExp('\\u001b\\\\[[0-9;]*m', 'g')\n        const cleanMessage = message.replace(ansiEscapeRegex, '')\n        fileLogger.logServer(methodName.toUpperCase(), cleanMessage)\n        return ret\n      }\n    }\n    if (originalName) {\n      Object.defineProperty(wrapperMethod, 'name', originalName)\n    }\n    Object.defineProperty(console, methodName, {\n      value: wrapperMethod,\n    })\n  }\n}\n\nif (process.env.NODE_ENV === 'development') {\n  patchConsoleMethodDEV('error')\n  patchConsoleMethodDEV('assert')\n  patchConsoleMethodDEV('debug')\n  patchConsoleMethodDEV('dir')\n  patchConsoleMethodDEV('dirxml')\n  patchConsoleMethodDEV('group')\n  patchConsoleMethodDEV('groupCollapsed')\n  patchConsoleMethodDEV('groupEnd')\n  patchConsoleMethodDEV('info')\n  patchConsoleMethodDEV('log')\n  patchConsoleMethodDEV('table')\n  patchConsoleMethodDEV('trace')\n  patchConsoleMethodDEV('warn')\n}\n","/**\n * Patches console methods to exit the workUnitAsyncStorage so that inside the host implementation\n * sync IO can be called. This is relevant for example with runtimes that patch console methods to\n * prepend a timestamp to the log output.\n *\n * Note that this will only exit for already installed patched console methods. If you further patch\n * the console method after this and add any sync IO there it will trigger sync IO warnings while prerendering.\n *\n * This is a pragmatic concession because layering the patches if you install your own log implementation\n * after they are installed is very tricky to do correctly because the order matters\n */\n\nimport { workUnitAsyncStorage } from '../app-render/work-unit-async-storage.external'\n\ntype ConsoleMethodName = keyof Console\n\nfunction patchConsoleMethod(methodName: ConsoleMethodName): void {\n  const descriptor = Object.getOwnPropertyDescriptor(console, methodName)\n  if (\n    descriptor &&\n    (descriptor.configurable || descriptor.writable) &&\n    typeof descriptor.value === 'function'\n  ) {\n    const originalMethod = descriptor.value\n    const originalName = Object.getOwnPropertyDescriptor(originalMethod, 'name')\n    let wrapperMethod = function (...args: any[]) {\n      return workUnitAsyncStorage.exit(() =>\n        originalMethod.apply(console, args)\n      )\n    }\n    if (originalName) {\n      Object.defineProperty(wrapperMethod, 'name', originalName)\n    }\n    Object.defineProperty(console, methodName, {\n      value: wrapperMethod,\n    })\n  }\n}\n\n// We patch the same methods that React and our dev patch do.\n// We may find other methods that could benefit from patching but if\n// they exist we ought to consider patching them in all three places\npatchConsoleMethod('error')\npatchConsoleMethod('assert')\npatchConsoleMethod('debug')\npatchConsoleMethod('dir')\npatchConsoleMethod('dirxml')\npatchConsoleMethod('group')\npatchConsoleMethod('groupCollapsed')\npatchConsoleMethod('groupEnd')\npatchConsoleMethod('info')\npatchConsoleMethod('log')\npatchConsoleMethod('table')\npatchConsoleMethod('trace')\npatchConsoleMethod('warn')\n","import {\n  RenderStage,\n  type AdvanceableRenderStage,\n} from './app-render/staged-rendering'\nimport type {\n  RequestStore,\n  WorkUnitStore,\n} from './app-render/work-unit-async-storage.external'\nimport { workUnitAsyncStorage } from './app-render/work-unit-async-storage.external'\nimport { getServerReact, getClientReact } from './runtime-reacts.external'\n\nexport function isHangingPromiseRejectionError(\n  err: unknown\n): err is HangingPromiseRejectionError {\n  if (typeof err !== 'object' || err === null || !('digest' in err)) {\n    return false\n  }\n\n  return err.digest === HANGING_PROMISE_REJECTION\n}\n\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION'\n\nclass HangingPromiseRejectionError extends Error {\n  public readonly digest = HANGING_PROMISE_REJECTION\n\n  constructor(\n    public readonly route: string,\n    public readonly expression: string\n  ) {\n    super(\n      `During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`\n    )\n  }\n}\n\nconst CLIENT_HOOK_DYNAMIC = 'CLIENT_HOOK_DYNAMIC'\n\nexport class ClientHookDynamicError extends Error {\n  public readonly digest = CLIENT_HOOK_DYNAMIC\n\n  constructor(route: string, expression: string) {\n    super(\n      `Route \"${route}\": Next.js encountered URL data \\`${expression}\\` in a Client Component outside of \\`<Suspense>\\`.\\n\\n` +\n        `This blocks prerendering because the value is only available at runtime.\\n\\n` +\n        `Ways to fix this:\\n` +\n        `  - [stream] Wrap the component in \\`<Suspense fallback={...}>\\` so the hook value streams in after prerendering\\n` +\n        `  - [block] Set \\`export const instant = false\\` to allow a blocking route\\n\\n` +\n        `Learn more: https://nextjs.org/docs/messages/blocking-prerender-client-hook`\n    )\n  }\n}\n\nexport function isClientHookDynamicError(\n  err: unknown\n): err is ClientHookDynamicError {\n  if (typeof err !== 'object' || err === null || !('digest' in err)) {\n    return false\n  }\n\n  return err.digest === CLIENT_HOOK_DYNAMIC\n}\n\ntype AbortListeners = Array<() => void>\nconst abortListenersBySignal = new WeakMap<AbortSignal, AbortListeners>()\n\n/**\n * Constructs a promise that never resolves, standing in for *dynamic* data:\n * data that is only available during a real dynamic request and hangs in\n * every kind of prerender — `io()`, `connection()`, uncached `fetch()`.\n *\n * This is primarily useful for cacheComponents where we use promise\n * resolution timing to determine which parts of a render can be included in a\n * prerender.\n *\n * Records nothing on the prerender store: the promise's holes are only ever\n * filled by a real dynamic request, so a runtime prefetch response would have\n * the same holes as the static one. If the data source would resolve during a\n * runtime prerender, use `makeRuntimeHangingPromise` instead.\n *\n * @internal\n */\nexport function makeDynamicHangingPromise<T>(\n  signal: AbortSignal,\n  route: string,\n  expression: string\n): Promise<T> {\n  return makeHangingPromiseWithError(\n    signal,\n    new HangingPromiseRejectionError(route, expression)\n  )\n}\n\nexport function makeUntrackedHangingPromise<T>(\n  signal: AbortSignal,\n  route: string,\n  expression: string\n): Promise<T> {\n  return makeHangingPromiseWithError(\n    signal,\n    new HangingPromiseRejectionError(route, expression)\n  )\n}\n\n/**\n * Constructs a promise that never resolves, standing in for *runtime* data:\n * data that hangs during a static prerender but is available during a runtime\n * prerender (the kind that backs a runtime prefetch request: request data\n * like cookies and headers is available, but the render is still not a real\n * dynamic request). Examples: cookies, headers, fallback params,\n * searchParams, and cache entries that are excluded only from static\n * prerenders.\n *\n * Creating one of these during a static prerender records on the prerender\n * store that a runtime prefetch would produce more content than the static\n * response (`runtimeDataAccessed`), which the segment prefetch encoding uses\n * to tell the client whether a runtime prefetch request could be skipped.\n *\n * When unsure whether data is dynamic or runtime, prefer this method — the\n * cost of over-recording is a redundant runtime prefetch request; the cost of\n * under-recording is a permanently missing one.\n *\n * `workUnitStore` may be null ONLY when the caller tracks the access itself\n * at observation time instead of creation time. This is for promises the\n * framework creates eagerly whether or not anything reads them (e.g. the\n * `searchParams` prop constructed for every page): recording at creation\n * would mark every render. Such a caller MUST call `trackRuntimeDataAccessed`\n * from every path that observes the promise (e.g. the proxy traps for\n * `then`/`status`), against the work unit store active at access time.\n *\n * For fallback-param data — data a concrete (ISR-upgraded) prerender would\n * resolve — use `makeFallbackParamsHangingPromise` instead, so the access\n * is recorded with the right effect on the static-prefetch hint.\n *\n * @internal\n */\nexport function makeRuntimeHangingPromise<T>(\n  signal: AbortSignal,\n  route: string,\n  expression: string,\n  workUnitStore: WorkUnitStore | null\n): Promise<T> {\n  if (workUnitStore !== null) {\n    trackRuntimeDataAccessed(workUnitStore)\n  }\n  return makeHangingPromiseWithError(\n    signal,\n    new HangingPromiseRejectionError(route, expression)\n  )\n}\n\n/**\n * Variant of `makeRuntimeHangingPromise` for *fallback-param* data: fallback\n * route params and values derived solely from them (`params`, `rootParams`,\n * `pathname` during a fallback prerender). Like every runtime data access it\n * records the access on the prerender store's response-level flag, but its\n * effect on the build-time static-prefetch hint differs — on a\n * fallback-upgradeable route the access is transient (a concrete prerender\n * resolves it), so it leaves the hint intact. See\n * `trackFallbackParamsAccessed`.\n *\n * As with `makeRuntimeHangingPromise`, `workUnitStore` may be null ONLY when\n * the caller tracks the access itself at observation time instead of creation\n * time, by calling `trackFallbackParamsAccessed` from every path that\n * observes the promise.\n *\n * @internal\n */\nexport function makeFallbackParamsHangingPromise<T>(\n  signal: AbortSignal,\n  route: string,\n  expression: string,\n  workUnitStore: WorkUnitStore | null\n): Promise<T> {\n  if (workUnitStore !== null) {\n    trackFallbackParamsAccessed(workUnitStore)\n  }\n  return makeHangingPromiseWithError(\n    signal,\n    new HangingPromiseRejectionError(route, expression)\n  )\n}\n\n/**\n * Constructs a promise that never resolves, standing in for data that is only\n * accessible in a later *stage* of rendering than this render reaches — e.g.\n * a prefetchable short-stale cache entry that's excluded from shells when the\n * render ends at the shell stage, or params during a runtime-prefetch render\n * that stops before the stage where params resolve.\n *\n * A render that runs through the later stage would include the data; in\n * particular a runtime prefetch renders through its later stages, so on a\n * static prerender store this records `runtimeDataAccessed`, same as\n * `makeRuntimeHangingPromise`.\n *\n * @internal\n */\nexport function makeStageHangingPromise<T>(\n  signal: AbortSignal,\n  route: string,\n  expression: string,\n  workUnitStore: WorkUnitStore\n): Promise<T> {\n  trackRuntimeDataAccessed(workUnitStore)\n  return makeHangingPromiseWithError(\n    signal,\n    new HangingPromiseRejectionError(route, expression)\n  )\n}\n\n/**\n * Records on a static prerender store that the render accessed a data source\n * which would have resolved during a runtime prerender. No-op for all other\n * store types.\n *\n * `makeRuntimeHangingPromise` and `makeStageHangingPromise` call this\n * automatically; call it directly only where the access is observed\n * separately from the promise's creation (see the null `workUnitStore` case\n * of `makeRuntimeHangingPromise`), or where the prerender is aborted\n * synchronously instead of hanging.\n *\n * For fallback-param data, use `trackFallbackParamsAccessed` instead. When\n * unsure, this is the conservative choice: it unconditionally clears the\n * static-prefetch hint.\n */\nexport function trackRuntimeDataAccessed(workUnitStore: WorkUnitStore): void {\n  trackRuntimeDataAccessedImpl(workUnitStore, false)\n}\n\n/**\n * Fallback-param variant of `trackRuntimeDataAccessed`, for accesses of\n * fallback route params and values derived solely from them. It records the\n * response-level flag all the same, but only clears the build-time\n * static-prefetch hint when the route is not fallback-upgradeable — on an\n * upgradeable route the access is transient, since ISR later produces a\n * concrete prerender that resolves it.\n */\nexport function trackFallbackParamsAccessed(\n  workUnitStore: WorkUnitStore\n): void {\n  trackRuntimeDataAccessedImpl(workUnitStore, true)\n}\n\nfunction trackRuntimeDataAccessedImpl(\n  workUnitStore: WorkUnitStore,\n  isFallbackParamAccess: boolean\n): void {\n  switch (workUnitStore.type) {\n    case 'prerender': {\n      // Response-level flag (the payload's `u`, forwarded to segment\n      // responses as `needsRuntimeRequest`): resolved for every kind of\n      // access — a pre-upgrade fallback response must keep reporting that\n      // a runtime request would return more. The fulfillment row lands at\n      // the current position in the Flight stream, which is what makes the\n      // value rewindable per stage. Promise resolution is idempotent, so\n      // repeated accesses are free.\n      workUnitStore.runtimeDataAccessed?.resolve(true)\n\n      // Hint cell (holds the build-constant\n      // PrefetchHint.ShouldAttemptStaticPrefetch value directly): a\n      // fallback-param access is transient when the route is\n      // fallback-upgradeable — ISR later produces the concrete prerender a\n      // static prefetch attempt would hit — so it leaves the hint intact.\n      // (Until that upgrade, the response-level flag above keeps directing\n      // the client to a runtime fallback; the hint only costs a wasted\n      // static attempt in the interim.) Every other access clears it.\n      const hintCell = workUnitStore.shouldAttemptStaticPrefetch\n      if (\n        hintCell !== null &&\n        (!isFallbackParamAccess || !workUnitStore.isFallbackUpgradeable)\n      ) {\n        hintCell.current = false\n      }\n      break\n    }\n    case 'prerender-client':\n    case 'prerender-ppr':\n    case 'prerender-legacy':\n    case 'prerender-runtime':\n    case 'validation-client':\n    case 'request':\n    case 'cache':\n    case 'private-cache':\n    case 'unstable-cache':\n    case 'generate-static-params':\n      // Only the modern server prerender tracks this; see the field docs on\n      // PrerenderStoreModernServer.\n      break\n    default:\n      workUnitStore satisfies never\n  }\n}\n\nexport function makeClientHookHangingPromise<T>(\n  signal: AbortSignal,\n  error: ClientHookDynamicError\n): Promise<T> {\n  return makeHangingPromiseWithError(signal, error)\n}\n\nfunction makeHangingPromiseWithError<T>(\n  signal: AbortSignal,\n  error: Error\n): Promise<T> {\n  if (signal.aborted) {\n    return Promise.reject(error)\n  } else {\n    const hangingPromise = new Promise<T>((_, reject) => {\n      const boundRejection = reject.bind(null, error)\n      let currentListeners = abortListenersBySignal.get(signal)\n      if (currentListeners) {\n        currentListeners.push(boundRejection)\n      } else {\n        const listeners = [boundRejection]\n        abortListenersBySignal.set(signal, listeners)\n        signal.addEventListener(\n          'abort',\n          () => {\n            for (let i = 0; i < listeners.length; i++) {\n              listeners[i]()\n            }\n          },\n          { once: true }\n        )\n      }\n    })\n    // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n    // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n    // your own promise out of it you'll need to ensure you handle the error when it rejects.\n    hangingPromise.catch(ignoreReject)\n    return hangingPromise\n  }\n}\n\nfunction ignoreReject() {}\n\n/**\n * Creates a promise that will be triggered when another promise resolves.\n * It will not emit unhandled rejections, which is important if the trigger\n * is a promise that might itself get rejected (e.g. when a prerender/render\n * are aborted due to sync IO)\n */\nexport function makePromiseFromTrigger<T>(\n  trigger: Promise<any>,\n  value: T\n): Promise<T> {\n  const promise = trigger.then(() => value)\n  promise.catch(ignoreReject)\n  return promise\n}\n\nexport function makeDevtoolsIOAwarePromise<T>(\n  underlying: T,\n  requestStore: RequestStore,\n  stage: AdvanceableRenderStage\n): Promise<T> {\n  if (requestStore.stagedRendering) {\n    // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n    return requestStore.stagedRendering.delayUntilStage(\n      stage,\n      undefined,\n      underlying\n    )\n  }\n  // in React DevTools if we resolve in a setTimeout we will observe\n  // the promise resolution as something that can suspend a boundary or root.\n  return new Promise<T>((resolve) => {\n    // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n    setTimeout(() => {\n      resolve(underlying)\n    }, 0)\n  })\n}\n\nexport const RENDER_STAGES_BY_DATA_KIND = {\n  sessionData: RenderStage.ShellRuntime as const,\n  staticLinkData: RenderStage.Static as const,\n  runtimeLinkData: RenderStage.Runtime as const,\n}\n\nexport function applyOwnerStack(error: Error): Error {\n  if (process.env.NODE_ENV !== 'production') {\n    let ownerStack: string | undefined | null\n    const workUnitStore = workUnitAsyncStorage.getStore()\n\n    // captureOwnerStack() returns the owner stack for the current React\n    // rendering context. Inside a cache scope this only includes the inner\n    // component tree. The outer owner stack (captured before entering the\n    // cache boundary in use-cache-wrapper.ts) is stored on the cache store.\n    // We concatenate both to get the full component tree.\n    const innerOwnerStack =\n      getClientReact()?.captureOwnerStack?.() ??\n      getServerReact()?.captureOwnerStack?.()\n\n    switch (workUnitStore?.type) {\n      case 'cache':\n      case 'private-cache':\n        ownerStack =\n          (innerOwnerStack || '') + (workUnitStore.outerOwnerStack || '') ||\n          undefined\n        break\n      case 'unstable-cache':\n      case 'request':\n      case 'prerender':\n      case 'prerender-ppr':\n      case 'prerender-legacy':\n      case 'prerender-runtime':\n      case 'prerender-client':\n      case 'validation-client':\n      case 'generate-static-params':\n      case undefined:\n        ownerStack = innerOwnerStack\n        break\n      default:\n        workUnitStore satisfies never\n    }\n\n    if (ownerStack) {\n      let stack = ownerStack\n\n      if (error.stack) {\n        const frames: string[] = []\n\n        for (const frame of error.stack.split('\\n').slice(1)) {\n          if (frame.includes('react_stack_bottom_frame')) {\n            break\n          }\n\n          frames.push(frame)\n        }\n\n        stack = '\\n' + frames.join('\\n') + stack\n      }\n\n      error.stack = error.name + ': ' + error.message + stack\n    }\n  }\n\n  return error\n}\n","/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */\n\nimport type { WorkStore } from '../app-render/work-async-storage.external'\nimport type {\n  WorkUnitStore,\n  PrerenderStoreLegacy,\n  PrerenderStoreModern,\n  ValidationStoreClient,\n  PrerenderStoreModernServer,\n} from '../app-render/work-unit-async-storage.external'\n\n// Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react'\n\nimport { DynamicServerError } from '../../client/components/hooks-server-context'\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout'\nimport {\n  getStagedRenderingController,\n  throwForMissingRequestStore,\n  workUnitAsyncStorage,\n} from './work-unit-async-storage.external'\nimport { workAsyncStorage } from '../app-render/work-async-storage.external'\nimport {\n  ClientHookDynamicError,\n  isClientHookDynamicError,\n  makeClientHookHangingPromise,\n  trackRuntimeDataAccessed,\n} from '../dynamic-rendering-utils'\nimport {\n  METADATA_BOUNDARY_NAME,\n  VIEWPORT_BOUNDARY_NAME,\n  OUTLET_BOUNDARY_NAME,\n  ROOT_LAYOUT_BOUNDARY_NAME,\n} from '../../lib/framework/boundary-constants'\nimport { scheduleOnNextTick } from '../../lib/scheduler'\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport {\n  createRuntimeBodyError,\n  createDynamicBodyError,\n  createRuntimeBodyErrorInNavigation,\n  createDynamicBodyErrorInNavigation,\n  createDynamicOrRuntimeBodyError,\n  createRuntimeMetadataError,\n  createDynamicMetadataError,\n  createRuntimeViewportError,\n  createDynamicViewportError,\n  createDynamicOrRuntimeViewportError,\n  createDynamicOrRuntimeMetadataError,\n  logBuildDebugHint,\n  createLinkBodyErrorInNavigation,\n  createLinkMetadataError,\n  createLinkViewportError,\n} from './blocking-route-messages'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport {\n  INSTANT_VALIDATION_BOUNDARY_NAME,\n  INSTANT_SLOT_MARKER_PREFIX,\n  INSTANT_SLOT_MARKER_SUFFIX,\n} from './instant-validation/boundary-constants'\nimport {\n  type ValidationBoundaryTracking,\n  allRequiredBoundariesRendered,\n} from './instant-validation/boundary-tracking'\nimport type { InstantValidationSampleTracking } from './instant-validation/instant-samples'\nimport { createUnrenderedSegmentError } from '../../shared/lib/instant-messages'\n\nconst hasPostpone = typeof React.unstable_postpone === 'function'\n\nexport type DynamicAccess = {\n  /**\n   * If debugging, this will contain the stack trace of where the dynamic access\n   * occurred. This is used to provide more information to the user about why\n   * their page is being rendered dynamically.\n   */\n  stack?: string\n\n  /**\n   * The expression that was accessed dynamically.\n   */\n  expression: string\n}\n\n// Stores dynamic reasons used during an RSC render.\nexport type DynamicTrackingState = {\n  /**\n   * When true, stack information will also be tracked during dynamic access.\n   */\n  readonly isDebugDynamicAccesses: boolean | undefined\n\n  /**\n   * The dynamic accesses that occurred during the render.\n   */\n  readonly dynamicAccesses: Array<DynamicAccess>\n\n  syncDynamicErrorWithStack: null | Error\n  syncDynamicErrorWithStackPostMicrotask: boolean\n}\n\n// Stores dynamic reasons used during an SSR render.\nexport type DynamicValidationState = {\n  hasSuspenseAboveBody: boolean\n  hasDynamicMetadata: boolean\n  dynamicMetadata: null | Error\n  hasDynamicViewport: boolean\n  hasAllowedDynamic: boolean\n  dynamicErrors: Array<Error>\n}\n\nexport function createDynamicTrackingState(\n  isDebugDynamicAccesses: boolean | undefined\n): DynamicTrackingState {\n  return {\n    isDebugDynamicAccesses,\n    dynamicAccesses: [],\n    syncDynamicErrorWithStack: null,\n    syncDynamicErrorWithStackPostMicrotask: false,\n  }\n}\n\nexport function createDynamicValidationState(): DynamicValidationState {\n  return {\n    hasSuspenseAboveBody: false,\n    hasDynamicMetadata: false,\n    dynamicMetadata: null,\n    hasDynamicViewport: false,\n    hasAllowedDynamic: false,\n    dynamicErrors: [],\n  }\n}\n\nfunction getPendingClientSyncDynamicError(\n  clientDynamic: DynamicTrackingState\n): null | Error {\n  return clientDynamic.syncDynamicErrorWithStackPostMicrotask\n    ? null\n    : clientDynamic.syncDynamicErrorWithStack\n}\n\nexport function getFirstDynamicReason(\n  trackingState: DynamicTrackingState\n): undefined | string {\n  return trackingState.dynamicAccesses[0]?.expression\n}\n\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */\nexport function markCurrentScopeAsDynamic(\n  store: WorkStore,\n  workUnitStore: undefined | Exclude<WorkUnitStore, PrerenderStoreModern>,\n  expression: string\n): void {\n  if (workUnitStore) {\n    switch (workUnitStore.type) {\n      case 'cache':\n      case 'unstable-cache':\n        // Inside cache scopes, marking a scope as dynamic has no effect,\n        // because the outer cache scope creates a cache boundary. This is\n        // subtly different from reading a dynamic data source, which is\n        // forbidden inside a cache scope.\n        return\n      case 'private-cache':\n        // A private cache scope is already dynamic by definition.\n        return\n      case 'prerender-legacy':\n      case 'prerender-ppr':\n      case 'request':\n      case 'generate-static-params':\n        break\n      default:\n        workUnitStore satisfies never\n    }\n  }\n\n  // If we're forcing dynamic rendering or we're forcing static rendering, we\n  // don't need to do anything here because the entire page is already dynamic\n  // or it's static and it should not throw or postpone here.\n  if (store.forceDynamic || store.forceStatic) return\n\n  if (store.dynamicShouldError) {\n    throw new StaticGenBailoutError(\n      `Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`\n    )\n  }\n\n  if (workUnitStore) {\n    switch (workUnitStore.type) {\n      case 'prerender-ppr':\n        return postponeWithTracking(\n          store.route,\n          expression,\n          workUnitStore.dynamicTracking\n        )\n      case 'prerender-legacy':\n        workUnitStore.revalidate = 0\n\n        // We aren't prerendering, but we are generating a static page. We need\n        // to bail out of static generation.\n        const err = new DynamicServerError(\n          `Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n        )\n        store.dynamicUsageDescription = expression\n        store.dynamicUsageStack = err.stack\n\n        throw err\n      case 'request':\n        if (process.env.NODE_ENV !== 'production') {\n          workUnitStore.usedDynamic = true\n        }\n        break\n      case 'generate-static-params':\n        break\n      default:\n        workUnitStore satisfies never\n    }\n  }\n}\n\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */\nexport function throwToInterruptStaticGeneration(\n  expression: string,\n  store: WorkStore,\n  prerenderStore: PrerenderStoreLegacy\n): never {\n  // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n  const err = new DynamicServerError(\n    `Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n  )\n\n  prerenderStore.revalidate = 0\n\n  store.dynamicUsageDescription = expression\n  store.dynamicUsageStack = err.stack\n\n  throw err\n}\n\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */\nexport function trackDynamicDataInDynamicRender(workUnitStore: WorkUnitStore) {\n  switch (workUnitStore.type) {\n    case 'cache':\n    case 'unstable-cache':\n      // Inside cache scopes, marking a scope as dynamic has no effect,\n      // because the outer cache scope creates a cache boundary. This is\n      // subtly different from reading a dynamic data source, which is\n      // forbidden inside a cache scope.\n      return\n    case 'private-cache':\n      // A private cache scope is already dynamic by definition.\n      return\n    case 'prerender':\n    case 'prerender-runtime':\n    case 'prerender-legacy':\n    case 'prerender-ppr':\n    case 'prerender-client':\n    case 'validation-client':\n    case 'generate-static-params':\n      break\n    case 'request':\n      if (process.env.NODE_ENV !== 'production') {\n        workUnitStore.usedDynamic = true\n      }\n      break\n    default:\n      workUnitStore satisfies never\n  }\n}\n\nfunction abortOnSynchronousDynamicDataAccess(\n  route: string,\n  expression: string,\n  prerenderStore: PrerenderStoreModern\n): void {\n  const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n\n  const error = createPrerenderInterruptedError(reason)\n\n  prerenderStore.controller.abort(error)\n\n  const dynamicTracking = prerenderStore.dynamicTracking\n  if (dynamicTracking) {\n    dynamicTracking.dynamicAccesses.push({\n      // When we aren't debugging, we don't need to create another error for the\n      // stack trace.\n      stack: dynamicTracking.isDebugDynamicAccesses\n        ? new Error().stack\n        : undefined,\n      expression,\n    })\n  }\n}\n\nexport function abortOnSynchronousPlatformIOAccess(\n  route: string,\n  expression: string,\n  errorWithStack: Error,\n  prerenderStore: PrerenderStoreModern\n): void {\n  const dynamicTracking = prerenderStore.dynamicTracking\n\n  if (dynamicTracking && dynamicTracking.syncDynamicErrorWithStack === null) {\n    dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n    // React completes the task that is currently rendering before scheduled\n    // abort cleanup. Client tracking can attribute the sync IO only during\n    // that current task; server tracking keeps the error regardless.\n    queueMicrotask(() => {\n      dynamicTracking.syncDynamicErrorWithStackPostMicrotask = true\n    })\n  }\n\n  abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n}\n\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */\nexport function abortAndThrowOnSynchronousRequestDataAccess(\n  route: string,\n  expression: string,\n  errorWithStack: Error,\n  prerenderStore: PrerenderStoreModern\n): never {\n  // The synchronously accessed request data would have been available during\n  // a runtime prerender, which would have rendered past this point instead of\n  // aborting — so a runtime prefetch would produce more content than this\n  // render. Record that, same as when request data access creates a hanging\n  // promise (see makeRuntimeHangingPromise). Unlike\n  // `abortOnSynchronousPlatformIOAccess`, which aborts a runtime prerender\n  // all the same and therefore must not record anything.\n  trackRuntimeDataAccessed(prerenderStore)\n\n  const prerenderSignal = prerenderStore.controller.signal\n  if (prerenderSignal.aborted === false) {\n    // TODO it would be better to move this aborted check into the callsite so we can avoid making\n    // the error object when it isn't relevant to the aborting of the prerender however\n    // since we need the throw semantics regardless of whether we abort it is easier to land\n    // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n    // to ideal implementation\n    abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n    // Preserve the exact server-side dynamic access for final validation after\n    // interrupting this render.\n    const dynamicTracking = prerenderStore.dynamicTracking\n    if (dynamicTracking) {\n      if (dynamicTracking.syncDynamicErrorWithStack === null) {\n        dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n      }\n    }\n  }\n  throw createPrerenderInterruptedError(\n    `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n  )\n}\n\n/**\n * This component will call `React.postpone` that throws the postponed error.\n */\ntype PostponeProps = {\n  reason: string\n  route: string\n}\nexport function Postpone({ reason, route }: PostponeProps): never {\n  const prerenderStore = workUnitAsyncStorage.getStore()\n  const dynamicTracking =\n    prerenderStore && prerenderStore.type === 'prerender-ppr'\n      ? prerenderStore.dynamicTracking\n      : null\n  postponeWithTracking(route, reason, dynamicTracking)\n}\n\nexport function postponeWithTracking(\n  route: string,\n  expression: string,\n  dynamicTracking: null | DynamicTrackingState\n): never {\n  assertPostpone()\n  if (dynamicTracking) {\n    dynamicTracking.dynamicAccesses.push({\n      // When we aren't debugging, we don't need to create another error for the\n      // stack trace.\n      stack: dynamicTracking.isDebugDynamicAccesses\n        ? new Error().stack\n        : undefined,\n      expression,\n    })\n  }\n\n  React.unstable_postpone(createPostponeReason(route, expression))\n}\n\nfunction createPostponeReason(route: string, expression: string) {\n  return (\n    `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` +\n    `React throws this special object to indicate where. It should not be caught by ` +\n    `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`\n  )\n}\n\nexport function isDynamicPostpone(err: unknown) {\n  if (\n    typeof err === 'object' &&\n    err !== null &&\n    typeof (err as any).message === 'string'\n  ) {\n    return isDynamicPostponeReason((err as any).message)\n  }\n  return false\n}\n\nfunction isDynamicPostponeReason(reason: string) {\n  return (\n    reason.includes(\n      'needs to bail out of prerendering at this point because it used'\n    ) &&\n    reason.includes(\n      'Learn more: https://nextjs.org/docs/messages/ppr-caught-error'\n    )\n  )\n}\n\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n  throw new Error(\n    'Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'\n  )\n}\n\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED'\n\nfunction createPrerenderInterruptedError(message: string): Error {\n  const error = new Error(message)\n  ;(error as any).digest = NEXT_PRERENDER_INTERRUPTED\n  return error\n}\n\ntype DigestError = Error & {\n  digest: string\n}\n\nexport function isPrerenderInterruptedError(\n  error: unknown\n): error is DigestError {\n  return (\n    typeof error === 'object' &&\n    error !== null &&\n    (error as any).digest === NEXT_PRERENDER_INTERRUPTED &&\n    'name' in error &&\n    'message' in error &&\n    error instanceof Error\n  )\n}\n\nexport function accessedDynamicData(\n  dynamicAccesses: Array<DynamicAccess>\n): boolean {\n  return dynamicAccesses.length > 0\n}\n\nexport function consumeDynamicAccess(\n  serverDynamic: DynamicTrackingState,\n  clientDynamic: DynamicTrackingState\n): DynamicTrackingState['dynamicAccesses'] {\n  // We mutate because we only call this once we are no longer writing\n  // to the dynamicTrackingState and it's more efficient than creating a new\n  // array.\n  serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses)\n  return serverDynamic.dynamicAccesses\n}\n\nexport function formatDynamicAPIAccesses(\n  dynamicAccesses: Array<DynamicAccess>\n): string[] {\n  return dynamicAccesses\n    .filter(\n      (access): access is Required<DynamicAccess> =>\n        typeof access.stack === 'string' && access.stack.length > 0\n    )\n    .map(({ expression, stack }) => {\n      stack = stack\n        .split('\\n')\n        // Remove the \"Error: \" prefix from the first line of the stack trace as\n        // well as the first 4 lines of the stack trace which is the distance\n        // from the user code and the `new Error().stack` call.\n        .slice(4)\n        .filter((line) => {\n          // Exclude Next.js internals from the stack trace.\n          if (line.includes('node_modules/next/')) {\n            return false\n          }\n\n          // Exclude anonymous functions from the stack trace.\n          if (line.includes(' (<anonymous>)')) {\n            return false\n          }\n\n          // Exclude Node.js internals from the stack trace.\n          if (line.includes(' (node:')) {\n            return false\n          }\n\n          return true\n        })\n        .join('\\n')\n      return `Dynamic API Usage Debug - ${expression}:\\n${stack}`\n    })\n}\n\nfunction assertPostpone() {\n  if (!hasPostpone) {\n    throw new Error(\n      `Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`\n    )\n  }\n}\n\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */\nexport function createRenderInBrowserAbortSignal(): AbortSignal {\n  const controller = new AbortController()\n  controller.abort(new BailoutToCSRError('Render in Browser'))\n  return controller.signal\n}\n\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */\nexport function createHangingInputAbortSignal(\n  workUnitStore: PrerenderStoreModernServer\n): AbortSignal\nexport function createHangingInputAbortSignal(\n  workUnitStore: WorkUnitStore\n): AbortSignal | undefined\nexport function createHangingInputAbortSignal(\n  workUnitStore: WorkUnitStore\n): AbortSignal | undefined {\n  switch (workUnitStore.type) {\n    case 'prerender':\n    case 'prerender-runtime':\n      const controller = new AbortController()\n\n      if (workUnitStore.cacheSignal) {\n        // If we have a cacheSignal it means we're in a prospective render. If\n        // the input we're waiting on is coming from another cache, we do want\n        // to wait for it so that we can resolve this cache entry too.\n        workUnitStore.cacheSignal.inputReady().then(() => {\n          controller.abort()\n        })\n      } else {\n        // Otherwise we're in the final render and we should already have all\n        // our caches filled.\n        // If the prerender uses stages, we have wait until the final stage.\n        // if an input didn't resolve at that point, then we can assume it never will.\n        //\n        // We might still be waiting on some microtasks so we\n        // wait one tick before giving up. When we give up, we still want to\n        // render the content of this cache as deeply as we can so that we can\n        // suspend as deeply as possible in the tree or not at all if we don't\n        // end up waiting for the input.\n\n        const stagedRendering = getStagedRenderingController(workUnitStore)\n        if (stagedRendering && stagedRendering.finalStage !== null) {\n          stagedRendering\n            .waitForStage(stagedRendering.finalStage)\n            .then(() => scheduleOnNextTick(() => controller.abort()), noop)\n        } else {\n          scheduleOnNextTick(() => controller.abort())\n        }\n      }\n\n      return controller.signal\n    case 'prerender-client':\n    case 'validation-client':\n    case 'prerender-ppr':\n    case 'prerender-legacy':\n    case 'request':\n    case 'cache':\n    case 'private-cache':\n    case 'unstable-cache':\n    case 'generate-static-params':\n      return undefined\n    default:\n      workUnitStore satisfies never\n  }\n}\n\nfunction noop() {}\n\nexport function annotateDynamicAccess(\n  expression: string,\n  prerenderStore: PrerenderStoreModern | ValidationStoreClient\n) {\n  const dynamicTracking = prerenderStore.dynamicTracking\n  if (dynamicTracking) {\n    dynamicTracking.dynamicAccesses.push({\n      stack: dynamicTracking.isDebugDynamicAccesses\n        ? new Error().stack\n        : undefined,\n      expression,\n    })\n  }\n}\n\nexport function useDynamicRouteParams(expression: string) {\n  const workStore = workAsyncStorage.getStore()\n  const workUnitStore = workUnitAsyncStorage.getStore()\n  if (workStore && workUnitStore) {\n    switch (workUnitStore.type) {\n      case 'prerender-client': {\n        const fallbackParams = workUnitStore.fallbackRouteParams\n\n        if (fallbackParams && fallbackParams.size > 0) {\n          // We are in a prerender with cacheComponents semantics. We are going to\n          // hang here and never resolve. This will cause the currently\n          // rendering component to effectively be a dynamic hole.\n          React.use(\n            makeClientHookHangingPromise(\n              workUnitStore.renderSignal,\n              new ClientHookDynamicError(workStore.route, expression)\n            )\n          )\n        }\n        break\n      }\n      case 'prerender':\n        throw new InvariantError(\n          `\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n        )\n      case 'prerender-ppr': {\n        const fallbackParams = workUnitStore.fallbackRouteParams\n        if (fallbackParams && fallbackParams.size > 0) {\n          return postponeWithTracking(\n            workStore.route,\n            expression,\n            workUnitStore.dynamicTracking\n          )\n        }\n        break\n      }\n      case 'validation-client': {\n        // Don't check fallbackRouteParams here. We handle params that weren't\n        // provided in the samples using a proxy that throws when accessed.\n        break\n      }\n      case 'prerender-runtime':\n        throw new InvariantError(\n          `\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n        )\n      case 'cache':\n      case 'private-cache':\n        throw new InvariantError(\n          `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n        )\n      case 'generate-static-params':\n        throw new InvariantError(\n          `\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`\n        )\n      case 'prerender-legacy':\n      case 'request':\n      case 'unstable-cache':\n        break\n      default:\n        workUnitStore satisfies never\n    }\n  }\n}\n\nexport function useDynamicSearchParams(expression: string) {\n  const workStore = workAsyncStorage.getStore()\n  const workUnitStore = workUnitAsyncStorage.getStore()\n\n  if (!workStore) {\n    // We assume pages router context and just return\n    return\n  }\n\n  if (!workUnitStore) {\n    throwForMissingRequestStore(expression)\n  }\n\n  switch (workUnitStore.type) {\n    case 'validation-client':\n      // During instant validation we try to behave as close to client as possible,\n      // so this shouldn't hang during SSR.\n      return\n    case 'prerender-client': {\n      React.use(\n        makeClientHookHangingPromise(\n          workUnitStore.renderSignal,\n          new ClientHookDynamicError(workStore.route, expression)\n        )\n      )\n      break\n    }\n    case 'prerender-legacy':\n    case 'prerender-ppr': {\n      if (workStore.forceStatic) {\n        return\n      }\n      throw new BailoutToCSRError(expression)\n    }\n    case 'prerender':\n    case 'prerender-runtime':\n      throw new InvariantError(\n        `\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n      )\n    case 'cache':\n    case 'unstable-cache':\n    case 'private-cache':\n      throw new InvariantError(\n        `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n      )\n    case 'generate-static-params':\n      throw new InvariantError(\n        `\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`\n      )\n    case 'request':\n      return\n    default:\n      workUnitStore satisfies never\n  }\n}\n\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(<anonymous>\\)/\n\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags =\n  'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6'\n\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n//   at Suspense (<anonymous>)\n//   at __next_root_layout_boundary__ (<anonymous>)\n//\n// Or with other components in between (but not body/html/implicit-body):\n//   at Suspense (<anonymous>)\n//   at SomeComponent (<anonymous>)\n//   at __next_root_layout_boundary__ (<anonymous>)\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(\n  `\\\\n\\\\s+at Suspense \\\\(<anonymous>\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(<anonymous>\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`\n)\n\nconst hasMetadataRegex = new RegExp(\n  `\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasViewportRegex = new RegExp(\n  `\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`)\n\nconst hasInstantValidationBoundaryRegex = new RegExp(\n  `\\\\n\\\\s+at ${INSTANT_VALIDATION_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst slotMarkerRegex = new RegExp(\n  `\\\\n\\\\s+at ${INSTANT_SLOT_MARKER_PREFIX}(\\\\d+)${INSTANT_SLOT_MARKER_SUFFIX}[\\\\n\\\\s]`\n)\n\n/** Look up the config factory for the slot this error belongs to.\n * Checks the component stack for a slot marker (__next_instant_slot_N__)\n * and returns the config at that index. Falls back to index 0 (root\n * config) when no slot marker is found or the slot has no config. */\nfunction resolveInstantStack(\n  componentStack: string,\n  dynamicValidation: InstantValidationState\n): (() => Error) | null {\n  const { slotStacks } = dynamicValidation\n  if (slotStacks.length > 1) {\n    const match = slotMarkerRegex.exec(componentStack)\n    if (match) {\n      // Slot markers are 0-indexed in the component name but\n      // slotStacks is 1-indexed (index 0 is the root config).\n      const slotIndex = parseInt(match[1], 10) + 1\n      const slotStack = slotStacks[slotIndex]\n      if (slotStack != null) {\n        return slotStack\n      }\n    }\n  }\n  // Fall back to root config (index 0)\n  return slotStacks[0] ?? null\n}\n\n/**\n * Inspects the component stack of an outlet boundary to discover whether the\n * user placed a Suspense boundary above the document body, and records the\n * opt-in on `dynamicValidation.hasSuspenseAboveBody` if so.\n *\n * The outlet itself isn't a meaningful source of dynamic — it only resolves\n * when metadata/viewport are dynamic, which we track via their own boundaries.\n * However, the outlet renders alongside the page content, so its stack passes\n * through the user's layout chain (typically reaching into `<body>` via the\n * root layout). That makes the outlet stack our best opportunity to spot a\n * Suspense boundary above the body, even when no real body content is dynamic.\n * Without this, a route whose only dynamic source is `generateViewport()` would\n * miss the Suspense-above-body opt-in, because the viewport's stack lives in\n * the head and never sees the user's root layout.\n *\n * We deliberately only set `hasSuspenseAboveBody`, not `hasAllowedDynamic`. The\n * latter tracks whether the body has dynamic content that's been wrapped in\n * Suspense (i.e., the page is partially dynamic). The outlet rendering tells us\n * about the structural opt-in for an empty shell, not about the body being\n * partially dynamic. The distinction matters because dynamic metadata is only\n * acceptable when the page is partially dynamic (via real body holes), and we\n * don't want this outlet-based detection to mask that case.\n */\nfunction trackOutletSuspenseAboveBody(\n  componentStack: string,\n  dynamicValidation: DynamicValidationState\n): void {\n  if (\n    hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n      componentStack\n    )\n  ) {\n    dynamicValidation.hasSuspenseAboveBody = true\n  }\n}\n\nexport function trackAllowedDynamicAccess(\n  dynamicReason: unknown,\n  workStore: WorkStore,\n  componentStack: string,\n  dynamicValidation: DynamicValidationState,\n  clientDynamic: DynamicTrackingState\n) {\n  const syncDynamicError = getPendingClientSyncDynamicError(clientDynamic)\n\n  if (hasOutletRegex.test(componentStack)) {\n    trackOutletSuspenseAboveBody(componentStack, dynamicValidation)\n    return\n  } else if (hasMetadataRegex.test(componentStack)) {\n    dynamicValidation.hasDynamicMetadata = true\n    return\n  } else if (hasViewportRegex.test(componentStack)) {\n    dynamicValidation.hasDynamicViewport = true\n    return\n  } else if (\n    hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n      componentStack\n    )\n  ) {\n    // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n    // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n    // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n    dynamicValidation.hasAllowedDynamic = true\n    dynamicValidation.hasSuspenseAboveBody = true\n    return\n  } else if (hasSuspenseRegex.test(componentStack)) {\n    // this error had a Suspense boundary above it so we don't need to report it as a source\n    // of disallowed\n    dynamicValidation.hasAllowedDynamic = true\n    return\n  } else if (syncDynamicError) {\n    dynamicValidation.dynamicErrors.push(syncDynamicError)\n    return\n  }\n\n  if (isClientHookDynamicError(dynamicReason)) {\n    dynamicValidation.dynamicErrors.push(\n      addErrorContext(dynamicReason, componentStack, null)\n    )\n    return\n  }\n\n  const error = addErrorContext(\n    createDynamicOrRuntimeBodyError(workStore.route),\n    componentStack,\n    null\n  )\n  dynamicValidation.dynamicErrors.push(error)\n  return\n}\n\nexport enum DynamicHoleKind {\n  /** We know that this hole is caused by link data. */\n  Link = 1,\n  /** We know that this hole is caused by runtime data. */\n  Runtime = 2,\n  /** We know that this hole is caused by dynamic data. */\n  Dynamic = 3,\n}\n\n/** Stores dynamic reasons used during an SSR render in instant validation. */\nexport type InstantValidationState = {\n  hasDynamicMetadata: boolean\n  hasAllowedClientDynamicAboveBoundary: boolean\n  dynamicMetadata: null | Error\n  hasDynamicViewport: boolean\n  hasAllowedDynamic: boolean\n  dynamicErrors: Array<Error>\n  validationPreventingErrors: Array<Error>\n  thrownErrorsOutsideBoundary: Array<unknown>\n  /** Per-slot config factories. Index 0 is the root config (fallback).\n   * Indices 1+ correspond to slot marker components in the tree. */\n  slotStacks: Array<(() => Error) | null>\n}\n\nexport function createInstantValidationState(\n  slotStacks: Array<(() => Error) | null>\n): InstantValidationState {\n  return {\n    hasDynamicMetadata: false,\n    hasAllowedClientDynamicAboveBoundary: false,\n    dynamicMetadata: null,\n    hasDynamicViewport: false,\n    hasAllowedDynamic: false,\n    dynamicErrors: [],\n    validationPreventingErrors: [],\n    thrownErrorsOutsideBoundary: [],\n    slotStacks,\n  }\n}\n\nexport function trackDynamicHoleInNavigation(\n  dynamicReason: unknown,\n  workStore: WorkStore,\n  componentStack: string,\n  dynamicValidation: InstantValidationState,\n  clientDynamic: DynamicTrackingState,\n  kind: DynamicHoleKind,\n  boundaryState: ValidationBoundaryTracking\n) {\n  const syncDynamicError = getPendingClientSyncDynamicError(clientDynamic)\n\n  if (hasOutletRegex.test(componentStack)) {\n    // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n    return\n  }\n  // Resolve the config stack for this specific error. If the error\n  // is inside a slot marker, use that slot's config. Otherwise fall\n  // back to the default.\n  const effectiveCreateInstantStack = resolveInstantStack(\n    componentStack,\n    dynamicValidation\n  )\n\n  if (hasMetadataRegex.test(componentStack)) {\n    const error = addErrorContext(\n      kind === DynamicHoleKind.Link\n        ? createLinkMetadataError(workStore.route)\n        : kind === DynamicHoleKind.Runtime\n          ? createRuntimeMetadataError(workStore.route)\n          : createDynamicMetadataError(workStore.route),\n      componentStack,\n      effectiveCreateInstantStack\n    )\n    dynamicValidation.dynamicMetadata = error\n    return\n  }\n  if (hasViewportRegex.test(componentStack)) {\n    const error = addErrorContext(\n      kind === DynamicHoleKind.Link\n        ? createLinkViewportError(workStore.route)\n        : kind === DynamicHoleKind.Runtime\n          ? createRuntimeViewportError(workStore.route)\n          : createDynamicViewportError(workStore.route),\n      componentStack,\n      effectiveCreateInstantStack\n    )\n    dynamicValidation.dynamicErrors.push(error)\n    return\n  }\n\n  const boundaryLocation =\n    hasInstantValidationBoundaryRegex.exec(componentStack)\n  if (!boundaryLocation) {\n    // We don't see the validation boundary in the component stack,\n    // so this hole must be coming from a shared parent.\n    // Shared parents are fully resolved and don't have RSC holes,\n    // but they can still suspend in a client component during SSR.\n\n    // If we managed to render all the validation boundaries, that means\n    // that the client holes aren't blocking validation and we can disregard them.\n    // Note that we don't even care whether they have suspense or not.\n    if (allRequiredBoundariesRendered(boundaryState)) {\n      dynamicValidation.hasAllowedClientDynamicAboveBoundary = true\n      dynamicValidation.hasAllowedDynamic = true // Holes outside the boundary contribute to allowing dynamic metadata\n      return\n    } else {\n      // TODO(instant-validation) TODO(NAR-787)\n      // If shared parents blocked us from validating, we should only log\n      // the errors from the innermost (segments), i.e. omit layouts whose\n      // slots managed to render (because clearly they didn't block validation)\n      const message = `Route \"${workStore.route}\": Could not validate \\`instant\\` because a Client Component in a parent segment prevented the page from rendering.`\n      const error = addErrorContext(\n        new Error(message),\n        componentStack,\n        effectiveCreateInstantStack\n      )\n      dynamicValidation.validationPreventingErrors.push(error)\n      return\n    }\n  } else {\n    // The hole originates inside the validation boundary.\n    //\n    // Check if we have a Suspense above the hole, but below the validation boundary.\n    // If we do, then this dynamic usage wouldn't block a navigation to this subtree.\n    // Conversely, if the nearest suspense is above the validation boundary, then this subtree would block.\n    //\n    // Note that in the component stack, children come before parents.\n    //\n    // Valid:\n    //   ...\n    //   at Suspense\n    //   ...\n    //   at __next_prefetch_validation_boundary__\n    //\n    // Invalid:\n    //   ...\n    //   at __next_prefetch_validation_boundary__\n    //   ...\n    //   at Suspense\n    //\n    const suspenseLocation = hasSuspenseRegex.exec(componentStack)\n    if (suspenseLocation) {\n      if (suspenseLocation.index < boundaryLocation.index) {\n        dynamicValidation.hasAllowedDynamic = true\n        return\n      } else {\n        // invalid - fallthrough\n      }\n    }\n  }\n\n  if (syncDynamicError) {\n    if (\n      effectiveCreateInstantStack !== null &&\n      syncDynamicError.cause === undefined\n    ) {\n      syncDynamicError.cause = effectiveCreateInstantStack()\n    }\n    dynamicValidation.dynamicErrors.push(syncDynamicError)\n    return\n  }\n\n  if (isClientHookDynamicError(dynamicReason)) {\n    dynamicValidation.dynamicErrors.push(\n      addErrorContext(\n        dynamicReason,\n        componentStack,\n        effectiveCreateInstantStack\n      )\n    )\n    return\n  }\n\n  const error = addErrorContext(\n    kind === DynamicHoleKind.Link\n      ? createLinkBodyErrorInNavigation(workStore.route)\n      : kind === DynamicHoleKind.Runtime\n        ? createRuntimeBodyErrorInNavigation(workStore.route)\n        : createDynamicBodyErrorInNavigation(workStore.route),\n    componentStack,\n    effectiveCreateInstantStack\n  )\n  dynamicValidation.dynamicErrors.push(error)\n  return\n}\n\nexport function trackThrownErrorInNavigation(\n  workStore: WorkStore,\n  dynamicValidation: InstantValidationState,\n  thrownValue: unknown,\n  componentStack: string\n) {\n  const boundaryLocation =\n    hasInstantValidationBoundaryRegex.exec(componentStack)\n  if (!boundaryLocation) {\n    // There's no validation boundary on the component stack.\n    // This error may have blocked a boundary from rendering.\n\n    // Wrap the error to provide component context.\n    // This helps for errors from node_modules which would otherwise\n    // have no useful stack information due to ignore-listing,\n    // e.g. next/dynamic with `ssr: false`.\n    const error = addErrorContext(\n      new Error(\n        'An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.',\n        { cause: thrownValue }\n      ),\n      componentStack,\n      null\n    )\n    dynamicValidation.thrownErrorsOutsideBoundary.push(error)\n  } else {\n    // There's validation boundary on the component stack,\n    // so we know this error didn't block a validation boundary from rendering.\n    // However, this error might be hiding be hiding dynamic content that would\n    // cause validation to fail.\n    const suspenseLocation = hasSuspenseRegex.exec(componentStack)\n    if (suspenseLocation) {\n      if (suspenseLocation.index < boundaryLocation.index) {\n        // There's a Suspense below the validation boundary but above this error's location.\n        // This subtree can't fail instant validation because any potential\n        // dynamic holes would be guarded by the Suspense anyway,\n        // so we can allow this.\n        return\n      } else {\n        // invalid - fallthrough\n      }\n    }\n    const message = `Route \"${workStore.route}\": Could not validate \\`instant\\` because an error prevented the target segment from rendering.`\n    const error = addErrorContext(\n      new Error(message, { cause: thrownValue }),\n      componentStack,\n      null // TODO(instant-validation-build): conflicting use of cause\n    )\n    dynamicValidation.validationPreventingErrors.push(error)\n  }\n}\n\nexport function trackDynamicHoleInRuntimeShell(\n  dynamicReason: unknown,\n  workStore: WorkStore,\n  componentStack: string,\n  dynamicValidation: DynamicValidationState,\n  clientDynamic: DynamicTrackingState\n) {\n  const syncDynamicError = getPendingClientSyncDynamicError(clientDynamic)\n\n  if (hasOutletRegex.test(componentStack)) {\n    trackOutletSuspenseAboveBody(componentStack, dynamicValidation)\n    return\n  } else if (hasMetadataRegex.test(componentStack)) {\n    const error = addErrorContext(\n      createDynamicMetadataError(workStore.route),\n      componentStack,\n      null\n    )\n    dynamicValidation.dynamicMetadata = error\n    return\n  } else if (hasViewportRegex.test(componentStack)) {\n    const error = addErrorContext(\n      createDynamicViewportError(workStore.route),\n      componentStack,\n      null\n    )\n    dynamicValidation.dynamicErrors.push(error)\n    return\n  } else if (\n    hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n      componentStack\n    )\n  ) {\n    // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n    // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n    // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n    dynamicValidation.hasAllowedDynamic = true\n    dynamicValidation.hasSuspenseAboveBody = true\n    return\n  } else if (hasSuspenseRegex.test(componentStack)) {\n    // this error had a Suspense boundary above it so we don't need to report it as a source\n    // of disallowed\n    dynamicValidation.hasAllowedDynamic = true\n    return\n  } else if (syncDynamicError) {\n    dynamicValidation.dynamicErrors.push(syncDynamicError)\n    return\n  }\n\n  if (isClientHookDynamicError(dynamicReason)) {\n    dynamicValidation.dynamicErrors.push(\n      addErrorContext(dynamicReason, componentStack, null)\n    )\n    return\n  }\n\n  const error = addErrorContext(\n    createDynamicBodyError(workStore.route),\n    componentStack,\n    null\n  )\n  dynamicValidation.dynamicErrors.push(error)\n  return\n}\n\nexport function trackDynamicHoleInStaticShell(\n  dynamicReason: unknown,\n  workStore: WorkStore,\n  componentStack: string,\n  dynamicValidation: DynamicValidationState,\n  clientDynamic: DynamicTrackingState\n) {\n  const syncDynamicError = getPendingClientSyncDynamicError(clientDynamic)\n\n  if (hasOutletRegex.test(componentStack)) {\n    trackOutletSuspenseAboveBody(componentStack, dynamicValidation)\n    return\n  } else if (hasMetadataRegex.test(componentStack)) {\n    const error = addErrorContext(\n      createRuntimeMetadataError(workStore.route),\n      componentStack,\n      null\n    )\n    dynamicValidation.dynamicMetadata = error\n    return\n  } else if (hasViewportRegex.test(componentStack)) {\n    const error = addErrorContext(\n      createRuntimeViewportError(workStore.route),\n      componentStack,\n      null\n    )\n    dynamicValidation.dynamicErrors.push(error)\n    return\n  } else if (\n    hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n      componentStack\n    )\n  ) {\n    // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n    // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n    // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n    dynamicValidation.hasAllowedDynamic = true\n    dynamicValidation.hasSuspenseAboveBody = true\n    return\n  } else if (hasSuspenseRegex.test(componentStack)) {\n    // this error had a Suspense boundary above it so we don't need to report it as a source\n    // of disallowed\n    dynamicValidation.hasAllowedDynamic = true\n    return\n  } else if (syncDynamicError) {\n    dynamicValidation.dynamicErrors.push(syncDynamicError)\n    return\n  }\n\n  if (isClientHookDynamicError(dynamicReason)) {\n    dynamicValidation.dynamicErrors.push(\n      addErrorContext(dynamicReason, componentStack, null)\n    )\n    return\n  }\n\n  const error = addErrorContext(\n    createRuntimeBodyError(workStore.route),\n    componentStack,\n    null\n  )\n  dynamicValidation.dynamicErrors.push(error)\n  return\n}\n\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n *\n * Accepts an already-created Error so the SWC error-code plugin can see the\n * `new Error(...)` call at each call site and auto-assign error codes.\n */\nfunction addErrorContext(\n  error: Error,\n  componentStack: string,\n  createInstantStack: (() => Error) | null\n) {\n  const ownerStack =\n    process.env.NODE_ENV !== 'production' && React.captureOwnerStack\n      ? React.captureOwnerStack()\n      : null\n\n  if (createInstantStack !== null) {\n    error.cause = createInstantStack()\n  }\n  // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n  //\n  error.stack =\n    error.name + ': ' + error.message + (ownerStack || componentStack)\n  return error\n}\n\nexport enum PreludeState {\n  Full = 0,\n  Empty = 1,\n  Errored = 2,\n}\n\nexport function logDisallowedDynamicError(\n  workStore: WorkStore,\n  error: Error\n): void {\n  console.error(error)\n  logBuildDebugHint(workStore.route)\n}\n\nexport function throwIfSyncIOUsed(\n  workStore: WorkStore,\n  serverDynamic: DynamicTrackingState\n) {\n  if (serverDynamic.syncDynamicErrorWithStack) {\n    logDisallowedDynamicError(\n      workStore,\n      serverDynamic.syncDynamicErrorWithStack\n    )\n    throw new StaticGenBailoutError()\n  }\n}\n\nexport function throwIfDisallowedDynamic(\n  workStore: WorkStore,\n  prelude: PreludeState,\n  dynamicValidation: DynamicValidationState,\n  serverDynamic: DynamicTrackingState,\n  allowEmptyStaticShell: boolean\n): void {\n  throwIfSyncIOUsed(workStore, serverDynamic)\n\n  // The dynamic metadata error is a mistake-detection signal. It fires when the\n  // rest of the shell is otherwise fully static apart from metadata, suggesting\n  // the dynamic data access in `generateMetadata` was probably unintentional.\n  // That condition is independent of whether the user or build phase accepted\n  // an empty shell, so we surface it before any opt-in bypass.\n  if (\n    prelude === PreludeState.Full &&\n    dynamicValidation.hasAllowedDynamic === false &&\n    dynamicValidation.hasDynamicMetadata\n  ) {\n    console.error(createDynamicOrRuntimeMetadataError(workStore.route).message)\n    throw new StaticGenBailoutError()\n  }\n\n  // Either flag expresses \"this shell is allowed to be empty/blocking\":\n  //   - `allowEmptyStaticShell` covers `instant = false` (user opt-in)\n  //     and the build-phase fallback-shell case.\n  //   - `hasSuspenseAboveBody` is the structural opt-in inside the user's root\n  //     layout.\n  // Treat them as synonyms for the purpose of bypassing shell-failure errors.\n  if (allowEmptyStaticShell || dynamicValidation.hasSuspenseAboveBody) {\n    return\n  }\n\n  if (prelude !== PreludeState.Full) {\n    // We didn't have any sync bailouts but there may be user code which\n    // blocked the root. We would have captured these during the prerender\n    // and can log them here and then terminate the build/validating render\n    const dynamicErrors = dynamicValidation.dynamicErrors\n    if (dynamicErrors.length > 0) {\n      for (let i = 0; i < dynamicErrors.length; i++) {\n        logDisallowedDynamicError(workStore, dynamicErrors[i])\n      }\n\n      throw new StaticGenBailoutError()\n    }\n\n    // If we got this far then the only other thing that could be blocking\n    // the root is dynamic Viewport. If this is dynamic then\n    // you need to opt into that by adding a Suspense boundary above the body\n    // to indicate your are ok with fully dynamic rendering.\n    if (dynamicValidation.hasDynamicViewport) {\n      console.error(\n        createDynamicOrRuntimeViewportError(workStore.route).message\n      )\n      throw new StaticGenBailoutError()\n    }\n\n    if (prelude === PreludeState.Empty) {\n      // If we ever get this far then we messed up the tracking of invalid dynamic.\n      // We still adhere to the constraint that you must produce a shell but invite the\n      // user to report this as a bug in Next.js.\n      console.error(\n        `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`\n      )\n      throw new StaticGenBailoutError()\n    }\n  }\n}\n\nexport function getStaticShellDisallowedDynamicReasons(\n  workStore: WorkStore,\n  prelude: PreludeState,\n  dynamicValidation: DynamicValidationState,\n  allowEmptyStaticShell: boolean\n): Array<Error> {\n  // The dynamic metadata error is a mistake-detection signal. It fires when the\n  // rest of the shell is otherwise fully static apart from metadata, suggesting\n  // the dynamic data access in `generateMetadata` was probably unintentional.\n  // That condition is independent of whether the user or build phase accepted\n  // an empty shell, so we surface it before any opt-in bypass.\n  if (\n    prelude === PreludeState.Full &&\n    dynamicValidation.hasAllowedDynamic === false &&\n    dynamicValidation.dynamicErrors.length === 0 &&\n    dynamicValidation.dynamicMetadata\n  ) {\n    return [dynamicValidation.dynamicMetadata]\n  }\n\n  // Either flag expresses \"this shell is allowed to be empty/blocking\":\n  //   - `allowEmptyStaticShell` covers `instant = false` (user opt-in)\n  //     and the build-phase fallback-shell case.\n  //   - `hasSuspenseAboveBody` is the structural opt-in inside the user's root\n  //     layout.\n  // Treat them as synonyms for the purpose of bypassing shell-failure errors.\n  if (allowEmptyStaticShell || dynamicValidation.hasSuspenseAboveBody) {\n    return []\n  }\n\n  if (prelude !== PreludeState.Full) {\n    // We didn't have any sync bailouts but there may be user code which\n    // blocked the root. We would have captured these during the prerender\n    // and can log them here and then terminate the build/validating render\n    const dynamicErrors = dynamicValidation.dynamicErrors\n    if (dynamicErrors.length > 0) {\n      return dynamicErrors\n    }\n\n    if (prelude === PreludeState.Empty) {\n      // If we ever get this far then we messed up the tracking of invalid dynamic.\n      // We still adhere to the constraint that you must produce a shell but invite the\n      // user to report this as a bug in Next.js.\n      return [\n        new InvariantError(\n          `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`\n        ),\n      ]\n    }\n  }\n  // We had a non-empty prelude and there are no dynamic holes\n  return []\n}\n\n/**\n * `errors` are validation failures that should be surfaced immediately.\n * `deferredFallback` carries a missing-boundary explanation that the caller\n * should hold back until *every* validation depth has been tried — a missing\n * boundary often just means a parent layout intentionally omitted a slot, and\n * a different depth's validation may surface a more meaningful error.\n */\nexport type NavigationValidationResult =\n  // instances that block instant navigation\n  | Array<Error>\n  // validation was blocked with zero or more reasons\n  | Error\n  | AggregateError\n\nexport function getNavigationDisallowedDynamicReasons(\n  workStore: WorkStore,\n  prelude: PreludeState,\n  dynamicValidation: InstantValidationState,\n  validationSampleTracking: InstantValidationSampleTracking | null,\n  boundaryState: ValidationBoundaryTracking,\n  devRenderDidError: boolean\n): NavigationValidationResult {\n  // If we have errors related to missing samples, those should take precedence over everything else.\n  if (validationSampleTracking) {\n    const { missingSampleErrors } = validationSampleTracking\n    if (missingSampleErrors.length > 0) {\n      return missingSampleErrors\n    }\n  }\n\n  const { validationPreventingErrors } = dynamicValidation\n  if (validationPreventingErrors.length > 0) {\n    if (process.env.__NEXT_DEV_SERVER && devRenderDidError) {\n      // The dev render already surfaced server errors to the user.\n      // The same errors likely caused validation to be inconclusive,\n      // so reporting them again as validation failures would be noisy.\n      return []\n    }\n    return validationPreventingErrors\n  }\n\n  // NOTE: We don't care about Suspense above body here,\n  // we're only concerned with the validation boundary\n  if (prelude !== PreludeState.Full) {\n    const dynamicErrors = dynamicValidation.dynamicErrors\n    if (dynamicErrors.length > 0) {\n      return dynamicErrors\n    }\n\n    if (\n      prelude === PreludeState.Empty &&\n      !dynamicValidation.hasAllowedClientDynamicAboveBoundary &&\n      allRequiredBoundariesRendered(boundaryState)\n    ) {\n      // If we ever get this far then we messed up the tracking of invalid\n      // dynamic. (When boundaries are missing the deferred fallback below\n      // will surface a more useful error.)\n      return new InvariantError(\n        `Route \"${workStore.route}\" failed to render during instant validation and Next.js was unable to determine a reason.`\n      )\n    }\n  } else {\n    const dynamicErrors = dynamicValidation.dynamicErrors\n    if (dynamicErrors.length > 0) {\n      return dynamicErrors\n    }\n\n    if (\n      dynamicValidation.hasAllowedDynamic === false &&\n      dynamicValidation.dynamicMetadata\n    ) {\n      return [dynamicValidation.dynamicMetadata]\n    }\n  }\n\n  // Missing boundaries on their own aren't a strong signal — a parent\n  // layout may legitimately omit a slot. Defer this so the caller can\n  // try shallower validation depths first; if every depth comes up\n  // empty we still want to surface this so the user is made aware that\n  // validation didn't complete. When we add a markers API, the\n  // marker-based variant of this check can become strict again.\n  if (!allRequiredBoundariesRendered(boundaryState)) {\n    const { thrownErrorsOutsideBoundary } = dynamicValidation\n    const rootInstantStack = dynamicValidation.slotStacks[0]\n    if (thrownErrorsOutsideBoundary.length === 0) {\n      const missingFiles: string[] = []\n      for (const [id, filePaths] of boundaryState.requiredIds) {\n        if (!boundaryState.renderedIds.has(id)) {\n          for (const filePath of filePaths) {\n            let normalized = filePath\n              .replace(/^\\[project\\][\\\\/]?/, '')\n              .replace(process.cwd() + '/', '')\n              .replace(process.cwd() + '\\\\', '')\n            missingFiles.push(normalized)\n          }\n        }\n      }\n      missingFiles.sort()\n      return createUnrenderedSegmentError(workStore.route, missingFiles)\n    } else if (process.env.__NEXT_DEV_SERVER && devRenderDidError) {\n      // Errors outside the boundary likely blocked it from rendering,\n      // but they're already being reported to the user via the dev\n      // render. Suppress the validation failure to avoid noise.\n      return []\n    } else if (thrownErrorsOutsideBoundary.length === 1) {\n      const message = `Route \"${workStore.route}\": Could not validate \\`instant\\` because the target segment was prevented from rendering, likely due to the following error.`\n      const error = rootInstantStack !== null ? rootInstantStack() : new Error()\n      error.name = 'Error'\n      error.message = message\n      return new AggregateError([\n        error,\n        thrownErrorsOutsideBoundary[0] as Error,\n      ])\n    } else {\n      const message = `Route \"${workStore.route}\": Could not validate \\`instant\\` because the target segment was prevented from rendering, likely due to one of the following errors.`\n      const error = rootInstantStack !== null ? rootInstantStack() : new Error()\n      error.name = 'Error'\n      error.message = message\n      return new AggregateError([\n        error,\n        ...(thrownErrorsOutsideBoundary as Error[]),\n      ])\n    }\n  }\n\n  // We had a non-empty prelude and there are no dynamic holes\n  return []\n}\n","export type SyncIOApiType = 'time' | 'random' | 'crypto'\n\nconst SYNC_IO_DOCS: Record<SyncIOApiType, string> = {\n  time: 'https://nextjs.org/docs/messages/blocking-prerender-current-time',\n  random: 'https://nextjs.org/docs/messages/blocking-prerender-random',\n  crypto: 'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n}\n\nconst SYNC_IO_CLIENT_DOCS: Record<SyncIOApiType, string> = {\n  time: 'https://nextjs.org/docs/messages/blocking-prerender-current-time-client',\n  random: 'https://nextjs.org/docs/messages/blocking-prerender-random-client',\n  crypto: 'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n}\n\nconst SYNC_IO_RUNTIME_DOCS: Record<SyncIOApiType, string> = {\n  time: 'https://nextjs.org/docs/messages/blocking-prerender-current-time',\n  random: 'https://nextjs.org/docs/messages/blocking-prerender-random',\n  crypto: 'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n}\n\nfunction elapsedTimeBullet(type: SyncIOApiType): string {\n  return type === 'time'\n    ? `\\n  - [measure] If the value is for telemetry, use a timing API such as \\`performance.now()\\``\n    : ''\n}\n\nfunction createSyncIOErrorImpl(\n  route: string,\n  expression: string,\n  type: SyncIOApiType,\n  docsUrl: string\n): Error {\n  return new Error(\n    `Route \"${route}\": Next.js encountered the unstable value ${expression} while prerendering.\\n\\n` +\n      `This value can change between renders, so it must be either prerendered or computed later.\\n\\n` +\n      `Ways to fix this:\\n` +\n      `  - [dynamic] Render at request time by adding a dynamic data access (e.g. \\`await connection()\\`) before this call\\n` +\n      `  - [cache] Prerender and cache the value with \\`\"use cache\"\\`\\n` +\n      `  - [client] Render the value on the client with \\`\"use client\"\\`` +\n      elapsedTimeBullet(type) +\n      `\\n\\nLearn more: ${docsUrl}`\n  )\n}\n\nexport function createSyncIOError(\n  route: string,\n  expression: string,\n  type: SyncIOApiType\n): Error {\n  return createSyncIOErrorImpl(route, expression, type, SYNC_IO_DOCS[type])\n}\n\nexport function createSyncIORuntimeError(\n  route: string,\n  expression: string,\n  type: SyncIOApiType\n): Error {\n  return createSyncIOErrorImpl(\n    route,\n    expression,\n    type,\n    SYNC_IO_RUNTIME_DOCS[type]\n  )\n}\n\nexport function createSyncIOClientError(\n  route: string,\n  expression: string,\n  type: SyncIOApiType\n): Error {\n  const docsUrl = SYNC_IO_CLIENT_DOCS[type]\n  return new Error(\n    `Route \"${route}\": Next.js encountered the unstable value ${expression} in a Client Component.\\n\\n` +\n      `This value would be evaluated during the prerender, instead of recomputed on each visit.\\n\\n` +\n      `Ways to fix this:\\n` +\n      `  - [stream] Wrap the Client Component in \\`<Suspense fallback={...}>\\`\\n` +\n      `  - [defer] Move the read into a \\`useEffect\\` or event handler` +\n      elapsedTimeBullet(type) +\n      `\\n\\nLearn more: ${docsUrl}`\n  )\n}\n","import { workAsyncStorage } from '../app-render/work-async-storage.external'\nimport { workUnitAsyncStorage } from '../app-render/work-unit-async-storage.external'\nimport { abortOnSynchronousPlatformIOAccess } from '../app-render/dynamic-rendering'\nimport { RenderStage } from '../app-render/staged-rendering'\nimport { applyOwnerStack } from '../dynamic-rendering-utils'\nimport {\n  createSyncIOClientError,\n  createSyncIOError,\n  createSyncIORuntimeError,\n  type SyncIOApiType,\n} from '../app-render/sync-io-messages'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nexport function io(expression: string, type: SyncIOApiType) {\n  const workUnitStore = workUnitAsyncStorage.getStore()\n  const workStore = workAsyncStorage.getStore()\n\n  if (!workUnitStore || !workStore) {\n    return\n  }\n\n  switch (workUnitStore.type) {\n    case 'prerender':\n    case 'prerender-runtime': {\n      const prerenderSignal = workUnitStore.controller.signal\n\n      if (prerenderSignal.aborted === false) {\n        // If the prerender signal is already aborted we don't need to construct\n        // any stacks because something else actually terminated the prerender.\n        abortOnSynchronousPlatformIOAccess(\n          workStore.route,\n          expression,\n          applyOwnerStack(createSyncIOError(workStore.route, expression, type)),\n          workUnitStore\n        )\n      }\n      break\n    }\n    case 'prerender-client': {\n      const prerenderSignal = workUnitStore.controller.signal\n\n      if (prerenderSignal.aborted === false) {\n        // If the prerender signal is already aborted we don't need to construct\n        // any stacks because something else actually terminated the prerender.\n        abortOnSynchronousPlatformIOAccess(\n          workStore.route,\n          expression,\n          applyOwnerStack(\n            createSyncIOClientError(workStore.route, expression, type)\n          ),\n          workUnitStore\n        )\n      }\n      break\n    }\n    case 'request': {\n      const stageController = workUnitStore.stagedRendering\n      if (stageController && stageController.shouldTrackSyncInterrupt()) {\n        let syncIOError: Error\n        // NOTE: keep stages where we can interrupt in sync with\n        // `shouldTrackSyncInterrupt`/`syncInterruptCurrentStageWithReason`\n        switch (stageController.currentStage) {\n          case RenderStage.ShellStatic:\n          case RenderStage.Static: {\n            syncIOError = createSyncIOError(workStore.route, expression, type)\n            break\n          }\n          case RenderStage.ShellRuntime:\n          case RenderStage.Runtime: {\n            // We're in the Runtime stage.\n            // We only error for Sync IO in the Runtime stage if the route has partialPrefetching enabled.\n            syncIOError = createSyncIORuntimeError(\n              workStore.route,\n              expression,\n              type\n            )\n            break\n          }\n          case RenderStage.Before:\n          case RenderStage.Dynamic:\n          case RenderStage.Abandoned: {\n            throw new InvariantError(\n              `shouldTrackSyncInterrupt allowed a sync IO interrupt in an unexpected stage: ${RenderStage[stageController.currentStage]}`\n            )\n          }\n        }\n\n        syncIOError = applyOwnerStack(syncIOError)\n        stageController.syncInterruptCurrentStageWithReason(syncIOError)\n\n        // A validation render uses a 'request' store type, but may be abortable.\n        // If we're rendering with filled caches, Sync IO is an error and should trigger an abort.\n        if (\n          workUnitStore.controller &&\n          !workUnitStore.controller.signal.aborted\n        ) {\n          workUnitStore.controller.abort(syncIOError)\n        }\n      }\n      break\n    }\n    case 'validation-client':\n    case 'prerender-ppr':\n    case 'prerender-legacy':\n    case 'cache':\n    case 'private-cache':\n    case 'unstable-cache':\n    case 'generate-static-params':\n      break\n    default:\n      workUnitStore satisfies never\n  }\n}\n","/**\n * We extend Math.random() during builds and revalidates to ensure that prerenders don't observe randomness\n * When cacheComponents is enabled. randomness is a form of IO even though it resolves synchronously. When cacheComponents is\n * enabled we need to ensure that randomness is excluded from prerenders.\n *\n * The extensions here never error nor alter the random generation itself and thus should be transparent to callers.\n */\n\nimport { io } from './io-utils'\n\nconst expression = '`Math.random()`'\ntry {\n  const _random = Math.random\n  Math.random = function random() {\n    io(expression, 'random')\n    return _random.apply(null, arguments as any)\n\n    // We bind here to alter the `toString` printing to match `Math.random`'s native `toString`.\n    // eslint-disable-next-line no-extra-bind\n  }.bind(null)\n  Object.defineProperty(Math.random, 'name', { value: 'random' })\n} catch {\n  console.error(\n    `Failed to install ${expression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n  )\n}\n","/**\n * We extend node:crypto APIs during builds and revalidates to ensure that prerenders don't observe random bytes\n * When cacheComponents is enabled. Random bytes are a form of IO even if they resolve synchronously. When cacheComponents is\n * enabled we need to ensure that random bytes are excluded from prerenders unless they are cached.\n *\n *\n * The extensions here never error nor alter the underlying return values and thus should be transparent to callers.\n */\n\nimport { io } from './io-utils'\n\nif (process.env.NEXT_RUNTIME === 'edge') {\n  // nothing to patch\n} else {\n  const nodeCrypto = require('node:crypto') as typeof import('node:crypto')\n\n  // require('node:crypto').getRandomValues is an alias for\n  // crypto.getRandomValues which is extended in web-crypto.tsx\n\n  // require('node:crypto').randomUUID is not an alias for crypto.randomUUID\n\n  const randomUUIDExpression = \"`require('node:crypto').randomUUID()`\"\n  try {\n    const _randomUUID = nodeCrypto.randomUUID\n    nodeCrypto.randomUUID = function randomUUID() {\n      io(randomUUIDExpression, 'random')\n      return _randomUUID.apply(this, arguments as any)\n    }\n  } catch {\n    console.error(\n      `Failed to install ${randomUUIDExpression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n    )\n  }\n\n  const randomBytesExpression = \"`require('node:crypto').randomBytes(size)`\"\n  try {\n    const _randomBytes = nodeCrypto.randomBytes\n    // @ts-expect-error -- TODO: tell TS the overloads are preserved\n    nodeCrypto.randomBytes = function randomBytes() {\n      if (typeof arguments[1] !== 'function') {\n        // randomBytes is sync if the second arg is undefined\n        io(randomBytesExpression, 'random')\n      }\n      return _randomBytes.apply(this, arguments as any)\n    }\n  } catch {\n    console.error(\n      `Failed to install ${randomBytesExpression} extension. When using \\`cacheComponents\\` calling this function without a callback argument will not correctly trigger dynamic behavior.`\n    )\n  }\n\n  const randomFillSyncExpression =\n    \"`require('node:crypto').randomFillSync(...)`\"\n  try {\n    const _randomFillSync = nodeCrypto.randomFillSync\n    // @ts-expect-error -- TODO: tell TS the overloads are preserved\n    nodeCrypto.randomFillSync = function randomFillSync() {\n      io(randomFillSyncExpression, 'random')\n      return _randomFillSync.apply(this, arguments as any)\n    }\n  } catch {\n    console.error(\n      `Failed to install ${randomFillSyncExpression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n    )\n  }\n\n  const randomIntExpression = \"`require('node:crypto').randomInt(min, max)`\"\n  try {\n    const _randomInt = nodeCrypto.randomInt\n    // @ts-expect-error -- TODO: tell TS the overloads are preserved\n    nodeCrypto.randomInt = function randomInt() {\n      if (typeof arguments[2] !== 'function') {\n        // randomInt is sync if the third arg is undefined\n        io(randomIntExpression, 'random')\n      }\n      return _randomInt.apply(this, arguments as any)\n    }\n  } catch {\n    console.error(\n      `Failed to install ${randomBytesExpression} extension. When using \\`cacheComponents\\` calling this function without a callback argument will not correctly trigger dynamic behavior.`\n    )\n  }\n\n  const generatePrimeSyncExpression =\n    \"`require('node:crypto').generatePrimeSync(...)`\"\n  try {\n    const _generatePrimeSync = nodeCrypto.generatePrimeSync\n    // @ts-expect-error -- TODO: tell TS the overloads are preserved\n    nodeCrypto.generatePrimeSync = function generatePrimeSync() {\n      io(generatePrimeSyncExpression, 'random')\n      return _generatePrimeSync.apply(this, arguments as any)\n    }\n  } catch {\n    console.error(\n      `Failed to install ${generatePrimeSyncExpression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n    )\n  }\n\n  const generateKeyPairSyncExpression =\n    \"`require('node:crypto').generateKeyPairSync(...)`\"\n  try {\n    const _generateKeyPairSync = nodeCrypto.generateKeyPairSync\n    // @ts-expect-error -- TODO: tell TS the overloads are preserved\n    nodeCrypto.generateKeyPairSync = function generateKeyPairSync() {\n      io(generateKeyPairSyncExpression, 'random')\n      return _generateKeyPairSync.apply(this, arguments as any)\n    }\n  } catch {\n    console.error(\n      `Failed to install ${generateKeyPairSyncExpression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n    )\n  }\n\n  const generateKeySyncExpression =\n    \"`require('node:crypto').generateKeySync(...)`\"\n  try {\n    const _generateKeySync = nodeCrypto.generateKeySync\n    nodeCrypto.generateKeySync = function generateKeySync() {\n      io(generateKeySyncExpression, 'random')\n      return _generateKeySync.apply(this, arguments as any)\n    }\n  } catch {\n    console.error(\n      `Failed to install ${generateKeySyncExpression} extension. When using \\`cacheComponents\\` calling this function will not correctly trigger dynamic behavior.`\n    )\n  }\n}\n","import MODERN_BROWSERSLIST_TARGET from './modern-browserslist-target'\n\nexport { MODERN_BROWSERSLIST_TARGET }\n\nexport type ValueOf<T> = Required<T>[keyof T]\n\nexport const COMPILER_NAMES = {\n  client: 'client',\n  server: 'server',\n  edgeServer: 'edge-server',\n} as const\n\nexport type CompilerNameValues = ValueOf<typeof COMPILER_NAMES>\n\nexport const COMPILER_INDEXES: {\n  [compilerKey in CompilerNameValues]: number\n} = {\n  [COMPILER_NAMES.client]: 0,\n  [COMPILER_NAMES.server]: 1,\n  [COMPILER_NAMES.edgeServer]: 2,\n} as const\n\n// Re-export entry constants for backward compatibility\nexport {\n  UNDERSCORE_NOT_FOUND_ROUTE,\n  UNDERSCORE_NOT_FOUND_ROUTE_ENTRY,\n  UNDERSCORE_GLOBAL_ERROR_ROUTE,\n  UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY,\n} from './entry-constants'\n\nexport enum AdapterOutputType {\n  /**\n   * `PAGES` represents all the React pages that are under `pages/`.\n   */\n  PAGES = 'PAGES',\n\n  /**\n   * `PAGES_API` represents all the API routes under `pages/api/`.\n   */\n  PAGES_API = 'PAGES_API',\n  /**\n   * `APP_PAGE` represents all the React pages that are under `app/` with the\n   * filename of `page.{j,t}s{,x}`.\n   */\n  APP_PAGE = 'APP_PAGE',\n\n  /**\n   * `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the\n   * filename of `route.{j,t}s{,x}`.\n   */\n  APP_ROUTE = 'APP_ROUTE',\n\n  /**\n   * `PRERENDER` represents an ISR enabled route that might\n   * have a seeded cache entry or fallback generated during build\n   */\n  PRERENDER = 'PRERENDER',\n\n  /**\n   * `STATIC_FILE` represents a static file (ie /_next/static)\n   */\n  STATIC_FILE = 'STATIC_FILE',\n\n  /**\n   * `MIDDLEWARE` represents the middleware output if present\n   */\n  MIDDLEWARE = 'MIDDLEWARE',\n}\n\nexport const PHASE_EXPORT = 'phase-export'\nexport const PHASE_ANALYZE = 'phase-analyze'\nexport const PHASE_PRODUCTION_BUILD = 'phase-production-build'\nexport const PHASE_PRODUCTION_SERVER = 'phase-production-server'\nexport const PHASE_DEVELOPMENT_SERVER = 'phase-development-server'\nexport const PHASE_TEST = 'phase-test'\nexport const PHASE_INFO = 'phase-info'\n\nexport type PHASE_TYPE =\n  | typeof PHASE_INFO\n  | typeof PHASE_TEST\n  | typeof PHASE_EXPORT\n  | typeof PHASE_ANALYZE\n  | typeof PHASE_PRODUCTION_BUILD\n  | typeof PHASE_PRODUCTION_SERVER\n  | typeof PHASE_DEVELOPMENT_SERVER\n\nexport const PAGES_MANIFEST = 'pages-manifest.json'\nexport const APP_PATHS_MANIFEST = 'app-paths-manifest.json'\nexport const APP_PATH_ROUTES_MANIFEST = 'app-path-routes-manifest.json'\nexport const BUILD_MANIFEST = 'build-manifest.json'\nexport const FUNCTIONS_CONFIG_MANIFEST = 'functions-config-manifest.json'\nexport const SUBRESOURCE_INTEGRITY_MANIFEST = 'subresource-integrity-manifest'\nexport const NEXT_FONT_MANIFEST = 'next-font-manifest'\nexport const EXPORT_MARKER = 'export-marker.json'\nexport const EXPORT_DETAIL = 'export-detail.json'\nexport const PRERENDER_MANIFEST = 'prerender-manifest.json'\nexport const PREFETCH_HINTS = 'prefetch-hints.json'\nexport const ROUTES_MANIFEST = 'routes-manifest.json'\nexport const IMAGES_MANIFEST = 'images-manifest.json'\nexport const SERVER_FILES_MANIFEST = 'required-server-files'\nexport const DEV_CLIENT_PAGES_MANIFEST = '_devPagesManifest.json'\nexport const REQUEST_INSIGHTS_DEV_ENDPOINT =\n  '/_next/development/request-insights'\nexport const MIDDLEWARE_MANIFEST = 'middleware-manifest.json'\nexport const TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST =\n  '_clientMiddlewareManifest.js'\nexport const TURBOPACK_CLIENT_BUILD_MANIFEST = 'client-build-manifest.json'\nexport const DEV_CLIENT_MIDDLEWARE_MANIFEST = '_devMiddlewareManifest.json'\nexport const REACT_LOADABLE_MANIFEST = 'react-loadable-manifest.json'\nexport const SERVER_DIRECTORY = 'server'\nexport const CONFIG_FILES = [\n  'next.config.js',\n  'next.config.mjs',\n  'next.config.ts',\n  // process.features can be undefined on Edge runtime\n  // TODO: Remove `as any` once we bump @types/node to v22.10.0+\n  ...((process?.features as any)?.typescript ? ['next.config.mts'] : []),\n]\nexport const BUILD_ID_FILE = 'BUILD_ID'\nexport const BLOCKED_PAGES = ['/_document', '/_app', '/_error']\nexport const CLIENT_PUBLIC_FILES_PATH = 'public'\nexport const CLIENT_STATIC_FILES_PATH = 'static'\nexport const STRING_LITERAL_DROP_BUNDLE = '__NEXT_DROP_CLIENT_FILE__'\nexport const NEXT_BUILTIN_DOCUMENT = '__NEXT_BUILTIN_DOCUMENT__'\nexport const BARREL_OPTIMIZATION_PREFIX = '__barrel_optimize__'\n\n// server/[entry]/page_client-reference-manifest.js\nexport const CLIENT_REFERENCE_MANIFEST = 'client-reference-manifest'\n// server/server-reference-manifest\nexport const SERVER_REFERENCE_MANIFEST = 'server-reference-manifest'\n// server/middleware-build-manifest.js\nexport const MIDDLEWARE_BUILD_MANIFEST = 'middleware-build-manifest'\n// server/middleware-react-loadable-manifest.js\nexport const MIDDLEWARE_REACT_LOADABLE_MANIFEST =\n  'middleware-react-loadable-manifest'\n// server/interception-route-rewrite-manifest.js\nexport const INTERCEPTION_ROUTE_REWRITE_MANIFEST =\n  'interception-route-rewrite-manifest'\n// server/dynamic-css-manifest.js\nexport const DYNAMIC_CSS_MANIFEST = 'dynamic-css-manifest'\n\n// static/runtime/main.js\nexport const CLIENT_STATIC_FILES_RUNTIME_MAIN = `main`\nexport const CLIENT_STATIC_FILES_RUNTIME_MAIN_APP = `${CLIENT_STATIC_FILES_RUNTIME_MAIN}-app`\n// next internal client components chunk for layouts\nexport const APP_CLIENT_INTERNALS = 'app-pages-internals'\n// static/runtime/react-refresh.js\nexport const CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH = `react-refresh`\n// static/runtime/webpack.js\nexport const CLIENT_STATIC_FILES_RUNTIME_WEBPACK = `webpack`\n// static/runtime/polyfills.js\nexport const CLIENT_STATIC_FILES_RUNTIME_POLYFILLS = 'polyfills'\nexport const CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL = Symbol(\n  CLIENT_STATIC_FILES_RUNTIME_POLYFILLS\n)\nexport const DEFAULT_RUNTIME_WEBPACK = 'webpack-runtime'\nexport const EDGE_RUNTIME_WEBPACK = 'edge-runtime-webpack'\nexport const STATIC_PROPS_ID = '__N_SSG'\nexport const SERVER_PROPS_ID = '__N_SSP'\nexport const DEFAULT_SERIF_FONT = {\n  name: 'Times New Roman',\n  xAvgCharWidth: 821,\n  azAvgWidth: 854.3953488372093,\n  unitsPerEm: 2048,\n}\nexport const DEFAULT_SANS_SERIF_FONT = {\n  name: 'Arial',\n  xAvgCharWidth: 904,\n  azAvgWidth: 934.5116279069767,\n  unitsPerEm: 2048,\n}\nexport const STATIC_STATUS_PAGES = ['/500']\nexport const TRACE_OUTPUT_VERSION = 1\n// in `MB`\nexport const TURBO_TRACE_DEFAULT_MEMORY_LIMIT = 6000\n\nexport const RSC_MODULE_TYPES = {\n  client: 'client',\n  server: 'server',\n} as const\n\n// comparing\n// https://nextjs.org/docs/api-reference/edge-runtime\n// with\n// https://nodejs.org/docs/latest/api/globals.html\nexport const EDGE_UNSUPPORTED_NODE_APIS = [\n  'clearImmediate',\n  'setImmediate',\n  'BroadcastChannel',\n  'ByteLengthQueuingStrategy',\n  'CompressionStream',\n  'CountQueuingStrategy',\n  'DecompressionStream',\n  'DomException',\n  'MessageChannel',\n  'MessageEvent',\n  'MessagePort',\n  'ReadableByteStreamController',\n  'ReadableStreamBYOBRequest',\n  'ReadableStreamDefaultController',\n  'TransformStreamDefaultController',\n  'WritableStreamDefaultController',\n]\n\nexport const SYSTEM_ENTRYPOINTS = new Set<string>([\n  CLIENT_STATIC_FILES_RUNTIME_MAIN,\n  CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH,\n  CLIENT_STATIC_FILES_RUNTIME_MAIN_APP,\n])\n","export interface PathLocale {\n  detectedLocale?: string\n  pathname: string\n}\n\n/**\n * A cache of lowercased locales for each list of locales. This is stored as a\n * WeakMap so if the locales are garbage collected, the cache entry will be\n * removed as well.\n */\nconst cache = new WeakMap<readonly string[], readonly string[]>()\n\n/**\n * For a pathname that may include a locale from a list of locales, it\n * removes the locale from the pathname returning it alongside with the\n * detected locale.\n *\n * @param pathname A pathname that may include a locale.\n * @param locales A list of locales.\n * @returns The detected locale and pathname without locale\n */\nexport function normalizeLocalePath(\n  pathname: string,\n  locales?: readonly string[]\n): PathLocale {\n  // If locales is undefined, return the pathname as is.\n  if (!locales) return { pathname }\n\n  // Get the cached lowercased locales or create a new cache entry.\n  let lowercasedLocales = cache.get(locales)\n  if (!lowercasedLocales) {\n    lowercasedLocales = locales.map((locale) => locale.toLowerCase())\n    cache.set(locales, lowercasedLocales)\n  }\n\n  let detectedLocale: string | undefined\n\n  // The first segment will be empty, because it has a leading `/`. If\n  // there is no further segment, there is no locale (or it's the default).\n  const segments = pathname.split('/', 2)\n\n  // If there's no second segment (ie, the pathname is just `/`), there's no\n  // locale.\n  if (!segments[1]) return { pathname }\n\n  // The second segment will contain the locale part if any.\n  const segment = segments[1].toLowerCase()\n\n  // See if the segment matches one of the locales. If it doesn't, there is\n  // no locale (or it's the default).\n  const index = lowercasedLocales.indexOf(segment)\n  if (index < 0) return { pathname }\n\n  // Return the case-sensitive locale.\n  detectedLocale = locales[index]\n\n  // Remove the `/${locale}` part of the pathname.\n  pathname = pathname.slice(detectedLocale.length + 1) || '/'\n\n  return { pathname, detectedLocale }\n}\n","import { normalizeAppPath } from './app-paths'\n\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n  '(..)(..)',\n  '(.)',\n  '(..)',\n  '(...)',\n] as const\n\nexport type InterceptionMarker = (typeof INTERCEPTION_ROUTE_MARKERS)[number]\n\nexport function isInterceptionRouteAppPath(path: string): boolean {\n  // TODO-APP: add more serious validation\n  return (\n    path\n      .split('/')\n      .find((segment) =>\n        INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n      ) !== undefined\n  )\n}\n\ntype InterceptionRouteInformation = {\n  /**\n   * The intercepting route. This is the route that is being intercepted or the\n   * route that the user was coming from. This is matched by the Next-Url\n   * header.\n   */\n  interceptingRoute: string\n\n  /**\n   * The intercepted route. This is the route that is being intercepted or the\n   * route that the user is going to. This is matched by the request pathname.\n   */\n  interceptedRoute: string\n}\n\nexport function extractInterceptionRouteInformation(\n  path: string\n): InterceptionRouteInformation {\n  let interceptingRoute: string | undefined\n  let marker: (typeof INTERCEPTION_ROUTE_MARKERS)[number] | undefined\n  let interceptedRoute: string | undefined\n\n  for (const segment of path.split('/')) {\n    marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n    if (marker) {\n      ;[interceptingRoute, interceptedRoute] = path.split(marker, 2)\n      break\n    }\n  }\n\n  if (!interceptingRoute || !marker || !interceptedRoute) {\n    throw new Error(\n      `Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`\n    )\n  }\n\n  interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n\n  switch (marker) {\n    case '(.)':\n      // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n      if (interceptingRoute === '/') {\n        interceptedRoute = `/${interceptedRoute}`\n      } else {\n        interceptedRoute = interceptingRoute + '/' + interceptedRoute\n      }\n      break\n    case '(..)':\n      // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n      if (interceptingRoute === '/') {\n        throw new Error(\n          `Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`\n        )\n      }\n      interceptedRoute = interceptingRoute\n        .split('/')\n        .slice(0, -1)\n        .concat(interceptedRoute)\n        .join('/')\n      break\n    case '(...)':\n      // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n      interceptedRoute = '/' + interceptedRoute\n      break\n    case '(..)(..)':\n      // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n\n      const splitInterceptingRoute = interceptingRoute.split('/')\n      if (splitInterceptingRoute.length <= 2) {\n        throw new Error(\n          `Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`\n        )\n      }\n\n      interceptedRoute = splitInterceptingRoute\n        .slice(0, -2)\n        .concat(interceptedRoute)\n        .join('/')\n      break\n    default:\n      throw new Error('Invariant: unexpected marker')\n  }\n\n  return { interceptingRoute, interceptedRoute }\n}\n","import {\n  extractInterceptionRouteInformation,\n  isInterceptionRouteAppPath,\n} from './interception-routes'\n\n// Identify /.*[param].*/ in route string\nconst TEST_ROUTE = /\\/[^/]*\\[[^/]+\\][^/]*(?=\\/|$)/\n\n// Identify /[param]/ in route string\nconst TEST_STRICT_ROUTE = /\\/\\[[^/]+\\](?=\\/|$)/\n\n/**\n * Check if a route is dynamic.\n *\n * @param route - The route to check.\n * @param strict - Whether to use strict mode which prohibits segments with prefixes/suffixes (default: true).\n * @returns Whether the route is dynamic.\n */\nexport function isDynamicRoute(route: string, strict: boolean = true): boolean {\n  if (isInterceptionRouteAppPath(route)) {\n    route = extractInterceptionRouteInformation(route).interceptedRoute\n  }\n\n  if (strict) {\n    return TEST_STRICT_ROUTE.test(route)\n  }\n\n  return TEST_ROUTE.test(route)\n}\n","import type { HtmlProps } from './html-context.shared-runtime'\nimport type { ComponentType, JSX } from 'react'\nimport type { DomainLocale } from '../../server/config'\nimport type { Env } from '@next/env'\nimport type { IncomingMessage, ServerResponse } from 'http'\nimport type { NextRouter } from './router/router'\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { PreviewData } from '../../types'\nimport type { COMPILER_NAMES } from './constants'\nimport type fs from 'fs'\n\nexport type NextComponentType<\n  Context extends BaseContext = NextPageContext,\n  InitialProps = {},\n  Props = {},\n> = ComponentType<Props> & {\n  /**\n   * Used for initial page load data population. Data returned from `getInitialProps` is serialized when server rendered.\n   * Make sure to return plain `Object` without using `Date`, `Map`, `Set`.\n   * @param context Context of `page`\n   */\n  getInitialProps?(context: Context): InitialProps | Promise<InitialProps>\n}\n\nexport type DocumentType = NextComponentType<\n  DocumentContext,\n  DocumentInitialProps,\n  DocumentProps\n>\n\nexport type AppType<P = {}> = NextComponentType<\n  AppContextType,\n  P,\n  AppPropsType<any, P>\n>\n\nexport type AppTreeType = ComponentType<\n  AppInitialProps & { [name: string]: any }\n>\n\n/**\n * Web vitals provided to _app.reportWebVitals by Core Web Vitals plugin developed by Google Chrome team.\n * https://nextjs.org/blog/next-9-4#integrated-web-vitals-reporting\n */\nexport const WEB_VITALS = ['CLS', 'FCP', 'FID', 'INP', 'LCP', 'TTFB'] as const\nexport type NextWebVitalsMetric = {\n  id: string\n  startTime: number\n  value: number\n  attribution?: { [key: string]: unknown }\n} & (\n  | {\n      label: 'web-vital'\n      name: (typeof WEB_VITALS)[number]\n    }\n  | {\n      label: 'custom'\n      name:\n        | 'Next.js-hydration'\n        | 'Next.js-route-change-to-render'\n        | 'Next.js-render'\n    }\n)\n\nexport type Enhancer<C> = (Component: C) => C\n\nexport type ComponentsEnhancer =\n  | {\n      enhanceApp?: Enhancer<AppType>\n      enhanceComponent?: Enhancer<NextComponentType>\n    }\n  | Enhancer<NextComponentType>\n\nexport type RenderPageResult = {\n  html: string\n  head?: Array<JSX.Element | null>\n}\n\nexport type RenderPage = (\n  options?: ComponentsEnhancer\n) => DocumentInitialProps | Promise<DocumentInitialProps>\n\nexport type BaseContext = {\n  res?: ServerResponse\n  [k: string]: any\n}\n\nexport type NEXT_DATA = {\n  props: Record<string, any>\n  page: string\n  query: ParsedUrlQuery\n  buildId: string\n  assetPrefix?: string\n  nextExport?: boolean\n  autoExport?: boolean\n  isFallback?: boolean\n  isExperimentalCompile?: boolean\n  dynamicIds?: (string | number)[]\n  err?: Error & {\n    statusCode?: number\n    source?: typeof COMPILER_NAMES.server | typeof COMPILER_NAMES.edgeServer\n    __NEXT_ERROR_CODE?: string\n  }\n  gsp?: boolean\n  gssp?: boolean\n  customServer?: boolean\n  gip?: boolean\n  appGip?: boolean\n  locale?: string\n  locales?: readonly string[]\n  defaultLocale?: string\n  domainLocales?: readonly DomainLocale[]\n  scriptLoader?: any[]\n  isPreview?: boolean\n  notFoundSrcPage?: string\n}\n\n/**\n * `Next` context\n */\nexport interface NextPageContext {\n  /**\n   * Error object if encountered during rendering\n   */\n  err?: (Error & { statusCode?: number }) | null\n  /**\n   * `HTTP` request object.\n   */\n  req?: IncomingMessage\n  /**\n   * `HTTP` response object.\n   */\n  res?: ServerResponse\n  /**\n   * Path section of `URL`.\n   */\n  pathname: string\n  /**\n   * Query string section of `URL` parsed as an object.\n   */\n  query: ParsedUrlQuery\n  /**\n   * `String` of the actual path including query.\n   */\n  asPath?: string\n  /**\n   * The currently active locale\n   */\n  locale?: string\n  /**\n   * All configured locales\n   */\n  locales?: readonly string[]\n  /**\n   * The configured default locale\n   */\n  defaultLocale?: string\n  /**\n   * `Component` the tree of the App to use if needing to render separately\n   */\n  AppTree: AppTreeType\n}\n\nexport type AppContextType<Router extends NextRouter = NextRouter> = {\n  Component: NextComponentType<NextPageContext>\n  AppTree: AppTreeType\n  ctx: NextPageContext\n  router: Router\n}\n\nexport type AppInitialProps<PageProps = any> = {\n  pageProps: PageProps\n}\n\nexport type AppPropsType<\n  Router extends NextRouter = NextRouter,\n  PageProps = {},\n> = AppInitialProps<PageProps> & {\n  Component: NextComponentType<NextPageContext, any, any>\n  router: Router\n  __N_SSG?: boolean\n  __N_SSP?: boolean\n}\n\nexport type DocumentContext = NextPageContext & {\n  renderPage: RenderPage\n  defaultGetInitialProps(\n    ctx: DocumentContext,\n    options?: { nonce?: string }\n  ): Promise<DocumentInitialProps>\n}\n\nexport type DocumentInitialProps = RenderPageResult & {\n  styles?: React.ReactElement[] | Iterable<React.ReactNode> | JSX.Element\n}\n\nexport type DocumentProps = DocumentInitialProps & HtmlProps\n\n/**\n * Next `API` route request\n */\nexport interface NextApiRequest extends IncomingMessage {\n  /**\n   * Object of `query` values from url\n   */\n  query: Partial<{\n    [key: string]: string | string[]\n  }>\n  /**\n   * Object of `cookies` from header\n   */\n  cookies: Partial<{\n    [key: string]: string\n  }>\n\n  body: any\n\n  env: Env\n\n  draftMode?: boolean\n\n  preview?: boolean\n  /**\n   * Preview data set on the request, if any\n   * */\n  previewData?: PreviewData\n}\n\n/**\n * Send body of response\n */\ntype Send<T> = (body: T) => void\n\n/**\n * Next `API` route response\n */\nexport type NextApiResponse<Data = any> = ServerResponse & {\n  /**\n   * Send data `any` data in response\n   */\n  send: Send<Data>\n  /**\n   * Send data `json` data in response\n   */\n  json: Send<Data>\n  status: (statusCode: number) => NextApiResponse<Data>\n  redirect(url: string): NextApiResponse<Data>\n  redirect(status: number, url: string): NextApiResponse<Data>\n\n  /**\n   * Set draft mode\n   */\n  setDraftMode: (options: { enable: boolean }) => NextApiResponse<Data>\n\n  /**\n   * Set preview data for Next.js' prerender mode\n   */\n  setPreviewData: (\n    data: object | string,\n    options?: {\n      /**\n       * Specifies the number (in seconds) for the preview session to last for.\n       * The given number will be converted to an integer by rounding down.\n       * By default, no maximum age is set and the preview session finishes\n       * when the client shuts down (browser is closed).\n       */\n      maxAge?: number\n      /**\n       * Specifies the path for the preview session to work under. By default,\n       * the path is considered the \"default path\", i.e., any pages under \"/\".\n       */\n      path?: string\n    }\n  ) => NextApiResponse<Data>\n\n  /**\n   * Clear preview data for Next.js' prerender mode\n   */\n  clearPreviewData: (options?: { path?: string }) => NextApiResponse<Data>\n\n  /**\n   * Revalidate a specific page and regenerate it using On-Demand Incremental\n   * Static Regeneration.\n   * The path should be an actual path, not a rewritten path. E.g. for\n   * \"/blog/[slug]\" this should be \"/blog/post-1\".\n   * @link https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration#on-demand-revalidation-with-revalidatepath\n   */\n  revalidate: (\n    urlPath: string,\n    opts?: {\n      unstable_onlyGenerated?: boolean\n    }\n  ) => Promise<void>\n}\n\n/**\n * Next `API` route handler\n */\nexport type NextApiHandler<T = any> = (\n  req: NextApiRequest,\n  res: NextApiResponse<T>\n) => unknown | Promise<unknown>\n\n/**\n * Utils\n */\nexport function execOnce<T extends (...args: any[]) => ReturnType<T>>(\n  fn: T\n): T {\n  let used = false\n  let result: ReturnType<T>\n\n  return ((...args: any[]) => {\n    if (!used) {\n      used = true\n      result = fn(...args)\n    }\n    return result\n  }) as T\n}\n\n// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1\n// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\nconst ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\\d+\\-.]*?:/\nexport const isAbsoluteUrl = (url: string) => {\n  // Fast path: an absolute URL must start with a letter (the scheme).\n  // Check for a-z and A-Z without the cost of the regex.\n  const c = url.charCodeAt(0)\n  const isLetter =\n    (c >= 65 /* A */ && c <= 90) /* Z */ ||\n    (c >= 97 /* a */ && c <= 122) /* z */\n  if (!isLetter) {\n    return false\n  }\n\n  return ABSOLUTE_URL_REGEX.test(url)\n}\n\nexport function getLocationOrigin() {\n  const { protocol, hostname, port } = window.location\n  return `${protocol}//${hostname}${port ? ':' + port : ''}`\n}\n\nexport function getURL() {\n  const { href } = window.location\n  const origin = getLocationOrigin()\n  return href.substring(origin.length)\n}\n\nexport function getDisplayName<P>(Component: ComponentType<P>) {\n  return typeof Component === 'string'\n    ? Component\n    : Component.displayName || Component.name || 'Unknown'\n}\n\nexport function isResSent(res: ServerResponse) {\n  return res.finished || res.headersSent\n}\n\nexport function normalizeRepeatedSlashes(url: string) {\n  const urlParts = url.split('?')\n  const urlNoQuery = urlParts[0]\n\n  return (\n    urlNoQuery\n      // first we replace any non-encoded backslashes with forward\n      // then normalize repeated forward slashes\n      .replace(/\\\\/g, '/')\n      .replace(/\\/\\/+/g, '/') +\n    (urlParts[1] ? `?${urlParts.slice(1).join('?')}` : '')\n  )\n}\n\nexport async function loadGetInitialProps<\n  C extends BaseContext,\n  IP = {},\n  P = {},\n>(App: NextComponentType<C, IP, P>, ctx: C): Promise<IP> {\n  if (process.env.NODE_ENV !== 'production') {\n    if (App.prototype?.getInitialProps) {\n      const message = `\"${getDisplayName(\n        App\n      )}.getInitialProps()\" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`\n      throw new Error(message)\n    }\n  }\n  // when called from _app `ctx` is nested in `ctx`\n  const res = ctx.res || (ctx.ctx && ctx.ctx.res)\n\n  if (!App.getInitialProps) {\n    if (ctx.ctx && ctx.Component) {\n      // @ts-ignore pageProps default\n      return {\n        pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx),\n      }\n    }\n    return {} as IP\n  }\n\n  const props = await App.getInitialProps(ctx)\n\n  if (res && isResSent(res)) {\n    return props\n  }\n\n  if (!props) {\n    const message = `\"${getDisplayName(\n      App\n    )}.getInitialProps()\" should resolve to an object. But found \"${props}\" instead.`\n    throw new Error(message)\n  }\n\n  if (process.env.NODE_ENV !== 'production') {\n    if (Object.keys(props).length === 0 && !ctx.ctx) {\n      console.warn(\n        `${getDisplayName(\n          App\n        )} returned an empty object from \\`getInitialProps\\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`\n      )\n    }\n  }\n\n  return props\n}\n\nexport const SP = typeof performance !== 'undefined'\nexport const ST =\n  SP &&\n  (['mark', 'measure', 'getEntriesByName'] as const).every(\n    (method) => typeof performance[method] === 'function'\n  )\n\nexport class DecodeError extends Error {}\nexport class NormalizeError extends Error {}\nexport class PageNotFoundError extends Error {\n  code: string\n\n  constructor(page: string) {\n    super()\n    this.code = 'ENOENT'\n    this.name = 'PageNotFoundError'\n    this.message = `Cannot find module for page: ${page}`\n  }\n}\n\nexport class MissingStaticPage extends Error {\n  constructor(page: string, message: string) {\n    super()\n    this.message = `Failed to load static file for page: ${page} ${message}`\n  }\n}\n\nexport class MiddlewareNotFoundError extends Error {\n  code: string\n  constructor() {\n    super()\n    this.code = 'ENOENT'\n    this.message = `Cannot find the middleware module`\n  }\n}\n\nexport interface CacheFs {\n  existsSync: typeof fs.existsSync\n  readFile: typeof fs.promises.readFile\n  readFileSync: typeof fs.readFileSync\n  writeFile(f: string, d: any): Promise<void>\n  mkdir(dir: string): Promise<void | string>\n  stat(f: string): Promise<{ mtime: Date }>\n}\n\nexport function stringifyError(error: Error) {\n  return JSON.stringify({ message: error.message, stack: error.stack })\n}\n","/**\n * For a given page path, this function ensures that there is no backslash\n * escaping slashes in the path. Example:\n *  - `foo\\/bar\\/baz` -> `foo/bar/baz`\n */\nexport function normalizePathSep(path: string): string {\n  return path.replace(/\\\\/g, '/')\n}\n","import path from 'path'\nimport {\n  PAGES_MANIFEST,\n  SERVER_DIRECTORY,\n  APP_PATHS_MANIFEST,\n} from '../shared/lib/constants'\nimport { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path'\nimport { normalizePagePath } from '../shared/lib/page-path/normalize-page-path'\nimport { denormalizePagePath } from '../shared/lib/page-path/denormalize-page-path'\nimport type { PagesManifest } from '../build/webpack/plugins/pages-manifest-plugin'\nimport { PageNotFoundError, MissingStaticPage } from '../shared/lib/utils'\nimport { LRUCache } from '../server/lib/lru-cache'\nimport { loadManifest } from './load-manifest.external'\nimport { promises } from 'fs'\n\nconst isDev = process.env.NODE_ENV === 'development'\nconst pagePathCache = !isDev ? new LRUCache<string | null>(1000) : null\n\nexport function getMaybePagePath(\n  page: string,\n  distDir: string,\n  locales: readonly string[] | undefined,\n  isAppPath: boolean\n): string | null {\n  const cacheKey = `${page}:${distDir}:${locales}:${isAppPath}`\n\n  let pagePath = pagePathCache?.get(cacheKey)\n\n  // If we have a cached path, we can return it directly.\n  if (pagePath) return pagePath\n\n  const serverBuildPath = path.join(\n    /* turbopackIgnore: true */ distDir,\n    SERVER_DIRECTORY\n  )\n  let appPathsManifest: undefined | PagesManifest\n\n  if (isAppPath) {\n    appPathsManifest = loadManifest(\n      path.join(\n        /* turbopackIgnore: true */ serverBuildPath,\n        APP_PATHS_MANIFEST\n      ),\n      !isDev\n    ) as PagesManifest\n  }\n  const pagesManifest = loadManifest(\n    path.join(/* turbopackIgnore: true */ serverBuildPath, PAGES_MANIFEST),\n    !isDev\n  ) as PagesManifest\n\n  try {\n    page = denormalizePagePath(normalizePagePath(page))\n  } catch (err) {\n    console.error(err)\n    throw new PageNotFoundError(page)\n  }\n\n  const checkManifest = (manifest: PagesManifest) => {\n    let curPath = manifest[page]\n\n    if (!manifest[curPath] && locales) {\n      const manifestNoLocales: typeof pagesManifest = {}\n\n      for (const key of Object.keys(manifest)) {\n        manifestNoLocales[normalizeLocalePath(key, locales).pathname] =\n          pagesManifest[key]\n      }\n      curPath = manifestNoLocales[page]\n    }\n    return curPath\n  }\n\n  if (appPathsManifest) {\n    pagePath = checkManifest(appPathsManifest)\n  }\n\n  if (!pagePath) {\n    pagePath = checkManifest(pagesManifest)\n  }\n\n  if (!pagePath) {\n    pagePathCache?.set(cacheKey, null)\n    return null\n  }\n\n  // Handle absolute paths (e.g., built-in components)\n  if (path.isAbsolute(pagePath)) {\n    // Use the absolute path as-is\n    pagePathCache?.set(cacheKey, pagePath)\n    return pagePath\n  }\n\n  pagePath = path.join(/* turbopackIgnore: true */ serverBuildPath, pagePath)\n\n  pagePathCache?.set(cacheKey, pagePath)\n  return pagePath\n}\n\nexport function getPagePath(\n  page: string,\n  distDir: string,\n  locales: string[] | undefined,\n  isAppPath: boolean\n): string {\n  const pagePath = getMaybePagePath(page, distDir, locales, isAppPath)\n\n  if (!pagePath) {\n    throw new PageNotFoundError(page)\n  }\n\n  return pagePath\n}\n\nexport async function requirePage(\n  page: string,\n  distDir: string,\n  isAppPath: boolean\n): Promise<any> {\n  const pagePath = getPagePath(page, distDir, undefined, isAppPath)\n  if (pagePath.endsWith('.html')) {\n    return promises\n      .readFile(/* turbopackIgnore: true */ pagePath, 'utf8')\n      .catch((err) => {\n        throw new MissingStaticPage(page, err.message)\n      })\n  }\n\n  const mod = process.env.NEXT_MINIMAL\n    ? // @ts-ignore\n      __non_webpack_require__(pagePath)\n    : require(/* turbopackIgnore: true */ pagePath)\n  return mod\n}\n","import { isDynamicRoute } from '../router/utils'\nimport { normalizePathSep } from './normalize-path-sep'\n\n/**\n * Performs the opposite transformation of `normalizePagePath`. Note that\n * this function is not idempotent either in cases where there are multiple\n * leading `/index` for the page. Examples:\n *  - `/index` -> `/`\n *  - `/index/foo` -> `/foo`\n *  - `/index/index` -> `/index`\n */\nexport function denormalizePagePath(page: string) {\n  let _page = normalizePathSep(page)\n  return _page.startsWith('/index/') && !isDynamicRoute(_page)\n    ? _page.slice(6)\n    : _page !== '/index'\n      ? _page\n      : '/'\n}\n","import { ensureLeadingSlash } from './ensure-leading-slash'\nimport { isDynamicRoute } from '../router/utils'\nimport { NormalizeError } from '../utils'\n\n/**\n * Takes a page and transforms it into its file counterpart ensuring that the\n * output is normalized. Note this function is not idempotent because a page\n * `/index` can be referencing `/index/index.js` and `/index/index` could be\n * referencing `/index/index/index.js`. Examples:\n *  - `/` -> `/index`\n *  - `/index/foo` -> `/index/index/foo`\n *  - `/index` -> `/index/index`\n */\nexport function normalizePagePath(page: string): string {\n  const normalized =\n    /^\\/index(\\/|$)/.test(page) && !isDynamicRoute(page)\n      ? `/index${page}`\n      : page === '/'\n        ? '/index'\n        : ensureLeadingSlash(page)\n\n  if (process.env.NEXT_RUNTIME !== 'edge') {\n    const { posix } = require('path') as typeof import('path')\n    const resolvedPage = posix.normalize(normalized)\n    if (resolvedPage !== normalized) {\n      throw new NormalizeError(\n        `Requested and resolved page mismatch: ${normalized} ${resolvedPage}`\n      )\n    }\n  }\n\n  return normalized\n}\n","export function interopDefault<T>(mod: { default: T } | T): T {\n  // @ts-ignore\n  return mod.default || mod\n}\n","/**\n * Wait for a given number of milliseconds and then resolve.\n *\n * @param ms the number of milliseconds to wait\n */\nexport async function wait(ms: number) {\n  return new Promise((resolve) => setTimeout(resolve, ms))\n}\n","import type { PageExtensions } from '../../build/page-extensions-type'\nimport { normalizePathSep } from '../../shared/lib/page-path/normalize-path-sep'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { isAppRouteRoute } from '../is-app-route-route'\n\nexport const STATIC_METADATA_IMAGES = {\n  icon: {\n    filename: 'icon',\n    extensions: ['ico', 'jpg', 'jpeg', 'png', 'svg'],\n  },\n  apple: {\n    filename: 'apple-icon',\n    extensions: ['jpg', 'jpeg', 'png'],\n  },\n  favicon: {\n    filename: 'favicon',\n    extensions: ['ico'],\n  },\n  openGraph: {\n    filename: 'opengraph-image',\n    extensions: ['jpg', 'jpeg', 'png', 'gif'],\n  },\n  twitter: {\n    filename: 'twitter-image',\n    extensions: ['jpg', 'jpeg', 'png', 'gif'],\n  },\n} as const\n\n// Match routes that are metadata routes, e.g. /sitemap.xml, /favicon.<ext>, /<icon>.<ext>, etc.\n// TODO-METADATA: support more metadata routes with more extensions\nexport const DEFAULT_METADATA_ROUTE_EXTENSIONS = ['js', 'jsx', 'ts', 'tsx']\n\n// Match the file extension with the dynamic multi-routes extensions\n// e.g. ([xml, js], null) -> can match `/sitemap.xml/route`, `sitemap.js/route`\n// e.g. ([png], [ts]) -> can match `/opengraph-image.png`, `/opengraph-image.ts`\nexport const getExtensionRegexString = (\n  staticExtensions: readonly string[],\n  dynamicExtensions: readonly string[] | null\n) => {\n  let result: string\n  // If there's no possible multi dynamic routes, will not match any <name>[].<ext> files\n  if (!dynamicExtensions || dynamicExtensions.length === 0) {\n    result = `(\\\\.(?:${staticExtensions.join('|')}))`\n  } else {\n    result = `(?:\\\\.(${staticExtensions.join('|')})|(\\\\.(${dynamicExtensions.join('|')})))`\n  }\n  return result\n}\n\n/**\n * Matches the static metadata files, e.g. /robots.txt, /sitemap.xml, /favicon.ico, etc.\n * @param appDirRelativePath the relative file path to app/\n * @returns if the path is a static metadata file route\n */\nexport function isStaticMetadataFile(appDirRelativePath: string) {\n  return isMetadataRouteFile(appDirRelativePath, [], true)\n}\n\n// Pre-compiled static regexes for common cases\nconst FAVICON_REGEX = /^[\\\\/]favicon\\.ico$/\nconst ROBOTS_TXT_REGEX = /^[\\\\/]robots\\.txt$/\nconst MANIFEST_JSON_REGEX = /^[\\\\/]manifest\\.json$/\nconst MANIFEST_WEBMANIFEST_REGEX = /^[\\\\/]manifest\\.webmanifest$/\nconst SITEMAP_XML_REGEX = /[\\\\/]sitemap\\.xml$/\n\n// Cache for compiled regex patterns based on parameters\nconst compiledRegexCache = new Map<string, RegExp[]>()\n\n// Fast path checks for common metadata files\nfunction fastPathCheck(normalizedPath: string): boolean | null {\n  // Check favicon.ico first (most common)\n  if (FAVICON_REGEX.test(normalizedPath)) return true\n\n  // Check other common static files\n  if (ROBOTS_TXT_REGEX.test(normalizedPath)) return true\n  if (MANIFEST_JSON_REGEX.test(normalizedPath)) return true\n  if (MANIFEST_WEBMANIFEST_REGEX.test(normalizedPath)) return true\n  if (SITEMAP_XML_REGEX.test(normalizedPath)) return true\n\n  // Quick negative check - if it doesn't contain any metadata keywords, skip\n  if (\n    !normalizedPath.includes('robots') &&\n    !normalizedPath.includes('manifest') &&\n    !normalizedPath.includes('sitemap') &&\n    !normalizedPath.includes('icon') &&\n    !normalizedPath.includes('apple-icon') &&\n    !normalizedPath.includes('opengraph-image') &&\n    !normalizedPath.includes('twitter-image') &&\n    !normalizedPath.includes('favicon')\n  ) {\n    return false\n  }\n\n  return null // Continue with full regex matching\n}\n\nfunction getCompiledRegexes(\n  pageExtensions: PageExtensions,\n  strictlyMatchExtensions: boolean\n): RegExp[] {\n  // Create cache key\n  const cacheKey = `${pageExtensions.join(',')}|${strictlyMatchExtensions}`\n\n  const cached = compiledRegexCache.get(cacheKey)\n  if (cached) {\n    return cached\n  }\n\n  // Pre-compute common strings\n  const trailingMatcher = strictlyMatchExtensions ? '$' : '?$'\n  const variantsMatcher = '\\\\d?'\n  const groupSuffix = strictlyMatchExtensions ? '' : '(-\\\\w{6})?'\n  const suffixMatcher = variantsMatcher + groupSuffix\n\n  // Pre-compute extension arrays to avoid repeated concatenation\n  const robotsExts =\n    pageExtensions.length > 0 ? [...pageExtensions, 'txt'] : ['txt']\n  const manifestExts =\n    pageExtensions.length > 0\n      ? [...pageExtensions, 'webmanifest', 'json']\n      : ['webmanifest', 'json']\n\n  const regexes = [\n    new RegExp(\n      `^[\\\\\\\\/]robots${getExtensionRegexString(robotsExts, null)}${trailingMatcher}`\n    ),\n    new RegExp(\n      `^[\\\\\\\\/]manifest${getExtensionRegexString(manifestExts, null)}${trailingMatcher}`\n    ),\n    // FAVICON_REGEX removed - already handled in fastPathCheck\n    new RegExp(\n      `[\\\\\\\\/]sitemap${getExtensionRegexString(['xml'], pageExtensions)}${trailingMatcher}`\n    ),\n    new RegExp(\n      `[\\\\\\\\/]icon${suffixMatcher}${getExtensionRegexString(\n        STATIC_METADATA_IMAGES.icon.extensions,\n        pageExtensions\n      )}${trailingMatcher}`\n    ),\n    new RegExp(\n      `[\\\\\\\\/]apple-icon${suffixMatcher}${getExtensionRegexString(\n        STATIC_METADATA_IMAGES.apple.extensions,\n        pageExtensions\n      )}${trailingMatcher}`\n    ),\n    new RegExp(\n      `[\\\\\\\\/]opengraph-image${suffixMatcher}${getExtensionRegexString(\n        STATIC_METADATA_IMAGES.openGraph.extensions,\n        pageExtensions\n      )}${trailingMatcher}`\n    ),\n    new RegExp(\n      `[\\\\\\\\/]twitter-image${suffixMatcher}${getExtensionRegexString(\n        STATIC_METADATA_IMAGES.twitter.extensions,\n        pageExtensions\n      )}${trailingMatcher}`\n    ),\n  ]\n\n  compiledRegexCache.set(cacheKey, regexes)\n  return regexes\n}\n\n/**\n * Determine if the file is a metadata route file entry\n * @param appDirRelativePath the relative file path to app/\n * @param pageExtensions the js extensions, such as ['js', 'jsx', 'ts', 'tsx']\n * @param strictlyMatchExtensions if it's true, match the file with page extension, otherwise match the file with default corresponding extension\n * @returns if the file is a metadata route file\n */\nexport function isMetadataRouteFile(\n  appDirRelativePath: string,\n  pageExtensions: PageExtensions,\n  strictlyMatchExtensions: boolean\n): boolean {\n  // Early exit for empty or obviously non-metadata paths\n  if (!appDirRelativePath || appDirRelativePath.length < 2) {\n    return false\n  }\n\n  const normalizedPath = normalizePathSep(appDirRelativePath)\n\n  // Fast path check for common cases\n  const fastResult = fastPathCheck(normalizedPath)\n  if (fastResult !== null) {\n    return fastResult\n  }\n\n  // Get compiled regexes from cache\n  const regexes = getCompiledRegexes(pageExtensions, strictlyMatchExtensions)\n\n  // Use for loop instead of .some() for better performance\n  for (let i = 0; i < regexes.length; i++) {\n    if (regexes[i].test(normalizedPath)) {\n      return true\n    }\n  }\n\n  return false\n}\n\n// Check if the route is a static metadata route, with /route suffix\n// e.g. /favicon.ico/route, /icon.png/route, etc.\n// But skip the text routes like robots.txt since they might also be dynamic.\n// Checking route path is not enough to determine if text routes is dynamic.\nexport function isStaticMetadataRoute(route: string) {\n  // extract ext with regex\n  const pathname = route.replace(/\\/route$/, '')\n\n  const matched =\n    isAppRouteRoute(route) &&\n    isMetadataRouteFile(pathname, [], true) &&\n    // These routes can either be built by static or dynamic entrypoints,\n    // so we assume they're dynamic\n    pathname !== '/robots.txt' &&\n    pathname !== '/manifest.webmanifest' &&\n    !pathname.endsWith('/sitemap.xml')\n\n  return matched\n}\n\n/**\n * Determine if a page or pathname is a metadata page.\n *\n * The input is a page or pathname, which can be with or without page suffix /foo/page or /foo.\n * But it will not contain the /route suffix.\n *\n * .e.g\n * /robots -> true\n * /sitemap -> true\n * /foo -> false\n */\nexport function isMetadataPage(page: string) {\n  const matched = !isAppRouteRoute(page) && isMetadataRouteFile(page, [], false)\n\n  return matched\n}\n\n/*\n * Determine if a Next.js route is a metadata route.\n * `route` will has a route suffix.\n *\n * e.g.\n * /app/robots/route -> true\n * /robots/route -> true\n * /sitemap/[__metadata_id__]/route -> true\n * /app/sitemap/page -> false\n * /icon-a102f4/route -> true\n */\nexport function isMetadataRoute(route: string): boolean {\n  let page = normalizeAppPath(route)\n    .replace(/^\\/?app\\//, '')\n    // Remove the dynamic route id\n    .replace('/[__metadata_id__]', '')\n    // Remove the /route suffix\n    .replace(/\\/route$/, '')\n\n  if (page[0] !== '/') page = '/' + page\n\n  const matched = isAppRouteRoute(route) && isMetadataRouteFile(page, [], false)\n\n  return matched\n}\n","import type { IncomingMessage, ServerResponse } from 'node:http'\nimport type {\n  AppType,\n  DocumentType,\n  NextComponentType,\n} from '../shared/lib/utils'\nimport type { ClientReferenceManifest } from '../build/webpack/plugins/flight-manifest-plugin'\nimport type {\n  PageConfig,\n  GetStaticPaths,\n  GetServerSideProps,\n  GetStaticProps,\n} from '../types'\nimport type { RouteModule } from './route-modules/route-module'\nimport type { BuildManifest } from './get-page-files'\nimport type { ActionManifest } from '../build/webpack/plugins/flight-client-entry-plugin'\n\nimport {\n  BUILD_MANIFEST,\n  REACT_LOADABLE_MANIFEST,\n  CLIENT_REFERENCE_MANIFEST,\n  SERVER_REFERENCE_MANIFEST,\n  DYNAMIC_CSS_MANIFEST,\n  SUBRESOURCE_INTEGRITY_MANIFEST,\n} from '../shared/lib/constants'\nimport { join } from 'path'\nimport { requirePage } from './require'\nimport { interopDefault } from '../lib/interop-default'\nimport { getTracer } from './lib/trace/tracer'\nimport { LoadComponentsSpan } from './lib/trace/constants'\nimport { evalManifest, loadManifest } from './load-manifest.external'\nimport { wait } from '../lib/wait'\nimport { setManifestsSingleton } from './app-render/manifests-singleton'\nimport type { DeepReadonly } from '../shared/lib/deep-readonly'\nimport { normalizePagePath } from '../shared/lib/page-path/normalize-page-path'\nimport { isStaticMetadataRoute } from '../lib/metadata/is-metadata-route'\n\nexport type ManifestItem = {\n  id: number | string\n  files: string[]\n}\n\nexport type ReactLoadableManifest = { [moduleId: string]: ManifestItem }\n/**\n * This manifest prevents removing server rendered <link> tags after client\n * navigation. This is only needed under `Pages dir && Production && Webpack`.\n * @see https://github.com/vercel/next.js/pull/72959\n */\nexport type DynamicCssManifest = string[]\n\n/**\n * A manifest entry type for the react-loadable-manifest.json.\n *\n * The whole manifest.json is a type of `Record<pathname, LoadableManifest>`\n * where pathname is a string-based key points to the path of the page contains\n * each dynamic imports.\n */\nexport interface LoadableManifest {\n  [k: string]: { id: string | number; files: string[] }\n}\n\nexport type GenericComponentMod = {\n  handler(\n    req: IncomingMessage,\n    res: ServerResponse,\n    ctx: {\n      waitUntil?: (prom: Promise<void>) => void\n    }\n  ): Promise<void | null>\n}\n\nexport type LoadComponentsReturnType<\n  NextModule extends GenericComponentMod = GenericComponentMod,\n> = {\n  Component: NextComponentType\n  pageConfig: PageConfig\n  buildManifest: DeepReadonly<BuildManifest>\n  subresourceIntegrityManifest?: DeepReadonly<Record<string, string>>\n  reactLoadableManifest: DeepReadonly<ReactLoadableManifest>\n  dynamicCssManifest?: DeepReadonly<DynamicCssManifest>\n  Document: DocumentType\n  App: AppType\n  getStaticProps?: GetStaticProps\n  getStaticPaths?: GetStaticPaths\n  getServerSideProps?: GetServerSideProps\n  ComponentMod: NextModule\n  routeModule: RouteModule\n  isAppPath?: boolean\n  page: string\n  multiZoneDraftMode?: boolean\n}\n\n/**\n * Load manifest file with retries, defaults to 3 attempts.\n */\nexport async function loadManifestWithRetries<T extends object>(\n  manifestPath: string,\n  attempts = 3\n) {\n  while (true) {\n    try {\n      return loadManifest<T>(manifestPath)\n    } catch (err) {\n      attempts--\n      if (attempts <= 0) throw err\n\n      await wait(100)\n    }\n  }\n}\n\n/**\n * Load manifest file with retries, defaults to 3 attempts, or return undefined.\n */\nexport async function tryLoadManifestWithRetries<T extends object>(\n  manifestPath: string,\n  attempts = 3\n) {\n  try {\n    return await loadManifestWithRetries<T>(manifestPath, attempts)\n  } catch (err) {\n    return undefined\n  }\n}\n\n/**\n * Load manifest file with retries, defaults to 3 attempts.\n */\nexport async function evalManifestWithRetries<T extends object>(\n  manifestPath: string,\n  attempts = 3\n) {\n  while (true) {\n    try {\n      return evalManifest<T>(manifestPath)\n    } catch (err) {\n      attempts--\n      if (attempts <= 0) throw err\n\n      await wait(100)\n    }\n  }\n}\n\n/**\n * Loads the client reference manifest that the bundler emitted for an app page,\n * or returns undefined if there is none. Both the manifest file and the entry\n * inside it are addressed by the page with `%5F` decoded back to `_`, so\n * callers pass the page as-is and this resolves both.\n */\nexport async function loadClientReferenceManifestForPage(\n  distDir: string,\n  page: string,\n  attempts?: number\n): Promise<DeepReadonly<ClientReferenceManifest> | undefined> {\n  const entryName = page.replace(/%5F/g, '_')\n\n  const manifestPath = join(\n    /* turbopackIgnore: true */ distDir,\n    'server',\n    'app',\n    entryName + '_' + CLIENT_REFERENCE_MANIFEST + '.js'\n  )\n\n  try {\n    const context = await evalManifestWithRetries<{\n      __RSC_MANIFEST: { [key: string]: ClientReferenceManifest }\n    }>(manifestPath, attempts)\n    return context.__RSC_MANIFEST[entryName]\n  } catch (err) {\n    return undefined\n  }\n}\n\nasync function loadComponentsImpl<\n  N extends GenericComponentMod = GenericComponentMod,\n>({\n  distDir,\n  page,\n  isAppPath,\n  isDev,\n  sriEnabled,\n  // When route modules are used, which is the case for the server calls to loadComponents, it no longer needs manifest to be loaded here.\n  // Static generation still needs the manifests to be loaded here.\n  // In the future static generation will also use route modules, and we will remove this flag.\n  needsManifestsForLegacyReasons,\n}: {\n  distDir: string\n  page: string\n  isAppPath: boolean\n  isDev: boolean\n  sriEnabled: boolean\n  needsManifestsForLegacyReasons: boolean\n}): Promise<LoadComponentsReturnType<N>> {\n  let DocumentMod = {}\n  let AppMod = {}\n  if (!isAppPath) {\n    ;[DocumentMod, AppMod] = await Promise.all([\n      requirePage('/_document', distDir, false),\n      requirePage('/_app', distDir, false),\n    ])\n  }\n\n  if (needsManifestsForLegacyReasons) {\n    // In dev mode we retry loading a manifest file to handle a race condition\n    // that can occur while app and pages are compiling at the same time, and the\n    // build-manifest is still being written to disk while an app path is\n    // attempting to load.\n    const manifestLoadAttempts = isDev ? 3 : 1\n\n    let reactLoadableManifestPath: string\n    if (!process.env.TURBOPACK) {\n      reactLoadableManifestPath = join(\n        /* turbopackIgnore: true */ distDir,\n        REACT_LOADABLE_MANIFEST\n      )\n    } else if (isAppPath) {\n      reactLoadableManifestPath = join(\n        /* turbopackIgnore: true */ distDir,\n        'server',\n        'app',\n        page,\n        REACT_LOADABLE_MANIFEST\n      )\n    } else {\n      reactLoadableManifestPath = join(\n        /* turbopackIgnore: true */ distDir,\n        'server',\n        'pages',\n        normalizePagePath(page),\n        REACT_LOADABLE_MANIFEST\n      )\n    }\n\n    // Make sure to avoid loading the manifest for static metadata routes for better performance.\n    const hasClientManifest = !isStaticMetadataRoute(page)\n\n    // Load the manifest files first\n    //\n    // Loading page-specific manifests shouldn't throw an error if the manifest couldn't be found, so\n    // that the `requirePage` call below will throw the correct error in that case\n    // (a `PageNotFoundError`).\n    const [\n      buildManifest,\n      reactLoadableManifest,\n      dynamicCssManifest,\n      clientReferenceManifest,\n      serverActionsManifest,\n      subresourceIntegrityManifest,\n    ] = await Promise.all([\n      loadManifestWithRetries<BuildManifest>(\n        join(/* turbopackIgnore: true */ distDir, BUILD_MANIFEST),\n        manifestLoadAttempts\n      ),\n      tryLoadManifestWithRetries<ReactLoadableManifest>(\n        reactLoadableManifestPath,\n        manifestLoadAttempts\n      ),\n      // This manifest will only exist in Pages dir && Production && Webpack.\n      isAppPath || process.env.TURBOPACK\n        ? undefined\n        : loadManifestWithRetries<DynamicCssManifest>(\n            join(\n              /* turbopackIgnore: true */ distDir,\n              `${DYNAMIC_CSS_MANIFEST}.json`\n            ),\n            manifestLoadAttempts\n          ).catch(() => undefined),\n      isAppPath && hasClientManifest\n        ? loadClientReferenceManifestForPage(\n            distDir,\n            page,\n            manifestLoadAttempts\n          )\n        : undefined,\n      isAppPath\n        ? loadManifestWithRetries<ActionManifest>(\n            join(\n              /* turbopackIgnore: true */ distDir,\n              'server',\n              SERVER_REFERENCE_MANIFEST + '.json'\n            ),\n            manifestLoadAttempts\n          ).catch(() => null)\n        : null,\n      sriEnabled\n        ? loadManifestWithRetries<DeepReadonly<Record<string, string>>>(\n            join(\n              /* turbopackIgnore: true */ distDir,\n              'server',\n              SUBRESOURCE_INTEGRITY_MANIFEST + '.json'\n            )\n          ).catch(() => undefined)\n        : undefined,\n    ])\n\n    // Before requiring the actual page module, we have to set the reference\n    // manifests to our global store so Server Action's encryption util can access\n    // to them at the top level of the page module.\n    if (serverActionsManifest && clientReferenceManifest) {\n      setManifestsSingleton({\n        page,\n        clientReferenceManifest,\n        serverActionsManifest,\n      })\n    }\n\n    const ComponentMod = await requirePage(page, distDir, isAppPath)\n\n    const Component = interopDefault(ComponentMod)\n    const Document = interopDefault(DocumentMod)\n    const App = interopDefault(AppMod)\n\n    const { getServerSideProps, getStaticProps, getStaticPaths, routeModule } =\n      ComponentMod\n\n    return {\n      // @ts-expect-error this is indeed `{} || AppType` and not always `AppType`\n      App,\n      // @ts-expect-error this is indeed `{} || DocumentType` and not always `DocumentType`\n      Document,\n      Component,\n      buildManifest,\n      subresourceIntegrityManifest,\n      reactLoadableManifest: reactLoadableManifest || {},\n      dynamicCssManifest,\n      pageConfig: ComponentMod.config || {},\n      ComponentMod,\n      getServerSideProps,\n      getStaticProps,\n      getStaticPaths,\n      isAppPath,\n      page,\n      routeModule,\n    }\n  } else {\n    const ComponentMod = await requirePage(page, distDir, isAppPath)\n\n    const Component = interopDefault(ComponentMod)\n    const Document = interopDefault(DocumentMod)\n    const App = interopDefault(AppMod)\n\n    const { getServerSideProps, getStaticProps, getStaticPaths, routeModule } =\n      ComponentMod\n\n    return {\n      App,\n      Document,\n      Component,\n      pageConfig: ComponentMod.config || {},\n      ComponentMod,\n      getServerSideProps,\n      getStaticProps,\n      getStaticPaths,\n      isAppPath,\n      page,\n      routeModule,\n    } as any // temporary `as any` to make TypeScript not fail so that the tests will run on the PR.\n  }\n}\n\nexport const loadComponents = getTracer().wrap(\n  LoadComponentsSpan.loadComponents,\n  loadComponentsImpl\n)\n","export function isAppRouteRoute(route: string): boolean {\n  return route.endsWith('/route')\n}\n","const ERROR_CODE_DELIMITER = '@'\n\n/**\n * Augments the digest field of errors thrown in React Server Components (RSC) with an error code.\n * Since RSC errors can only be serialized through the digest field, this provides a way to include\n * an additional error code that can be extracted client-side via `extractNextErrorCode`.\n *\n * The error code is appended to the digest string with a semicolon separator, allowing it to be\n * parsed out later while preserving the original digest value.\n */\nexport const createDigestWithErrorCode = (\n  thrownValue: unknown,\n  originalDigest: string\n): string => {\n  if (\n    typeof thrownValue === 'object' &&\n    thrownValue !== null &&\n    '__NEXT_ERROR_CODE' in thrownValue\n  ) {\n    return `${originalDigest}${ERROR_CODE_DELIMITER}${thrownValue.__NEXT_ERROR_CODE}`\n  }\n  return originalDigest\n}\n\nexport const extractNextErrorCode = (error: unknown): string | undefined => {\n  if (\n    typeof error === 'object' &&\n    error !== null &&\n    '__NEXT_ERROR_CODE' in error &&\n    typeof error.__NEXT_ERROR_CODE === 'string'\n  ) {\n    return error.__NEXT_ERROR_CODE\n  }\n\n  if (\n    typeof error === 'object' &&\n    error !== null &&\n    'digest' in error &&\n    typeof error.digest === 'string'\n  ) {\n    const segments = error.digest.split(ERROR_CODE_DELIMITER)\n    const errorCode = segments.find((segment) => segment.startsWith('E'))\n    return errorCode\n  }\n\n  return undefined\n}\n","import type { AppPageModule } from '../route-modules/app-page/module'\nimport { renderToNodeFlightStream } from './stream-ops'\nimport { getClientReferenceManifest } from './manifests-singleton'\nimport { extractNextErrorCode } from '../../lib/error-telemetry-utils'\n\nconst filterStackFrame =\n  process.env.NODE_ENV !== 'production'\n    ? (require('../lib/source-maps') as typeof import('../lib/source-maps'))\n        .filterStackFrameDEV\n    : undefined\n\n/**\n * Encodes dev-validation errors into the RSC Flight bytes the dev overlay\n * revives. Must run in the runtime that produced the errors (the in-process\n * render or the validation worker) so the encode uses the matching\n * client-reference manifest and captures the live `Error` objects with their\n * stacks and digests. The error codes ride along in a side-channel `Map`\n * because React doesn't revive `__NEXT_ERROR_CODE` during RSC deserialization;\n * RSC preserves object identity, so the revived map keys reference the same\n * errors.\n */\nexport async function serializeValidationErrorsToFlight(\n  componentMod: AppPageModule,\n  errors: Error[]\n): Promise<Uint8Array[]> {\n  const errorCodes = new Map<Error, string>()\n  for (const err of errors) {\n    const code = extractNextErrorCode(err)\n    if (code !== undefined) {\n      errorCodes.set(err, code)\n    }\n  }\n\n  const { clientModules } = getClientReferenceManifest()\n\n  const stream = renderToNodeFlightStream(\n    componentMod,\n    { errors, errorCodes },\n    clientModules,\n    { filterStackFrame }\n  )\n\n  const chunks: Uint8Array[] = []\n  for await (const chunk of stream) {\n    chunks.push(chunk)\n  }\n  return chunks\n}\n","/**\n * The lifecycle events Cache Components validation emits so E2E tests can\n * locate the validation window in the CLI output. Each is serialized between\n * `<VALIDATION_MESSAGE>` delimiters (see `formatValidationEvent`) and parsed\n * back by the test harness. Produced by the in-process validation in\n * `app-render.tsx` (both dev and build) and by the validation worker, which is\n * why the shape lives here rather than in a single producer.\n *\n * `requestId` correlates a start with its matching end/aborted. Dev and worker\n * validation use the render's request id; build validation, which has no such\n * id, uses a stringified timestamp instead.\n */\nexport type ValidationEvent =\n  | ValidationStartEvent\n  | ValidationEndEvent\n  | ValidationAbortedEvent\n\nexport type ValidationStartEvent = {\n  type: 'validation_start'\n  requestId: string\n  url: string\n  /**\n   * Only reported for development validation.\n   */\n  responseFinished?: boolean\n}\n\nexport type ValidationEndEvent = {\n  type: 'validation_end'\n  requestId: string\n  url: string\n}\n\n/**\n * Emitted when detached validation is aborted. It can appear without a start\n * when cancellation happens before validation runs, or after a start instead of\n * an end when in-flight validation is cancelled.\n */\nexport type ValidationAbortedEvent = {\n  type: 'validation_aborted'\n  requestId: string\n  url: string\n}\n\n/**\n * Wraps a validation event in the `<VALIDATION_MESSAGE>` delimiters the test\n * harness scans for. The caller chooses the output stream (dev validation logs\n * to stdout; build validation uses stderr for deterministic ordering).\n */\nexport function formatValidationEvent(event: ValidationEvent): string {\n  return (\n    '<VALIDATION_MESSAGE>' + JSON.stringify(event) + '</VALIDATION_MESSAGE>'\n  )\n}\n","import fs from 'fs'\n\nconst isWindows = process.platform === 'win32'\n\n// Interesting learning from this, that fs.realpathSync is 70x slower than fs.realpathSync.native:\n// https://sun0day.github.io/blog/vite/why-vite4_3-is-faster.html#fs-realpathsync-issue\n// https://github.com/nodejs/node/issues/2680\n// However, we can't use fs.realpathSync.native on Windows due to behavior differences.\nexport const realpathSync = isWindows ? fs.realpathSync : fs.realpathSync.native\n","import isError from '../../lib/is-error'\nimport { realpathSync } from '../../lib/realpath'\nimport { clearManifestCache } from '../load-manifest.external'\n\n/**\n * Batch delete modules from require.cache with a single scan.\n *\n * When deleting N modules, this performs ONE scan of require.cache\n * instead of N scans, reducing complexity from O(N * C) to O(C + N)\n * where C = size of require.cache.\n */\nfunction deleteFromRequireCache(filePaths: string[]): void {\n  // Phase 1: Resolve all paths and collect modules to delete\n  const resolvedPaths: string[] = []\n  const modsToDelete = new Set<NodeModule>()\n\n  for (let filePath of filePaths) {\n    try {\n      filePath = realpathSync(filePath)\n    } catch (e) {\n      if (isError(e) && e.code !== 'ENOENT') throw e\n    }\n    const mod = require.cache[filePath]\n    if (mod) {\n      resolvedPaths.push(filePath)\n      modsToDelete.add(mod)\n    }\n  }\n\n  if (modsToDelete.size === 0) return\n\n  // Phase 2: Single scan of require.cache to remove child references\n  const modules = Object.values(require.cache)\n  for (let m = 0; m < modules.length; m++) {\n    const children = modules[m]?.children\n    if (children && children.length) {\n      let len = children.length\n      for (let i = 0; i < len; i++) {\n        if (modsToDelete.has(children[i])) {\n          children[i] = children[--len]\n          i-- // re-check swapped element\n        }\n      }\n      children.length = len\n    }\n  }\n\n  // Phase 3: Clear parent references from children and delete cache entries\n  for (const mod of modsToDelete) {\n    const children = mod.children\n    for (let i = 0; i < children.length; i++) {\n      if (children[i].parent === mod) {\n        children[i].parent = null\n      }\n    }\n  }\n\n  for (const filePath of resolvedPaths) {\n    delete require.cache[filePath]\n  }\n}\n\n// Listeners notified after the dev server's main-process require/manifest\n// caches are cleared. Worker pools that hold their own cached state —\n// distinct from the main process's — subscribe here so they can invalidate\n// in response to the same HMR events.\nconst cacheInvalidationListeners = new Set<(filePaths: string[]) => void>()\n\nexport function onCacheInvalidation(\n  listener: (filePaths: string[]) => void\n): () => void {\n  cacheInvalidationListeners.add(listener)\n  return () => {\n    cacheInvalidationListeners.delete(listener)\n  }\n}\n\nexport function deleteCache(filePaths: string[]) {\n  for (const filePath of filePaths) {\n    clearManifestCache(filePath)\n  }\n  deleteFromRequireCache(filePaths)\n  for (const listener of cacheInvalidationListeners) {\n    try {\n      listener(filePaths)\n    } catch {\n      // Listener errors must not interfere with cache cleanup.\n    }\n  }\n}\n","import type { AppPageModule } from '../route-modules/app-page/module'\nimport type {\n  DevValidationWorkerMessage,\n  DevValidationWorkerResult,\n} from '../app-render/dev-validation-worker-globals'\nimport type { NodeJsPartialHmrUpdate } from '../../build/swc/types'\n\nimport '../require-hook'\nimport '../node-environment'\n\nimport { isAbsolute, relative } from 'path'\nimport { readFileSync, realpathSync } from 'fs'\nimport { fileURLToPath } from 'url'\nimport { installBindings } from '../../build/swc/install-bindings'\nimport { installCodeFrameSupport } from '../lib/install-code-frame'\nimport {\n  loadClientReferenceManifestForPage,\n  loadComponents,\n} from '../load-components'\nimport { setHttpClientAndAgentOptions } from '../setup-http-agent-env'\nimport { serializeValidationErrorsToFlight } from '../app-render/dev-validation-error-delivery'\nimport { formatValidationEvent } from '../app-render/dev-validation-events'\nimport { clearManifestCache } from '../load-manifest.external'\nimport { deleteCache } from './require-cache'\nimport {\n  getServerActionsManifest,\n  setManifestsSingleton,\n} from '../app-render/manifests-singleton'\nimport { setBundlerFindSourceMapImplementation } from '../patch-error-inspect'\nimport type { ModernSourceMapPayload } from '../lib/source-maps'\n\n/**\n * Resolves a chunk's source map by reading the `.map` file the bundler emitted\n * next to it, for chunks inside `distDir`.\n *\n * The main thread answers the same question through the Turbopack project\n * handle, which cannot cross a thread boundary. Reading from disk is\n * project-free and, more importantly, does not depend on the chunk having been\n * evaluated in this thread: Node.js caches source maps per isolate, and the\n * worker never renders server components, so it holds maps only for the chunks\n * `loadComponents` pulled in. Frames arriving in the transported payload can\n * point at any chunk the main render touched.\n *\n * Reading from disk covers the chunks, because the worker only runs under\n * Turbopack (see `next-dev-server.ts`), which writes a `.map` beside every one\n * of them. A module the server updated in place has no chunk of its own and is\n * covered instead by this thread applying the same update (see\n * `applyHmrUpdate`), which leaves its inline map in Node.js' cache here. Frames\n * from dependencies that are not bundled never reach this point, because\n * `filterStackFrameDEV` drops `node_modules` and `node:` frames; bundled\n * dependencies appear as chunks inside `distDir` like any other code.\n */\nfunction createDiskSourceMapLookup(\n  distDir: string\n): (sourceURL: string) => ModernSourceMapPayload | undefined {\n  // The frames carry resolved paths, so compare against the resolved `distDir`\n  // to keep the containment check meaningful when the project sits behind a\n  // symlink.\n  let canonicalDistDir = distDir\n  try {\n    canonicalDistDir = realpathSync(distDir)\n  } catch {}\n\n  const payloads = new Map<string, ModernSourceMapPayload | undefined>()\n\n  return function findSourceMapPayloadOnDisk(sourceURL) {\n    let chunkPath = sourceURL\n\n    if (chunkPath.startsWith('file://')) {\n      try {\n        chunkPath = fileURLToPath(chunkPath)\n      } catch {\n        return undefined\n      }\n    }\n\n    if (!isAbsolute(chunkPath)) {\n      // Not an emitted chunk, e.g. `<anonymous>`.\n      return undefined\n    }\n\n    const cached = payloads.get(chunkPath)\n    if (cached !== undefined || payloads.has(chunkPath)) {\n      return cached\n    }\n\n    let payload: ModernSourceMapPayload | undefined\n    const relativePath = relative(canonicalDistDir, chunkPath)\n\n    // Only chunks emitted into `distDir` have a source map to point at, and\n    // this keeps the lookup from reading arbitrary paths off disk.\n    if (!relativePath.startsWith('..') && !isAbsolute(relativePath)) {\n      try {\n        payload = JSON.parse(readFileSync(chunkPath + '.map', 'utf8'))\n      } catch {\n        payload = undefined\n      }\n    }\n\n    payloads.set(chunkPath, payload)\n\n    return payload\n  }\n}\n\n// Match the main dev server (`next-dev-server.ts`), which raises this so the\n// server captures deeper stacks. React's owner-stack capture during the\n// validation prerenders depends on it, so without it the worker's errors lose\n// their owner-stack source attribution.\ntry {\n  Error.stackTraceLimit = 50\n} catch {}\n\n// The lifecycle markers E2E tests read from the CLI. Emitted on the worker's\n// stdout (piped to the parent) so they interleave with the parent's captured\n// output the same way the in-process `runWithDevValidationLogging` markers do.\n// Gated on the same test env that path checks.\nconst isTestLoggingEnabled = !!(\n  process.env.__NEXT_TEST_MODE && process.env.NEXT_TEST_LOG_VALIDATION\n)\n\n/**\n * Adapts the pool's supersede flag into an `AbortSignal` the validation passes\n * check at their depth/yield boundaries. The pool shares an `Int32Array`-backed\n * `SharedArrayBuffer` whose first slot the main thread flips to non-zero (with\n * `Atomics.store` + `Atomics.notify`) when a newer navigation supersedes this\n * one. We wait for that notification with `Atomics.waitAsync`, which is\n * event-driven rather than polled. A validation that finishes without being\n * superseded calls `cleanup()`, which wakes our own still-pending wait so it\n * leaves no waiter (and no retained buffer) behind.\n */\nfunction createSupersedeSignal(abortBuffer: SharedArrayBuffer): {\n  signal: AbortSignal\n  cleanup: () => void\n} {\n  const controller = new AbortController()\n  const flag = new Int32Array(abortBuffer)\n\n  if (Atomics.load(flag, 0) !== 0) {\n    controller.abort()\n    return { signal: controller.signal, cleanup: () => {} }\n  }\n\n  let settled = false\n  const wait = Atomics.waitAsync(flag, 0, 0)\n  if (wait.async) {\n    wait.value.then(() => {\n      if (settled) {\n        return\n      }\n      settled = true\n      // Woken either by a real supersede or by `cleanup()`; only the former\n      // leaves the flag set.\n      if (Atomics.load(flag, 0) !== 0) {\n        controller.abort()\n      }\n    })\n  } else if (Atomics.load(flag, 0) !== 0) {\n    // The flag flipped between the load above and the wait.\n    controller.abort()\n  }\n\n  return {\n    signal: controller.signal,\n    cleanup: () => {\n      if (!settled) {\n        Atomics.notify(flag, 0)\n      }\n    },\n  }\n}\n\n/**\n * Waits out the test-only validation delay, resolving early if the render is\n * superseded. Mirrors the delay in `runWithDevValidationLogging` so scheduler\n * tests observe the same in-flight window on the worker path.\n */\nasync function applyTestValidationDelay(signal: AbortSignal): Promise<void> {\n  const delayMs = Number(process.env.NEXT_TEST_DEV_VALIDATION_DELAY_MS)\n  if (!Number.isFinite(delayMs) || delayMs <= 0 || signal.aborted) {\n    return\n  }\n\n  await new Promise<void>((resolve) => {\n    const finishDelay = () => {\n      clearTimeout(timeout)\n      signal.removeEventListener('abort', finishDelay)\n      resolve()\n    }\n    const timeout = setTimeout(finishDelay, delayMs)\n    signal.addEventListener('abort', finishDelay, { once: true })\n  })\n}\n\n/**\n * Registers the client reference manifests of the pages that supplied client\n * references to the render being validated, beyond the validated route's own\n * manifest. This thread has its own manifests singleton, which `loadComponents`\n * seeds with only the validated route, so without these the dev-only cross-page\n * lookup in `createProxiedClientReferenceManifest` has no other manifest to\n * search and decoding the transported payload fails. Usually a no-op, since the\n * main thread only records a page when React's I/O tracking actually carried a\n * reference across pages.\n */\nasync function registerAdditionalClientReferenceManifests(\n  distDir: string,\n  pages: string[]\n): Promise<void> {\n  if (pages.length === 0) {\n    return\n  }\n\n  // Set by `loadComponents`. One server actions manifest covers the whole app,\n  // so the pages registered here share the validated route's.\n  const serverActionsManifest = getServerActionsManifest()\n\n  await Promise.all(\n    pages.map(async (page) => {\n      const clientReferenceManifest = await loadClientReferenceManifestForPage(\n        distDir,\n        page\n      )\n\n      if (clientReferenceManifest) {\n        setManifestsSingleton({\n          page,\n          clientReferenceManifest,\n          serverActionsManifest,\n        })\n      }\n    })\n  )\n}\n\ndeclare const __turbopack_server_hmr_apply__:\n  | ((update: NodeJsPartialHmrUpdate) => void)\n  | undefined\n\n/**\n * What this thread did with a forwarded HMR update.\n *\n * `no-runtime` is not a failure: no runtime the update routes to had been\n * loaded here, so there was nothing to patch, and whatever loads that route\n * later reads the updated chunk from disk.\n */\nexport type HmrApplyOutcome = 'applied' | 'no-runtime' | 'failed'\n\n/**\n * Applies a server HMR update to this thread's module registry, mirroring the\n * apply the dev server performed on its own.\n *\n * Turbopack's Node.js runtime registers the apply machinery per isolate (see\n * `dev-nodejs.ts`), and `loadComponents` evaluates that runtime here, so this\n * thread patches the same modules the dev server does. The apply also leaves\n * the updated module's inline source map in this thread's Node.js cache, which\n * is what makes a stack frame in that module source-mappable here.\n */\nexport async function applyHmrUpdate(\n  update: NodeJsPartialHmrUpdate\n): Promise<HmrApplyOutcome> {\n  if (typeof __turbopack_server_hmr_apply__ !== 'function') {\n    return 'no-runtime'\n  }\n\n  try {\n    __turbopack_server_hmr_apply__(update)\n  } catch {\n    // The dev server responds to the same failure by re-evaluating every\n    // module from disk. This thread cannot be repaired in place either, so the\n    // caller drops it.\n    return 'failed'\n  }\n\n  return 'applied'\n}\n\n/**\n * Clears the same caches the dev server cleared, for the same paths.\n *\n * `evictModules` follows the dev server's own split: an applied update patches\n * modules in place and clears only the manifest cache for the updated chunks,\n * while a recompile evicts `require.cache` as well. This thread follows both,\n * so its module state stays the dev server's module state.\n */\nexport async function invalidateCaches(\n  filePaths: string[],\n  evictModules: boolean\n): Promise<void> {\n  if (evictModules) {\n    deleteCache(filePaths)\n    return\n  }\n\n  for (const filePath of filePaths) {\n    clearManifestCache(filePath)\n  }\n}\n\n/**\n * Runs the dev instant/static-shell validation passes off the main thread.\n * Reloads the route's compiled module, then delegates the whole validation to\n * that module via `ComponentMod.routeModule.runValidationInDev`, so every\n * render (flight re-encodes and client prerenders) runs inside the app-page\n * bundle's single React instance. Logs any returned errors to the worker's\n * stderr with source-mapped code frames, then encodes them as RSC Flight bytes\n * for the main thread to forward to the dev overlay. Returns `null` when\n * validation was superseded or produced no errors.\n */\nexport async function runDevValidation(\n  message: DevValidationWorkerMessage,\n  abortBuffer: SharedArrayBuffer\n): Promise<DevValidationWorkerResult> {\n  // Load the native SWC bindings and wire the code-frame renderer so the errors\n  // logged below render with a source-mapped code frame, matching the\n  // in-process dev output (the E2E tests snapshot the CLI text between the\n  // validation markers). The `build/swc` graph these pull in is bundled as a\n  // runtime external (see `next-runtime.webpack-config.js`), so it resolves\n  // from the installed `next/dist` tree rather than being compiled into this\n  // worker bundle, the same way the unbundled build worker loads it.\n  await installBindings()\n  installCodeFrameSupport()\n  setBundlerFindSourceMapImplementation(\n    createDiskSourceMapLookup(message.distDir)\n  )\n  setHttpClientAndAgentOptions({\n    httpAgentOptions: message.nextConfigSerializable.httpAgentOptions,\n  })\n\n  // Populates the manifests singleton for the route via `setManifestsSingleton`\n  // inside `loadComponents`, exactly as a real request does. The pool tears the\n  // worker down on HMR / route recompile so the next validation reloads from a\n  // clean require cache.\n  const { ComponentMod } = await loadComponents<AppPageModule>({\n    distDir: message.distDir,\n    page: message.page,\n    isAppPath: true,\n    isDev: true,\n    sriEnabled: false,\n    needsManifestsForLegacyReasons: true,\n  })\n\n  await registerAdditionalClientReferenceManifests(\n    message.distDir,\n    message.additionalClientReferenceManifestPages\n  )\n\n  const { signal, cleanup } = createSupersedeSignal(abortBuffer)\n\n  if (isTestLoggingEnabled) {\n    console.log(\n      formatValidationEvent({\n        type: 'validation_start',\n        requestId: message.requestId,\n        url: message.request.urlPathname + message.request.urlSearch,\n        responseFinished: message.responseFinished,\n      })\n    )\n  }\n\n  try {\n    if (isTestLoggingEnabled) {\n      await applyTestValidationDelay(signal)\n    }\n\n    if (signal.aborted) {\n      return null\n    }\n\n    // Crossing into the app-page bundle: the entire validation runs there, so\n    // the client prerenders use the same React the user's client components\n    // resolve through `ComponentMod`.\n    const validationErrors = await ComponentMod.routeModule.runValidationInDev(\n      ComponentMod,\n      message,\n      signal\n    )\n\n    if (validationErrors === undefined || signal.aborted) {\n      return null\n    }\n\n    const errors: Error[] = []\n    for (const validationError of validationErrors) {\n      // Log to the worker's stderr; `node-environment` +\n      // `installCodeFrameSupport` render the source-mapped stack and code frame\n      // there, matching the in-process CLI output.\n      console.error(validationError)\n      if (validationError instanceof Error) {\n        errors.push(validationError)\n      }\n    }\n\n    if (errors.length === 0) {\n      return null\n    }\n\n    return await serializeValidationErrorsToFlight(ComponentMod, errors)\n  } finally {\n    cleanup()\n    if (isTestLoggingEnabled) {\n      console.log(\n        formatValidationEvent({\n          type: signal.aborted ? 'validation_aborted' : 'validation_end',\n          requestId: message.requestId,\n          url: message.request.urlPathname + message.request.urlSearch,\n        })\n      )\n    }\n  }\n}\n","import { isPlainObject } from '../shared/lib/is-plain-object'\n\n// We allow some additional attached properties for Next.js errors\nexport interface NextError extends Error {\n  type?: string\n  page?: string\n  code?: string | number\n  cancelled?: boolean\n  digest?: string\n}\n\n/**\n * This is a safe stringify function that handles circular references.\n * We're using a simpler version here to avoid introducing\n * the dependency `safe-stable-stringify` into production bundle.\n *\n * This helper is used both in development and production.\n */\nfunction safeStringifyLite(obj: any) {\n  const seen = new WeakSet()\n\n  return JSON.stringify(obj, (_key, value) => {\n    // If value is an object and already seen, replace with \"[Circular]\"\n    if (typeof value === 'object' && value !== null) {\n      if (seen.has(value)) {\n        return '[Circular]'\n      }\n      seen.add(value)\n    }\n    return value\n  })\n}\n\n/**\n * Checks whether the given value is a NextError.\n * This can be used to print a more detailed error message with properties like `code` & `digest`.\n */\nexport default function isError(err: unknown): err is NextError {\n  return (\n    typeof err === 'object' && err !== null && 'name' in err && 'message' in err\n  )\n}\n\nexport function getProperError(err: unknown): Error {\n  if (isError(err)) {\n    return err\n  }\n\n  if (process.env.NODE_ENV === 'development') {\n    // provide better error for case where `throw undefined`\n    // is called in development\n    if (typeof err === 'undefined') {\n      return new Error(\n        'An undefined error was thrown, ' +\n          'see here for more info: https://nextjs.org/docs/messages/threw-undefined'\n      )\n    }\n\n    if (err === null) {\n      return new Error(\n        'A null error was thrown, ' +\n          'see here for more info: https://nextjs.org/docs/messages/threw-undefined'\n      )\n    }\n  }\n\n  return new Error(isPlainObject(err) ? safeStringifyLite(err) : err + '')\n}\n","/**\n * Installs code frame rendering support by injecting the renderer into patch-error-inspect.\n * This uses dependency injection to avoid hard dependencies on native bindings in runtime code.\n *\n * Should be called early in dev/build initialization, after native bindings are loaded.\n */\nexport function installCodeFrameSupport(): void {\n  const { setCodeFrameRenderer } =\n    require('../patch-error-inspect') as typeof import('../patch-error-inspect')\n  const { getOriginalCodeFrame } =\n    require('../../next-devtools/server/shared') as typeof import('../../next-devtools/server/shared')\n  setCodeFrameRenderer(getOriginalCodeFrame)\n}\n","import type { NextConfig } from '../types'\nimport { Agent as HttpAgent } from 'http'\nimport { Agent as HttpsAgent } from 'https'\n\nexport function setHttpClientAndAgentOptions(config: {\n  httpAgentOptions?: NextConfig['httpAgentOptions']\n}) {\n  if (globalThis.__NEXT_HTTP_AGENT) {\n    // We only need to assign once because we want\n    // to reuse the same agent for all requests.\n    return\n  }\n\n  if (!config) {\n    throw new Error('Expected config.httpAgentOptions to be an object')\n  }\n\n  globalThis.__NEXT_HTTP_AGENT_OPTIONS = config.httpAgentOptions\n  globalThis.__NEXT_HTTP_AGENT = new HttpAgent(config.httpAgentOptions)\n  globalThis.__NEXT_HTTPS_AGENT = new HttpsAgent(config.httpAgentOptions)\n}\n","/**\n * Node in the doubly-linked list used for LRU tracking.\n * Each node represents a cache entry with bidirectional pointers.\n */\nclass LRUNode<T> {\n  public readonly key: string\n  public data: T\n  public size: number\n  public prev: LRUNode<T> | SentinelNode<T> | null = null\n  public next: LRUNode<T> | SentinelNode<T> | null = null\n\n  constructor(key: string, data: T, size: number) {\n    this.key = key\n    this.data = data\n    this.size = size\n  }\n}\n\n/**\n * Sentinel node used for head/tail boundaries.\n * These nodes don't contain actual cache data but simplify list operations.\n */\nclass SentinelNode<T> {\n  public prev: LRUNode<T> | SentinelNode<T> | null = null\n  public next: LRUNode<T> | SentinelNode<T> | null = null\n}\n\n/**\n * LRU (Least Recently Used) Cache implementation using a doubly-linked list\n * and hash map for O(1) operations.\n *\n * Algorithm:\n * - Uses a doubly-linked list to maintain access order (most recent at head)\n * - Hash map provides O(1) key-to-node lookup\n * - Sentinel head/tail nodes simplify edge case handling\n * - Size-based eviction supports custom size calculation functions\n *\n * Data Structure Layout:\n * HEAD <-> [most recent] <-> ... <-> [least recent] <-> TAIL\n *\n * Operations:\n * - get(): Move accessed node to head (mark as most recent)\n * - set(): Add new node at head, evict from tail if over capacity\n * - Eviction: Remove least recent node (tail.prev) when size exceeds limit\n */\nexport class LRUCache<T> {\n  private readonly cache: Map<string, LRUNode<T>> = new Map()\n  private readonly head: SentinelNode<T>\n  private readonly tail: SentinelNode<T>\n  private totalSize: number = 0\n  private readonly maxSize: number\n  private readonly calculateSize:\n    | ((value: T, key: string) => number)\n    | undefined\n  private readonly onEvict: ((key: string, value: T) => void) | undefined\n\n  constructor(\n    maxSize: number,\n    calculateSize?: (value: T, key: string) => number,\n    onEvict?: (key: string, value: T) => void\n  ) {\n    this.maxSize = maxSize\n    this.calculateSize = calculateSize\n    this.onEvict = onEvict\n\n    // Create sentinel nodes to simplify doubly-linked list operations\n    // HEAD <-> TAIL (empty list)\n    this.head = new SentinelNode<T>()\n    this.tail = new SentinelNode<T>()\n    this.head.next = this.tail\n    this.tail.prev = this.head\n  }\n\n  /**\n   * Adds a node immediately after the head (marks as most recently used).\n   * Used when inserting new items or when an item is accessed.\n   * PRECONDITION: node must be disconnected (prev/next should be null)\n   */\n  private addToHead(node: LRUNode<T>): void {\n    node.prev = this.head\n    node.next = this.head.next\n    // head.next is always non-null (points to tail or another node)\n    this.head.next!.prev = node\n    this.head.next = node\n  }\n\n  /**\n   * Removes a node from its current position in the doubly-linked list.\n   * Updates the prev/next pointers of adjacent nodes to maintain list integrity.\n   * PRECONDITION: node must be connected (prev/next are non-null)\n   */\n  private removeNode(node: LRUNode<T>): void {\n    // Connected nodes always have non-null prev/next\n    node.prev!.next = node.next\n    node.next!.prev = node.prev\n  }\n\n  /**\n   * Moves an existing node to the head position (marks as most recently used).\n   * This is the core LRU operation - accessed items become most recent.\n   */\n  private moveToHead(node: LRUNode<T>): void {\n    this.removeNode(node)\n    this.addToHead(node)\n  }\n\n  /**\n   * Removes and returns the least recently used node (the one before tail).\n   * This is called during eviction when the cache exceeds capacity.\n   * PRECONDITION: cache is not empty (ensured by caller)\n   */\n  private removeTail(): LRUNode<T> {\n    const lastNode = this.tail.prev as LRUNode<T>\n    // tail.prev is always non-null and always LRUNode when cache is not empty\n    this.removeNode(lastNode)\n    return lastNode\n  }\n\n  /**\n   * Sets a key-value pair in the cache.\n   * If the key exists, updates the value and moves to head.\n   * If new, adds at head and evicts from tail if necessary.\n   *\n   * Time Complexity:\n   * - O(1) for uniform item sizes\n   * - O(k) where k is the number of items evicted (can be O(N) for variable sizes)\n   */\n  public set(key: string, value: T): boolean {\n    const size = this.calculateSize?.(value, key) ?? 1\n    if (size <= 0) {\n      throw new Error(\n        `LRUCache: calculateSize returned ${size}, but size must be > 0. ` +\n          `Items with size 0 would never be evicted, causing unbounded cache growth.`\n      )\n    }\n    if (size > this.maxSize) {\n      console.warn('Single item size exceeds maxSize')\n      return false\n    }\n\n    const existing = this.cache.get(key)\n    if (existing) {\n      // Update existing node: adjust size and move to head (most recent)\n      existing.data = value\n      this.totalSize = this.totalSize - existing.size + size\n      existing.size = size\n      this.moveToHead(existing)\n    } else {\n      // Add new node at head (most recent position)\n      const newNode = new LRUNode(key, value, size)\n      this.cache.set(key, newNode)\n      this.addToHead(newNode)\n      this.totalSize += size\n    }\n\n    // Evict least recently used items until under capacity\n    while (this.totalSize > this.maxSize && this.cache.size > 0) {\n      const tail = this.removeTail()\n      this.cache.delete(tail.key)\n      this.totalSize -= tail.size\n      this.onEvict?.(tail.key, tail.data)\n    }\n\n    return true\n  }\n\n  /**\n   * Checks if a key exists in the cache.\n   * This is a pure query operation - does NOT update LRU order.\n   *\n   * Time Complexity: O(1)\n   */\n  public has(key: string): boolean {\n    return this.cache.has(key)\n  }\n\n  /**\n   * Retrieves a value by key and marks it as most recently used.\n   * Moving to head maintains the LRU property for future evictions.\n   *\n   * Time Complexity: O(1)\n   */\n  public get(key: string): T | undefined {\n    const node = this.cache.get(key)\n    if (!node) return undefined\n\n    // Mark as most recently used by moving to head\n    this.moveToHead(node)\n\n    return node.data\n  }\n\n  /**\n   * Returns an iterator over the cache entries. The order is outputted in the\n   * order of most recently used to least recently used.\n   */\n  public *[Symbol.iterator](): IterableIterator<[string, T]> {\n    let current = this.head.next\n    while (current && current !== this.tail) {\n      // Between head and tail, current is always LRUNode\n      const node = current as LRUNode<T>\n      yield [node.key, node.data]\n      current = current.next\n    }\n  }\n\n  /**\n   * Removes a specific key from the cache.\n   * Updates both the hash map and doubly-linked list.\n   *\n   * Note: This is an explicit removal and does NOT trigger the `onEvict`\n   * callback. Use this for intentional deletions where eviction tracking\n   * is not needed.\n   *\n   * Time Complexity: O(1)\n   */\n  public remove(key: string): void {\n    const node = this.cache.get(key)\n    if (!node) return\n\n    this.removeNode(node)\n    this.cache.delete(key)\n    this.totalSize -= node.size\n  }\n\n  /**\n   * Returns the number of items in the cache.\n   */\n  public get size(): number {\n    return this.cache.size\n  }\n\n  /**\n   * Returns the current total size of all cached items.\n   * This uses the custom size calculation if provided.\n   */\n  public get currentSize(): number {\n    return this.totalSize\n  }\n}\n","import type { SourceMap } from 'module'\nimport { LRUCache } from './lru-cache'\n\nfunction noSourceMap(): SourceMap | undefined {\n  return undefined\n}\n\n// Edge runtime does not implement `module`\nconst findSourceMap =\n  process.env.NEXT_RUNTIME === 'edge'\n    ? noSourceMap\n    : (require('module') as typeof import('module')).findSourceMap\n\n/**\n * https://tc39.es/source-map/#index-map\n */\ninterface IndexSourceMapSection {\n  offset: {\n    line: number\n    column: number\n  }\n  map: BasicSourceMapPayload\n}\n\n// TODO(veil): Upstream types\n/** https://tc39.es/ecma426/#sec-index-source-map */\ninterface IndexSourceMap {\n  version: number\n  file: string\n  sections: IndexSourceMapSection[]\n}\n\n/** https://tc39.es/ecma426/#sec-source-map-format */\nexport interface BasicSourceMapPayload {\n  version: number\n  // TODO: Move to https://github.com/jridgewell/sourcemaps which is actively maintained\n  /** WARNING: `file` is optional. */\n  file: string\n  sourceRoot?: string\n  // TODO: Move to https://github.com/jridgewell/sourcemaps which is actively maintained\n  /** WARNING: `sources[number]` can be `null`. */\n  sources: Array<string>\n  names: Array<string>\n  mappings: string\n  ignoreList?: number[]\n}\n\nexport type ModernSourceMapPayload = BasicSourceMapPayload | IndexSourceMap\n\n// `SourceMap#payload` deep-clones the payload on every access — expensive\n// for large chunk maps — so the clone is shared per `SourceMap` instance,\n// which Node.js memoizes per script.\nconst sourceMapPayloads = new WeakMap<SourceMap, ModernSourceMapPayload>()\n\n/**\n * Like `module.findSourceMap`, but returns the source map's payload without\n * cloning it on every call. Callers must not mutate the returned payload.\n * Throws like `module.findSourceMap` does on invalid source maps.\n */\nexport function findSourceMapPayload(\n  sourceURL: string\n): ModernSourceMapPayload | undefined {\n  const sourceMap = findSourceMap(sourceURL)\n  if (sourceMap === undefined) {\n    return undefined\n  }\n  let payload = sourceMapPayloads.get(sourceMap)\n  if (payload === undefined) {\n    payload = sourceMap.payload as ModernSourceMapPayload\n    sourceMapPayloads.set(sourceMap, payload)\n  }\n  return payload\n}\n\nexport function sourceMapIgnoreListsEverything(\n  sourceMap: BasicSourceMapPayload\n): boolean {\n  return (\n    sourceMap.ignoreList !== undefined &&\n    sourceMap.sources.length === sourceMap.ignoreList.length\n  )\n}\n\n/**\n * Finds the sourcemap payload applicable to a given frame.\n * Equal to the input unless an Index Source Map is used.\n * @param line0 - The line number of the frame, 0-based.\n * @param column0 - The column number of the frame, 0-based.\n */\nexport function findApplicableSourceMapPayload(\n  line0: number,\n  column0: number,\n  payload: ModernSourceMapPayload\n): BasicSourceMapPayload | undefined {\n  if ('sections' in payload) {\n    if (payload.sections.length === 0) {\n      return undefined\n    }\n\n    // Sections must not overlap and must be sorted: https://tc39.es/source-map/#section-object\n    // Therefore the last section that has an offset less than or equal to the frame is the applicable one.\n    const sections = payload.sections\n    let left = 0\n    let right = sections.length - 1\n    let result: IndexSourceMapSection | null = null\n\n    while (left <= right) {\n      // fast Math.floor\n      const middle = ~~((left + right) / 2)\n      const section = sections[middle]\n      const offset = section.offset\n\n      if (\n        offset.line < line0 ||\n        (offset.line === line0 && offset.column <= column0)\n      ) {\n        result = section\n        left = middle + 1\n      } else {\n        right = middle - 1\n      }\n    }\n\n    return result === null ? undefined : result.map\n  } else {\n    return payload\n  }\n}\n\nconst didWarnAboutInvalidSourceMapDEV = new Set<string>()\n\nexport function filterStackFrameDEV(\n  sourceURL: string,\n  functionName: string,\n  line1: number,\n  column1: number\n): boolean {\n  if (sourceURL === '') {\n    // The default implementation filters out <anonymous> stack frames\n    // but we want to retain them because current Server Components and\n    // built-in Components in parent stacks don't have source location.\n    // Filter out frames that show up in Promises to get good names in React's\n    // Server Request track until we come up with a better heuristic.\n    return functionName !== 'new Promise'\n  }\n  if (sourceURL.startsWith('node:') || sourceURL.includes('node_modules')) {\n    return false\n  }\n  try {\n    // Node.js loads source maps eagerly so this call is cheap.\n    // TODO: ESM sourcemaps are O(1) but CommonJS sourcemaps are O(Number of CJS modules).\n    // Make sure this doesn't adversely affect performance when CJS is used by Next.js.\n    const payload = findSourceMapPayload(sourceURL)\n    if (payload === undefined) {\n      // No source map associated.\n      return true\n    }\n    const sourceMapPayload = findApplicableSourceMapPayload(\n      line1 - 1,\n      column1 - 1,\n      payload\n    )\n    if (sourceMapPayload === undefined) {\n      // No source map section applicable to the frame.\n      return true\n    }\n    return !sourceMapIgnoreListsEverything(sourceMapPayload)\n  } catch (cause) {\n    if (process.env.NODE_ENV !== 'production') {\n      // TODO: Share cache with patch-error-inspect\n      if (!didWarnAboutInvalidSourceMapDEV.has(sourceURL)) {\n        didWarnAboutInvalidSourceMapDEV.add(sourceURL)\n        // We should not log an actual error instance here because that will re-enter\n        // this codepath during error inspection and could lead to infinite recursion.\n        console.error(\n          `${sourceURL}: Invalid source map. Only conformant source maps can be used to filter stack frames. Cause: ${cause}`\n        )\n      }\n    }\n\n    return true\n  }\n}\n\n// `scriptNameOrSourceURL` is what React forwards from the stack frame: the\n// script's `getScriptNameOrSourceURL()`, which for the server chunks we can\n// map is an absolute filesystem path, not a URL. The returned value is the\n// source map's URL (`file:` or `data:`).\ntype FindSourceMapURL = (scriptNameOrSourceURL: string) => string | null\n// Find the URL of a source map using the bundler's API.\n// Shared via `globalThis` because this module is compiled both into the server\n// runtime bundles (which call `findSourceMapURLDEV`) and into `next/dist/server`\n// (where the dev server registers the implementation), and each copy has its own\n// module state.\nconst bundlerFindSourceMapURLSymbol = Symbol.for(\n  'next.server.bundlerFindSourceMapURL'\n)\n\nexport function setBundlerFindSourceMapURLImplementation(\n  findSourceMapURLImplementation: FindSourceMapURL\n): void {\n  ;(globalThis as any)[bundlerFindSourceMapURLSymbol] =\n    findSourceMapURLImplementation\n}\n\nfunction bundlerFindSourceMapURL(scriptNameOrSourceURL: string): string | null {\n  const implementation: FindSourceMapURL | undefined = (globalThis as any)[\n    bundlerFindSourceMapURLSymbol\n  ]\n  return implementation === undefined\n    ? null\n    : implementation(scriptNameOrSourceURL)\n}\n\nconst invalidSourceMap = Symbol('invalid-source-map')\nconst sourceMapURLs = new LRUCache<string | typeof invalidSourceMap>(\n  512 * 1024 * 1024,\n  (url, sourceURL) =>\n    sourceURL.length +\n    (url === invalidSourceMap\n      ? // Guestimate a small source map so invalid entries don't fill the cache.\n        8 * 1024\n      : // these URLs contain only ASCII characters so .length is equal to Buffer.byteLength\n        url.length)\n)\nexport function findSourceMapURLDEV(\n  scriptNameOrSourceURL: string\n): string | null {\n  try {\n    const bundlerSourceMapURL = bundlerFindSourceMapURL(scriptNameOrSourceURL)\n    if (bundlerSourceMapURL !== null) {\n      return bundlerSourceMapURL\n    }\n  } catch (cause) {\n    console.error(\n      `${scriptNameOrSourceURL}: Failed to find the source map URL. Cause: ${cause}`\n    )\n  }\n\n  // No bundler implementation (e.g. Webpack): inline the source map Node.js\n  // knows as a `data:` URL.\n  let sourceMapURL = sourceMapURLs.get(scriptNameOrSourceURL)\n  if (sourceMapURL === undefined) {\n    let sourceMapPayload: ModernSourceMapPayload | undefined\n    try {\n      sourceMapPayload = findSourceMapPayload(scriptNameOrSourceURL)\n    } catch (cause) {\n      console.error(\n        `${scriptNameOrSourceURL}: Invalid source map. Only conformant source maps can be used to find the original code. Cause: ${cause}`\n      )\n    }\n\n    if (sourceMapPayload === undefined) {\n      sourceMapURL = invalidSourceMap\n    } else {\n      // TODO: Might be more efficient to extract the relevant section from Index Maps.\n      // Unclear if that search is worth the smaller payload we have to stringify.\n      const sourceMapJSON = JSON.stringify(sourceMapPayload)\n      const sourceMapURLData = Buffer.from(sourceMapJSON, 'utf8').toString(\n        'base64'\n      )\n      sourceMapURL = `data:application/json;base64,${sourceMapURLData}`\n    }\n\n    sourceMapURLs.set(scriptNameOrSourceURL, sourceMapURL)\n  }\n\n  return sourceMapURL === invalidSourceMap ? null : sourceMapURL\n}\n\nexport function devirtualizeReactServerURL(sourceURL: string): string {\n  if (sourceURL.startsWith('about://React/')) {\n    // about://React/Server/file://<filename>?42 => file://<filename>\n    const envIdx = sourceURL.indexOf('/', 'about://React/'.length)\n    const suffixIdx = sourceURL.lastIndexOf('?')\n    if (envIdx > -1 && suffixIdx > -1) {\n      return decodeURI(sourceURL.slice(envIdx + 1, suffixIdx))\n    }\n  }\n  return sourceURL\n}\n\nfunction isAnonymousFrameLikelyJSNative(methodName: string): boolean {\n  // Anonymous frames can also be produced in React parent stacks either from\n  // host components or Server Components. We don't want to ignore those.\n  // This could hide user-space methods that are named like native JS methods but\n  // should you really do that?\n  return (\n    // e.g. JSON.parse\n    methodName.startsWith('JSON.') ||\n    // E.g. Promise.withResolves\n    methodName.startsWith('Function.') ||\n    // various JS built-ins\n    methodName.startsWith('Promise.') ||\n    methodName.startsWith('Array.') ||\n    methodName.startsWith('Set.') ||\n    methodName.startsWith('Map.')\n  )\n}\n\nexport function ignoreListAnonymousStackFramesIfSandwiched<Frame>(\n  frames: Frame[],\n  isAnonymousFrame: (frame: Frame) => boolean,\n  isIgnoredFrame: (frame: Frame) => boolean,\n  getMethodName: (frame: Frame) => string,\n  /** only passes frames for which `isAnonymousFrame` and their method is a native JS method or `isIgnoredFrame` return true */\n  ignoreFrame: (frame: Frame) => void\n): void {\n  for (let i = 1; i < frames.length; i++) {\n    const currentFrame = frames[i]\n    if (\n      !(\n        isAnonymousFrame(currentFrame) &&\n        isAnonymousFrameLikelyJSNative(getMethodName(currentFrame))\n      )\n    ) {\n      continue\n    }\n\n    const previousFrameIsIgnored = isIgnoredFrame(frames[i - 1])\n    if (previousFrameIsIgnored && i < frames.length - 1) {\n      let ignoreSandwich = false\n      let j = i + 1\n      for (j; j < frames.length; j++) {\n        const nextFrame = frames[j]\n        const nextFrameIsAnonymous =\n          isAnonymousFrame(nextFrame) &&\n          isAnonymousFrameLikelyJSNative(getMethodName(nextFrame))\n        if (nextFrameIsAnonymous) {\n          continue\n        }\n\n        const nextFrameIsIgnored = isIgnoredFrame(nextFrame)\n        if (nextFrameIsIgnored) {\n          ignoreSandwich = true\n          break\n        }\n      }\n\n      if (ignoreSandwich) {\n        for (i; i < j; i++) {\n          ignoreFrame(frames[i])\n        }\n      }\n    }\n  }\n}\n","/**\n * Contains predefined constants for the trace span name in next/server.\n *\n * Currently, next/server/tracer is internal implementation only for tracking\n * next.js's implementation only with known span names defined here.\n **/\n\n// eslint typescript has a bug with TS enums\n\nenum BaseServerSpan {\n  handleRequest = 'BaseServer.handleRequest',\n  run = 'BaseServer.run',\n  pipe = 'BaseServer.pipe',\n  getStaticHTML = 'BaseServer.getStaticHTML',\n  render = 'BaseServer.render',\n  renderToResponseWithComponents = 'BaseServer.renderToResponseWithComponents',\n  renderToResponse = 'BaseServer.renderToResponse',\n  renderToHTML = 'BaseServer.renderToHTML',\n  renderError = 'BaseServer.renderError',\n  renderErrorToResponse = 'BaseServer.renderErrorToResponse',\n  renderErrorToHTML = 'BaseServer.renderErrorToHTML',\n  render404 = 'BaseServer.render404',\n}\n\nenum LoadComponentsSpan {\n  loadDefaultErrorComponents = 'LoadComponents.loadDefaultErrorComponents',\n  loadComponents = 'LoadComponents.loadComponents',\n}\n\nenum NextServerSpan {\n  getRequestHandler = 'NextServer.getRequestHandler',\n  getRequestHandlerWithMetadata = 'NextServer.getRequestHandlerWithMetadata',\n  getServer = 'NextServer.getServer',\n  getServerRequestHandler = 'NextServer.getServerRequestHandler',\n  createServer = 'createServer.createServer',\n}\n\nenum NextNodeServerSpan {\n  compression = 'NextNodeServer.compression',\n  getBuildId = 'NextNodeServer.getBuildId',\n  createComponentTree = 'NextNodeServer.createComponentTree',\n  clientComponentLoading = 'NextNodeServer.clientComponentLoading',\n  getLayoutOrPageModule = 'NextNodeServer.getLayoutOrPageModule',\n  generateStaticRoutes = 'NextNodeServer.generateStaticRoutes',\n  generateFsStaticRoutes = 'NextNodeServer.generateFsStaticRoutes',\n  generatePublicRoutes = 'NextNodeServer.generatePublicRoutes',\n  generateImageRoutes = 'NextNodeServer.generateImageRoutes.route',\n  sendRenderResult = 'NextNodeServer.sendRenderResult',\n  proxyRequest = 'NextNodeServer.proxyRequest',\n  runApi = 'NextNodeServer.runApi',\n  render = 'NextNodeServer.render',\n  renderHTML = 'NextNodeServer.renderHTML',\n  imageOptimizer = 'NextNodeServer.imageOptimizer',\n  getPagePath = 'NextNodeServer.getPagePath',\n  getRoutesManifest = 'NextNodeServer.getRoutesManifest',\n  findPageComponents = 'NextNodeServer.findPageComponents',\n  getFontManifest = 'NextNodeServer.getFontManifest',\n  getServerComponentManifest = 'NextNodeServer.getServerComponentManifest',\n  getRequestHandler = 'NextNodeServer.getRequestHandler',\n  renderToHTML = 'NextNodeServer.renderToHTML',\n  renderError = 'NextNodeServer.renderError',\n  renderErrorToHTML = 'NextNodeServer.renderErrorToHTML',\n  render404 = 'NextNodeServer.render404',\n  startResponse = 'NextNodeServer.startResponse',\n\n  // nested inner span, does not require parent scope name\n  route = 'route',\n  onProxyReq = 'onProxyReq',\n  apiResolver = 'apiResolver',\n  internalFetch = 'internalFetch',\n}\n\nenum StartServerSpan {\n  startServer = 'startServer.startServer',\n}\n\nenum RenderSpan {\n  getServerSideProps = 'Render.getServerSideProps',\n  getStaticProps = 'Render.getStaticProps',\n  renderToString = 'Render.renderToString',\n  renderDocument = 'Render.renderDocument',\n  createBodyResult = 'Render.createBodyResult',\n}\n\nenum AppRenderSpan {\n  renderToString = 'AppRender.renderToString',\n  renderToReadableStream = 'AppRender.renderToReadableStream',\n  getBodyResult = 'AppRender.getBodyResult',\n  fetch = 'AppRender.fetch',\n  waitShellReady = 'AppRender.waitShellReady',\n  renderToNodeFizzStream = 'AppRender.renderToNodeFizzStream',\n  instantInsights = 'AppRender.instantInsights',\n  instantInsightsPrepareValidation = 'AppRender.instantInsights.prepareValidation',\n  instantInsightsRunValidation = 'AppRender.instantInsights.runValidation',\n}\n\nenum RouterSpan {\n  executeRoute = 'Router.executeRoute',\n}\n\nenum NodeSpan {\n  runHandler = 'Node.runHandler',\n}\n\nenum AppRouteRouteHandlersSpan {\n  runHandler = 'AppRouteRouteHandlers.runHandler',\n}\n\nenum ResolveMetadataSpan {\n  generateMetadata = 'ResolveMetadata.generateMetadata',\n  generateViewport = 'ResolveMetadata.generateViewport',\n}\n\nenum MiddlewareSpan {\n  execute = 'Middleware.execute',\n}\n\ntype SpanTypes =\n  | `${BaseServerSpan}`\n  | `${LoadComponentsSpan}`\n  | `${NextServerSpan}`\n  | `${StartServerSpan}`\n  | `${NextNodeServerSpan}`\n  | `${RenderSpan}`\n  | `${RouterSpan}`\n  | `${AppRenderSpan}`\n  | `${NodeSpan}`\n  | `${AppRouteRouteHandlersSpan}`\n  | `${ResolveMetadataSpan}`\n  | `${MiddlewareSpan}`\n\n// This list is used to filter out spans that are not relevant to the user\nexport const NextVanillaSpanAllowlist = new Set([\n  MiddlewareSpan.execute,\n  BaseServerSpan.handleRequest,\n  RenderSpan.getServerSideProps,\n  RenderSpan.getStaticProps,\n  AppRenderSpan.fetch,\n  AppRenderSpan.getBodyResult,\n  RenderSpan.renderDocument,\n  NodeSpan.runHandler,\n  AppRouteRouteHandlersSpan.runHandler,\n  ResolveMetadataSpan.generateMetadata,\n  ResolveMetadataSpan.generateViewport,\n  NextNodeServerSpan.createComponentTree,\n  NextNodeServerSpan.findPageComponents,\n  NextNodeServerSpan.getLayoutOrPageModule,\n  NextNodeServerSpan.startResponse,\n  NextNodeServerSpan.clientComponentLoading,\n])\n\n// These Spans are allowed to be always logged\n// when the otel log prefix env is set\nexport const LogSpanAllowList = new Set([\n  NextNodeServerSpan.findPageComponents,\n  NextNodeServerSpan.createComponentTree,\n  NextNodeServerSpan.clientComponentLoading,\n])\n\nexport {\n  BaseServerSpan,\n  LoadComponentsSpan,\n  NextServerSpan,\n  NextNodeServerSpan,\n  StartServerSpan,\n  RenderSpan,\n  RouterSpan,\n  AppRenderSpan,\n  NodeSpan,\n  AppRouteRouteHandlersSpan,\n  ResolveMetadataSpan,\n  MiddlewareSpan,\n}\n\nexport type { SpanTypes }\n","// This file should be imported before any others. It sets up the environment\n// for later imports to work properly.\n\n// expose AsyncLocalStorage on global for react usage if it isn't already provided by the environment\nif (typeof (globalThis as any).AsyncLocalStorage !== 'function') {\n  const { AsyncLocalStorage } =\n    require('async_hooks') as typeof import('async_hooks')\n  ;(globalThis as any).AsyncLocalStorage = AsyncLocalStorage\n}\n\nif (typeof (globalThis as any).WebSocket !== 'function') {\n  Object.defineProperty(globalThis, 'WebSocket', {\n    configurable: true,\n    get() {\n      return (\n        require('next/dist/compiled/ws') as typeof import('next/dist/compiled/ws')\n      ).WebSocket\n    },\n    set(value) {\n      Object.defineProperty(globalThis, 'WebSocket', {\n        configurable: true,\n        writable: true,\n        value,\n      })\n    },\n  })\n}\n","// ISC License\n\n// Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov\n\n// Permission to use, copy, modify, and/or distribute this software for any\n// purpose with or without fee is hereby granted, provided that the above\n// copyright notice and this permission notice appear in all copies.\n\n// THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n//\n// https://github.com/alexeyraspopov/picocolors/blob/b6261487e7b81aaab2440e397a356732cad9e342/picocolors.js#L1\n\nconst { env, stdout } = globalThis?.process ?? {}\n\nconst enabled =\n  env &&\n  !env.NO_COLOR &&\n  (env.FORCE_COLOR || (stdout?.isTTY && !env.CI && env.TERM !== 'dumb'))\n\nconst replaceClose = (\n  str: string,\n  close: string,\n  replace: string,\n  index: number\n): string => {\n  const start = str.substring(0, index) + replace\n  const end = str.substring(index + close.length)\n  const nextIndex = end.indexOf(close)\n  return ~nextIndex\n    ? start + replaceClose(end, close, replace, nextIndex)\n    : start + end\n}\n\nconst formatter = (open: string, close: string, replace = open) => {\n  if (!enabled) return String\n  return (input: string) => {\n    const string = '' + input\n    const index = string.indexOf(close, open.length)\n    return ~index\n      ? open + replaceClose(string, close, replace, index) + close\n      : open + string + close\n  }\n}\n\nexport const reset = enabled ? (s: string) => `\\x1b[0m${s}\\x1b[0m` : String\nexport const bold = formatter('\\x1b[1m', '\\x1b[22m', '\\x1b[22m\\x1b[1m')\nexport const dim = formatter('\\x1b[2m', '\\x1b[22m', '\\x1b[22m\\x1b[2m')\nexport const italic = formatter('\\x1b[3m', '\\x1b[23m')\nexport const underline = formatter('\\x1b[4m', '\\x1b[24m')\nexport const inverse = formatter('\\x1b[7m', '\\x1b[27m')\nexport const hidden = formatter('\\x1b[8m', '\\x1b[28m')\nexport const strikethrough = formatter('\\x1b[9m', '\\x1b[29m')\nexport const black = formatter('\\x1b[30m', '\\x1b[39m')\nexport const red = formatter('\\x1b[31m', '\\x1b[39m')\nexport const green = formatter('\\x1b[32m', '\\x1b[39m')\nexport const yellow = formatter('\\x1b[33m', '\\x1b[39m')\nexport const blue = formatter('\\x1b[34m', '\\x1b[39m')\nexport const magenta = formatter('\\x1b[35m', '\\x1b[39m')\nexport const purple = formatter('\\x1b[38;2;173;127;168m', '\\x1b[39m')\nexport const cyan = formatter('\\x1b[36m', '\\x1b[39m')\nexport const white = formatter('\\x1b[37m', '\\x1b[39m')\nexport const gray = formatter('\\x1b[90m', '\\x1b[39m')\nexport const bgBlack = formatter('\\x1b[40m', '\\x1b[49m')\nexport const bgRed = formatter('\\x1b[41m', '\\x1b[49m')\nexport const bgGreen = formatter('\\x1b[42m', '\\x1b[49m')\nexport const bgYellow = formatter('\\x1b[43m', '\\x1b[49m')\nexport const bgBlue = formatter('\\x1b[44m', '\\x1b[49m')\nexport const bgMagenta = formatter('\\x1b[45m', '\\x1b[49m')\nexport const bgCyan = formatter('\\x1b[46m', '\\x1b[49m')\nexport const bgWhite = formatter('\\x1b[47m', '\\x1b[49m')\n","import { parse } from 'next/dist/compiled/stacktrace-parser'\n\nconst regexNextStatic = /\\/_next(\\/static\\/.+)/\n\nexport interface StackFrame {\n  file: string | null\n  methodName: string\n  arguments: string[]\n  /** 1-based */\n  line1: number | null\n  /** 1-based */\n  column1: number | null\n}\n\nexport function parseStack(\n  stack: string,\n  distDir = process.env.__NEXT_DIST_DIR\n): StackFrame[] {\n  if (!stack) return []\n\n  // throw away eval information that stacktrace-parser doesn't support\n  // adapted from https://github.com/stacktracejs/error-stack-parser/blob/9f33c224b5d7b607755eb277f9d51fcdb7287e24/error-stack-parser.js#L59C33-L59C62\n  stack = stack\n    .split('\\n')\n    .map((line) => {\n      if (line.includes('(eval ')) {\n        line = line\n          .replace(/eval code/g, 'eval')\n          .replace(/\\(eval at [^()]* \\(/, '(file://')\n          .replace(/\\),.*$/g, ')')\n      }\n\n      return line\n    })\n    .join('\\n')\n\n  const frames = parse(stack)\n  return frames.map((frame) => {\n    try {\n      const url = new URL(frame.file!)\n      const res = regexNextStatic.exec(url.pathname)\n      if (res) {\n        const effectiveDistDir = distDir\n          ?.replace(/\\\\/g, '/')\n          ?.replace(/\\/$/, '')\n        if (effectiveDistDir) {\n          frame.file =\n            'file://' + effectiveDistDir.concat(res.pop()!) + url.search\n        }\n      }\n    } catch {}\n    return {\n      file: frame.file,\n      line1: frame.lineNumber,\n      column1: frame.column,\n      methodName: frame.methodName,\n      arguments: frame.arguments,\n    }\n  })\n}\n","import * as path from 'path'\nimport * as url from 'url'\nimport type * as util from 'util'\nimport { SourceMapConsumer as SyncSourceMapConsumer } from 'next/dist/compiled/source-map'\nimport {\n  type ModernSourceMapPayload,\n  devirtualizeReactServerURL,\n  findApplicableSourceMapPayload,\n  findSourceMapPayload,\n  ignoreListAnonymousStackFramesIfSandwiched as ignoreListAnonymousStackFramesIfSandwichedGeneric,\n  sourceMapIgnoreListsEverything,\n} from './lib/source-maps'\nimport { parseStack, type StackFrame } from './lib/parse-stack'\nimport type { IgnorableStackFrame } from '../next-devtools/server/shared'\nimport { workUnitAsyncStorage } from './app-render/work-unit-async-storage.external'\nimport { dim, italic } from '../lib/picocolors'\n\ntype FindSourceMapPayload = (\n  sourceURL: string\n) => ModernSourceMapPayload | undefined\n// Find a source map using the bundler's API.\n// This is only a fallback for when Node.js fails to due to bugs e.g. https://github.com/nodejs/node/issues/52102\n// TODO: Remove once all supported Node.js versions are fixed.\n// TODO(veil): Set from Webpack as well\n//\n// Stored on `globalThis` for the same reason as the code frame renderer below:\n// this module is bundled into several runtimes that each get their own copy,\n// and the copy that installs the implementation is not necessarily the one that\n// symbolicates a frame. The dev validation worker depends on that, because it\n// installs its implementation from the worker bundle while the frames are\n// symbolicated by the app-page bundle's copy.\nconst BUNDLER_FIND_SOURCE_MAP = Symbol.for('next.dev.bundlerFindSourceMap')\ntype GlobalWithBundlerFindSourceMap = typeof globalThis & {\n  [BUNDLER_FIND_SOURCE_MAP]?: FindSourceMapPayload\n}\n\nexport function setBundlerFindSourceMapImplementation(\n  findSourceMapImplementation: FindSourceMapPayload\n): void {\n  ;(globalThis as GlobalWithBundlerFindSourceMap)[BUNDLER_FIND_SOURCE_MAP] =\n    findSourceMapImplementation\n}\n\nfunction bundlerFindSourceMapPayload(\n  sourceURL: string\n): ModernSourceMapPayload | undefined {\n  return (globalThis as GlobalWithBundlerFindSourceMap)[\n    BUNDLER_FIND_SOURCE_MAP\n  ]?.(sourceURL)\n}\n\n// Code frame renderer - injected by dev/build to avoid hard dependency on native bindings\ntype CodeFrameRenderer = (\n  frame: IgnorableStackFrame,\n  source: string | null,\n  colors: boolean\n) => string | null\n\n// The code-frame renderer is stored on `globalThis` rather than in a module\n// variable because this module is bundled into several runtimes (the dev\n// server, the app-page runtime bundle, and the dev worker bundles) that each\n// get their own copy. `Error.prepareStackTrace` is a single process-global, so\n// whichever copy patched it last is the one that renders errors, which may not\n// be the copy `setCodeFrameRenderer` was called on. Sharing the renderer\n// through a `globalThis` symbol lets any copy install it and any copy read it.\nconst CODE_FRAME_RENDERER = Symbol.for('next.dev.codeFrameRenderer')\ntype GlobalWithCodeFrameRenderer = typeof globalThis & {\n  [CODE_FRAME_RENDERER]?: CodeFrameRenderer\n}\n\nexport function setCodeFrameRenderer(renderer: CodeFrameRenderer): void {\n  ;(globalThis as GlobalWithCodeFrameRenderer)[CODE_FRAME_RENDERER] = renderer\n}\n\nfunction getOriginalCodeFrame(\n  frame: IgnorableStackFrame,\n  source: string | null,\n  colors: boolean = process.stdout.isTTY\n): string | null {\n  const codeFrameRenderer = (globalThis as GlobalWithCodeFrameRenderer)[\n    CODE_FRAME_RENDERER\n  ]\n  if (!codeFrameRenderer) {\n    // No renderer available - gracefully degrade\n    return null\n  }\n  return codeFrameRenderer(frame, source, colors)\n}\n\ntype SourceMapCache = Map<\n  string,\n  null | { map: SyncSourceMapConsumer; payload: ModernSourceMapPayload }\n>\n\n// Constructing a consumer indexes the whole payload — expensive for large\n// chunk maps and previously paid per frame — so consumers are shared across\n// all frames and errors whose lookups returned the same payload. The inner\n// key is the URL the consumer resolves relative `sources` against.\nconst sourceMapConsumers = new WeakMap<\n  ModernSourceMapPayload,\n  Map<string, SyncSourceMapConsumer>\n>()\n\nfunction getOrCreateSourceMapConsumer(\n  payload: ModernSourceMapPayload,\n  sourceMapURL: string\n): SyncSourceMapConsumer {\n  let consumersByURL = sourceMapConsumers.get(payload)\n  let consumer = consumersByURL?.get(sourceMapURL)\n  if (consumer === undefined) {\n    consumer = new SyncSourceMapConsumer(\n      payload,\n      // @ts-expect-error: our typings don't include this parameter but it is here.\n      sourceMapURL\n    )\n    if (consumersByURL === undefined) {\n      consumersByURL = new Map()\n      // Throws for payloads that aren't objects; those are invalid source\n      // maps anyway, and the caller reports them.\n      sourceMapConsumers.set(payload, consumersByURL)\n    }\n    consumersByURL.set(sourceMapURL, consumer)\n  }\n  return consumer\n}\n\nfunction frameToString(\n  methodName: string | null,\n  sourceURL: string | null,\n  line1: number | null,\n  column1: number | null\n): string {\n  let sourceLocation = line1 !== null ? `:${line1}` : ''\n  if (column1 !== null && sourceLocation !== '') {\n    sourceLocation += `:${column1}`\n  }\n\n  let fileLocation: string | null\n  if (\n    sourceURL !== null &&\n    sourceURL.startsWith('file://') &&\n    URL.canParse(sourceURL)\n  ) {\n    // If not relative to CWD, the path is ambiguous to IDEs and clicking will prompt to select the file first.\n    // In a multi-app repo, this leads to potentially larger file names but will make clicking snappy.\n    // There's no tradeoff for the cases where `dir` in `next dev [dir]` is omitted\n    // since relative to cwd is both the shortest and snappiest.\n    fileLocation = path.relative(process.cwd(), url.fileURLToPath(sourceURL))\n  } else if (sourceURL !== null && sourceURL.startsWith('/')) {\n    fileLocation = path.relative(process.cwd(), sourceURL)\n  } else {\n    fileLocation = sourceURL\n  }\n\n  return methodName\n    ? `    at ${methodName} (${fileLocation}${sourceLocation})`\n    : `    at ${fileLocation}${sourceLocation}`\n}\n\nfunction computeErrorName(error: Error): string {\n  // TODO: Node.js seems to use a different algorithm\n  // class ReadonlyRequestCookiesError extends Error {}` would read `ReadonlyRequestCookiesError: [...]`\n  // in the stack i.e. seems like under certain conditions it favors the constructor name.\n  return error.name || 'Error'\n}\n\nfunction prepareUnsourcemappedStackTrace(\n  error: Error,\n  structuredStackTrace: any[]\n): string {\n  const name = computeErrorName(error)\n  const message = error.message || ''\n  let stack = name + ': ' + message\n  for (let i = 0; i < structuredStackTrace.length; i++) {\n    stack += '\\n    at ' + structuredStackTrace[i].toString()\n  }\n  return stack\n}\n\nfunction shouldIgnoreListGeneratedFrame(file: string): boolean {\n  return file.startsWith('node:') || file.includes('node_modules')\n}\n\nfunction shouldIgnoreListOriginalFrame(file: string): boolean {\n  return file.includes('node_modules')\n}\n\ninterface SourcemappableStackFrame extends StackFrame {\n  file: NonNullable<StackFrame['file']>\n}\n\ninterface SourceMappedFrame {\n  stack: IgnorableStackFrame\n  // DEV only\n  code: string | null\n}\n\nfunction createUnsourcemappedFrame(\n  frame: SourcemappableStackFrame\n): SourceMappedFrame {\n  return {\n    stack: {\n      file: frame.file,\n      line1: frame.line1,\n      column1: frame.column1,\n      methodName: frame.methodName,\n      arguments: frame.arguments,\n      ignored: shouldIgnoreListGeneratedFrame(frame.file),\n    },\n    code: null,\n  }\n}\n\nfunction ignoreListAnonymousStackFramesIfSandwiched(\n  sourceMappedFrames: Array<{\n    stack: IgnorableStackFrame\n    code: string | null\n  }>\n) {\n  return ignoreListAnonymousStackFramesIfSandwichedGeneric(\n    sourceMappedFrames,\n    (frame) => frame.stack.file === '<anonymous>',\n    (frame) => frame.stack.ignored,\n    (frame) => frame.stack.methodName,\n    (frame) => {\n      frame.stack.ignored = true\n    }\n  )\n}\n\n/**\n * @param frame\n * @param sourceMapCache\n * @returns The original frame if not sourcemapped.\n */\nfunction getSourcemappedFrameIfPossible(\n  frame: SourcemappableStackFrame,\n  sourceMapCache: SourceMapCache,\n  inspectOptions: util.InspectOptions\n): {\n  stack: IgnorableStackFrame\n  code: string | null\n} {\n  const sourceMapCacheEntry = sourceMapCache.get(frame.file)\n  let sourceMapConsumer: SyncSourceMapConsumer\n  let sourceMapPayload: ModernSourceMapPayload\n  if (sourceMapCacheEntry === undefined) {\n    // Fake frame scripts (`about://React/Server/file:///path/to/chunk.js?42`)\n    // have their positions padded to match the underlying chunk, so they\n    // resolve via the chunk's source map.\n    let sourceURL = devirtualizeReactServerURL(frame.file)\n    // e.g. \"/Users/foo/APP/.next/server/chunks/ssr/[root-of-the-server]__2934a0._.js\"\n    // or \"C:\\Users\\foo\\APP\\.next\\server\\chunks\\ssr\\[root-of-the-server]__2934a0._.js\"\n    // will be keyed by Node.js as \"file:///APP/.next/server/chunks/ssr/[root-of-the-server]__2934a0._.js\".\n    // This is likely caused by `callsite.toString()` in `Error.prepareStackTrace converting file URLs to paths.\n    //\n    // But frame.file might also be \"webpack-internal:///(rsc)/./app/bad-sourcemap/page.js\" or\n    // \"<anonymous>\" or \"node:internal/process/task_queues\" here\n    if (path.isAbsolute(sourceURL)) {\n      sourceURL = url.pathToFileURL(sourceURL).toString()\n    }\n    let maybeSourceMapPayload: ModernSourceMapPayload | undefined\n    try {\n      maybeSourceMapPayload = findSourceMapPayload(sourceURL)\n\n      if (\n        maybeSourceMapPayload === undefined &&\n        sourceURL.startsWith('file://')\n      ) {\n        // Devirtualizing React's fake frame URL decodes the path, while Node.js\n        // keys its source map cache by the `pathToFileURL` encoding of the same\n        // path, so a path containing characters that encoding escapes (such as\n        // the brackets in Turbopack's `[root-of-the-server]` chunks) misses\n        // above. Node.js also accepts the plain path, which is unambiguous for\n        // both interpretations, so retry with that before giving up.\n        //\n        // TODO(veil): Making React's fake frame URLs reversible, as proposed in\n        // https://github.com/react/react/pull/37105, would let the first lookup\n        // succeed on its own and retire this retry.\n        maybeSourceMapPayload = findSourceMapPayload(\n          url.fileURLToPath(sourceURL)\n        )\n      }\n    } catch (cause) {\n      // We should not log an actual error instance here because that will re-enter\n      // this codepath during error inspection and could lead to infinite recursion.\n      console.error(\n        `${sourceURL}: Invalid source map. Only conformant source maps can be used to find the original code. Cause: ${cause}`\n      )\n      // If loading fails once, it'll fail every time.\n      // So set the cache to avoid duplicate errors.\n      sourceMapCache.set(frame.file, null)\n      // Don't even fall back to the bundler because it might be not as strict\n      // with regards to parsing and then we fail later once we consume the\n      // source map payload.\n      // This essentially avoids a redundant error where we fail here and then\n      // later on consumption because the bundler just handed back an invalid\n      // source map.\n      return createUnsourcemappedFrame(frame)\n    }\n    if (maybeSourceMapPayload === undefined) {\n      maybeSourceMapPayload = bundlerFindSourceMapPayload(sourceURL)\n    }\n\n    if (maybeSourceMapPayload === undefined) {\n      return createUnsourcemappedFrame(frame)\n    }\n    sourceMapPayload = maybeSourceMapPayload\n    try {\n      // Pass the source map URL as the second parameter so that the consumer\n      // can resolve relative paths in the source map's `sources` array. This is\n      // a guess! Turbopack places .map files as siblings to the chunks so this\n      // is sufficient to compute relative paths but is actually wrong (the\n      // chunk and sourcemap have different content hashes). We are using the\n      // node API to read the sourcemap and it doesn't give us access to the\n      // URI. `sourceURL` is already devirtualized so that relative `sources`\n      // resolve against the real chunk URL, not React's virtual one.\n      const sourceMapURL = sourceURL + '.map'\n      sourceMapConsumer = getOrCreateSourceMapConsumer(\n        sourceMapPayload,\n        sourceMapURL\n      )\n    } catch (cause) {\n      // We should not log an actual error instance here because that will re-enter\n      // this codepath during error inspection and could lead to infinite recursion.\n      console.error(\n        `${sourceURL}: Invalid source map. Only conformant source maps can be used to find the original code. Cause: ${cause}`\n      )\n      // If creating the consumer fails once, it'll fail every time.\n      // So set the cache to avoid duplicate errors.\n      sourceMapCache.set(frame.file, null)\n      return createUnsourcemappedFrame(frame)\n    }\n    sourceMapCache.set(frame.file, {\n      map: sourceMapConsumer,\n      payload: sourceMapPayload,\n    })\n  } else if (sourceMapCacheEntry === null) {\n    // We failed earlier getting the payload or consumer.\n    // Just return an unsourcemapped frame.\n    // Errors will already be logged.\n    return createUnsourcemappedFrame(frame)\n  } else {\n    sourceMapConsumer = sourceMapCacheEntry.map\n    sourceMapPayload = sourceMapCacheEntry.payload\n  }\n\n  const sourcePosition = sourceMapConsumer.originalPositionFor({\n    column: (frame.column1 ?? 1) - 1,\n    line: frame.line1 ?? 1,\n  })\n\n  const applicableSourceMap = findApplicableSourceMapPayload(\n    (frame.line1 ?? 1) - 1,\n    (frame.column1 ?? 1) - 1,\n    sourceMapPayload\n  )\n  let ignored =\n    applicableSourceMap !== undefined &&\n    sourceMapIgnoreListsEverything(applicableSourceMap)\n  if (sourcePosition.source === null) {\n    return {\n      stack: {\n        arguments: frame.arguments,\n        file: frame.file,\n        line1: frame.line1,\n        column1: frame.column1,\n        methodName: frame.methodName,\n        ignored: ignored || shouldIgnoreListGeneratedFrame(frame.file),\n      },\n      code: null,\n    }\n  }\n\n  // TODO(veil): Upstream a method to sourcemap consumer that immediately says if a frame is ignored or not.\n  if (applicableSourceMap === undefined) {\n    console.error('No applicable source map found in sections for frame', frame)\n  } else if (!ignored && shouldIgnoreListOriginalFrame(sourcePosition.source)) {\n    // Externals may be libraries that don't ship ignoreLists.\n    // This is really taking control away from libraries.\n    // They should still ship `ignoreList` so that attached debuggers ignore-list their frames.\n    // TODO: Maybe only ignore library sourcemaps if `ignoreList` is absent?\n    // Though keep in mind that Turbopack omits empty `ignoreList`.\n    // So if we establish this convention, we should communicate it to the ecosystem.\n    ignored = true\n  } else if (!ignored) {\n    // TODO: O(n^2). Consider moving `ignoreList` into a Set\n    const sourceIndex = applicableSourceMap.sources.indexOf(\n      sourcePosition.source\n    )\n    ignored = applicableSourceMap.ignoreList?.includes(sourceIndex) ?? false\n  }\n\n  const originalFrame: IgnorableStackFrame = {\n    // We ignore the sourcemapped name since it won't be the correct name.\n    // The callsite will point to the column of the variable name instead of the\n    // name of the enclosing function.\n    // TODO(NDX-531): Spy on prepareStackTrace to get the enclosing line number for method name mapping.\n    methodName: frame.methodName\n      ?.replace('__WEBPACK_DEFAULT_EXPORT__', 'default')\n      ?.replace('__webpack_exports__.', ''),\n    file: sourcePosition.source,\n    line1: sourcePosition.line,\n    column1: sourcePosition.column + 1,\n    // TODO: c&p from async createOriginalStackFrame but why not frame.arguments?\n    arguments: [],\n    ignored,\n  }\n\n  /** undefined = not yet computed */\n  let codeFrame: string | null | undefined\n\n  return {\n    stack: originalFrame,\n    get code() {\n      if (codeFrame === undefined) {\n        const sourceContent: string | null =\n          sourceMapConsumer.sourceContentFor(\n            sourcePosition.source,\n            /* returnNullOnMissing */ true\n          ) ?? null\n        codeFrame = getOriginalCodeFrame(\n          originalFrame,\n          sourceContent,\n          inspectOptions.colors\n        )\n      }\n      return codeFrame\n    },\n  }\n}\n\nfunction parseAndSourceMap(\n  error: Error,\n  inspectOptions: util.InspectOptions\n): string {\n  const showIgnoreListed = process.env.__NEXT_SHOW_IGNORE_LISTED === 'true'\n  // We overwrote Error.prepareStackTrace earlier so error.stack is not sourcemapped.\n  let unparsedStack = String(error.stack)\n  // We could just read it from `error.stack`.\n  // This works around cases where a 3rd party `Error.prepareStackTrace` implementation\n  // doesn't implement the name computation correctly.\n  const errorName = computeErrorName(error)\n\n  let idx = unparsedStack.indexOf('react_stack_bottom_frame')\n  if (idx !== -1) {\n    idx = unparsedStack.lastIndexOf('\\n', idx)\n  } else {\n    idx = unparsedStack.indexOf('react-stack-bottom-frame')\n    if (idx !== -1) {\n      idx = unparsedStack.lastIndexOf('\\n', idx)\n    }\n  }\n  if (idx !== -1 && !showIgnoreListed) {\n    // Cut off everything after the bottom frame since it'll be React internals.\n    unparsedStack = unparsedStack.slice(0, idx)\n  }\n\n  const unsourcemappedStack = parseStack(unparsedStack)\n  const sourceMapCache: SourceMapCache = new Map()\n\n  const sourceMappedFrames: Array<{\n    stack: IgnorableStackFrame\n    code: string | null\n  }> = []\n  let sourceFrame: null | string = null\n  for (const frame of unsourcemappedStack) {\n    if (frame.file === null) {\n      sourceMappedFrames.push({\n        code: null,\n        stack: {\n          file: frame.file,\n          line1: frame.line1,\n          column1: frame.column1,\n          methodName: frame.methodName,\n          arguments: frame.arguments,\n          ignored: false,\n        },\n      })\n    } else {\n      const sourcemappedFrame = getSourcemappedFrameIfPossible(\n        // We narrowed this earlier by bailing if `frame.file` is null.\n        frame as SourcemappableStackFrame,\n        sourceMapCache,\n        inspectOptions\n      )\n      sourceMappedFrames.push(sourcemappedFrame)\n\n      // We can determine the sourceframe here.\n      // anonymous frames won't have a sourceframe so we don't need to scan\n      // all stacks again to check if they are sandwiched between ignored frames.\n      if (\n        sourceFrame === null &&\n        // TODO: Is this the right choice?\n        !sourcemappedFrame.stack.ignored &&\n        sourcemappedFrame.code !== null\n      ) {\n        sourceFrame = sourcemappedFrame.code\n      }\n    }\n  }\n\n  ignoreListAnonymousStackFramesIfSandwiched(sourceMappedFrames)\n\n  let sourceMappedStack = ''\n  for (let i = 0; i < sourceMappedFrames.length; i++) {\n    const frame = sourceMappedFrames[i]\n\n    if (!frame.stack.ignored) {\n      sourceMappedStack +=\n        '\\n' +\n        frameToString(\n          frame.stack.methodName,\n          frame.stack.file,\n          frame.stack.line1,\n          frame.stack.column1\n        )\n    } else if (showIgnoreListed) {\n      sourceMappedStack +=\n        '\\n' +\n        dim(\n          frameToString(\n            frame.stack.methodName,\n            frame.stack.file,\n            frame.stack.line1,\n            frame.stack.column1\n          )\n        )\n    }\n  }\n\n  if (sourceMappedStack === '' && sourceMappedFrames.length > 0) {\n    // The `at` marker is important so that Node.js doesn't add square brackets\n    // around the stringified error i.e. this results in\n    // Error: message\n    //   at <ignore-listed frames>\n    // instead of\n    // [Error: message\n    //   at <ignore-listed frames>]\n    sourceMappedStack = '\\n    at ' + italic('ignore-listed frames')\n  }\n\n  return (\n    errorName +\n    ': ' +\n    error.message +\n    sourceMappedStack +\n    (sourceFrame !== null ? '\\n' + sourceFrame : '')\n  )\n}\n\nfunction sourceMapError(\n  this: void,\n  error: Error,\n  inspectOptions: util.InspectOptions\n): Error {\n  // Setting an undefined `cause` would print `[cause]: undefined`\n  const options = error.cause !== undefined ? { cause: error.cause } : undefined\n\n  // Create a new Error object with the source mapping applied and then use native\n  // Node.js formatting on the result.\n  const newError =\n    error instanceof AggregateError\n      ? // Preserve AggregateError's `errors` instance property\n        new AggregateError(error.errors, error.message, options)\n      : new Error(error.message, options)\n\n  // TODO: Ensure `class MyError extends Error {}` prints `MyError` as the name\n  newError.stack = parseAndSourceMap(error, inspectOptions)\n\n  for (const key in error) {\n    if (!Object.prototype.hasOwnProperty.call(newError, key)) {\n      // @ts-expect-error -- We're copying all enumerable properties.\n      // So they definitely exist on `this` and obviously have no type on `newError` (yet)\n      newError[key] = error[key]\n    }\n  }\n\n  return newError\n}\n\nexport function patchErrorInspectNodeJS(\n  errorConstructor: ErrorConstructor\n): void {\n  const inspectSymbol = Symbol.for('nodejs.util.inspect.custom')\n\n  errorConstructor.prepareStackTrace = prepareUnsourcemappedStackTrace\n\n  // @ts-expect-error -- TODO upstream types\n  errorConstructor.prototype[inspectSymbol] = function (\n    depth: number,\n    inspectOptions: util.InspectOptions,\n    inspect: typeof util.inspect\n  ): string {\n    // avoid false-positive dynamic i/o warnings e.g. due to usage of `Math.random` in `source-map`.\n    return workUnitAsyncStorage.exit(() => {\n      const newError = sourceMapError(this, inspectOptions)\n\n      const originalCustomInspect = (newError as any)[inspectSymbol]\n      // Prevent infinite recursion.\n      // { customInspect: false } would result in `error.cause` not using our inspect.\n      Object.defineProperty(newError, inspectSymbol, {\n        value: undefined,\n        enumerable: false,\n        writable: true,\n      })\n      try {\n        return inspect(newError, {\n          ...inspectOptions,\n          depth,\n        })\n      } finally {\n        ;(newError as any)[inspectSymbol] = originalCustomInspect\n      }\n    })\n  }\n}\n\nexport function patchErrorInspectEdgeLite(\n  errorConstructor: ErrorConstructor\n): void {\n  const inspectSymbol = Symbol.for('edge-runtime.inspect.custom')\n\n  errorConstructor.prepareStackTrace = prepareUnsourcemappedStackTrace\n\n  // @ts-expect-error -- TODO upstream types\n  errorConstructor.prototype[inspectSymbol] = function ({\n    format,\n  }: {\n    format: (...args: unknown[]) => string\n  }): string {\n    // avoid false-positive dynamic i/o warnings e.g. due to usage of `Math.random` in `source-map`.\n    return workUnitAsyncStorage.exit(() => {\n      const newError = sourceMapError(this, {})\n\n      const originalCustomInspect = (newError as any)[inspectSymbol]\n      // Prevent infinite recursion.\n      Object.defineProperty(newError, inspectSymbol, {\n        value: undefined,\n        enumerable: false,\n        writable: true,\n      })\n      try {\n        return format(newError)\n      } finally {\n        ;(newError as any)[inspectSymbol] = originalCustomInspect\n      }\n    })\n  }\n}\n","export class InvariantError extends Error {\n  constructor(message: string, options?: ErrorOptions) {\n    super(\n      `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n      options\n    )\n    this.name = 'InvariantError'\n  }\n}\n","// Note: This file is JS because it's used by the taskfile-swc.js file, which is JS.\n// Keep file changes in sync with the corresponding `.d.ts` files.\n\n/**\n * These are the minimum browser versions that we consider \"modern\" and thus compile for by default.\n * This list was generated using `pnpm browserslist \"baseline widely available\"` on 2025-10-01.\n */\nconst MODERN_BROWSERSLIST_TARGET = [\n  'chrome 111',\n  'edge 111',\n  'firefox 111',\n  'safari 16.4',\n]\n\nmodule.exports = MODERN_BROWSERSLIST_TARGET\n","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */\nexport function ensureLeadingSlash(path: string) {\n  return path.startsWith('/') ? path : `/${path}`\n}\n","import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash'\nimport { isGroupSegment } from '../../segment'\n\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */\nexport function normalizeAppPath(route: string) {\n  return ensureLeadingSlash(\n    route.split('/').reduce((pathname, segment, index, segments) => {\n      // Empty segments are ignored.\n      if (!segment) {\n        return pathname\n      }\n\n      // Groups are ignored.\n      if (isGroupSegment(segment)) {\n        return pathname\n      }\n\n      // Parallel segments are ignored.\n      if (segment[0] === '@') {\n        return pathname\n      }\n\n      // The last segment (if it's a leaf) should be ignored.\n      if (\n        (segment === 'page' || segment === 'route') &&\n        index === segments.length - 1\n      ) {\n        return pathname\n      }\n\n      return `${pathname}/${segment}`\n    }, '')\n  )\n}\n\n/**\n * Comparator for sorting app paths so that parallel slot paths (containing\n * `/@`) come before the children/root page path. This ensures the last item\n * is always the children page, which is what `renderPageComponent` reads via\n * `appPaths[appPaths.length - 1]`.\n *\n * Without this, route group prefixes like `(group)` (char code 0x28) sort\n * before `@` (0x40), causing the children page to sort first instead of last\n * and leading to a manifest mismatch / 404 in webpack dev mode.\n */\nexport function compareAppPaths(a: string, b: string): number {\n  const aHasSlot = a.includes('/@')\n  const bHasSlot = b.includes('/@')\n  if (aHasSlot && !bHasSlot) return -1\n  if (!aHasSlot && bHasSlot) return 1\n  return a.localeCompare(b)\n}\n\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */\nexport function normalizeRscURL(url: string) {\n  return url.replace(\n    /\\.rsc($|\\?)/,\n    // $1 ensures `?` is preserved\n    '$1'\n  )\n}\n","import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n  return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n  // Use array[0] for performant purpose\n  return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n  return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n  segment: Segment,\n  searchParams: Record<string, string | string[] | undefined>\n) {\n  const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n  if (isPageSegment) {\n    const stringifiedQuery = JSON.stringify(searchParams)\n    return stringifiedQuery !== '{}'\n      ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n      : PAGE_SEGMENT_KEY\n  }\n\n  return segment\n}\n\nexport function computeSelectedLayoutSegment(\n  segments: string[] | null,\n  parallelRouteKey: string\n): string | null {\n  if (!segments || segments.length === 0) {\n    return null\n  }\n\n  // For 'children', use first segment; for other parallel routes, use last segment\n  const rawSegment =\n    parallelRouteKey === 'children'\n      ? segments[0]\n      : segments[segments.length - 1]\n\n  // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n  // Returning an internal value like `__DEFAULT__` would be confusing\n  return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n  tree: FlightRouterState,\n  parallelRouteKey: string,\n  first = true,\n  segmentPath: string[] = []\n): string[] {\n  let node: FlightRouterState\n  if (first) {\n    // Use the provided parallel route key on the first parallel route\n    node = tree[1][parallelRouteKey]\n  } else {\n    // After first parallel route prefer children, if there's no children pick the first parallel route.\n    const parallelRoutes = tree[1]\n    node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n  }\n\n  if (!node) return segmentPath\n  const segment = node[0]\n\n  let segmentValue = getSegmentValue(segment)\n\n  if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n    return segmentPath\n  }\n\n  segmentPath.push(segmentValue)\n\n  return getSelectedLayoutSegmentPath(\n    node,\n    parallelRouteKey,\n    false,\n    segmentPath\n  )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n        if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n            Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n        }\n    }\n};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = () => (Promise.resolve()) ","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n  module.paths = [];\n  if (!module.children) module.children = [];\n  return module;\n};"],"names":["b","error","Error","exports","require","version","renderToReadableStream","resume","renderToPipeableStream","resumeToPipeableStream","styleReplacer","match","prefix","s","suffix","scriptReplacer","getIteratorFn","maybeIterable","MAYBE_ITERATOR_SYMBOL","objectName","object","Object","describeKeyForErrorMessage","key","encodedKey","JSON","describeValueForErrorMessage","value","isArrayImpl","CLIENT_REFERENCE_TAG","String","describeElementType","type","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_VIEW_TRANSITION_TYPE","REACT_FORWARD_REF_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","payload","x","flushBuffered","destination","writeChunk","chunk","writtenBytes","writeToDestination","currentView","Uint8Array","target","read","textEncoder","view","destinationHasCapacity$1","writeChunkAndReturn","completeWriting","stringToPrecomputedChunk","content","console","byteLengthOfChunk","Buffer","typeName","Symbol","willCoercionThrow","e","checkAttributeStringCoercion","attributeName","checkCSSPropertyStringCoercion","propName","checkHtmlStringCoercion","isAttributeNameSafe","hasOwnProperty","validatedAttributeNameCache","illegalAttributeNameCache","VALID_ATTRIBUTE_NAME_REGEX","checkControlledValueProps","tagName","props","hasReadOnlyValue","escapeTextForBrowser","text","matchHtmlRegExp","index","html","lastIndex","sanitizeURL","url","isJavaScriptProtocol","escapeEntireInlineScriptContent","scriptText","scriptRegex","createRenderState","resumableState","nonce","externalRuntimeConfig","importMap","onHeaders","maxHeadersLength","nonceScript","inlineScriptWithNonce","startInlineScript","nonceStyle","inlineStyleWithNonce","startInlineStyle","idPrefix","bootstrapChunks","externalRuntimeScript","bootstrapScriptContent","bootstrapScripts","bootstrapModules","pushCompletedShellIdAttribute","endOfStartTag","endInlineScript","pushScriptImpl","importMapScriptStart","importMapScriptEnd","createPreambleState","Set","Map","preloadBootstrapScriptOrModule","startScriptSrc","attributeEnd","scriptNonce","scriptIntegirty","scriptCrossOrigin","endAsyncScript","startModuleSrc","createResumableState","identifierPrefix","streamingFormat","ScriptStreamingFormat","NothingSent","createFormatContext","insertionMode","selectedValue","tagScope","viewTransition","createRootFormatContext","namespaceURI","SVG_MODE","MATHML_MODE","ROOT_HTML_MODE","getChildFormatContext","parentContext","subtreeScope","HTML_MODE","HTML_TABLE_MODE","HTML_TABLE_BODY_MODE","HTML_COLGROUP_MODE","HTML_TABLE_ROW_MODE","HTML_HEAD_MODE","HTML_HTML_MODE","getSuspenseViewTransition","parentViewTransition","getSuspenseFallbackFormatContext","NeedUpgradeToViewTransitions","getSuspenseContentFormatContext","makeId","treeId","localId","pushTextInstance","renderState","textEmbedded","textSeparator","pushViewTransitionAttributes","formatContext","pushStringAttribute","pushStyleAttribute","style","styleName","isFirst","styleValue","nameChunk","name","warnedStyleNames","msPattern$1","hyphenPattern","_","character","badVendoredStyleNamePattern","badStyleValueWithSemicolonPattern","value$jscomp$0","warnedStyleValues","isNaN","warnedForNaNValue","isFinite","warnedForInfinityValue","styleNameCache","uppercasePattern","msPattern","unitlessNumbers","styleAttributeStart","styleAssign","styleSeparator","pushBooleanAttribute","attributeSeparator","attributeEmptyString","attributeAssign","pushAdditionalFormField","startHiddenInputChunk","validateAdditionalFormField","endOfStartTagSelfClosing","getCustomFormFields","formAction","id","customFields","formData","pushFormActionAttribute","formEncType","formMethod","formTarget","didWarnFormActionName","didWarnFormActionMethod","didWarnFormActionTarget","actionJavaScriptURL","injectFormReplayingRuntime","pushAttribute","Blob","blob","blobCache","WeakMap","suspenseCache","thenable","arrayBuffer","result","didWarnForNewBooleanPropsWithEmptyValue","aliases","pushInnerHTML","innerHTML","children","checkSelectProp","preamble","formReplayingRuntimeScript","pushLinkImpl","propKey","startChunkForTag","propValue","escapeStyleTextContent","styleText","styleRegex","pushSelfClosing","tag","pushTitleImpl","Array","endChunkForTag","pushStartSingletonElement","pushStartGenericElement","tagStartChunk","validatedTagCache","VALID_TAG_REGEX","endTagCache","hoistPreambleState","preambleState","writeBootstrap","i","writeStartPendingSuspenseBoundary","startPendingSuspenseBoundary1","startPendingSuspenseBoundary2","escapeJSStringsForInstructionScripts","input","regexForJSStringsInInstructionScripts","escapeJSObjectForInstructionScripts","regexForJSStringsInScripts","flushStyleTagsLateForBoundary","styleQueue","rules","hrefs","currentlyFlushingRenderState","lateStyleTagResourceOpen1","lateStyleTagResourceOpen2","spaceSeparator","lateStyleTagResourceOpen3","destinationHasCapacity","lateStyleTagTemplateClose","currentlyRenderingBoundaryHasStylesToHoist","hasStylesToHoist","stylesheet","PREAMBLE","writeHoistablesForBoundary","hoistableState","flushResource","resource","flushStyleInPreamble","stylesheetFlushingQueue","flushStylesInPreamble","hasStylesheets","styleTagResourceOpen1","styleTagResourceOpen2","styleTagResourceOpen3","styleTagResourceClose","preloadLateStyle","PENDING$1","PRELOADED","preloadLateStyles","writeCompletedShellIdAttribute","SentCompletedShellId","completedShellIdAttributeStart","createHoistableState","href","EXISTS","adoptPreloadCredentials","preloadState","getPreloadAsHeader","as","params","paramName","escapeHrefForLinkHeaderURLContext","escapeStringForLinkHeaderQuotedParamValueContext","hrefInput","regexForHrefInLinkHeaderURLContext","escapeHrefForLinkHeaderURLContextReplacer","regexForLinkHeaderQuotedParamValueContext","escapeStringForLinkHeaderQuotedParamValueContextReplacer","hoistStyleQueueDependency","hoistStylesheetDependency","hoistHoistables","parentState","childState","hasSuspenseyContent","flushingInShell","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","innerType","popToNearestCommonAncestor","prev","next","parentNext","switchContext","newSnapshot","currentActiveSnapshot","pushAllNext","popAllPrevious","popPreviousToCommonLevel","popNextToCommonLevel","warnOnInvalidCallback","callback","didWarnOnInvalidCallback","warnNoop","publicInstance","callerName","warningKey","didWarnAboutNoopUpdateForComponent","getTreeId","context","overflow","clz32","pushTreeContext","baseContext","totalChildren","baseIdWithLeadingBit","baseLength","length","numberOfOverflowBits","noop","getSuspendedThenable","suspendedThenable","createFatalRecoverableError","recoverable","resolveCurrentlyRenderingComponent","currentlyRenderingComponent","isInHookUserCodeInDev","createHook","numberOfReRenders","createWorkInProgressHook","workInProgressHook","firstWorkInProgressHook","isReRender","getThenableStateAfterSuspending","state","thenableState","resetHooksState","currentlyRenderingKeyPath","currentlyRenderingRequest","currentlyRenderingTask","didScheduleRenderPhaseUpdate","renderPhaseUpdates","readContext","basicStateReducer","action","useReducer","reducer","initialArg","init","currentHookNameInDev","firstRenderPhaseUpdate","dispatchAction","useMemo","nextCreate","deps","prevState","a","JSCompiler_inline_result","objectIs","componentIdentity","queue","throwOnUseEffectEventCall","unsupportedStartTransition","unsupportedSetOptimisticState","createPostbackActionStateKey","permalink","componentKeyPath","hookIndex","useActionState","initialState","actionStateHookIndex","actionStateCounter","request","nextPostbackStateKey","isSignatureEqual","postbackKey","actionStateMatchingIndex","boundAction","_boundAction","unwrapThenable","thenableIndexCounter","fulfilledValue","fulfilledThenable","rejectedThenable","shouldCaptureSuspendedCallSite","currentTask","currentTaskInDEV","currentComponentStack","suspendedCallSiteStack","suspendedCallSiteDebugTask","SuspenseException","readPreviousThenableFromState","unsupportedRefresh","disabledLog","prepareStackTrace","structuredStackTrace","formatOwnerStack","prevPrepareStackTrace","describeBuiltInComponentFrame","describeNativeComponentFrame","fn","construct","reentry","frame","componentFrameCache","previousDispatcher","ReactSharedInternals","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","Fake","Reflect","control","x$0","prevProps","x$1","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","_frame","assign","describeComponentStackByType","lazyComponent","idx","getViewTransitionClassName","defaultClass","eventClass","resetOwnerStackLimit","now","getCurrentTime","lastResetTime","isEligibleForOutlining","boundary","defaultErrorHandler","bind","RequestInstance","rootFormatContext","progressiveChunkSize","onError","onAllReady","onShellReady","onShellError","onFatalError","formState","abortSet","createRequest","createPendingSegment","pushComponentStack","createRenderTask","emptyTreeContext","emptyContextObject","createPrerenderRequest","resumeRequest","postponedState","createReplayTask","resumeAndPrerenderRequest","resolveRequest","currentRequest","store","requestStorage","pingTask","task","scheduleMicrotask","performWork","setImmediate","createSuspenseBoundary","row","fallbackAbortableTasks","defer","PENDING","node","childIndex","blockedBoundary","blockedSegment","blockedPreamble","keyPath","treeContext","componentStack","legacyContext","debugTask","task$jscomp$0","finishAbortedTaskDEV","replay","parentFormatContext","lastPushedText","getCurrentStackInDEV","info","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","pushServerComponentStack","debugInfo","componentInfo","REACT_ELEMENT_TYPE","owner","stack","replaceSuspenseComponentStackWithSuspenseFallbackStack","getThrownInfo","node$jscomp$0","errorInfo","encodeErrorForBoundary","digest","thrownInfo","wasAborted","RecoverableException","describeObjectForErrorMessage","objectOrArray","expandedName","objKind","start","jsxChildrenParents","jsxPropsParents","_value2","_substr2","logRecoverableError","suspendedRecoverableError","REACT_RECOVERABLE_DIGEST","fatalError","shellComplete","CLOSED","finishSuspenseListRow","unblockSuspenseListRow","unblockedRow","inheritedHoistables","unblockedBoundaries","unblockedBoundary","finishedTask","tryToResolveTogetherRow","togetherRow","boundaries","allCompleteAndInlinable","rowBoundary","createSuspenseListRow","previousRow","newRow","renderSuspenseListRows","rows","revealOrder","prevKeyPath","prevTreeContext","prevRow","previousComponentStack","previousDebugTask","previousSuspenseListRow","resumeSlots","n","resumeSegmentID","resumeNode","renderNode","warnForMissingKey","_node3","newSegment","COMPLETED","finishedSegment","thrownValue","ABORTED","ERRORED","renderWithHooks","Component","secondArg","prevThenableState","localIdCounter","callComponentInDEV","finishFunctionComponent","hasId","actionStateCount","didEmitActionStateMarkers","segment","formStateMarkerIsMatching","formStateMarkerIsNotMatching","renderNodeDestructive","renderElement","ref","newProps","defaultProps","_propName","resolvedProps","contextType","didWarnAboutInvalidateContextType","addendum","instance","componentName","didWarnAboutUninitializedState","foundWillMountName","foundWillReceivePropsName","foundWillUpdateName","_componentName","newApiName","didWarnAboutLegacyLifecyclesAndDerivedState","didWarnAboutChildContextTypes","didWarnAboutContextTypes$1","hasMutatedProps","didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate","classComponentUpdater","internalInstance","contextType$jscomp$0","componentName$jscomp$0","didWarnAboutDirectlyAssigningPropsToState","getDerivedStateFromProps","partialState","componentName$jscomp$1","didWarnAboutUndefinedDerivedState","oldState","componentName$jscomp$2","didWarnAboutDeprecatedWillMount","oldQueue","oldReplace","nextState","dontMutate","partial","partialState$jscomp$0","nextChildren","callRenderInDEV","didWarnAboutReassigningProps","componentName$jscomp$3","didWarnAboutBadClass","actionStateMatchingIndex$jscomp$0","_componentName$jscomp$0","didWarnAboutContextTypes","componentName$jscomp$4","didWarnAboutGetDerivedStateOnFunctionComponent","_componentName2","didWarnAboutContextTypeOnFunctionComponent","prevContext","prevKeyPath$jscomp$0","_children","target$jscomp$0","invalidProps","warnedProperties$1","rARIACamel$1","ariaProperties","rARIA$1","prop","didWarnValueNull","eventRegistry","unknownProps","warnedProperties","lowerCasedName","EVENT_NAME_REGEX","INVALID_EVENT_NAME_REGEX","rARIA","rARIACamel","possibleStandardNames","didWarnDefaultSelectValue","propKey$jscomp$0","children$jscomp$0","innerHTML$jscomp$0","propValue$jscomp$0","propKey$jscomp$1","children$jscomp$1","selected","innerHTML$jscomp$1","propValue$jscomp$1","didWarnSelectedSetOnOption","stringValue","didWarnInvalidOptionInnerHTML","React","child","didWarnInvalidOptionChildren","selectedMarkerAttribute","didWarnDefaultTextareaValue","propKey$jscomp$2","defaultValue","children$jscomp$2","propValue$jscomp$2","leadingNewline","propKey$jscomp$3","value$jscomp$1","defaultValue$jscomp$0","checked","defaultChecked","propValue$jscomp$3","didWarnFormActionType","didWarnDefaultChecked","didWarnDefaultInputValue","propKey$jscomp$4","children$jscomp$3","innerHTML$jscomp$2","name$jscomp$0","formAction$jscomp$0","formEncType$jscomp$0","formMethod$jscomp$0","formTarget$jscomp$0","propValue$jscomp$4","formData$jscomp$0","JSCompiler_inline_result$jscomp$1","propKey$jscomp$5","children$jscomp$4","innerHTML$jscomp$3","formAction$jscomp$1","formEncType$jscomp$1","formMethod$jscomp$1","formTarget$jscomp$1","propValue$jscomp$5","formData$jscomp$1","formActionName","JSCompiler_inline_result$jscomp$2","propKey$jscomp$6","propValue$jscomp$6","propKey$jscomp$7","children$jscomp$5","innerHTML$jscomp$4","propValue$jscomp$7","sanitizedValue","JSCompiler_inline_result$jscomp$3","noscriptTagInScope","isFallback","children$jscomp$6","JSCompiler_inline_result$jscomp$4","noscriptTagInScope$jscomp$0","isFallback$jscomp$0","rel","precedence","JSCompiler_inline_result$jscomp$5","propDescription","resourceState","preloadResource","_resource","noscriptTagInScope$jscomp$1","asyncProp","JSCompiler_inline_result$jscomp$6","resources","preloads","resourceState$jscomp$0","scriptProps","preloadResource$jscomp$0","resource$jscomp$0","noscriptTagInScope$jscomp$2","children$jscomp$7","child$jscomp$0","precedence$jscomp$0","href$jscomp$0","propKey$jscomp$8","children$jscomp$8","innerHTML$jscomp$5","propValue$jscomp$8","child$jscomp$1","JSCompiler_inline_result$jscomp$7","styleQueue$jscomp$0","resourceState$jscomp$1","propKey$jscomp$9","children$jscomp$9","innerHTML$jscomp$6","propValue$jscomp$9","child$jscomp$2","noscriptTagInScope$jscomp$3","isFallback$jscomp$1","JSCompiler_inline_result$jscomp$8","propKey$jscomp$10","children$jscomp$10","innerHTML$jscomp$7","propValue$jscomp$10","pictureOrNoScriptTagInScope","src","srcSet","sizes","key$jscomp$0","promotablePreloads","resource$jscomp$1","PRELOAD_NO_CREDS","header","crossOrigin","headers","headPreambleContributionChunk","JSCompiler_inline_result$jscomp$9","preamble$jscomp$0","bodyPreambleContributionChunk","JSCompiler_inline_result$jscomp$10","preamble$jscomp$1","htmlPreambleContributionChunk","doctypeChunk","JSCompiler_inline_result$jscomp$11","propKey$jscomp$11","children$jscomp$11","innerHTML$jscomp$8","propValue$jscomp$11","_prevContext2","_prevKeyPath3","preambleSegment","REACT_LEGACY_HIDDEN_TYPE","prevKeyPath$jscomp$1","segment$jscomp$0","prevKeyPath$jscomp$2","startActivityBoundary","_prevKeyPath4","endActivityBoundary","iteratorFn","iterator","validateIterable","step","ASYNC_ITERATOR","_iterator","validateAsyncIterable","_rows","done","_step","_step2","_prevKeyPath2","prevKeyPath$jscomp$3","prevContext$jscomp$0","prevKeyPath$jscomp$4","resumableState$jscomp$0","autoName","resumableState$jscomp$1","update","enter","exit","share","parentEnter","parentExit","hasParentEnterHandler","hasParentExitHandler","autoName$jscomp$0","resolvedParentEnter","resolvedParentExit","REACT_SCOPE_TYPE","_prevKeyPath","_prevContext","_prevRow","_content","prevKeyPath$jscomp$5","prevContext$jscomp$1","prevRow$jscomp$0","parentBoundary","parentPreamble","parentHoistableState","parentSegment","fallback","fallbackAbortSet","newBoundary","boundarySegment","contentRootSegment","trackedPostpones","suspenseComponentStack","fallbackKeyPath","fallbackReplayNode","suspendedPrimaryTask","queueCompletedSegment","preparePreamble","thrownValue$2","CLIENT_RENDERED","untrackBoundary","suspendedFallbackTask","propsWithoutRef","prevSnapshot","prevKeyPath$jscomp$6","prevValue","rendererSigil","prevNode","newNode","prevSnapshot$jscomp$0","context$jscomp$0","render","newChildren","prevKeyPath$jscomp$7","callLazyInitInDEV","segmentId","prevReplay","resumedSegment","replayElement","keyOrIndex","childNodes","childSlots","currentNode","abortRemainingReplayNodes","previousReplaySet","iterable","didWarnAboutGenerators","didWarnAboutMaps","retryNode","refProp","REACT_OPTIMISTIC_KEY","renderChildrenArray","didWarnForKey","WeakSet","parentOwner","replayNodes","j","errorDigest","trackPostponedBoundary","POSTPONED","tracked","boundaryNode","addToReplayParent","trackPostpone","spawnNewSuspendedReplayTask","spawnNewSuspendedRenderTask","previousFormatContext","previousContext","previousKeyPath","previousTreeContext","childrenLength","chunkLength","thrownValue$3","abortTaskSoft","request$jscomp$0","nodes","slots","error$jscomp$0","errorDigest$jscomp$0","errorInfo$jscomp$0","aborted","resumedBoundary","prevTaskInDEV","prevGetCurrentStackImpl","finishAbortedTask","isRecoverableAbort","REACT_RECOVERABLE_TYPE","completeShell","_trackedPostpones","fallbackTask","completeAll","abortTaskDEV","abortTask","bestStack","restoreThenableState","lastThenable","previousThenableValue","previousThenableThen","previousThenableReason","_previousThenableThen","prevStatus","prevAborted","prevDispatcher","HooksDispatcher","prevAsyncDispatcher","DefaultAsyncDispatcher","prevRequest","prevResumableState","currentResumableState","safelyEmitEarlyPreloads","linkHeader","queueIter","queueStep","sheetIter","sheetStep","sheet","props$jscomp$0","childSegment","segmentByteSize","postponedRow","postponedBoundary","request$jscomp$1","pingedTasks","prevTask","startNode","ping","prevTask$jscomp$0","startNode$jscomp$0","x$jscomp$0","ping$jscomp$0","errorInfo$jscomp$1","boundary$jscomp$0","useError","boundaryRow","flushCompletedQueues","preparePreambleFromSubtree","collectedPreambleSegments","pendingPreambles","preparePreambleFromSegment","originalRequestByteSize","hasPendingPreambles","flushSubtree","placeholder1","placeholder2","FLUSHED","r","chunks","chunkIdx","childIdx","flushSegment","errorMessage","errorStack","startClientRenderedSuspenseBoundary","clientRenderedSuspenseBoundaryError1","clientRenderedSuspenseBoundaryError1A","clientRenderedSuspenseBoundaryErrorAttrInterstitial","clientRenderedSuspenseBoundaryError1B","clientRenderedSuspenseBoundaryError1C","clientRenderedSuspenseBoundaryError1D","clientRenderedSuspenseBoundaryError2","flushingPartialBoundaries","flushedByteSize","flushingShell","startCompletedSuspenseBoundary","endSuspenseBoundary","flushSegmentContainer","startSegmentHTML","startSegmentHTML2","startSegmentSVG","startSegmentSVG2","startSegmentMathML","startSegmentMathML2","startSegmentTable","startSegmentTable2","startSegmentTableBody","startSegmentTableBody2","startSegmentTableRow","startSegmentTableRow2","startSegmentColGroup","startSegmentColGroup2","endSegmentHTML","endSegmentSVG","endSegmentMathML","endSegmentTable","endSegmentTableBody","endSegmentTableRow","endSegmentColGroup","flushCompletedBoundary","nextArrayOpenBrackChunk","completedSegments","flushPartiallyCompletedSegment","requiresStyleInsertion","requiresViewTransitions","scriptFormat","SentClientRenderFunction","clientRenderScriptFunctionOnly","SentCompleteBoundaryFunction","completeBoundaryScriptFunctionOnly","SentUpgradeToViewTransitions","completeBoundaryUpgradeToViewTransitionsInstruction","SentStyleInsertionFunction","completeBoundaryWithStylesScript1FullPartial","completeBoundaryWithStylesScript1Partial","completeBoundaryScript1Partial","completeBoundaryWithStylesData1","completeBoundaryData1","completeBoundaryScript2","completeBoundaryData2","completeBoundaryScript3a","arrayFirstOpenBracket","LATE","arrayCloseBracket","arraySubsequentOpenBracket","arrayInterstitial","completeBoundaryData3a","completeBoundaryScript3b","completeBoundaryScriptEnd","completeBoundaryDataEnd","segmentID","SentCompleteSegmentFunction","completeSegmentScript1Full","completeSegmentScript1Partial","completeSegmentData1","completeSegmentScript2","completeSegmentData2","completeSegmentScriptEnd","completeSegmentDataEnd","completedRootSegment","completedPreambleSegments","skipBlockingShell","blockingRenderMaxSize","Math","_renderState$external","i$jscomp$0","htmlChunks","headChunks","charsetChunks","viewportChunks","importMapChunks","shellId","blockingRenderChunkStart","blockingRenderChunkEnd","hoistableChunks","segments","headChunks$jscomp$0","bodyChunks","renderState$jscomp$0","SentMarkShellTime","shellTimeRuntimeScript","renderState$jscomp$1","viewportChunks$jscomp$0","hoistableChunks$jscomp$0","clientRenderedBoundaries","renderState$jscomp$2","errorComponentStack","clientRenderScript1Full","clientRenderScript1Partial","clientRenderData1","clientRenderScript1A","clientRenderErrorScriptArgInterstitial","clientRenderErrorScriptNull","clientRenderData2","clientRenderData3","clientRenderData4","clientRenderData5","clientRenderScriptEnd","clientRenderDataEnd","completedBoundaries","partialBoundaries","largeBoundaries","startWork","enqueueEarlyPreloadsAfterInitialWork","enqueueFlush","startFlowing","abort","reason","abortableTasks","error$4","parentKeyPath","workingMap","parentNode","getPostponedState","hasFlushableShell","nextSegmentId","replaySlots","ensureCorrectIsomorphicReactVersion","isomorphicReactPackageVersion","createDrainHandler","createCancelHandler","createFakeWritableFromReadableStreamController$1","controller","createFakeWritableFromReadableStreamController","createFakeWritableFromReadable","readable","util","async_hooks","ReactDOM","stream","REACT_MEMO_CACHE_SENTINEL","queueMicrotask","RegExp","ReactDOMSharedInternals","NotPending","JSCompiler_temp","bucket","options","imageSrcSet","imageSizes","fetchPriority","dataElementQuotedEnd","Function","inst","internals","log","LN2","y","usable","initialValue","previousRef","subscribe","getSnapshot","getServerSnapshot","passthrough","size","data","callComponent","callRender","callLazyInit","lazy","performance","localPerformance","localDate","Date","Promise","resolve","reject","onHeadersImpl","headersDescriptor","Headers","writable","ReadableStream","signal","listener","hasStartedFlowing","allReady","res","rej","getCrossOriginStringAs","getValueDescriptorExpectingObjectForWarning","thing","getValueDescriptorExpectingEnumForWarning","resolveDispatcher","dispatcher","__REACT_DEVTOOLS_GLOBAL_HOOK__","Internals","container","arguments","containerInfo","implementation","previousTransition","previousUpdatePriority","integrity","encountered","form","didWarnStateUpdateForUnmountedComponent","updater","emptyObject","ReactNoopUpdateQueue","ComponentDummy","PureComponent","checkKeyStringCoercion","getTaskName","getOwner","UnknownOwner","hasValidKey","config","getter","elementRefGetterWithDeprecationWarning","didWarnAboutElementRef","ReactElement","debugStack","validateChildKeys","isValidElement","getElementKey","element","escaperLookup","mapChildren","func","count","mapIntoArray","array","escapedPrefix","nameSoFar","invokeCallback","oldElement","newKey","childKey","userProvidedKeyEscapeRegex","c","lazyInitializer","resolveDebugValue","rejectDebugValue","ioInfo","moduleObject","_ioInfo","debugValue","_ioInfo2","displayName","useOptimistic","releaseAsyncTransition","startTransition","scope","prevTransition","currentTransition","returnValue","onStartTransitionFinish","reportGlobalError","addTransitionType","transition","transitionTypes","enqueueTask","enqueueTaskImpl","requireString","_err","didWarnAboutMessageChannel","MessageChannel","channel","aggregateErrors","errors","AggregateError","popActScope","prevActQueue","prevActScopeDepth","actScopeDepth","recursivelyFlushAsyncActWork","flushActQueue","isFlushing","continuation","specialPropKeyWarningShown","didWarnAboutOldJSXRuntime","deprecatedAPIs","fnName","methodName","createTask","unknownOwnerDebugStack","callStackForError","unknownOwnerDebugTask","reportError","process","didWarnNoAwaitAct","queueSeveralMicrotasks","forEachFunc","forEachContext","didAwaitActCall","error$0","_thrownError","returnValue$jscomp$0","getCurrentStack","childArray","_i","warnAboutAccessingKey","refObject","ownName","elementType","ctor","lazyType","compare","resourceType","provider","onStartGestureTransitionFinish","Context","formatterFn","create","checkEvalAvailabilityOnceDev","hasConfirmedEval","eval","$jscomp$unused$catch","requireAsyncModule","promise","globalThis","ignoreReject","preloadModule","metadata","promises","chunkId","entry","chunkCache","requireModule","moduleExports","processReply","root","formFieldPrefix","temporaryReferences","serializeTypedArray","typedArray","blobId","nextPartId","FormData","resolveToJSON","originalValue","streamId","parentReference","writtenObjects","modelRoot","pendingParts","lazyId","partJSON","serializeModel","_lazyId","_partJSON2","_data","promiseId","partValue","previousReference","_partJSON3","_data3","originalKey","ArrayBuffer","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array","DataView","reader","buffer","binaryReader","progress","_partJSON","getPrototypeOf","ObjectPrototype$1","ObjectPrototype","names","descriptor","Number","knownServerReferences","model","json","defaultEncodeFormAction","referenceClosure","boundCache","reference","body","prefixedData","referenceId","numberOfBoundArgs","boundPromise","boundArgs","createFakeServerFunction","filename","sourceMap","line","col","environmentName","innerFunction","encodedName","encodeURIComponent","encodeURI","fakeServerFunctionIdx","registerBoundServerReference","bound","encodeFormAction","FunctionBind","newFn","args","ArraySlice","addObjectToProperties","properties","indent","addedProperties","addValueToProperties","propertyName","propsKeys","propsLength","kind","getIODescription","str","markAllTracksInOrder","supportsUserTiming","getIOColor","functionName","getIOLongName","description","env","rootEnv","getIOShortName","desc","l","queryIdx","logComponentAwait","asyncInfo","trackIdx","startTime","endTime","entryName","trackNames","logIOInfoErrored","logIOInfo","color","ReactPromise","status","hasGCedResponse","weakResponse","unwrapWeakResponse","closeDebugChannel","debugChannel","readChunk","initializeModelChunk","initializeModuleChunk","getRoot","getChunk","createPendingChunk","response","clearTimeout","releasePendingChunk","setTimeout","flushInitialRenderPerformance","filterDebugInfo","moveDebugInfoFromChunkToInnerValue","resolveLazy","wakeChunk","listeners","fulfillReference","rejectChunk","rejectReference","resolveBlockedCycle","resolvedChunk","referencedChunk","wakeChunkIfInitialized","resolveListeners","rejectListeners","cyclicHandler","triggerErrorOnChunk","prevHandler","initializingHandler","prevChunk","initializingChunk","initializeDebugChunk","createResolvedModelChunk","createResolvedIteratorResultChunk","resolveIteratorResultChunk","resolveModelChunk","resolveModuleChunk","debugChunk","prevIsInitializingDebugInfo","isInitializingDebugInfo","initializeDebugInfo","waitForReference","resolvedModel","parseModel","debugChannelRegistry","nullRefGetter","initializeElement","lazyNode","normalizedStackTrace","createFakeJSXCallStackInDEV","supportsCreateTask","buildFakeCallStack","initializeFakeTask","initializeFakeStack","createLazyChunkWrapper","validated","fulfilledChunk","handler","parentObject","map","path","_referencedChunk","mappedValue","transferReferencedDebugInfo","blockedValue","erroredComponent","isAwaitingDebugInfo","loadServerReference","metaData","callServer","findSourceMapURL","location","serverReference","bundlerConfig","resolvedModuleData","resolvedValue","parentChunk","debugInfoEntry","getOutlinedModel","parseInt","ArrayPrototype","createMap","createSet","createBlob","createFormData","applyConstructor","extractIterator","createModel","missingCall","markIOStarted","ResponseInstance","serverReferenceConfig","moduleLoading","allowPartialStream","replayConsole","debugStartTime","debugEndTime","WeakRef","ReactSharedInteralsServer","createResponse","createStreamState","streamDebugValue","streamState","debugValuePromise","MIN_CHUNK_SIZE","incrementChunkDebugInfo","previousEndTime","addAsyncInfo","resolveChunkDebugInfo","resolveBuffer","resolveStream","startReadableStream","closed","previousBlockedChunk","v","_chunk3","blockedChunk","asyncIterator","startAsyncIterable","nextWriteIndex","nextReadIndex","arg","resolveErrorDev","message","errorOptions","reviveModel","isAggregateError","revivedErrors","getRootTask","useEnclosingLine","innerCall","frameKey","fakeFunctionCache","enclosingLine","enclosingCol","fakeFunctionIdx","childEnvironmentName","rootTask","cachedEntry","ownerTask","fakeJSXCallSite","previousStackTraceLimit","ownerStackTraceLimit","_componentInfoOrAsyncInfo","currentOwnerInDEV","ownerStack","initializeIOInfo","mergeBuffer","lastChunk","byteLength","_i3","resolveTypedArray","constructor","bytesPerElement","rootChunk","flushComponentPerformance","response$jscomp$0","trackIdx$jscomp$6","trackTime","parentEndTime","previousResult","startTime$jscomp$0","_i4","_info","childrenEndTime","childTrackIdx","childTrackTime","_i5","childResult","childEndTime","componentEndTime","isLastComponent","endTimeIdx","_i6","_info2","time","candidateInfo","trackIdx$jscomp$0","componentEndTime$jscomp$0","childrenEndTime$jscomp$0","entryName$jscomp$0","measureName","env$jscomp$0","isPrimaryEnv","selfTime","color$jscomp$0","debugTask$jscomp$0","measureName$jscomp$0","properties$jscomp$0","env$jscomp$1","trackIdx$jscomp$3","endTime$jscomp$0","entryName$jscomp$1","debugTask$jscomp$1","properties$jscomp$1","tooltipText","_j","_candidateInfo","_env","trackIdx$jscomp$4","childrenEndTime$jscomp$3","env$jscomp$2","name$jscomp$1","entryName$jscomp$2","measureName$jscomp$1","properties$jscomp$2","_env2","trackIdx$jscomp$5","endTime$jscomp$1","entryName$jscomp$3","debugTask$jscomp$2","tooltipText$jscomp$0","processFullStringRow","clientReference","nonce$jscomp$0","JSCompiler_temp_const$jscomp$0","JSCompiler_temp_const$jscomp$1","replayConsoleWithCallStackInDEV","_chunk4","unblock","processBinaryChunk","rowState","rowID","rowTag","rowLength","lastIdx","offset","stringDecoder","decoderOptions","NaN","BigInt","mightHaveStaticConstructor","code","close","noServerCall$1","createResponseFromOptions","startReadingFromStream$1","onDone","_ref","noServerCall","startReadingFromStream","onEnd","bind$1","v8FrameRegExp","jscSpiderMonkeyFrameRegExp","_this","resolveCallback","rejectCallback","wrapperPromise","FinalizationRegistry","createFakeJSXCallStack","replayConsoleWithCallStack","stackTrace","prevStack","newArgs","callStack","promiseForResponse","streamDoneCount","handleDone","serverConsumerManifest","streamEndedCount","endOfFirst","endOfSecond","scheduleOnNextTick","cb","then","nextTick","scheduleImmediate","atLeastOneTask","waitAtLeastOneReactRenderTask","DEVTOOLS_CODE_FRAME_MAX_WIDTH","ignoreListAnonymousStackFramesIfSandwiched","responses","ignoreListAnonymousStackFramesIfSandwichedGeneric","originalStackFrame","file","ignored","getOriginalCodeFrame","source","colorsOrOptions","stdout","isTTY","line1","colors","maxWidth","undefined","codeFrameColumns","columns","getBindingsSync","column","column1","pathHasPrefix","hashIndex","queryIndex","hasQuery","pathname","indexOf","substring","query","hash","slice","startsWith","wellKnownProperties","getActionNotFoundError","actionId","getInvalidServerReferenceIdError","encoded","stringify","MAX_LOGGED_SERVER_REFERENCE_ID_LENGTH","TRUNCATED_SERVER_REFERENCE_ID_LENGTH","MANIFESTS_SINGLETON","for","globalThisWithManifests","normalizeWorkerPageName","pageName","selectWorkerForForwarding","serverActionsManifest","bundlePath","workers","getServerActionsManifest","keys","normalizeAppPath","removePathPrefix","withoutPrefix","setManifestsSingleton","page","clientReferenceManifest","rawServerActionsManifest","existingSingleton","route","encryptionKey","edge","clientReferenceManifestsPerRoute","set","mappingProxies","proxiedClientReferenceManifest","Proxy","get","workStore","workAsyncStorage","InvariantError","registeredManifest","proxy","currentManifest","__NEXT_DEV_SERVER","additionalClientReferenceManifestPages","add","values","serverModuleMap","receiver","workerEntry","at","moduleId","async","getManifestsSingleton","manifestSingleton","getClientReferenceManifest","getServerModuleMap","DetachedPromise","ENCODED_TAGS","OPENING","HTML","HEAD","BODY","BODY_AND_HTML","META","ICON_MARK","indexOfUint8Array","haystack","isBuffer","from","byteOffset","completeMatch","isEquivalentUint8Arrays","removeFromUint8Array","tagIndex","subarray","removed","TextEncoder","normalizeCacheBustingInput","isArray","join","computeCacheBustingSearchParamFromInput","bytes","crypto","subtle","encode","binary","fromCharCode","btoa","replace","computeCacheBustingSearchParam","prefetchHeader","segmentPrefetchHeader","stateTreeHeader","nextUrlHeader","encoder","streamToChunks","getReader","push","streamToBuffer","concat","streamToString","decoder","TextDecoder","fatal","string","decode","createBufferedTransformStream","pending","maxBufferByteLength","Infinity","bufferedChunks","bufferByteLength","flush","copiedBytes","bufferedChunk","enqueue","TransformStream","transform","scheduleFlush","detached","createMetadataTransformStream","insert","chunkIndex","isMarkRemoved","iconMarkIndex","closedHeadIndex","iconMarkLength","replaced","insertion","encodedInsertion","insertionLength","createHeadInsertionTransformStream","inserted","hasBytes","insertedHeadContent","createClientResumeScriptInsertionTransformStream","cacheBustingHeader","searchStr","NEXT_CLIENT_RESUME_SCRIPT","didAlreadyInsert","headClosingTagIndex","createFlightDataInjectionTransformStream","delayDataUntilFirstHtmlChunk","htmlStreamFinished","pull","donePulling","startOrContinuePulling","startPulling","err","CLOSE_TAG","createMoveSuffixStream","foundSuffix","before","after","createHtmlDataDplIdTransformStream","dplId","didTransform","htmlTagIndex","insertionPoint","attribute","encodedAttribute","modifiedChunk","chainTransformers","transformers","transformer","pipeThrough","continueDynamicPrerender","prerenderStream","getServerInsertedHTML","getServerInsertedMetadata","deploymentId","continueStaticPrerender","inlinedDataStream","continueStaticFallbackPrerender","continueDynamicHTMLResume","renderStream","createNodeBufferedTransformStream","flushScheduled","merged","Transform","_encoding","ESCAPE_LOOKUP","ESCAPE_REGEX","ATTRIBUTE_ESCAPE_LOOKUP","ATTRIBUTE_ESCAPE_REGEX","htmlEscapeJsonString","htmlEscapeAttributeString","writeFlightDataInstruction","scriptStart","htmlInlinedData","toString","fromCodePoint","ReplayableNodeStream","_chunks","_done","_error","_subscribers","on","buf","sub","onChunk","clear","createReplayStream","ReadableCtor","__NEXT_BUNDLER","__non_webpack_require__","Readable","bufferIndex","bufferDrained","isDone","sourceError","destroy","subscriber","delete","dispose","renderToWebFlightStream","ComponentMod","clientModules","opts","renderToWebFizzStream","streamOptions","_options","renderToInitialFizzStream","ReactDOMServer","getTracer","trace","AppRenderSpan","nodeReadableToWebReadableStream","webToReadable","createFlightDataInjectionTransform","dataStream","nodeTransform","createHeadInsertionTransform","allocUnsafe","createMetadataTransform","createMoveSuffixTransform","createHtmlDataDplIdTransform","modified","renderToNodeFlightStream","renderOptions","pt","PassThrough","pipeable","pipe","onAbort","addEventListener","once","removeEventListener","renderToNodeFizzStream","shellReady","deferPipe","waitForAllReady","resumeToFizzStream","runInContext","run","resumeAndAbort","postponed","continueFizzStream","isStaticGeneration","validateRootLayout","suffixUnclosed","split","buffered","flushed","encodedSuffix","deferredSuffix","flightInjection","foundHtml","foundBody","rootLayoutValidator","missingTags","moveSuffix","headInsertion","webContinueStaticPrerender","webContinueDynamicPrerender","webContinueStaticFallbackPrerender","continueDynamicHTMLResumeNode","continueDynamicHTMLResumeWeb","webContinueDynamicHTMLResume","chainStreams","streams","end","out","pipeNext","current","webStreamToBuffer","webStreamToString","createWebInlinedDataStream","flightStream","startScriptTag","flightReader","scriptContents","decodedString","createNodeInlinedDataStream","INLINE_FLIGHT_PAYLOAD_BOOTSTRAP","INLINE_FLIGHT_PAYLOAD_FORM_STATE","pullFlightData","prerender","output","isUtf8","base64","readableEnded","readableLength","cleanup","removeListener","createPendingStream","createDocumentClosingStream","createOnHeadersCallback","appendHeader","forEach","pipeRuntimePrefetchTransform","sentinel","isPartial","staleTime","webStream","createRuntimePrefetchTransformStream","enc","search","first","searchLen","currentChunk","found","processChunk","nextChunk","exclusiveUpperBound","min","currentIndex","candidateLoop","matchIndex","candidateIndex","candidateValue","overflowBytes","truncatedChunk","processPrelude","unprocessedPrelude","prelude","peek","tee","firstResult","cancel","preludeIsEmpty","getServerPrerender","getClientPrerender","teeStream","replayable","webCrypto","_m","mod","originalRequire","prototype","resolveFilename","_resolveFilename","hookPropertyMap","defaultOverrides","dirname","addHookAliases","toResolveMap","resolveMap","entries","originalResolveFilename","requestMap","parent","isMain","hookResolved","call","endsWith","basename","RenderStage","originalConstructor","originalNow","patchErrorInspectNodeJS","FileLogger","initialize","distDir","mcpServerEnabled","logFilePath","isInitialized","fs","recursive","formatTimestamp","hours","floor","padStart","minutes","seconds","milliseconds","formatLogEntry","timestamp","level","flushTimer","getLogQueue","logQueue","isEnabled","logDir","logsToWrite","enqueueLog","formattedEntry","logEntry","logServer","logBrowser","forceFlush","fileLogger","formatObject","depth","getOwnPropertyDescriptor","jsonKey","patchConsoleMethodDEV","configurable","originalMethod","originalName","wrapperMethod","consoleStore","consoleAsyncStorage","dim","apply","ret","formatConsoleArgs","startQuote","char","parseFloat","ansiEscapeRegex","cleanMessage","toUpperCase","defineProperty","patchConsoleMethod","workUnitAsyncStorage","applyOwnerStack","getClientReact","getServerReact","workUnitStore","innerOwnerStack","captureOwnerStack","outerOwnerStack","frames","includes","abortOnSynchronousPlatformIOAccess","expression","errorWithStack","prerenderStore","dynamicTracking","syncDynamicErrorWithStack","syncDynamicErrorWithStackPostMicrotask","dynamicAccesses","isDebugDynamicAccesses","isDynamicPostponeReason","SYNC_IO_DOCS","random","SYNC_IO_CLIENT_DOCS","SYNC_IO_RUNTIME_DOCS","elapsedTimeBullet","createSyncIOErrorImpl","docsUrl","io","prerenderSignal","stageController","stagedRendering","shouldTrackSyncInterrupt","syncIOError","currentStage","syncInterruptCurrentStageWithReason","_random","newConstructor","getOwnPropertyDescriptors","defineProperties","getRandomValuesExpression","_getRandomValues","getRandomValues","_randomUUID","randomUUID","nodeCrypto","randomUUIDExpression","randomBytesExpression","_randomBytes","randomBytes","randomFillSyncExpression","_randomFillSync","randomFillSync","_randomInt","randomInt","generatePrimeSyncExpression","_generatePrimeSync","generatePrimeSync","generateKeyPairSyncExpression","_generateKeyPairSync","generateKeyPairSync","generateKeySyncExpression","_generateKeySync","generateKeySync","features","typescript","cache","INTERCEPTION_ROUTE_MARKERS","TEST_ROUTE","TEST_STRICT_ROUTE","isDynamicRoute","strict","isInterceptionRouteAppPath","find","m","extractInterceptionRouteInformation","interceptingRoute","marker","interceptedRoute","splitInterceptingRoute","test","SP","every","method","NormalizeError","PageNotFoundError","MissingStaticPage","normalizePathSep","requirePage","isAppPath","pagePath","getPagePath","locales","getMaybePagePath","appPathsManifest","cacheKey","pagePathCache","serverBuildPath","loadManifest","isDev","pagesManifest","_page","normalizePagePath","normalized","ensureLeadingSlash","posix","resolvedPage","normalize","checkManifest","manifest","curPath","manifestNoLocales","normalizeLocalePath","detectedLocale","lowercasedLocales","locale","toLowerCase","catch","interopDefault","default","wait","ms","getExtensionRegexString","staticExtensions","dynamicExtensions","FAVICON_REGEX","ROBOTS_TXT_REGEX","MANIFEST_JSON_REGEX","MANIFEST_WEBMANIFEST_REGEX","SITEMAP_XML_REGEX","compiledRegexCache","loadManifestWithRetries","manifestPath","attempts","tryLoadManifestWithRetries","evalManifestWithRetries","evalManifest","loadClientReferenceManifestForPage","__RSC_MANIFEST","loadComponentsImpl","sriEnabled","needsManifestsForLegacyReasons","DocumentMod","AppMod","all","reactLoadableManifestPath","manifestLoadAttempts","hasClientManifest","isAppRouteRoute","isMetadataRouteFile","appDirRelativePath","pageExtensions","strictlyMatchExtensions","normalizedPath","fastResult","regexes","getCompiledRegexes","cached","trailingMatcher","suffixMatcher","variantsMatcher","robotsExts","manifestExts","buildManifest","reactLoadableManifest","dynamicCssManifest","subresourceIntegrityManifest","SERVER_REFERENCE_MANIFEST","SUBRESOURCE_INTEGRITY_MANIFEST","Document","App","getServerSideProps","getStaticProps","getStaticPaths","routeModule","pageConfig","loadComponents","wrap","LoadComponentsSpan","extractNextErrorCode","__NEXT_ERROR_CODE","filterStackFrame","serializeValidationErrorsToFlight","componentMod","errorCodes","formatValidationEvent","event","realpathSync","isWindows","platform","cacheInvalidationListeners","stackTraceLimit","isTestLoggingEnabled","__NEXT_TEST_MODE","NEXT_TEST_LOG_VALIDATION","applyTestValidationDelay","delayMs","NEXT_TEST_DEV_VALIDATION_DELAY_MS","finishDelay","timeout","registerAdditionalClientReferenceManifests","pages","applyHmrUpdate","__turbopack_server_hmr_apply__","invalidateCaches","filePaths","evictModules","deleteCache","filePath","clearManifestCache","deleteFromRequireCache","modules","resolvedPaths","modsToDelete","isError","len","has","runDevValidation","abortBuffer","installBindings","installCodeFrameSupport","setCodeFrameRenderer","setBundlerFindSourceMapImplementation","createDiskSourceMapLookup","canonicalDistDir","payloads","sourceURL","chunkPath","fileURLToPath","isAbsolute","relativePath","relative","parse","readFileSync","httpAgentOptions","nextConfigSerializable","__NEXT_HTTP_AGENT","__NEXT_HTTP_AGENT_OPTIONS","HttpAgent","__NEXT_HTTPS_AGENT","HttpsAgent","createSupersedeSignal","AbortController","flag","Atomics","load","settled","waitAsync","notify","requestId","urlPathname","urlSearch","responseFinished","validationErrors","runValidationInDev","validationError","LRUNode","SentinelNode","LRUCache","maxSize","calculateSize","onEvict","totalSize","head","tail","addToHead","removeNode","moveToHead","removeTail","lastNode","warn","existing","remove","currentSize","findSourceMap","sourceMapPayloads","findSourceMapPayload","sourceMapIgnoreListsEverything","ignoreList","sources","findApplicableSourceMapPayload","line0","column0","sections","left","right","middle","section","didWarnAboutInvalidSourceMapDEV","filterStackFrameDEV","sourceMapPayload","cause","bundlerFindSourceMapURLSymbol","setBundlerFindSourceMapURLImplementation","findSourceMapURLImplementation","invalidSourceMap","sourceMapURLs","findSourceMapURLDEV","scriptNameOrSourceURL","bundlerSourceMapURL","sourceMapURL","sourceMapJSON","sourceMapURLData","devirtualizeReactServerURL","envIdx","suffixIdx","lastIndexOf","decodeURI","isAnonymousFrameLikelyJSNative","isAnonymousFrame","isIgnoredFrame","getMethodName","ignoreFrame","currentFrame","previousFrameIsIgnored","ignoreSandwich","nextFrame","BaseServerSpan","NextServerSpan","NextNodeServerSpan","StartServerSpan","RenderSpan","RouterSpan","NodeSpan","AppRouteRouteHandlersSpan","ResolveMetadataSpan","MiddlewareSpan","NextVanillaSpanAllowlist","LogSpanAllowList","AsyncLocalStorage","WebSocket","regexNextStatic","enabled","NO_COLOR","FORCE_COLOR","CI","TERM","replaceClose","nextIndex","formatter","open","italic","BUNDLER_FIND_SOURCE_MAP","findSourceMapImplementation","CODE_FRAME_RENDERER","renderer","sourceMapConsumers","frameToString","fileLocation","sourceLocation","URL","canParse","cwd","computeErrorName","prepareUnsourcemappedStackTrace","shouldIgnoreListGeneratedFrame","createUnsourcemappedFrame","sourceMapError","inspectOptions","newError","parseAndSourceMap","sourceMappedFrames","showIgnoreListed","__NEXT_SHOW_IGNORE_LISTED","unparsedStack","errorName","unsourcemappedStack","parseStack","__NEXT_DIST_DIR","exec","effectiveDistDir","pop","lineNumber","sourceMapCache","sourceFrame","sourcemappedFrame","getSourcemappedFrameIfPossible","applicableSourceMap","sourceMapConsumer","codeFrame","sourceMapCacheEntry","maybeSourceMapPayload","getOrCreateSourceMapConsumer","consumersByURL","consumer","SyncSourceMapConsumer","sourcePosition","originalPositionFor","sourceIndex","originalFrame","codeFrameRenderer","sourceContentFor","sourceMappedStack","errorConstructor","inspectSymbol","inspect","originalCustomInspect","enumerable","patchErrorInspectEdgeLite","format","module","reduce","compareAppPaths","aHasSlot","bHasSlot","localeCompare","normalizeRscURL","__webpack_require__","definition","obj"],"mappings":"kKAOIA,EAJJ,SAASC,QACP,MAAM,qBAAwB,CAAxB,AAAIC,MAHV,qIAGM,qB,MAAA,Q,WAAA,G,aAAA,EAAuB,EAC/B,CAiBAC,QAAQ,OAAO,CAAGH,AAVdA,CAAAA,EAAII,oBAAQ,kFAAoF,EAUhFC,OAAO,CAC3BF,QAAQ,sBAAsB,CAAGH,EAAEM,sBAAsB,CACzDH,QAAQ,cAAc,CAAGF,MACzBE,QAAQ,oBAAoB,CAAGF,MAC3BD,EAAEO,MAAM,EACVJ,CAAAA,QAAQ,MAAM,CAAGH,EAAEO,MAAM,AAAD,EAEtBP,EAAEQ,sBAAsB,EAC1BL,CAAAA,QAAQ,sBAAsB,CAAGH,EAAEQ,sBAAsB,AAAD,EAEtDR,EAAES,sBAAsB,EAC1BN,CAAAA,QAAQ,sBAA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AAsBh/B,eACjC,AAACquB,CAAAA,wBAAwB,YAAY,CACnCoN,wBAAuB,IACzBr6B,YACK,CAACitB,wBAAwB,YAAY,EACpCoN,yBACF7/B,WAAWojC,qBAAsBM,wBAAuB,EACxD1jC,WACEojC,qBACAO,2BACF,EACJ3jC,WAAWojC,qBAAsBQ,mBACrC5jC,WACEojC,qBACAI,qBAAqB,cAAc,EAErCxjC,WAAWojC,qBAAsBn5B,GAAG,QAAQ,CAAC,KAC7C21B,cACE5/B,WAAWojC,qBAAsBS,sBAEjC,OAAQzM,aACR6F,cACAC,YACAuG,mBAAkB,GAElB7D,CAAAA,aACK5/B,CAAAA,WACCojC,qBACAU,wCAEF,MAAQ1M,YACJp3B,WACEojC,qBACAW,6BAEF/jC,WACEojC,qBACA71B,qCAAqC6pB,aACvC,EACJ,MAAQA,aACPp3B,CAAAA,WAAWojC,qBAAsBY,mBAClChkC,WACEojC,qBACAhhC,qBAAqBg1B,aACvB,CAAC,EACH6F,CAAAA,cAAgBC,YAAcuG,mBAAkB,GAClD7D,CAAAA,aACK5/B,CAAAA,WACCojC,qBACAU,wCAEF9jC,WACEojC,qBACA71B,qCAAqC0vB,cAAgB,IACvD,EACCj9B,CAAAA,WAAWojC,qBAAsBa,mBAClCjkC,WACEojC,qBACAhhC,qBAAqB66B,cAAgB,IACvC,CAAC,EACHC,CAAAA,YAAcuG,mBAAkB,GAClC7D,CAAAA,aACK5/B,CAAAA,WACCojC,qBACAU,wCAEF9jC,WACEojC,qBACA71B,qCAAqC2vB,YAAc,IACrD,EACCl9B,CAAAA,WAAWojC,qBAAsBc,mBAClClkC,WACEojC,qBACAhhC,qBAAqB86B,YAAc,IACrC,CAAC,EACPuG,qBACG7D,CAAAA,aACI5/B,CAAAA,WACCojC,qBACAU,wCAEF9jC,WACEojC,qBACA71B,qCAAqCk2B,qBACvC,EACCzjC,CAAAA,WAAWojC,qBAAsBe,mBAClCnkC,WACEojC,qBACAhhC,qBAAqBqhC,qBACvB,CAAC,EACP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zC,OAAO,cAAc,CAAClB,QAAS2D,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtEzC,OAAO,cAAc,CAAClB,QAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,ECNAmjF,oBAAoB,GAAG,CAAG,AAAC,UACzB,QAAO,KAAK,CAAG,EAAE,CACb,AAAC,QAAO,QAAQ,EAAE,SAAO,QAAQ,CAAG,EAAE,AAAD,EAClC,S","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85]}