var __webpack_modules__={"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`[data-nextjs-toast] { &[data-hidden='true'] { display: none; } } .dev-tools-indicator-menu { display: flex; flex-direction: column; align-items: flex-start; background: var(--color-background-100); border: 1px solid var(--color-gray-alpha-400); background-clip: padding-box; box-shadow: var(--shadow-menu); border-radius: var(--rounded-xl); position: absolute; font-family: var(--font-stack-sans); z-index: 3; overflow: hidden; opacity: 0; outline: 0; min-width: 248px; transition: opacity var(--animate-out-duration-ms) var(--animate-out-timing-function); &[data-rendered='true'] { opacity: 1; scale: 1; } } .dev-tools-indicator-inner { padding: 6px; width: 100%; } .dev-tools-indicator-item { display: flex; align-items: center; padding: 8px 6px; height: var(--size-36); border-radius: 6px; text-decoration: none !important; user-select: none; white-space: nowrap; svg { width: var(--size-16); height: var(--size-16); } &:focus-visible { outline: 0; } } .dev-tools-indicator-footer { background: var(--color-background-200); padding: 6px; border-top: 1px solid var(--color-gray-400); width: 100%; } .dev-tools-indicator-item[data-selected='true'] { cursor: pointer; background-color: var(--color-gray-200); } .dev-tools-indicator-label { font-size: var(--size-14); line-height: var(--size-20); color: var(--color-gray-1000); } .dev-tools-indicator-value { font-size: var(--size-14); line-height: var(--size-20); color: var(--color-gray-900); margin-left: auto; } .dev-tools-indicator-issue-count { --color-primary: var(--color-gray-800); --color-secondary: var(--color-gray-100); display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-width: var(--size-40); height: var(--size-24); background: var(--color-background-100); border: 1px solid var(--color-gray-alpha-400); background-clip: padding-box; box-shadow: var(--shadow-small); padding: 2px; color: var(--color-gray-1000); border-radius: 128px; font-weight: 500; font-size: var(--size-13); font-variant-numeric: tabular-nums; &[data-has-issues='true'] { --color-primary: var(--color-red-800); --color-secondary: var(--color-red-100); } .dev-tools-indicator-issue-count-indicator { width: var(--size-8); height: var(--size-8); background: var(--color-primary); box-shadow: 0 0 0 2px var(--color-secondary); border-radius: 50%; } } .dev-tools-indicator-shortcut { display: flex; gap: 4px; kbd { width: var(--size-20); height: var(--size-20); display: flex; justify-content: center; align-items: center; border-radius: var(--rounded-md); border: 1px solid var(--color-gray-400); font-family: var(--font-stack-sans); background: var(--color-background-100); color: var(--color-gray-1000); text-align: center; font-size: var(--size-12); line-height: var(--size-16); } } .dev-tools-grabbing { cursor: grabbing; > * { pointer-events: none; } } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`.resize-container { position: absolute; /* todo: better z index */ z-index: 10; /* todo: is this needed */ background: transparent; } .resize-line { position: absolute; /* todo smarter z index */ z-index: -1; pointer-events: none; /* a normal exit animation curve- at this point the exit animation is */ /* immediately responsive so we don't need a bespoke curve */ transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* todo: better var? */ border: 1px solid var(--color-gray-400); } /* start really fast because we start super hidden initially behind the panel, otherwise feels like an unintended animation delay */ .resize-container:hover ~ .resize-line { transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 0.9); } .resize-container.right, .resize-container.left { top: 0; height: 100%; width: 22px; cursor: ew-resize; } /* todo: don't hard code all these values/use vars */ .resize-container.bottom, .resize-container.top { left: 0; width: 100%; height: 22px; cursor: ns-resize; } .resize-container.top { top: -7px; } .resize-container.bottom { bottom: -7px; } .resize-container.left { left: -7px; } .resize-container.right { right: -7px; } .resize-container.top-left, .resize-container.top-right, .resize-container.bottom-left, .resize-container.bottom-right { width: 26px; height: 26px; z-index: 15; } .resize-container.top-left { top: -5px; left: -5px; cursor: nwse-resize; } .resize-container.top-right { top: -5px; right: -5px; cursor: nesw-resize; } .resize-container.bottom-left { bottom: -5px; left: -5px; cursor: nesw-resize; } .resize-container.bottom-right { bottom: -5px; right: -5px; cursor: nwse-resize; } .resize-line.top, .resize-line.bottom { height: 18px; width: 100%; background-color: var(--color-background-200); } .resize-line.left, .resize-line.right { width: 18px; height: 100%; background-color: var(--color-background-200); } .resize-line.top { top: -7px; left: calc(-1 * var(--border-left, 2px)); width: calc(100% + var(--border-horizontal, 4px)); border-radius: var(--rounded-lg) var(--rounded-lg) 0 0; transform: translateY(18px); } .resize-line.bottom { bottom: -7px; left: calc(-1 * var(--border-left, 2px)); width: calc(100% + var(--border-horizontal, 4px)); border-radius: 0 0 var(--rounded-lg) var(--rounded-lg); transform: translateY(-18px); } .resize-line.left { top: calc(-1 * var(--border-top, 2px)); left: -7px; height: calc(100% + var(--border-vertical, 4px)); border-radius: var(--rounded-lg) 0 0 var(--rounded-lg); transform: translateX(18px); } .resize-line.right { top: calc(-1 * var(--border-top, 2px)); right: -7px; height: calc(100% + var(--border-vertical, 4px)); border-radius: 0 var(--rounded-lg) var(--rounded-lg) 0; transform: translateX(-18px); } .resize-container.right:hover ~ .resize-line.right, .resize-container.left:hover ~ .resize-line.left, .resize-line.right.dragging, .resize-line.left.dragging { transform: translateX(0); } .resize-container.bottom:hover ~ .resize-line.bottom, .resize-container.top:hover ~ .resize-line.top, .resize-line.bottom.dragging, .resize-line.top.dragging { transform: translateY(0); } /* make sure that we don't show multiple handles at once * we should only ever show the currently resizing handle * regardless of hover state */ .resize-container.no-hover.right:hover ~ .resize-line.right { transform: translateX(-20px); } .resize-container.no-hover.left:hover ~ .resize-line.left { transform: translateX(20px); } .resize-container.no-hover.bottom:hover ~ .resize-line.bottom { transform: translateY(-20px); } .resize-container.no-hover.top:hover ~ .resize-line.top { transform: translateY(20px); } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/instant-navs/instant-navs-panel.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`.instant-nav-panel { display: flex; flex-direction: column; height: 100%; } .instant-nav-content { flex: 1; padding: 12px 20px 0; } /* Waiting state: preference-style sections */ .instant-nav-section { padding: 12px 20px; border-bottom: 1px solid var(--color-gray-400); display: flex; justify-content: space-between; align-items: center; gap: 24px; } .instant-nav-section:last-child { border-bottom: none; } .instant-nav-section-header { flex: 1; } .instant-nav-section-header label { font-size: var(--size-14); font-weight: 500; color: var(--color-gray-1000); margin: 0; } .instant-nav-section-description { color: var(--color-gray-900); font-size: var(--size-14); margin: 0; } .instant-nav-section-control { flex-shrink: 0; } .instant-nav-section-control .action-button { display: flex; align-items: center; gap: 8px; background: var(--color-background-100); border: 1px solid var(--color-gray-400); border-radius: var(--rounded-lg); font-weight: 400; font-size: var(--size-14); color: var(--color-gray-1000); padding: 6px 8px; cursor: pointer; transition: border-color 150ms var(--timing-swift); } .instant-nav-section-control .action-button:hover { border-color: var(--color-gray-500); } .instant-nav-section-control .action-button svg { width: 14px; height: 14px; overflow: visible; } .instant-nav-helper-text { font-size: var(--size-14); color: var(--color-gray-900); font-style: italic; white-space: nowrap; } /* Result states (client-nav, initial-load) */ .instant-nav-status-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--color-gray-900); } .instant-nav-urls { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; } .instant-nav-url-row { display: flex; gap: 8px; font-size: 13px; } .instant-nav-url-label { color: var(--color-gray-700); flex-shrink: 0; } .instant-nav-url-value { color: var(--color-gray-900); word-break: break-all; font-family: var(--font-mono); } .instant-nav-actions { margin-top: 8px; display: flex; } .instant-nav-share-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 6px; border: 1px solid var(--color-gray-alpha-400); background: var(--color-background-200); color: var(--color-gray-900); font-size: 13px; font-weight: 500; cursor: pointer; transition: background 150ms ease; } .instant-nav-share-button:hover { background: var(--color-gray-alpha-200); } .instant-nav-helper-description { color: var(--color-gray-900); font-size: var(--size-14); margin: 8px 0 0; } /* Footer (pinned to bottom, matching segment-explorer-footer) */ .instant-nav-footer { display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--color-gray-400); user-select: none; } .instant-nav-footer-button { display: flex; align-items: center; justify-content: center; flex: 1; gap: 8px; padding: 6px; background: var(--color-background-100); border: 1px solid var(--color-gray-400); border-radius: 6px; color: var(--color-gray-1000); font-size: var(--size-14); font-weight: 500; cursor: pointer; transition: background-color 0.15s ease; } .instant-nav-footer-button:hover { background: var(--color-gray-200); } /* Shimmer skeleton for pending "to" route */ @keyframes instant-nav-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } } .instant-nav-skeleton { display: inline-block; width: 120px; height: 1em; vertical-align: middle; border-radius: 4px; background: linear-gradient( 90deg, var(--color-gray-300) 25%, var(--color-blue-300) 50%, var(--color-gray-300) 75% ); background-size: 800px 100%; animation: instant-nav-shimmer 1.5s ease-in-out infinite; } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`.segment-boundary-trigger { display: flex; align-items: center; gap: 4px; padding: 4px 6px; line-height: 16px; font-weight: 500; color: var(--color-gray-1000); border-radius: 999px; border: none; font-size: var(--size-12); cursor: pointer; transition: background-color 0.15s ease; } .segment-boundary-trigger-text { font-size: var(--size-12); font-weight: 500; user-select: none; display: inline-flex; align-items: center; justify-content: center; } .segment-boundary-trigger-text .plus-icon { transition: transform 0.25s ease; } .segment-boundary-trigger-text:hover .plus-icon { color: var(--color-gray-800); } .segment-boundary-trigger svg { width: 14px; height: 14px; flex-shrink: 0; vertical-align: middle; } .segment-boundary-trigger:hover svg { color: var(--color-gray-700); } .segment-boundary-trigger[disabled] svg, .segment-boundary-trigger[disabled]:hover svg { color: var(--color-gray-400); cursor: not-allowed; } .segment-boundary-dropdown { padding: 8px; background: var(--color-background-100); border: 1px solid var(--color-gray-400); border-radius: 16px; min-width: 120px; user-select: none; cursor: default; box-shadow: 0px 4px 8px -4px color-mix(in srgb, var(--color-gray-900) 4%, transparent); } .segment-boundary-dropdown-positioner { z-index: var(--top-z-index); } .segment-boundary-dropdown-item { display: flex; align-items: center; padding: 8px; line-height: 20px; font-size: 14px; border-radius: 6px; color: var(--color-gray-1000); cursor: pointer; min-width: 220px; border: none; background: none; width: 100%; } .segment-boundary-dropdown-item[data-disabled] { color: var(--color-gray-400); cursor: not-allowed; } .segment-boundary-dropdown-item svg { margin-right: 12px; color: currentColor; } .segment-boundary-dropdown-item:hover { background: var(--color-gray-200); } .segment-boundary-dropdown-item:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } .segment-boundary-dropdown-item:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } .segment-boundary-group-label { padding: 8px; font-size: 13px; line-height: 16px; font-weight: 400; color: var(--color-gray-900); } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`.segment-explorer-content { font-size: var(--size-14); padding: 0 8px; width: 100%; height: 100%; } .segment-explorer-page-route-bar { display: flex; align-items: center; padding: 14px 16px; background-color: var(--color-background-200); gap: 12px; } .segment-explorer-page-route-bar-path { font-size: var(--size-14); font-weight: 500; color: var(--color-gray-1000); font-family: var(--font-mono); white-space: nowrap; line-height: 20px; } .segment-explorer-item { margin: 4px 0; border-radius: 6px; } .segment-explorer-item:nth-child(even) { background-color: var(--color-background-200); } .segment-explorer-item-row { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 10px; padding-right: 4px; } .segment-explorer-item-row-main { display: flex; align-items: center; white-space: pre; color: var(--color-gray-1000); } .segment-explorer-children--intended { padding-left: 16px; } .segment-explorer-filename { display: inline-flex; width: 100%; align-items: center; } .segment-explorer-filename select { margin-left: auto; } .segment-explorer-filename--path { margin-right: 8px; } .segment-explorer-filename--path small { display: inline-block; width: 0; opacity: 0; } .segment-explorer-filename--name { color: var(--color-gray-800); } .segment-explorer-files { display: inline-flex; gap: 8px; margin-left: auto; } .segment-explorer-files + .segment-boundary-trigger { margin-left: 8px; } .segment-explorer-file-label { display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; height: 20px; border-radius: 16px; line-height: 16px; font-size: var(--size-12); font-weight: 500; background-color: var(--color-gray-300); color: var(--color-gray-1000); } .segment-explorer-file-label-text { display: inline-flex; align-items: center; } .segment-explorer-file-label--overridden { background-color: var(--color-amber-300); color: var(--color-amber-900); } .segment-explorer-file-label .code-icon { opacity: 0; margin-left: 0; width: 0; transition: all 0.15s ease-in-out; } .segment-explorer-file-label:hover .code-icon { opacity: 1; width: 12px; margin-left: 4px; } .segment-explorer-file-label:hover { filter: brightness(0.95); } .segment-explorer-file-label--builtin { background-color: transparent; color: var(--color-gray-900); border: 1px dashed var(--color-gray-500); height: 24px; cursor: default; } .segment-explorer-file-label--builtin svg { margin-left: 4px; margin-right: -4px; } /* Footer styles */ .segment-explorer-footer { padding: 8px; border-top: 1px solid var(--color-gray-400); user-select: none; } .segment-explorer-footer-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 6px; background: var(--color-background-100); border: 1px solid var(--color-gray-400); border-radius: 6px; color: var(--color-gray-1000); font-size: var(--size-14); font-weight: 500; cursor: pointer; transition: background-color 0.15s ease; } .segment-explorer-footer-button:hover:not(:disabled) { background: var(--color-gray-200); } .segment-explorer-footer-button--disabled { cursor: not-allowed; } .segment-explorer-footer-text { text-align: center; } .segment-explorer-footer-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; background: var(--color-amber-300); color: var(--color-amber-900); border-radius: 10px; font-size: var(--size-12); font-weight: 600; line-height: 1; } .segment-explorer-file-label-tooltip--sm { white-space: nowrap; } .segment-explorer-file-label-tooltip--lg { min-width: 200px; } .segment-explorer-suggestions { display: inline-flex; gap: 8px; } .segment-explorer-suggestions-tooltip { width: 200px; } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/toast/style.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`.nextjs-toast { position: fixed; z-index: var(--top-z-index); max-width: 420px; box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.25); } .nextjs-toast-errors-parent { padding: 16px; border-radius: var(--rounded-4xl); font-weight: 500; color: var(--color-ansi-bright-white); background-color: var(--color-ansi-red); } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`.tooltip-wrapper { position: relative; display: inline-block; line-height: 1; } .tooltip { position: relative; padding: 6px 12px; border-radius: 8px; font-size: 14px; line-height: 1.4; pointer-events: none; color: var(--color-gray-100); background-color: var(--color-gray-1000); } .tooltip-arrow { position: absolute; width: 0; height: 0; border-style: solid; border-width: var(--arrow-size, 6px); border-color: transparent; } .tooltip-arrow--top { border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0 var(--arrow-size, 6px); border-top-color: var(--color-gray-1000); bottom: 0; transform: translateY(100%); } .tooltip-arrow--bottom { border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px) var(--arrow-size, 6px); border-bottom-color: var(--color-gray-1000); top: 0; transform: translateY(-100%); } .tooltip-arrow--left { border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px) var(--arrow-size, 6px); border-left-color: var(--color-gray-1000); right: 0; transform: translateX(100%); } .tooltip-arrow--right { border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) var(--arrow-size, 6px) 0; border-right-color: var(--color-gray-1000); left: 0; transform: translateX(-100%); } .tooltip-positioner { z-index: var(--top-z-index); } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/global.css"(e,t,r){"use strict";r.d(t,{A:()=>f});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a),l=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/normalize.css"),s=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/default-theme.css"),c=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/dark-theme.css"),u=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/colors.css"),d=i()(o());d.i(l.A),d.i(s.A),d.i(c.A),d.i(u.A),d.push([e.id,`/* devtool global css variables */ :host { /* variables */ --top-z-index: 2147483647; } /* global styles */ * { -webkit-font-smoothing: antialiased; } /* global reset for draggable content scrollbar styles */ [data-nextjs-scrollable-content], [data-nextjs-scrollable-content] * { &::-webkit-scrollbar { width: 6px; height: 6px; border-radius: 0 0 1rem 1rem; margin-bottom: 1rem; } &::-webkit-scrollbar-button { display: none; } &::-webkit-scrollbar-track { border-radius: 0 0 1rem 1rem; background-color: var(--color-background-100); } &::-webkit-scrollbar-thumb { border-radius: 1rem; background-color: var(--color-gray-500); } } /* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */ [data-nextjs-scrollable-content] { overflow: hidden; border-radius: inherit; } `,""]);let f=d},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/menu/panel-router.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`/* Panel content padding styles */ .panel-content { padding: 16px; padding-top: 8px; overflow: hidden; } /* User preferences wrapper styles */ .user-preferences-wrapper { padding: 20px; padding-top: 8px; overflow: hidden; } /* Panel route base styles */ .panel-route { opacity: var(--panel-opacity); transition: var(--panel-transition); } .turbopack-upgrade-link { text-decoration: underline; font-weight: 500; } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/normalize.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`:host { all: initial; /* the direction property is not reset by 'all' */ direction: ltr; } /*! * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/) * Copyright 2011-2019 The Bootstrap Authors * Copyright 2011-2019 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) */ *, *::before, *::after { box-sizing: border-box; } :host { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; } :host { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--color-font); text-align: left; } :host:not(button) { background-color: #fff; } [tabindex='-1']:focus:not(:focus-visible) { outline: 0 !important; } hr { box-sizing: content-box; height: 0; overflow: visible; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 8px; } p { margin-top: 0; margin-bottom: 16px; } abbr[title], abbr[data-original-title] { text-decoration: underline; -webkit-text-decoration: underline dotted; text-decoration: underline dotted; cursor: help; border-bottom: 0; -webkit-text-decoration-skip-ink: none; text-decoration-skip-ink: none; } address { margin-bottom: 16px; font-style: normal; line-height: inherit; } ol, ul, dl { margin-top: 0; margin-bottom: 16px; } ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; } dt { font-weight: 700; } dd { margin-bottom: 8px; margin-left: 0; } blockquote { margin: 0 0 16px; } b, strong { font-weight: bolder; } small { font-size: 80%; } sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } a { color: #007bff; text-decoration: none; background-color: transparent; } a:hover { color: #0056b3; text-decoration: underline; } a:not([href]) { color: inherit; text-decoration: none; } a:not([href]):hover { color: inherit; text-decoration: none; } pre, code, kbd, samp { font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 1em; } pre { margin-top: 0; margin-bottom: 16px; overflow: auto; } figure { margin: 0 0 16px; } img { vertical-align: middle; border-style: none; } svg { overflow: hidden; vertical-align: middle; } table { border-collapse: collapse; } caption { padding-top: 12px; padding-bottom: 12px; color: #6c757d; text-align: left; caption-side: bottom; } th { text-align: inherit; } label { display: inline-block; margin-bottom: 8px; } button { border-radius: 0; border: 0; padding: 0; margin: 0; background: none; appearance: none; -webkit-appearance: none; } button:focus { outline: 1px dotted; outline: 5px auto -webkit-focus-ring-color; } button:focus:not(:focus-visible) { outline: none; } input, button, select, optgroup, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; } button, input { overflow: visible; } button, select { text-transform: none; } select { word-wrap: normal; } button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; } button:not(:disabled), [type='button']:not(:disabled), [type='reset']:not(:disabled), [type='submit']:not(:disabled) { cursor: pointer; } button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-moz-focus-inner, [type='submit']::-moz-focus-inner { padding: 0; border-style: none; } input[type='radio'], input[type='checkbox'] { box-sizing: border-box; padding: 0; } input[type='date'], input[type='time'], input[type='datetime-local'], input[type='month'] { -webkit-appearance: listbox; } textarea { overflow: auto; resize: vertical; } fieldset { min-width: 0; padding: 0; margin: 0; border: 0; } legend { display: block; width: 100%; max-width: 100%; padding: 0; margin-bottom: 8px; font-size: 24px; line-height: inherit; color: inherit; white-space: normal; } progress { vertical-align: baseline; } [type='number']::-webkit-inner-spin-button, [type='number']::-webkit-outer-spin-button { height: auto; } [type='search'] { outline-offset: -2px; -webkit-appearance: none; } [type='search']::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; } output { display: inline-block; } summary { display: list-item; cursor: pointer; } template { display: none; } [hidden] { display: none !important; } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/panel/dynamic-panel.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`/* Panel container base styles with dynamic positioning and sizing */ .dynamic-panel-container { position: fixed; z-index: 2147483646; outline: none; top: var(--panel-top, auto); bottom: var(--panel-bottom, auto); left: var(--panel-left, auto); right: var(--panel-right, auto); width: var(--panel-width); height: var(--panel-height); min-width: var(--panel-min-width); min-height: var(--panel-min-height); max-width: var(--panel-max-width); max-height: var(--panel-max-height); } /* Panel content container styles */ .panel-content-container { position: relative; width: 100%; height: 100%; border: 1px solid var(--color-gray-alpha-400); border-radius: var(--rounded-xl); background: var(--color-background-100); display: flex; flex-direction: column; } /* Draggable content area styles */ .draggable-content { flex: 1; overflow: auto; } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/colors.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`:host { /* * CAUTION: THIS IS A WORKAROUND! * The code frame renderer (next-code-frame) uses hardcoded ANSI colors that don't match * our theme colors. We do a workaround mapping to change the ANSI color matching the theme. * * next-code-frame color scheme: * cyan (36m): keywords (const, function, return, etc.) * yellow (33m): capitalized identifiers (Component names, types) * magenta (35m): numbers, regex literals * green (32m): strings * gray (90m): comments, gutter */ /* cyan: keyword */ --color-ansi-cyan: var(--color-syntax-keyword); /* yellow: capitalized identifiers */ --color-ansi-yellow: var(--color-syntax-function); /* magenta: number, regex */ --color-ansi-magenta: var(--color-syntax-keyword); /* green: string */ --color-ansi-green: var(--color-syntax-string); /* gray (bright black): comment, gutter */ --color-ansi-bright-black: var(--color-syntax-comment); /* Ansi - Temporary */ --color-ansi-selection: var(--color-gray-alpha-300); --color-ansi-bg: var(--color-background-200); --color-ansi-fg: var(--color-gray-1000); --color-ansi-white: var(--color-gray-700); --color-ansi-black: var(--color-gray-200); --color-ansi-blue: var(--color-blue-700); --color-ansi-red: var(--color-red-700); --color-ansi-bright-white: var(--color-gray-1000); --color-ansi-bright-blue: var(--color-blue-800); --color-ansi-bright-cyan: var(--color-blue-800); --color-ansi-bright-green: var(--color-green-800); --color-ansi-bright-magenta: var(--color-blue-800); --color-ansi-bright-red: var(--color-red-800); --color-ansi-bright-yellow: var(--color-amber-900); /* Background Light */ --color-background-100: #ffffff; --color-background-200: #fafafa; /* Syntax Light */ --color-syntax-comment: #545454; --color-syntax-constant: #171717; --color-syntax-function: #0054ad; --color-syntax-keyword: #a51850; --color-syntax-link: #066056; --color-syntax-parameter: #8f3e00; --color-syntax-punctuation: #171717; --color-syntax-string: #036157; --color-syntax-string-expression: #066056; /* Gray Scale Light */ --color-gray-100: #f2f2f2; --color-gray-200: #ebebeb; --color-gray-300: #e6e6e6; --color-gray-400: #eaeaea; --color-gray-500: #c9c9c9; --color-gray-600: #a8a8a8; --color-gray-700: #8f8f8f; --color-gray-800: #7d7d7d; --color-gray-900: #666666; --color-gray-1000: #171717; /* Gray Alpha Scale Light */ --color-gray-alpha-100: rgba(0, 0, 0, 0.05); --color-gray-alpha-200: rgba(0, 0, 0, 0.081); --color-gray-alpha-300: rgba(0, 0, 0, 0.1); --color-gray-alpha-400: rgba(0, 0, 0, 0.08); --color-gray-alpha-500: rgba(0, 0, 0, 0.21); --color-gray-alpha-600: rgba(0, 0, 0, 0.34); --color-gray-alpha-700: rgba(0, 0, 0, 0.44); --color-gray-alpha-800: rgba(0, 0, 0, 0.51); --color-gray-alpha-900: rgba(0, 0, 0, 0.605); --color-gray-alpha-1000: rgba(0, 0, 0, 0.91); /* Blue Scale Light */ --color-blue-100: #f0f7ff; --color-blue-200: #edf6ff; --color-blue-300: #e1f0ff; --color-blue-400: #cde7ff; --color-blue-500: #99ceff; --color-blue-600: #52aeff; --color-blue-700: #0070f3; --color-blue-800: #0060d1; --color-blue-900: #0067d6; --color-blue-1000: #0025ad; /* Red Scale Light */ --color-red-100: #fff0f0; --color-red-200: #ffebeb; --color-red-300: #ffe5e5; --color-red-400: #fdd8d8; --color-red-500: #f8baba; --color-red-600: #f87274; --color-red-700: #e5484d; --color-red-800: #da3036; --color-red-900: #ca2a30; --color-red-1000: #381316; /* Amber Scale Light */ --color-amber-100: #fff6e5; --color-amber-200: #fff4d5; --color-amber-300: #fef0cd; --color-amber-400: #ffddbf; --color-amber-500: #ffc96b; --color-amber-600: #f5b047; --color-amber-700: #ffb224; --color-amber-800: #ff990a; --color-amber-900: #a35200; --color-amber-1000: #4e2009; /* Green Scale Light */ --color-green-100: #effbef; --color-green-200: #eafaea; --color-green-300: #dcf6dc; --color-green-400: #c8f1c9; --color-green-500: #99e59f; --color-green-600: #6cda76; --color-green-700: #46a758; --color-green-800: #388e4a; --color-green-900: #297c3b; --color-green-1000: #18311e; /* Turbopack Light - Temporary */ --color-turbopack-text-red: #ff1e56; --color-turbopack-text-blue: #0096ff; --color-turbopack-border-red: #f0adbe; --color-turbopack-border-blue: #adccea; --color-turbopack-background-red: #fff7f9; --color-turbopack-background-blue: #f6fbff; } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/dark-theme.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`:host(.dark) { --color-font: white; --color-backdrop: rgba(0, 0, 0, 0.8); --color-border-shadow: rgba(255, 255, 255, 0.145); --color-title-color: #fafafa; --color-stack-notes: #a9a9a9; /* Background Dark */ --color-background-100: #0a0a0a; --color-background-200: #000000; /* Syntax Dark */ --color-syntax-comment: #a0a0a0; --color-syntax-constant: #ededed; --color-syntax-function: #52a9ff; --color-syntax-keyword: #f76e99; --color-syntax-link: #0ac5b2; --color-syntax-parameter: #f1a10d; --color-syntax-punctuation: #ededed; --color-syntax-string: #0ac5b2; --color-syntax-string-expression: #0ac5b2; /* Gray Scale Dark */ --color-gray-100: #1a1a1a; --color-gray-200: #1f1f1f; --color-gray-300: #292929; --color-gray-400: #2e2e2e; --color-gray-500: #454545; --color-gray-600: #878787; --color-gray-700: #8f8f8f; --color-gray-800: #7d7d7d; --color-gray-900: #a0a0a0; --color-gray-1000: #ededed; /* Gray Alpha Scale Dark */ --color-gray-alpha-100: rgba(255, 255, 255, 0.066); --color-gray-alpha-200: rgba(255, 255, 255, 0.087); --color-gray-alpha-300: rgba(255, 255, 255, 0.125); --color-gray-alpha-400: rgba(255, 255, 255, 0.145); --color-gray-alpha-500: rgba(255, 255, 255, 0.239); --color-gray-alpha-600: rgba(255, 255, 255, 0.506); --color-gray-alpha-700: rgba(255, 255, 255, 0.54); --color-gray-alpha-800: rgba(255, 255, 255, 0.47); --color-gray-alpha-900: rgba(255, 255, 255, 0.61); --color-gray-alpha-1000: rgba(255, 255, 255, 0.923); /* Blue Scale Dark */ --color-blue-100: #0f1b2d; --color-blue-200: #10243e; --color-blue-300: #0f3058; --color-blue-400: #0d3868; --color-blue-500: #0a4481; --color-blue-600: #0091ff; --color-blue-700: #0070f3; --color-blue-800: #0060d1; --color-blue-900: #52a9ff; --color-blue-1000: #eaf6ff; /* Red Scale Dark */ --color-red-100: #2a1314; --color-red-200: #3d1719; --color-red-300: #551a1e; --color-red-400: #671e22; --color-red-500: #822025; --color-red-600: #e5484d; --color-red-700: #e5484d; --color-red-800: #da3036; --color-red-900: #ff6369; --color-red-1000: #ffecee; /* Amber Scale Dark */ --color-amber-100: #271700; --color-amber-200: #341c00; --color-amber-300: #4a2900; --color-amber-400: #573300; --color-amber-500: #693f05; --color-amber-600: #e79c13; --color-amber-700: #ffb224; --color-amber-800: #ff990a; --color-amber-900: #f1a10d; --color-amber-1000: #fef3dd; /* Green Scale Dark */ --color-green-100: #0b2211; --color-green-200: #0f2c17; --color-green-300: #11351b; --color-green-400: #0c461b; --color-green-500: #126427; --color-green-600: #1a9338; --color-green-700: #46a758; --color-green-800: #388e4a; --color-green-900: #63c174; --color-green-1000: #e5fbeb; /* Turbopack Dark - Temporary */ --color-turbopack-text-red: #ff6d92; --color-turbopack-text-blue: #45b2ff; --color-turbopack-border-red: #6e293b; --color-turbopack-border-blue: #284f80; --color-turbopack-background-red: #250d12; --color-turbopack-background-blue: #0a1723; } @media (prefers-color-scheme: dark) { :host(:not(.light)) { --color-font: white; --color-backdrop: rgba(0, 0, 0, 0.8); --color-border-shadow: rgba(255, 255, 255, 0.145); --color-title-color: #fafafa; --color-stack-notes: #a9a9a9; /* Background Dark */ --color-background-100: #0a0a0a; --color-background-200: #000000; /* Syntax Dark */ --color-syntax-comment: #a0a0a0; --color-syntax-constant: #ededed; --color-syntax-function: #52a9ff; --color-syntax-keyword: #f76e99; --color-syntax-link: #0ac5b2; --color-syntax-parameter: #f1a10d; --color-syntax-punctuation: #ededed; --color-syntax-string: #0ac5b2; --color-syntax-string-expression: #0ac5b2; /* Gray Scale Dark */ --color-gray-100: #1a1a1a; --color-gray-200: #1f1f1f; --color-gray-300: #292929; --color-gray-400: #2e2e2e; --color-gray-500: #454545; --color-gray-600: #878787; --color-gray-700: #8f8f8f; --color-gray-800: #7d7d7d; --color-gray-900: #a0a0a0; --color-gray-1000: #ededed; /* Gray Alpha Scale Dark */ --color-gray-alpha-100: rgba(255, 255, 255, 0.066); --color-gray-alpha-200: rgba(255, 255, 255, 0.087); --color-gray-alpha-300: rgba(255, 255, 255, 0.125); --color-gray-alpha-400: rgba(255, 255, 255, 0.145); --color-gray-alpha-500: rgba(255, 255, 255, 0.239); --color-gray-alpha-600: rgba(255, 255, 255, 0.506); --color-gray-alpha-700: rgba(255, 255, 255, 0.54); --color-gray-alpha-800: rgba(255, 255, 255, 0.47); --color-gray-alpha-900: rgba(255, 255, 255, 0.61); --color-gray-alpha-1000: rgba(255, 255, 255, 0.923); /* Blue Scale Dark */ --color-blue-100: #0f1b2d; --color-blue-200: #10243e; --color-blue-300: #0f3058; --color-blue-400: #0d3868; --color-blue-500: #0a4481; --color-blue-600: #0091ff; --color-blue-700: #0070f3; --color-blue-800: #0060d1; --color-blue-900: #52a9ff; --color-blue-1000: #eaf6ff; /* Red Scale Dark */ --color-red-100: #2a1314; --color-red-200: #3d1719; --color-red-300: #551a1e; --color-red-400: #671e22; --color-red-500: #822025; --color-red-600: #e5484d; --color-red-700: #e5484d; --color-red-800: #da3036; --color-red-900: #ff6369; --color-red-1000: #ffecee; /* Amber Scale Dark */ --color-amber-100: #271700; --color-amber-200: #341c00; --color-amber-300: #4a2900; --color-amber-400: #573300; --color-amber-500: #693f05; --color-amber-600: #e79c13; --color-amber-700: #ffb224; --color-amber-800: #ff990a; --color-amber-900: #f1a10d; --color-amber-1000: #fef3dd; /* Green Scale Dark */ --color-green-100: #0b2211; --color-green-200: #0f2c17; --color-green-300: #11351b; --color-green-400: #0c461b; --color-green-500: #126427; --color-green-600: #1a9338; --color-green-700: #46a758; --color-green-800: #388e4a; --color-green-900: #63c174; --color-green-1000: #e5fbeb; /* Turbopack Dark - Temporary */ --color-turbopack-text-red: #ff6d92; --color-turbopack-text-blue: #45b2ff; --color-turbopack-border-red: #6e293b; --color-turbopack-border-blue: #284f80; --color-turbopack-background-red: #250d12; --color-turbopack-background-blue: #0a1723; } } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/default-theme.css"(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"),i=r.n(a)()(o());i.push([e.id,`:host { /* * Although the style applied to the shadow host is isolated, * the element that attached the shadow host (i.e. "nextjs-portal") * is still affected by the parent's style (e.g. "body"). This may * occur style conflicts like "display: flex", with other children * elements therefore give the shadow host an absolute position. */ position: absolute; --color-font: #757575; --color-backdrop: rgba(250, 250, 250, 0.8); --color-border-shadow: rgba(0, 0, 0, 0.145); --color-title-color: #1f1f1f; --color-stack-notes: #777; --color-accents-1: #808080; --color-accents-2: #222222; --color-accents-3: #404040; --font-stack-monospace: '__nextjs-Geist Mono', 'Geist Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; --font-stack-sans: '__nextjs-Geist', 'Geist', -apple-system, 'Source Sans Pro', sans-serif; font-family: var(--font-stack-sans); font-variant-ligatures: none; /* TODO: Remove replaced ones. */ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25); --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); --shadow-none: 0 0 #0000; --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04); --shadow-menu: 0px 1px 1px rgba(0, 0, 0, 0.02), 0px 4px 8px -4px rgba(0, 0, 0, 0.04), 0px 16px 24px -8px rgba(0, 0, 0, 0.06); --focus-color: var(--color-blue-800); --focus-ring: 2px solid var(--focus-color); --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92); --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1); /* prettier-ignore */ --timing-bounce: linear(0 0%, 0.005871 1%, 0.022058 2%, 0.046612 3%, 0.077823 4%, 0.114199 5%, 0.154441 6%, 0.197431 7.000000000000001%, 0.242208 8%, 0.287959 9%, 0.333995 10%, 0.379743 11%, 0.424732 12%, 0.46858 13%, 0.510982 14.000000000000002%, 0.551702 15%, 0.590564 16%, 0.627445 17%, 0.662261 18%, 0.694971 19%, 0.725561 20%, 0.754047 21%, 0.780462 22%, 0.804861 23%, 0.82731 24%, 0.847888 25%, 0.866679 26%, 0.883775 27%, 0.899272 28.000000000000004%, 0.913267 28.999999999999996%, 0.925856 30%, 0.937137 31%, 0.947205 32%, 0.956153 33%, 0.96407 34%, 0.971043 35%, 0.977153 36%, 0.982479 37%, 0.987094 38%, 0.991066 39%, 0.994462 40%, 0.997339 41%, 0.999755 42%, 1.001761 43%, 1.003404 44%, 1.004727 45%, 1.00577 46%, 1.006569 47%, 1.007157 48%, 1.007563 49%, 1.007813 50%, 1.007931 51%, 1.007939 52%, 1.007855 53%, 1.007697 54%, 1.007477 55.00000000000001%, 1.00721 56.00000000000001%, 1.006907 56.99999999999999%, 1.006576 57.99999999999999%, 1.006228 59%, 1.005868 60%, 1.005503 61%, 1.005137 62%, 1.004776 63%, 1.004422 64%, 1.004078 65%, 1.003746 66%, 1.003429 67%, 1.003127 68%, 1.00284 69%, 1.002571 70%, 1.002318 71%, 1.002082 72%, 1.001863 73%, 1.00166 74%, 1.001473 75%, 1.001301 76%, 1.001143 77%, 1.001 78%, 1.000869 79%, 1.000752 80%, 1.000645 81%, 1.00055 82%, 1.000464 83%, 1.000388 84%, 1.000321 85%, 1.000261 86%, 1.000209 87%, 1.000163 88%, 1.000123 89%, 1.000088 90%); --rounded-none: 0px; --rounded-sm: 2px; --rounded-md: 4px; --rounded-md-2: 6px; --rounded-lg: 8px; --rounded-xl: 12px; --rounded-2xl: 16px; --rounded-3xl: 24px; --rounded-4xl: 32px; --rounded-full: 9999px; /* This value gets set from the Dev Tools preferences, and we use the following --size-* variables to scale the relevant elements. The reason why we don't rely on rem values is because if an app sets their root font size to something tiny, it feels unexpected to have the app root size leak into a Next.js surface. https://github.com/vercel/next.js/discussions/76812 */ --nextjs-dev-tools-scale: 1; --size-1: calc(1px / var(--nextjs-dev-tools-scale)); --size-2: calc(2px / var(--nextjs-dev-tools-scale)); --size-3: calc(3px / var(--nextjs-dev-tools-scale)); --size-4: calc(4px / var(--nextjs-dev-tools-scale)); --size-5: calc(5px / var(--nextjs-dev-tools-scale)); --size-6: calc(6px / var(--nextjs-dev-tools-scale)); --size-7: calc(7px / var(--nextjs-dev-tools-scale)); --size-8: calc(8px / var(--nextjs-dev-tools-scale)); --size-9: calc(9px / var(--nextjs-dev-tools-scale)); --size-10: calc(10px / var(--nextjs-dev-tools-scale)); --size-11: calc(11px / var(--nextjs-dev-tools-scale)); --size-12: calc(12px / var(--nextjs-dev-tools-scale)); --size-13: calc(13px / var(--nextjs-dev-tools-scale)); --size-14: calc(14px / var(--nextjs-dev-tools-scale)); --size-15: calc(15px / var(--nextjs-dev-tools-scale)); --size-16: calc(16px / var(--nextjs-dev-tools-scale)); --size-17: calc(17px / var(--nextjs-dev-tools-scale)); --size-18: calc(18px / var(--nextjs-dev-tools-scale)); --size-20: calc(20px / var(--nextjs-dev-tools-scale)); --size-22: calc(22px / var(--nextjs-dev-tools-scale)); --size-24: calc(24px / var(--nextjs-dev-tools-scale)); --size-26: calc(26px / var(--nextjs-dev-tools-scale)); --size-28: calc(28px / var(--nextjs-dev-tools-scale)); --size-30: calc(30px / var(--nextjs-dev-tools-scale)); --size-32: calc(32px / var(--nextjs-dev-tools-scale)); --size-34: calc(34px / var(--nextjs-dev-tools-scale)); --size-36: calc(36px / var(--nextjs-dev-tools-scale)); --size-38: calc(38px / var(--nextjs-dev-tools-scale)); --size-40: calc(40px / var(--nextjs-dev-tools-scale)); --size-42: calc(42px / var(--nextjs-dev-tools-scale)); --size-44: calc(44px / var(--nextjs-dev-tools-scale)); --size-46: calc(46px / var(--nextjs-dev-tools-scale)); --size-48: calc(48px / var(--nextjs-dev-tools-scale)); @media print { display: none; } } h1, h2, h3, h4, h5, h6 { margin-bottom: 8px; font-weight: 500; line-height: 1.5; } a { color: var(--color-blue-900); &:hover { color: var(--color-blue-900); } &:focus-visible { outline: var(--focus-ring); } } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/api.js"(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var l=0;l0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]&&(u[1]="@media ".concat(u[2]," {").concat(u[1],"}")),u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/runtime/noSourceMaps.js"(e){"use strict";e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}"),(a=r.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js"(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},"./dist/compiled/anser/index.js"(e){(()=>{"use strict";var t={211:e=>{var t=function(){function e(e,t){for(var r=0;r]/gm,function(e){return"&"==e?"&":"<"==e?"<":">"==e?">":""})}},{key:"linkify",value:function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,function(e){return''+e+""})}},{key:"ansiToHtml",value:function(e,t){return this.process(e,t,!0)}},{key:"ansiToJson",value:function(e,t){return(t=t||{}).json=!0,t.clearLine=!1,this.process(e,t,!0)}},{key:"ansiToText",value:function(e){return this.process(e,{},!1)}},{key:"process",value:function(e,t,r){var n=this,o=e.split(/\033\[/),a=o.shift();null==t&&(t={}),t.clearLine=/\r/.test(e);var i=o.map(function(e){return n.processChunk(e,t,r)});if(t&&t.json){var l=this.processChunkJson("");return l.content=a,l.clearLine=t.clearLine,i.unshift(l),t.remove_empty&&(i=i.filter(function(e){return!e.isEmpty()})),i}return i.unshift(a),i.join("")}},{key:"processChunkJson",value:function(e,t,n){var o=(t=void 0===t?{}:t).use_classes=void 0!==t.use_classes&&t.use_classes,a=t.key=o?"class":"color",i={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:t.clearLine,decoration:null,was_processed:!1,isEmpty:function(){return!i.content}},l=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!l)return i;i.content=l[4];var s=l[2].split(";");if(""!==l[1]||"m"!==l[3]||!n)return i;for(this.decoration=null;s.length>0;){var c=parseInt(s.shift());if(isNaN(c)||0===c)this.fg=this.bg=this.decoration=null;else if(1===c)this.decoration="bold";else if(2===c)this.decoration="dim";else if(3==c)this.decoration="italic";else if(4==c)this.decoration="underline";else if(5==c)this.decoration="blink";else if(7===c)this.decoration="reverse";else if(8===c)this.decoration="hidden";else if(9===c)this.decoration="strikethrough";else if(39==c)this.fg=null;else if(49==c)this.bg=null;else if(c>=30&&c<38)this.fg=r[0][c%10][a];else if(c>=90&&c<98)this.fg=r[1][c%10][a];else if(c>=40&&c<48)this.bg=r[0][c%10][a];else if(c>=100&&c<108)this.bg=r[1][c%10][a];else if(38===c||48===c){var u=38===c;if(s.length>=1){var d=s.shift();if("5"===d&&s.length>=1){var f=parseInt(s.shift());if(f>=0&&f<=255)if(o){var p=f>=16?"ansi-palette-"+f:r[+(f>7)][f%8].class;u?this.fg=p:this.bg=p}else this.PALETTE_COLORS||this.setupPalette(),u?this.fg=this.PALETTE_COLORS[f]:this.bg=this.PALETTE_COLORS[f]}else if("2"===d&&s.length>=3){var h=parseInt(s.shift()),m=parseInt(s.shift()),g=parseInt(s.shift());if(h>=0&&h<=255&&m>=0&&m<=255&&g>=0&&g<=255){var v=h+", "+m+", "+g;o?u?(this.fg="ansi-truecolor",this.fg_truecolor=v):(this.bg="ansi-truecolor",this.bg_truecolor=v):u?this.fg=v:this.bg=v}}}}}return null===this.fg&&null===this.bg&&null===this.decoration||(i.fg=this.fg,i.bg=this.bg,i.fg_truecolor=this.fg_truecolor,i.bg_truecolor=this.bg_truecolor,i.decoration=this.decoration,i.was_processed=!0),i}},{key:"processChunk",value:function(e,t,r){var n=this;t=t||{};var o=this.processChunkJson(e,t,r);if(t.json)return o;if(o.isEmpty())return"";if(!o.was_processed)return o.content;var a=t.use_classes,i=[],l=[],s={},c=function(e){var t=[],r=void 0;for(r in e)e.hasOwnProperty(r)&&t.push("data-"+r+'="'+n.escapeForHtml(e[r])+'"');return t.length>0?" "+t.join(" "):""};return(o.fg&&(a?(l.push(o.fg+"-fg"),null!==o.fg_truecolor&&(s["ansi-truecolor-fg"]=o.fg_truecolor,o.fg_truecolor=null)):i.push("color:rgb("+o.fg+")")),o.bg&&(a?(l.push(o.bg+"-bg"),null!==o.bg_truecolor&&(s["ansi-truecolor-bg"]=o.bg_truecolor,o.bg_truecolor=null)):i.push("background-color:rgb("+o.bg+")")),o.decoration&&(a?l.push("ansi-"+o.decoration):"bold"===o.decoration?i.push("font-weight:bold"):"dim"===o.decoration?i.push("opacity:0.5"):"italic"===o.decoration?i.push("font-style:italic"):"reverse"===o.decoration?i.push("filter:invert(100%)"):"hidden"===o.decoration?i.push("visibility:hidden"):"strikethrough"===o.decoration?i.push("text-decoration:line-through"):i.push("text-decoration:"+o.decoration)),a)?'"+o.content+"":'"+o.content+""}}]),e}()}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}},i=!0;try{t[e](a,a.exports,n),i=!1}finally{i&&delete r[e]}return a.exports}n.ab="//",e.exports=n(211)})()},"./dist/compiled/react-dom/cjs/react-dom-client.production.js"(e,t,r){"use strict";var n,o=r("./dist/compiled/scheduler/index.js"),a=r("./dist/compiled/react/index.js"),i=r("./dist/compiled/react-dom/index.js");function l(e){var t="https://react.dev/errors/"+e;if(1K||(e.current=W[K],W[K]=null,K--)}function G(e,t){W[++K]=e.current,e.current=t}var Q=Y(null),J=Y(null),ee=Y(null),et=Y(null);function er(e,t){switch(G(ee,t),G(J,e),G(Q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ud(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=uf(t=ud(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(Q),G(Q,e)}function en(){X(Q),X(J),X(ee)}function eo(e){var t=e.memoizedState;null!==t&&(dw._currentValue=t.memoizedState,G(et,e));var r=uf(t=Q.current,e.type);t!==r&&(G(J,e),G(Q,r))}function ea(e){J.current===e&&(X(Q),X(J)),et.current===e&&(X(et),dw._currentValue=q)}function ei(e){if(void 0===tX)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tX=t&&t[1]||"",tG=-1)":-1o||s[n]!==c[o]){var u="\n"+s[n].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=n&&0<=o);break}}}finally{el=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?ei(r):""}function ec(e){try{var t="",r=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return ei(e.type);case 16:return ei("Lazy");case 13:return e.child!==t&&null!==t?ei("Suspense Fallback"):ei("Suspense");case 19:return ei("SuspenseList");case 0:case 15:return es(e.type,!1);case 11:return es(e.type.render,!1);case 1:return es(e.type,!0);case 31:return ei("Activity");case 30:return ei("ViewTransition");default:return""}}(e,r),r=e,e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var eu=Object.prototype.hasOwnProperty,ed=o.unstable_scheduleCallback,ef=o.unstable_cancelCallback,ep=o.unstable_shouldYield,eh=o.unstable_requestPaint,em=o.unstable_now,eg=o.unstable_getCurrentPriorityLevel,ev=o.unstable_ImmediatePriority,ey=o.unstable_UserBlockingPriority,eb=o.unstable_NormalPriority,ex=o.unstable_LowPriority,e_=o.unstable_IdlePriority,ew=o.log,ek=o.unstable_setDisableYieldValue,ej=null,eS=null;function eC(e){if("function"==typeof ew&&ek(e),eS&&"function"==typeof eS.setStrictMode)try{eS.setStrictMode(ej,e)}catch(e){}}var eE=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eT(e)/eN|0)|0},eT=Math.log,eN=Math.LN2,eL=256,eI=262144,eP=4194304;function ez(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eR(e,t,r){var n=e.pendingLanes;if(0===n)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&n;return 0!==l?0!=(n=l&~a)?o=ez(n):0!=(i&=l)?o=ez(i):r||0!=(r=l&~e)&&(o=ez(r)):0!=(l=n&~a)?o=ez(l):0!==i?o=ez(i):r||0!=(r=n&~e)&&(o=ez(r)),0===o?0:0!==t&&t!==o&&0==(t&a)&&((a=o&-o)>=(r=t&-t)||32===a&&0!=(4194048&r))?t:o}function eO(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eM(){var e=eP;return 0==(0x3c00000&(eP<<=1))&&(eP=4194304),e}function eA(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function eD(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eZ(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-eE(t);e.entangledLanes|=t,e.entanglements[n]=0x40000000|e.entanglements[n]|261930&r}function eF(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-eE(r),o=1<=rg),rb=!1;function rx(e,t){switch(e){case"keyup":return -1!==rh.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function r_(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var rw=!1,rk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rj(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rk[e.type]:"textarea"===t}function rS(e,t,r,n){tz?tR?tR.push(n):tR=[n]:tz=n,0<(t=c9(t,"onChange")).length&&(r=new t2("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rC=null,rE=null;function rT(e){cJ(e,0)}function rN(e){if(tf(e4(e)))return e}function rL(e,t){if("change"===e)return t}var rI=!1;if(tZ){if(tZ){var rP="oninput"in document;if(!rP){var rz=document.createElement("div");rz.setAttribute("oninput","return;"),rP="function"==typeof rz.oninput}n=rP}else n=!1;rI=n&&(!document.documentMode||9=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=r$(n)}}function rV(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=tp(e.document);t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=tp(e.document)}return t}function rB(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rq=tZ&&"documentMode"in document&&11>=document.documentMode,rW=null,rK=null,rY=null,rX=!1;function rG(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;rX||null==rW||rW!==tp(n)||(n="selectionStart"in(n=rW)&&rB(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},rY&&rU(rY,n)||(rY=n,0<(n=c9(rK,"onSelect")).length&&(t=new t2("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=rW)))}function rQ(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var rJ={animationend:rQ("Animation","AnimationEnd"),animationiteration:rQ("Animation","AnimationIteration"),animationstart:rQ("Animation","AnimationStart"),transitionrun:rQ("Transition","TransitionRun"),transitionstart:rQ("Transition","TransitionStart"),transitioncancel:rQ("Transition","TransitionCancel"),transitionend:rQ("Transition","TransitionEnd")},r0={},r1={};function r2(e){if(r0[e])return r0[e];if(!rJ[e])return e;var t,r=rJ[e];for(t in r)if(r.hasOwnProperty(t)&&t in r1)return r0[e]=r[t];return e}tZ&&(r1=document.createElement("div").style,"AnimationEvent"in window||(delete rJ.animationend.animation,delete rJ.animationiteration.animation,delete rJ.animationstart.animation),"TransitionEvent"in window||delete rJ.transitionend.transition);var r3=r2("animationend"),r4=r2("animationiteration"),r5=r2("animationstart"),r6=r2("transitionrun"),r9=r2("transitionstart"),r8=r2("transitioncancel"),r7=r2("transitionend"),ne=new Map,nt="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function nr(e,t){ne.set(e,t),e7(t,[e])}nt.push("scrollEnd");var nn=0;function no(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=sX.identifierPrefix)+"t_"+(nn++).toString(32)+"_"}function na(e){if(null==e||"string"==typeof e)return e;var t=null,r=s4;if(null!==r)for(var n=0;n>=i,o-=i,nA=1<<32-eE(t)+o|r<m?(g=d,d=null):g=d.sibling;var v=p(o,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===l.length)return r(o,d),nq&&nZ(o,m),c;if(null===d){for(;mg?(v=m,m=null):v=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),i=a(b,i,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return r(o,m),nq&&nZ(o,g),u;if(null===m){for(;!y.done;g++,y=s.next())null!==(y=f(o,y.value,c))&&(i=a(y,i,g),null===d?u=y:d.sibling=y,d=y);return nq&&nZ(o,g),u}for(m=n(m);!y.done;g++,y=s.next())null!==(y=h(m,o,g,y.value,c))&&(e&&null!==(v=y.alternate)&&m.delete(null===v.key?g:v.key),i=a(y,i,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(o,e)}),nq&&nZ(o,g),u}(c,u,d=g.call(d),m)}if("function"==typeof d.then)return s(c,u,oM(d),m);if(d.$$typeof===L)return s(c,u,oo(c,d),m);oD(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==u&&6===u.tag?(r(c,u.sibling),(m=o(u,d)).return=c):(r(c,u),(m=nS(d,c.mode,m)).return=c),i(c=m)):r(c,u)}(s,c,u,d);return oR=null,m}catch(e){if(e===oj||e===oC)throw e;var g=nb(29,e,null,s.mode);return g.lanes=d,g.return=s,g}finally{}}}var oF=oZ(!0),oU=oZ(!1),o$=!1;function oH(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oV(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function oB(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function oq(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&sS)){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,t=ng(e),nm(e,null,r),t}return nf(e,n,t,r),ng(e)}function oW(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,eF(e,r)}}function oK(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var i={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,r=r.next}while(null!==r);null===a?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,callbacks:n.callbacks},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var oY=!1;function oX(){if(oY){var e=ov;if(null!==e)throw e}}function oG(e,t,r,n){oY=!1;var o=e.updateQueue;o$=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&(l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s)}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var f=-0x20000001&l.lane,p=f!==l.lane;if(p?(sT&f)===f:(n&f)===f){0!==f&&f===og&&(oY=!0),null!==u&&(u=u.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,m=l;switch(f=t,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(r,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(r,d,f):h))break e;d=w({},d,f);break e;case 2:o$=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=o.callbacks)?o.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,i|=f;if(null===(l=l.next))if(null===(l=o.shared.pending))break;else l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null===a&&(o.shared.lanes=0),sM|=i,e.lanes=i,e.memoizedState=d}}function oQ(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function oJ(e,t){var r=e.callbacks;if(null!==r)for(e.callbacks=null,e=0;ea?a:8;var i=V.T,l={};l.types=null!==i?i.types:null,V.T=l,iw(e,!1,t,r);try{var s=o(),c=V.S;if(null!==c&&c(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var u,d,f=(u=[],d={status:"pending",value:null,reason:null,then:function(e){u.push(e)}},s.then(function(){d.status="fulfilled",d.value=n;for(var e=0;e title"))),ui(o,n,t),o[eW]=e,e6(o),n=o;break e;case"link":if(a=dc("link","href",r).get(n+(t.href||""))){for(var i=0;il)break;var u=s.transferSize,d=s.initiatorType;u&&ul(d)&&(i+=u*((s=s.responseEnd)dm?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(r)}}:null))){sQ=a,e.cancelPendingCommit=g(cy.bind(null,e,t,a,r,n,o,i,l,s,c,u,d,null,f,p)),cn(e,a,i,!c);return}cy(e,t,a,r,n,o,i,l,s,c,u,d)}function cn(e,t,r,n){t&=~sD,t&=~sA,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var o=t;0<\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof n.is?i.createElement("select",{is:n.is}):i.createElement("select"),n.multiple?a.multiple=!0:n.size&&(a.size=n.size);break;default:a="string"==typeof n.is?i.createElement(o,{is:n.is}):i.createElement(o)}}a[eW]=t,a[eK]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)a.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=a,ui(a,o,n),o){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break;case"img":n=!0;break;default:n=!1}n&&ld(t)}}return lg(t),t.subtreeFlags&=-0x2000001,lf(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==n&&ld(t);else{if("string"!=typeof n&&null===t.stateNode)throw Error(l(166));if(e=ee.current,nJ(t)){if(e=t.stateNode,r=t.memoizedProps,n=null,null!==(o=nV))switch(o.tag){case 27:case 5:n=o.memoizedProps}e[eW]=t,(e=!!(e.nodeValue===r||null!==n&&!0===n.suppressHydrationWarning||un(e.nodeValue,r)))||nX(t,!0)}else(e=uu(e).createTextNode(n))[eW]=t,t.stateNode=e}return lg(t),null;case 31:if(r=t.memoizedState,null===e||null!==e.memoizedState){if(n=nJ(t),null!==r){if(null===e){if(!n)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eW]=t}else n0(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lg(t),e=!1}else r=n1(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e){if(256&t.flags)return at(t),t;return at(t),null}if(0!=(128&t.flags))throw Error(l(558))}return lg(t),null;case 13:if(n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=nJ(t),null!==n&&null!==n.dehydrated){if(null===e){if(!o)throw Error(l(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(l(317));o[eW]=t}else n0(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lg(t),o=!1}else o=n1(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(256&t.flags)return at(t),t;return at(t),null}}if(at(t),0!=(128&t.flags))return t.lanes=r,t;return r=null!==n,e=null!==e&&null!==e.memoizedState,r&&(n=t.child,o=null,null!==n.alternate&&null!==n.alternate.memoizedState&&null!==n.alternate.memoizedState.cachePool&&(o=n.alternate.memoizedState.cachePool.pool),a=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(a=n.memoizedState.cachePool.pool),a!==o&&(n.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),lh(t,t.updateQueue),lg(t),null;case 4:return en(),null===e&&c3(t.stateNode.containerInfo),t.flags|=0x4000000,lg(t),null;case 10:return n9(t.type),lg(t),null;case 19:if(ao(t),null===(n=t.memoizedState))return lg(t),null;if(o=0!=(128&t.flags),null===(a=n.rendering))if(o)lm(n,!1);else{if(0!==sO||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=aa(e))){for(t.flags|=128,lm(n,!1),t.updateQueue=e=a.updateQueue,lh(t,e),t.subtreeFlags=0,e=r,r=t.child;null!==r;)nw(r,e),r=r.sibling;return an(t,1&ar.current|2),nq&&nZ(t,n.treeForkCount),t.child}e=e.sibling}null!==n.tail&&em()>sq&&(t.flags|=128,o=!0,lm(n,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=aa(a))){if(t.flags|=128,o=!0,t.updateQueue=e=e.updateQueue,lh(t,e),lm(n,!0),null===n.tail&&"collapsed"!==n.tailMode&&"visible"!==n.tailMode&&!a.alternate&&!nq)return lg(t),null}else 2*em()-n.renderingStartTime>sq&&0x20000000!==r&&(t.flags|=128,o=!0,lm(n,!1),t.lanes=4194304);n.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=n.last)?e.sibling=a:t.child=a,n.last=a)}if(null!==n.tail){e=n.tail;e:{for(r=e;null!==r;){if(null!==r.alternate){r=!1;break e}r=r.sibling}r=!0}return n.rendering=e,n.tail=e.sibling,n.renderingStartTime=em(),e.sibling=null,a=ar.current,a=o?1&a|2:1&a,"visible"===n.tailMode||"collapsed"===n.tailMode||!r||nq?an(t,a):(r=a,G(o5,t),G(ar,r),null===o6&&(o6=t)),nq&&nZ(t,n.treeForkCount),e}return lg(t),null;case 22:case 23:return at(t),o4(),n=null!==t.memoizedState,null!==e?null!==e.memoizedState!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?0!=(0x20000000&r)&&0==(128&t.flags)&&(lg(t),6&t.subtreeFlags&&(t.flags|=8192)):lg(t),null!==(r=t.updateQueue)&&lh(t,r.retryQueue),r=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(r=e.memoizedState.cachePool.pool),n=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(n=t.memoizedState.cachePool.pool),n!==r&&(t.flags|=2048),null!==e&&X(ox),null;case 24:return r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),n9(oc),lg(t),null;case 25:return null;case 30:return t.flags|=0x2000000,lg(t),null}throw Error(l(156,t.tag))}(t.alternate,t,sR);if(null!==r){sE=r;return}if(null!==(t=t.sibling)){sE=t;return}sE=t=e}while(null!==t);0===sO&&(sO=5)}function cv(e,t){do{var r=function(e,t){switch(n$(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return n9(oc),en(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return ea(t),null;case 31:if(null!==t.memoizedState){if(at(t),null===t.alternate)throw Error(l(340));n0()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(at(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));n0()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ao(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return en(),null;case 10:return n9(t.type),null;case 22:case 23:return at(t),o4(),null!==e&&X(ox),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return n9(oc),null;default:return null}}(e.alternate,e);if(null!==r){r.flags&=32767,sE=r;return}if(null!==(r=e.return)&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&null!==(e=e.sibling)){sE=e;return}sE=e=r}while(null!==e);sO=6,sE=null}function cy(e,t,r,n,o,a,i,s,c,u,d,f){e.cancelPendingCommit=null;do cS();while(0!==sY);if(0!=(6&sS))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));e===sC&&(sE=sC=null,sT=0),sG=t,sX=e,sQ=r,s0=o,s1=n,function(e,t,r,n,o,a,i){var l,s=t.lanes|t.childLanes;if(sJ=s,!function(e,t,r,n,o,a){var i=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(r=i&~r;0dm){l.length=i;break}f=new Promise(uT.bind(f)),l.push(f)}}}return 0g&&(i=g,g=m,m=i);var v=rH(l,m),y=rH(l,g);if(v&&y&&(1!==p.rangeCount||p.anchorNode!==v.node||p.anchorOffset!==v.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var b=d.createRange();b.setStart(v.node,v.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),p.addRange(b))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;lr?32:r,V.T=null,r=s0,s0=null;var a=sX,i=sQ;if(sY=0,sG=sX=null,sQ=0,0!=(6&sS))throw Error(l(331));var s=sS;if(sS|=4,s_(a.current),sh(a,a.current,i,r),sS=s,cU(0,!1),eS&&"function"==typeof eS.onPostCommitFiberRoot)try{eS.onPostCommitFiberRoot(ej,a)}catch(e){}return!0}finally{B.p=o,V.T=n,cj(e,t)}}function cE(e,t,r){t=nN(r,t),t=iF(e.stateNode,t,2),null!==(e=oq(e,t,2))&&(eD(e,2),cF(e))}function cT(e,t,r){if(3===e.tag)cE(e,e,r);else for(;null!==t;){if(3===t.tag){cE(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===sK||!sK.has(n))){e=nN(r,e),null!==(n=oq(t,r=iU(2),2))&&(i$(r,n,t,e),eD(n,2),cF(n));break}}t=t.return}}function cN(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new sj;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(sz=!0,o.add(r),e=cL.bind(null,e,t,r),t.then(e,e))}function cL(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,sC===e&&(sT&r)===r&&(4===sO||3===sO&&(0x3c00000&sT)===sT&&300>em()-sV?0==(2&sS)&&ci(e,0):sD|=r,sF===sT&&(sF=0)),cF(e)}function cI(e,t){0===t&&(t=eM()),null!==(e=nh(e,t))&&(eD(e,t),cF(e))}function cP(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),cI(e,r)}function cz(e,t){var r=0;switch(e.tag){case 31:case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==n&&n.delete(t),cI(e,r)}var cR=null,cO=null,cM=!1,cA=!1,cD=!1,cZ=0;function cF(e){e!==cO&&null===e.next&&(null===cO?cR=cO=e:cO=cO.next=e),cA=!0,cM||(cM=!0,uy(function(){0!=(6&sS)?ed(ev,c$):cH()}))}function cU(e,t){if(!cD&&cA){cD=!0;do for(var r=!1,n=cR;null!==n;){if(!t)if(0!==e){var o=n.pendingLanes;if(0===o)var a=0;else{var i=n.suspendedLanes,l=n.pingedLanes;a=0xc000095&(a=(1<<31-eE(42|e)+1)-1&(o&~(i&~l)))?0xc000095&a|1:a?2|a:0}0!==a&&(r=!0,cq(n,a))}else a=sT,0==(3&(a=eR(n,n===sC?a:0,null!==n.cancelPendingCommit||-1!==n.timeoutHandle)))||eO(n,a)||(r=!0,cq(n,a));n=n.next}while(r);cD=!1}}function c$(){cH()}function cH(){cA=cM=!1;var e,t=0;0===cZ||((e=window.event)&&"popstate"===e.type?e===uh||(uh=e,0):(uh=null,1))||(t=cZ);for(var r=em(),n=null,o=cR;null!==o;){var a=o.next,i=cV(o,r);0===i?(o.next=null,null===n?cR=a:n.next=a,null===a&&(cO=n)):(n=o,(0!==t||0!=(3&i))&&(cA=!0)),o=a}0!==sY&&5!==sY||cU(t,!1),0!==cZ&&(cZ=0)}function cV(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0 title"):null)}function dd(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function df(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function dp(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function dh(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=dp(t),e.suspenseyImages.push(t)),e=dy.bind(e),t.decode().then(e,e))}var dm=0;function dg(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dx(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dv(){this.count--,dg(this)}function dy(){this.imgCount--,dg(this)}var db=null;function dx(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,db=new Map,t.forEach(d_,e),db=null,dv.call(e))}function d_(e,t){if(!(4&t.state.loading)){var r=db.get(e);if(r)var n=r.get(null);else{r=new Map,db.set(e,r);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a>>1,o=e[n];if(0>>1;na(s,r))ca(u,s)?(e[n]=u,e[c]=r,n=c):(e[n]=s,e[l]=r,n=l);else if(ca(u,r))e[n]=u,e[c]=r,n=c;else break}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var u=[],d=[],f=1,p=null,h=3,m=!1,g=!1,v=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,_="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=n(d);null!==t;){if(null===t.callback)o(d);else if(t.startTime<=e)o(d),t.sortIndex=t.expirationTime,r(u,t);else break;t=n(d)}}function k(e){if(v=!1,w(e),!g)if(null!==n(u))g=!0,j||(j=!0,i());else{var t=n(d);null!==t&&P(k,t.startTime-e)}}var j=!1,S=-1,C=5,E=-1;function T(){return!!y||!(t.unstable_now()-Ee&&T());){var l=p.callback;if("function"==typeof l){p.callback=null,h=p.priorityLevel;var s=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){p.callback=s,w(e),r=!0;break t}p===n(u)&&o(u),w(e)}else o(u);p=n(u)}if(null!==p)r=!0;else{var c=n(d);null!==c&&P(k,c.startTime-e),r=!1}}break e}finally{p=null,h=a,m=!1}}}finally{r?i():j=!1}}}if("function"==typeof _)i=function(){_(N)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,I=L.port2;L.port1.onmessage=N,i=function(){I.postMessage(null)}}else i=function(){b(N,0)};function P(e,r){S=b(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=a,r(d,e),null===n(u)&&e===n(d)&&(v?(x(S),S=-1):v=!0,P(k,a-l))):(e.sortIndex=s,r(u,e),g||m||(g=!0,j||(j=!0,i()))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},"./dist/compiled/scheduler/index.js"(e,t,r){"use strict";e.exports=r("./dist/compiled/scheduler/cjs/scheduler.production.js")},"./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js"(e){(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t,r,n,o,a,i,l,s,c={};Object.defineProperty(c,"__esModule",{value:!0}),t="",r=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|webpack-internal|rsc|about|turbopack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n=/\((\S*)(?::(\d+))(?::(\d+))\)/,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|webpack-internal|rsc|about|turbopack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|webpack-internal|rsc|about|turbopack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,l=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,s=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,c.parse=function(e){return e.split("\n").reduce(function(e,c){var u,d,f,p,h,m,g=function(e){var o=r.exec(e);if(!o)return null;var a=o[2]&&0===o[2].indexOf("native"),i=o[2]&&0===o[2].indexOf("eval"),l=n.exec(o[2]);return i&&null!=l&&(o[2]=l[1],o[3]=l[2],o[4]=l[3]),{file:a?null:o[2],methodName:o[1]||t,arguments:a?[o[2]]:[],lineNumber:o[3]?+o[3]:null,column:o[4]?+o[4]:null}}(c)||(u=c,(d=o.exec(u))?{file:d[2],methodName:d[1]||t,arguments:[],lineNumber:+d[3],column:d[4]?+d[4]:null}:null)||function(e){var r=a.exec(e);if(!r)return null;var n=r[3]&&r[3].indexOf(" > eval")>-1,o=i.exec(r[3]);return n&&null!=o&&(r[3]=o[1],r[4]=o[2],r[5]=null),{file:r[3],methodName:r[1]||t,arguments:r[2]?r[2].split(","):[],lineNumber:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}(c)||(f=c,(p=s.exec(f))?{file:p[2],methodName:p[1]||t,arguments:[],lineNumber:+p[3],column:p[4]?+p[4]:null}:null)||(h=c,(m=l.exec(h))?{file:m[3],methodName:m[1]||t,arguments:[],lineNumber:+m[4],column:m[5]?+m[5]:null}:null);return g&&e.push(g),e},[])},e.exports=c})()},"./dist/compiled/strip-ansi/index.js"(e){(()=>{"use strict";var t={511:e=>{e.exports=({onlyFirst:e=!1}={})=>RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",e?void 0:"g")},532:(e,t,r)=>{let n=r(511);e.exports=e=>"string"==typeof e?e.replace(n(),""):e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}},i=!0;try{t[e](a,a.exports,n),i=!1}finally{i&&delete r[e]}return a.exports}n.ab="//",e.exports=n(532)})()},"./src/build/webpack/loaders/devtool/devtool-style-inject.js"(e){function t(){let e=window._nextjsDevtoolsStyleCache;if(e.cachedShadowRoot)return e.cachedShadowRoot;let t=document.querySelector("nextjs-portal"),r=t?.shadowRoot||null;return r&&(e.cachedShadowRoot=r),r}function r(e,t){let r=window._nextjsDevtoolsStyleCache;r.lastInsertedElement?r.lastInsertedElement.nextSibling?t.insertBefore(e,r.lastInsertedElement.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),r.lastInsertedElement=e}function n(){let e=window._nextjsDevtoolsStyleCache,n=t();n&&(e.pendingElements.forEach(e=>{r(e,n)}),e.pendingElements=[])}"undefined"!=typeof window&&(window._nextjsDevtoolsStyleCache=window._nextjsDevtoolsStyleCache||{pendingElements:[],isObserving:!1,lastInsertedElement:null,cachedShadowRoot:null}),e.exports=function(e){e.setAttribute("data-nextjs-dev-tool-style","true");let o=t();o?r(e,o):(window._nextjsDevtoolsStyleCache.pendingElements.push(e),function(){let e=window._nextjsDevtoolsStyleCache;if(e.isObserving)return;if(e.isObserving=!0,t())return n();let r=new MutationObserver(o=>{if(0!==o.length){for(let a of o)if(0!==a.addedNodes.length)for(let o of a.addedNodes){if(o.nodeType!==Node.ELEMENT_NODE)continue;let a=null;if("SCRIPT"===o.tagName&&o.getAttribute("data-nextjs-dev-overlay")?a=o.firstChild:"NEXTJS-PORTAL"===o.tagName&&(a=o),a){let o=()=>{t()?(n(),r.disconnect(),e.isObserving=!1):setTimeout(o,20)};o();return}}}});r.observe(document.body,{childList:!0,subtree:!0})}())}},"./dist/compiled/zod/index.cjs"(e){(()=>{"use strict";var t={629:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.z=void 0;let l=a(r(923));t.z=l,i(r(923),t),t.default=l},348:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZodError=t.quotelessJson=t.ZodIssueCode=void 0;let n=r(709);t.ZodIssueCode=n.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),t.quotelessJson=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class o extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(let o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(n);else if("invalid_return_type"===o.code)n(o.returnTypeError);else if("invalid_arguments"===o.code)n(o.argumentsError);else if(0===o.path.length)r._errors.push(t(o));else{let e=r,n=0;for(;ne.message){let t={},r=[];for(let n of this.issues)if(n.path.length>0){let r=n.path[0];t[r]=t[r]||[],t[r].push(e(n))}else r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}t.ZodError=o,o.create=e=>new o(e)},61:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultErrorMap=void 0,t.setErrorMap=function(e){a=e},t.getErrorMap=function(){return a};let o=n(r(871));t.defaultErrorMap=o.default;let a=o.default},923:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(61),t),o(r(818),t),o(r(515),t),o(r(709),t),o(r(155),t),o(r(348),t)},538:(e,t)=>{var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.errorUtil=void 0,(n=r||(t.errorUtil=r={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},n.toString=e=>"string"==typeof e?e:e?.message},818:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.EMPTY_PATH=t.makeIssue=void 0,t.addIssueToContext=function(e,r){let n=(0,o.getErrorMap)(),i=(0,t.makeIssue)({issueData:r,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===a.default?void 0:a.default].filter(e=>!!e)});e.common.issues.push(i)};let o=r(61),a=n(r(871));t.makeIssue=e=>{let{data:t,path:r,errorMaps:n,issueData:o}=e,a=[...r,...o.path||[]],i={...o,path:a};if(void 0!==o.message)return{...o,path:a,message:o.message};let l="";for(let e of n.filter(e=>!!e).slice().reverse())l=e(i,{data:t,defaultError:l}).message;return{...o,path:a,message:l}},t.EMPTY_PATH=[];class i{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,r){let n=[];for(let o of r){if("aborted"===o.status)return t.INVALID;"dirty"===o.status&&e.dirty(),n.push(o.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return i.mergeObjectSync(e,r)}static mergeObjectSync(e,r){let n={};for(let o of r){let{key:r,value:a}=o;if("aborted"===r.status||"aborted"===a.status)return t.INVALID;"dirty"===r.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"!==r.value&&(void 0!==a.value||o.alwaysSet)&&(n[r.value]=a.value)}return{status:e.value,value:n}}}t.ParseStatus=i,t.INVALID=Object.freeze({status:"aborted"}),t.DIRTY=e=>({status:"dirty",value:e}),t.OK=e=>({status:"valid",value:e}),t.isAborted=e=>"aborted"===e.status,t.isDirty=e=>"dirty"===e.status,t.isValid=e=>"valid"===e.status,t.isAsync=e=>"undefined"!=typeof Promise&&e instanceof Promise},515:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},709:(e,t)=>{var r,n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.getParsedType=t.ZodParsedType=t.objectUtil=t.util=void 0,(o=r||(t.util=r={})).assertEqual=e=>{},o.assertIs=function(e){},o.assertNever=function(e){throw Error()},o.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},o.getValidEnumValues=e=>{let t=o.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let n of t)r[n]=e[n];return o.objectValues(r)},o.objectValues=e=>o.objectKeys(e).map(function(t){return e[t]}),o.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},o.find=(e,t)=>{for(let r of e)if(t(r))return r},o.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,o.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},o.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(n||(t.objectUtil=n={})).mergeShapes=(e,t)=>({...e,...t}),t.ZodParsedType=r.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),t.getParsedType=e=>{switch(typeof e){case"undefined":return t.ZodParsedType.undefined;case"string":return t.ZodParsedType.string;case"number":return Number.isNaN(e)?t.ZodParsedType.nan:t.ZodParsedType.number;case"boolean":return t.ZodParsedType.boolean;case"function":return t.ZodParsedType.function;case"bigint":return t.ZodParsedType.bigint;case"symbol":return t.ZodParsedType.symbol;case"object":if(Array.isArray(e))return t.ZodParsedType.array;if(null===e)return t.ZodParsedType.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return t.ZodParsedType.promise;if("undefined"!=typeof Map&&e instanceof Map)return t.ZodParsedType.map;if("undefined"!=typeof Set&&e instanceof Set)return t.ZodParsedType.set;if("undefined"!=typeof Date&&e instanceof Date)return t.ZodParsedType.date;return t.ZodParsedType.object;default:return t.ZodParsedType.unknown}}},871:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let n=r(348),o=r(709);t.default=(e,t)=>{let r;switch(e.code){case n.ZodIssueCode.invalid_type:r=e.received===o.ZodParsedType.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case n.ZodIssueCode.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,o.util.jsonStringifyReplacer)}`;break;case n.ZodIssueCode.unrecognized_keys:r=`Unrecognized key(s) in object: ${o.util.joinValues(e.keys,", ")}`;break;case n.ZodIssueCode.invalid_union:r="Invalid input";break;case n.ZodIssueCode.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${o.util.joinValues(e.options)}`;break;case n.ZodIssueCode.invalid_enum_value:r=`Invalid enum value. Expected ${o.util.joinValues(e.options)}, received '${e.received}'`;break;case n.ZodIssueCode.invalid_arguments:r="Invalid function arguments";break;case n.ZodIssueCode.invalid_return_type:r="Invalid function return type";break;case n.ZodIssueCode.invalid_date:r="Invalid date";break;case n.ZodIssueCode.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:o.util.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case n.ZodIssueCode.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case n.ZodIssueCode.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case n.ZodIssueCode.custom:r="Invalid input";break;case n.ZodIssueCode.invalid_intersection_types:r="Intersection results could not be merged";break;case n.ZodIssueCode.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case n.ZodIssueCode.not_finite:r="Number must be finite";break;default:r=t.defaultError,o.util.assertNever(e)}return{message:r}}},155:(e,t,r)=>{var n,o;let a;Object.defineProperty(t,"__esModule",{value:!0}),t.discriminatedUnion=t.date=t.boolean=t.bigint=t.array=t.any=t.coerce=t.ZodFirstPartyTypeKind=t.late=t.ZodSchema=t.Schema=t.ZodReadonly=t.ZodPipeline=t.ZodBranded=t.BRAND=t.ZodNaN=t.ZodCatch=t.ZodDefault=t.ZodNullable=t.ZodOptional=t.ZodTransformer=t.ZodEffects=t.ZodPromise=t.ZodNativeEnum=t.ZodEnum=t.ZodLiteral=t.ZodLazy=t.ZodFunction=t.ZodSet=t.ZodMap=t.ZodRecord=t.ZodTuple=t.ZodIntersection=t.ZodDiscriminatedUnion=t.ZodUnion=t.ZodObject=t.ZodArray=t.ZodVoid=t.ZodNever=t.ZodUnknown=t.ZodAny=t.ZodNull=t.ZodUndefined=t.ZodSymbol=t.ZodDate=t.ZodBoolean=t.ZodBigInt=t.ZodNumber=t.ZodString=t.ZodType=void 0,t.NEVER=t.void=t.unknown=t.union=t.undefined=t.tuple=t.transformer=t.symbol=t.string=t.strictObject=t.set=t.record=t.promise=t.preprocess=t.pipeline=t.ostring=t.optional=t.onumber=t.oboolean=t.object=t.number=t.nullable=t.null=t.never=t.nativeEnum=t.nan=t.map=t.literal=t.lazy=t.intersection=t.instanceof=t.function=t.enum=t.effect=void 0,t.datetimeRegex=P,t.custom=ey;let i=r(348),l=r(61),s=r(538),c=r(818),u=r(709);class d{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let f=(e,t)=>{if((0,c.isValid)(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new i.ZodError(e.common.issues);return this._error=t,this._error}}};function p(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:n,description:o}=e;if(t&&(r||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:o}:{errorMap:(t,o)=>{let{message:a}=e;return"invalid_enum_value"===t.code?{message:a??o.defaultError}:void 0===o.data?{message:a??n??o.defaultError}:"invalid_type"!==t.code?{message:o.defaultError}:{message:a??r??o.defaultError}},description:o}}class h{get description(){return this._def.description}_getType(e){return(0,u.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,u.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new c.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,u.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if((0,c.isAsync)(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){let r={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.getParsedType)(e)},n=this._parseSync({data:e,path:r.path,parent:r});return f(r,n)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.getParsedType)(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:t});return(0,c.isValid)(r)?{value:r.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>(0,c.isValid)(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.getParsedType)(e)},n=this._parse({data:e,path:r.path,parent:r});return f(r,await ((0,c.isAsync)(n)?n:Promise.resolve(n)))}refine(e,t){return this._refinement((r,n)=>{let o=e(r),a=()=>n.addIssue({code:i.ZodIssueCode.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(r):t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(e=>!!e||(a(),!1)):!!o||(a(),!1)})}refinement(e,t){return this._refinement((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1))}_refinement(e){return new es({schema:this,typeName:n.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return ec.create(this,this._def)}nullable(){return eu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return B.create(this)}promise(){return el.create(this,this._def)}or(e){return W.create([this,e],this._def)}and(e){return X.create(this,e,this._def)}transform(e){return new es({...p(this._def),schema:this,typeName:n.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ed({...p(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:n.ZodDefault})}brand(){return new eh({typeName:n.ZodBranded,type:this,...p(this._def)})}catch(e){return new ef({...p(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:n.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return em.create(this,e)}readonly(){return eg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}t.ZodType=h,t.Schema=h,t.ZodSchema=h;let m=/^c[^\s-]{8,}$/i,g=/^[0-9a-z]+$/,v=/^[0-9A-HJKMNP-TV-Z]{26}$/i,y=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,b=/^[a-z0-9_-]{21}$/i,x=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,_=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,w=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,k=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,j=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,S=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,C=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,E=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,T=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,N="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",L=RegExp(`^${N}$`);function I(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let r=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${r}`}function P(e){let t=`${N}T${I(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)}class z extends h{_parse(e){var t,r,n,o;let l;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==u.ZodParsedType.string){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.string,received:t.parsedType}),c.INVALID}let s=new c.ParseStatus;for(let d of this._def.checks)if("min"===d.kind)e.data.lengthd.value&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),s.dirty());else if("length"===d.kind){let t=e.data.length>d.value,r=e.data.lengthe.test(t),{validation:t,code:i.ZodIssueCode.invalid_string,...s.errorUtil.errToObj(r)})}_addCheck(e){return new z({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...s.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:"url",...s.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...s.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...s.errorUtil.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...s.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...s.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...s.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...s.errorUtil.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...s.errorUtil.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...s.errorUtil.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...s.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...s.errorUtil.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...s.errorUtil.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...s.errorUtil.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...s.errorUtil.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...s.errorUtil.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...s.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...s.errorUtil.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...s.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...s.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...s.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...s.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...s.errorUtil.errToObj(t)})}nonempty(e){return this.min(1,s.errorUtil.errToObj(e))}trim(){return new z({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new z({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new z({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew z({checks:[],typeName:n.ZodString,coerce:e?.coerce??!1,...p(e)});class R extends h{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==u.ZodParsedType.number){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.number,received:t.parsedType}),c.INVALID}let r=new c.ParseStatus;for(let n of this._def.checks)"int"===n.kind?u.util.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty()):"min"===n.kind?(n.inclusive?e.datan.value:e.data>=n.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"multipleOf"===n.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,o=r>n?r:n;return Number.parseInt(e.toFixed(o).replace(".",""))%Number.parseInt(t.toFixed(o).replace(".",""))/10**o}(e.data,n.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_finite,message:n.message}),r.dirty()):u.util.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,s.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,s.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,s.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,s.errorUtil.toString(t))}setLimit(e,t,r,n){return new R({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:s.errorUtil.toString(n)}]})}_addCheck(e){return new R({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:s.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:s.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:s.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:s.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:s.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:s.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:s.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:s.errorUtil.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:s.errorUtil.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&u.util.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.valuenew R({checks:[],typeName:n.ZodNumber,coerce:e?.coerce||!1,...p(e)});class O extends h{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==u.ZodParsedType.bigint)return this._getInvalidInput(e);let r=new c.ParseStatus;for(let n of this._def.checks)"min"===n.kind?(n.inclusive?e.datan.value:e.data>=n.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):u.util.assertNever(n);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.bigint,received:t.parsedType}),c.INVALID}gte(e,t){return this.setLimit("min",e,!0,s.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,s.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,s.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,s.errorUtil.toString(t))}setLimit(e,t,r,n){return new O({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:s.errorUtil.toString(n)}]})}_addCheck(e){return new O({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:s.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:s.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:s.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:s.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:s.errorUtil.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew O({checks:[],typeName:n.ZodBigInt,coerce:e?.coerce??!1,...p(e)});class M extends h{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==u.ZodParsedType.boolean){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.boolean,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodBoolean=M,M.create=e=>new M({typeName:n.ZodBoolean,coerce:e?.coerce||!1,...p(e)});class A extends h{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==u.ZodParsedType.date){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.date,received:t.parsedType}),c.INVALID}if(Number.isNaN(e.data.getTime())){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_date}),c.INVALID}let r=new c.ParseStatus;for(let n of this._def.checks)"min"===n.kind?e.data.getTime()n.value&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):u.util.assertNever(n);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new A({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:s.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:s.errorUtil.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew A({checks:[],coerce:e?.coerce||!1,typeName:n.ZodDate,...p(e)});class D extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.symbol){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.symbol,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodSymbol=D,D.create=e=>new D({typeName:n.ZodSymbol,...p(e)});class Z extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.undefined){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.undefined,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodUndefined=Z,Z.create=e=>new Z({typeName:n.ZodUndefined,...p(e)});class F extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.null){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.null,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodNull=F,F.create=e=>new F({typeName:n.ZodNull,...p(e)});class U extends h{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,c.OK)(e.data)}}t.ZodAny=U,U.create=e=>new U({typeName:n.ZodAny,...p(e)});class $ extends h{constructor(){super(...arguments),this._unknown=!0}_parse(e){return(0,c.OK)(e.data)}}t.ZodUnknown=$,$.create=e=>new $({typeName:n.ZodUnknown,...p(e)});class H extends h{_parse(e){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.never,received:t.parsedType}),c.INVALID}}t.ZodNever=H,H.create=e=>new H({typeName:n.ZodNever,...p(e)});class V extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.undefined){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.void,received:t.parsedType}),c.INVALID}return(0,c.OK)(e.data)}}t.ZodVoid=V,V.create=e=>new V({typeName:n.ZodVoid,...p(e)});class B extends h{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==u.ZodParsedType.array)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.array,received:t.parsedType}),c.INVALID;if(null!==n.exactLength){let e=t.data.length>n.exactLength.value,o=t.data.lengthn.maxLength.value&&((0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>n.type._parseAsync(new d(t,e,t.path,r)))).then(e=>c.ParseStatus.mergeArray(r,e));let o=[...t.data].map((e,r)=>n.type._parseSync(new d(t,e,t.path,r)));return c.ParseStatus.mergeArray(r,o)}get element(){return this._def.type}min(e,t){return new B({...this._def,minLength:{value:e,message:s.errorUtil.toString(t)}})}max(e,t){return new B({...this._def,maxLength:{value:e,message:s.errorUtil.toString(t)}})}length(e,t){return new B({...this._def,exactLength:{value:e,message:s.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}t.ZodArray=B,B.create=(e,t)=>new B({type:e,minLength:null,maxLength:null,exactLength:null,typeName:n.ZodArray,...p(t)});class q extends h{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=u.util.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==u.ZodParsedType.object){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.object,received:t.parsedType}),c.INVALID}let{status:t,ctx:r}=this._processInputParams(e),{shape:n,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof H&&"strip"===this._def.unknownKeys))for(let e in r.data)o.includes(e)||a.push(e);let l=[];for(let e of o){let t=n[e],o=r.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new d(r,o,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof H){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)l.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)a.length>0&&((0,c.addIssueToContext)(r,{code:i.ZodIssueCode.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let n=r.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new d(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e}).then(e=>c.ParseStatus.mergeObjectSync(t,e)):c.ParseStatus.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return s.errorUtil.errToObj,new q({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{let n=this._def.errorMap?.(t,r).message??r.defaultError;return"unrecognized_keys"===t.code?{message:s.errorUtil.errToObj(e).message??n}:{message:n}}}:{}})}strip(){return new q({...this._def,unknownKeys:"strip"})}passthrough(){return new q({...this._def,unknownKeys:"passthrough"})}extend(e){return new q({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:n.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new q({...this._def,catchall:e})}pick(e){let t={};for(let r of u.util.objectKeys(e))e[r]&&this.shape[r]&&(t[r]=this.shape[r]);return new q({...this._def,shape:()=>t})}omit(e){let t={};for(let r of u.util.objectKeys(this.shape))e[r]||(t[r]=this.shape[r]);return new q({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof q){let r={};for(let n in t.shape){let o=t.shape[n];r[n]=ec.create(e(o))}return new q({...t._def,shape:()=>r})}if(t instanceof B)return new B({...t._def,type:e(t.element)});if(t instanceof ec)return ec.create(e(t.unwrap()));if(t instanceof eu)return eu.create(e(t.unwrap()));if(t instanceof G)return G.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};for(let r of u.util.objectKeys(this.shape)){let n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}return new q({...this._def,shape:()=>t})}required(e){let t={};for(let r of u.util.objectKeys(this.shape))if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof ec;)e=e._def.innerType;t[r]=e}return new q({...this._def,shape:()=>t})}keyof(){return eo(u.util.objectKeys(this.shape))}}t.ZodObject=q,q.create=(e,t)=>new q({shape:()=>e,unknownKeys:"strip",catchall:H.create(),typeName:n.ZodObject,...p(t)}),q.strictCreate=(e,t)=>new q({shape:()=>e,unknownKeys:"strict",catchall:H.create(),typeName:n.ZodObject,...p(t)}),q.lazycreate=(e,t)=>new q({shape:e,unknownKeys:"strip",catchall:H.create(),typeName:n.ZodObject,...p(t)});class W extends h{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new i.ZodError(e.ctx.common.issues));return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_union,unionErrors:r}),c.INVALID});{let e,n=[];for(let o of r){let r={...t,common:{...t.common,issues:[]},parent:null},a=o._parseSync({data:t.data,path:t.path,parent:r});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let o=n.map(e=>new i.ZodError(e));return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_union,unionErrors:o}),c.INVALID}}get options(){return this._def.options}}t.ZodUnion=W,W.create=(e,t)=>new W({options:e,typeName:n.ZodUnion,...p(t)});let K=e=>{if(e instanceof er)return K(e.schema);if(e instanceof es)return K(e.innerType());if(e instanceof en)return[e.value];if(e instanceof ea)return e.options;if(e instanceof ei)return u.util.objectValues(e.enum);else if(e instanceof ed)return K(e._def.innerType);else if(e instanceof Z)return[void 0];else if(e instanceof F)return[null];else if(e instanceof ec)return[void 0,...K(e.unwrap())];else if(e instanceof eu)return[null,...K(e.unwrap())];else if(e instanceof eh)return K(e.unwrap());else if(e instanceof eg)return K(e.unwrap());else if(e instanceof ef)return K(e._def.innerType);else return[]};class Y extends h{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.ZodParsedType.object)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.object,received:t.parsedType}),c.INVALID;let r=this.discriminator,n=t.data[r],o=this.optionsMap.get(n);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):((0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),c.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let o=new Map;for(let r of t){let t=K(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let n of t){if(o.has(n))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`);o.set(n,r)}}return new Y({typeName:n.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:o,...p(r)})}}t.ZodDiscriminatedUnion=Y;class X extends h{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if((0,c.isAborted)(e)||(0,c.isAborted)(n))return c.INVALID;let o=function e(t,r){let n=(0,u.getParsedType)(t),o=(0,u.getParsedType)(r);if(t===r)return{valid:!0,data:t};if(n===u.ZodParsedType.object&&o===u.ZodParsedType.object){let n=u.util.objectKeys(r),o=u.util.objectKeys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of o){let o=e(t[n],r[n]);if(!o.valid)return{valid:!1};a[n]=o.data}return{valid:!0,data:a}}if(n===u.ZodParsedType.array&&o===u.ZodParsedType.array){if(t.length!==r.length)return{valid:!1};let n=[];for(let o=0;on(e,t)):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}t.ZodIntersection=X,X.create=(e,t,r)=>new X({left:e,right:t,typeName:n.ZodIntersection,...p(r)});class G extends h{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.ZodParsedType.array)return(0,c.addIssueToContext)(r,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.array,received:r.parsedType}),c.INVALID;if(r.data.lengththis._def.items.length&&((0,c.addIssueToContext)(r,{code:i.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let n=[...r.data].map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new d(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(n).then(e=>c.ParseStatus.mergeArray(t,e)):c.ParseStatus.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new G({...this._def,rest:e})}}t.ZodTuple=G,G.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new G({items:e,typeName:n.ZodTuple,rest:null,...p(t)})};class Q extends h{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.ZodParsedType.object)return(0,c.addIssueToContext)(r,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.object,received:r.parsedType}),c.INVALID;let n=[],o=this._def.keyType,a=this._def.valueType;for(let e in r.data)n.push({key:o._parse(new d(r,e,r.path,e)),value:a._parse(new d(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?c.ParseStatus.mergeObjectAsync(t,n):c.ParseStatus.mergeObjectSync(t,n)}get element(){return this._def.valueType}static create(e,t,r){return new Q(t instanceof h?{keyType:e,valueType:t,typeName:n.ZodRecord,...p(r)}:{keyType:z.create(),valueType:e,typeName:n.ZodRecord,...p(t)})}}t.ZodRecord=Q;class J extends h{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.ZodParsedType.map)return(0,c.addIssueToContext)(r,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.map,received:r.parsedType}),c.INVALID;let n=this._def.keyType,o=this._def.valueType,a=[...r.data.entries()].map(([e,t],a)=>({key:n._parse(new d(r,e,r.path,[a,"key"])),value:o._parse(new d(r,t,r.path,[a,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of a){let n=await r.key,o=await r.value;if("aborted"===n.status||"aborted"===o.status)return c.INVALID;("dirty"===n.status||"dirty"===o.status)&&t.dirty(),e.set(n.value,o.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of a){let n=r.key,o=r.value;if("aborted"===n.status||"aborted"===o.status)return c.INVALID;("dirty"===n.status||"dirty"===o.status)&&t.dirty(),e.set(n.value,o.value)}return{status:t.value,value:e}}}}t.ZodMap=J,J.create=(e,t,r)=>new J({valueType:t,keyType:e,typeName:n.ZodMap,...p(r)});class ee extends h{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==u.ZodParsedType.set)return(0,c.addIssueToContext)(r,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.set,received:r.parsedType}),c.INVALID;let n=this._def;null!==n.minSize&&r.data.sizen.maxSize.value&&((0,c.addIssueToContext)(r,{code:i.ZodIssueCode.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());let o=this._def.valueType;function a(e){let r=new Set;for(let n of e){if("aborted"===n.status)return c.INVALID;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}let l=[...r.data.values()].map((e,t)=>o._parse(new d(r,e,r.path,t)));return r.common.async?Promise.all(l).then(e=>a(e)):a(l)}min(e,t){return new ee({...this._def,minSize:{value:e,message:s.errorUtil.toString(t)}})}max(e,t){return new ee({...this._def,maxSize:{value:e,message:s.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}t.ZodSet=ee,ee.create=(e,t)=>new ee({valueType:e,minSize:null,maxSize:null,typeName:n.ZodSet,...p(t)});class et extends h{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.ZodParsedType.function)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.function,received:t.parsedType}),c.INVALID;function r(e,r){return(0,c.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,l.getErrorMap)(),l.defaultErrorMap].filter(e=>!!e),issueData:{code:i.ZodIssueCode.invalid_arguments,argumentsError:r}})}function n(e,r){return(0,c.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,l.getErrorMap)(),l.defaultErrorMap].filter(e=>!!e),issueData:{code:i.ZodIssueCode.invalid_return_type,returnTypeError:r}})}let o={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof el){let e=this;return(0,c.OK)(async function(...t){let l=new i.ZodError([]),s=await e._def.args.parseAsync(t,o).catch(e=>{throw l.addIssue(r(t,e)),l}),c=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(c,o).catch(e=>{throw l.addIssue(n(c,e)),l})})}{let e=this;return(0,c.OK)(function(...t){let l=e._def.args.safeParse(t,o);if(!l.success)throw new i.ZodError([r(t,l.error)]);let s=Reflect.apply(a,this,l.data),c=e._def.returns.safeParse(s,o);if(!c.success)throw new i.ZodError([n(s,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new et({...this._def,args:G.create(e).rest($.create())})}returns(e){return new et({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new et({args:e||G.create([]).rest($.create()),returns:t||$.create(),typeName:n.ZodFunction,...p(r)})}}t.ZodFunction=et;class er extends h{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}t.ZodLazy=er,er.create=(e,t)=>new er({getter:e,typeName:n.ZodLazy,...p(t)});class en extends h{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{received:t.data,code:i.ZodIssueCode.invalid_literal,expected:this._def.value}),c.INVALID}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eo(e,t){return new ea({values:e,typeName:n.ZodEnum,...p(t)})}t.ZodLiteral=en,en.create=(e,t)=>new en({value:e,typeName:n.ZodLiteral,...p(t)});class ea extends h{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return(0,c.addIssueToContext)(t,{expected:u.util.joinValues(r),received:t.parsedType,code:i.ZodIssueCode.invalid_type}),c.INVALID}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return(0,c.addIssueToContext)(t,{received:t.data,code:i.ZodIssueCode.invalid_enum_value,options:r}),c.INVALID}return(0,c.OK)(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ea.create(e,{...this._def,...t})}exclude(e,t=this._def){return ea.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}t.ZodEnum=ea,ea.create=eo;class ei extends h{_parse(e){let t=u.util.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==u.ZodParsedType.string&&r.parsedType!==u.ZodParsedType.number){let e=u.util.objectValues(t);return(0,c.addIssueToContext)(r,{expected:u.util.joinValues(e),received:r.parsedType,code:i.ZodIssueCode.invalid_type}),c.INVALID}if(this._cache||(this._cache=new Set(u.util.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=u.util.objectValues(t);return(0,c.addIssueToContext)(r,{received:r.data,code:i.ZodIssueCode.invalid_enum_value,options:e}),c.INVALID}return(0,c.OK)(e.data)}get enum(){return this._def.values}}t.ZodNativeEnum=ei,ei.create=(e,t)=>new ei({values:e,typeName:n.ZodNativeEnum,...p(t)});class el extends h{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.ZodParsedType.promise&&!1===t.common.async)return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.promise,received:t.parsedType}),c.INVALID;let r=t.parsedType===u.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,c.OK)(r.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}t.ZodPromise=el,el.create=(e,t)=>new el({type:e,typeName:n.ZodPromise,...p(t)});class es extends h{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===n.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,o={addIssue:e=>{(0,c.addIssueToContext)(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(o.addIssue=o.addIssue.bind(o),"preprocess"===n.type){let e=n.transform(r.data,o);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return c.INVALID;let n=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===n.status?c.INVALID:"dirty"===n.status||"dirty"===t.value?(0,c.DIRTY)(n.value):n});{if("aborted"===t.value)return c.INVALID;let n=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===n.status?c.INVALID:"dirty"===n.status||"dirty"===t.value?(0,c.DIRTY)(n.value):n}}if("refinement"===n.type){let e=e=>{let t=n.refinement(e,o);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?c.INVALID:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?c.INVALID:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>(0,c.isValid)(e)?Promise.resolve(n.transform(e.value,o)).then(e=>({status:t.value,value:e})):c.INVALID);else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!(0,c.isValid)(e))return c.INVALID;let a=n.transform(e.value,o);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}u.util.assertNever(n)}}t.ZodEffects=es,t.ZodTransformer=es,es.create=(e,t,r)=>new es({schema:e,typeName:n.ZodEffects,effect:t,...p(r)}),es.createWithPreprocess=(e,t,r)=>new es({schema:t,effect:{type:"preprocess",transform:e},typeName:n.ZodEffects,...p(r)});class ec extends h{_parse(e){return this._getType(e)===u.ZodParsedType.undefined?(0,c.OK)(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodOptional=ec,ec.create=(e,t)=>new ec({innerType:e,typeName:n.ZodOptional,...p(t)});class eu extends h{_parse(e){return this._getType(e)===u.ZodParsedType.null?(0,c.OK)(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodNullable=eu,eu.create=(e,t)=>new eu({innerType:e,typeName:n.ZodNullable,...p(t)});class ed extends h{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===u.ZodParsedType.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}t.ZodDefault=ed,ed.create=(e,t)=>new ed({innerType:e,typeName:n.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...p(t)});class ef extends h{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return(0,c.isAsync)(n)?n.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new i.ZodError(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new i.ZodError(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}t.ZodCatch=ef,ef.create=(e,t)=>new ef({innerType:e,typeName:n.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...p(t)});class ep extends h{_parse(e){if(this._getType(e)!==u.ZodParsedType.nan){let t=this._getOrReturnCtx(e);return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.nan,received:t.parsedType}),c.INVALID}return{status:"valid",value:e.data}}}t.ZodNaN=ep,ep.create=e=>new ep({typeName:n.ZodNaN,...p(e)}),t.BRAND=Symbol("zod_brand");class eh extends h{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}t.ZodBranded=eh;class em extends h{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?c.INVALID:"dirty"===e.status?(t.dirty(),(0,c.DIRTY)(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?c.INVALID:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new em({in:e,out:t,typeName:n.ZodPipeline})}}t.ZodPipeline=em;class eg extends h{_parse(e){let t=this._def.innerType._parse(e),r=e=>((0,c.isValid)(e)&&(e.value=Object.freeze(e.value)),e);return(0,c.isAsync)(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}function ev(e,t){let r="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof r?{message:r}:r}function ey(e,t={},r){return e?U.create().superRefine((n,o)=>{let a=e(n);if(a instanceof Promise)return a.then(e=>{if(!e){let e=ev(t,n),a=e.fatal??r??!0;o.addIssue({code:"custom",...e,fatal:a})}});if(!a){let e=ev(t,n),a=e.fatal??r??!0;o.addIssue({code:"custom",...e,fatal:a})}}):U.create()}t.ZodReadonly=eg,eg.create=(e,t)=>new eg({innerType:e,typeName:n.ZodReadonly,...p(t)}),t.late={object:q.lazycreate},(o=n||(t.ZodFirstPartyTypeKind=n={})).ZodString="ZodString",o.ZodNumber="ZodNumber",o.ZodNaN="ZodNaN",o.ZodBigInt="ZodBigInt",o.ZodBoolean="ZodBoolean",o.ZodDate="ZodDate",o.ZodSymbol="ZodSymbol",o.ZodUndefined="ZodUndefined",o.ZodNull="ZodNull",o.ZodAny="ZodAny",o.ZodUnknown="ZodUnknown",o.ZodNever="ZodNever",o.ZodVoid="ZodVoid",o.ZodArray="ZodArray",o.ZodObject="ZodObject",o.ZodUnion="ZodUnion",o.ZodDiscriminatedUnion="ZodDiscriminatedUnion",o.ZodIntersection="ZodIntersection",o.ZodTuple="ZodTuple",o.ZodRecord="ZodRecord",o.ZodMap="ZodMap",o.ZodSet="ZodSet",o.ZodFunction="ZodFunction",o.ZodLazy="ZodLazy",o.ZodLiteral="ZodLiteral",o.ZodEnum="ZodEnum",o.ZodEffects="ZodEffects",o.ZodNativeEnum="ZodNativeEnum",o.ZodOptional="ZodOptional",o.ZodNullable="ZodNullable",o.ZodDefault="ZodDefault",o.ZodCatch="ZodCatch",o.ZodPromise="ZodPromise",o.ZodBranded="ZodBranded",o.ZodPipeline="ZodPipeline",o.ZodReadonly="ZodReadonly",t.instanceof=(e,t={message:`Input not instance of ${e.name}`})=>ey(t=>t instanceof e,t);let eb=z.create;t.string=eb;let ex=R.create;t.number=ex,t.nan=ep.create,t.bigint=O.create;let e_=M.create;t.boolean=e_,t.date=A.create,t.symbol=D.create,t.undefined=Z.create,t.null=F.create,t.any=U.create,t.unknown=$.create,t.never=H.create,t.void=V.create,t.array=B.create,t.object=q.create,t.strictObject=q.strictCreate,t.union=W.create,t.discriminatedUnion=Y.create,t.intersection=X.create,t.tuple=G.create,t.record=Q.create,t.map=J.create,t.set=ee.create,t.function=et.create,t.lazy=er.create,t.literal=en.create,t.enum=ea.create,t.nativeEnum=ei.create,t.promise=el.create;let ew=es.create;t.effect=ew,t.transformer=ew,t.optional=ec.create,t.nullable=eu.create,t.preprocess=es.createWithPreprocess,t.pipeline=em.create,t.ostring=()=>eb().optional(),t.onumber=()=>ex().optional(),t.oboolean=()=>e_().optional(),t.coerce={string:e=>z.create({...e,coerce:!0}),number:e=>R.create({...e,coerce:!0}),boolean:e=>M.create({...e,coerce:!0}),bigint:e=>O.create({...e,coerce:!0}),date:e=>A.create({...e,coerce:!0})},t.NEVER=c.INVALID}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}},i=!0;try{t[e].call(a.exports,a,a.exports,n),i=!1}finally{i&&delete r[e]}return a.exports}n.ab="//",e.exports=n(629)})()}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var o=Object.create(null);__webpack_require__.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>{a[e]=()=>r[e]});return a.default=()=>r,__webpack_require__.d(o,a),o}})(),__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nc=void 0;var __webpack_exports__={};for(var __rspack_i in(()=>{"use strict";let e,t,r;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{DevOverlayContext:()=>ul,dispatcher:()=>ua,renderPagesDevOverlay:()=>up,getSerializedOverlayState:()=>ur,useDevOverlayContext:()=>us,renderAppDevOverlay:()=>uf,getSegmentTrieData:()=>un});var n,o,a,i,l,s=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),c=__webpack_require__.n(s),u=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),d=__webpack_require__.n(u),f=__webpack_require__("./src/build/webpack/loaders/devtool/devtool-style-inject.js"),p=__webpack_require__.n(f),h=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),m=__webpack_require__.n(h),g=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),v=__webpack_require__.n(g),y=__webpack_require__("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),b=__webpack_require__.n(y),x=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/global.css"),_={};_.styleTagTransform=b(),_.setAttributes=m(),_.insert=p(),_.domAPI=d(),_.insertStyleElement=v(),c()(x.A,_),x.A&&x.A.locals&&x.A.locals;var w=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/toast/style.css"),k={};k.styleTagTransform=b(),k.setAttributes=m(),k.insert=p(),k.domAPI=d(),k.insertStyleElement=v(),c()(w.A,k),w.A&&w.A.locals&&w.A.locals;var j=__webpack_require__("./dist/compiled/react/jsx-runtime.js"),S=__webpack_require__("./dist/compiled/react/compiler-runtime.js"),C=__webpack_require__("./dist/compiled/react/index.js"),E=__webpack_require__.t(C,2),T=__webpack_require__("./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js");let N=/\/_next(\/static\/.+)/;function L(e,t=process.env.__NEXT_DIST_DIR){return e?(e=e.split("\n").map(e=>(e.includes("(eval ")&&(e=e.replace(/eval code/g,"eval").replace(/\(eval at [^()]* \(/,"(file://").replace(/\),.*$/g,")")),e)).join("\n"),(0,T.parse)(e).map(e=>{try{let r=new URL(e.file),n=N.exec(r.pathname);if(n){let o=t?.replace(/\\/g,"/")?.replace(/\/$/,"");o&&(e.file="file://"+o.concat(n.pop())+r.search)}}catch{}return{file:e.file,line1:e.lineNumber,column1:e.column,methodName:e.methodName,arguments:e.arguments}})):[]}let I=Symbol.for("next.console.error.digest"),P="next-instant-navigation-testing";function z(e){try{let t=JSON.parse(e);if(Array.isArray(t)&&t.length>=3){let e=t[2];if(null===e)return{state:"mpa"};if("object"==typeof e&&null!==e){let t=e.from??["",{}],r=e.to??null;return{state:"spa",fromTree:t,toTree:r}}return{state:"spa",fromTree:["",{}],toTree:null}}}catch{}return{state:"pending"}}function R(e){let t=[],r=e;for(;r;){let e=r[0],n=r[1];if("string"==typeof e)""===e||e.startsWith("__PAGE__")||"__DEFAULT__"===e||e.startsWith("(")&&e.endsWith(")")||t.push(e);else if(Array.isArray(e)){let r=e[0],n=e[2];"c"===n||n.startsWith("ci")?t.push(`[...${r}]`):"oc"===n?t.push(`[[...${r}]]`):t.push(`[${r}]`)}r=n?.children}return"/"+t.join("/")}function O(){if(void 0!==r)return r;if("undefined"==typeof document)return"";let e=document.cookie.match(/next-instant-navigation-testing=([^;]*)/);return e?e[1]:""}function M(e){if("undefined"==typeof cookieStore)return()=>{};function t(t){for(let n of t.changed)if(n.name===P){r=n.value??"",e();return}for(let n of t.deleted)if(n.name===P){r="",e();return}}return cookieStore.addEventListener("change",t),()=>{cookieStore.removeEventListener("change",t)}}let A={Small:16/14,Medium:1,Large:16/18},D="cache-indicator",Z="static-indicator",F="build-ok",U="build-error",$="before-fast-refresh",H="fast-refresh",V="version-info",B="unhandled-error",q="unhandled-rejection",W="debug-info",K="dev-indicator",Y="dev-indicator-disable",X="error-overlay-open",G="error-overlay-close",Q="error-overlay-toggle",J="building-indicator-show",ee="building-indicator-hide",et="rendering-indicator-show",er="rendering-indicator-hide",en="devtools-position",eo="devtools-panel-position",ea="devtools-scale",ei="devtools-config",el="instant-navs-toggle",es="instant-navs-reset",ec="__nextjs-dev-tools-panel-position",eu="__nextjs-dev-tools-panel-size",ed="__nextjs-dev-tools-shared-panel-size",ef="__nextjs-dev-tools-shared-panel-location",ep="segment-explorer-update-route-state",eh=/\s+(at Object\.react_stack_bottom_frame.*)|(react_stack_bottom_frame@.*)|(at react-stack-bottom-frame.*)|(react-stack-bottom-frame@.*)/;function em(e){return e?.split(eh)[0]}let eg=process.env.__NEXT_DEV_INDICATOR?.toString()==="false",ev=process.env.__NEXT_DEV_INDICATOR_POSITION??"bottom-left",ey=!!process.env.__NEXT_INSTANT_NAV_TOGGLE&&null!==function(){if("undefined"==typeof document)return null;let e=document.cookie.match(/next-instant-navigation-testing=([^;]*)/);return e?z(e[1]).state:null}(),eb={nextId:1,buildError:null,errors:[],notFound:!1,renderingIndicator:!1,cacheIndicator:"disabled",staticIndicator:"disabled",showIndicator:ey,disableDevIndicator:!1,buildingIndicator:!1,refreshState:{type:"idle"},versionInfo:{installed:"0.0.0",staleness:"unknown"},debugInfo:{devtoolsFrontendUrl:void 0},devToolsPosition:ev,devToolsPanelPosition:{[ef]:ev},devToolsPanelSize:{},scale:A.Medium,page:"",tree:null,theme:"system",hideShortcut:null,instantNavs:ey};var ex=__webpack_require__("./dist/compiled/react-dom/client.js");function e_(e,...t){let r=e.length-1;return(e.slice(0,r).reduce((e,r,n)=>e+r+t[n],"")+e[r]).replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s+/g," ").replace(/\s*([:;,{}])\s*/g,"$1").replace(/;+}/g,"}").trim()}let ew=()=>{let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],(0,C.useInsertionEffect)(ek,e),null};function ek(){let e=document.createElement("style");return e.textContent=e_` /* latin-ext */ @font-face { font-family: '__nextjs-Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/__nextjs_font/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin-ext */ @font-face { font-family: '__nextjs-Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/__nextjs_font/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: '__nextjs-Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/__nextjs_font/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* latin */ @font-face { font-family: '__nextjs-Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/__nextjs_font/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } `,document.head.appendChild(e),()=>{document.head.removeChild(e)}}var ej=__webpack_require__("./dist/compiled/react-dom/index.js");function eS(e){let t,r=(0,S.c)(3),{children:n}=e,{shadowRoot:o}=us();return r[0]!==n||r[1]!==o?(t=(0,ej.createPortal)(n,o),r[0]=n,r[1]=o,r[2]=t):t=r[2],t}function eC(e){if(""===e.trim())throw Error("can't decode empty hex");let t=parseInt(e,16);if(isNaN(t))throw Error(`invalid hex: \`${e}\``);return String.fromCodePoint(t)}let eE=/^__TURBOPACK__([a-zA-Z0-9_$]+)__$/,eT=/__TURBOPACK__[a-zA-Z0-9_$]+__/g;function eN(e){return e.replace(/\[project\]/g,".").replace(/\s\[([^\]]*)\]/g,"").replace(/\s\(([^)]*)\)/g,"").replace(/\s<([^>]*)>/g,"").trim()}let eL=/https?:\/\/[^\s/$.?#].[^\s)'"]*/i,eI=function(e){let t,r,n=(0,S.c)(7),{text:o,matcher:a}=e;if(n[0]!==a||n[1]!==o){let e,r=function(e){let t=e.replace(/\(0\s*,\s*(__TURBOPACK__[a-zA-Z0-9_$]+__\.[^\s)]+)\)/g,"$1"),r=[],n=0,o=RegExp(eT.source,"g");for(let e=o.exec(t);null!==e;e=o.exec(t)){let a=e.index,i=o.lastIndex,l=e[0];if(a>n){let e=t.substring(n,a);r.push(["raw",e])}try{let e=function(e){let t=e.match(eE);if(!t)return e;let r=t[1],n="",o=0,a="";for(let e=0;e{let[r,n]=e;if("raw"===r)return n.split(/(\s+|https?:\/\/[^\s/$.?#].[^\s)'"]*)/).map((e,r)=>{if(!eL.test(e))return(0,j.jsx)(C.Fragment,{children:e},`text-${t}-${r}`);{let n=eL.exec(e)[0],o=null;return"function"==typeof a&&null===(o=a(n))?(0,j.jsx)(C.Fragment,{children:e},`link-${t}-${r}`):(0,j.jsx)(C.Fragment,{children:(0,j.jsx)("a",{href:n,target:"_blank",rel:"noreferrer noopener",className:o||void 0,children:e})},`link-${t}-${r}`)}});if("deobfuscated"===r)return(0,j.jsx)("i",{children:n},`ident-${t}`);throw Error(`Unknown text part type: ${r}`)},n[3]=a,n[4]=e):e=n[4],t=r.map(e),n[0]=a,n[1]=o,n[2]=t}else t=n[2];return n[5]!==t?(r=(0,j.jsx)(j.Fragment,{children:t}),n[5]=t,n[6]=r):r=n[6],r},eP=[/^webpack-internal:\/\/\/(\([\w-]+\)\/)?/,/^(webpack:\/\/\/|webpack:\/\/(_N_E\/)?)(\([\w-]+\)\/)?/];function ez(e){for(let t of eP){if(t.test(e))return!0;e=e.replace(t,"")}return!1}function eR(e){for(let t of eP)e=e.replace(t,"");return e}function eO(e,t){async function r(){if("rejected"===t.status)throw Error(t.reason);let r=t.value;return{error:!1,reason:null,external:!1,sourceStackFrame:e,originalStackFrame:r.originalStackFrame,originalCodeFrame:r.originalCodeFrame||null,ignored:r.originalStackFrame?.ignored||!1}}return"file://"===e.file||e.file?.match(/https?:\/\//)?Promise.resolve({error:!1,reason:null,external:!0,sourceStackFrame:e,originalStackFrame:null,originalCodeFrame:null,ignored:!0}):r().catch(t=>({error:!0,reason:t?.message??t?.toString()??"Unknown Error",external:!1,sourceStackFrame:e,originalStackFrame:null,originalCodeFrame:null,ignored:!1}))}async function eM(e,t,r){let n,o;try{n=await fetch("/__nextjs_original-stack-frames",{method:"POST",body:JSON.stringify({frames:e,isServer:"server"===t,isEdgeServer:"edge-server"===t,isAppDirectory:r})})}catch(e){o=e+""}if(n&&n.ok&&204!==n.status){let t=await n.json();return Promise.all(e.map((e,r)=>eO(e,t[r])))}return n&&(o=await n.text()),Promise.all(e.map(e=>eO(e,{status:"rejected",reason:`Failed to fetch the original stack frames ${o?`: ${o}`:""}`})))}function eA(e){if(!e.file)return"";let t=ez(e.file),r="";if(t)r=eR(e.file);else try{let t=new URL(e.file),n="";globalThis.location?.origin!==t.origin&&("null"===t.origin?n+=t.protocol:n+=t.origin),n+=t.pathname,r=eR(n)}catch{r=eR(e.file)}return!ez(e.file)&&null!=e.line1&&r&&""!==e.file&&(null!=e.column1?r+=` (${e.line1}:${e.column1})`:r+=` (${e.line1})`),r}function eD(e){let t,r,n=(0,S.c)(6);n[0]!==e?(t=void 0===e?{}:e,n[0]=e,n[1]=t):t=n[1];let{file:o,line1:a,column1:i}=t;return n[2]!==i||n[3]!==o||n[4]!==a?(r=()=>{if(null==o||null==a||null==i)return;let e=new URLSearchParams;e.append("file",o),e.append("line1",String(a)),e.append("column1",String(i)),self.fetch(`${process.env.__NEXT_ROUTER_BASEPATH||""}/__nextjs_launch-editor?${e.toString()}`).then(eZ,e=>{console.error(`Failed to open file "${o} (${a}:${i})" in your editor. Cause:`,e)})},n[2]=i,n[3]=o,n[4]=a,n[5]=r):r=n[5],r}function eZ(){}function eF(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M11.5 9.75V11.25C11.5 11.3881 11.3881 11.5 11.25 11.5H4.75C4.61193 11.5 4.5 11.3881 4.5 11.25L4.5 4.75C4.5 4.61193 4.61193 4.5 4.75 4.5H6.25H7V3H6.25H4.75C3.7835 3 3 3.7835 3 4.75V11.25C3 12.2165 3.7835 13 4.75 13H11.25C12.2165 13 13 12.2165 13 11.25V9.75V9H11.5V9.75ZM8.5 3H9.25H12.2495C12.6637 3 12.9995 3.33579 12.9995 3.75V6.75V7.5H11.4995V6.75V5.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L10.4388 4.5H9.25H8.5V3Z"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function eU(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.55846 2H7.44148L1.88975 13.5H14.1102L8.55846 2ZM9.90929 1.34788C9.65902 0.829456 9.13413 0.5 8.55846 0.5H7.44148C6.86581 0.5 6.34092 0.829454 6.09065 1.34787L0.192608 13.5653C-0.127943 14.2293 0.355835 15 1.09316 15H14.9068C15.6441 15 16.1279 14.2293 15.8073 13.5653L9.90929 1.34788ZM8.74997 4.75V5.5V8V8.75H7.24997V8V5.5V4.75H8.74997ZM7.99997 12C8.55226 12 8.99997 11.5523 8.99997 11C8.99997 10.4477 8.55226 10 7.99997 10C7.44769 10 6.99997 10.4477 6.99997 11C6.99997 11.5523 7.44769 12 7.99997 12Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",strokeLinejoin:"round",viewBox:"-4 -4 24 24",width:"16",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function e$(e){let t=(0,S.c)(6),{lang:r}=e;if(!r){let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(eq,{}),t[0]=e):e=t[0],e}switch(r.toLowerCase()){case"jsx":case"tsx":{let e;return t[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(eW,{}),t[1]=e):e=t[1],e}case"ts":case"typescript":{let e;return t[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(eB,{}),t[2]=e):e=t[2],e}case"javascript":case"js":case"mjs":{let e;return t[3]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(eV,{}),t[3]=e):e=t[3],e}case"json":{let e;return t[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(eH,{}),t[4]=e):e=t[4],e}default:{let e;return t[5]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(eq,{}),t[5]=e):e=t[5],e}}}function eH(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{clipRule:"evenodd",fillRule:"evenodd",height:"16",viewBox:"0 0 1321.45 1333.33",width:"16",children:(0,j.jsx)("path",{d:"M221.37 618.44h757.94V405.15H755.14c-23.5 0-56.32-12.74-71.82-28.24-15.5-15.5-25-43.47-25-66.97V82.89H88.39c-1.99 0-3.49 1-4.49 2-1.5 1-2 2.5-2 4.5v1155.04c0 1.5 1 3.5 2 4.5 1 1.49 3 1.99 4.49 1.99H972.8c2 0 1.89-.99 2.89-1.99 1.5-1 3.61-3 3.61-4.5v-121.09H221.36c-44.96 0-82-36.9-82-81.99V700.44c0-45.1 36.9-82 82-82zm126.51 117.47h75.24v146.61c0 30.79-2.44 54.23-7.33 70.31-4.92 16.03-14.8 29.67-29.65 40.85-14.86 11.12-33.91 16.72-57.05 16.72-24.53 0-43.51-3.71-56.94-11.06-13.5-7.36-23.89-18.1-31.23-32.3-7.35-14.14-11.69-31.67-12.99-52.53l71.5-10.81c.11 11.81 1.07 20.61 2.81 26.33 1.76 5.78 4.75 10.37 9 13.95 2.87 2.33 6.94 3.46 12.25 3.46 8.4 0 14.58-3.46 18.53-10.37 3.9-6.92 5.87-18.6 5.87-35V735.92zm112.77 180.67l71.17-4.97c1.54 12.81 4.69 22.62 9.44 29.28 7.74 10.88 18.74 16.34 33.09 16.34 10.68 0 18.93-2.76 24.68-8.36 5.81-5.58 8.7-12.07 8.7-19.41 0-6.97-2.71-13.26-8.2-18.79-5.47-5.53-18.23-10.68-38.28-15.65-32.89-8.17-56.27-19.1-70.26-32.74-14.12-13.57-21.18-30.92-21.18-52.03 0-13.83 3.61-26.89 10.85-39.21 7.22-12.38 18.07-22.06 32.59-29.09 14.52-7.04 34.4-10.56 59.65-10.56 31 0 54.62 6.41 70.88 19.29 16.28 12.81 25.92 33.24 29.04 61.27l-70.5 4.65c-1.87-12.25-5.81-21.17-11.81-26.7-6.05-5.6-14.35-8.36-24.9-8.36-8.71 0-15.31 2.07-19.73 6.16-4.4 4.09-6.59 9.12-6.59 15.02 0 4.27 1.81 8.11 5.37 11.57 3.45 3.59 11.8 6.85 25.02 9.93 32.75 7.86 56.2 15.84 70.31 23.87 14.18 8.05 24.52 17.98 30.96 29.92 6.44 11.88 9.66 25.2 9.66 39.96 0 17.29-4.3 33.24-12.88 47.89-8.63 14.58-20.61 25.7-36.08 33.24-15.41 7.54-34.85 11.31-58.33 11.31-41.24 0-69.81-8.86-85.68-26.52-15.88-17.65-24.85-40.09-26.96-67.3zm248.74-45.5c0-44.05 11.02-78.36 33.09-102.87 22.09-24.57 52.82-36.82 92.24-36.82 40.38 0 71.5 12.07 93.34 36.13 21.86 24.13 32.77 57.94 32.77 101.37 0 31.54-4.75 57.36-14.3 77.54-9.54 20.18-23.37 35.89-41.4 47.13-18.07 11.24-40.55 16.84-67.48 16.84-27.33 0-49.99-4.83-67.94-14.52-17.92-9.74-32.49-25.07-43.62-46.06-11.13-20.92-16.72-47.19-16.72-78.74zm74.89.19c0 27.21 4.57 46.81 13.68 58.68 9.13 11.88 21.57 17.85 37.26 17.85 16.1 0 28.65-5.84 37.45-17.47 8.87-11.68 13.28-32.54 13.28-62.77 0-25.39-4.63-43.92-13.84-55.61-9.26-11.76-21.75-17.6-37.56-17.6-15.13 0-27.34 5.97-36.49 17.85-9.21 11.88-13.78 31.61-13.78 59.07zm209.08-135.36h69.99l90.98 149.05V735.91h70.83v269.96h-70.83l-90.48-148.24v148.24h-70.49V735.91zm67.71-117.47h178.37c45.1 0 82 37.04 82 82v340.91c0 44.96-37.03 81.99-82 81.99h-178.37v147c0 17.5-6.99 32.99-18.5 44.5-11.5 11.49-27 18.5-44.5 18.5H62.97c-17.5 0-32.99-7-44.5-18.5-11.49-11.5-18.5-27-18.5-44.5V63.49c0-17.5 7-33 18.5-44.5S45.97.49 62.97.49H700.1c1.5-.5 3-.5 4.5-.5 7 0 14 3 19 7.49h1c1 .5 1.5 1 2.5 2l325.46 329.47c5.5 5.5 9.5 13 9.5 21.5 0 2.5-.5 4.5-1 7v250.98zM732.61 303.47V96.99l232.48 235.47H761.6c-7.99 0-14.99-3.5-20.5-8.49-4.99-5-8.49-12.5-8.49-20.5z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function eV(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{height:"16",viewBox:"0 0 50 50",width:"16",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("path",{d:"M 43.335938 4 L 6.667969 4 C 5.195313 4 4 5.195313 4 6.667969 L 4 43.332031 C 4 44.804688 5.195313 46 6.667969 46 L 43.332031 46 C 44.804688 46 46 44.804688 46 43.335938 L 46 6.667969 C 46 5.195313 44.804688 4 43.335938 4 Z M 27 36.183594 C 27 40.179688 24.65625 42 21.234375 42 C 18.140625 42 15.910156 39.925781 15 38 L 18.144531 36.097656 C 18.75 37.171875 19.671875 38 21 38 C 22.269531 38 23 37.503906 23 35.574219 L 23 23 L 27 23 Z M 35.675781 42 C 32.132813 42 30.121094 40.214844 29 38 L 32 36 C 32.816406 37.335938 33.707031 38.613281 35.589844 38.613281 C 37.171875 38.613281 38 37.824219 38 36.730469 C 38 35.425781 37.140625 34.960938 35.402344 34.199219 L 34.449219 33.789063 C 31.695313 32.617188 29.863281 31.148438 29.863281 28.039063 C 29.863281 25.179688 32.046875 23 35.453125 23 C 37.878906 23 39.621094 23.84375 40.878906 26.054688 L 37.910156 27.964844 C 37.253906 26.789063 36.550781 26.328125 35.453125 26.328125 C 34.335938 26.328125 33.628906 27.039063 33.628906 27.964844 C 33.628906 29.109375 34.335938 29.570313 35.972656 30.28125 L 36.925781 30.691406 C 40.171875 32.078125 42 33.496094 42 36.683594 C 42 40.117188 39.300781 42 35.675781 42 Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function eB(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("svg",{fill:"none",height:"14",viewBox:"0 0 512 512",width:"14",xmlns:"http://www.w3.org/2000/svg",children:[(0,j.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),(0,j.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),(0,j.jsx)("path",{clipRule:"evenodd",d:"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z",fill:"var(--color-background-100)",fillRule:"evenodd"})]}),t[0]=e):e=t[0],e}function eq(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"16",height:"17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 7v7a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 14V.5h7.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V7zM13 7v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2h5v5h5zM9.5 2.621V5.5h2.879L9.5 2.621z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function eW(){let e,t,r=(0,S.c)(2);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("g",{clipPath:"url(#file_react_clip0_872_3183)",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 1.93782C4.70129 1.82161 4.99472 1.7858 5.41315 1.91053C5.83298 2.03567 6.33139 2.31073 6.87627 2.73948C7.01136 2.84578 7.14803 2.96052 7.28573 3.08331C6.86217 3.53446 6.44239 4.04358 6.03752 4.60092C5.35243 4.67288 4.70164 4.78186 4.09916 4.92309C4.06167 4.74244 4.03064 4.56671 4.00612 4.39656C3.90725 3.71031 3.91825 3.14114 4.01979 2.71499C4.12099 2.29025 4.29871 2.05404 4.5 1.93782ZM7.49466 1.95361C7.66225 2.08548 7.83092 2.22804 7.99999 2.38067C8.16906 2.22804 8.33773 2.08548 8.50532 1.95361C9.10921 1.47842 9.71982 1.12549 10.3012 0.952202C10.8839 0.778496 11.4838 0.7738 12 1.0718C12.5161 1.3698 12.812 1.89169 12.953 2.48322C13.0936 3.07333 13.0932 3.77858 12.9836 4.53917C12.9532 4.75024 12.9141 4.9676 12.8665 5.19034C13.0832 5.26044 13.291 5.33524 13.489 5.41444C14.2025 5.69983 14.8134 6.05217 15.2542 6.46899C15.696 6.8868 16 7.404 16 8C16 8.596 15.696 9.11319 15.2542 9.53101C14.8134 9.94783 14.2025 10.3002 13.489 10.5856C13.291 10.6648 13.0832 10.7396 12.8665 10.8097C12.9141 11.0324 12.9532 11.2498 12.9837 11.4608C13.0932 12.2214 13.0936 12.9267 12.953 13.5168C12.812 14.1083 12.5161 14.6302 12 14.9282C11.4839 15.2262 10.8839 15.2215 10.3012 15.0478C9.71984 14.8745 9.10923 14.5216 8.50534 14.0464C8.33775 13.9145 8.16906 13.7719 7.99999 13.6193C7.83091 13.7719 7.66223 13.9145 7.49464 14.0464C6.89075 14.5216 6.28014 14.8745 5.69879 15.0478C5.11605 15.2215 4.51613 15.2262 3.99998 14.9282C3.48383 14.6302 3.18794 14.1083 3.047 13.5168C2.9064 12.9267 2.90674 12.2214 3.01632 11.4608C3.04673 11.2498 3.08586 11.0324 3.13351 10.8097C2.91679 10.7395 2.709 10.6648 2.511 10.5856C1.79752 10.3002 1.18658 9.94783 0.745833 9.53101C0.304028 9.11319 0 8.596 0 8C0 7.404 0.304028 6.8868 0.745833 6.46899C1.18658 6.05217 1.79752 5.69983 2.511 5.41444C2.709 5.33524 2.9168 5.26044 3.13352 5.19034C3.08587 4.9676 3.04675 4.75024 3.01634 4.53917C2.90676 3.77858 2.90642 3.07332 3.04702 2.48321C3.18796 1.89169 3.48385 1.3698 4 1.0718C4.51615 0.773798 5.11607 0.778495 5.69881 0.952201C6.28016 1.12549 6.89077 1.47841 7.49466 1.95361ZM7.36747 4.51025C7.57735 4.25194 7.78881 4.00927 7.99999 3.78356C8.21117 4.00927 8.42263 4.25194 8.63251 4.51025C8.42369 4.50346 8.21274 4.5 8 4.5C7.78725 4.5 7.5763 4.50345 7.36747 4.51025ZM8.71425 3.08331C9.13781 3.53447 9.55759 4.04358 9.96246 4.60092C10.6475 4.67288 11.2983 4.78186 11.9008 4.92309C11.9383 4.74244 11.9693 4.56671 11.9939 4.39657C12.0927 3.71031 12.0817 3.14114 11.9802 2.71499C11.879 2.29025 11.7013 2.05404 11.5 1.93782C11.2987 1.82161 11.0053 1.7858 10.5868 1.91053C10.167 2.03568 9.66859 2.31073 9.12371 2.73948C8.98862 2.84578 8.85196 2.96052 8.71425 3.08331ZM8 5.5C8.48433 5.5 8.95638 5.51885 9.41188 5.55456C9.67056 5.93118 9.9229 6.33056 10.1651 6.75C10.4072 7.16944 10.6269 7.58766 10.8237 7.99998C10.6269 8.41232 10.4072 8.83055 10.165 9.25C9.92288 9.66944 9.67053 10.0688 9.41185 10.4454C8.95636 10.4812 8.48432 10.5 8 10.5C7.51567 10.5 7.04363 10.4812 6.58813 10.4454C6.32945 10.0688 6.0771 9.66944 5.83494 9.25C5.59277 8.83055 5.37306 8.41232 5.17624 7.99998C5.37306 7.58765 5.59275 7.16944 5.83492 6.75C6.07708 6.33056 6.32942 5.93118 6.5881 5.55456C7.04361 5.51884 7.51566 5.5 8 5.5ZM11.0311 6.25C11.1375 6.43423 11.2399 6.61864 11.3385 6.80287C11.4572 6.49197 11.5616 6.18752 11.6515 5.89178C11.3505 5.82175 11.0346 5.75996 10.706 5.70736C10.8163 5.8848 10.9247 6.06576 11.0311 6.25ZM11.0311 9.75C11.1374 9.56576 11.2399 9.38133 11.3385 9.19709C11.4572 9.50801 11.5617 9.81246 11.6515 10.1082C11.3505 10.1782 11.0346 10.24 10.7059 10.2926C10.8162 10.1152 10.9247 9.93424 11.0311 9.75ZM11.9249 7.99998C12.2051 8.62927 12.4362 9.24738 12.6151 9.83977C12.7903 9.78191 12.958 9.72092 13.1176 9.65708C13.7614 9.39958 14.2488 9.10547 14.5671 8.80446C14.8843 8.50445 15 8.23243 15 8C15 7.76757 14.8843 7.49555 14.5671 7.19554C14.2488 6.89453 13.7614 6.60042 13.1176 6.34292C12.958 6.27907 12.7903 6.21808 12.6151 6.16022C12.4362 6.7526 12.2051 7.37069 11.9249 7.99998ZM9.96244 11.3991C10.6475 11.3271 11.2983 11.2181 11.9008 11.0769C11.9383 11.2576 11.9694 11.4333 11.9939 11.6034C12.0928 12.2897 12.0817 12.8589 11.9802 13.285C11.879 13.7098 11.7013 13.946 11.5 14.0622C11.2987 14.1784 11.0053 14.2142 10.5868 14.0895C10.167 13.9643 9.66861 13.6893 9.12373 13.2605C8.98863 13.1542 8.85196 13.0395 8.71424 12.9167C9.1378 12.4655 9.55758 11.9564 9.96244 11.3991ZM8.63249 11.4898C8.42262 11.7481 8.21116 11.9907 7.99999 12.2164C7.78881 11.9907 7.57737 11.7481 7.36749 11.4897C7.57631 11.4965 7.78726 11.5 8 11.5C8.21273 11.5 8.42367 11.4965 8.63249 11.4898ZM4.96891 9.75C5.07528 9.93424 5.18375 10.1152 5.29404 10.2926C4.9654 10.24 4.64951 10.1782 4.34844 10.1082C4.43833 9.81246 4.54276 9.508 4.66152 9.19708C4.76005 9.38133 4.86254 9.56575 4.96891 9.75ZM6.03754 11.3991C5.35244 11.3271 4.70163 11.2181 4.09914 11.0769C4.06165 11.2576 4.03062 11.4333 4.0061 11.6034C3.90723 12.2897 3.91823 12.8589 4.01977 13.285C4.12097 13.7098 4.29869 13.946 4.49998 14.0622C4.70127 14.1784 4.9947 14.2142 5.41313 14.0895C5.83296 13.9643 6.33137 13.6893 6.87625 13.2605C7.01135 13.1542 7.14802 13.0395 7.28573 12.9167C6.86217 12.4655 6.4424 11.9564 6.03754 11.3991ZM4.07507 7.99998C3.79484 8.62927 3.56381 9.24737 3.38489 9.83977C3.20969 9.78191 3.042 9.72092 2.88239 9.65708C2.23864 9.39958 1.75123 9.10547 1.43294 8.80446C1.11571 8.50445 1 8.23243 1 8C1 7.76757 1.11571 7.49555 1.43294 7.19554C1.75123 6.89453 2.23864 6.60042 2.88239 6.34292C3.042 6.27907 3.2097 6.21808 3.3849 6.16022C3.56383 6.75261 3.79484 7.37069 4.07507 7.99998ZM4.66152 6.80287C4.54277 6.49197 4.43835 6.18752 4.34846 5.89178C4.64952 5.82175 4.96539 5.75996 5.29402 5.70736C5.18373 5.8848 5.07526 6.06576 4.96889 6.25C4.86253 6.43423 4.76005 6.61864 4.66152 6.80287ZM9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8C6.75 7.30965 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30965 9.25 8Z",fill:"currentColor"})}),r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsxs)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:[e,(0,j.jsx)("defs",{children:(0,j.jsx)("clipPath",{id:"file_react_clip0_872_3183",children:(0,j.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),r[1]=t):t=r[1],t}var eK=__webpack_require__("./dist/compiled/anser/index.js"),eY=__webpack_require__.n(eK),eX=__webpack_require__("./dist/compiled/strip-ansi/index.js"),eG=__webpack_require__.n(eX);function eQ(e){let t=e.split(/\r?\n/g),r=t.map(e=>null===/^>? +\d+ +\| [ ]+/.exec(eG()(e))?null:/^>? +\d+ +\| ( *)/.exec(eG()(e))).filter(Boolean).map(e=>e.pop()).reduce((e,t)=>isNaN(e)?t.length:Math.min(e,t.length),NaN);return r>1?t.map((e,t)=>~(t=e.indexOf("|"))?e.substring(0,t)+e.substring(t).replace(`^\\ {${r}}`,""):e).join("\n"):t.join("\n")}function eJ(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h=(0,S.c)(34),{stackFrame:m,codeFrame:g}=e;if(h[0]!==g||h[1]!==m){let e,r=function(e){let t=eY().ansiToJson(e,{json:!0,use_classes:!0,remove_empty:!0}),r=[],n=[];for(let e of t)if("string"==typeof e.content&&e.content.includes("\n")){let t=e.content.split("\n");for(let o=0;o0&&r.push(n),r}(eQ(g));h[3]!==m?(e=e=>{var t,r;let n,o;return{line:e,parsedLine:(t=e,r=m,(t[0]?.content===">"||t[0]?.content===" ")&&(n=t[1],o=n?.content?.replace("|","")?.trim()),{lineNumber:o,isErroredLine:o===r.line1?.toString()})}},h[3]=m,h[4]=e):e=h[4],t=r.map(e),h[0]=g,h[1]=m,h[2]=t}else t=h[2];let v=t,y=m.line1??1,b=m.column1??1;h[5]!==m.file||h[6]!==y||h[7]!==b?(r={file:m.file,line1:y,column1:b},h[5]=m.file,h[6]=y,h[7]=b,h[8]=r):r=h[8];let x=eD(r);h[9]!==m.file?(n=m?.file?.split(".").pop(),h[9]=m.file,h[10]=n):n=h[10];let _=n;return h[11]!==_?(o=(0,j.jsx)("span",{className:"code-frame-icon",children:(0,j.jsx)(e$,{lang:_})}),h[11]=_,h[12]=o):o=h[12],h[13]!==m?(a=eA(m),h[13]=m,h[14]=a):a=h[14],h[15]!==m.methodName?(i=(0,j.jsx)(eI,{text:m.methodName}),h[15]=m.methodName,h[16]=i):i=h[16],h[17]!==a||h[18]!==i?(l=(0,j.jsxs)("span",{"data-text":!0,children:[a," @"," ",i]}),h[17]=a,h[18]=i,h[19]=l):l=h[19],h[20]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,j.jsx)(eF,{width:16,height:16})}),h[20]=s):s=h[20],h[21]!==x?(c=(0,j.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:x,children:s}),h[21]=x,h[22]=c):c=h[22],h[23]!==c||h[24]!==o||h[25]!==l?(u=(0,j.jsx)("div",{className:"code-frame-header",children:(0,j.jsxs)("p",{className:"code-frame-link",children:[o,l,c]})}),h[23]=c,h[24]=o,h[25]=l,h[26]=u):u=h[26],h[27]!==v?(d=v.map(e0),h[27]=v,h[28]=d):d=h[28],h[29]!==d?(f=(0,j.jsx)("pre",{className:"code-frame-pre",children:(0,j.jsx)("div",{className:"code-frame-lines",children:d})}),h[29]=d,h[30]=f):f=h[30],h[31]!==u||h[32]!==f?(p=(0,j.jsxs)("div",{"data-nextjs-codeframe":!0,children:[u,f]}),h[31]=u,h[32]=f,h[33]=p):p=h[33],p}function e0(e,t){let{line:r,parsedLine:n}=e,{lineNumber:o,isErroredLine:a}=n,i={};return o&&(i["data-nextjs-codeframe-line"]=o),a&&(i["data-nextjs-codeframe-line--errored"]=!0),(0,j.jsx)("div",{...i,children:r.map(e1)},`line-${t}`)}function e1(e,t){return(0,j.jsx)("span",{style:{color:e.fg?`var(--color-${e.fg})`:void 0,..."bold"===e.decoration?{fontWeight:500}:"italic"===e.decoration?{fontStyle:"italic"}:void 0},children:e.content},`frame-${t}`)}let e2=` [data-nextjs-codeframe] { --code-frame-padding: 12px; --code-frame-line-height: var(--size-16); background-color: var(--color-background-200); color: var(--color-gray-1000); text-overflow: ellipsis; border: 1px solid var(--color-gray-400); border-radius: 8px; font-family: var(--font-stack-monospace); font-size: var(--size-12); line-height: var(--code-frame-line-height); margin: 8px 0; svg { width: var(--size-16); height: var(--size-16); } } .code-frame-link, .code-frame-pre { padding: var(--code-frame-padding); } .code-frame-link svg { flex-shrink: 0; } .code-frame-lines { min-width: max-content; } .code-frame-link [data-text] { text-align: left; margin: auto 6px; } .code-frame-header { width: 100%; transition: background 100ms ease-out; border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--color-gray-400); } [data-with-open-in-editor-link-source-file] { padding: 4px; margin: -4px 0 -4px auto; border-radius: var(--rounded-full); margin-left: auto; &:focus-visible { outline: var(--focus-ring); outline-offset: -2px; } &:hover { background: var(--color-gray-100); } } [data-nextjs-codeframe]::selection, [data-nextjs-codeframe] *::selection { background-color: var(--color-ansi-selection); } [data-nextjs-codeframe] *:not(a) { color: inherit; background-color: transparent; font-family: var(--font-stack-monospace); } [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored="true"] { position: relative; isolation: isolate; > span { position: relative; z-index: 1; } &::after { content: ""; width: calc(100% + var(--code-frame-padding) * 2); height: var(--code-frame-line-height); left: calc(-1 * var(--code-frame-padding)); background: var(--color-red-200); box-shadow: 2px 0 0 0 var(--color-red-900) inset; position: absolute; } } [data-nextjs-codeframe] > * { margin: 0; } .code-frame-link { display: flex; margin: 0; outline: 0; } .code-frame-link [data-icon='right'] { margin-left: auto; } [data-nextjs-codeframe] div > pre { overflow: hidden; display: inline-block; } [data-nextjs-codeframe] svg { color: var(--color-gray-900); } `,e3=function(e){let t,r,n,o,a=(0,S.c)(8);return a[0]!==e?({children:t,className:r,...n}=e,a[0]=e,a[1]=t,a[2]=r,a[3]=n):(t=a[1],r=a[2],n=a[3]),a[4]!==t||a[5]!==r||a[6]!==n?(o=(0,j.jsx)("div",{"data-nextjs-dialog-body":!0,className:r,...n,children:t}),a[4]=t,a[5]=r,a[6]=n,a[7]=o):o=a[7],o},e4=function(e){let t,r,n,o,a=(0,S.c)(8);return a[0]!==e?({children:t,className:r,...n}=e,a[0]=e,a[1]=t,a[2]=r,a[3]=n):(t=a[1],r=a[2],n=a[3]),a[4]!==t||a[5]!==r||a[6]!==n?(o=(0,j.jsx)("div",{"data-nextjs-dialog-content":!0,className:r,...n,children:t}),a[4]=t,a[5]=r,a[6]=n,a[7]=o):o=a[7],o},e5=e_` [data-nextjs-dialog-root] { --next-dialog-radius: var(--rounded-xl); --next-dialog-max-width: 960px; --next-dialog-row-padding: 16px; --next-dialog-padding: 12px; --next-dialog-notch-height: 42px; --next-dialog-border-width: 1px; display: flex; flex-direction: column; width: 100%; max-height: calc(100% - 56px); max-width: var(--next-dialog-max-width); margin-right: auto; margin-left: auto; scale: 0.97; opacity: 0; transition-property: scale, opacity; transition-duration: var(--transition-duration); transition-timing-function: var(--timing-overlay); &[data-rendered='true'] { opacity: 1; scale: 1; } [data-nextjs-scroll-fader][data-side='top'] { left: 1px; top: calc( var(--next-dialog-notch-height) + var(--next-dialog-border-width) ); width: calc(100% - var(--next-dialog-padding)); opacity: 0; } } [data-nextjs-dialog] { outline: 0; } [data-nextjs-dialog-backdrop] { opacity: 0; transition: opacity var(--transition-duration) var(--timing-overlay); } [data-nextjs-dialog-overlay] { margin: 8px; } [data-nextjs-dialog-overlay][data-rendered='true'] [data-nextjs-dialog-backdrop] { opacity: 1; } [data-nextjs-dialog-content] { border: none; margin: 0; display: flex; flex-direction: column; position: relative; padding: var(--next-dialog-padding); } [data-nextjs-dialog-content] > [data-nextjs-dialog-header] { flex-shrink: 0; margin-bottom: 8px; } [data-nextjs-dialog-content] > [data-nextjs-dialog-body] { position: relative; flex: 1 1 auto; } @media (max-height: 812px) { [data-nextjs-dialog-overlay] { max-height: calc(100% - 15px); } } @media (min-width: 576px) { [data-nextjs-dialog-root] { --next-dialog-max-width: 540px; } } @media (min-width: 768px) { [data-nextjs-dialog-root] { --next-dialog-max-width: 720px; } } @media (min-width: 992px) { [data-nextjs-dialog-root] { --next-dialog-max-width: 960px; } } `;function e6(...e){return e.filter(Boolean).join(" ")}function e9(e){return navigator.clipboard.writeText(e).then(e7,e8)}function e8(e){return{state:"error",error:e}}function e7(){return{state:"success"}}function te(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h,m,g,v=(0,S.c)(39);v[0]!==e?({content:r,getContent:o,actionLabel:t,successLabel:l,icon:a,disabled:n,...i}=e,v[0]=e,v[1]=t,v[2]=r,v[3]=n,v[4]=o,v[5]=a,v[6]=i,v[7]=l):(t=v[1],r=v[2],n=v[3],o=v[4],a=v[5],i=v[6],l=v[7]),v[8]!==r||v[9]!==o?(s=()=>r?Promise.resolve(r):o?o():Promise.resolve(""),v[8]=r,v[9]=o,v[10]=s):s=v[10];let[y,b,x,_]=function(e){let t,r,n,o,a,i=(0,S.c)(8);i[0]!==e?(t=(t,r)=>"reset"===r?{state:"initial"}:"copy"===r?navigator.clipboard?e().then(e9):{state:"error",error:"Copy to clipboard is not supported in this browser"}:t,i[0]=e,i[1]=t):t=i[1],i[2]===Symbol.for("react.memo_cache_sentinel")?(r={state:"initial"},i[2]=r):r=i[2];let[l,s,c]=C.useActionState(t,r);i[3]===Symbol.for("react.memo_cache_sentinel")?(n=function(){C.startTransition(()=>{s("copy")})},i[3]=n):n=i[3];let u=n;i[4]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{s("reset")},i[4]=o):o=i[4];let d=o;return i[5]!==l||i[6]!==c?(a=[l,u,d,c],i[5]=l,i[6]=c,i[7]=a):a=i[7],a}(s),w="error"===y.state?y.error:null;v[11]!==w?(c=()=>{null!==w&&console.warn(w)},u=[w],v[11]=w,v[12]=c,v[13]=u):(c=v[12],u=v[13]),C.useEffect(c,u),v[14]!==y.state||v[15]!==x?(d=()=>{if("success"===y.state){let e=setTimeout(()=>{x()},2e3);return()=>{clearTimeout(e)}}},v[14]=y.state,v[15]=x,v[16]=d):d=v[16],v[17]!==y.state||v[18]!==_||v[19]!==x?(f=[_,y.state,x],v[17]=y.state,v[18]=_,v[19]=x,v[20]=f):f=v[20],C.useEffect(d,f);let k=!navigator.clipboard||_||n||!!w,E="success"===y.state?l:t;v[21]!==y.state||v[22]!==a?(p="success"===y.state?(0,j.jsx)(tr,{}):a||(0,j.jsx)(tt,{width:14,height:14,className:"error-overlay-toolbar-button-icon"}),v[21]=y.state,v[22]=a,v[23]=p):p=v[23];let T=p,N=`nextjs-data-copy-button--${y.state}`;v[24]!==e.className||v[25]!==N?(h=e6(e.className,"nextjs-data-copy-button",N),v[24]=e.className,v[25]=N,v[26]=h):h=v[26],v[27]!==b||v[28]!==k?(m=()=>{k||b()},v[27]=b,v[28]=k,v[29]=m):m=v[29];let L="error"===y.state?` ${y.error}`:null;return v[30]!==k||v[31]!==_||v[32]!==E||v[33]!==T||v[34]!==i||v[35]!==h||v[36]!==m||v[37]!==L?(g=(0,j.jsxs)("button",{...i,type:"button",title:E,"aria-label":E,"aria-disabled":k,"data-nextjs-copy-button":!0,"data-pending":_,className:h,onClick:m,children:[T,L]}),v[30]=k,v[31]=_,v[32]=E,v[33]=T,v[34]=i,v[35]=h,v[36]=m,v[37]=L,v[38]=g):g=v[38],g}function tt(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.406.438c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531H3.937V8.75H2.406a.219.219 0 0 1-.219-.219V1.97c0-.121.098-.219.22-.219h4.812c.12 0 .218.098.218.219v.656H8.75v-.656c0-.846-.686-1.532-1.531-1.532H2.406zm4.375 3.5c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531h4.813c.845 0 1.531-.685 1.531-1.53V5.468c0-.846-.686-1.532-1.531-1.532H6.78zm-.218 1.53c0-.12.097-.218.218-.218h4.813c.12 0 .219.098.219.219v6.562c0 .121-.098.219-.22.219H6.782a.219.219 0 0 1-.218-.219V5.47z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function tr(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{height:"16",xlinkTitle:"copied",viewBox:"0 0 16 16",width:"16",stroke:"currentColor",fill:"currentColor",children:(0,j.jsx)("path",{d:"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"})}),t[0]=e):e=t[0],e}let tn=` .nextjs-data-copy-button { color: inherit; svg { width: var(--size-16); height: var(--size-16); } } .nextjs-data-copy-button[aria-disabled="true"] { background-color: var(--color-gray-100); cursor: not-allowed; } .nextjs-data-copy-button[data-pending="true"] { cursor: wait; } .nextjs-data-copy-button--initial:hover:not([aria-disabled="true"]) { cursor: pointer; } .nextjs-data-copy-button--error:not([aria-disabled="true"]), .nextjs-data-copy-button--error:hover:not([aria-disabled="true"]) { color: var(--color-ansi-red); } .nextjs-data-copy-button--success:not([aria-disabled="true"]) { color: var(--color-ansi-green); } `;function to(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h=(0,S.c)(14);return h[0]===Symbol.for("react.memo_cache_sentinel")?(t={maskType:"luminance"},h[0]=t):t=h[0],h[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("mask",{id:"nodejs_icon_mask_a",style:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:(0,j.jsx)("path",{d:"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0",fill:"#fff"})}),h[1]=r):r=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:(0,j.jsx)("path",{d:"M18.648 2.717 3.248-4.86-4.648 11.31l15.4 7.58 7.896-16.174z",fill:"url(#nodejs_icon_linear_gradient_b)"})}),h[2]=n):n=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(o={maskType:"luminance"},h[3]=o):o=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsx)("mask",{id:"nodejs_icon_mask_c",style:o,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"14",children:(0,j.jsx)("path",{d:"M1.01 10.57a.663.663 0 0 0 .195.17l4.688 2.72.781.45a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.18 7.325.087a.688.688 0 0 0-.171-.07L1.01 10.57z",fill:"#fff"})}),h[4]=a):a=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:(0,j.jsx)("path",{d:"M-5.647 4.958 5.226 19.734l14.38-10.667L8.734-5.71-5.647 4.958z",fill:"url(#nodejs_icon_linear_gradient_d)"})}),h[5]=i):i=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(l={maskType:"luminance"},h[6]=l):l=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("mask",{id:"nodejs_icon_mask_e",style:l,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:(0,j.jsx)("path",{d:"M6.934.004A.665.665 0 0 0 6.67.09L1.22 3.247l5.877 10.746a.655.655 0 0 0 .235-.08l5.465-3.17a.665.665 0 0 0 .319-.453L7.126.015a.684.684 0 0 0-.189-.01",fill:"#fff"})}),h[7]=s):s=h[7],h[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsxs)("g",{children:[s,(0,j.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:(0,j.jsx)("path",{d:"M1.22.002v13.992h11.894V.002H1.22z",fill:"url(#nodejs_icon_linear_gradient_f)"})})]}),h[8]=c):c=h[8],h[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.943",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{offset:".3",stopColor:"#3E863D"}),(0,j.jsx)("stop",{offset:".5",stopColor:"#55934F"}),(0,j.jsx)("stop",{offset:".8",stopColor:"#5AAD45"})]}),h[9]=u):u=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,j.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.431",x2:"14.277",y2:"1.818",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{offset:".57",stopColor:"#3E863D"}),(0,j.jsx)("stop",{offset:".72",stopColor:"#619857"}),(0,j.jsx)("stop",{offset:"1",stopColor:"#76AC64"})]}),h[10]=d):d=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,j.jsxs)("defs",{children:[u,d,(0,j.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.225",y1:"6.998",x2:"13.116",y2:"6.998",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{offset:".16",stopColor:"#6BBF47"}),(0,j.jsx)("stop",{offset:".38",stopColor:"#79B461"}),(0,j.jsx)("stop",{offset:".47",stopColor:"#75AC64"}),(0,j.jsx)("stop",{offset:".7",stopColor:"#659E5A"}),(0,j.jsx)("stop",{offset:".9",stopColor:"#3E863D"})]})]}),h[11]=f):f=h[11],h[12]!==e?(p=(0,j.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[r,n,a,i,c,f]}),h[12]=e,h[13]=p):p=h[13],p}function ta(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h=(0,S.c)(14);return h[0]===Symbol.for("react.memo_cache_sentinel")?(t={maskType:"luminance"},h[0]=t):t=h[0],h[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("mask",{id:"nodejs_icon_mask_a",style:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:(0,j.jsx)("path",{d:"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0",fill:"#fff"})}),h[1]=r):r=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:(0,j.jsx)("path",{d:"M18.648 2.717 3.248-4.86-4.646 11.31l15.399 7.58 7.896-16.174z",fill:"url(#nodejs_icon_linear_gradient_b)"})}),h[2]=n):n=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(o={maskType:"luminance"},h[3]=o):o=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsx)("mask",{id:"nodejs_icon_mask_c",style:o,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"15",children:(0,j.jsx)("path",{d:"M1.01 10.571a.66.66 0 0 0 .195.172l4.688 2.718.781.451a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.181 7.325.09a.688.688 0 0 0-.171-.07L1.01 10.572z",fill:"#fff"})}),h[4]=a):a=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:(0,j.jsx)("path",{d:"M-5.647 4.96 5.226 19.736 19.606 9.07 8.734-5.707-5.647 4.96z",fill:"url(#nodejs_icon_linear_gradient_d)"})}),h[5]=i):i=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(l={maskType:"luminance"},h[6]=l):l=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("mask",{id:"nodejs_icon_mask_e",style:l,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:(0,j.jsx)("path",{d:"M6.935.003a.665.665 0 0 0-.264.085l-5.45 3.158 5.877 10.747a.653.653 0 0 0 .235-.082l5.465-3.17a.665.665 0 0 0 .319-.452L7.127.014a.684.684 0 0 0-.189-.01",fill:"#fff"})}),h[7]=s):s=h[7],h[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsxs)("g",{children:[s,(0,j.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:(0,j.jsx)("path",{d:"M1.222.001v13.992h11.893V0H1.222z",fill:"url(#nodejs_icon_linear_gradient_f)"})})]}),h[8]=c):c=h[8],h[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.944",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{offset:".3",stopColor:"#676767"}),(0,j.jsx)("stop",{offset:".5",stopColor:"#858585"}),(0,j.jsx)("stop",{offset:".8",stopColor:"#989A98"})]}),h[9]=u):u=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,j.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.433",x2:"14.277",y2:"1.819",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{offset:".57",stopColor:"#747474"}),(0,j.jsx)("stop",{offset:".72",stopColor:"#707070"}),(0,j.jsx)("stop",{offset:"1",stopColor:"#929292"})]}),h[10]=d):d=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,j.jsxs)("defs",{children:[u,d,(0,j.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.226",y1:"6.997",x2:"13.117",y2:"6.997",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{offset:".16",stopColor:"#878787"}),(0,j.jsx)("stop",{offset:".38",stopColor:"#A9A9A9"}),(0,j.jsx)("stop",{offset:".47",stopColor:"#A5A5A5"}),(0,j.jsx)("stop",{offset:".7",stopColor:"#8F8F8F"}),(0,j.jsx)("stop",{offset:".9",stopColor:"#626262"})]})]}),h[11]=f):f=h[11],h[12]!==e?(p=(0,j.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[r,n,a,i,c,f]}),h[12]=e,h[13]=p):p=h[13],p}function ti({defaultDevtoolsFrontendUrl:e}){let[t,r,n]=(0,C.useActionState)(async()=>{try{let e=await fetch("/__nextjs_attach-nodejs-inspector",{method:"POST"});if(!e.ok)throw Error(`${e.status} ${e.statusText}: ${await e.text()}`);let t=await e.json();return{status:"fulfilled",value:t}}catch(e){return{status:"rejected",reason:Error("Failed to attach Node.js inspector: "+String(e))}}},{status:"fulfilled",value:e}),o="fulfilled"===t.status?t.value:void 0;(0,C.useEffect)(()=>{"rejected"===t.status&&console.error(t.reason)},[t]);let a=C.startTransition.bind(null,r);return void 0===o?(0,j.jsx)("button",{className:"nodejs-inspector-button","data-pending":n,onClick:n?void 0:a,title:"rejected"===t.status?"Retry attaching Node.js inspector":"Attach Node.js inspector",children:(0,j.jsx)(ta,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}):(0,j.jsx)(te,{"data-nextjs-data-runtime-error-copy-devtools-url":!0,className:"nodejs-inspector-button",actionLabel:"Copy DevTools URL for Chrome",successLabel:"Copied",content:o,icon:(0,j.jsx)(to,{className:"error-overlay-toolbar-button-icon",width:14,height:14})})}function tl(e){let t,r=(0,S.c)(3),{error:n,generateErrorInfo:o}=e,a=!n;return r[0]!==o||r[1]!==a?(t=(0,j.jsx)(te,{"data-nextjs-data-runtime-error-copy-stack":!0,className:"copy-error-button",actionLabel:"Copy Error Info",successLabel:"Error Info Copied",getContent:o,disabled:a}),r[0]=o,r[1]=a,r[2]=t):t=r[2],t}let ts="https://react.dev/link/hydration-mismatch",tc="https://nextjs.org/docs/messages/react-hydration-error",tu=[/^In HTML, (.+?) cannot be a child of <(.+?)>\.(.*)\nThis will cause a hydration error\.(.*)/,/^In HTML, (.+?) cannot be a descendant of <(.+?)>\.\nThis will cause a hydration error\.(.*)/,/^In HTML, text nodes cannot be a child of <(.+?)>\.\nThis will cause a hydration error\./,/^In HTML, whitespace text nodes cannot be a child of <(.+?)>\. Make sure you don't have any extra whitespace between tags on each line of your source code\.\nThis will cause a hydration error\./];function td(e){return tu.some(t=>t.test(e))}let tf=["https://nextjs.org","https://react.dev"];function tp(e){return tf.some(t=>e.startsWith(t))}function th(e){let t,r,n,o=(0,S.c)(6),{errorMessage:a}=e;o[0]!==a?(t=function(e){var t,r;let n,o=(t=e,r=tp,n=Array.from(t.matchAll(/https?:\/\/[^\s/$.?#].[^\s)'"]*/gi),e=>e[0]),r?n.filter(e=>r(e)):n);if(0===o.length)return null;let a=o[0];return a===ts?tc:a}(a),o[0]=a,o[1]=t):t=o[1];let i=t;if(!i){let e;return o[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("button",{title:"No related documentation found","aria-label":"No related documentation found",className:"docs-link-button",disabled:!0,children:(0,j.jsx)(tm,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}),o[2]=e):e=o[2],e}return o[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)(tm,{className:"error-overlay-toolbar-button-icon",width:14,height:14}),o[3]=r):r=o[3],o[4]!==i?(n=(0,j.jsx)("a",{title:"Go to related documentation","aria-label":"Go to related documentation",className:"docs-link-button",href:i,target:"_blank",rel:"noopener noreferrer",children:r}),o[4]=i,o[5]=n):n=o[5],n}function tm(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 .875h4.375C5.448.875 6.401 1.39 7 2.187A3.276 3.276 0 0 1 9.625.875H14v11.156H9.4c-.522 0-1.023.208-1.392.577l-.544.543h-.928l-.544-.543c-.369-.37-.87-.577-1.392-.577H0V.875zm6.344 3.281a1.969 1.969 0 0 0-1.969-1.968H1.312v8.53H4.6c.622 0 1.225.177 1.744.502V4.156zm1.312 7.064V4.156c0-1.087.882-1.968 1.969-1.968h3.063v8.53H9.4c-.622 0-1.225.177-1.744.502z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function tg(e){let t,r,n,o,a=(0,S.c)(13),{error:i,debugInfo:l,feedbackButton:s,generateErrorInfo:c}=e;a[0]!==i||a[1]!==c?(t=(0,j.jsx)(tl,{error:i,generateErrorInfo:c}),a[0]=i,a[1]=c,a[2]=t):t=a[2],a[3]!==i.message?(r=(0,j.jsx)(th,{errorMessage:i.message}),a[3]=i.message,a[4]=r):r=a[4];let u=l?.devtoolsFrontendUrl,d=l?.devtoolsFrontendUrl;return a[5]!==u||a[6]!==d?(n=(0,j.jsx)(ti,{defaultDevtoolsFrontendUrl:d},u),a[5]=u,a[6]=d,a[7]=n):n=a[7],a[8]!==s||a[9]!==t||a[10]!==r||a[11]!==n?(o=(0,j.jsxs)("span",{className:"error-overlay-toolbar",children:[s,t,r,n]}),a[8]=s,a[9]=t,a[10]=r,a[11]=n,a[12]=o):o=a[12],o}let tv=` .error-overlay-toolbar { display: flex; gap: 6px; } .nodejs-inspector-button, .copy-error-button, .docs-link-button { display: flex; justify-content: center; align-items: center; width: var(--size-28); height: var(--size-28); background: var(--color-background-100); background-clip: padding-box; border: 1px solid var(--color-gray-alpha-400); box-shadow: var(--shadow-small); border-radius: var(--rounded-full); svg { width: var(--size-14); height: var(--size-14); } &:focus { outline: var(--focus-ring); } &:not(:disabled):hover { background: var(--color-gray-alpha-100); } &:not(:disabled):active { background: var(--color-gray-alpha-200); } &:disabled { background-color: var(--color-gray-100); cursor: not-allowed; } } .nodejs-inspector-button[data-pending='true'] { cursor: wait; } .error-overlay-toolbar-button-icon { color: var(--color-gray-900); } `;function ty(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("g",{id:"thumb-up-16",children:(0,j.jsx)("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M6.89531 2.23959C6.72984 2.1214 6.5 2.23968 6.5 2.44303V5.24989C6.5 6.21639 5.7165 6.99989 4.75 6.99989H2.5V13.4999H12.1884C12.762 13.4999 13.262 13.1095 13.4011 12.5531L14.4011 8.55306C14.5984 7.76412 14.0017 6.99989 13.1884 6.99989H9.25H8.5V6.24989V3.51446C8.5 3.43372 8.46101 3.35795 8.39531 3.31102L6.89531 2.23959ZM5 2.44303C5 1.01963 6.6089 0.191656 7.76717 1.01899L9.26717 2.09042C9.72706 2.41892 10 2.94929 10 3.51446V5.49989H13.1884C14.9775 5.49989 16.2903 7.18121 15.8563 8.91686L14.8563 12.9169C14.5503 14.1411 13.4503 14.9999 12.1884 14.9999H1.75H1V14.2499V6.24989V5.49989H1.75H4.75C4.88807 5.49989 5 5.38796 5 5.24989V2.44303Z",fill:"currentColor"})}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-up-icon",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function tb(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.89531 12.7603C5.72984 12.8785 5.5 12.7602 5.5 12.5569V9.75C5.5 8.7835 4.7165 8 3.75 8H1.5V1.5H11.1884C11.762 1.5 12.262 1.89037 12.4011 2.44683L13.4011 6.44683C13.5984 7.23576 13.0017 8 12.1884 8H8.25H7.5V8.75V11.4854C7.5 11.5662 7.46101 11.6419 7.39531 11.6889L5.89531 12.7603ZM4 12.5569C4 13.9803 5.6089 14.8082 6.76717 13.9809L8.26717 12.9095C8.72706 12.581 9 12.0506 9 11.4854V9.5H12.1884C13.9775 9.5 15.2903 7.81868 14.8563 6.08303L13.8563 2.08303C13.5503 0.858816 12.4503 0 11.1884 0H0.75H0V0.75V8.75V9.5H0.75H3.75C3.88807 9.5 4 9.61193 4 9.75V12.5569Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-down-icon",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function tx(e){let t,r,n,o,a,i=(0,S.c)(12),{errorCode:l,className:s}=e;i[0]===Symbol.for("react.memo_cache_sentinel")?(t={},i[0]=t):t=i[0];let[c,u]=(0,C.useState)(t),d=c[l],f=void 0!==d,p=process.env.__NEXT_TELEMETRY_DISABLED;i[1]!==l?(r=async e=>{u(t=>({...t,[l]:e}));try{(await fetch(`${process.env.__NEXT_ROUTER_BASEPATH||""}/__nextjs_error_feedback?${new URLSearchParams({errorCode:l,wasHelpful:e.toString()})}`)).ok||console.error("Failed to record feedback on the server.")}catch(e){console.error("Failed to record feedback:",e)}},i[1]=l,i[2]=r):r=i[2];let h=r;return i[3]!==s?(n=e6("error-feedback",s),i[3]=s,i[4]=n):n=i[4],i[5]!==h||i[6]!==f||i[7]!==d?(o=f?(0,j.jsx)("p",{className:"error-feedback-thanks",role:"status","aria-live":"polite",children:"Thanks for your feedback!"}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("p",{children:(0,j.jsx)("a",{href:"https://nextjs.org/telemetry#error-feedback",rel:"noopener noreferrer",target:"_blank",children:"Was this helpful?"})}),(0,j.jsx)("button",{"aria-disabled":p?"true":void 0,"aria-label":"Mark as helpful",onClick:p?void 0:()=>h(!0),className:e6("feedback-button",!0===d&&"voted"),title:p?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:(0,j.jsx)(ty,{"aria-hidden":"true"})}),(0,j.jsx)("button",{"aria-disabled":p?"true":void 0,"aria-label":"Mark as not helpful",onClick:p?void 0:()=>h(!1),className:e6("feedback-button",!1===d&&"voted"),title:p?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:(0,j.jsx)(tb,{"aria-hidden":"true",style:{translate:"1px 1px"}})})]}),i[5]=h,i[6]=f,i[7]=d,i[8]=o):o=i[8],i[9]!==n||i[10]!==o?(a=(0,j.jsx)("div",{className:n,role:"region","aria-label":"Error feedback",children:o}),i[9]=n,i[10]=o,i[11]=a):a=i[11],a}let t_=` .error-feedback { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--color-gray-900); } .error-feedback-thanks { height: var(--size-24); display: flex; align-items: center; padding-right: 4px; /* To match the 4px inner padding of the thumbs up and down icons */ } .feedback-button { background: none; border: none; border-radius: var(--rounded-md); width: var(--size-24); height: var(--size-24); display: flex; align-items: center; justify-content: center; cursor: pointer; &:focus { outline: var(--focus-ring); } &:hover { background: var(--color-gray-alpha-100); } &:active { background: var(--color-gray-alpha-200); } } .feedback-button[aria-disabled='true'] { opacity: 0.7; cursor: not-allowed; } .feedback-button.voted { background: var(--color-gray-alpha-200); } .thumbs-up-icon, .thumbs-down-icon { color: var(--color-gray-900); width: var(--size-16); height: var(--size-16); } `;function tw(e){let t,r,n=(0,S.c)(4),{errorCode:o}=e;return n[0]!==o?(t=o?(0,j.jsx)(tx,{className:"error-feedback",errorCode:o}):null,n[0]=o,n[1]=t):t=n[1],n[2]!==t?(r=(0,j.jsx)("footer",{"data-nextjs-error-overlay-footer":!0,className:"error-overlay-footer",children:t}),n[2]=t,n[3]=r):r=n[3],r}let tk=` .error-overlay-footer { display: flex; flex-direction: row; justify-content: space-between; gap: 8px; padding: 12px; background: var(--color-background-200); border-top: 1px solid var(--color-gray-400); } .error-feedback { margin-left: auto; p { font-size: var(--size-14); font-weight: 500; margin: 0; } } ${t_} `;function tj(e){let t,r,n,o,a,i=(0,S.c)(12),{errorMessage:l,errorType:s}=e,[c,u]=(0,C.useState)(!1),[d,f]=(0,C.useState)(!1),p=(0,C.useRef)(null);if(i[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{p.current&&f(p.current.scrollHeight>200)},i[0]=t):t=i[0],i[1]!==l?(r=[l],i[1]=l,i[2]=r):r=i[2],(0,C.useLayoutEffect)(t,r),!l)return null;let h=d&&"Blocking Route"!==s,m=`nextjs__container_errors_desc ${h&&!c?"truncated":""}`;return i[3]!==l||i[4]!==m?(n=(0,j.jsx)("div",{ref:p,id:"nextjs__container_errors_desc",className:m,children:l}),i[3]=l,i[4]=m,i[5]=n):n=i[5],i[6]!==c||i[7]!==h?(o=h&&!c&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"nextjs__container_errors_gradient_overlay"}),(0,j.jsx)("button",{onClick:()=>u(!0),className:"nextjs__container_errors_expand_button","aria-expanded":c,"aria-controls":"nextjs__container_errors_desc",children:"Show More"})]}),i[6]=c,i[7]=h,i[8]=o):o=i[8],i[9]!==n||i[10]!==o?(a=(0,j.jsxs)("div",{className:"nextjs__container_errors_wrapper",children:[n,o]}),i[9]=n,i[10]=o,i[11]=a):a=i[11],a}let tS=` .nextjs__container_errors_wrapper { position: relative; } .nextjs__container_errors_desc { margin: 0; margin-left: 4px; color: var(--color-red-900); font-weight: 500; font-size: var(--size-16); letter-spacing: -0.32px; line-height: var(--size-24); overflow-wrap: break-word; white-space: pre-wrap; } .nextjs__container_errors_desc.truncated { max-height: 200px; overflow: hidden; } .nextjs__container_errors_gradient_overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 85px; background: linear-gradient( 180deg, rgba(250, 250, 250, 0) 0%, var(--color-background-100) 100% ); } .nextjs__container_errors_expand_button { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; padding: 6px 8px; background: var(--color-background-100); border: 1px solid var(--color-gray-alpha-400); border-radius: 999px; box-shadow: 0px 2px 2px var(--color-gray-alpha-100), 0px 8px 8px -8px var(--color-gray-alpha-100); font-size: var(--size-13); cursor: pointer; color: var(--color-gray-900); font-weight: 500; transition: background-color 0.2s ease; } .nextjs__container_errors_expand_button:hover { background: var(--color-gray-100); } `;function tC(e){let t,r=(0,S.c)(3),{errorType:n}=e,o=`nextjs__container_errors_label ${"Blocking Route"===n||"Ambiguous Metadata"===n?"nextjs__container_errors_label_blocking_page":""}`;return r[0]!==n||r[1]!==o?(t=(0,j.jsx)("span",{id:"nextjs__container_errors_label",className:o,children:n}),r[0]=n,r[1]=o,r[2]=t):t=r[2],t}let tE=` .nextjs__container_errors_label { padding: 2px 6px; margin: 0; border-radius: var(--rounded-md-2); background: var(--color-red-100); font-weight: 600; font-size: var(--size-12); color: var(--color-red-900); font-family: var(--font-stack-monospace); line-height: var(--size-20); } .nextjs__container_errors_label_blocking_page { background: var(--color-blue-100); color: var(--color-blue-900); } `;function tT(e){let t,r,n=(0,S.c)(4),{title:o,className:a}=e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.24996 12.0608L8.71963 11.5304L5.89641 8.70722C5.50588 8.3167 5.50588 7.68353 5.89641 7.29301L8.71963 4.46978L9.24996 3.93945L10.3106 5.00011L9.78029 5.53044L7.31062 8.00011L9.78029 10.4698L10.3106 11.0001L9.24996 12.0608Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==a||n[2]!==o?(r=(0,j.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":o,className:a,children:t}),n[1]=a,n[2]=o,n[3]=r):r=n[3],r}function tN(e){let t,r,n=(0,S.c)(4),{title:o,className:a}=e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75011 3.93945L7.28044 4.46978L10.1037 7.29301C10.4942 7.68353 10.4942 8.3167 10.1037 8.70722L7.28044 11.5304L6.75011 12.0608L5.68945 11.0001L6.21978 10.4698L8.68945 8.00011L6.21978 5.53044L5.68945 5.00011L6.75011 3.93945Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==a||n[2]!==o?(r=(0,j.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,"aria-label":o,children:t}),n[1]=a,n[2]=o,n[3]=r):r=n[3],r}function tL(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h,m,g=(0,S.c)(40),{runtimeErrors:v,activeIdx:y,onActiveIndexChange:b}=e;g[0]!==y||g[1]!==b?(t=()=>(0,C.startTransition)(()=>{y>0&&b(Math.max(0,y-1))}),g[0]=y,g[1]=b,g[2]=t):t=g[2];let x=t;g[3]!==y||g[4]!==b||g[5]!==v.length?(r=()=>(0,C.startTransition)(()=>{y{T(e)},g[7]=n):n=g[7];let N=n;g[8]!==_||g[9]!==x||g[10]!==E?(o=()=>{if(null==E)return;let e=E.getRootNode(),t=self.document,r=function(e){"ArrowLeft"===e.key?(e.preventDefault(),e.stopPropagation(),x&&x()):"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),_&&_())};return e.addEventListener("keydown",r),e!==t&&t.addEventListener("keydown",r),function(){e.removeEventListener("keydown",r),e!==t&&t.removeEventListener("keydown",r)}},a=[E,_,x],g[8]=_,g[9]=x,g[10]=E,g[11]=o,g[12]=a):(o=g[11],a=g[12]),(0,C.useEffect)(o,a),g[13]!==y||g[14]!==E||g[15]!==v.length?(i=()=>{if(null==E)return;let e=E.getRootNode();if(e instanceof ShadowRoot){let t=e.activeElement;0===y?w.current&&t===w.current&&w.current.blur():y===v.length-1&&k.current&&t===k.current&&k.current.blur()}},l=[E,y,v.length],g[13]=y,g[14]=E,g[15]=v.length,g[16]=i,g[17]=l):(i=g[16],l=g[17]),(0,C.useEffect)(i,l);let L=0===y,I=0===y;g[18]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)(tT,{title:"previous",className:"error-overlay-pagination-button-icon"}),g[18]=s):s=g[18],g[19]!==x||g[20]!==L||g[21]!==I?(c=(0,j.jsx)("button",{ref:w,type:"button",disabled:L,"aria-disabled":I,onClick:x,"data-nextjs-dialog-error-previous":!0,className:"error-overlay-pagination-button",children:s}),g[19]=x,g[20]=L,g[21]=I,g[22]=c):c=g[22];let P=y+1;g[23]!==y||g[24]!==P?(u=(0,j.jsxs)("span",{"data-nextjs-dialog-error-index":y,children:[P,"/"]}),g[23]=y,g[24]=P,g[25]=u):u=g[25];let z=v.length||1;g[26]!==z?(d=(0,j.jsx)("span",{"data-nextjs-dialog-header-total-count":!0,children:z}),g[26]=z,g[27]=d):d=g[27],g[28]!==u||g[29]!==d?(f=(0,j.jsxs)("div",{className:"error-overlay-pagination-count",children:[u,d]}),g[28]=u,g[29]=d,g[30]=f):f=g[30];let R=y>=v.length-1,O=y>=v.length-1;return g[31]===Symbol.for("react.memo_cache_sentinel")?(p=(0,j.jsx)(tN,{title:"next",className:"error-overlay-pagination-button-icon"}),g[31]=p):p=g[31],g[32]!==_||g[33]!==R||g[34]!==O?(h=(0,j.jsx)("button",{ref:k,type:"button",disabled:R,"aria-disabled":O,onClick:_,"data-nextjs-dialog-error-next":!0,className:"error-overlay-pagination-button",children:p}),g[32]=_,g[33]=R,g[34]=O,g[35]=h):h=g[35],g[36]!==c||g[37]!==f||g[38]!==h?(m=(0,j.jsxs)("nav",{className:"error-overlay-pagination dialog-exclude-closing-from-outside-click",ref:N,children:[c,f,h]}),g[36]=c,g[37]=f,g[38]=h,g[39]=m):m=g[39],m}let tI=` .error-overlay-pagination { -webkit-font-smoothing: antialiased; display: flex; justify-content: center; align-items: center; gap: 8px; width: fit-content; } .error-overlay-pagination-count { color: var(--color-gray-900); text-align: center; font-size: var(--size-14); font-weight: 500; line-height: var(--size-16); font-variant-numeric: tabular-nums; } .error-overlay-pagination-button { display: flex; justify-content: center; align-items: center; width: var(--size-24); height: var(--size-24); background: var(--color-gray-300); flex-shrink: 0; border: none; border-radius: var(--rounded-full); svg { width: var(--size-16); height: var(--size-16); } &:focus-visible { outline: var(--focus-ring); } &:not(:disabled):active { background: var(--color-gray-500); } &:disabled { opacity: 0.5; cursor: not-allowed; } } .error-overlay-pagination-button-icon { color: var(--color-gray-1000); } `;function tP(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("circle",{cx:"7",cy:"7",r:"5.5",strokeWidth:"3"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function tz(e){let t,r,n,o,a,i,l,s,c,u,d,f,p=(0,S.c)(31),{versionInfo:h,bundlerName:m}=e,{staleness:g}=h;if(p[0]!==m||p[1]!==g||p[2]!==h){a=Symbol.for("react.early_return_sentinel");r:{let{text:e,indicatorClass:s,title:c}=function({installed:e,staleness:t,expected:r}){let n="",o="",a="",i=`Next.js ${e}`;switch(t){case"newer-than-npm":case"fresh":n=i,o=`Latest available version is detected (${e}).`,a="fresh";break;case"stale-patch":case"stale-minor":n=`${i} (stale)`,o=`There is a newer version (${r}) available, upgrade recommended! `,a="stale";break;case"stale-major":n=`${i} (outdated)`,o=`An outdated version detected (latest is ${r}), upgrade is highly recommended!`,a="outdated";break;case"stale-prerelease":n=`${i} (stale)`,o=`There is a newer canary version (${r}) available, please upgrade! `,a="stale";break;case"unknown":n=`${i} (unknown)`,o="No Next.js version data was found.",a="unknown"}return{text:n,indicatorClass:a,title:o}}(h);if(i=e,l=c,r="Turbopack"===m,g.startsWith("stale")){let e,t,n=r&&"turbopack-text";p[10]!==n?(e=e6(n),p[10]=n,p[11]=e):e=p[11],p[12]!==m||p[13]!==e?(t=(0,j.jsx)("span",{className:e,children:m}),p[12]=m,p[13]=e,p[14]=t):t=p[14],a=(0,j.jsxs)("a",{className:"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",target:"_blank",rel:"noopener noreferrer",href:"https://nextjs.org/docs/messages/version-staleness",children:[(0,j.jsx)(tP,{className:e6("version-staleness-indicator",s)}),(0,j.jsx)("span",{"data-nextjs-version-checker":!0,title:l,children:i}),t]});break r}o="nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",t=tP,n=e6("version-staleness-indicator",s)}p[0]=m,p[1]=g,p[2]=h,p[3]=t,p[4]=r,p[5]=n,p[6]=o,p[7]=a,p[8]=i,p[9]=l}else t=p[3],r=p[4],n=p[5],o=p[6],a=p[7],i=p[8],l=p[9];if(a!==Symbol.for("react.early_return_sentinel"))return a;p[15]!==t||p[16]!==n?(s=(0,j.jsx)(t,{className:n}),p[15]=t,p[16]=n,p[17]=s):s=p[17],p[18]!==i||p[19]!==l?(c=(0,j.jsx)("span",{"data-nextjs-version-checker":!0,title:l,children:i}),p[18]=i,p[19]=l,p[20]=c):c=p[20];let v=r&&"turbopack-text";return p[21]!==v?(u=e6(v),p[21]=v,p[22]=u):u=p[22],p[23]!==m||p[24]!==u?(d=(0,j.jsx)("span",{className:u,children:m}),p[23]=m,p[24]=u,p[25]=d):d=p[25],p[26]!==o||p[27]!==s||p[28]!==c||p[29]!==d?(f=(0,j.jsxs)("span",{className:o,children:[s,c,d]}),p[26]=o,p[27]=s,p[28]=c,p[29]=d,p[30]=f):f=p[30],f}let tR=` .nextjs-container-build-error-version-status { display: flex; justify-content: center; align-items: center; gap: 4px; height: var(--size-26); padding: 6px 8px 6px 6px; background: var(--color-background-100); background-clip: padding-box; border: 1px solid var(--color-gray-alpha-400); box-shadow: var(--shadow-small); border-radius: var(--rounded-full); color: var(--color-gray-900); font-size: var(--size-12); font-weight: 500; line-height: var(--size-16); } a.nextjs-container-build-error-version-status { text-decoration: none; color: var(--color-gray-900); &:hover { background: var(--color-gray-100); } &:focus { outline: var(--focus-ring); } } .version-staleness-indicator.fresh { fill: var(--color-green-800); stroke: var(--color-green-300); } .version-staleness-indicator.stale { fill: var(--color-amber-800); stroke: var(--color-amber-300); } .version-staleness-indicator.outdated { fill: var(--color-red-800); stroke: var(--color-red-300); } .version-staleness-indicator.unknown { fill: var(--color-gray-800); stroke: var(--color-gray-300); } .nextjs-container-build-error-version-status > .turbopack-text { background: linear-gradient( to right, var(--color-turbopack-text-red) 0%, var(--color-turbopack-text-blue) 100% ); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `;function tO(e){let t,r,n,o,a=(0,S.c)(11),{runtimeErrors:i,activeIdx:l,setActiveIndex:s,versionInfo:c}=e,u=process.env.__NEXT_BUNDLER||"Turbopack";a[0]!==i?(t=i??[],a[0]=i,a[1]=t):t=a[1];let d=l??0,f=s??tM;return a[2]!==t||a[3]!==d||a[4]!==f?(r=(0,j.jsx)(tD,{side:"left",children:(0,j.jsx)(tL,{runtimeErrors:t,activeIdx:d,onActiveIndexChange:f})}),a[2]=t,a[3]=d,a[4]=f,a[5]=r):r=a[5],a[6]!==c?(n=c&&(0,j.jsx)(tD,{side:"right",children:(0,j.jsx)(tz,{versionInfo:c,bundlerName:u})}),a[6]=c,a[7]=n):n=a[7],a[8]!==r||a[9]!==n?(o=(0,j.jsxs)("div",{"data-nextjs-error-overlay-nav":!0,children:[r,n]}),a[8]=r,a[9]=n,a[10]=o):o=a[10],o}function tM(){}let tA=` [data-nextjs-error-overlay-nav] { --stroke-color: var(--color-gray-400); --background-color: var(--color-background-100); display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; z-index: 2; outline: none; translate: var(--next-dialog-border-width) var(--next-dialog-border-width); max-width: var(--next-dialog-max-width); .error-overlay-notch { translate: calc(var(--next-dialog-border-width) * -1); width: auto; height: var(--next-dialog-notch-height); padding: 12px; background: var(--background-color); border: var(--next-dialog-border-width) solid var(--stroke-color); border-bottom: none; position: relative; &[data-side='left'] { padding-right: 0; border-radius: var(--next-dialog-radius) 0 0 0; .error-overlay-notch-tail { right: -54px; } > *:not(.error-overlay-notch-tail) { margin-right: -10px; } } &[data-side='right'] { padding-left: 0; border-radius: 0 var(--next-dialog-radius) 0 0; .error-overlay-notch-tail { left: -54px; transform: rotateY(180deg); } > *:not(.error-overlay-notch-tail) { margin-left: -12px; } } .error-overlay-notch-tail { position: absolute; top: calc(var(--next-dialog-border-width) * -1); pointer-events: none; z-index: -1; height: calc(100% + var(--next-dialog-border-width)); } } } @media (max-width: 600px) { [data-nextjs-error-overlay-nav] { background: var(--background-color); border-radius: var(--next-dialog-radius) var(--next-dialog-radius) 0 0; border: var(--next-dialog-border-width) solid var(--stroke-color); border-bottom: none; overflow: hidden; translate: 0 var(--next-dialog-border-width); .error-overlay-notch { border-radius: 0; border: 0; &[data-side="left"], &[data-side="right"] { border-radius: 0; } .error-overlay-notch-tail { display: none; } } } } `;function tD(e){let t,r,n=(0,S.c)(4),{children:o,side:a}=e,i=void 0===a?"left":a;return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)(tZ,{}),n[0]=t):t=n[0],n[1]!==o||n[2]!==i?(r=(0,j.jsxs)("div",{className:"error-overlay-notch","data-side":i,children:[o,t]}),n[1]=o,n[2]=i,n[3]=r):r=n[3],r}function tZ(){let e,t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e={maskType:"alpha"},n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsxs)("mask",{id:"error_overlay_nav_mask0_2667_14687",style:e,maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",children:[(0,j.jsxs)("mask",{id:"error_overlay_nav_path_1_outside_1_2667_14687",maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",fill:"black",children:[(0,j.jsx)("rect",{fill:"white",y:"-1",width:"60",height:"43"}),(0,j.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z"})]}),(0,j.jsx)("path",{d:"M1 0L8.0783 0C15.772 0 22.7836 4.41324 26.111 11.3501L34.8889 29.6498C38.2164 36.5868 45.228 41 52.9217 41H60H1L1 0Z",fill:"white"}),(0,j.jsx)("path",{d:"M1 0V-1H0V0L1 0ZM1 41H0V42H1V41ZM34.8889 29.6498L33.9873 30.0823L34.8889 29.6498ZM26.111 11.3501L27.0127 10.9177L26.111 11.3501ZM1 1H8.0783V-1H1V1ZM60 40H1V42H60V40ZM2 41V0L0 0L0 41H2ZM25.2094 11.7826L33.9873 30.0823L35.7906 29.2174L27.0127 10.9177L25.2094 11.7826ZM52.9217 42H60V40H52.9217V42ZM33.9873 30.0823C37.4811 37.3661 44.8433 42 52.9217 42V40C45.6127 40 38.9517 35.8074 35.7906 29.2174L33.9873 30.0823ZM8.0783 1C15.3873 1 22.0483 5.19257 25.2094 11.7826L27.0127 10.9177C23.5188 3.6339 16.1567 -1 8.0783 -1V1Z",fill:"black",mask:"url(#error_overlay_nav_path_1_outside_1_2667_14687)"})]}),n[1]=t):t=n[1],n[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsxs)("svg",{width:"60",height:"42",viewBox:"0 0 60 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"error-overlay-notch-tail",preserveAspectRatio:"none",children:[t,(0,j.jsxs)("g",{mask:"url(#error_overlay_nav_mask0_2667_14687)",children:[(0,j.jsxs)("mask",{id:"error_overlay_nav_path_3_outside_2_2667_14687",maskUnits:"userSpaceOnUse",x:"-1",y:"0.0244141",width:"60",height:"43",fill:"black",children:[(0,j.jsx)("rect",{fill:"white",x:"-1",y:"0.0244141",width:"60",height:"43"}),(0,j.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z"})]}),(0,j.jsx)("path",{d:"M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z",fill:"var(--background-color)"}),(0,j.jsx)("path",{d:"M0 1.02441L0 0.0244141H-1V1.02441H0ZM0 42.0244H-1V43.0244H0L0 42.0244ZM33.8889 30.6743L32.9873 31.1068L33.8889 30.6743ZM25.111 12.3746L26.0127 11.9421L25.111 12.3746ZM0 2.02441H7.0783V0.0244141H0L0 2.02441ZM59 41.0244H0L0 43.0244H59V41.0244ZM1 42.0244L1 1.02441H-1L-1 42.0244H1ZM24.2094 12.8071L32.9873 31.1068L34.7906 30.2418L26.0127 11.9421L24.2094 12.8071ZM51.9217 43.0244H59V41.0244H51.9217V43.0244ZM32.9873 31.1068C36.4811 38.3905 43.8433 43.0244 51.9217 43.0244V41.0244C44.6127 41.0244 37.9517 36.8318 34.7906 30.2418L32.9873 31.1068ZM7.0783 2.02441C14.3873 2.02441 21.0483 6.21699 24.2094 12.8071L26.0127 11.9421C22.5188 4.65831 15.1567 0.0244141 7.0783 0.0244141V2.02441Z",fill:"var(--stroke-color)",mask:"url(#error_overlay_nav_path_3_outside_2_2667_14687)"})]})]}),n[2]=r):r=n[2],r}let tF=["[data-next-mark]","[data-issues-open]","#nextjs-dev-tools-menu","[data-nextjs-error-overlay-nav]","[data-info-popover]","[data-nextjs-devtools-panel-overlay]","[data-nextjs-devtools-panel-footer]","[data-nextjs-error-overlay-footer]"],tU=function(e){var t,r,n;let o,a,i,l,s,c,u,d,f,p,h,m,g,v,y,b,x=(0,S.c)(23);x[0]!==e?({children:i,className:l,onClose:s,"aria-labelledby":a,"aria-describedby":o,...c}=e,x[0]=e,x[1]=o,x[2]=a,x[3]=i,x[4]=l,x[5]=s,x[6]=c):(o=x[1],a=x[2],i=x[3],l=x[4],s=x[5],c=x[6]);let _=C.useRef(null),[w,k]=C.useState("undefined"!=typeof document&&document.hasFocus()?"dialog":void 0);return x[7]!==s?(u=e=>(e.preventDefault(),s?.()),x[7]=s,x[8]=u):u=x[8],t=_,r=tF,n=u,(b=(0,S.c)(5))[0]!==r||b[1]!==t||b[2]!==n?(v=()=>{let e=t&&"current"in t?t.current:t;if(null==e||null==n)return;let o=t=>{!e||e.contains(t.target)||r.some(e=>t.target.closest(e))||n(t)},a=e.getRootNode();return a.addEventListener("mouseup",o),a.addEventListener("touchend",o,{passive:!1}),function(){a.removeEventListener("mouseup",o),a.removeEventListener("touchend",o)}},y=[n,t,r],b[0]=r,b[1]=t,b[2]=n,b[3]=v,b[4]=y):(v=b[3],y=b[4]),C.useEffect(v,y),x[9]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{if(null==_.current)return;let e=function(){k(document.hasFocus()?"dialog":void 0)};return window.addEventListener("focus",e),window.addEventListener("blur",e),()=>{window.removeEventListener("focus",e),window.removeEventListener("blur",e)}},f=[],x[9]=d,x[10]=f):(d=x[9],f=x[10]),C.useEffect(d,f),x[11]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{let e=_.current,t=e?.getRootNode(),r=t instanceof ShadowRoot?t?.activeElement:null;return e?.focus(),()=>{e?.blur(),r?.focus()}},h=[],x[11]=p,x[12]=h):(p=x[11],h=x[12]),C.useEffect(p,h),x[13]!==s?(m=e=>{"Escape"===e.key&&s?.()},x[13]=s,x[14]=m):m=x[14],x[15]!==o||x[16]!==a||x[17]!==i||x[18]!==l||x[19]!==c||x[20]!==w||x[21]!==m?(g=(0,j.jsx)("div",{ref:_,tabIndex:-1,"data-nextjs-dialog":!0,"data-nextjs-scrollable-content":!0,role:w,"aria-labelledby":a,"aria-describedby":o,"aria-modal":"true",className:l,onKeyDown:m,...c,children:i}),x[15]=o,x[16]=a,x[17]=i,x[18]=l,x[19]=c,x[20]=w,x[21]=m,x[22]=g):g=x[22],g};function t$(e){let t,r,n,o,a,i,l=(0,S.c)(12);return l[0]!==e?({children:t,onClose:n,footer:r,...o}=e,l[0]=e,l[1]=t,l[2]=r,l[3]=n,l[4]=o):(t=l[1],r=l[2],n=l[3],o=l[4]),l[5]!==t||l[6]!==n||l[7]!==o?(a=(0,j.jsx)(tU,{"aria-labelledby":"nextjs__container_errors_label","aria-describedby":"nextjs__container_errors_desc",className:"error-overlay-dialog-scroll",onClose:n,...o,children:t}),l[5]=t,l[6]=n,l[7]=o,l[8]=a):a=l[8],l[9]!==r||l[10]!==a?(i=(0,j.jsxs)("div",{className:"error-overlay-dialog-container",children:[a,r]}),l[9]=r,l[10]=a,l[11]=i):i=l[11],i}let tH=` .error-overlay-dialog-container { display: flex; flex-direction: column; background: var(--color-background-100); background-clip: padding-box; border: var(--next-dialog-border-width) solid var(--color-gray-400); border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius); box-shadow: var(--shadow-menu); position: relative; overflow: hidden; } .error-overlay-dialog-scroll { overflow-y: auto; height: 100%; } `;function tV(e){let t,r=(0,S.c)(2);return r[0]!==e?(t=(0,j.jsx)("div",{"data-nextjs-dialog-header":!0,...e,children:e.children}),r[0]=e,r[1]=t):t=r[1],t}function tB(e){let t,r=(0,S.c)(2),{children:n}=e;return r[0]!==n?(t=(0,j.jsx)(tV,{className:"nextjs-container-errors-header",children:n}),r[0]=n,r[1]=t):t=r[1],t}let tq=` .nextjs-container-errors-header { position: relative; } .nextjs-container-errors-header > h1 { font-size: var(--size-20); line-height: var(--size-24); font-weight: bold; margin: calc(16px * 1.5) 0; color: var(--color-title-h1); } .nextjs-container-errors-header small { font-size: var(--size-14); color: var(--color-accents-1); margin-left: 16px; } .nextjs-container-errors-header small > span { font-family: var(--font-stack-monospace); } .nextjs-container-errors-header > div > small { margin: 0; margin-top: 4px; } .nextjs-container-errors-header > p > a { color: inherit; font-weight: bold; } .nextjs-container-errors-header > .nextjs-container-build-error-version-status { position: absolute; top: 16px; right: 16px; } `;function tW(e){let t,r=(0,S.c)(2),{children:n}=e;return r[0]!==n?(t=(0,j.jsx)(e3,{className:"nextjs-container-errors-body",children:n}),r[0]=n,r[1]=t):t=r[1],t}let tK=0,tY=function(e){let t,r,n,o,a,i=(0,S.c)(9);return i[0]!==e?({className:r,children:t,...n}=e,i[0]=e,i[1]=t,i[2]=r,i[3]=n):(t=i[1],r=i[2],n=i[3]),i[4]===Symbol.for("react.memo_cache_sentinel")?(o=[],i[4]=o):o=i[4],C.useEffect(tG,o),i[5]!==t||i[6]!==r||i[7]!==n?(a=(0,j.jsx)("div",{"data-nextjs-dialog-overlay":!0,className:r,...n,children:t}),i[5]=t,i[6]=r,i[7]=n,i[8]=a):a=i[8],a};function tX(){setTimeout(()=>{0!==tK&&0==--tK&&(void 0!==e&&(document.body.style.paddingRight=e,e=void 0),void 0!==t&&(document.body.style.overflow=t,t=void 0))})}function tG(){return setTimeout(()=>{if(tK++>0)return;let r=window.innerWidth-document.documentElement.clientWidth;r>0&&(e=document.body.style.paddingRight,document.body.style.paddingRight=`${r}px`),t=document.body.style.overflow,document.body.style.overflow="hidden"}),tX}function tQ(e){let t,r,n,o=(0,S.c)(6);return o[0]!==e?({children:t,...r}=e,o[0]=e,o[1]=t,o[2]=r):(t=o[1],r=o[2]),o[3]!==t||o[4]!==r?(n=(0,j.jsx)(tY,{...r,children:t}),o[3]=t,o[4]=r,o[5]=n):n=o[5],n}let tJ=e_` [data-nextjs-dialog-overlay] { padding: initial; top: 10vh; } `;function t0(e){let t,r,n,o=(0,S.c)(4),{errorCount:a,activeIdx:i}=e,l=Math.min(a-i-1,2);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-1",children:"1"}),r=(0,j.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-2",children:"2"}),o[0]=t,o[1]=r):(t=o[0],r=o[1]),o[2]!==l?(n=(0,j.jsx)("div",{"aria-hidden":!0,className:"error-overlay-bottom-stack",children:(0,j.jsxs)("div",{className:"error-overlay-bottom-stack-stack","data-stack-count":l,children:[t,r]})}),o[2]=l,o[3]=n):n=o[3],n}let t1=` .error-overlay-bottom-stack-layer { width: 100%; height: var(--stack-layer-height); position: relative; border: 1px solid var(--color-gray-400); border-radius: var(--rounded-xl); background: var(--color-background-200); transition: translate 350ms var(--timing-swift), box-shadow 350ms var(--timing-swift); } .error-overlay-bottom-stack-layer-1 { width: calc(100% - var(--size-24)); } .error-overlay-bottom-stack-layer-2 { width: calc(100% - var(--size-48)); z-index: -1; } .error-overlay-bottom-stack { width: 100%; position: absolute; bottom: -1px; height: 0; overflow: visible; } .error-overlay-bottom-stack-stack { --stack-layer-height: 44px; --stack-layer-height-half: calc(var(--stack-layer-height) / 2); --stack-layer-trim: 13px; --shadow: 0px 0.925px 0.925px 0px rgba(0, 0, 0, 0.02), 0px 3.7px 7.4px -3.7px rgba(0, 0, 0, 0.04), 0px 14.8px 22.2px -7.4px rgba(0, 0, 0, 0.06); display: grid; place-items: center center; width: 100%; position: fixed; height: 0; overflow: visible; z-index: -1; max-width: var(--next-dialog-max-width); .error-overlay-bottom-stack-layer { grid-area: 1 / 1; /* Hide */ translate: 0 calc(var(--stack-layer-height) * -1); } &[data-stack-count='1'], &[data-stack-count='2'] { .error-overlay-bottom-stack-layer-1 { translate: 0 calc(var(--stack-layer-height-half) * -1 - var(--stack-layer-trim)); } } &[data-stack-count='2'] { .error-overlay-bottom-stack-layer-2 { translate: 0 calc(var(--stack-layer-trim) * -1 * 2); } } /* Only the bottom stack should have the shadow */ &[data-stack-count='1'] .error-overlay-bottom-stack-layer-1 { box-shadow: var(--shadow); } &[data-stack-count='2'] { .error-overlay-bottom-stack-layer-2 { box-shadow: var(--shadow); } } } `;function t2(e){let t,r=(0,S.c)(2),{environmentName:n}=e;return r[0]!==n?(t=(0,j.jsx)("span",{"data-nextjs-environment-name-label":!0,children:n}),r[0]=n,r[1]=t):t=r[1],t}let t3=` [data-nextjs-environment-name-label] { padding: 2px 6px; margin: 0; border-radius: var(--rounded-md-2); background: var(--color-gray-100); font-weight: 600; font-size: var(--size-12); color: var(--color-gray-900); font-family: var(--font-stack-monospace); line-height: var(--size-20); } `;function t4(e){let t=e?.getRootNode();return t instanceof ShadowRoot?t?.activeElement:null}function t5(e,t,r,n,o){let a,i,l=(0,S.c)(7);l[0]!==r||l[1]!==n||l[2]!==o||l[3]!==e||l[4]!==t?(a=()=>{if(!r)return;let a=o||e.current?.ownerDocument,i=function(r){let o=r.target;!(e.current&&e.current.contains(o))&&(e.current?.getBoundingClientRect()&&r.clientX>=e.current.getBoundingClientRect().left-10&&r.clientX<=e.current.getBoundingClientRect().right+10&&r.clientY>=e.current.getBoundingClientRect().top-10&&r.clientY<=e.current.getBoundingClientRect().bottom+10||t.current?.getBoundingClientRect()&&r.clientX>=t.current.getBoundingClientRect().left-10&&r.clientX<=t.current.getBoundingClientRect().right+10&&r.clientY>=t.current.getBoundingClientRect().top-10&&r.clientY<=t.current.getBoundingClientRect().bottom+10||n("outside"))},l=function(e){"Escape"===e.key&&n("escape")};return a?.addEventListener("mousedown",i),a?.addEventListener("keydown",l),()=>{a?.removeEventListener("mousedown",i),a?.removeEventListener("keydown",l)}},i=[r,n,o,e,t],l[0]=r,l[1]=n,l[2]=o,l[3]=e,l[4]=t,l[5]=a,l[6]=i):(a=l[5],i=l[6]),(0,C.useEffect)(a,i)}let t6="cubic-bezier(0.175, 0.885, 0.32, 1.1)",t9=(0,C.forwardRef)(function(e,t){let r,n,o=(0,S.c)(9),{stop:a,blur:i,side:l,style:s,height:c}=e,u=`${c}px`;o[0]!==i||o[1]!==a||o[2]!==s||o[3]!==u?(r={"--stop":a,"--blur":i,"--height":u,...s},o[0]=i,o[1]=a,o[2]=s,o[3]=u,o[4]=r):r=o[4];let d=r;return o[5]!==t||o[6]!==l||o[7]!==d?(n=(0,j.jsx)("div",{ref:t,"aria-hidden":!0,"data-nextjs-scroll-fader":!0,className:"nextjs-scroll-fader","data-side":l,style:d}),o[5]=t,o[6]=l,o[7]=d,o[8]=n):n=o[8],n}),t8=` .nextjs-scroll-fader { --blur: 1px; --stop: 25%; --height: 150px; --color-bg: var(--color-background-100); position: absolute; pointer-events: none; user-select: none; width: 100%; height: var(--height); left: 0; backdrop-filter: blur(var(--blur)); &[data-side="top"] { top: 0; background: linear-gradient(to top, transparent, var(--color-bg)); mask-image: linear-gradient(to bottom, var(--color-bg) var(--stop), transparent); } } `,t7=(0,C.forwardRef)(function(e,t){let r,n,o,a,i,l,s=(0,S.c)(13);s[0]!==e?({children:r,measure:n,...o}=e,s[0]=e,s[1]=r,s[2]=n,s[3]=o):(r=s[1],n=s[2],o=s[3]);let[c,u]=(0,C.useState)(null),[d,f]=function(e,t){let r,n,o,a=(0,S.c)(7),[i,l]=(0,C.useState)(0),[s,c]=(0,C.useState)(!0);return a[0]!==e||a[1]!==t?(r=()=>{let r;if(!t||!e)return;let n=new ResizeObserver(e=>{let[t]=e,{contentRect:n}=t;clearTimeout(r),r=window.setTimeout(()=>{c(!1)},100),l(n.height)});return n.observe(e),()=>n.disconnect()},n=[t,e],a[0]=e,a[1]=t,a[2]=r,a[3]=n):(r=a[2],n=a[3]),(0,C.useEffect)(r,n),a[4]!==i||a[5]!==s?(o=[i,s],a[4]=i,a[5]=s,a[6]=o):o=a[6],o}(c,n),p=f?"auto":d;return s[4]!==p?(a={height:p,transition:"height 250ms var(--timing-swift)"},s[4]=p,s[5]=a):a=s[5],s[6]!==r?(i=(0,j.jsx)("div",{ref:u,children:r}),s[6]=r,s[7]=i):i=s[7],s[8]!==o||s[9]!==t||s[10]!==a||s[11]!==i?(l=(0,j.jsx)("div",{...o,ref:t,style:a,children:i}),s[8]=o,s[9]=t,s[10]=a,s[11]=i,s[12]=l):l=s[12],l});function re(e){let t,r,n,o=(0,S.c)(6);o[0]!==e?({fixed:t,...r}=e,o[0]=e,o[1]=t,o[2]=r):(t=o[1],r=o[2]);let a=!!t||void 0;return o[3]!==r||o[4]!==a?(n=(0,j.jsx)("div",{"data-nextjs-dialog-backdrop":!0,"data-nextjs-dialog-backdrop-fixed":a,...r}),o[3]=r,o[4]=a,o[5]=n):n=o[5],n}function rt(e){var t,r;let n,o,a,i,l,s,c,u,d,f,p,h,m,g,v,y,b,x,_,w,k,E,T,N,L,I,P,z=(0,S.c)(66),{errorMessage:R,errorType:O,children:M,errorCode:A,errorCount:D,error:Z,debugInfo:F,isBuildError:U,onClose:$,versionInfo:H,runtimeErrors:V,activeIdx:B,setActiveIndex:q,isTurbopack:W,dialogResizerRef:K,generateErrorInfo:Y,rendered:X,transitionDurationMs:G}=e,Q=void 0===X||X,J=`${G}ms`;z[0]!==J?(n={"--transition-duration":J},z[0]=J,z[1]=n):n=z[1];let ee=n;z[2]!==Q||z[3]!==ee?(o={"data-rendered":Q,style:ee},z[2]=Q,z[3]=ee,z[4]=o):o=z[4];let et=o,[er,en]=C.useState(!!G),eo=C.useRef(null),ea=!!A,ei=C.useRef(null);t=ei,r=Q,void 0!==(I=(0,S.c)(11))[0]?(T=e=>{e?.focus()},I[0]=void 0,I[1]=T):T=I[1],P=(0,C.useEffectEvent)(T),I[2]!==r||I[3]!==P||I[4]!==t||null!==I[5]?(N=()=>{let e=null,n=function(t){let r;if("Tab"!==t.key||null===e)return;let[n,o]=(r=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))?[r[0],r[r.length-1]]:[],a=t4(e);t.shiftKey?a===n&&(o?.focus(),t.preventDefault()):a===o&&(n?.focus(),t.preventDefault())},o=setTimeout(()=>{if(e=t.current,r)P(e),e?.addEventListener("keydown",n);else t4(e)});return()=>{clearTimeout(o),e?.removeEventListener("keydown",n)}},I[2]=r,I[3]=P,I[4]=t,I[5]=null,I[6]=N):N=I[6],I[7]!==r||I[8]!==t||null!==I[9]?(L=[r,t,null],I[7]=r,I[8]=t,I[9]=null,I[10]=L):L=I[10],(0,C.useEffect)(N,L),z[5]===Symbol.for("react.memo_cache_sentinel")?(a=function(e){if(eo.current){let t=function(e,[t,r]){return Math.min(Math.max(e,t),r)}(e.currentTarget.scrollTop/17,[0,1]);eo.current.style.opacity=String(t)}},z[5]=a):a=z[5];let el=a;z[6]===Symbol.for("react.memo_cache_sentinel")?(i=function(e){let{propertyName:t,target:r}=e;"scale"===t&&r===ei.current&&en(!1)},z[6]=i):i=z[6];let es=i;z[7]!==U?(l=(0,j.jsx)(re,{fixed:U}),z[7]=U,z[8]=l):l=z[8],z[9]!==B||z[10]!==W||z[11]!==V||z[12]!==q||z[13]!==H?(s=(0,j.jsx)(tO,{runtimeErrors:V,activeIdx:B,setActiveIndex:q,versionInfo:H,isTurbopack:W}),z[9]=B,z[10]=W,z[11]=V,z[12]=q,z[13]=H,z[14]=s):s=z[14],z[15]!==A||z[16]!==ea?(c=ea&&(0,j.jsx)(tw,{errorCode:A}),z[15]=A,z[16]=ea,z[17]=c):c=z[17];let ec=!er;z[18]!==O?(u=(0,j.jsx)(tC,{errorType:O}),z[18]=O,z[19]=u):u=z[19],z[20]!==Z.environmentName?(d=Z.environmentName&&(0,j.jsx)(t2,{environmentName:Z.environmentName}),z[20]=Z.environmentName,z[21]=d):d=z[21],z[22]!==u||z[23]!==d?(f=(0,j.jsxs)("span",{"data-nextjs-error-label-group":!0,children:[u,d]}),z[22]=u,z[23]=d,z[24]=f):f=z[24],z[25]!==F||z[26]!==Z||z[27]!==Y?(p=(0,j.jsx)(tg,{error:Z,debugInfo:F,generateErrorInfo:Y}),z[25]=F,z[26]=Z,z[27]=Y,z[28]=p):p=z[28],z[29]!==A||z[30]!==f||z[31]!==p?(h=(0,j.jsxs)("div",{className:"nextjs__container_errors__error_title","data-nextjs-error-code":A,children:[f,p]}),z[29]=A,z[30]=f,z[31]=p,z[32]=h):h=z[32],z[33]!==R||z[34]!==O?(m=(0,j.jsx)(tj,{errorMessage:R,errorType:O}),z[33]=R,z[34]=O,z[35]=m):m=z[35],z[36]!==h||z[37]!==m?(g=(0,j.jsxs)(tB,{children:[h,m]}),z[36]=h,z[37]=m,z[38]=g):g=z[38],z[39]!==M?(v=(0,j.jsx)(tW,{children:M}),z[39]=M,z[40]=v):v=z[40],z[41]!==g||z[42]!==v?(y=(0,j.jsxs)(e4,{children:[g,v]}),z[41]=g,z[42]=v,z[43]=y):y=z[43],z[44]!==K||z[45]!==ec||z[46]!==y?(b=(0,j.jsx)(t7,{ref:K,measure:ec,"data-nextjs-dialog-sizer":!0,children:y}),z[44]=K,z[45]=ec,z[46]=y,z[47]=b):b=z[47];let eu=B??0;return z[48]!==D||z[49]!==eu?(x=(0,j.jsx)(t0,{errorCount:D,activeIdx:eu}),z[48]=D,z[49]=eu,z[50]=x):x=z[50],z[51]!==ea||z[52]!==$||z[53]!==c||z[54]!==b||z[55]!==x?(_=(0,j.jsxs)(t$,{onClose:$,"data-has-footer":ea,onScroll:el,footer:c,children:[b,x]}),z[51]=ea,z[52]=$,z[53]=c,z[54]=b,z[55]=x,z[56]=_):_=z[56],z[57]===Symbol.for("react.memo_cache_sentinel")?(w=(0,j.jsx)(t9,{ref:eo,side:"top",stop:"50%",blur:"4px",height:48}),z[57]=w):w=z[57],z[58]!==et||z[59]!==_||z[60]!==s?(k=(0,j.jsxs)("div",{"data-nextjs-dialog-root":!0,onTransitionEnd:es,ref:ei,...et,children:[s,_,w]}),z[58]=et,z[59]=_,z[60]=s,z[61]=k):k=z[61],z[62]!==et||z[63]!==k||z[64]!==l?(E=(0,j.jsxs)(tQ,{...et,children:[l,k]}),z[62]=et,z[63]=k,z[64]=l,z[65]=E):E=z[65],E}let rr=` ${tJ} ${tH} ${tq} ${tA} ${tE} ${tS} ${tv} [data-nextjs-error-label-group] { display: flex; align-items: center; gap: 8px; } `,rn=e_` [data-nextjs-dialog-overlay] { position: fixed; top: 0; right: 0; bottom: 0; left: 0; /* secondary z-index, -1 than toast z-index */ z-index: 2147483646; display: flex; align-content: center; align-items: center; flex-direction: column; padding: 10vh 15px 0; /* color schemes we handle. Every other scheme the UA would need to overwrite */ color-scheme: dark light; } @media (max-height: 812px) { [data-nextjs-dialog-overlay] { padding: 15px 15px 0; } } [data-nextjs-dialog-backdrop] { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: var(--color-backdrop); backdrop-filter: blur(10px); pointer-events: all; z-index: -1; } [data-nextjs-dialog-backdrop-fixed] { cursor: not-allowed; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } `;function ro(e){let t,r,n,o=(0,S.c)(9),{file:a,location:i}=e,l=i?.line??1,s=i?.column??1;o[0]!==a||o[1]!==l||o[2]!==s?(t={file:a,line1:l,column1:s},o[0]=a,o[1]=l,o[2]=s,o[3]=t):t=o[3];let c=eD(t),u=i?`:${i.line}:${i.column}`:null;return o[4]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,j.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,j.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,j.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}),o[4]=r):r=o[4],o[5]!==a||o[6]!==c||o[7]!==u?(n=(0,j.jsxs)("div",{"data-with-open-in-editor-link":!0,"data-with-open-in-editor-link-import-trace":!0,role:"link",onClick:c,title:"Click to open in your editor",children:[a,u,r]}),o[5]=a,o[6]=c,o[7]=u,o[8]=n):n=o[8],n}let ra=` [data-with-open-in-editor-link] svg { width: auto; height: var(--size-14); margin-left: 8px; } [data-with-open-in-editor-link] { cursor: pointer; } [data-with-open-in-editor-link]:hover { text-decoration: underline dotted; } [data-with-open-in-editor-link-import-trace] { margin-left: 16px; } `,ri=function(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h,m,g,v,y,b=(0,S.c)(42),{content:x}=e;if(b[0]!==x){let e,r,n;r=function(e){let t=e.shift();if(!t)return null;let[r,n,o]=t.split(":",3),a=Number(n),i=Number(o),l=!Number.isNaN(a)&&!Number.isNaN(i);return{fileName:l?r:t,location:l?{line1:a,column1:i}:void 0}}(e=x.split("\n")),n=function(e){if(e.some(e=>/ReactServerComponentsError:/.test(e))||e.some(e=>/Import trace for requested module:/.test(e))){let t=[];for(;/.+\..+/.test(e[e.length-1])&&!e[e.length-1].includes(":");){let r=e.pop().trim();t.unshift(r)}return t}return[]}(e),t={file:r,source:e.join("\n"),importTraceFiles:n},b[0]=x,b[1]=t}else t=b[1];let{file:_,source:w,importTraceFiles:k}=t;b[2]!==w?(r=eY().ansiToJson(w,{json:!0,use_classes:!0,remove_empty:!0}),b[2]=w,b[3]=r):r=b[3];let C=r,E=_?.fileName,T=_?.location?.line1??1,N=_?.location?.column1??1;b[4]!==E||b[5]!==T||b[6]!==N?(n={file:E,line1:T,column1:N},b[4]=E,b[5]=T,b[6]=N,b[7]=n):n=b[7];let L=eD(n),I=_?.fileName??null;if(b[8]!==_?.location?.column1||b[9]!==_?.location?.line1||b[10]!==I){let e={file:I,methodName:"",arguments:[],line1:_?.location?.line1??null,column1:_?.location?.column1??null},t=e?.file?.split(".").pop();l=!0,i="code-frame-header",o="code-frame-link",a=(0,j.jsx)("span",{className:"code-frame-icon",children:(0,j.jsx)(e$,{lang:t})}),s=!0,c=eA(e),b[8]=_?.location?.column1,b[9]=_?.location?.line1,b[10]=I,b[11]=o,b[12]=a,b[13]=i,b[14]=l,b[15]=s,b[16]=c}else o=b[11],a=b[12],i=b[13],l=b[14],s=b[15],c=b[16];return b[17]!==s||b[18]!==c?(u=(0,j.jsx)("span",{"data-text":s,children:c}),b[17]=s,b[18]=c,b[19]=u):u=b[19],b[20]===Symbol.for("react.memo_cache_sentinel")?(d=(0,j.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,j.jsx)(eF,{width:16,height:16})}),b[20]=d):d=b[20],b[21]!==L?(f=(0,j.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:L,children:d}),b[21]=L,b[22]=f):f=b[22],b[23]!==o||b[24]!==a||b[25]!==u||b[26]!==f?(p=(0,j.jsxs)("div",{className:o,children:[a,u,f]}),b[23]=o,b[24]=a,b[25]=u,b[26]=f,b[27]=p):p=b[27],b[28]!==i||b[29]!==p?(h=(0,j.jsx)("div",{className:i,children:p}),b[28]=i,b[29]=p,b[30]=h):h=b[30],b[31]!==C?(m=C.map(rs),b[31]=C,b[32]=m):m=b[32],b[33]!==k?(g=k.map(rc),b[33]=k,b[34]=g):g=b[34],b[35]!==m||b[36]!==g?(v=(0,j.jsx)("pre",{className:"code-frame-pre",children:(0,j.jsxs)("div",{className:"code-frame-lines",children:[m,g]})}),b[35]=m,b[36]=g,b[37]=v):v=b[37],b[38]!==l||b[39]!==h||b[40]!==v?(y=(0,j.jsxs)("div",{"data-nextjs-codeframe":l,children:[h,v]}),b[38]=l,b[39]=h,b[40]=v,b[41]=y):y=b[41],y},rl=` [data-nextjs-terminal]::selection, [data-nextjs-terminal] *::selection { background-color: var(--color-ansi-selection); } [data-nextjs-terminal] * { color: inherit; background-color: transparent; font-family: var(--font-stack-monospace); } [data-nextjs-terminal] > div > p { display: flex; align-items: center; justify-content: space-between; cursor: pointer; margin: 0; } [data-nextjs-terminal] > div > p:hover { text-decoration: underline dotted; } [data-nextjs-terminal] div > pre { overflow: hidden; display: inline-block; } `;function rs(e,t){return(0,j.jsx)("span",{style:{color:e.fg?`var(--color-${e.fg})`:void 0,..."bold"===e.decoration?{fontWeight:500}:"italic"===e.decoration?{fontStyle:"italic"}:void 0},children:(0,j.jsx)(eI,{text:e.content})},`terminal-entry-${t}`)}function rc(e){return(0,j.jsx)(ro,{isSourceFile:!1,file:e},e)}let ru=function(e){let t,r,n,o,a,i,l,s=(0,S.c)(19);s[0]!==e?({message:t,...r}=e,s[0]=e,s[1]=t,s[2]=r):(t=s[1],r=s[2]),s[3]!==t?(n=Error(t),s[3]=t,s[4]=n):n=s[4];let c=n;if(s[5]!==t){let e;e=t.split("\n"),o=eG()(e[1]||"").replace(/^Error: /,"")||"Failed to compile",s[5]=t,s[6]=o}else o=s[6];let u=o;s[7]!==u||s[8]!==t||s[9]!==r.versionInfo.installed?(a=async()=>{let e=[];if(e.push("## Error Type\nBuild Error"),u&&e.push(`## Error Message ${u}`),t){let r=eG()(t);e.push(`## Build Output ${r}`)}return`${e.join("\n\n")} Next.js version: ${r.versionInfo.installed} (${process.env.__NEXT_BUNDLER}) `},s[7]=u,s[8]=t,s[9]=r.versionInfo.installed,s[10]=a):a=s[10];let d=a;return s[11]!==t?(i=(0,j.jsx)(ri,{content:t}),s[11]=t,s[12]=i):i=s[12],s[13]!==c||s[14]!==u||s[15]!==d||s[16]!==r||s[17]!==i?(l=(0,j.jsx)(rt,{errorType:"Build Error",errorMessage:u,onClose:rd,error:c,generateErrorInfo:d,...r,children:i}),s[13]=c,s[14]=u,s[15]=d,s[16]=r,s[17]=i,s[18]=l):l=s[18],l};function rd(){}let rf=function(e){let t,r,n,o,a,i,l,s,c=(0,S.c)(26),{frame:u}=e,d=u.originalStackFrame??u.sourceStackFrame,f=!!u.originalCodeFrame;c[0]!==d||c[1]!==f?(t=f?{file:d.file,line1:d.line1??1,column1:d.column1??1}:void 0,c[0]=d,c[1]=f,c[2]=t):t=c[2];let p=eD(t);c[3]!==d?(r=eA(d),c[3]=d,c[4]=r):r=c[4];let h=r;if(!h)return null;let m=!f;return c[5]!==d.methodName?(n=(0,j.jsx)(eI,{text:d.methodName}),c[5]=d.methodName,c[6]=n):n=c[6],c[7]!==d.methodName||c[8]!==f||c[9]!==p?(o=f&&(0,j.jsx)("button",{onClick:p,className:"open-in-editor-button","aria-label":`Open ${d.methodName} in editor`,children:(0,j.jsx)(eF,{width:16,height:16})}),c[7]=d.methodName,c[8]=f,c[9]=p,c[10]=o):o=c[10],c[11]!==u.error||c[12]!==u.reason?(a=u.error?(0,j.jsx)("button",{className:"source-mapping-error-button",onClick:()=>console.error(u.reason),title:"Sourcemapping failed. Click to log cause of error.",children:(0,j.jsx)(eU,{width:16,height:16})}):null,c[11]=u.error,c[12]=u.reason,c[13]=a):a=c[13],c[14]!==n||c[15]!==o||c[16]!==a?(i=(0,j.jsxs)("div",{className:"call-stack-frame-method-name",children:[n,o,a]}),c[14]=n,c[15]=o,c[16]=a,c[17]=i):i=c[17],c[18]!==f||c[19]!==h?(l=(0,j.jsx)("span",{className:"call-stack-frame-file","data-has-original-code-frame":f,children:h}),c[18]=f,c[19]=h,c[20]=l):l=c[20],c[21]!==u.ignored||c[22]!==m||c[23]!==i||c[24]!==l?(s=(0,j.jsxs)("div",{"data-nextjs-call-stack-frame":!0,"data-nextjs-call-stack-frame-no-source":m,"data-nextjs-call-stack-frame-ignored":u.ignored,children:[i,l]}),c[21]=u.ignored,c[22]=m,c[23]=i,c[24]=l,c[25]=s):s=c[25],s},rp=` [data-nextjs-call-stack-frame-no-source] { padding: 6px 8px; margin-bottom: 4px; border-radius: var(--rounded-lg); } [data-nextjs-call-stack-frame-no-source]:last-child { margin-bottom: 0; } [data-nextjs-call-stack-frame-ignored="true"] { opacity: 0.6; } [data-nextjs-call-stack-frame] { user-select: text; display: block; box-sizing: border-box; user-select: text; -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; padding: 6px 8px; border-radius: var(--rounded-lg); } .call-stack-frame-method-name { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; font-family: var(--font-stack-monospace); color: var(--color-gray-1000); font-size: var(--size-14); font-weight: 500; line-height: var(--size-20); svg { width: var(--size-16px); height: var(--size-16px); } } .open-in-editor-button, .source-mapping-error-button { display: flex; align-items: center; justify-content: center; border-radius: var(--rounded-full); padding: 4px; color: var(--color-font); svg { width: var(--size-16); height: var(--size-16); } &:focus-visible { outline: var(--focus-ring); outline-offset: -2px; } &:hover { background: var(--color-gray-100); } } .call-stack-frame-file { color: var(--color-gray-900); font-size: var(--size-14); line-height: var(--size-20); word-wrap: break-word; } `;function rh(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70722 2.39641C8.3167 2.00588 7.68353 2.00588 7.29301 2.39641L4.46978 5.21963L3.93945 5.74996L5.00011 6.81062L5.53044 6.28029L8.00011 3.81062L10.4698 6.28029L11.0001 6.81062L12.0608 5.74996L11.5304 5.21963L8.70722 2.39641ZM5.53044 9.71963L5.00011 9.1893L3.93945 10.25L4.46978 10.7803L7.29301 13.6035C7.68353 13.994 8.3167 13.994 8.70722 13.6035L11.5304 10.7803L12.0608 10.25L11.0001 9.1893L10.4698 9.71963L8.00011 12.1893L5.53044 9.71963Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function rm(e){let t,r,n,o,a,i=(0,S.c)(17),{frames:l,isIgnoreListOpen:s,ignoredFramesTally:c,onToggleIgnoreList:u}=e;if(i[0]!==l.length?(t=(0,j.jsxs)("p",{"data-nextjs-call-stack-title":!0,children:["Call Stack ",(0,j.jsx)("span",{"data-nextjs-call-stack-count":!0,children:l.length})]}),i[0]=l.length,i[1]=t):t=i[1],i[2]!==c||i[3]!==s||i[4]!==u?(r=c>0&&(0,j.jsxs)("button",{"data-nextjs-call-stack-ignored-list-toggle-button":s,onClick:u,children:[`${s?"Hide":"Show"} ${c} ignore-listed frame(s)`,(0,j.jsx)(rh,{})]}),i[2]=c,i[3]=s,i[4]=u,i[5]=r):r=i[5],i[6]!==t||i[7]!==r?(n=(0,j.jsxs)("div",{"data-nextjs-call-stack-header":!0,children:[t,r]}),i[6]=t,i[7]=r,i[8]=n):n=i[8],i[9]!==l||i[10]!==s){let e;i[12]!==s?(e=(e,t)=>!e.ignored||s?(0,j.jsx)(rf,{frame:e},t):null,i[12]=s,i[13]=e):e=i[13],o=l.map(e),i[9]=l,i[10]=s,i[11]=o}else o=i[11];return i[14]!==n||i[15]!==o?(a=(0,j.jsxs)("div",{"data-nextjs-call-stack-container":!0,children:[n,o]}),i[14]=n,i[15]=o,i[16]=a):a=i[16],a}let rg=e_` [data-nextjs-call-stack-container] { position: relative; margin-top: 8px; } [data-nextjs-call-stack-header] { display: flex; justify-content: space-between; align-items: center; min-height: var(--size-28); padding: 8px 8px 12px 4px; width: 100%; } [data-nextjs-call-stack-title] { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; color: var(--color-gray-1000); font-size: var(--size-16); font-weight: 500; } [data-nextjs-call-stack-count] { display: flex; justify-content: center; align-items: center; width: var(--size-20); height: var(--size-20); gap: 4px; color: var(--color-gray-1000); text-align: center; font-size: var(--size-11); font-weight: 500; line-height: var(--size-16); border-radius: var(--rounded-full); background: var(--color-gray-300); } [data-nextjs-call-stack-ignored-list-toggle-button] { all: unset; display: flex; align-items: center; gap: 6px; color: var(--color-gray-900); font-size: var(--size-14); line-height: var(--size-20); border-radius: 6px; padding: 4px 6px; margin-right: -6px; transition: background 150ms ease; &:hover { background: var(--color-gray-100); } &:focus { outline: var(--focus-ring); } svg { width: var(--size-16); height: var(--size-16); } } `;function rv({frames:e,dialogResizerRef:t}){let r=(0,C.useRef)(NaN),[n,o]=(0,C.useState)(!1),a=(0,C.useMemo)(()=>e.reduce((e,t)=>e+ +!!t.ignored,0),[e]);return(0,j.jsx)(rm,{frames:e,isIgnoreListOpen:n,onToggleIgnoreList:function(){let e=t?.current;if(n){if(!e)return void o(!1);let{height:t}=e.getBoundingClientRect();r.current||(r.current=t),e.style.height=`${r.current}px`,e.addEventListener("transitionend",function t(){e.removeEventListener("transitionend",t),o(!1)})}else{if(e){let{height:t}=e.getBoundingClientRect();r.current||(r.current=t)}o(!0)}},ignoredFramesTally:a})}function ry(e){let t,r,n,o,a=(0,S.c)(8);a[0]!==e?(t=void 0===e?{}:e,a[0]=e,a[1]=t):t=a[1];let{collapsed:i}=t;return a[2]!==i?(r="boolean"==typeof i?{style:{transform:i?void 0:"rotate(90deg)"}}:{},a[2]=i,a[3]=r):r=a[3],a[4]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)("path",{style:{fill:"var(--color-font)"},fillRule:"evenodd",d:"m6.75 3.94.53.53 2.824 2.823a1 1 0 0 1 0 1.414L7.28 11.53l-.53.53L5.69 11l.53-.53L8.69 8 6.22 5.53 5.69 5l1.06-1.06Z",clipRule:"evenodd"}),a[4]=n):n=a[4],a[5]!==i||a[6]!==r?(o=(0,j.jsx)("svg",{"data-nextjs-call-stack-chevron-icon":!0,"data-collapsed":i,width:"16",height:"16",fill:"none",...r,children:n}),a[5]=i,a[6]=r,a[7]=o):o=a[7],o}function rb(e){let t,r,n,o,a,i,l,s,c,u=(0,S.c)(19),{reactOutputComponentDiff:d}=e,[f,p]=(0,C.useState)(!0);u[0]!==d?(t=[],d.split("\n").forEach((e,r)=>{let n="+"===e[0]||"-"===e[0],o=">"===e[0],a=n||o,i=a?e[0]:"",l=a?e.indexOf(i):-1,[s,c]=a?[e.slice(0,l),e.slice(l+1)]:[e,""];n?t.push((0,j.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,"data-nextjs-container-errors-pseudo-html--diff":"+"===i?"add":"remove",children:(0,j.jsxs)("span",{children:[s,(0,j.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:i}),c,"\n"]})},"comp-diff"+r)):t.push((0,j.jsxs)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,...o?{"data-nextjs-container-errors-pseudo-html--diff":"error"}:void 0,children:[s,(0,j.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:i}),c,"\n"]},"comp-diff"+r))}),u[0]=d,u[1]=t):t=u[1];let h=t,m=!f;return u[2]!==f?(r=()=>p(!f),n=(0,j.jsx)(ry,{collapsed:f}),u[2]=f,u[3]=r,u[4]=n):(r=u[3],n=u[4]),u[5]!==m||u[6]!==r||u[7]!==n?(o=(0,j.jsx)("button",{"aria-expanded":m,"aria-label":"complete Component Stack","data-nextjs-container-errors-pseudo-html-collapse-button":!0,onClick:r,children:n}),u[5]=m,u[6]=r,u[7]=n,u[8]=o):o=u[8],u[9]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsxs)("span",{"data-nextjs-hydration-diff-badge-item":"client",children:[(0,j.jsx)("span",{children:"+"})," Client"]}),u[9]=a):a=u[9],u[10]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsxs)("div",{"data-nextjs-hydration-diff-badge":!0,children:[a,(0,j.jsxs)("span",{"data-nextjs-hydration-diff-badge-item":"server",children:[(0,j.jsx)("span",{children:"-"})," Server"]})]}),u[10]=i):i=u[10],u[11]!==o?(l=(0,j.jsxs)("div",{"data-nextjs-hydration-diff-header":!0,children:[o,i]}),u[11]=o,u[12]=l):l=u[12],u[13]!==h?(s=(0,j.jsx)("pre",{className:"nextjs__container_errors__component-stack",children:(0,j.jsx)("code",{children:h})}),u[13]=h,u[14]=s):s=u[14],u[15]!==f||u[16]!==l||u[17]!==s?(c=(0,j.jsxs)("div",{"data-nextjs-container-errors-pseudo-html":!0,"data-nextjs-container-errors-pseudo-html-collapse":f,children:[l,s]}),u[15]=f,u[16]=l,u[17]=s,u[18]=c):c=u[18],c}let rx=` [data-nextjs-container-errors-pseudo-html] { padding: 8px 0; margin: 8px 0; border: 1px solid var(--color-gray-400); background: var(--color-background-200); color: var(--color-syntax-constant); font-family: var(--font-stack-monospace); font-size: var(--size-12); line-height: 1.33em; /* 16px in 12px font size */ border-radius: var(--rounded-md-2); } [data-nextjs-container-errors-pseudo-html-line] { display: inline-block; width: 100%; padding-left: 40px; line-height: calc(5 / 3); } [data-nextjs-container-errors-pseudo-html--diff='error'] { background: var(--color-amber-100); box-shadow: 2px 0 0 0 var(--color-amber-900) inset; font-weight: bold; } [data-nextjs-container-errors-pseudo-html-collapse-button] { all: unset; margin-left: 12px; &:focus { outline: none; } } [data-nextjs-container-errors-pseudo-html--diff='add'] { background: var(--color-green-300); } [data-nextjs-container-errors-pseudo-html-line-sign] { margin-left: calc(24px * -1); margin-right: 24px; } [data-nextjs-container-errors-pseudo-html--diff='add'] [data-nextjs-container-errors-pseudo-html-line-sign] { color: var(--color-green-900); } [data-nextjs-container-errors-pseudo-html--diff='remove'] { background: var(--color-red-300); } [data-nextjs-container-errors-pseudo-html--diff='remove'] [data-nextjs-container-errors-pseudo-html-line-sign] { color: var(--color-red-900); margin-left: calc(24px * -1); margin-right: 24px; } [data-nextjs-container-errors-pseudo-html--diff='error'] [data-nextjs-container-errors-pseudo-html-line-sign] { color: var(--color-amber-900); } [data-nextjs-container-errors-pseudo-html--hint] { display: inline-block; font-size: 0; height: 0; } [data-nextjs-container-errors-pseudo-html--tag-adjacent='false'] { color: var(--color-accents-1); } .nextjs__container_errors__component-stack { margin: 0; } [data-nextjs-container-errors-pseudo-html-collapse='true'] .nextjs__container_errors__component-stack code { max-height: 120px; mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 10%); padding-bottom: 40px; } .nextjs__container_errors__component-stack code { display: block; width: 100%; white-space: pre-wrap; scroll-snap-type: y mandatory; overflow-y: hidden; } [data-nextjs-container-errors-pseudo-html--diff] { scroll-snap-align: center; } .error-overlay-hydration-error-diff-plus-icon { color: var(--color-green-900); } .error-overlay-hydration-error-diff-minus-icon { color: var(--color-red-900); } [data-nextjs-hydration-diff-header] { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 0; } [data-nextjs-hydration-diff-badge] { display: flex; gap: 8px; font-size: var(--size-12); } [data-nextjs-hydration-diff-badge-item] { display: flex; align-items: center; gap: 4px; color: var(--color-gray-900); } [data-nextjs-hydration-diff-badge-item='client'] span:first-child { color: var(--color-green-900); font-weight: bold; } [data-nextjs-hydration-diff-badge-item='server'] span:first-child { color: var(--color-red-900); font-weight: bold; } `;function r_(e){let t,r,n,o,a,i,l,s,c=(0,S.c)(22),{cause:u,dialogResizerRef:d}=e;c[0]!==u?(t=u.frames(),c[0]=u,c[1]=t):t=c[1];let f=C.use(t);c[2]!==u.error.message?(r=u.error.message.trim(),c[2]=u.error.message,c[3]=r):r=c[3];let p=r,h=f.findIndex(rw),m=f[h]??null,g=u.error.name||"Error";return c[4]!==g?(n=(0,j.jsx)("div",{className:"error-cause-header",children:(0,j.jsxs)("span",{className:"error-cause-label",children:["Caused by: ",g]})}),c[4]=g,c[5]=n):n=c[5],c[6]!==p?(o=p?(0,j.jsx)("p",{className:"error-cause-message",children:p}):null,c[6]=p,c[7]=o):o=c[7],c[8]!==m?(a=m&&(0,j.jsx)(eJ,{stackFrame:m.originalStackFrame,codeFrame:m.originalCodeFrame}),c[8]=m,c[9]=a):a=c[9],c[10]!==d||c[11]!==f?(i=f.length>0&&(0,j.jsx)(rv,{dialogResizerRef:d,frames:f}),c[10]=d,c[11]=f,c[12]=i):i=c[12],c[13]!==u.cause||c[14]!==d?(l=u.cause&&(0,j.jsx)(r_,{cause:u.cause,dialogResizerRef:d}),c[13]=u.cause,c[14]=d,c[15]=l):l=c[15],c[16]!==n||c[17]!==o||c[18]!==a||c[19]!==i||c[20]!==l?(s=(0,j.jsxs)("div",{"data-nextjs-error-cause":!0,children:[n,o,a,i,l]}),c[16]=n,c[17]=o,c[18]=a,c[19]=i,c[20]=l,c[21]=s):s=c[21],s}function rw(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame}let rk=` [data-nextjs-error-cause] { border-top: 1px solid var(--color-gray-400); margin-top: 16px; padding-top: 16px; } .error-cause-header { display: flex; align-items: center; margin-bottom: 8px; } .error-cause-label { padding: 2px 6px; margin: 0; border-radius: var(--rounded-md-2); background: var(--color-red-100); font-weight: 600; font-size: var(--size-12); color: var(--color-red-900); font-family: var(--font-stack-monospace); line-height: var(--size-20); } .error-cause-message { margin: 0; margin-left: 4px; color: var(--color-red-900); font-weight: 500; font-size: var(--size-16); letter-spacing: -0.32px; line-height: var(--size-24); overflow-wrap: break-word; white-space: pre-wrap; } `,rj=Symbol.for("NextjsError");function rS(e){return e[rj]||null}function rC(e){let t=e();return function(){return t}}function rE(e){let t,r,n,o,a=(0,S.c)(12),{error:i,dialogResizerRef:l}=e,s=(e=>{if(!e)return[];let t=e.frames;return C.use(t())})(i),c=s.findIndex(rT),u=s[c]??null;return a[0]!==u?(t=u&&(0,j.jsx)(eJ,{stackFrame:u.originalStackFrame,codeFrame:u.originalCodeFrame}),a[0]=u,a[1]=t):t=a[1],a[2]!==l||a[3]!==s?(r=s.length>0&&(0,j.jsx)(rv,{dialogResizerRef:l,frames:s}),a[2]=l,a[3]=s,a[4]=r):r=a[4],a[5]!==l||a[6]!==i.cause?(n=i.cause&&(0,j.jsx)(r_,{cause:i.cause,dialogResizerRef:l}),a[5]=l,a[6]=i.cause,a[7]=n):n=a[7],a[8]!==t||a[9]!==r||a[10]!==n?(o=(0,j.jsxs)(j.Fragment,{children:[t,r,n]}),a[8]=t,a[9]=r,a[10]=n,a[11]=o):o=a[11],o}function rT(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame}let rN=` ${rx} ${rk} `;function rL(e){return e.startsWith("https://nextjs.org")?"nextjs-link":e.startsWith("https://")||e.startsWith("http://")?"external-link":null}function rI(e){let t,r=(0,S.c)(2),{message:n}=e;return r[0]!==n?(t=(0,j.jsx)(eI,{text:n,matcher:rL}),r[0]=n,r[1]=t):t=r[1],t}function rP(e){let t,r,n=(0,S.c)(7),{error:o}=e,a="environmentName"in o?o.environmentName:"",i=a?`[ ${a} ] `:"",l=o.message;if(l.startsWith(i)){let e;n[0]!==i.length||n[1]!==l?(e=l.slice(i.length),n[0]=i.length,n[1]=l,n[2]=e):e=n[2],l=e}return(n[3]!==l?(t=l.trim(),n[3]=l,n[4]=t):t=n[4],l=t)?(n[5]!==l?(r=(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(eI,{text:l,matcher:rL})}),n[5]=l,n[6]=r):r=n[6],r):null}function rz(e){let t=(0,S.c)(20),{variant:r}=e;if("navigation"===r){let e,r,n,o,a,i,l,s,c,u;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,j.jsx)("code",{children:"generateMetadata()"})," in an otherwise prerenderable page"]}),t[0]=e):e=t[0],t[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("code",{children:"fetch(...)"}),t[1]=r):r=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsxs)("p",{children:["When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages. Uncached data such as"," ",r,", cached data with a low expire time, or"," ",(0,j.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,j.jsx)("h4",{children:"To fix this:"}),t[2]=n,t[3]=o):(n=t[2],o=t[3]),t[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,j.jsx)("code",{children:'"use cache"'}),")"]}),t[4]=a):a=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[a,". This allows Next.js to statically prerender"," ",(0,j.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),l=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[5]=i,t[6]=l):(i=t[5],l=t[6]),t[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("code",{children:"connection()"}),t[7]=s):s=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["add ",s," inside a ",(0,j.jsx)("code",{children:""})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),t[8]=c):c=t[8],t[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,n,o,i,l,c,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),t[9]=u):u=t[9],u}{let e,r,n,o,a,i,l,s,c,u;return t[10]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,j.jsx)("code",{children:"generateMetadata()"})," or file-based metadata"]}),r=(0,j.jsx)("p",{children:"When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages."}),n=(0,j.jsx)("h4",{children:"To fix this:"}),t[10]=e,t[11]=r,t[12]=n):(e=t[10],r=t[11],n=t[12]),t[13]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsxs)("strong",{children:["Remove the Runtime data access from ",(0,j.jsx)("code",{children:"generateMetadata()"})]}),t[13]=o):o=t[13],t[14]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[o,". This allows Next.js to statically prerender"," ",(0,j.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),i=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[14]=a,t[15]=i):(a=t[14],i=t[15]),t[16]===Symbol.for("react.memo_cache_sentinel")?(l=(0,j.jsx)("code",{children:"connection()"}),t[16]=l):l=t[16],t[17]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["add ",l," inside a ",(0,j.jsx)("code",{children:""})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),c=(0,j.jsx)("p",{children:"Note that if you are using file-based metadata, such as icons, inside a route with dynamic params then the only recourse is to make some other part of the page non-prerenderable."}),t[17]=s,t[18]=c):(s=t[17],c=t[18]),t[19]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,r,n,a,i,s,c,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),t[19]=u):u=t[19],u}}function rR(e){let t=(0,S.c)(62),{variant:r,refinement:n}=e;if("generateViewport"===n)if("navigation"===r){let e,r,n,o,a,i,l,s,c,u;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,j.jsx)("code",{children:"generateViewport()"})]}),t[0]=e):e=t[0],t[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("code",{children:"fetch(...)"}),t[1]=r):r=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsxs)("p",{children:["Viewport metadata needs to be available on page load so accessing data that waits for a user navigation while producing it prevents Next.js from prerendering an initial UI. Uncached data such as"," ",r,", cached data with a low expire time, or"," ",(0,j.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,j.jsx)("h4",{children:"To fix this:"}),t[2]=n,t[3]=o):(n=t[2],o=t[3]),t[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,j.jsx)("code",{children:'"use cache"'}),")"]}),t[4]=a):a=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[a,". This allows Next.js to statically prerender"," ",(0,j.jsx)("code",{children:"generateViewport()"})," as part of the HTML document, so it's instantly visible to the user."]}),l=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[5]=i,t[6]=l):(i=t[5],l=t[6]),t[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("code",{children:""}),t[7]=s):s=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["Put a ",s," around your document"," ",(0,j.jsx)("code",{children:""}),"."]}),"This indicate to Next.js that you are opting into allowing blocking navigations for any page."]}),t[8]=c):c=t[8],t[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,n,o,i,l,c,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport"})]})]}),t[9]=u):u=t[9],u}else{let e,r,n,o,a,i,l,s,c,u,d,f,p,h;return t[10]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,j.jsx)("code",{children:"generateViewport()"})]}),t[10]=e):e=t[10],t[11]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("code",{children:"cookies()"}),t[11]=r):r=t[11],t[12]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)("code",{children:"headers()"}),t[12]=n):n=t[12],t[13]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsxs)("p",{children:["Viewport metadata needs to be available on page load so accessing data that comes from a user Request while producing it prevents Next.js from prerendering an initial UI.",r,", ",n,", and"," ",(0,j.jsx)("code",{children:"searchParams"}),", are examples of Runtime data that can only come from a user request."]}),a=(0,j.jsx)("h4",{children:"To fix this:"}),t[13]=o,t[14]=a):(o=t[13],a=t[14]),t[15]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsx)("strong",{children:"Remove the Runtime data requirement"}),t[15]=i):i=t[15],t[16]===Symbol.for("react.memo_cache_sentinel")?(l=(0,j.jsx)("code",{children:"generateViewport"}),t[16]=l):l=t[16],t[17]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[i," from"," ",l,". This allows Next.js to statically prerender ",(0,j.jsx)("code",{children:"generateViewport()"})," as part of the HTML document, so it's instantly visible to the user."]}),c=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[17]=s,t[18]=c):(s=t[17],c=t[18]),t[19]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsx)("code",{children:""}),t[19]=u):u=t[19],t[20]===Symbol.for("react.memo_cache_sentinel")?(d=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["Put a ",u," around your document"," ",(0,j.jsx)("code",{children:""}),"."]}),"This indicate to Next.js that you are opting into allowing blocking navigations for any page."]}),f=(0,j.jsx)("code",{children:"params"}),t[20]=d,t[21]=f):(d=t[20],f=t[21]),t[22]===Symbol.for("react.memo_cache_sentinel")?(p=(0,j.jsxs)("p",{children:[f," are usually considered Runtime data but if all params are provided a value using ",(0,j.jsx)("code",{children:"generateStaticParams"})," ","they can be statically prerendered."]}),t[22]=p):p=t[22],t[23]===Symbol.for("react.memo_cache_sentinel")?(h=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,o,a,s,c,d,p,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport"})]})]}),t[23]=h):h=t[23],h}if("generateMetadata"===n)if("navigation"===r){let e,r,n,o,a,i,l,s,c,u;return t[24]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,j.jsx)("code",{children:"generateMetadata()"})," in an otherwise prerenderable page"]}),t[24]=e):e=t[24],t[25]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("code",{children:"fetch(...)"}),t[25]=r):r=t[25],t[26]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsxs)("p",{children:["When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages. Uncached data such as"," ",r,", cached data with a low expire time, or"," ",(0,j.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,j.jsx)("h4",{children:"To fix this:"}),t[26]=n,t[27]=o):(n=t[26],o=t[27]),t[28]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,j.jsx)("code",{children:'"use cache"'}),")"]}),t[28]=a):a=t[28],t[29]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[a,". This allows Next.js to statically prerender"," ",(0,j.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),l=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[29]=i,t[30]=l):(i=t[29],l=t[30]),t[31]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("code",{children:"connection()"}),t[31]=s):s=t[31],t[32]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["add ",s," inside a ",(0,j.jsx)("code",{children:""})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),t[32]=c):c=t[32],t[33]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,n,o,i,l,c,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),t[33]=u):u=t[33],u}else{let e,r,n,o,a,i,l,s,c,u;return t[34]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,j.jsx)("code",{children:"generateMetadata()"})," or file-based metadata"]}),r=(0,j.jsx)("p",{children:"When Document metadata is the only part of a page that cannot be prerendered Next.js expects you to either make it prerenderable or make some other part of the page non-prerenderable to avoid unintentional partially dynamic pages."}),n=(0,j.jsx)("h4",{children:"To fix this:"}),t[34]=e,t[35]=r,t[36]=n):(e=t[34],r=t[35],n=t[36]),t[37]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsxs)("strong",{children:["Remove the Runtime data access from"," ",(0,j.jsx)("code",{children:"generateMetadata()"})]}),t[37]=o):o=t[37],t[38]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[o,". This allows Next.js to statically prerender"," ",(0,j.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),i=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[38]=a,t[39]=i):(a=t[38],i=t[39]),t[40]===Symbol.for("react.memo_cache_sentinel")?(l=(0,j.jsx)("code",{children:"connection()"}),t[40]=l):l=t[40],t[41]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["add ",l," inside a ",(0,j.jsx)("code",{children:""})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),c=(0,j.jsx)("p",{children:"Note that if you are using file-based metadata, such as icons, inside a route with dynamic params then the only recourse is to make some other part of the page non-prerenderable."}),t[41]=s,t[42]=c):(s=t[41],c=t[42]),t[43]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,r,n,a,i,s,c,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),t[43]=u):u=t[43],u}if("runtime"===r){let e,r,n,o,a,i,l,s,c,u;return t[44]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed outside of ",""]}),t[44]=e):e=t[44],t[45]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("code",{children:"cookies()"}),t[45]=r):r=t[45],t[46]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)("code",{children:"headers()"}),t[46]=n):n=t[46],t[47]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsxs)("p",{children:["This delays the entire page from rendering, resulting in a slow user experience. Next.js uses this error to ensure your app loads instantly on every navigation. ",r,", ",n,", and ",(0,j.jsx)("code",{children:"searchParams"}),", are examples of Runtime data that can only come from a user request."]}),a=(0,j.jsx)("h4",{children:"To fix this:"}),t[47]=o,t[48]=a):(o=t[47],a=t[48]),t[49]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["Provide a fallback UI using ",""]})," around this component."]}),l=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[49]=i,t[50]=l):(i=t[49],l=t[50]),t[51]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:(0,j.jsxs)("strong",{children:["Move the Runtime data access into a deeper component wrapped in"," ","","."]})}),c=(0,j.jsx)("p",{children:"In either case this allows Next.js to stream its contents to the user when they request the page, while still providing an initial UI that is prerendered and prefetchable for instant navigations."}),t[51]=s,t[52]=c):(s=t[51],c=t[52]),t[53]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,o,a,i,l,s,c,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/blocking-route",children:"https://nextjs.org/docs/messages/blocking-route"})]})]}),t[53]=u):u=t[53],u}{let e,r,n,o,a,i,l,s;return t[54]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed outside of ",""]}),t[54]=e):e=t[54],t[55]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsx)("code",{children:"fetch(...)"}),t[55]=r):r=t[55],t[56]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsxs)("p",{children:["This delays the entire page from rendering, resulting in a slow user experience. Next.js uses this error to ensure your app loads instantly on every navigation. Uncached data such as ",r,", cached data with a low expire time, or ",(0,j.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,j.jsx)("h4",{children:"To fix this, you can either:"}),t[56]=n,t[57]=o):(n=t[56],o=t[57]),t[58]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["Provide a fallback UI using ",""]})," around this component. This allows Next.js to stream its contents to the user as soon as it's ready, without blocking the rest of the app."]}),i=(0,j.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),t[58]=a,t[59]=i):(a=t[58],i=t[59]),t[60]===Symbol.for("react.memo_cache_sentinel")?(l=(0,j.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,j.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,j.jsx)("code",{children:'"use cache"'}),")"]}),". This allows Next.js to statically prerender the component as part of the HTML document, so it's instantly visible to the user."]}),t[60]=l):l=t[60],t[61]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,n,o,a,i,l,(0,j.jsxs)("p",{children:["Learn more:"," ",(0,j.jsx)("a",{href:"https://nextjs.org/docs/messages/blocking-route",children:"https://nextjs.org/docs/messages/blocking-route"})]})]}),t[61]=s):s=t[61],s}}let rO={type:"empty"};function rM(e){let t,r,n,o,a,i,l,s,c,u,d,f,p=(0,S.c)(54);p[0]!==e?({getSquashedHydrationErrorDetails:r,runtimeErrors:a,debugInfo:t,onClose:n,...o}=e,p[0]=e,p[1]=t,p[2]=r,p[3]=n,p[4]=o,p[5]=a):(t=p[1],r=p[2],n=p[3],o=p[4],a=p[5]);let h=(0,C.useRef)(null);p[6]!==r||p[7]!==a?(i={runtimeErrors:a,getSquashedHydrationErrorDetails:r},p[6]=r,p[7]=a,p[8]=i):i=p[8];let{isLoading:m,errorCode:g,errorType:v,activeIdx:y,errorDetails:b,activeError:x,setActiveIndex:_}=function(e){var t,r,n,o;let a,i,l,s=(0,S.c)(16),{runtimeErrors:c,getSquashedHydrationErrorDetails:u}=e,[d,f]=(0,C.useState)(0),p=0===c.length,h=c[d]??null,m=function(e,t){let r,n=(0,S.c)(5);r:{var o;let a,i;if(void 0===e){r=rO;break r}n[0]!==e||n[1]!==t?(a=function(e,t){var r;let n=t(e);if(null!==n)return{type:"hydration",warning:n.warning??null,notes:null,reactOutputComponentDiff:n.reactOutputComponentDiff??null};if(!(td((r=e).message)||/Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(r.message)||/A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(r.message)))return null;let{message:o,notes:a,diff:i}=function(e){let t=e.message;if(td(t)){let[e,r=""]=t.split("\n\n"),n=r.trim();return{message:""===n?t.trim():e.trim(),diff:n,notes:null}}let[r,n]=t.split(`${ts}`),o=r.trim();if(void 0!==n&&n.length>1){let e=[];n.split("\n").forEach(t=>{""!==t.trim()&&(t.trim().startsWith("at ")||e.push(t))});let[t,...r]=o.split("\n\n");return{message:t,diff:e.join("\n"),notes:r.join("\n\n")||null}}{let[e,...t]=o.split("\n\n");return{message:e,diff:null,notes:t.join("\n\n")}}}(e);return null===o?null:{type:"hydration",warning:o,notes:a,reactOutputComponentDiff:i}}(e,t),n[0]=e,n[1]=t,n[2]=a):a=n[2];let l=a;if(l){r=l;break r}n[3]!==e?(i=(o=e).message.includes("/blocking-route")?{type:"blocking-route",variant:o.message.includes("cookies()")?"runtime":"navigation",refinement:""}:o.message.includes("/next-prerender-dynamic-metadata")?{type:"dynamic-metadata",variant:o.message.includes("cookies()")?"runtime":"navigation"}:o.message.includes("/next-prerender-dynamic-viewport")?{type:"blocking-route",variant:o.message.includes("cookies()")?"runtime":"navigation",refinement:"generateViewport"}:null,n[3]=e,n[4]=i):i=n[4];let s=i;if(s){r=s;break r}r=rO}return r}(h?.error,u);if(p||!h){let e;return s[0]!==d||s[1]!==p?(e={isLoading:p,activeIdx:d,setActiveIndex:f,activeError:null,errorDetails:null,errorCode:null,errorType:null},s[0]=d,s[1]=p,s[2]=e):e=s[2],e}let g=h.error;if(s[3]!==g){a="object"==typeof(t=g)&&null!==t&&"__NEXT_ERROR_CODE"in t&&"string"==typeof t.__NEXT_ERROR_CODE?t.__NEXT_ERROR_CODE:"object"==typeof t&&null!==t&&"digest"in t&&"string"==typeof t.digest?t.digest.split("@").find(e=>e.startsWith("E")):void 0,s[3]=g,s[4]=a}else a=s[4];let v=a;s[5]!==h.type||s[6]!==g||s[7]!==m?(r=g,n=h.type,i="blocking-route"===(o=m).type?"Blocking Route":"dynamic-metadata"===o.type?"Ambiguous Metadata":"recoverable"===n?`Recoverable ${r.name}`:"console"===n?`Console ${r.name}`:`Runtime ${r.name}`,s[5]=h.type,s[6]=g,s[7]=m,s[8]=i):i=s[8];let y=i;return s[9]!==h||s[10]!==d||s[11]!==v||s[12]!==m||s[13]!==y||s[14]!==p?(l={isLoading:p,activeIdx:d,setActiveIndex:f,activeError:h,errorDetails:m,errorCode:v,errorType:y},s[9]=h,s[10]=d,s[11]=v,s[12]=m,s[13]=y,s[14]=p,s[15]=l):l=s[15],l}(i);p[9]!==x||p[10]!==v||p[11]!==o.versionInfo?(l=async()=>{if(!x)return"";let e=[];v&&e.push(`## Error Type ${v}`);let t=x.error,r=t.message;if("environmentName"in t&&t.environmentName){let e=`[ ${t.environmentName} ] `;r.startsWith(e)&&(r=r.slice(e.length))}r&&e.push(`## Error Message ${r}`);let n=await Promise.race([x.frames(),new Promise(rF)]);if(null===n)e.push("Unable to retrieve stack frames for this error. Falling back to unsourcemapped stack\n\n"+t.stack);else{if(n.length>0){let t=n.filter(rZ);if(t.length>0){let r=t.map(rD).filter(Boolean);r.length>0&&e.push(` ${r.join("\n")}`)}}let t=n.findIndex(rA),r=n[t]??null;if(r?.originalCodeFrame){let t=eG()(eQ(r.originalCodeFrame));e.push(`## Code Frame ${t}`)}}return`${e.join("\n\n")} Next.js version: ${o.versionInfo.installed} (${process.env.__NEXT_BUNDLER}) `},p[9]=x,p[10]=v,p[11]=o.versionInfo,p[12]=l):l=p[12];let w=l;if(m){let e;return p[13]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(tY,{children:(0,j.jsx)(re,{})}),p[13]=e):e=p[13],e}if(!x)return null;let k=x.error,E=["server","edge-server"].includes(rS(k)||""),T=null,N=null;switch(b.type){case"hydration":{let e,t,r,n;if(p[14]!==b.warning||p[15]!==k?(e=b.warning?(0,j.jsx)(rI,{message:b.warning}):(0,j.jsx)(rP,{error:k}),p[14]=b.warning,p[15]=k,p[16]=e):e=p[16],s=e,p[17]!==b.notes?(t=b.notes?(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("p",{id:"nextjs__container_errors__notes",className:"nextjs__container_errors__notes",children:b.notes})}):null,p[17]=b.notes,p[18]=t):t=p[18],p[19]!==b.warning?(r=b.warning?(0,j.jsx)("p",{id:"nextjs__container_errors__link",className:"nextjs__container_errors__link",children:(0,j.jsx)(eI,{text:`See more info here: ${tc}`})}):null,p[19]=b.warning,p[20]=r):r=p[20],p[21]!==t||p[22]!==r?(n=(0,j.jsxs)("div",{className:"error-overlay-notes-container",children:[t,r]}),p[21]=t,p[22]=r,p[23]=n):n=p[23],T=n,b.reactOutputComponentDiff){let e,t=b.reactOutputComponentDiff||"";p[24]!==t?(e=(0,j.jsx)(rb,{reactOutputComponentDiff:t}),p[24]=t,p[25]=e):e=p[25],N=e}break}case"blocking-route":{let e;p[26]!==b.refinement||p[27]!==b.variant?(e=(0,j.jsx)(rR,{variant:b.variant,refinement:b.refinement}),p[26]=b.refinement,p[27]=b.variant,p[28]=e):e=p[28],s=e;break}case"dynamic-metadata":{let e;p[29]!==b.variant?(e=(0,j.jsx)(rz,{variant:b.variant}),p[29]=b.variant,p[30]=e):e=p[30],s=e;break}case"empty":{let e;p[31]!==k?(e=(0,j.jsx)(rP,{error:k}),p[31]=k,p[32]=e):e=p[32],s=e}}let L=s,I=E?void 0:n,P=T,z=N;return p[33]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsx)("div",{"data-nextjs-error-suspended":!0}),p[33]=c):c=p[33],p[34]!==x.id?(u=x.id.toString(),p[34]=x.id,p[35]=u):u=p[35],p[36]!==x||p[37]!==u?(d=(0,j.jsx)(C.Suspense,{fallback:c,children:(0,j.jsx)(rE,{error:x,dialogResizerRef:h},u)}),p[36]=x,p[37]=u,p[38]=d):d=p[38],p[39]!==y||p[40]!==t||p[41]!==g||p[42]!==s||p[43]!==v||p[44]!==k||p[45]!==w||p[46]!==N||p[47]!==T||p[48]!==o||p[49]!==a||p[50]!==_||p[51]!==I||p[52]!==d?(f=(0,j.jsxs)(rt,{errorCode:g,errorType:v,errorMessage:L,onClose:I,debugInfo:t,error:k,runtimeErrors:a,activeIdx:y,setActiveIndex:_,dialogResizerRef:h,generateErrorInfo:w,...o,children:[P,z,d]}),p[39]=y,p[40]=t,p[41]=g,p[42]=s,p[43]=v,p[44]=k,p[45]=w,p[46]=N,p[47]=T,p[48]=o,p[49]=a,p[50]=_,p[51]=I,p[52]=d,p[53]=f):f=p[53],f}function rA(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame}function rD(e){if(e.originalStackFrame){let{methodName:t,file:r,line1:n,column1:o}=e.originalStackFrame;return` at ${t} (${r}:${n}:${o})`}if(e.sourceStackFrame){let{methodName:t,file:r,line1:n,column1:o}=e.sourceStackFrame;return` at ${t} (${r}:${n}:${o})`}return""}function rZ(e){return!e.ignored}function rF(e){return setTimeout(()=>e(null),2e3)}let rU=` .nextjs-error-with-static { bottom: calc(16px * 4.5); } p.nextjs__container_errors__link { font-size: var(--size-14); } p.nextjs__container_errors__notes { color: var(--color-stack-notes); font-size: var(--size-14); line-height: 1.5; } .nextjs-container-errors-body > h2:not(:first-child) { margin-top: calc(16px + 8px); } .nextjs-container-errors-body > h2 { color: var(--color-title-color); margin-bottom: 8px; font-size: var(--size-20); } .nextjs-toast-errors-parent { cursor: pointer; transition: transform 0.2s ease; } .nextjs-toast-errors-parent:hover { transform: scale(1.1); } .nextjs-toast-errors { display: flex; align-items: center; justify-content: flex-start; } .nextjs-toast-errors > svg { margin-right: 8px; } .nextjs-toast-hide-button { margin-left: 24px; border: none; background: none; color: var(--color-ansi-bright-white); padding: 0; transition: opacity 0.25s ease; opacity: 0.7; } .nextjs-toast-hide-button:hover { opacity: 1; } .nextjs__container_errors__error_title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .error-overlay-notes-container { margin: 8px 2px; } .error-overlay-notes-container p { white-space: pre-wrap; } .nextjs__blocking_page_load_error_description { color: var(--color-stack-notes); } .nextjs__blocking_page_load_error_description_title { color: var(--color-title-color); } .nextjs__blocking_page_load_error_fix_option { background-color: var(--color-background-200); padding: 14px; border-radius: var(--rounded-md-2); border: 1px solid var(--color-gray-alpha-400); } .external-link, .external-link:hover { color:inherit; } `;function r$(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:(0,j.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m.191 2.063.56.498 13.5 12 .561.498.997-1.121-.56-.498-1.81-1.608 2.88-3.342v-.98l-3.204-3.72C10.645.923 6.365.686 3.594 3.08L1.748 1.44 1.188.94.19 2.063ZM14.761 8l-2.442 2.836-1.65-1.466a3.001 3.001 0 0 0-4.342-3.86l-1.6-1.422a5.253 5.253 0 0 1 7.251.682L14.76 8ZM7.526 6.576l1.942 1.727a1.499 1.499 0 0 0-1.942-1.727Zm-7.845.935 1.722-2 1.137.979L1.24 8l2.782 3.23A5.25 5.25 0 0 0 9.9 12.703l.54 1.4a6.751 6.751 0 0 1-7.555-1.892L-.318 8.49v-.98Z",clipRule:"evenodd"})}),t[0]=e):e=t[0],e}function rH(){let e,t,r=(0,S.c)(2);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("g",{clipPath:"url(#light_icon_clip_path)",children:(0,j.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.75.75V0h-1.5v2h1.5V.75ZM3.26 4.32l-.53-.53-.354-.353-.53-.53 1.06-1.061.53.53.354.354.53.53-1.06 1.06Zm8.42-1.06.53-.53.353-.354.53-.53 1.061 1.06-.53.53-.354.354-.53.53-1.06-1.06ZM8 11.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Zm0 1.5a4.75 4.75 0 1 0 0-9.5 4.75 4.75 0 0 0 0 9.5Zm6-5.5h2v1.5h-2v-1.5Zm-13.25 0H0v1.5h2v-1.5H.75Zm1.62 5.32-.53.53 1.06 1.06.53-.53.354-.353.53-.53-1.06-1.061-.53.53-.354.354Zm10.2 1.06.53.53 1.06-1.06-.53-.53-.354-.354-.53-.53-1.06 1.06.53.53.353.354ZM8.75 14v2h-1.5v-2h1.5Z",clipRule:"evenodd"})}),r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e,(0,j.jsx)("defs",{children:(0,j.jsx)("clipPath",{id:"light_icon_clip_path",children:(0,j.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]}),r[1]=t):t=r[1],t}function rV(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{"data-testid":"geist-icon",height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 8.00005C1.5 5.53089 2.99198 3.40932 5.12349 2.48889C4.88136 3.19858 4.75 3.95936 4.75 4.7501C4.75 8.61609 7.88401 11.7501 11.75 11.7501C11.8995 11.7501 12.048 11.7454 12.1953 11.7361C11.0955 13.1164 9.40047 14.0001 7.5 14.0001C4.18629 14.0001 1.5 11.3138 1.5 8.00005ZM6.41706 0.577759C2.78784 1.1031 0 4.22536 0 8.00005C0 12.1422 3.35786 15.5001 7.5 15.5001C10.5798 15.5001 13.2244 13.6438 14.3792 10.9921L13.4588 9.9797C12.9218 10.155 12.3478 10.2501 11.75 10.2501C8.71243 10.2501 6.25 7.78767 6.25 4.7501C6.25 3.63431 6.58146 2.59823 7.15111 1.73217L6.41706 0.577759ZM13.25 1V1.75V2.75L14.25 2.75H15V4.25H14.25H13.25V5.25V6H11.75V5.25V4.25H10.75L10 4.25V2.75H10.75L11.75 2.75V1.75V1H13.25Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function rB(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"16",height:"16",strokeLinejoin:"round",children:(0,j.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H8.75v3h1.75V16h-5v-1.5h1.75v-3H1a1 1 0 0 1-1-1V2Zm1.5.5V10h13V2.5h-13Z",clipRule:"evenodd"})}),t[0]=e):e=t[0],e}let rq=["Meta","Control","Ctrl","Alt","Option","Shift"];function rW(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h=(0,S.c)(33),{value:m,onChange:g}=e,[v,y]=(0,C.useState)(!0),[b,x]=(0,C.useState)(!1);h[0]!==m?(t=m??[],h[0]=m,h[1]=t):t=h[1];let[_,w]=(0,C.useState)(t),[k,E]=(0,C.useState)(!1),T=(0,C.useRef)(null),N=(0,C.useRef)(null),L=!!m||_.length>0;h[2]!==g||h[3]!==v||h[4]!==b?(r=function(e){if(e.target!==N.current||"Tab"===e.key)return;T.current&&clearTimeout(T.current),b||x(!0),v&&(w([]),y(!1));let t=function(e){T.current=window.setTimeout(()=>{E(!0),g(e.join("+")),T.current=window.setTimeout(()=>{x(!1)},1e3)},180)};e.preventDefault(),e.stopPropagation(),w(r=>{if(r.includes(e.code)||r.includes(e.key))return r;if(!rq.includes(e.key)){let n=r.findIndex(rX);if(-1!==n){let o=[...r];return o[n]=e.code,t(o),o}let o=[...r,e.code];return t(o),o}let n=[...r],o=rq.indexOf(e.key),a=0;for(let e=0;e{x(!0)}),g(null)},h[6]=g,h[7]=n):n=h[7];let P=n;h[8]===Symbol.for("react.memo_cache_sentinel")?(o=function(){E(!1),x(!1),y(!0)},h[8]=o):o=h[8];let z=o;h[9]===Symbol.for("react.memo_cache_sentinel")?(a=function(){T.current&&clearTimeout(T.current),x(!0),N.current?.focus()},h[9]=a):a=h[9];let R=a;h[10]!==L||h[11]!==_?(i=L?(0,j.jsx)("div",{className:"shortcut-recorder-keys",children:_.map(rY)}):"Record Shortcut",h[10]=L,h[11]=_,h[12]=i):i=h[12],h[13]!==P||h[14]!==L?(l=L&&(0,j.jsx)("div",{className:"shortcut-recorder-clear-button",role:"button",onClick:P,onFocus:rK,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(P(),e.stopPropagation())},"aria-label":"Clear shortcut",tabIndex:0,children:(0,j.jsx)(r0,{})}),h[13]=P,h[14]=L,h[15]=l):l=h[15],h[16]!==I||h[17]!==L||h[18]!==i||h[19]!==l?(s=(0,j.jsxs)("button",{className:"shortcut-recorder-button",ref:N,onClick:R,onFocus:R,onBlur:z,onKeyDown:I,"data-has-shortcut":L,"data-shortcut-recorder":"true",children:[i,l]}),h[16]=I,h[17]=L,h[18]=i,h[19]=l,h[20]=s):s=h[20],h[21]!==k?(c=(0,j.jsx)("div",{className:"shortcut-recorder-status-icon","data-success":k}),h[21]=k,h[22]=c):c=h[22];let O=k?"Shortcut set":"Recording";return h[23]!==O||h[24]!==c?(u=(0,j.jsxs)("div",{className:"shortcut-recorder-status",children:[c,O]}),h[23]=O,h[24]=c,h[25]=u):u=h[25],h[26]===Symbol.for("react.memo_cache_sentinel")?(d=(0,j.jsx)(rG,{}),h[26]=d):d=h[26],h[27]!==b||h[28]!==u?(f=(0,j.jsxs)("div",{className:"shortcut-recorder-tooltip","data-show":b,children:[u,d]}),h[27]=b,h[28]=u,h[29]=f):f=h[29],h[30]!==f||h[31]!==s?(p=(0,j.jsxs)("div",{className:"shortcut-recorder",children:[s,f]}),h[30]=f,h[31]=s,h[32]=p):p=h[32],p}function rK(e){return e.stopPropagation()}function rY(e){return(0,j.jsx)(rQ,{children:e},e)}function rX(e){return!rq.includes(e)}function rG(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{fill:"none",height:"6",viewBox:"0 0 14 6",width:"14",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("path",{d:"M13.8284 0H0.17157C0.702003 0 1.21071 0.210714 1.58578 0.585787L5.58578 4.58579C6.36683 5.36684 7.63316 5.36683 8.41421 4.58579L12.4142 0.585786C12.7893 0.210714 13.298 0 13.8284 0Z",fill:"var(--background)"})}),t[0]=e):e=t[0],e}function rQ(e){let t,r,n,o,a=(0,S.c)(9),{children:i}=e;a[0]!==i?(t=function(e){switch(e){case"Meta":return(0,j.jsx)(rJ,{});case"Alt":case"Option":return"⌥";case"Control":case"Ctrl":return"Ctrl";case"Shift":return"⇧";case"Enter":return"⏎";case"Escape":case"Esc":return"Esc";case" ":case"Space":case"Spacebar":return"Space";case"ArrowUp":return"↑";case"ArrowDown":return"↓";case"ArrowLeft":return"←";case"ArrowRight":return"→";case"Tab":return"Tab";case"Backspace":return"⌫";case"Delete":return"⌦";default:if(1===i.length)return i.toUpperCase();return i}},a[0]=i,a[1]=t):t=a[1];let l=t;if(a[2]!==i||a[3]!==l){let e=l(i);r="string"==typeof e&&1===e.length,n=function(e){if("string"!=typeof e)return e;let t={Minus:"-",Equal:"=",BracketLeft:"[",BracketRight:"]",Backslash:"\\",Semicolon:";",Quote:"'",Comma:",",Period:".",Backquote:"`",Space:" ",Slash:"/",IntlBackslash:"\\"};return t[e]?t[e]:/^Key([A-Z])$/.test(e)?e.replace(/^Key/,""):/^Digit([0-9])$/.test(e)?e.replace(/^Digit/,""):/^Numpad([0-9])$/.test(e)?e.replace(/^Numpad/,""):"NumpadAdd"===e?"+":"NumpadSubtract"===e?"-":"NumpadMultiply"===e?"*":"NumpadDivide"===e?"/":"NumpadDecimal"===e?".":"NumpadEnter"===e?"Enter":e}(e),a[2]=i,a[3]=l,a[4]=r,a[5]=n}else r=a[4],n=a[5];return a[6]!==r||a[7]!==n?(o=(0,j.jsx)("kbd",{"data-symbol":r,children:n}),a[6]=r,a[7]=n,a[8]=o):o=a[8],o}function rJ(){let e,t=(0,S.c)(1),r=r2(/^Mac/)||r2(/^iPhone/)||r2(/^iPad/)||r2(/^Mac/)&&navigator.maxTouchPoints>1?"⌘":"Ctrl";return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("span",{style:{minWidth:"1em",display:"inline-block"},children:r}),t[0]=e):e=t[0],e}function r0(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}let r1=e_` .shortcut-recorder { display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; font-family: var(--font-stack-sans); .shortcut-recorder-button { display: flex; align-items: center; gap: 4px; background: transparent; border: 1px dashed var(--color-gray-500); border-radius: var(--rounded-lg); padding: 6px 8px; font-weight: 400; font-size: var(--size-14); color: var(--color-gray-1000); transition: border-color 150ms var(--timing-swift); &[data-has-shortcut='true'] { border: 1px solid var(--color-gray-alpha-400); &:hover { border-color: var(--color-gray-500); } } &:hover { border-color: var(--color-gray-600); } &::placeholder { color: var(--color-gray-900); } &[data-pristine='false']::placeholder { color: transparent; } &:focus-visible { outline: var(--focus-ring); outline-offset: -1px; } } kbd { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-stack-sans); background: var(--color-gray-200); min-width: 20px; height: 20px; font-size: 14px; border-radius: 4px; color: var(--color-gray-1000); &[data-symbol='false'] { padding: 0 4px; } } .shortcut-recorder-clear-button { cursor: pointer; color: var(--color-gray-1000); width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: background 150ms var(--timing-swift); &:hover { background: var(--color-gray-300); } &:focus-visible { outline: var(--focus-ring); } svg { width: 14px; height: 14px; } } } .shortcut-recorder-keys { pointer-events: none; user-select: none; display: flex; align-items: center; gap: 2px; } .shortcut-recorder-tooltip { --gap: 8px; --background: var(--color-gray-1000); background: var(--background); color: var(--color-background-100); font-size: var(--size-14); padding: 4px 8px; border-radius: 8px; position: absolute; bottom: calc(100% + var(--gap)); text-align: center; opacity: 0; scale: 0.96; white-space: nowrap; user-select: none; transition: opacity 150ms var(--timing-swift), scale 150ms var(--timing-swift); &[data-show='true'] { opacity: 1; scale: 1; } svg { position: absolute; transform: translateX(-50%); bottom: -6px; left: 50%; } .shortcut-recorder-status { display: flex; align-items: center; gap: 6px; } .shortcut-recorder-status-icon { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--color-red-700); &[data-success='true'] { background: var(--color-green-700); } } } `;function r2(e){return null!=window.navigator?e.test(window.navigator.platform):void 0}var r3=__webpack_require__("./dist/compiled/zod/index.cjs");let r4=r3.z.object({theme:r3.z.enum(["light","dark","system"]).optional(),disableDevIndicator:r3.z.boolean().optional(),devToolsPosition:r3.z.enum(["top-left","top-right","bottom-left","bottom-right"]).optional(),devToolsPanelPosition:r3.z.record(r3.z.string(),r3.z.enum(["top-left","top-right","bottom-left","bottom-right"])).optional(),devToolsPanelSize:r3.z.record(r3.z.string(),r3.z.object({width:r3.z.number(),height:r3.z.number()})).optional(),scale:r3.z.number().optional(),hideShortcut:r3.z.string().nullable().optional()}),r5={},r6=null;function r9(){if(0===Object.keys(r5).length)return;let e=JSON.stringify(r5);r5={},fetch("/__nextjs_devtools_config",{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(t=>{console.warn("[Next.js DevTools] Failed to save config:",{data:e,error:t})})}function r8(e){let t=r4.safeParse(e);t.success?(r5=function e(t,r){if(!r||"object"!=typeof r||Array.isArray(r)||!t||"object"!=typeof t||Array.isArray(t))return r;let n={...t};for(let o in r){let a=r[o],i=t[o];void 0!==a&&(a&&"object"==typeof a&&!Array.isArray(a)&&i&&"object"==typeof i&&!Array.isArray(i)?n[o]=e(i,a):n[o]=a)}return n}(r5,e),r6&&clearTimeout(r6),r6=setTimeout(r9,120)):console.warn("[Next.js DevTools] Invalid config patch:",t.error.message)}function r7(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h,m,g,v,y,b,x,_,w,k,E,T,N,L,I,P,z,R,O,M,D,Z=(0,S.c)(61),{theme:F,hide:U,hideShortcut:$,setHideShortcut:H,scale:V,setPosition:B,setScale:q,position:W}=e,{restartServer:K,isPending:Y}=function(){let[e,t]=(0,C.useState)(!1);return{restartServer:async({invalidateFileSystemCache:e})=>{t(!0);let r=!1;try{let t=await fetch("/__nextjs_server_status").then(e=>e.json()).then(e=>e.executionId).catch(e=>(console.log("[Next.js DevTools] Failed to fetch server status while restarting dev server.",e),null));if(!t)return void console.log("[Next.js DevTools] Failed to get the current server execution ID while restarting dev server.");let n=await fetch(e?"/__nextjs_restart_dev?invalidateFileSystemCache=1":"/__nextjs_restart_dev",{method:"POST"});if(!n.ok)return void console.log("[Next.js DevTools] Failed to fetch restart server endpoint. Status:",n.status);for(let e=0;e<10;e++){await new Promise(e=>setTimeout(e,1e3));try{let e=await fetch("/__nextjs_server_status").then(e=>e.json()).then(e=>e.executionId);if(t!==e){r=!0,window.location.reload();return}}catch(e){continue}}console.log("[Next.js DevTools] Failed to restart server. Exhausted all polling attempts.");return}catch(e){console.log("[Next.js DevTools] Failed to restart server.",e);return}finally{r||t(!1)}},isPending:e}}(),{shadowRoot:X}=us();Z[0]!==X.host?(t=e=>{let t=X.host;if("system"===e.target.value){t.classList.remove("dark"),t.classList.remove("light"),r8({theme:"system"});return}"dark"===e.target.value?(t.classList.add("dark"),t.classList.remove("light"),r8({theme:"dark"})):(t.classList.remove("dark"),t.classList.add("light"),r8({theme:"light"}))},Z[0]=X.host,Z[1]=t):t=Z[1];let G=t;Z[2]!==B?(r=function(e){B(e.target.value),r8({devToolsPosition:e.target.value})},Z[2]=B,Z[3]=r):r=Z[3];let Q=r;Z[4]!==q?(n=function(e){let{target:t}=e,r=Number(t.value);q(r),r8({scale:r})},Z[4]=q,Z[5]=n):n=Z[5];let J=n;return Z[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsxs)("div",{className:"preference-header",children:[(0,j.jsx)("label",{htmlFor:"theme",children:"Theme"}),(0,j.jsx)("p",{className:"preference-description",children:"Select your theme preference."})]}),Z[6]=o):o=Z[6],Z[7]!==F?(a=(0,j.jsx)(nr,{theme:F}),Z[7]=F,Z[8]=a):a=Z[8],Z[9]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsx)("option",{value:"system",children:"System"}),l=(0,j.jsx)("option",{value:"light",children:"Light"}),s=(0,j.jsx)("option",{value:"dark",children:"Dark"}),Z[9]=i,Z[10]=l,Z[11]=s):(i=Z[9],l=Z[10],s=Z[11]),Z[12]!==G||Z[13]!==a||Z[14]!==F?(c=(0,j.jsxs)("div",{className:"preference-section",children:[o,(0,j.jsxs)(nt,{id:"theme",name:"theme",prefix:a,value:F,onChange:G,children:[i,l,s]})]}),Z[12]=G,Z[13]=a,Z[14]=F,Z[15]=c):c=Z[15],Z[16]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsxs)("div",{className:"preference-header",children:[(0,j.jsx)("label",{htmlFor:"position",children:"Position"}),(0,j.jsx)("p",{className:"preference-description",children:"Adjust the placement of your dev tools."})]}),Z[16]=u):u=Z[16],Z[17]===Symbol.for("react.memo_cache_sentinel")?(d=(0,j.jsx)("option",{value:"bottom-left",children:"Bottom Left"}),f=(0,j.jsx)("option",{value:"bottom-right",children:"Bottom Right"}),p=(0,j.jsx)("option",{value:"top-left",children:"Top Left"}),h=(0,j.jsx)("option",{value:"top-right",children:"Top Right"}),Z[17]=d,Z[18]=f,Z[19]=p,Z[20]=h):(d=Z[17],f=Z[18],p=Z[19],h=Z[20]),Z[21]!==Q||Z[22]!==W?(m=(0,j.jsxs)("div",{className:"preference-section",children:[u,(0,j.jsxs)(nt,{id:"position",name:"position",value:W,onChange:Q,children:[d,f,p,h]})]}),Z[21]=Q,Z[22]=W,Z[23]=m):m=Z[23],Z[24]===Symbol.for("react.memo_cache_sentinel")?(g=(0,j.jsxs)("div",{className:"preference-header",children:[(0,j.jsx)("label",{htmlFor:"size",children:"Size"}),(0,j.jsx)("p",{className:"preference-description",children:"Adjust the size of your dev tools."})]}),Z[24]=g):g=Z[24],Z[25]===Symbol.for("react.memo_cache_sentinel")?(v=Object.entries(A).map(ne),Z[25]=v):v=Z[25],Z[26]!==J||Z[27]!==V?(y=(0,j.jsxs)("div",{className:"preference-section",children:[g,(0,j.jsx)(nt,{id:"size",name:"size",value:V,onChange:J,children:v})]}),Z[26]=J,Z[27]=V,Z[28]=y):y=Z[28],Z[29]===Symbol.for("react.memo_cache_sentinel")?(b=(0,j.jsxs)("div",{className:"preference-header",children:[(0,j.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools for this session"}),(0,j.jsx)("p",{className:"preference-description",children:"Hide Dev Tools until you restart your dev server, or 1 day."})]}),Z[29]=b):b=Z[29],Z[30]===Symbol.for("react.memo_cache_sentinel")?(x=(0,j.jsx)(r$,{}),_=(0,j.jsx)("span",{children:"Hide"}),Z[30]=x,Z[31]=_):(x=Z[30],_=Z[31]),Z[32]!==U?(w=(0,j.jsxs)("div",{className:"preference-section",children:[b,(0,j.jsx)("div",{className:"preference-control",children:(0,j.jsxs)("button",{"aria-describedby":"hide-dev-tools",name:"hide-dev-tools","data-hide-dev-tools":!0,className:"action-button",onClick:U,children:[x,_]})})]}),Z[32]=U,Z[33]=w):w=Z[33],Z[34]===Symbol.for("react.memo_cache_sentinel")?(k=(0,j.jsxs)("div",{className:"preference-header",children:[(0,j.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools shortcut"}),(0,j.jsx)("p",{className:"preference-description",children:"Set a custom keyboard shortcut to toggle visibility."})]}),Z[34]=k):k=Z[34],Z[35]!==$?(E=$?.split("+")??null,Z[35]=$,Z[36]=E):E=Z[36],Z[37]!==H||Z[38]!==E?(T=(0,j.jsxs)("div",{className:"preference-section",children:[k,(0,j.jsx)("div",{className:"preference-control",children:(0,j.jsx)(rW,{value:E,onChange:H})})]}),Z[37]=H,Z[38]=E,Z[39]=T):T=Z[39],Z[40]===Symbol.for("react.memo_cache_sentinel")?(N=(0,j.jsx)("label",{children:"Disable Dev Tools for this project"}),Z[40]=N):N=Z[40],Z[41]===Symbol.for("react.memo_cache_sentinel")?(L=(0,j.jsx)("code",{className:"dev-tools-info-code",children:"devIndicators: false"}),Z[41]=L):L=Z[41],Z[42]===Symbol.for("react.memo_cache_sentinel")?(I=(0,j.jsx)("div",{className:"preference-section",children:(0,j.jsxs)("div",{className:"preference-header",children:[N,(0,j.jsxs)("p",{className:"preference-description",children:["To disable this UI completely, set"," ",L," in your ",(0,j.jsx)("code",{className:"dev-tools-info-code",children:"next.config"})," file."]})]})}),Z[42]=I):I=Z[42],Z[43]===Symbol.for("react.memo_cache_sentinel")?(P=(0,j.jsxs)("div",{className:"preference-header",children:[(0,j.jsx)("label",{id:"restart-dev-server",children:"Restart Dev Server"}),(0,j.jsx)("p",{className:"preference-description",children:"Restarts the development server without needing to leave the browser."})]}),Z[43]=P):P=Z[43],Z[44]!==K?(z=()=>K({invalidateFileSystemCache:!1}),Z[44]=K,Z[45]=z):z=Z[45],Z[46]===Symbol.for("react.memo_cache_sentinel")?(R=(0,j.jsx)("span",{children:"Restart"}),Z[46]=R):R=Z[46],Z[47]!==Y||Z[48]!==z?(O=(0,j.jsxs)("div",{className:"preference-section",children:[P,(0,j.jsx)("div",{className:"preference-control",children:(0,j.jsx)("button",{"aria-describedby":"restart-dev-server",title:"Restarts the development server without needing to leave the browser.",name:"restart-dev-server","data-restart-dev-server":!0,className:"action-button",onClick:z,disabled:Y,children:R})})]}),Z[47]=Y,Z[48]=z,Z[49]=O):O=Z[49],Z[50]!==Y||Z[51]!==K?(M=process.env.__NEXT_BUNDLER_HAS_PERSISTENT_CACHE?(0,j.jsxs)("div",{className:"preference-section",children:[(0,j.jsxs)("div",{className:"preference-header",children:[(0,j.jsx)("label",{id:"reset-bundler-cache",children:"Reset Bundler Cache"}),(0,j.jsx)("p",{className:"preference-description",children:"Clears the bundler cache and restarts the dev server. Helpful if you are seeing stale errors or changes are not appearing."})]}),(0,j.jsx)("div",{className:"preference-control",children:(0,j.jsx)("button",{"aria-describedby":"reset-bundler-cache",title:"Clears the bundler cache and restarts the dev server. Helpful if you are seeing stale errors or changes are not appearing.",name:"reset-bundler-cache","data-reset-bundler-cache":!0,className:"action-button",onClick:()=>K({invalidateFileSystemCache:!0}),disabled:Y,children:(0,j.jsx)("span",{children:"Reset Cache"})})})]}):null,Z[50]=Y,Z[51]=K,Z[52]=M):M=Z[52],Z[53]!==c||Z[54]!==m||Z[55]!==y||Z[56]!==w||Z[57]!==T||Z[58]!==O||Z[59]!==M?(D=(0,j.jsxs)("div",{className:"preferences-container",children:[c,m,y,w,T,I,O,M]}),Z[53]=c,Z[54]=m,Z[55]=y,Z[56]=w,Z[57]=T,Z[58]=O,Z[59]=M,Z[60]=D):D=Z[60],D}function ne(e){let[t,r]=e;return(0,j.jsx)("option",{value:r,children:t},t)}function nt(e){let t,r,n,o,a,i,l=(0,S.c)(11);return l[0]!==e?({children:t,prefix:r,...n}=e,l[0]=e,l[1]=t,l[2]=r,l[3]=n):(t=l[1],r=l[2],n=l[3]),l[4]!==t||l[5]!==n?(o=(0,j.jsx)("select",{...n,children:t}),l[4]=t,l[5]=n,l[6]=o):o=l[6],l[7]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsx)(no,{}),l[7]=a):a=l[7],l[8]!==r||l[9]!==o?(i=(0,j.jsxs)("div",{className:"select-button",children:[r,o,a]}),l[8]=r,l[9]=o,l[10]=i):i=l[10],i}function nr(e){let t=(0,S.c)(3),{theme:r}=e;switch(r){case"system":{let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(rB,{}),t[0]=e):e=t[0],e}case"dark":{let e;return t[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(rV,{}),t[1]=e):e=t[1],e}case"light":{let e;return t[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)(rH,{}),t[2]=e):e=t[2],e}default:return null}}let nn=e_` .preferences-container { width: 100%; } @media (min-width: 576px) { .preferences-container { width: 480px; } } .preference-section:first-child { padding-top: 0; } .preference-section { padding: 12px 0; border-bottom: 1px solid var(--color-gray-400); display: flex; justify-content: space-between; align-items: center; gap: 24px; } .preference-section:last-child { border-bottom: none; } .preference-header { margin-bottom: 0; flex: 1; } .preference-header label { font-size: var(--size-14); font-weight: 500; color: var(--color-gray-1000); margin: 0; } .preference-description { color: var(--color-gray-900); font-size: var(--size-14); margin: 0; } .select-button, .action-button { display: flex; align-items: center; gap: 8px; background: var(--color-background-100); border: 1px solid var(--color-gray-400); border-radius: var(--rounded-lg); font-weight: 400; font-size: var(--size-14); color: var(--color-gray-1000); padding: 6px 8px; transition: border-color 150ms var(--timing-swift); &:hover { border-color: var(--color-gray-500); } svg { width: 14px; height: 14px; overflow: visible; } } .select-button { &:focus-within { outline: var(--focus-ring); outline-offset: -1px; } select { all: unset; } option { color: var(--color-gray-1000); background: var(--color-background-100); } } .preference-section button:disabled { opacity: 0.6; cursor: not-allowed; } :global(.icon) { width: 18px; height: 18px; color: #666; } `;function no(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":!0,children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0607 5.49999L13.5303 6.03032L8.7071 10.8535C8.31658 11.2441 7.68341 11.2441 7.29289 10.8535L2.46966 6.03032L1.93933 5.49999L2.99999 4.43933L3.53032 4.96966L7.99999 9.43933L12.4697 4.96966L13 4.43933L14.0607 5.49999Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function na(){return(0,j.jsx)("style",{children:e_` ${tn} ${rp} ${rg} ${t3} ${rn} ${e5} ${rr} ${tk} ${t1} ${tI} ${e2} ${rl} ${ra} ${""} ${rU} ${rN} ${tR} ${nn} ${t8} ${r1} `})}function ni(e,t){let r,n,o,a,i=(0,S.c)(10),l=void 0!==e&&e;i[0]!==t?(r=void 0===t?{}:t,i[0]=t,i[1]=r):r=i[1];let s=r,[c,u]=(0,C.useState)(l),[d,f]=(0,C.useState)(!1),{enterDelay:p,exitDelay:h}=s,m=void 0===p?1:p,g=void 0===h?0:h;return i[2]!==l||i[3]!==m||i[4]!==g?(n=()=>{let e,t;return l?(u(!0),m<=0?f(!0):e=setTimeout(()=>{f(!0)},m)):(f(!1),g<=0?u(!1):t=setTimeout(()=>{u(!1)},g)),()=>{clearTimeout(e),clearTimeout(t)}},o=[l,m,g],i[2]=l,i[3]=m,i[4]=g,i[5]=n,i[6]=o):(n=i[5],o=i[6]),(0,C.useEffect)(n,o),i[7]!==c||i[8]!==d?(a={mounted:c,rendered:d},i[7]=c,i[8]=d,i[9]=a):a=i[9],a}function nl(e){let t,r,n,o,a,i=(0,S.c)(19),{state:l,dispatch:s,getSquashedHydrationErrorDetails:c,runtimeErrors:u,errorCount:d}=e,f=!!process.env.TURBOPACK;i[0]===Symbol.for("react.memo_cache_sentinel")?(t={exitDelay:200},i[0]=t):t=i[0];let{mounted:p,rendered:h}=ni(l.isErrorOverlayOpen,t);i[1]!==d||i[2]!==h||i[3]!==l.versionInfo?(r={rendered:h,transitionDurationMs:200,isTurbopack:f,versionInfo:l.versionInfo,errorCount:d},i[1]=d,i[2]=h,i[3]=l.versionInfo,i[4]=r):r=i[4];let m=r;if(null!==l.buildError){let e;return i[5]!==m||i[6]!==l.buildError?(e=(0,j.jsx)(ru,{...m,message:l.buildError,rendered:!0}),i[5]=m,i[6]=l.buildError,i[7]=e):e=i[7],e}if(!u.length)return null;let g=p?"visible":"hidden";return i[8]!==s?(n=()=>{s({type:G})},i[8]=s,i[9]=n):n=i[9],i[10]!==m||i[11]!==c||i[12]!==u||i[13]!==l.debugInfo||i[14]!==n?(o=(0,j.jsx)(rM,{...m,debugInfo:l.debugInfo,getSquashedHydrationErrorDetails:c,runtimeErrors:u,onClose:n}),i[10]=m,i[11]=c,i[12]=u,i[13]=l.debugInfo,i[14]=n,i[15]=o):o=i[15],i[16]!==g||i[17]!==o?(a=(0,j.jsx)(C.Activity,{mode:g,children:o}),i[16]=g,i[17]=o,i[18]=a):a=i[18],a}let ns=e=>{let t=(0,S.c)(4),{state:r}=e;if(r.buildError){let r;return t[0]!==e?(r=(0,j.jsx)(nu,{...e}),t[0]=e,t[1]=r):r=t[1],r}{let r;return t[2]!==e?(r=(0,j.jsx)(nc,{...e}),t[2]=e,t[3]=r):r=t[3],r}},nc=e=>{let t,r,n,o,a,i=(0,S.c)(12),{children:l,state:s,isAppDir:c}=e,{errors:u}=s;i[0]===Symbol.for("react.memo_cache_sentinel")?(t={},i[0]=t):t=i[0];let[d,f]=(0,C.useState)(t);if(i[1]!==u||i[2]!==d){let e=[],t=null;for(let r=0;r{var e,t;if(null==h)return;let r=(e=h,t=c,{id:e.id,runtime:!0,error:e.error,type:e.type,frames:rC(async()=>await eM(e.frames,rS(e.error),t)),cause:function e(t,r,n=0){if(n>=5)return;let o=t.cause;if(!(o instanceof Error))return;let a=L(o.stack||"");return{error:o,frames:rC(async()=>await eM(a,rS(o),r)),cause:e(o,r,n+1)}}(e.error,t)});f(e=>({...e,[r.id]:r}))},o=[h,c],i[4]=c,i[5]=h,i[6]=n,i[7]=o):(n=i[6],o=i[7]),(0,C.useEffect)(n,o);let m=u.length;return i[8]!==l||i[9]!==p||i[10]!==m?(a=l({runtimeErrors:p,totalErrorCount:m}),i[8]=l,i[9]=p,i[10]=m,i[11]=a):a=i[11],a},nu=({children:e})=>e({runtimeErrors:[],totalErrorCount:1});function nd(){let e,t,r=(0,S.c)(4),{shadowRoot:n,state:o}=us();return r[0]!==n||r[1]!==o.scale?(e=()=>{n?.host&&n.host.style.setProperty("--nextjs-dev-tools-scale",String(o.scale||1))},t=[n,o.scale],r[0]=n,r[1]=o.scale,r[2]=e,r[3]=t):(e=r[2],t=r[3]),(0,C.useLayoutEffect)(e,t),null}var nf=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css"),np={};function nh(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.08889 11.8384L2.62486 12.3024L1.69678 11.3744L2.16082 10.9103L6.07178 6.99937L2.16082 3.08841L1.69678 2.62437L2.62486 1.69629L3.08889 2.16033L6.99986 6.07129L10.9108 2.16033L11.3749 1.69629L12.3029 2.62437L11.8389 3.08841L7.92793 6.99937L11.8389 10.9103L12.3029 11.3744L11.3749 12.3024L10.9108 11.8384L6.99986 7.92744L3.08889 11.8384Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function nm(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.98071 1.125L1.125 3.98071L1.125 8.01929L3.98071 10.875H8.01929L10.875 8.01929V3.98071L8.01929 1.125H3.98071ZM3.82538 0C3.62647 0 3.4357 0.0790176 3.29505 0.21967L0.21967 3.29505C0.0790176 3.4357 0 3.62647 0 3.82538V8.17462C0 8.37353 0.0790178 8.5643 0.21967 8.70495L3.29505 11.7803C3.4357 11.921 3.62647 12 3.82538 12H8.17462C8.37353 12 8.5643 11.921 8.70495 11.7803L11.7803 8.70495C11.921 8.5643 12 8.37353 12 8.17462V3.82538C12 3.62647 11.921 3.4357 11.7803 3.29505L8.70495 0.21967C8.5643 0.0790177 8.37353 0 8.17462 0H3.82538ZM6.5625 2.8125V3.375V6V6.5625H5.4375V6V3.375V2.8125H6.5625ZM6 9C6.41421 9 6.75 8.66421 6.75 8.25C6.75 7.83579 6.41421 7.5 6 7.5C5.58579 7.5 5.25 7.83579 5.25 8.25C5.25 8.66421 5.58579 9 6 9Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}np.styleTagTransform=b(),np.setAttributes=m(),np.insert=p(),np.domAPI=d(),np.insertStyleElement=v(),c()(nf.A,np),nf.A&&nf.A.locals&&nf.A.locals;let ng=(0,C.createContext)(null),nv=()=>(0,C.useContext)(ng);function ny(e){return nR+36/e.scale+9}var nb=((n={}).None="none",n.Rendering="rendering",n.Compiling="compiling",n.Prerendering="prerendering",n.CacheBypassing="cache-bypassing",n);function nx(e){let t,r,n,o,a,i,l=(0,S.c)(13),{status:s,onClick:c}=e;l[0]===Symbol.for("react.memo_cache_sentinel")?(t={none:"","cache-bypassing":"Cache disabled",prerendering:"Prerendering",compiling:"Compiling",rendering:"Rendering"},l[0]=t):t=l[0];let u=t;l[1]===Symbol.for("react.memo_cache_sentinel")?(r={none:"","cache-bypassing":"",prerendering:"#f5a623",compiling:"#f5a623",rendering:"#50e3c2"},l[1]=r):r=l[1];let d=r;if("none"===s)return null;l[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)("style",{children:e_` [data-indicator-status] { --padding-left: 8px; display: flex; gap: 6px; align-items: center; padding-left: 12px; padding-right: 8px; height: var(--size-32); margin-right: 2px; border-radius: var(--rounded-full); transition: background var(--duration-short) ease; color: white; font-size: var(--size-13); font-weight: 500; white-space: nowrap; border: none; background: transparent; cursor: pointer; outline: none; } [data-indicator-status]:focus-visible { outline: 2px solid var(--color-blue-800, #3b82f6); outline-offset: 3px; } [data-status-dot] { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } [data-status-text-animation] { display: inline-flex; align-items: center; position: relative; overflow: hidden; height: 100%; > * { white-space: nowrap; line-height: 1; } [data-status-text-enter] { animation: slotMachineEnter 150ms cubic-bezier(0, 0, 0.2, 1) forwards; } } [data-status-ellipsis] { display: inline-flex; margin-left: 2px; } [data-status-ellipsis] span { animation: ellipsisFade 1.2s infinite; margin: 0 1px; } [data-status-ellipsis] span:nth-child(2) { animation-delay: 0.2s; } [data-status-ellipsis] span:nth-child(3) { animation-delay: 0.4s; } @keyframes ellipsisFade { 0%, 60%, 100% { opacity: 0.2; } 30% { opacity: 1; } } @keyframes slotMachineEnter { 0% { transform: translateY(0.8em); opacity: 0; } 50% { opacity: 0.8; } 100% { transform: translateY(0); opacity: 1; } } `}),l[2]=n):n=l[2],l[3]!==s?(o=d[s]&&(0,j.jsx)("div",{"data-status-dot":!0,style:{backgroundColor:d[s]}}),l[3]=s,l[4]=o):o=l[4];let f="cache-bypassing"!==s,p=u[s];return l[5]!==s||l[6]!==f||l[7]!==p?(a=(0,j.jsx)(n_,{statusKey:s,showEllipsis:f,children:p},s),l[5]=s,l[6]=f,l[7]=p,l[8]=a):a=l[8],l[9]!==c||l[10]!==o||l[11]!==a?(i=(0,j.jsxs)(j.Fragment,{children:[n,(0,j.jsxs)("button",{"data-indicator-status":!0,"data-nextjs-dev-tools-button":!0,onClick:c,"aria-label":"Open Next.js Dev Tools",children:[o,a]})]}),l[9]=c,l[10]=o,l[11]=a,l[12]=i):i=l[12],i}function n_(e){let t,r,n=(0,S.c)(5),{children:o,showEllipsis:a}=e,i=void 0===a||a;return n[0]!==i?(t=i&&(0,j.jsxs)("span",{"data-status-ellipsis":!0,children:[(0,j.jsx)("span",{children:"."}),(0,j.jsx)("span",{children:"."}),(0,j.jsx)("span",{children:"."})]}),n[0]=i,n[1]=t):t=n[1],n[2]!==t||n[3]!==o?(r=(0,j.jsx)("div",{"data-status-text-animation":!0,children:(0,j.jsxs)("div",{"data-status-text-enter":!0,children:[o,t]})}),n[2]=t,n[3]=o,n[4]=r):r=n[4],r}function nw(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h=(0,S.c)(54);h[0]!==e?({onTriggerClick:r,...t}=e,h[0]=e,h[1]=t,h[2]=r):(t=h[1],r=h[2]);let{state:m,dispatch:g}=us(),{totalErrorCount:v}=c9(),y=36/m.scale,{panel:b,triggerRef:x,setPanel:_}=nv(),w="panel-selector"===b,k=v>0,[E,T]=(0,C.useState)(k),[N,L]=(0,C.useState)(k);N!==k&&(L(k),T(k));let[I,P]=(0,C.useState)(!1),z=function(e,t){let r,n,o=(0,S.c)(4),a=150,i=(0,C.useRef)(null),[l,s]=(0,C.useState)(!1);return o[0]!==a||o[1]!==e?(r=()=>{if(e>0){let e=i.current?Date.now()-i.current:-1;if(i.current=Date.now(),e<=a)return;s(!0);let t=window.setTimeout(()=>{s(!1)},a);return()=>{clearTimeout(t)}}},n=[e,a],o[0]=a,o[1]=e,o[2]=r,o[3]=n):(r=o[2],n=o[3]),(0,C.useEffect)(r,n),l}(v,0),R="filling"===m.cacheIndicator,O="bypass"===m.cacheIndicator,M=m.buildingIndicator||m.renderingIndicator||R;h[3]===Symbol.for("react.memo_cache_sentinel")?(n={enterDelay:400,exitDelay:500},h[3]=n):n=h[3];let{rendered:A}=ni(M,n),D=(0,C.useRef)(null),Z=function(e){let t,r,n=(0,S.c)(3),[o,a]=(0,C.useState)(0);return n[0]!==e?(t=()=>{let t=e.current;if(!t)return;let r=new ResizeObserver(e=>{let[t]=e,{contentRect:r}=t;a(r.width)});return r.observe(t),()=>r.disconnect()},r=[e],n[0]=e,n[1]=t,n[2]=r):(t=n[1],r=n[2]),(0,C.useEffect)(t,r),o}(D);if(h[4]!==m.buildingIndicator||h[5]!==m.cacheIndicator||h[6]!==m.renderingIndicator){var F,U,$;F=m.buildingIndicator,U=m.renderingIndicator,$=m.cacheIndicator,o=F?"compiling":"filling"===$?"prerendering":U?"rendering":"none",h[4]=m.buildingIndicator,h[5]=m.cacheIndicator,h[6]=m.renderingIndicator,h[7]=o}else o=h[7];let H=o,V=A?H:nb.None,B=E||O||A||m.disableDevIndicator,q=0===Z?"auto":Z,W=`${y}px`,K=m.disableDevIndicator&&(!k||I)?"none":"block";h[8]!==W||h[9]!==K?(a={"--size":W,"--duration-short":"150ms",display:K},h[8]=W,h[9]=K,h[10]=a):a=h[10];let Y=a;h[11]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsx)("style",{children:e_` [data-next-badge-root] { --timing: cubic-bezier(0.23, 0.88, 0.26, 0.92); --duration-long: 250ms; --color-outer-border: #171717; --color-inner-border: hsla(0, 0%, 100%, 0.14); --color-hover-alpha-subtle: hsla(0, 0%, 100%, 0.13); --color-hover-alpha-error: hsla(0, 0%, 100%, 0.2); --color-hover-alpha-error-2: hsla(0, 0%, 100%, 0.25); --mark-size: calc(var(--size) - var(--size-2) * 2); --focus-color: var(--color-blue-800); --focus-ring: 2px solid var(--focus-color); &:has([data-next-badge][data-error='true']) { --focus-color: #fff; } } [data-disabled-icon] { display: flex; align-items: center; justify-content: center; padding-right: 4px; } [data-next-badge] { width: var(--size); height: var(--size); display: flex; align-items: center; position: relative; background: rgba(0, 0, 0, 0.8); box-shadow: 0 0 0 1px var(--color-outer-border), inset 0 0 0 1px var(--color-inner-border), 0px 16px 32px -8px rgba(0, 0, 0, 0.24); backdrop-filter: blur(48px); border-radius: var(--rounded-full); user-select: none; cursor: pointer; scale: 1; overflow: hidden; will-change: scale, box-shadow, width, background; transition: scale var(--duration-short) var(--timing), width var(--duration-long) var(--timing), box-shadow var(--duration-long) var(--timing), background var(--duration-short) ease; &:active[data-error='false'] { scale: 0.95; } &[data-animate='true']:not(:hover) { scale: 1.02; } &[data-error='false']:has([data-next-mark]:focus-visible) { outline: var(--focus-ring); outline-offset: 3px; } &[data-error='true'] { background: #ca2a30; --color-inner-border: #e5484d; [data-next-mark] { background: var(--color-hover-alpha-error); outline-offset: 0px; &:focus-visible { outline: var(--focus-ring); outline-offset: -1px; } &:hover { background: var(--color-hover-alpha-error-2); } } } &[data-cache-bypassing='true']:not([data-error='true']) { background: rgba(217, 119, 6, 0.95); --color-inner-border: rgba(245, 158, 11, 0.9); [data-issues-open] { color: white; } } &[data-error-expanded='false'][data-error='true'] ~ [data-dot] { scale: 1; } > div { display: flex; } } [data-issues-collapse]:focus-visible { outline: var(--focus-ring); } [data-issues]:has([data-issues-open]:focus-visible) { outline: var(--focus-ring); outline-offset: -1px; } [data-dot] { content: ''; width: var(--size-8); height: var(--size-8); background: #fff; box-shadow: 0 0 0 1px var(--color-outer-border); border-radius: 50%; position: absolute; top: 2px; right: 0px; scale: 0; pointer-events: none; transition: scale 200ms var(--timing); transition-delay: var(--duration-short); } [data-issues] { --padding-left: 8px; display: flex; gap: 2px; align-items: center; padding-left: 8px; padding-right: 8px; height: var(--size-32); margin-right: 2px; border-radius: var(--rounded-full); transition: background var(--duration-short) ease; &:has([data-issues-open]:hover) { background: var(--color-hover-alpha-error); } &:has([data-issues-collapse]) { padding-right: calc(var(--padding-left) / 2); } } [data-issues-open] { font-size: var(--size-13); color: white; width: fit-content; height: 100%; display: flex; gap: 2px; align-items: center; margin: 0; line-height: var(--size-36); font-weight: 500; z-index: 2; white-space: nowrap; &:focus-visible { outline: 0; } } [data-issues-collapse] { width: var(--size-24); height: var(--size-24); display: flex; align-items: center; justify-content: center; border-radius: var(--rounded-full); transition: background var(--duration-short) ease; &:hover { background: var(--color-hover-alpha-error); } } [data-cross] { color: #fff; width: var(--size-12); height: var(--size-12); } [data-next-mark] { width: var(--mark-size); height: var(--mark-size); margin: 0 2px; display: flex; align-items: center; border-radius: var(--rounded-full); transition: background var(--duration-long) var(--timing); &:focus-visible { outline: 0; } &:hover { background: var(--color-hover-alpha-subtle); } svg { flex-shrink: 0; width: var(--size-40); height: var(--size-40); } } [data-issues-count-animation] { display: grid; place-items: center center; font-variant-numeric: tabular-nums; &[data-animate='false'] { [data-issues-count-exit], [data-issues-count-enter] { animation-duration: 0ms; } } > * { grid-area: 1 / 1; } [data-issues-count-exit] { animation: fadeOut 300ms var(--timing) forwards; } [data-issues-count-enter] { animation: fadeIn 300ms var(--timing) forwards; } } [data-issues-count-plural] { display: inline-block; &[data-animate='true'] { animation: fadeIn 300ms var(--timing) forwards; } } .paused { stroke-dashoffset: 0; } @keyframes fadeIn { 0% { opacity: 0; filter: blur(2px); transform: translateY(8px); } 100% { opacity: 1; filter: blur(0px); transform: translateY(0); } } @keyframes fadeOut { 0% { opacity: 1; filter: blur(0px); transform: translateY(0); } 100% { opacity: 0; transform: translateY(-12px); filter: blur(2px); } } @media (prefers-reduced-motion) { [data-issues-count-exit], [data-issues-count-enter], [data-issues-count-plural] { animation-duration: 0ms !important; } } `}),h[11]=i):i=h[11];let Q=k||O?nb.None:H;return h[12]!==q?(l={width:q},h[12]=q,h[13]=l):l=h[13],h[14]!==t||h[15]!==k||h[16]!==O||h[17]!==w||h[18]!==r||h[19]!==A||h[20]!==m.disableDevIndicator||h[21]!==x?(s=!m.disableDevIndicator&&(0,j.jsx)("button",{id:"next-logo",ref:x,"data-next-mark":!0,onClick:r,disabled:m.disableDevIndicator,"aria-haspopup":"menu","aria-expanded":w,"aria-controls":"nextjs-dev-tools-menu","aria-label":`${w?"Close":"Open"} Next.js Dev Tools`,"data-nextjs-dev-tools-button":!0,style:{display:!A||k||O?"flex":"none"},...t,children:(0,j.jsx)(nS,{})}),h[14]=t,h[15]=k,h[16]=O,h[17]=w,h[18]=r,h[19]=A,h[20]=m.disableDevIndicator,h[21]=x,h[22]=s):s=h[22],h[23]!==g||h[24]!==V||h[25]!==k||h[26]!==O||h[27]!==E||h[28]!==B||h[29]!==z||h[30]!==r||h[31]!==_||h[32]!==A||h[33]!==m.buildError||h[34]!==m.disableDevIndicator||h[35]!==m.isErrorOverlayOpen||h[36]!==v||h[37]!==x?(c=B&&(0,j.jsxs)(j.Fragment,{children:[(E||m.disableDevIndicator)&&(0,j.jsxs)("div",{"data-issues":!0,children:[(0,j.jsxs)("button",{"data-issues-open":!0,"aria-label":"Open issues overlay",onClick:()=>{m.isErrorOverlayOpen?g({type:G}):(g({type:X}),_(null))},children:[m.disableDevIndicator&&(0,j.jsx)("div",{"data-disabled-icon":!0,children:(0,j.jsx)(nm,{})}),(0,j.jsx)(nk,{animate:z,"data-issues-count-animation":!0,children:v},v)," ",(0,j.jsxs)("div",{children:["Issue",v>1&&(0,j.jsx)("span",{"aria-hidden":!0,"data-issues-count-plural":!0,"data-animate":z&&2===v,children:"s"})]})]}),!m.buildError&&(0,j.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse issues badge",onClick:()=>{m.disableDevIndicator?P(!0):T(!1),x.current?.focus()},children:(0,j.jsx)(nh,{"data-cross":!0})})]}),O&&!k&&!m.disableDevIndicator&&(0,j.jsx)(nj,{onTriggerClick:r,triggerRef:x}),A&&!k&&!O&&!m.disableDevIndicator&&(0,j.jsx)(nx,{status:V,onClick:r})]}),h[23]=g,h[24]=V,h[25]=k,h[26]=O,h[27]=E,h[28]=B,h[29]=z,h[30]=r,h[31]=_,h[32]=A,h[33]=m.buildError,h[34]=m.disableDevIndicator,h[35]=m.isErrorOverlayOpen,h[36]=v,h[37]=x,h[38]=c):c=h[38],h[39]!==s||h[40]!==c?(u=(0,j.jsxs)("div",{ref:D,children:[s,c]}),h[39]=s,h[40]=c,h[41]=u):u=h[41],h[42]!==k||h[43]!==O||h[44]!==B||h[45]!==z||h[46]!==u||h[47]!==Q||h[48]!==l?(d=(0,j.jsx)("div",{"data-next-badge":!0,"data-error":k,"data-error-expanded":B,"data-status":Q,"data-cache-bypassing":O,"data-animate":z,style:l,children:u}),h[42]=k,h[43]=O,h[44]=B,h[45]=z,h[46]=u,h[47]=Q,h[48]=l,h[49]=d):d=h[49],h[50]===Symbol.for("react.memo_cache_sentinel")?(f=(0,j.jsx)("div",{"aria-hidden":!0,"data-dot":!0}),h[50]=f):f=h[50],h[51]!==d||h[52]!==Y?(p=(0,j.jsxs)("div",{"data-next-badge-root":!0,style:Y,children:[i,d,f]}),h[51]=d,h[52]=Y,h[53]=p):p=h[53],p}function nk(e){let t,r,n,o,a,i,l=(0,S.c)(13);l[0]!==e?({children:t,animate:n,...r}=e,l[0]=e,l[1]=t,l[2]=r,l[3]=n):(t=l[1],r=l[2],n=l[3]);let s=void 0===n||n,c=t-1;return l[4]!==c?(o=(0,j.jsx)("div",{"aria-hidden":!0,"data-issues-count-exit":!0,children:c}),l[4]=c,l[5]=o):o=l[5],l[6]!==t?(a=(0,j.jsx)("div",{"data-issues-count":!0,"data-issues-count-enter":!0,children:t}),l[6]=t,l[7]=a):a=l[7],l[8]!==s||l[9]!==r||l[10]!==o||l[11]!==a?(i=(0,j.jsxs)("div",{...r,"data-animate":s,children:[o,a]}),l[8]=s,l[9]=r,l[10]=o,l[11]=a,l[12]=i):i=l[12],i}function nj(e){let t,r,n,o,a,i=(0,S.c)(10),{onTriggerClick:l,triggerRef:s}=e,[c,u]=(0,C.useState)(!1);return c?null:(i[0]!==l?(t=(0,j.jsx)("button",{"data-issues-open":!0,"data-nextjs-dev-tools-button":!0,"aria-label":"Open Next.js Dev Tools",onClick:l,children:"Cache disabled"}),i[0]=l,i[1]=t):t=i[1],i[2]!==s?(r=()=>{u(!0),s.current?.focus()},i[2]=s,i[3]=r):r=i[3],i[4]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)(nh,{"data-cross":!0}),i[4]=n):n=i[4],i[5]!==r?(o=(0,j.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse cache bypass badge",onClick:r,children:n}),i[5]=r,i[6]=o):o=i[6],i[7]!==t||i[8]!==o?(a=(0,j.jsxs)("div",{"data-issues":!0,"data-cache-bypass-badge":!0,children:[t,o]}),i[7]=t,i[8]=o,i[9]=a):a=i[9],a)}function nS(){let e,t,r,n,o=(0,S.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsxs)("g",{transform:"translate(8.5, 13)",children:[(0,j.jsx)("path",{className:"paused",d:"M13.3 15.2 L2.34 1 V12.6",fill:"none",stroke:"url(#next_logo_paint0_linear_1357_10853)",strokeWidth:"1.86",mask:"url(#next_logo_mask0)",strokeDasharray:"29.6",strokeDashoffset:"29.6"}),(0,j.jsx)("path",{className:"paused",d:"M11.825 1.5 V13.1",strokeWidth:"1.86",stroke:"url(#next_logo_paint1_linear_1357_10853)",strokeDasharray:"11.6",strokeDashoffset:"11.6"})]}),o[0]=e):e=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsxs)("linearGradient",{id:"next_logo_paint0_linear_1357_10853",x1:"9.95555",y1:"11.1226",x2:"15.4778",y2:"17.9671",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{stopColor:"white"}),(0,j.jsx)("stop",{offset:"0.604072",stopColor:"white",stopOpacity:"0"}),(0,j.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[1]=t):t=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,j.jsxs)("linearGradient",{id:"next_logo_paint1_linear_1357_10853",x1:"11.8222",y1:"1.40039",x2:"11.791",y2:"9.62542",gradientUnits:"userSpaceOnUse",children:[(0,j.jsx)("stop",{stopColor:"white"}),(0,j.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[2]=r):r=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[e,(0,j.jsxs)("defs",{children:[t,r,(0,j.jsxs)("mask",{id:"next_logo_mask0",children:[(0,j.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,j.jsx)("rect",{width:"5",height:"1.5",fill:"black"})]})]})]}),o[3]=n):n=o[3],n}let nC=C.forwardRef(function(e,t){let r,n,o,a,i,l,s,c=(0,S.c)(15);return c[0]!==e?({onClick:o,children:r,className:n,...a}=e,c[0]=e,c[1]=r,c[2]=n,c[3]=o,c[4]=a):(r=c[1],n=c[2],o=c[3],a=c[4]),c[5]!==o?(i=e=>(e.target.closest("a")||e.preventDefault(),o?.()),c[5]=o,c[6]=i):i=c[6],c[7]!==n?(l=e6("nextjs-toast",n),c[7]=n,c[8]=l):l=c[8],c[9]!==r||c[10]!==a||c[11]!==t||c[12]!==i||c[13]!==l?(s=(0,j.jsx)("div",{...a,ref:t,onClick:i,className:l,children:r}),c[9]=r,c[10]=a,c[11]=t,c[12]=i,c[13]=l,c[14]=s):s=c[14],s}),nE=(0,C.createContext)(null);function nT({children:e,disabled:t=!1}){let r=(0,C.useRef)(new Set),n=(0,C.useCallback)(e=>{r.current.add(e)},[]),o=(0,C.useCallback)(e=>{r.current.delete(e)},[]),a=(0,C.useMemo)(()=>({register:n,unregister:o,handles:r.current,disabled:t}),[n,o,t]);return(0,j.jsx)(nE.Provider,{value:a,children:e})}function nN(){return(0,C.useContext)(nE)}function nL(e){let t,r,n,o,a,i,l,s,c,u=(0,S.c)(19);u[0]!==e?({children:t,ref:n,...r}=e,u[0]=e,u[1]=t,u[2]=r,u[3]=n):(t=u[1],r=u[2],n=u[3]);let d=(0,C.useRef)(null),f=nN();u[4]!==n?(o=e=>{d.current=e??null,"function"==typeof n?n(e):n&&"object"==typeof n&&(n.current=e)},u[4]=n,u[5]=o):o=u[5];let p=o;u[6]!==f?(a=()=>{if(!f||!d.current||f.disabled)return;let e=d.current;return f.register(e),()=>f.unregister(e)},i=[f],u[6]=f,u[7]=a,u[8]=i):(a=u[7],i=u[8]),(0,C.useEffect)(a,i);let h=f?.disabled?"default":"grab";return u[9]!==r.style?(l=r.style||{},u[9]=r.style,u[10]=l):l=u[10],u[11]!==h||u[12]!==l?(s={cursor:h,...l},u[11]=h,u[12]=l,u[13]=s):s=u[13],u[14]!==t||u[15]!==r||u[16]!==p||u[17]!==s?(c=(0,j.jsx)("div",{ref:p,...r,style:s,children:t}),u[14]=t,u[15]=r,u[16]=p,u[17]=s,u[18]=c):c=u[18],c}function nI(e){let t,r,n,o,a,i,l,s,c,u,d=(0,S.c)(15);d[0]!==e?({children:r,padding:i,position:n,setPosition:s,onDragStart:a,dragHandleSelector:o,disableDrag:c,avoidZone:t,...l}=e,d[0]=e,d[1]=t,d[2]=r,d[3]=n,d[4]=o,d[5]=a,d[6]=i,d[7]=l,d[8]=s,d[9]=c):(t=d[1],r=d[2],n=d[3],o=d[4],a=d[5],i=d[6],l=d[7],s=d[8],c=d[9]);let{ref:f,animate:p,...h}=function(e){let t=(0,C.useRef)(null),r=(0,C.useRef)({state:"idle"}),n=(0,C.useRef)(null),o=(0,C.useRef)({x:0,y:0}),a=(0,C.useRef)({x:0,y:0}),i=(0,C.useRef)(0),l=(0,C.useRef)([]),s=(0,C.useCallback)(()=>{"drag"===r.current.state&&t.current?.releasePointerCapture(r.current.pointerId),r.current="drag"===r.current.state?{state:"drag-end"}:{state:"idle"},null!==n.current&&(n.current(),n.current=null),l.current=[],t.current?.classList.remove("dev-tools-grabbing"),t.current?.style.removeProperty("-webkit-user-select"),document.body.style.removeProperty("user-select"),document.body.style.removeProperty("-webkit-user-select")},[]);function c(e){t.current&&(a.current=e,t.current.style.translate=`${e.x}px ${e.y}px`)}function u(r){let n=t.current;null!==n&&(n.style.transition="translate 491.22ms var(--timing-bounce)",n.addEventListener("transitionend",function t(o){"translate"===o.propertyName&&(e.onAnimationEnd?.(r),a.current={x:0,y:0},n.style.transition="",n.removeEventListener("transitionend",t))}),c(r.translation))}function d(e){"drag-end"===r.current.state&&(e.preventDefault(),e.stopPropagation(),r.current={state:"idle"},t.current?.removeEventListener("click",d))}function f(n){if("press"===r.current.state){let a=n.clientX-o.current.x,i=n.clientY-o.current.y;Math.sqrt(a*a+i*i)>=e.threshold&&(r.current={state:"drag",pointerId:n.pointerId},t.current?.setPointerCapture(n.pointerId),t.current?.classList.add("dev-tools-grabbing"),t.current?.style.setProperty("-webkit-user-select","none"),document.body.style.userSelect="none",document.body.style.webkitUserSelect="none",e.onDragStart?.())}if("drag"!==r.current.state)return;let s={x:n.clientX,y:n.clientY},u=s.x-o.current.x,d=s.y-o.current.y;o.current=s,c({x:a.current.x+u,y:a.current.y+d});let f=Date.now();f-i.current>=10&&(l.current=[...l.current.slice(-5),{position:s,timestamp:f}]),i.current=f,e.onDrag?.(a.current)}function p(){let t=function(e){if(e.length<2)return{x:0,y:0};let t=e[0],r=e[e.length-1],n=r.timestamp-t.timestamp;if(0===n)return{x:0,y:0};let o=(r.position.x-t.position.x)/n;return{x:1e3*o,y:1e3*((r.position.y-t.position.y)/n)}}(l.current);s(),e.onDragEnd?.(a.current,t)}return(0,C.useLayoutEffect)(()=>{e.disabled&&s()},[s,e.disabled]),e.disabled?{ref:t,animate:u}:{ref:t,onPointerDown:function(a){0!==a.button||function(r){if(!r||!t.current)return!0;if(e.handles&&e.handles.size>0){let n=r;for(;n&&n!==t.current;){if(e.handles.has(n))return!0;n=n.parentElement}return!1}return!e.dragHandleSelector||null!==r.closest(e.dragHandleSelector)}(a.target)&&(o.current={x:a.clientX,y:a.clientY},r.current={state:"press"},window.addEventListener("pointermove",f),window.addEventListener("pointerup",p),null!==n.current&&(n.current(),n.current=null),n.current=()=>{window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",p)},t.current?.addEventListener("click",d))},animate:u}}({disabled:void 0!==c&&c,handles:nN()?.handles,threshold:5,onDragStart:a,onDragEnd:function(e,r){0===Math.sqrt(e.x*e.x+e.y*e.y)?f.current?.style.removeProperty("translate"):p(function(e){let r,o,a,l,s,c,u,{x:d,y:p}=e,h=(r=2*i,o=f.current?.offsetWidth||0,a=f.current?.offsetHeight||0,l=window.innerWidth-document.documentElement.clientWidth,c=(s=function(e){let n=e.includes("right"),i=e.includes("bottom"),s=n?window.innerWidth-l-r-o:0,c=i?window.innerHeight-r-a:0;if(t&&t.corner===e){let e=t.square+t.padding;i?c-=e:c+=e}return{x:s,y:c}})(n),{"top-left":(u=function(e){return{x:e.x-c.x,y:e.y-c.y}})(s("top-left")),"top-right":u(s("top-right")),"bottom-left":u(s("bottom-left")),"bottom-right":u(s("bottom-right"))}),m=Object.entries(h).map(e=>{let[t,r]=e;return{key:t,distance:Math.sqrt((d-r.x)**2+(p-r.y)**2)}}),g=Math.min(...m.map(nP)),v=m.find(e=>e.distance===g);return v?{translation:h[v.key],corner:v.key}:{corner:n,translation:h[n]}}({x:e.x+nz(r.x),y:e.y+nz(r.y)}))},onAnimationEnd:function(e){let{corner:t}=e;setTimeout(()=>{f.current?.style.removeProperty("translate"),s(t)})},dragHandleSelector:o});return d[10]!==r||d[11]!==h||d[12]!==l||d[13]!==f?(u=(0,j.jsx)("div",{...l,...h,ref:f,children:r}),d[10]=r,d[11]=h,d[12]=l,d[13]=f,d[14]=u):u=d[14],u}function nP(e){return e.distance}function nz(e,t=.999){return e/1e3*t/(1-t)}let nR=20;function nO(){let e,t,r,n,o,a,i=(0,S.c)(20),{state:l,dispatch:s}=us(),{panel:c,setPanel:u,setSelectedIndex:d}=nv(),f=nM();i[0]!==l.devToolsPosition?(e=l.devToolsPosition.split("-",2),i[0]=l.devToolsPosition,i[1]=e):e=i[1];let[p,h]=e;i[2]!==h||i[3]!==p?(t={"--animate-out-duration-ms":"200ms","--animate-out-timing-function":t6,boxShadow:"none",[p]:`${nR}px`,[h]:`${nR}px`},i[2]=h,i[3]=p,i[4]=t):t=i[4];let m=t,g=null!==c;return i[5]!==s||i[6]!==f?(r=e=>{s({type:en,devToolsPosition:e}),r8({devToolsPosition:e}),f(e)},i[5]=s,i[6]=f,i[7]=r):r=i[7],i[8]!==c||i[9]!==u||i[10]!==d?(n=(0,j.jsx)(nw,{onTriggerClick:()=>{let e="panel-selector"===c?null:"panel-selector";if(u(e),!e)return void d(-1)}}),i[8]=c,i[9]=u,i[10]=d,i[11]=n):n=i[11],i[12]!==l.devToolsPosition||i[13]!==g||i[14]!==r||i[15]!==n?(o=(0,j.jsx)(nI,{disableDrag:g,padding:nR,position:l.devToolsPosition,setPosition:r,children:n}),i[12]=l.devToolsPosition,i[13]=g,i[14]=r,i[15]=n,i[16]=o):o=i[16],i[17]!==m||i[18]!==o?(a=(0,j.jsx)(nC,{id:"devtools-indicator","data-nextjs-toast":!0,style:m,children:o}),i[17]=m,i[18]=o,i[19]=a):a=i[19],a}let nM=()=>{let e,t=(0,S.c)(3),{state:r,dispatch:n}=us();return t[0]!==n||t[1]!==r.devToolsPanelPosition?(e=e=>{n({type:eo,devToolsPanelPosition:e,key:ef});let t=Object.keys(r.devToolsPanelPosition).filter(nA),o={[ef]:e};t.forEach(t=>{n({type:eo,devToolsPanelPosition:e,key:t}),o[t]=e}),r8({devToolsPanelPosition:o})},t[0]=n,t[1]=r.devToolsPanelPosition,t[2]=e):e=t[2],e};function nA(e){return e.startsWith(ec)}let nD=(0,C.createContext)({});function nZ(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h=(0,S.c)(37);h[0]!==e?({index:r,label:n,value:i,onClick:o,href:t,...a}=e,h[0]=e,h[1]=t,h[2]=r,h[3]=n,h[4]=o,h[5]=a,h[6]=i):(t=h[1],r=h[2],n=h[3],o=h[4],a=h[5],i=h[6]);let m="function"==typeof o||"string"==typeof t,{closeMenu:g,selectedIndex:v,setSelectedIndex:y}=(0,C.useContext)(nD),b=v===r;h[7]!==g||h[8]!==t||h[9]!==m||h[10]!==o?(l=function(){m&&(o?.(),g?.(),t&&window.open(t,"_blank","noopener, noreferrer"))},h[7]=g,h[8]=t,h[9]=m,h[10]=o,h[11]=l):l=h[11];let x=l;h[12]!==r||h[13]!==m||h[14]!==v||h[15]!==y?(s=()=>{m&&void 0!==r&&v!==r&&y(r)},h[12]=r,h[13]=m,h[14]=v,h[15]=y,h[16]=s):s=h[16],h[17]!==y?(c=()=>y(-1),h[17]=y,h[18]=c):c=h[18],h[19]!==x?(u=e=>{("Enter"===e.key||" "===e.key)&&x()},h[19]=x,h[20]=u):u=h[20];let _=m?"menuitem":void 0,w=b?0:-1;return h[21]!==n?(d=(0,j.jsx)("span",{className:"dev-tools-indicator-label",children:n}),h[21]=n,h[22]=d):d=h[22],h[23]!==i?(f=(0,j.jsx)("span",{className:"dev-tools-indicator-value",children:i}),h[23]=i,h[24]=f):f=h[24],h[25]!==x||h[26]!==r||h[27]!==a||h[28]!==b||h[29]!==s||h[30]!==c||h[31]!==u||h[32]!==_||h[33]!==w||h[34]!==d||h[35]!==f?(p=(0,j.jsxs)("div",{className:"dev-tools-indicator-item","data-index":r,"data-selected":b,onClick:x,onMouseMove:s,onMouseLeave:c,onKeyDown:u,role:_,tabIndex:w,...a,children:[d,f]}),h[25]=x,h[26]=r,h[27]=a,h[28]=b,h[29]=s,h[30]=c,h[31]=u,h[32]=_,h[33]=w,h[34]=d,h[35]=f,h[36]=p):p=h[36],p}let nF=e=>{let t,r,n,o,a,i,l,s,c,u,d,f,p,h,m,g,v,y,b,x,_,w,k,E,T=(0,S.c)(63),{closeOnClickOutside:N,items:L}=e,I=void 0===N||N,{state:P}=us(),{setPanel:z,triggerRef:R,setSelectedIndex:O,selectedIndex:M}=nv(),{mounted:A}=c2();T[0]!==P.devToolsPosition?(t=P.devToolsPosition.split("-",2),T[0]=P.devToolsPosition,T[1]=t):t=T[1];let[D,Z]=t,F=(0,C.useRef)(null);T[2]!==I||T[3]!==z||T[4]!==O?(r=e=>{switch(e){case"escape":z(null),O(-1);return;case"outside":if(!I)return;z(null),O(-1);return;default:return null}},T[2]=I,T[3]=z,T[4]=O,T[5]=r):r=T[5],t5(F,R,I&&A,r),T[6]!==M||T[7]!==O?(n=()=>{nV({index:-1===M?"first":M,menuRef:F,setSelectedIndex:O})},T[6]=M,T[7]=O,T[8]=n):n=T[8];let U=(0,C.useEffectEvent)(n);T[9]!==U?(o=()=>{F.current?.focus(),U()},T[9]=U,T[10]=o):o=T[10],T[11]===Symbol.for("react.memo_cache_sentinel")?(a=[],T[11]=a):a=T[11],(0,C.useLayoutEffect)(o,a),T[12]!==P?(i=ny(P),T[12]=P,T[13]=i):i=T[13];let $=i,[H,V]=P.devToolsPosition.split("-",2),B=D===H&&Z===V?$:nR,q=`${B}px`,W="top"===D?"bottom":"top",K="left"===Z?"right":"left";T[14]!==Z||T[15]!==K||T[16]!==q||T[17]!==W||T[18]!==D?(l={[D]:q,[Z]:`${nR}px`,[W]:"auto",[K]:"auto"},T[14]=Z,T[15]=K,T[16]=q,T[17]=W,T[18]=D,T[19]=l):l=T[19];let Y=l;if(T[20]!==L||T[21]!==Y||T[22]!==M||T[23]!==O){let e,t=L.filter(nB),r=t.filter(nq),n=t.filter(nW);p=F,h=function(e){e.preventDefault();let r=t.filter(nK).length;switch(e.key){case"ArrowDown":nV({index:M>=r-1?0:M+1,menuRef:F,setSelectedIndex:O});break;case"ArrowUp":nV({index:M<=0?r-1:M-1,menuRef:F,setSelectedIndex:O});break;case"Home":nV({index:"first",menuRef:F,setSelectedIndex:O});break;case"End":nV({index:"last",menuRef:F,setSelectedIndex:O});break;case"n":e.ctrlKey&&nV({index:M>=r-1?0:M+1,menuRef:F,setSelectedIndex:O});break;case"p":e.ctrlKey&&nV({index:M<=0?r-1:M-1,menuRef:F,setSelectedIndex:O})}},m="nextjs-dev-tools-menu",g="menu",v="ltr",y="vertical",b="Next.js Dev Tools Items",x=-1,T[38]!==Y?(_={outline:0,WebkitFontSmoothing:"antialiased",display:"flex",flexDirection:"column",alignItems:"flex-start",background:"var(--color-background-100)",backgroundClip:"padding-box",boxShadow:"var(--shadow-menu)",borderRadius:"var(--rounded-xl)",position:"fixed",fontFamily:"var(--font-stack-sans)",zIndex:"var(--top-z-index)",overflow:"hidden",opacity:1,minWidth:"248px",transition:"opacity var(--animate-out-duration-ms) var(--animate-out-timing-function)",border:"1px solid var(--color-gray-alpha-400)",...Y},T[38]=Y,T[39]=_):_=T[39],s=nD,T[40]!==M||T[41]!==O?(d={selectedIndex:M,setSelectedIndex:O},T[40]=M,T[41]=O,T[42]=d):d=T[42],T[43]===Symbol.for("react.memo_cache_sentinel")?(e={padding:"6px",width:"100%"},T[43]=e):e=T[43],f=(0,j.jsx)("div",{style:e,children:r.map((e,t)=>(0,j.jsx)(nZ,{title:e.title,label:e.label,value:e.value,onClick:e.onClick,index:e.onClick?nU(r,t):void 0,...e.attributes},e.label))}),c="dev-tools-indicator-footer",u=n.map((e,t)=>{var o;return(0,j.jsx)(nZ,{title:e.title,label:e.label,value:e.value,onClick:e.onClick,...e.attributes,index:e.onClick?nU(n,t)+(o=r).filter(e=>e.onClick).length:void 0},e.label)}),T[20]=L,T[21]=Y,T[22]=M,T[23]=O,T[24]=s,T[25]=c,T[26]=u,T[27]=d,T[28]=f,T[29]=p,T[30]=h,T[31]=m,T[32]=g,T[33]=v,T[34]=y,T[35]=b,T[36]=x,T[37]=_}else s=T[24],c=T[25],u=T[26],d=T[27],f=T[28],p=T[29],h=T[30],m=T[31],g=T[32],v=T[33],y=T[34],b=T[35],x=T[36],_=T[37];return T[44]!==c||T[45]!==u?(w=(0,j.jsx)("div",{className:c,children:u}),T[44]=c,T[45]=u,T[46]=w):w=T[46],T[47]!==s||T[48]!==d||T[49]!==f||T[50]!==w?(k=(0,j.jsxs)(s,{value:d,children:[f,w]}),T[47]=s,T[48]=d,T[49]=f,T[50]=w,T[51]=k):k=T[51],T[52]!==p||T[53]!==h||T[54]!==m||T[55]!==g||T[56]!==v||T[57]!==y||T[58]!==b||T[59]!==x||T[60]!==_||T[61]!==k?(E=(0,j.jsx)("div",{ref:p,onKeyDown:h,id:m,role:g,dir:v,"aria-orientation":y,"aria-label":b,tabIndex:x,style:_,children:k}),T[52]=p,T[53]=h,T[54]=m,T[55]=g,T[56]=v,T[57]=y,T[58]=b,T[59]=x,T[60]=_,T[61]=k,T[62]=E):E=T[62],E};function nU(e,t){let r=0;for(let n=0;n<=t&&n0;return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("span",{className:"dev-tools-indicator-issue-count-indicator"}),n[0]=t):t=n[0],n[1]!==o||n[2]!==a?(r=(0,j.jsxs)("span",{className:"dev-tools-indicator-issue-count","data-has-issues":a,children:[t,o]}),n[1]=o,n[2]=a,n[3]=r):r=n[3],r}function nH(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,j.jsx)("path",{fill:"#666",fillRule:"evenodd",clipRule:"evenodd",d:"M5.50011 1.93945L6.03044 2.46978L10.8537 7.293C11.2442 7.68353 11.2442 8.31669 10.8537 8.70722L6.03044 13.5304L5.50011 14.0608L4.43945 13.0001L4.96978 12.4698L9.43945 8.00011L4.96978 3.53044L4.43945 3.00011L5.50011 1.93945Z"})}),t[0]=e):e=t[0],e}function nV({index:e,menuRef:t,setSelectedIndex:r}){if("first"===e)return void setTimeout(()=>{let e=t.current?.querySelectorAll('[role="menuitem"]');e&&nV({index:Number(e[0].getAttribute("data-index")),menuRef:t,setSelectedIndex:r})});if("last"===e)return void setTimeout(()=>{let e=t.current?.querySelectorAll('[role="menuitem"]');e&&nV({index:e.length-1,menuRef:t,setSelectedIndex:r})});let n=t.current?.querySelector(`[data-index="${e}"]`);n&&(r(e),n?.focus())}function nB(e){return!!e}function nq(e){return!e.footer}function nW(e){return e.footer}function nK(e){return e.onClick}let nY=(0,C.createContext)(null),nX=e=>{let t=.95*window.innerWidth,r=.95*window.innerHeight;return{width:Math.min(t,Math.max(e.minWidth,e.width)),height:Math.min(r,Math.max(e.minHeight,e.height))}},nG=e=>{let t,r,n,o,a,i,l,s,c=(0,S.c)(34),{value:u,children:d}=e,f=u.minWidth??100,p=u.minHeight??80,h=u.maxWidth,m=u.maxHeight,[g,v]=(0,C.useState)(null),y=u.storageKey??ed,{resizeRef:b}=u;c[0]!==g||c[1]!==p||c[2]!==f||c[3]!==b||c[4]!==y||c[5]!==u.devToolsPanelSize?(t=()=>{if(!b.current||null!==g)return;let e=u.devToolsPanelSize[y];if(!e)return;let{height:t,width:r}=nX({...e,minWidth:f??100,minHeight:p??80});return b.current.style.width=`${r}px`,b.current.style.height=`${t}px`,!0},c[0]=g,c[1]=p,c[2]=f,c[3]=b,c[4]=y,c[5]=u.devToolsPanelSize,c[6]=t):t=c[6];let x=t;c[7]!==x||c[8]!==p||c[9]!==f||c[10]!==b||c[11]!==u.initialSize?(r=()=>{if(!x()&&b.current&&u.initialSize?.height&&u.initialSize.width){let{height:e,width:t}=nX({height:u.initialSize.height,width:u.initialSize.width,minWidth:f??100,minHeight:p??80});b.current.style.width=`${t}px`,b.current.style.height=`${e}px`}},c[7]=x,c[8]=p,c[9]=f,c[10]=b,c[11]=u.initialSize,c[12]=r):r=c[12];let _=(0,C.useEffectEvent)(r);c[13]!==_?(n=()=>{_()},c[13]=_,c[14]=n):n=c[14],c[15]===Symbol.for("react.memo_cache_sentinel")?(o=[],c[15]=o):o=c[15],(0,C.useLayoutEffect)(n,o),c[16]!==x?(a=()=>(window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)),c[16]=x,c[17]=a):a=c[17];let w=u.initialSize?.height,k=u.initialSize?.width;return c[18]!==x||c[19]!==w||c[20]!==k||c[21]!==u.resizeRef?(i=[x,w,k,u.resizeRef],c[18]=x,c[19]=w,c[20]=k,c[21]=u.resizeRef,c[22]=i):i=c[22],(0,C.useLayoutEffect)(a,i),c[23]!==g||c[24]!==m||c[25]!==h||c[26]!==p||c[27]!==f||c[28]!==y||c[29]!==u.resizeRef?(l={resizeRef:u.resizeRef,minWidth:f,minHeight:p,maxWidth:h,maxHeight:m,draggingDirection:g,setDraggingDirection:v,storageKey:y},c[23]=g,c[24]=m,c[25]=h,c[26]=p,c[27]=f,c[28]=y,c[29]=u.resizeRef,c[30]=l):l=c[30],c[31]!==d||c[32]!==l?(s=(0,j.jsx)(nY.Provider,{value:l,children:d}),c[31]=d,c[32]=l,c[33]=s):s=c[33],s};var nQ=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css"),nJ={};nJ.styleTagTransform=b(),nJ.setAttributes=m(),nJ.insert=p(),nJ.domAPI=d(),nJ.insertStyleElement=v(),c()(nQ.A,nJ),nQ.A&&nQ.A.locals&&nQ.A.locals;let n0=e=>{let t,r,n,o,a,i,l,s,c=(0,S.c)(31),{direction:u,position:d}=e,{resizeRef:f,minWidth:p,minHeight:h,maxWidth:m,maxHeight:g,storageKey:v,draggingDirection:y,setDraggingDirection:b}=(()=>{let e=(0,C.useContext)(nY);if(!e)throw Error("useResize must be used within a Resize provider");return e})();c[0]===Symbol.for("react.memo_cache_sentinel")?(t={top:0,right:0,bottom:0,left:0},c[0]=t):t=c[0];let[x,_]=(0,C.useState)(t);c[1]!==f?(r=()=>{if(!f.current)return;let e=f.current,t=window.getComputedStyle(e),r=parseFloat(t.borderTopWidth)||0,n=parseFloat(t.borderRightWidth)||0,o=parseFloat(t.borderBottomWidth)||0;_({top:r,right:n,bottom:o,left:parseFloat(t.borderLeftWidth)||0})},n=[f],c[1]=f,c[2]=r,c[3]=n):(r=c[2],n=c[3]),(0,C.useLayoutEffect)(r,n),c[4]!==u||c[5]!==g||c[6]!==m||c[7]!==h||c[8]!==p||c[9]!==f||c[10]!==b||c[11]!==v?(o=e=>{if(e.preventDefault(),!f.current)return;b(u);let t=f.current,r=t.getBoundingClientRect(),n=e.clientX,o=e.clientY,a=e=>{let a=e.clientX-n,{newWidth:i,newHeight:l}=n1(u,a,e.clientY-o,r,p,h,m,g);void 0!==i&&(t.style.width=`${i}px`),void 0!==l&&(t.style.height=`${l}px`)},i=()=>{if(b(null),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i),!f.current)return;let{width:e,height:t}=f.current.getBoundingClientRect();r8({devToolsPanelSize:{[v]:{width:e,height:t}}})};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)},c[4]=u,c[5]=g,c[6]=m,c[7]=h,c[8]=p,c[9]=f,c[10]=b,c[11]=v,c[12]=o):o=c[12];let w=o;if(!(!d.split("-").includes(u)&&(!u.includes("-")||u===n2(d))))return null;let k=x.left+x.right,E=x.top+x.bottom;c[13]!==u?(a=u.includes("-"),c[13]=u,c[14]=a):a=c[14];let T=a,N=`resize-container ${u} ${y&&y!==u?"no-hover":""}`;return c[15]!==w||c[16]!==N?(i=(0,j.jsx)("div",{className:N,onMouseDown:w}),c[15]=w,c[16]=N,c[17]=i):i=c[17],c[18]!==x.bottom||c[19]!==x.left||c[20]!==x.right||c[21]!==x.top||c[22]!==u||c[23]!==y||c[24]!==T||c[25]!==k||c[26]!==E?(l=!T&&(0,j.jsx)("div",{className:`resize-line ${u} ${y===u?"dragging":""}`,style:{"--border-horizontal":`${k}px`,"--border-vertical":`${E}px`,"--border-top":`${x.top}px`,"--border-right":`${x.right}px`,"--border-bottom":`${x.bottom}px`,"--border-left":`${x.left}px`}}),c[18]=x.bottom,c[19]=x.left,c[20]=x.right,c[21]=x.top,c[22]=u,c[23]=y,c[24]=T,c[25]=k,c[26]=E,c[27]=l):l=c[27],c[28]!==i||c[29]!==l?(s=(0,j.jsxs)(j.Fragment,{children:[i,l]}),c[28]=i,c[29]=l,c[30]=s):s=c[30],s},n1=(e,t,r,n,o,a,i,l)=>{let s=i??.95*window.innerWidth,c=l??.95*window.innerHeight;switch(e){case"right":return{newWidth:Math.min(s,Math.max(o,n.width+t)),newHeight:n.height};case"left":return{newWidth:Math.min(s,Math.max(o,n.width-t)),newHeight:n.height};case"bottom":return{newWidth:n.width,newHeight:Math.min(c,Math.max(a,n.height+r))};case"top":return{newWidth:n.width,newHeight:Math.min(c,Math.max(a,n.height-r))};case"top-left":return{newWidth:Math.min(s,Math.max(o,n.width-t)),newHeight:Math.min(c,Math.max(a,n.height-r))};case"top-right":return{newWidth:Math.min(s,Math.max(o,n.width+t)),newHeight:Math.min(c,Math.max(a,n.height-r))};case"bottom-left":return{newWidth:Math.min(s,Math.max(o,n.width-t)),newHeight:Math.min(c,Math.max(a,n.height+r))};case"bottom-right":return{newWidth:Math.min(s,Math.max(o,n.width+t)),newHeight:Math.min(c,Math.max(a,n.height+r))};default:return null}};function n2(e){switch(e){case"top-left":return"bottom-right";case"top-right":return"bottom-left";case"bottom-left":return"top-right";case"bottom-right":return"top-left";default:return null}}var n3=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/panel/dynamic-panel.css"),n4={};function n5(e,t="width"){if("number"==typeof e)return e;let r=document.createElement("div");r.style.position="absolute",r.style.visibility="hidden","width"===t?r.style.width=e:r.style.height=e,document.body.appendChild(r);let n="width"===t?r.offsetWidth:r.offsetHeight;return document.body.removeChild(r),n}function n6(e){let t,r,n,o,a,i,l,s,c,u,d,f,p,h,m,g,v,y,b,x,_,w=(0,S.c)(81),{header:k,children:E,draggable:T,sizeConfig:N,closeOnClickOutside:L,sharePanelSizeGlobally:I,sharePanelPositionGlobally:P,containerProps:z}=e,R=void 0!==T&&T;w[0]!==N?(t=void 0===N?{kind:"resizable",minWidth:400,minHeight:350,maxWidth:1e3,maxHeight:1e3,initialSize:{height:400,width:500}}:N,w[0]=N,w[1]=t):t=w[1];let O=t,M=void 0!==L&&L,{setPanel:A}=nv(),{name:D,mounted:Z}=c2(),F=void 0===I||I?ed:`${eu}_${D}`,U=void 0===P||P?ef:`${ec}_${D}`,{dispatch:$,state:H}=us(),V=H.devToolsPanelPosition[U]??H.devToolsPosition;w[2]!==V?(r=V.split("-",2),w[2]=V,w[3]=r):r=w[3];let[B,q]=r,W=(0,C.useRef)(null),{triggerRef:K}=nv();w[4]!==M||w[5]!==A?(n=e=>{switch(e){case"escape":return void A("panel-selector");case"outside":M&&A("panel-selector");return;default:return null}},w[4]=M,w[5]=A,w[6]=n):n=w[6],t5(W,K,Z,n),w[7]!==H?(o=ny(H),w[7]=H,w[8]=o):o=w[8];let Y=o,[X,G]=H.devToolsPosition.split("-",2),Q=B===X&&q===G?Y:nR,J=`${Q}px`,ee="top"===B?"bottom":"top",et="left"===q?"right":"left";w[9]!==q||w[10]!==B||w[11]!==J||w[12]!==ee||w[13]!==et?(a={[B]:J,[q]:`${nR}px`,[ee]:"auto",[et]:"auto"},w[9]=q,w[10]=B,w[11]=J,w[12]=ee,w[13]=et,w[14]=a):a=w[14];let er=a,en="resizable"===O.kind,ea=function(e,t,r,n){let o,a,i,l=(0,S.c)(11);l[0]!==n||l[1]!==r||l[2]!==t||l[3]!==e?(o=()=>({minWidth:e?n5(e,"width"):void 0,minHeight:t?n5(t,"height"):void 0,maxWidth:r?n5(r,"width"):void 0,maxHeight:n?n5(n,"height"):void 0}),l[0]=n,l[1]=r,l[2]=t,l[3]=e,l[4]=o):o=l[4];let[s,c]=(0,C.useState)(o);return l[5]!==n||l[6]!==r||l[7]!==t||l[8]!==e?(a=()=>{let o=()=>{c({minWidth:e?n5(e,"width"):void 0,minHeight:t?n5(t,"height"):void 0,maxWidth:r?n5(r,"width"):void 0,maxHeight:n?n5(n,"height"):void 0})};return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},i=[e,t,r,n],l[5]=n,l[6]=r,l[7]=t,l[8]=e,l[9]=a,l[10]=i):(a=l[9],i=l[10]),(0,C.useEffect)(a,i),s}(en?O.minWidth:void 0,en?O.minHeight:void 0,en?O.maxWidth:void 0,en?O.maxHeight:void 0),ei=ea.minWidth,el=ea.minHeight,es=ea.maxWidth,ep=ea.maxHeight,eh=D?`${eu}_${D}`:ed,em=H.devToolsPanelSize[eh],eg="resizable"===O.kind?O.initialSize:O;w[15]!==ep||w[16]!==es||w[17]!==el||w[18]!==ei||w[19]!==F||w[20]!==H.devToolsPanelSize||w[21]!==H.devToolsPosition||w[22]!==eg?(i={resizeRef:W,initialSize:eg,minWidth:ei,minHeight:el,maxWidth:es,maxHeight:ep,devToolsPosition:H.devToolsPosition,devToolsPanelSize:H.devToolsPanelSize,storageKey:F},w[15]=ep,w[16]=es,w[17]=el,w[18]=ei,w[19]=F,w[20]=H.devToolsPanelSize,w[21]=H.devToolsPosition,w[22]=eg,w[23]=i):i=w[23],w[24]!==en||w[25]!==ep||w[26]!==es||w[27]!==el||w[28]!==ei||w[29]!==em||w[30]!==O.height||w[31]!==O.width?(l=en?{"--panel-min-width":ei?`${ei}px`:void 0,"--panel-min-height":el?`${el}px`:void 0,"--panel-max-width":es?`${es}px`:void 0,"--panel-max-height":ep?`${ep}px`:void 0}:{"--panel-height":`${em?em.height:O.height}px`,"--panel-width":`${em?em.width:O.width}px`},w[24]=en,w[25]=ep,w[26]=es,w[27]=el,w[28]=ei,w[29]=em,w[30]=O.height,w[31]=O.width,w[32]=l):l=w[32],w[33]!==er.bottom||w[34]!==er.left||w[35]!==er.right||w[36]!==er.top||w[37]!==l?(s={"--panel-top":er.top,"--panel-bottom":er.bottom,"--panel-left":er.left,"--panel-right":er.right,...l},w[33]=er.bottom,w[34]=er.left,w[35]=er.right,w[36]=er.top,w[37]=l,w[38]=s):s=w[38];let ev=s,ey=!R,eb=25/H.scale;w[39]!==H.devToolsPosition||w[40]!==eb?(c={corner:H.devToolsPosition,square:eb,padding:nR},w[39]=H.devToolsPosition,w[40]=eb,w[41]=c):c=w[41],w[42]!==$||w[43]!==U||w[44]!==O.kind?(u=e=>{$({type:eo,devToolsPanelPosition:e,key:U}),"resizable"===O.kind&&r8({devToolsPanelPosition:{[U]:e}})},w[42]=$,w[43]=U,w[44]=O.kind,w[45]=u):u=w[45],w[46]===Symbol.for("react.memo_cache_sentinel")?(d={overflow:"auto",width:"100%",height:"100%"},w[46]=d):d=w[46];let ex=!R,e_=`panel-content-container ${z?.className||""}`,ew=z?.style;return w[47]!==ew?(f={...ew},w[47]=ew,w[48]=f):f=w[48],w[49]!==k?(p=(0,j.jsx)(nL,{children:k}),w[49]=k,w[50]=p):p=w[50],w[51]!==E?(h=(0,j.jsx)("div",{"data-nextjs-scrollable-content":!0,className:"draggable-content",children:E}),w[51]=E,w[52]=h):h=w[52],w[53]!==z||w[54]!==e_||w[55]!==f||w[56]!==p||w[57]!==h?(m=(0,j.jsxs)("div",{...z,className:e_,style:f,children:[p,h]}),w[53]=z,w[54]=e_,w[55]=f,w[56]=p,w[57]=h,w[58]=m):m=w[58],w[59]!==V||w[60]!==en||w[61]!==O.sides?(g=en&&(0,j.jsxs)(j.Fragment,{children:[(!O.sides||O.sides.includes("vertical"))&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n0,{position:V,direction:"top"}),(0,j.jsx)(n0,{position:V,direction:"bottom"})]}),(!O.sides||O.sides.includes("horizontal"))&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n0,{position:V,direction:"right"}),(0,j.jsx)(n0,{position:V,direction:"left"})]}),(!O.sides||O.sides.includes("diagonal"))&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n0,{position:V,direction:"top-left"}),(0,j.jsx)(n0,{position:V,direction:"top-right"}),(0,j.jsx)(n0,{position:V,direction:"bottom-left"}),(0,j.jsx)(n0,{position:V,direction:"bottom-right"})]})]}),w[59]=V,w[60]=en,w[61]=O.sides,w[62]=g):g=w[62],w[63]!==m||w[64]!==g?(v=(0,j.jsxs)(j.Fragment,{children:[m,g]}),w[63]=m,w[64]=g,w[65]=v):v=w[65],w[66]!==V||w[67]!==c||w[68]!==u||w[69]!==ex||w[70]!==v?(y=(0,j.jsx)(nI,{dragHandleSelector:".resize-container",avoidZone:c,padding:nR,position:V,setPosition:u,style:d,disableDrag:ex,children:v}),w[66]=V,w[67]=c,w[68]=u,w[69]=ex,w[70]=v,w[71]=y):y=w[71],w[72]!==ey||w[73]!==y?(b=(0,j.jsx)(nT,{disabled:ey,children:y}),w[72]=ey,w[73]=y,w[74]=b):b=w[74],w[75]!==ev||w[76]!==b?(x=(0,j.jsx)("div",{tabIndex:-1,ref:W,className:"dynamic-panel-container",style:ev,children:b}),w[75]=ev,w[76]=b,w[77]=x):x=w[77],w[78]!==i||w[79]!==x?(_=(0,j.jsx)(nG,{value:i,children:x}),w[78]=i,w[79]=x,w[80]=_):_=w[80],_}function n9(e){let t,r,n,o,a,i,l=(0,S.c)(10);l[0]!==e?({routerType:r,...t}=e,l[0]=e,l[1]=t,l[2]=r):(t=l[1],r=l[2]),l[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",(0,j.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname})," ",'is marked as "static" since it will be prerendered during the build time.']}),l[3]=n):n=l[3];let s="pages"===r?"https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration":"https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration";return l[4]!==s?(o=(0,j.jsxs)("p",{className:"dev-tools-info-paragraph",children:["With Static Rendering, routes are rendered at build time, or in the background after"," ",(0,j.jsx)("a",{className:"dev-tools-info-link",href:s,target:"_blank",rel:"noopener noreferrer",children:"data revalidation"}),"."]}),l[4]=s,l[5]=o):o=l[5],l[6]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsx)("p",{className:"dev-tools-info-paragraph",children:"Static rendering is useful when a route has data that is not personalized to the user and can be known at build time, such as a static blog post or a product page."}),l[6]=a):a=l[6],l[7]!==t||l[8]!==o?(i=(0,j.jsxs)("article",{className:"dev-tools-info-article",...t,children:[n,o,a]}),l[7]=t,l[8]=o,l[9]=i):i=l[9],i}function n8(e){let t,r,n,o,a,i,l,s=(0,S.c)(11);return s[0]!==e?({routerType:r,...t}=e,s[0]=e,s[1]=t,s[2]=r):(t=s[1],r=s[2]),s[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname}),s[3]=n):n=s[3],s[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",n," ",'is marked as "dynamic" since it will be rendered for each user at'," ",(0,j.jsx)("strong",{children:"request time"}),"."]}),a=(0,j.jsx)("p",{className:"dev-tools-info-paragraph",children:"Dynamic rendering is useful when a route has data that is personalized to the user or has information that can only be known at request time, such as cookies or the URL's search params."}),s[4]=o,s[5]=a):(o=s[4],a=s[5]),s[6]!==r?(i="pages"===r?(0,j.jsxs)("p",{className:"dev-tools-info-pagraph",children:["Exporting the"," ",(0,j.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props",target:"_blank",rel:"noopener noreferrer",children:"getServerSideProps"})," ","function will opt the route into dynamic rendering. This function will be called by the server on every request."]}):(0,j.jsxs)("p",{className:"dev-tools-info-paragraph",children:["During rendering, if a"," ",(0,j.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis",target:"_blank",rel:"noopener noreferrer",children:"Dynamic API"})," ","or a"," ",(0,j.jsx)("a",{className:"dev-tools-info-link",href:"https://nextjs.org/docs/app/api-reference/functions/fetch",target:"_blank",rel:"noopener noreferrer",children:"fetch"})," ","option of"," ",(0,j.jsx)("code",{className:"dev-tools-info-code",children:"{ cache: 'no-store' }"})," ","is discovered, Next.js will switch to dynamically rendering the whole route."]}),s[6]=r,s[7]=i):i=s[7],s[8]!==t||s[9]!==i?(l=(0,j.jsxs)("article",{className:"dev-tools-info-article",...t,children:[o,a,i]}),s[8]=t,s[9]=i,s[10]=l):l=s[10],l}n4.styleTagTransform=b(),n4.setAttributes=m(),n4.insert=p(),n4.domAPI=d(),n4.insertStyleElement=v(),c()(n3.A,n4),n3.A&&n3.A.locals&&n3.A.locals;let n7={pages:{static:"https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation",dynamic:"https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering"},app:{static:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default",dynamic:"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-rendering"}};function oe(e){let t,r,n,o,a=(0,S.c)(8);return a[0]!==e?({routerType:n,isStaticRoute:t,...r}=e,a[0]=e,a[1]=t,a[2]=r,a[3]=n):(t=a[1],r=a[2],n=a[3]),a[4]!==t||a[5]!==r||a[6]!==n?(o=t?(0,j.jsx)(n9,{routerType:n,...r}):(0,j.jsx)(n8,{routerType:n,...r}),a[4]=t,a[5]=r,a[6]=n,a[7]=o):o=a[7],o}var ot=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css"),or={};or.styleTagTransform=b(),or.setAttributes=m(),or.insert=p(),or.domAPI=d(),or.insertStyleElement=v(),c()(ot.A,or),ot.A&&ot.A.locals&&ot.A.locals;let on=new Set,{subscribe:oo,getSnapshot:oa,getServerSnapshot:oi}={subscribe:e=>(on.add(e),()=>on.delete(e)),getSnapshot:()=>ol.getRoot(),getServerSnapshot:()=>ol.getRoot()},ol=function({getCharacters:e=e=>[e],compare:t=(e,t)=>e===t}){let r={value:void 0,children:{}};function n(){for(let e of on)e()}return{insert:function(t){let o=r;for(let r of e(t))o.children[r]||(o.children[r]={value:void 0,children:{}}),o=o.children[r];o.value=t,r={...r},n()},remove:function(o){let a=r,i=e(o),l=[],s=!0;for(let e of i){if(!a.children[e]){s=!1;break}l.push(a),a=a.children[e]}if(s&&t(a.value,o)){a.value=void 0;for(let e=l.length-1;e>=0;e--){let t=l[e],r=i[e];0===Object.keys(t.children[r].children).length&&delete t.children[r]}r={...r},n()}},getRoot:function(){return r}}}({compare:(e,t)=>!!e&&!!t&&e.pagePath===t.pagePath&&e.type===t.type&&e.boundaryType===t.boundaryType,getCharacters:e=>e.pagePath.split("/")}),os=ol.insert,oc=ol.remove,ou=ol.getRoot;var od=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css"),of={};of.styleTagTransform=b(),of.setAttributes=m(),of.insert=p(),of.domAPI=d(),of.insertStyleElement=v(),c()(od.A,of),od.A&&od.A.locals&&od.A.locals;let op={};function oh(e,t){let r=C.useRef(op);return r.current===op&&(r.current=e(t)),r}let om=[];function og(e){C.useEffect(e,om)}class ov{static create(){return new ov}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}function oy(){let e=oh(ov.create).current;return og(e.disposeEffect),e}let ob=E[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],ox=ob&&ob!==C.useLayoutEffect?ob:e=>e();function o_(e){let t=oh(ow).current;return t.next=e,ox(t.effect),t.trampoline}function ow(){let e={next:void 0,callback:ok,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function ok(){}function oj({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=C.useRef(void 0!==e),[a,i]=C.useState(t),l=C.useCallback(e=>{o||i(e)},[]);return[o?e:a,l]}let oS={...E},oC=0,oE=oS.useId;function oT(e,t){if(void 0!==oE){let r=oE();return e??(t?`${t}-${r}`:r)}return function(e,t="mui"){let[r,n]=C.useState(e),o=e||r;return C.useEffect(()=>{null==r&&(oC+=1,n(`${t}-${oC}`))},[r,t]),o}(e,t)}function oN(){let e=new Map;return{emit(t,r){e.get(t)?.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){e.get(t)?.delete(r)}}}let oL="undefined"!=typeof document?C.useLayoutEffect:()=>{},oI=C.createContext(null),oP=C.createContext(null),oz=()=>E.useContext(oI)?.id||null;function oR(e){let{children:t,id:r}=e,n=oz();return(0,j.jsx)(oI.Provider,{value:C.useMemo(()=>({id:r,parentId:n}),[r,n]),children:t})}function oO(e){let{children:t}=e,r=C.useRef([]),n=C.useCallback(e=>{r.current=[...r.current,e]},[]),o=C.useCallback(e=>{r.current=r.current.filter(t=>t!==e)},[]),[a]=C.useState(()=>oN());return(0,j.jsx)(oP.Provider,{value:C.useMemo(()=>({nodesRef:r,addNode:n,removeNode:o,events:a}),[n,o,a]),children:t})}function oM(e){let{open:t=!1,onOpenChange:r,elements:n}=e,o=oT(),a=C.useRef({}),[i]=C.useState(()=>oN()),l=null!=oz(),[s,c]=C.useState(n.reference),u=o_((e,t,n)=>{a.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:n,nested:l}),r?.(e,t,n)}),d=C.useMemo(()=>({setPositionReference:c}),[]),f=C.useMemo(()=>({reference:s||n.reference||null,floating:n.floating||null,domReference:n.reference}),[s,n.reference,n.floating]);return C.useMemo(()=>({dataRef:a,open:t,onOpenChange:u,elements:f,events:i,floatingId:o,refs:d}),[t,u,f,i,o,d])}function oA(){return"undefined"!=typeof window}function oD(e){return oU(e)?(e.nodeName||"").toLowerCase():"#document"}function oZ(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function oF(e){var t;return null==(t=(oU(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function oU(e){return!!oA()&&(e instanceof Node||e instanceof oZ(e).Node)}function o$(e){return!!oA()&&(e instanceof Element||e instanceof oZ(e).Element)}function oH(e){return!!oA()&&(e instanceof HTMLElement||e instanceof oZ(e).HTMLElement)}function oV(e){return!!oA()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof oZ(e).ShadowRoot)}let oB=new Set(["inline","contents"]);function oq(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=o3(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!oB.has(o)}let oW=new Set(["table","td","th"]),oK=[":popover-open",":modal"];function oY(e){return oK.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let oX=["transform","translate","scale","rotate","perspective"],oG=["transform","translate","scale","rotate","perspective","filter"],oQ=["paint","layout","strict","content"];function oJ(e){let t=o0(),r=o$(e)?o3(e):e;return oX.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||oG.some(e=>(r.willChange||"").includes(e))||oQ.some(e=>(r.contain||"").includes(e))}function o0(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let o1=new Set(["html","body","#document"]);function o2(e){return o1.has(oD(e))}function o3(e){return oZ(e).getComputedStyle(e)}function o4(e){return o$(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function o5(e){if("html"===oD(e))return e;let t=e.assignedSlot||e.parentNode||oV(e)&&e.host||oF(e);return oV(t)?t.host:t}function o6(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=o5(t);return o2(r)?t.ownerDocument?t.ownerDocument.body:t.body:oH(r)&&oq(r)?r:e(r)}(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),i=oZ(o);if(a){let e=o9(i);return t.concat(i,i.visualViewport||[],oq(o)?o:[],e&&r?o6(e):[])}return t.concat(o,o6(o,[],r))}function o9(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function o8(e){let t=oh(o7,e).current;return t.next=e,oL(t.effect),t}function o7(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}let ae="undefined"!=typeof navigator,at=function(){if(!ae)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),ar=function(){if(!ae)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),an=function(){if(!ae)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),ao="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),aa="MacIntel"===at.platform&&at.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(at.platform);ae&&/firefox/i.test(an);let ai=ae&&/apple/i.test(navigator.vendor),al=ae&&/android/i.test(ar)||/android/i.test(an),as=ae&&ar.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,ac=an.includes("jsdom/");function au(e){e.preventDefault(),e.stopPropagation()}function ad(e){return 0===e.mozInputSource&&!!e.isTrusted||(al&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function af(e){return!ac&&(!al&&0===e.width&&0===e.height||al&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function ap(e,t){let r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}let ah="data-base-ui-focusable",am="active",ag="selected",av="ArrowLeft",ay="ArrowRight",ab="ArrowUp",ax="ArrowDown";function a_(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function aw(e,t){if(!e||!t)return!1;let r=t.getRootNode?.();if(e.contains(t))return!0;if(r&&oV(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function ak(e){return"composedPath"in e?e.composedPath()[0]:e.target}function aj(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function aS(e){return e?.ownerDocument||document}function aC(e){return oH(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function aE(e){return!!e&&"combobox"===e.getAttribute("role")&&aC(e)}function aT(e){return e?e.hasAttribute(ah)?e:e.querySelector(`[${ah}]`)||e:null}function aN(e){return`data-base-ui-${e}`}let aL=aN("safe-polygon");function aI(e,t,r){if(r&&!ap(r))return 0;if("number"==typeof e)return e;if("function"==typeof e){let r=e();return"number"==typeof r?r:r?.[t]}return e?.[t]}function aP(e){return"function"==typeof e?e():e}function az(e,t={}){let{open:r,onOpenChange:n,dataRef:o,events:a,elements:i}=e,{enabled:l=!0,delay:s=0,handleClose:c=null,mouseOnly:u=!1,restMs:d=0,move:f=!0}=t,p=C.useContext(oP),h=oz(),m=o8(c),g=o8(s),v=o8(r),y=o8(d),b=C.useRef(void 0),x=oy(),_=C.useRef(void 0),w=oy(),k=C.useRef(!0),j=C.useRef(!1),S=C.useRef(()=>{}),E=C.useRef(!1),T=o_(()=>{let e=o.current.openEvent?.type;return e?.includes("mouse")&&"mousedown"!==e});C.useEffect(()=>{if(l)return a.on("openchange",e),()=>{a.off("openchange",e)};function e({open:e}){e||(x.clear(),w.clear(),k.current=!0,E.current=!1)}},[l,a,x,w]),C.useEffect(()=>{if(!l||!m.current||!r)return;function e(e){T()&&n(!1,e,"hover")}let t=aS(i.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[i.floating,r,n,l,m,T]);let N=C.useCallback((e,t=!0,r="hover")=>{let o=aI(g.current,"close",b.current);o&&!_.current?x.start(o,()=>n(!1,e,r)):t&&(x.clear(),n(!1,e,r))},[g,n,x]),L=o_(()=>{S.current(),_.current=void 0}),I=o_(()=>{if(j.current){let e=aS(i.floating).body;e.style.pointerEvents="",e.removeAttribute(aL),j.current=!1}}),P=o_(()=>!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type));C.useEffect(()=>{if(l&&o$(i.domReference)){let n=i.domReference,o=i.floating;return r&&n.addEventListener("mouseleave",a),f&&n.addEventListener("mousemove",e,{once:!0}),n.addEventListener("mouseenter",e),n.addEventListener("mouseleave",t),o&&(o.addEventListener("mouseleave",a),o.addEventListener("mouseenter",s),o.addEventListener("mouseleave",c)),()=>{r&&n.removeEventListener("mouseleave",a),f&&n.removeEventListener("mousemove",e),n.removeEventListener("mouseenter",e),n.removeEventListener("mouseleave",t),o&&(o.removeEventListener("mouseleave",a),o.removeEventListener("mouseenter",s),o.removeEventListener("mouseleave",c))}}function e(e){if(x.clear(),k.current=!1,u&&!ap(b.current)||aP(y.current)>0&&!aI(g.current,"open"))return;let t=aI(g.current,"open",b.current);t?x.start(t,()=>{v.current||n(!0,e,"hover")}):r||n(!0,e,"hover")}function t(e){if(P())return void I();S.current();let t=aS(i.floating);if(w.clear(),E.current=!1,m.current&&o.current.floatingContext){r||x.clear(),_.current=m.current({...o.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){I(),L(),P()||N(e,!0,"safe-polygon")}});let n=_.current;t.addEventListener("mousemove",n),S.current=()=>{t.removeEventListener("mousemove",n)};return}"touch"===b.current&&aw(i.floating,e.relatedTarget)||N(e)}function a(e){P()||o.current.floatingContext&&m.current?.({...o.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){I(),L(),P()||N(e)}})(e)}function s(){x.clear()}function c(e){P()||N(e,!1)}},[i,l,e,u,f,N,L,I,n,r,v,p,g,m,o,P,y,x,w]),oL(()=>{if(l&&r&&m.current?.__options?.blockPointerEvents&&T()){j.current=!0;let e=i.floating;if(o$(i.domReference)&&e){let t=aS(i.floating).body;t.setAttribute(aL,"");let r=i.domReference,n=p?.nodesRef.current.find(e=>e.id===h)?.context?.elements.floating;return n&&(n.style.pointerEvents=""),t.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{t.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[l,r,h,i,p,m,T]),oL(()=>{r||(b.current=void 0,E.current=!1,L(),I())},[r,L,I]),C.useEffect(()=>()=>{L(),x.clear(),w.clear(),I()},[l,i.domReference,L,I,x,w]);let z=C.useMemo(()=>{function e(e){b.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function o(){k.current||v.current||n(!0,t,"hover")}u&&!ap(b.current)||r||0===aP(y.current)||E.current&&e.movementX**2+e.movementY**2<2||(w.clear(),"touch"===b.current?o():(E.current=!0,w.start(aP(y.current),o)))}}},[u,n,r,v,y,w]);return C.useMemo(()=>l?{reference:z}:{},[l,z])}function aR(e,t,r=!0){return e.filter(e=>e.parentId===t&&(!r||e.context?.open)).flatMap(t=>[t,...aR(e,t.id,r)])}function aO(e,t){let r=[],n=e.find(e=>e.id===t)?.parentId;for(;n;){let t=e.find(e=>e.id===n);n=t?.parentId,t&&(r=r.concat(t))}return r}function aM(e,t){let[r,n]=e,o=!1,a=t.length;for(let e=0,i=a-1;e=n!=c>=n&&r<=(s-a)*(n-l)/(c-l)+a&&(o=!o)}return o}function aA(e={}){let{buffer:t=.5,blockPointerEvents:r=!1,requireIntent:n=!0}=e,o=new ov,a=!1,i=null,l=null,s="undefined"!=typeof performance?performance.now():0,c=({x:e,y:r,placement:c,elements:u,onClose:d,nodeId:f,tree:p})=>function(h){var m,g;function v(){o.clear(),d()}if(o.clear(),!u.domReference||!u.floating||null==c||null==e||null==r)return;let{clientX:y,clientY:b}=h,x=[y,b],_=ak(h),w="mouseleave"===h.type,k=aw(u.floating,_),j=aw(u.domReference,_),S=u.domReference.getBoundingClientRect(),C=u.floating.getBoundingClientRect(),E=c.split("-")[0],T=e>C.right-C.width/2,N=r>C.bottom-C.height/2,L=(m=x,g=S,m[0]>=g.x&&m[0]<=g.x+g.width&&m[1]>=g.y&&m[1]<=g.y+g.height),I=C.width>S.width,P=C.height>S.height,z=(I?S:C).left,R=(I?S:C).right,O=(P?S:C).top,M=(P?S:C).bottom;if(k&&(a=!0,!w))return;if(j&&(a=!1),j&&!w){a=!0;return}if(w&&o$(h.relatedTarget)&&aw(u.floating,h.relatedTarget)||p&&aR(p.nodesRef.current,f).some(({context:e})=>e?.open))return;if("top"===E&&r>=S.bottom-1||"bottom"===E&&r<=S.top+1||"left"===E&&e>=S.right-1||"right"===E&&e<=S.left+1)return v();let A=[];switch(E){case"top":A=[[z,S.top+1],[z,C.bottom-1],[R,C.bottom-1],[R,S.top+1]];break;case"bottom":A=[[z,C.top+1],[z,S.bottom-1],[R,S.bottom-1],[R,C.top+1]];break;case"left":A=[[C.right-1,M],[C.right-1,O],[S.left+1,O],[S.left+1,M]];break;case"right":A=[[S.right-1,M],[S.right-1,O],[C.left+1,O],[C.left+1,M]]}if(!aM([y,b],A)){if(a&&!L)return v();if(!w&&n){let e=function(e,t){let r=performance.now(),n=r-s;if(null===i||null===l||0===n)return i=e,l=t,s=r,null;let o=e-i,a=t-l,c=Math.sqrt(o*o+a*a);return i=e,l=t,s=r,c/n}(h.clientX,h.clientY);if(null!==e&&e<.1)return v()}aM([y,b],function([e,r]){switch(E){case"top":{let n=[[C.left,T||I?C.bottom-t:C.top],[C.right,T?I?C.bottom-t:C.top:C.bottom-t]];return[[I?e+t/2:T?e+4*t:e-4*t,r+t+1],[I?e-t/2:T?e+4*t:e-4*t,r+t+1],...n]}case"bottom":{let n=[[C.left,T||I?C.top+t:C.bottom],[C.right,T?I?C.top+t:C.bottom:C.top+t]];return[[I?e+t/2:T?e+4*t:e-4*t,r-t],[I?e-t/2:T?e+4*t:e-4*t,r-t],...n]}case"left":return[[N||P?C.right-t:C.left,C.top],[N?P?C.right-t:C.left:C.right-t,C.bottom],[e+t+1,P?r+t/2:N?r+4*t:r-4*t],[e+t+1,P?r-t/2:N?r+4*t:r-4*t]];case"right":{let n=[[N||P?C.left+t:C.right,C.top],[N?P?C.left+t:C.right:C.left+t,C.bottom]];return[[e-t,P?r+t/2:N?r+4*t:r-4*t],[e-t,P?r-t/2:N?r+4*t:r-4*t],...n]}default:return[]}}([e,r]))?!a&&n&&o.start(40,v):v()}};return c.__options={blockPointerEvents:r},c}let aD=as&&ai;function aZ(e,t={}){let{open:r,onOpenChange:n,events:o,dataRef:a,elements:i}=e,{enabled:l=!0,visibleOnly:s=!0}=t,c=C.useRef(!1),u=oy(),d=C.useRef(!0);C.useEffect(()=>{if(!l)return;let e=oZ(i.domReference);function t(){!r&&oH(i.domReference)&&i.domReference===a_(aS(i.domReference))&&(c.current=!0)}function n(){d.current=!0}function o(){d.current=!1}return e.addEventListener("blur",t),aD&&(e.addEventListener("keydown",n,!0),e.addEventListener("pointerdown",o,!0)),()=>{e.removeEventListener("blur",t),aD&&(e.removeEventListener("keydown",n,!0),e.removeEventListener("pointerdown",o,!0))}},[i.domReference,r,l]),C.useEffect(()=>{if(l)return o.on("openchange",e),()=>{o.off("openchange",e)};function e({reason:e}){("reference-press"===e||"escape-key"===e)&&(c.current=!0)}},[o,l]);let f=C.useMemo(()=>({onMouseLeave(){c.current=!1},onFocus(e){if(c.current)return;let t=ak(e.nativeEvent);if(s&&o$(t)){if(aD&&!e.relatedTarget){if(!d.current&&!aC(t))return}else if(!function(e){if(!e||ac)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(t))return}n(!0,e.nativeEvent,"focus")},onBlur(e){c.current=!1;let t=e.relatedTarget,r=e.nativeEvent,o=o$(t)&&t.hasAttribute(aN("focus-guard"))&&"outside"===t.getAttribute("data-type");u.start(0,()=>{let e=a_(i.domReference?i.domReference.ownerDocument:document);!t&&e===i.domReference||aw(a.current.floatingContext?.refs.floating.current,e)||aw(i.domReference,e)||o||n(!1,r,"focus")})}}),[a,i.domReference,n,s,u]);return C.useMemo(()=>l?{reference:f}:{},[l,f])}let aF=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let r=0;r=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class aU{static create(){return new aU}static request(e){return aF.request(e)}static cancel(e){return aF.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=aF.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(aF.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}function a$(){let e=oh(aU.create).current;return og(e.disposeEffect),e}let aH={style:{transition:"none"}},aV={},aB=[],aq={fallbackAxisSide:"none"},aW={fallbackAxisSide:"end"},aK={intentional:"onClick",sloppy:"onPointerDown"};function aY(e){return{escapeKey:"boolean"==typeof e?e:e?.escapeKey??!1,outsidePress:"boolean"==typeof e?e:e?.outsidePress??!0}}function aX(e,t={}){let{open:r,onOpenChange:n,elements:o,dataRef:a}=e,{enabled:i=!0,escapeKey:l=!0,outsidePress:s=!0,outsidePressEvent:c="sloppy",referencePress:u=!1,referencePressEvent:d="sloppy",ancestorScroll:f=!1,bubbles:p,capture:h}=t,m=C.useContext(oP),g=o_("function"==typeof s?s:()=>!1),v="function"==typeof s?g:s,y=C.useRef(!1),{escapeKey:b,outsidePress:x}=aY(p),{escapeKey:_,outsidePress:w}=aY(h),k=C.useRef(null),j=oy(),S=oy(),E=C.useRef(!1),T=C.useRef(""),N=o_(e=>{T.current=e.pointerType}),L=o_(()=>{let e=T.current;return"string"==typeof c?c:c["pen"!==e&&e?e:"mouse"]}),I=o_(e=>{if(!r||!i||!l||"Escape"!==e.key||E.current)return;let t=a.current.floatingContext?.nodeId,o=m?aR(m.nodesRef.current,t):[];if(!b&&(e.stopPropagation(),o.length>0)){let e=!0;if(o.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}n(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),P=o_(e=>{let t=L();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}),z=o_(e=>{let t=()=>{I(e),ak(e)?.removeEventListener("keydown",t)};ak(e)?.addEventListener("keydown",t)}),R=o_(e=>{if(P(e))return;let t=a.current.insideReactTree;a.current.insideReactTree=!1;let r=y.current;if(y.current=!1,"intentional"===L()&&r||t||"function"==typeof v&&!v(e))return;let i=ak(e),l=`[${aN("inert")}]`,s=aS(o.floating).querySelectorAll(l),c=o$(i)?i:null;for(;c&&!o2(c);){let e=o5(c);if(o2(e)||!o$(e))break;c=e}if(s.length&&o$(i)&&!i.matches("html,body")&&!aw(i,o.floating)&&Array.from(s).every(e=>!aw(c,e)))return;if(oH(i)){let t=o2(i),r=o3(i),n=/auto|scroll/,o=t||n.test(r.overflowX),a=t||n.test(r.overflowY),l=o&&i.clientWidth>0&&i.scrollWidth>i.clientWidth,s=a&&i.clientHeight>0&&i.scrollHeight>i.clientHeight,c="rtl"===r.direction,u=s&&(c?e.offsetX<=i.offsetWidth-i.clientWidth:e.offsetX>i.clientWidth),d=l&&e.offsetY>i.clientHeight;if(u||d)return}let u=a.current.floatingContext?.nodeId,d=m&&aR(m.nodesRef.current,u).some(t=>aj(e,t.context?.elements.floating));if(aj(e,o.floating)||aj(e,o.domReference)||d)return;let f=m?aR(m.nodesRef.current,u):[];if(f.length>0){let e=!0;if(f.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}n(!1,e,"outside-press")}),O=o_(e=>{if(!("sloppy"!==L()||!r||!i||aj(e,o.floating)||aj(e,o.domReference))){if("touch"===e.pointerType){k.current={startTime:Date.now(),startX:e.clientX,startY:e.clientY,dismissOnPointerUp:!1,dismissOnMouseDown:!0},j.start(1e3,()=>{k.current&&(k.current.dismissOnPointerUp=!1,k.current.dismissOnMouseDown=!1)});return}R(e)}}),M=o_(e=>{if(P(e)||(j.clear(),"mousedown"===e.type&&k.current&&!k.current.dismissOnMouseDown))return;let t=()=>{"pointerdown"===e.type?O(e):R(e),ak(e)?.removeEventListener(e.type,t)};ak(e)?.addEventListener(e.type,t)}),A=o_(e=>{if("sloppy"!==L()||"touch"!==e.pointerType||!k.current||aj(e,o.floating)||aj(e,o.domReference))return;let t=Math.abs(e.clientX-k.current.startX),r=Math.abs(e.clientY-k.current.startY),n=Math.sqrt(t*t+r*r);n>5&&(k.current.dismissOnPointerUp=!0),n>10&&(R(e),j.clear(),k.current=null)}),D=o_(e=>{"sloppy"!==L()||"touch"!==e.pointerType||!k.current||aj(e,o.floating)||aj(e,o.domReference)||(k.current.dismissOnPointerUp&&R(e),j.clear(),k.current=null)});C.useEffect(()=>{if(!r||!i)return;a.current.__escapeKeyBubbles=b,a.current.__outsidePressBubbles=x;let e=new ov;function t(e){n(!1,e,"ancestor-scroll")}function s(){e.clear(),E.current=!0}function c(){e.start(5*!!o0(),()=>{E.current=!1})}let u=aS(o.floating);u.addEventListener("pointerdown",N,!0),l&&(u.addEventListener("keydown",_?z:I,_),u.addEventListener("compositionstart",s),u.addEventListener("compositionend",c)),v&&(u.addEventListener("click",w?M:R,w),u.addEventListener("pointerdown",w?M:R,w),u.addEventListener("pointermove",A,w),u.addEventListener("pointerup",D,w),u.addEventListener("mousedown",M,w));let d=[];return f&&(o$(o.domReference)&&(d=o6(o.domReference)),o$(o.floating)&&(d=d.concat(o6(o.floating))),!o$(o.reference)&&o.reference&&o.reference.contextElement&&(d=d.concat(o6(o.reference.contextElement)))),(d=d.filter(e=>e!==u.defaultView?.visualViewport)).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{u.removeEventListener("pointerdown",N,!0),l&&(u.removeEventListener("keydown",_?z:I,_),u.removeEventListener("compositionstart",s),u.removeEventListener("compositionend",c)),v&&(u.removeEventListener("click",w?M:R,w),u.removeEventListener("pointerdown",w?M:R,w),u.removeEventListener("pointermove",A,w),u.removeEventListener("pointerup",D,w),u.removeEventListener("mousedown",M,w)),d.forEach(e=>{e.removeEventListener("scroll",t)}),e.clear()}},[a,o,l,v,c,r,n,f,i,b,x,I,_,z,R,w,M,O,A,D,N]),C.useEffect(()=>{a.current.insideReactTree=!1},[a,v]);let Z=C.useMemo(()=>({onKeyDown:I,...u&&{[aK[d]]:e=>{n(!1,e.nativeEvent,"reference-press")},..."intentional"!==d&&{onClick(e){n(!1,e.nativeEvent,"reference-press")}}}}),[I,n,u,d]),F=o_(e=>{let t=ak(e.nativeEvent);aw(o.floating,t)&&(y.current=!0)}),U=o_(()=>{a.current.insideReactTree=!0,S.start(0,()=>{a.current.insideReactTree=!1})}),$=C.useMemo(()=>({onKeyDown:I,onMouseDown:F,onMouseUp:F,onPointerDownCapture:U,onMouseDownCapture:U,onClickCapture:U}),[I,F,U]);return C.useMemo(()=>i?{reference:Z,floating:$}:{},[i,Z,$])}let aG=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]),aQ=["top","right","bottom","left"],aJ=Math.min,a0=Math.max,a1=Math.round,a2=Math.floor,a3=e=>({x:e,y:e}),a4={left:"right",right:"left",bottom:"top",top:"bottom"},a5={start:"end",end:"start"};function a6(e,t){return"function"==typeof e?e(t):e}function a9(e){return e.split("-")[0]}function a8(e){return e.split("-")[1]}function a7(e){return"x"===e?"y":"x"}function ie(e){return"y"===e?"height":"width"}let it=new Set(["top","bottom"]);function ir(e){return it.has(a9(e))?"y":"x"}function io(e){return e.replace(/start|end/g,e=>a5[e])}let ia=["left","right"],ii=["right","left"],il=["top","bottom"],is=["bottom","top"];function ic(e){return e.replace(/left|right|bottom|top/g,e=>a4[e])}function iu(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function id(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function ip(e,t,r){return Math.floor(e/t)!==r}function ih(e,t){return t<0||t>=e.current.length}function im(e,t){return iv(e,{disabledIndices:t})}function ig(e,t){return iv(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function iv(e,{startingIndex:t=-1,decrement:r=!1,disabledIndices:n,amount:o=1}={}){let a=t;do a+=r?-o:o;while(a>=0&&a<=e.current.length-1&&iy(e,a,n));return a}function iy(e,t,r){if("function"==typeof r)return r(t);if(r)return r.includes(t);let n=e.current[t];return null==n||n.hasAttribute("disabled")||"true"===n.getAttribute("aria-disabled")}let ib=0;function ix(e,t={}){let{preventScroll:r=!1,cancelPrevious:n=!0,sync:o=!1}=t;n&&cancelAnimationFrame(ib);let a=()=>e?.focus({preventScroll:r});o?a():ib=requestAnimationFrame(a)}function i_(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function iw(e,t){return i_(t,e===ab||e===ax,e===av||e===ay)}function ik(e,t,r){return i_(t,e===ax,r?e===av:e===ay)||"Enter"===e||" "===e||""===e}function ij(e=[]){let t=e.map(e=>e?.reference),r=e.map(e=>e?.floating),n=e.map(e=>e?.item),o=C.useCallback(t=>iS(t,e,"reference"),t),a=C.useCallback(t=>iS(t,e,"floating"),r),i=C.useCallback(t=>iS(t,e,"item"),n);return C.useMemo(()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:i}),[o,a,i])}function iS(e,t,r){let n=new Map,o="item"===r,a={};for(let t in"floating"===r&&(a.tabIndex=-1,a[ah]=""),e)o&&e&&(t===am||t===ag)||(a[t]=e[t]);for(let i=0;in.get(o)?.map(t=>t(...e)).find(e=>void 0!==e))):e[o]=a)}}let iE=C.createContext(void 0);function iT(e){let t=C.useContext(iE);if(void 0===t&&!e)throw Error("Base UI: MenuRootContext is missing. Menu parts must be placed within .");return t}let iN=C.createContext(null);function iL(e,t=!1,r=!1){let[n,o]=C.useState(e&&t?"idle":void 0),[a,i]=C.useState(e);return e&&!a&&(i(!0),o("starting")),e||!a||"ending"===n||r||o("ending"),e||a||"ending"!==n||o(void 0),oL(()=>{if(!e&&a&&"ending"!==n&&r){let e=aU.request(()=>{o("ending")});return()=>{aU.cancel(e)}}},[e,a,n,r]),oL(()=>{if(!e||t)return;let r=aU.request(()=>{ej.flushSync(()=>{o(void 0)})});return()=>{aU.cancel(r)}},[t,e]),oL(()=>{if(!e||!t)return;e&&a&&"idle"!==n&&o("starting");let r=aU.request(()=>{o("idle")});return()=>{aU.cancel(r)}},[t,e,a,o,n]),C.useMemo(()=>({mounted:a,setMounted:i,transitionStatus:n}),[a,n])}function iI(e){let{enabled:t=!0,open:r,ref:n,onComplete:o}=e,a=o8(r),i=o_(o),l=function(e,t=!1){let r=a$();return o_((n,o=null)=>{let a;if(r.cancel(),null!=e){if("current"in e){if(null==e.current)return;a=e.current}else a=e;"function"!=typeof a.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?n():r.request(()=>{function e(){a&&Promise.allSettled(a.getAnimations().map(e=>e.finished)).then(()=>{null!=o&&o.aborted||ej.flushSync(n)})}t?r.request(e):e()})}})}(n,r);C.useEffect(()=>{t&&l(()=>{r===a.current&&i()})},[t,r,i,l,a])}let iP=C.createContext(void 0);function iz(e=!0){let t=C.useContext(iP);if(void 0===t&&!e)throw Error("Base UI: DirectionContext is missing.");return t?.direction??"ltr"}function iR(e){return e?.ownerDocument||document}let iO=()=>{},iM={},iA={},iD="";class iZ{lockCount=0;restore=null;timeoutLock=ov.create();timeoutUnlock=ov.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){let t,r;if(0===this.lockCount||null!==this.restore)return;let n=iR(e).documentElement,o=oZ(n).getComputedStyle(n).overflowY;if("hidden"===o||"clip"===o){this.restore=iO;return}let a=aa||!function(e){if("undefined"==typeof document)return!1;let t=iR(e);return oZ(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=a?(r=(t=iR(e).documentElement).style.overflow,t.style.overflow="hidden",()=>{t.style.overflow=r}):function(e){let t=iR(e),r=t.documentElement,n=t.body,o=oZ(r),a=0,i=0,l=aU.create();if(ao&&(o.visualViewport?.scale??1)!==1)return()=>{};function s(){let e=o.getComputedStyle(r),t=o.getComputedStyle(n);a=r.scrollTop,i=r.scrollLeft,iM={scrollbarGutter:r.style.scrollbarGutter,overflowY:r.style.overflowY,overflowX:r.style.overflowX},iD=r.style.scrollBehavior,iA={position:n.style.position,height:n.style.height,width:n.style.width,boxSizing:n.style.boxSizing,overflowY:n.style.overflowY,overflowX:n.style.overflowX,scrollBehavior:n.style.scrollBehavior};let l="undefined"!=typeof CSS&&CSS.supports?.("scrollbar-gutter","stable"),s=r.scrollHeight>r.clientHeight,c=r.scrollWidth>r.clientWidth,u="scroll"===e.overflowY||"scroll"===t.overflowY,d="scroll"===e.overflowX||"scroll"===t.overflowX,f=Math.max(0,o.innerWidth-r.clientWidth),p=Math.max(0,o.innerHeight-r.clientHeight),h=parseFloat(t.marginTop)+parseFloat(t.marginBottom),m=parseFloat(t.marginLeft)+parseFloat(t.marginRight);Object.assign(r.style,{scrollbarGutter:"stable",overflowY:!l&&(s||u)?"scroll":"hidden",overflowX:!l&&(c||d)?"scroll":"hidden"}),Object.assign(n.style,{position:"relative",height:h||p?`calc(100dvh - ${h+p}px)`:"100dvh",width:m||f?`calc(100vw - ${m+f}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),n.scrollTop=a,n.scrollLeft=i,r.setAttribute("data-base-ui-scroll-locked",""),r.style.scrollBehavior="unset"}function c(){Object.assign(r.style,iM),Object.assign(n.style,iA),r.scrollTop=a,r.scrollLeft=i,r.removeAttribute("data-base-ui-scroll-locked"),r.style.scrollBehavior=iD}function u(){c(),l.request(s)}return s(),o.addEventListener("resize",u),()=>{l.cancel(),c(),o.removeEventListener("resize",u)}}(e)}}let iF=new iZ;function iU(e){if(e)return({"focus-out":"focus-out","escape-key":"escape-key","outside-press":"outside-press","list-navigation":"list-navigation",click:"trigger-press",hover:"trigger-hover",focus:"trigger-focus","reference-press":"trigger-press","safe-polygon":"trigger-hover","ancestor-scroll":void 0})[e]}let i$=C.createContext(void 0);function iH(e=!0){let t=C.useContext(i$);if(void 0===t&&!e)throw Error("Base UI: ContextMenuRootContext is missing. ContextMenu parts must be placed within .");return t}let iV=C.createContext(!1);function iB(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}let iq={};function iW(e,t,r,n,o){let a={...iX(e,iq)};return t&&(a=iK(a,t)),r&&(a=iK(a,r)),n&&(a=iK(a,n)),o&&(a=iK(a,o)),a}function iK(e,t){return iY(t)?t(e):function(e,t){if(!t)return e;for(let r in t){let n=t[r];switch(r){case"style":e[r]=iB(e.style,n);break;case"className":e[r]=iQ(e.className,n);break;default:!function(e,t){let r=e.charCodeAt(0),n=e.charCodeAt(1),o=e.charCodeAt(2);return 111===r&&110===n&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}(r,n)?e[r]=n:e[r]=function(e,t){return t?e?r=>{var n;if(null!=(n=r)&&"object"==typeof n&&"nativeEvent"in n){iG(r);let n=t(r);return r.baseUIHandlerPrevented||e?.(r),n}let o=t(r);return e?.(r),o}:t:e}(e[r],n)}}return e}(e,t)}function iY(e){return"function"==typeof e}function iX(e,t){return iY(e)?e(t):e??iq}function iG(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function iQ(e,t){return t?e?t+" "+e:t:e}let iJ=[],i0={current:!1},i1=function(e){let t,r,{children:n,open:o,onOpenChange:a,onOpenChangeComplete:i,defaultOpen:l=!1,disabled:s=!1,modal:c,loop:u=!0,orientation:d="vertical",actionsRef:f,openOnHover:p,delay:h=100,closeDelay:m=0,closeParentOnEsc:g=!0}=e,[v,y]=C.useState(null),[b,x]=C.useState(null),[_,w]=C.useState(),[k,S]=C.useState(!0),[E,T]=C.useState(null),[N,L]=C.useState(null),[I,P]=C.useState(!0),[z,R]=C.useState(!1),O=C.useRef(null),M=C.useRef(null),A=C.useRef(null),D=C.useRef([]),Z=C.useRef([]),F=oy(),U=iH(!0),$=C.useContext(iV);{let e=iT(!0),r=function(e){let t=C.useContext(iN);if(null===t&&!e)throw Error("Base UI: MenubarContext is missing. Menubar parts must be placed within .");return t}(!0);t=$&&e?{type:"menu",context:e}:r?{type:"menubar",context:r}:U?{type:"context-menu",context:U}:{type:void 0}}let H=oT();void 0!==t.type&&(H=t.context.rootId);let V=(void 0===t.type||"context-menu"===t.type)&&(c??!0),B="menu"===t.type?t.context.allowMouseEnter:z,q="menu"===t.type?t.context.setAllowMouseEnter:R,W=p??("menu"===t.type||"menubar"===t.type&&t.context.hasSubmenuOpen),[K,Y]=oj({controlled:o,default:l,name:"MenuRoot",state:"open"}),X=C.useRef("context-menu"!==t.type),G=oy();C.useEffect(()=>{if(K||(O.current=null),"context-menu"===t.type){if(!K){G.clear(),X.current=!1;return}G.start(500,()=>{X.current=!0})}},[G,K,t.type]);let Q=C.useCallback(e=>{A.current=e,x(e)},[]),{mounted:J,setMounted:ee,transitionStatus:et}=iL(K),{openMethod:er,triggerProps:en,reset:eo}=function(e){var t;let r,n,[o,a]=C.useState(null),i=o_((t,r)=>{e||a(r)}),l=o_(()=>{a(null)}),{onClick:s,onPointerDown:c}=(t=i,r=C.useRef(""),n=C.useCallback(e=>{e.defaultPrevented||(r.current=e.pointerType,t(e,e.pointerType))},[t]),{onClick:C.useCallback(e=>{0===e.detail?t(e,"keyboard"):("pointerType"in e&&t(e,e.pointerType),t(e,r.current),r.current="")},[t]),onPointerDown:n});return C.useMemo(()=>({openMethod:o,reset:l,triggerProps:{onClick:s,onPointerDown:c}}),[o,l,s,c])}(K);!function(e){let{enabled:t=!0,mounted:r,open:n,referenceElement:o=null}=e;oL(()=>{if(t&&ao&&r&&!n){let e=iR(o),t=e.body.style.userSelect,r=e.body.style.webkitUserSelect;return e.body.style.userSelect="none",e.body.style.webkitUserSelect="none",()=>{e.body.style.userSelect=t,e.body.style.webkitUserSelect=r}}},[t,r,n,o]),oL(()=>{if(t)return iF.acquire(o)},[t,o])}({enabled:K&&V&&"trigger-hover"!==N&&"touch"!==er,mounted:J,open:K,referenceElement:b}),K||k||S(!0);let ea=o_(()=>{ee(!1),P(!0),q(!1),i?.(!1),eo()});iI({enabled:!f,open:K,ref:M,onComplete(){K||ea()}});let ei=C.useRef(!0),el=oy(),es=o_((e,r,n)=>{if(K===e||!1===e&&r?.type==="click"&&"touch"===r.pointerType&&!ei.current)return;if(!e&&null!==E){let e=D.current[E];queueMicrotask(()=>{e?.setAttribute("tabindex","-1")})}e&&"trigger-focus"===n?(ei.current=!1,el.start(300,()=>{ei.current=!0})):(ei.current=!0,el.clear());let o=("trigger-press"===n||"item-press"===n)&&0===r.detail&&r?.isTrusted,i=!e&&("escape-key"===n||null==n);function l(){a?.(e,r,n),Y(e),L(n??null),O.current=r??null}"trigger-hover"===n?(P(!0),F.start(500,()=>{P(!1)}),ej.flushSync(l)):l(),"menubar"===t.type&&("trigger-focus"===n||"focus-out"===n||"trigger-hover"===n||"list-navigation"===n||"sibling-open"===n)?w("group"):o||i?w(o?"click":"dismiss"):w(void 0)});C.useImperativeHandle(f,()=>({unmount:ea}),[ea]),"context-menu"===t.type&&(r=t.context),C.useImperativeHandle(r?.positionerRef,()=>b,[b]),C.useImperativeHandle(r?.actionsRef,()=>({setOpen:es}),[es]),C.useEffect(()=>{K||F.clear()},[F,K]);let ec=oM({elements:{reference:v,floating:b},open:K,onOpenChange(e,t,r){es(e,t,iU(r))}}),eu=az(ec,{enabled:k&&W&&!s&&"context-menu"!==t.type&&("menubar"!==t.type||t.context.hasSubmenuOpen&&!K),handleClose:aA({blockPointerEvents:!0}),mouseOnly:!0,move:"menu"===t.type,restMs:void 0===t.type||"menu"===t.type&&B?h:void 0,delay:"menu"===t.type?{open:B?h:1e10,close:m}:{close:m}}),ed=aZ(ec,{enabled:!s&&!K&&"menubar"===t.type&&t.context.hasSubmenuOpen&&!U}),ef=function(e,t={}){let{open:r,onOpenChange:n,dataRef:o}=e,{enabled:a=!0,event:i="click",toggle:l=!0,ignoreMouse:s=!1,stickIfOpen:c=!0}=t,u=C.useRef(void 0),d=a$(),f=C.useMemo(()=>({onPointerDown(e){u.current=e.pointerType},onMouseDown(e){let t=u.current,a=e.nativeEvent;if(0!==e.button||"click"===i||ap(t,!0)&&s)return;let f=o.current.openEvent,p=f?.type,h=!(r&&l&&(!f||!c||"click"===p||"mousedown"===p));d.request(()=>{n(h,a,"click")})},onClick(e){let t=u.current;if("mousedown"===i&&t){u.current=void 0;return}if(ap(t,!0)&&s)return;let a=o.current.openEvent,d=a?.type;n(!(r&&l&&(!a||!c||"click"===d||"mousedown"===d||"keydown"===d||"keyup"===d)),e.nativeEvent,"click")},onKeyDown(){u.current=void 0}}),[o,i,s,n,r,c,l,d]);return C.useMemo(()=>a?{reference:f}:aV,[a,f])}(ec,{enabled:!s&&"context-menu"!==t.type,event:K&&"menubar"===t.type?"click":"mousedown",toggle:!W||"menu"!==t.type,ignoreMouse:W&&"menu"===t.type,stickIfOpen:void 0===t.type&&I}),ep=aX(ec,{enabled:!s,bubbles:g&&"menu"===t.type,outsidePress:()=>"context-menu"!==t.type||O.current?.type==="contextmenu"||X.current}),eh=function(e,t={}){let{open:r,elements:n,floatingId:o}=e,{enabled:a=!0,role:i="dialog"}=t,l=oT(),s=n.domReference?.id||l,c=C.useMemo(()=>aT(n.floating)?.id||o,[n.floating,o]),u=aG.get(i)??i,d=null!=oz(),f=C.useMemo(()=>"tooltip"===u||"label"===i?{[`aria-${"label"===i?"labelledby":"describedby"}`]:r?c:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===u?"dialog":u,"aria-controls":r?c:void 0,..."listbox"===u&&{role:"combobox"},..."menu"===u&&{id:s},..."menu"===u&&d&&{role:"menuitem"},..."select"===i&&{"aria-autocomplete":"none"},..."combobox"===i&&{"aria-autocomplete":"list"}},[u,c,d,r,s,i]),p=C.useMemo(()=>{let e={id:c,...u&&{role:u}};return"tooltip"===u||"label"===i?e:{...e,..."menu"===u&&{"aria-labelledby":s}}},[u,c,s,i]),h=C.useCallback(({active:e,selected:t})=>{let r={role:"option",...e&&{id:`${c}-fui-option`}};switch(i){case"select":case"combobox":return{...r,"aria-selected":t}}return{}},[c,i]);return C.useMemo(()=>a?{reference:f,floating:p,item:h}:{},[a,f,p,h])}(ec,{role:"menu"}),em=iz(),eg=function(e,t){let{open:r,onOpenChange:n,elements:o,floatingId:a}=e,{listRef:i,activeIndex:l,onNavigate:s=()=>{},enabled:c=!0,selectedIndex:u=null,allowEscape:d=!1,loop:f=!1,nested:p=!1,rtl:h=!1,virtual:m=!1,focusItemOnOpen:g="auto",focusItemOnHover:v=!0,openOnArrowKeyDown:y=!0,disabledIndices:b,orientation:x="vertical",parentOrientation:_,cols:w=1,scrollItemIntoView:k=!0,virtualItemRef:j,itemSizes:S,dense:E=!1}=t,T=o8(aT(o.floating)),N=oz(),L=C.useContext(oP);oL(()=>{e.dataRef.current.orientation=x},[e,x]);let I=aE(o.domReference),P=C.useRef(g),z=C.useRef(u??-1),R=C.useRef(null),O=C.useRef(!0),M=o_(()=>{s(-1===z.current?null:z.current)}),A=C.useRef(M),D=C.useRef(!!o.floating),Z=C.useRef(r),F=C.useRef(!1),U=C.useRef(!1),$=o8(b),H=o8(r),V=o8(k),B=o8(u),[q,W]=C.useState(),K=o_(()=>{function e(e){m?(e.id?.endsWith("-fui-option")&&(e.id=`${a}-${Math.random().toString(16).slice(2,10)}`),W(e.id),L?.events.emit("virtualfocus",e),j&&(j.current=e)):ix(e,{sync:F.current,preventScroll:!0})}let t=i.current[z.current],r=U.current;t&&e(t),(F.current?e=>e():requestAnimationFrame)(()=>{let n=i.current[z.current]||t;if(!n)return;t||e(n);let o=V.current;o&&X&&(r||!O.current)&&n.scrollIntoView?.("boolean"==typeof o?{block:"nearest",inline:"nearest"}:o)})});oL(()=>{c&&(r&&o.floating?P.current&&null!=u&&(U.current=!0,z.current=u,M()):D.current&&(z.current=-1,A.current()))},[c,r,o.floating,u,M]),oL(()=>{if(c&&r&&o.floating)if(null==l){if(F.current=!1,null!=B.current)return;if(D.current&&(z.current=-1,K()),(!Z.current||!D.current)&&P.current&&(null!=R.current||!0===P.current&&null==R.current)){let e=0,t=()=>{null==i.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(z.current=null==R.current||ik(R.current,x,h)||p?im(i,$.current):ig(i,$.current),R.current=null,M())};t()}}else ih(i,l)||(z.current=l,K(),U.current=!1)},[c,r,o.floating,l,B,p,i,x,h,M,K,$]),oL(()=>{if(!c||o.floating||!L||m||!D.current)return;let e=L.nodesRef.current,t=e.find(e=>e.id===N)?.context?.elements.floating,r=a_(aS(o.floating)),n=e.some(e=>e.context&&aw(e.context.elements.floating,r));t&&!n&&O.current&&t.focus({preventScroll:!0})},[c,o.floating,L,N,m]),oL(()=>{A.current=M,Z.current=r,D.current=!!o.floating}),oL(()=>{r||(R.current=null,P.current=g)},[r,g]);let Y=null!=l,X=C.useMemo(()=>{function e(e){if(!H.current)return;let t=i.current.indexOf(e);-1!==t&&z.current!==t&&(z.current=t,M())}return{onFocus({currentTarget:t}){F.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove({currentTarget:t}){F.current=!0,U.current=!1,v&&e(t)},onPointerLeave({pointerType:e}){!O.current||"touch"===e||(F.current=!0,v&&(z.current=-1,M(),m||T.current?.focus({preventScroll:!0})))}}},[H,T,v,i,M,m]),G=C.useCallback(()=>_??L?.nodesRef.current.find(e=>e.id===N)?.context?.dataRef?.current.orientation,[N,L,_]),Q=o_(e=>{var t,a,l,s,c,u,g,v;if(O.current=!1,F.current=!0,229===e.which||!H.current&&e.currentTarget===T.current)return;if(p&&(t=e.key,a=x,l=h,s=w,"both"===a||"horizontal"===a&&s&&s>1?"Escape"===t:i_(a,l?t===ay:t===av,t===ab))){iw(e.key,G())||au(e),n(!1,e.nativeEvent,"list-navigation"),oH(o.domReference)&&(m?L?.events.emit("virtualfocus",o.domReference):o.domReference.focus());return}let y=z.current,_=im(i,b),k=ig(i,b);if(I||("Home"===e.key&&(au(e),z.current=_,M()),"End"===e.key&&(au(e),z.current=k,M())),w>1){let t,r,n=S||Array.from({length:i.current.length},()=>({width:1,height:1})),o=(c=n,u=w,g=E,t=[],r=0,c.forEach(({width:e,height:n},o)=>{let a=!1;for(g&&(r=0);!a;){let i=[];for(let t=0;tnull==t[e])?(i.forEach(e=>{t[e]=o}),a=!0):r+=1}}),[...t]),a=o.findIndex(e=>null!=e&&!iy(i,e,b)),l=o.reduce((e,t,r)=>null==t||iy(i,t,b)?e:r,-1),s=o[function(e,{event:t,orientation:r,loop:n,rtl:o,cols:a,disabledIndices:i,minIndex:l,maxIndex:s,prevIndex:c,stopEvent:u=!1}){let d=c;if(t.key===ab){if(u&&au(t),-1===c)d=s;else if(d=iv(e,{startingIndex:d,amount:a,decrement:!0,disabledIndices:i}),n&&(c-ae?r:r-a}ih(e,d)&&(d=c)}if(t.key===ax&&(u&&au(t),-1===c?d=l:(d=iv(e,{startingIndex:c,amount:a,disabledIndices:i}),n&&c+a>s&&(d=iv(e,{startingIndex:c%a-a,amount:a,disabledIndices:i}))),ih(e,d)&&(d=c)),"both"===r){let r=a2(c/a);t.key===(o?av:ay)&&(u&&au(t),c%a!=a-1?(d=iv(e,{startingIndex:c,disabledIndices:i}),n&&ip(d,a,r)&&(d=iv(e,{startingIndex:c-c%a-1,disabledIndices:i}))):n&&(d=iv(e,{startingIndex:c-c%a-1,disabledIndices:i})),ip(d,a,r)&&(d=c)),t.key===(o?ay:av)&&(u&&au(t),c%a!=0?(d=iv(e,{startingIndex:c,decrement:!0,disabledIndices:i}),n&&ip(d,a,r)&&(d=iv(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i}))):n&&(d=iv(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i})),ip(d,a,r)&&(d=c));let l=a2(s/a)===r;ih(e,d)&&(d=n&&l?t.key===(o?ay:av)?s:iv(e,{startingIndex:c-c%a-1,disabledIndices:i}):c)}return d}({current:o.map(e=>null!=e?i.current[e]:null)},{event:e,orientation:x,loop:f,rtl:h,cols:w,disabledIndices:(v=[...("function"!=typeof b?b:null)||i.current.map((e,t)=>iy(i,t,b)?t:void 0),void 0],o.flatMap((e,t)=>v.includes(e)?[t]:[])),minIndex:a,maxIndex:l,prevIndex:function(e,t,r,n,o){if(-1===e)return -1;let a=r.indexOf(e),i=t[e];switch(o){case"tl":return a;case"tr":if(!i)return a;return a+i.width-1;case"bl":if(!i)return a;return a+(i.height-1)*n;case"br":return r.lastIndexOf(e);default:return -1}}(z.current>k?_:z.current,n,o,w,e.key===ax?"bl":e.key===(h?av:ay)?"tr":"tl"),stopEvent:!0})];if(null!=s&&(z.current=s,M()),"both"===x)return}if(iw(e.key,x)){if(au(e),r&&!m&&a_(e.currentTarget.ownerDocument)===e.currentTarget){z.current=ik(e.key,x,h)?_:k,M();return}ik(e.key,x,h)?f?z.current=y>=k?d&&y!==i.current.length?-1:_:iv(i,{startingIndex:y,disabledIndices:b}):z.current=Math.min(k,iv(i,{startingIndex:y,disabledIndices:b})):f?z.current=y<=_?d&&-1!==y?i.current.length:k:iv(i,{startingIndex:y,decrement:!0,disabledIndices:b}):z.current=Math.max(_,iv(i,{startingIndex:y,decrement:!0,disabledIndices:b})),ih(i,z.current)&&(z.current=-1),M()}}),J=C.useMemo(()=>m&&r&&Y&&{"aria-activedescendant":q},[m,r,Y,q]),ee=C.useMemo(()=>({"aria-orientation":"both"===x?void 0:x,...!I?J:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&r&&!m){au(e),n(!1,e.nativeEvent,"list-navigation"),oH(o.domReference)&&o.domReference.focus();return}Q(e)},onPointerMove(){O.current=!0}}),[J,Q,x,I,n,r,m,o.domReference]),et=C.useMemo(()=>{function e(e){"auto"===g&&ad(e.nativeEvent)&&(P.current=!0)}function t(e){P.current=g,"auto"===g&&af(e.nativeEvent)&&(P.current=!0)}return{...J,onKeyDown(e){var t,o;O.current=!1;let a=e.key.startsWith("Arrow"),l=(t=e.key,o=G(),i_(o,h?t===av:t===ay,t===ax)),s=iw(e.key,x),c=(p?l:s)||"Enter"===e.key||""===e.key.trim();if(m&&r)return Q(e);if(r||y||!a){if(c){let t=iw(e.key,G());R.current=p&&t?null:e.key}if(p){l&&(au(e),r?(z.current=im(i,$.current),M()):n(!0,e.nativeEvent,"list-navigation"));return}s&&(null!=u&&(z.current=u),au(e),!r&&y?n(!0,e.nativeEvent,"list-navigation"):Q(e),r&&M())}},onFocus(){r&&!m&&(z.current=-1,M())},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[J,Q,$,g,i,p,M,n,r,y,x,G,h,u,m]);return C.useMemo(()=>c?{reference:et,floating:ee,item:X}:{},[c,et,ee,X])}(ec,{enabled:!s,listRef:D,activeIndex:E,nested:void 0!==t.type,loop:u,orientation:d,parentOrientation:"menubar"===t.type?t.context.orientation:void 0,rtl:"rtl"===em,disabledIndices:iJ,onNavigate:T,openOnArrowKeyDown:"context-menu"!==t.type}),ev=C.useRef(!1),ey=function(e,t){let{open:r,dataRef:n}=e,{listRef:o,activeIndex:a,onMatch:i,onTypingChange:l,enabled:s=!0,findMatch:c=null,resetMs:u=750,ignoreKeys:d=[],selectedIndex:f=null}=t,p=oy(),h=C.useRef(""),m=C.useRef(f??a??-1),g=C.useRef(null),v=o_(i),y=o_(l),b=o8(c),x=o8(d);oL(()=>{r&&(p.clear(),g.current=null,h.current="")},[r,p]),oL(()=>{r&&""===h.current&&(m.current=f??a??-1)},[r,f,a]);let _=o_(e=>{e?n.current.typing||(n.current.typing=e,y(e)):n.current.typing&&(n.current.typing=e,y(e))}),w=o_(e=>{function t(e,t,r){let n=b.current?b.current(t,r):t.find(e=>e?.toLocaleLowerCase().indexOf(r.toLocaleLowerCase())===0);return n?e.indexOf(n):-1}let n=o.current;if(h.current.length>0&&" "!==h.current[0]&&(-1===t(n,n,h.current)?_(!1):" "===e.key&&au(e)),null==n||x.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;r&&" "!==e.key&&(au(e),_(!0)),n.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&h.current===e.key&&(h.current="",m.current=g.current),h.current+=e.key,p.start(u,()=>{h.current="",m.current=g.current,_(!1)});let a=m.current,i=t(n,[...n.slice((a||0)+1),...n.slice(0,(a||0)+1)],h.current);-1!==i?(v(i),g.current=i):" "!==e.key&&(h.current="",_(!1))}),k=C.useMemo(()=>({onKeyDown:w}),[w]),j=C.useMemo(()=>({onKeyDown:w,onKeyUp(e){" "===e.key&&_(!1)}}),[w,_]);return C.useMemo(()=>s?{reference:k,floating:j}:{},[s,k,j])}(ec,{listRef:Z,activeIndex:E,resetMs:500,onMatch:e=>{K&&e!==E&&T(e)},onTypingChange:C.useCallback(e=>{ev.current=e},[])}),{getReferenceProps:eb,getFloatingProps:ex,getItemProps:e_}=ij([eu,ef,ep,ed,eh,eg,ey]),ew=function(e){let{enabled:t=!0,mouseDownAction:r,open:n}=e,o=C.useRef(!1);return C.useMemo(()=>t?{onMouseDown:e=>{("open"===r&&!n||"close"===r&&n)&&(o.current=!0,iR(e.currentTarget).addEventListener("click",()=>{o.current=!1},{once:!0}))},onClick:e=>{o.current&&(o.current=!1,e.preventBaseUIHandler())}}:aV,[t,r,n])}({open:K,enabled:"menubar"===t.type,mouseDownAction:"open"}),ek=C.useMemo(()=>{let e=iW(eb(),{onMouseEnter(){S(!0)},onMouseMove(){q(!0)}},en,ew);return delete e.role,e},[eb,ew,q,en]),eS=C.useMemo(()=>ex({onMouseEnter(){W&&"menu"!==t.type||S(!1)},onMouseMove(){q(!0)},onClick(){W&&S(!1)}}),[ex,W,t.type,q]),eC=C.useMemo(()=>e_(),[e_]),eE=C.useMemo(()=>({activeIndex:E,setActiveIndex:T,allowMouseUpTriggerRef:t.type?t.context.allowMouseUpTriggerRef:i0,floatingRootContext:ec,itemProps:eC,popupProps:eS,triggerProps:ek,itemDomElements:D,itemLabels:Z,mounted:J,open:K,popupRef:M,positionerRef:A,setOpen:es,setPositionerElement:Q,triggerElement:v,setTriggerElement:y,transitionStatus:et,lastOpenChangeReason:N,instantType:_,onOpenChangeComplete:i,setHoverEnabled:S,typingRef:ev,modal:V,disabled:s,parent:t,rootId:H,allowMouseEnter:B,setAllowMouseEnter:q}),[E,ec,eC,eS,ek,D,Z,J,K,A,es,et,v,Q,N,_,i,V,s,t,H,B,q]),eT=(0,j.jsx)(iE.Provider,{value:eE,children:n});return void 0===t.type||"context-menu"===t.type?(0,j.jsx)(oO,{children:eT}):eT};function i2(e,t,r,n){var o,a,i,l,s;let c=oh(i3).current;return o=c,a=e,i=t,l=r,s=n,(o.refs[0]!==a||o.refs[1]!==i||o.refs[2]!==l||o.refs[3]!==s)&&i4(c,[e,t,r,n]),c.callback}function i3(){return{callback:null,cleanup:null,refs:[]}}function i4(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=r=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=r){let n=Array(t.length).fill(null);for(let e=0;e{for(let e=0;e"starting"===e?i6:"ending"===e?i9:null},i7=((a={}).open="data-open",a.closed="data-closed",a[a.startingStyle=i5.startingStyle]="startingStyle",a[a.endingStyle=i5.endingStyle]="endingStyle",a.anchorHidden="data-anchor-hidden",a),le=((i={}).popupOpen="data-popup-open",i.pressed="data-pressed",i),lt={[le.popupOpen]:""},lr={[le.popupOpen]:"",[le.pressed]:""},ln={[i7.open]:""},lo={[i7.closed]:""},la={[i7.anchorHidden]:""},li={open:e=>e?lt:null},ll={open:e=>e?lr:null},ls={open:e=>e?ln:lo,anchorHidden:e=>e?la:null},lc=parseInt(C.version,10);function lu(e,t,r={}){let n=t.render,o=function(e,t={}){var r,n,o,a,i;let l,{className:s,render:c}=e,{state:u=aV,ref:d,props:f,disableStyleHooks:p,customStyleHookMapping:h,enabled:m=!0}=t,g=m?(r=s,n=u,"function"==typeof r?r(n):r):void 0;!0!==p&&(l=C.useMemo(()=>m?function(e,t){let r={};for(let n in e){let o=e[n];if(t?.hasOwnProperty(n)){let e=t[n](o);null!=e&&Object.assign(r,e);continue}!0===o?r[`data-${n.toLowerCase()}`]="":o&&(r[`data-${n.toLowerCase()}`]=o.toString())}return r}(u,h):aV,[u,h,m]));let v=m?iB(l,Array.isArray(f)?function(e){if(0===e.length)return iq;if(1===e.length)return iX(e[0],iq);let t={...iX(e[0],iq)};for(let r=1;re!==i[t]))&&i4(e,o),v.ref=e.callback}else v.ref=i2(v.ref,ld(c),d);else i2(null,null);return m?(void 0!==g&&(v.className=iQ(v.className,g)),v):aV}(t,r);return!1===r.enabled?null:function(e,t,r,n){if(t){if("function"==typeof t)return t(r,n);let e=iW(r,t.props);return e.ref=r.ref,C.cloneElement(t,e)}if(e&&"string"==typeof e){var o,a;return o=e,a=r,"button"===o?(0,j.jsx)("button",{type:"button",...a}):"img"===o?(0,j.jsx)("img",{alt:"",...a}):C.createElement(o,a)}throw Error("Base UI: Render element or function are not defined.")}(e,n,o,r.state??aV)}function ld(e){return e&&"function"!=typeof e?lc>=19?e.props.ref:e.ref:null}let lf=C.createContext(void 0);function lp(e=!1){let t=C.useContext(lf);if(void 0===t&&!e)throw Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within .");return t}function lh(e={}){let{disabled:t=!1,focusableWhenDisabled:r,tabIndex:n=0,native:o=!0}=e,a=C.useRef(null),i=void 0!==lp(!0),l=o_(()=>{let e=a.current;return!!(e?.tagName==="A"&&e?.href)}),{props:s}=function(e){let{focusableWhenDisabled:t,disabled:r,composite:n=!1,tabIndex:o=0,isNativeButton:a}=e,i=n&&!1!==t,l=n&&!1===t;return{props:C.useMemo(()=>{let e={onKeyDown(e){r&&t&&"Tab"!==e.key&&e.preventDefault()}};return n||(e.tabIndex=o,!a&&r&&(e.tabIndex=t?o:-1)),(a&&(t||i)||!a&&r)&&(e["aria-disabled"]=r),a&&(!t||l)&&(e.disabled=r),e},[n,r,t,i,l,a,o])}}({focusableWhenDisabled:r,disabled:t,composite:i,tabIndex:n,isNativeButton:o});return oL(()=>{let e=a.current;e instanceof HTMLButtonElement&&i&&t&&void 0===s.disabled&&e.disabled&&(e.disabled=!1)},[t,s.disabled,i]),{getButtonProps:C.useCallback((e={})=>{let{onClick:r,onMouseDown:n,onKeyUp:a,onKeyDown:i,onPointerDown:c,...u}=e;return iW({type:o?"button":void 0,onClick(e){t?e.preventDefault():r?.(e)},onMouseDown(e){t||n?.(e)},onKeyDown(e){if(t||(iG(e),i?.(e)),e.baseUIHandlerPrevented)return;let n=e.target===e.currentTarget&&!o&&!l()&&!t,a="Enter"===e.key,s=" "===e.key;n&&((s||a)&&e.preventDefault(),a&&r?.(e))},onKeyUp(e){t||(iG(e),a?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||o||t||" "!==e.key||r?.(e))},onPointerDown(e){t?e.preventDefault():c?.(e)}},o?void 0:{role:"button"},s,u)},[t,s,o,l]),buttonRef:a}}let lm=C.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}}),lg=((l={})[l.None=0]="None",l[l.GuessFromOrder=1]="GuessFromOrder",l);function lv(e={}){let{label:t,metadata:r,textRef:n,indexGuessBehavior:o}=e,{register:a,unregister:i,subscribeMapChange:l,elementsRef:s,labelsRef:c,nextIndexRef:u}=C.useContext(lm),d=C.useRef(-1),[f,p]=C.useState(o===lg.GuessFromOrder?()=>{if(-1===d.current){let e=u.current;u.current+=1,d.current=e}return d.current}:-1),h=C.useRef(null),m=C.useCallback(e=>{if(h.current=e,-1!==f&&null!==e&&(s.current[f]=e,c)){let r=void 0!==t;c.current[f]=r?t:n?.current?.textContent??e.textContent}},[f,s,c,t,n]);return oL(()=>{let e=h.current;if(e)return a(e,r),()=>{i(e)}},[a,i,r]),oL(()=>l(e=>{let t=h.current?e.get(h.current)?.index:null;null!=t&&p(t)}),[l,p]),C.useMemo(()=>({ref:m,index:f}),[f,m])}function ly(e){let{render:t,className:r,state:n=aV,props:o=aB,refs:a=aB,metadata:i,customStyleHookMapping:l,tag:s="div",...c}=e,{compositeProps:u,compositeRef:d}=function(e={}){let{highlightItemOnHover:t,highlightedIndex:r,onHighlightedIndexChange:n}=lp(),{ref:o,index:a}=lv(e),i=r===a,l=C.useRef(null),s=i2(o,l);return{compositeProps:C.useMemo(()=>({tabIndex:i?0:-1,onFocus(){n(a)},onMouseMove(){let e=l.current;if(!t||!e)return;let r=e.hasAttribute("disabled")||"true"===e.ariaDisabled;i||r||e.focus()}}),[i,n,a,t]),compositeRef:s,index:a}}({metadata:i});return lu(s,e,{state:n,ref:[...a,d],props:[u,...o,c],customStyleHookMapping:l})}let lb=C.forwardRef(function(e,t){let{render:r,className:n,disabled:o=!1,nativeButton:a=!0,...i}=e,{triggerProps:l,disabled:s,setTriggerElement:c,open:u,allowMouseUpTriggerRef:d,positionerRef:f,parent:p,lastOpenChangeReason:h,rootId:m}=iT(),g=o||s,v=C.useRef(null),y=oy(),{getButtonProps:b,buttonRef:x}=lh({disabled:g,native:a}),_=i2(x,c),{events:w}=C.useContext(oP);C.useEffect(()=>{u||void 0!==p.type||(d.current=!1)},[d,u,p.type]);let k=o_(e=>{if(!v.current)return;y.clear(),d.current=!1;let t=e.target;if(aw(v.current,t)||aw(f.current,t)||t===v.current||null!=t&&function e(t){return oH(t)&&t.hasAttribute("data-rootownerid")?t.getAttribute("data-rootownerid")??void 0:o2(t)?void 0:e(o5(t))}(t)===m)return;let r=function(e){let t=e.getBoundingClientRect(),r=window.getComputedStyle(e,"::before"),n=window.getComputedStyle(e,"::after");if("none"===r.content&&"none"===n.content)return t;let o=parseFloat(r.width)||0,a=parseFloat(r.height)||0,i=parseFloat(n.width)||0,l=parseFloat(n.height)||0,s=Math.max(t.width,o,i),c=Math.max(t.height,a,l),u=s-t.width,d=c-t.height;return{left:t.left-u/2,right:t.right+u/2,top:t.top-d/2,bottom:t.bottom+d/2}}(v.current);e.clientX>=r.left-2&&e.clientX<=r.right+2&&e.clientY>=r.top-2&&e.clientY<=r.bottom+2||w.emit("close",{domEvent:e,reason:"cancel-open"})});C.useEffect(()=>{u&&"trigger-hover"===h&&iR(v.current).addEventListener("mouseup",k,{once:!0})},[u,k,h]);let S="menubar"===p.type,E=C.useCallback(e=>iW(S?{role:"menuitem"}:{},{"aria-haspopup":"menu",ref:_,onMouseDown:e=>{u||(y.start(200,()=>{d.current=!0}),iR(e.currentTarget).addEventListener("mouseup",k,{once:!0}))}},e,b),[b,_,u,d,y,k,S]),T=C.useMemo(()=>({disabled:g,open:u}),[g,u]),N=[v,t,x],L=[l,i,E],I=lu("button",e,{enabled:!S,customStyleHookMapping:ll,state:T,ref:N,props:L});return S?(0,j.jsx)(ly,{tag:"button",render:r,className:n,state:T,refs:N,props:L,customStyleHookMapping:ll}):I}),lx={clip:"rect(0 0 0 0)",overflow:"hidden",whiteSpace:"nowrap",position:"fixed",top:0,left:0,border:0,padding:0,width:1,height:1,margin:-1},l_=C.forwardRef(function(e,t){let[r,n]=C.useState();return oL(()=>{ai&&n("button")},[]),(0,j.jsx)("span",{...e,ref:t,tabIndex:0,role:r,"aria-hidden":!r||void 0,style:lx,"data-base-ui-focus-guard":""})});var lw='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',lk="undefined"==typeof Element,lj=lk?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,lS=!lk&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},lC=function e(t,r){void 0===r&&(r=!0);var n,o=null==t||null==(n=t.getAttribute)?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},lE=function(e){var t,r=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===r||"true"===r},lT=function(e,t,r){if(lC(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(lw));return t&&lj.call(e,lw)&&n.unshift(e),n=n.filter(r)},lN=function e(t,r,n){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!lC(i,!1))if("SLOT"===i.tagName){var l=i.assignedElements(),s=e(l.length?l:i.children,!0,n);n.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{lj.call(i,lw)&&n.filter(i)&&(r||!t.includes(i))&&o.push(i);var c=i.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(i),u=!lC(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&u){var d=e(!0===c?i.children:c.children,!0,n);n.flatten?o.push.apply(o,d):o.push({scopeParent:i,candidates:d})}else a.unshift.apply(a,i.children)}}return o},lL=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},lI=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||lE(e))&&!lL(e)?0:e.tabIndex},lP=function(e,t){var r=lI(e);return r<0&&t&&!lL(e)?0:r},lz=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},lR=function(e){return"INPUT"===e.tagName},lO=function(e,t){for(var r=0;rsummary:first-of-type")?e.parentElement:e;if(lj.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return lZ(e)}else{if("function"==typeof n){for(var a=e;e;){var i=e.parentElement,l=lS(e);if(i&&!i.shadowRoot&&!0===n(i))return lZ(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}if(lD(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},lU=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;rlI(t))&&!!l$(e,t)},lV=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},lB=function e(t){var r=[],n=[];return t.forEach(function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,l=lP(i,a),s=a?e(t.candidates):i;0===l?a?r.push.apply(r,s):r.push(i):n.push({documentOrder:o,tabIndex:l,item:t,isScope:a,content:s})}),n.sort(lz).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(r)},lq=function(e,t){return lB((t=t||{}).getShadowRoot?lN([e],t.includeContainer,{filter:lH.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:lV}):lT(e,t.includeContainer,lH.bind(null,t)))},lW=function(e,t){return(t=t||{}).getShadowRoot?lN([e],t.includeContainer,{filter:l$.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):lT(e,t.includeContainer,l$.bind(null,t))},lK=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==lj.call(e,lw)&&lH(t,e)};let lY=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function lX(e,t){let r=lq(e,lY()),n=r.length;if(0===n)return;let o=a_(aS(e)),a=r.indexOf(o);return r[-1===a?1===t?0:n-1:a+t]}function lG(e){return lX(aS(e).body,1)||e}function lQ(e){return lX(aS(e).body,-1)||e}function lJ(e,t){let r=t||e.currentTarget,n=e.relatedTarget;return!n||!aw(r,n)}function l0(e){lq(e,lY()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function l1(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let l2=C.createContext(null),l3=aN("portal");function l4(e={}){let{id:t,root:r}=e,n=oT(),o=C.useContext(l2),[a,i]=C.useState(null),l=C.useRef(null);return oL(()=>()=>{a?.remove(),queueMicrotask(()=>{l.current=null})},[a]),oL(()=>{if(!n||l.current)return;let e=t?document.getElementById(t):null;if(!e)return;let r=document.createElement("div");r.id=n,r.setAttribute(l3,""),e.appendChild(r),l.current=r,i(r)},[t,n]),oL(()=>{if(null===r||!n||l.current)return;let e=r||o?.portalNode;e&&!oU(e)&&(e=e.current),e=e||document.body;let a=null;t&&((a=document.createElement("div")).id=t,e.appendChild(a));let s=document.createElement("div");s.id=n,s.setAttribute(l3,""),(e=a||e).appendChild(s),l.current=s,i(s)},[t,r,n,o]),a}function l5(e){let{children:t,id:r,root:n,preserveTabOrder:o=!0}=e,a=l4({id:r,root:n}),[i,l]=C.useState(null),s=C.useRef(null),c=C.useRef(null),u=C.useRef(null),d=C.useRef(null),f=i?.modal,p=i?.open,h=!!i&&!i.modal&&i.open&&o&&!!(n||a);return C.useEffect(()=>{if(a&&o&&!f)return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){if(a&&lJ(e)){let t="focusin"===e.type;(t?l1:l0)(a)}}},[a,o,f]),C.useEffect(()=>{!a||p||l1(a)},[p,a]),(0,j.jsxs)(l2.Provider,{value:C.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:s,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:d,portalNode:a,setFocusManagerState:l}),[o,a]),children:[h&&a&&(0,j.jsx)(l_,{"data-type":"outside",ref:s,onFocus:e=>{if(lJ(e,a))u.current?.focus();else{let e=lQ(i?i.domReference:null);e?.focus()}}}),h&&a&&(0,j.jsx)("span",{"aria-owns":a.id,style:lx}),a&&ej.createPortal(t,a),h&&a&&(0,j.jsx)(l_,{"data-type":"outside",ref:c,onFocus:e=>{if(lJ(e,a))d.current?.focus();else{let t=lG(i?i.domReference:null);t?.focus(),i?.closeOnFocusOut&&i?.onOpenChange(!1,e.nativeEvent,"focus-out")}}})]})}let l6=C.createContext(void 0);function l9(e){let{children:t,keepMounted:r=!1,container:n}=e,{mounted:o}=iT();return o||r?(0,j.jsx)(l6.Provider,{value:r,children:(0,j.jsx)(l5,{root:n,children:t})}):null}let l8=C.createContext(void 0);function l7(e,t,r){let n,{reference:o,floating:a}=e,i=ir(t),l=a7(ir(t)),s=ie(l),c=a9(t),u="y"===i,d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,p=o[s]/2-a[s]/2;switch(c){case"top":n={x:d,y:o.y-a.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:f};break;case"left":n={x:o.x-a.width,y:f};break;default:n={x:o.x,y:o.y}}switch(a8(t)){case"start":n[l]-=p*(r&&u?-1:1);break;case"end":n[l]+=p*(r&&u?-1:1)}return n}let se=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,l=a.filter(Boolean),s=await (null==i.isRTL?void 0:i.isRTL(t)),c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=l7(c,n,s),f=n,p={},h=0;for(let r=0;re[t]>=0)}let so=new Set(["left","top"]);async function sa(e,t){let{placement:r,platform:n,elements:o}=e,a=await (null==n.isRTL?void 0:n.isRTL(o.floating)),i=a9(r),l=a8(r),s="y"===ir(r),c=so.has(i)?-1:1,u=a&&s?-1:1,d=a6(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}function si(e){let t=o3(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=oH(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,l=a1(r)!==a||a1(n)!==i;return l&&(r=a,n=i),{width:r,height:n,$:l}}function sl(e){return o$(e)?e:e.contextElement}function ss(e){let t=sl(e);if(!oH(t))return a3(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=si(t),i=(a?a1(r.width):r.width)/n,l=(a?a1(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}let sc=a3(0);function su(e){let t=oZ(e);return o0()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:sc}function sd(e,t,r,n){var o,a,i;void 0===t&&(t=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),s=sl(e),c=a3(1);t&&(n?o$(n)&&(c=ss(n)):c=ss(e));let u=(o=s,void 0===(a=r)&&(a=!1),(i=n)&&(!a||i===oZ(o))&&a)?su(s):a3(0),d=(l.left+u.x)/c.x,f=(l.top+u.y)/c.y,p=l.width/c.x,h=l.height/c.y;if(s){let e=oZ(s),t=n&&o$(n)?oZ(n):n,r=e,o=o9(r);for(;o&&n&&t!==r;){let e=ss(o),t=o.getBoundingClientRect(),n=o3(o),a=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;d*=e.x,f*=e.y,p*=e.x,h*=e.y,d+=a,f+=i,o=o9(r=oZ(o))}}return id({width:p,height:h,x:d,y:f})}function sf(e,t){let r=o4(e).scrollLeft;return t?t.left+r:sd(oF(e)).left+r}function sp(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:sf(e,n));return{x:o,y:n.top+t.scrollTop}}let sh=new Set(["absolute","fixed"]);function sm(e,t,r){var n,o;let a;if("viewport"===t)a=function(e,t){let r=oZ(e),n=oF(e),o=r.visualViewport,a=n.clientWidth,i=n.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;let e=o0();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,r);else if("document"===t){let t,r,o,i,l,s,c;n=oF(e),t=oF(n),r=o4(n),o=n.ownerDocument.body,i=a0(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=a0(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+sf(n),c=-r.scrollTop,"rtl"===o3(o).direction&&(s+=a0(t.clientWidth,o.clientWidth)-i),a={width:i,height:l,x:s,y:c}}else if(o$(t)){let e,n,i,l,s,c,u;n=(e=sd(o=t,!0,"fixed"===r)).top+o.clientTop,i=e.left+o.clientLeft,l=oH(o)?ss(o):a3(1),s=o.clientWidth*l.x,c=o.clientHeight*l.y,u=i*l.x,a={width:s,height:c,x:u,y:n*l.y}}else{let r=su(e);a={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return id(a)}function sg(e){return"static"===o3(e).position}function sv(e,t){if(!oH(e)||"fixed"===o3(e).position)return null;if(t)return t(e);let r=e.offsetParent;return oF(e)===r&&(r=r.ownerDocument.body),r}function sy(e,t){var r;let n=oZ(e);if(oY(e))return n;if(!oH(e)){let t=o5(e);for(;t&&!o2(t);){if(o$(t)&&!sg(t))return t;t=o5(t)}return n}let o=sv(e,t);for(;o&&(r=o,oW.has(oD(r)))&&sg(o);)o=sv(o,t);return o&&o2(o)&&sg(o)&&!oJ(o)?n:o||function(e){let t=o5(e);for(;oH(t)&&!o2(t);){if(oJ(t))return t;if(oY(t))break;t=o5(t)}return null}(e)||n}let sb=async function(e){let t=this.getOffsetParent||sy,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=oH(t),o=oF(t),a="fixed"===r,i=sd(e,!0,a,t),l={scrollLeft:0,scrollTop:0},s=a3(0);if(n||!n&&!a)if(("body"!==oD(t)||oq(o))&&(l=o4(t)),n){let e=sd(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=sf(o));a&&!n&&o&&(s.x=sf(o));let c=!o||n||a?a3(0):sp(o,l),u=i.left+l.scrollLeft-s.x-c.x;return{x:u,y:i.top+l.scrollTop-s.y-c.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},sx={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,a="fixed"===o,i=oF(n),l=!!t&&oY(t.floating);if(n===i||l&&a)return r;let s={scrollLeft:0,scrollTop:0},c=a3(1),u=a3(0),d=oH(n);if((d||!d&&!a)&&(("body"!==oD(n)||oq(i))&&(s=o4(n)),oH(n))){let e=sd(n);c=ss(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}let f=!i||d||a?a3(0):sp(i,s,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:oF,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,a=[..."clippingAncestors"===r?oY(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=o6(e,[],!1).filter(e=>o$(e)&&"body"!==oD(e)),o=null,a="fixed"===o3(e).position,i=a?o5(e):e;for(;o$(i)&&!o2(i);){let t=o3(i),r=oJ(i);r||"fixed"!==t.position||(o=null),(a?!r&&!o:!r&&"static"===t.position&&!!o&&sh.has(o.position)||oq(i)&&!r&&function e(t,r){let n=o5(t);return!(n===r||!o$(n)||o2(n))&&("fixed"===o3(n).position||e(n,r))}(e,i))?n=n.filter(e=>e!==i):o=t,i=o5(i)}return t.set(e,n),n}(t,this._c):[].concat(r),n],i=a[0],l=a.reduce((e,r)=>{let n=sm(t,r,o);return e.top=a0(n.top,e.top),e.right=aJ(n.right,e.right),e.bottom=aJ(n.bottom,e.bottom),e.left=a0(n.left,e.left),e},sm(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:sy,getElementRects:sb,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=si(e);return{width:t,height:r}},getScale:ss,isElement:o$,isRTL:function(e){return"rtl"===o3(e).direction}};function s_(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sw(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,u=sl(e),d=a||i?[...u?o6(u):[],...o6(t)]:[];d.forEach(e=>{a&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)});let f=u&&s?function(e,t){let r,n=null,o=oF(e);function a(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();let c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(l||t(),!f||!p)return;let h=a2(d),m=a2(o.clientWidth-(u+f)),g=a2(o.clientHeight-(d+p)),v={rootMargin:-h+"px "+-m+"px "+-g+"px "+-a2(u)+"px",threshold:a0(0,aJ(1,s))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==s){if(!y)return i();n?i(!1,n):r=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==n||s_(c,e.getBoundingClientRect())||i(),y=!1}try{n=new IntersectionObserver(b,{...v,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(b,v)}n.observe(e)}(!0),a}(u,r):null,p=-1,h=null;l&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),u&&!c&&h.observe(u),h.observe(t));let m=c?sd(e):null;return c&&function t(){let n=sd(e);m&&!s_(m,n)&&r(),m=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(o)}}var sk="undefined"!=typeof document,sj=sk?C.useLayoutEffect:function(){};function sS(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!sS(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!sS(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function sC(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function sE(e,t){let r=sC(e);return Math.round(t*r)/r}function sT(e){let t=C.useRef(e);return sj(()=>{t.current=e}),t}function sN(e,t,r){let n="inline-start"===e||"inline-end"===e;return({top:"top",right:n?r?"inline-start":"inline-end":"right",bottom:"bottom",left:n?r?"inline-end":"inline-start":"left"})[t]}function sL(e,t,r){let{rects:n,placement:o}=e;return{side:sN(t,a9(o),r),align:a8(o)||"center",anchor:{width:n.reference.width,height:n.reference.height},positioner:{width:n.floating.width,height:n.floating.height}}}function sI(e){var t,r,n,o,a,i,l,s,c,u,d,f,p,h,m,g,v;let y,{anchor:b,positionMethod:x="absolute",side:_="bottom",sideOffset:w=0,align:k="center",alignOffset:j=0,collisionBoundary:S,collisionPadding:E=5,sticky:T=!1,arrowPadding:N=5,trackAnchor:L=!0,keepMounted:I=!1,floatingRootContext:P,mounted:z,collisionAvoidance:R,shiftCrossAxis:O=!1,nodeId:M,adaptiveOrigin:A}=e,D=R.side||"flip",Z=R.align||"flip",F=R.fallbackAxisSide||"end",U="function"==typeof b?b:void 0,$=o_(U),H=U?$:b,V=o8(b),B="rtl"===iz(),q={top:"top",right:"right",bottom:"bottom",left:"left","inline-end":B?"left":"right","inline-start":B?"right":"left"}[_],W="center"===k?q:`${q}-${k}`,K={boundary:"clipping-ancestors"===S?"clippingAncestors":S,padding:E},Y=C.useRef(null),X=o8(w),G=o8(j),Q="function"!=typeof w?w:0,J=[(t=e=>{let t=sL(e,_,B),r="function"==typeof X.current?X.current(t):X.current,n="function"==typeof G.current?G.current(t):G.current;return{mainAxis:r,crossAxis:n,alignmentAxis:n}},r=[Q,"function"!=typeof j?j:0,B,_],{...(void 0===(n=t)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:a,placement:i,middlewareData:l}=e,s=await sa(e,n);return i===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}),options:[t,r]})],ee="none"===Z&&"shift"!==D,et=!ee&&(T||O||"shift"===D),er="none"===D?null:{...{name:"flip",options:i=o={...K,mainAxis:!O&&"flip"===D,crossAxis:"flip"===Z&&"alignment",fallbackAxisSideDirection:F},async fn(e){var t,r,n,o,a,l,s,c,u,d,f,p,h;let m,g,v,{placement:y,middlewareData:b,rects:x,initialPlacement:_,platform:w,elements:k}=e,{mainAxis:j=!0,crossAxis:S=!0,fallbackPlacements:C,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:N=!0,...L}=a6(i,e);if(null!=(t=b.arrow)&&t.alignmentOffset)return{};let I=a9(y),P=ir(_),z=a9(_)===_,R=await (null==w.isRTL?void 0:w.isRTL(k.floating)),O=C||(z||!N?[ic(_)]:(m=ic(l=_),[io(l),m,io(m)])),M="none"!==T;!C&&M&&O.push(...(s=_,c=N,u=T,d=R,g=a8(s),v=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?ii:ia;return t?ia:ii;case"left":case"right":return t?il:is;default:return[]}}(a9(s),"start"===u,d),g&&(v=v.map(e=>e+"-"+g),c&&(v=v.concat(v.map(io)))),v));let A=[_,...O],D=await st(e,L),Z=[],F=(null==(r=b.flip)?void 0:r.overflows)||[];if(j&&Z.push(D[I]),S){let e,t,r,n,o=(f=y,p=x,void 0===(h=R)&&(h=!1),e=a8(f),t=a7(ir(f)),r=ie(t),n="x"===t?e===(h?"end":"start")?"right":"left":"start"===e?"bottom":"top",p.reference[r]>p.floating[r]&&(n=ic(n)),[n,ic(n)]);Z.push(D[o[0]],D[o[1]])}if(F=[...F,{placement:y,overflows:Z}],!Z.every(e=>e<=0)){let e=((null==(n=b.flip)?void 0:n.index)||0)+1,t=A[e];if(t&&("alignment"!==S||P===ir(t)||F.every(e=>ir(e.placement)!==P||e.overflows[0]>0)))return{data:{index:e,overflows:F},reset:{placement:t}};let r=null==(o=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(E){case"bestFit":{let e=null==(a=F.filter(e=>{if(M){let t=ir(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=_}if(y!==r)return{reset:{placement:r}}}return{}}},options:[o,a]},en=ee?null:(l=e=>{var t,r,n;let o=iR(e.elements.floating).documentElement;return{...K,rootBoundary:O?{x:0,y:0,width:o.clientWidth,height:o.clientHeight}:void 0,mainAxis:"none"!==Z,crossAxis:et,limiter:T||O?void 0:{...(void 0===(n=t=()=>{if(!Y.current)return{};let{height:e}=Y.current.getBoundingClientRect();return{offset:e/2+("number"==typeof E?E:0)}})&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:o,rects:a,middlewareData:i}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=a6(n,e),u={x:t,y:r},d=ir(o),f=a7(d),p=u[f],h=u[d],m=a6(l,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+g.mainAxis,r=a.reference[f]+a.reference[e]-g.mainAxis;pr&&(p=r)}if(c){var v,y;let e="y"===f?"width":"height",t=so.has(a9(o)),r=a.reference[d]-a.floating[e]+(t&&(null==(v=i.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),n=a.reference[d]+a.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);hn&&(h=n)}return{[f]:p,[d]:h}}}),options:[t,r]}}},s=[K,T,O,E,Z],{...(void 0===(c=l)&&(c={}),{name:"shift",options:c,async fn(e){let{x:t,y:r,placement:n}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:i={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=a6(c,e),s={x:t,y:r},u=await st(e,l),d=ir(a9(n)),f=a7(d),p=s[f],h=s[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=p+u[e],n=p-u[t];p=a0(r,aJ(p,n))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",r=h+u[e],n=h-u[t];h=a0(r,aJ(h,n))}let m=i.fn({...e,[f]:p,[d]:h});return{...m,data:{x:m.x-t,y:m.y-r,enabled:{[f]:o,[d]:a}}}}}),options:[l,s]});"shift"===D||"shift"===Z||"center"===k?J.push(en,er):J.push(er,en),J.push({...{name:"size",options:f=u={...K,apply({elements:{floating:e},rects:{reference:t},availableWidth:r,availableHeight:n}){Object.entries({"--available-width":`${r}px`,"--available-height":`${n}px`,"--anchor-width":`${t.width}px`,"--anchor-height":`${t.height}px`}).forEach(([t,r])=>{e.style.setProperty(t,r)})}},async fn(e){var t,r;let n,o,{placement:a,rects:i,platform:l,elements:s}=e,{apply:c=()=>{},...u}=a6(f,e),d=await st(e,u),p=a9(a),h=a8(a),m="y"===ir(a),{width:g,height:v}=i.floating;"top"===p||"bottom"===p?(n=p,o=h===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,n="end"===h?"top":"bottom");let y=v-d.top-d.bottom,b=g-d.left-d.right,x=aJ(v-d[n],y),_=aJ(g-d[o],b),w=!e.middlewareData.shift,k=x,j=_;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(j=b),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(k=y),w&&!h){let e=a0(d.left,0),t=a0(d.right,0),r=a0(d.top,0),n=a0(d.bottom,0);m?j=g-2*(0!==e||0!==t?e+t:a0(d.left,d.right)):k=v-2*(0!==r||0!==n?r+n:a0(d.top,d.bottom))}await c({...e,availableWidth:j,availableHeight:k});let S=await l.getDimensions(s.floating);return g!==S.width||v!==S.height?{reset:{rects:!0}}:{}}},options:[u,d]},(p=()=>({element:Y.current||document.createElement("div"),padding:N,offsetParent:"floating"}),h=[N],{...{name:"arrow",options:y=p,async fn(e){let{x:t,y:r,placement:n,rects:o,platform:a,elements:i,middlewareData:l}=e,{element:s,padding:c=0,offsetParent:u="real"}=a6(y,e)||{};if(null==s)return{};let d=iu(c),f={x:t,y:r},p=a7(ir(n)),h=ie(p),m=await a.getDimensions(s),g="y"===p,v=g?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[p]-f[p]-o.floating[h],x=f[p]-o.reference[p],_="real"===u?await a.getOffsetParent?.(s):i.floating,w=i.floating[v]||o.floating[h];w&&await a.isElement?.(_)||(w=i.floating[v]||o.floating[h]);let k=w/2-m[h]/2-1,j=Math.min(d[g?"top":"left"],k),S=Math.min(d[g?"bottom":"right"],k),C=w-m[h]-S,E=w/2-m[h]/2+(b/2-x/2),T=a0(j,aJ(E,C)),N=!l.arrow&&null!=a8(n)&&E!==T&&o.reference[h]/2-(E("function"==typeof w?w(sL(e,_,B)):w),y={top:`${p}px calc(100% + ${w}px)`,bottom:`${p}px ${-w}px`,left:`calc(100% + ${w}px) ${h}px`,right:`${-w}px ${h}px`}[i],b=`${p}px ${o.reference.y+g-a}px`;return t.floating.style.setProperty("--transform-origin",et&&"y"===l&&v?b:y),{}}},A);let eo=P;!z&&P&&(eo={...P,elements:{reference:null,floating:null,domReference:null}});let ea=C.useMemo(()=>({elementResize:L&&"undefined"!=typeof ResizeObserver,layoutShift:L&&"undefined"!=typeof IntersectionObserver}),[L]),{refs:ei,elements:el,x:es,y:ec,middlewareData:eu,update:ed,placement:ef,context:ep,isPositioned:eh,floatingStyles:em}=function(e={}){let{nodeId:t}=e,r=oM({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,o=n.elements,[a,i]=C.useState(null),[l,s]=C.useState(null),c=o?.domReference||a,u=C.useRef(null),d=C.useContext(oP);oL(()=>{c&&(u.current=c)},[c]);let f=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=C.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=C.useState(n);sS(f,n)||p(n);let[h,m]=C.useState(null),[g,v]=C.useState(null),y=C.useCallback(e=>{e!==w.current&&(w.current=e,m(e))},[]),b=C.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),x=a||h,_=i||g,w=C.useRef(null),k=C.useRef(null),j=C.useRef(u),S=null!=s,E=sT(s),T=sT(o),N=sT(c),L=C.useCallback(()=>{var e,n,o;let a,i,l;if(!w.current||!k.current)return;let s={placement:t,strategy:r,middleware:f};T.current&&(s.platform=T.current),(e=w.current,n=k.current,o=s,a=new Map,l={...(i={platform:sx,...o}).platform,_c:a},se(e,n,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==N.current};I.current&&!sS(j.current,t)&&(j.current=t,ej.flushSync(()=>{d(t)}))})},[f,t,r,T,N]);sj(()=>{!1===c&&j.current.isPositioned&&(j.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let I=C.useRef(!1);sj(()=>(I.current=!0,()=>{I.current=!1}),[]),sj(()=>{if(x&&(w.current=x),_&&(k.current=_),x&&_){if(E.current)return E.current(x,_,L);L()}},[x,_,L,E,S]);let P=C.useMemo(()=>({reference:w,floating:k,setReference:y,setFloating:b}),[y,b]),z=C.useMemo(()=>({reference:x,floating:_}),[x,_]),R=C.useMemo(()=>{let e={position:r,left:0,top:0};if(!z.floating)return e;let t=sE(z.floating,u.x),n=sE(z.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...sC(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,z.floating,u.x,u.y]);return C.useMemo(()=>({...u,update:L,refs:P,elements:z,floatingStyles:R}),[u,L,P,z,R])}({...e,elements:{...o,...l&&{reference:l}}}),p=C.useCallback(e=>{let t=o$(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),f.refs.setReference(t)},[f.refs]),h=C.useCallback(e=>{(o$(e)||null===e)&&(u.current=e,i(e)),(o$(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!o$(e))&&f.refs.setReference(e)},[f.refs]),m=C.useMemo(()=>({...f.refs,setReference:h,setPositionReference:p,domReference:u}),[f.refs,h,p]),g=C.useMemo(()=>({...f.elements,domReference:c}),[f.elements,c]),v=C.useMemo(()=>({...f,...n,refs:m,elements:g,nodeId:t}),[f,m,g,t,n]);return oL(()=>{n.dataRef.current.floatingContext=v;let e=d?.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),C.useMemo(()=>({...f,context:v,refs:m,elements:g}),[f,m,g,v])}({rootContext:eo,placement:W,middleware:J,strategy:x,whileElementsMounted:I?void 0:(...e)=>sw(...e,ea),nodeId:M}),{sideX:eg,sideY:ev}=eu.adaptiveOrigin||{},ey=C.useMemo(()=>A?{position:x,[eg]:`${es}px`,[ev]:`${ec}px`}:em,[A,eg,ev,x,es,ec,em]),eb=C.useRef(null);oL(()=>{if(!z)return;let e=V.current,t="function"==typeof e?e():e,r=(sP(t)?t.current:t)||null;r!==eb.current&&(ei.setPositionReference(r),eb.current=r)},[z,ei,H,V]),C.useEffect(()=>{if(!z)return;let e=V.current;"function"!=typeof e&&sP(e)&&e.current!==eb.current&&(ei.setPositionReference(e.current),eb.current=e.current)},[z,ei,H,V]),C.useEffect(()=>{if(I&&z&&el.domReference&&el.floating)return sw(el.domReference,el.floating,ed,ea)},[I,z,el,ed,ea]);let ex=sN(_,a9(ef),B),e_=a8(ef)||"center",ew=!!eu.hide?.referenceHidden,ek=C.useMemo(()=>({position:"absolute",top:eu.arrow?.y,left:eu.arrow?.x}),[eu.arrow]),eS=eu.arrow?.centerOffset!==0;return C.useMemo(()=>({positionerStyles:ey,arrowStyles:ek,arrowRef:Y,arrowUncentered:eS,side:ex,align:e_,anchorHidden:ew,refs:ei,context:ep,isPositioned:eh,update:ed}),[ey,ek,Y,eS,ex,e_,ew,ei,ep,eh,ed])}function sP(e){return null!=e&&"current"in e}function sz(e){let{children:t,elementsRef:r,labelsRef:n,onMapChange:o}=e,a=C.useRef(0),i=oh(sO).current,l=oh(sR).current,[s,c]=C.useState(0),u=C.useRef(s),d=o_((e,t)=>{l.set(e,t??null),u.current+=1,c(u.current)}),f=o_(e=>{l.delete(e),u.current+=1,c(u.current)}),p=C.useMemo(()=>{let e=new Map;return Array.from(l.keys()).sort(sM).forEach((t,r)=>{let n=l.get(t)??{};e.set(t,{...n,index:r})}),e},[l,s]);oL(()=>{u.current===s&&(r.current.length!==p.size&&(r.current.length=p.size),n&&n.current.length!==p.size&&(n.current.length=p.size)),o?.(p)},[o,p,r,n,s,u]);let h=o_(e=>(i.add(e),()=>{i.delete(e)}));oL(()=>{i.forEach(e=>e(p))},[i,p]);let m=C.useMemo(()=>({register:d,unregister:f,subscribeMapChange:h,elementsRef:r,labelsRef:n,nextIndexRef:a}),[d,f,h,r,n,a]);return(0,j.jsx)(lm.Provider,{value:m,children:t})}function sR(){return new Map}function sO(){return new Set}function sM(e,t){let r=e.compareDocumentPosition(t);return r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS?1:0}let sA=C.forwardRef(function(e,t){let r,{cutout:n,...o}=e;if(n){let e=n?.getBoundingClientRect();r=`polygon( 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, ${e.left}px ${e.top}px, ${e.left}px ${e.bottom}px, ${e.right}px ${e.bottom}px, ${e.right}px ${e.top}px, ${e.left}px ${e.top}px )`}return(0,j.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:r}})}),sD=C.forwardRef(function(e,t){var r;let n,o,a,i,{anchor:l,positionMethod:s="absolute",className:c,render:u,side:d,align:f,sideOffset:p=0,alignOffset:h=0,collisionBoundary:m="clipping-ancestors",collisionPadding:g=5,arrowPadding:v=5,sticky:y=!1,trackAnchor:b=!0,collisionAvoidance:x=aq,..._}=e,{open:w,setOpen:k,floatingRootContext:S,setPositionerElement:E,itemDomElements:T,itemLabels:N,mounted:L,modal:I,lastOpenChangeReason:P,parent:z,setHoverEnabled:R,triggerElement:O}=iT(),M=function(){let e=C.useContext(l6);if(void 0===e)throw Error("Base UI: is missing.");return e}(),A=(n=oT(),o=C.useContext(oP),i=a=oz(),oL(()=>{if(!n)return;let e={id:n,parentId:i};return o?.addNode(e),()=>{o?.removeNode(e)}},[o,n,i]),n),D=oz(),Z=iH(!0),F=l,U=p,$=h,H=f;"context-menu"===z.type&&(F=z.context?.anchor??l,H=e.align??"start",$=e.alignOffset??2,U=e.sideOffset??-5);let V=d,B=H;"menu"===z.type?(V=V??"inline-end",B=B??"start"):"menubar"===z.type&&(V=V??"bottom",B=B??"start");let q="context-menu"===z.type,W=sI({anchor:F,floatingRootContext:S,positionMethod:Z?"fixed":s,mounted:L,side:V,sideOffset:U,align:B,alignOffset:$,arrowPadding:q?0:v,collisionBoundary:m,collisionPadding:g,sticky:y,nodeId:A,keepMounted:M,trackAnchor:b,collisionAvoidance:x,shiftCrossAxis:q}),{events:K}=C.useContext(oP),Y=C.useMemo(()=>{let e={};return w||(e.pointerEvents="none"),{role:"presentation",hidden:!L,style:{...W.positionerStyles,...e}}},[w,L,W.positionerStyles]);C.useEffect(()=>{function e(e){e.open?(e.parentNodeId===A&&R(!1),e.nodeId!==A&&e.parentNodeId===D&&k(!1,void 0,"sibling-open")):e.parentNodeId===A&&R(!0)}return K.on("openchange",e),()=>{K.off("openchange",e)}},[K,A,D,k,R]),C.useEffect(()=>{K.emit("openchange",{open:w,nodeId:A,parentNodeId:D})},[K,w,A,D]);let X=C.useMemo(()=>({open:w,side:W.side,align:W.align,anchorHidden:W.anchorHidden,nested:"menu"===z.type}),[w,W.side,W.align,W.anchorHidden,z.type]),G=C.useMemo(()=>({side:W.side,align:W.align,arrowRef:W.arrowRef,arrowUncentered:W.arrowUncentered,arrowStyles:W.arrowStyles,floatingContext:W.context}),[W.side,W.align,W.arrowRef,W.arrowUncentered,W.arrowStyles,W.context]),Q=lu("div",e,{state:X,customStyleHookMapping:ls,ref:[t,E],props:{...Y,..._}}),J=L&&"menu"!==z.type&&("menubar"!==z.type&&I&&"trigger-hover"!==P||"menubar"===z.type&&z.context.modal),ee=null;return"menubar"===z.type?ee=z.context.contentElement:void 0===z.type&&(ee=O),(0,j.jsxs)(l8.Provider,{value:G,children:[J&&(0,j.jsx)(sA,{ref:"context-menu"===z.type||"nested-context-menu"===z.type?z.context.internalBackdropRef:null,inert:(r=!w,lc>=19?r:r?"true":void 0),cutout:ee}),(0,j.jsx)(oR,{id:A,children:(0,j.jsx)(sz,{elementsRef:T,labelsRef:N,children:Q})})]})}),sZ={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function sF(e){return"inert"===e?sZ.inert:"aria-hidden"===e?sZ["aria-hidden"]:sZ.none}let sU=new WeakSet,s$={},sH=0,sV=e=>e&&(e.host||sV(e.parentNode)),sB=[];function sq(){sB=sB.filter(e=>e.isConnected)}function sW(){return sq(),sB[sB.length-1]}function sK(e,t){if(!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;let r=lY(),n=lW(e,r).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return lK(e,r)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),o=e.getAttribute("tabindex");t.current.includes("floating")||0===n.length?"0"!==o&&e.setAttribute("tabindex","0"):("-1"!==o||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function sY(e){let{context:t,children:r,disabled:n=!1,order:o=["content"],initialFocus:a=0,returnFocus:i=!0,restoreFocus:l=!1,modal:s=!0,closeOnFocusOut:c=!0,getInsideElements:u=()=>[]}=e,{open:d,onOpenChange:f,events:p,dataRef:h,elements:{domReference:m,floating:g}}=t,v=o_(()=>h.current.floatingContext?.nodeId),y=o_(u),b="number"==typeof a&&a<0,x=aE(m)&&b,_=o8(o),w=o8(a),k=o8(i),S=C.useContext(oP),E=C.useContext(l2),T=C.useRef(null),N=C.useRef(null),L=C.useRef(!1),I=C.useRef(!1),P=C.useRef(-1),z=oy(),R=null!=E,O=aT(g),M=o_((e=O)=>e?lq(e,lY()):[]),A=o_(e=>{let t=M(e);return _.current.map(()=>t).filter(Boolean).flat()});C.useEffect(()=>{if(n||!s)return;function e(e){"Tab"===e.key&&aw(O,a_(aS(O)))&&0===M().length&&!x&&au(e)}let t=aS(O);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[n,m,O,s,_,x,M,A]),C.useEffect(()=>{if(!n&&g)return g.addEventListener("focusin",e),()=>{g.removeEventListener("focusin",e)};function e(e){let t=ak(e),r=M().indexOf(t);-1!==r&&(P.current=r)}},[n,g,M]),C.useEffect(()=>{if(n||!c)return;function e(){I.current=!0}function t(e){let t=e.relatedTarget,r=e.currentTarget,n=ak(e);queueMicrotask(()=>{let o=v(),a=!(aw(m,t)||aw(g,t)||aw(t,g)||aw(E?.portalNode,t)||t?.hasAttribute(aN("focus-guard"))||S&&(aR(S.nodesRef.current,o).find(e=>aw(e.context?.elements.floating,t)||aw(e.context?.elements.domReference,t))||aO(S.nodesRef.current,o).find(e=>[e.context?.elements.floating,aT(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(r===m&&O&&sK(O,_),l&&r!==m&&!n?.isConnected&&a_(aS(O))===aS(O).body){oH(O)&&O.focus();let e=P.current,t=M(),r=t[e]||t[t.length-1]||O;oH(r)&&r.focus()}if(h.current.insideReactTree){h.current.insideReactTree=!1;return}if(I.current){I.current=!1;return}(x||!s)&&t&&a&&t!==sW()&&(L.current=!0,f(!1,e,"focus-out"))})}let r=!!(!S&&E);function o(){h.current.insideReactTree=!0,z.start(0,()=>{h.current.insideReactTree=!1})}if(g&&oH(m))return m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),g.addEventListener("focusout",t),r&&g.addEventListener("focusout",o,!0),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),g.removeEventListener("focusout",t),r&&g.removeEventListener("focusout",o,!0)}},[n,m,g,O,s,S,E,f,c,l,M,x,v,_,h,z]);let D=C.useRef(null),Z=C.useRef(null),F=i2(D,E?.beforeInsideRef),U=i2(Z,E?.afterInsideRef);C.useEffect(()=>{if(n||!g)return;let e=Array.from(E?.portalNode?.querySelectorAll(`[${aN("portal")}]`)||[]),t=S?aO(S.nodesRef.current,v()):[],r=function(e,t=!1,r=!1){var n,o,a;let i,l,s,c,u,d,f,p,h=aS(e[0]).body;return n=e.concat(Array.from(h.querySelectorAll("[aria-live]"))),o=h,a=t,i="data-base-ui-inert",l=r?"inert":a?"aria-hidden":null,s=o,c=n.map(e=>{if(s.contains(e))return e;let t=sV(e);return s.contains(t)?t:null}).filter(e=>null!=e),u=new Set,d=new Set(c),f=[],s$[i]||(s$[i]=new WeakMap),p=s$[i],c.forEach(function e(t){!(!t||u.has(t))&&(u.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||d.has(t)||[].forEach.call(t.children,t=>{if("script"!==oD(t))if(u.has(t))e(t);else{let e=l?t.getAttribute(l):null,r=null!==e&&"false"!==e,n=sF(l),o=(n.get(t)||0)+1,a=(p.get(t)||0)+1;n.set(t,o),p.set(t,a),f.push(t),1===o&&r&&sU.add(t),1===a&&t.setAttribute(i,""),!r&&l&&t.setAttribute(l,"inert"===l?"":"true")}})}(o),u.clear(),sH+=1,()=>{f.forEach(e=>{let t=sF(l),r=(t.get(e)||0)-1,n=(p.get(e)||0)-1;t.set(e,r),p.set(e,n),r||(!sU.has(e)&&l&&e.removeAttribute(l),sU.delete(e)),n||e.removeAttribute(i)}),(sH-=1)||(sZ.inert=new WeakMap,sZ["aria-hidden"]=new WeakMap,sZ.none=new WeakMap,sU=new WeakSet,s$={})}}([g,t.find(e=>aE(e.context?.elements.domReference||null))?.context?.elements.domReference,...e,...y(),T.current,N.current,D.current,Z.current,E?.beforeOutsideRef.current,E?.afterOutsideRef.current,x?m:null].filter(e=>null!=e),s||x);return()=>{r()}},[n,m,g,s,_,E,x,S,v,y]),oL(()=>{if(n||!oH(O))return;let e=a_(aS(O));queueMicrotask(()=>{let t=A(O),r=w.current,n=("number"==typeof r?t[r]:r.current)||O,o=aw(O,e);b||o||!d||ix(n,{preventScroll:n===O})})},[n,d,O,b,A,w]),oL(()=>{var e;if(n||!O)return;let t=aS(O);function r({reason:e,event:t,nested:r}){if(["hover","safe-polygon"].includes(e)&&"mouseleave"===t.type&&(L.current=!0),"outside-press"===e)if(r)L.current=!1;else if(ad(t)||af(t))L.current=!1;else{let e=!1;document.createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?L.current=!1:L.current=!0}}e=a_(t),sq(),e&&"body"!==oD(e)&&(sB.push(e),sB.length>20&&(sB=sB.slice(-20))),p.on("openchange",r);let o=t.createElement("span");return o.setAttribute("tabindex","-1"),o.setAttribute("aria-hidden","true"),Object.assign(o.style,lx),R&&m&&m.insertAdjacentElement("afterend",o),()=>{p.off("openchange",r);let e=a_(t),n=aw(g,e)||S&&aR(S.nodesRef.current,v(),!1).some(t=>aw(t.context?.elements.floating,e)),a=function(){if("boolean"==typeof k.current){let e=m||sW();return e&&e.isConnected?e:o}return k.current.current||o}();queueMicrotask(()=>{var r;let i,l=(r=a,i=lY(),lK(r,i)?r:lq(r,i)[0]||r);k.current&&!L.current&&oH(l)&&(l===e||e===t.body||n)&&l.focus({preventScroll:!0}),o.remove()})}},[n,g,O,k,h,p,S,R,m,v]),C.useEffect(()=>{queueMicrotask(()=>{L.current=!1})},[n]),C.useEffect(()=>{if(n||!d)return;function e(e){let t=ak(e);t?.closest("[data-base-ui-click-trigger]")&&(I.current=!0)}let t=aS(O);return t.addEventListener("pointerdown",e,!0),()=>{t.removeEventListener("pointerdown",e,!0)}},[n,d,O]),oL(()=>{if(!n&&E)return E.setFocusManagerState({modal:s,closeOnFocusOut:c,open:d,onOpenChange:f,domReference:m}),()=>{E.setFocusManagerState(null)}},[n,E,s,d,f,c,m]),oL(()=>{if(!n&&O)return sK(O,_),()=>{queueMicrotask(sq)}},[n,O,_]);let $=!n&&(!s||!x)&&(R||s);return(0,j.jsxs)(C.Fragment,{children:[$&&(0,j.jsx)(l_,{"data-type":"inside",ref:F,onFocus:e=>{if(s){let e=A();ix(e[e.length-1])}else if(E?.preserveTabOrder&&E.portalNode)if(L.current=!1,lJ(e,E.portalNode)){let e=lG(m);e?.focus()}else E.beforeOutsideRef.current?.focus()}}),r,$&&(0,j.jsx)(l_,{"data-type":"inside",ref:U,onFocus:e=>{if(s)ix(A()[0]);else if(E?.preserveTabOrder&&E.portalNode)if(c&&(L.current=!0),lJ(e,E.portalNode)){let e=lQ(m);e?.focus()}else E.afterOutsideRef.current?.focus()}})]})}let sX={...ls,...i8},sG=C.forwardRef(function(e,t){let{render:r,className:n,finalFocus:o,...a}=e,{open:i,setOpen:l,popupRef:s,transitionStatus:c,popupProps:u,mounted:d,instantType:f,onOpenChangeComplete:p,parent:h,lastOpenChangeReason:m,rootId:g}=iT(),{side:v,align:y,floatingContext:b}=function(){let e=C.useContext(l8);if(void 0===e)throw Error("Base UI: MenuPositionerContext is missing. MenuPositioner parts must be placed within .");return e}();iI({open:i,ref:s,onComplete(){i&&p?.(!0)}});let{events:x}=C.useContext(oP);C.useEffect(()=>{function e(e){l(!1,e.domEvent,e.reason)}return x.on("close",e),()=>{x.off("close",e)}},[x,l]);let _=lu("div",e,{state:C.useMemo(()=>({transitionStatus:c,side:v,align:y,open:i,nested:"menu"===h.type,instant:f}),[c,v,y,i,h.type,f]),ref:[t,s],customStyleHookMapping:sX,props:[u,"starting"===c?aH:aV,a,{"data-rootownerid":g}]}),w=void 0===h.type||"context-menu"===h.type;return"menubar"===h.type&&"outside-press"!==m&&(w=!0),(0,j.jsx)(sY,{context:b,modal:!1,disabled:!d,returnFocus:o||w,initialFocus:"menu"===h.type?-1:0,restoreFocus:!0,children:_})}),sQ=C.createContext(void 0),sJ=C.forwardRef(function(e,t){let{render:r,className:n,...o}=e,[a,i]=C.useState(void 0),l=C.useMemo(()=>({setLabelId:i}),[i]),s=lu("div",e,{ref:t,props:{role:"group","aria-labelledby":a,...o}});return(0,j.jsx)(sQ.Provider,{value:l,children:s})});function s0(e){return oT(e,"base-ui")}let s1=C.forwardRef(function(e,t){let{className:r,render:n,id:o,...a}=e,i=s0(o),{setLabelId:l}=function(){let e=C.useContext(sQ);if(void 0===e)throw Error("Base UI: MenuGroupRootContext is missing. Menu group parts must be used within .");return e}();return oL(()=>(l(i),()=>{l(void 0)}),[l,i]),lu("div",e,{ref:t,props:{id:i,role:"presentation",...a}})}),s2={type:"regular-item"},s3=C.memo(C.forwardRef(function(e,t){let{className:r,closeOnClick:n=!0,disabled:o=!1,highlighted:a,id:i,menuEvents:l,itemProps:s,render:c,allowMouseUpTriggerRef:u,typingRef:d,nativeButton:f,...p}=e,{getItemProps:h,itemRef:m}=function(e){let{closeOnClick:t,disabled:r=!1,highlighted:n,id:o,menuEvents:a,allowMouseUpTriggerRef:i,typingRef:l,nativeButton:s,itemMetadata:c}=e,u=C.useRef(null),{getButtonProps:d,buttonRef:f}=lh({disabled:r,focusableWhenDisabled:!0,native:s}),p=C.useCallback(e=>iW({id:o,role:"menuitem",tabIndex:n?0:-1,onMouseEnter(){"submenu-trigger"===c.type&&c.setActive()},onKeyUp:e=>{" "===e.key&&l.current&&e.preventBaseUIHandler()},onClick:e=>{t&&a.emit("close",{domEvent:e,reason:"item-press"})},onMouseUp:()=>{u.current&&i.current&&"regular-item"===c.type&&u.current.click()}},e,d),[o,n,d,l,t,a,i,c]),h=i2(u,f);return C.useMemo(()=>({getItemProps:p,itemRef:h}),[p,h])}({closeOnClick:n,disabled:o,highlighted:a,id:i,menuEvents:l,allowMouseUpTriggerRef:u,typingRef:d,nativeButton:f,itemMetadata:s2});return lu("div",e,{state:C.useMemo(()=>({disabled:o,highlighted:a}),[o,a]),ref:[m,t],props:[s,p,h]})})),s4=C.forwardRef(function(e,t){let{id:r,label:n,nativeButton:o=!1,...a}=e,i=C.useRef(null),l=lv({label:n}),s=i2(t,l.ref,i),{itemProps:c,activeIndex:u,allowMouseUpTriggerRef:d,typingRef:f}=iT(),p=s0(r),h=l.index===u,{events:m}=C.useContext(oP);return(0,j.jsx)(s3,{...a,id:p,ref:s,highlighted:h,menuEvents:m,itemProps:c,allowMouseUpTriggerRef:d,typingRef:f,nativeButton:o})}),s5="__next_builtin__";function s6(e){return e.replace(RegExp(`^${s5}`),"").replace(RegExp("@boundary$"),"")}let s9="boundary:";function s8(e){return e.startsWith(s9)}function s7(e){return e.replace(s9,"")}function ce({nodeState:e,boundaries:t}){let{pagePath:r,boundaryType:n,setBoundaryType:o}=e,[a,i]=(0,C.useState)(!1),{shadowRoot:l}=us(),s=(0,C.useRef)(null),c=(0,C.useRef)(null);t5(c,s,a,()=>{i(!1)},s.current?.ownerDocument);let u=(Object.values(t).find(e=>null!==e)||"").split(".").pop()||"js",d=(0,C.useMemo)(()=>Object.fromEntries(Object.entries(t).map(([e,t])=>{let r=s6((t||"").split("/").pop()||`${e}.${u}`);return[e,r]})),[t,u]),f=(r||"").split("/").pop()||"",p=s6(n?`page.${u}`:f||`page.${u}`),h=[{label:d.loading,value:"loading",icon:(0,j.jsx)(ct,{}),disabled:!t.loading},{label:d.error,value:"error",icon:(0,j.jsx)(cr,{}),disabled:!t.error},{label:d["not-found"],value:"not-found",icon:(0,j.jsx)(cn,{}),disabled:!t["not-found"]}],m={label:n?"Reset":p,value:"reset",icon:(0,j.jsx)(co,{}),disabled:null===n},g=(0,C.useCallback)(({filePath:e})=>{let t=new URLSearchParams({file:e,isAppRelativePath:"1"});fetch(`${process.env.__NEXT_ROUTER_BASEPATH||""}/__nextjs_launch-editor?${t.toString()}`).catch(console.warn)},[]),v=(0,C.useCallback)(e=>{switch(e){case"not-found":case"loading":case"error":o(e);break;case"reset":o(null);break;case"open-editor":r&&g({filePath:r})}},[o,r,g]),y=(0,C.useMemo)(()=>"layout"!==e.type&&"template"!==e.type&&Object.values(t).some(e=>null!==e),[e.type,t]);return(0,j.jsxs)(i1,{delay:0,modal:!1,open:a,onOpenChange:i,children:[(0,j.jsx)(lb,{className:"segment-boundary-trigger","data-nextjs-dev-overlay-segment-boundary-trigger-button":!0,render:e=>{let t=((...e)=>t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})})(e.ref,s);return(0,j.jsx)(ci,{...e,ref:t})},disabled:!y}),(0,j.jsx)(l9,{container:l,children:(0,j.jsx)(sD,{className:"segment-boundary-dropdown-positioner",side:"bottom",align:"center",sideOffset:6,arrowPadding:8,ref:c,children:(0,j.jsxs)(sG,{className:"segment-boundary-dropdown",children:[(0,j.jsxs)(sJ,{children:[(0,j.jsx)(s1,{className:"segment-boundary-group-label",children:"Toggle Overrides"}),h.map(e=>(0,j.jsxs)(s4,{className:"segment-boundary-dropdown-item",onClick:()=>v(e.value),disabled:e.disabled,children:[e.icon,e.label]},e.value))]}),(0,j.jsx)(sJ,{children:(0,j.jsxs)(s4,{className:"segment-boundary-dropdown-item",onClick:()=>v(m.value),disabled:m.disabled,children:[m.icon,m.label]},m.value)})]})})})]})}function ct(){let e,t,r=(0,S.c)(2);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("g",{clipPath:"url(#clip0_2759_1866)",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.5C13.5899 3.5 16.5 6.41015 16.5 10C16.5 13.5899 13.5899 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 6.41015 6.41015 3.5 10 3.5ZM2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10ZM10.75 9.62402V6H9.25V9.875C9.25 10.1898 9.39858 10.486 9.65039 10.6748L11.5498 12.0996L12.1504 12.5498L13.0498 11.3496L12.4502 10.9004L10.75 9.62402Z",fill:"currentColor"})}),r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsxs)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e,(0,j.jsx)("defs",{children:(0,j.jsx)("clipPath",{id:"clip0_2759_1866",children:(0,j.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(2 2)"})})})]}),r[1]=t):t=r[1],t}function cr(){let e,t,r=(0,S.c)(2);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("g",{clipPath:"url(#clip0_2759_1881)",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 7.30762V12.6924L7.30762 16.5H12.6924L16.5 12.6924V7.30762L12.6924 3.5H7.30762L3.5 7.30762ZM18 12.8994L17.9951 12.998C17.9724 13.2271 17.8712 13.4423 17.707 13.6064L13.6064 17.707L13.5332 17.7734C13.3806 17.8985 13.1944 17.9757 12.998 17.9951L12.8994 18H7.10059L7.00195 17.9951C6.80562 17.9757 6.6194 17.8985 6.4668 17.7734L6.39355 17.707L2.29297 13.6064C2.12883 13.4423 2.02756 13.2271 2.00488 12.998L2 12.8994V7.10059C2 6.83539 2.10546 6.58109 2.29297 6.39355L6.39355 2.29297C6.55771 2.12883 6.77294 2.02756 7.00195 2.00488L7.10059 2H12.8994L12.998 2.00488C13.2271 2.02756 13.4423 2.12883 13.6064 2.29297L17.707 6.39355C17.8945 6.58109 18 6.83539 18 7.10059V12.8994ZM9.25 5.75H10.75L10.75 10.75H9.25L9.25 5.75ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z",fill:"currentColor"})}),r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e,(0,j.jsx)("defs",{children:(0,j.jsx)("clipPath",{id:"clip0_2759_1881",children:(0,j.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(2 2)"})})})]}),r[1]=t):t=r[1],t}function cn(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5586 2.5C11.1341 2.50004 11.6588 2.8294 11.9091 3.34766L17.8076 15.5654C18.1278 16.2292 17.6442 16.9997 16.9072 17H3.09274C2.35574 16.9997 1.8721 16.2292 2.19235 15.5654L8.09079 3.34766C8.34109 2.8294 8.86583 2.50004 9.44137 2.5H10.5586ZM3.89059 15.5H16.1093L10.5586 4H9.44137L3.89059 15.5ZM9.24997 6.75H10.75L10.75 10.75H9.24997L9.24997 6.75ZM9.99997 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 9.99997 12C9.44768 12 8.99997 12.4477 8.99997 13C8.99997 13.5523 9.44768 14 9.99997 14Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function co(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("path",{d:"M9.96484 3C13.8463 3.00018 17 6.13012 17 10C17 13.8699 13.8463 16.9998 9.96484 17C7.62404 17 5.54877 15.8617 4.27051 14.1123L3.82812 13.5068L5.03906 12.6221L5.48145 13.2275C6.48815 14.6053 8.12092 15.5 9.96484 15.5C13.0259 15.4998 15.5 13.0335 15.5 10C15.5 6.96654 13.0259 4.50018 9.96484 4.5C7.42905 4.5 5.29544 6.19429 4.63867 8.5H8V10H2.75C2.33579 10 2 9.66421 2 9.25V4H3.5V7.2373C4.57781 4.74376 7.06749 3 9.96484 3Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}function ca(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7071 2.39644C8.31658 2.00592 7.68341 2.00592 7.29289 2.39644L4.46966 5.21966L3.93933 5.74999L4.99999 6.81065L5.53032 6.28032L7.99999 3.81065L10.4697 6.28032L11 6.81065L12.0607 5.74999L11.5303 5.21966L8.7071 2.39644ZM5.53032 9.71966L4.99999 9.18933L3.93933 10.25L4.46966 10.7803L7.29289 13.6035C7.68341 13.9941 8.31658 13.9941 8.7071 13.6035L11.5303 10.7803L12.0607 10.25L11 9.18933L10.4697 9.71966L7.99999 12.1893L5.53032 9.71966Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{strokeLinejoin:"round",viewBox:"0 0 16 16",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function ci(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("span",{className:"segment-boundary-trigger-text",children:(0,j.jsx)(ca,{className:"plus-icon"})}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("button",{...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}let cl=C.createContext(void 0);function cs(){let e=C.useContext(cl);if(void 0===e)throw Error("Base UI: TooltipRootContext is missing. Tooltip parts must be placed within .");return e}let cc=C.forwardRef(function(e,t){let{className:r,render:n,...o}=e,{open:a,setTriggerElement:i,triggerProps:l}=cs();return lu("button",e,{state:C.useMemo(()=>({open:a}),[a]),ref:[t,i],props:[l,o],customStyleHookMapping:li})}),cu=C.createContext(void 0);function cd(){let e=C.useContext(cu);if(void 0===e)throw Error("Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within .");return e}let cf=C.forwardRef(function(e,t){let{className:r,render:n,...o}=e,{open:a,arrowRef:i,side:l,align:s,arrowUncentered:c,arrowStyles:u}=cd();return lu("div",e,{state:C.useMemo(()=>({open:a,side:l,align:s,uncentered:c}),[a,l,s,c]),ref:[t,i],props:[{style:u,"aria-hidden":!0},o],customStyleHookMapping:ls})}),cp={...ls,...i8},ch=C.forwardRef(function(e,t){let{className:r,render:n,...o}=e,{open:a,instantType:i,transitionStatus:l,popupProps:s,popupRef:c,onOpenChangeComplete:u}=cs(),{side:d,align:f}=cd();return iI({open:a,ref:c,onComplete(){a&&u?.(!0)}}),lu("div",e,{state:C.useMemo(()=>({open:a,side:d,align:f,instant:i,transitionStatus:l}),[a,d,f,i,l]),ref:[t,c],props:[s,"starting"===l?aH:aV,o],customStyleHookMapping:cp})}),cm=C.createContext(void 0),cg=C.forwardRef(function(e,t){let{render:r,className:n,anchor:o,positionMethod:a="absolute",side:i="top",align:l="center",sideOffset:s=0,alignOffset:c=0,collisionBoundary:u="clipping-ancestors",collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,trackAnchor:h=!0,collisionAvoidance:m=aW,...g}=e,{open:v,setPositionerElement:y,mounted:b,floatingRootContext:x,trackCursorAxis:_,hoverable:w}=cs(),k=sI({anchor:o,positionMethod:a,floatingRootContext:x,mounted:b,side:i,sideOffset:s,align:l,alignOffset:c,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,trackAnchor:h,keepMounted:function(){let e=C.useContext(cm);if(void 0===e)throw Error("Base UI: is missing.");return e}(),collisionAvoidance:m}),S=C.useMemo(()=>{let e={};return v&&"both"!==_&&w||(e.pointerEvents="none"),{role:"presentation",hidden:!b,style:{...k.positionerStyles,...e}}},[v,_,w,b,k.positionerStyles]),E=C.useMemo(()=>({props:S,...k}),[S,k]),T=C.useMemo(()=>({open:v,side:E.side,align:E.align,anchorHidden:E.anchorHidden}),[v,E.side,E.align,E.anchorHidden]),N=C.useMemo(()=>({...T,arrowRef:E.arrowRef,arrowStyles:E.arrowStyles,arrowUncentered:E.arrowUncentered}),[T,E.arrowRef,E.arrowStyles,E.arrowUncentered]),L=lu("div",e,{state:T,props:[E.props,g],ref:[t,y],customStyleHookMapping:ls});return(0,j.jsx)(cu.Provider,{value:N,children:L})});function cv(e){let t=l4({root:e.root});return t&&ej.createPortal(e.children,t)}function cy(e){let{children:t,keepMounted:r=!1,container:n}=e,{mounted:o}=cs();return o||r?(0,j.jsx)(cm.Provider,{value:r,children:(0,j.jsx)(cv,{root:n,children:t})}):null}let cb=C.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new ov,currentIdRef:{current:null},currentContextRef:{current:null}});function cx(e){let{children:t,delay:r,timeoutMs:n=0}=e,o=C.useRef(r),a=C.useRef(r),i=C.useRef(null),l=C.useRef(null),s=oy();return(0,j.jsx)(cb.Provider,{value:C.useMemo(()=>({hasProvider:!0,delayRef:o,initialDelayRef:a,currentIdRef:i,timeoutMs:n,currentContextRef:l,timeout:s}),[n,s]),children:t})}let c_=C.createContext(void 0),cw=function(e){let{delay:t,closeDelay:r,timeout:n=400}=e,o=C.useMemo(()=>({delay:t,closeDelay:r}),[t,r]),a=C.useMemo(()=>({open:t,close:r}),[t,r]);return(0,j.jsx)(c_.Provider,{value:o,children:(0,j.jsx)(cx,{delay:a,timeoutMs:n,children:e.children})})};function ck(e){return null!=e&&null!=e.clientX}function cj(e){let{disabled:t=!1,defaultOpen:r=!1,onOpenChange:n,open:o,delay:a,closeDelay:i,hoverable:l=!0,trackCursorAxis:s="none",actionsRef:c,onOpenChangeComplete:u}=e,d=a??600,f=i??0,[p,h]=C.useState(null),[m,g]=C.useState(null),[v,y]=C.useState(),b=C.useRef(null),[x,_]=oj({controlled:o,default:r,name:"Tooltip",state:"open"}),w=!t&&x;function k(e,t,r){let o="trigger-hover"===r,a=e&&"trigger-focus"===r,i=!e&&("trigger-press"===r||"escape-key"===r);function l(){n?.(e,t,r),_(e)}o?ej.flushSync(l):l(),a||i?y(a?"focus":"dismiss"):"trigger-hover"===r&&y(void 0)}let S=o_(k);x&&t&&k(!1,void 0,"disabled");let{mounted:E,setMounted:T,transitionStatus:N}=iL(w),L=o_(()=>{T(!1),u?.(!1)});iI({enabled:!c,open:w,ref:b,onComplete(){w||L()}}),C.useImperativeHandle(c,()=>({unmount:L}),[L]);let I=oM({elements:{reference:p,floating:m},open:w,onOpenChange(e,t,r){S(e,t,iU(r))}}),P=C.useContext(c_),{delayRef:z,isInstantPhase:R,hasProvider:O}=function(e,t={}){let{open:r,onOpenChange:n,floatingId:o}=e,{enabled:a=!0}=t,{currentIdRef:i,delayRef:l,timeoutMs:s,initialDelayRef:c,currentContextRef:u,hasProvider:d,timeout:f}=C.useContext(cb),[p,h]=C.useState(!1);return oL(()=>{function e(){h(!1),u.current?.setIsInstantPhase(!1),i.current=null,u.current=null,l.current=c.current}if(a&&i.current&&!r&&i.current===o){if(h(!1),s)return f.start(s,e),()=>{f.clear()};e()}},[a,r,o,i,l,s,c,u,f]),oL(()=>{if(!a||!r)return;let e=u.current,t=i.current;u.current={onOpenChange:n,setIsInstantPhase:h},i.current=o,l.current={open:0,close:aI(c.current,"close")},null!==t&&t!==o?(f.clear(),h(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1)):(h(!1),e?.setIsInstantPhase(!1))},[a,r,o,n,i,l,s,c,u,f]),oL(()=>()=>{u.current=null},[u]),C.useMemo(()=>({hasProvider:d,delayRef:l,isInstantPhase:p}),[d,l,p])}(I),M=R?"delay":v,A=az(I,{enabled:!t,mouseOnly:!0,move:!1,handleClose:l&&"both"!==s?aA():null,restMs(){let e=P?.delay,t="object"==typeof z.current?z.current.open:void 0,r=d;return O&&(r=0!==t?a??e??d:0),r},delay(){let e="object"==typeof z.current?z.current.close:void 0,t=f;return null==i&&O&&(t=e),{close:t}}}),D=aZ(I,{enabled:!t}),Z=aX(I,{enabled:!t,referencePress:!0}),{getReferenceProps:F,getFloatingProps:U}=ij([A,D,Z,function(e,t={}){let{open:r,dataRef:n,elements:{floating:o,domReference:a},refs:i}=e,{enabled:l=!0,axis:s="both",x:c=null,y:u=null}=t,d=C.useRef(!1),f=C.useRef(null),[p,h]=C.useState(),[m,g]=C.useState([]),v=o_((e,t)=>{if(!d.current&&(!n.current.openEvent||ck(n.current.openEvent))){var r,o;let l,c,u;i.setPositionReference((r=a,o={x:e,y:t,axis:s,dataRef:n,pointerType:p},l=null,c=null,u=!1,{contextElement:r||void 0,getBoundingClientRect(){let e=r?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},t="x"===o.axis||"both"===o.axis,n="y"===o.axis||"both"===o.axis,a=["mouseenter","mousemove"].includes(o.dataRef.current.openEvent?.type||"")&&"touch"!==o.pointerType,i=e.width,s=e.height,d=e.x,f=e.y;return null==l&&o.x&&t&&(l=e.x-o.x),null==c&&o.y&&n&&(c=e.y-o.y),d-=l||0,f-=c||0,i=0,s=0,!u||a?(i="y"===o.axis?e.width:0,s="x"===o.axis?e.height:0,d=t&&null!=o.x?o.x:d,f=n&&null!=o.y?o.y:f):u&&!a&&(s="x"===o.axis?e.height:s,i="y"===o.axis?e.width:i),u=!0,{width:i,height:s,x:d,y:f,top:f,right:d+i,bottom:f+s,left:d}}}))}}),y=o_(e=>{null==c&&null==u&&(r?f.current||g([]):v(e.clientX,e.clientY))}),b=ap(p)?o:r,x=C.useCallback(()=>{if(!b||!l||null!=c||null!=u)return;let e=oZ(o);function t(r){aw(o,ak(r))?(e.removeEventListener("mousemove",t),f.current=null):v(r.clientX,r.clientY)}if(!n.current.openEvent||ck(n.current.openEvent)){e.addEventListener("mousemove",t);let r=()=>{e.removeEventListener("mousemove",t),f.current=null};return f.current=r,r}i.setPositionReference(a)},[b,l,c,u,o,n,i,a,v]);C.useEffect(()=>x(),[x,m]),C.useEffect(()=>{l&&!o&&(d.current=!1)},[l,o]),C.useEffect(()=>{!l&&r&&(d.current=!0)},[l,r]),oL(()=>{l&&(null!=c||null!=u)&&(d.current=!1,v(c,u))},[l,c,u,v]);let _=C.useMemo(()=>{function e(e){h(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:y,onMouseEnter:y}},[y]);return C.useMemo(()=>l?{reference:_}:{},[l,_])}(I,{enabled:!t&&"none"!==s,axis:"none"===s?void 0:s})]),$=C.useMemo(()=>({open:w,setOpen:S,mounted:E,setMounted:T,setTriggerElement:h,positionerElement:m,setPositionerElement:g,popupRef:b,triggerProps:F(),popupProps:U(),floatingRootContext:I,instantType:M,transitionStatus:N,onOpenChangeComplete:u}),[w,S,E,T,h,m,g,b,F,U,I,M,N,u]),H=C.useMemo(()=>({...$,delay:d,closeDelay:f,trackCursorAxis:s,hoverable:l}),[$,d,f,s,l]);return(0,j.jsx)(cl.Provider,{value:H,children:e.children})}var cS=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css"),cC={};cC.styleTagTransform=b(),cC.setAttributes=m(),cC.insert=p(),cC.domAPI=d(),cC.insertStyleElement=v(),c()(cS.A,cC),cS.A&&cS.A.locals&&cS.A.locals;let cE=(0,C.forwardRef)(function(e,t){let r,n,o,a,i,l,s,c,u,d,f,p,h=(0,S.c)(35),{className:m,children:g,title:v,direction:y,arrowSize:b,offset:x}=e,_=void 0===y?"top":y,w=void 0===b?6:b,{shadowRoot:k}=us();if(!v)return g;h[0]!==g?(r=e=>(0,j.jsx)("span",{...e,children:g}),h[0]=g,h[1]=r):r=h[1],h[2]!==t||h[3]!==r?(n=(0,j.jsx)(cc,{ref:t,render:r}),h[2]=t,h[3]=r,h[4]=n):n=h[4];let C=(void 0===x?8:x)+w,E=`${w}px`,T=`${w}px`;h[5]!==E||h[6]!==T?(o={"--anchor-width":E,"--anchor-height":T},h[5]=E,h[6]=T,h[7]=o):o=h[7];let N=o;h[8]!==m?(a=e6("tooltip",m),h[8]=m,h[9]=a):a=h[9];let L=`${w}px`;h[10]!==L?(i={"--arrow-size":L},h[10]=L,h[11]=i):i=h[11];let I=i,P=`tooltip-arrow--${_}`;h[12]!==P?(l=e6("tooltip-arrow",P),h[12]=P,h[13]=l):l=h[13];let z=`${w}px`;h[14]!==z?(s={"--arrow-size":z},h[14]=z,h[15]=s):s=h[15];let R=s;return h[16]!==l||h[17]!==R?(c=(0,j.jsx)(cf,{className:l,style:R}),h[16]=l,h[17]=R,h[18]=c):c=h[18],h[19]!==a||h[20]!==I||h[21]!==c||h[22]!==v?(u=(0,j.jsxs)(ch,{className:a,style:I,children:[v,c]}),h[19]=a,h[20]=I,h[21]=c,h[22]=v,h[23]=u):u=h[23],h[24]!==_||h[25]!==N||h[26]!==u||h[27]!==C?(d=(0,j.jsx)(cg,{side:_,sideOffset:C,className:"tooltip-positioner",style:N,children:u}),h[24]=_,h[25]=N,h[26]=u,h[27]=C,h[28]=d):d=h[28],h[29]!==k||h[30]!==d?(f=(0,j.jsx)(cy,{container:k,children:d}),h[29]=k,h[30]=d,h[31]=f):f=h[31],h[32]!==f||h[33]!==n?(p=(0,j.jsx)(cw,{children:(0,j.jsxs)(cj,{delay:400,children:[n,f]})}),h[32]=f,h[33]=n,h[34]=p):p=h[34],p});function cT(e){let t,r,n=(0,S.c)(3),{possibleExtension:o,missingGlobalError:a}=e,i=a?`No global-error.${o} found: Add one to ensure users see a helpful message when an unexpected error occurs.`:null;return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)(cA,{}),n[0]=t):t=n[0],n[1]!==i?(r=(0,j.jsx)("span",{className:"segment-explorer-suggestions",children:(0,j.jsx)(cE,{className:"segment-explorer-suggestions-tooltip",title:i,children:t})}),n[1]=i,n[2]=r):r=n[2],r}let cN=e=>!!e.value?.type&&!!e.value?.pagePath;function cL(e){let t,r,n=(0,S.c)(3),{page:o}=e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)(cD,{}),n[0]=t):t=n[0],n[1]!==o?(r=(0,j.jsxs)("div",{className:"segment-explorer-page-route-bar",children:[t,(0,j.jsx)("span",{className:"segment-explorer-page-route-bar-path",children:o})]}),n[1]=o,n[2]=r):r=n[2],r}function cI(e){let t,r,n,o=(0,S.c)(9),{activeBoundariesCount:a,onGlobalReset:i}=e,l=a>0,s=`segment-explorer-footer-button ${!l?"segment-explorer-footer-button--disabled":""}`,c=l?i:void 0,u=!l;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("span",{className:"segment-explorer-footer-text",children:"Clear Segment Overrides"}),o[0]=t):t=o[0],o[1]!==a||o[2]!==l?(r=l&&(0,j.jsx)("span",{className:"segment-explorer-footer-badge",children:a}),o[1]=a,o[2]=l,o[3]=r):r=o[3],o[4]!==s||o[5]!==c||o[6]!==u||o[7]!==r?(n=(0,j.jsx)("div",{className:"segment-explorer-footer",children:(0,j.jsxs)("button",{className:s,onClick:c,disabled:u,type:"button",children:[t,r]})}),o[4]=s,o[5]=c,o[6]=u,o[7]=r,o[8]=n):n=o[8],n}function cP(e){let t,r,n,o,a,i=(0,S.c)(15),{type:l,isBuiltin:s,isOverridden:c,filePath:u,fileName:d}=e,f=`segment-explorer-file-label--${l}`,p=s&&"segment-explorer-file-label--builtin",h=c&&"segment-explorer-file-label--overridden";return i[0]!==f||i[1]!==p||i[2]!==h?(t=e6("segment-explorer-file-label",f,p,h),i[0]=f,i[1]=p,i[2]=h,i[3]=t):t=i[3],i[4]!==u?(r=()=>{!function({filePath:e}){let t=new URLSearchParams({file:e,isAppRelativePath:"1"});fetch(`${process.env.__NEXT_ROUTER_BASEPATH||""}/__nextjs_launch-editor?${t.toString()}`)}({filePath:u})},i[4]=u,i[5]=r):r=i[5],i[6]!==d?(n=(0,j.jsx)("span",{className:"segment-explorer-file-label-text",children:d}),i[6]=d,i[7]=n):n=i[7],i[8]!==s?(o=s?(0,j.jsx)(cA,{}):(0,j.jsx)(cZ,{className:"code-icon"}),i[8]=s,i[9]=o):o=i[9],i[10]!==t||i[11]!==r||i[12]!==n||i[13]!==o?(a=(0,j.jsxs)("span",{className:t,onClick:r,children:[n,o]}),i[10]=t,i[11]=r,i[12]=n,i[13]=o,i[14]=a):a=i[14],a}function cz(e){let t,r,n,o,a,i,l,s,c=(0,S.c)(17),{page:u}=e,d=(0,C.useSyncExternalStore)(oo,oa,oi);c[0]!==d?(t=function e(t){let r=0;return t.value?.setBoundaryType&&null!==t.value.boundaryType&&!s8(t.value.type)&&r++,Object.values(t.children).forEach(t=>{t&&(r+=e(t))}),r}(d),c[0]=d,c[1]=t):t=c[1];let f=t;c[2]!==d?(r=()=>{!function e(t){t.value?.setBoundaryType&&t.value.setBoundaryType(null),Object.values(t.children).forEach(t=>{t&&e(t)})}(d)},c[2]=d,c[3]=r):r=c[3];let p=r;return c[4]===Symbol.for("react.memo_cache_sentinel")?(n={display:"flex",flexDirection:"column",height:"100%"},c[4]=n):n=c[4],c[5]!==u?(o=(0,j.jsx)(cL,{page:u}),c[5]=u,c[6]=o):o=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(a={flex:"1 1 auto",overflow:"auto"},c[7]=a):a=c[7],c[8]!==d?(i=(0,j.jsx)("div",{className:"segment-explorer-content","data-nextjs-devtool-segment-explorer":!0,style:a,children:(0,j.jsx)(cO,{node:d,level:0,segment:""})}),c[8]=d,c[9]=i):i=c[9],c[10]!==f||c[11]!==p?(l=(0,j.jsx)(cI,{activeBoundariesCount:f,onGlobalReset:p}),c[10]=f,c[11]=p,c[12]=l):l=c[12],c[13]!==o||c[14]!==i||c[15]!==l?(s=(0,j.jsxs)("div",{"data-nextjs-devtools-panel-segments-explorer":!0,style:n,children:[o,i,l]}),c[13]=o,c[14]=i,c[15]=l,c[16]=s):s=c[16],s}let cR="global-error";function cO(e){let t,r,n,o,a,i,l,s,c,u,d,f,p=(0,S.c)(38),{segment:h,node:m,level:g}=e;p[0]!==m.children?(t=Object.keys(m.children),p[0]=m.children,p[1]=t):t=p[1];let v=t;p[2]!==v||p[3]!==m.children?(r=[],v.forEach(e=>{let t=m.children[e];if(!t||!t.value)return;let n=s7(t.value.type),o=n===cR;(o&&!t.value.pagePath.startsWith(s5)||!o&&s8(t.value.type))&&r.push(n)}),p[2]=v,p[3]=m.children,p[4]=r):r=p[4];let y=0===g&&!r.includes(cR);if(p[5]!==v||p[6]!==g||p[7]!==m.children||p[8]!==h){let e;p[16]!==m.children?(e=(e,t)=>{let r=e.includes("."),n=t.includes(".");if(r&&!n)return -1;if(!r&&n)return 1;if(r&&n){let r=m.children[e]?.value?.type,n=m.children[t]?.value?.type,o=cM,a=o(r),i=o(n);if(a!==i)return a-i;let l=m.children[e]?.value?.pagePath||"",s=m.children[t]?.value?.pagePath||"";return l.localeCompare(s)}return e.localeCompare(t)},p[16]=m.children,p[17]=e):e=p[17];let t=v.sort(e);for(let e of(l=0!==g||h?h:"app",i=[],o=[],t)){let t=m.children[e];if(t){if(cN(t)){o.push(e);continue}i.push(e)}}c=s6(o[0]||"").split(".").pop()||"js",a=null;for(let e=t.length-1;e>=0;e--){let r=m.children[t[e]];if(r&&r.value&&!s8(r.value.type)){a=r;break}}let r=null;for(let e of t){let t=m.children[e];if(t&&t.value&&s8(t.value.type)){r=t;break}}a=a||r,s=o.length>0,n={"not-found":null,loading:null,error:null,"global-error":null},o.forEach(e=>{let t=m.children[e];if(t&&t.value&&s8(t.value.type)){let e=s7(t.value.type);e in n&&(n[e]=t.value.pagePath||null)}}),p[5]=v,p[6]=g,p[7]=m.children,p[8]=h,p[9]=n,p[10]=o,p[11]=a,p[12]=i,p[13]=l,p[14]=s,p[15]=c}else n=p[9],o=p[10],a=p[11],i=p[12],l=p[13],s=p[14],c=p[15];return p[18]!==n||p[19]!==o||p[20]!==a||p[21]!==l||p[22]!==s||p[23]!==g||p[24]!==y||p[25]!==m||p[26]!==c||p[27]!==h?(u=s&&(0,j.jsx)("div",{className:"segment-explorer-item","data-nextjs-devtool-segment-explorer-segment":h+"-"+g,children:(0,j.jsx)("div",{className:"segment-explorer-item-row",style:{...{paddingLeft:`${(g+1)*8}px`}},children:(0,j.jsx)("div",{className:"segment-explorer-item-row-main",children:(0,j.jsxs)("div",{className:"segment-explorer-filename",children:[l&&(0,j.jsxs)("span",{className:"segment-explorer-filename--path",children:[l,(0,j.jsx)("small",{children:"/"})]}),y&&(0,j.jsx)(cT,{possibleExtension:c,missingGlobalError:y}),o.length>0&&(0,j.jsx)("span",{className:"segment-explorer-files",children:o.map(e=>{let t=m.children[e];if(!t||!t.value||s8(t.value.type))return null;let r=t.value.pagePath,n=r.split("/").pop()||"",o=r.startsWith(s5),a=s6(n),i=o?`The default Next.js ${t.value.type} is being shown. You can customize this page by adding your own ${a} file to the app/ directory.`:null,l=null!==t.value.boundaryType;return(0,j.jsx)(cE,{className:"segment-explorer-file-label-tooltip--"+(o?"lg":"sm"),direction:o?"right":"top",title:i,offset:12,children:(0,j.jsx)(cP,{type:t.value.type,isBuiltin:o,isOverridden:l,filePath:r,fileName:a})},e)})}),a&&a.value&&(0,j.jsx)(ce,{nodeState:a.value,boundaries:n})]})})})}),p[18]=n,p[19]=o,p[20]=a,p[21]=l,p[22]=s,p[23]=g,p[24]=y,p[25]=m,p[26]=c,p[27]=h,p[28]=u):u=p[28],p[29]!==i||p[30]!==s||p[31]!==g||p[32]!==m||p[33]!==h?(d=i.map(e=>{let t=m.children[e];if(!t)return null;let r=s?e:h+" / "+e;return(0,j.jsx)(cO,{segment:r,node:t,level:s?g+1:g},e)}),p[29]=i,p[30]=s,p[31]=g,p[32]=m,p[33]=h,p[34]=d):d=p[34],p[35]!==u||p[36]!==d?(f=(0,j.jsxs)(j.Fragment,{children:[u,d]}),p[35]=u,p[36]=d,p[37]=f):f=p[37],f}function cM(e){return e?"layout"===e?1:"template"===e?2:"page"===e?3:s8(e)?4:5:5}function cA(e){let t,r,n,o=(0,S.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z",fill:"var(--color-gray-400)"}),r=(0,j.jsx)("path",{d:"M7.75 7C8.30228 7.00001 8.75 7.44772 8.75 8V11.25H7.25V8.5H6.25V7H7.75ZM8 4C8.55228 4 9 4.44772 9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4Z",fill:"var(--color-gray-900)"}),o[0]=t,o[1]=r):(t=o[0],r=o[1]),o[2]!==e?(n=(0,j.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t,r]}),o[2]=e,o[3]=n):n=o[3],n}function cD(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--color-gray-600)",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("path",{d:"M4.5 11.25C4.5 11.3881 4.61193 11.5 4.75 11.5H14.4395L11.9395 9L13 7.93945L16.7803 11.7197L16.832 11.7764C17.0723 12.0709 17.0549 12.5057 16.7803 12.7803L13 16.5605L11.9395 15.5L14.4395 13H4.75C3.7835 13 3 12.2165 3 11.25V4.25H4.5V11.25Z"})}),t[0]=e):e=t[0],e}function cZ(e){let t,r,n=(0,S.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.22763 14.1819L10.2276 2.18193L10.4095 1.45432L8.95432 1.09052L8.77242 1.81812L5.77242 13.8181L5.59051 14.5457L7.04573 14.9095L7.22763 14.1819ZM3.75002 12.0607L3.21969 11.5304L0.39647 8.70713C0.00594559 8.31661 0.00594559 7.68344 0.39647 7.29292L3.21969 4.46969L3.75002 3.93936L4.81068 5.00002L4.28035 5.53035L1.81068 8.00003L4.28035 10.4697L4.81068 11L3.75002 12.0607ZM12.25 12.0607L12.7804 11.5304L15.6036 8.70713C15.9941 8.31661 15.9941 7.68344 15.6036 7.29292L12.7804 4.46969L12.25 3.93936L11.1894 5.00002L11.7197 5.53035L14.1894 8.00003L11.7197 10.4697L11.1894 11L12.25 12.0607Z",fill:"currentColor"}),n[0]=t):t=n[0],n[1]!==e?(r=(0,j.jsx)("svg",{width:"12",height:"12",strokeLinejoin:"round",viewBox:"0 0 16 16",fill:"currentColor",...e,children:t}),n[1]=e,n[2]=r):r=n[2],r}function cF(e){let t,r,n,o,a,i,l,s,c,u,d,f=(0,S.c)(18),{title:p,children:h,ref:m}=e,{setPanel:g}=nv(),v=(0,C.useRef)(null);return f[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{v.current?.focus()},r=[],f[0]=t,f[1]=r):(t=f[0],r=f[1]),(0,C.useLayoutEffect)(t,r),f[2]===Symbol.for("react.memo_cache_sentinel")?(n={width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 20px",userSelect:"none",WebkitUserSelect:"none",borderBottom:"1px solid var(--color-gray-alpha-400)"},f[2]=n):n=f[2],f[3]===Symbol.for("react.memo_cache_sentinel")?(o={margin:0,fontSize:"14px",color:"var(--color-text-primary)",fontWeight:"normal"},f[3]=o):o=f[3],f[4]!==p?(a=(0,j.jsx)("h3",{style:o,children:p}),f[4]=p,f[5]=a):a=f[5],f[6]!==g?(i=()=>{g("panel-selector")},f[6]=g,f[7]=i):i=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(l={background:"none",border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",color:"var(--color-gray-900)"},s=(0,j.jsx)(cU,{}),f[8]=l,f[9]=s):(l=f[8],s=f[9]),f[10]!==i?(c=(0,j.jsx)("button",{ref:v,id:"_next-devtools-panel-close",className:"dev-tools-info-close-button",onClick:i,"aria-label":"Close devtools panel",style:l,children:s}),f[10]=i,f[11]=c):c=f[11],f[12]===Symbol.for("react.memo_cache_sentinel")?(u=(0,j.jsx)("style",{children:e_` .dev-tools-info-close-button:focus-visible { outline: var(--focus-ring); } `}),f[12]=u):u=f[12],f[13]!==h||f[14]!==m||f[15]!==a||f[16]!==c?(d=(0,j.jsxs)("div",{style:n,ref:m,children:[a,h,c,u]}),f[13]=h,f[14]=m,f[15]=a,f[16]=c,f[17]=d):d=f[17],d}function cU(e){let t,r,n,o=(0,S.c)(4),{size:a}=e,i=void 0===a?22:a;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("path",{d:"M18 6 6 18"}),r=(0,j.jsx)("path",{d:"m6 6 12 12"}),o[0]=t,o[1]=r):(t=o[0],r=o[1]),o[2]!==i?(n=(0,j.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t,r]}),o[2]=i,o[3]=n):n=o[3],n}function c$(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:(0,j.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.7 3.736.045-.236h.51l.044.236a2.024 2.024 0 0 0 1.334 1.536c.19.066.375.143.554.23.618.301 1.398.29 2.03-.143l.199-.136.36.361-.135.199a2.024 2.024 0 0 0-.143 2.03c.087.179.164.364.23.554.224.65.783 1.192 1.536 1.334l.236.044v.51l-.236.044a2.024 2.024 0 0 0-1.536 1.334 4.95 4.95 0 0 1-.23.554 2.024 2.024 0 0 0 .143 2.03l.136.199-.361.36-.199-.135a2.024 2.024 0 0 0-2.03-.143c-.179.087-.364.164-.554.23a2.024 2.024 0 0 0-1.334 1.536l-.044.236h-.51l-.044-.236a2.024 2.024 0 0 0-1.334-1.536 4.952 4.952 0 0 1-.554-.23 2.024 2.024 0 0 0-2.03.143l-.199.136-.36-.361.135-.199a2.024 2.024 0 0 0 .143-2.03 4.958 4.958 0 0 1-.23-.554 2.024 2.024 0 0 0-1.536-1.334l-.236-.044v-.51l.236-.044a2.024 2.024 0 0 0 1.536-1.334 4.96 4.96 0 0 1 .23-.554 2.024 2.024 0 0 0-.143-2.03l-.136-.199.361-.36.199.135a2.024 2.024 0 0 0 2.03.143c.179-.087.364-.164.554-.23a2.024 2.024 0 0 0 1.334-1.536ZM8.5 2h3l.274 1.46c.034.185.17.333.348.394.248.086.49.186.722.3.17.082.37.074.526-.033l1.226-.839 2.122 2.122-.84 1.226a.524.524 0 0 0-.032.526c.114.233.214.474.3.722.061.177.21.314.394.348L18 8.5v3l-1.46.274a.524.524 0 0 0-.394.348 6.47 6.47 0 0 1-.3.722.524.524 0 0 0 .033.526l.839 1.226-2.122 2.122-1.226-.84a.524.524 0 0 0-.526-.032 6.477 6.477 0 0 1-.722.3.524.524 0 0 0-.348.394L11.5 18h-3l-.274-1.46a.524.524 0 0 0-.348-.394 6.477 6.477 0 0 1-.722-.3.524.524 0 0 0-.526.033l-1.226.839-2.122-2.122.84-1.226a.524.524 0 0 0 .032-.526 6.453 6.453 0 0 1-.3-.722.524.524 0 0 0-.394-.348L2 11.5v-3l1.46-.274a.524.524 0 0 0 .394-.348c.086-.248.186-.49.3-.722a.524.524 0 0 0-.033-.526l-.839-1.226 2.122-2.122 1.226.84a.524.524 0 0 0 .526.032 6.46 6.46 0 0 1 .722-.3.524.524 0 0 0 .348-.394L8.5 2Zm3 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm1.5 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",clipRule:"evenodd"})}),t[0]=e):e=t[0],e}function cH(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsx)("circle",{cx:"10",cy:"10",r:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32 12",opacity:"0.8",children:(0,j.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 10 10",to:"360 10 10",dur:"1s",repeatCount:"indefinite"})})}),t[0]=e):e=t[0],e}var cV=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/instant-navs/instant-navs-panel.css"),cB={};cB.styleTagTransform=b(),cB.setAttributes=m(),cB.insert=p(),cB.domAPI=d(),cB.insertStyleElement=v(),c()(cV.A,cB),cV.A&&cV.A.locals&&cV.A.locals;let cq="next-instant-navigation-testing";function cW(){let e,t,r,n,o,a,i,l,s,c,u=(0,S.c)(60),{state:d,dispatch:f}=us(),p=function(){let e,t=(0,S.c)(2),r=(0,C.useSyncExternalStore)(M,O);r:{let n;if(!r){e=null;break r}t[0]!==r?(n=z(r),t[0]=r,t[1]=n):n=t[1],e=n}return e}(),[h,m]=(0,C.useState)(!1);h&&null!==p&&("spa"===p.state||"mpa"===p.state)&&m(!1),u[0]!==f?(e=()=>()=>{"undefined"!=typeof cookieStore&&cookieStore.delete(cq),f({type:es})},t=[f],u[0]=f,u[1]=e,u[2]=t):(e=u[1],t=u[2]),(0,C.useEffect)(e,t),u[3]===Symbol.for("react.memo_cache_sentinel")?(r=function(){"undefined"!=typeof cookieStore&&cookieStore.set({name:cq,value:JSON.stringify([0,`p${Math.random()}`]),path:"/"}),window.location.reload()},u[3]=r):r=u[3];let g=r;u[4]===Symbol.for("react.memo_cache_sentinel")?(n=function(){"undefined"!=typeof cookieStore&&cookieStore.set({name:cq,value:JSON.stringify([0,`p${Math.random()}`]),path:"/"}),m(!0)},u[4]=n):n=u[4];let v=n;u[5]===Symbol.for("react.memo_cache_sentinel")?(o=function(){"undefined"!=typeof cookieStore&&cookieStore.delete(cq)},u[5]=o):o=u[5];let y=o;u[6]!==p||u[7]!==d.page?(a=function(){let e=new URL(d.page,window.location.origin);return e.searchParams.set("__instant_nav","1"),null!==p&&"spa"===p.state&&(e.searchParams.set("from",R(p.fromTree)),null!==p.toTree&&e.searchParams.set("to",R(p.toTree))),e.toString()},u[6]=p,u[7]=d.page,u[8]=a):a=u[8];let b=a;if(null!==p&&"spa"===p.state){let e,t,r,n,o,a,i,l,s,c,f,h,m,g,v,x=d.renderingIndicator;return u[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("div",{className:"instant-nav-section-header",children:(0,j.jsx)("label",{children:"Client navigation"})}),u[9]=e):e=u[9],u[10]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("span",{className:"instant-nav-url-label",children:"From:"}),u[10]=t):t=u[10],u[11]!==p.fromTree?(r=R(p.fromTree),u[11]=p.fromTree,u[12]=r):r=u[12],u[13]!==r?(n=(0,j.jsxs)("div",{className:"instant-nav-url-row",children:[t,(0,j.jsx)("span",{className:"instant-nav-url-value",children:r})]}),u[13]=r,u[14]=n):n=u[14],u[15]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsx)("span",{className:"instant-nav-url-label",children:"To:"}),u[15]=o):o=u[15],u[16]!==p.toTree||u[17]!==x?(a=null===p.toTree||x?(0,j.jsx)("span",{className:"instant-nav-skeleton"}):R(p.toTree),u[16]=p.toTree,u[17]=x,u[18]=a):a=u[18],u[19]!==a?(i=(0,j.jsxs)("div",{className:"instant-nav-url-row",children:[o,(0,j.jsx)("span",{className:"instant-nav-url-value",children:a})]}),u[19]=a,u[20]=i):i=u[20],u[21]!==i||u[22]!==n?(l=(0,j.jsxs)("div",{className:"instant-nav-urls",children:[n,i]}),u[21]=i,u[22]=n,u[23]=l):l=u[23],u[24]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("p",{className:"instant-nav-helper-description",children:"You're viewing the prefetched UI for the previous navigation to the current URL."}),u[24]=s):s=u[24],u[25]!==l?(c=(0,j.jsxs)("div",{className:"instant-nav-content",children:[e,l,s]}),u[25]=l,u[26]=c):c=u[26],u[27]===Symbol.for("react.memo_cache_sentinel")?(f={display:"none"},u[27]=f):f=u[27],u[28]!==b?(h=(0,j.jsx)("span",{style:f,children:(0,j.jsx)(cK,{getShareUrl:b})}),u[28]=b,u[29]=h):h=u[29],u[30]===Symbol.for("react.memo_cache_sentinel")?(m=(0,j.jsx)("button",{className:"instant-nav-footer-button",onClick:y,type:"button",children:"Continue rendering"}),u[30]=m):m=u[30],u[31]!==h?(g=(0,j.jsxs)("div",{className:"instant-nav-footer",children:[h,m]}),u[31]=h,u[32]=g):g=u[32],u[33]!==c||u[34]!==g?(v=(0,j.jsxs)("div",{className:"instant-nav-panel",children:[c,g]}),u[33]=c,u[34]=g,u[35]=v):v=u[35],v}if(null!==p&&"mpa"===p.state){let e,t,r,n,o,a,i,l,s,c,f;return u[36]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("div",{className:"instant-nav-section-header",children:(0,j.jsx)("label",{children:"Page load"})}),u[36]=e):e=u[36],u[37]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)("span",{className:"instant-nav-url-label",children:"Route:"}),u[37]=t):t=u[37],u[38]!==d.renderingIndicator||u[39]!==d.tree?(r=null===d.tree||d.renderingIndicator?(0,j.jsx)("span",{className:"instant-nav-skeleton"}):R(d.tree),u[38]=d.renderingIndicator,u[39]=d.tree,u[40]=r):r=u[40],u[41]!==r?(n=(0,j.jsx)("div",{className:"instant-nav-urls",children:(0,j.jsxs)("div",{className:"instant-nav-url-row",children:[t,(0,j.jsx)("span",{className:"instant-nav-url-value",children:r})]})}),u[41]=r,u[42]=n):n=u[42],u[43]===Symbol.for("react.memo_cache_sentinel")?(o=(0,j.jsx)("p",{className:"instant-nav-helper-description",children:"You're viewing the pre-rendered static UI for the current URL."}),u[43]=o):o=u[43],u[44]!==n?(a=(0,j.jsxs)("div",{className:"instant-nav-content",children:[e,n,o]}),u[44]=n,u[45]=a):a=u[45],u[46]===Symbol.for("react.memo_cache_sentinel")?(i={display:"none"},u[46]=i):i=u[46],u[47]!==b?(l=(0,j.jsx)("span",{style:i,children:(0,j.jsx)(cK,{getShareUrl:b})}),u[47]=b,u[48]=l):l=u[48],u[49]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsx)("button",{className:"instant-nav-footer-button",onClick:y,type:"button",children:"Continue rendering"}),u[49]=s):s=u[49],u[50]!==l?(c=(0,j.jsxs)("div",{className:"instant-nav-footer",children:[l,s]}),u[50]=l,u[51]=c):c=u[51],u[52]!==a||u[53]!==c?(f=(0,j.jsxs)("div",{className:"instant-nav-panel",children:[a,c]}),u[52]=a,u[53]=c,u[54]=f):f=u[54],f}if(h){let e;return u[55]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("div",{className:"instant-nav-panel",children:(0,j.jsxs)("div",{className:"instant-nav-content",children:[(0,j.jsx)("div",{className:"instant-nav-section-header",children:(0,j.jsx)("label",{children:"Client navigation"})}),(0,j.jsx)("p",{className:"instant-nav-helper-description",children:"Click any link in your app to view the prefetched UI for that page."})]})}),u[55]=e):e=u[55],e}return u[56]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsxs)("div",{className:"instant-nav-section-header",children:[(0,j.jsx)("label",{children:"Page load"}),(0,j.jsx)("p",{className:"instant-nav-section-description",children:"View the initial static UI for this page."})]}),u[56]=i):i=u[56],u[57]===Symbol.for("react.memo_cache_sentinel")?(l=(0,j.jsxs)("div",{className:"instant-nav-section",children:[i,(0,j.jsx)("div",{className:"instant-nav-section-control",children:(0,j.jsxs)("button",{className:"action-button",onClick:g,"data-instant-nav-refresh":!0,children:[(0,j.jsx)(cY,{}),(0,j.jsx)("span",{children:"Reload"})]})})]}),u[57]=l):l=u[57],u[58]===Symbol.for("react.memo_cache_sentinel")?(s=(0,j.jsxs)("div",{className:"instant-nav-section-header",children:[(0,j.jsx)("label",{children:"Client navigation"}),(0,j.jsx)("p",{className:"instant-nav-section-description",children:"Freeze the next navigation to view the prefetched UI."})]}),u[58]=s):s=u[58],u[59]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsxs)("div",{className:"instant-nav-panel",children:[l,(0,j.jsxs)("div",{className:"instant-nav-section",children:[s,(0,j.jsx)("div",{className:"instant-nav-section-control",children:(0,j.jsx)("button",{className:"action-button",onClick:v,"data-instant-nav-client":!0,children:(0,j.jsx)("span",{children:"Start"})})})]})]}),u[59]=c):c=u[59],c}function cK(e){let t,r,n=(0,S.c)(5),{getShareUrl:o}=e,[a,i]=(0,C.useState)(!1);n[0]!==o?(t=function(){navigator.clipboard.writeText(o()).then(()=>{i(!0),setTimeout(()=>i(!1),2e3)})},n[0]=o,n[1]=t):t=n[1];let l=t,s=a?"Copied!":"Share";return n[2]!==l||n[3]!==s?(r=(0,j.jsx)("button",{className:"instant-nav-footer-button",onClick:l,type:"button","data-instant-nav-share":!0,children:s}),n[2]=l,n[3]=s,n[4]=r):r=n[4],r}function cY(){let e,t=(0,S.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,j.jsx)("svg",{width:"14",height:"14",strokeLinejoin:"round",viewBox:"0 0 16 16",fill:"none",children:(0,j.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 8C2.5 4.96643 4.97431 2.5 8.03548 2.5C10.5716 2.5 12.7064 4.19393 13.3628 6.5H10.75H10V8H10.75H15.25C15.6642 8 16 7.66421 16 7.25V2.75V2H14.5V2.75V5.23347C13.4215 2.74164 10.9316 1 8.03548 1C4.1539 1 1 4.13001 1 8C1 11.87 4.1539 15 8.03548 15C10.3763 15 12.4513 13.8617 13.7295 12.1122L14.172 11.5066L12.9609 10.6217L12.5184 11.2273C11.5117 12.6051 9.87945 13.5 8.03548 13.5C4.97431 13.5 2.5 11.0336 2.5 8Z",fill:"currentColor"})}),t[0]=e):e=t[0],e}var cX=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_bx7gx6l2cs2trwgqreijicltyy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/menu/panel-router.css"),cG={};cG.styleTagTransform=b(),cG.setAttributes=m(),cG.insert=p(),cG.domAPI=d(),cG.insertStyleElement=v(),c()(cX.A,cG),cX.A&&cX.A.locals&&cX.A.locals;let cQ=()=>{let e,t,r,n,o,a,i,l,s,c,u,d=(0,S.c)(29),{setPanel:f,setSelectedIndex:p}=nv(),{state:h,dispatch:m}=us(),{totalErrorCount:g}=c9(),v="app"===h.routerType;return d[0]!==m||d[1]!==f||d[2]!==p||d[3]!==h.isErrorOverlayOpen||d[4]!==g?(e=g>0&&{title:`${g} ${1===g?"issue":"issues"} found. Click to view details in the dev overlay.`,label:"Issues",value:(0,j.jsx)(n$,{children:g}),onClick:()=>{if(h.isErrorOverlayOpen){m({type:G}),f(null);return}f(null),p(-1),g>0&&m({type:X})}},d[0]=m,d[1]=f,d[2]=p,d[3]=h.isErrorOverlayOpen,d[4]=g,d[5]=e):e=d[5],d[6]!==f||d[7]!==h.staticIndicator?(t="disabled"===h.staticIndicator?void 0:"pending"===h.staticIndicator?{title:"Loading...",label:"Route",value:(0,j.jsx)(cH,{})}:{title:`Current route is ${h.staticIndicator}.`,label:"Route",value:"static"===h.staticIndicator?"Static":"Dynamic",onClick:()=>f("route-type"),attributes:{"data-nextjs-route-type":h.staticIndicator}},d[6]=f,d[7]=h.staticIndicator,d[8]=t):t=d[8],d[9]===Symbol.for("react.memo_cache_sentinel")?(r=process.env.TURBOPACK?{title:"Turbopack is enabled.",label:"Bundler",value:"Turbopack"}:{title:"Learn about Turbopack and how to enable it in your application.",label:"Bundler",value:(0,j.jsx)("a",{href:"https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack",target:"_blank",rel:"noreferrer noopener",className:"turbopack-upgrade-link",children:process.env.__NEXT_BUNDLER||"Turbopack"})},n=!!process.env.__NEXT_CACHE_COMPONENTS&&{title:"Cache Components is enabled.",label:"Cache Components",value:"Enabled"},d[9]=r,d[10]=n):(r=d[9],n=d[10]),d[11]!==v||d[12]!==f?(o=v&&!!process.env.__NEXT_INSTANT_NAV_TOGGLE&&{title:"Test instant navigation behavior.",label:"Instant Navs",value:(0,j.jsx)(nH,{}),onClick:()=>{f("instant-navs")},attributes:{"data-instant-nav":!0}},d[11]=v,d[12]=f,d[13]=o):o=d[13],d[14]!==v||d[15]!==f?(a=v&&{label:"Route Info",value:(0,j.jsx)(nH,{}),onClick:()=>f("segment-explorer"),attributes:{"data-segment-explorer":!0}},d[14]=v,d[15]=f,d[16]=a):a=d[16],d[17]===Symbol.for("react.memo_cache_sentinel")?(i=(0,j.jsx)(c$,{}),d[17]=i):i=d[17],d[18]!==f?(l=()=>f("preferences"),d[18]=f,d[19]=l):l=d[19],d[20]===Symbol.for("react.memo_cache_sentinel")?(s={"data-preferences":!0},d[20]=s):s=d[20],d[21]!==l?(c={label:"Preferences",value:i,onClick:l,footer:!0,attributes:s},d[21]=l,d[22]=c):c=d[22],d[23]!==e||d[24]!==t||d[25]!==o||d[26]!==a||d[27]!==c?(u=(0,j.jsx)(nF,{items:[e,t,r,n,o,a,c]}),d[23]=e,d[24]=t,d[25]=o,d[26]=a,d[27]=c,d[28]=u):u=d[28],u},cJ=()=>{var e,t;let r,n,o,a,i,l,s,c,u,d,f,p,h,m=(0,S.c)(26),{state:g}=us(),{triggerRef:v}=nv(),y=(()=>{let e,t=(0,S.c)(4),{state:r,dispatch:n,shadowRoot:o}=us();return t[0]!==n||t[1]!==o||t[2]!==r.disableDevIndicator?(e=()=>{n({type:Y,disabled:!r.disableDevIndicator});let e=o.getElementById("panel-route"),t=o.getElementById("data-devtools-indicator");if(e&&e.firstElementChild){let t=e.firstElementChild,r="none"===t.style.display;t.style.display=r?"":"none"}if(t){let e="none"===t.style.display;t.style.display=e?"":"none"}},t[0]=n,t[1]=o,t[2]=r.disableDevIndicator,t[3]=e):e=t[3],e})(),b="app"===g.routerType;m[0]!==g.hideShortcut||m[1]!==y?(r=g.hideShortcut?{[g.hideShortcut]:y}:{},m[0]=g.hideShortcut,m[1]=y,m[2]=r):r=m[2],e=r,t=v,(h=(0,S.c)(4))[0]!==t||h[1]!==e?(f=()=>{let r=function(r){var n;let o;if((o=t4((n=t).current))&&("true"===o.contentEditable||"INPUT"===o.tagName||"TEXTAREA"===o.tagName||"SELECT"===o.tagName||"true"===o.dataset["shortcut-recorder"])&&!o.hasAttribute("readonly"))return;let a=[];r.metaKey&&a.push("Meta"),r.ctrlKey&&a.push("Control"),r.altKey&&a.push("Alt"),r.shiftKey&&a.push("Shift"),"Meta"!==r.key&&"Control"!==r.key&&"Alt"!==r.key&&"Shift"!==r.key&&a.push(r.code);let i=a.join("+");e[i]&&(r.preventDefault(),e[i]())};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},p=[t,e],h[0]=t,h[1]=e,h[2]=f,h[3]=p):(f=h[2],p=h[3]),(0,C.useEffect)(f,p),m[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)(c4,{name:"panel-selector",children:(0,j.jsx)(cQ,{})}),m[3]=n):n=m[3];let x=500/g.scale;return m[4]!==x?(o={kind:"fixed",height:x,width:512},m[4]=x,m[5]=o):o=m[5],m[6]===Symbol.for("react.memo_cache_sentinel")?(a=(0,j.jsx)(cF,{title:"Preferences"}),i=(0,j.jsx)(c1,{}),m[6]=a,m[7]=i):(a=m[6],i=m[7]),m[8]!==o?(l=(0,j.jsx)(c4,{name:"preferences",children:(0,j.jsx)(n6,{sharePanelSizeGlobally:!1,sizeConfig:o,closeOnClickOutside:!0,header:a,children:i})}),m[8]=o,m[9]=l):l=m[9],m[10]!==g.routerType||m[11]!==g.scale||m[12]!==g.staticIndicator?(s="disabled"!==g.staticIndicator&&"pending"!==g.staticIndicator&&(0,j.jsx)(c4,{name:"route-type",children:(0,j.jsx)(n6,{sharePanelSizeGlobally:!1,sizeConfig:{kind:"fixed",height:"static"===g.staticIndicator?300/g.scale:325/g.scale,width:400/g.scale},closeOnClickOutside:!0,header:(0,j.jsx)(cF,{title:`${"static"===g.staticIndicator?"Static":"Dynamic"} Route`}),children:(0,j.jsxs)("div",{className:"panel-content",children:[(0,j.jsx)(oe,{routerType:g.routerType,isStaticRoute:"static"===g.staticIndicator}),(0,j.jsx)(c0,{href:n7[g.routerType][g.staticIndicator]})]})},g.staticIndicator)}),m[10]=g.routerType,m[11]=g.scale,m[12]=g.staticIndicator,m[13]=s):s=m[13],m[14]!==b||m[15]!==g.page||m[16]!==g.scale?(c=b&&(0,j.jsx)(c4,{name:"segment-explorer",children:(0,j.jsx)(n6,{sharePanelSizeGlobally:!1,sharePanelPositionGlobally:!1,draggable:!0,sizeConfig:{kind:"resizable",maxHeight:"90vh",maxWidth:"90vw",minHeight:200/g.scale,minWidth:250/g.scale,initialSize:{height:375/g.scale,width:400/g.scale}},header:(0,j.jsx)(cF,{title:"Route Info"}),children:(0,j.jsx)(cz,{page:g.page})})}),m[14]=b,m[15]=g.page,m[16]=g.scale,m[17]=c):c=m[17],m[18]!==b||m[19]!==g.scale?(u=b&&!!process.env.__NEXT_INSTANT_NAV_TOGGLE&&(0,j.jsx)(c4,{name:"instant-navs",children:(0,j.jsx)(n6,{sharePanelSizeGlobally:!1,sizeConfig:{kind:"fixed",height:300/g.scale,width:480/g.scale},header:(0,j.jsx)(cF,{title:"Instant Navs"}),children:(0,j.jsx)(cW,{})})}),m[18]=b,m[19]=g.scale,m[20]=u):u=m[20],m[21]!==l||m[22]!==s||m[23]!==c||m[24]!==u?(d=(0,j.jsxs)(j.Fragment,{children:[n,l,s,c,u]}),m[21]=l,m[22]=s,m[23]=c,m[24]=u,m[25]=d):d=m[25],d},c0=e=>{let t,r=(0,S.c)(2),{href:n}=e;return r[0]!==n?(t=(0,j.jsx)("div",{className:"dev-tools-info-button-container",children:(0,j.jsx)("a",{className:"dev-tools-info-learn-more-button",href:n,target:"_blank",rel:"noreferrer noopener",children:"Learn More"})}),r[0]=n,r[1]=t):t=r[1],t},c1=()=>{let e,t,r,n,o=(0,S.c)(17),{dispatch:a,state:i}=us(),{setPanel:l,setSelectedIndex:s}=nv(),c=nM();return o[0]!==a?(e=e=>{a({type:ea,scale:e})},o[0]=a,o[1]=e):e=o[1],o[2]!==a||o[3]!==c?(t=e=>{a({type:en,devToolsPosition:e}),c(e)},o[2]=a,o[3]=c,o[4]=t):t=o[4],o[5]!==a||o[6]!==l||o[7]!==s?(r=()=>{a({type:Y,disabled:!0}),s(-1),l(null),fetch("/__nextjs_disable_dev_indicator",{method:"POST"})},o[5]=a,o[6]=l,o[7]=s,o[8]=r):r=o[8],o[9]!==i.devToolsPosition||o[10]!==i.hideShortcut||o[11]!==i.scale||o[12]!==i.theme||o[13]!==e||o[14]!==t||o[15]!==r?(n=(0,j.jsx)("div",{className:"user-preferences-wrapper",children:(0,j.jsx)(r7,{theme:i.theme,position:i.devToolsPosition,scale:i.scale,setScale:e,setPosition:t,hideShortcut:i.hideShortcut,setHideShortcut:c5,hide:r})}),o[9]=i.devToolsPosition,o[10]=i.hideShortcut,o[11]=i.scale,o[12]=i.theme,o[13]=e,o[14]=t,o[15]=r,o[16]=n):n=o[16],n},c2=()=>(0,C.useContext)(c3),c3=(0,C.createContext)(null);function c4(e){let t,r,n,o,a,i=(0,S.c)(12),{children:l,name:s}=e,{panel:c}=nv();i[0]===Symbol.for("react.memo_cache_sentinel")?(t={enterDelay:0,exitDelay:200},i[0]=t):t=i[0];let{mounted:u,rendered:d}=ni(s===c,t);if(!u)return null;i[1]!==u||i[2]!==s?(r={name:s,mounted:u},i[1]=u,i[2]=s,i[3]=r):r=i[3];let f=+!!d;i[4]!==f?(n={"--panel-opacity":f,"--panel-transition":`opacity 200ms ${t6}`},i[4]=f,i[5]=n):n=i[5];let p=n;return i[6]!==l||i[7]!==p?(o=(0,j.jsx)("div",{id:"panel-route",className:"panel-route",style:p,children:l}),i[6]=l,i[7]=p,i[8]=o):o=i[8],i[9]!==r||i[10]!==o?(a=(0,j.jsx)(c3,{value:r,children:o}),i[9]=r,i[10]=o,i[11]=a):a=i[11],a}function c5(e){r8({hideShortcut:e})}let c6=(0,C.createContext)(null),c9=()=>(0,C.useContext)(c6);function c8(){let e,t,r,n,o,a=(0,S.c)(13),[i,l]=(0,C.useState)(-1),{state:s,dispatch:c,getSquashedHydrationErrorDetails:u}=us();a[0]!==s.instantNavs?(e=()=>s.instantNavs?"instant-navs":null,a[0]=s.instantNavs,a[1]=e):e=a[1];let[d,f]=(0,C.useState)(e),p=(0,C.useRef)(null);return a[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,j.jsx)(nd,{}),r=(0,j.jsx)(na,{}),a[2]=t,a[3]=r):(t=a[2],r=a[3]),a[4]!==c||a[5]!==u||a[6]!==d||a[7]!==i||a[8]!==s?(n=e=>{let{runtimeErrors:t,totalErrorCount:r}=e;return(0,j.jsx)(j.Fragment,{children:s.showIndicator?(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(c6,{value:{runtimeErrors:t,totalErrorCount:r},children:(0,j.jsxs)(ng,{value:{panel:d,setPanel:f,triggerRef:p,selectedIndex:i,setSelectedIndex:l},children:[(0,j.jsx)(nl,{state:s,dispatch:c,getSquashedHydrationErrorDetails:u,runtimeErrors:t,errorCount:r}),(0,j.jsx)(cJ,{}),(0,j.jsx)(nO,{})]})})}):null})},a[4]=c,a[5]=u,a[6]=d,a[7]=i,a[8]=s,a[9]=n):n=a[9],a[10]!==s||a[11]!==n?(o=(0,j.jsxs)(eS,{children:[t,r,(0,j.jsx)(ns,{state:s,isAppDir:!0,children:n})]}),a[10]=s,a[11]=n,a[12]=o):o=a[12],o}let c7=null,ue=[],ut=null;function ur(){return ut?{...ut,errors:ut.errors.map(e=>({...e,error:e.error?{name:e.error.name,message:e.error.message,stack:e.error.stack}:null}))}:null}function un(){return ut?{segmentTrie:ou(),routerType:ut.routerType}:null}function uo(e){return(...t)=>{c7?e(c7,...t):ue.push(r=>{e(r,...t)})}}let ua={onBuildOk:uo(e=>{e({type:F})}),onBuildError:uo((e,t)=>{e({type:U,message:t})}),onBeforeRefresh:uo(e=>{e({type:$})}),onRefresh:uo(e=>{e({type:H})}),onVersionInfo:uo((e,t)=>{e({type:V,versionInfo:t})}),onCacheIndicator:uo((e,t)=>{e({type:D,cacheIndicator:t})}),onStaticIndicator:uo((e,t)=>{e({type:Z,staticIndicator:t})}),onDebugInfo:uo((e,t)=>{e({type:W,debugInfo:t})}),onDevIndicator:uo((e,t)=>{e({type:K,devIndicator:t})}),onDevToolsConfig:uo((e,t)=>{e({type:ei,devToolsConfig:t})}),onUnhandledError:uo((e,t)=>{e({type:B,reason:t})}),onUnhandledRejection:uo((e,t)=>{e({type:q,reason:t})}),openErrorOverlay:uo(e=>{e({type:X})}),closeErrorOverlay:uo(e=>{e({type:G})}),toggleErrorOverlay:uo(e=>{e({type:Q})}),buildingIndicatorHide:uo(e=>{e({type:ee})}),buildingIndicatorShow:uo(e=>{e({type:J})}),renderingIndicatorHide:uo(e=>{e({type:er})}),renderingIndicatorShow:uo(e=>{e({type:et})}),segmentExplorerNodeAdd:uo((e,t)=>{os(t)}),segmentExplorerNodeRemove:uo((e,t)=>{oc(t)}),segmentExplorerUpdateRouteState:uo((e,t,r)=>{e({type:ep,page:t,tree:r})}),instantNavsToggle:uo(e=>{e({type:el})})};function ui(e){let t,r,n,o,a,i,l,s,c,u,d=(0,S.c)(22),{enableCacheIndicator:f,getOwnerStack:p,getSquashedHydrationErrorDetails:h,isRecoverableError:m,routerType:g,shadowRoot:v}=e,[y,b]=function(e,t,r,n){let o,a,i,l=(0,S.c)(8);l[0]!==t||l[1]!==r?(o=function(e,n,o){let a,i=t(o),l=L((o.stack||"")+(i||"")),s={id:n,error:o,frames:l,type:r(o)?"recoverable":(a=o)&&"NEXT_CONSOLE_ERROR"===a[I]?"console":"runtime"},c=e.filter(e=>""+e.error!=""+s.error||e.error.stack!==s.error.stack&&em(e.error.stack)!==em(s.error.stack)||t(e.error)!==t(s.error));return c.length===e.length?(c.push(s),c):e},l[0]=t,l[1]=r,l[2]=o):o=l[2];let s=o;if(l[3]!==s?(a=(e,t)=>{switch(t.type){case W:return{...e,debugInfo:t.debugInfo};case D:return{...e,cacheIndicator:t.cacheIndicator};case Z:return{...e,staticIndicator:t.staticIndicator};case F:return{...e,buildError:null};case U:return{...e,buildError:t.message};case $:return{...e,refreshState:{type:"pending",errors:[]}};case H:return{...e,buildError:null,errors:"pending"===e.refreshState.type?e.refreshState.errors:[],refreshState:{type:"idle"}};case B:case q:switch(e.refreshState.type){case"idle":return{...e,nextId:e.nextId+1,errors:s(e.errors,e.nextId,t.reason)};case"pending":return{...e,nextId:e.nextId+1,refreshState:{...e.refreshState,errors:s(e.errors,e.nextId,t.reason)}};default:return e}case V:return{...e,versionInfo:t.versionInfo};case Y:return{...e,disableDevIndicator:t.disabled};case K:return{...e,showIndicator:!0,disableDevIndicator:eg||!!t.devIndicator.disabledUntil};case X:return{...e,isErrorOverlayOpen:!0};case G:return{...e,isErrorOverlayOpen:!1};case Q:return{...e,isErrorOverlayOpen:!e.isErrorOverlayOpen};case J:return{...e,buildingIndicator:!0};case ee:return{...e,buildingIndicator:!1};case et:return{...e,renderingIndicator:!0};case er:return{...e,renderingIndicator:!1};case en:return{...e,devToolsPosition:t.devToolsPosition};case eo:return{...e,devToolsPanelPosition:{...e.devToolsPanelPosition,[t.key]:t.devToolsPanelPosition}};case ea:return{...e,scale:t.scale};case ep:return{...e,page:t.page,tree:t.tree};case ei:{let{theme:r,disableDevIndicator:n,devToolsPosition:o,devToolsPanelPosition:a,devToolsPanelSize:i,scale:l,hideShortcut:s}=t.devToolsConfig;return{...e,theme:r??e.theme,disableDevIndicator:n??e.disableDevIndicator,devToolsPosition:o??e.devToolsPosition,devToolsPanelPosition:a??e.devToolsPanelPosition,scale:l??e.scale,devToolsPanelSize:i??e.devToolsPanelSize,hideShortcut:void 0!==s?s:e.hideShortcut}}case el:return{...e,instantNavs:!e.instantNavs};case es:return{...e,instantNavs:!1};default:return e}},l[3]=s,l[4]=a):a=l[4],l[5]!==n||l[6]!==e){var c,u;c=e,u=n,i={...eb,isErrorOverlayOpen:"pages"===c,routerType:c,cacheIndicator:u?"ready":"disabled"},l[5]=n,l[6]=e,l[7]=i}else i=l[7];return(0,C.useReducer)(a,i)}(g,p,m,f);return d[0]!==g||d[1]!==y?(t=()=>{ut={...y,routerType:g}},r=[y,g],d[0]=g,d[1]=y,d[2]=t,d[3]=r):(t=d[2],r=d[3]),(0,C.useEffect)(t,r),d[4]!==v.host||d[5]!==y.theme?(n=()=>{let e=v.host;"dark"===y.theme?(e.classList.add("dark"),e.classList.remove("light")):"light"===y.theme?(e.classList.add("light"),e.classList.remove("dark")):(e.classList.remove("dark"),e.classList.remove("light"))},d[4]=v.host,d[5]=y.theme,d[6]=n):n=d[6],d[7]!==v||d[8]!==y.theme?(o=[v,y.theme],d[7]=v,d[8]=y.theme,d[9]=o):o=d[9],(0,C.useLayoutEffect)(n,o),d[10]!==b?(a=()=>{c7=b;let e=setTimeout(()=>{var e=b;try{for(let t of ue)t(e)}finally{ue.length=0}});return()=>{c7=null,clearTimeout(e)}},d[10]=b,d[11]=a):a=d[11],d[12]===Symbol.for("react.memo_cache_sentinel")?(i=[],d[12]=i):i=d[12],(0,C.useInsertionEffect)(a,i),d[13]===Symbol.for("react.memo_cache_sentinel")?(l=(0,j.jsx)(ew,{}),d[13]=l):l=d[13],d[14]!==b||d[15]!==h||d[16]!==v||d[17]!==y?(s={dispatch:b,getSquashedHydrationErrorDetails:h,shadowRoot:v,state:y},d[14]=b,d[15]=h,d[16]=v,d[17]=y,d[18]=s):s=d[18],d[19]===Symbol.for("react.memo_cache_sentinel")?(c=(0,j.jsx)(c8,{}),d[19]=c):c=d[19],d[20]!==s?(u=(0,j.jsxs)(j.Fragment,{children:[l,(0,j.jsx)(ul,{value:s,children:c})]}),d[20]=s,d[21]=u):u=d[21],u}let ul=(0,C.createContext)(null),us=()=>(0,C.useContext)(ul),uc=!1,uu=!1;function ud(){return null}function uf(e,t,r){if(uc)throw Error("Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js");if(!uu){let n=document.createElement("script");n.style.display="block",n.style.position="absolute",n.setAttribute("data-nextjs-dev-overlay","true");let o=document.createElement("nextjs-portal");n.appendChild(o),document.body.appendChild(n);let a=(0,ex.createRoot)(o,{identifierPrefix:"ndt-",onDefaultTransitionIndicator:()=>()=>{}}),i=o.attachShadow({mode:"open"});(0,C.startTransition)(()=>{a.render((0,j.jsx)(ui,{enableCacheIndicator:r,getOwnerStack:e,getSquashedHydrationErrorDetails:ud,isRecoverableError:t,routerType:"app",shadowRoot:i}))}),uu=!0}}function up(e,t,r){if(uu)throw Error("Next DevTools: App Dev Overlay is already mounted. This is a bug in Next.js");if(!uc){let n=document.createElement("nextjs-portal");n.style.position="absolute",new MutationObserver(e=>{for(let t of e)if("childList"===t.type)for(let e of t.removedNodes)e===n&&document.body.appendChild(n)}).observe(document.body,{childList:!0}),document.body.appendChild(n);let o=(0,ex.createRoot)(n,{identifierPrefix:"ndt-"}),a=n.attachShadow({mode:"open"});(0,C.startTransition)(()=>{o.render((0,j.jsx)(ui,{enableCacheIndicator:!1,getOwnerStack:e,getSquashedHydrationErrorDetails:t,isRecoverableError:r,routerType:"pages",shadowRoot:a}))}),uc=!0}}})(),exports.DevOverlayContext=__webpack_exports__.DevOverlayContext,exports.dispatcher=__webpack_exports__.dispatcher,exports.getSegmentTrieData=__webpack_exports__.getSegmentTrieData,exports.getSerializedOverlayState=__webpack_exports__.getSerializedOverlayState,exports.renderAppDevOverlay=__webpack_exports__.renderAppDevOverlay,exports.renderPagesDevOverlay=__webpack_exports__.renderPagesDevOverlay,exports.useDevOverlayContext=__webpack_exports__.useDevOverlayContext,__webpack_exports__)-1===["DevOverlayContext","dispatcher","getSegmentTrieData","getSerializedOverlayState","renderAppDevOverlay","renderPagesDevOverlay","useDevOverlayContext"].indexOf(__rspack_i)&&(exports[__rspack_i]=__webpack_exports__[__rspack_i]);Object.defineProperty(exports,"__esModule",{value:!0}); //# sourceMappingURL=index.js.map