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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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/overview/segment-boundary-trigger.css"(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>f});var r=n("../../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=n.n(r),a=n("../../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=n.n(a),l=n("../../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=n("../../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=n("../../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=n("../../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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.n(a)()(o());i.push([e.id,`:host {
  /* 
   * CAUTION: THIS IS A WORKAROUND!
   * For now, we use @babel/code-frame to parse the code frame which does not support option to change the color.
   * x-ref: https://github.com/babel/babel/blob/efa52324ff835b794c48080f14877b6caf32cd15/packages/babel-code-frame/src/defs.ts#L40-L54
   * So, we do a workaround mapping to change the color matching the theme.
   *
   * For example, in @babel/code-frame, the "keyword" is mapped to ANSI "cyan".
   * We want the "keyword" to use the "syntax-keyword" color in the theme.
   * So, we map the "cyan" to the "syntax-keyword" in the theme.
   */
  /* cyan: keyword */
  --color-ansi-cyan: var(--color-syntax-keyword);
  /* yellow: capitalized, jsxIdentifier, punctuation */
  --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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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,n){"use strict";n.d(t,{A:()=>l});var r=n("../../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=n.n(r),a=n("../../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=n.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 n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(i[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]&&(u[1]="@media ".concat(u[2]," {").concat(u[1],"}")),u[2]=n),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 n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],i=0;i<e.length;i++){var l=e[i],s=r.base?l[0]+r.base:l[0],c=o[s]||0,u="".concat(s," ").concat(c);o[s]=c+1;var d=n(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var p=function(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}(f,r);r.byIndex=i,t.splice(i,0,{identifier:u,updater:p,references:1})}a.push(u)}return a}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=n(a[i]);t[l].references--}for(var s=r(e,o),c=0;c<a.length;c++){var u=n(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},"../../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"(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../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"(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},"../../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"(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){var r,o,a;r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {")),(o=void 0!==n.layer)&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}"),(a=n.sourceMap)&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(r,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 n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]];e.exports=function(){function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0}return t(e,null,[{key:"escapeForHtml",value:function(t){return(new e).escapeForHtml(t)}},{key:"linkify",value:function(t){return(new e).linkify(t)}},{key:"ansiToHtml",value:function(t,n){return(new e).ansiToHtml(t,n)}},{key:"ansiToJson",value:function(t,n){return(new e).ansiToJson(t,n)}},{key:"ansiToText",value:function(t){return(new e).ansiToText(t)}}]),t(e,[{key:"setupPalette",value:function(){this.PALETTE_COLORS=[];for(var e=0;e<2;++e)for(var t=0;t<8;++t)this.PALETTE_COLORS.push(n[e][t].color);for(var r=[0,95,135,175,215,255],o=function(e,t,n){return r[e]+", "+r[t]+", "+r[n]},a=0;a<6;++a)for(var i=0;i<6;++i)for(var l=0;l<6;++l)this.PALETTE_COLORS.push(o(a,i,l));for(var s=8,c=0;c<24;++c,s+=10)this.PALETTE_COLORS.push(o(s,s,s))}},{key:"escapeForHtml",value:function(e){return e.replace(/[&<>]/gm,function(e){return"&"==e?"&amp;":"<"==e?"&lt;":">"==e?"&gt;":""})}},{key:"linkify",value:function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,function(e){return'<a href="'+e+'">'+e+"</a>"})}},{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,n){var r=this,o=e.split(/\033\[/),a=o.shift();null==t&&(t={}),t.clearLine=/\r/.test(e);var i=o.map(function(e){return r.processChunk(e,t,n)});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,r){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]||!r)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=n[0][c%10][a];else if(c>=90&&c<98)this.fg=n[1][c%10][a];else if(c>=40&&c<48)this.bg=n[0][c%10][a];else if(c>=100&&c<108)this.bg=n[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:n[+(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 y=h+", "+m+", "+g;o?u?(this.fg="ansi-truecolor",this.fg_truecolor=y):(this.bg="ansi-truecolor",this.bg_truecolor=y):u?this.fg=y:this.bg=y}}}}}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,n){var r=this;t=t||{};var o=this.processChunkJson(e,t,n);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=[],n=void 0;for(n in e)e.hasOwnProperty(n)&&t.push("data-"+n+'="'+r.escapeForHtml(e[n])+'"');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)?'<span class="'+l.join(" ")+'"'+c(s)+">"+o.content+"</span>":'<span style="'+i.join(";")+'"'+c(s)+">"+o.content+"</span>"}}]),e}()}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e](a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//",e.exports=r(211)})()},"./dist/compiled/react-dom/cjs/react-dom-client.production.js"(e,t,n){"use strict";var r,o=n("./dist/compiled/scheduler/index.js"),a=n("./dist/compiled/react/index.js"),i=n("./dist/compiled/react-dom/index.js");function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function u(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(s(e)!==e)throw Error(l(188))}function f(e,t,n,r,o,a){for(;null!==e;){if(5===e.tag&&n(e,r,o,a)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag)&&f(e.child,t,n,r,o,a))return!0;e=e.sibling}return!1}function p(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}function h(e){switch(e.tag){case 5:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(l(559))}}var m=null,g=null;function y(e){return m=e,!0}function v(e,t,n){return e===n||e===t&&(m=e,!0)}function b(e,t,n){return e===n?(g=e,!1):e===t&&(null!==g&&(m=e),!0)}function x(e){if(null===e)return null;do e=null===e?null:e.return;while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag);return e||null}function w(e,t,n){for(var r=0,o=e;o;o=n(o))r++;o=0;for(var a=t;a;a=n(a))o++;for(;0<r-o;)e=n(e),r--;for(;0<o-r;)t=n(t),o--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var _=Object.assign,j=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),T=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope");var R=Symbol.for("react.activity"),D=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var M=Symbol.for("react.memo_cache_sentinel"),Z=Symbol.for("react.view_transition"),U=Symbol.iterator;function F(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=U&&e[U]||e["@@iterator"])?e:null}var H=Symbol.for("react.client.reference"),V=Array.isArray,B=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q={pending:!1,data:null,method:null,action:null},W=[],K=-1;function Y(e){return{current:e}}function X(e){0>K||(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 en(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)?uu(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=ud(t=uu(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(Q),G(Q,e)}function er(){X(Q),X(J),X(ee)}function eo(e){var t=e.memoizedState;null!==t&&(db._currentValue=t.memoizedState,G(et,e));var n=ud(t=Q.current,e.type);t!==n&&(G(J,e),G(Q,n))}function ea(e){J.current===e&&(X(Q),X(J)),et.current===e&&(X(et),db._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<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tX+e+tG}var el=!1;function es(e,t){if(!e||el)return"";el=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split("\n"),c=l.split("\n");for(o=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===s.length||o===c.length)for(r=s.length-1,o=c.length-1;1<=r&&0<=o&&s[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(s[r]!==c[o]){if(1!==r||1!==o)do if(r--,o--,0>o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=r&&0<=o);break}}}finally{el=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ei(n):""}function ec(e){try{var t="",n=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,n),n=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,ey=o.unstable_ImmediatePriority,ev=o.unstable_UserBlockingPriority,eb=o.unstable_NormalPriority,ex=o.unstable_LowPriority,ew=o.unstable_IdlePriority,e_=o.log,ej=o.unstable_setDisableYieldValue,ek=null,eS=null;function eO(e){if("function"==typeof e_&&ej(e),eS&&"function"==typeof eS.setStrictMode)try{eS.setStrictMode(ek,e)}catch(e){}}var eC=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eP(e)/eE|0)|0},eP=Math.log,eE=Math.LN2,eT=256,eN=262144,eI=4194304;function eL(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 eA(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~a)?o=eL(r):0!=(i&=l)?o=eL(i):n||0!=(n=l&~e)&&(o=eL(n)):0!=(l=r&~a)?o=eL(l):0!==i?o=eL(i):n||0!=(n=r&~e)&&(o=eL(n)),0===o?0:0!==t&&t!==o&&0==(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&0!=(4194048&n))?t:o}function ez(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eR(){var e=eI;return 0==(0x3c00000&(eI<<=1))&&(eI=4194304),e}function eD(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function eM(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eZ(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eC(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function eU(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eC(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function eF(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eH(n))&(e.suspendedLanes|t))?0:n}function eH(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eV(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eB(){var e=$.p;return 0!==e?e:void 0===(e=window.event)?32:dL(e.type)}function e$(e,t){var n=$.p;try{return $.p=e,t()}finally{$.p=n}}var eq=Math.random().toString(36).slice(2),eW="__reactFiber$"+eq,eK="__reactProps$"+eq,eY="__reactContainer$"+eq,eX="__reactEvents$"+eq,eG="__reactListeners$"+eq,eQ="__reactHandles$"+eq,eJ="__reactResources$"+eq,e0="__reactMarker$"+eq;function e1(e){delete e[eW],delete e[eK],delete e[eX],delete e[eG],delete e[eQ]}function e2(e){var t;if(t=e[eW])return t;for(var n=e.parentNode;n;){if(t=n[eY]||n[eW]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uY(e);null!==e;){if(n=e[eW])return n;e=uY(e)}return t}n=(e=n).parentNode}return null}function e3(e){if(e=e[eW]||e[eY]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function e4(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function e5(e){var t=e[eJ];return t||(t=e[eJ]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function e6(e){e[e0]=!0}var e9=new Set,e8={};function e7(e,t){te(e,t),te(e+"Capture",t)}function te(e,t){for(e8[e]=t,e=0;e<t.length;e++)e9.add(t[e])}var tt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tn={},tr={},to=!1;function ta(){var e=to;return to=!1,e}function ti(e,t,n){if(eu.call(tr,t)||!eu.call(tn,t)&&(tt.test(t)?tr[t]=!0:(tn[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function tl(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function ts(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function tc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function tu(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function td(e){if(!e._valueTracker){var t=tu(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function tf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tu(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function tp(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var th=/[\n"\\]/g;function tm(e){return e.replace(th,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tg(e,t,n,r,o,a,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+tc(t)):e.value!==""+tc(t)&&(e.value=""+tc(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?tv(e,i,tc(t)):null!=n?tv(e,i,tc(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+tc(l):e.removeAttribute("name")}function ty(e,t,n,r,o,a,i,l){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return void td(e);n=null!=n?""+tc(n):"",t=null!=t?""+tc(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),td(e)}function tv(e,t,n){"number"===t&&tp(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function tb(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(o=0,n=""+tc(n),t=null;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function tx(e,t,n){if(null!=t&&((t=""+tc(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+tc(n):""}function tw(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(V(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=tc(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),td(e)}function t_(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tj=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tk(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tj.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tS(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",to=!0);for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&(tk(e,o,r),to=!0)}else for(var a in t)t.hasOwnProperty(a)&&tk(e,a,t[a])}function tO(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tC=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tP=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tE(e){return tP.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tT(){}var tN=null;function tI(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tL=null,tA=null;function tz(e){var t=e3(e);if(t&&(e=t.stateNode)){var n=e[eK]||null;switch(e=t.stateNode,t.type){case"input":if(tg(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tm(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[eK]||null;if(!o)throw Error(l(90));tg(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&tf(r)}break;case"textarea":tx(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&tb(e,!!n.multiple,t,!1)}}}var tR=!1;function tD(e,t,n){if(tR)return e(t,n);tR=!0;try{return e(t)}finally{if(tR=!1,(null!==tL||null!==tA)&&(cn(),tL&&(t=tL,e=tA,tA=tL=null,tz(t),e)))for(t=0;t<e.length;t++)tz(e[t])}}function tM(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eK]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tZ="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tU=!1;if(tZ)try{var tF={};Object.defineProperty(tF,"passive",{get:function(){tU=!0}}),window.addEventListener("test",tF,tF),window.removeEventListener("test",tF,tF)}catch(e){tU=!1}var tH=null,tV=null,tB=null;function t$(){if(tB)return tB;var e,t,n=tV,r=n.length,o="value"in tH?tH.value:tH.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return tB=o.slice(e,1<t?1-t:void 0)}function tq(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tW(){return!0}function tK(){return!1}function tY(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?tW:tK,this.isPropagationStopped=tK,this}return _(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tW)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tW)},persist:function(){},isPersistent:tW}),t}var tX,tG,tQ,tJ,t0,t1={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t2=tY(t1),t3=_({},t1,{view:0,detail:0}),t4=tY(t3),t5=_({},t3,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ni,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==t0&&(t0&&"mousemove"===e.type?(tQ=e.screenX-t0.screenX,tJ=e.screenY-t0.screenY):tJ=tQ=0,t0=e),tQ)},movementY:function(e){return"movementY"in e?e.movementY:tJ}}),t6=tY(t5),t9=tY(_({},t5,{dataTransfer:0})),t8=tY(_({},t3,{relatedTarget:0})),t7=tY(_({},t1,{animationName:0,elapsedTime:0,pseudoElement:0})),ne=tY(_({},t1,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),nt=tY(_({},t1,{data:0})),nn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},no={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function na(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=no[e])&&!!t[e]}function ni(){return na}var nl=tY(_({},t3,{key:function(e){if(e.key){var t=nn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tq(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ni,charCode:function(e){return"keypress"===e.type?tq(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tq(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ns=tY(_({},t5,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nc=tY(_({},t3,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ni})),nu=tY(_({},t1,{propertyName:0,elapsedTime:0,pseudoElement:0})),nd=tY(_({},t5,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nf=tY(_({},t1,{newState:0,oldState:0})),np=[9,13,27,32],nh=tZ&&"CompositionEvent"in window,nm=null;tZ&&"documentMode"in document&&(nm=document.documentMode);var ng=tZ&&"TextEvent"in window&&!nm,ny=tZ&&(!nh||nm&&8<nm&&11>=nm),nv=!1;function nb(e,t){switch(e){case"keyup":return -1!==np.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nx(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nw=!1,n_={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 nj(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!n_[e.type]:"textarea"===t}function nk(e,t,n,r){tL?tA?tA.push(r):tA=[r]:tL=r,0<(t=c6(t,"onChange")).length&&(n=new t2("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nS=null,nO=null;function nC(e){cQ(e,0)}function nP(e){if(tf(e4(e)))return e}function nE(e,t){if("change"===e)return t}var nT=!1;if(tZ){if(tZ){var nN="oninput"in document;if(!nN){var nI=document.createElement("div");nI.setAttribute("oninput","return;"),nN="function"==typeof nI.oninput}r=nN}else r=!1;nT=r&&(!document.documentMode||9<document.documentMode)}function nL(){nS&&(nS.detachEvent("onpropertychange",nA),nO=nS=null)}function nA(e){if("value"===e.propertyName&&nP(nO)){var t=[];nk(t,nO,e,tI(e)),tD(nC,t)}}function nz(e,t,n){"focusin"===e?(nL(),nS=t,nO=n,nS.attachEvent("onpropertychange",nA)):"focusout"===e&&nL()}function nR(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nP(nO)}function nD(e,t){if("click"===e)return nP(t)}function nM(e,t){if("input"===e||"change"===e)return nP(t)}var nZ="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nU(e,t){if(nZ(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!eu.call(t,o)||!nZ(e[o],t[o]))return!1}return!0}function nF(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nH(e,t){var n,r=nF(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nF(r)}}function nV(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 n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=tp(e.document)}return t}function nB(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 n$=tZ&&"documentMode"in document&&11>=document.documentMode,nq=null,nW=null,nK=null,nY=!1;function nX(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nY||null==nq||nq!==tp(r)||(r="selectionStart"in(r=nq)&&nB(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nK&&nU(nK,r)||(nK=r,0<(r=c6(nW,"onSelect")).length&&(t=new t2("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nq)))}function nG(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nQ={animationend:nG("Animation","AnimationEnd"),animationiteration:nG("Animation","AnimationIteration"),animationstart:nG("Animation","AnimationStart"),transitionrun:nG("Transition","TransitionRun"),transitionstart:nG("Transition","TransitionStart"),transitioncancel:nG("Transition","TransitionCancel"),transitionend:nG("Transition","TransitionEnd")},nJ={},n0={};function n1(e){if(nJ[e])return nJ[e];if(!nQ[e])return e;var t,n=nQ[e];for(t in n)if(n.hasOwnProperty(t)&&t in n0)return nJ[e]=n[t];return e}tZ&&(n0=document.createElement("div").style,"AnimationEvent"in window||(delete nQ.animationend.animation,delete nQ.animationiteration.animation,delete nQ.animationstart.animation),"TransitionEvent"in window||delete nQ.transitionend.transition);var n2=n1("animationend"),n3=n1("animationiteration"),n4=n1("animationstart"),n5=n1("transitionrun"),n6=n1("transitionstart"),n9=n1("transitioncancel"),n8=n1("transitionend"),n7=new Map,re="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rt(e,t){n7.set(e,t),e7(t,[e])}re.push("scrollEnd");var rn=0;function rr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=sK.identifierPrefix)+"t_"+(rn++).toString(32)+"_"}function ro(e){if(null==e||"string"==typeof e)return e;var t=null,n=s2;if(null!==n)for(var r=0;r<n.length;r++){var o=e[n[r]];if(null!=o){if("none"===o)return"none";t=null==t?o:t+" "+o}}return null==t?e.default:t}function ra(e,t){return e=ro(e),null==(t=ro(t))?"auto"===e?null:e:"auto"===t?null:t}var ri="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},rl=[],rs=0,rc=0;function ru(){for(var e=rs,t=rc=rs=0;t<e;){var n=rl[t];rl[t++]=null;var r=rl[t];rl[t++]=null;var o=rl[t];rl[t++]=null;var a=rl[t];if(rl[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&rh(n,o,a)}}function rd(e,t,n,r){rl[rs++]=e,rl[rs++]=t,rl[rs++]=n,rl[rs++]=r,rc|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function rf(e,t,n,r){return rd(e,t,n,r),rm(e)}function rp(e,t){return rd(e,null,null,t),rm(e)}function rh(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-eC(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=0x20000000|n),a):null}function rm(e){if(50<s3)throw s3=0,s4=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var rg={};function ry(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rv(e,t,n,r){return new ry(e,t,n,r)}function rb(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rx(e,t){var n=e.alternate;return null===n?((n=rv(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x7e00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function rw(e,t){e.flags&=0x7e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function r_(e,t,n,r,o,a){var i=0;if(r=e,"function"==typeof e)rb(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,Q.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case R:return(e=rv(31,n,t,o)).elementType=R,e.lanes=a,e;case O:return rj(n.children,o,a,t);case C:i=8,o|=24;break;case P:return(e=rv(12,n,t,2|o)).elementType=P,e.lanes=a,e;case I:return(e=rv(13,n,t,o)).elementType=I,e.lanes=a,e;case L:return(e=rv(19,n,t,o)).elementType=L,e.lanes=a,e;case D:case Z:return(e=rv(30,n,t,e=32|o)).elementType=Z,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:i=10;break e;case E:i=9;break e;case N:i=11;break e;case A:i=14;break e;case z:i=16,r=null;break e}i=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=rv(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function rj(e,t,n,r){return(e=rv(7,e,r,t)).lanes=n,e}function rk(e,t,n){return(e=rv(6,e,null,t)).lanes=n,e}function rS(e){var t=rv(18,null,null,0);return t.stateNode=e,t}function rO(e,t,n){return(t=rv(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rC=new WeakMap;function rP(e,t){if("object"==typeof e&&null!==e){var n=rC.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ec(t)},rC.set(e,t),t)}return{value:e,source:t,stack:ec(t)}}var rE=[],rT=0,rN=null,rI=0,rL=[],rA=0,rz=null,rR=1,rD="";function rM(e,t){rE[rT++]=rI,rE[rT++]=rN,rN=e,rI=t}function rZ(e,t,n){rL[rA++]=rR,rL[rA++]=rD,rL[rA++]=rz,rz=e;var r=rR;e=rD;var o=32-eC(r)-1;r&=~(1<<o),n+=1;var a=32-eC(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,rR=1<<32-eC(t)+o|n<<o|r,rD=a+e}else rR=1<<a|n<<o|r,rD=e}function rU(e){null!==e.return&&(rM(e,1),rZ(e,1,0))}function rF(e){for(;e===rN;)rN=rE[--rT],rE[rT]=null,rI=rE[--rT],rE[rT]=null;for(;e===rz;)rz=rL[--rA],rL[rA]=null,rD=rL[--rA],rL[rA]=null,rR=rL[--rA],rL[rA]=null}function rH(e,t){rL[rA++]=rR,rL[rA++]=rD,rL[rA++]=rz,rR=t.id,rD=t.overflow,rz=e}var rV=null,rB=null,r$=!1,rq=null,rW=!1,rK=Error(l(519));function rY(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw r1(rP(t,e)),rK}function rX(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eW]=e,t[eK]=r,n){case"dialog":cJ("cancel",t),cJ("close",t);break;case"iframe":case"object":case"embed":cJ("load",t);break;case"video":case"audio":for(n=0;n<cX.length;n++)cJ(cX[n],t);break;case"source":cJ("error",t);break;case"img":case"image":case"link":cJ("error",t),cJ("load",t);break;case"details":cJ("toggle",t);break;case"input":cJ("invalid",t),ty(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":cJ("invalid",t);break;case"textarea":cJ("invalid",t),tw(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||un(t.textContent,n)?(null!=r.popover&&(cJ("beforetoggle",t),cJ("toggle",t)),null!=r.onScroll&&cJ("scroll",t),null!=r.onScrollEnd&&cJ("scrollend",t),null!=r.onClick&&(t.onclick=tT),t=!0):t=!1,t||rY(e,!0)}function rG(e){for(rV=e.return;rV;)switch(rV.tag){case 5:case 31:case 13:rW=!1;return;case 27:case 3:rW=!0;return;default:rV=rV.return}}function rQ(e){if(e!==rV)return!1;if(!r$)return rG(e),r$=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||uf(e.type,e.memoizedProps)),t=!t),t&&rB&&rY(e),rG(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rB=uK(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rB=uK(e)}else 27===n?(n=rB,ub(e.type)?(e=uW,uW=null,rB=e):rB=n):rB=rV?uq(e.stateNode.nextSibling):null;return!0}function rJ(){rB=rV=null,r$=!1}function r0(){var e=rq;return null!==e&&(null===sU?sU=e:sU.push.apply(sU,e),rq=null),e}function r1(e){null===rq?rq=[e]:rq.push(e)}var r2=Y(null),r3=null,r4=null;function r5(e,t,n){G(r2,t._currentValue),t._currentValue=n}function r6(e){e._currentValue=r2.current,X(r2)}function r9(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function r8(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var i=o.child;a=a.firstContext;e:for(;null!==a;){var s=a;a=o;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),r9(a.return,n,e),r||(i=null);break e}a=s.next}}else if(18===o.tag){if(null===(i=o.return))throw Error(l(341));i.lanes|=n,null!==(a=i.alternate)&&(a.lanes|=n),r9(i,n,e),i=null}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function r7(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a){if(0!=(524288&o.flags))a=!0;else if(0!=(262144&o.flags))break}if(10===o.tag){var i=o.alternate;if(null===i)throw Error(l(387));if(null!==(i=i.memoizedProps)){var s=o.type;nZ(o.pendingProps.value,i.value)||(null!==e?e.push(s):e=[s])}}else if(o===et.current){if(null===(i=o.alternate))throw Error(l(387));i.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(db):e=[db])}o=o.return}null!==e&&r8(t,e,n,r),t.flags|=262144}function oe(e){for(e=e.firstContext;null!==e;){if(!nZ(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ot(e){r3=e,r4=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function on(e){return oo(r3,e)}function or(e,t){return null===r3&&ot(e),oo(e,t)}function oo(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===r4){if(null===e)throw Error(l(308));r4=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else r4=r4.next=t;return n}var oa="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},oi=o.unstable_scheduleCallback,ol=o.unstable_NormalPriority,os={$$typeof:T,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oc(){return{controller:new oa,data:new Map,refCount:0}}function ou(e){e.refCount--,0===e.refCount&&oi(ol,function(){e.controller.abort()})}function od(e,t){if(0!=(4194048&e.pendingLanes)){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var of=null,op=null,oh=0,om=0,og=null;function oy(){if(0==--oh&&(of=null,null!==op)){null!==og&&(og.status="fulfilled");var e=op;op=null,om=0,og=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var ov=B.S;B.S=function(e,t){if(sV=em(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===op){var n=op=[];oh=0,om=c$(),og={status:"pending",value:void 0,then:function(e){n.push(e)}}}oh++,t.then(oy,oy)}(0,t),null!==of)for(var n=cI;null!==n;)od(n,of),n=n.next;if(null!==(n=e.types)){for(var r=cI;null!==r;)od(r,n),r=r.next;if(0!==om){null===(r=of)&&(r=of=[]);for(var o=0;o<n.length;o++){var a=n[o];-1===r.indexOf(a)&&r.push(a)}}}null!==ov&&ov(e,t)};var ob=Y(null);function ox(){var e=ob.current;return null!==e?e:sk.pooledCache}function ow(e,t){null===t?G(ob,ob.current):G(ob,t.pool)}function o_(){var e=ox();return null===e?null:{parent:os._currentValue,pool:e}}var oj=Error(l(460)),ok=Error(l(474)),oS=Error(l(542)),oO={then:function(){}};function oC(e){return"fulfilled"===(e=e.status)||"rejected"===e}function oP(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(tT,tT),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw oI(e=t.reason),e;default:if("string"==typeof t.status)t.then(tT,tT);else{if(null!==(e=sk)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw oI(e=t.reason),e}throw oT=t,oj}}function oE(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw oT=e,oj;throw e}}var oT=null;function oN(){if(null===oT)throw Error(l(459));var e=oT;return oT=null,e}function oI(e){if(e===oj||e===oS)throw Error(l(483))}var oL=null,oA=0;function oz(e){var t=oA;return oA+=1,null===oL&&(oL=[]),oP(oL,e,t)}function oR(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function oD(e,t){if(t.$$typeof===j)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function oM(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function o(e,t){return(e=rx(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x8000002,n):r:(t.flags|=0x8000002,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=0x8000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rk(n,e.mode,r)).return=e:(t=o(t,n)).return=e,t}function c(e,t,n,r){var a=n.type;return a===O?(oR(e=d(e,t,n.props.children,r,n.key),n),e):(null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===z&&oE(a)===t.type)?oR(t=o(t,n.props),n):oR(t=r_(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rO(n,e.mode,r)).return=e:(t=o(t,n.children||[])).return=e,t}function d(e,t,n,r,a){return null===t||7!==t.tag?(t=rj(n,e.mode,r,a)).return=e:(t=o(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rk(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return oR(n=r_(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case S:return(t=rO(t,e.mode,n)).return=e,t;case z:return f(e,t=oE(t),n)}if(V(t)||F(t))return(t=rj(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,oz(t),n);if(t.$$typeof===T)return f(e,or(e,t),n);oD(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?c(e,t,n,r):null;case S:return n.key===o?u(e,t,n,r):null;case z:return p(e,t,n=oE(n),r)}if(V(n)||F(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,oz(n),r);if(n.$$typeof===T)return p(e,t,or(e,n),r);oD(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case z:return h(e,t,n,r=oE(r),o)}if(V(r)||F(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return h(e,t,n,oz(r),o);if(r.$$typeof===T)return h(e,t,n,or(t,r),o);oD(t,r)}return null}return function(s,c,u,d){try{oA=0;var m=function s(c,u,d,m){if("object"==typeof d&&null!==d&&d.type===O&&null===d.key&&void 0===d.props.ref&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case k:e:{for(var g=d.key;null!==u;){if(u.key===g){if((g=d.type)===O){if(7===u.tag){n(c,u.sibling),oR(m=o(u,d.props.children),d),m.return=c,c=m;break e}}else if(u.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===z&&oE(g)===u.type){n(c,u.sibling),oR(m=o(u,d.props),d),m.return=c,c=m;break e}n(c,u);break}t(c,u),u=u.sibling}d.type===O?oR(m=rj(d.props.children,c.mode,m,d.key),d):oR(m=r_(d.type,d.key,d.props,null,c.mode,m),d),m.return=c,c=m}return i(c);case S:e:{for(g=d.key;null!==u;){if(u.key===g)if(4===u.tag&&u.stateNode.containerInfo===d.containerInfo&&u.stateNode.implementation===d.implementation){n(c,u.sibling),(m=o(u,d.children||[])).return=c,c=m;break e}else{n(c,u);break}t(c,u),u=u.sibling}(m=rO(d,c.mode,m)).return=c,c=m}return i(c);case z:return s(c,u,d=oE(d),m)}if(V(d))return function(o,i,l,s){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(o,d,l[m],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,m),null===u?c=y:u.sibling=y,u=y,d=g}if(m===l.length)return n(o,d),r$&&rM(o,m),c;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return r$&&rM(o,m),c}for(d=r(d);m<l.length;m++)null!==(g=h(d,o,m,l[m],s))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(o,e)}),r$&&rM(o,m),c}(c,u,d,m);if(F(d)){if("function"!=typeof(g=F(d)))throw Error(l(150));return function(o,i,s,c){if(null==s)throw Error(l(151));for(var u=null,d=null,m=i,g=i=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(o,m,v.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),i=a(b,i,g),null===d?u=b:d.sibling=b,d=b,m=y}if(v.done)return n(o,m),r$&&rM(o,g),u;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=f(o,v.value,c))&&(i=a(v,i,g),null===d?u=v:d.sibling=v,d=v);return r$&&rM(o,g),u}for(m=r(m);!v.done;g++,v=s.next())null!==(v=h(m,o,g,v.value,c))&&(e&&null!==(y=v.alternate)&&m.delete(null===y.key?g:y.key),i=a(v,i,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(o,e)}),r$&&rM(o,g),u}(c,u,d=g.call(d),m)}if("function"==typeof d.then)return s(c,u,oz(d),m);if(d.$$typeof===T)return s(c,u,or(c,d),m);oD(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==u&&6===u.tag?(n(c,u.sibling),(m=o(u,d)).return=c):(n(c,u),(m=rk(d,c.mode,m)).return=c),i(c=m)):n(c,u)}(s,c,u,d);return oL=null,m}catch(e){if(e===oj||e===oS)throw e;var g=rv(29,e,null,s.mode);return g.lanes=d,g.return=s,g}finally{}}}var oZ=oM(!0),oU=oM(!1),oF=!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 o$(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&sj)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=rm(e),rh(e,null,n),t}return rd(e,r,t,n),rm(e)}function oq(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eU(e,n)}}function oW(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var oK=!1;function oY(){if(oK){var e=og;if(null!==e)throw e}}function oX(e,t,n,r){oK=!1;var o=e.updateQueue;oF=!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?(sO&f)===f:(r&f)===f){0!==f&&f===om&&(oK=!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(n,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(n,d,f):h))break e;d=_({},d,f);break e;case 2:oF=!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),sA|=i,e.lanes=i,e.memoizedState=d}}function oG(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function oQ(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)oG(n[e],t)}var oJ=Y(null),o0=Y(0);function o1(e,t){G(o0,e=sI),G(oJ,t),sI=e|t.baseLanes}function o2(){G(o0,sI),G(oJ,oJ.current)}function o3(){sI=o0.current,X(oJ),X(o0)}var o4=Y(null),o5=null;function o6(e){var t=e.alternate;G(at,1&at.current),G(o4,e),null===o5&&(null===t||null!==oJ.current?o5=e:null!==t.memoizedState&&(o5=e))}function o9(e){G(at,at.current),G(o4,e),null===o5&&(o5=e)}function o8(e){22===e.tag?(G(at,at.current),G(o4,e),null===o5&&(o5=e)):o7()}function o7(){G(at,at.current),G(o4,o4.current)}function ae(e){X(o4),o5===e&&(o5=null),X(at)}var at=Y(0);function an(e,t){G(o4,o4.current),G(at,t)}function ar(e){X(at),X(o4),o5===e&&(o5=null)}function ao(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||uB(n)||u$(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aa=0,ai=null,al=null,as=null,ac=!1,au=!1,ad=!1,af=0,ap=0,ah=null,am=0;function ag(){throw Error(l(321))}function ay(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nZ(e[n],t[n]))return!1;return!0}function av(e,t,n,r,o,a){return aa=a,ai=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=null===e||null===e.memoizedState?iO:iC,ad=!1,a=n(r,o),ad=!1,au&&(a=ax(t,n,r,o)),ab(e),a}function ab(e){B.H=iS;var t=null!==al&&null!==al.next;if(aa=0,as=al=ai=null,ac=!1,ap=0,ah=null,t)throw Error(l(300));null===e||iV||null!==(e=e.dependencies)&&oe(e)&&(iV=!0)}function ax(e,t,n,r){ai=e;var o=0;do{if(au&&(ah=null),ap=0,au=!1,25<=o)throw Error(l(301));if(o+=1,as=al=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}B.H=iP,a=t(n,r)}while(au);return a}function aw(){var e=B.H,t=e.useState()[0];return t="function"==typeof t.then?aP(t):t,e=e.useState()[0],(null!==al?al.memoizedState:null)!==e&&(ai.flags|=1024),t}function a_(){var e=0!==af;return af=0,e}function aj(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ak(e){if(ac){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ac=!1}aa=0,as=al=ai=null,au=!1,ap=af=0,ah=null}function aS(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===as?ai.memoizedState=as=e:as=as.next=e,as}function aO(){if(null===al){var e=ai.alternate;e=null!==e?e.memoizedState:null}else e=al.next;var t=null===as?ai.memoizedState:as.next;if(null!==t)as=t,al=e;else{if(null===e){if(null===ai.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(al=e).memoizedState,baseState:al.baseState,baseQueue:al.baseQueue,queue:al.queue,next:null},null===as?ai.memoizedState=as=e:as=as.next=e}return as}function aC(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function aP(e){var t=ap;return ap+=1,null===ah&&(ah=[]),e=oP(ah,e,t),t=ai,null===(null===as?t.memoizedState:as.next)&&(B.H=null===(t=t.alternate)||null===t.memoizedState?iO:iC),e}function aE(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return aP(e);if(e.$$typeof===T)return on(e)}throw Error(l(438,String(e)))}function aT(e){var t=null,n=ai.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=ai.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=aC(),ai.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=M;return t.index++,n}function aN(e,t){return"function"==typeof t?t(e):t}function aI(e){return aL(aO(),al,e)}function aL(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{t=o.next;var s=i=null,c=null,u=t,d=!1;do{var f=-0x20000001&u.lane;if(f!==u.lane?(sO&f)===f:(aa&f)===f){var p=u.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===om&&(d=!0);else if((aa&p)===p){u=u.next,p===om&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=f,i=a):c=c.next=f,ai.lanes|=p,sA|=p;f=u.action,ad&&n(a,f),a=u.hasEagerState?u.eagerState:n(a,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(s=c=p,i=a):c=c.next=p,ai.lanes|=f,sA|=f;u=u.next}while(null!==u&&u!==t);if(null===c?i=a:c.next=s,!nZ(a,e.memoizedState)&&(iV=!0,d&&null!==(n=og)))throw n;e.memoizedState=a,e.baseState=i,e.baseQueue=c,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function aA(e){var t=aO(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do a=e(a,i.action),i=i.next;while(i!==o);nZ(a,t.memoizedState)||(iV=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function az(e,t,n){var r=ai,o=aO(),a=r$;if(a){if(void 0===n)throw Error(l(407));n=n()}else n=t();var i=!nZ((al||o).memoizedState,n);if(i&&(o.memoizedState=n,iV=!0),o=o.queue,a6(aM.bind(null,r,o,e),[e]),o.getSnapshot!==t||i||null!==as&&1&as.memoizedState.tag){if(r.flags|=2048,a1(9,{destroy:void 0},aD.bind(null,r,o,n,t),null),null===sk)throw Error(l(349));a||0!=(127&aa)||aR(r,t,n)}return n}function aR(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ai.updateQueue)?(t=aC(),ai.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function aD(e,t,n,r){t.value=n,t.getSnapshot=r,aZ(t)&&aU(e)}function aM(e,t,n){return n(function(){aZ(t)&&aU(e)})}function aZ(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nZ(e,n)}catch(e){return!0}}function aU(e){var t=rp(e,2);null!==t&&s8(t,e,2)}function aF(e){var t=aS();if("function"==typeof e){var n=e;if(e=n(),ad){eO(!0);try{n()}finally{eO(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:aN,lastRenderedState:e},t}function aH(e,t,n,r){return e.baseState=n,aL(e,al,"function"==typeof r?r:aN)}function aV(e,t,n,r,o){if(i_(e))throw Error(l(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==B.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,aB(t,a)):(a.next=n.next,t.pending=n.next=a)}}function aB(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=B.T,i={};i.types=null!==a?a.types:null,B.T=i;try{var l=n(o,r),s=B.S;null!==s&&s(i,l),a$(e,t,l)}catch(n){aW(e,t,n)}finally{null!==a&&null!==i.types&&(a.types=i.types),B.T=a}}else try{a=n(o,r),a$(e,t,a)}catch(n){aW(e,t,n)}}function a$(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){aq(e,t,n)},function(n){return aW(e,t,n)}):aq(e,t,n)}function aq(e,t,n){t.status="fulfilled",t.value=n,aK(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,aB(e,n)))}function aW(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,aK(t),t=t.next;while(t!==r)}e.action=null}function aK(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function aY(e,t){return t}function aX(e,t){if(r$){var n=sk.formState;if(null!==n){e:{var r=ai;if(r$){if(rB){t:{for(var o=rB,a=rW;8!==o.nodeType;)if(!a||null===(o=uq(o.nextSibling))){o=null;break t}o="F!"===(a=o.data)||"F"===a?o:null}if(o){rB=uq(o.nextSibling),r="F!"===o.data;break e}}rY(r)}r=!1}r&&(t=n[0])}}return(n=aS()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:aY,lastRenderedState:t},n.queue=r,n=ib.bind(null,ai,r),r.dispatch=n,r=aF(!1),a=iw.bind(null,ai,!1,r.queue),r=aS(),o={state:t,dispatch:null,action:e,pending:null},r.queue=o,n=aV.bind(null,ai,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function aG(e){return aQ(aO(),al,e)}function aQ(e,t,n){if(t=aL(e,t,aY)[0],e=aI(aN)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=aP(t)}catch(e){if(e===oj)throw oS;throw e}else r=t;var o=(t=aO()).queue,a=o.dispatch;return n!==t.memoizedState&&(ai.flags|=2048,a1(9,{destroy:void 0},aJ.bind(null,o,n),null)),[r,a,e]}function aJ(e,t){e.action=t}function a0(e){var t=aO(),n=al;if(null!==n)return aQ(t,n,e);aO(),t=t.memoizedState;var r=(n=aO()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function a1(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=ai.updateQueue)&&(t=aC(),ai.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function a2(){return aO().memoizedState}function a3(e,t,n,r){var o=aS();ai.flags|=e,o.memoizedState=a1(1|t,{destroy:void 0},n,void 0===r?null:r)}function a4(e,t,n,r){var o=aO();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==al&&null!==r&&ay(r,al.memoizedState.deps)?o.memoizedState=a1(t,a,n,r):(ai.flags|=e,o.memoizedState=a1(1|t,a,n,r))}function a5(e,t){a3(8390656,8,e,t)}function a6(e,t){a4(2048,8,e,t)}function a9(e){var t=aO().memoizedState,n={ref:t,nextImpl:e};ai.flags|=4;var r=ai.updateQueue;if(null===r)r=aC(),ai.updateQueue=r,r.events=[n];else{var o=r.events;null===o?r.events=[n]:o.push(n)}return function(){if(0!=(2&sj))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function a8(e,t){return a4(4,2,e,t)}function a7(e,t){return a4(4,4,e,t)}function ie(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function it(e,t,n){n=null!=n?n.concat([e]):null,a4(4,4,ie.bind(null,t,e),n)}function ir(){}function io(e,t){var n=aO();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&ay(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ia(e,t){var n=aO();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&ay(t,r[1]))return r[0];if(r=e(),ad){eO(!0);try{e()}finally{eO(!1)}}return n.memoizedState=[r,t],r}function ii(e,t,n){return void 0===n||0!=(0x40000000&aa)&&0==(261930&sO)?e.memoizedState=t:(e.memoizedState=n,e=s6(),ai.lanes|=e,sA|=e,n)}function il(e,t,n,r){return nZ(n,t)?n:null!==oJ.current?(nZ(e=ii(e,n,r),t)||(iV=!0),e):0==(42&aa)||0!=(0x40000000&aa)&&0==(261930&sO)?(iV=!0,e.memoizedState=n):(e=s6(),ai.lanes|=e,sA|=e,t)}function is(e,t,n,r,o){var a=$.p;$.p=0!==a&&8>a?a:8;var i=B.T,l={};l.types=null!==i?i.types:null,B.T=l,iw(e,!1,t,n);try{var s=o(),c=B.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=r;for(var e=0;e<u.length;e++)(0,u[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<u.length;e++)(0,u[e])(void 0)}),d);ix(e,t,f,s5(e))}else ix(e,t,r,s5(e))}catch(n){ix(e,t,{then:function(){},status:"rejected",reason:n},s5())}finally{$.p=a,null!==i&&null!==l.types&&(i.types=l.types),B.T=i}}function ic(){}function iu(e,t,n,r){if(5!==e.tag)throw Error(l(476));var o=id(e).queue;is(e,o,t,q,null===n?ic:function(){return ip(e),n(r)})}function id(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aN,lastRenderedState:q},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aN,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ip(e){var t=id(e);null===t.next&&(t=e.alternate.memoizedState),ix(e,t.next.queue,{},s5())}function ih(){return on(db)}function im(){return aO().memoizedState}function ig(){return aO().memoizedState}function iy(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=s5(),r=o$(t,e=oB(n),n);null!==r&&(s8(r,t,n),oq(r,t,n)),t={cache:oc()},e.payload=t;return}t=t.return}}function iv(e,t,n){var r=s5();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},i_(e)?ij(t,n):null!==(n=rf(e,t,n,r))&&(s8(n,e,r),ik(n,t,r))}function ib(e,t,n){ix(e,t,n,s5())}function ix(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(i_(e))ij(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,nZ(l,i))return rd(e,t,o,0),null===sk&&ru(),!1}catch(e){}finally{}if(null!==(n=rf(e,t,o,r)))return s8(n,e,r),ik(n,t,r),!0}return!1}function iw(e,t,n,r){if(r={lane:2,revertLane:c$(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},i_(e)){if(t)throw Error(l(479))}else null!==(t=rf(e,n,r,2))&&s8(t,e,2)}function i_(e){var t=e.alternate;return e===ai||null!==t&&t===ai}function ij(e,t){au=ac=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ik(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,eU(e,n)}}var iS={readContext:on,use:aE,useCallback:ag,useContext:ag,useEffect:ag,useImperativeHandle:ag,useLayoutEffect:ag,useInsertionEffect:ag,useMemo:ag,useReducer:ag,useRef:ag,useState:ag,useDebugValue:ag,useDeferredValue:ag,useTransition:ag,useSyncExternalStore:ag,useId:ag,useHostTransitionStatus:ag,useFormState:ag,useActionState:ag,useOptimistic:ag,useMemoCache:ag,useCacheRefresh:ag};iS.useEffectEvent=ag;var iO={readContext:on,use:aE,useCallback:function(e,t){return aS().memoizedState=[e,void 0===t?null:t],e},useContext:on,useEffect:a5,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,a3(4194308,4,ie.bind(null,t,e),n)},useLayoutEffect:function(e,t){return a3(4194308,4,e,t)},useInsertionEffect:function(e,t){a3(4,2,e,t)},useMemo:function(e,t){var n=aS();t=void 0===t?null:t;var r=e();if(ad){eO(!0);try{e()}finally{eO(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=aS();if(void 0!==n){var o=n(t);if(ad){eO(!0);try{n(t)}finally{eO(!1)}}}else o=t;return r.memoizedState=r.baseState=o,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},e=e.dispatch=iv.bind(null,ai,e),[r.memoizedState,e]},useRef:function(e){return aS().memoizedState={current:e}},useState:function(e){var t=(e=aF(e)).queue,n=ib.bind(null,ai,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ir,useDeferredValue:function(e,t){return ii(aS(),e,t)},useTransition:function(){var e=aF(!1);return e=is.bind(null,ai,e.queue,!0,!1),aS().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ai,o=aS();if(r$){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===sk)throw Error(l(349));0!=(127&sO)||aR(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,a5(aM.bind(null,r,a,e),[e]),r.flags|=2048,a1(9,{destroy:void 0},aD.bind(null,r,a,n,t),null),n},useId:function(){var e=aS(),t=sk.identifierPrefix;if(r$){var n=rD,r=rR;t="_"+t+"R_"+(n=(r&~(1<<32-eC(r)-1)).toString(32)+n),0<(n=af++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=am++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ih,useFormState:aX,useActionState:aX,useOptimistic:function(e){var t=aS();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=iw.bind(null,ai,!0,n),n.dispatch=t,[e,t]},useMemoCache:aT,useCacheRefresh:function(){return aS().memoizedState=iy.bind(null,ai)},useEffectEvent:function(e){var t=aS(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&sj))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},iC={readContext:on,use:aE,useCallback:io,useContext:on,useEffect:a6,useImperativeHandle:it,useInsertionEffect:a8,useLayoutEffect:a7,useMemo:ia,useReducer:aI,useRef:a2,useState:function(){return aI(aN)},useDebugValue:ir,useDeferredValue:function(e,t){return il(aO(),al.memoizedState,e,t)},useTransition:function(){var e=aI(aN)[0],t=aO().memoizedState;return["boolean"==typeof e?e:aP(e),t]},useSyncExternalStore:az,useId:im,useHostTransitionStatus:ih,useFormState:aG,useActionState:aG,useOptimistic:function(e,t){return aH(aO(),al,e,t)},useMemoCache:aT,useCacheRefresh:ig};iC.useEffectEvent=a9;var iP={readContext:on,use:aE,useCallback:io,useContext:on,useEffect:a6,useImperativeHandle:it,useInsertionEffect:a8,useLayoutEffect:a7,useMemo:ia,useReducer:aA,useRef:a2,useState:function(){return aA(aN)},useDebugValue:ir,useDeferredValue:function(e,t){var n=aO();return null===al?ii(n,e,t):il(n,al.memoizedState,e,t)},useTransition:function(){var e=aA(aN)[0],t=aO().memoizedState;return["boolean"==typeof e?e:aP(e),t]},useSyncExternalStore:az,useId:im,useHostTransitionStatus:ih,useFormState:a0,useActionState:a0,useOptimistic:function(e,t){var n=aO();return null!==al?aH(n,al,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:aT,useCacheRefresh:ig};function iE(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:_({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}iP.useEffectEvent=a9;var iT={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=s5(),o=oB(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=o$(e,o,r))&&(s8(t,e,r),oq(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=s5(),o=oB(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=o$(e,o,r))&&(s8(t,e,r),oq(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=s5(),r=oB(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=o$(e,r,n))&&(s8(t,e,n),oq(t,e,n))}};function iN(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||!nU(n,r)||!nU(o,a)}function iI(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iT.enqueueReplaceState(t,t.state,null)}function iL(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=_({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function iA(e){ri(e)}function iz(e){console.error(e)}function iR(e){ri(e)}function iD(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function iM(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iZ(e,t,n){return(n=oB(n)).tag=3,n.payload={element:null},n.callback=function(){iD(e,t)},n}function iU(e){return(e=oB(e)).tag=3,e}function iF(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){iM(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){iM(t,n,r),"function"!=typeof o&&(null===sq?sq=new Set([this]):sq.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var iH=Error(l(461)),iV=!1;function iB(e,t,n,r){t.child=null===e?oU(t,null,n,r):oZ(t,e.child,n,r)}function i$(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return(ot(t),r=av(e,t,n,i,a,o),l=a_(),null===e||iV)?(r$&&l&&rU(t),t.flags|=1,iB(e,t,r,o),t.child):(aj(e,t,o),li(e,t,o))}function iq(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||rb(a)||void 0!==a.defaultProps||null!==n.compare?((e=r_(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,iW(e,t,a,r,o))}if(a=e.child,!ll(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:nU)(i,r)&&e.ref===t.ref)return li(e,t,o)}return t.flags|=1,(e=rx(a,r)).ref=t.ref,e.return=t,t.child=e}function iW(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(nU(a,r)&&e.ref===t.ref)if(iV=!1,t.pendingProps=r=a,!ll(e,o))return t.lanes=e.lanes,li(e,t,o);else 0!=(131072&e.flags)&&(iV=!0)}return i0(e,t,n,r,o)}function iK(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(a=null!==a?a.baseLanes|n:n,null!==e){for(o=0,r=t.child=e.child;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return iX(e,t,a,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,iX(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&ow(t,null!==a?a.cachePool:null),null!==a?o1(t,a):o2(),o8(t)}else null!==a?(ow(t,a.cachePool),o1(t,a),o7(),t.memoizedState=null):(null!==e&&ow(t,null),o2(),o7());return iB(e,t,o,n),t.child}function iY(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iX(e,t,n,r,o){var a=ox();return t.memoizedState={baseLanes:n,cachePool:a=null===a?null:{parent:os._currentValue,pool:a}},null!==e&&ow(t,null),o2(),o8(t),null!==e&&r7(e,t,r,!0),t.childLanes=o,null}function iG(e,t){return(t=i7({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function iQ(e,t,n){return oZ(t,e.child,null,n),e=iG(t,t.pendingProps),e.flags|=2,ae(t),t.memoizedState=null,e}function iJ(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function i0(e,t,n,r,o){return(ot(t),n=av(e,t,n,r,void 0,o),r=a_(),null===e||iV)?(r$&&r&&rU(t),t.flags|=1,iB(e,t,n,o),t.child):(aj(e,t,o),li(e,t,o))}function i1(e,t,n,r,o,a){return(ot(t),t.updateQueue=null,n=ax(t,r,n,o),ab(e),r=a_(),null===e||iV)?(r$&&r&&rU(t),t.flags|=1,iB(e,t,n,a),t.child):(aj(e,t,a),li(e,t,a))}function i2(e,t,n,r,o){if(ot(t),null===t.stateNode){var a=rg,i=n.contextType;"object"==typeof i&&null!==i&&(a=on(i)),t.memoizedState=null!==(a=new n(r,a)).state&&void 0!==a.state?a.state:null,a.updater=iT,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},oH(t),i=n.contextType,a.context="object"==typeof i&&null!==i?on(i):rg,a.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(iE(t,n,i,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(i=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&iT.enqueueReplaceState(a,a.state,null),oX(t,r,a,o),oY(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var l=t.memoizedProps,s=iL(n,l);a.props=s;var c=a.context,u=n.contextType;i=rg,"object"==typeof u&&null!==u&&(i=on(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,l=t.pendingProps!==l,u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l||c!==i)&&iI(t,a,r,i),oF=!1;var f=t.memoizedState;a.state=f,oX(t,r,a,o),oY(),c=t.memoizedState,l||f!==c||oF?("function"==typeof d&&(iE(t,n,d,r),c=t.memoizedState),(s=oF||iN(t,n,s,r,f,c,i))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=i,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,oV(e,t),u=iL(n,i=t.memoizedProps),a.props=u,d=t.pendingProps,f=a.context,c=n.contextType,s=rg,"object"==typeof c&&null!==c&&(s=on(c)),(c="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i!==d||f!==s)&&iI(t,a,r,s),oF=!1,f=t.memoizedState,a.state=f,oX(t,r,a,o),oY();var p=t.memoizedState;i!==d||f!==p||oF||null!==e&&null!==e.dependencies&&oe(e.dependencies)?("function"==typeof l&&(iE(t,n,l,r),p=t.memoizedState),(u=oF||iN(t,n,u,r,f,p,s)||null!==e&&null!==e.dependencies&&oe(e.dependencies))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,iJ(e,t),r=0!=(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=oZ(t,e.child,null,o),t.child=oZ(t,null,n,o)):iB(e,t,n,o),t.memoizedState=a.state,e=t.child):e=li(e,t,o),e}function i3(e,t,n,r){return rJ(),t.flags|=256,iB(e,t,n,r),t.child}var i4={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function i5(e){return{baseLanes:e,cachePool:o_()}}function i6(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=sD),e}function i9(e,t,n){var r,o=t.pendingProps,a=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&at.current)),r&&(a=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(r$){if(a?o6(t):o7(),(e=rB)?null!==(e=null!==(e=uV(e,rW))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rz?{id:rR,overflow:rD}:null,retryLane:0x20000000,hydrationErrors:null},(n=rS(e)).return=t,t.child=n,rV=t,rB=null):e=null,null===e)throw rY(t);return u$(e)?t.lanes=32:t.lanes=0x20000000,null}var s=o.children;return(o=o.fallback,a)?(o7(),s=i7({mode:"hidden",children:s},a=t.mode),o=rj(o,a,n,null),s.return=t,o.return=t,s.sibling=o,t.child=s,(o=t.child).memoizedState=i5(n),o.childLanes=i6(e,r,n),t.memoizedState=i4,iY(null,o)):(o6(t),i8(t,s))}var c=e.memoizedState;if(null!==c&&null!==(s=c.dehydrated)){if(i)256&t.flags?(o6(t),t.flags&=-257,t=le(e,t,n)):null!==t.memoizedState?(o7(),t.child=e.child,t.flags|=128,t=null):(o7(),s=o.fallback,a=t.mode,o=i7({mode:"visible",children:o.children},a),s=rj(s,a,n,null),s.flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,oZ(t,e.child,null,n),(o=t.child).memoizedState=i5(n),o.childLanes=i6(e,r,n),t.memoizedState=i4,t=iY(null,o));else if(o6(t),u$(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var u=r.dgst;r=u,(o=Error(l(419))).stack="",o.digest=r,r1({value:o,source:null,stack:null}),t=le(e,t,n)}else if(iV||r7(e,t,n,!1),r=0!=(n&e.childLanes),iV||r){if(null!==(r=sk)&&0!==(o=eF(r,n))&&o!==c.retryLane)throw c.retryLane=o,rp(e,o),s8(r,e,o),iH;uB(s)||cc(),t=le(e,t,n)}else uB(s)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,rB=uq(s.nextSibling),rV=t,r$=!0,rq=null,rW=!1,null!==e&&rH(t,e),t=i8(t,o.children),t.flags|=4096);return t}return a?(o7(),s=o.fallback,a=t.mode,u=(c=e.child).sibling,(o=rx(c,{mode:"hidden",children:o.children})).subtreeFlags=0x7e00000&c.subtreeFlags,null!==u?s=rx(u,s):(s=rj(s,a,n,null),s.flags|=2),s.return=t,o.return=t,o.sibling=s,t.child=o,iY(null,o),o=t.child,null===(s=e.child.memoizedState)?s=i5(n):(null!==(a=s.cachePool)?(c=os._currentValue,a=a.parent!==c?{parent:c,pool:c}:a):a=o_(),s={baseLanes:s.baseLanes|n,cachePool:a}),o.memoizedState=s,o.childLanes=i6(e,r,n),t.memoizedState=i4,iY(e.child,o)):(o6(t),e=(n=e.child).sibling,(n=rx(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function i8(e,t){return(t=i7({mode:"visible",children:t},e.mode)).return=e,e.child=t}function i7(e,t){return(e=rv(22,e,null,t)).lanes=0,e}function le(e,t,n){return oZ(t,e.child,null,n),e=i8(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lt(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),r9(e.return,t,n)}function ln(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===ao(n)&&(t=e),e=e.sibling}return t}function lr(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function lo(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function la(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;r=r.children;var i=at.current;if(128&t.flags)return an(t,i),null;var l=0!=(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,an(t,i),"backwards"===o&&null!==e?(lo(e),iB(e,t,r,n),lo(e)):iB(e,t,r,n),r=r$?rI:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&lt(e,n,t);else if(19===e.tag)lt(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":null===(n=ln(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,lo(t)),lr(t,!0,o,null,a,r);break;case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ao(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}lr(t,!0,n,null,a,r);break;case"together":lr(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=ln(t.child))?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),lr(t,!1,o,n,a,r)}return t.child}function li(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),sA|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(r7(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rx(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rx(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ll(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&oe(e))}function ls(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)iV=!0;else{if(!ll(e,n)&&0==(128&t.flags))return iV=!1,function(e,t,n){switch(t.tag){case 3:en(t,t.stateNode.containerInfo),r5(t,os,e.memoizedState.cache),rJ();break;case 27:case 5:eo(t);break;case 4:en(t,t.stateNode.containerInfo);break;case 10:r5(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,o9(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return o6(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return i9(e,t,n);return o6(t),null!==(e=li(e,t,n))?e.sibling:null}o6(t);break;case 19:if(128&t.flags)return la(e,t,n);var o=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(r7(e,t,n,!1),r=0!=(n&t.childLanes)),o){if(r)return la(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),an(t,at.current),!r)return null;break;case 22:return t.lanes=0,iK(e,t,n,t.pendingProps);case 24:r5(t,os,e.memoizedState.cache)}return li(e,t,n)}(e,t,n);iV=0!=(131072&e.flags)}else iV=!1,r$&&0!=(1048576&t.flags)&&rZ(t,rI,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=oE(t.elementType),t.type=e,"function"==typeof e)rb(e)?(r=iL(e,r),t.tag=1,t=i2(null,t,e,r,n)):(t.tag=0,t=i0(null,t,e,r,n));else{if(null!=e){var o=e.$$typeof;if(o===N){t.tag=11,t=i$(null,t,e,r,n);break e}if(o===A){t.tag=14,t=iq(null,t,e,r,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===H?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case O:return"Fragment";case P:return"Profiler";case C:return"StrictMode";case I:return"Suspense";case L:return"SuspenseList";case R:return"Activity";case Z:return"ViewTransition"}if("object"==typeof t)switch(t.$$typeof){case S:return"Portal";case T:return t.displayName||"Context";case E:return(t._context.displayName||"Context")+".Consumer";case N:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case z:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return i0(e,t,t.type,t.pendingProps,n);case 1:return o=iL(r=t.type,t.pendingProps),i2(e,t,r,o,n);case 3:e:{if(en(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,oV(e,t),oX(t,r,null,n);var i=t.memoizedState;if(r5(t,os,r=i.cache),r!==a.cache&&r8(t,[os],n,!0),oY(),r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=i3(e,t,r,n);break e}else if(r!==o){r1(o=rP(Error(l(424)),t)),t=i3(e,t,r,n);break e}else for(rB=uq((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rV=t,r$=!0,rq=null,rW=!0,n=oU(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rJ(),r===o){t=li(e,t,n);break e}iB(e,t,r,n)}t=t.child}return t;case 26:return iJ(e,t),null===e?(n=u4(t.type,null,t.pendingProps,null))?t.memoizedState=n:r$||(n=t.type,e=t.pendingProps,(r=uc(ee.current).createElement(n))[eW]=t,r[eK]=e,ua(r,n,e),e6(r),t.stateNode=r):t.memoizedState=u4(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return eo(t),null===e&&r$&&(r=t.stateNode=uX(t.type,t.pendingProps,ee.current),rV=t,rW=!0,o=rB,ub(t.type)?(uW=o,rB=uq(r.firstChild)):rB=o),iB(e,t,t.pendingProps.children,n),iJ(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&r$&&((o=r=rB)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[e0])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||o!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===o)return e}if(null===(e=uq(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rW))?(t.stateNode=r,rV=t,rB=uq(r.firstChild),rW=!1,o=!0):o=!1),o||rY(t)),eo(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,r=a.children,uf(o,a)?r=null:null!==i&&uf(o,i)&&(t.flags|=32),null!==t.memoizedState&&(db._currentValue=o=av(e,t,aw,null,null,n)),iJ(e,t),iB(e,t,r,n),t.child;case 6:return null===e&&r$&&((e=n=rB)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=uq(e.nextSibling)))return null;return e}(n,t.pendingProps,rW))?(t.stateNode=n,rV=t,rB=null,e=!0):e=!1),e||rY(t)),null;case 13:return i9(e,t,n);case 4:return en(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=oZ(t,null,r,n):iB(e,t,r,n),t.child;case 11:return i$(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,iJ(e,t),iB(e,t,r,n),t.child;case 8:case 12:return iB(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,r5(t,t.type,r.value),iB(e,t,r.children,n),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,ot(t),r=r(o=on(o)),t.flags|=1,iB(e,t,r,n),t.child;case 14:return iq(e,t,t.type,t.pendingProps,n);case 15:return iW(e,t,t.type,t.pendingProps,n);case 19:return la(e,t,n);case 31:var s=e,c=t,u=n,d=c.pendingProps,f=0!=(128&c.flags);if(c.flags&=-129,null===s){if(r$){if("hidden"===d.mode)return s=iG(c,d),c.lanes=0x20000000,iY(null,s);if(o9(c),(s=rB)?null!==(s=null!==(s=uV(s,rW))&&"&"===s.data?s:null)&&(c.memoizedState={dehydrated:s,treeContext:null!==rz?{id:rR,overflow:rD}:null,retryLane:0x20000000,hydrationErrors:null},(u=rS(s)).return=c,c.child=u,rV=c,rB=null):s=null,null===s)throw rY(c);return c.lanes=0x20000000,null}return iG(c,d)}var p=s.memoizedState;if(null!==p){var h=p.dehydrated;if(o9(c),f)if(256&c.flags)c.flags&=-257,c=iQ(s,c,u);else if(null!==c.memoizedState)c.child=s.child,c.flags|=128,c=null;else throw Error(l(558));else if(iV||r7(s,c,u,!1),f=0!=(u&s.childLanes),iV||f){if(null!==(d=sk)&&0!==(h=eF(d,u))&&h!==p.retryLane)throw p.retryLane=h,rp(s,h),s8(d,s,h),iH;cc(),c=iQ(s,c,u)}else s=p.treeContext,rB=uq(h.nextSibling),rV=c,r$=!0,rq=null,rW=!1,null!==s&&rH(c,s),c=iG(c,d),c.flags|=4096;return c}return(s=rx(s.child,{mode:d.mode,children:d.children})).ref=c.ref,c.child=s,s.return=c,s;case 22:return iK(e,t,n,t.pendingProps);case 24:return ot(t),r=on(os),null===e?(null===(o=ox())&&(o=sk,a=oc(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},oH(t),r5(t,os,o)):(0!=(e.lanes&n)&&(oV(e,t),oX(t,null,null,n),oY()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),r5(t,os,r)):(r5(t,os,r=a.cache),r!==o.cache&&r8(t,[os],n,!0))),iB(e,t,t.pendingProps.children,n),t.child;case 30:return null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?0x1202000:0x1200000:r$&&rU(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:iJ(e,t),iB(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function lc(e){e.flags|=4}function lu(e,t,n,r,o){var a;if((a=0!=(32&e.mode))&&(a=null===n?ds(t,r):ds(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=0x1000000,(0x13ffff40&o)===o)if(e.stateNode.complete)e.flags|=8192;else if(ci())e.flags|=8192;else throw oT=oO,ok}else e.flags&=-0x1000001}function ld(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!dc(t))if(ci())e.flags|=8192;else throw oT=oO,ok}function lf(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eR():0x20000000,e.lanes|=t,sM|=t)}function lp(e,t){if(!r$)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(n=null,t=e.tail;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function lh(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=0x7e00000&o.subtreeFlags,r|=0x7e00000&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lm(e,t){switch(rF(t),t.tag){case 3:r6(os),er();break;case 26:case 27:case 5:ea(t);break;case 4:er();break;case 31:null!==t.memoizedState&&ae(t);break;case 13:ae(t);break;case 19:ar(t);break;case 10:r6(t.type);break;case 22:case 23:ae(t),o3(),null!==e&&X(ob);break;case 24:r6(os)}}function lg(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create;n.inst.destroy=r=a()}n=n.next}while(n!==o)}}catch(e){cO(t,t.return,e)}}function ly(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,o=t;try{l()}catch(e){cO(o,n,e)}}}r=r.next}while(r!==a)}}catch(e){cO(t,t.return,e)}}function lv(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{oQ(t,n)}catch(t){cO(e,e.return,t)}}}function lb(e,t,n){n.props=iL(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){cO(e,t,n)}}function lx(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var o=e.stateNode,a=rr(e.memoizedProps,o);(null===o.ref||o.ref.name!==a)&&(o.ref=uE(a)),r=o.ref;break;case 7:null===e.stateNode&&(e.stateNode=new uT(e)),r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){cO(e,t,n)}}function lw(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){cO(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){cO(e,t,n)}else n.current=null}function l_(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){cO(e,e.return,t)}}function lj(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,i=null,s=null,c=null,u=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":c=f;default:r.hasOwnProperty(h)||ur(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(to=!0),a=h;break;case"name":h!==f&&(to=!0),o=h;break;case"checked":h!==f&&(to=!0),u=h;break;case"defaultChecked":h!==f&&(to=!0),d=h;break;case"value":h!==f&&(to=!0),i=h;break;case"defaultValue":h!==f&&(to=!0),s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(l(137,t));break;default:h!==f&&ur(e,t,p,h,r,f)}}tg(e,i,s,c,u,d,a,o);return;case"select":for(a in h=i=s=p=null,n)if(c=n[a],n.hasOwnProperty(a)&&null!=c)switch(a){case"value":break;case"multiple":h=c;default:r.hasOwnProperty(a)||ur(e,t,a,null,r,c)}for(o in r)if(a=r[o],c=n[o],r.hasOwnProperty(o)&&(null!=a||null!=c))switch(o){case"value":a!==c&&(to=!0),p=a;break;case"defaultValue":a!==c&&(to=!0),s=a;break;case"multiple":a!==c&&(to=!0),i=a;default:a!==c&&ur(e,t,o,a,r,c)}t=s,n=i,r=h,null!=p?tb(e,!!n,p,!1):!!r!=!!n&&(null!=t?tb(e,!!n,t,!0):tb(e,!!n,n?[]:"",!1));return;case"textarea":for(s in h=p=null,n)if(o=n[s],n.hasOwnProperty(s)&&null!=o&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:ur(e,t,s,null,r,o)}for(i in r)if(o=r[i],a=n[i],r.hasOwnProperty(i)&&(null!=o||null!=a))switch(i){case"value":o!==a&&(to=!0),p=o;break;case"defaultValue":o!==a&&(to=!0),h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(l(91));break;default:o!==a&&ur(e,t,i,o,r,a)}tx(e,p,h);return;case"option":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&("selected"===m?e.selected=!1:ur(e,t,m,null,r,p));for(c in r)p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h)&&("selected"===c?(p!==h&&(to=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p):ur(e,t,c,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&ur(e,t,g,null,r,p);for(u in r)if(p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:ur(e,t,u,p,r,h)}return;default:if(tO(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&uo(e,t,y,void 0,r,p);for(d in r)p=r[d],h=n[d],r.hasOwnProperty(d)&&p!==h&&(void 0!==p||void 0!==h)&&uo(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&ur(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],r.hasOwnProperty(f)&&p!==h&&(null!=p||null!=h)&&ur(e,t,f,p,r,h)})(r,e.type,n,t),r[eK]=t}catch(t){cO(e,e.return,t)}}function lk(e,t){if(5===e.tag&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)uF(e.stateNode,t[n])}function lS(e){for(var t=e.return;null!==t;){if(lC(t)){var n=e.stateNode,r=t.stateNode._eventListeners;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];n.removeEventListener(a.type,a.listener,a.optionsOrUseCapture)}}if(lO(t))break;t=t.return}}function lO(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&ub(e.type)||4===e.tag}function lC(e){return e&&7===e.tag&&null!==e.stateNode}function lP(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&ub(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lE(e,t,n,r){var o=e.tag;if(5===o||6===o)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),lk(e,r),to=!0;else if(4!==o&&(27===o&&ub(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(lE(e,t,n,r),e=e.sibling;null!==e;)lE(e,t,n,r),e=e.sibling}function lT(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);ua(t,r,n),t[eW]=e,t[eK]=n}catch(t){cO(e,e.return,t)}}var lN=!1,lI=null;function lL(e){(30===e.tag||0!=(0x2000000&e.subtreeFlags))&&(lN=!0)}var lA=null;function lz(){var e=lA;return lA=null,e}var lR=0;function lD(e,t,n,r,o){return lR=0,function e(t,n,r,o,a){for(var i=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==o){var s=uS(l);o.push(s),s.view&&(i=!0)}else i||uS(l).view&&(i=!0);lN=!0,u_(l,0===lR?n:n+"_"+lR,r),lR++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&a||e(t.child,n,r,o,a)&&(i=!0));t=t.sibling}return i}(e.child,t,n,r,o)}function lM(e,t){for(;null!==e;)5===e.tag?uj(e.stateNode,e.memoizedProps):(22!==e.tag||null===e.memoizedState)&&(30===e.tag&&t||lM(e.child,t)),e=e.sibling}function lZ(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(lZ(e),30===e.tag&&0!=(0x1200000&e.flags)&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(l(544));var n=t.name;"none"!==(t=ra(t.default,t.share))&&(lD(e,n,t,null,!1)||lM(e.child,!1))}e=e.sibling}}function lU(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,o=rr(r,n),a=ra(r.default,n.paired?r.share:r.enter);"none"!==a?lD(e,o,a,null,!1)?(lZ(e),n.paired||t||s9(e,r.onEnter)):lM(e.child,!1):lZ(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lU(e,t),e=e.sibling;else lZ(e)}function lF(e){if(null!==lI&&0!==lI.size){var t=lI;if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var o=t.get(r);if(void 0!==o){var a=ra(n.default,n.share);if("none"!==a&&(lD(e,r,a,null,!1)?(o.paired=a=e.stateNode,a.paired=o,s9(e,n.onShare)):lM(e.child,!1)),t.delete(r),0===t.size)break}}}lF(e)}e=e.sibling}}}function lH(e){if(30===e.tag){var t=e.memoizedProps,n=rr(t,e.stateNode),r=null!==lI?lI.get(n):void 0,o=ra(t.default,void 0!==r?t.share:t.exit);"none"!==o&&(lD(e,n,o,null,!1)?void 0!==r?(r.paired=o=e.stateNode,o.paired=r,lI.delete(n),s9(e,t.onShare)):s9(e,t.onExit):lM(e.child,!1)),null!==lI&&lF(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lH(e),e=e.sibling;else null!==lI&&lF(e)}function lV(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var t=e.stateNode;null!==t.paired&&(t.paired=null,lM(e.child,!1))}lV(e)}e=e.sibling}}function lB(e){if(30===e.tag)e.stateNode.paired=null,lM(e.child,!1),lV(e);else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lB(e),e=e.sibling;else lV(e)}function l$(e,t,n,r,o,a,i){for(var l=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==a&&lR<a.length){var c,u=a[lR],d=uS(s);if((u.view||d.view)&&(l=!0),c=0==(4&e.flags))if(d.clip)c=!0;else{c=u.rect;var f=d.rect;c=c.y!==f.y||c.x!==f.x||c.height!==f.height||c.width!==f.width}c&&(e.flags|=4),d.abs?d=!u.abs:(u=u.rect,d=d.rect,d=u.height!==d.height||u.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;0!=(4&e.flags)&&u_(s,0===lR?n:n+"_"+lR,o),l&&0!=(4&e.flags)||(null===lA&&(lA=[]),lA.push(s,r,t.memoizedProps)),lR++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&i?e.flags|=32&t.flags:l$(e,t.child,n,r,o,a,i)&&(l=!0));t=t.sibling}return l}var lq=!1,lW=!1,lK=!1,lY=!1,lX="function"==typeof WeakSet?WeakSet:Set,lG=null,lQ=!1,lJ=!1,l0=!1,l1=!1;function l2(e){for(;null!==lG;){var t=lG,n=e,r=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:if(0!=(4&o)&&null!==(r=null!==(r=t.updateQueue)?r.events:null))for(n=0;n<r.length;n++)(o=r[n]).ref.impl=o.nextImpl;break;case 1:if(0!=(1024&o)&&null!==r){n=void 0,o=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var i=iL(t.type,o);n=a.getSnapshotBeforeUpdate(i,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){cO(t,t.return,e)}}break;case 3:if(0!=(1024&o)){if(9===(n=(r=t.stateNode.containerInfo).nodeType))uH(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":uH(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&null!==r&&(n=rr(r.memoizedProps,r.stateNode),"none"!==(o=ra((o=t.memoizedProps).default,o.update))&&lD(r,n,o,r.memoizedState=[],!0));break;default:if(0!=(1024&o))throw Error(l(163))}if(null!==(r=t.sibling)){r.return=t.return,lG=r;break}lG=t.return}}function l3(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:ss(e,n),4&r&&lg(5,n);break;case 1:if(ss(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){cO(n,n.return,e)}else{var o=iL(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){cO(n,n.return,e)}}64&r&&lv(n),512&r&&lx(n,n.return);break;case 3:if(ss(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{oQ(e,t)}catch(e){cO(n,n.return,e)}}break;case 27:null===t&&4&r&&lT(n);case 26:case 5:ss(e,n),null===t&&4&r&&l_(n),512&r&&lx(n,n.return);break;case 12:ss(e,n);break;case 31:ss(e,n),4&r&&l7(e,n);break;case 13:ss(e,n),4&r&&se(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=cT.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||lq)){t=null!==t&&null!==t.memoizedState||lW,o=lq;var a=lW;lq=r,(lW=t)&&!a?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var o=n.alternate,a=t,i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(a,i,r),lg(4,i);break;case 1:if(e(a,i,r),"function"==typeof(a=(o=i).stateNode).componentDidMount)try{a.componentDidMount()}catch(e){cO(o,o.return,e)}if(null!==(a=(o=i).updateQueue)){var s=o.stateNode;try{var c=a.shared.hiddenCallbacks;if(null!==c)for(a.shared.hiddenCallbacks=null,a=0;a<c.length;a++)oG(c[a],s)}catch(e){cO(o,o.return,e)}}r&&64&l&&lv(i),lx(i,i.return);break;case 27:lT(i);case 26:case 5:if(5===i.tag){s=i;for(var u=s.return;null!==u&&(lC(u)&&uF(s.stateNode,u.stateNode),!lO(u));)u=u.return}e(a,i,r),r&&null===o&&4&l&&l_(i),lx(i,i.return);break;case 12:e(a,i,r);break;case 31:e(a,i,r),r&&4&l&&l7(a,i);break;case 13:e(a,i,r),r&&4&l&&se(a,i);break;case 22:null===i.memoizedState&&e(a,i,r),lx(i,i.return);break;case 30:e(a,i,r),lx(i,i.return);break;case 7:lx(i,i.return);default:e(a,i,r)}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):ss(e,n),lq=o,lW=a}break;case 30:ss(e,n),512&r&&lx(n,n.return);break;case 7:512&r&&lx(n,n.return);default:ss(e,n)}}function l4(e,t){for(e=e.child;null!==e;)(function e(t,n){switch(t.tag){case 5:case 26:try{var r=t.stateNode;if(n){var o=r.style;"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"}else{var a=t.stateNode,i=t.memoizedProps.style,l=null!=i&&i.hasOwnProperty("display")?i.display:null;a.style.display=null==l||"boolean"==typeof l?"":(""+l).trim()}}catch(e){cO(t,t.return,e)}!function t(n,r){if(0x4000000&n.subtreeFlags)for(n=n.child;null!==n;){e:{var o=n;switch(o.tag){case 4:e(o,r);break e;case 22:null===o.memoizedState&&t(o,r);break e;default:t(o,r)}}n=n.sibling}}(t,n);break;case 6:try{t.stateNode.nodeValue=n?"":t.memoizedProps,to=!0}catch(e){cO(t,t.return,e)}break;case 18:try{var s=t.stateNode;n?uw(s,!0):uw(t.stateNode,!1)}catch(e){cO(t,t.return,e)}break;case 22:case 23:null===t.memoizedState&&l4(t,n);break;default:l4(t,n)}})(e,t),e=e.sibling}var l5=null,l6=!1;function l9(e,t,n){for(n=n.child;null!==n;)l8(e,t,n),n=n.sibling}function l8(e,t,n){if(eS&&"function"==typeof eS.onCommitFiberUnmount)try{eS.onCommitFiberUnmount(ek,n)}catch(e){}switch(n.tag){case 26:lW||lw(n,t),l9(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:lW||lw(n,t);var r=l5,o=l6;ub(n.type)&&(l5=n.stateNode,l6=!1),l9(e,t,n),uG(n.stateNode),l5=r,l6=o;break;case 5:lW||lw(n,t),5===n.tag&&lS(n);case 6:if(r=l5,o=l6,l5=null,l9(e,t,n),l5=r,l6=o,null!==l5)if(l6)try{(9===l5.nodeType?l5.body:"HTML"===l5.nodeName?l5.ownerDocument.body:l5).removeChild(n.stateNode),to=!0}catch(e){cO(n,t,e)}else try{l5.removeChild(n.stateNode),to=!0}catch(e){cO(n,t,e)}break;case 18:null!==l5&&(l6?(ux(9===(e=l5).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),dG(e)):ux(l5,n.stateNode));break;case 4:r=l5,o=l6,l5=n.stateNode.containerInfo,l6=!0,l9(e,t,n),l5=r,l6=o;break;case 0:case 11:case 14:case 15:ly(2,n,t),lW||ly(4,n,t),l9(e,t,n);break;case 1:lW||(lw(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&lb(n,t,r)),l9(e,t,n);break;case 21:default:l9(e,t,n);break;case 22:lW=(r=lW)||null!==n.memoizedState,l9(e,t,n),lW=r;break;case 30:lw(n,t),l9(e,t,n);break;case 7:lW||lw(n,t),l9(e,t,n)}}function l7(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{dG(e)}catch(e){cO(t,t.return,e)}}}function se(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{dG(e)}catch(e){cO(t,t.return,e)}}function st(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new lX),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new lX),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=cN.bind(null,e,t);t.then(r,r)}})}function sn(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=e,s=t,c=s;e:for(;null!==c;){switch(c.tag){case 27:if(ub(c.type)){l5=c.stateNode,l6=!1;break e}break;case 5:l5=c.stateNode,l6=!1;break e;case 3:case 4:l5=c.stateNode.containerInfo,l6=!0;break e}c=c.return}if(null===l5)throw Error(l(160));l8(i,s,a),l5=null,l6=!1,null!==(i=a.alternate)&&(i.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)so(t,e,n),t=t.sibling}var sr=null;function so(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sn(t,e,n),sa(e),4&o&&(ly(3,e,e.return),lg(3,e),ly(5,e,e.return));break;case 1:sn(t,e,n),sa(e),512&o&&(lW||null===r||lw(r,r.return)),64&o&&lq&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===t?r:t.concat(r));break;case 26:var a=sr;if(sn(t,e,n),sa(e),512&o&&(lW||null===r||lw(r,r.return)),4&o)if(n=null!==r?r.memoizedState:null,t=e.memoizedState,null===r)if(null===t)if(null===e.stateNode){e:{r=e.type,t=e.memoizedProps,n=a.ownerDocument||a;t:switch(r){case"title":(!(o=n.getElementsByTagName("title")[0])||o[e0]||o[eW]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=n.createElement(r),n.head.insertBefore(o,n.querySelector("head > title"))),ua(o,r,t),o[eW]=e,e6(o),r=o;break e;case"link":if(a=di("link","href",n).get(r+(t.href||""))){for(var i=0;i<a.length;i++)if((o=a[i]).getAttribute("href")===(null==t.href||""===t.href?null:t.href)&&o.getAttribute("rel")===(null==t.rel?null:t.rel)&&o.getAttribute("title")===(null==t.title?null:t.title)&&o.getAttribute("crossorigin")===(null==t.crossOrigin?null:t.crossOrigin)){a.splice(i,1);break t}}ua(o=n.createElement(r),r,t),n.head.appendChild(o);break;case"meta":if(a=di("meta","content",n).get(r+(t.content||""))){for(i=0;i<a.length;i++)if((o=a[i]).getAttribute("content")===(null==t.content?null:""+t.content)&&o.getAttribute("name")===(null==t.name?null:t.name)&&o.getAttribute("property")===(null==t.property?null:t.property)&&o.getAttribute("http-equiv")===(null==t.httpEquiv?null:t.httpEquiv)&&o.getAttribute("charset")===(null==t.charSet?null:t.charSet)){a.splice(i,1);break t}}ua(o=n.createElement(r),r,t),n.head.appendChild(o);break;default:throw Error(l(468,r))}o[eW]=e,e6(o),r=o}e.stateNode=r}else dl(a,e.type,e.stateNode);else e.stateNode=de(a,t,e.memoizedProps);else n!==t?(null===n?null!==r.stateNode&&(r=r.stateNode).parentNode.removeChild(r):n.count--,null===t?dl(a,e.type,e.stateNode):de(a,t,e.memoizedProps)):null===t&&null!==e.stateNode&&lj(e,e.memoizedProps,r.memoizedProps);break;case 27:sn(t,e,n),sa(e),512&o&&(lW||null===r||lw(r,r.return)),null!==r&&4&o&&lj(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=lK,lK=!1,sn(t,e,n),lK=a,sa(e),512&o&&(lW||null===r||lw(r,r.return)),32&e.flags){t=e.stateNode;try{t_(t,""),to=!0}catch(t){cO(e,e.return,t)}}4&o&&null!=e.stateNode&&(t=e.memoizedProps,lj(e,t,null!==r?r.memoizedProps:t)),1024&o&&(lY=!0);break;case 6:if(sn(t,e,n),sa(e),4&o){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,t=e.stateNode;try{t.nodeValue=r,to=!0}catch(t){cO(e,e.return,t)}}break;case 3:if(to=!1,da=null,a=sr,sr=u0(t.containerInfo),sn(t,e,n),sr=a,sa(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{dG(t.containerInfo)}catch(t){cO(e,e.return,t)}lY&&(lY=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e)),to=!1;break;case 4:r=lK,lK=lq,o=ta(),a=sr,sr=u0(e.stateNode.containerInfo),sn(t,e,n),sa(e),sr=a,to&&lJ&&(l0=!0),to=o,lK=r;break;case 12:sn(t,e,n),sa(e);break;case 31:case 19:sn(t,e,n),sa(e),4&o&&null!==(r=e.updateQueue)&&(e.updateQueue=null,st(e,r));break;case 13:sn(t,e,n),sa(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(sH=em()),4&o&&null!==(r=e.updateQueue)&&(e.updateQueue=null,st(e,r));break;case 22:a=null!==e.memoizedState,i=null!==r&&null!==r.memoizedState;var s=lq,c=lW,u=lK;lq=s||a,lK=u||a,lW=c||i,sn(t,e,n),lW=c,lK=u,lq=s,sa(e),8192&o&&((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===r||i||lq||lW||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:ly(4,n,n.return),e(n);break;case 1:lw(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&lb(n,n.return,r),e(n);break;case 27:uG(n.stateNode);case 26:case 5:lw(n,n.return),5===n.tag&&lS(n),e(n);break;case 22:null===n.memoizedState&&e(n);break;case 30:lw(n,n.return),e(n);break;case 7:lw(n,n.return);default:e(n)}t=t.sibling}}(e)),!a&&lK||l4(e,a)),4&o&&null!==(r=e.updateQueue)&&null!==(t=r.retryQueue)&&(r.retryQueue=null,st(e,t));break;case 30:512&o&&(lW||null===r||lw(r,r.return)),o=ta(),a=lJ,i=(0x13ffff00&n)===n,s=e.memoizedProps,lJ=i&&"none"!==ra(s.default,s.update),sn(t,e,n),sa(e),i&&null!==r&&to&&(e.flags|=4),lJ=a,to=o;break;case 21:break;case 7:r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:sn(t,e,n),sa(e)}}function sa(e){var t=e.flags;if(2&t){try{for(var n,r=null,o=e.return;null!==o;){if(lC(o)){var a=o.stateNode;null===r?r=[a]:r.push(a)}if(lO(o)){n=o;break}o=o.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var i=n.stateNode,s=lP(e);lE(e,s,i,r);break;case 5:var c=n.stateNode;32&n.flags&&(t_(c,""),n.flags&=-33);var u=lP(e);lE(e,u,c,r);break;case 3:case 4:var d=n.stateNode.containerInfo,f=lP(e);!function e(t,n,r,o){var a=t.tag;if(5===a||6===a)a=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(a,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(a),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=tT)),lk(t,o),to=!0;else if(4!==a&&(27===a&&ub(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r,o),t=t.sibling;null!==t;)e(t,n,r,o),t=t.sibling}(e,f,d,r);break;default:throw Error(l(161))}}catch(t){cO(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function si(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)sl(t,e),t=t.sibling;else!function e(t,n){for(t=t.child;null!==t;){if(30===t.tag){var r=t.memoizedProps,o=t.stateNode,a=rr(r,o),i=ra(r.default,r.update);if(n)var l=null===(o=o.clones)?null:o.map(uO);else l=t.memoizedState,t.memoizedState=null;o=t;var s=t.child;lR=0,a=l$(o,s,a,a,i,l,!1),0!=(4&t.flags)&&a&&(n||s9(t,r.onUpdate))}else 0!=(0x2000000&t.subtreeFlags)&&e(t,n);t=t.sibling}}(t,!1)}function sl(e,t){var n=e.alternate;if(null===n)lU(e,!1);else switch(e.tag){case 3:if(l1=lQ=!1,lz(),si(t,e),!lQ&&!l0){if(null!==(e=lA))for(var r=0;r<e.length;r+=3){n=e[r];var o=e[r+1];uj(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),l1=!0}lA=null;break;case 5:default:si(t,e);break;case 4:r=lQ,lQ=!1,si(t,e),lQ&&(l0=!0),lQ=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?lU(e,!1):si(t,e));break;case 30:r=lQ,o=lz(),lQ=!1,si(t,e),lQ&&(e.flags|=4);var a=e.memoizedProps,i=e.stateNode;t=rr(a,i),i=rr(n.memoizedProps,i);var l=ra(a.default,a.update);"none"===l?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,lR=0,t=l$(e,n,t,i,l,a,!0),lR!==(null===a?0:a.length)&&(e.flags|=32)),0!=(4&e.flags)&&t?(s9(e,e.memoizedProps.onUpdate),lA=o):null!==o&&(o.push.apply(o,lA),lA=o),lQ=0!=(32&e.flags)||r}}function ss(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)l3(e,t.alternate,t),t=t.sibling}function sc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&ou(n))}function su(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&ou(e))}function sd(e,t,n,r){var o=(0x13ffff00&n)===n;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;null!==t;)sf(e,t,n,r),t=t.sibling;else o&&function e(t){for(t=t.child;null!==t;)30===t.tag?lM(t.child,!1):0!=(0x2000000&t.subtreeFlags)&&e(t),t=t.sibling}(t)}function sf(e,t,n,r){var o=(0x13ffff00&n)===n;o&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&lB(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:sd(e,t,n,r),2048&a&&lg(9,t);break;case 1:case 31:case 13:default:sd(e,t,n,r);break;case 3:sd(e,t,n,r),o&&l1&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&a&&(a=null,null!==t.alternate&&(a=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==a&&(t.refCount++,null!=a&&ou(a)));break;case 12:if(2048&a){sd(e,t,n,r),a=t.stateNode;try{var i=t.memoizedProps,l=i.id,s=i.onPostCommit;"function"==typeof s&&s(l,null===t.alternate?"mount":"update",a.passiveEffectDuration,-0)}catch(e){cO(t,t.return,e)}}else sd(e,t,n,r);break;case 23:break;case 22:i=t.stateNode,l=t.alternate,null!==t.memoizedState?(o&&null!==l&&null===l.memoizedState&&lB(l),2&i._visibility?sd(e,t,n,r):sp(e,t)):(o&&null!==l&&null!==l.memoizedState&&lB(t),2&i._visibility?sd(e,t,n,r):(i._visibility|=2,function e(t,n,r,o,a){for(a=a&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,r,o,a),lg(8,i);break;case 23:break;case 22:var s=i.stateNode;null!==i.memoizedState?2&s._visibility?e(t,i,r,o,a):sp(t,i):(s._visibility|=2,e(t,i,r,o,a)),a&&2048&l&&sc(i.alternate,i);break;case 24:e(t,i,r,o,a),a&&2048&l&&su(i.alternate,i);break;default:e(t,i,r,o,a)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags)))),2048&a&&sc(l,t);break;case 24:sd(e,t,n,r),2048&a&&su(t.alternate,t);break;case 30:o&&null!==(a=t.alternate)&&(lM(a.child,!0),lM(t.child,!0)),sd(e,t,n,r)}}function sp(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:sp(e,n),2048&r&&sc(n.alternate,n);break;case 24:sp(e,n),2048&r&&su(n.alternate,n);break;default:sp(e,n)}t=t.sibling}}var sh=8192;function sm(e,t,n){if(e.subtreeFlags&sh)for(e=e.child;null!==e;)sg(e,t,n),e=e.sibling}function sg(e,t,n){switch(e.tag){case 26:sm(e,t,n),e.flags&sh&&(null!==e.memoizedState?function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var o=u5(r.href),a=t.querySelector(u6(o));if(a){null!==(t=a._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,e6(a);return}a=t.ownerDocument||t,r=u9(r),(o=uQ.get(o))&&dn(r,o),e6(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),ua(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=dh.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,sr,e.memoizedState,e.memoizedProps):(e=e.stateNode,(0x13ffff40&t)===t&&dd(n,e)));break;case 5:sm(e,t,n),e.flags&sh&&(e=e.stateNode,(0x13ffff40&t)===t&&dd(n,e));break;case 3:case 4:var r=sr;sr=u0(e.stateNode.containerInfo),sm(e,t,n),sr=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=sh,sh=0x1000000,sm(e,t,n),sh=r):sm(e,t,n));break;case 30:if(0!=(e.flags&sh)&&null!=(r=e.memoizedProps.name)&&"auto"!==r){var o=e.stateNode;o.paired=null,null===lI&&(lI=new Map),lI.set(r,o)}sm(e,t,n);break;default:sm(e,t,n)}}function sy(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function sv(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];lG=r,sx(r,e)}sy(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)sb(e),e=e.sibling}function sb(e){switch(e.tag){case 0:case 11:case 15:sv(e),2048&e.flags&&ly(9,e,e.return);break;case 3:case 12:default:sv(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];lG=o,sx(o,t)}sy(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:ly(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):sv(e)}}function sx(e,t){for(;null!==lG;){var n=lG;switch(n.tag){case 0:case 11:case 15:ly(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:ou(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,lG=r;else for(n=e;null!==lG;){var o=(r=lG).sibling,a=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&e1(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){lG=null;break}if(null!==o){o.return=a,lG=o;break}lG=a}}}var sw={getCacheForType:function(e){var t=on(os),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return on(os).controller.signal}},s_="function"==typeof WeakMap?WeakMap:Map,sj=0,sk=null,sS=null,sO=0,sC=0,sP=null,sE=!1,sT=!1,sN=!1,sI=0,sL=0,sA=0,sz=0,sR=0,sD=0,sM=0,sZ=null,sU=null,sF=!1,sH=0,sV=0,sB=1/0,s$=null,sq=null,sW=0,sK=null,sY=null,sX=0,sG=0,sQ=null,sJ=null,s0=null,s1=null,s2=null,s3=0,s4=null;function s5(){return 0!=(2&sj)&&0!==sO?sO&-sO:null!==B.T?c$():eB()}function s6(){if(0===sD)if(0==(0x20000000&sO)||r$){var e=eN;0==(3932160&(eN<<=1))&&(eN=262144),sD=e}else sD=0x20000000;return null!==(e=o4.current)&&(e.flags|=32),sD}function s9(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=uE(rr(e.memoizedProps,n))),null===s1&&(s1=[]),s1.push(t.bind(null,r))}}function s8(e,t,n){(e===sk&&(2===sC||9===sC)||null!==e.cancelPendingCommit)&&(co(e,0),ct(e,sO,sD,!1)),eM(e,n),(0==(2&sj)||e!==sk)&&(e===sk&&(0==(2&sj)&&(sz|=n),4===sL&&ct(e,sO,sD,!1)),cM(e))}function s7(e,t,n){if(0!=(6&sj))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||ez(e,t),o=r?function(e,t){var n=sj;sj|=2;var r=cl(),o=cs();sk!==e||sO!==t?(s$=null,sB=em()+500,co(e,t)):sT=ez(e,t);e:for(;;)try{if(0!==sC&&null!==sS){t=sS;var a=sP;t:switch(sC){case 1:sC=0,sP=null,cp(e,t,a,1);break;case 2:case 9:if(oC(a)){sC=0,sP=null,cf(t);break}t=function(){2!==sC&&9!==sC||sk!==e||(sC=7),cM(e)},a.then(t,t);break e;case 3:sC=7;break e;case 4:sC=5;break e;case 7:oC(a)?(sC=0,sP=null,cf(t)):(sC=0,sP=null,cp(e,t,a,7));break;case 5:var i=null;switch(sS.tag){case 26:i=sS.memoizedState;case 5:case 27:var s=sS;if(i?dc(i):s.stateNode.complete){sC=0,sP=null;var c=s.sibling;if(null!==c)sS=c;else{var u=s.return;null!==u?(sS=u,ch(u)):sS=null}break t}}sC=0,sP=null,cp(e,t,a,5);break;case 6:sC=0,sP=null,cp(e,t,a,6);break;case 8:cr(),sL=6;break e;default:throw Error(l(462))}}for(;null!==sS&&!ep();)cd(sS);break}catch(t){ca(e,t)}return(r4=r3=null,B.H=r,B.A=o,sj=n,null!==sS)?0:(sk=null,sO=0,ru(),sL)}(e,t):cu(e,t,!0),a=r;;){if(0===o)sT&&!r&&ct(e,t,0,!1);else{if(n=e.current.alternate,a&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!nZ(a(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){o=cu(e,t,!1),a=!1;continue}if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{o=sZ;var s=e.current.memoizedState.isDehydrated;if(s&&(co(e,i).flags|=256),2!==(i=cu(e,i,!1))){if(sN&&!s){e.errorRecoveryDisabledLanes|=a,sz|=a,o=4;break e}a=sU,sU=o,null!==a&&(null===sU?sU=a:sU.push.apply(sU,a))}o=i}if(a=!1,2!==o)continue}}if(1===o){co(e,0),ct(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t&&(0x3c00000&t)!==t)break;case 6:ct(r,t,sD,!sE);break e;case 2:sU=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(o=sH+300-em())){if(ct(r,t,sD,!sE),0!==eA(r,0,!0))break e;sX=t,r.timeoutHandle=uh(ce.bind(null,r,n,sU,s$,sF,t,sD,sz,sM,sE,a,"Throttled",-0,0),o);break e}ce(r,n,sU,s$,sF,t,sD,sz,sM,sE,a,null,-0,0)}}break}cM(e)}function ce(e,t,n,r,o,a,i,l,s,c,u,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(0x13ffff00&a)===a;if(d=null,(y||8192&g||0x1002000==(0x1002000&g))&&(lI=null,sg(t,a,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tT}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=dh.bind(g),y.finished.then(g,g))),null!==(h=d,m=g=(0x3c00000&a)===a?sH-em():(4194048&a)===a?sV-em():0,h.stylesheets&&0===h.count&&dy(h,h.stylesheets),g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&dy(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===df&&(df=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,l=o.duration;if(a&&l&&ui(i)){for(i=0,l=o.responseEnd,r+=1;r<n.length;r++){var s=n[r],c=s.startTime;if(c>l)break;var u=s.transferSize,d=s.initiatorType;u&&ui(d)&&(i+=u*((s=s.responseEnd)<l?1:(l-c)/(s-c)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&dy(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>df?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){sX=a,e.cancelPendingCommit=g(cg.bind(null,e,t,a,n,r,o,i,l,s,u,d,null,f,p)),ct(e,a,i,!c);return}cg(e,t,a,n,r,o,i,l,s,u,d)}function ct(e,t,n,r){t&=~sR,t&=~sz,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-eC(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&eZ(e,n,t)}function cn(){return 0!=(6&sj)||(cZ(0,!1),!1)}function cr(){if(null!==sS){if(0===sC)var e=sS.return;else e=sS,r4=r3=null,ak(e),oL=null,oA=0,e=sS;for(;null!==e;)lm(e.alternate,e),e=e.return;sS=null}}function co(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,um(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),sX=0,cr(),sk=e,sS=n=rx(e.current,null),sO=t,sC=0,sP=null,sE=!1,sT=ez(e,t),sN=!1,sM=sD=sR=sz=sA=sL=0,sU=sZ=null,sF=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-eC(r),a=1<<o;t|=e[o],r&=~a}return sI=t,ru(),n}function ca(e,t){ai=null,B.H=iS,t===oj||t===oS?(t=oN(),sC=3):t===ok?(t=oN(),sC=4):sC=t===iH?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,sP=t,null===sS&&(sL=1,iD(e,rP(t,e.current)))}function ci(){var e=o4.current;return null===e||((4194048&sO)===sO?null===o5:((0x3c00000&sO)===sO||0!=(0x20000000&sO))&&e===o5)}function cl(){var e=B.H;return B.H=iS,null===e?iS:e}function cs(){var e=B.A;return B.A=sw,e}function cc(){sL=4,sE||(4194048&sO)!==sO&&null!==o4.current||(sT=!0),0==(0x7ffffff&sA)&&0==(0x7ffffff&sz)||null===sk||ct(sk,sO,sD,!1)}function cu(e,t,n){var r=sj;sj|=2;var o=cl(),a=cs();(sk!==e||sO!==t)&&(s$=null,co(e,t)),t=!1;var i=sL;e:for(;;)try{if(0!==sC&&null!==sS){var l=sS,s=sP;switch(sC){case 8:cr(),i=6;break e;case 3:case 2:case 9:case 6:null===o4.current&&(t=!0);var c=sC;if(sC=0,sP=null,cp(e,l,s,c),n&&sT){i=0;break e}break;default:c=sC,sC=0,sP=null,cp(e,l,s,c)}}(function(){for(;null!==sS;)cd(sS)})(),i=sL;break}catch(t){ca(e,t)}return t&&e.shellSuspendCounter++,r4=r3=null,sj=r,B.H=o,B.A=a,null===sS&&(sk=null,sO=0,ru()),i}function cd(e){var t=ls(e.alternate,e,sI);e.memoizedProps=e.pendingProps,null===t?ch(e):sS=t}function cf(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=i1(n,t,t.pendingProps,t.type,void 0,sO);break;case 11:t=i1(n,t,t.pendingProps,t.type.render,t.ref,sO);break;case 5:ak(t);default:lm(n,t),t=ls(n,t=sS=rw(t,sI),sI)}e.memoizedProps=e.pendingProps,null===t?ch(e):sS=t}function cp(e,t,n,r){r4=r3=null,ak(t),oL=null,oA=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&r7(t,n,o,!0),null!==(n=o4.current)){switch(n.tag){case 31:case 13:case 19:return null===o5?cc():null===n.alternate&&0===sL&&(sL=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===oO?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),cC(e,r,o)),!1;case 22:return n.flags|=65536,r===oO?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),cC(e,r,o)),!1}throw Error(l(435,n.tag))}return cC(e,r,o),cc(),!1}if(r$)return null!==(t=o4.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==rK&&r1(rP(e=Error(l(422),{cause:r}),n))):(r!==rK&&r1(rP(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,r=rP(r,n),o=iZ(e.stateNode,r,o),oW(e,o),4!==sL&&(sL=2)),!1;var a=Error(l(520),{cause:r});if(a=rP(a,n),null===sZ?sZ=[a]:sZ.push(a),4!==sL&&(sL=2),null===t)return!0;r=rP(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=iZ(n.stateNode,r,e),oW(n,e),!1;case 1:if(t=n.type,a=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==a&&"function"==typeof a.componentDidCatch&&(null===sq||!sq.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,iF(o=iU(o),e,n,r),oW(n,o),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n);return!1}(e,o,t,n,sO)){sL=1,iD(e,rP(n,e.current)),sS=null;return}}catch(t){if(null!==o)throw sS=o,t;sL=1,iD(e,rP(n,e.current)),sS=null;return}32768&t.flags?(r$||1===r?e=!0:sT||0!=(0x20000000&sO)?e=!1:(sE=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=o4.current)&&13===r.tag&&(r.flags|=16384)),cm(t,e)):ch(t)}function ch(e){var t=e;do{if(0!=(32768&t.flags))return void cm(t,sE);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rF(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return lh(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),r6(os),er(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rQ(t)?lc(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,r0())),lh(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(lc(t),null!==a?(lh(t),ld(t,a)):(lh(t),lu(t,o,null,r,n))):a?a!==e.memoizedState?(lc(t),lh(t),ld(t,a)):(lh(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&lc(t),lh(t),lu(t,o,e,r,n)),null;case 27:if(ea(t),n=ee.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&lc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return lh(t),t.subtreeFlags&=-0x2000001,null}e=Q.current,rQ(t)?rX(t,e):(t.stateNode=e=uX(o,r,n),lc(t))}return lh(t),t.subtreeFlags&=-0x2000001,null;case 5:if(ea(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&lc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return lh(t),t.subtreeFlags&=-0x2000001,null}if(a=Q.current,rQ(t))rX(t,a);else{var i=uc(ee.current);switch(a){case 1:a=i.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=i.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=i.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?i.createElement(o,{is:r.is}):i.createElement(o)}}a[eW]=t,a[eK]=r;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,ua(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&lc(t)}}return lh(t),t.subtreeFlags&=-0x2000001,lu(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&lc(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=ee.current,rQ(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=rV))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[eW]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||un(e.nodeValue,n)))||rY(t,!0)}else(e=uc(e).createTextNode(r))[eW]=t,t.stateNode=e}return lh(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rQ(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eW]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lh(t),e=!1}else n=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return ae(t),t;return ae(t),null}if(0!=(128&t.flags))throw Error(l(558))}return lh(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=rQ(t),null!==r&&null!==r.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 rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lh(t),o=!1}else o=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(256&t.flags)return ae(t),t;return ae(t),null}}if(ae(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,o=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),lf(t,t.updateQueue),lh(t),null;case 4:return er(),null===e&&c2(t.stateNode.containerInfo),t.flags|=0x4000000,lh(t),null;case 10:return r6(t.type),lh(t),null;case 19:if(ar(t),null===(r=t.memoizedState))return lh(t),null;if(o=0!=(128&t.flags),null===(a=r.rendering))if(o)lp(r,!1);else{if(0!==sL||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=ao(e))){for(t.flags|=128,lp(r,!1),t.updateQueue=e=a.updateQueue,lf(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rw(n,e),n=n.sibling;return an(t,1&at.current|2),r$&&rM(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&em()>sB&&(t.flags|=128,o=!0,lp(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=ao(a))){if(t.flags|=128,o=!0,t.updateQueue=e=e.updateQueue,lf(t,e),lp(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!r$)return lh(t),null}else 2*em()-r.renderingStartTime>sB&&0x20000000!==n&&(t.flags|=128,o=!0,lp(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}if(null!==r.tail){e=r.tail;e:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=em(),e.sibling=null,a=at.current,a=o?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||r$?an(t,a):(n=a,G(o4,t),G(at,n),null===o5&&(o5=t)),r$&&rM(t,r.treeForkCount),e}return lh(t),null;case 22:case 23:return ae(t),o3(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(lh(t),6&t.subtreeFlags&&(t.flags|=8192)):lh(t),null!==(n=t.updateQueue)&&lf(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&X(ob),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r6(os),lh(t),null;case 25:return null;case 30:return t.flags|=0x2000000,lh(t),null}throw Error(l(156,t.tag))}(t.alternate,t,sI);if(null!==n){sS=n;return}if(null!==(t=t.sibling)){sS=t;return}sS=t=e}while(null!==t);0===sL&&(sL=5)}function cm(e,t){do{var n=function(e,t){switch(rF(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r6(os),er(),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(ae(t),null===t.alternate)throw Error(l(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ae(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ar(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 er(),null;case 10:return r6(t.type),null;case 22:case 23:return ae(t),o3(),null!==e&&X(ob),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r6(os),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,sS=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){sS=e;return}sS=e=n}while(null!==e);sL=6,sS=null}function cg(e,t,n,r,o,a,i,s,c,u,d){e.cancelPendingCommit=null;do cj();while(0!==sW);if(0!=(6&sj))throw Error(l(327));if(null!==t){var f;if(t===e.current)throw Error(l(177));if(!function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(n=i&~n;0<n;){var u=31-eC(n),d=1<<u;l[u]=0,s[u]=-1;var f=c[u];if(null!==f)for(c[u]=null,u=0;u<f.length;u++){var p=f[u];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eZ(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,a=t.lanes|t.childLanes|rc,i,s,c),e===sk&&(sS=sk=null,sO=0),sY=t,sK=e,sX=n,sG=a,sQ=o,sJ=r,s1=null,(0x13ffff00&n)===n?(f=e.transitionTypes,e.transitionTypes=null,s2=f,r=10262):(s2=null,r=10256),0!=(t.subtreeFlags&r)||0!=(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,ed(eb,function(){return ck(),null})):(e.callbackNode=null,e.callbackPriority=0),lN=!1,r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=B.T,B.T=null,o=$.p,$.p=2,i=sj,sj|=4;try{!function(e,t,n){if(e=e.containerInfo,ul=dO,nB(e=nV(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var a,i=o.anchorOffset,l=o.focusNode;o=o.focusOffset;try{r.nodeType,l.nodeType}catch(e){r=null;break e}var s=0,c=-1,u=-1,d=0,f=0,p=e,h=null;t:for(;;){for(;p!==r||0!==i&&3!==p.nodeType||(c=s+i),p!==l||0!==o&&3!==p.nodeType||(u=s+o),3===p.nodeType&&(s+=p.nodeValue.length),null!==(a=p.firstChild);)h=p,p=a;for(;;){if(p===e)break t;if(h===r&&++d===i&&(c=s),h===l&&++f===o&&(u=s),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}r=-1===c||-1===u?null:{start:c,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(us={focusedElem:e,selectionRange:r},dO=!1,n=(0x13ffff00&n)===n,lG=t,t=n?9270:1028;null!==lG;){if(e=lG,n&&null!==(r=e.deletions))for(i=0;i<r.length;i++)n&&lH(r[i]);if(null===e.alternate&&0!=(2&e.flags))n&&lL(e),l2(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&lH(r),l2(n);continue}else if(null!==r&&null!==r.memoizedState){n&&lL(e),l2(n);continue}}r=e.child,0!=(e.subtreeFlags&t)&&null!==r?(r.return=e,lG=r):(n&&function e(t){for(t=t.child;null!==t;){if(30===t.tag){var n=t.memoizedProps,r=rr(n,t.stateNode);n=ra(n.default,n.update),t.flags&=-5,"none"!==n&&lD(t,r,n,t.memoizedState=[],!1)}else 0!=(0x2000000&t.subtreeFlags)&&e(t);t=t.sibling}}(e),l2(n))}}lI=null}(e,t,n)}finally{sj=i,$.p=o,B.T=r}}sW=1,(t=lN)?s0=function(e,t,n,r,o,a,i,l,s){var c=9===t.nodeType?t:t.ownerDocument;try{var u=c.startViewTransition({update:function(){var t=c.defaultView,n=t.navigation&&t.navigation.transition,i=c.fonts.status;r();var l=[];if("loaded"===i&&(c.documentElement.clientHeight,"loading"===c.fonts.status&&l.push(c.fonts.ready)),i=l.length,null!==e)for(var s=e.suspenseyImages,u=0,d=0;d<s.length;d++){var f=s[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((u+=du(f))>df){l.length=i;break}f=new Promise(uC.bind(f)),l.push(f)}}}return 0<l.length?(t=Promise.race([Promise.all(l),new Promise(function(e){return setTimeout(e,500)})]).then(o,o),(n?Promise.allSettled([n.finished,t]):t).then(a,a)):(o(),n)?n.finished.then(a,a):void a()},types:n});c.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=c.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,o=r.pseudoElement;if(null!=o&&o.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var a=o=void 0,l=!0,s=0;s<n.length;s++){var u=n[s],f=u.width;if(void 0===o)o=f;else if(o!==f){l=!1;break}if(f=u.height,void 0===a)a=f;else if(a!==f){l=!1;break}delete u.width,delete u.height,"none"===u.transform&&delete u.transform}l&&void 0!==o&&void 0!==a&&(r.setKeyframes(n),(l=getComputedStyle(r.target,r.pseudoElement)).width!==o||l.height!==a)&&((l=n[0]).width=o,l.height=a,(l=n[n.length-1]).width=o,l.height=a,r.setKeyframes(n))}}i()},function(e){c.__reactViewTransition===u&&(c.__reactViewTransition=null);try{"object"==typeof e&&null!==e&&"InvalidStateError"===e.name&&("View transition was skipped because document visibility state is hidden."===e.message||"Skipping view transition because document visibility state has become hidden."===e.message||"Skipping view transition because viewport size changed."===e.message||"Transition was aborted because of invalid state"===e.message)&&(e=null),null!==e&&s(e)}finally{r(),o(),i()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();c.__reactViewTransition===u&&(c.__reactViewTransition=null),l()}),u}catch(e){return r(),o(),i(),null}}(d,e.containerInfo,s2,cb,cx,cv,cw,ck,cy,null,null):(cb(),cx(),cw())}}function cy(e){0!==sW&&(0,sK.onRecoverableError)(e,{componentStack:null})}function cv(){3===sW&&(sW=0,sl(sY,sK),sW=4)}function cb(){if(1===sW){sW=0;var e=sK,t=sY,n=sX,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=B.T,B.T=null;var o=$.p;$.p=2;var a=sj;sj|=4;try{lJ=l0=!1,so(t,e,n),n=us;var i=nV(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(i!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nB(l)){var c=s.start,u=s.end;if(void 0===u&&(u=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(u,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(i=g,g=m,m=i);var y=nH(l,m),v=nH(l,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.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;l<d.length;l++){var x=d[l];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}dO=!!ul,us=ul=null}finally{sj=a,$.p=o,B.T=r}}e.current=t,sW=2}}function cx(){if(2===sW){sW=0;var e=sK,t=sY,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=B.T,B.T=null;var r=$.p;$.p=2;var o=sj;sj|=4;try{l3(e,t.alternate,t)}finally{sj=o,$.p=r,B.T=n}}sW=3}}function cw(){if(4===sW||3===sW){sW=0,s0=null,eh();var e=sK,t=sY,n=sX,r=sJ,o=(0x13ffff00&n)===n?10262:10256;if(0!=(t.subtreeFlags&o)||0!=(t.flags&o)?sW=5:(sW=0,sY=sK=null,c_(e,e.pendingLanes)),0===(o=e.pendingLanes)&&(sq=null),eV(n),t=t.stateNode,eS&&"function"==typeof eS.onCommitFiberRoot)try{eS.onCommitFiberRoot(ek,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=B.T,o=$.p,$.p=2,B.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{B.T=t,$.p=o}}if(r=s1,a=s2,s2=null,null!==r)for(s1=null,null===a&&(a=[]),l=0;l<r.length;l++)(0,r[l])(a);0!=(3&sX)&&cj(),cM(e),o=e.pendingLanes,0!=(261930&n)&&0!=(42&o)?e===s4?s3++:(s3=0,s4=e):s3=0,cZ(0,!1)}}function c_(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,ou(t))}function cj(){return null!==s0&&(s0.skipTransition(),s0=null),cb(),cx(),cw(),ck()}function ck(){if(5!==sW)return!1;var e=sK,t=sG;sG=0;var n=eV(sX),r=B.T,o=$.p;try{$.p=32>n?32:n,B.T=null,n=sQ,sQ=null;var a=sK,i=sX;if(sW=0,sY=sK=null,sX=0,0!=(6&sj))throw Error(l(331));var s=sj;if(sj|=4,sb(a.current),sf(a,a.current,i,n),sj=s,cZ(0,!1),eS&&"function"==typeof eS.onPostCommitFiberRoot)try{eS.onPostCommitFiberRoot(ek,a)}catch(e){}return!0}finally{$.p=o,B.T=r,c_(e,t)}}function cS(e,t,n){t=rP(n,t),t=iZ(e.stateNode,t,2),null!==(e=o$(e,t,2))&&(eM(e,2),cM(e))}function cO(e,t,n){if(3===e.tag)cS(e,e,n);else for(;null!==t;){if(3===t.tag){cS(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sq||!sq.has(r))){e=rP(n,e),null!==(r=o$(t,n=iU(2),2))&&(iF(n,r,t,e),eM(r,2),cM(r));break}}t=t.return}}function cC(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new s_;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(sN=!0,o.add(n),e=cP.bind(null,e,t,n),t.then(e,e))}function cP(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,sk===e&&(sO&n)===n&&(4===sL||3===sL&&(0x3c00000&sO)===sO&&300>em()-sH?0==(2&sj)&&co(e,0):sR|=n,sM===sO&&(sM=0)),cM(e)}function cE(e,t){0===t&&(t=eR()),null!==(e=rp(e,t))&&(eM(e,t),cM(e))}function cT(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),cE(e,n)}function cN(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),cE(e,n)}var cI=null,cL=null,cA=!1,cz=!1,cR=!1,cD=0;function cM(e){e!==cL&&null===e.next&&(null===cL?cI=cL=e:cL=cL.next=e),cz=!0,cA||(cA=!0,uy(function(){0!=(6&sj)?ed(ey,cU):cF()}))}function cZ(e,t){if(!cR&&cz){cR=!0;do for(var n=!1,r=cI;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=0xc000095&(a=(1<<31-eC(42|e)+1)-1&(o&~(i&~l)))?0xc000095&a|1:a?2|a:0}0!==a&&(n=!0,cB(r,a))}else a=sO,0==(3&(a=eA(r,r===sk?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||ez(r,a)||(n=!0,cB(r,a));r=r.next}while(n);cR=!1}}function cU(){cF()}function cF(){cz=cA=!1;var e,t=0;0===cD||((e=window.event)&&"popstate"===e.type?e===up||(up=e,0):(up=null,1))||(t=cD);for(var n=em(),r=null,o=cI;null!==o;){var a=o.next,i=cH(o,n);0===i?(o.next=null,null===r?cI=a:r.next=a,null===a&&(cL=r)):(r=o,(0!==t||0!=(3&i))&&(cz=!0)),o=a}0!==sW&&5!==sW||cZ(t,!1),0!==cD&&(cD=0)}function cH(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0<a;){var i=31-eC(a),l=1<<i,s=o[i];-1===s?(0==(l&n)||0!=(l&r))&&(o[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=sk,n=sO,n=eA(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===sC||9===sC)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ef(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||ez(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ef(r),eV(n)){case 2:case 8:n=ev;break;case 32:default:n=eb;break;case 0x10000000:n=ew}return n=ed(n,r=cV.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ef(r),e.callbackPriority=2,e.callbackNode=null,2}function cV(e,t){if(0!==sW&&5!==sW)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(cj()&&e.callbackNode!==n)return null;var r=sO;return 0===(r=eA(e,e===sk?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(s7(e,r,t),cH(e,em()),null!=e.callbackNode&&e.callbackNode===n?cV.bind(null,e):null)}function cB(e,t){if(cj())return null;s7(e,t,!0)}function c$(){if(0===cD){var e=om;0===e&&(e=eT,0==(261888&(eT<<=1))&&(eT=256)),cD=e}return cD}function cq(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tE(""+e)}function cW(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var cK=0;cK<re.length;cK++){var cY=re[cK];rt(cY.toLowerCase(),"on"+(cY[0].toUpperCase()+cY.slice(1)))}rt(n2,"onAnimationEnd"),rt(n3,"onAnimationIteration"),rt(n4,"onAnimationStart"),rt("dblclick","onDoubleClick"),rt("focusin","onFocus"),rt("focusout","onBlur"),rt(n5,"onTransitionRun"),rt(n6,"onTransitionStart"),rt(n9,"onTransitionCancel"),rt(n8,"onTransitionEnd"),te("onMouseEnter",["mouseout","mouseover"]),te("onMouseLeave",["mouseout","mouseover"]),te("onPointerEnter",["pointerout","pointerover"]),te("onPointerLeave",["pointerout","pointerover"]),e7("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),e7("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),e7("onBeforeInput",["compositionend","keypress","textInput","paste"]),e7("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cX="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),cG=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cX));function cQ(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(e){ri(e)}o.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;a=l,o.currentTarget=c;try{a(o)}catch(e){ri(e)}o.currentTarget=null,a=s}}}}function cJ(e,t){var n=t[eX];void 0===n&&(n=t[eX]=new Set);var r=e+"__bubble";n.has(r)||(c3(t,e,2,!1),n.add(r))}function c0(e,t,n){var r=0;t&&(r|=4),c3(n,e,r,t)}var c1="_reactListening"+Math.random().toString(36).slice(2);function c2(e){if(!e[c1]){e[c1]=!0,e9.forEach(function(t){"selectionchange"!==t&&(cG.has(t)||c0(t,!1,e),c0(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c1]||(t[c1]=!0,c0("selectionchange",!1,t))}}function c3(e,t,n,r){switch(dL(t)){case 2:var o=dC;break;case 8:o=dP;break;default:o=dE}n=o.bind(null,t,n,e),o=void 0,tU&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function c4(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o)break;if(4===i)for(i=r.return;null!==i;){var c=i.tag;if((3===c||4===c)&&i.stateNode.containerInfo===o)return;i=i.return}for(;null!==l;){if(null===(i=e2(l)))return;if(5===(c=i.tag)||6===c||26===c||27===c){r=a=i;continue e}l=l.parentNode}}r=r.return}tD(function(){var r=a,o=tI(n),i=[];e:{var l=n7.get(e);if(void 0!==l){var c=t2,u=e;switch(e){case"keypress":if(0===tq(n))break e;case"keydown":case"keyup":c=nl;break;case"focusin":u="focus",c=t8;break;case"focusout":u="blur",c=t8;break;case"beforeblur":case"afterblur":c=t8;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=t6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=t9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=nc;break;case n2:case n3:case n4:c=t7;break;case n8:c=nu;break;case"scroll":case"scrollend":c=t4;break;case"wheel":c=nd;break;case"copy":case"cut":case"paste":c=ne;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=ns;break;case"toggle":case"beforetoggle":c=nf}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=tM(m,p))&&d.push(c5(m,g,h)),f)break;m=m.return}0<d.length&&(l=new c(l,u,null,n,o),i.push({event:l,listeners:d}))}}if(0==(7&t)){c="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(c&&n!==tN&&(u=n.relatedTarget||n.fromElement)&&(e2(u)||u[eY]))&&(l||c)&&(u=o.window===o?o:(c=o.ownerDocument)?c.defaultView||c.parentWindow:window,l?(c=n.relatedTarget||n.toElement,l=r,null!==(c=c?e2(c):null)&&(f=s(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(l=null,c=r),l!==c&&(d=t6,g="onMouseLeave",p="onMouseEnter",m="mouse",("pointerout"===e||"pointerover"===e)&&(d=ns,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?u:e4(l),h=null==c?u:e4(c),(u=new d(g,m+"leave",l,n,o)).target=f,u.relatedTarget=h,g=null,e2(o)===r&&((d=new d(p,m+"enter",c,n,o)).target=h,d.relatedTarget=f,g=d),f=g,d=l&&c?w(l,c,c9):null,null!==l&&c8(i,u,l,d,!1),null!==c&&null!==f&&c8(i,f,c,d,!0)));e:{if("select"===(c=(l=r?e4(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var y,v=nE;else if(nj(l))if(nT)v=nM;else{v=nR;var b=nz}else(c=l.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?v=nD:r&&tO(r.elementType)&&(v=nE);if(v&&(v=v(e,r))){nk(i,v,n,o);break e}b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&tv(l,"number",l.value)}switch(b=r?e4(r):window,e){case"focusin":(nj(b)||"true"===b.contentEditable)&&(nq=b,nW=r,nK=null);break;case"focusout":nK=nW=nq=null;break;case"mousedown":nY=!0;break;case"contextmenu":case"mouseup":case"dragend":nY=!1,nX(i,n,o);break;case"selectionchange":if(n$)break;case"keydown":case"keyup":nX(i,n,o)}if(nh)t:{switch(e){case"compositionstart":var x="onCompositionStart";break t;case"compositionend":x="onCompositionEnd";break t;case"compositionupdate":x="onCompositionUpdate";break t}x=void 0}else nw?nb(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(ny&&"ko"!==n.locale&&(nw||"onCompositionStart"!==x?"onCompositionEnd"===x&&nw&&(y=t$()):(tV="value"in(tH=o)?tH.value:tH.textContent,nw=!0)),0<(b=c6(r,x)).length&&(x=new nt(x,e,null,n,o),i.push({event:x,listeners:b}),y?x.data=y:null!==(y=nx(n))&&(x.data=y))),(y=ng?function(e,t){switch(e){case"compositionend":return nx(t);case"keypress":if(32!==t.which)return null;return nv=!0," ";case"textInput":return" "===(e=t.data)&&nv?null:e;default:return null}}(e,n):function(e,t){if(nw)return"compositionend"===e||!nh&&nb(e,t)?(e=t$(),tB=tV=tH=null,nw=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ny&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(x=c6(r,"onBeforeInput")).length&&(b=new nt("onBeforeInput","beforeinput",null,n,o),i.push({event:b,listeners:x}),b.data=y);var _=e;if("submit"===_&&r&&r.stateNode===o){var j=cq((o[eK]||null).action),k=n.submitter;k&&null!==(_=(_=k[eK]||null)?cq(_.formAction):k.getAttribute("formAction"))&&(j=_,k=null);var S=new t2("action","action",null,n,o);i.push({event:S,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==cD){var e=k?cW(o,k):new FormData(o);iu(r,{pending:!0,data:e,method:o.method,action:j},null,e)}}else"function"==typeof j&&(S.preventDefault(),iu(r,{pending:!0,data:e=k?cW(o,k):new FormData(o),method:o.method,action:j},j,e))},currentTarget:o}]})}}cQ(i,t)})}function c5(e,t,n){return{instance:e,listener:t,currentTarget:n}}function c6(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=tM(e,n))&&r.unshift(c5(e,o,a)),null!=(o=tM(e,t))&&r.push(c5(e,o,a))),3===e.tag)return r;e=e.return}return[]}function c9(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag);return e||null}function c8(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===c||(s=c,o?null!=(c=tM(n,a))&&i.unshift(c5(n,c,s)):o||null!=(c=tM(n,a))&&i.push(c5(n,c,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var c7=/\r\n?/g,ue=/\u0000|\uFFFD/g;function ut(e){return("string"==typeof e?e:""+e).replace(c7,"\n").replace(ue,"")}function un(e,t){return t=ut(t),ut(e)===t}function ur(e,t,n,r,o,a){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||t_(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&t_(e,""+r)}break;case"className":tl(e,"class",r);break;case"tabIndex":tl(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":tl(e,n,r);break;case"style":tS(e,r,a);return;case"data":if("object"!==t){tl(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tE(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&ur(e,t,"name",o.name,o,null),ur(e,t,"formEncType",o.formEncType,o,null),ur(e,t,"formMethod",o.formMethod,o,null),ur(e,t,"formTarget",o.formTarget,o,null)):(ur(e,t,"encType",o.encType,o,null),ur(e,t,"method",o.method,o,null),ur(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tE(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=tT);return;case"onScroll":null!=r&&cJ("scroll",e);return;case"onScrollEnd":null!=r&&cJ("scrollend",e);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tE(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":cJ("beforetoggle",e),cJ("toggle",e),ti(e,"popover",r);break;case"xlinkActuate":ts(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ts(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ts(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ts(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ts(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ts(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ts(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ts(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ts(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ti(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;ti(e,n=tC.get(n)||n,r)}to=!0}function uo(e,t,n,r,o,a){switch(n){case"style":tS(e,r,a);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(l(60));e.innerHTML=n}}break;case"children":if("string"==typeof r)t_(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;t_(e,""+r)}break;case"onScroll":null!=r&&cJ("scroll",e);return;case"onScrollEnd":null!=r&&cJ("scrollend",e);return;case"onClick":null!=r&&(e.onclick=tT);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:if(!e8.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[eK]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"==typeof r)){"function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o);break e}to=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):ti(e,n,r)}return}to=!0}function ua(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":cJ("error",e),cJ("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:ur(e,t,r,i,n,null)}}a&&ur(e,t,"srcSet",n.srcSet,n,null),o&&ur(e,t,"src",n.src,n,null);return;case"input":cJ("invalid",e);var s=r=i=a=null,c=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":i=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:ur(e,t,o,d,n,null)}}ty(e,r,s,c,u,i,a,!1);return;case"select":for(a in cJ("invalid",e),o=i=r=null,n)if(n.hasOwnProperty(a)&&null!=(s=n[a]))switch(a){case"value":r=s;break;case"defaultValue":i=s;break;case"multiple":o=s;default:ur(e,t,a,s,n,null)}t=r,n=i,e.multiple=!!o,null!=t?tb(e,!!o,t,!1):null!=n&&tb(e,!!o,n,!0);return;case"textarea":for(i in cJ("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":o=s;break;case"defaultValue":a=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:ur(e,t,i,s,n,null)}tw(e,o,a,r);return;case"option":for(c in n)n.hasOwnProperty(c)&&null!=(o=n[c])&&("selected"===c?e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o:ur(e,t,c,o,n,null));return;case"dialog":cJ("beforetoggle",e),cJ("toggle",e),cJ("cancel",e),cJ("close",e);break;case"iframe":case"object":cJ("load",e);break;case"video":case"audio":for(o=0;o<cX.length;o++)cJ(cX[o],e);break;case"image":cJ("error",e),cJ("load",e);break;case"details":cJ("toggle",e);break;case"embed":case"source":case"link":cJ("error",e),cJ("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:ur(e,t,u,o,n,null)}return;default:if(tO(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(o=n[d])&&uo(e,t,d,o,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(o=n[s])&&ur(e,t,s,o,n,null)}function ui(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var ul=null,us=null;function uc(e){return 9===e.nodeType?e:e.ownerDocument}function uu(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ud(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function uf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var up=null,uh="function"==typeof setTimeout?setTimeout:void 0,um="function"==typeof clearTimeout?clearTimeout:void 0,ug="function"==typeof Promise?Promise:void 0,uy="function"==typeof queueMicrotask?queueMicrotask:void 0!==ug?function(e){return ug.resolve(null).then(e).catch(uv)}:uh;function uv(e){setTimeout(function(){throw e})}function ub(e){return"head"===e}function ux(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r){e.removeChild(o),dG(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)uG(e.ownerDocument.documentElement);else if("head"===n){uG(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[e0]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else"body"===n&&uG(e.ownerDocument.body);n=o}while(n);dG(t)}function uw(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function u_(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var o=r=0;o<t.length;o++){var a=t[o];0<a.width&&0<a.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function uj(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function uk(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function uS(e){return uk(e.getBoundingClientRect(),getComputedStyle(e),e)}function uO(e){var t=e.getBoundingClientRect();return uk(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function uC(e){this.addEventListener("load",e),this.addEventListener("error",e)}function uP(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function uE(e){return{name:e,group:new uP("group",e),imagePair:new uP("image-pair",e),old:new uP("old",e),new:new uP("new",e)}}function uT(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function uN(e,t,n,r){return h(e).addEventListener(t,n,r),!1}function uI(e,t,n,r){return h(e).removeEventListener(t,n,r),!1}function uL(e){return null==e?"0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")+"&o="+(e.once?"1":"0")+"&p="+(e.passive?"1":"0")}function uA(e,t,n,r){for(var o=0;o<e.length;o++){var a=e[o];if(a.type===t&&a.listener===n&&uL(a.optionsOrUseCapture)===uL(r))return o}return -1}function uz(e,t){var n=e=h(e),r=t;function o(){a=!0}var a=!1;try{n.addEventListener("focus",o),(n.focus||HTMLElement.prototype.focus).call(n,r)}finally{n.removeEventListener("focus",o)}return a}function uR(e,t){return t.push(e),!1}function uD(e){return(e=h(e))===e.ownerDocument.activeElement&&(e.blur(),!0)}function uM(e,t){return e=h(e),t.observe(e),!1}function uZ(e,t){return e=h(e),t.unobserve(e),!1}function uU(e,t){return e=h(e),t.push.apply(t,e.getClientRects()),!1}function uF(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];e.addEventListener(o.type,o.listener,o.optionsOrUseCapture)}null!==t._observers&&t._observers.forEach(function(t){t.observe(e)})}function uH(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":uH(n),e1(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function uV(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=uq(e.nextSibling)))return null;return e}function uB(e){return"$?"===e.data||"$~"===e.data}function u$(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function uq(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}uP.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:_({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},uP.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],o=0;o<n.length;o++){var a=n[o].effect;null!==a&&a.target===e&&a.pseudoElement===t&&r.push(n[o])}return r},uP.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},uT.prototype.addEventListener=function(e,t,n){null===this._eventListeners&&(this._eventListeners=[]);var r=this._eventListeners;-1===uA(r,e,t,n)&&(r.push({type:e,listener:t,optionsOrUseCapture:n}),f(this._fragmentFiber.child,!1,uN,e,t,n)),this._eventListeners=r},uT.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;null!=r&&0<r.length&&(f(this._fragmentFiber.child,!1,uI,e,t,n),e=uA(r,e,t,n),null!==this._eventListeners&&this._eventListeners.splice(e,1))},uT.prototype.dispatchEvent=function(e){var t=p(this._fragmentFiber);if(null===t)return!0;t=h(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var a=n[o];r.addEventListener(a.type,a.listener,a.optionsOrUseCapture)}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(o=0;o<n.length;o++)a=n[o],r.removeEventListener(a.type,a.listener,a.optionsOrUseCapture);return t.removeChild(r),e}return t.dispatchEvent(e)},uT.prototype.focus=function(e){f(this._fragmentFiber.child,!0,uz,e,void 0,void 0)},uT.prototype.focusLast=function(e){var t=[];f(this._fragmentFiber.child,!0,uR,t,void 0,void 0);for(var n=t.length-1;0<=n&&!uz(t[n],e);n--);},uT.prototype.blur=function(){f(this._fragmentFiber.child,!1,uD,void 0,void 0,void 0)},uT.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),f(this._fragmentFiber.child,!1,uM,e,void 0,void 0)},uT.prototype.unobserveUsing=function(e){var t=this._observers;null!==t&&t.has(e)&&(t.delete(e),f(this._fragmentFiber.child,!1,uZ,e,void 0,void 0))},uT.prototype.getClientRects=function(){var e=[];return f(this._fragmentFiber.child,!1,uU,e,void 0,void 0),e},uT.prototype.getRootNode=function(e){var t=p(this._fragmentFiber);return null===t?this:h(t).getRootNode(e)},uT.prototype.compareDocumentPosition=function(e){var t=p(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];f(this._fragmentFiber.child,!1,uR,n,void 0,void 0);var r=h(t);if(0===n.length){n=this._fragmentFiber;var o=r.compareDocumentPosition(e);return t=o,r===e?t=Node.DOCUMENT_POSITION_CONTAINS:o&Node.DOCUMENT_POSITION_CONTAINED_BY&&(f(n.sibling,!1,y),n=m,m=null,t=null===n?Node.DOCUMENT_POSITION_PRECEDING:0===(e=h(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),t|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=h(n[0]),o=h(n[n.length-1]);for(var a=h(n[0]),i=!1,l=this._fragmentFiber.return;null!==l&&(4===l.tag&&(i=!0),3!==l.tag&&5!==l.tag);)l=l.return;if(null==(a=i?a.parentElement:r))return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=t.compareDocumentPosition(e);var s=o.compareDocumentPosition(e);return l=i&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY,s=r&&a&&i&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||a&&o===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:(r||t!==e)&&(a||o!==e)?i:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,o){var a=e2(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)e:{for(;null!==a;){if(7===a.tag&&(a===t||a.alternate===t)){n=!0;break e}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===a)return a=o.ownerDocument,o===a||o===a.body;e:{for(a=t,t=p(t);null!==a;){if((5===a.tag||3===a.tag)&&(a===t||a.alternate===t)){a=!0;break e}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(null===(t=w(n,a,x))?t=!1:(f(t,!0,v,a,n),a=m,m=null,t=null!==a)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!a)&&!(t=a===r)&&(null===(t=w(r,a,x))?t=!1:(f(t,!0,b,a,r),a=m,g=m=null,t=null!==a)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},uT.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(l(566));var t=[];f(this._fragmentFiber.child,!1,uR,t,void 0,void 0);var n=!1!==e;if(0===t.length){t=this._fragmentFiber;var r=[null,null],o=p(t);null!==o&&function e(t,n,r){for(var o=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==r;){if(r===n)if(o=!0,!r.sibling)return!0;else r=r.sibling;if(5===r.tag){if(o)return t[1]=r,!0;t[0]=r}else if((22!==r.tag||null===r.memoizedState)&&e(t,n,r.child,o))return!0;r=r.sibling}return!1}(r,t,o.child),null!==(n=n?r[1]||r[0]||p(this._fragmentFiber):r[0]||r[1])&&h(n).scrollIntoView(e)}else for(r=n?t.length-1:0;r!==(n?-1:t.length);)h(t[r]).scrollIntoView(e),r+=n?-1:1};var uW=null;function uK(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return uq(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function uY(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function uX(e,t,n){switch(t=uc(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function uG(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e1(e)}var uQ=new Map,uJ=new Set;function u0(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var u1=$.d;$.d={f:function(){var e=u1.f(),t=cn();return e||t},r:function(e){var t=e3(e);null!==t&&5===t.tag&&"form"===t.type?ip(t):u1.r(e)},D:function(e){u1.D(e),u3("dns-prefetch",e,null)},C:function(e,t){u1.C(e,t),u3("preconnect",e,t)},L:function(e,t,n){if(u1.L(e,t,n),u2&&e&&t){var r='link[rel="preload"][as="'+tm(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tm(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tm(n.imageSizes)+'"]')):r+='[href="'+tm(e)+'"]';var o=r;switch(t){case"style":o=u5(e);break;case"script":o=u8(e)}uQ.has(o)||(e=_({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),uQ.set(o,e),null!==u2.querySelector(r)||"style"===t&&u2.querySelector(u6(o))||"script"===t&&u2.querySelector(u7(o))||(ua(t=u2.createElement("link"),"link",e),e6(t),u2.head.appendChild(t)))}},m:function(e,t){if(u1.m(e,t),u2&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tm(n)+'"][href="'+tm(e)+'"]',o=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=u8(e)}if(!uQ.has(o)&&(e=_({rel:"modulepreload",href:e},t),uQ.set(o,e),null===u2.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u2.querySelector(u7(o)))return}ua(n=u2.createElement("link"),"link",e),e6(n),u2.head.appendChild(n)}}},X:function(e,t){if(u1.X(e,t),u2&&e){var n=e5(u2).hoistableScripts,r=u8(e),o=n.get(r);o||((o=u2.querySelector(u7(r)))||(e=_({src:e,async:!0},t),(t=uQ.get(r))&&dr(e,t),e6(o=u2.createElement("script")),ua(o,"link",e),u2.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(r,o))}},S:function(e,t,n){if(u1.S(e,t,n),u2&&e){var r=e5(u2).hoistableStyles,o=u5(e);t=t||"default";var a=r.get(o);if(!a){var i={loading:0,preload:null};if(a=u2.querySelector(u6(o)))i.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},n),(n=uQ.get(o))&&dn(e,n);var l=a=u2.createElement("link");e6(l),ua(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,dt(a,t,u2)}a={type:"stylesheet",instance:a,count:1,state:i},r.set(o,a)}}},M:function(e,t){if(u1.M(e,t),u2&&e){var n=e5(u2).hoistableScripts,r=u8(e),o=n.get(r);o||((o=u2.querySelector(u7(r)))||(e=_({src:e,async:!0,type:"module"},t),(t=uQ.get(r))&&dr(e,t),e6(o=u2.createElement("script")),ua(o,"link",e),u2.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(r,o))}}};var u2="undefined"==typeof document?null:document;function u3(e,t,n){if(u2&&"string"==typeof t&&t){var r=tm(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),uJ.has(r)||(uJ.add(r),e={rel:e,crossOrigin:n,href:t},null===u2.querySelector(r)&&(ua(t=u2.createElement("link"),"link",e),e6(t),u2.head.appendChild(t)))}}function u4(e,t,n,r){var o=(o=ee.current)?u0(o):null;if(!o)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=u5(n.href),(r=(n=e5(o).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=u5(n.href);var a,i,s,c,u=e5(o).hoistableStyles,d=u.get(e);if(d||(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=o.querySelector(u6(e)))&&!u._p&&(d.instance=u,d.state.loading=5),uQ.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},uQ.set(e,n),u||(a=o,i=e,s=n,c=d.state,a.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(c.preload=i=a.createElement("link"),i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),ua(i,"link",s),e6(i),a.head.appendChild(i))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=u8(n),(r=(n=e5(o).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function u5(e){return'href="'+tm(e)+'"'}function u6(e){return'link[rel="stylesheet"]['+e+"]"}function u9(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function u8(e){return'[src="'+tm(e)+'"]'}function u7(e){return"script[async]"+e}function de(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tm(n.href)+'"]');if(r)return t.instance=r,e6(r),r;var o=_({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return e6(r=(e.ownerDocument||e).createElement("style")),ua(r,"style",o),dt(r,n.precedence,e),t.instance=r;case"stylesheet":o=u5(n.href);var a=e.querySelector(u6(o));if(a)return t.state.loading|=4,t.instance=a,e6(a),a;r=u9(n),(o=uQ.get(o))&&dn(r,o),e6(a=(e.ownerDocument||e).createElement("link"));var i=a;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),ua(a,"link",r),t.state.loading|=4,dt(a,n.precedence,e),t.instance=a;case"script":if(a=u8(n.src),o=e.querySelector(u7(a)))return t.instance=o,e6(o),o;return r=n,(o=uQ.get(a))&&dr(r=_({},n),o),e6(o=(e=e.ownerDocument||e).createElement("script")),ua(o,"link",r),e.head.appendChild(o),t.instance=o;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,dt(r,n.precedence,e)),t.instance}function dt(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function dn(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function dr(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var da=null;function di(e,t,n){if(null===da){var r=new Map,o=da=new Map;o.set(n,r)}else(r=(o=da).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[e0]||a[eW]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function dl(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function ds(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function dc(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function du(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function dd(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=du(t),e.suspenseyImages.push(t)),e=dm.bind(e),t.decode().then(e,e))}var df=0;function dp(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dy(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dh(){this.count--,dp(this)}function dm(){this.imgCount--,dp(this)}var dg=null;function dy(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dg=new Map,t.forEach(dv,e),dg=null,dh.call(e))}function dv(e,t){if(!(4&t.state.loading)){var n=dg.get(e);if(n)var r=n.get(null);else{n=new Map,dg.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=dh.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var db={$$typeof:T,Provider:null,Consumer:null,_currentValue:q,_currentValue2:q,_threadCount:0};function dx(e,t,n,r,o,a,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eD(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eD(0),this.hiddenUpdates=eD(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function dw(e,t,n,r,o,a){o=o?rg:rg,null===r.context?r.context=o:r.pendingContext=o,(r=oB(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=o$(e,r,t))&&(s8(n,e,t),oq(n,e,t))}function d_(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function dj(e,t){d_(e,t),(e=e.alternate)&&d_(e,t)}function dk(e){if(13===e.tag||31===e.tag){var t=rp(e,0x4000000);null!==t&&s8(t,e,0x4000000),dj(e,0x4000000)}}function dS(e){if(13===e.tag||31===e.tag){var t=s5(),n=rp(e,t=eH(t));null!==n&&s8(n,e,t),dj(e,t)}}var dO=!0;function dC(e,t,n,r){var o=B.T;B.T=null;var a=$.p;try{$.p=2,dE(e,t,n,r)}finally{$.p=a,B.T=o}}function dP(e,t,n,r){var o=B.T;B.T=null;var a=$.p;try{$.p=8,dE(e,t,n,r)}finally{$.p=a,B.T=o}}function dE(e,t,n,r){if(dO){var o=dT(r);if(null===o)c4(e,t,r,dN,n),dH(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return dz=dV(dz,e,t,n,r,o),!0;case"dragenter":return dR=dV(dR,e,t,n,r,o),!0;case"mouseover":return dD=dV(dD,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return dM.set(a,dV(dM.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,dZ.set(a,dV(dZ.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(dH(e,r),4&t&&-1<dF.indexOf(e)){for(;null!==o;){var a=e3(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=eL(a.pendingLanes);if(0!==i){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-eC(i);l.entanglements[1]|=s,i&=~s}cM(a),0==(6&sj)&&(sB=em()+500,cZ(0,!1))}}break;case 31:case 13:null!==(l=rp(a,2))&&s8(l,a,2),cn(),dj(a,2)}if(null===(a=dT(r))&&c4(e,t,r,dN,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else c4(e,t,r,null,n)}}function dT(e){return dI(e=tI(e))}var dN=null;function dI(e){if(dN=null,null!==(e=e2(e))){var t=s(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=u(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dN=e,null}function dL(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eg()){case ey:return 2;case ev:return 8;case eb:case ex:return 32;case ew:return 0x10000000;default:return 32}default:return 32}}var dA=!1,dz=null,dR=null,dD=null,dM=new Map,dZ=new Map,dU=[],dF="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function dH(e,t){switch(e){case"focusin":case"focusout":dz=null;break;case"dragenter":case"dragleave":dR=null;break;case"mouseover":case"mouseout":dD=null;break;case"pointerover":case"pointerout":dM.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dZ.delete(t.pointerId)}}function dV(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=e3(t))&&dk(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o)),e}function dB(e){var t=e2(e.target);if(null!==t){var n=s(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=c(n))){e.blockedOn=t,e$(e.priority,function(){dS(n)});return}}else if(31===t){if(null!==(t=u(n))){e.blockedOn=t,e$(e.priority,function(){dS(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function d$(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=dT(e.nativeEvent);if(null!==n)return null!==(t=e3(n))&&dk(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tN=r,n.target.dispatchEvent(r),tN=null,t.shift()}return!0}function dq(e,t,n){d$(e)&&n.delete(t)}function dW(){dA=!1,null!==dz&&d$(dz)&&(dz=null),null!==dR&&d$(dR)&&(dR=null),null!==dD&&d$(dD)&&(dD=null),dM.forEach(dq),dZ.forEach(dq)}function dK(e,t){e.blockedOn===t&&(e.blockedOn=null,dA||(dA=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,dW)))}var dY=null;function dX(e){dY!==e&&(dY=e,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){dY===e&&(dY=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r)if(null===dI(r||n))continue;else break;var a=e3(n);null!==a&&(e.splice(t,3),t-=3,iu(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function dG(e){function t(t){return dK(t,e)}null!==dz&&dK(dz,e),null!==dR&&dK(dR,e),null!==dD&&dK(dD,e),dM.forEach(t),dZ.forEach(t);for(var n=0;n<dU.length;n++){var r=dU[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dU.length&&null===(n=dU[0]).blockedOn;)dB(n),null===n.blockedOn&&dU.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[eK]||null;if("function"==typeof a)i||dX(n);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[eK]||null)l=i.formAction;else if(null!==dI(o))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),dX(n)}}}function dQ(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function dJ(e){this._internalRoot=e}function d0(e){this._internalRoot=e}d0.prototype.render=dJ.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));dw(t.current,s5(),e,t,null,null)},d0.prototype.unmount=dJ.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dw(e.current,2,null,e,null,null),cn(),t[eY]=null}},d0.prototype.unstable_scheduleHydration=function(e){if(e){var t=eB();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dU.length&&0!==t&&t<dU[n].priority;n++);dU.splice(n,0,e),0===n&&dB(e)}};var d1=a.version;if("19.3.0-canary-f93b9fd4-20251217"!==d1)throw Error(l(527,d1,"19.3.0-canary-f93b9fd4-20251217"));if($.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=s(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return d(o),e;if(a===r)return d(o),t;a=a.sibling}throw Error(l(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,c=o.child;c;){if(c===n){i=!0,n=o,r=a;break}if(c===r){i=!0,r=o,n=a;break}c=c.sibling}if(!i){for(c=a.child;c;){if(c===n){i=!0,n=a,r=o;break}if(c===r){i=!0,r=a,n=o;break}c=c.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var d2=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!d2.isDisabled&&d2.supportsFiber)try{ek=d2.inject({bundleType:0,version:"19.3.0-canary-f93b9fd4-20251217",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.3.0-canary-f93b9fd4-20251217"}),eS=d2}catch(e){}}t.createRoot=function(e,t){if(!(n=e)||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(l(299));var n,r,o,a,i,s,c,u,d=!1,f="",p=iA,h=iz,m=iR;return null!=t&&(!0===t.unstable_strictMode&&(d=!0),void 0!==t.identifierPrefix&&(f=t.identifierPrefix),void 0!==t.onUncaughtError&&(p=t.onUncaughtError),void 0!==t.onCaughtError&&(h=t.onCaughtError),void 0!==t.onRecoverableError&&(m=t.onRecoverableError)),r=e,o=1,a=!1,i=null,s=0,c=d,u=null,r=new dx(r,o,a,f,p,h,m,dQ,null),o=1,!0===c&&(o|=24),c=rv(3,null,null,o),r.current=c,c.stateNode=r,o=oc(),o.refCount++,r.pooledCache=o,o.refCount++,c.memoizedState={element:null,isDehydrated:a,cache:o},oH(c),t=r,e[eY]=t.current,c2(e),new dJ(t)}},"./dist/compiled/react-dom/cjs/react-dom.production.js"(e,t,n){"use strict";var r=n("./dist/compiled/react/index.js");function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(o(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal"),s=Symbol.for("react.optimistic_key"),c=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:r===s?s:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=c.T,n=i.p;try{if(c.T=null,i.p=2,e)return e()}finally{c.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,a="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},t.useFormStatus=function(){return c.H.useHostTransitionStatus()},t.version="19.3.0-canary-f93b9fd4-20251217"},"./dist/compiled/react-dom/client.js"(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("./dist/compiled/react-dom/cjs/react-dom-client.production.js")},"./dist/compiled/react-dom/index.js"(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("./dist/compiled/react-dom/cjs/react-dom.production.js")},"./dist/compiled/react/cjs/react-compiler-runtime.production.js"(e,t,n){"use strict";var r=n("./dist/compiled/react/index.js").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.c=function(e){return r.H.useMemoCache(e)}},"./dist/compiled/react/cjs/react-jsx-runtime.production.js"(e,t){"use strict";var n=Symbol.for("react.transitional.element");function r(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},"./dist/compiled/react/cjs/react.production.js"(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),m=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}function x(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var _=w.prototype=new x;_.constructor=w,y(_,b.prototype),_.isPureReactComponent=!0;var j=Array.isArray;function k(){}var S={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function C(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var E=/\/+/g;function T(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function N(e,t,o){if(null==e)return e;var a=[],i=0;return!function e(t,o,a,i,l){var s,c,u,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0;break;case f:return e((p=t._init)(t._payload),o,a,i,l)}}if(p)return l=l(t),p=""===i?"."+T(t,0):i,j(l)?(a="",null!=p&&(a=p.replace(E,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(P(l)&&(s=l,c=a+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(E,"$&/")+"/")+p,l=C(s.type,c,s.props)),o.push(l)),1;p=0;var h=""===i?".":i+":";if(j(t))for(var g=0;g<t.length;g++)d=h+T(i=t[g],g),p+=e(i,o,a,d,l);else if("function"==typeof(g=null===(u=t)||"object"!=typeof u?null:"function"==typeof(u=m&&u[m]||u["@@iterator"])?u:null))for(t=g.call(t),g=0;!(i=t.next()).done;)d=h+T(i=i.value,g++),p+=e(i,o,a,d,l);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(k,k):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),o,a,i,l);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,a,"","",function(e){return t.call(o,e,i++)}),a}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function A(e){var t=S.T,n={};n.types=null!==t?t.types:null,S.T=n;try{var r=e(),o=S.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(k,L)}catch(e){L(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),S.T=t}}function z(e){var t=S.T;if(null!==t){var n=t.types;null===n?t.types=[e]:-1===n.indexOf(e)&&n.push(e)}else A(z.bind(null,e))}t.Activity=p,t.Children={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=i,t.PureComponent=w,t.StrictMode=a,t.Suspense=u,t.ViewTransition=h,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},t.addTransitionType=z,t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=y({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.key&&(o=""+t.key),t)O.call(t,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&("ref"!==a||void 0!==t.ref)&&(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return C(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,o={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)O.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return C(e,a,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=A,t.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},t.use=function(e){return S.H.use(e)},t.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},t.useCallback=function(e,t){return S.H.useCallback(e,t)},t.useContext=function(e){return S.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return S.H.useEffect(e,t)},t.useEffectEvent=function(e){return S.H.useEffectEvent(e)},t.useId=function(){return S.H.useId()},t.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return S.H.useMemo(e,t)},t.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},t.useRef=function(e){return S.H.useRef(e)},t.useState=function(e){return S.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return S.H.useTransition()},t.version="19.3.0-canary-f93b9fd4-20251217"},"./dist/compiled/react/compiler-runtime.js"(e,t,n){"use strict";e.exports=n("./dist/compiled/react/cjs/react-compiler-runtime.production.js")},"./dist/compiled/react/index.js"(e,t,n){"use strict";e.exports=n("./dist/compiled/react/cjs/react.production.js")},"./dist/compiled/react/jsx-runtime.js"(e,t,n){"use strict";e.exports=n("./dist/compiled/react/cjs/react-jsx-runtime.production.js")},"./dist/compiled/scheduler/cjs/scheduler.production.js"(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,o=e[r];if(0<a(o,t))e[r]=t,e[n]=o,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>a(s,n))c<o&&0>a(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else if(c<o&&0>a(u,n))e[r]=u,e[c]=n,r=c;else break}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n: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,y=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var t=r(d);null!==t;){if(null===t.callback)o(d);else if(t.startTime<=e)o(d),t.sortIndex=t.expirationTime,n(u,t);else break;t=r(d)}}function j(e){if(y=!1,_(e),!g)if(null!==r(u))g=!0,k||(k=!0,i());else{var t=r(d);null!==t&&I(j,t.startTime-e)}}var k=!1,S=-1,O=5,C=-1;function P(){return!!v||!(t.unstable_now()-C<O)}function E(){if(v=!1,k){var e=t.unstable_now();C=e;var n=!0;try{e:{g=!1,y&&(y=!1,x(S),S=-1),m=!0;var a=h;try{t:{for(_(e),p=r(u);null!==p&&!(p.expirationTime>e&&P());){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,_(e),n=!0;break t}p===r(u)&&o(u),_(e)}else o(u);p=r(u)}if(null!==p)n=!0;else{var c=r(d);null!==c&&I(j,c.startTime-e),n=!1}}break e}finally{p=null,h=a,m=!1}}}finally{n?i():k=!1}}}if("function"==typeof w)i=function(){w(E)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,N=T.port2;T.port1.onmessage=E,i=function(){N.postMessage(null)}}else i=function(){b(E,0)};function I(e,n){S=b(function(){e(t.unstable_now())},n)}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||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_requestPaint=function(){v=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,a){var l=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?l+a:l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,e={id:f++,callback:o,priorityLevel:e,startTime:a,expirationTime:s,sortIndex:-1},a>l?(e.sortIndex=a,n(d,e),null===r(u)&&e===r(d)&&(y?(x(S),S=-1):y=!0,I(j,a-l))):(e.sortIndex=s,n(u,e),g||m||(g=!0,k||(k=!0,i()))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},"./dist/compiled/scheduler/index.js"(e,t,n){"use strict";e.exports=n("./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,n,r,o,a,i,l,s,c={};Object.defineProperty(c,"__esModule",{value:!0}),t="<unknown>",n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|webpack-internal|rsc|about|turbopack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,r=/\((\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=n.exec(e);if(!o)return null;var a=o[2]&&0===o[2].indexOf("native"),i=o[2]&&0===o[2].indexOf("eval"),l=r.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 n=a.exec(e);if(!n)return null;var r=n[3]&&n[3].indexOf(" > eval")>-1,o=i.exec(n[3]);return r&&null!=o&&(n[3]=o[1],n[4]=o[2],n[5]=null),{file:n[3],methodName:n[1]||t,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[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,n)=>{let r=n(511);e.exports=e=>"string"==typeof e?e.replace(r(),""):e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e](a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//",e.exports=r(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"),n=t?.shadowRoot||null;return n&&(e.cachedShadowRoot=n),n}function n(e,t){let n=window._nextjsDevtoolsStyleCache;n.lastInsertedElement?n.lastInsertedElement.nextSibling?t.insertBefore(e,n.lastInsertedElement.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),n.lastInsertedElement=e}function r(){let e=window._nextjsDevtoolsStyleCache,r=t();r&&(e.pendingElements.forEach(e=>{n(e,r)}),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?n(e,o):(window._nextjsDevtoolsStyleCache.pendingElements.push(e),function(){let e=window._nextjsDevtoolsStyleCache;if(e.isObserving)return;if(e.isObserving=!0,t())return r();let n=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()?(r(),n.disconnect(),e.isObserving=!1):setTimeout(o,20)};o();return}}}});n.observe(document.body,{childList:!0,subtree:!0})}())}},"./dist/compiled/zod/index.cjs"(e){(()=>{"use strict";var t={629:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),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 n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.z=void 0;let l=a(n(923));t.z=l,i(n(923),t),t.default=l},348:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZodError=t.quotelessJson=t.ZodIssueCode=void 0;let r=n(709);t.ZodIssueCode=r.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},n={_errors:[]},r=e=>{for(let o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{let e=n,r=0;for(;r<o.path.length;){let n=o.path[r];r===o.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof o))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.util.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}t.ZodError=o,o.create=e=>new o(e)},61:function(e,t,n){var r=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=r(n(871));t.defaultErrorMap=o.default;let a=o.default},923:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(61),t),o(n(818),t),o(n(515),t),o(n(709),t),o(n(155),t),o(n(348),t)},538:(e,t)=>{var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.errorUtil=void 0,(r=n||(t.errorUtil=n={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},r.toString=e=>"string"==typeof e?e:e?.message},818:function(e,t,n){var r=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,n){let r=(0,o.getErrorMap)(),i=(0,t.makeIssue)({issueData:n,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===a.default?void 0:a.default].filter(e=>!!e)});e.common.issues.push(i)};let o=n(61),a=r(n(871));t.makeIssue=e=>{let{data:t,path:n,errorMaps:r,issueData:o}=e,a=[...n,...o.path||[]],i={...o,path:a};if(void 0!==o.message)return{...o,path:a,message:o.message};let l="";for(let e of r.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,n){let r=[];for(let o of n){if("aborted"===o.status)return t.INVALID;"dirty"===o.status&&e.dirty(),r.push(o.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,r=await e.value;n.push({key:t,value:r})}return i.mergeObjectSync(e,n)}static mergeObjectSync(e,n){let r={};for(let o of n){let{key:n,value:a}=o;if("aborted"===n.status||"aborted"===a.status)return t.INVALID;"dirty"===n.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"!==n.value&&(void 0!==a.value||o.alwaysSet)&&(r[n.value]=a.value)}return{status:e.value,value:r}}}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 n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.getParsedType=t.ZodParsedType=t.objectUtil=t.util=void 0,(o=n||(t.util=n={})).assertEqual=e=>{},o.assertIs=function(e){},o.assertNever=function(e){throw Error()},o.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},o.getValidEnumValues=e=>{let t=o.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let r of t)n[r]=e[r];return o.objectValues(n)},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 n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},o.find=(e,t)=>{for(let n of e)if(t(n))return n},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,(r||(t.objectUtil=r={})).mergeShapes=(e,t)=>({...e,...t}),t.ZodParsedType=n.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,n)=>{Object.defineProperty(t,"__esModule",{value:!0});let r=n(348),o=n(709);t.default=(e,t)=>{let n;switch(e.code){case r.ZodIssueCode.invalid_type:n=e.received===o.ZodParsedType.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case r.ZodIssueCode.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,o.util.jsonStringifyReplacer)}`;break;case r.ZodIssueCode.unrecognized_keys:n=`Unrecognized key(s) in object: ${o.util.joinValues(e.keys,", ")}`;break;case r.ZodIssueCode.invalid_union:n="Invalid input";break;case r.ZodIssueCode.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${o.util.joinValues(e.options)}`;break;case r.ZodIssueCode.invalid_enum_value:n=`Invalid enum value. Expected ${o.util.joinValues(e.options)}, received '${e.received}'`;break;case r.ZodIssueCode.invalid_arguments:n="Invalid function arguments";break;case r.ZodIssueCode.invalid_return_type:n="Invalid function return type";break;case r.ZodIssueCode.invalid_date:n="Invalid date";break;case r.ZodIssueCode.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:o.util.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case r.ZodIssueCode.too_small:n="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 r.ZodIssueCode.too_big:n="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 r.ZodIssueCode.custom:n="Invalid input";break;case r.ZodIssueCode.invalid_intersection_types:n="Intersection results could not be merged";break;case r.ZodIssueCode.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case r.ZodIssueCode.not_finite:n="Number must be finite";break;default:n=t.defaultError,o.util.assertNever(e)}return{message:n}}},155:(e,t,n)=>{var r,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=I,t.custom=ev;let i=n(348),l=n(61),s=n(538),c=n(818),u=n(709);class d{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}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:n,required_error:r,description:o}=e;if(t&&(n||r))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??r??o.defaultError}:"invalid_type"!==t.code?{message:o.defaultError}:{message:a??n??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 n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={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)},r=this._parseSync({data:e,path:n.path,parent:n});return f(n,r)}"~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 n=this._parseSync({data:e,path:[],parent:t});return(0,c.isValid)(n)?{value:n.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 n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,u.getParsedType)(e)},r=this._parse({data:e,path:n.path,parent:n});return f(n,await ((0,c.isAsync)(r)?r:Promise.resolve(r)))}refine(e,t){return this._refinement((n,r)=>{let o=e(n),a=()=>r.addIssue({code:i.ZodIssueCode.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(n):t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(e=>!!e||(a(),!1)):!!o||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new es({schema:this,typeName:r.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 $.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:r.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ed({...p(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:r.ZodDefault})}brand(){return new eh({typeName:r.ZodBranded,type:this,...p(this._def)})}catch(e){return new ef({...p(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:r.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]+$/,y=/^[0-9A-HJKMNP-TV-Z]{26}$/i,v=/^[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-_]*$/,w=/^[-+]?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)?)??$/,_=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,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])$/,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])\/(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]))$/,O=/^(([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])$/,C=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,P=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,E="((\\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])))",T=RegExp(`^${E}$`);function N(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function I(e){let t=`${E}T${N(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}class L extends h{_parse(e){var t,n,r,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.length<d.value&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),s.dirty());else if("max"===d.kind)e.data.length>d.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,n=e.data.length<d.value;(t||n)&&(l=this._getOrReturnCtx(e,l),t?(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}):n&&(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}),s.dirty())}else if("email"===d.kind)_.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"email",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("emoji"===d.kind)a||(a=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),a.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"emoji",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("uuid"===d.kind)v.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"uuid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("nanoid"===d.kind)b.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"nanoid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("cuid"===d.kind)m.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"cuid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("cuid2"===d.kind)g.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"cuid2",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("ulid"===d.kind)y.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"ulid",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty());else if("url"===d.kind)try{new URL(e.data)}catch{l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"url",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()}else"regex"===d.kind?(d.regex.lastIndex=0,d.regex.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"regex",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty())):"trim"===d.kind?e.data=e.data.trim():"includes"===d.kind?e.data.includes(d.value,d.position)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),s.dirty()):"toLowerCase"===d.kind?e.data=e.data.toLowerCase():"toUpperCase"===d.kind?e.data=e.data.toUpperCase():"startsWith"===d.kind?e.data.startsWith(d.value)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:{startsWith:d.value},message:d.message}),s.dirty()):"endsWith"===d.kind?e.data.endsWith(d.value)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:{endsWith:d.value},message:d.message}),s.dirty()):"datetime"===d.kind?I(d).test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:"datetime",message:d.message}),s.dirty()):"date"===d.kind?T.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:"date",message:d.message}),s.dirty()):"time"===d.kind?RegExp(`^${N(d)}$`).test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{code:i.ZodIssueCode.invalid_string,validation:"time",message:d.message}),s.dirty()):"duration"===d.kind?w.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"duration",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):"ip"===d.kind?(t=e.data,!(("v4"===(n=d.version)||!n)&&j.test(t)||("v6"===n||!n)&&S.test(t))&&1&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"ip",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty())):"jwt"===d.kind?!function(e,t){if(!x.test(e))return!1;try{let[n]=e.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));if("object"!=typeof o||null===o||"typ"in o&&o?.typ!=="JWT"||!o.alg||t&&o.alg!==t)return!1;return!0}catch{return!1}}(e.data,d.alg)&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"jwt",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):"cidr"===d.kind?(r=e.data,!(("v4"===(o=d.version)||!o)&&k.test(r)||("v6"===o||!o)&&O.test(r))&&1&&(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"cidr",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty())):"base64"===d.kind?C.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"base64",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):"base64url"===d.kind?P.test(e.data)||(l=this._getOrReturnCtx(e,l),(0,c.addIssueToContext)(l,{validation:"base64url",code:i.ZodIssueCode.invalid_string,message:d.message}),s.dirty()):u.util.assertNever(d);return{status:s.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:i.ZodIssueCode.invalid_string,...s.errorUtil.errToObj(n)})}_addCheck(e){return new L({...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 L({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new L({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new L({...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.value<e)&&(e=t.value);return e}}t.ZodString=L,L.create=e=>new L({checks:[],typeName:r.ZodString,coerce:e?.coerce??!1,...p(e)});class A 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 n=new c.ParseStatus;for(let r of this._def.checks)"int"===r.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:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r;return Number.parseInt(e.toFixed(o).replace(".",""))%Number.parseInt(t.toFixed(o).replace(".",""))/10**o}(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_finite,message:r.message}),n.dirty()):u.util.assertNever(r);return{status:n.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,n,r){return new A({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:s.errorUtil.toString(r)}]})}_addCheck(e){return new A({...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<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&u.util.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;else"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}}t.ZodNumber=A,A.create=e=>new A({checks:[],typeName:r.ZodNumber,coerce:e?.coerce||!1,...p(e)});class z 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 n=new c.ParseStatus;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):u.util.assertNever(r);return{status:n.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,n,r){return new z({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:s.errorUtil.toString(r)}]})}_addCheck(e){return new z({...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.value<e)&&(e=t.value);return e}}t.ZodBigInt=z,z.create=e=>new z({checks:[],typeName:r.ZodBigInt,coerce:e?.coerce??!1,...p(e)});class R 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=R,R.create=e=>new R({typeName:r.ZodBoolean,coerce:e?.coerce||!1,...p(e)});class D 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 n=new c.ParseStatus;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(t=this._getOrReturnCtx(e,t),(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):u.util.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new D({...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.value<e)&&(e=t.value);return null!=e?new Date(e):null}}t.ZodDate=D,D.create=e=>new D({checks:[],coerce:e?.coerce||!1,typeName:r.ZodDate,...p(e)});class M 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=M,M.create=e=>new M({typeName:r.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:r.ZodUndefined,...p(e)});class U 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=U,U.create=e=>new U({typeName:r.ZodNull,...p(e)});class F extends h{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,c.OK)(e.data)}}t.ZodAny=F,F.create=e=>new F({typeName:r.ZodAny,...p(e)});class H extends h{constructor(){super(...arguments),this._unknown=!0}_parse(e){return(0,c.OK)(e.data)}}t.ZodUnknown=H,H.create=e=>new H({typeName:r.ZodUnknown,...p(e)});class V 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=V,V.create=e=>new V({typeName:r.ZodNever,...p(e)});class B 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=B,B.create=e=>new B({typeName:r.ZodVoid,...p(e)});class $ extends h{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=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!==r.exactLength){let e=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value;(e||o)&&((0,c.addIssueToContext)(t,{code:e?i.ZodIssueCode.too_big:i.ZodIssueCode.too_small,minimum:o?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&((0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&((0,c.addIssueToContext)(t,{code:i.ZodIssueCode.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new d(t,e,t.path,n)))).then(e=>c.ParseStatus.mergeArray(n,e));let o=[...t.data].map((e,n)=>r.type._parseSync(new d(t,e,t.path,n)));return c.ParseStatus.mergeArray(n,o)}get element(){return this._def.type}min(e,t){return new $({...this._def,minLength:{value:e,message:s.errorUtil.toString(t)}})}max(e,t){return new $({...this._def,maxLength:{value:e,message:s.errorUtil.toString(t)}})}length(e,t){return new $({...this._def,exactLength:{value:e,message:s.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}t.ZodArray=$,$.create=(e,t)=>new $({type:e,minLength:null,maxLength:null,exactLength:null,typeName:r.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:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof V&&"strip"===this._def.unknownKeys))for(let e in n.data)o.includes(e)||a.push(e);let l=[];for(let e of o){let t=r[e],o=n.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new d(n,o,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof V){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)l.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&((0,c.addIssueToContext)(n,{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 r=n.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new d(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let n=await t.key,r=await t.value;e.push({key:n,value:r,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,n)=>{let r=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:s.errorUtil.errToObj(e).message??r}:{message:r}}}:{}})}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:r.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new q({...this._def,catchall:e})}pick(e){let t={};for(let n of u.util.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new q({...this._def,shape:()=>t})}omit(e){let t={};for(let n of u.util.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new q({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof q){let n={};for(let r in t.shape){let o=t.shape[r];n[r]=ec.create(e(o))}return new q({...t._def,shape:()=>n})}if(t instanceof $)return new $({...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 n of u.util.objectKeys(this.shape)){let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}return new q({...this._def,shape:()=>t})}required(e){let t={};for(let n of u.util.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof ec;)e=e._def.innerType;t[n]=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:V.create(),typeName:r.ZodObject,...p(t)}),q.strictCreate=(e,t)=>new q({shape:()=>e,unknownKeys:"strict",catchall:V.create(),typeName:r.ZodObject,...p(t)}),q.lazycreate=(e,t)=>new q({shape:e,unknownKeys:"strip",catchall:V.create(),typeName:r.ZodObject,...p(t)});class W extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new i.ZodError(e.ctx.common.issues));return(0,c.addIssueToContext)(t,{code:i.ZodIssueCode.invalid_union,unionErrors:n}),c.INVALID});{let e,r=[];for(let o of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=o._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let o=r.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:r.ZodUnion,...p(t)});let K=e=>{if(e instanceof en)return K(e.schema);if(e instanceof es)return K(e.innerType());if(e instanceof er)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 U)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 n=this.discriminator,r=t.data[n],o=this.optionsMap.get(r);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:[n]}),c.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let o=new Map;for(let n of t){let t=K(n.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let r of t){if(o.has(r))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(r)}`);o.set(r,n)}}return new Y({typeName:r.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:o,...p(n)})}}t.ZodDiscriminatedUnion=Y;class X extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if((0,c.isAborted)(e)||(0,c.isAborted)(r))return c.INVALID;let o=function e(t,n){let r=(0,u.getParsedType)(t),o=(0,u.getParsedType)(n);if(t===n)return{valid:!0,data:t};if(r===u.ZodParsedType.object&&o===u.ZodParsedType.object){let r=u.util.objectKeys(n),o=u.util.objectKeys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of o){let o=e(t[r],n[r]);if(!o.valid)return{valid:!1};a[r]=o.data}return{valid:!0,data:a}}if(r===u.ZodParsedType.array&&o===u.ZodParsedType.array){if(t.length!==n.length)return{valid:!1};let r=[];for(let o=0;o<t.length;o++){let a=e(t[o],n[o]);if(!a.valid)return{valid:!1};r.push(a.data)}return{valid:!0,data:r}}if(r===u.ZodParsedType.date&&o===u.ZodParsedType.date&&+t==+n)return{valid:!0,data:t};return{valid:!1}}(e.value,r.value);return o.valid?(((0,c.isDirty)(e)||(0,c.isDirty)(r))&&t.dirty(),{status:t.value,value:o.data}):((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_intersection_types}),c.INVALID)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}t.ZodIntersection=X,X.create=(e,t,n)=>new X({left:e,right:t,typeName:r.ZodIntersection,...p(n)});class G extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.array)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.array,received:n.parsedType}),c.INVALID;if(n.data.length<this._def.items.length)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),c.INVALID;!this._def.rest&&n.data.length>this._def.items.length&&((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new d(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>c.ParseStatus.mergeArray(t,e)):c.ParseStatus.mergeArray(t,r)}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:r.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:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.object)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.object,received:n.parsedType}),c.INVALID;let r=[],o=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:o._parse(new d(n,e,n.path,e)),value:a._parse(new d(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?c.ParseStatus.mergeObjectAsync(t,r):c.ParseStatus.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new Q(t instanceof h?{keyType:e,valueType:t,typeName:r.ZodRecord,...p(n)}:{keyType:L.create(),valueType:e,typeName:r.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:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.map)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.map,received:n.parsedType}),c.INVALID;let r=this._def.keyType,o=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new d(n,e,n.path,[a,"key"])),value:o._parse(new d(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,o=await n.value;if("aborted"===r.status||"aborted"===o.status)return c.INVALID;("dirty"===r.status||"dirty"===o.status)&&t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of a){let r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return c.INVALID;("dirty"===r.status||"dirty"===o.status)&&t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}}}t.ZodMap=J,J.create=(e,t,n)=>new J({valueType:t,keyType:e,typeName:r.ZodMap,...p(n)});class ee extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.ZodParsedType.set)return(0,c.addIssueToContext)(n,{code:i.ZodIssueCode.invalid_type,expected:u.ZodParsedType.set,received:n.parsedType}),c.INVALID;let r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&((0,c.addIssueToContext)(n,{code:i.ZodIssueCode.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let o=this._def.valueType;function a(e){let n=new Set;for(let r of e){if("aborted"===r.status)return c.INVALID;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let l=[...n.data.values()].map((e,t)=>o._parse(new d(n,e,n.path,t)));return n.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:r.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 n(e,n){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:n}})}function r(e,n){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:n}})}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(n(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(r(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([n(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([r(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(H.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,n){return new et({args:e||G.create([]).rest(H.create()),returns:t||H.create(),typeName:r.ZodFunction,...p(n)})}}t.ZodFunction=et;class en 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=en,en.create=(e,t)=>new en({getter:e,typeName:r.ZodLazy,...p(t)});class er 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:r.ZodEnum,...p(t)})}t.ZodLiteral=er,er.create=(e,t)=>new er({value:e,typeName:r.ZodLiteral,...p(t)});class ea extends h{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return(0,c.addIssueToContext)(t,{expected:u.util.joinValues(n),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),n=this._def.values;return(0,c.addIssueToContext)(t,{received:t.data,code:i.ZodIssueCode.invalid_enum_value,options:n}),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),n=this._getOrReturnCtx(e);if(n.parsedType!==u.ZodParsedType.string&&n.parsedType!==u.ZodParsedType.number){let e=u.util.objectValues(t);return(0,c.addIssueToContext)(n,{expected:u.util.joinValues(e),received:n.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)(n,{received:n.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:r.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 n=t.parsedType===u.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,c.OK)(n.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:r.ZodPromise,...p(t)});class es extends h{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===r.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,o={addIssue:e=>{(0,c.addIssueToContext)(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),"preprocess"===r.type){let e=r.transform(n.data,o);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return c.INVALID;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?c.INVALID:"dirty"===r.status||"dirty"===t.value?(0,c.DIRTY)(r.value):r});{if("aborted"===t.value)return c.INVALID;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?c.INVALID:"dirty"===r.status||"dirty"===t.value?(0,c.DIRTY)(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,o);if(n.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!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?c.INVALID:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?c.INVALID:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type)if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>(0,c.isValid)(e)?Promise.resolve(r.transform(e.value,o)).then(e=>({status:t.value,value:e})):c.INVALID);else{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!(0,c.isValid)(e))return c.INVALID;let a=r.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(r)}}t.ZodEffects=es,t.ZodTransformer=es,es.create=(e,t,n)=>new es({schema:e,typeName:r.ZodEffects,effect:t,...p(n)}),es.createWithPreprocess=(e,t,n)=>new es({schema:t,effect:{type:"preprocess",transform:e},typeName:r.ZodEffects,...p(n)});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:r.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:r.ZodNullable,...p(t)});class ed extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===u.ZodParsedType.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}t.ZodDefault=ed,ed.create=(e,t)=>new ed({innerType:e,typeName:r.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...p(t)});class ef extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return(0,c.isAsync)(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new i.ZodError(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new i.ZodError(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}t.ZodCatch=ef,ef.create=(e,t)=>new ef({innerType:e,typeName:r.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:r.ZodNaN,...p(e)}),t.BRAND=Symbol("zod_brand");class eh extends h{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}t.ZodBranded=eh;class em extends h{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?c.INVALID:"dirty"===e.status?(t.dirty(),(0,c.DIRTY)(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?c.INVALID:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new em({in:e,out:t,typeName:r.ZodPipeline})}}t.ZodPipeline=em;class eg extends h{_parse(e){let t=this._def.innerType._parse(e),n=e=>((0,c.isValid)(e)&&(e.value=Object.freeze(e.value)),e);return(0,c.isAsync)(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function ey(e,t){let n="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof n?{message:n}:n}function ev(e,t={},n){return e?F.create().superRefine((r,o)=>{let a=e(r);if(a instanceof Promise)return a.then(e=>{if(!e){let e=ey(t,r),a=e.fatal??n??!0;o.addIssue({code:"custom",...e,fatal:a})}});if(!a){let e=ey(t,r),a=e.fatal??n??!0;o.addIssue({code:"custom",...e,fatal:a})}}):F.create()}t.ZodReadonly=eg,eg.create=(e,t)=>new eg({innerType:e,typeName:r.ZodReadonly,...p(t)}),t.late={object:q.lazycreate},(o=r||(t.ZodFirstPartyTypeKind=r={})).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}`})=>ev(t=>t instanceof e,t);let eb=L.create;t.string=eb;let ex=A.create;t.number=ex,t.nan=ep.create,t.bigint=z.create;let ew=R.create;t.boolean=ew,t.date=D.create,t.symbol=M.create,t.undefined=Z.create,t.null=U.create,t.any=F.create,t.unknown=H.create,t.never=V.create,t.void=B.create,t.array=$.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=en.create,t.literal=er.create,t.enum=ea.create,t.nativeEnum=ei.create,t.promise=el.create;let e_=es.create;t.effect=e_,t.transformer=e_,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=()=>ew().optional(),t.coerce={string:e=>L.create({...e,coerce:!0}),number:e=>A.create({...e,coerce:!0}),boolean:e=>R.create({...e,coerce:!0}),bigint:e=>z.create({...e,coerce:!0}),date:e=>D.create({...e,coerce:!0})},t.NEVER=c.INVALID}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}},i=!0;try{t[e].call(a.exports,a,a.exports,r),i=!1}finally{i&&delete n[e]}return a.exports}r.ab="//",e.exports=r(629)})()}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.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(n,r){if(1&r&&(n=this(n)),8&r||"object"==typeof n&&n&&(4&r&&n.__esModule||16&r&&"function"==typeof n.then))return n;var o=Object.create(null);__webpack_require__.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>{a[e]=()=>n[e]});return a.default=()=>n,__webpack_require__.d(o,a),o}})(),__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__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";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{DevOverlayContext:()=>dx,dispatcher:()=>dv,renderPagesDevOverlay:()=>dO,getSerializedOverlayState:()=>dm,useDevOverlayContext:()=>dw,renderAppDevOverlay:()=>dS,getSegmentTrieData:()=>dg});var e,t,n,r,o,a,i,l,s,c=__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"),u=__webpack_require__.n(c),d=__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"),f=__webpack_require__.n(d),p=__webpack_require__("./src/build/webpack/loaders/devtool/devtool-style-inject.js"),h=__webpack_require__.n(p),m=__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"),g=__webpack_require__.n(m),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/insertStyleElement.js"),v=__webpack_require__.n(y),b=__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"),x=__webpack_require__.n(b),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/global.css"),_={};_.styleTagTransform=x(),_.setAttributes=g(),_.insert=h(),_.domAPI=f(),_.insertStyleElement=v(),u()(w.A,_),w.A&&w.A.locals&&w.A.locals;var j=__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=x(),k.setAttributes=g(),k.insert=h(),k.domAPI=f(),k.insertStyleElement=v(),u()(j.A,k),j.A&&j.A.locals&&j.A.locals;var S=__webpack_require__("./dist/compiled/react/jsx-runtime.js"),O=__webpack_require__("./dist/compiled/react/compiler-runtime.js"),C=__webpack_require__("./dist/compiled/react/index.js"),P=__webpack_require__.t(C,2),E=__webpack_require__("./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js"),T=/\/_next(\/static\/.+)/,N=Symbol.for("next.console.error.digest");function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){I(e,t,n[t])})}return e}function A(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var z={Small:16/14,Medium:1,Large:16/18},R="cache-indicator",D="static-indicator",M="build-ok",Z="build-error",U="before-fast-refresh",F="fast-refresh",H="version-info",V="unhandled-error",B="unhandled-rejection",$="debug-info",q="dev-indicator",W="dev-indicator-disable",K="error-overlay-open",Y="error-overlay-close",X="error-overlay-toggle",G="building-indicator-show",Q="building-indicator-hide",J="rendering-indicator-show",ee="rendering-indicator-hide",et="devtools-position",en="devtools-panel-position",er="devtools-scale",eo="devtools-config",ea="__nextjs-dev-tools-panel-position",ei="__nextjs-dev-tools-panel-size",el="__nextjs-dev-tools-shared-panel-size",es="__nextjs-dev-tools-shared-panel-location",ec="segment-explorer-update-route-state",eu=/\s+(at Object\.react_stack_bottom_frame.*)|(react_stack_bottom_frame@.*)|(at react-stack-bottom-frame.*)|(react-stack-bottom-frame@.*)/;function ed(e){return null==e?void 0:e.split(eu)[0]}var ef=(null==(a=process.env.__NEXT_DEV_INDICATOR)?void 0:a.toString())==="false",ep=null!=(i=process.env.__NEXT_DEV_INDICATOR_POSITION)?i:"bottom-left",eh={nextId:1,buildError:null,errors:[],notFound:!1,renderingIndicator:!1,cacheIndicator:"disabled",staticIndicator:"disabled",showIndicator:!1,disableDevIndicator:!1,buildingIndicator:!1,refreshState:{type:"idle"},versionInfo:{installed:"0.0.0",staleness:"unknown"},debugInfo:{devtoolsFrontendUrl:void 0},devToolsPosition:ep,devToolsPanelPosition:I({},es,ep),devToolsPanelSize:{},scale:z.Medium,page:"",theme:"system",hideShortcut:null},em=__webpack_require__("./dist/compiled/react-dom/client.js");function eg(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.length-1;return(e.slice(0,o).reduce(function(e,t,r){return e+t+n[r]},"")+e[o]).replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s+/g," ").replace(/\s*([:;,{}])\s*/g,"$1").replace(/;+}/g,"}").trim()}function ey(){var e,t,n=(e=["\n      /* latin-ext */\n      @font-face {\n        font-family: '__nextjs-Geist';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-latin-ext.woff2) format('woff2');\n        unicode-range:\n          U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n          U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n          U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n      }\n      /* latin-ext */\n      @font-face {\n        font-family: '__nextjs-Geist Mono';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-mono-latin-ext.woff2) format('woff2');\n        unicode-range:\n          U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n          U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n          U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n      }\n      /* latin */\n      @font-face {\n        font-family: '__nextjs-Geist';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-latin.woff2) format('woff2');\n        unicode-range:\n          U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n          U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n          U+2212, U+2215, U+FEFF, U+FFFD;\n      }\n      /* latin */\n      @font-face {\n        font-family: '__nextjs-Geist Mono';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-mono-latin.woff2) format('woff2');\n        unicode-range:\n          U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n          U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n          U+2212, U+2215, U+FEFF, U+FFFD;\n      }\n    "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return ey=function(){return n},n}var ev=function(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],(0,C.useInsertionEffect)(eb,e),null};function eb(){var e=document.createElement("style");return e.textContent=eg(ey()),document.head.appendChild(e),function(){document.head.removeChild(e)}}var ex=__webpack_require__("./dist/compiled/react-dom/index.js");function ew(e){var t,n=(0,O.c)(3),r=e.children,o=dw().shadowRoot;return n[0]!==r||n[1]!==o?(t=(0,ex.createPortal)(r,o),n[0]=r,n[1]=o,n[2]=t):t=n[2],t}function e_(e){if(""===e.trim())throw Error("can't decode empty hex");var t=parseInt(e,16);if(isNaN(t))throw Error("invalid hex: `".concat(e,"`"));return String.fromCodePoint(t)}var ej=/^__TURBOPACK__([a-zA-Z0-9_$]+)__$/,ek=/__TURBOPACK__[a-zA-Z0-9_$]+__/g;function eS(e){return e.replace(/\[project\]/g,".").replace(/\s\[([^\]]*)\]/g,"").replace(/\s\(([^)]*)\)/g,"").replace(/\s<([^>]*)>/g,"").trim()}function eO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var eC=/https?:\/\/[^\s/$.?#].[^\s)'"]*/i,eP=function(e){var t,n=(0,O.c)(7),r=e.text,o=e.matcher;if(n[0]!==o||n[1]!==r){var a,i,l=function(e){for(var t=e.replace(RegExp("\\(0\\s*,\\s*(__TURBOPACK__[a-zA-Z0-9_$]+__\\.[\\p{ID_Start}_$][\\p{ID_Continue}$]*)\\)","u"),"$1"),n=[],r=0,o=RegExp(ek.source,"g"),a=o.exec(t);null!==a;a=o.exec(t)){var i=a.index,l=o.lastIndex,s=a[0];if(i>r){var c=t.substring(r,i);n.push(["raw",c])}try{var u=function(e){var t=e.match(ej);if(!t)return e;for(var n=t[1],r="",o=0,a="",i=0;i<n.length;i++){var l=n[i];if(0===o)"_"===l?o=1:"$"===l?o=2:r+=l;else if(1===o)"_"===l?(r+=" ",o=0):"$"===l?(r+="_",o=2):(r+=l,o=0);else if(2===o)if(2===a.length&&(r+=e_(a),a=""),"_"===l){if(""!==a)throw Error("invalid hex: `".concat(a,"`"));o=3}else if("$"===l){if(""!==a)throw Error("invalid hex: `".concat(a,"`"));o=0}else a+=l;else if(3===o)if("_"===l)throw Error("invalid hex: `".concat(a+l,"`"));else"$"===l?(r+=e_(a),a="",o=0):a+=l}return r}(s);if(u!==s){var d=u.match(/^imported module (.+)$/);if(d){var f=d[1],p=eS(f);n.push(["deobfuscated","{imported module ".concat(p,"}")])}else{var h=eS(u);n.push(["deobfuscated","{".concat(h,"}")])}}else n.push(["raw",s])}catch(e){n.push(["deobfuscated","{".concat(s," (decoding failed: ").concat(e,")}")])}r=l}if(r<t.length){var m=t.substring(r);n.push(["raw",m])}return n}(r);n[3]!==o?(i=function(e,t){var n,r=function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(n,2)||function(e,t){if(e){if("string"==typeof e)return eO(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eO(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=r[0],i=r[1];if("raw"===a)return i.split(/(\s+|https?:\/\/[^\s/$.?#].[^\s)'"]*)/).map(function(e,n){if(!eC.test(e))return(0,S.jsx)(C.Fragment,{children:e},"text-".concat(t,"-").concat(n));var r=eC.exec(e)[0],a=null;return"function"==typeof o&&null===(a=o(r))?(0,S.jsx)(C.Fragment,{children:e},"link-".concat(t,"-").concat(n)):(0,S.jsx)(C.Fragment,{children:(0,S.jsx)("a",{href:r,target:"_blank",rel:"noreferrer noopener",className:a||void 0,children:e})},"link-".concat(t,"-").concat(n))});if("deobfuscated"===a)return(0,S.jsx)("i",{children:i},"ident-".concat(t));throw Error("Unknown text part type: ".concat(a))},n[3]=o,n[4]=i):i=n[4],a=l.map(i),n[0]=o,n[1]=r,n[2]=a}else a=n[2];return n[5]!==a?(t=(0,S.jsx)(S.Fragment,{children:a}),n[5]=a,n[6]=t):t=n[6],t},eE=[/^webpack-internal:\/\/\/(\([\w-]+\)\/)?/,/^(webpack:\/\/\/|webpack:\/\/(_N_E\/)?)(\([\w-]+\)\/)?/];function eT(e){var t=!0,n=!1,r=void 0;try{for(var o,a=eE[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;if(i.test(e))return!0;e=e.replace(i,"")}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return!1}function eN(e){var t=!0,n=!1,r=void 0;try{for(var o,a=eE[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;e=e.replace(i,"")}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return e}function eI(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function eL(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){eI(a,r,o,i,l,"next",e)}function l(e){eI(a,r,o,i,l,"throw",e)}i(void 0)})}}function eA(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}function ez(e,t){var n;return"file://"===e.file||(null==(n=e.file)?void 0:n.match(/https?:\/\//))?Promise.resolve({error:!1,reason:null,external:!0,sourceStackFrame:e,originalStackFrame:null,originalCodeFrame:null,ignored:!0}):eL(function(){var n,r;return eA(this,function(o){if("rejected"===t.status)throw Error(t.reason);return[2,{error:!1,reason:null,external:!1,sourceStackFrame:e,originalStackFrame:(r=t.value).originalStackFrame,originalCodeFrame:r.originalCodeFrame||null,ignored:(null==(n=r.originalStackFrame)?void 0:n.ignored)||!1}]})})().catch(function(t){var n,r;return{error:!0,reason:null!=(r=null!=(n=null==t?void 0:t.message)?n:null==t?void 0:t.toString())?r:"Unknown Error",external:!1,sourceStackFrame:e,originalStackFrame:null,originalCodeFrame:null,ignored:!1}})}function eR(e,t,n){return eL(function(){var r,o,a,i;return eA(this,function(l){switch(l.label){case 0:r={frames:e,isServer:"server"===t,isEdgeServer:"edge-server"===t,isAppDirectory:n},o=void 0,a=void 0,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,fetch("/__nextjs_original-stack-frames",{method:"POST",body:JSON.stringify(r)})];case 2:return o=l.sent(),[3,4];case 3:return a=l.sent()+"",[3,4];case 4:if(!(o&&o.ok&&204!==o.status))return[3,6];return[4,o.json()];case 5:return i=l.sent(),[2,Promise.all(e.map(function(e,t){return ez(e,i[t])}))];case 6:if(!o)return[3,8];return[4,o.text()];case 7:a=l.sent(),l.label=8;case 8:return[2,Promise.all(e.map(function(e){return ez(e,{status:"rejected",reason:"Failed to fetch the original stack frames ".concat(a?": ".concat(a):"")})}))]}})})()}function eD(e){if(!e.file)return"";var t=eT(e.file),n="";if(t)n=eN(e.file);else try{var r,o=new URL(e.file),a="";(null==(r=globalThis.location)?void 0:r.origin)!==o.origin&&("null"===o.origin?a+=o.protocol:a+=o.origin),a+=o.pathname,n=eN(a)}catch(t){n=eN(e.file)}return!eT(e.file)&&null!=e.line1&&n&&"<anonymous>"!==e.file&&(null!=e.column1?n+=" (".concat(e.line1,":").concat(e.column1,")"):n+=" (".concat(e.line1,")")),n}function eM(e){var t,n,r=(0,O.c)(6);r[0]!==e?(t=void 0===e?{}:e,r[0]=e,r[1]=t):t=r[1];var o=t.file,a=t.line1,i=t.column1;return r[2]!==i||r[3]!==o||r[4]!==a?(n=function(){if(null!=o&&null!=a&&null!=i){var e=new URLSearchParams;e.append("file",o),e.append("line1",String(a)),e.append("column1",String(i)),self.fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_launch-editor?").concat(e.toString())).then(eZ,function(e){console.error('Failed to open file "'.concat(o," (").concat(a,":").concat(i,')" in your editor. Cause:'),e)})}},r[2]=i,r[3]=o,r[4]=a,r[5]=n):n=r[5],n}function eZ(){}function eU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function eF(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function eH(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",eF(eU({xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function eV(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",eF(eU({xmlns:"http://www.w3.org/2000/svg",height:"16",strokeLinejoin:"round",viewBox:"-4 -4 24 24",width:"16"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function eB(e){var t,n,r,o,a,i,l=(0,O.c)(6),s=e.lang;if(!s)return l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(eK,{}),l[0]=t):t=l[0],t;switch(s.toLowerCase()){case"jsx":case"tsx":return l[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)(eY,{}),l[1]=n):n=l[1],n;case"ts":case"typescript":return l[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(eW,{}),l[2]=r):r=l[2],r;case"javascript":case"js":case"mjs":return l[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.jsx)(eq,{}),l[3]=o):o=l[3],o;case"json":return l[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)(e$,{}),l[4]=a):a=l[4],a;default:return l[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsx)(eK,{}),l[5]=i):i=l[5],i}}function e$(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{clipRule:"evenodd",fillRule:"evenodd",height:"16",viewBox:"0 0 1321.45 1333.33",width:"16",children:(0,S.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 eq(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{height:"16",viewBox:"0 0 50 50",width:"16",xmlns:"http://www.w3.org/2000/svg",children:(0,S.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 eW(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsxs)("svg",{fill:"none",height:"14",viewBox:"0 0 512 512",width:"14",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),(0,S.jsx)("rect",{fill:"currentColor",height:"512",rx:"50",width:"512"}),(0,S.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 eK(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.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 eY(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#file_react_clip0_872_3183)",children:(0,S.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"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"file_react_clip0_872_3183",children:(0,S.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),n[1]=t):t=n[1],t}var eX=__webpack_require__("./dist/compiled/anser/index.js"),eG=__webpack_require__.n(eX),eQ=__webpack_require__("./dist/compiled/strip-ansi/index.js"),eJ=__webpack_require__.n(eQ);function e0(e){var t=e.split(/\r?\n/g),n=t.map(function(e){return null===/^>? +\d+ +\| [ ]+/.exec(eJ()(e))?null:/^>? +\d+ +\| ( *)/.exec(eJ()(e))}).filter(Boolean).map(function(e){return e.pop()}).reduce(function(e,t){return isNaN(e)?t.length:Math.min(e,t.length)},NaN);return n>1?t.map(function(e,t){return~(t=e.indexOf("|"))?e.substring(0,t)+e.substring(t).replace("^\\ {".concat(n,"}"),""):e}).join("\n"):t.join("\n")}function e1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function e2(e){var t,n,r,o=e.stackFrame,a=e.codeFrame,i=(0,C.useMemo)(function(){return(function(e){var t=eG().ansiToJson(e,{json:!0,use_classes:!0,remove_empty:!0}),n=[],r=[],o=!0,a=!1,i=void 0;try{for(var l,s=t[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){var c=l.value;if("string"==typeof c.content&&c.content.includes("\n"))for(var u=c.content.split("\n"),d=0;d<u.length;d++){var f=u[d];f&&r.push(function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},c),{content:f})),d<u.length-1&&(n.push(r),r=[])}else r.push(c)}}catch(e){a=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(a)throw i}}return r.length>0&&n.push(r),n})(e0(a)).map(function(e){var t,n,r,a,i,l,s,c,u;return{line:e,parsedLine:(t=e,n=o,((null==(r=t[0])?void 0:r.content)===">"||(null==(a=t[0])?void 0:a.content)===" ")&&(s=null==(l=t[1])||null==(u=l.content)||null==(c=u.replace("|",""))?void 0:c.trim()),{lineNumber:s,isErroredLine:s===(null==(i=n.line1)?void 0:i.toString())})}})},[a,o]),l=eM({file:o.file,line1:null!=(n=o.line1)?n:1,column1:null!=(r=o.column1)?r:1}),s=null==o||null==(t=o.file)?void 0:t.split(".").pop();return(0,S.jsxs)("div",{"data-nextjs-codeframe":!0,children:[(0,S.jsx)("div",{className:"code-frame-header",children:(0,S.jsxs)("p",{className:"code-frame-link",children:[(0,S.jsx)("span",{className:"code-frame-icon",children:(0,S.jsx)(eB,{lang:s})}),(0,S.jsxs)("span",{"data-text":!0,children:[eD(o)," @"," ",(0,S.jsx)(eP,{text:o.methodName})]}),(0,S.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:l,children:(0,S.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,S.jsx)(eH,{width:16,height:16})})})]})}),(0,S.jsx)("pre",{className:"code-frame-pre",children:(0,S.jsx)("div",{className:"code-frame-lines",children:i.map(function(e,t){var n,r,o=e.line,a=e.parsedLine,i=a.lineNumber,l=a.isErroredLine,s={};return i&&(s["data-nextjs-codeframe-line"]=i),l&&(s["data-nextjs-codeframe-line--errored"]=!0),(0,S.jsx)("div",(n=e1({},s),r=r={children:o.map(function(e,t){return(0,S.jsx)("span",{style:e1({color:e.fg?"var(--color-".concat(e.fg,")"):void 0},"bold"===e.decoration?{fontWeight:500}:"italic"===e.decoration?{fontStyle:"italic"}:void 0),children:e.content},"frame-".concat(t))})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n),"line-".concat(t))})})})]})}var e3=function(e){var t,n,r,o,a,i,l=(0,O.c)(8);return(l[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className"]),r=e.children,o=e.className,l[0]=e,l[1]=r,l[2]=o,l[3]=a):(r=l[1],o=l[2],a=l[3]),l[4]!==r||l[5]!==o||l[6]!==a)?(i=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-body":!0,className:o},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),l[4]=r,l[5]=o,l[6]=a,l[7]=i):i=l[7],i},e4=function(e){var t,n,r,o,a,i,l=(0,O.c)(8);return(l[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className"]),r=e.children,o=e.className,l[0]=e,l[1]=r,l[2]=o,l[3]=a):(r=l[1],o=l[2],a=l[3]),l[4]!==r||l[5]!==o||l[6]!==a)?(i=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-content":!0,className:o},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),l[4]=r,l[5]=o,l[6]=a,l[7]=i):i=l[7],i};function e5(){var e,t,n=(e=["\n  [data-nextjs-dialog-root] {\n    --next-dialog-radius: var(--rounded-xl);\n    --next-dialog-max-width: 960px;\n    --next-dialog-row-padding: 16px;\n    --next-dialog-padding: 12px;\n    --next-dialog-notch-height: 42px;\n    --next-dialog-border-width: 1px;\n\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    max-height: calc(100% - 56px);\n    max-width: var(--next-dialog-max-width);\n    margin-right: auto;\n    margin-left: auto;\n    scale: 0.97;\n    opacity: 0;\n    transition-property: scale, opacity;\n    transition-duration: var(--transition-duration);\n    transition-timing-function: var(--timing-overlay);\n\n    &[data-rendered='true'] {\n      opacity: 1;\n      scale: 1;\n    }\n\n    [data-nextjs-scroll-fader][data-side='top'] {\n      left: 1px;\n      top: calc(\n        var(--next-dialog-notch-height) + var(--next-dialog-border-width)\n      );\n      width: calc(100% - var(--next-dialog-padding));\n      opacity: 0;\n    }\n  }\n\n  [data-nextjs-dialog] {\n    outline: 0;\n  }\n\n  [data-nextjs-dialog-backdrop] {\n    opacity: 0;\n    transition: opacity var(--transition-duration) var(--timing-overlay);\n  }\n\n  [data-nextjs-dialog-overlay] {\n    margin: 8px;\n  }\n\n  [data-nextjs-dialog-overlay][data-rendered='true']\n    [data-nextjs-dialog-backdrop] {\n    opacity: 1;\n  }\n\n  [data-nextjs-dialog-content] {\n    border: none;\n    margin: 0;\n    display: flex;\n    flex-direction: column;\n    position: relative;\n    padding: var(--next-dialog-padding);\n  }\n\n  [data-nextjs-dialog-content] > [data-nextjs-dialog-header] {\n    flex-shrink: 0;\n    margin-bottom: 8px;\n  }\n\n  [data-nextjs-dialog-content] > [data-nextjs-dialog-body] {\n    position: relative;\n    flex: 1 1 auto;\n  }\n\n  @media (max-height: 812px) {\n    [data-nextjs-dialog-overlay] {\n      max-height: calc(100% - 15px);\n    }\n  }\n\n  @media (min-width: 576px) {\n    [data-nextjs-dialog-root] {\n      --next-dialog-max-width: 540px;\n    }\n  }\n\n  @media (min-width: 768px) {\n    [data-nextjs-dialog-root] {\n      --next-dialog-max-width: 720px;\n    }\n  }\n\n  @media (min-width: 992px) {\n    [data-nextjs-dialog-root] {\n      --next-dialog-max-width: 960px;\n    }\n  }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return e5=function(){return n},n}var e6=eg(e5());function e9(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}function e8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function e7(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function te(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return e8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e8(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(e,t){return"reset"===t.type?{state:"initial"}:"copied"===t.type?{state:"success"}:"copying"===t.type?{state:"pending"}:"error"===t.type?{state:"error",error:t.error}:e}function tr(e){return{state:"error",error:e}}function to(){return{state:"success"}}var ta="function"==typeof C.useActionState?function(e){var t,n,r,o,a,i=(0,O.c)(8);i[0]!==e?(t=function(t,n){return"reset"===n?{state:"initial"}:"copy"===n?navigator.clipboard?navigator.clipboard.writeText(e).then(to,tr):{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")?(n={state:"initial"},i[2]=n):n=i[2];var l=tt(C.useActionState(t,n),3),s=l[0],c=l[1],u=l[2];i[3]===Symbol.for("react.memo_cache_sentinel")?(r=function(){C.startTransition(function(){c("copy")})},i[3]=r):r=i[3];var d=r;i[4]===Symbol.for("react.memo_cache_sentinel")?(o=function(){c("reset")},i[4]=o):o=i[4];var f=o;return i[5]!==s||i[6]!==u?(a=[s,d,f,u],i[5]=s,i[6]=u,i[7]=a):a=i[7],a}:function(e){var t,n,r,o,a,i,l,s=(0,O.c)(14);s[0]===Symbol.for("react.memo_cache_sentinel")?(t={state:"initial"},s[0]=t):t=s[0];var c=tt(C.useReducer(tn,t),2),u=c[0],d=c[1];return s[1]!==e||s[2]!==u.state?(s[6]!==e?(a=function(){r||(navigator.clipboard?(d({type:"copying"}),navigator.clipboard.writeText(e).then(function(){d({type:"copied"})},function(e){d({type:"error",error:e})})):d({type:"error",error:"Copy to clipboard is not supported in this browser"}))},s[6]=e,s[7]=a):a=s[7],n=a,s[8]===Symbol.for("react.memo_cache_sentinel")?(i=function(){d({type:"reset"})},s[8]=i):i=s[8],o=i,r="pending"===u.state,s[1]=e,s[2]=u.state,s[3]=n,s[4]=r,s[5]=o):(n=s[3],r=s[4],o=s[5]),s[9]!==n||s[10]!==u||s[11]!==r||s[12]!==o?(l=[u,n,o,r],s[9]=n,s[10]=u,s[11]=r,s[12]=o,s[13]=l):l=s[13],l};function ti(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y=(0,O.c)(38);y[0]!==e?(i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["content","getContent","actionLabel","successLabel","icon","disabled"]),n=e.content,o=e.getContent,t=e.actionLabel,l=e.successLabel,a=e.icon,r=e.disabled,y[0]=e,y[1]=t,y[2]=n,y[3]=r,y[4]=o,y[5]=a,y[6]=i,y[7]=l):(t=y[1],n=y[2],r=y[3],o=y[4],a=y[5],i=y[6],l=y[7]),y[8]!==n||y[9]!==o?(s=n||(o?o():""),y[8]=n,y[9]=o,y[10]=s):s=y[10];var v=tt(ta(s),4),b=v[0],x=v[1],w=v[2],_=v[3],j="error"===b.state?b.error:null;y[11]!==j?(c=function(){null!==j&&console.warn(j)},u=[j],y[11]=j,y[12]=c,y[13]=u):(c=y[12],u=y[13]),C.useEffect(c,u),y[14]!==b.state||y[15]!==w?(d=function(){if("success"===b.state){var e=setTimeout(function(){w()},2e3);return function(){clearTimeout(e)}}},y[14]=b.state,y[15]=w,y[16]=d):d=y[16],y[17]!==b.state||y[18]!==_||y[19]!==w?(f=[_,b.state,w],y[17]=b.state,y[18]=_,y[19]=w,y[20]=f):f=y[20],C.useEffect(d,f);var k=!navigator.clipboard||_||r||!!j,P="success"===b.state?l:t;y[21]!==b.state||y[22]!==a?(p="success"===b.state?(0,S.jsx)(ts,{}):a||(0,S.jsx)(tl,{width:14,height:14,className:"error-overlay-toolbar-button-icon"}),y[21]=b.state,y[22]=a,y[23]=p):p=y[23];var E=p,T="nextjs-data-copy-button--".concat(b.state);y[24]!==e.className||y[25]!==T?(h=e9(e.className,"nextjs-data-copy-button",T),y[24]=e.className,y[25]=T,y[26]=h):h=y[26],y[27]!==x||y[28]!==k?(m=function(){k||x()},y[27]=x,y[28]=k,y[29]=m):m=y[29];var N="error"===b.state?" ".concat(b.error):null;return y[30]!==k||y[31]!==P||y[32]!==E||y[33]!==i||y[34]!==h||y[35]!==m||y[36]!==N?(g=(0,S.jsxs)("button",te(e7({},i),{type:"button",title:P,"aria-label":P,"aria-disabled":k,disabled:k,"data-nextjs-copy-button":!0,className:h,onClick:m,children:[E,N]})),y[30]=k,y[31]=P,y[32]=E,y[33]=i,y[34]=h,y[35]=m,y[36]=N,y[37]=g):g=y[37],g}function tl(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",te(e7({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function ts(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{height:"16",xlinkTitle:"copied",viewBox:"0 0 16 16",width:"16",stroke:"currentColor",fill:"currentColor",children:(0,S.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}function tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tu(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function td(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function tf(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function tp(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.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")?(n=(0,S.jsx)("mask",{id:"nodejs_icon_mask_a",style:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:(0,S.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]=n):n=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:(0,S.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]=r):r=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,S.jsx)("mask",{id:"nodejs_icon_mask_c",style:o,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"14",children:(0,S.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,S.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:(0,S.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,S.jsx)("mask",{id:"nodejs_icon_mask_e",style:l,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:(0,S.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,S.jsxs)("g",{children:[s,(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:(0,S.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,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.943",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".3",stopColor:"#3E863D"}),(0,S.jsx)("stop",{offset:".5",stopColor:"#55934F"}),(0,S.jsx)("stop",{offset:".8",stopColor:"#5AAD45"})]}),h[9]=u):u=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.431",x2:"14.277",y2:"1.818",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".57",stopColor:"#3E863D"}),(0,S.jsx)("stop",{offset:".72",stopColor:"#619857"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#76AC64"})]}),h[10]=d):d=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,S.jsxs)("defs",{children:[u,d,(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.225",y1:"6.998",x2:"13.116",y2:"6.998",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".16",stopColor:"#6BBF47"}),(0,S.jsx)("stop",{offset:".38",stopColor:"#79B461"}),(0,S.jsx)("stop",{offset:".47",stopColor:"#75AC64"}),(0,S.jsx)("stop",{offset:".7",stopColor:"#659E5A"}),(0,S.jsx)("stop",{offset:".9",stopColor:"#3E863D"})]})]}),h[11]=f):f=h[11],h[12]!==e?(p=(0,S.jsxs)("svg",tf(td({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[n,r,a,i,c,f]})),h[12]=e,h[13]=p):p=h[13],p}function th(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.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")?(n=(0,S.jsx)("mask",{id:"nodejs_icon_mask_a",style:t,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"14",height:"14",children:(0,S.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]=n):n=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_a)",children:(0,S.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]=r):r=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,S.jsx)("mask",{id:"nodejs_icon_mask_c",style:o,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"12",height:"15",children:(0,S.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,S.jsx)("g",{mask:"url(#nodejs_icon_mask_c)",children:(0,S.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,S.jsx)("mask",{id:"nodejs_icon_mask_e",style:l,maskUnits:"userSpaceOnUse",x:"1",y:"0",width:"13",height:"14",children:(0,S.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,S.jsxs)("g",{children:[s,(0,S.jsx)("g",{mask:"url(#nodejs_icon_mask_e)",children:(0,S.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,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_b",x1:"10.944",y1:"-1.084",x2:"2.997",y2:"15.062",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".3",stopColor:"#676767"}),(0,S.jsx)("stop",{offset:".5",stopColor:"#858585"}),(0,S.jsx)("stop",{offset:".8",stopColor:"#989A98"})]}),h[9]=u):u=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_d",x1:"-.145",y1:"12.433",x2:"14.277",y2:"1.819",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".57",stopColor:"#747474"}),(0,S.jsx)("stop",{offset:".72",stopColor:"#707070"}),(0,S.jsx)("stop",{offset:"1",stopColor:"#929292"})]}),h[10]=d):d=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,S.jsxs)("defs",{children:[u,d,(0,S.jsxs)("linearGradient",{id:"nodejs_icon_linear_gradient_f",x1:"1.226",y1:"6.997",x2:"13.117",y2:"6.997",gradientUnits:"userSpaceOnUse",children:[(0,S.jsx)("stop",{offset:".16",stopColor:"#878787"}),(0,S.jsx)("stop",{offset:".38",stopColor:"#A9A9A9"}),(0,S.jsx)("stop",{offset:".47",stopColor:"#A5A5A5"}),(0,S.jsx)("stop",{offset:".7",stopColor:"#8F8F8F"}),(0,S.jsx)("stop",{offset:".9",stopColor:"#626262"})]})]}),h[11]=f):f=h[11],h[12]!==e?(p=(0,S.jsxs)("svg",tf(td({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[n,r,a,i,c,f]})),h[12]=e,h[13]=p):p=h[13],p}function tm(e){var t,n=e.defaultDevtoolsFrontendUrl,r=(t=(0,C.useActionState)(function(){var e;return(e=function(){var e,t,n,r;return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(o){switch(o.label){case 0:return o.trys.push([0,5,,6]),[4,fetch("/__nextjs_attach-nodejs-inspector",{method:"POST"})];case 1:if((e=o.sent()).ok)return[3,3];return t=Error.bind,r=(n="".concat(e.status," ").concat(e.statusText,": ")).concat,[4,e.text()];case 2:throw new(t.apply(Error,[void 0,r.apply(n,[o.sent()])]));case 3:return[4,e.json()];case 4:return[2,{status:"fulfilled",value:o.sent()}];case 5:return[2,{status:"rejected",reason:Error("Failed to attach Node.js inspector: "+String(o.sent()))}];case 6:return[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){tu(a,r,o,i,l,"next",e)}function l(e){tu(a,r,o,i,l,"throw",e)}i(void 0)})})()},{status:"fulfilled",value:n}),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),3!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,3)||function(e,t){if(e){if("string"==typeof e)return tc(e,3);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tc(e,3)}}(t,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],a=r[1],i=r[2],l="fulfilled"===o.status?o.value:void 0;(0,C.useEffect)(function(){"rejected"===o.status&&console.error(o.reason)},[o]);var s=C.startTransition.bind(null,a);return void 0===l?(0,S.jsx)("button",{className:"nodejs-inspector-button","data-pending":i,onClick:i?void 0:s,title:"rejected"===o.status?"Retry attaching Node.js inspector":"Attach Node.js inspector",children:(0,S.jsx)(th,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}):(0,S.jsx)(ti,{"data-nextjs-data-runtime-error-copy-devtools-url":!0,className:"nodejs-inspector-button",actionLabel:"Copy DevTools URL for Chrome",successLabel:"Copied",content:l,icon:(0,S.jsx)(tp,{className:"error-overlay-toolbar-button-icon",width:14,height:14})})}function tg(e){var t,n=(0,O.c)(3),r=e.error,o=e.generateErrorInfo,a=!r;return n[0]!==o||n[1]!==a?(t=(0,S.jsx)(ti,{"data-nextjs-data-runtime-error-copy-stack":!0,className:"copy-error-button",actionLabel:"Copy Error Info",successLabel:"Error Info Copied",getContent:o,disabled:a}),n[0]=o,n[1]=a,n[2]=t):t=n[2],t}function ty(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tv(e){if(Array.isArray(e))return e}function tb(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tx(e,t){return tv(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||t_(e,t)||tb()}function tw(e){return tv(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||t_(e)||tb()}function t_(e,t){if(e){if("string"==typeof e)return ty(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ty(e,t)}}var tj="https://react.dev/link/hydration-mismatch",tk="https://nextjs.org/docs/messages/react-hydration-error",tS=[/^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 tO(e){return tS.some(function(t){return t.test(e)})}var tC=["https://nextjs.org","https://react.dev"];function tP(e){return tC.some(function(t){return e.startsWith(t)})}function tE(e){var t,n,r,o,a=(0,O.c)(6),i=e.errorMessage;a[0]!==i?(t=function(e){var t,n,r,o=(t=e,n=tP,r=Array.from(t.matchAll(/https?:\/\/[^\s/$.?#].[^\s)'"]*/gi),function(e){return e[0]}),n?r.filter(function(e){return n(e)}):r);if(0===o.length)return null;var a=o[0];return a===tj?tk:a}(i),a[0]=i,a[1]=t):t=a[1];var l=t;return l?(a[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(tT,{className:"error-overlay-toolbar-button-icon",width:14,height:14}),a[3]=r):r=a[3],a[4]!==l?(o=(0,S.jsx)("a",{title:"Go to related documentation","aria-label":"Go to related documentation",className:"docs-link-button",href:l,target:"_blank",rel:"noopener noreferrer",children:r}),a[4]=l,a[5]=o):o=a[5],o):(a[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("button",{title:"No related documentation found","aria-label":"No related documentation found",className:"docs-link-button",disabled:!0,children:(0,S.jsx)(tT,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}),a[2]=n):n=a[2],n)}function tT(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.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"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tN(e){var t,n,r,o,a=(0,O.c)(13),i=e.error,l=e.debugInfo,s=e.feedbackButton,c=e.generateErrorInfo;a[0]!==i||a[1]!==c?(t=(0,S.jsx)(tg,{error:i,generateErrorInfo:c}),a[0]=i,a[1]=c,a[2]=t):t=a[2],a[3]!==i.message?(n=(0,S.jsx)(tE,{errorMessage:i.message}),a[3]=i.message,a[4]=n):n=a[4];var u=null==l?void 0:l.devtoolsFrontendUrl,d=null==l?void 0:l.devtoolsFrontendUrl;return a[5]!==u||a[6]!==d?(r=(0,S.jsx)(tm,{defaultDevtoolsFrontendUrl:d},u),a[5]=u,a[6]=d,a[7]=r):r=a[7],a[8]!==s||a[9]!==t||a[10]!==n||a[11]!==r?(o=(0,S.jsxs)("span",{className:"error-overlay-toolbar",children:[s,t,n,r]}),a[8]=s,a[9]=t,a[10]=n,a[11]=r,a[12]=o):o=a[12],o}function tI(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("g",{id:"thumb-up-16",children:(0,S.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"})}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-up-icon"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tL(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.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"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"thumbs-down-icon"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tz(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function tR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tD(e){var t,n=e.errorCode,r=e.className,o=(t=(0,C.useState)({}),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return tA(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tA(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1],l=a[n],s=process.env.__NEXT_TELEMETRY_DISABLED,c=(0,C.useCallback)(function(e){var t;return(t=function(){return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:i(function(t){var r,o;return r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){tR(e,t,n[t])})}return e}({},t),o=null!=(o=tR({},n,e))?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r}),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_error_feedback?").concat(new URLSearchParams({errorCode:n,wasHelpful:e.toString()})))];case 2:return t.sent().ok||console.error("Failed to record feedback on the server."),[3,4];case 3:return console.error("Failed to record feedback:",t.sent()),[3,4];case 4:return[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var a=t.apply(e,n);function i(e){tz(a,r,o,i,l,"next",e)}function l(e){tz(a,r,o,i,l,"throw",e)}i(void 0)})})()},[n]);return(0,S.jsx)("div",{className:e9("error-feedback",r),role:"region","aria-label":"Error feedback",children:void 0!==l?(0,S.jsx)("p",{className:"error-feedback-thanks",role:"status","aria-live":"polite",children:"Thanks for your feedback!"}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("p",{children:(0,S.jsx)("a",{href:"https://nextjs.org/telemetry#error-feedback",rel:"noopener noreferrer",target:"_blank",children:"Was this helpful?"})}),(0,S.jsx)("button",{"aria-disabled":s?"true":void 0,"aria-label":"Mark as helpful",onClick:s?void 0:function(){return c(!0)},className:e9("feedback-button",!0===l&&"voted"),title:s?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:(0,S.jsx)(tI,{"aria-hidden":"true"})}),(0,S.jsx)("button",{"aria-disabled":s?"true":void 0,"aria-label":"Mark as not helpful",onClick:s?void 0:function(){return c(!1)},className:e9("feedback-button",!1===l&&"voted"),title:s?"Feedback disabled due to setting NEXT_TELEMETRY_DISABLED":void 0,type:"button",children:(0,S.jsx)(tL,{"aria-hidden":"true",style:{translate:"1px 1px"}})})]})})}function tM(e){var t,n,r=(0,O.c)(4),o=e.errorCode;return r[0]!==o?(t=o?(0,S.jsx)(tD,{className:"error-feedback",errorCode:o}):null,r[0]=o,r[1]=t):t=r[1],r[2]!==t?(n=(0,S.jsx)("footer",{"data-nextjs-error-overlay-footer":!0,className:"error-overlay-footer",children:t}),r[2]=t,r[3]=n):n=r[3],n}var tZ="\n  .error-overlay-footer {\n    display: flex;\n    flex-direction: row;\n    justify-content: space-between;\n\n    gap: 8px;\n    padding: 12px;\n    background: var(--color-background-200);\n    border-top: 1px solid var(--color-gray-400);\n  }\n\n  .error-feedback {\n    margin-left: auto;\n\n    p {\n      font-size: var(--size-14);\n      font-weight: 500;\n      margin: 0;\n    }\n  }\n\n  ".concat("\n  .error-feedback {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    white-space: nowrap;\n    color: var(--color-gray-900);\n  }\n\n  .error-feedback-thanks {\n    height: var(--size-24);\n    display: flex;\n    align-items: center;\n    padding-right: 4px; /* To match the 4px inner padding of the thumbs up and down icons */\n  }\n\n  .feedback-button {\n    background: none;\n    border: none;\n    border-radius: var(--rounded-md);\n    width: var(--size-24);\n    height: var(--size-24);\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    cursor: pointer;\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n\n    &:hover {\n      background: var(--color-gray-alpha-100);\n    }\n\n    &:active {\n      background: var(--color-gray-alpha-200);\n    }\n  }\n\n  .feedback-button[aria-disabled='true'] {\n    opacity: 0.7;\n    cursor: not-allowed;\n  }\n\n  .feedback-button.voted {\n    background: var(--color-gray-alpha-200);\n  }\n\n  .thumbs-up-icon,\n  .thumbs-down-icon {\n    color: var(--color-gray-900);\n    width: var(--size-16);\n    height: var(--size-16);\n  }\n","\n");function tU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tU(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tH(e){var t,n,r,o,a,i=(0,O.c)(12),l=e.errorMessage,s=e.errorType,c=tF((0,C.useState)(!1),2),u=c[0],d=c[1],f=tF((0,C.useState)(!1),2),p=f[0],h=f[1],m=(0,C.useRef)(null);i[0]===Symbol.for("react.memo_cache_sentinel")?(t=function(){m.current&&h(m.current.scrollHeight>200)},i[0]=t):t=i[0],i[1]!==l?(n=[l],i[1]=l,i[2]=n):n=i[2],(0,C.useLayoutEffect)(t,n);var g=p&&"Blocking Route"!==s,y="nextjs__container_errors_desc ".concat(g&&!u?"truncated":"");return i[3]!==l||i[4]!==y?(r=(0,S.jsx)("div",{ref:m,id:"nextjs__container_errors_desc",className:y,children:l}),i[3]=l,i[4]=y,i[5]=r):r=i[5],i[6]!==u||i[7]!==g?(o=g&&!u&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"nextjs__container_errors_gradient_overlay"}),(0,S.jsx)("button",{onClick:function(){return d(!0)},className:"nextjs__container_errors_expand_button","aria-expanded":u,"aria-controls":"nextjs__container_errors_desc",children:"Show More"})]}),i[6]=u,i[7]=g,i[8]=o):o=i[8],i[9]!==r||i[10]!==o?(a=(0,S.jsxs)("div",{className:"nextjs__container_errors_wrapper",children:[r,o]}),i[9]=r,i[10]=o,i[11]=a):a=i[11],a}function tV(e){var t,n=(0,O.c)(3),r=e.errorType,o="nextjs__container_errors_label ".concat("Blocking Route"===r||"Ambiguous Metadata"===r?"nextjs__container_errors_label_blocking_page":"");return n[0]!==r||n[1]!==o?(t=(0,S.jsx)("span",{id:"nextjs__container_errors_label",className:o,children:r}),n[0]=r,n[1]=o,n[2]=t):t=n[2],t}function tB(e){var t,n,r=(0,O.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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"}),r[0]=t):t=r[0],r[1]!==a||r[2]!==o?(n=(0,S.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}),r[1]=a,r[2]=o,r[3]=n):n=r[3],n}function t$(e){var t,n,r=(0,O.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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"}),r[0]=t):t=r[0],r[1]!==a||r[2]!==o?(n=(0,S.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}),r[1]=a,r[2]=o,r[3]=n):n=r[3],n}function tq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tW(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y=(0,O.c)(40),v=e.runtimeErrors,b=e.activeIdx,x=e.onActiveIndexChange;y[0]!==b||y[1]!==x?(n=function(){return(0,C.startTransition)(function(){b>0&&x(Math.max(0,b-1))})},y[0]=b,y[1]=x,y[2]=n):n=y[2];var w=n;y[3]!==b||y[4]!==x||y[5]!==v.length?(r=function(){return(0,C.startTransition)(function(){b<v.length-1&&x(Math.max(0,Math.min(v.length-1,b+1)))})},y[3]=b,y[4]=x,y[5]=v.length,y[6]=r):r=y[6];var _=r,j=(0,C.useRef)(null),k=(0,C.useRef)(null),P=(t=(0,C.useState)(null),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return tq(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tq(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=P[0],T=P[1];y[7]===Symbol.for("react.memo_cache_sentinel")?(o=function(e){T(e)},y[7]=o):o=y[7];var N=o;y[8]!==_||y[9]!==w||y[10]!==E?(a=function(){if(null!=E){var e=E.getRootNode(),t=self.document,n=function(e){"ArrowLeft"===e.key?(e.preventDefault(),e.stopPropagation(),w&&w()):"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),_&&_())};return e.addEventListener("keydown",n),e!==t&&t.addEventListener("keydown",n),function(){e.removeEventListener("keydown",n),e!==t&&t.removeEventListener("keydown",n)}}},i=[E,_,w],y[8]=_,y[9]=w,y[10]=E,y[11]=a,y[12]=i):(a=y[11],i=y[12]),(0,C.useEffect)(a,i),y[13]!==b||y[14]!==E||y[15]!==v.length?(l=function(){if(null!=E){var e,t,n=E.getRootNode();if(e=n,null!=(t=ShadowRoot)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t){var r=n.activeElement;0===b?j.current&&r===j.current&&j.current.blur():b===v.length-1&&k.current&&r===k.current&&k.current.blur()}}},s=[E,b,v.length],y[13]=b,y[14]=E,y[15]=v.length,y[16]=l,y[17]=s):(l=y[16],s=y[17]),(0,C.useEffect)(l,s);var I=0===b,L=0===b;y[18]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsx)(tB,{title:"previous",className:"error-overlay-pagination-button-icon"}),y[18]=c):c=y[18],y[19]!==w||y[20]!==I||y[21]!==L?(u=(0,S.jsx)("button",{ref:j,type:"button",disabled:I,"aria-disabled":L,onClick:w,"data-nextjs-dialog-error-previous":!0,className:"error-overlay-pagination-button",children:c}),y[19]=w,y[20]=I,y[21]=L,y[22]=u):u=y[22];var A=b+1;y[23]!==b||y[24]!==A?(d=(0,S.jsxs)("span",{"data-nextjs-dialog-error-index":b,children:[A,"/"]}),y[23]=b,y[24]=A,y[25]=d):d=y[25];var z=v.length||1;y[26]!==z?(f=(0,S.jsx)("span",{"data-nextjs-dialog-header-total-count":!0,children:z}),y[26]=z,y[27]=f):f=y[27],y[28]!==d||y[29]!==f?(p=(0,S.jsxs)("div",{className:"error-overlay-pagination-count",children:[d,f]}),y[28]=d,y[29]=f,y[30]=p):p=y[30];var R=b>=v.length-1,D=b>=v.length-1;return y[31]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.jsx)(t$,{title:"next",className:"error-overlay-pagination-button-icon"}),y[31]=h):h=y[31],y[32]!==_||y[33]!==R||y[34]!==D?(m=(0,S.jsx)("button",{ref:k,type:"button",disabled:R,"aria-disabled":D,onClick:_,"data-nextjs-dialog-error-next":!0,className:"error-overlay-pagination-button",children:h}),y[32]=_,y[33]=R,y[34]=D,y[35]=m):m=y[35],y[36]!==u||y[37]!==p||y[38]!==m?(g=(0,S.jsxs)("nav",{className:"error-overlay-pagination dialog-exclude-closing-from-outside-click",ref:N,children:[u,p,m]}),y[36]=u,y[37]=p,y[38]=m,y[39]=g):g=y[39],g}function tK(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("circle",{cx:"7",cy:"7",r:"5.5",strokeWidth:"3"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function tY(e){var t,n,r,o,a,i=(0,O.c)(31),l=e.versionInfo,s=e.bundlerName,c=l.staleness;if(i[0]!==s||i[1]!==c||i[2]!==l){v=Symbol.for("react.early_return_sentinel");n:{var u=function(e){var t=e.installed,n=e.staleness,r=e.expected,o="",a="",i="",l="Next.js ".concat(t);switch(n){case"newer-than-npm":case"fresh":o=l,a="Latest available version is detected (".concat(t,")."),i="fresh";break;case"stale-patch":case"stale-minor":o="".concat(l," (stale)"),a="There is a newer version (".concat(r,") available, upgrade recommended! "),i="stale";break;case"stale-major":o="".concat(l," (outdated)"),a="An outdated version detected (latest is ".concat(r,"), upgrade is highly recommended!"),i="outdated";break;case"stale-prerelease":o="".concat(l," (stale)"),a="There is a newer canary version (".concat(r,") available, please upgrade! "),i="stale";break;case"unknown":o="".concat(l," (unknown)"),a="No Next.js version data was found.",i="unknown"}return{text:o,indicatorClass:i,title:a}}(l),d=u.text,f=u.indicatorClass,p=u.title;if(b=d,x=p,m="Turbopack"===s,c.startsWith("stale")){var h,m,g,y,v,b,x,w,_,j=m&&"turbopack-text";i[10]!==j?(w=e9(j),i[10]=j,i[11]=w):w=i[11],i[12]!==s||i[13]!==w?(_=(0,S.jsx)("span",{className:w,children:s}),i[12]=s,i[13]=w,i[14]=_):_=i[14],v=(0,S.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,S.jsx)(tK,{className:e9("version-staleness-indicator",f)}),(0,S.jsx)("span",{"data-nextjs-version-checker":!0,title:x,children:b}),_]});break n}y="nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click",h=tK,g=e9("version-staleness-indicator",f)}i[0]=s,i[1]=c,i[2]=l,i[3]=h,i[4]=m,i[5]=g,i[6]=y,i[7]=v,i[8]=b,i[9]=x}else h=i[3],m=i[4],g=i[5],y=i[6],v=i[7],b=i[8],x=i[9];if(v!==Symbol.for("react.early_return_sentinel"))return v;i[15]!==h||i[16]!==g?(t=(0,S.jsx)(h,{className:g}),i[15]=h,i[16]=g,i[17]=t):t=i[17],i[18]!==b||i[19]!==x?(n=(0,S.jsx)("span",{"data-nextjs-version-checker":!0,title:x,children:b}),i[18]=b,i[19]=x,i[20]=n):n=i[20];var k=m&&"turbopack-text";return i[21]!==k?(r=e9(k),i[21]=k,i[22]=r):r=i[22],i[23]!==s||i[24]!==r?(o=(0,S.jsx)("span",{className:r,children:s}),i[23]=s,i[24]=r,i[25]=o):o=i[25],i[26]!==y||i[27]!==t||i[28]!==n||i[29]!==o?(a=(0,S.jsxs)("span",{className:y,children:[t,n,o]}),i[26]=y,i[27]=t,i[28]=n,i[29]=o,i[30]=a):a=i[30],a}function tX(e){var t,n,r,o,a=(0,O.c)(11),i=e.runtimeErrors,l=e.activeIdx,s=e.setActiveIndex,c=e.versionInfo,u=process.env.__NEXT_BUNDLER||"Turbopack";a[0]!==i?(t=null!=i?i:[],a[0]=i,a[1]=t):t=a[1];var d=null!=l?l:0,f=null!=s?s:tG;return a[2]!==t||a[3]!==d||a[4]!==f?(n=(0,S.jsx)(tQ,{side:"left",children:(0,S.jsx)(tW,{runtimeErrors:t,activeIdx:d,onActiveIndexChange:f})}),a[2]=t,a[3]=d,a[4]=f,a[5]=n):n=a[5],a[6]!==c?(r=c&&(0,S.jsx)(tQ,{side:"right",children:(0,S.jsx)(tY,{versionInfo:c,bundlerName:u})}),a[6]=c,a[7]=r):r=a[7],a[8]!==n||a[9]!==r?(o=(0,S.jsxs)("div",{"data-nextjs-error-overlay-nav":!0,children:[n,r]}),a[8]=n,a[9]=r,a[10]=o):o=a[10],o}function tG(){}function tQ(e){var t,n,r=(0,O.c)(4),o=e.children,a=e.side,i=void 0===a?"left":a;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(tJ,{}),r[0]=t):t=r[0],r[1]!==o||r[2]!==i?(n=(0,S.jsxs)("div",{className:"error-overlay-notch","data-side":i,children:[o,t]}),r[1]=o,r[2]=i,r[3]=n):n=r[3],n}function tJ(){var e,t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e={maskType:"alpha"},r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("mask",{id:"error_overlay_nav_mask0_2667_14687",style:e,maskUnits:"userSpaceOnUse",x:"0",y:"-1",width:"60",height:"43",children:[(0,S.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,S.jsx)("rect",{fill:"white",y:"-1",width:"60",height:"43"}),(0,S.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,S.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,S.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)"})]}),r[1]=t):t=r[1],r[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.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,S.jsxs)("g",{mask:"url(#error_overlay_nav_mask0_2667_14687)",children:[(0,S.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,S.jsx)("rect",{fill:"white",x:"-1",y:"0.0244141",width:"60",height:"43"}),(0,S.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,S.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,S.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)"})]})]}),r[2]=n):n=r[2],n}function t0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var t1=["[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]"],t2=function(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j=(0,O.c)(23);j[0]!==e?(m=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className","onClose","aria-labelledby","aria-describedby"]),f=e.children,p=e.className,h=e.onClose,d=e["aria-labelledby"],u=e["aria-describedby"],j[0]=e,j[1]=u,j[2]=d,j[3]=f,j[4]=p,j[5]=h,j[6]=m):(u=j[1],d=j[2],f=j[3],p=j[4],h=j[5],m=j[6]);var k=C.useRef(null),P=(t=C.useState("undefined"!=typeof document&&document.hasFocus()?"dialog":void 0),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return t0(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t0(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=P[0],T=P[1];return(j[7]!==h?(g=function(e){return e.preventDefault(),null==h?void 0:h()},j[7]=h,j[8]=g):g=j[8],n=k,r=t1,o=g,(l=(0,O.c)(5))[0]!==r||l[1]!==n||l[2]!==o?(a=function(){var e=n&&"current"in n?n.current:n;if(null!=e&&null!=o){var t=function(t){!e||e.contains(t.target)||r.some(function(e){return t.target.closest(e)})||o(t)},a=e.getRootNode();return a.addEventListener("mouseup",t),a.addEventListener("touchend",t,{passive:!1}),function(){a.removeEventListener("mouseup",t),a.removeEventListener("touchend",t)}}},i=[o,n,r],l[0]=r,l[1]=n,l[2]=o,l[3]=a,l[4]=i):(a=l[3],i=l[4]),C.useEffect(a,i),j[9]===Symbol.for("react.memo_cache_sentinel")?(y=function(){if(null!=k.current){var e=function(){T(document.hasFocus()?"dialog":void 0)};return window.addEventListener("focus",e),window.addEventListener("blur",e),function(){window.removeEventListener("focus",e),window.removeEventListener("blur",e)}}},v=[],j[9]=y,j[10]=v):(y=j[9],v=j[10]),C.useEffect(y,v),j[11]===Symbol.for("react.memo_cache_sentinel")?(b=function(){var e,t,n=k.current,r=null==n?void 0:n.getRootNode(),o=(e=r,null!=(t=ShadowRoot)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)?null==r?void 0:r.activeElement:null;return null==n||n.focus(),function(){null==n||n.blur(),null==o||o.focus()}},x=[],j[11]=b,j[12]=x):(b=j[11],x=j[12]),C.useEffect(b,x),j[13]!==h?(w=function(e){"Escape"===e.key&&(null==h||h())},j[13]=h,j[14]=w):w=j[14],j[15]!==u||j[16]!==d||j[17]!==f||j[18]!==p||j[19]!==m||j[20]!==E||j[21]!==w)?(_=(0,S.jsx)("div",(s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({ref:k,tabIndex:-1,"data-nextjs-dialog":!0,"data-nextjs-scrollable-content":!0,role:E,"aria-labelledby":d,"aria-describedby":u,"aria-modal":"true",className:p,onKeyDown:w},m),c=c={children:f},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(c)).forEach(function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(c,e))}),s)),j[15]=u,j[16]=d,j[17]=f,j[18]=p,j[19]=m,j[20]=E,j[21]=w,j[22]=_):_=j[22],_};function t3(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(12);return(c[0]!==e?(i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","onClose","footer"]),r=e.children,a=e.onClose,o=e.footer,c[0]=e,c[1]=r,c[2]=o,c[3]=a,c[4]=i):(r=c[1],o=c[2],a=c[3],i=c[4]),c[5]!==r||c[6]!==a||c[7]!==i)?(l=(0,S.jsx)(t2,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"aria-labelledby":"nextjs__container_errors_label","aria-describedby":"nextjs__container_errors_desc",className:"error-overlay-dialog-scroll",onClose:a},i),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),c[5]=r,c[6]=a,c[7]=i,c[8]=l):l=c[8],c[9]!==o||c[10]!==l?(s=(0,S.jsxs)("div",{className:"error-overlay-dialog-container",children:[l,o]}),c[9]=o,c[10]=l,c[11]=s):s=c[11],s}function t4(e){var t,n,r,o=(0,O.c)(2);return o[0]!==e?(r=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-header":!0},e),n=n={children:e.children},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),o[0]=e,o[1]=r):r=o[1],r}function t5(e){var t,n=(0,O.c)(2),r=e.children;return n[0]!==r?(t=(0,S.jsx)(t4,{className:"nextjs-container-errors-header",children:r}),n[0]=r,n[1]=t):t=n[1],t}function t6(e){var t,n=(0,O.c)(2),r=e.children;return n[0]!==r?(t=(0,S.jsx)(e3,{className:"nextjs-container-errors-body",children:r}),n[0]=r,n[1]=t):t=n[1],t}var t9=0,t8=function(e){var t,n,r,o,a,i,l,s=(0,O.c)(9);return(s[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["className","children"]),o=e.className,r=e.children,s[0]=e,s[1]=r,s[2]=o,s[3]=a):(r=s[1],o=s[2],a=s[3]),s[4]===Symbol.for("react.memo_cache_sentinel")?(i=[],s[4]=i):i=s[4],C.useEffect(ne,i),s[5]!==r||s[6]!==o||s[7]!==a)?(l=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-overlay":!0,className:o},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),s[5]=r,s[6]=o,s[7]=a,s[8]=l):l=s[8],l};function t7(){setTimeout(function(){0!==t9&&0==--t9&&(void 0!==l&&(document.body.style.paddingRight=l,l=void 0),void 0!==s&&(document.body.style.overflow=s,s=void 0))})}function ne(){return setTimeout(function(){if(!(t9++>0)){var e=window.innerWidth-document.documentElement.clientWidth;e>0&&(l=document.body.style.paddingRight,document.body.style.paddingRight="".concat(e,"px")),s=document.body.style.overflow,document.body.style.overflow="hidden"}}),t7}function nt(){var e,t,n=(e=["\n  [data-nextjs-dialog-overlay] {\n    padding: initial;\n    top: 10vh;\n  }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return nt=function(){return n},n}function nn(e){var t,n,r,o,a,i=(0,O.c)(6);return(i[0]!==e?(o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children"]),r=e.children,i[0]=e,i[1]=r,i[2]=o):(r=i[1],o=i[2]),i[3]!==r||i[4]!==o)?(a=(0,S.jsx)(t8,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},o),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),i[3]=r,i[4]=o,i[5]=a):a=i[5],a}var nr=eg(nt());function no(e){var t,n,r,o=(0,O.c)(4),a=Math.min(e.errorCount-e.activeIdx-1,2);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-1",children:"1"}),n=(0,S.jsx)("div",{className:"error-overlay-bottom-stack-layer error-overlay-bottom-stack-layer-2",children:"2"}),o[0]=t,o[1]=n):(t=o[0],n=o[1]),o[2]!==a?(r=(0,S.jsx)("div",{"aria-hidden":!0,className:"error-overlay-bottom-stack",children:(0,S.jsxs)("div",{className:"error-overlay-bottom-stack-stack","data-stack-count":a,children:[t,n]})}),o[2]=a,o[3]=r):r=o[3],r}function na(e){var t,n=(0,O.c)(2),r=e.environmentName;return n[0]!==r?(t=(0,S.jsx)("span",{"data-nextjs-environment-name-label":!0,children:r}),n[0]=r,n[1]=t):t=n[1],t}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nl(e){var t,n,r=null==e?void 0:e.getRootNode();return(t=r,null!=(n=ShadowRoot)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n)?null==r?void 0:r.activeElement:null}function ns(e,t,n,r,o){var a,i,l=(0,O.c)(7);l[0]!==n||l[1]!==r||l[2]!==o||l[3]!==e||l[4]!==t?(a=function(){if(n){var a,i=o||(null==(a=e.current)?void 0:a.ownerDocument),l=function(n){var o,a,i=n.target;!(e.current&&e.current.contains(i))&&(null!=(o=e.current)&&o.getBoundingClientRect()&&n.clientX>=e.current.getBoundingClientRect().left-10&&n.clientX<=e.current.getBoundingClientRect().right+10&&n.clientY>=e.current.getBoundingClientRect().top-10&&n.clientY<=e.current.getBoundingClientRect().bottom+10||null!=(a=t.current)&&a.getBoundingClientRect()&&n.clientX>=t.current.getBoundingClientRect().left-10&&n.clientX<=t.current.getBoundingClientRect().right+10&&n.clientY>=t.current.getBoundingClientRect().top-10&&n.clientY<=t.current.getBoundingClientRect().bottom+10||r("outside"))},s=function(e){"Escape"===e.key&&r("escape")};return null==i||i.addEventListener("mousedown",l),null==i||i.addEventListener("keydown",s),function(){null==i||i.removeEventListener("mousedown",l),null==i||i.removeEventListener("keydown",s)}}},i=[n,r,o,e,t],l[0]=n,l[1]=r,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)}var nc="cubic-bezier(0.175, 0.885, 0.32, 1.1)",nu=(0,C.forwardRef)(function(e,t){var n,r,o=(0,O.c)(9),a=e.stop,i=e.blur,l=e.side,s=e.style,c=e.height,u="".concat(c,"px");o[0]!==i||o[1]!==a||o[2]!==s||o[3]!==u?(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"--stop":a,"--blur":i,"--height":u},s),o[0]=i,o[1]=a,o[2]=s,o[3]=u,o[4]=n):n=o[4];var d=n;return o[5]!==t||o[6]!==l||o[7]!==d?(r=(0,S.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]=r):r=o[8],r});function nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nd(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var np=(0,C.forwardRef)(function(e,t){var n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_=(0,O.c)(13);_[0]!==e?(v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","measure"]),g=e.children,y=e.measure,_[0]=e,_[1]=g,_[2]=y,_[3]=v):(g=_[1],y=_[2],v=_[3]);var j=nf((0,C.useState)(null),2),k=j[0],P=j[1],E=nf((n=k,r=y,l=(0,O.c)(7),c=(s=nf((0,C.useState)(0),2))[0],u=s[1],f=(d=nf((0,C.useState)(!0),2))[0],p=d[1],l[0]!==n||l[1]!==r?(o=function(){if(r&&n){var e,t=new ResizeObserver(function(t){var n=nf(t,1)[0].contentRect;clearTimeout(e),e=window.setTimeout(function(){p(!1)},100),u(n.height)});return t.observe(n),function(){return t.disconnect()}}},a=[r,n],l[0]=n,l[1]=r,l[2]=o,l[3]=a):(o=l[2],a=l[3]),(0,C.useEffect)(o,a),l[4]!==c||l[5]!==f?(i=[c,f],l[4]=c,l[5]=f,l[6]=i):i=l[6],i),2),T=E[0],N=E[1]?"auto":T;return(_[4]!==N?(b={height:N,transition:"height 250ms var(--timing-swift)"},_[4]=N,_[5]=b):b=_[5],_[6]!==g?(x=(0,S.jsx)("div",{ref:P,children:g}),_[6]=g,_[7]=x):x=_[7],_[8]!==v||_[9]!==t||_[10]!==b||_[11]!==x)?(w=(0,S.jsx)("div",(h=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},v),m=m={ref:t,style:b,children:x},Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(m)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(m)).forEach(function(e){Object.defineProperty(h,e,Object.getOwnPropertyDescriptor(m,e))}),h)),_[8]=v,_[9]=t,_[10]=b,_[11]=x,_[12]=w):w=_[12],w});function nh(e){var t,n,r,o=(0,O.c)(6);o[0]!==e?(n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["fixed"]),t=e.fixed,o[0]=e,o[1]=t,o[2]=n):(t=o[1],n=o[2]);var a=!!t||void 0;return o[3]!==n||o[4]!==a?(r=(0,S.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-dialog-backdrop":!0,"data-nextjs-dialog-backdrop-fixed":a},n)),o[3]=n,o[4]=a,o[5]=r):r=o[5],r}function nm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ng(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function ny(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function nv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nm(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nb(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,P,E,T,N,I,L=(0,O.c)(66),A=e.errorMessage,z=e.errorType,R=e.children,D=e.errorCode,M=e.errorCount,Z=e.error,U=e.debugInfo,F=e.isBuildError,H=e.onClose,V=e.versionInfo,B=e.runtimeErrors,$=e.activeIdx,q=e.setActiveIndex,W=e.isTurbopack,K=e.dialogResizerRef,Y=e.generateErrorInfo,X=e.rendered,G=e.transitionDurationMs,Q=void 0===X||X,J="".concat(G,"ms");L[0]!==J?(s={"--transition-duration":J},L[0]=J,L[1]=s):s=L[1];var ee=s;L[2]!==Q||L[3]!==ee?(c={"data-rendered":Q,style:ee},L[2]=Q,L[3]=ee,L[4]=c):c=L[4];var et=c,en=nv(C.useState(!!G),2),er=en[0],eo=en[1],ea=C.useRef(null),ei=!!D,el=C.useRef(null);t=el,n=Q,void 0!==(i=(0,O.c)(11))[0]?(r=function(e){null==e||e.focus()},i[0]=void 0,i[1]=r):r=i[1],l=(0,C.useEffectEvent)(r),i[2]!==n||i[3]!==l||i[4]!==t||null!==i[5]?(o=function(){var e=null,r=function(t){if("Tab"===t.key&&null!==e){var n,r,o=(r=(n=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))?[n[0],n[n.length-1]]:[],function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(r,2)||function(e,t){if(e){if("string"==typeof e)return ni(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ni(e,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],i=o[1],l=nl(e);t.shiftKey?l===a&&(null==i||i.focus(),t.preventDefault()):l===i&&(null==a||a.focus(),t.preventDefault())}},o=setTimeout(function(){if(e=t.current,n)l(e),null==e||e.addEventListener("keydown",r);else nl(e)});return function(){clearTimeout(o),null==e||e.removeEventListener("keydown",r)}},i[2]=n,i[3]=l,i[4]=t,i[5]=null,i[6]=o):o=i[6],i[7]!==n||i[8]!==t||null!==i[9]?(a=[n,t,null],i[7]=n,i[8]=t,i[9]=null,i[10]=a):a=i[10],(0,C.useEffect)(o,a),L[5]===Symbol.for("react.memo_cache_sentinel")?(u=function(e){if(ea.current){var t,n,r=(t=e.currentTarget.scrollTop/17,Math.min(Math.max(t,(n=nv([0,1],2))[0]),n[1]));ea.current.style.opacity=String(r)}},L[5]=u):u=L[5];var es=u;L[6]===Symbol.for("react.memo_cache_sentinel")?(d=function(e){var t=e.propertyName,n=e.target;"scale"===t&&n===el.current&&eo(!1)},L[6]=d):d=L[6];var ec=d;L[7]!==F?(f=(0,S.jsx)(nh,{fixed:F}),L[7]=F,L[8]=f):f=L[8],L[9]!==$||L[10]!==W||L[11]!==B||L[12]!==q||L[13]!==V?(p=(0,S.jsx)(tX,{runtimeErrors:B,activeIdx:$,setActiveIndex:q,versionInfo:V,isTurbopack:W}),L[9]=$,L[10]=W,L[11]=B,L[12]=q,L[13]=V,L[14]=p):p=L[14],L[15]!==D||L[16]!==ei?(h=ei&&(0,S.jsx)(tM,{errorCode:D}),L[15]=D,L[16]=ei,L[17]=h):h=L[17];var eu=!er;L[18]!==z?(m=(0,S.jsx)(tV,{errorType:z}),L[18]=z,L[19]=m):m=L[19],L[20]!==Z.environmentName?(g=Z.environmentName&&(0,S.jsx)(na,{environmentName:Z.environmentName}),L[20]=Z.environmentName,L[21]=g):g=L[21],L[22]!==m||L[23]!==g?(y=(0,S.jsxs)("span",{"data-nextjs-error-label-group":!0,children:[m,g]}),L[22]=m,L[23]=g,L[24]=y):y=L[24],L[25]!==U||L[26]!==Z||L[27]!==Y?(v=(0,S.jsx)(tN,{error:Z,debugInfo:U,generateErrorInfo:Y}),L[25]=U,L[26]=Z,L[27]=Y,L[28]=v):v=L[28],L[29]!==D||L[30]!==y||L[31]!==v?(b=(0,S.jsxs)("div",{className:"nextjs__container_errors__error_title","data-nextjs-error-code":D,children:[y,v]}),L[29]=D,L[30]=y,L[31]=v,L[32]=b):b=L[32],L[33]!==A||L[34]!==z?(x=(0,S.jsx)(tH,{errorMessage:A,errorType:z}),L[33]=A,L[34]=z,L[35]=x):x=L[35],L[36]!==b||L[37]!==x?(w=(0,S.jsxs)(t5,{children:[b,x]}),L[36]=b,L[37]=x,L[38]=w):w=L[38],L[39]!==R?(_=(0,S.jsx)(t6,{children:R}),L[39]=R,L[40]=_):_=L[40],L[41]!==w||L[42]!==_?(j=(0,S.jsxs)(e4,{children:[w,_]}),L[41]=w,L[42]=_,L[43]=j):j=L[43],L[44]!==K||L[45]!==eu||L[46]!==j?(k=(0,S.jsx)(np,{ref:K,measure:eu,"data-nextjs-dialog-sizer":!0,children:j}),L[44]=K,L[45]=eu,L[46]=j,L[47]=k):k=L[47];var ed=null!=$?$:0;return L[48]!==M||L[49]!==ed?(P=(0,S.jsx)(no,{errorCount:M,activeIdx:ed}),L[48]=M,L[49]=ed,L[50]=P):P=L[50],L[51]!==ei||L[52]!==H||L[53]!==h||L[54]!==k||L[55]!==P?(E=(0,S.jsxs)(t3,{onClose:H,"data-has-footer":ei,onScroll:es,footer:h,children:[k,P]}),L[51]=ei,L[52]=H,L[53]=h,L[54]=k,L[55]=P,L[56]=E):E=L[56],L[57]===Symbol.for("react.memo_cache_sentinel")?(T=(0,S.jsx)(nu,{ref:ea,side:"top",stop:"50%",blur:"4px",height:48}),L[57]=T):T=L[57],L[58]!==et||L[59]!==E||L[60]!==p?(N=(0,S.jsxs)("div",ny(ng({"data-nextjs-dialog-root":!0,onTransitionEnd:ec,ref:el},et),{children:[p,E,T]})),L[58]=et,L[59]=E,L[60]=p,L[61]=N):N=L[61],L[62]!==et||L[63]!==N||L[64]!==f?(I=(0,S.jsxs)(nn,ny(ng({},et),{children:[f,N]})),L[62]=et,L[63]=N,L[64]=f,L[65]=I):I=L[65],I}var nx="\n  ".concat(nr,"\n  ").concat("\n  .error-overlay-dialog-container {\n    display: flex;\n    flex-direction: column;\n    background: var(--color-background-100);\n    background-clip: padding-box;\n    border: var(--next-dialog-border-width) solid var(--color-gray-400);\n    border-radius: 0 0 var(--next-dialog-radius) var(--next-dialog-radius);\n    box-shadow: var(--shadow-menu);\n    position: relative;\n    overflow: hidden;\n  }\n\n  .error-overlay-dialog-scroll {\n    overflow-y: auto;\n    height: 100%;\n  }\n","\n  ").concat("\n  .nextjs-container-errors-header {\n    position: relative;\n  }\n  .nextjs-container-errors-header > h1 {\n    font-size: var(--size-20);\n    line-height: var(--size-24);\n    font-weight: bold;\n    margin: calc(16px * 1.5) 0;\n    color: var(--color-title-h1);\n  }\n  .nextjs-container-errors-header small {\n    font-size: var(--size-14);\n    color: var(--color-accents-1);\n    margin-left: 16px;\n  }\n  .nextjs-container-errors-header small > span {\n    font-family: var(--font-stack-monospace);\n  }\n  .nextjs-container-errors-header > div > small {\n    margin: 0;\n    margin-top: 4px;\n  }\n  .nextjs-container-errors-header > p > a {\n    color: inherit;\n    font-weight: bold;\n  }\n  .nextjs-container-errors-header\n    > .nextjs-container-build-error-version-status {\n    position: absolute;\n    top: 16px;\n    right: 16px;\n  }\n","\n  ").concat("","\n\n  ").concat("\n  [data-nextjs-error-overlay-nav] {\n    --stroke-color: var(--color-gray-400);\n    --background-color: var(--color-background-100);\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n\n    width: 100%;\n\n    position: relative;\n    z-index: 2;\n    outline: none;\n    translate: var(--next-dialog-border-width) var(--next-dialog-border-width);\n    max-width: var(--next-dialog-max-width);\n\n    .error-overlay-notch {\n      translate: calc(var(--next-dialog-border-width) * -1);\n      width: auto;\n      height: var(--next-dialog-notch-height);\n      padding: 12px;\n      background: var(--background-color);\n      border: var(--next-dialog-border-width) solid var(--stroke-color);\n      border-bottom: none;\n      position: relative;\n\n      &[data-side='left'] {\n        padding-right: 0;\n        border-radius: var(--next-dialog-radius) 0 0 0;\n\n        .error-overlay-notch-tail {\n          right: -54px;\n        }\n\n        > *:not(.error-overlay-notch-tail) {\n          margin-right: -10px;\n        }\n      }\n\n      &[data-side='right'] {\n        padding-left: 0;\n        border-radius: 0 var(--next-dialog-radius) 0 0;\n\n        .error-overlay-notch-tail {\n          left: -54px;\n          transform: rotateY(180deg);\n        }\n\n        > *:not(.error-overlay-notch-tail) {\n          margin-left: -12px;\n        }\n      }\n\n      .error-overlay-notch-tail {\n        position: absolute;\n        top: calc(var(--next-dialog-border-width) * -1);\n        pointer-events: none;\n        z-index: -1;\n        height: calc(100% + var(--next-dialog-border-width));\n      }\n    }\n  }\n\n  @media (max-width: 600px) {\n    [data-nextjs-error-overlay-nav] {\n      background: var(--background-color);\n      border-radius: var(--next-dialog-radius) var(--next-dialog-radius) 0 0;\n      border: var(--next-dialog-border-width) solid var(--stroke-color);\n      border-bottom: none;\n      overflow: hidden;\n      translate: 0 var(--next-dialog-border-width);\n      \n      .error-overlay-notch {\n        border-radius: 0;\n        border: 0;\n\n        &[data-side=\"left\"], &[data-side=\"right\"] {\n          border-radius: 0;\n        }\n\n        .error-overlay-notch-tail {\n          display: none;\n        }\n      }\n    }\n  }\n","\n  ").concat("\n  .nextjs__container_errors_label {\n    padding: 2px 6px;\n    margin: 0;\n    border-radius: var(--rounded-md-2);\n    background: var(--color-red-100);\n    font-weight: 600;\n    font-size: var(--size-12);\n    color: var(--color-red-900);\n    font-family: var(--font-stack-monospace);\n    line-height: var(--size-20);\n  }\n\n  .nextjs__container_errors_label_blocking_page {\n    background: var(--color-blue-100);\n    color: var(--color-blue-900);\n  }\n","\n  ").concat("\n  .nextjs__container_errors_wrapper {\n    position: relative;\n  }\n\n  .nextjs__container_errors_desc {\n    margin: 0;\n    margin-left: 4px;\n    color: var(--color-red-900);\n    font-weight: 500;\n    font-size: var(--size-16);\n    letter-spacing: -0.32px;\n    line-height: var(--size-24);\n    overflow-wrap: break-word;\n    white-space: pre-wrap;\n  }\n\n  .nextjs__container_errors_desc.truncated {\n    max-height: 200px;\n    overflow: hidden;\n  }\n\n  .nextjs__container_errors_gradient_overlay {\n    position: absolute;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    height: 85px;\n    background: linear-gradient(\n      180deg,\n      rgba(250, 250, 250, 0) 0%,\n      var(--color-background-100) 100%\n    );\n  }\n\n  .nextjs__container_errors_expand_button {\n    position: absolute;\n    bottom: 10px;\n    left: 50%;\n    transform: translateX(-50%);\n    display: flex;\n    align-items: center;\n    padding: 6px 8px;\n    background: var(--color-background-100);\n    border: 1px solid var(--color-gray-alpha-400);\n    border-radius: 999px;\n    box-shadow:\n      0px 2px 2px var(--color-gray-alpha-100),\n      0px 8px 8px -8px var(--color-gray-alpha-100);\n    font-size: var(--size-13);\n    cursor: pointer;\n    color: var(--color-gray-900);\n    font-weight: 500;\n    transition: background-color 0.2s ease;\n  }\n\n  .nextjs__container_errors_expand_button:hover {\n    background: var(--color-gray-100);\n  }\n","\n  ").concat("\n  .error-overlay-toolbar {\n    display: flex;\n    gap: 6px;\n  }\n\n  .nodejs-inspector-button,\n  .copy-error-button,\n  .docs-link-button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n\n    width: var(--size-28);\n    height: var(--size-28);\n    background: var(--color-background-100);\n    background-clip: padding-box;\n    border: 1px solid var(--color-gray-alpha-400);\n    box-shadow: var(--shadow-small);\n    border-radius: var(--rounded-full);\n\n    svg {\n      width: var(--size-14);\n      height: var(--size-14);\n    }\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n\n    &:not(:disabled):hover {\n      background: var(--color-gray-alpha-100);\n    }\n\n    &:not(:disabled):active {\n      background: var(--color-gray-alpha-200);\n    }\n\n    &:disabled {\n      background-color: var(--color-gray-100);\n      cursor: not-allowed;\n    }\n  }\n\n  .nodejs-inspector-button[data-pending='true'] {\n    cursor: wait;\n  }\n\n  .error-overlay-toolbar-button-icon {\n    color: var(--color-gray-900);\n  }\n","\n\n  [data-nextjs-error-label-group] {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n  }\n");function nw(){var e,t,n=(e=["\n  [data-nextjs-dialog-overlay] {\n    position: fixed;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    /* secondary z-index, -1 than toast z-index */\n    z-index: 2147483646;\n\n    display: flex;\n    align-content: center;\n    align-items: center;\n    flex-direction: column;\n    padding: 10vh 15px 0;\n  }\n\n  @media (max-height: 812px) {\n    [data-nextjs-dialog-overlay] {\n      padding: 15px 15px 0;\n    }\n  }\n\n  [data-nextjs-dialog-backdrop] {\n    position: fixed;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    background-color: var(--color-backdrop);\n    backdrop-filter: blur(10px);\n    pointer-events: all;\n    z-index: -1;\n  }\n\n  [data-nextjs-dialog-backdrop-fixed] {\n    cursor: not-allowed;\n    -webkit-backdrop-filter: blur(8px);\n    backdrop-filter: blur(8px);\n  }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return nw=function(){return n},n}var n_=eg(nw());function nj(e){var t,n,r,o,a,i=(0,O.c)(9),l=e.file,s=e.location,c=null!=(t=null==s?void 0:s.line)?t:1,u=null!=(n=null==s?void 0:s.column)?n:1;i[0]!==l||i[1]!==c||i[2]!==u?(r={file:l,line1:c,column1:u},i[0]=l,i[1]=c,i[2]=u,i[3]=r):r=i[3];var d=eM(r),f=s?":".concat(s.line,":").concat(s.column):null;return i[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.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,S.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,S.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,S.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}),i[4]=o):o=i[4],i[5]!==l||i[6]!==d||i[7]!==f?(a=(0,S.jsxs)("div",{"data-with-open-in-editor-link":!0,"data-with-open-in-editor-link-import-trace":!0,role:"link",onClick:d,title:"Click to open in your editor",children:[l,f,o]}),i[5]=l,i[6]=d,i[7]=f,i[8]=a):a=i[8],a}function nk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var nS=function(e){var t,n,r,o,a,i,l,s,c,u,d=e.content,f=C.useMemo(function(){var e,t,n;return t=function(e){var t,n=e.shift();if(!n)return null;var r=(t=n.split(":",3),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),3!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,3)||function(e,t){if(e){if("string"==typeof e)return nk(e,3);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nk(e,3)}}(t,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],a=r[1],i=r[2],l=Number(a),s=Number(i),c=!Number.isNaN(l)&&!Number.isNaN(s);return{fileName:c?o:n,location:c?{line1:l,column1:s}:void 0}}(e=d.split("\n")),n=function(e){if(e.some(function(e){return/ReactServerComponentsError:/.test(e)})||e.some(function(e){return/Import trace for requested module:/.test(e)})){for(var t=[];/.+\..+/.test(e[e.length-1])&&!e[e.length-1].includes(":");){var n=e.pop().trim();t.unshift(n)}return t}return[]}(e),{file:t,source:e.join("\n"),importTraceFiles:n}},[d]),p=f.file,h=f.source,m=f.importTraceFiles,g=C.useMemo(function(){return eG().ansiToJson(h,{json:!0,use_classes:!0,remove_empty:!0})},[h]),y=eM({file:null==p?void 0:p.fileName,line1:null!=(i=null==p||null==(t=p.location)?void 0:t.line1)?i:1,column1:null!=(l=null==p||null==(n=p.location)?void 0:n.column1)?l:1}),v={file:null!=(s=null==p?void 0:p.fileName)?s:null,methodName:"",arguments:[],line1:null!=(c=null==p||null==(r=p.location)?void 0:r.line1)?c:null,column1:null!=(u=null==p||null==(o=p.location)?void 0:o.column1)?u:null},b=null==v||null==(a=v.file)?void 0:a.split(".").pop();return(0,S.jsxs)("div",{"data-nextjs-codeframe":!0,children:[(0,S.jsx)("div",{className:"code-frame-header",children:(0,S.jsxs)("div",{className:"code-frame-link",children:[(0,S.jsx)("span",{className:"code-frame-icon",children:(0,S.jsx)(eB,{lang:b})}),(0,S.jsx)("span",{"data-text":!0,children:eD(v)}),(0,S.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:y,children:(0,S.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,S.jsx)(eH,{width:16,height:16})})})]})}),(0,S.jsx)("pre",{className:"code-frame-pre",children:(0,S.jsxs)("div",{className:"code-frame-lines",children:[g.map(function(e,t){return(0,S.jsx)("span",{style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({color:e.fg?"var(--color-".concat(e.fg,")"):void 0},"bold"===e.decoration?{fontWeight:500}:"italic"===e.decoration?{fontStyle:"italic"}:void 0),children:(0,S.jsx)(eP,{text:e.content})},"terminal-entry-".concat(t))}),m.map(function(e){return(0,S.jsx)(nj,{isSourceFile:!1,file:e},e)})]})})]})},nO=function(e){var t=e.split("\n");return eJ()(t[1]||"").replace(/^Error: /,"")},nC=function(e){var t,n,r,o,a,i,l,s,c,u=(0,O.c)(19);u[0]!==e?(o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["message"]),r=e.message,u[0]=e,u[1]=r,u[2]=o):(r=u[1],o=u[2]),u[3]!==r?(a=Error(r),u[3]=r,u[4]=a):a=u[4];var d=a;u[5]!==r?(i=nO(r)||"Failed to compile",u[5]=r,u[6]=i):i=u[6];var f=i;u[7]!==f||u[8]!==r||u[9]!==o.versionInfo.installed?(l=function(){var e=[];if(e.push("## Error Type\nBuild Error"),f&&e.push("## Error Message\n".concat(f)),r){var t=eJ()(r);e.push("## Build Output\n".concat(t))}return"".concat(e.join("\n\n"),"\n\nNext.js version: ").concat(o.versionInfo.installed," (").concat(process.env.__NEXT_BUNDLER,")\n")},u[7]=f,u[8]=r,u[9]=o.versionInfo.installed,u[10]=l):l=u[10];var p=l;return(u[11]!==r?(s=(0,S.jsx)(nS,{content:r}),u[11]=r,u[12]=s):s=u[12],u[13]!==d||u[14]!==f||u[15]!==p||u[16]!==o||u[17]!==s)?(c=(0,S.jsx)(nb,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({errorType:"Build Error",errorMessage:f,onClose:nP,error:d,generateErrorInfo:p},o),n=n={children:s},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),u[13]=d,u[14]=f,u[15]=p,u[16]=o,u[17]=s,u[18]=c):c=u[18],c};function nP(){}var nE=function(e){var t,n,r,o,a,i,l,s,c,u,d,f=(0,O.c)(26),p=e.frame,h=null!=(t=p.originalStackFrame)?t:p.sourceStackFrame,m=!!p.originalCodeFrame;f[0]!==h||f[1]!==m?(n=m?{file:h.file,line1:null!=(r=h.line1)?r:1,column1:null!=(o=h.column1)?o:1}:void 0,f[0]=h,f[1]=m,f[2]=n):n=f[2];var g=eM(n);f[3]!==h?(a=eD(h),f[3]=h,f[4]=a):a=f[4];var y=a;if(!y)return null;var v=!m;return f[5]!==h.methodName?(i=(0,S.jsx)(eP,{text:h.methodName}),f[5]=h.methodName,f[6]=i):i=f[6],f[7]!==h.methodName||f[8]!==m||f[9]!==g?(l=m&&(0,S.jsx)("button",{onClick:g,className:"open-in-editor-button","aria-label":"Open ".concat(h.methodName," in editor"),children:(0,S.jsx)(eH,{width:16,height:16})}),f[7]=h.methodName,f[8]=m,f[9]=g,f[10]=l):l=f[10],f[11]!==p.error||f[12]!==p.reason?(s=p.error?(0,S.jsx)("button",{className:"source-mapping-error-button",onClick:function(){return console.error(p.reason)},title:"Sourcemapping failed. Click to log cause of error.",children:(0,S.jsx)(eV,{width:16,height:16})}):null,f[11]=p.error,f[12]=p.reason,f[13]=s):s=f[13],f[14]!==i||f[15]!==l||f[16]!==s?(c=(0,S.jsxs)("div",{className:"call-stack-frame-method-name",children:[i,l,s]}),f[14]=i,f[15]=l,f[16]=s,f[17]=c):c=f[17],f[18]!==y||f[19]!==m?(u=(0,S.jsx)("span",{className:"call-stack-frame-file-source","data-has-source":m,children:y}),f[18]=y,f[19]=m,f[20]=u):u=f[20],f[21]!==p.ignored||f[22]!==v||f[23]!==c||f[24]!==u?(d=(0,S.jsxs)("div",{"data-nextjs-call-stack-frame":!0,"data-nextjs-call-stack-frame-no-source":v,"data-nextjs-call-stack-frame-ignored":p.ignored,children:[c,u]}),f[21]=p.ignored,f[22]=v,f[23]=c,f[24]=u,f[25]=d):d=f[25],d};function nT(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.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 nN(){var e,t,n=(e=["\n  [data-nextjs-call-stack-container] {\n    position: relative;\n    margin-top: 8px;\n  }\n\n  [data-nextjs-call-stack-header] {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    min-height: var(--size-28);\n    padding: 8px 8px 12px 4px;\n    width: 100%;\n  }\n\n  [data-nextjs-call-stack-title] {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    gap: 8px;\n\n    margin: 0;\n\n    color: var(--color-gray-1000);\n    font-size: var(--size-16);\n    font-weight: 500;\n  }\n\n  [data-nextjs-call-stack-count] {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n\n    width: var(--size-20);\n    height: var(--size-20);\n    gap: 4px;\n\n    color: var(--color-gray-1000);\n    text-align: center;\n    font-size: var(--size-11);\n    font-weight: 500;\n    line-height: var(--size-16);\n\n    border-radius: var(--rounded-full);\n    background: var(--color-gray-300);\n  }\n\n  [data-nextjs-call-stack-ignored-list-toggle-button] {\n    all: unset;\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    color: var(--color-gray-900);\n    font-size: var(--size-14);\n    line-height: var(--size-20);\n    border-radius: 6px;\n    padding: 4px 6px;\n    margin-right: -6px;\n    transition: background 150ms ease;\n\n    &:hover {\n      background: var(--color-gray-100);\n    }\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n  }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return nN=function(){return n},n}function nI(e){var t,n,r,o,a,i,l=(0,O.c)(17),s=e.frames,c=e.isIgnoreListOpen,u=e.ignoredFramesTally,d=e.onToggleIgnoreList;return l[0]!==s.length?(t=(0,S.jsxs)("p",{"data-nextjs-call-stack-title":!0,children:["Call Stack ",(0,S.jsx)("span",{"data-nextjs-call-stack-count":!0,children:s.length})]}),l[0]=s.length,l[1]=t):t=l[1],l[2]!==u||l[3]!==c||l[4]!==d?(n=u>0&&(0,S.jsxs)("button",{"data-nextjs-call-stack-ignored-list-toggle-button":c,onClick:d,children:["".concat(c?"Hide":"Show"," ").concat(u," ignore-listed frame(s)"),(0,S.jsx)(nT,{})]}),l[2]=u,l[3]=c,l[4]=d,l[5]=n):n=l[5],l[6]!==t||l[7]!==n?(r=(0,S.jsxs)("div",{"data-nextjs-call-stack-header":!0,children:[t,n]}),l[6]=t,l[7]=n,l[8]=r):r=l[8],l[9]!==s||l[10]!==c?(l[12]!==c?(a=function(e,t){return!e.ignored||c?(0,S.jsx)(nE,{frame:e},t):null},l[12]=c,l[13]=a):a=l[13],o=s.map(a),l[9]=s,l[10]=c,l[11]=o):o=l[11],l[14]!==r||l[15]!==o?(i=(0,S.jsxs)("div",{"data-nextjs-call-stack-container":!0,children:[r,o]}),l[14]=r,l[15]=o,l[16]=i):i=l[16],i}var nL=eg(nN());function nA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nz(e){var t,n=e.frames,r=e.dialogResizerRef,o=(0,C.useRef)(NaN),a=(t=(0,C.useState)(!1),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return nA(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nA(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],l=a[1],s=(0,C.useMemo)(function(){return n.reduce(function(e,t){return e+ +!!t.ignored},0)},[n]);return(0,S.jsx)(nI,{frames:n,isIgnoreListOpen:i,onToggleIgnoreList:function(){var e=null==r?void 0:r.current;if(e){var t=e.getBoundingClientRect().height;o.current||(o.current=t),i?(e.style.height="".concat(o.current,"px"),e.addEventListener("transitionend",function t(){e.removeEventListener("transitionend",t),l(!1)})):l(!0)}},ignoredFramesTally:s})}function nR(e){var t,n,r,o,a,i,l=(0,O.c)(8);l[0]!==e?(r=void 0===e?{}:e,l[0]=e,l[1]=r):r=l[1];var s=r.collapsed;return(l[2]!==s?(o="boolean"==typeof s?{style:{transform:s?void 0:"rotate(90deg)"}}:{},l[2]=s,l[3]=o):o=l[3],l[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.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"}),l[4]=a):a=l[4],l[5]!==s||l[6]!==o)?(i=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-call-stack-chevron-icon":!0,"data-collapsed":s,width:"16",height:"16",fill:"none"},o),n=n={children:a},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),l[5]=s,l[6]=o,l[7]=i):i=l[7],i}function nD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nM(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nD(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nZ(e){var t,n,r,o,a,i,l=(0,O.c)(15),s=e.reactOutputComponentDiff,c=nM((0,C.useState)(!0),2),u=c[0],d=c[1];l[0]!==s?(t=[],s.split("\n").forEach(function(e,n){var r,o,a="+"===e[0]||"-"===e[0],i=">"===e[0],l=a||i,s=l?e[0]:"",c=l?e.indexOf(s):-1,u=nM(l?[e.slice(0,c),e.slice(c+1)]:[e,""],2),d=u[0],f=u[1];a?t.push((0,S.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,"data-nextjs-container-errors-pseudo-html--diff":"+"===s?"add":"remove",children:(0,S.jsxs)("span",{children:[d,(0,S.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:s}),f,"\n"]})},"comp-diff"+n)):t.push((0,S.jsxs)("span",(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({"data-nextjs-container-errors-pseudo-html-line":!0},i?{"data-nextjs-container-errors-pseudo-html--diff":"error"}:void 0),o=o={children:[d,(0,S.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:s}),f,"\n"]},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r),"comp-diff"+n))}),l[0]=s,l[1]=t):t=l[1];var f=t,p=!u;return l[2]!==u?(n=function(){return d(!u)},r=(0,S.jsx)(nR,{collapsed:u}),l[2]=u,l[3]=n,l[4]=r):(n=l[3],r=l[4]),l[5]!==p||l[6]!==n||l[7]!==r?(o=(0,S.jsx)("button",{"aria-expanded":p,"aria-label":"complete Component Stack","data-nextjs-container-errors-pseudo-html-collapse-button":!0,onClick:n,children:r}),l[5]=p,l[6]=n,l[7]=r,l[8]=o):o=l[8],l[9]!==f?(a=(0,S.jsx)("pre",{className:"nextjs__container_errors__component-stack",children:(0,S.jsx)("code",{children:f})}),l[9]=f,l[10]=a):a=l[10],l[11]!==u||l[12]!==o||l[13]!==a?(i=(0,S.jsxs)("div",{"data-nextjs-container-errors-pseudo-html":!0,"data-nextjs-container-errors-pseudo-html-collapse":u,children:[o,a]}),l[11]=u,l[12]=o,l[13]=a,l[14]=i):i=l[14],i}var nU=Symbol.for("NextjsError");function nF(e){return e[nU]||null}function nH(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function nV(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){nH(a,r,o,i,l,"next",e)}function l(e){nH(a,r,o,i,l,"throw",e)}i(void 0)})}}function nB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function n$(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function nq(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var nW=function(e){if(!e)return[];var t=e.frames;if("function"!=typeof t)throw Error("Invariant: frames must be a function when the React version has React.use. This is a bug in Next.js.");return C.use(t())};function nK(e){var t,n,r,o,a=(0,O.c)(8),i=e.error,l=e.dialogResizerRef,s=nW(i),c=s.findIndex(nY),u=null!=(t=s[c])?t:null;return a[0]!==u?(n=u&&(0,S.jsx)(e2,{stackFrame:u.originalStackFrame,codeFrame:u.originalCodeFrame}),a[0]=u,a[1]=n):n=a[1],a[2]!==l||a[3]!==s?(r=s.length>0&&(0,S.jsx)(nz,{dialogResizerRef:l,frames:s}),a[2]=l,a[3]=s,a[4]=r):r=a[4],a[5]!==n||a[6]!==r?(o=(0,S.jsxs)(S.Fragment,{children:[n,r]}),a[5]=n,a[6]=r,a[7]=o):o=a[7],o}function nY(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame}var nX="\n  ".concat("\n  [data-nextjs-container-errors-pseudo-html] {\n    padding: 8px 0;\n    margin: 8px 0;\n    border: 1px solid var(--color-gray-400);\n    background: var(--color-background-200);\n    color: var(--color-syntax-constant);\n    font-family: var(--font-stack-monospace);\n    font-size: var(--size-12);\n    line-height: 1.33em; /* 16px in 12px font size */\n    border-radius: var(--rounded-md-2);\n  }\n  [data-nextjs-container-errors-pseudo-html-line] {\n    display: inline-block;\n    width: 100%;\n    padding-left: 40px;\n    line-height: calc(5 / 3);\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='error'] {\n    background: var(--color-amber-100);\n    box-shadow: 2px 0 0 0 var(--color-amber-900) inset;\n    font-weight: bold;\n  }\n  [data-nextjs-container-errors-pseudo-html-collapse-button] {\n    all: unset;\n    margin-left: 12px;\n    &:focus {\n      outline: none;\n    }\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='add'] {\n    background: var(--color-green-300);\n  }\n  [data-nextjs-container-errors-pseudo-html-line-sign] {\n    margin-left: calc(24px * -1);\n    margin-right: 24px;\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='add']\n    [data-nextjs-container-errors-pseudo-html-line-sign] {\n    color: var(--color-green-900);\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='remove'] {\n    background: var(--color-red-300);\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='remove']\n    [data-nextjs-container-errors-pseudo-html-line-sign] {\n    color: var(--color-red-900);\n    margin-left: calc(24px * -1);\n    margin-right: 24px;\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='error']\n    [data-nextjs-container-errors-pseudo-html-line-sign] {\n    color: var(--color-amber-900);\n  }\n  \n  [data-nextjs-container-errors-pseudo-html--hint] {\n    display: inline-block;\n    font-size: 0;\n    height: 0;\n  }\n  [data-nextjs-container-errors-pseudo-html--tag-adjacent='false'] {\n    color: var(--color-accents-1);\n  }\n  .nextjs__container_errors__component-stack {\n    margin: 0;\n  }\n  [data-nextjs-container-errors-pseudo-html-collapse='true']\n    .nextjs__container_errors__component-stack\n    code {\n    max-height: 120px;\n    mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 10%);\n    padding-bottom: 40px;\n  }\n  .nextjs__container_errors__component-stack code {\n    display: block;\n    width: 100%;\n    white-space: pre-wrap;\n    scroll-snap-type: y mandatory;\n    overflow-y: hidden;\n  }\n  [data-nextjs-container-errors-pseudo-html--diff] {\n    scroll-snap-align: center;\n  }\n  .error-overlay-hydration-error-diff-plus-icon {\n    color: var(--color-green-900);\n  }\n  .error-overlay-hydration-error-diff-minus-icon {\n    color: var(--color-red-900);\n  }\n","\n");function nG(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function nQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nJ(e){return e.startsWith("https://nextjs.org")?"nextjs-link":e.startsWith("https://")||e.startsWith("http://")?"external-link":null}function n0(e){var t,n=(0,O.c)(2),r=e.message;return n[0]!==r?(t=(0,S.jsx)(eP,{text:r,matcher:nJ}),n[0]=r,n[1]=t):t=n[1],t}function n1(e){var t,n,r=(0,O.c)(5),o=e.error,a="environmentName"in o?o.environmentName:"",i=a?"[ ".concat(a," ] "):"",l=o.message;return l.startsWith(i)&&(r[0]!==i.length||r[1]!==l?(t=l.slice(i.length),r[0]=i.length,r[1]=l,r[2]=t):t=r[2],l=t),r[3]!==l?(n=(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(eP,{text:l,matcher:nJ})}),r[3]=l,r[4]=n):n=r[4],n}function n2(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w=(0,O.c)(20);return"navigation"===e.variant?(w[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," in an otherwise prerenderable page"]}),w[0]=t):t=w[0],w[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("code",{children:"fetch(...)"}),w[1]=n):n=w[1],w[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.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"," ",n,", cached data with a low expire time, or"," ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,S.jsx)("h4",{children:"To fix this:"}),w[2]=r,w[3]=o):(r=w[2],o=w[3]),w[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.jsx)("code",{children:'"use cache"'}),")"]}),w[4]=a):a=w[4],w[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[a,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),l=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),w[5]=i,w[6]=l):(i=w[5],l=w[6]),w[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsx)("code",{children:"connection()"}),w[7]=s):s=w[7],w[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",s," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),w[8]=c):c=w[8],w[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[t,r,o,i,l,c,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),w[9]=u):u=w[9],u):(w[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,S.jsx)("code",{children:"generateMetadata()"})," or file-based metadata"]}),f=(0,S.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."}),p=(0,S.jsx)("h4",{children:"To fix this:"}),w[10]=d,w[11]=f,w[12]=p):(d=w[10],f=w[11],p=w[12]),w[13]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.jsxs)("strong",{children:["Remove the Runtime data access from ",(0,S.jsx)("code",{children:"generateMetadata()"})]}),w[13]=h):h=w[13],w[14]===Symbol.for("react.memo_cache_sentinel")?(m=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[h,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),g=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),w[14]=m,w[15]=g):(m=w[14],g=w[15]),w[16]===Symbol.for("react.memo_cache_sentinel")?(y=(0,S.jsx)("code",{children:"connection()"}),w[16]=y):y=w[16],w[17]===Symbol.for("react.memo_cache_sentinel")?(v=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",y," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),b=(0,S.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."}),w[17]=v,w[18]=b):(v=w[17],b=w[18]),w[19]===Symbol.for("react.memo_cache_sentinel")?(x=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[d,f,p,m,g,v,b,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),w[19]=x):x=w[19],x)}function n3(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,C,P,E,T,N,I,L,A,z,R,D,M,Z,U,F,H,V,B,$,q,W,K,Y,X,G,Q,J,ee,et,en,er,eo,ea,ei,el,es,ec,eu,ed=(0,O.c)(62),ef=e.variant,ep=e.refinement;return"generateViewport"===ep?"navigation"===ef?(ed[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,S.jsx)("code",{children:"generateViewport()"})]}),ed[0]=t):t=ed[0],ed[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)("code",{children:"fetch(...)"}),ed[1]=n):n=ed[1],ed[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.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"," ",n,", cached data with a low expire time, or"," ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),o=(0,S.jsx)("h4",{children:"To fix this:"}),ed[2]=r,ed[3]=o):(r=ed[2],o=ed[3]),ed[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.jsx)("code",{children:'"use cache"'}),")"]}),ed[4]=a):a=ed[4],ed[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[a,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateViewport()"})," as part of the HTML document, so it's instantly visible to the user."]}),l=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[5]=i,ed[6]=l):(i=ed[5],l=ed[6]),ed[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsx)("code",{children:"<Suspense>"}),ed[7]=s):s=ed[7],ed[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Put a ",s," around your document"," ",(0,S.jsx)("code",{children:"<body>"}),"."]}),"This indicate to Next.js that you are opting into allowing blocking navigations for any page."]}),ed[8]=c):c=ed[8],ed[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[t,r,o,i,l,c,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport"})]})]}),ed[9]=u):u=ed[9],u):(ed[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,S.jsx)("code",{children:"generateViewport()"})]}),ed[10]=d):d=ed[10],ed[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,S.jsx)("code",{children:"cookies()"}),ed[11]=f):f=ed[11],ed[12]===Symbol.for("react.memo_cache_sentinel")?(p=(0,S.jsx)("code",{children:"headers()"}),ed[12]=p):p=ed[12],ed[13]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.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.",f,", ",p,", and"," ",(0,S.jsx)("code",{children:"searchParams"}),", are examples of Runtime data that can only come from a user request."]}),m=(0,S.jsx)("h4",{children:"To fix this:"}),ed[13]=h,ed[14]=m):(h=ed[13],m=ed[14]),ed[15]===Symbol.for("react.memo_cache_sentinel")?(g=(0,S.jsx)("strong",{children:"Remove the Runtime data requirement"}),ed[15]=g):g=ed[15],ed[16]===Symbol.for("react.memo_cache_sentinel")?(y=(0,S.jsx)("code",{children:"generateViewport"}),ed[16]=y):y=ed[16],ed[17]===Symbol.for("react.memo_cache_sentinel")?(v=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[g," from"," ",y,". This allows Next.js to statically prerender ",(0,S.jsx)("code",{children:"generateViewport()"})," as part of the HTML document, so it's instantly visible to the user."]}),b=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[17]=v,ed[18]=b):(v=ed[17],b=ed[18]),ed[19]===Symbol.for("react.memo_cache_sentinel")?(x=(0,S.jsx)("code",{children:"<Suspense>"}),ed[19]=x):x=ed[19],ed[20]===Symbol.for("react.memo_cache_sentinel")?(w=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Put a ",x," around your document"," ",(0,S.jsx)("code",{children:"<body>"}),"."]}),"This indicate to Next.js that you are opting into allowing blocking navigations for any page."]}),_=(0,S.jsx)("code",{children:"params"}),ed[20]=w,ed[21]=_):(w=ed[20],_=ed[21]),ed[22]===Symbol.for("react.memo_cache_sentinel")?(j=(0,S.jsxs)("p",{children:[_," are usually considered Runtime data but if all params are provided a value using ",(0,S.jsx)("code",{children:"generateStaticParams"})," ","they can be statically prerendered."]}),ed[22]=j):j=ed[22],ed[23]===Symbol.for("react.memo_cache_sentinel")?(k=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[d,h,m,v,b,w,j,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-viewport"})]})]}),ed[23]=k):k=ed[23],k):"generateMetadata"===ep?"navigation"===ef?(ed[24]===Symbol.for("react.memo_cache_sentinel")?(C=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed inside"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," in an otherwise prerenderable page"]}),ed[24]=C):C=ed[24],ed[25]===Symbol.for("react.memo_cache_sentinel")?(P=(0,S.jsx)("code",{children:"fetch(...)"}),ed[25]=P):P=ed[25],ed[26]===Symbol.for("react.memo_cache_sentinel")?(E=(0,S.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"," ",P,", cached data with a low expire time, or"," ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),T=(0,S.jsx)("h4",{children:"To fix this:"}),ed[26]=E,ed[27]=T):(E=ed[26],T=ed[27]),ed[28]===Symbol.for("react.memo_cache_sentinel")?(N=(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.jsx)("code",{children:'"use cache"'}),")"]}),ed[28]=N):N=ed[28],ed[29]===Symbol.for("react.memo_cache_sentinel")?(I=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[N,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),L=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[29]=I,ed[30]=L):(I=ed[29],L=ed[30]),ed[31]===Symbol.for("react.memo_cache_sentinel")?(A=(0,S.jsx)("code",{children:"connection()"}),ed[31]=A):A=ed[31],ed[32]===Symbol.for("react.memo_cache_sentinel")?(z=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",A," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),ed[32]=z):z=ed[32],ed[33]===Symbol.for("react.memo_cache_sentinel")?(R=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[C,E,T,I,L,z,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),ed[33]=R):R=ed[33],R):(ed[34]===Symbol.for("react.memo_cache_sentinel")?(D=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed inside ",(0,S.jsx)("code",{children:"generateMetadata()"})," or file-based metadata"]}),M=(0,S.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."}),Z=(0,S.jsx)("h4",{children:"To fix this:"}),ed[34]=D,ed[35]=M,ed[36]=Z):(D=ed[34],M=ed[35],Z=ed[36]),ed[37]===Symbol.for("react.memo_cache_sentinel")?(U=(0,S.jsxs)("strong",{children:["Remove the Runtime data access from"," ",(0,S.jsx)("code",{children:"generateMetadata()"})]}),ed[37]=U):U=ed[37],ed[38]===Symbol.for("react.memo_cache_sentinel")?(F=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[U,". This allows Next.js to statically prerender"," ",(0,S.jsx)("code",{children:"generateMetadata()"})," as part of the HTML document, so it's instantly visible to the user."]}),H=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[38]=F,ed[39]=H):(F=ed[38],H=ed[39]),ed[40]===Symbol.for("react.memo_cache_sentinel")?(V=(0,S.jsx)("code",{children:"connection()"}),ed[40]=V):V=ed[40],ed[41]===Symbol.for("react.memo_cache_sentinel")?(B=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["add ",V," inside a ",(0,S.jsx)("code",{children:"<Suspense>"})]})," ","somewhere in a Page or Layout. This tells Next.js that the page is intended to have some non-prerenderable parts."]}),$=(0,S.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."}),ed[41]=B,ed[42]=$):(B=ed[41],$=ed[42]),ed[43]===Symbol.for("react.memo_cache_sentinel")?(q=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[D,M,Z,F,H,B,$,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata",children:"https://nextjs.org/docs/messages/next-prerender-dynamic-metadata"})]})]}),ed[43]=q):q=ed[43],q):"runtime"===ef?(ed[44]===Symbol.for("react.memo_cache_sentinel")?(W=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Runtime data was accessed outside of ","<Suspense>"]}),ed[44]=W):W=ed[44],ed[45]===Symbol.for("react.memo_cache_sentinel")?(K=(0,S.jsx)("code",{children:"cookies()"}),ed[45]=K):K=ed[45],ed[46]===Symbol.for("react.memo_cache_sentinel")?(Y=(0,S.jsx)("code",{children:"headers()"}),ed[46]=Y):Y=ed[46],ed[47]===Symbol.for("react.memo_cache_sentinel")?(X=(0,S.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. ",K,", ",Y,", and ",(0,S.jsx)("code",{children:"searchParams"}),", are examples of Runtime data that can only come from a user request."]}),G=(0,S.jsx)("h4",{children:"To fix this:"}),ed[47]=X,ed[48]=G):(X=ed[47],G=ed[48]),ed[49]===Symbol.for("react.memo_cache_sentinel")?(Q=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Provide a fallback UI using ","<Suspense>"]})," around this component."]}),J=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[49]=Q,ed[50]=J):(Q=ed[49],J=ed[50]),ed[51]===Symbol.for("react.memo_cache_sentinel")?(ee=(0,S.jsx)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:(0,S.jsxs)("strong",{children:["Move the Runtime data access into a deeper component wrapped in"," ","<Suspense>","."]})}),et=(0,S.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."}),ed[51]=ee,ed[52]=et):(ee=ed[51],et=ed[52]),ed[53]===Symbol.for("react.memo_cache_sentinel")?(en=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[W,X,G,Q,J,ee,et,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/blocking-route",children:"https://nextjs.org/docs/messages/blocking-route"})]})]}),ed[53]=en):en=ed[53],en):(ed[54]===Symbol.for("react.memo_cache_sentinel")?(er=(0,S.jsxs)("h3",{className:"nextjs__blocking_page_load_error_description_title",children:["Data that blocks navigation was accessed outside of ","<Suspense>"]}),ed[54]=er):er=ed[54],ed[55]===Symbol.for("react.memo_cache_sentinel")?(eo=(0,S.jsx)("code",{children:"fetch(...)"}),ed[55]=eo):eo=ed[55],ed[56]===Symbol.for("react.memo_cache_sentinel")?(ea=(0,S.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 ",eo,", cached data with a low expire time, or ",(0,S.jsx)("code",{children:"connection()"})," are all examples of data that only resolve on navigation."]}),ei=(0,S.jsx)("h4",{children:"To fix this, you can either:"}),ed[56]=ea,ed[57]=ei):(ea=ed[56],ei=ed[57]),ed[58]===Symbol.for("react.memo_cache_sentinel")?(el=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Provide a fallback UI using ","<Suspense>"]})," 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."]}),es=(0,S.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),ed[58]=el,ed[59]=es):(el=ed[58],es=ed[59]),ed[60]===Symbol.for("react.memo_cache_sentinel")?(ec=(0,S.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,S.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,S.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."]}),ed[60]=ec):ec=ed[60],ed[61]===Symbol.for("react.memo_cache_sentinel")?(eu=(0,S.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[er,ea,ei,el,es,ec,(0,S.jsxs)("p",{children:["Learn more:"," ",(0,S.jsx)("a",{href:"https://nextjs.org/docs/messages/blocking-route",children:"https://nextjs.org/docs/messages/blocking-route"})]})]}),ed[61]=eu):eu=ed[61],eu)}var n4={type:"empty"};function n5(e){var t,n,r,o=e.getSquashedHydrationErrorDetails,a=e.runtimeErrors,i=e.debugInfo,l=e.onClose,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["getSquashedHydrationErrorDetails","runtimeErrors","debugInfo","onClose"]),c=(0,C.useRef)(null),u=function(e){var t,n,r,o,a,i,l,s,c,u,d=(0,O.c)(16),f=e.runtimeErrors,p=e.getSquashedHydrationErrorDetails,h=(o=(0,C.useState)(0),function(e){if(Array.isArray(e))return e}(o)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(o,2)||function(e,t){if(e){if("string"==typeof e)return nQ(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nQ(e,2)}}(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=h[0],g=h[1],y=0===f.length,v=null!=(i=f[m])?i:null,b=function(e,t){var n=(0,O.c)(5);n:{if(void 0===e){o=n4;break n}n[0]!==e||n[1]!==t?(a=function(e,t){var n,r,o,a=t(e);if(null!==a)return{type:"hydration",warning:null!=(r=a.warning)?r:null,notes:null,reactOutputComponentDiff:null!=(o=a.reactOutputComponentDiff)?o:null};if(!(tO((n=e).message)||/Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(n.message)||/A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(n.message)))return null;var i=function(e){var t=e.message;if(tO(t)){var n=tx(t.split("\n\n"),2),r=n[0],o=n[1],a=(void 0===o?"":o).trim();return{message:""===a?t.trim():r.trim(),diff:a,notes:null}}var i=tx(t.split("".concat(tj)),2),l=i[0],s=i[1],c=l.trim();if(void 0!==s&&s.length>1){var u=[];s.split("\n").forEach(function(e){""!==e.trim()&&(e.trim().startsWith("at ")||u.push(e))});var d=tw(c.split("\n\n")),f=d[0],p=d.slice(1);return{message:f,diff:u.join("\n"),notes:p.join("\n\n")||null}}var h=tw(c.split("\n\n"));return{message:h[0],diff:null,notes:h.slice(1).join("\n\n")}}(e),l=i.message,s=i.notes,c=i.diff;return null===l?null:{type:"hydration",warning:l,notes:s,reactOutputComponentDiff:c}}(e,t),n[0]=e,n[1]=t,n[2]=a):a=n[2];var r,o,a,i,l=a;if(l){o=l;break n}n[3]!==e?(i=(r=e).message.includes("/blocking-route")?{type:"blocking-route",variant:r.message.includes("cookies()")?"runtime":"navigation",refinement:""}:r.message.includes("/next-prerender-dynamic-metadata")?{type:"dynamic-metadata",variant:r.message.includes("cookies()")?"runtime":"navigation"}:r.message.includes("/next-prerender-dynamic-viewport")?{type:"blocking-route",variant:r.message.includes("cookies()")?"runtime":"navigation",refinement:"generateViewport"}:null,n[3]=e,n[4]=i):i=n[4];var s=i;if(s){o=s;break n}o=n4}return o}(null==v?void 0:v.error,p);if(y||!v)return d[0]!==m||d[1]!==y?(l={isLoading:y,activeIdx:m,setActiveIndex:g,activeError:null,errorDetails:null,errorCode:null,errorType:null},d[0]=m,d[1]=y,d[2]=l):l=d[2],l;var x=v.error;d[3]!==x?(s=(void 0===(a=x)?"undefined":nG(a))==="object"&&null!==a&&"__NEXT_ERROR_CODE"in a&&"string"==typeof a.__NEXT_ERROR_CODE?a.__NEXT_ERROR_CODE:(void 0===a?"undefined":nG(a))==="object"&&null!==a&&"digest"in a&&"string"==typeof a.digest?a.digest.split("@").find(function(e){return e.startsWith("E")}):void 0,d[3]=x,d[4]=s):s=d[4];var w=s;d[5]!==v.type||d[6]!==x||d[7]!==b?(t=x,n=v.type,c="blocking-route"===(r=b).type?"Blocking Route":"dynamic-metadata"===r.type?"Ambiguous Metadata":"recoverable"===n?"Recoverable ".concat(t.name):"console"===n?"Console ".concat(t.name):"Runtime ".concat(t.name),d[5]=v.type,d[6]=x,d[7]=b,d[8]=c):c=d[8];var _=c;return d[9]!==v||d[10]!==m||d[11]!==w||d[12]!==b||d[13]!==_||d[14]!==y?(u={isLoading:y,activeIdx:m,setActiveIndex:g,activeError:v,errorDetails:b,errorCode:w,errorType:_},d[9]=v,d[10]=m,d[11]=w,d[12]=b,d[13]=_,d[14]=y,d[15]=u):u=d[15],u}({runtimeErrors:a,getSquashedHydrationErrorDetails:o}),d=u.isLoading,f=u.errorCode,p=u.errorType,h=u.activeIdx,m=u.errorDetails,g=u.activeError,y=u.setActiveIndex,v=nW(g),b=(0,C.useMemo)(function(){var e,t=v.findIndex(function(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame});return null!=(e=v[t])?e:null},[v]),x=(0,C.useCallback)(function(){if(!g)return"";var e=[];p&&e.push("## Error Type\n".concat(p));var t=g.error,n=t.message;if("environmentName"in t&&t.environmentName){var r="[ ".concat(t.environmentName," ] ");n.startsWith(r)&&(n=n.slice(r.length))}if(n&&e.push("## Error Message\n".concat(n)),v.length>0){var o=v.filter(function(e){return!e.ignored});if(o.length>0){var a=o.map(function(e){if(e.originalStackFrame){var t=e.originalStackFrame,n=t.methodName,r=t.file,o=t.line1,a=t.column1;return"    at ".concat(n," (").concat(r,":").concat(o,":").concat(a,")")}if(e.sourceStackFrame){var i=e.sourceStackFrame,l=i.methodName,s=i.file,c=i.line1,u=i.column1;return"    at ".concat(l," (").concat(s,":").concat(c,":").concat(u,")")}return""}).filter(Boolean);a.length>0&&e.push("\n".concat(a.join("\n")))}}if(null==b?void 0:b.originalCodeFrame){var i=eJ()(e0(b.originalCodeFrame));e.push("## Code Frame\n".concat(i))}return"".concat(e.join("\n\n"),"\n\nNext.js version: ").concat(s.versionInfo.installed," (").concat(process.env.__NEXT_BUNDLER,")\n")},[g,p,b,v,s.versionInfo]);if(d)return(0,S.jsx)(t8,{children:(0,S.jsx)(nh,{})});if(!g)return null;var w=g.error,_=["server","edge-server"].includes(nF(w)||""),j=null,k=null;switch(m.type){case"hydration":r=m.warning?(0,S.jsx)(n0,{message:m.warning}):(0,S.jsx)(n1,{error:w}),j=(0,S.jsxs)("div",{className:"error-overlay-notes-container",children:[m.notes?(0,S.jsx)(S.Fragment,{children:(0,S.jsx)("p",{id:"nextjs__container_errors__notes",className:"nextjs__container_errors__notes",children:m.notes})}):null,m.warning?(0,S.jsx)("p",{id:"nextjs__container_errors__link",className:"nextjs__container_errors__link",children:(0,S.jsx)(eP,{text:"See more info here: ".concat(tk)})}):null]}),m.reactOutputComponentDiff&&(k=(0,S.jsx)(nZ,{reactOutputComponentDiff:m.reactOutputComponentDiff||""}));break;case"blocking-route":r=(0,S.jsx)(n3,{variant:m.variant,refinement:m.refinement});break;case"dynamic-metadata":r=(0,S.jsx)(n2,{variant:m.variant});break;case"empty":r=(0,S.jsx)(n1,{error:w})}return(0,S.jsxs)(nb,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({errorCode:f,errorType:p,errorMessage:r,onClose:_?void 0:l,debugInfo:i,error:w,runtimeErrors:a,activeIdx:h,setActiveIndex:y,dialogResizerRef:c,generateErrorInfo:x},s),n=n={children:[j,k,(0,S.jsx)(C.Suspense,{fallback:(0,S.jsx)("div",{"data-nextjs-error-suspended":!0}),children:(0,S.jsx)(nK,{error:g,dialogResizerRef:c},g.id.toString())})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))}function n6(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:(0,S.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 n9(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#light_icon_clip_path)",children:(0,S.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"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"light_icon_clip_path",children:(0,S.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]}),n[1]=t):t=n[1],t}function n8(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{"data-testid":"geist-icon",height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,S.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 n7(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"16",strokeLinejoin:"round",children:(0,S.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}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||rr(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rn(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rr(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rr(e,t){if(e){if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return re(e,t)}}function ro(){var e,t,n=(e=["\n  .shortcut-recorder {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 8px;\n    position: relative;\n    font-family: var(--font-stack-sans);\n\n    .shortcut-recorder-button {\n      display: flex;\n      align-items: center;\n      gap: 4px;\n      background: transparent;\n      border: 1px dashed var(--color-gray-500);\n      border-radius: var(--rounded-lg);\n      padding: 6px 8px;\n      font-weight: 400;\n      font-size: var(--size-14);\n      color: var(--color-gray-1000);\n      transition: border-color 150ms var(--timing-swift);\n\n      &[data-has-shortcut='true'] {\n        border: 1px solid var(--color-gray-alpha-400);\n\n        &:hover {\n          border-color: var(--color-gray-500);\n        }\n      }\n\n      &:hover {\n        border-color: var(--color-gray-600);\n      }\n\n      &::placeholder {\n        color: var(--color-gray-900);\n      }\n\n      &[data-pristine='false']::placeholder {\n        color: transparent;\n      }\n\n      &:focus-visible {\n        outline: var(--focus-ring);\n        outline-offset: -1px;\n      }\n    }\n\n    kbd {\n      display: inline-flex;\n      align-items: center;\n      justify-content: center;\n      font-family: var(--font-stack-sans);\n      background: var(--color-gray-200);\n      min-width: 20px;\n      height: 20px;\n      font-size: 14px;\n      border-radius: 4px;\n      color: var(--color-gray-1000);\n\n      &[data-symbol='false'] {\n        padding: 0 4px;\n      }\n    }\n\n    .shortcut-recorder-clear-button {\n      cursor: pointer;\n      color: var(--color-gray-1000);\n      width: 20px;\n      height: 20px;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      border-radius: 4px;\n      transition: background 150ms var(--timing-swift);\n\n      &:hover {\n        background: var(--color-gray-300);\n      }\n\n      &:focus-visible {\n        outline: var(--focus-ring);\n      }\n\n      svg {\n        width: 14px;\n        height: 14px;\n      }\n    }\n  }\n\n  .shortcut-recorder-keys {\n    pointer-events: none;\n    user-select: none;\n    display: flex;\n    align-items: center;\n    gap: 2px;\n  }\n\n  .shortcut-recorder-tooltip {\n    --gap: 8px;\n    --background: var(--color-gray-1000);\n    background: var(--background);\n    color: var(--color-background-100);\n    font-size: var(--size-14);\n    padding: 4px 8px;\n    border-radius: 8px;\n    position: absolute;\n    bottom: calc(100% + var(--gap));\n    text-align: center;\n    opacity: 0;\n    scale: 0.96;\n    white-space: nowrap;\n    user-select: none;\n    transition:\n      opacity 150ms var(--timing-swift),\n      scale 150ms var(--timing-swift);\n\n    &[data-show='true'] {\n      opacity: 1;\n      scale: 1;\n    }\n\n    svg {\n      position: absolute;\n      transform: translateX(-50%);\n      bottom: -6px;\n      left: 50%;\n    }\n\n    .shortcut-recorder-status {\n      display: flex;\n      align-items: center;\n      gap: 6px;\n    }\n\n    .shortcut-recorder-status-icon {\n      width: 7px;\n      height: 7px;\n      border-radius: 50%;\n      flex-shrink: 0;\n      background: var(--color-red-700);\n\n      &[data-success='true'] {\n        background: var(--color-green-700);\n      }\n    }\n  }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return ro=function(){return n},n}var ra=["Meta","Control","Ctrl","Alt","Option","Shift"];function ri(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(33),m=e.value,g=e.onChange,y=rt((0,C.useState)(!0),2),v=y[0],b=y[1],x=rt((0,C.useState)(!1),2),w=x[0],_=x[1];h[0]!==m?(t=null!=m?m:[],h[0]=m,h[1]=t):t=h[1];var j=rt((0,C.useState)(t),2),k=j[0],P=j[1],E=rt((0,C.useState)(!1),2),T=E[0],N=E[1],I=(0,C.useRef)(null),L=(0,C.useRef)(null),A=!!m||k.length>0;h[2]!==g||h[3]!==v||h[4]!==w?(n=function(e){if(e.target===L.current&&"Tab"!==e.key){I.current&&clearTimeout(I.current),w||_(!0),v&&(P([]),b(!1));var t=function(e){I.current=window.setTimeout(function(){N(!0),g(e.join("+")),I.current=window.setTimeout(function(){_(!1)},1e3)},180)};e.preventDefault(),e.stopPropagation(),P(function(n){if(n.includes(e.code)||n.includes(e.key))return n;if(!ra.includes(e.key)){var r=n.findIndex(rc);if(-1!==r){var o=rn(n);return o[r]=e.code,t(o),o}var a=rn(n).concat([e.code]);return t(a),a}for(var i=rn(n),l=ra.indexOf(e.key),s=0,c=0;c<i.length;c++)if(ra.includes(i[c])){if(l<ra.indexOf(i[c])){s=c;break}s=c+1}else break;return i.splice(s,0,e.key),t(i),i})}},h[2]=g,h[3]=v,h[4]=w,h[5]=n):n=h[5];var z=n;h[6]!==g?(r=function(){var e;null==(e=L.current)||e.focus(),P([]),N(!1),setTimeout(function(){_(!0)}),g(null)},h[6]=g,h[7]=r):r=h[7];var R=r;h[8]===Symbol.for("react.memo_cache_sentinel")?(o=function(){N(!1),_(!1),b(!0)},h[8]=o):o=h[8];var D=o;h[9]===Symbol.for("react.memo_cache_sentinel")?(a=function(){var e;I.current&&clearTimeout(I.current),_(!0),null==(e=L.current)||e.focus()},h[9]=a):a=h[9];var M=a;h[10]!==A||h[11]!==k?(i=A?(0,S.jsx)("div",{className:"shortcut-recorder-keys",children:k.map(rs)}):"Record Shortcut",h[10]=A,h[11]=k,h[12]=i):i=h[12],h[13]!==R||h[14]!==A?(l=A&&(0,S.jsx)("div",{className:"shortcut-recorder-clear-button",role:"button",onClick:R,onFocus:rl,onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(R(),e.stopPropagation())},"aria-label":"Clear shortcut",tabIndex:0,children:(0,S.jsx)(rp,{})}),h[13]=R,h[14]=A,h[15]=l):l=h[15],h[16]!==z||h[17]!==A||h[18]!==i||h[19]!==l?(s=(0,S.jsxs)("button",{className:"shortcut-recorder-button",ref:L,onClick:M,onFocus:M,onBlur:D,onKeyDown:z,"data-has-shortcut":A,"data-shortcut-recorder":"true",children:[i,l]}),h[16]=z,h[17]=A,h[18]=i,h[19]=l,h[20]=s):s=h[20],h[21]!==T?(c=(0,S.jsx)("div",{className:"shortcut-recorder-status-icon","data-success":T}),h[21]=T,h[22]=c):c=h[22];var Z=T?"Shortcut set":"Recording";return h[23]!==Z||h[24]!==c?(u=(0,S.jsxs)("div",{className:"shortcut-recorder-status",children:[c,Z]}),h[23]=Z,h[24]=c,h[25]=u):u=h[25],h[26]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsx)(ru,{}),h[26]=d):d=h[26],h[27]!==w||h[28]!==u?(f=(0,S.jsxs)("div",{className:"shortcut-recorder-tooltip","data-show":w,children:[u,d]}),h[27]=w,h[28]=u,h[29]=f):f=h[29],h[30]!==f||h[31]!==s?(p=(0,S.jsxs)("div",{className:"shortcut-recorder",children:[s,f]}),h[30]=f,h[31]=s,h[32]=p):p=h[32],p}function rl(e){return e.stopPropagation()}function rs(e){return(0,S.jsx)(rd,{children:e},e)}function rc(e){return!ra.includes(e)}function ru(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{fill:"none",height:"6",viewBox:"0 0 14 6",width:"14",xmlns:"http://www.w3.org/2000/svg",children:(0,S.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 rd(e){var t,n,r,o,a=(0,O.c)(9),i=e.children;a[0]!==i?(t=function(e){switch(e){case"Meta":return(0,S.jsx)(rf,{});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];var l=t;if(a[2]!==i||a[3]!==l){var s=l(i);n="string"==typeof s&&1===s.length,r=function(e){if("string"!=typeof e)return e;var 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}(s),a[2]=i,a[3]=l,a[4]=n,a[5]=r}else n=a[4],r=a[5];return a[6]!==n||a[7]!==r?(o=(0,S.jsx)("kbd",{"data-symbol":n,children:r}),a[6]=n,a[7]=r,a[8]=o):o=a[8],o}function rf(){var e,t=(0,O.c)(1),n=rm(/^Mac/)||rm(/^iPhone/)||rm(/^iPad/)||rm(/^Mac/)&&navigator.maxTouchPoints>1?"⌘":"Ctrl";return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("span",{style:{minWidth:"1em",display:"inline-block"},children:n}),t[0]=e):e=t[0],e}function rp(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,S.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}var rh=eg(ro());function rm(e){return null!=window.navigator?e.test(window.navigator.platform):void 0}function rg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ry(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}var rv=__webpack_require__("./dist/compiled/zod/index.cjs"),rb=rv.z.object({theme:rv.z.enum(["light","dark","system"]).optional(),disableDevIndicator:rv.z.boolean().optional(),devToolsPosition:rv.z.enum(["top-left","top-right","bottom-left","bottom-right"]).optional(),devToolsPanelPosition:rv.z.record(rv.z.string(),rv.z.enum(["top-left","top-right","bottom-left","bottom-right"])).optional(),devToolsPanelSize:rv.z.record(rv.z.string(),rv.z.object({width:rv.z.number(),height:rv.z.number()})).optional(),scale:rv.z.number().optional(),hideShortcut:rv.z.string().nullable().optional()});function rx(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var rw={},r_=null;function rj(){if(0!==Object.keys(rw).length){var e=JSON.stringify(rw);rw={},fetch("/__nextjs_devtools_config",{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(function(t){console.warn("[Next.js DevTools] Failed to save config:",{data:e,error:t})})}}function rk(e){var t=rb.safeParse(e);t.success?(rw=function e(t,n){if(!n||(void 0===n?"undefined":rx(n))!=="object"||Array.isArray(n)||!t||(void 0===t?"undefined":rx(t))!=="object"||Array.isArray(t))return n;var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},t);for(var o in n){var a=n[o],i=t[o];void 0!==a&&(a&&(void 0===a?"undefined":rx(a))==="object"&&!Array.isArray(a)&&i&&(void 0===i?"undefined":rx(i))==="object"&&!Array.isArray(i)?r[o]=e(i,a):r[o]=a)}return r}(rw,e),r_&&clearTimeout(r_),r_=setTimeout(rj,120)):console.warn("[Next.js DevTools] Invalid config patch:",t.error.message)}function rS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rO(){var e,t,n=(e=["\n  .preferences-container {\n    width: 100%;\n  }\n\n  @media (min-width: 576px) {\n    .preferences-container {\n      width: 480px;\n    }\n  }\n\n  .preference-section:first-child {\n    padding-top: 0;\n  }\n\n  .preference-section {\n    padding: 12px 0;\n    border-bottom: 1px solid var(--color-gray-400);\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    gap: 24px;\n  }\n\n  .preference-section:last-child {\n    border-bottom: none;\n  }\n\n  .preference-header {\n    margin-bottom: 0;\n    flex: 1;\n  }\n\n  .preference-header label {\n    font-size: var(--size-14);\n    font-weight: 500;\n    color: var(--color-gray-1000);\n    margin: 0;\n  }\n\n  .preference-description {\n    color: var(--color-gray-900);\n    font-size: var(--size-14);\n    margin: 0;\n  }\n\n  .select-button,\n  .action-button {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    background: var(--color-background-100);\n    border: 1px solid var(--color-gray-400);\n    border-radius: var(--rounded-lg);\n    font-weight: 400;\n    font-size: var(--size-14);\n    color: var(--color-gray-1000);\n    padding: 6px 8px;\n    transition: border-color 150ms var(--timing-swift);\n\n    &:hover {\n      border-color: var(--color-gray-500);\n    }\n\n    svg {\n      width: 14px;\n      height: 14px;\n      overflow: visible;\n    }\n  }\n\n  .select-button {\n    &:focus-within {\n      outline: var(--focus-ring);\n      outline-offset: -1px;\n    }\n\n    select {\n      all: unset;\n    }\n\n    option {\n      color: var(--color-gray-1000);\n      background: var(--color-background-100);\n    }\n  }\n\n  .preference-section button:disabled {\n    opacity: 0.6;\n    cursor: not-allowed;\n  }\n\n  :global(.icon) {\n    width: 18px;\n    height: 18px;\n    color: #666;\n  }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return rO=function(){return n},n}function rC(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,P,E,T,N,I,L,A,R,D,M,Z,U,F,H,V,B=(0,O.c)(61),$=e.theme,q=e.hide,W=e.hideShortcut,K=e.setHideShortcut,Y=e.scale,X=e.setPosition,G=e.setScale,Q=e.position,J=(r=(t=(0,C.useState)(!1),n=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return rg(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rg(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],o=n[1],{restartServer:function(e){var t,n=e.invalidateFileSystemCache;return(t=function(){var e,t,r,a,i,l;return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(s){switch(s.label){case 0:o(!0),e=n?"/__nextjs_restart_dev?invalidateFileSystemCache=1":"/__nextjs_restart_dev",t=!1,s.label=1;case 1:return s.trys.push([1,11,12,13]),[4,fetch("/__nextjs_server_status").then(function(e){return e.json()}).then(function(e){return e.executionId}).catch(function(e){return console.log("[Next.js DevTools] Failed to fetch server status while restarting dev server.",e),null})];case 2:if(!(r=s.sent()))return console.log("[Next.js DevTools] Failed to get the current server execution ID while restarting dev server."),[2];return[4,fetch(e,{method:"POST"})];case 3:if(!(a=s.sent()).ok)return console.log("[Next.js DevTools] Failed to fetch restart server endpoint. Status:",a.status),[2];i=0,s.label=4;case 4:if(!(i<10))return[3,10];return[4,new Promise(function(e){return setTimeout(e,1e3)})];case 5:s.sent(),s.label=6;case 6:return s.trys.push([6,8,,9]),[4,fetch("/__nextjs_server_status").then(function(e){return e.json()}).then(function(e){return e.executionId})];case 7:if(l=s.sent(),r!==l)return t=!0,window.location.reload(),[2];return[3,9];case 8:return s.sent(),[3,9];case 9:return i++,[3,4];case 10:return console.log("[Next.js DevTools] Failed to restart server. Exhausted all polling attempts."),[2];case 11:return console.log("[Next.js DevTools] Failed to restart server.",s.sent()),[2];case 12:return t||o(!1),[7];case 13:return[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var a=t.apply(e,n);function i(e){ry(a,r,o,i,l,"next",e)}function l(e){ry(a,r,o,i,l,"throw",e)}i(void 0)})})()},isPending:r}),ee=J.restartServer,et=J.isPending,en=dw().shadowRoot;B[0]!==en.host?(a=function(e){var t=en.host;if("system"===e.target.value){t.classList.remove("dark"),t.classList.remove("light"),rk({theme:"system"});return}"dark"===e.target.value?(t.classList.add("dark"),t.classList.remove("light"),rk({theme:"dark"})):(t.classList.remove("dark"),t.classList.add("light"),rk({theme:"light"}))},B[0]=en.host,B[1]=a):a=B[1];var er=a;B[2]!==X?(i=function(e){X(e.target.value),rk({devToolsPosition:e.target.value})},B[2]=X,B[3]=i):i=B[3];var eo=i;B[4]!==G?(l=function(e){var t=Number(e.target.value);G(t),rk({scale:t})},B[4]=G,B[5]=l):l=B[5];var ea=l;return B[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{htmlFor:"theme",children:"Theme"}),(0,S.jsx)("p",{className:"preference-description",children:"Select your theme preference."})]}),B[6]=s):s=B[6],B[7]!==$?(c=(0,S.jsx)(rT,{theme:$}),B[7]=$,B[8]=c):c=B[8],B[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,S.jsx)("option",{value:"system",children:"System"}),d=(0,S.jsx)("option",{value:"light",children:"Light"}),f=(0,S.jsx)("option",{value:"dark",children:"Dark"}),B[9]=u,B[10]=d,B[11]=f):(u=B[9],d=B[10],f=B[11]),B[12]!==er||B[13]!==c||B[14]!==$?(p=(0,S.jsxs)("div",{className:"preference-section",children:[s,(0,S.jsxs)(rE,{id:"theme",name:"theme",prefix:c,value:$,onChange:er,children:[u,d,f]})]}),B[12]=er,B[13]=c,B[14]=$,B[15]=p):p=B[15],B[16]===Symbol.for("react.memo_cache_sentinel")?(h=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{htmlFor:"position",children:"Position"}),(0,S.jsx)("p",{className:"preference-description",children:"Adjust the placement of your dev tools."})]}),B[16]=h):h=B[16],B[17]===Symbol.for("react.memo_cache_sentinel")?(m=(0,S.jsx)("option",{value:"bottom-left",children:"Bottom Left"}),g=(0,S.jsx)("option",{value:"bottom-right",children:"Bottom Right"}),y=(0,S.jsx)("option",{value:"top-left",children:"Top Left"}),v=(0,S.jsx)("option",{value:"top-right",children:"Top Right"}),B[17]=m,B[18]=g,B[19]=y,B[20]=v):(m=B[17],g=B[18],y=B[19],v=B[20]),B[21]!==eo||B[22]!==Q?(b=(0,S.jsxs)("div",{className:"preference-section",children:[h,(0,S.jsxs)(rE,{id:"position",name:"position",value:Q,onChange:eo,children:[m,g,y,v]})]}),B[21]=eo,B[22]=Q,B[23]=b):b=B[23],B[24]===Symbol.for("react.memo_cache_sentinel")?(x=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{htmlFor:"size",children:"Size"}),(0,S.jsx)("p",{className:"preference-description",children:"Adjust the size of your dev tools."})]}),B[24]=x):x=B[24],B[25]===Symbol.for("react.memo_cache_sentinel")?(w=Object.entries(z).map(rP),B[25]=w):w=B[25],B[26]!==ea||B[27]!==Y?(_=(0,S.jsxs)("div",{className:"preference-section",children:[x,(0,S.jsx)(rE,{id:"size",name:"size",value:Y,onChange:ea,children:w})]}),B[26]=ea,B[27]=Y,B[28]=_):_=B[28],B[29]===Symbol.for("react.memo_cache_sentinel")?(j=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools for this session"}),(0,S.jsx)("p",{className:"preference-description",children:"Hide Dev Tools until you restart your dev server, or 1 day."})]}),B[29]=j):j=B[29],B[30]===Symbol.for("react.memo_cache_sentinel")?(k=(0,S.jsx)(n6,{}),P=(0,S.jsx)("span",{children:"Hide"}),B[30]=k,B[31]=P):(k=B[30],P=B[31]),B[32]!==q?(E=(0,S.jsxs)("div",{className:"preference-section",children:[j,(0,S.jsx)("div",{className:"preference-control",children:(0,S.jsxs)("button",{"aria-describedby":"hide-dev-tools",name:"hide-dev-tools","data-hide-dev-tools":!0,className:"action-button",onClick:q,children:[k,P]})})]}),B[32]=q,B[33]=E):E=B[33],B[34]===Symbol.for("react.memo_cache_sentinel")?(T=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"hide-dev-tools",children:"Hide Dev Tools shortcut"}),(0,S.jsx)("p",{className:"preference-description",children:"Set a custom keyboard shortcut to toggle visibility."})]}),B[34]=T):T=B[34],B[35]!==W?(N=null!=(I=null==W?void 0:W.split("+"))?I:null,B[35]=W,B[36]=N):N=B[36],B[37]!==K||B[38]!==N?(L=(0,S.jsxs)("div",{className:"preference-section",children:[T,(0,S.jsx)("div",{className:"preference-control",children:(0,S.jsx)(ri,{value:N,onChange:K})})]}),B[37]=K,B[38]=N,B[39]=L):L=B[39],B[40]===Symbol.for("react.memo_cache_sentinel")?(A=(0,S.jsx)("label",{children:"Disable Dev Tools for this project"}),B[40]=A):A=B[40],B[41]===Symbol.for("react.memo_cache_sentinel")?(R=(0,S.jsx)("code",{className:"dev-tools-info-code",children:"devIndicators: false"}),B[41]=R):R=B[41],B[42]===Symbol.for("react.memo_cache_sentinel")?(D=(0,S.jsx)("div",{className:"preference-section",children:(0,S.jsxs)("div",{className:"preference-header",children:[A,(0,S.jsxs)("p",{className:"preference-description",children:["To disable this UI completely, set"," ",R," in your ",(0,S.jsx)("code",{className:"dev-tools-info-code",children:"next.config"})," file."]})]})}),B[42]=D):D=B[42],B[43]===Symbol.for("react.memo_cache_sentinel")?(M=(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"restart-dev-server",children:"Restart Dev Server"}),(0,S.jsx)("p",{className:"preference-description",children:"Restarts the development server without needing to leave the browser."})]}),B[43]=M):M=B[43],B[44]!==ee?(Z=function(){return ee({invalidateFileSystemCache:!1})},B[44]=ee,B[45]=Z):Z=B[45],B[46]===Symbol.for("react.memo_cache_sentinel")?(U=(0,S.jsx)("span",{children:"Restart"}),B[46]=U):U=B[46],B[47]!==et||B[48]!==Z?(F=(0,S.jsxs)("div",{className:"preference-section",children:[M,(0,S.jsx)("div",{className:"preference-control",children:(0,S.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:et,children:U})})]}),B[47]=et,B[48]=Z,B[49]=F):F=B[49],B[50]!==et||B[51]!==ee?(H=process.env.__NEXT_BUNDLER_HAS_PERSISTENT_CACHE?(0,S.jsxs)("div",{className:"preference-section",children:[(0,S.jsxs)("div",{className:"preference-header",children:[(0,S.jsx)("label",{id:"reset-bundler-cache",children:"Reset Bundler Cache"}),(0,S.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,S.jsx)("div",{className:"preference-control",children:(0,S.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:function(){return ee({invalidateFileSystemCache:!0})},disabled:et,children:(0,S.jsx)("span",{children:"Reset Cache"})})})]}):null,B[50]=et,B[51]=ee,B[52]=H):H=B[52],B[53]!==p||B[54]!==b||B[55]!==_||B[56]!==E||B[57]!==L||B[58]!==F||B[59]!==H?(V=(0,S.jsxs)("div",{className:"preferences-container",children:[p,b,_,E,L,D,F,H]}),B[53]=p,B[54]=b,B[55]=_,B[56]=E,B[57]=L,B[58]=F,B[59]=H,B[60]=V):V=B[60],V}function rP(e){var t,n=function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return rS(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rS(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return(0,S.jsx)("option",{value:o,children:r},r)}function rE(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(11);return(c[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","prefix"]),r=e.children,o=e.prefix,c[0]=e,c[1]=r,c[2]=o,c[3]=a):(r=c[1],o=c[2],a=c[3]),c[4]!==r||c[5]!==a)?(i=(0,S.jsx)("select",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},a),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),c[4]=r,c[5]=a,c[6]=i):i=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,S.jsx)(rI,{}),c[7]=l):l=c[7],c[8]!==o||c[9]!==i?(s=(0,S.jsxs)("div",{className:"select-button",children:[o,i,l]}),c[8]=o,c[9]=i,c[10]=s):s=c[10],s}function rT(e){var t,n,r,o=(0,O.c)(3);switch(e.theme){case"system":return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(n7,{}),o[0]=t):t=o[0],t;case"dark":return o[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.jsx)(n8,{}),o[1]=n):n=o[1],n;case"light":return o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(n9,{}),o[2]=r):r=o[2],r;default:return null}}var rN=eg(rO());function rI(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":!0,children:(0,S.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 rL(){var e,t,n=(e=["\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n        ","\n      "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return rL=function(){return n},n}function rA(){return(0,S.jsx)("style",{children:eg(rL(),"\n  .nextjs-data-copy-button {\n    color: inherit;\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n  }\n  .nextjs-data-copy-button:disabled {\n    background-color: var(--color-gray-100);\n    cursor: not-allowed;\n  }\n  .nextjs-data-copy-button--initial:hover:not(:disabled) {\n    cursor: pointer;\n  }\n  .nextjs-data-copy-button--error:not(:disabled),\n  .nextjs-data-copy-button--error:hover:not(:disabled) {\n    color: var(--color-ansi-red);\n  }\n  .nextjs-data-copy-button--success:not(:disabled) {\n    color: var(--color-ansi-green);\n  }\n",'\n  [data-nextjs-call-stack-frame-no-source] {\n    padding: 6px 8px;\n    margin-bottom: 4px;\n\n    border-radius: var(--rounded-lg);\n  }\n\n  [data-nextjs-call-stack-frame-no-source]:last-child {\n    margin-bottom: 0;\n  }\n\n  [data-nextjs-call-stack-frame-ignored="true"] {\n    opacity: 0.6;\n  }\n\n  [data-nextjs-call-stack-frame] {\n    user-select: text;\n    display: block;\n    box-sizing: border-box;\n\n    user-select: text;\n    -webkit-user-select: text;\n    -moz-user-select: text;\n    -ms-user-select: text;\n\n    padding: 6px 8px;\n\n    border-radius: var(--rounded-lg);\n  }\n\n  .call-stack-frame-method-name {\n    display: flex;\n    align-items: center;\n    gap: 4px;\n\n    margin-bottom: 4px;\n    font-family: var(--font-stack-monospace);\n\n    color: var(--color-gray-1000);\n    font-size: var(--size-14);\n    font-weight: 500;\n    line-height: var(--size-20);\n\n    svg {\n      width: var(--size-16px);\n      height: var(--size-16px);\n    }\n  }\n\n  .open-in-editor-button, .source-mapping-error-button {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    border-radius: var(--rounded-full);\n    padding: 4px;\n    color: var(--color-font);\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n\n    &:focus-visible {\n      outline: var(--focus-ring);\n      outline-offset: -2px;\n    }\n\n    &:hover {\n      background: var(--color-gray-100);\n    }\n  }\n\n  .call-stack-frame-file-source {\n    color: var(--color-gray-900);\n    font-size: var(--size-14);\n    line-height: var(--size-20);\n  }\n',nL,"\n  [data-nextjs-environment-name-label] {\n    padding: 2px 6px;\n    margin: 0;\n    border-radius: var(--rounded-md-2);\n    background: var(--color-gray-100);\n    font-weight: 600;\n    font-size: var(--size-12);\n    color: var(--color-gray-900);\n    font-family: var(--font-stack-monospace);\n    line-height: var(--size-20);\n  }\n",n_,e6,nx,tZ,"\n  .error-overlay-bottom-stack-layer {\n    width: 100%;\n    height: var(--stack-layer-height);\n    position: relative;\n    border: 1px solid var(--color-gray-400);\n    border-radius: var(--rounded-xl);\n    background: var(--color-background-200);\n    transition:\n      translate 350ms var(--timing-swift),\n      box-shadow 350ms var(--timing-swift);\n  }\n\n  .error-overlay-bottom-stack-layer-1 {\n    width: calc(100% - var(--size-24));\n  }\n\n  .error-overlay-bottom-stack-layer-2 {\n    width: calc(100% - var(--size-48));\n    z-index: -1;\n  }\n\n  .error-overlay-bottom-stack {\n    width: 100%;\n    position: absolute;\n    bottom: -1px;\n    height: 0;\n    overflow: visible;\n  }\n\n  .error-overlay-bottom-stack-stack {\n    --stack-layer-height: 44px;\n    --stack-layer-height-half: calc(var(--stack-layer-height) / 2);\n    --stack-layer-trim: 13px;\n    --shadow: 0px 0.925px 0.925px 0px rgba(0, 0, 0, 0.02),\n      0px 3.7px 7.4px -3.7px rgba(0, 0, 0, 0.04),\n      0px 14.8px 22.2px -7.4px rgba(0, 0, 0, 0.06);\n\n    display: grid;\n    place-items: center center;\n    width: 100%;\n    position: fixed;\n    height: 0;\n    overflow: visible;\n    z-index: -1;\n    max-width: var(--next-dialog-max-width);\n\n    .error-overlay-bottom-stack-layer {\n      grid-area: 1 / 1;\n      /* Hide */\n      translate: 0 calc(var(--stack-layer-height) * -1);\n    }\n\n    &[data-stack-count='1'],\n    &[data-stack-count='2'] {\n      .error-overlay-bottom-stack-layer-1 {\n        translate: 0\n          calc(var(--stack-layer-height-half) * -1 - var(--stack-layer-trim));\n      }\n    }\n\n    &[data-stack-count='2'] {\n      .error-overlay-bottom-stack-layer-2 {\n        translate: 0 calc(var(--stack-layer-trim) * -1 * 2);\n      }\n    }\n\n    /* Only the bottom stack should have the shadow */\n    &[data-stack-count='1'] .error-overlay-bottom-stack-layer-1 {\n      box-shadow: var(--shadow);\n    }\n\n    &[data-stack-count='2'] {\n      .error-overlay-bottom-stack-layer-2 {\n        box-shadow: var(--shadow);\n      }\n    }\n  }\n","\n  .error-overlay-pagination {\n    -webkit-font-smoothing: antialiased;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    gap: 8px;\n    width: fit-content;\n  }\n\n  .error-overlay-pagination-count {\n    color: var(--color-gray-900);\n    text-align: center;\n    font-size: var(--size-14);\n    font-weight: 500;\n    line-height: var(--size-16);\n    font-variant-numeric: tabular-nums;\n  }\n\n  .error-overlay-pagination-button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n\n    width: var(--size-24);\n    height: var(--size-24);\n    background: var(--color-gray-300);\n    flex-shrink: 0;\n\n    border: none;\n    border-radius: var(--rounded-full);\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n\n    &:focus-visible {\n      outline: var(--focus-ring);\n    }\n\n    &:not(:disabled):active {\n      background: var(--color-gray-500);\n    }\n\n    &:disabled {\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n  }\n\n  .error-overlay-pagination-button-icon {\n    color: var(--color-gray-1000);\n  }\n",'\n  [data-nextjs-codeframe] {\n    --code-frame-padding: 12px;\n    --code-frame-line-height: var(--size-16);\n    background-color: var(--color-background-200);\n    color: var(--color-gray-1000);\n    text-overflow: ellipsis;\n    border: 1px solid var(--color-gray-400);\n    border-radius: 8px;\n    font-family: var(--font-stack-monospace);\n    font-size: var(--size-12);\n    line-height: var(--code-frame-line-height);\n    margin: 8px 0;\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n  }\n\n  .code-frame-link,\n  .code-frame-pre {\n    padding: var(--code-frame-padding);\n  }\n\n  .code-frame-link svg {\n    flex-shrink: 0;\n  }\n\n  .code-frame-lines {\n    min-width: max-content;\n  }\n\n  .code-frame-link [data-text] {\n    text-align: left;\n    margin: auto 6px;\n  }\n\n  .code-frame-header {\n    width: 100%;\n    transition: background 100ms ease-out;\n    border-radius: 8px 8px 0 0;\n    border-bottom: 1px solid var(--color-gray-400);\n  }\n\n  [data-with-open-in-editor-link-source-file] {\n    padding: 4px;\n    margin: -4px 0 -4px auto;\n    border-radius: var(--rounded-full);\n    margin-left: auto;\n\n    &:focus-visible {\n      outline: var(--focus-ring);\n      outline-offset: -2px;\n    }\n\n    &:hover {\n      background: var(--color-gray-100);\n    }\n  }\n\n  [data-nextjs-codeframe]::selection,\n  [data-nextjs-codeframe] *::selection {\n    background-color: var(--color-ansi-selection);\n  }\n\n  [data-nextjs-codeframe] *:not(a) {\n    color: inherit;\n    background-color: transparent;\n    font-family: var(--font-stack-monospace);\n  }\n\n  [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored="true"] {\n    position: relative;\n    isolation: isolate;\n\n    > span { \n      position: relative;\n      z-index: 1;\n    }\n\n    &::after {\n      content: "";\n      width: calc(100% + var(--code-frame-padding) * 2);\n      height: var(--code-frame-line-height);\n      left: calc(-1 * var(--code-frame-padding));\n      background: var(--color-red-200);\n      box-shadow: 2px 0 0 0 var(--color-red-900) inset;\n      position: absolute;\n    }\n  }\n\n\n  [data-nextjs-codeframe] > * {\n    margin: 0;\n  }\n\n  .code-frame-link {\n    display: flex;\n    margin: 0;\n    outline: 0;\n  }\n  .code-frame-link [data-icon=\'right\'] {\n    margin-left: auto;\n  }\n\n  [data-nextjs-codeframe] div > pre {\n    overflow: hidden;\n    display: inline-block;\n  }\n\n  [data-nextjs-codeframe] svg {\n    color: var(--color-gray-900);\n  }\n',"\n  [data-nextjs-terminal]::selection,\n  [data-nextjs-terminal] *::selection {\n    background-color: var(--color-ansi-selection);\n  }\n\n  [data-nextjs-terminal] * {\n    color: inherit;\n    background-color: transparent;\n    font-family: var(--font-stack-monospace);\n  }\n\n  [data-nextjs-terminal] > div > p {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    cursor: pointer;\n    margin: 0;\n  }\n  [data-nextjs-terminal] > div > p:hover {\n    text-decoration: underline dotted;\n  }\n  [data-nextjs-terminal] div > pre {\n    overflow: hidden;\n    display: inline-block;\n  }\n","\n  [data-with-open-in-editor-link] svg {\n    width: auto;\n    height: var(--size-14);\n    margin-left: 8px;\n  }\n  [data-with-open-in-editor-link] {\n    cursor: pointer;\n  }\n  [data-with-open-in-editor-link]:hover {\n    text-decoration: underline dotted;\n  }\n  [data-with-open-in-editor-link-import-trace] {\n    margin-left: 16px;\n  }\n","","\n  .nextjs-error-with-static {\n    bottom: calc(16px * 4.5);\n  }\n  p.nextjs__container_errors__link {\n    font-size: var(--size-14);\n  }\n  p.nextjs__container_errors__notes {\n    color: var(--color-stack-notes);\n    font-size: var(--size-14);\n    line-height: 1.5;\n  }\n  .nextjs-container-errors-body > h2:not(:first-child) {\n    margin-top: calc(16px + 8px);\n  }\n  .nextjs-container-errors-body > h2 {\n    color: var(--color-title-color);\n    margin-bottom: 8px;\n    font-size: var(--size-20);\n  }\n  .nextjs-toast-errors-parent {\n    cursor: pointer;\n    transition: transform 0.2s ease;\n  }\n  .nextjs-toast-errors-parent:hover {\n    transform: scale(1.1);\n  }\n  .nextjs-toast-errors {\n    display: flex;\n    align-items: center;\n    justify-content: flex-start;\n  }\n  .nextjs-toast-errors > svg {\n    margin-right: 8px;\n  }\n  .nextjs-toast-hide-button {\n    margin-left: 24px;\n    border: none;\n    background: none;\n    color: var(--color-ansi-bright-white);\n    padding: 0;\n    transition: opacity 0.25s ease;\n    opacity: 0.7;\n  }\n  .nextjs-toast-hide-button:hover {\n    opacity: 1;\n  }\n  .nextjs__container_errors__error_title {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    margin-bottom: 14px;\n  }\n  .error-overlay-notes-container {\n    margin: 8px 2px;\n  }\n  .error-overlay-notes-container p {\n    white-space: pre-wrap;\n  }\n  .nextjs__blocking_page_load_error_description {\n    color: var(--color-stack-notes);\n  }\n  .nextjs__blocking_page_load_error_description_title {\n    color: var(--color-title-color);\n  }\n  .nextjs__blocking_page_load_error_fix_option {\n    background-color: var(--color-background-200);\n    padding: 14px;\n    border-radius: var(--rounded-md-2);\n    border: 1px solid var(--color-gray-alpha-400);\n  }\n  .external-link, .external-link:hover {\n    color:inherit;\n  }\n",nX,"\n  .nextjs-container-build-error-version-status {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    gap: 4px;\n\n    height: var(--size-26);\n    padding: 6px 8px 6px 6px;\n    background: var(--color-background-100);\n    background-clip: padding-box;\n    border: 1px solid var(--color-gray-alpha-400);\n    box-shadow: var(--shadow-small);\n    border-radius: var(--rounded-full);\n\n    color: var(--color-gray-900);\n    font-size: var(--size-12);\n    font-weight: 500;\n    line-height: var(--size-16);\n  }\n\n  a.nextjs-container-build-error-version-status {\n    text-decoration: none;\n    color: var(--color-gray-900);\n\n    &:hover {\n      background: var(--color-gray-100);\n    }\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n  }\n\n  .version-staleness-indicator.fresh {\n    fill: var(--color-green-800);\n    stroke: var(--color-green-300);\n  }\n  .version-staleness-indicator.stale {\n    fill: var(--color-amber-800);\n    stroke: var(--color-amber-300);\n  }\n  .version-staleness-indicator.outdated {\n    fill: var(--color-red-800);\n    stroke: var(--color-red-300);\n  }\n  .version-staleness-indicator.unknown {\n    fill: var(--color-gray-800);\n    stroke: var(--color-gray-300);\n  }\n\n  .nextjs-container-build-error-version-status > .turbopack-text {\n    background: linear-gradient(\n      to right,\n      var(--color-turbopack-text-red) 0%,\n      var(--color-turbopack-text-blue) 100%\n    );\n    background-clip: text;\n    -webkit-background-clip: text;\n    -webkit-text-fill-color: transparent;\n  }\n",rN,'\n  .nextjs-scroll-fader {\n    --blur: 1px;\n    --stop: 25%;\n    --height: 150px;\n    --color-bg: var(--color-background-100);\n    position: absolute;\n    pointer-events: none;\n    user-select: none;\n    width: 100%;\n    height: var(--height);\n    left: 0;\n    backdrop-filter: blur(var(--blur));\n\n    &[data-side="top"] {\n      top: 0;\n      background: linear-gradient(to top, transparent, var(--color-bg));\n      mask-image: linear-gradient(to bottom, var(--color-bg) var(--stop), transparent);\n    }\n  }\n',rh)})}function rz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rR(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rz(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rD(e,t){var n,r,o,a,i=(0,O.c)(10),l=void 0!==e&&e;i[0]!==t?(n=void 0===t?{}:t,i[0]=t,i[1]=n):n=i[1];var s=n,c=rR((0,C.useState)(l),2),u=c[0],d=c[1],f=rR((0,C.useState)(!1),2),p=f[0],h=f[1],m=s.enterDelay,g=s.exitDelay,y=void 0===m?1:m,v=void 0===g?0:g;return i[2]!==l||i[3]!==y||i[4]!==v?(r=function(){var e,t;return l?(d(!0),y<=0?h(!0):e=setTimeout(function(){h(!0)},y)):(h(!1),v<=0?d(!1):t=setTimeout(function(){d(!1)},v)),function(){clearTimeout(e),clearTimeout(t)}},o=[l,y,v],i[2]=l,i[3]=y,i[4]=v,i[5]=r,i[6]=o):(r=i[5],o=i[6]),(0,C.useEffect)(r,o),i[7]!==u||i[8]!==p?(a={mounted:u,rendered:p},i[7]=u,i[8]=p,i[9]=a):a=i[9],a}function rM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function rZ(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function rU(e){var t,n,r,o,a,i,l,s=(0,O.c)(18),c=e.state,u=e.dispatch,d=e.getSquashedHydrationErrorDetails,f=e.runtimeErrors,p=e.errorCount,h=!!process.env.TURBOPACK;s[0]===Symbol.for("react.memo_cache_sentinel")?(t={exitDelay:200},s[0]=t):t=s[0];var m=rD(c.isErrorOverlayOpen,t),g=m.mounted,y=m.rendered;s[1]!==p||s[2]!==y||s[3]!==c.versionInfo?(n={rendered:y,transitionDurationMs:200,isTurbopack:h,versionInfo:c.versionInfo,errorCount:p},s[1]=p,s[2]=y,s[3]=c.versionInfo,s[4]=n):n=s[4];var v=n;return null!==c.buildError?(s[5]!==v||s[6]!==c.buildError?(r=(0,S.jsx)(nC,rZ(rM({},v),{message:c.buildError,rendered:!0})),s[5]=v,s[6]=c.buildError,s[7]=r):r=s[7],r):f.length?g?(s[10]!==u?(i=function(){u({type:Y})},s[10]=u,s[11]=i):i=s[11],s[12]!==v||s[13]!==d||s[14]!==f||s[15]!==c.debugInfo||s[16]!==i?(l=(0,S.jsx)(n5,rZ(rM({},v),{debugInfo:c.debugInfo,getSquashedHydrationErrorDetails:d,runtimeErrors:f,onClose:i})),s[12]=v,s[13]=d,s[14]=f,s[15]=c.debugInfo,s[16]=i,s[17]=l):l=s[17],l):(s[9]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)(C.Suspense,{}),s[9]=a):a=s[9],a):(s[8]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.jsx)(C.Suspense,{}),s[8]=o):o=s[8],o)}function rF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){rH(e,t,n[t])})}return e}function rB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rF(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var r$=function(e){var t,n,r=(0,O.c)(4);return e.state.buildError?(r[0]!==e?(t=(0,S.jsx)(rW,rV({},e)),r[0]=e,r[1]=t):t=r[1],t):(r[2]!==e?(n=(0,S.jsx)(rq,rV({},e)),r[2]=e,r[3]=n):n=r[3],n)},rq=function(e){var t=e.children,n=e.state,r=e.isAppDir,o=n.errors,a=rB((0,C.useState)({}),2),i=a[0],l=a[1],s=rB((0,C.useMemo)(function(){for(var e=[],t=null,n=0;n<o.length;++n){var r=o[n],a=r.id;if(a in i){e.push(i[a]);continue}t=r;break}return[e,t]},[o,i]),2),c=s[0],u=s[1];return(0,C.useEffect)(function(){if(null!=u){var e,t,n=!0;return(e=u,t=r,nV(function(){var n,r,o;return nq(this,function(a){switch(a.label){case 0:var i,l;return n={id:e.id,runtime:!0,error:e.error,type:e.type},[2,n$(nB({},n),{frames:(l=(i=function(){return nV(function(){return nq(this,function(n){switch(n.label){case 0:return[4,eR(e.frames,nF(e.error),t)];case 1:return[2,n.sent()]}})})()})(),function(){return l})})];case 1:return r=[nB({},n)],o={},[4,eR(e.frames,nF(e.error),t)];case 2:return[2,n$.apply(void 0,r.concat([(o.frames=a.sent(),o)]))];case 3:return[2]}})})()).then(function(e){n&&l(function(t){var n,r;return n=rV({},t),r=null!=(r=rH({},e.id,e))?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n})}),function(){n=!1}}},[u,r]),t({runtimeErrors:c,totalErrorCount:o.length})},rW=function(e){return(0,e.children)({runtimeErrors:[],totalErrorCount:1})};function rK(){var e,t,n=(0,O.c)(4),r=dw(),o=r.shadowRoot,a=r.state;return n[0]!==o||n[1]!==a.scale?(e=function(){(null==o?void 0:o.host)&&o.host.style.setProperty("--nextjs-dev-tools-scale",String(a.scale||1))},t=[o,a.scale],n[0]=o,n[1]=a.scale,n[2]=e,n[3]=t):(e=n[2],t=n[3]),(0,C.useLayoutEffect)(e,t),null}var rY=__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"),rX={};function rG(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rQ(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r0(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.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"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}function r1(e){var t,n,r,o,a=(0,O.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.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"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,S.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n=n={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),a[1]=e,a[2]=o):o=a[2],o}rX.styleTagTransform=x(),rX.setAttributes=g(),rX.insert=h(),rX.domAPI=f(),rX.insertStyleElement=v(),u()(rY.A,rX),rY.A&&rY.A.locals&&rY.A.locals;var r2=(0,C.createContext)(null),r3=function(){return(0,C.useContext)(r2)};function r4(e){return oS+36/e.scale+9}function r5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r6(){var e,t,n=(e=["\n          [data-indicator-status] {\n            --padding-left: 8px;\n            display: flex;\n            gap: 6px;\n            align-items: center;\n            padding-left: 12px;\n            padding-right: 8px;\n            height: var(--size-32);\n            margin-right: 2px;\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-short) ease;\n            color: white;\n            font-size: var(--size-13);\n            font-weight: 500;\n            white-space: nowrap;\n            border: none;\n            background: transparent;\n            cursor: pointer;\n            outline: none;\n          }\n\n          [data-indicator-status]:focus-visible {\n            outline: 2px solid var(--color-blue-800, #3b82f6);\n            outline-offset: 3px;\n          }\n\n          [data-status-dot] {\n            width: 8px;\n            height: 8px;\n            border-radius: 50%;\n            flex-shrink: 0;\n          }\n\n          [data-status-text-animation] {\n            display: inline-flex;\n            align-items: center;\n            position: relative;\n            overflow: hidden;\n            height: 100%;\n\n            > * {\n              white-space: nowrap;\n              line-height: 1;\n            }\n\n            [data-status-text-enter] {\n              animation: slotMachineEnter 150ms cubic-bezier(0, 0, 0.2, 1)\n                forwards;\n            }\n          }\n\n          [data-status-ellipsis] {\n            display: inline-flex;\n            margin-left: 2px;\n          }\n\n          [data-status-ellipsis] span {\n            animation: ellipsisFade 1.2s infinite;\n            margin: 0 1px;\n          }\n\n          [data-status-ellipsis] span:nth-child(2) {\n            animation-delay: 0.2s;\n          }\n\n          [data-status-ellipsis] span:nth-child(3) {\n            animation-delay: 0.4s;\n          }\n\n          @keyframes ellipsisFade {\n            0%,\n            60%,\n            100% {\n              opacity: 0.2;\n            }\n            30% {\n              opacity: 1;\n            }\n          }\n\n          @keyframes slotMachineEnter {\n            0% {\n              transform: translateY(0.8em);\n              opacity: 0;\n            }\n            50% {\n              opacity: 0.8;\n            }\n            100% {\n              transform: translateY(0);\n              opacity: 1;\n            }\n          }\n        "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return r6=function(){return n},n}var r9=((e={}).None="none",e.Rendering="rendering",e.Compiling="compiling",e.Prerendering="prerendering",e.CacheBypassing="cache-bypassing",e);function r8(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(13),u=e.status,d=e.onClick;c[0]===Symbol.for("react.memo_cache_sentinel")?(r5(n={},"none",""),r5(n,"cache-bypassing","Cache disabled"),r5(n,"prerendering","Prerendering"),r5(n,"compiling","Compiling"),r5(n,"rendering","Rendering"),t=n,c[0]=t):t=c[0];var f=t;c[1]===Symbol.for("react.memo_cache_sentinel")?(r5(o={},"none",""),r5(o,"cache-bypassing",""),r5(o,"prerendering","#f5a623"),r5(o,"compiling","#f5a623"),r5(o,"rendering","#50e3c2"),r=o,c[1]=r):r=c[1];var p=r;if("none"===u)return null;c[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)("style",{children:eg(r6())}),c[2]=a):a=c[2],c[3]!==u?(i=p[u]&&(0,S.jsx)("div",{"data-status-dot":!0,style:{backgroundColor:p[u]}}),c[3]=u,c[4]=i):i=c[4];var h="cache-bypassing"!==u,m=f[u];return c[5]!==u||c[6]!==h||c[7]!==m?(l=(0,S.jsx)(r7,{statusKey:u,showEllipsis:h,children:m},u),c[5]=u,c[6]=h,c[7]=m,c[8]=l):l=c[8],c[9]!==d||c[10]!==i||c[11]!==l?(s=(0,S.jsxs)(S.Fragment,{children:[a,(0,S.jsxs)("button",{"data-indicator-status":!0,"data-nextjs-dev-tools-button":!0,onClick:d,"aria-label":"Open Next.js Dev Tools",children:[i,l]})]}),c[9]=d,c[10]=i,c[11]=l,c[12]=s):s=c[12],s}function r7(e){var t,n,r=(0,O.c)(5),o=e.children,a=e.showEllipsis,i=void 0===a||a;return r[0]!==i?(t=i&&(0,S.jsxs)("span",{"data-status-ellipsis":!0,children:[(0,S.jsx)("span",{children:"."}),(0,S.jsx)("span",{children:"."}),(0,S.jsx)("span",{children:"."})]}),r[0]=i,r[1]=t):t=r[1],r[2]!==t||r[3]!==o?(n=(0,S.jsx)("div",{"data-status-text-animation":!0,children:(0,S.jsxs)("div",{"data-status-text-enter":!0,children:[o,t]})}),r[2]=t,r[3]=o,r[4]=n):n=r[4],n}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function on(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function or(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oa(){var e,t,n=(e=["\n          [data-next-badge-root] {\n            --timing: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n            --duration-long: 250ms;\n            --color-outer-border: #171717;\n            --color-inner-border: hsla(0, 0%, 100%, 0.14);\n            --color-hover-alpha-subtle: hsla(0, 0%, 100%, 0.13);\n            --color-hover-alpha-error: hsla(0, 0%, 100%, 0.2);\n            --color-hover-alpha-error-2: hsla(0, 0%, 100%, 0.25);\n            --mark-size: calc(var(--size) - var(--size-2) * 2);\n\n            --focus-color: var(--color-blue-800);\n            --focus-ring: 2px solid var(--focus-color);\n\n            &:has([data-next-badge][data-error='true']) {\n              --focus-color: #fff;\n            }\n          }\n\n          [data-disabled-icon] {\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            padding-right: 4px;\n          }\n\n          [data-next-badge] {\n            width: var(--size);\n            height: var(--size);\n            display: flex;\n            align-items: center;\n            position: relative;\n            background: rgba(0, 0, 0, 0.8);\n            box-shadow:\n              0 0 0 1px var(--color-outer-border),\n              inset 0 0 0 1px var(--color-inner-border),\n              0px 16px 32px -8px rgba(0, 0, 0, 0.24);\n            backdrop-filter: blur(48px);\n            border-radius: var(--rounded-full);\n            user-select: none;\n            cursor: pointer;\n            scale: 1;\n            overflow: hidden;\n            will-change: scale, box-shadow, width, background;\n            transition:\n              scale var(--duration-short) var(--timing),\n              width var(--duration-long) var(--timing),\n              box-shadow var(--duration-long) var(--timing),\n              background var(--duration-short) ease;\n\n            &:active[data-error='false'] {\n              scale: 0.95;\n            }\n\n            &[data-animate='true']:not(:hover) {\n              scale: 1.02;\n            }\n\n            &[data-error='false']:has([data-next-mark]:focus-visible) {\n              outline: var(--focus-ring);\n              outline-offset: 3px;\n            }\n\n            &[data-error='true'] {\n              background: #ca2a30;\n              --color-inner-border: #e5484d;\n\n              [data-next-mark] {\n                background: var(--color-hover-alpha-error);\n                outline-offset: 0px;\n\n                &:focus-visible {\n                  outline: var(--focus-ring);\n                  outline-offset: -1px;\n                }\n\n                &:hover {\n                  background: var(--color-hover-alpha-error-2);\n                }\n              }\n            }\n\n            &[data-cache-bypassing='true']:not([data-error='true']) {\n              background: rgba(217, 119, 6, 0.95);\n              --color-inner-border: rgba(245, 158, 11, 0.9);\n\n              [data-issues-open] {\n                color: white;\n              }\n            }\n\n            &[data-error-expanded='false'][data-error='true'] ~ [data-dot] {\n              scale: 1;\n            }\n\n            > div {\n              display: flex;\n            }\n          }\n\n          [data-issues-collapse]:focus-visible {\n            outline: var(--focus-ring);\n          }\n\n          [data-issues]:has([data-issues-open]:focus-visible) {\n            outline: var(--focus-ring);\n            outline-offset: -1px;\n          }\n\n          [data-dot] {\n            content: '';\n            width: var(--size-8);\n            height: var(--size-8);\n            background: #fff;\n            box-shadow: 0 0 0 1px var(--color-outer-border);\n            border-radius: 50%;\n            position: absolute;\n            top: 2px;\n            right: 0px;\n            scale: 0;\n            pointer-events: none;\n            transition: scale 200ms var(--timing);\n            transition-delay: var(--duration-short);\n          }\n\n          [data-issues] {\n            --padding-left: 8px;\n            display: flex;\n            gap: 2px;\n            align-items: center;\n            padding-left: 8px;\n            padding-right: 8px;\n            height: var(--size-32);\n            margin-right: 2px;\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-short) ease;\n\n            &:has([data-issues-open]:hover) {\n              background: var(--color-hover-alpha-error);\n            }\n\n            &:has([data-issues-collapse]) {\n              padding-right: calc(var(--padding-left) / 2);\n            }\n\n            [data-cross] {\n              translate: 0px -1px;\n            }\n          }\n\n          [data-issues-open] {\n            font-size: var(--size-13);\n            color: white;\n            width: fit-content;\n            height: 100%;\n            display: flex;\n            gap: 2px;\n            align-items: center;\n            margin: 0;\n            line-height: var(--size-36);\n            font-weight: 500;\n            z-index: 2;\n            white-space: nowrap;\n\n            &:focus-visible {\n              outline: 0;\n            }\n          }\n\n          [data-issues-collapse] {\n            width: var(--size-24);\n            height: var(--size-24);\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-short) ease;\n\n            &:hover {\n              background: var(--color-hover-alpha-error);\n            }\n          }\n\n          [data-cross] {\n            color: #fff;\n            width: var(--size-12);\n            height: var(--size-12);\n          }\n\n          [data-next-mark] {\n            width: var(--mark-size);\n            height: var(--mark-size);\n            margin: 0 2px;\n            display: flex;\n            align-items: center;\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-long) var(--timing);\n\n            &:focus-visible {\n              outline: 0;\n            }\n\n            &:hover {\n              background: var(--color-hover-alpha-subtle);\n            }\n\n            svg {\n              flex-shrink: 0;\n              width: var(--size-40);\n              height: var(--size-40);\n            }\n          }\n\n          [data-issues-count-animation] {\n            display: grid;\n            place-items: center center;\n            font-variant-numeric: tabular-nums;\n\n            &[data-animate='false'] {\n              [data-issues-count-exit],\n              [data-issues-count-enter] {\n                animation-duration: 0ms;\n              }\n            }\n\n            > * {\n              grid-area: 1 / 1;\n            }\n\n            [data-issues-count-exit] {\n              animation: fadeOut 300ms var(--timing) forwards;\n            }\n\n            [data-issues-count-enter] {\n              animation: fadeIn 300ms var(--timing) forwards;\n            }\n          }\n\n          [data-issues-count-plural] {\n            display: inline-block;\n            &[data-animate='true'] {\n              animation: fadeIn 300ms var(--timing) forwards;\n            }\n          }\n\n          .paused {\n            stroke-dashoffset: 0;\n          }\n\n          @keyframes fadeIn {\n            0% {\n              opacity: 0;\n              filter: blur(2px);\n              transform: translateY(8px);\n            }\n            100% {\n              opacity: 1;\n              filter: blur(0px);\n              transform: translateY(0);\n            }\n          }\n\n          @keyframes fadeOut {\n            0% {\n              opacity: 1;\n              filter: blur(0px);\n              transform: translateY(0);\n            }\n            100% {\n              opacity: 0;\n              transform: translateY(-12px);\n              filter: blur(2px);\n            }\n          }\n\n          @media (prefers-reduced-motion) {\n            [data-issues-count-exit],\n            [data-issues-count-enter],\n            [data-issues-count-plural] {\n              animation-duration: 0ms !important;\n            }\n          }\n        "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return oa=function(){return n},n}function oi(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j,k,P,E,T,N,I,L,A,z,R,D=(0,O.c)(54);D[0]!==e?(w=or(e,["onTriggerClick"]),_=e.onTriggerClick,D[0]=e,D[1]=w,D[2]=_):(w=D[1],_=D[2]);var M=dw(),Z=M.state,U=M.dispatch,F=da().totalErrorCount,H=36/Z.scale,V=r3(),B=V.panel,$=V.triggerRef,q=V.setPanel,W="panel-selector"===B,X=F>0,G=oo((0,C.useState)(X),2),Q=G[0],J=G[1],ee=oo((0,C.useState)(X),2),et=ee[0],en=ee[1];et!==X&&(en(X),J(X));var er=oo((0,C.useState)(!1),2),eo=er[0],ea=er[1],ei=(t=F,o=(0,O.c)(4),a=150,i=(0,C.useRef)(null),c=(l=(0,C.useState)(!1),s=function(e){if(Array.isArray(e))return e}(l)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(l,2)||function(e,t){if(e){if("string"==typeof e)return rG(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rG(e,2)}}(l,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],u=s[1],o[0]!==a||o[1]!==t?(n=function(){if(t>0){var e=i.current?Date.now()-i.current:-1;if(i.current=Date.now(),!(e<=a)){u(!0);var n=window.setTimeout(function(){u(!1)},a);return function(){clearTimeout(n)}}}},r=[t,a],o[0]=a,o[1]=t,o[2]=n,o[3]=r):(n=o[2],r=o[3]),(0,C.useEffect)(n,r),c),el="filling"===Z.cacheIndicator,es="bypass"===Z.cacheIndicator,ec=Z.buildingIndicator||Z.renderingIndicator||el;D[3]===Symbol.for("react.memo_cache_sentinel")?(j={enterDelay:400,exitDelay:500},D[3]=j):j=D[3];var eu=rD(ec,j).rendered,ed=(0,C.useRef)(null),ef=(d=ed,h=(0,O.c)(3),g=(m=rJ((0,C.useState)(0),2))[0],y=m[1],h[0]!==d?(f=function(){var e=d.current;if(e){var t=new ResizeObserver(function(e){y(rJ(e,1)[0].contentRect.width)});return t.observe(e),function(){return t.disconnect()}}},p=[d],h[0]=d,h[1]=f,h[2]=p):(f=h[1],p=h[2]),(0,C.useEffect)(f,p),g);D[4]!==Z.buildingIndicator||D[5]!==Z.cacheIndicator||D[6]!==Z.renderingIndicator?(v=Z.buildingIndicator,b=Z.renderingIndicator,x=Z.cacheIndicator,k=v?"compiling":"filling"===x?"prerendering":b?"rendering":"none",D[4]=Z.buildingIndicator,D[5]=Z.cacheIndicator,D[6]=Z.renderingIndicator,D[7]=k):k=D[7];var ep=k,eh=eu?ep:r9.None,em=Q||es||eu||Z.disableDevIndicator,ey=0===ef?"auto":ef,ev="".concat(H,"px"),eb=Z.disableDevIndicator&&(!X||eo)?"none":"block";D[8]!==ev||D[9]!==eb?(P={"--size":ev,"--duration-short":"".concat(150,"ms"),display:eb},D[8]=ev,D[9]=eb,D[10]=P):P=D[10];var ex=P;D[11]===Symbol.for("react.memo_cache_sentinel")?(E=(0,S.jsx)("style",{children:eg(oa())}),D[11]=E):E=D[11];var ew=X||es?r9.None:ep;return D[12]!==ey?(T={width:ey},D[12]=ey,D[13]=T):T=D[13],D[14]!==w||D[15]!==X||D[16]!==es||D[17]!==W||D[18]!==_||D[19]!==eu||D[20]!==Z.disableDevIndicator||D[21]!==$?(N=!Z.disableDevIndicator&&(0,S.jsx)("button",on(ot({id:"next-logo",ref:$,"data-next-mark":!0,onClick:_,disabled:Z.disableDevIndicator,"aria-haspopup":"menu","aria-expanded":W,"aria-controls":"nextjs-dev-tools-menu","aria-label":"".concat(W?"Close":"Open"," Next.js Dev Tools"),"data-nextjs-dev-tools-button":!0,style:{display:!eu||X||es?"flex":"none"}},w),{children:(0,S.jsx)(oc,{})})),D[14]=w,D[15]=X,D[16]=es,D[17]=W,D[18]=_,D[19]=eu,D[20]=Z.disableDevIndicator,D[21]=$,D[22]=N):N=D[22],D[23]!==U||D[24]!==eh||D[25]!==X||D[26]!==es||D[27]!==Q||D[28]!==em||D[29]!==ei||D[30]!==_||D[31]!==q||D[32]!==eu||D[33]!==Z.buildError||D[34]!==Z.disableDevIndicator||D[35]!==Z.isErrorOverlayOpen||D[36]!==F||D[37]!==$?(I=em&&(0,S.jsxs)(S.Fragment,{children:[(Q||Z.disableDevIndicator)&&(0,S.jsxs)("div",{"data-issues":!0,children:[(0,S.jsxs)("button",{"data-issues-open":!0,"aria-label":"Open issues overlay",onClick:function(){Z.isErrorOverlayOpen?U({type:Y}):(U({type:K}),q(null))},children:[Z.disableDevIndicator&&(0,S.jsx)("div",{"data-disabled-icon":!0,children:(0,S.jsx)(r1,{})}),(0,S.jsx)(ol,{animate:ei,"data-issues-count-animation":!0,children:F},F)," ",(0,S.jsxs)("div",{children:["Issue",F>1&&(0,S.jsx)("span",{"aria-hidden":!0,"data-issues-count-plural":!0,"data-animate":ei&&2===F,children:"s"})]})]}),!Z.buildError&&(0,S.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse issues badge",onClick:function(){var e;Z.disableDevIndicator?ea(!0):J(!1),null==(e=$.current)||e.focus()},children:(0,S.jsx)(r0,{"data-cross":!0})})]}),es&&!X&&!Z.disableDevIndicator&&(0,S.jsx)(os,{onTriggerClick:_,triggerRef:$}),eu&&!X&&!es&&!Z.disableDevIndicator&&(0,S.jsx)(r8,{status:eh,onClick:_})]}),D[23]=U,D[24]=eh,D[25]=X,D[26]=es,D[27]=Q,D[28]=em,D[29]=ei,D[30]=_,D[31]=q,D[32]=eu,D[33]=Z.buildError,D[34]=Z.disableDevIndicator,D[35]=Z.isErrorOverlayOpen,D[36]=F,D[37]=$,D[38]=I):I=D[38],D[39]!==N||D[40]!==I?(L=(0,S.jsxs)("div",{ref:ed,children:[N,I]}),D[39]=N,D[40]=I,D[41]=L):L=D[41],D[42]!==X||D[43]!==es||D[44]!==em||D[45]!==ei||D[46]!==L||D[47]!==ew||D[48]!==T?(A=(0,S.jsx)("div",{"data-next-badge":!0,"data-error":X,"data-error-expanded":em,"data-status":ew,"data-cache-bypassing":es,"data-animate":ei,style:T,children:L}),D[42]=X,D[43]=es,D[44]=em,D[45]=ei,D[46]=L,D[47]=ew,D[48]=T,D[49]=A):A=D[49],D[50]===Symbol.for("react.memo_cache_sentinel")?(z=(0,S.jsx)("div",{"aria-hidden":!0,"data-dot":!0}),D[50]=z):z=D[50],D[51]!==A||D[52]!==ex?(R=(0,S.jsxs)("div",{"data-next-badge-root":!0,style:ex,children:[E,A,z]}),D[51]=A,D[52]=ex,D[53]=R):R=D[53],R}function ol(e){var t,n,r,o,a,i,l=(0,O.c)(13);l[0]!==e?(n=or(e,["children","animate"]),t=e.children,r=e.animate,l[0]=e,l[1]=t,l[2]=n,l[3]=r):(t=l[1],n=l[2],r=l[3]);var s=void 0===r||r,c=t-1;return l[4]!==c?(o=(0,S.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,S.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]!==n||l[10]!==o||l[11]!==a?(i=(0,S.jsxs)("div",on(ot({},n),{"data-animate":s,children:[o,a]})),l[8]=s,l[9]=n,l[10]=o,l[11]=a,l[12]=i):i=l[12],i}function os(e){var t,n,r,o,a,i=(0,O.c)(10),l=e.onTriggerClick,s=e.triggerRef,c=oo((0,C.useState)(!1),2),u=c[0],d=c[1];return u?null:(i[0]!==l?(t=(0,S.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?(n=function(){var e;d(!0),null==(e=s.current)||e.focus()},i[2]=s,i[3]=n):n=i[3],i[4]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)(r0,{"data-cross":!0}),i[4]=r):r=i[4],i[5]!==n?(o=(0,S.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse cache bypass badge",onClick:n,children:r}),i[5]=n,i[6]=o):o=i[6],i[7]!==t||i[8]!==o?(a=(0,S.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 oc(){var e,t,n,r,o=(0,O.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsxs)("g",{transform:"translate(8.5, 13)",children:[(0,S.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,S.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,S.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,S.jsx)("stop",{stopColor:"white"}),(0,S.jsx)("stop",{offset:"0.604072",stopColor:"white",stopOpacity:"0"}),(0,S.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[1]=t):t=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,S.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,S.jsx)("stop",{stopColor:"white"}),(0,S.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[2]=n):n=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[e,(0,S.jsxs)("defs",{children:[t,n,(0,S.jsxs)("mask",{id:"next_logo_mask0",children:[(0,S.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,S.jsx)("rect",{width:"5",height:"1.5",fill:"black"})]})]})]}),o[3]=r):r=o[3],r}var ou=C.forwardRef(function(e,t){var n,r,o,a,i,l,s,c,u,d=(0,O.c)(15);return(d[0]!==e?(l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["onClick","children","className"]),i=e.onClick,o=e.children,a=e.className,d[0]=e,d[1]=o,d[2]=a,d[3]=i,d[4]=l):(o=d[1],a=d[2],i=d[3],l=d[4]),d[5]!==i?(s=function(e){return e.target.closest("a")||e.preventDefault(),null==i?void 0:i()},d[5]=i,d[6]=s):s=d[6],d[7]!==a?(c=e9("nextjs-toast",a),d[7]=a,d[8]=c):c=d[8],d[9]!==o||d[10]!==l||d[11]!==t||d[12]!==s||d[13]!==c)?(u=(0,S.jsx)("div",(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},l),r=r={ref:t,onClick:s,className:c,children:o},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n)),d[9]=o,d[10]=l,d[11]=t,d[12]=s,d[13]=c,d[14]=u):u=d[14],u});function od(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}var of=(0,C.createContext)(null);function op(e){var t=e.children,n=e.disabled,r=void 0!==n&&n,o=(0,C.useRef)(new Set),a=(0,C.useCallback)(function(e){o.current.add(e)},[]),i=(0,C.useCallback)(function(e){o.current.delete(e)},[]),l=(0,C.useMemo)(function(){return{register:a,unregister:i,handles:o.current,disabled:r}},[a,i,r]);return(0,S.jsx)(of.Provider,{value:l,children:t})}function oh(){return(0,C.useContext)(of)}function om(e){var t,n,r,o,a,i,l,s,c,u,d,f=(0,O.c)(19);f[0]!==e?(o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","ref"]),r=e.children,a=e.ref,f[0]=e,f[1]=r,f[2]=o,f[3]=a):(r=f[1],o=f[2],a=f[3]);var p=(0,C.useRef)(null),h=oh();f[4]!==a?(i=function(e){if(p.current=null!=e?e:null,"function"==typeof a)a(e);else{var t;a&&(void 0===a?"undefined":(t=a)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="object"&&(a.current=e)}},f[4]=a,f[5]=i):i=f[5];var m=i;f[6]!==h?(l=function(){if(h&&p.current&&!h.disabled){var e=p.current;return h.register(e),function(){return h.unregister(e)}}},s=[h],f[6]=h,f[7]=l,f[8]=s):(l=f[7],s=f[8]),(0,C.useEffect)(l,s);var g=(null==h?void 0:h.disabled)?"default":"grab";return(f[9]!==o.style?(c=o.style||{},f[9]=o.style,f[10]=c):c=f[10],f[11]!==g||f[12]!==c?(u=od({cursor:g},c),f[11]=g,f[12]=c,f[13]=u):u=f[13],f[14]!==r||f[15]!==o||f[16]!==m||f[17]!==u)?(d=(0,S.jsx)("div",(t=od({ref:m},o),n=n={style:u,children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),f[14]=r,f[15]=o,f[16]=m,f[17]=u,f[18]=d):d=f[18],d}function og(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ov(e){return function(e){if(Array.isArray(e))return og(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ob(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ob(e,t){if(e){if("string"==typeof e)return og(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return og(e,t)}}function ox(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(15);h[0]!==e?(u=oy(e,["children","padding","position","setPosition","onDragStart","dragHandleSelector","disableDrag","avoidZone"]),a=e.children,c=e.padding,i=e.position,d=e.setPosition,s=e.onDragStart,l=e.dragHandleSelector,f=e.disableDrag,o=e.avoidZone,h[0]=e,h[1]=o,h[2]=a,h[3]=i,h[4]=l,h[5]=s,h[6]=c,h[7]=u,h[8]=d,h[9]=f):(o=h[1],a=h[2],i=h[3],l=h[4],s=h[5],c=h[6],u=h[7],d=h[8],f=h[9]);var m=function(e){var t=(0,C.useRef)(null),n=(0,C.useRef)({state:"idle"}),r=(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)(function(){var e,o,a;"drag"===n.current.state&&(null==(a=t.current)||a.releasePointerCapture(n.current.pointerId)),n.current="drag"===n.current.state?{state:"drag-end"}:{state:"idle"},null!==r.current&&(r.current(),r.current=null),l.current=[],null==(e=t.current)||e.classList.remove("dev-tools-grabbing"),null==(o=t.current)||o.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="".concat(e.x,"px ").concat(e.y,"px"))}function u(n){var r=t.current;null!==r&&(r.style.transition="translate 491.22ms var(--timing-bounce)",r.addEventListener("transitionend",function t(o){if("translate"===o.propertyName){var i;null==(i=e.onAnimationEnd)||i.call(e,n),a.current={x:0,y:0},r.style.transition="",r.removeEventListener("transitionend",t)}}),c(n.translation))}function d(e){if("drag-end"===n.current.state){var r;e.preventDefault(),e.stopPropagation(),n.current={state:"idle"},null==(r=t.current)||r.removeEventListener("click",d)}}function f(r){if("press"===n.current.state){var s,u,d,f,p,h=r.clientX-o.current.x,m=r.clientY-o.current.y;Math.sqrt(h*h+m*m)>=e.threshold&&(n.current={state:"drag",pointerId:r.pointerId},null==(u=t.current)||u.setPointerCapture(r.pointerId),null==(d=t.current)||d.classList.add("dev-tools-grabbing"),null==(f=t.current)||f.style.setProperty("-webkit-user-select","none"),document.body.style.userSelect="none",document.body.style.webkitUserSelect="none",null==(p=e.onDragStart)||p.call(e))}if("drag"===n.current.state){var g={x:r.clientX,y:r.clientY},y=g.x-o.current.x,v=g.y-o.current.y;o.current=g,c({x:a.current.x+y,y:a.current.y+v});var b=Date.now();b-i.current>=10&&(l.current=ov(l.current.slice(-5)).concat([{position:g,timestamp:b}])),i.current=b,null==(s=e.onDrag)||s.call(e,a.current)}}function p(){var t,n=function(e){if(e.length<2)return{x:0,y:0};var t=e[0],n=e[e.length-1],r=n.timestamp-t.timestamp;return 0===r?{x:0,y:0}:{x:1e3*((n.position.x-t.position.x)/r),y:1e3*((n.position.y-t.position.y)/r)}}(l.current);s(),null==(t=e.onDragEnd)||t.call(e,a.current,n)}return(0,C.useLayoutEffect)(function(){e.disabled&&s()},[s,e.disabled]),e.disabled?{ref:t,animate:u}:{ref:t,onPointerDown:function(a){var i;0!==a.button||function(n){if(!n||!t.current)return!0;if(e.handles&&e.handles.size>0){for(var r=n;r&&r!==t.current;){if(e.handles.has(r))return!0;r=r.parentElement}return!1}return!e.dragHandleSelector||null!==n.closest(e.dragHandleSelector)}(a.target)&&(o.current={x:a.clientX,y:a.clientY},n.current={state:"press"},window.addEventListener("pointermove",f),window.addEventListener("pointerup",p),null!==r.current&&(r.current(),r.current=null),r.current=function(){window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",p)},null==(i=t.current)||i.addEventListener("click",d))},animate:u}}({disabled:void 0!==f&&f,handles:null==(r=oh())?void 0:r.handles,threshold:5,onDragStart:s,onDragEnd:function(e,t){var n,r,a,l,s,u,d,f,p,h,m,v,b,x,w,_,j,k;if(0===Math.sqrt(e.x*e.x+e.y*e.y)){null==(n=g.current)||n.style.removeProperty("translate");return}y((b=(r={x:e.x+o_(t.x),y:e.y+o_(t.y)}).x,x=r.y,_=Object.entries(w=(s=2*c,u=(null==(a=g.current)?void 0:a.offsetWidth)||0,d=(null==(l=g.current)?void 0:l.offsetHeight)||0,f=window.innerWidth-document.documentElement.clientWidth,h=(p=function(e){var t=e.includes("right"),n=e.includes("bottom"),r=t?window.innerWidth-f-s-u:0,a=n?window.innerHeight-s-d:0;if(o&&o.corner===e){var i=o.square+o.padding;n?a-=i:a+=i}return{x:r,y:a}})(i),{"top-left":(m=function(e){return{x:e.x-h.x,y:e.y-h.y}})(p("top-left")),"top-right":m(p("top-right")),"bottom-left":m(p("bottom-left")),"bottom-right":m(p("bottom-right"))})).map(function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||ob(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return{key:r,distance:Math.sqrt(Math.pow(b-o.x,2)+Math.pow(x-o.y,2))}}),j=(v=Math).min.apply(v,ov(_.map(ow))),(k=_.find(function(e){return e.distance===j}))?{translation:w[k.key],corner:k.key}:{corner:i,translation:w[i]}))},onAnimationEnd:function(e){var t=e.corner;setTimeout(function(){var e;null==(e=g.current)||e.style.removeProperty("translate"),d(t)})},dragHandleSelector:l}),g=m.ref,y=m.animate,v=oy(m,["ref","animate"]);return h[10]!==a||h[11]!==v||h[12]!==u||h[13]!==g?(p=(0,S.jsx)("div",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},u,v),n=n={ref:g,children:a},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),h[10]=a,h[11]=v,h[12]=u,h[13]=g,h[14]=p):p=h[14],p}function ow(e){return e.distance}function o_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.999;return e/1e3*t/(1-t)}function oj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ok(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oS=20;function oO(){var e,t,n,r,o,a,i,l,s=(0,O.c)(20),c=dw(),u=c.state,d=c.dispatch,f=r3(),p=f.panel,h=f.setPanel,m=f.setSelectedIndex,g=oC();s[0]!==u.devToolsPosition?(t=u.devToolsPosition.split("-",2),s[0]=u.devToolsPosition,s[1]=t):t=s[1];var y=function(e){if(Array.isArray(e))return e}(e=t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return oj(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oj(e,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),v=y[0],b=y[1];s[2]!==b||s[3]!==v?(ok(r={"--animate-out-duration-ms":"".concat(200,"ms"),"--animate-out-timing-function":nc,boxShadow:"none"},v,"".concat(oS,"px")),ok(r,b,"".concat(oS,"px")),n=r,s[2]=b,s[3]=v,s[4]=n):n=s[4];var x=n,w=null!==p;return s[5]!==d||s[6]!==g?(o=function(e){d({type:et,devToolsPosition:e}),rk({devToolsPosition:e}),g(e)},s[5]=d,s[6]=g,s[7]=o):o=s[7],s[8]!==p||s[9]!==h||s[10]!==m?(a=(0,S.jsx)(oi,{onTriggerClick:function(){var e="panel-selector"===p?null:"panel-selector";if(h(e),!e)return void m(-1)}}),s[8]=p,s[9]=h,s[10]=m,s[11]=a):a=s[11],s[12]!==u.devToolsPosition||s[13]!==w||s[14]!==o||s[15]!==a?(i=(0,S.jsx)(ox,{disableDrag:w,padding:oS,position:u.devToolsPosition,setPosition:o,children:a}),s[12]=u.devToolsPosition,s[13]=w,s[14]=o,s[15]=a,s[16]=i):i=s[16],s[17]!==x||s[18]!==i?(l=(0,S.jsx)(ou,{id:"devtools-indicator","data-nextjs-toast":!0,style:x,children:i}),s[17]=x,s[18]=i,s[19]=l):l=s[19],l}var oC=function(){var e,t=(0,O.c)(3),n=dw(),r=n.state,o=n.dispatch;return t[0]!==o||t[1]!==r.devToolsPanelPosition?(e=function(e){o({type:en,devToolsPanelPosition:e,key:es});var t=Object.keys(r.devToolsPanelPosition).filter(oP),n=ok({},es,e);t.forEach(function(t){o({type:en,devToolsPanelPosition:e,key:t}),n[t]=e}),rk({devToolsPanelPosition:n})},t[0]=o,t[1]=r.devToolsPanelPosition,t[2]=e):e=t[2],e};function oP(e){return e.startsWith(ea)}function oE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){oT(e,t,n[t])})}return e}function oI(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function oL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oE(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var oA=(0,C.createContext)({});function oz(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(37);h[0]!==e?(a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["index","label","value","onClick","href"]),n=e.index,r=e.label,i=e.value,o=e.onClick,t=e.href,h[0]=e,h[1]=t,h[2]=n,h[3]=r,h[4]=o,h[5]=a,h[6]=i):(t=h[1],n=h[2],r=h[3],o=h[4],a=h[5],i=h[6]);var m="function"==typeof o||"string"==typeof t,g=(0,C.useContext)(oA),y=g.closeMenu,v=g.selectedIndex,b=g.setSelectedIndex,x=v===n;h[7]!==y||h[8]!==t||h[9]!==m||h[10]!==o?(l=function(){m&&(null==o||o(),null==y||y(),t&&window.open(t,"_blank","noopener, noreferrer"))},h[7]=y,h[8]=t,h[9]=m,h[10]=o,h[11]=l):l=h[11];var w=l;h[12]!==n||h[13]!==m||h[14]!==v||h[15]!==b?(s=function(){m&&void 0!==n&&v!==n&&b(n)},h[12]=n,h[13]=m,h[14]=v,h[15]=b,h[16]=s):s=h[16],h[17]!==b?(c=function(){return b(-1)},h[17]=b,h[18]=c):c=h[18],h[19]!==w?(u=function(e){("Enter"===e.key||" "===e.key)&&w()},h[19]=w,h[20]=u):u=h[20];var _=m?"menuitem":void 0,j=x?0:-1;return h[21]!==r?(d=(0,S.jsx)("span",{className:"dev-tools-indicator-label",children:r}),h[21]=r,h[22]=d):d=h[22],h[23]!==i?(f=(0,S.jsx)("span",{className:"dev-tools-indicator-value",children:i}),h[23]=i,h[24]=f):f=h[24],h[25]!==w||h[26]!==n||h[27]!==a||h[28]!==x||h[29]!==s||h[30]!==c||h[31]!==u||h[32]!==_||h[33]!==j||h[34]!==d||h[35]!==f?(p=(0,S.jsxs)("div",oI(oN({className:"dev-tools-indicator-item","data-index":n,"data-selected":x,onClick:w,onMouseMove:s,onMouseLeave:c,onKeyDown:u,role:_,tabIndex:j},a),{children:[d,f]})),h[25]=w,h[26]=n,h[27]=a,h[28]=x,h[29]=s,h[30]=c,h[31]=u,h[32]=_,h[33]=j,h[34]=d,h[35]=f,h[36]=p):p=h[36],p}var oR=function(e){var t,n=e.closeOnClickOutside,r=void 0===n||n,o=e.items,a=dw().state,i=r3(),l=i.setPanel,s=i.triggerRef,c=i.setSelectedIndex,u=i.selectedIndex,d=u9().mounted,f=oL(a.devToolsPosition.split("-",2),2),p=f[0],h=f[1],m=(0,C.useRef)(null);ns(m,s,r&&d,function(e){switch(e){case"escape":l(null),c(-1);return;case"outside":if(!r)return;l(null),c(-1);return;default:return null}});var g=(0,C.useEffectEvent)(function(){oU({index:-1===u?"first":u,menuRef:m,setSelectedIndex:c})});(0,C.useLayoutEffect)(function(){var e;null==(e=m.current)||e.focus(),g()},[]);var y=r4(a),v=oL(a.devToolsPosition.split("-",2),2),b=v[0],x=v[1],w=p===b&&h===x?y:oS,_=(oT(t={},p,"".concat(w,"px")),oT(t,h,"".concat(oS,"px")),oT(t,"top"===p?"bottom":"top","auto"),oT(t,"left"===h?"right":"left","auto"),t),j=o.filter(function(e){return!!e}),k=j.filter(function(e){return!e.footer}),O=j.filter(function(e){return e.footer});return(0,S.jsx)("div",{ref:m,onKeyDown:function(e){e.preventDefault();var t=j.filter(function(e){return e.onClick}).length;switch(e.key){case"ArrowDown":oU({index:u>=t-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"ArrowUp":oU({index:u<=0?t-1:u-1,menuRef:m,setSelectedIndex:c});break;case"Home":oU({index:"first",menuRef:m,setSelectedIndex:c});break;case"End":oU({index:"last",menuRef:m,setSelectedIndex:c});break;case"n":e.ctrlKey&&oU({index:u>=t-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"p":e.ctrlKey&&oU({index:u<=0?t-1:u-1,menuRef:m,setSelectedIndex:c})}},id:"nextjs-dev-tools-menu",role:"menu",dir:"ltr","aria-orientation":"vertical","aria-label":"Next.js Dev Tools Items",tabIndex:-1,style:oN({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)"},_),children:(0,S.jsxs)(oA,{value:{selectedIndex:u,setSelectedIndex:c},children:[(0,S.jsx)("div",{style:{padding:"6px",width:"100%"},children:k.map(function(e,t){return(0,S.jsx)(oz,oN({title:e.title,label:e.label,value:e.value,onClick:e.onClick,index:e.onClick?oD(k,t):void 0},e.attributes),e.label)})}),(0,S.jsx)("div",{className:"dev-tools-indicator-footer",children:O.map(function(e,t){var n;return(0,S.jsx)(oz,oI(oN({title:e.title,label:e.label,value:e.value,onClick:e.onClick},e.attributes),{index:e.onClick?oD(O,t)+(n=k).filter(function(e){return e.onClick}).length:void 0}),e.label)})})]})})};function oD(e,t){for(var n=0,r=0;r<=t&&r<e.length;r++)if(e[r].onClick){if(r===t)return n;n++}return n}function oM(e){var t,n,r=(0,O.c)(4),o=e.children,a=o>0;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("span",{className:"dev-tools-indicator-issue-count-indicator"}),r[0]=t):t=r[0],r[1]!==o||r[2]!==a?(n=(0,S.jsxs)("span",{className:"dev-tools-indicator-issue-count","data-has-issues":a,children:[t,o]}),r[1]=o,r[2]=a,r[3]=n):n=r[3],n}function oZ(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,S.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 oU(e){var t,n=e.index,r=e.menuRef,o=e.setSelectedIndex;if("first"===n)return void setTimeout(function(){var e,t=null==(e=r.current)?void 0:e.querySelectorAll('[role="menuitem"]');t&&oU({index:Number(t[0].getAttribute("data-index")),menuRef:r,setSelectedIndex:o})});if("last"===n)return void setTimeout(function(){var e,t=null==(e=r.current)?void 0:e.querySelectorAll('[role="menuitem"]');t&&oU({index:t.length-1,menuRef:r,setSelectedIndex:o})});var a=null==(t=r.current)?void 0:t.querySelector('[data-index="'.concat(n,'"]'));a&&(o(n),null==a||a.focus())}function oF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var oH=(0,C.createContext)(null),oV=function(e){var t=.95*window.innerWidth,n=.95*window.innerHeight;return{width:Math.min(t,Math.max(e.minWidth,e.width)),height:Math.min(n,Math.max(e.minHeight,e.height))}},oB=function(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m=(0,O.c)(34),g=e.value,y=e.children,v=null!=(o=g.minWidth)?o:100,b=null!=(a=g.minHeight)?a:80,x=g.maxWidth,w=g.maxHeight,_=(t=(0,C.useState)(null),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return oF(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oF(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=_[0],k=_[1],P=null!=(i=g.storageKey)?i:el,E=g.resizeRef;m[0]!==j||m[1]!==b||m[2]!==v||m[3]!==E||m[4]!==P||m[5]!==g.devToolsPanelSize?(l=function(){if(E.current&&null===j){var e=g.devToolsPanelSize[P];if(e){var t,n,r=oV((t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},e),n=n={minWidth:null!=v?v:100,minHeight:null!=b?b:80},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),o=r.height,a=r.width;return E.current.style.width="".concat(a,"px"),E.current.style.height="".concat(o,"px"),!0}}},m[0]=j,m[1]=b,m[2]=v,m[3]=E,m[4]=P,m[5]=g.devToolsPanelSize,m[6]=l):l=m[6];var T=l;m[7]!==T||m[8]!==b||m[9]!==v||m[10]!==E||m[11]!==g.initialSize?(s=function(){var e;if(!T()&&E.current&&(null==(e=g.initialSize)?void 0:e.height)&&g.initialSize.width){var t=oV({height:g.initialSize.height,width:g.initialSize.width,minWidth:null!=v?v:100,minHeight:null!=b?b:80}),n=t.height,r=t.width;E.current.style.width="".concat(r,"px"),E.current.style.height="".concat(n,"px")}},m[7]=T,m[8]=b,m[9]=v,m[10]=E,m[11]=g.initialSize,m[12]=s):s=m[12];var N=(0,C.useEffectEvent)(s);m[13]!==N?(c=function(){N()},m[13]=N,m[14]=c):c=m[14],m[15]===Symbol.for("react.memo_cache_sentinel")?(u=[],m[15]=u):u=m[15],(0,C.useLayoutEffect)(c,u),m[16]!==T?(d=function(){return window.addEventListener("resize",T),function(){return window.removeEventListener("resize",T)}},m[16]=T,m[17]=d):d=m[17];var I=null==(n=g.initialSize)?void 0:n.height,L=null==(r=g.initialSize)?void 0:r.width;return m[18]!==T||m[19]!==I||m[20]!==L||m[21]!==g.resizeRef?(f=[T,I,L,g.resizeRef],m[18]=T,m[19]=I,m[20]=L,m[21]=g.resizeRef,m[22]=f):f=m[22],(0,C.useLayoutEffect)(d,f),m[23]!==j||m[24]!==w||m[25]!==x||m[26]!==b||m[27]!==v||m[28]!==P||m[29]!==g.resizeRef?(p={resizeRef:g.resizeRef,minWidth:v,minHeight:b,maxWidth:x,maxHeight:w,draggingDirection:j,setDraggingDirection:k,storageKey:P},m[23]=j,m[24]=w,m[25]=x,m[26]=b,m[27]=v,m[28]=P,m[29]=g.resizeRef,m[30]=p):p=m[30],m[31]!==y||m[32]!==p?(h=(0,S.jsx)(oH.Provider,{value:p,children:y}),m[31]=y,m[32]=p,m[33]=h):h=m[33],h},o$=function(){var e=(0,C.useContext)(oH);if(!e)throw Error("useResize must be used within a Resize provider");return e},oq=__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"),oW={};function oK(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}oW.styleTagTransform=x(),oW.setAttributes=g(),oW.insert=h(),oW.domAPI=f(),oW.insertStyleElement=v(),u()(oq.A,oW),oq.A&&oq.A.locals&&oq.A.locals;var oY=function(e){var t,n,r,o,a,i,l,s,c,u=(0,O.c)(31),d=e.direction,f=e.position,p=o$(),h=p.resizeRef,m=p.minWidth,g=p.minHeight,y=p.maxWidth,v=p.maxHeight,b=p.storageKey,x=p.draggingDirection,w=p.setDraggingDirection;u[0]===Symbol.for("react.memo_cache_sentinel")?(n={top:0,right:0,bottom:0,left:0},u[0]=n):n=u[0];var _=(t=(0,C.useState)(n),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(t,2)||function(e,t){if(e){if("string"==typeof e)return oK(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oK(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=_[0],k=_[1];u[1]!==h?(r=function(){if(h.current){var e=h.current,t=window.getComputedStyle(e);k({top:parseFloat(t.borderTopWidth)||0,right:parseFloat(t.borderRightWidth)||0,bottom:parseFloat(t.borderBottomWidth)||0,left:parseFloat(t.borderLeftWidth)||0})}},o=[h],u[1]=h,u[2]=r,u[3]=o):(r=u[2],o=u[3]),(0,C.useLayoutEffect)(r,o),u[4]!==d||u[5]!==v||u[6]!==y||u[7]!==g||u[8]!==m||u[9]!==h||u[10]!==w||u[11]!==b?(a=function(e){if(e.preventDefault(),h.current){w(d);var t=h.current,n=t.getBoundingClientRect(),r=e.clientX,o=e.clientY,a=function(e){var a=oX(d,e.clientX-r,e.clientY-o,n,m,g,y,v),i=a.newWidth,l=a.newHeight;void 0!==i&&(t.style.width="".concat(i,"px")),void 0!==l&&(t.style.height="".concat(l,"px"))},i=function(){if(w(null),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i),h.current){var e,t,n,r=h.current.getBoundingClientRect(),o=r.width,l=r.height;rk({devToolsPanelSize:(e={},t=b,n={width:o,height:l},t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)})}};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)}},u[4]=d,u[5]=v,u[6]=y,u[7]=g,u[8]=m,u[9]=h,u[10]=w,u[11]=b,u[12]=a):a=u[12];var P=a;if(!(!f.split("-").includes(d)&&(!d.includes("-")||d===oG(f))))return null;var E=j.left+j.right,T=j.top+j.bottom;u[13]!==d?(i=d.includes("-"),u[13]=d,u[14]=i):i=u[14];var N=i,I="resize-container ".concat(d," ").concat(x&&x!==d?"no-hover":"");return u[15]!==P||u[16]!==I?(l=(0,S.jsx)("div",{className:I,onMouseDown:P}),u[15]=P,u[16]=I,u[17]=l):l=u[17],u[18]!==j.bottom||u[19]!==j.left||u[20]!==j.right||u[21]!==j.top||u[22]!==d||u[23]!==x||u[24]!==N||u[25]!==E||u[26]!==T?(s=!N&&(0,S.jsx)("div",{className:"resize-line ".concat(d," ").concat(x===d?"dragging":""),style:{"--border-horizontal":"".concat(E,"px"),"--border-vertical":"".concat(T,"px"),"--border-top":"".concat(j.top,"px"),"--border-right":"".concat(j.right,"px"),"--border-bottom":"".concat(j.bottom,"px"),"--border-left":"".concat(j.left,"px")}}),u[18]=j.bottom,u[19]=j.left,u[20]=j.right,u[21]=j.top,u[22]=d,u[23]=x,u[24]=N,u[25]=E,u[26]=T,u[27]=s):s=u[27],u[28]!==l||u[29]!==s?(c=(0,S.jsxs)(S.Fragment,{children:[l,s]}),u[28]=l,u[29]=s,u[30]=c):c=u[30],c},oX=function(e,t,n,r,o,a,i,l){var s=null!=i?i:.95*window.innerWidth,c=null!=l?l:.95*window.innerHeight;switch(e){case"right":return{newWidth:Math.min(s,Math.max(o,r.width+t)),newHeight:r.height};case"left":return{newWidth:Math.min(s,Math.max(o,r.width-t)),newHeight:r.height};case"bottom":return{newWidth:r.width,newHeight:Math.min(c,Math.max(a,r.height+n))};case"top":return{newWidth:r.width,newHeight:Math.min(c,Math.max(a,r.height-n))};case"top-left":return{newWidth:Math.min(s,Math.max(o,r.width-t)),newHeight:Math.min(c,Math.max(a,r.height-n))};case"top-right":return{newWidth:Math.min(s,Math.max(o,r.width+t)),newHeight:Math.min(c,Math.max(a,r.height-n))};case"bottom-left":return{newWidth:Math.min(s,Math.max(o,r.width-t)),newHeight:Math.min(c,Math.max(a,r.height+n))};case"bottom-right":return{newWidth:Math.min(s,Math.max(o,r.width+t)),newHeight:Math.min(c,Math.max(a,r.height+n))};default:return null}};function oG(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 oQ=__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"),oJ={};function o0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){o1(e,t,n[t])})}return e}function o3(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o0(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o4(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"width";if("number"==typeof e)return e;var n=document.createElement("div");n.style.position="absolute",n.style.visibility="hidden","width"===t?n.style.width=e:n.style.height=e,document.body.appendChild(n);var r="width"===t?n.offsetWidth:n.offsetHeight;return document.body.removeChild(n),r}function o5(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g=e.header,y=e.children,v=e.draggable,b=void 0!==v&&v,x=e.sizeConfig,w=void 0===x?{kind:"resizable",minWidth:400,minHeight:350,maxWidth:1e3,maxHeight:1e3,initialSize:{height:400,width:500}}:x,_=e.closeOnClickOutside,j=void 0!==_&&_,k=e.sharePanelSizeGlobally,P=e.sharePanelPositionGlobally,E=e.containerProps,T=r3().setPanel,N=u9(),I=N.name,L=N.mounted,A=void 0===k||k?el:"".concat(ei,"_").concat(I),z=void 0===P||P?es:"".concat(ea,"_").concat(I),R=dw(),D=R.dispatch,M=R.state,Z=null!=(h=M.devToolsPanelPosition[z])?h:M.devToolsPosition,U=o3(Z.split("-",2),2),F=U[0],H=U[1],V=(0,C.useRef)(null);ns(V,r3().triggerRef,L,function(e){switch(e){case"escape":return void T("panel-selector");case"outside":j&&T("panel-selector");return;default:return null}});var B=r4(M),$=o3(M.devToolsPosition.split("-",2),2),q=$[0],W=$[1],K=F===q&&H===W?B:oS,Y=(o1(m={},F,"".concat(K,"px")),o1(m,H,"".concat(oS,"px")),o1(m,"top"===F?"bottom":"top","auto"),o1(m,"left"===H?"right":"left","auto"),m),X="resizable"===w.kind,G=(t=X?w.minWidth:void 0,n=X?w.minHeight:void 0,r=X?w.maxWidth:void 0,o=X?w.maxHeight:void 0,(s=(0,O.c)(11))[0]!==o||s[1]!==r||s[2]!==n||s[3]!==t?(a=function(){return{minWidth:t?o4(t,"width"):void 0,minHeight:n?o4(n,"height"):void 0,maxWidth:r?o4(r,"width"):void 0,maxHeight:o?o4(o,"height"):void 0}},s[0]=o,s[1]=r,s[2]=n,s[3]=t,s[4]=a):a=s[4],u=(c=o3((0,C.useState)(a),2))[0],d=c[1],s[5]!==o||s[6]!==r||s[7]!==n||s[8]!==t?(i=function(){var e=function(){d({minWidth:t?o4(t,"width"):void 0,minHeight:n?o4(n,"height"):void 0,maxWidth:r?o4(r,"width"):void 0,maxHeight:o?o4(o,"height"):void 0})};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},l=[t,n,r,o],s[5]=o,s[6]=r,s[7]=n,s[8]=t,s[9]=i,s[10]=l):(i=s[9],l=s[10]),(0,C.useEffect)(i,l),u),Q=G.minWidth,J=G.minHeight,ee=G.maxWidth,et=G.maxHeight,er=I?"".concat(ei,"_").concat(I):el,eo=M.devToolsPanelSize[er];return(0,S.jsx)(oB,{value:{resizeRef:V,initialSize:"resizable"===w.kind?w.initialSize:w,minWidth:Q,minHeight:J,maxWidth:ee,maxHeight:et,devToolsPosition:M.devToolsPosition,devToolsPanelSize:M.devToolsPanelSize,storageKey:A},children:(0,S.jsx)("div",{tabIndex:-1,ref:V,className:"dynamic-panel-container",style:o2({"--panel-top":Y.top,"--panel-bottom":Y.bottom,"--panel-left":Y.left,"--panel-right":Y.right},X?{"--panel-min-width":Q?"".concat(Q,"px"):void 0,"--panel-min-height":J?"".concat(J,"px"):void 0,"--panel-max-width":ee?"".concat(ee,"px"):void 0,"--panel-max-height":et?"".concat(et,"px"):void 0}:{"--panel-height":"".concat(eo?eo.height:w.height,"px"),"--panel-width":"".concat(eo?eo.width:w.width,"px")}),children:(0,S.jsx)(op,{disabled:!b,children:(0,S.jsx)(ox,{dragHandleSelector:".resize-container",avoidZone:{corner:M.devToolsPosition,square:25/M.scale,padding:oS},padding:oS,position:Z,setPosition:function(e){D({type:en,devToolsPanelPosition:e,key:z}),"resizable"===w.kind&&rk({devToolsPanelPosition:o1({},z,e)})},style:{overflow:"auto",width:"100%",height:"100%"},disableDrag:!b,children:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",(f=o2({},E),p=p={className:"panel-content-container ".concat((null==E?void 0:E.className)||""),style:o2({},null==E?void 0:E.style),children:[(0,S.jsx)(om,{children:g}),(0,S.jsx)("div",{"data-nextjs-scrollable-content":!0,className:"draggable-content",children:y})]},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(p)).forEach(function(e){Object.defineProperty(f,e,Object.getOwnPropertyDescriptor(p,e))}),f)),X&&(0,S.jsxs)(S.Fragment,{children:[(!w.sides||w.sides.includes("vertical"))&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(oY,{position:Z,direction:"top"}),(0,S.jsx)(oY,{position:Z,direction:"bottom"})]}),(!w.sides||w.sides.includes("horizontal"))&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(oY,{position:Z,direction:"right"}),(0,S.jsx)(oY,{position:Z,direction:"left"})]}),(!w.sides||w.sides.includes("diagonal"))&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(oY,{position:Z,direction:"top-left"}),(0,S.jsx)(oY,{position:Z,direction:"top-right"}),(0,S.jsx)(oY,{position:Z,direction:"bottom-left"}),(0,S.jsx)(oY,{position:Z,direction:"bottom-right"})]})]})]})})})})})}function o6(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function o9(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o8(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o7(e){var t,n,r,o,a,i,l=(0,O.c)(10);l[0]!==e?(t=o8(e,["routerType"]),n=e.routerType,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",(0,S.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]=r):r=l[3];var s="pages"===n?"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,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["With Static Rendering, routes are rendered at build time, or in the background after"," ",(0,S.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,S.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,S.jsxs)("article",o9(o6({className:"dev-tools-info-article"},t),{children:[r,o,a]})),l[7]=t,l[8]=o,l[9]=i):i=l[9],i}function ae(e){var t,n,r,o,a,i,l,s=(0,O.c)(11);return s[0]!==e?(t=o8(e,["routerType"]),n=e.routerType,s[0]=e,s[1]=t,s[2]=n):(t=s[1],n=s[2]),s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,S.jsx)("code",{className:"dev-tools-info-code",children:window.location.pathname}),s[3]=r):r=s[3],s[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",r," ",'is marked as "dynamic" since it will be rendered for each user at'," ",(0,S.jsx)("strong",{children:"request time"}),"."]}),a=(0,S.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]!==n?(i="pages"===n?(0,S.jsxs)("p",{className:"dev-tools-info-pagraph",children:["Exporting the"," ",(0,S.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,S.jsxs)("p",{className:"dev-tools-info-paragraph",children:["During rendering, if a"," ",(0,S.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,S.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,S.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]=n,s[7]=i):i=s[7],s[8]!==t||s[9]!==i?(l=(0,S.jsxs)("article",o9(o6({className:"dev-tools-info-article"},t),{children:[o,a,i]})),s[8]=t,s[9]=i,s[10]=l):l=s[10],l}oJ.styleTagTransform=x(),oJ.setAttributes=g(),oJ.insert=h(),oJ.domAPI=f(),oJ.insertStyleElement=v(),u()(oQ.A,oJ),oQ.A&&oQ.A.locals&&oQ.A.locals;var at={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 an(e){var t,n,r,o,a=(0,O.c)(8);return a[0]!==e?(n=o8(e,["routerType","isStaticRoute"]),r=e.routerType,t=e.isStaticRoute,a[0]=e,a[1]=t,a[2]=n,a[3]=r):(t=a[1],n=a[2],r=a[3]),a[4]!==t||a[5]!==n||a[6]!==r?(o=t?(0,S.jsx)(o7,o6({routerType:r},n)):(0,S.jsx)(ae,o6({routerType:r},n)),a[4]=t,a[5]=n,a[6]=r,a[7]=o):o=a[7],o}var ar=__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"),ao={};function aa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}ao.styleTagTransform=x(),ao.setAttributes=g(),ao.insert=h(),ao.domAPI=f(),ao.insertStyleElement=v(),u()(ar.A,ao),ar.A&&ar.A.locals&&ar.A.locals;var ai=new Set,al=function(e){return ai.add(e),function(){return ai.delete(e)}},as=function(){return au.getRoot()},ac=function(){return au.getRoot()},au=function(e){var t=e.getCharacters,n=void 0===t?function(e){return[e]}:t,r=e.compare,o=void 0===r?function(e,t){return e===t}:r,a={value:void 0,children:{}};function i(){var e=!0,t=!1,n=void 0;try{for(var r,o=ai[Symbol.iterator]();!(e=(r=o.next()).done);e=!0)(0,r.value)()}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}}return{insert:function(e){var t=a,r=n(e),o=!0,l=!1,s=void 0;try{for(var c,u=r[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var d=c.value;t.children[d]||(t.children[d]={value:void 0,children:{}}),t=t.children[d]}}catch(e){l=!0,s=e}finally{try{o||null==u.return||u.return()}finally{if(l)throw s}}t.value=e,a=aa({},a),i()},remove:function(e){var t=a,r=n(e),l=[],s=!0,c=!0,u=!1,d=void 0;try{for(var f,p=r[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var h=f.value;if(!t.children[h]){s=!1;break}l.push(t),t=t.children[h]}}catch(e){u=!0,d=e}finally{try{c||null==p.return||p.return()}finally{if(u)throw d}}if(s&&o(t.value,e)){t.value=void 0;for(var m=l.length-1;m>=0;m--){var g=l[m],y=r[m];0===Object.keys(g.children[y].children).length&&delete g.children[y]}a=aa({},a),i()}},getRoot:function(){return a}}}({compare:function(e,t){return!!e&&!!t&&e.pagePath===t.pagePath&&e.type===t.type&&e.boundaryType===t.boundaryType},getCharacters:function(e){return e.pagePath.split("/")}}),ad=au.insert,af=au.remove,ap=au.getRoot,ah=__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"),am={};am.styleTagTransform=x(),am.setAttributes=g(),am.insert=h(),am.domAPI=f(),am.insertStyleElement=v(),u()(ah.A,am),ah.A&&ah.A.locals&&ah.A.locals;let ag={};function ay(e,t){let n=C.useRef(ag);return n.current===ag&&(n.current=e(t)),n}let av=[];function ab(e){C.useEffect(e,av)}class ax{static create(){return new ax}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 aw(){let e=ay(ax.create).current;return ab(e.disposeEffect),e}let a_=P[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],aj=a_&&a_!==C.useLayoutEffect?a_:e=>e();function ak(e){let t=ay(aS).current;return t.next=e,aj(t.effect),t.trampoline}function aS(){let e={next:void 0,callback:aO,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function aO(){}function aC({controlled:e,default:t,name:n,state:r="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 aP={...P},aE=0,aT=aP.useId;function aN(e,t){if(void 0!==aT){let n=aT();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){let[n,r]=C.useState(e),o=e||n;return C.useEffect(()=>{null==n&&(aE+=1,r(`${t}-${aE}`))},[n,t]),o}(e,t)}function aI(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}let aL="undefined"!=typeof document?C.useLayoutEffect:()=>{},aA=C.createContext(null),az=C.createContext(null),aR=()=>P.useContext(aA)?.id||null;function aD(e){let{children:t,id:n}=e,r=aR();return(0,S.jsx)(aA.Provider,{value:C.useMemo(()=>({id:n,parentId:r}),[n,r]),children:t})}function aM(e){let{children:t}=e,n=C.useRef([]),r=C.useCallback(e=>{n.current=[...n.current,e]},[]),o=C.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),[a]=C.useState(()=>aI());return(0,S.jsx)(az.Provider,{value:C.useMemo(()=>({nodesRef:n,addNode:r,removeNode:o,events:a}),[r,o,a]),children:t})}function aZ(e){let{open:t=!1,onOpenChange:n,elements:r}=e,o=aN(),a=C.useRef({}),[i]=C.useState(()=>aI()),l=null!=aR(),[s,c]=C.useState(r.reference),u=ak((e,t,r)=>{a.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:l}),n?.(e,t,r)}),d=C.useMemo(()=>({setPositionReference:c}),[]),f=C.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.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 aU(){return"undefined"!=typeof window}function aF(e){return aB(e)?(e.nodeName||"").toLowerCase():"#document"}function aH(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function aV(e){var t;return null==(t=(aB(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function aB(e){return!!aU()&&(e instanceof Node||e instanceof aH(e).Node)}function a$(e){return!!aU()&&(e instanceof Element||e instanceof aH(e).Element)}function aq(e){return!!aU()&&(e instanceof HTMLElement||e instanceof aH(e).HTMLElement)}function aW(e){return!!aU()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof aH(e).ShadowRoot)}let aK=new Set(["inline","contents"]);function aY(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=a6(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!aK.has(o)}let aX=new Set(["table","td","th"]),aG=[":popover-open",":modal"];function aQ(e){return aG.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let aJ=["transform","translate","scale","rotate","perspective"],a0=["transform","translate","scale","rotate","perspective","filter"],a1=["paint","layout","strict","content"];function a2(e){let t=a3(),n=a$(e)?a6(e):e;return aJ.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||a0.some(e=>(n.willChange||"").includes(e))||a1.some(e=>(n.contain||"").includes(e))}function a3(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let a4=new Set(["html","body","#document"]);function a5(e){return a4.has(aF(e))}function a6(e){return aH(e).getComputedStyle(e)}function a9(e){return a$(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function a8(e){if("html"===aF(e))return e;let t=e.assignedSlot||e.parentNode||aW(e)&&e.host||aV(e);return aW(t)?t.host:t}function a7(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=a8(t);return a5(n)?t.ownerDocument?t.ownerDocument.body:t.body:aq(n)&&aY(n)?n:e(n)}(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=aH(o);if(a){let e=ie(i);return t.concat(i,i.visualViewport||[],aY(o)?o:[],e&&n?a7(e):[])}return t.concat(o,a7(o,[],n))}function ie(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function it(e){let t=ay(ir,e).current;return t.next=e,aL(t.effect),t}function ir(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}let io="undefined"!=typeof navigator,ia=function(){if(!io)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),ii=function(){if(!io)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),il=function(){if(!io)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),is="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),ic="MacIntel"===ia.platform&&ia.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(ia.platform);io&&/firefox/i.test(il);let iu=io&&/apple/i.test(navigator.vendor),id=io&&/android/i.test(ii)||/android/i.test(il),ip=io&&ii.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,ih=il.includes("jsdom/");function im(e){e.preventDefault(),e.stopPropagation()}function ig(e){return 0===e.mozInputSource&&!!e.isTrusted||(id&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function iy(e){return!ih&&(!id&&0===e.width&&0===e.height||id&&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 iv(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}let ib="data-base-ui-focusable",ix="active",iw="selected",i_="ArrowLeft",ij="ArrowRight",ik="ArrowUp",iS="ArrowDown";function iO(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function iC(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&aW(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function iP(e){return"composedPath"in e?e.composedPath()[0]:e.target}function iE(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function iT(e){return e?.ownerDocument||document}function iN(e){return aq(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function iI(e){return!!e&&"combobox"===e.getAttribute("role")&&iN(e)}function iL(e){return e?e.hasAttribute(ib)?e:e.querySelector(`[${ib}]`)||e:null}function iA(e){return`data-base-ui-${e}`}let iz=iA("safe-polygon");function iR(e,t,n){if(n&&!iv(n))return 0;if("number"==typeof e)return e;if("function"==typeof e){let n=e();return"number"==typeof n?n:n?.[t]}return e?.[t]}function iD(e){return"function"==typeof e?e():e}function iM(e,t={}){let{open:n,onOpenChange:r,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(az),h=aR(),m=it(c),g=it(s),y=it(n),v=it(d),b=C.useRef(void 0),x=aw(),w=C.useRef(void 0),_=aw(),j=C.useRef(!0),k=C.useRef(!1),S=C.useRef(()=>{}),O=C.useRef(!1),P=ak(()=>{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(),_.clear(),j.current=!0,O.current=!1)}},[l,a,x,_]),C.useEffect(()=>{if(!l||!m.current||!n)return;function e(e){P()&&r(!1,e,"hover")}let t=iT(i.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[i.floating,n,r,l,m,P]);let E=C.useCallback((e,t=!0,n="hover")=>{let o=iR(g.current,"close",b.current);o&&!w.current?x.start(o,()=>r(!1,e,n)):t&&(x.clear(),r(!1,e,n))},[g,r,x]),T=ak(()=>{S.current(),w.current=void 0}),N=ak(()=>{if(k.current){let e=iT(i.floating).body;e.style.pointerEvents="",e.removeAttribute(iz),k.current=!1}}),I=ak(()=>!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type));C.useEffect(()=>{if(l&&a$(i.domReference)){let r=i.domReference,o=i.floating;return n&&r.addEventListener("mouseleave",a),f&&r.addEventListener("mousemove",e,{once:!0}),r.addEventListener("mouseenter",e),r.addEventListener("mouseleave",t),o&&(o.addEventListener("mouseleave",a),o.addEventListener("mouseenter",s),o.addEventListener("mouseleave",c)),()=>{n&&r.removeEventListener("mouseleave",a),f&&r.removeEventListener("mousemove",e),r.removeEventListener("mouseenter",e),r.removeEventListener("mouseleave",t),o&&(o.removeEventListener("mouseleave",a),o.removeEventListener("mouseenter",s),o.removeEventListener("mouseleave",c))}}function e(e){if(x.clear(),j.current=!1,u&&!iv(b.current)||iD(v.current)>0&&!iR(g.current,"open"))return;let t=iR(g.current,"open",b.current);t?x.start(t,()=>{y.current||r(!0,e,"hover")}):n||r(!0,e,"hover")}function t(e){if(I())return void N();S.current();let t=iT(i.floating);if(_.clear(),O.current=!1,m.current&&o.current.floatingContext){n||x.clear(),w.current=m.current({...o.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){N(),T(),I()||E(e,!0,"safe-polygon")}});let r=w.current;t.addEventListener("mousemove",r),S.current=()=>{t.removeEventListener("mousemove",r)};return}"touch"===b.current&&iC(i.floating,e.relatedTarget)||E(e)}function a(e){I()||o.current.floatingContext&&m.current?.({...o.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){N(),T(),I()||E(e)}})(e)}function s(){x.clear()}function c(e){I()||E(e,!1)}},[i,l,e,u,f,E,T,N,r,n,y,p,g,m,o,I,v,x,_]),aL(()=>{if(l&&n&&m.current?.__options?.blockPointerEvents&&P()){k.current=!0;let e=i.floating;if(a$(i.domReference)&&e){let t=iT(i.floating).body;t.setAttribute(iz,"");let n=i.domReference,r=p?.nodesRef.current.find(e=>e.id===h)?.context?.elements.floating;return r&&(r.style.pointerEvents=""),t.style.pointerEvents="none",n.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{t.style.pointerEvents="",n.style.pointerEvents="",e.style.pointerEvents=""}}}},[l,n,h,i,p,m,P]),aL(()=>{n||(b.current=void 0,O.current=!1,T(),N())},[n,T,N]),C.useEffect(()=>()=>{T(),x.clear(),_.clear(),N()},[l,i.domReference,T,N,x,_]);let L=C.useMemo(()=>{function e(e){b.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function o(){j.current||y.current||r(!0,t,"hover")}u&&!iv(b.current)||n||0===iD(v.current)||O.current&&e.movementX**2+e.movementY**2<2||(_.clear(),"touch"===b.current?o():(O.current=!0,_.start(iD(v.current),o)))}}},[u,r,n,y,v,_]);return C.useMemo(()=>l?{reference:L}:{},[l,L])}function iZ(e,t,n=!0){return e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...iZ(e,t.id,n)])}function iU(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function iF(e,t){let[n,r]=e,o=!1,a=t.length;for(let e=0,i=a-1;e<a;i=e++){let[a,l]=t[e]||[0,0],[s,c]=t[i]||[0,0];l>=r!=c>=r&&n<=(s-a)*(r-l)/(c-l)+a&&(o=!o)}return o}function iH(e={}){let{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e,o=new ax,a=!1,i=null,l=null,s="undefined"!=typeof performance?performance.now():0,c=({x:e,y:n,placement:c,elements:u,onClose:d,nodeId:f,tree:p})=>function(h){var m,g;function y(){o.clear(),d()}if(o.clear(),!u.domReference||!u.floating||null==c||null==e||null==n)return;let{clientX:v,clientY:b}=h,x=[v,b],w=iP(h),_="mouseleave"===h.type,j=iC(u.floating,w),k=iC(u.domReference,w),S=u.domReference.getBoundingClientRect(),O=u.floating.getBoundingClientRect(),C=c.split("-")[0],P=e>O.right-O.width/2,E=n>O.bottom-O.height/2,T=(m=x,g=S,m[0]>=g.x&&m[0]<=g.x+g.width&&m[1]>=g.y&&m[1]<=g.y+g.height),N=O.width>S.width,I=O.height>S.height,L=(N?S:O).left,A=(N?S:O).right,z=(I?S:O).top,R=(I?S:O).bottom;if(j&&(a=!0,!_))return;if(k&&(a=!1),k&&!_){a=!0;return}if(_&&a$(h.relatedTarget)&&iC(u.floating,h.relatedTarget)||p&&iZ(p.nodesRef.current,f).some(({context:e})=>e?.open))return;if("top"===C&&n>=S.bottom-1||"bottom"===C&&n<=S.top+1||"left"===C&&e>=S.right-1||"right"===C&&e<=S.left+1)return y();let D=[];switch(C){case"top":D=[[L,S.top+1],[L,O.bottom-1],[A,O.bottom-1],[A,S.top+1]];break;case"bottom":D=[[L,O.top+1],[L,S.bottom-1],[A,S.bottom-1],[A,O.top+1]];break;case"left":D=[[O.right-1,R],[O.right-1,z],[S.left+1,z],[S.left+1,R]];break;case"right":D=[[S.right-1,R],[S.right-1,z],[O.left+1,z],[O.left+1,R]]}if(!iF([v,b],D)){if(a&&!T)return y();if(!_&&r){let e=function(e,t){let n=performance.now(),r=n-s;if(null===i||null===l||0===r)return i=e,l=t,s=n,null;let o=e-i,a=t-l,c=Math.sqrt(o*o+a*a);return i=e,l=t,s=n,c/r}(h.clientX,h.clientY);if(null!==e&&e<.1)return y()}iF([v,b],function([e,n]){switch(C){case"top":{let r=[[O.left,P||N?O.bottom-t:O.top],[O.right,P?N?O.bottom-t:O.top:O.bottom-t]];return[[N?e+t/2:P?e+4*t:e-4*t,n+t+1],[N?e-t/2:P?e+4*t:e-4*t,n+t+1],...r]}case"bottom":{let r=[[O.left,P||N?O.top+t:O.bottom],[O.right,P?N?O.top+t:O.bottom:O.top+t]];return[[N?e+t/2:P?e+4*t:e-4*t,n-t],[N?e-t/2:P?e+4*t:e-4*t,n-t],...r]}case"left":return[[E||I?O.right-t:O.left,O.top],[E?I?O.right-t:O.left:O.right-t,O.bottom],[e+t+1,I?n+t/2:E?n+4*t:n-4*t],[e+t+1,I?n-t/2:E?n+4*t:n-4*t]];case"right":{let r=[[E||I?O.left+t:O.right,O.top],[E?I?O.left+t:O.right:O.left+t,O.bottom]];return[[e-t,I?n+t/2:E?n+4*t:n-4*t],[e-t,I?n-t/2:E?n+4*t:n-4*t],...r]}default:return[]}}([e,n]))?!a&&r&&o.start(40,y):y()}};return c.__options={blockPointerEvents:n},c}let iV=ip&&iu;function iB(e,t={}){let{open:n,onOpenChange:r,events:o,dataRef:a,elements:i}=e,{enabled:l=!0,visibleOnly:s=!0}=t,c=C.useRef(!1),u=aw(),d=C.useRef(!0);C.useEffect(()=>{if(!l)return;let e=aH(i.domReference);function t(){!n&&aq(i.domReference)&&i.domReference===iO(iT(i.domReference))&&(c.current=!0)}function r(){d.current=!0}function o(){d.current=!1}return e.addEventListener("blur",t),iV&&(e.addEventListener("keydown",r,!0),e.addEventListener("pointerdown",o,!0)),()=>{e.removeEventListener("blur",t),iV&&(e.removeEventListener("keydown",r,!0),e.removeEventListener("pointerdown",o,!0))}},[i.domReference,n,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=iP(e.nativeEvent);if(s&&a$(t)){if(iV&&!e.relatedTarget){if(!d.current&&!iN(t))return}else if(!function(e){if(!e||ih)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){c.current=!1;let t=e.relatedTarget,n=e.nativeEvent,o=a$(t)&&t.hasAttribute(iA("focus-guard"))&&"outside"===t.getAttribute("data-type");u.start(0,()=>{let e=iO(i.domReference?i.domReference.ownerDocument:document);!t&&e===i.domReference||iC(a.current.floatingContext?.refs.floating.current,e)||iC(i.domReference,e)||o||r(!1,n,"focus")})}}),[a,i.domReference,r,s,u]);return C.useMemo(()=>l?{reference:f}:{},[l,f])}let i$=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class iq{static create(){return new iq}static request(e){return i$.request(e)}static cancel(e){return i$.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=i$.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(i$.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}function iW(){let e=ay(iq.create).current;return ab(e.disposeEffect),e}let iK={style:{transition:"none"}},iY={},iX=[],iG={fallbackAxisSide:"none"},iQ={fallbackAxisSide:"end"},iJ={intentional:"onClick",sloppy:"onPointerDown"};function i0(e){return{escapeKey:"boolean"==typeof e?e:e?.escapeKey??!1,outsidePress:"boolean"==typeof e?e:e?.outsidePress??!0}}function i1(e,t={}){let{open:n,onOpenChange:r,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(az),g=ak("function"==typeof s?s:()=>!1),y="function"==typeof s?g:s,v=C.useRef(!1),{escapeKey:b,outsidePress:x}=i0(p),{escapeKey:w,outsidePress:_}=i0(h),j=C.useRef(null),k=aw(),S=aw(),O=C.useRef(!1),P=C.useRef(""),E=ak(e=>{P.current=e.pointerType}),T=ak(()=>{let e=P.current;return"string"==typeof c?c:c["pen"!==e&&e?e:"mouse"]}),N=ak(e=>{if(!n||!i||!l||"Escape"!==e.key||O.current)return;let t=a.current.floatingContext?.nodeId,o=m?iZ(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}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),I=ak(e=>{let t=T();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}),L=ak(e=>{let t=()=>{N(e),iP(e)?.removeEventListener("keydown",t)};iP(e)?.addEventListener("keydown",t)}),A=ak(e=>{if(I(e))return;let t=a.current.insideReactTree;a.current.insideReactTree=!1;let n=v.current;if(v.current=!1,"intentional"===T()&&n||t||"function"==typeof y&&!y(e))return;let i=iP(e),l=`[${iA("inert")}]`,s=iT(o.floating).querySelectorAll(l),c=a$(i)?i:null;for(;c&&!a5(c);){let e=a8(c);if(a5(e)||!a$(e))break;c=e}if(s.length&&a$(i)&&!i.matches("html,body")&&!iC(i,o.floating)&&Array.from(s).every(e=>!iC(c,e)))return;if(aq(i)){let t=a5(i),n=a6(i),r=/auto|scroll/,o=t||r.test(n.overflowX),a=t||r.test(n.overflowY),l=o&&i.clientWidth>0&&i.scrollWidth>i.clientWidth,s=a&&i.clientHeight>0&&i.scrollHeight>i.clientHeight,c="rtl"===n.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&&iZ(m.nodesRef.current,u).some(t=>iE(e,t.context?.elements.floating));if(iE(e,o.floating)||iE(e,o.domReference)||d)return;let f=m?iZ(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}r(!1,e,"outside-press")}),z=ak(e=>{if(!("sloppy"!==T()||!n||!i||iE(e,o.floating)||iE(e,o.domReference))){if("touch"===e.pointerType){j.current={startTime:Date.now(),startX:e.clientX,startY:e.clientY,dismissOnPointerUp:!1,dismissOnMouseDown:!0},k.start(1e3,()=>{j.current&&(j.current.dismissOnPointerUp=!1,j.current.dismissOnMouseDown=!1)});return}A(e)}}),R=ak(e=>{if(I(e)||(k.clear(),"mousedown"===e.type&&j.current&&!j.current.dismissOnMouseDown))return;let t=()=>{"pointerdown"===e.type?z(e):A(e),iP(e)?.removeEventListener(e.type,t)};iP(e)?.addEventListener(e.type,t)}),D=ak(e=>{if("sloppy"!==T()||"touch"!==e.pointerType||!j.current||iE(e,o.floating)||iE(e,o.domReference))return;let t=Math.abs(e.clientX-j.current.startX),n=Math.abs(e.clientY-j.current.startY),r=Math.sqrt(t*t+n*n);r>5&&(j.current.dismissOnPointerUp=!0),r>10&&(A(e),k.clear(),j.current=null)}),M=ak(e=>{"sloppy"!==T()||"touch"!==e.pointerType||!j.current||iE(e,o.floating)||iE(e,o.domReference)||(j.current.dismissOnPointerUp&&A(e),k.clear(),j.current=null)});C.useEffect(()=>{if(!n||!i)return;a.current.__escapeKeyBubbles=b,a.current.__outsidePressBubbles=x;let e=new ax;function t(e){r(!1,e,"ancestor-scroll")}function s(){e.clear(),O.current=!0}function c(){e.start(5*!!a3(),()=>{O.current=!1})}let u=iT(o.floating);u.addEventListener("pointerdown",E,!0),l&&(u.addEventListener("keydown",w?L:N,w),u.addEventListener("compositionstart",s),u.addEventListener("compositionend",c)),y&&(u.addEventListener("click",_?R:A,_),u.addEventListener("pointerdown",_?R:A,_),u.addEventListener("pointermove",D,_),u.addEventListener("pointerup",M,_),u.addEventListener("mousedown",R,_));let d=[];return f&&(a$(o.domReference)&&(d=a7(o.domReference)),a$(o.floating)&&(d=d.concat(a7(o.floating))),!a$(o.reference)&&o.reference&&o.reference.contextElement&&(d=d.concat(a7(o.reference.contextElement)))),(d=d.filter(e=>e!==u.defaultView?.visualViewport)).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{u.removeEventListener("pointerdown",E,!0),l&&(u.removeEventListener("keydown",w?L:N,w),u.removeEventListener("compositionstart",s),u.removeEventListener("compositionend",c)),y&&(u.removeEventListener("click",_?R:A,_),u.removeEventListener("pointerdown",_?R:A,_),u.removeEventListener("pointermove",D,_),u.removeEventListener("pointerup",M,_),u.removeEventListener("mousedown",R,_)),d.forEach(e=>{e.removeEventListener("scroll",t)}),e.clear()}},[a,o,l,y,c,n,r,f,i,b,x,N,w,L,A,_,R,z,D,M,E]),C.useEffect(()=>{a.current.insideReactTree=!1},[a,y]);let Z=C.useMemo(()=>({onKeyDown:N,...u&&{[iJ[d]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."intentional"!==d&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}}),[N,r,u,d]),U=ak(e=>{let t=iP(e.nativeEvent);iC(o.floating,t)&&(v.current=!0)}),F=ak(()=>{a.current.insideReactTree=!0,S.start(0,()=>{a.current.insideReactTree=!1})}),H=C.useMemo(()=>({onKeyDown:N,onMouseDown:U,onMouseUp:U,onPointerDownCapture:F,onMouseDownCapture:F,onClickCapture:F}),[N,U,F]);return C.useMemo(()=>i?{reference:Z,floating:H}:{},[i,Z,H])}let i2=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]),i3=["top","right","bottom","left"],i4=Math.min,i5=Math.max,i6=Math.round,i9=Math.floor,i8=e=>({x:e,y:e}),i7={left:"right",right:"left",bottom:"top",top:"bottom"},le={start:"end",end:"start"};function lt(e,t){return"function"==typeof e?e(t):e}function ln(e){return e.split("-")[0]}function lr(e){return e.split("-")[1]}function lo(e){return"x"===e?"y":"x"}function la(e){return"y"===e?"height":"width"}let li=new Set(["top","bottom"]);function ll(e){return li.has(ln(e))?"y":"x"}function ls(e){return e.replace(/start|end/g,e=>le[e])}let lc=["left","right"],lu=["right","left"],ld=["top","bottom"],lf=["bottom","top"];function lp(e){return e.replace(/left|right|bottom|top/g,e=>i7[e])}function lh(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function lm(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function lg(e,t,n){return Math.floor(e/t)!==n}function ly(e,t){return t<0||t>=e.current.length}function lv(e,t){return lx(e,{disabledIndices:t})}function lb(e,t){return lx(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function lx(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:o=1}={}){let a=t;do a+=n?-o:o;while(a>=0&&a<=e.current.length-1&&lw(e,a,r));return a}function lw(e,t,n){if("function"==typeof n)return n(t);if(n)return n.includes(t);let r=e.current[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let l_=0;function lj(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(l_);let a=()=>e?.focus({preventScroll:n});o?a():l_=requestAnimationFrame(a)}function lk(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function lS(e,t){return lk(t,e===ik||e===iS,e===i_||e===ij)}function lO(e,t,n){return lk(t,e===iS,n?e===i_:e===ij)||"Enter"===e||" "===e||""===e}function lC(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),o=C.useCallback(t=>lP(t,e,"reference"),t),a=C.useCallback(t=>lP(t,e,"floating"),n),i=C.useCallback(t=>lP(t,e,"item"),r);return C.useMemo(()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:i}),[o,a,i])}function lP(e,t,n){let r=new Map,o="item"===n,a={};for(let t in"floating"===n&&(a.tabIndex=-1,a[ib]=""),e)o&&e&&(t===ix||t===iw)||(a[t]=e[t]);for(let i=0;i<t.length;i+=1){let l,s=t[i]?.[n];(l="function"==typeof s?e?s(e):null:s)&&lE(a,l,o,r)}return lE(a,e,o,r),a}function lE(e,t,n,r){for(let o in t){let a=t[o];n&&(o===ix||o===iw)||(o.startsWith("on")?(r.has(o)||r.set(o,[]),"function"==typeof a&&(r.get(o)?.push(a),e[o]=(...e)=>r.get(o)?.map(t=>t(...e)).find(e=>void 0!==e))):e[o]=a)}}let lT=C.createContext(void 0);function lN(e){let t=C.useContext(lT);if(void 0===t&&!e)throw Error("Base UI: MenuRootContext is missing. Menu parts must be placed within <Menu.Root>.");return t}let lI=C.createContext(null);function lL(e,t=!1,n=!1){let[r,o]=C.useState(e&&t?"idle":void 0),[a,i]=C.useState(e);return e&&!a&&(i(!0),o("starting")),e||!a||"ending"===r||n||o("ending"),e||a||"ending"!==r||o(void 0),aL(()=>{if(!e&&a&&"ending"!==r&&n){let e=iq.request(()=>{o("ending")});return()=>{iq.cancel(e)}}},[e,a,r,n]),aL(()=>{if(!e||t)return;let n=iq.request(()=>{ex.flushSync(()=>{o(void 0)})});return()=>{iq.cancel(n)}},[t,e]),aL(()=>{if(!e||!t)return;e&&a&&"idle"!==r&&o("starting");let n=iq.request(()=>{o("idle")});return()=>{iq.cancel(n)}},[t,e,a,o,r]),C.useMemo(()=>({mounted:a,setMounted:i,transitionStatus:r}),[a,r])}function lA(e){let{enabled:t=!0,open:n,ref:r,onComplete:o}=e,a=it(n),i=ak(o),l=function(e,t=!1){let n=iW();return ak((r,o=null)=>{let a;if(n.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?r():n.request(()=>{function e(){a&&Promise.allSettled(a.getAnimations().map(e=>e.finished)).then(()=>{null!=o&&o.aborted||ex.flushSync(r)})}t?n.request(e):e()})}})}(r,n);C.useEffect(()=>{t&&l(()=>{n===a.current&&i()})},[t,n,i,l,a])}let lz=C.createContext(void 0);function lR(e=!0){let t=C.useContext(lz);if(void 0===t&&!e)throw Error("Base UI: DirectionContext is missing.");return t?.direction??"ltr"}function lD(e){return e?.ownerDocument||document}let lM=()=>{},lZ={},lU={},lF="";class lH{lockCount=0;restore=null;timeoutLock=ax.create();timeoutUnlock=ax.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,n;if(0===this.lockCount||null!==this.restore)return;let r=lD(e).documentElement,o=aH(r).getComputedStyle(r).overflowY;if("hidden"===o||"clip"===o){this.restore=lM;return}let a=ic||!function(e){if("undefined"==typeof document)return!1;let t=lD(e);return aH(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=a?(n=(t=lD(e).documentElement).style.overflow,t.style.overflow="hidden",()=>{t.style.overflow=n}):function(e){let t=lD(e),n=t.documentElement,r=t.body,o=aH(n),a=0,i=0,l=iq.create();if(is&&(o.visualViewport?.scale??1)!==1)return()=>{};function s(){let e=o.getComputedStyle(n),t=o.getComputedStyle(r);a=n.scrollTop,i=n.scrollLeft,lZ={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},lF=n.style.scrollBehavior,lU={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let l="undefined"!=typeof CSS&&CSS.supports?.("scrollbar-gutter","stable"),s=n.scrollHeight>n.clientHeight,c=n.scrollWidth>n.clientWidth,u="scroll"===e.overflowY||"scroll"===t.overflowY,d="scroll"===e.overflowX||"scroll"===t.overflowX,f=Math.max(0,o.innerWidth-n.clientWidth),p=Math.max(0,o.innerHeight-n.clientHeight),h=parseFloat(t.marginTop)+parseFloat(t.marginBottom),m=parseFloat(t.marginLeft)+parseFloat(t.marginRight);Object.assign(n.style,{scrollbarGutter:"stable",overflowY:!l&&(s||u)?"scroll":"hidden",overflowX:!l&&(c||d)?"scroll":"hidden"}),Object.assign(r.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"}),r.scrollTop=a,r.scrollLeft=i,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function c(){Object.assign(n.style,lZ),Object.assign(r.style,lU),n.scrollTop=a,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=lF}function u(){c(),l.request(s)}return s(),o.addEventListener("resize",u),()=>{l.cancel(),c(),o.removeEventListener("resize",u)}}(e)}}let lV=new lH;function lB(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 l$=C.createContext(void 0);function lq(e=!0){let t=C.useContext(l$);if(void 0===t&&!e)throw Error("Base UI: ContextMenuRootContext is missing. ContextMenu parts must be placed within <ContextMenu.Root>.");return t}let lW=C.createContext(!1);function lK(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}let lY={};function lX(e,t,n,r,o){let a={...lJ(e,lY)};return t&&(a=lG(a,t)),n&&(a=lG(a,n)),r&&(a=lG(a,r)),o&&(a=lG(a,o)),a}function lG(e,t){return lQ(t)?t(e):function(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case"style":e[n]=lK(e.style,r);break;case"className":e[n]=l1(e.className,r);break;default:!function(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return 111===n&&110===r&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}(n,r)?e[n]=r:e[n]=function(e,t){return t?e?n=>{var r;if(null!=(r=n)&&"object"==typeof r&&"nativeEvent"in r){l0(n);let r=t(n);return n.baseUIHandlerPrevented||e?.(n),r}let o=t(n);return e?.(n),o}:t:e}(e[n],r)}}return e}(e,t)}function lQ(e){return"function"==typeof e}function lJ(e,t){return lQ(e)?e(t):e??lY}function l0(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function l1(e,t){return t?e?t+" "+e:t:e}let l2=[],l3={current:!1},l4=function(e){let t,n,{children:r,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,[y,v]=C.useState(null),[b,x]=C.useState(null),[w,_]=C.useState(),[j,k]=C.useState(!0),[O,P]=C.useState(null),[E,T]=C.useState(null),[N,I]=C.useState(!0),[L,A]=C.useState(!1),z=C.useRef(null),R=C.useRef(null),D=C.useRef(null),M=C.useRef([]),Z=C.useRef([]),U=aw(),F=lq(!0),H=C.useContext(lW);{let e=lN(!0),n=function(e){let t=C.useContext(lI);if(null===t&&!e)throw Error("Base UI: MenubarContext is missing. Menubar parts must be placed within <Menubar>.");return t}(!0);t=H&&e?{type:"menu",context:e}:n?{type:"menubar",context:n}:F?{type:"context-menu",context:F}:{type:void 0}}let V=aN();void 0!==t.type&&(V=t.context.rootId);let B=(void 0===t.type||"context-menu"===t.type)&&(c??!0),$="menu"===t.type?t.context.allowMouseEnter:L,q="menu"===t.type?t.context.setAllowMouseEnter:A,W=p??("menu"===t.type||"menubar"===t.type&&t.context.hasSubmenuOpen),[K,Y]=aC({controlled:o,default:l,name:"MenuRoot",state:"open"}),X=C.useRef("context-menu"!==t.type),G=aw();C.useEffect(()=>{if(K||(z.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=>{D.current=e,x(e)},[]),{mounted:J,setMounted:ee,transitionStatus:et}=lL(K),{openMethod:en,triggerProps:er,reset:eo}=function(e){var t;let n,r,[o,a]=C.useState(null),i=ak((t,n)=>{e||a(n)}),l=ak(()=>{a(null)}),{onClick:s,onPointerDown:c}=(t=i,n=C.useRef(""),r=C.useCallback(e=>{e.defaultPrevented||(n.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,n.current),n.current="")},[t]),onPointerDown:r});return C.useMemo(()=>({openMethod:o,reset:l,triggerProps:{onClick:s,onPointerDown:c}}),[o,l,s,c])}(K);!function(e){let{enabled:t=!0,mounted:n,open:r,referenceElement:o=null}=e;aL(()=>{if(t&&is&&n&&!r){let e=lD(o),t=e.body.style.userSelect,n=e.body.style.webkitUserSelect;return e.body.style.userSelect="none",e.body.style.webkitUserSelect="none",()=>{e.body.style.userSelect=t,e.body.style.webkitUserSelect=n}}},[t,n,r,o]),aL(()=>{if(t)return lV.acquire(o)},[t,o])}({enabled:K&&B&&"trigger-hover"!==E&&"touch"!==en,mounted:J,open:K,referenceElement:b}),K||j||k(!0);let ea=ak(()=>{ee(!1),I(!0),q(!1),i?.(!1),eo()});lA({enabled:!f,open:K,ref:R,onComplete(){K||ea()}});let ei=C.useRef(!0),el=aw(),es=ak((e,n,r)=>{if(K===e||!1===e&&n?.type==="click"&&"touch"===n.pointerType&&!ei.current)return;if(!e&&null!==O){let e=M.current[O];queueMicrotask(()=>{e?.setAttribute("tabindex","-1")})}e&&"trigger-focus"===r?(ei.current=!1,el.start(300,()=>{ei.current=!0})):(ei.current=!0,el.clear());let o=("trigger-press"===r||"item-press"===r)&&0===n.detail&&n?.isTrusted,i=!e&&("escape-key"===r||null==r);function l(){a?.(e,n,r),Y(e),T(r??null),z.current=n??null}"trigger-hover"===r?(I(!0),U.start(500,()=>{I(!1)}),ex.flushSync(l)):l(),"menubar"===t.type&&("trigger-focus"===r||"focus-out"===r||"trigger-hover"===r||"list-navigation"===r||"sibling-open"===r)?_("group"):o||i?_(o?"click":"dismiss"):_(void 0)});C.useImperativeHandle(f,()=>({unmount:ea}),[ea]),"context-menu"===t.type&&(n=t.context),C.useImperativeHandle(n?.positionerRef,()=>b,[b]),C.useImperativeHandle(n?.actionsRef,()=>({setOpen:es}),[es]),C.useEffect(()=>{K||U.clear()},[U,K]);let ec=aZ({elements:{reference:y,floating:b},open:K,onOpenChange(e,t,n){es(e,t,lB(n))}}),eu=iM(ec,{enabled:j&&W&&!s&&"context-menu"!==t.type&&("menubar"!==t.type||t.context.hasSubmenuOpen&&!K),handleClose:iH({blockPointerEvents:!0}),mouseOnly:!0,move:"menu"===t.type,restMs:void 0===t.type||"menu"===t.type&&$?h:void 0,delay:"menu"===t.type?{open:$?h:1e10,close:m}:{close:m}}),ed=iB(ec,{enabled:!s&&!K&&"menubar"===t.type&&t.context.hasSubmenuOpen&&!F}),ef=function(e,t={}){let{open:n,onOpenChange:r,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=iW(),f=C.useMemo(()=>({onPointerDown(e){u.current=e.pointerType},onMouseDown(e){let t=u.current,a=e.nativeEvent;if(0!==e.button||"click"===i||iv(t,!0)&&s)return;let f=o.current.openEvent,p=f?.type,h=!(n&&l&&(!f||!c||"click"===p||"mousedown"===p));d.request(()=>{r(h,a,"click")})},onClick(e){let t=u.current;if("mousedown"===i&&t){u.current=void 0;return}if(iv(t,!0)&&s)return;let a=o.current.openEvent,d=a?.type;r(!(n&&l&&(!a||!c||"click"===d||"mousedown"===d||"keydown"===d||"keyup"===d)),e.nativeEvent,"click")},onKeyDown(){u.current=void 0}}),[o,i,s,r,n,c,l,d]);return C.useMemo(()=>a?{reference:f}:iY,[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&&N}),ep=i1(ec,{enabled:!s,bubbles:g&&"menu"===t.type,outsidePress:()=>"context-menu"!==t.type||z.current?.type==="contextmenu"||X.current}),eh=function(e,t={}){let{open:n,elements:r,floatingId:o}=e,{enabled:a=!0,role:i="dialog"}=t,l=aN(),s=r.domReference?.id||l,c=C.useMemo(()=>iL(r.floating)?.id||o,[r.floating,o]),u=i2.get(i)??i,d=null!=aR(),f=C.useMemo(()=>"tooltip"===u||"label"===i?{[`aria-${"label"===i?"labelledby":"describedby"}`]:n?c:void 0}:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===u?"dialog":u,"aria-controls":n?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,n,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 n={role:"option",...e&&{id:`${c}-fui-option`}};switch(i){case"select":case"combobox":return{...n,"aria-selected":t}}return{}},[c,i]);return C.useMemo(()=>a?{reference:f,floating:p,item:h}:{},[a,f,p,h])}(ec,{role:"menu"}),em=lR(),eg=function(e,t){let{open:n,onOpenChange:r,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:y=!0,openOnArrowKeyDown:v=!0,disabledIndices:b,orientation:x="vertical",parentOrientation:w,cols:_=1,scrollItemIntoView:j=!0,virtualItemRef:k,itemSizes:S,dense:O=!1}=t,P=it(iL(o.floating)),E=aR(),T=C.useContext(az);aL(()=>{e.dataRef.current.orientation=x},[e,x]);let N=iI(o.domReference),I=C.useRef(g),L=C.useRef(u??-1),A=C.useRef(null),z=C.useRef(!0),R=ak(()=>{s(-1===L.current?null:L.current)}),D=C.useRef(R),M=C.useRef(!!o.floating),Z=C.useRef(n),U=C.useRef(!1),F=C.useRef(!1),H=it(b),V=it(n),B=it(j),$=it(u),[q,W]=C.useState(),K=ak(()=>{function e(e){m?(e.id?.endsWith("-fui-option")&&(e.id=`${a}-${Math.random().toString(16).slice(2,10)}`),W(e.id),T?.events.emit("virtualfocus",e),k&&(k.current=e)):lj(e,{sync:U.current,preventScroll:!0})}let t=i.current[L.current],n=F.current;t&&e(t),(U.current?e=>e():requestAnimationFrame)(()=>{let r=i.current[L.current]||t;if(!r)return;t||e(r);let o=B.current;o&&X&&(n||!z.current)&&r.scrollIntoView?.("boolean"==typeof o?{block:"nearest",inline:"nearest"}:o)})});aL(()=>{c&&(n&&o.floating?I.current&&null!=u&&(F.current=!0,L.current=u,R()):M.current&&(L.current=-1,D.current()))},[c,n,o.floating,u,R]),aL(()=>{if(c&&n&&o.floating)if(null==l){if(U.current=!1,null!=$.current)return;if(M.current&&(L.current=-1,K()),(!Z.current||!M.current)&&I.current&&(null!=A.current||!0===I.current&&null==A.current)){let e=0,t=()=>{null==i.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(L.current=null==A.current||lO(A.current,x,h)||p?lv(i,H.current):lb(i,H.current),A.current=null,R())};t()}}else ly(i,l)||(L.current=l,K(),F.current=!1)},[c,n,o.floating,l,$,p,i,x,h,R,K,H]),aL(()=>{if(!c||o.floating||!T||m||!M.current)return;let e=T.nodesRef.current,t=e.find(e=>e.id===E)?.context?.elements.floating,n=iO(iT(o.floating)),r=e.some(e=>e.context&&iC(e.context.elements.floating,n));t&&!r&&z.current&&t.focus({preventScroll:!0})},[c,o.floating,T,E,m]),aL(()=>{D.current=R,Z.current=n,M.current=!!o.floating}),aL(()=>{n||(A.current=null,I.current=g)},[n,g]);let Y=null!=l,X=C.useMemo(()=>{function e(e){if(!V.current)return;let t=i.current.indexOf(e);-1!==t&&L.current!==t&&(L.current=t,R())}return{onFocus({currentTarget:t}){U.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove({currentTarget:t}){U.current=!0,F.current=!1,y&&e(t)},onPointerLeave({pointerType:e}){!z.current||"touch"===e||(U.current=!0,y&&(L.current=-1,R(),m||P.current?.focus({preventScroll:!0})))}}},[V,P,y,i,R,m]),G=C.useCallback(()=>w??T?.nodesRef.current.find(e=>e.id===E)?.context?.dataRef?.current.orientation,[E,T,w]),Q=ak(e=>{var t,a,l,s,c,u,g,y;if(z.current=!1,U.current=!0,229===e.which||!V.current&&e.currentTarget===P.current)return;if(p&&(t=e.key,a=x,l=h,s=_,"both"===a||"horizontal"===a&&s&&s>1?"Escape"===t:lk(a,l?t===ij:t===i_,t===ik))){lS(e.key,G())||im(e),r(!1,e.nativeEvent,"list-navigation"),aq(o.domReference)&&(m?T?.events.emit("virtualfocus",o.domReference):o.domReference.focus());return}let v=L.current,w=lv(i,b),j=lb(i,b);if(N||("Home"===e.key&&(im(e),L.current=w,R()),"End"===e.key&&(im(e),L.current=j,R())),_>1){let t,n,r=S||Array.from({length:i.current.length},()=>({width:1,height:1})),o=(c=r,u=_,g=O,t=[],n=0,c.forEach(({width:e,height:r},o)=>{let a=!1;for(g&&(n=0);!a;){let i=[];for(let t=0;t<e;t+=1)for(let e=0;e<r;e+=1)i.push(n+t+e*u);n%u+e<=u&&i.every(e=>null==t[e])?(i.forEach(e=>{t[e]=o}),a=!0):n+=1}}),[...t]),a=o.findIndex(e=>null!=e&&!lw(i,e,b)),l=o.reduce((e,t,n)=>null==t||lw(i,t,b)?e:n,-1),s=o[function(e,{event:t,orientation:n,loop:r,rtl:o,cols:a,disabledIndices:i,minIndex:l,maxIndex:s,prevIndex:c,stopEvent:u=!1}){let d=c;if(t.key===ik){if(u&&im(t),-1===c)d=s;else if(d=lx(e,{startingIndex:d,amount:a,decrement:!0,disabledIndices:i}),r&&(c-a<l||d<0)){let e=c%a,t=s%a,n=s-(t-e);d=t===e?s:t>e?n:n-a}ly(e,d)&&(d=c)}if(t.key===iS&&(u&&im(t),-1===c?d=l:(d=lx(e,{startingIndex:c,amount:a,disabledIndices:i}),r&&c+a>s&&(d=lx(e,{startingIndex:c%a-a,amount:a,disabledIndices:i}))),ly(e,d)&&(d=c)),"both"===n){let n=i9(c/a);t.key===(o?i_:ij)&&(u&&im(t),c%a!=a-1?(d=lx(e,{startingIndex:c,disabledIndices:i}),r&&lg(d,a,n)&&(d=lx(e,{startingIndex:c-c%a-1,disabledIndices:i}))):r&&(d=lx(e,{startingIndex:c-c%a-1,disabledIndices:i})),lg(d,a,n)&&(d=c)),t.key===(o?ij:i_)&&(u&&im(t),c%a!=0?(d=lx(e,{startingIndex:c,decrement:!0,disabledIndices:i}),r&&lg(d,a,n)&&(d=lx(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i}))):r&&(d=lx(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i})),lg(d,a,n)&&(d=c));let l=i9(s/a)===n;ly(e,d)&&(d=r&&l?t.key===(o?ij:i_)?s:lx(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:_,disabledIndices:(y=[...("function"!=typeof b?b:null)||i.current.map((e,t)=>lw(i,t,b)?t:void 0),void 0],o.flatMap((e,t)=>y.includes(e)?[t]:[])),minIndex:a,maxIndex:l,prevIndex:function(e,t,n,r,o){if(-1===e)return -1;let a=n.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)*r;case"br":return n.lastIndexOf(e);default:return -1}}(L.current>j?w:L.current,r,o,_,e.key===iS?"bl":e.key===(h?i_:ij)?"tr":"tl"),stopEvent:!0})];if(null!=s&&(L.current=s,R()),"both"===x)return}if(lS(e.key,x)){if(im(e),n&&!m&&iO(e.currentTarget.ownerDocument)===e.currentTarget){L.current=lO(e.key,x,h)?w:j,R();return}lO(e.key,x,h)?f?L.current=v>=j?d&&v!==i.current.length?-1:w:lx(i,{startingIndex:v,disabledIndices:b}):L.current=Math.min(j,lx(i,{startingIndex:v,disabledIndices:b})):f?L.current=v<=w?d&&-1!==v?i.current.length:j:lx(i,{startingIndex:v,decrement:!0,disabledIndices:b}):L.current=Math.max(w,lx(i,{startingIndex:v,decrement:!0,disabledIndices:b})),ly(i,L.current)&&(L.current=-1),R()}}),J=C.useMemo(()=>m&&n&&Y&&{"aria-activedescendant":q},[m,n,Y,q]),ee=C.useMemo(()=>({"aria-orientation":"both"===x?void 0:x,...!N?J:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&n&&!m){im(e),r(!1,e.nativeEvent,"list-navigation"),aq(o.domReference)&&o.domReference.focus();return}Q(e)},onPointerMove(){z.current=!0}}),[J,Q,x,N,r,n,m,o.domReference]),et=C.useMemo(()=>{function e(e){"auto"===g&&ig(e.nativeEvent)&&(I.current=!0)}function t(e){I.current=g,"auto"===g&&iy(e.nativeEvent)&&(I.current=!0)}return{...J,onKeyDown(e){var t,o;z.current=!1;let a=e.key.startsWith("Arrow"),l=(t=e.key,o=G(),lk(o,h?t===i_:t===ij,t===iS)),s=lS(e.key,x),c=(p?l:s)||"Enter"===e.key||""===e.key.trim();if(m&&n)return Q(e);if(n||v||!a){if(c){let t=lS(e.key,G());A.current=p&&t?null:e.key}if(p){l&&(im(e),n?(L.current=lv(i,H.current),R()):r(!0,e.nativeEvent,"list-navigation"));return}s&&(null!=u&&(L.current=u),im(e),!n&&v?r(!0,e.nativeEvent,"list-navigation"):Q(e),n&&R())}},onFocus(){n&&!m&&(L.current=-1,R())},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[J,Q,H,g,i,p,R,r,n,v,x,G,h,u,m]);return C.useMemo(()=>c?{reference:et,floating:ee,item:X}:{},[c,et,ee,X])}(ec,{enabled:!s,listRef:M,activeIndex:O,nested:void 0!==t.type,loop:u,orientation:d,parentOrientation:"menubar"===t.type?t.context.orientation:void 0,rtl:"rtl"===em,disabledIndices:l2,onNavigate:P,openOnArrowKeyDown:"context-menu"!==t.type}),ey=C.useRef(!1),ev=function(e,t){let{open:n,dataRef:r}=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=aw(),h=C.useRef(""),m=C.useRef(f??a??-1),g=C.useRef(null),y=ak(i),v=ak(l),b=it(c),x=it(d);aL(()=>{n&&(p.clear(),g.current=null,h.current="")},[n,p]),aL(()=>{n&&""===h.current&&(m.current=f??a??-1)},[n,f,a]);let w=ak(e=>{e?r.current.typing||(r.current.typing=e,v(e)):r.current.typing&&(r.current.typing=e,v(e))}),_=ak(e=>{function t(e,t,n){let r=b.current?b.current(t,n):t.find(e=>e?.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())===0);return r?e.indexOf(r):-1}let r=o.current;if(h.current.length>0&&" "!==h.current[0]&&(-1===t(r,r,h.current)?w(!1):" "===e.key&&im(e)),null==r||x.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;n&&" "!==e.key&&(im(e),w(!0)),r.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,w(!1)});let a=m.current,i=t(r,[...r.slice((a||0)+1),...r.slice(0,(a||0)+1)],h.current);-1!==i?(y(i),g.current=i):" "!==e.key&&(h.current="",w(!1))}),j=C.useMemo(()=>({onKeyDown:_}),[_]),k=C.useMemo(()=>({onKeyDown:_,onKeyUp(e){" "===e.key&&w(!1)}}),[_,w]);return C.useMemo(()=>s?{reference:j,floating:k}:{},[s,j,k])}(ec,{listRef:Z,activeIndex:O,resetMs:500,onMatch:e=>{K&&e!==O&&P(e)},onTypingChange:C.useCallback(e=>{ey.current=e},[])}),{getReferenceProps:eb,getFloatingProps:ew,getItemProps:e_}=lC([eu,ef,ep,ed,eh,eg,ev]),ej=function(e){let{enabled:t=!0,mouseDownAction:n,open:r}=e,o=C.useRef(!1);return C.useMemo(()=>t?{onMouseDown:e=>{("open"===n&&!r||"close"===n&&r)&&(o.current=!0,lD(e.currentTarget).addEventListener("click",()=>{o.current=!1},{once:!0}))},onClick:e=>{o.current&&(o.current=!1,e.preventBaseUIHandler())}}:iY,[t,n,r])}({open:K,enabled:"menubar"===t.type,mouseDownAction:"open"}),ek=C.useMemo(()=>{let e=lX(eb(),{onMouseEnter(){k(!0)},onMouseMove(){q(!0)}},er,ej);return delete e.role,e},[eb,ej,q,er]),eS=C.useMemo(()=>ew({onMouseEnter(){W&&"menu"!==t.type||k(!1)},onMouseMove(){q(!0)},onClick(){W&&k(!1)}}),[ew,W,t.type,q]),eO=C.useMemo(()=>e_(),[e_]),eC=C.useMemo(()=>({activeIndex:O,setActiveIndex:P,allowMouseUpTriggerRef:t.type?t.context.allowMouseUpTriggerRef:l3,floatingRootContext:ec,itemProps:eO,popupProps:eS,triggerProps:ek,itemDomElements:M,itemLabels:Z,mounted:J,open:K,popupRef:R,positionerRef:D,setOpen:es,setPositionerElement:Q,triggerElement:y,setTriggerElement:v,transitionStatus:et,lastOpenChangeReason:E,instantType:w,onOpenChangeComplete:i,setHoverEnabled:k,typingRef:ey,modal:B,disabled:s,parent:t,rootId:V,allowMouseEnter:$,setAllowMouseEnter:q}),[O,ec,eO,eS,ek,M,Z,J,K,D,es,et,y,Q,E,w,i,B,s,t,V,$,q]),eP=(0,S.jsx)(lT.Provider,{value:eC,children:r});return void 0===t.type||"context-menu"===t.type?(0,S.jsx)(aM,{children:eP}):eP};function l5(e,t,n,r){var o,a,i,l,s;let c=ay(l6).current;return o=c,a=e,i=t,l=n,s=r,(o.refs[0]!==a||o.refs[1]!==i||o.refs[2]!==l||o.refs[3]!==s)&&l9(c,[e,t,n,r]),c.callback}function l6(){return{callback:null,cleanup:null,refs:[]}}function l9(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let o=t[e];if(null!=o)switch(typeof o){case"function":{let t=o(n);"function"==typeof t&&(r[e]=t);break}case"object":o.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(null!=n)switch(typeof n){case"function":{let t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}let l8=((t={}).startingStyle="data-starting-style",t.endingStyle="data-ending-style",t),l7={[l8.startingStyle]:""},se={[l8.endingStyle]:""},st={transitionStatus:e=>"starting"===e?l7:"ending"===e?se:null},sn=((n={}).open="data-open",n.closed="data-closed",n[n.startingStyle=l8.startingStyle]="startingStyle",n[n.endingStyle=l8.endingStyle]="endingStyle",n.anchorHidden="data-anchor-hidden",n),sr=((r={}).popupOpen="data-popup-open",r.pressed="data-pressed",r),so={[sr.popupOpen]:""},sa={[sr.popupOpen]:"",[sr.pressed]:""},si={[sn.open]:""},sl={[sn.closed]:""},ss={[sn.anchorHidden]:""},sc={open:e=>e?so:null},su={open:e=>e?sa:null},sd={open:e=>e?si:sl,anchorHidden:e=>e?ss:null},sf=parseInt(C.version,10);function sp(e,t,n={}){let r=t.render,o=function(e,t={}){var n,r,o,a,i;let l,{className:s,render:c}=e,{state:u=iY,ref:d,props:f,disableStyleHooks:p,customStyleHookMapping:h,enabled:m=!0}=t,g=m?(n=s,r=u,"function"==typeof n?n(r):n):void 0;!0!==p&&(l=C.useMemo(()=>m?function(e,t){let n={};for(let r in e){let o=e[r];if(t?.hasOwnProperty(r)){let e=t[r](o);null!=e&&Object.assign(n,e);continue}!0===o?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}(u,h):iY,[u,h,m]));let y=m?lK(l,Array.isArray(f)?function(e){if(0===e.length)return lY;if(1===e.length)return lJ(e[0],lY);let t={...lJ(e[0],lY)};for(let n=1;n<e.length;n+=1)t=lG(t,e[n]);return t}(f):f)??iY:iY;if("undefined"!=typeof document)if(m)if(Array.isArray(d)){let e;o=[y.ref,sh(c),...d],a=e=ay(l6).current,i=o,(a.refs.length!==i.length||a.refs.some((e,t)=>e!==i[t]))&&l9(e,o),y.ref=e.callback}else y.ref=l5(y.ref,sh(c),d);else l5(null,null);return m?(void 0!==g&&(y.className=l1(y.className,g)),y):iY}(t,n);return!1===n.enabled?null:function(e,t,n,r){if(t){if("function"==typeof t)return t(n,r);let e=lX(n,t.props);return e.ref=n.ref,C.cloneElement(t,e)}if(e&&"string"==typeof e){var o,a;return o=e,a=n,"button"===o?(0,S.jsx)("button",{type:"button",...a}):"img"===o?(0,S.jsx)("img",{alt:"",...a}):C.createElement(o,a)}throw Error("Base UI: Render element or function are not defined.")}(e,r,o,n.state??iY)}function sh(e){return e&&"function"!=typeof e?sf>=19?e.props.ref:e.ref:null}let sm=C.createContext(void 0);function sg(e=!1){let t=C.useContext(sm);if(void 0===t&&!e)throw Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");return t}function sy(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0}=e,a=C.useRef(null),i=void 0!==sg(!0),l=ak(()=>{let e=a.current;return!!(e?.tagName==="A"&&e?.href)}),{props:s}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:o=0,isNativeButton:a}=e,i=r&&!1!==t,l=r&&!1===t;return{props:C.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return r||(e.tabIndex=o,!a&&n&&(e.tabIndex=t?o:-1)),(a&&(t||i)||!a&&n)&&(e["aria-disabled"]=n),a&&(!t||l)&&(e.disabled=n),e},[r,n,t,i,l,a,o])}}({focusableWhenDisabled:n,disabled:t,composite:i,tabIndex:r,isNativeButton:o});return aL(()=>{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:n,onMouseDown:r,onKeyUp:a,onKeyDown:i,onPointerDown:c,...u}=e;return lX({type:o?"button":void 0,onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(l0(e),i?.(e)),e.baseUIHandlerPrevented)return;let r=e.target===e.currentTarget&&!o&&!l()&&!t,a="Enter"===e.key,s=" "===e.key;r&&((s||a)&&e.preventDefault(),a&&n?.(e))},onKeyUp(e){t||(l0(e),a?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||o||t||" "!==e.key||n?.(e))},onPointerDown(e){t?e.preventDefault():c?.(e)}},o?void 0:{role:"button"},s,u)},[t,s,o,l]),buttonRef:a}}let sv=C.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}}),sb=((o={})[o.None=0]="None",o[o.GuessFromOrder=1]="GuessFromOrder",o);function sx(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:o}=e,{register:a,unregister:i,subscribeMapChange:l,elementsRef:s,labelsRef:c,nextIndexRef:u}=C.useContext(sv),d=C.useRef(-1),[f,p]=C.useState(o===sb.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 n=void 0!==t;c.current[f]=n?t:r?.current?.textContent??e.textContent}},[f,s,c,t,r]);return aL(()=>{let e=h.current;if(e)return a(e,n),()=>{i(e)}},[a,i,n]),aL(()=>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 sw(e){let{render:t,className:n,state:r=iY,props:o=iX,refs:a=iX,metadata:i,customStyleHookMapping:l,tag:s="div",...c}=e,{compositeProps:u,compositeRef:d}=function(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=sg(),{ref:o,index:a}=sx(e),i=n===a,l=C.useRef(null),s=l5(o,l);return{compositeProps:C.useMemo(()=>({tabIndex:i?0:-1,onFocus(){r(a)},onMouseMove(){let e=l.current;if(!t||!e)return;let n=e.hasAttribute("disabled")||"true"===e.ariaDisabled;i||n||e.focus()}}),[i,r,a,t]),compositeRef:s,index:a}}({metadata:i});return sp(s,e,{state:r,ref:[...a,d],props:[u,...o,c],customStyleHookMapping:l})}let s_=C.forwardRef(function(e,t){let{render:n,className:r,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}=lN(),g=o||s,y=C.useRef(null),v=aw(),{getButtonProps:b,buttonRef:x}=sy({disabled:g,native:a}),w=l5(x,c),{events:_}=C.useContext(az);C.useEffect(()=>{u||void 0!==p.type||(d.current=!1)},[d,u,p.type]);let j=ak(e=>{if(!y.current)return;v.clear(),d.current=!1;let t=e.target;if(iC(y.current,t)||iC(f.current,t)||t===y.current||null!=t&&function e(t){return aq(t)&&t.hasAttribute("data-rootownerid")?t.getAttribute("data-rootownerid")??void 0:a5(t)?void 0:e(a8(t))}(t)===m)return;let n=function(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,"::before"),r=window.getComputedStyle(e,"::after");if("none"===n.content&&"none"===r.content)return t;let o=parseFloat(n.width)||0,a=parseFloat(n.height)||0,i=parseFloat(r.width)||0,l=parseFloat(r.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}}(y.current);e.clientX>=n.left-2&&e.clientX<=n.right+2&&e.clientY>=n.top-2&&e.clientY<=n.bottom+2||_.emit("close",{domEvent:e,reason:"cancel-open"})});C.useEffect(()=>{u&&"trigger-hover"===h&&lD(y.current).addEventListener("mouseup",j,{once:!0})},[u,j,h]);let k="menubar"===p.type,O=C.useCallback(e=>lX(k?{role:"menuitem"}:{},{"aria-haspopup":"menu",ref:w,onMouseDown:e=>{u||(v.start(200,()=>{d.current=!0}),lD(e.currentTarget).addEventListener("mouseup",j,{once:!0}))}},e,b),[b,w,u,d,v,j,k]),P=C.useMemo(()=>({disabled:g,open:u}),[g,u]),E=[y,t,x],T=[l,i,O],N=sp("button",e,{enabled:!k,customStyleHookMapping:su,state:P,ref:E,props:T});return k?(0,S.jsx)(sw,{tag:"button",render:n,className:r,state:P,refs:E,props:T,customStyleHookMapping:su}):N}),sj={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},sk=C.forwardRef(function(e,t){let[n,r]=C.useState();return aL(()=>{iu&&r("button")},[]),(0,S.jsx)("span",{...e,ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,style:sj,"data-base-ui-focus-guard":""})});var sS='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])',sO="undefined"==typeof Element,sC=sO?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,sP=!sO&&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},sE=function e(t,n){void 0===n&&(n=!0);var r,o=null==t||null==(r=t.getAttribute)?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},sT=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},sN=function(e,t,n){if(sE(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(sS));return t&&sC.call(e,sS)&&r.unshift(e),r=r.filter(n)},sI=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!sE(i,!1))if("SLOT"===i.tagName){var l=i.assignedElements(),s=e(l.length?l:i.children,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{sC.call(i,sS)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!sE(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(c&&u){var d=e(!0===c?i.children:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:i,candidates:d})}else a.unshift.apply(a,i.children)}}return o},sL=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},sA=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||sT(e))&&!sL(e)?0:e.tabIndex},sz=function(e,t){var n=sA(e);return n<0&&t&&!sL(e)?0:n},sR=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},sD=function(e){return"INPUT"===e.tagName},sM=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},sZ=function(e){if(!e.name)return!0;var t,n=e.form||sP(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=sM(t,e.form);return!o||o===e},sU=function(e){var t;return sD(t=e)&&"radio"===t.type&&!sZ(e)},sF=function(e){var t,n,r,o,a,i,l,s=e&&sP(e),c=null==(t=s)?void 0:t.host,u=!1;if(s&&s!==e)for(u=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=e&&null!=(o=e.ownerDocument)&&o.contains(e));!u&&c;)u=!!(null!=(i=c=null==(a=s=sP(c))?void 0:a.host)&&null!=(l=i.ownerDocument)&&l.contains(c));return u},sH=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},sV=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=sC.call(e,"details>summary:first-of-type")?e.parentElement:e;if(sC.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return sH(e)}else{if("function"==typeof r){for(var a=e;e;){var i=e.parentElement,l=sP(e);if(i&&!i.shadowRoot&&!0===r(i))return sH(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}if(sF(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},sB=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!sC.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},s$=function(e,t){var n,r;return!(t.disabled||sE(t)||sD(n=t)&&"hidden"===n.type||sV(t,e)||"DETAILS"===(r=t).tagName&&Array.prototype.slice.apply(r.children).some(function(e){return"SUMMARY"===e.tagName})||sB(t))},sq=function(e,t){return!(sU(t)||0>sA(t))&&!!s$(e,t)},sW=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},sK=function e(t){var n=[],r=[];return t.forEach(function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,l=sz(i,a),s=a?e(t.candidates):i;0===l?a?n.push.apply(n,s):n.push(i):r.push({documentOrder:o,tabIndex:l,item:t,isScope:a,content:s})}),r.sort(sR).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},sY=function(e,t){return sK((t=t||{}).getShadowRoot?sI([e],t.includeContainer,{filter:sq.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:sW}):sN(e,t.includeContainer,sq.bind(null,t)))},sX=function(e,t){return(t=t||{}).getShadowRoot?sI([e],t.includeContainer,{filter:s$.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):sN(e,t.includeContainer,s$.bind(null,t))},sG=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==sC.call(e,sS)&&sq(t,e)};let sQ=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function sJ(e,t){let n=sY(e,sQ()),r=n.length;if(0===r)return;let o=iO(iT(e)),a=n.indexOf(o);return n[-1===a?1===t?0:r-1:a+t]}function s0(e){return sJ(iT(e).body,1)||e}function s1(e){return sJ(iT(e).body,-1)||e}function s2(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!iC(n,r)}function s3(e){sY(e,sQ()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function s4(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 s5=C.createContext(null),s6=iA("portal");function s9(e={}){let{id:t,root:n}=e,r=aN(),o=C.useContext(s5),[a,i]=C.useState(null),l=C.useRef(null);return aL(()=>()=>{a?.remove(),queueMicrotask(()=>{l.current=null})},[a]),aL(()=>{if(!r||l.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(s6,""),e.appendChild(n),l.current=n,i(n)},[t,r]),aL(()=>{if(null===n||!r||l.current)return;let e=n||o?.portalNode;e&&!aB(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=r,s.setAttribute(s6,""),(e=a||e).appendChild(s),l.current=s,i(s)},[t,n,r,o]),a}function s8(e){let{children:t,id:n,root:r,preserveTabOrder:o=!0}=e,a=s9({id:n,root:r}),[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&&!!(r||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&&s2(e)){let t="focusin"===e.type;(t?s4:s3)(a)}}},[a,o,f]),C.useEffect(()=>{!a||p||s4(a)},[p,a]),(0,S.jsxs)(s5.Provider,{value:C.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:s,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:d,portalNode:a,setFocusManagerState:l}),[o,a]),children:[h&&a&&(0,S.jsx)(sk,{"data-type":"outside",ref:s,onFocus:e=>{if(s2(e,a))u.current?.focus();else{let e=s1(i?i.domReference:null);e?.focus()}}}),h&&a&&(0,S.jsx)("span",{"aria-owns":a.id,style:sj}),a&&ex.createPortal(t,a),h&&a&&(0,S.jsx)(sk,{"data-type":"outside",ref:c,onFocus:e=>{if(s2(e,a))d.current?.focus();else{let t=s0(i?i.domReference:null);t?.focus(),i?.closeOnFocusOut&&i?.onOpenChange(!1,e.nativeEvent,"focus-out")}}})]})}let s7=C.createContext(void 0);function ce(e){let{children:t,keepMounted:n=!1,container:r}=e,{mounted:o}=lN();return o||n?(0,S.jsx)(s7.Provider,{value:n,children:(0,S.jsx)(s8,{root:r,children:t})}):null}let ct=C.createContext(void 0);function cn(e,t,n){let r,{reference:o,floating:a}=e,i=ll(t),l=lo(ll(t)),s=la(l),c=ln(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":r={x:d,y:o.y-a.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-a.width,y:f};break;default:r={x:o.x,y:o.y}}switch(lr(t)){case"start":r[l]-=p*(n&&u?-1:1);break;case"end":r[l]+=p*(n&&u?-1:1)}return r}let cr=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,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}=cn(c,r,s),f=r,p={},h=0;for(let n=0;n<l.length;n++){let{name:a,fn:m}=l[n],{x:g,y:y,data:v,reset:b}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,p={...p,[a]:{...p[a],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:d}=cn(c,f,s)),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}};async function co(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=lt(t,e),h=lh(p),m=l[f?"floating"===d?"reference":"floating":d],g=lm(await a.getClippingRect({element:null==(n=await (null==a.isElement?void 0:a.isElement(m)))||n?m:m.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),y="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),b=await (null==a.isElement?void 0:a.isElement(v))&&await (null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},x=lm(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:s}):y);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}function ca(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ci(e){return i3.some(t=>e[t]>=0)}let cl=new Set(["left","top"]);async function cs(e,t){let{placement:n,platform:r,elements:o}=e,a=await (null==r.isRTL?void 0:r.isRTL(o.floating)),i=ln(n),l=lr(n),s="y"===ll(n),c=cl.has(i)?-1:1,u=a&&s?-1:1,d=lt(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 cc(e){let t=a6(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=aq(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=i6(n)!==a||i6(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function cu(e){return a$(e)?e:e.contextElement}function cd(e){let t=cu(e);if(!aq(t))return i8(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:a}=cc(t),i=(a?i6(n.width):n.width)/r,l=(a?i6(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}let cf=i8(0);function cp(e){let t=aH(e);return a3()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:cf}function ch(e,t,n,r){var o,a,i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=cu(e),c=i8(1);t&&(r?a$(r)&&(c=cd(r)):c=cd(e));let u=(o=s,void 0===(a=n)&&(a=!1),(i=r)&&(!a||i===aH(o))&&a)?cp(s):i8(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=aH(s),t=r&&a$(r)?aH(r):r,n=e,o=ie(n);for(;o&&r&&t!==n;){let e=cd(o),t=o.getBoundingClientRect(),r=a6(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,f*=e.y,p*=e.x,h*=e.y,d+=a,f+=i,o=ie(n=aH(o))}}return lm({width:p,height:h,x:d,y:f})}function cm(e,t){let n=a9(e).scrollLeft;return t?t.left+n:ch(aV(e)).left+n}function cg(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:cm(e,r));return{x:o,y:r.top+t.scrollTop}}let cy=new Set(["absolute","fixed"]);function cv(e,t,n){var r,o;let a;if("viewport"===t)a=function(e,t){let n=aH(e),r=aV(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;let e=a3();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,n);else if("document"===t){let t,n,o,i,l,s,c;r=aV(e),t=aV(r),n=a9(r),o=r.ownerDocument.body,i=i5(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=i5(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+cm(r),c=-n.scrollTop,"rtl"===a6(o).direction&&(s+=i5(t.clientWidth,o.clientWidth)-i),a={width:i,height:l,x:s,y:c}}else if(a$(t)){let e,r,i,l,s,c,u;r=(e=ch(o=t,!0,"fixed"===n)).top+o.clientTop,i=e.left+o.clientLeft,l=aq(o)?cd(o):i8(1),s=o.clientWidth*l.x,c=o.clientHeight*l.y,u=i*l.x,a={width:s,height:c,x:u,y:r*l.y}}else{let n=cp(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return lm(a)}function cb(e){return"static"===a6(e).position}function cx(e,t){if(!aq(e)||"fixed"===a6(e).position)return null;if(t)return t(e);let n=e.offsetParent;return aV(e)===n&&(n=n.ownerDocument.body),n}function cw(e,t){var n;let r=aH(e);if(aQ(e))return r;if(!aq(e)){let t=a8(e);for(;t&&!a5(t);){if(a$(t)&&!cb(t))return t;t=a8(t)}return r}let o=cx(e,t);for(;o&&(n=o,aX.has(aF(n)))&&cb(o);)o=cx(o,t);return o&&a5(o)&&cb(o)&&!a2(o)?r:o||function(e){let t=a8(e);for(;aq(t)&&!a5(t);){if(a2(t))return t;if(aQ(t))break;t=a8(t)}return null}(e)||r}let c_=async function(e){let t=this.getOffsetParent||cw,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=aq(t),o=aV(t),a="fixed"===n,i=ch(e,!0,a,t),l={scrollLeft:0,scrollTop:0},s=i8(0);if(r||!r&&!a)if(("body"!==aF(t)||aY(o))&&(l=a9(t)),r){let e=ch(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=cm(o));a&&!r&&o&&(s.x=cm(o));let c=!o||r||a?i8(0):cg(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:r.width,height:r.height}}},cj={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,a="fixed"===o,i=aV(r),l=!!t&&aQ(t.floating);if(r===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},c=i8(1),u=i8(0),d=aq(r);if((d||!d&&!a)&&(("body"!==aF(r)||aY(i))&&(s=a9(r)),aq(r))){let e=ch(r);c=cd(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=!i||d||a?i8(0):cg(i,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:aV,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?aQ(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=a7(e,[],!1).filter(e=>a$(e)&&"body"!==aF(e)),o=null,a="fixed"===a6(e).position,i=a?a8(e):e;for(;a$(i)&&!a5(i);){let t=a6(i),n=a2(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&!!o&&cy.has(o.position)||aY(i)&&!n&&function e(t,n){let r=a8(t);return!(r===n||!a$(r)||a5(r))&&("fixed"===a6(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):o=t,i=a8(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((e,n)=>{let r=cv(t,n,o);return e.top=i5(r.top,e.top),e.right=i4(r.right,e.right),e.bottom=i4(r.bottom,e.bottom),e.left=i5(r.left,e.left),e},cv(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:cw,getElementRects:c_,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=cc(e);return{width:t,height:n}},getScale:cd,isElement:a$,isRTL:function(e){return"rtl"===a6(e).direction}};function ck(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cS(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=cu(e),d=a||i?[...u?a7(u):[],...a7(t)]:[];d.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});let f=u&&s?function(e,t){let n,r=null,o=aV(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=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=i9(d),m=i9(o.clientWidth-(u+f)),g=i9(o.clientHeight-(d+p)),y={rootMargin:-h+"px "+-m+"px "+-g+"px "+-i9(u)+"px",threshold:i5(0,i4(1,s))||1},v=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return i();r?i(!1,r):n=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==r||ck(c,e.getBoundingClientRect())||i(),v=!1}try{r=new IntersectionObserver(b,{...y,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,y)}r.observe(e)}(!0),a}(u,n):null,p=-1,h=null;l&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),u&&!c&&h.observe(u),h.observe(t));let m=c?ch(e):null;return c&&function t(){let r=ch(e);m&&!ck(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(o)}}var cO="undefined"!=typeof document,cC=cO?C.useLayoutEffect:function(){};function cP(e,t){let n,r,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((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!cP(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!cP(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function cE(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cT(e,t){let n=cE(e);return Math.round(t*n)/n}function cN(e){let t=C.useRef(e);return cC(()=>{t.current=e}),t}function cI(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function cL(e,t,n){let{rects:r,placement:o}=e;return{side:cI(t,ln(o),n),align:lr(o)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function cA(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y;let v,{anchor:b,positionMethod:x="absolute",side:w="bottom",sideOffset:_=0,align:j="center",alignOffset:k=0,collisionBoundary:S,collisionPadding:O=5,sticky:P=!1,arrowPadding:E=5,trackAnchor:T=!0,keepMounted:N=!1,floatingRootContext:I,mounted:L,collisionAvoidance:A,shiftCrossAxis:z=!1,nodeId:R,adaptiveOrigin:D}=e,M=A.side||"flip",Z=A.align||"flip",U=A.fallbackAxisSide||"end",F="function"==typeof b?b:void 0,H=ak(F),V=F?H:b,B=it(b),$="rtl"===lR(),q={top:"top",right:"right",bottom:"bottom",left:"left","inline-end":$?"left":"right","inline-start":$?"right":"left"}[w],W="center"===j?q:`${q}-${j}`,K={boundary:"clipping-ancestors"===S?"clippingAncestors":S,padding:O},Y=C.useRef(null),X=it(_),G=it(k),Q="function"!=typeof _?_:0,J=[(t=e=>{let t=cL(e,w,$),n="function"==typeof X.current?X.current(t):X.current,r="function"==typeof G.current?G.current(t):G.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},n=[Q,"function"!=typeof k?k:0,$,w],{...(void 0===(r=t)&&(r=0),{name:"offset",options:r,async fn(e){var t,n;let{x:o,y:a,placement:i,middlewareData:l}=e,s=await cs(e,r);return i===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}),options:[t,n]})],ee="none"===Z&&"shift"!==M,et=!ee&&(P||z||"shift"===M),en="none"===M?null:{...{name:"flip",options:i=o={...K,mainAxis:!z&&"flip"===M,crossAxis:"flip"===Z&&"alignment",fallbackAxisSideDirection:U},async fn(e){var t,n,r,o,a,l,s,c,u,d,f,p,h;let m,g,y,{placement:v,middlewareData:b,rects:x,initialPlacement:w,platform:_,elements:j}=e,{mainAxis:k=!0,crossAxis:S=!0,fallbackPlacements:O,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:E=!0,...T}=lt(i,e);if(null!=(t=b.arrow)&&t.alignmentOffset)return{};let N=ln(v),I=ll(w),L=ln(w)===w,A=await (null==_.isRTL?void 0:_.isRTL(j.floating)),z=O||(L||!E?[lp(w)]:(m=lp(l=w),[ls(l),m,ls(m)])),R="none"!==P;!O&&R&&z.push(...(s=w,c=E,u=P,d=A,g=lr(s),y=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?lu:lc;return t?lc:lu;case"left":case"right":return t?ld:lf;default:return[]}}(ln(s),"start"===u,d),g&&(y=y.map(e=>e+"-"+g),c&&(y=y.concat(y.map(ls)))),y));let D=[w,...z],M=await co(e,T),Z=[],U=(null==(n=b.flip)?void 0:n.overflows)||[];if(k&&Z.push(M[N]),S){let e,t,n,r,o=(f=v,p=x,void 0===(h=A)&&(h=!1),e=lr(f),t=lo(ll(f)),n=la(t),r="x"===t?e===(h?"end":"start")?"right":"left":"start"===e?"bottom":"top",p.reference[n]>p.floating[n]&&(r=lp(r)),[r,lp(r)]);Z.push(M[o[0]],M[o[1]])}if(U=[...U,{placement:v,overflows:Z}],!Z.every(e=>e<=0)){let e=((null==(r=b.flip)?void 0:r.index)||0)+1,t=D[e];if(t&&("alignment"!==S||I===ll(t)||U.every(e=>ll(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:U},reset:{placement:t}};let n=null==(o=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(a=U.filter(e=>{if(R){let t=ll(e.placement);return t===I||"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&&(n=e);break}case"initialPlacement":n=w}if(v!==n)return{reset:{placement:n}}}return{}}},options:[o,a]},er=ee?null:(l=e=>{var t,n,r;let o=lD(e.elements.floating).documentElement;return{...K,rootBoundary:z?{x:0,y:0,width:o.clientWidth,height:o.clientHeight}:void 0,mainAxis:"none"!==Z,crossAxis:et,limiter:P||z?void 0:{...(void 0===(r=t=()=>{if(!Y.current)return{};let{height:e}=Y.current.getBoundingClientRect();return{offset:e/2+("number"==typeof O?O:0)}})&&(r={}),{options:r,fn(e){let{x:t,y:n,placement:o,rects:a,middlewareData:i}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=lt(r,e),u={x:t,y:n},d=ll(o),f=lo(d),p=u[f],h=u[d],m=lt(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,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var y,v;let e="y"===f?"width":"height",t=cl.has(ln(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(y=i.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(v=i.offset)?void 0:v[d])||0)-(t?g.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}),options:[t,n]}}},s=[K,P,z,O,Z],{...(void 0===(c=l)&&(c={}),{name:"shift",options:c,async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:i={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=lt(c,e),s={x:t,y:n},u=await co(e,l),d=ll(ln(r)),f=lo(d),p=s[f],h=s[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+u[e],r=p-u[t];p=i5(n,i4(p,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=h+u[e],r=h-u[t];h=i5(n,i4(h,r))}let m=i.fn({...e,[f]:p,[d]:h});return{...m,data:{x:m.x-t,y:m.y-n,enabled:{[f]:o,[d]:a}}}}}),options:[l,s]});"shift"===M||"shift"===Z||"center"===j?J.push(er,en):J.push(en,er),J.push({...{name:"size",options:f=u={...K,apply({elements:{floating:e},rects:{reference:t},availableWidth:n,availableHeight:r}){Object.entries({"--available-width":`${n}px`,"--available-height":`${r}px`,"--anchor-width":`${t.width}px`,"--anchor-height":`${t.height}px`}).forEach(([t,n])=>{e.style.setProperty(t,n)})}},async fn(e){var t,n;let r,o,{placement:a,rects:i,platform:l,elements:s}=e,{apply:c=()=>{},...u}=lt(f,e),d=await co(e,u),p=ln(a),h=lr(a),m="y"===ll(a),{width:g,height:y}=i.floating;"top"===p||"bottom"===p?(r=p,o=h===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,r="end"===h?"top":"bottom");let v=y-d.top-d.bottom,b=g-d.left-d.right,x=i4(y-d[r],v),w=i4(g-d[o],b),_=!e.middlewareData.shift,j=x,k=w;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=b),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(j=v),_&&!h){let e=i5(d.left,0),t=i5(d.right,0),n=i5(d.top,0),r=i5(d.bottom,0);m?k=g-2*(0!==e||0!==t?e+t:i5(d.left,d.right)):j=y-2*(0!==n||0!==r?n+r:i5(d.top,d.bottom))}await c({...e,availableWidth:k,availableHeight:j});let S=await l.getDimensions(s.floating);return g!==S.width||y!==S.height?{reset:{rects:!0}}:{}}},options:[u,d]},(p=()=>({element:Y.current||document.createElement("div"),padding:E,offsetParent:"floating"}),h=[E],{...{name:"arrow",options:v=p,async fn(e){let{x:t,y:n,placement:r,rects:o,platform:a,elements:i,middlewareData:l}=e,{element:s,padding:c=0,offsetParent:u="real"}=lt(v,e)||{};if(null==s)return{};let d=lh(c),f={x:t,y:n},p=lo(ll(r)),h=la(p),m=await a.getDimensions(s),g="y"===p,y=g?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[p]-f[p]-o.floating[h],x=f[p]-o.reference[p],w="real"===u?await a.getOffsetParent?.(s):i.floating,_=i.floating[y]||o.floating[h];_&&await a.isElement?.(w)||(_=i.floating[y]||o.floating[h]);let j=_/2-m[h]/2-1,k=Math.min(d[g?"top":"left"],j),S=Math.min(d[g?"bottom":"right"],j),O=_-m[h]-S,C=_/2-m[h]/2+(b/2-x/2),P=i5(k,i4(C,O)),E=!l.arrow&&null!=lr(r)&&C!==P&&o.reference[h]/2-(C<k?k:S)-m[h]/2<0,T=E?C<k?C-k:C-O:0;return{[p]:f[p]+T,data:{[p]:P,centerOffset:C-P-T,...E&&{alignmentOffset:T}},reset:E}}},options:[p,h]}),{...(void 0===(y=m)&&(y={}),{name:"hide",options:y,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=lt(y,e);switch(n){case"referenceHidden":{let n=ca(await co(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:ci(n)}}}case"escaped":{let n=ca(await co(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:ci(n)}}}default:return{}}}}),options:[m,g]},{name:"transformOrigin",fn(e){let{elements:t,middlewareData:n,placement:r,rects:o,y:a}=e,i=ln(r),l=ll(i),s=Y.current,c=n.arrow?.x||0,u=n.arrow?.y||0,d=s?.clientWidth||0,f=s?.clientHeight||0,p=c+d/2,h=u+f/2,m=Math.abs(n.shift?.y||0),g=o.reference.height/2,y=m>("function"==typeof _?_(cL(e,w,$)):_),v={top:`${p}px calc(100% + ${_}px)`,bottom:`${p}px ${-_}px`,left:`calc(100% + ${_}px) ${h}px`,right:`${-_}px ${h}px`}[i],b=`${p}px ${o.reference.y+g-a}px`;return t.floating.style.setProperty("--transform-origin",et&&"y"===l&&y?b:v),{}}},D);let eo=I;!L&&I&&(eo={...I,elements:{reference:null,floating:null,domReference:null}});let ea=C.useMemo(()=>({elementResize:T&&"undefined"!=typeof ResizeObserver,layoutShift:T&&"undefined"!=typeof IntersectionObserver}),[T]),{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,n=aZ({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[a,i]=C.useState(null),[l,s]=C.useState(null),c=o?.domReference||a,u=C.useRef(null),d=C.useContext(az);aL(()=>{c&&(u.current=c)},[c]);let f=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=C.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=C.useState(r);cP(f,r)||p(r);let[h,m]=C.useState(null),[g,y]=C.useState(null),v=C.useCallback(e=>{e!==_.current&&(_.current=e,m(e))},[]),b=C.useCallback(e=>{e!==j.current&&(j.current=e,y(e))},[]),x=a||h,w=i||g,_=C.useRef(null),j=C.useRef(null),k=C.useRef(u),S=null!=s,O=cN(s),P=cN(o),E=cN(c),T=C.useCallback(()=>{var e,r,o;let a,i,l;if(!_.current||!j.current)return;let s={placement:t,strategy:n,middleware:f};P.current&&(s.platform=P.current),(e=_.current,r=j.current,o=s,a=new Map,l={...(i={platform:cj,...o}).platform,_c:a},cr(e,r,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==E.current};N.current&&!cP(k.current,t)&&(k.current=t,ex.flushSync(()=>{d(t)}))})},[f,t,n,P,E]);cC(()=>{!1===c&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let N=C.useRef(!1);cC(()=>(N.current=!0,()=>{N.current=!1}),[]),cC(()=>{if(x&&(_.current=x),w&&(j.current=w),x&&w){if(O.current)return O.current(x,w,T);T()}},[x,w,T,O,S]);let I=C.useMemo(()=>({reference:_,floating:j,setReference:v,setFloating:b}),[v,b]),L=C.useMemo(()=>({reference:x,floating:w}),[x,w]),A=C.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=cT(L.floating,u.x),r=cT(L.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...cE(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,L.floating,u.x,u.y]);return C.useMemo(()=>({...u,update:T,refs:I,elements:L,floatingStyles:A}),[u,T,I,L,A])}({...e,elements:{...o,...l&&{reference:l}}}),p=C.useCallback(e=>{let t=a$(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),f.refs.setReference(t)},[f.refs]),h=C.useCallback(e=>{(a$(e)||null===e)&&(u.current=e,i(e)),(a$(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!a$(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]),y=C.useMemo(()=>({...f,...r,refs:m,elements:g,nodeId:t}),[f,m,g,t,r]);return aL(()=>{r.dataRef.current.floatingContext=y;let e=d?.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),C.useMemo(()=>({...f,context:y,refs:m,elements:g}),[f,m,g,y])}({rootContext:eo,placement:W,middleware:J,strategy:x,whileElementsMounted:N?void 0:(...e)=>cS(...e,ea),nodeId:R}),{sideX:eg,sideY:ey}=eu.adaptiveOrigin||{},ev=C.useMemo(()=>D?{position:x,[eg]:`${es}px`,[ey]:`${ec}px`}:em,[D,eg,ey,x,es,ec,em]),eb=C.useRef(null);aL(()=>{if(!L)return;let e=B.current,t="function"==typeof e?e():e,n=(cz(t)?t.current:t)||null;n!==eb.current&&(ei.setPositionReference(n),eb.current=n)},[L,ei,V,B]),C.useEffect(()=>{if(!L)return;let e=B.current;"function"!=typeof e&&cz(e)&&e.current!==eb.current&&(ei.setPositionReference(e.current),eb.current=e.current)},[L,ei,V,B]),C.useEffect(()=>{if(N&&L&&el.domReference&&el.floating)return cS(el.domReference,el.floating,ed,ea)},[N,L,el,ed,ea]);let ew=cI(w,ln(ef),$),e_=lr(ef)||"center",ej=!!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:ev,arrowStyles:ek,arrowRef:Y,arrowUncentered:eS,side:ew,align:e_,anchorHidden:ej,refs:ei,context:ep,isPositioned:eh,update:ed}),[ev,ek,Y,eS,ew,e_,ej,ei,ep,eh,ed])}function cz(e){return null!=e&&"current"in e}function cR(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,a=C.useRef(0),i=ay(cM).current,l=ay(cD).current,[s,c]=C.useState(0),u=C.useRef(s),d=ak((e,t)=>{l.set(e,t??null),u.current+=1,c(u.current)}),f=ak(e=>{l.delete(e),u.current+=1,c(u.current)}),p=C.useMemo(()=>{let e=new Map;return Array.from(l.keys()).sort(cZ).forEach((t,n)=>{let r=l.get(t)??{};e.set(t,{...r,index:n})}),e},[l,s]);aL(()=>{u.current===s&&(n.current.length!==p.size&&(n.current.length=p.size),r&&r.current.length!==p.size&&(r.current.length=p.size)),o?.(p)},[o,p,n,r,s,u]);let h=ak(e=>(i.add(e),()=>{i.delete(e)}));aL(()=>{i.forEach(e=>e(p))},[i,p]);let m=C.useMemo(()=>({register:d,unregister:f,subscribeMapChange:h,elementsRef:n,labelsRef:r,nextIndexRef:a}),[d,f,h,n,r,a]);return(0,S.jsx)(sv.Provider,{value:m,children:t})}function cD(){return new Map}function cM(){return new Set}function cZ(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let cU=C.forwardRef(function(e,t){let n,{cutout:r,...o}=e;if(r){let e=r?.getBoundingClientRect();n=`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,S.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:n}})}),cF=C.forwardRef(function(e,t){var n;let r,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:y=5,sticky:v=!1,trackAnchor:b=!0,collisionAvoidance:x=iG,...w}=e,{open:_,setOpen:j,floatingRootContext:k,setPositionerElement:O,itemDomElements:P,itemLabels:E,mounted:T,modal:N,lastOpenChangeReason:I,parent:L,setHoverEnabled:A,triggerElement:z}=lN(),R=function(){let e=C.useContext(s7);if(void 0===e)throw Error("Base UI: <Menu.Portal> is missing.");return e}(),D=(r=aN(),o=C.useContext(az),i=a=aR(),aL(()=>{if(!r)return;let e={id:r,parentId:i};return o?.addNode(e),()=>{o?.removeNode(e)}},[o,r,i]),r),M=aR(),Z=lq(!0),U=l,F=p,H=h,V=f;"context-menu"===L.type&&(U=L.context?.anchor??l,V=e.align??"start",H=e.alignOffset??2,F=e.sideOffset??-5);let B=d,$=V;"menu"===L.type?(B=B??"inline-end",$=$??"start"):"menubar"===L.type&&(B=B??"bottom",$=$??"start");let q="context-menu"===L.type,W=cA({anchor:U,floatingRootContext:k,positionMethod:Z?"fixed":s,mounted:T,side:B,sideOffset:F,align:$,alignOffset:H,arrowPadding:q?0:y,collisionBoundary:m,collisionPadding:g,sticky:v,nodeId:D,keepMounted:R,trackAnchor:b,collisionAvoidance:x,shiftCrossAxis:q}),{events:K}=C.useContext(az),Y=C.useMemo(()=>{let e={};return _||(e.pointerEvents="none"),{role:"presentation",hidden:!T,style:{...W.positionerStyles,...e}}},[_,T,W.positionerStyles]);C.useEffect(()=>{function e(e){e.open?(e.parentNodeId===D&&A(!1),e.nodeId!==D&&e.parentNodeId===M&&j(!1,void 0,"sibling-open")):e.parentNodeId===D&&A(!0)}return K.on("openchange",e),()=>{K.off("openchange",e)}},[K,D,M,j,A]),C.useEffect(()=>{K.emit("openchange",{open:_,nodeId:D,parentNodeId:M})},[K,_,D,M]);let X=C.useMemo(()=>({open:_,side:W.side,align:W.align,anchorHidden:W.anchorHidden,nested:"menu"===L.type}),[_,W.side,W.align,W.anchorHidden,L.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=sp("div",e,{state:X,customStyleHookMapping:sd,ref:[t,O],props:{...Y,...w}}),J=T&&"menu"!==L.type&&("menubar"!==L.type&&N&&"trigger-hover"!==I||"menubar"===L.type&&L.context.modal),ee=null;return"menubar"===L.type?ee=L.context.contentElement:void 0===L.type&&(ee=z),(0,S.jsxs)(ct.Provider,{value:G,children:[J&&(0,S.jsx)(cU,{ref:"context-menu"===L.type||"nested-context-menu"===L.type?L.context.internalBackdropRef:null,inert:(n=!_,sf>=19?n:n?"true":void 0),cutout:ee}),(0,S.jsx)(aD,{id:D,children:(0,S.jsx)(cR,{elementsRef:P,labelsRef:E,children:Q})})]})}),cH={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function cV(e){return"inert"===e?cH.inert:"aria-hidden"===e?cH["aria-hidden"]:cH.none}let cB=new WeakSet,c$={},cq=0,cW=e=>e&&(e.host||cW(e.parentNode)),cK=[];function cY(){cK=cK.filter(e=>e.isConnected)}function cX(){return cY(),cK[cK.length-1]}function cG(e,t){if(!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;let n=sQ(),r=sX(e,n).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return sG(e,n)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),o=e.getAttribute("tabindex");t.current.includes("floating")||0===r.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 cQ(e){let{context:t,children:n,disabled:r=!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,y=ak(()=>h.current.floatingContext?.nodeId),v=ak(u),b="number"==typeof a&&a<0,x=iI(m)&&b,w=it(o),_=it(a),j=it(i),k=C.useContext(az),O=C.useContext(s5),P=C.useRef(null),E=C.useRef(null),T=C.useRef(!1),N=C.useRef(!1),I=C.useRef(-1),L=aw(),A=null!=O,z=iL(g),R=ak((e=z)=>e?sY(e,sQ()):[]),D=ak(e=>{let t=R(e);return w.current.map(()=>t).filter(Boolean).flat()});C.useEffect(()=>{if(r||!s)return;function e(e){"Tab"===e.key&&iC(z,iO(iT(z)))&&0===R().length&&!x&&im(e)}let t=iT(z);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,m,z,s,w,x,R,D]),C.useEffect(()=>{if(!r&&g)return g.addEventListener("focusin",e),()=>{g.removeEventListener("focusin",e)};function e(e){let t=iP(e),n=R().indexOf(t);-1!==n&&(I.current=n)}},[r,g,R]),C.useEffect(()=>{if(r||!c)return;function e(){N.current=!0}function t(e){let t=e.relatedTarget,n=e.currentTarget,r=iP(e);queueMicrotask(()=>{let o=y(),a=!(iC(m,t)||iC(g,t)||iC(t,g)||iC(O?.portalNode,t)||t?.hasAttribute(iA("focus-guard"))||k&&(iZ(k.nodesRef.current,o).find(e=>iC(e.context?.elements.floating,t)||iC(e.context?.elements.domReference,t))||iU(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,iL(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(n===m&&z&&cG(z,w),l&&n!==m&&!r?.isConnected&&iO(iT(z))===iT(z).body){aq(z)&&z.focus();let e=I.current,t=R(),n=t[e]||t[t.length-1]||z;aq(n)&&n.focus()}if(h.current.insideReactTree){h.current.insideReactTree=!1;return}if(N.current){N.current=!1;return}(x||!s)&&t&&a&&t!==cX()&&(T.current=!0,f(!1,e,"focus-out"))})}let n=!!(!k&&O);function o(){h.current.insideReactTree=!0,L.start(0,()=>{h.current.insideReactTree=!1})}if(g&&aq(m))return m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),g.addEventListener("focusout",t),n&&g.addEventListener("focusout",o,!0),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),g.removeEventListener("focusout",t),n&&g.removeEventListener("focusout",o,!0)}},[r,m,g,z,s,k,O,f,c,l,R,x,y,w,h,L]);let M=C.useRef(null),Z=C.useRef(null),U=l5(M,O?.beforeInsideRef),F=l5(Z,O?.afterInsideRef);C.useEffect(()=>{if(r||!g)return;let e=Array.from(O?.portalNode?.querySelectorAll(`[${iA("portal")}]`)||[]),t=k?iU(k.nodesRef.current,y()):[],n=function(e,t=!1,n=!1){var r,o,a;let i,l,s,c,u,d,f,p,h=iT(e[0]).body;return r=e.concat(Array.from(h.querySelectorAll("[aria-live]"))),o=h,a=t,i="data-base-ui-inert",l=n?"inert":a?"aria-hidden":null,s=o,c=r.map(e=>{if(s.contains(e))return e;let t=cW(e);return s.contains(t)?t:null}).filter(e=>null!=e),u=new Set,d=new Set(c),f=[],c$[i]||(c$[i]=new WeakMap),p=c$[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"!==aF(t))if(u.has(t))e(t);else{let e=l?t.getAttribute(l):null,n=null!==e&&"false"!==e,r=cV(l),o=(r.get(t)||0)+1,a=(p.get(t)||0)+1;r.set(t,o),p.set(t,a),f.push(t),1===o&&n&&cB.add(t),1===a&&t.setAttribute(i,""),!n&&l&&t.setAttribute(l,"inert"===l?"":"true")}})}(o),u.clear(),cq+=1,()=>{f.forEach(e=>{let t=cV(l),n=(t.get(e)||0)-1,r=(p.get(e)||0)-1;t.set(e,n),p.set(e,r),n||(!cB.has(e)&&l&&e.removeAttribute(l),cB.delete(e)),r||e.removeAttribute(i)}),(cq-=1)||(cH.inert=new WeakMap,cH["aria-hidden"]=new WeakMap,cH.none=new WeakMap,cB=new WeakSet,c$={})}}([g,t.find(e=>iI(e.context?.elements.domReference||null))?.context?.elements.domReference,...e,...v(),P.current,E.current,M.current,Z.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,x?m:null].filter(e=>null!=e),s||x);return()=>{n()}},[r,m,g,s,w,O,x,k,y,v]),aL(()=>{if(r||!aq(z))return;let e=iO(iT(z));queueMicrotask(()=>{let t=D(z),n=_.current,r=("number"==typeof n?t[n]:n.current)||z,o=iC(z,e);b||o||!d||lj(r,{preventScroll:r===z})})},[r,d,z,b,D,_]),aL(()=>{var e;if(r||!z)return;let t=iT(z);function n({reason:e,event:t,nested:n}){if(["hover","safe-polygon"].includes(e)&&"mouseleave"===t.type&&(T.current=!0),"outside-press"===e)if(n)T.current=!1;else if(ig(t)||iy(t))T.current=!1;else{let e=!1;document.createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?T.current=!1:T.current=!0}}e=iO(t),cY(),e&&"body"!==aF(e)&&(cK.push(e),cK.length>20&&(cK=cK.slice(-20))),p.on("openchange",n);let o=t.createElement("span");return o.setAttribute("tabindex","-1"),o.setAttribute("aria-hidden","true"),Object.assign(o.style,sj),A&&m&&m.insertAdjacentElement("afterend",o),()=>{p.off("openchange",n);let e=iO(t),r=iC(g,e)||k&&iZ(k.nodesRef.current,y(),!1).some(t=>iC(t.context?.elements.floating,e)),a=function(){if("boolean"==typeof j.current){let e=m||cX();return e&&e.isConnected?e:o}return j.current.current||o}();queueMicrotask(()=>{var n;let i,l=(n=a,i=sQ(),sG(n,i)?n:sY(n,i)[0]||n);j.current&&!T.current&&aq(l)&&(l===e||e===t.body||r)&&l.focus({preventScroll:!0}),o.remove()})}},[r,g,z,j,h,p,k,A,m,y]),C.useEffect(()=>{queueMicrotask(()=>{T.current=!1})},[r]),C.useEffect(()=>{if(r||!d)return;function e(e){let t=iP(e);t?.closest("[data-base-ui-click-trigger]")&&(N.current=!0)}let t=iT(z);return t.addEventListener("pointerdown",e,!0),()=>{t.removeEventListener("pointerdown",e,!0)}},[r,d,z]),aL(()=>{if(!r&&O)return O.setFocusManagerState({modal:s,closeOnFocusOut:c,open:d,onOpenChange:f,domReference:m}),()=>{O.setFocusManagerState(null)}},[r,O,s,d,f,c,m]),aL(()=>{if(!r&&z)return cG(z,w),()=>{queueMicrotask(cY)}},[r,z,w]);let H=!r&&(!s||!x)&&(A||s);return(0,S.jsxs)(C.Fragment,{children:[H&&(0,S.jsx)(sk,{"data-type":"inside",ref:U,onFocus:e=>{if(s){let e=D();lj(e[e.length-1])}else if(O?.preserveTabOrder&&O.portalNode)if(T.current=!1,s2(e,O.portalNode)){let e=s0(m);e?.focus()}else O.beforeOutsideRef.current?.focus()}}),n,H&&(0,S.jsx)(sk,{"data-type":"inside",ref:F,onFocus:e=>{if(s)lj(D()[0]);else if(O?.preserveTabOrder&&O.portalNode)if(c&&(T.current=!0),s2(e,O.portalNode)){let e=s1(m);e?.focus()}else O.afterOutsideRef.current?.focus()}})]})}let cJ={...sd,...st},c0=C.forwardRef(function(e,t){let{render:n,className:r,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}=lN(),{side:y,align:v,floatingContext:b}=function(){let e=C.useContext(ct);if(void 0===e)throw Error("Base UI: MenuPositionerContext is missing. MenuPositioner parts must be placed within <Menu.Positioner>.");return e}();lA({open:i,ref:s,onComplete(){i&&p?.(!0)}});let{events:x}=C.useContext(az);C.useEffect(()=>{function e(e){l(!1,e.domEvent,e.reason)}return x.on("close",e),()=>{x.off("close",e)}},[x,l]);let w=sp("div",e,{state:C.useMemo(()=>({transitionStatus:c,side:y,align:v,open:i,nested:"menu"===h.type,instant:f}),[c,y,v,i,h.type,f]),ref:[t,s],customStyleHookMapping:cJ,props:[u,"starting"===c?iK:iY,a,{"data-rootownerid":g}]}),_=void 0===h.type||"context-menu"===h.type;return"menubar"===h.type&&"outside-press"!==m&&(_=!0),(0,S.jsx)(cQ,{context:b,modal:!1,disabled:!d,returnFocus:o||_,initialFocus:"menu"===h.type?-1:0,restoreFocus:!0,children:w})}),c1=C.createContext(void 0),c2=C.forwardRef(function(e,t){let{render:n,className:r,...o}=e,[a,i]=C.useState(void 0),l=C.useMemo(()=>({setLabelId:i}),[i]),s=sp("div",e,{ref:t,props:{role:"group","aria-labelledby":a,...o}});return(0,S.jsx)(c1.Provider,{value:l,children:s})});function c3(e){return aN(e,"base-ui")}let c4=C.forwardRef(function(e,t){let{className:n,render:r,id:o,...a}=e,i=c3(o),{setLabelId:l}=function(){let e=C.useContext(c1);if(void 0===e)throw Error("Base UI: MenuGroupRootContext is missing. Menu group parts must be used within <Menu.Group>.");return e}();return aL(()=>(l(i),()=>{l(void 0)}),[l,i]),sp("div",e,{ref:t,props:{id:i,role:"presentation",...a}})}),c5={type:"regular-item"},c6=C.memo(C.forwardRef(function(e,t){let{className:n,closeOnClick:r=!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:n=!1,highlighted:r,id:o,menuEvents:a,allowMouseUpTriggerRef:i,typingRef:l,nativeButton:s,itemMetadata:c}=e,u=C.useRef(null),{getButtonProps:d,buttonRef:f}=sy({disabled:n,focusableWhenDisabled:!0,native:s}),p=C.useCallback(e=>lX({id:o,role:"menuitem",tabIndex:r?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,r,d,l,t,a,i,c]),h=l5(u,f);return C.useMemo(()=>({getItemProps:p,itemRef:h}),[p,h])}({closeOnClick:r,disabled:o,highlighted:a,id:i,menuEvents:l,allowMouseUpTriggerRef:u,typingRef:d,nativeButton:f,itemMetadata:c5});return sp("div",e,{state:C.useMemo(()=>({disabled:o,highlighted:a}),[o,a]),ref:[m,t],props:[s,p,h]})})),c9=C.forwardRef(function(e,t){let{id:n,label:r,nativeButton:o=!1,...a}=e,i=C.useRef(null),l=sx({label:r}),s=l5(t,l.ref,i),{itemProps:c,activeIndex:u,allowMouseUpTriggerRef:d,typingRef:f}=lN(),p=c3(n),h=l.index===u,{events:m}=C.useContext(az);return(0,S.jsx)(c6,{...a,id:p,ref:s,highlighted:h,menuEvents:m,itemProps:c,allowMouseUpTriggerRef:d,typingRef:f,nativeButton:o})});var c8="__next_builtin__";function c7(e){return e.replace(new RegExp("^".concat(c8)),"").replace(new RegExp("".concat("@boundary","$")),"")}var ue="boundary:";function ut(e){return e.startsWith(ue)}function un(e){return e.replace(ue,"")}function ur(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function ua(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function ui(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ur(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ur(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ul=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}};function us(e){var t,n=e.nodeState,r=e.boundaries,o=n.pagePath,a=n.boundaryType,i=n.setBoundaryType,l=ui((0,C.useState)(!1),2),s=l[0],c=l[1],u=dw().shadowRoot,d=(0,C.useRef)(null),f=(0,C.useRef)(null);ns(f,d,s,function(){c(!1)},null==(t=d.current)?void 0:t.ownerDocument);var p=(Object.values(r).find(function(e){return null!==e})||"").split(".").pop()||"js",h=(0,C.useMemo)(function(){return Object.fromEntries(Object.entries(r).map(function(e){var t=ui(e,2),n=t[0],r=c7((t[1]||"").split("/").pop()||"".concat(n,".").concat(p));return[n,r]}))},[r,p]),m=(o||"").split("/").pop()||"",g=c7(a?"page.".concat(p):m||"page.".concat(p)),y=[{label:h.loading,value:"loading",icon:(0,S.jsx)(uc,{}),disabled:!r.loading},{label:h.error,value:"error",icon:(0,S.jsx)(uu,{}),disabled:!r.error},{label:h["not-found"],value:"not-found",icon:(0,S.jsx)(ud,{}),disabled:!r["not-found"]}],v={label:a?"Reset":g,value:"reset",icon:(0,S.jsx)(uf,{}),disabled:null===a},b=(0,C.useCallback)(function(e){var t=new URLSearchParams({file:e.filePath,isAppRelativePath:"1"});fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_launch-editor?").concat(t.toString())).catch(console.warn)},[]),x=(0,C.useCallback)(function(e){switch(e){case"not-found":case"loading":case"error":i(e);break;case"reset":i(null);break;case"open-editor":o&&b({filePath:o})}},[i,o,b]),w=(0,C.useMemo)(function(){return"layout"!==n.type&&"template"!==n.type&&Object.values(r).some(function(e){return null!==e})},[n.type,r]);return(0,S.jsxs)(l4,{delay:0,modal:!1,open:s,onOpenChange:c,children:[(0,S.jsx)(s_,{className:"segment-boundary-trigger","data-nextjs-dev-overlay-segment-boundary-trigger-button":!0,render:function(e){var t=ul(e.ref,d);return(0,S.jsx)(uh,ua(uo({},e),{ref:t}))},disabled:!w}),(0,S.jsx)(ce,{container:u,children:(0,S.jsx)(cF,{className:"segment-boundary-dropdown-positioner",side:"bottom",align:"center",sideOffset:6,arrowPadding:8,ref:f,children:(0,S.jsxs)(c0,{className:"segment-boundary-dropdown",children:[(0,S.jsxs)(c2,{children:[(0,S.jsx)(c4,{className:"segment-boundary-group-label",children:"Toggle Overrides"}),y.map(function(e){return(0,S.jsxs)(c9,{className:"segment-boundary-dropdown-item",onClick:function(){return x(e.value)},disabled:e.disabled,children:[e.icon,e.label]},e.value)})]}),(0,S.jsx)(c2,{children:(0,S.jsxs)(c9,{className:"segment-boundary-dropdown-item",onClick:function(){return x(v.value)},disabled:v.disabled,children:[v.icon,v.label]},v.value)})]})})})]})}function uc(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#clip0_2759_1866)",children:(0,S.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"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"clip0_2759_1866",children:(0,S.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(2 2)"})})})]}),n[1]=t):t=n[1],t}function uu(){var e,t,n=(0,O.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("g",{clipPath:"url(#clip0_2759_1881)",children:(0,S.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"})}),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e,(0,S.jsx)("defs",{children:(0,S.jsx)("clipPath",{id:"clip0_2759_1881",children:(0,S.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(2 2)"})})})]}),n[1]=t):t=n[1],t}function ud(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.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 uf(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.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 up(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",ua(uo({strokeLinejoin:"round",viewBox:"0 0 16 16"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function uh(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("span",{className:"segment-boundary-trigger-text",children:(0,S.jsx)(up,{className:"plus-icon"})}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("button",ua(uo({},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}let um=C.createContext(void 0);function ug(){let e=C.useContext(um);if(void 0===e)throw Error("Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.");return e}let uy=C.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,setTriggerElement:i,triggerProps:l}=ug();return sp("button",e,{state:C.useMemo(()=>({open:a}),[a]),ref:[t,i],props:[l,o],customStyleHookMapping:sc})}),uv=C.createContext(void 0);function ub(){let e=C.useContext(uv);if(void 0===e)throw Error("Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.");return e}let ux=C.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,arrowRef:i,side:l,align:s,arrowUncentered:c,arrowStyles:u}=ub();return sp("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:sd})}),uw={...sd,...st},u_=C.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,instantType:i,transitionStatus:l,popupProps:s,popupRef:c,onOpenChangeComplete:u}=ug(),{side:d,align:f}=ub();return lA({open:a,ref:c,onComplete(){a&&u?.(!0)}}),sp("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?iK:iY,o],customStyleHookMapping:uw})}),uj=C.createContext(void 0),uk=C.forwardRef(function(e,t){let{render:n,className:r,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=iQ,...g}=e,{open:y,setPositionerElement:v,mounted:b,floatingRootContext:x,trackCursorAxis:w,hoverable:_}=ug(),j=cA({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(uj);if(void 0===e)throw Error("Base UI: <Tooltip.Portal> is missing.");return e}(),collisionAvoidance:m}),k=C.useMemo(()=>{let e={};return y&&"both"!==w&&_||(e.pointerEvents="none"),{role:"presentation",hidden:!b,style:{...j.positionerStyles,...e}}},[y,w,_,b,j.positionerStyles]),O=C.useMemo(()=>({props:k,...j}),[k,j]),P=C.useMemo(()=>({open:y,side:O.side,align:O.align,anchorHidden:O.anchorHidden}),[y,O.side,O.align,O.anchorHidden]),E=C.useMemo(()=>({...P,arrowRef:O.arrowRef,arrowStyles:O.arrowStyles,arrowUncentered:O.arrowUncentered}),[P,O.arrowRef,O.arrowStyles,O.arrowUncentered]),T=sp("div",e,{state:P,props:[O.props,g],ref:[t,v],customStyleHookMapping:sd});return(0,S.jsx)(uv.Provider,{value:E,children:T})});function uS(e){let t=s9({root:e.root});return t&&ex.createPortal(e.children,t)}function uO(e){let{children:t,keepMounted:n=!1,container:r}=e,{mounted:o}=ug();return o||n?(0,S.jsx)(uj.Provider,{value:n,children:(0,S.jsx)(uS,{root:r,children:t})}):null}let uC=C.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new ax,currentIdRef:{current:null},currentContextRef:{current:null}});function uP(e){let{children:t,delay:n,timeoutMs:r=0}=e,o=C.useRef(n),a=C.useRef(n),i=C.useRef(null),l=C.useRef(null),s=aw();return(0,S.jsx)(uC.Provider,{value:C.useMemo(()=>({hasProvider:!0,delayRef:o,initialDelayRef:a,currentIdRef:i,timeoutMs:r,currentContextRef:l,timeout:s}),[r,s]),children:t})}let uE=C.createContext(void 0),uT=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,o=C.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),a=C.useMemo(()=>({open:t,close:n}),[t,n]);return(0,S.jsx)(uE.Provider,{value:o,children:(0,S.jsx)(uP,{delay:a,timeoutMs:r,children:e.children})})};function uN(e){return null!=e&&null!=e.clientX}function uI(e){let{disabled:t=!1,defaultOpen:n=!1,onOpenChange:r,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),[y,v]=C.useState(),b=C.useRef(null),[x,w]=aC({controlled:o,default:n,name:"Tooltip",state:"open"}),_=!t&&x;function j(e,t,n){let o="trigger-hover"===n,a=e&&"trigger-focus"===n,i=!e&&("trigger-press"===n||"escape-key"===n);function l(){r?.(e,t,n),w(e)}o?ex.flushSync(l):l(),a||i?v(a?"focus":"dismiss"):"trigger-hover"===n&&v(void 0)}let k=ak(j);x&&t&&j(!1,void 0,"disabled");let{mounted:O,setMounted:P,transitionStatus:E}=lL(_),T=ak(()=>{P(!1),u?.(!1)});lA({enabled:!c,open:_,ref:b,onComplete(){_||T()}}),C.useImperativeHandle(c,()=>({unmount:T}),[T]);let N=aZ({elements:{reference:p,floating:m},open:_,onOpenChange(e,t,n){k(e,t,lB(n))}}),I=C.useContext(uE),{delayRef:L,isInstantPhase:A,hasProvider:z}=function(e,t={}){let{open:n,onOpenChange:r,floatingId:o}=e,{enabled:a=!0}=t,{currentIdRef:i,delayRef:l,timeoutMs:s,initialDelayRef:c,currentContextRef:u,hasProvider:d,timeout:f}=C.useContext(uC),[p,h]=C.useState(!1);return aL(()=>{function e(){h(!1),u.current?.setIsInstantPhase(!1),i.current=null,u.current=null,l.current=c.current}if(a&&i.current&&!n&&i.current===o){if(h(!1),s)return f.start(s,e),()=>{f.clear()};e()}},[a,n,o,i,l,s,c,u,f]),aL(()=>{if(!a||!n)return;let e=u.current,t=i.current;u.current={onOpenChange:r,setIsInstantPhase:h},i.current=o,l.current={open:0,close:iR(c.current,"close")},null!==t&&t!==o?(f.clear(),h(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1)):(h(!1),e?.setIsInstantPhase(!1))},[a,n,o,r,i,l,s,c,u,f]),aL(()=>()=>{u.current=null},[u]),C.useMemo(()=>({hasProvider:d,delayRef:l,isInstantPhase:p}),[d,l,p])}(N),R=A?"delay":y,D=iM(N,{enabled:!t,mouseOnly:!0,move:!1,handleClose:l&&"both"!==s?iH():null,restMs(){let e=I?.delay,t="object"==typeof L.current?L.current.open:void 0,n=d;return z&&(n=0!==t?a??e??d:0),n},delay(){let e="object"==typeof L.current?L.current.close:void 0,t=f;return null==i&&z&&(t=e),{close:t}}}),M=iB(N,{enabled:!t}),Z=i1(N,{enabled:!t,referencePress:!0}),{getReferenceProps:U,getFloatingProps:F}=lC([D,M,Z,function(e,t={}){let{open:n,dataRef:r,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([]),y=ak((e,t)=>{if(!d.current&&(!r.current.openEvent||uN(r.current.openEvent))){var n,o;let l,c,u;i.setPositionReference((n=a,o={x:e,y:t,axis:s,dataRef:r,pointerType:p},l=null,c=null,u=!1,{contextElement:n||void 0,getBoundingClientRect(){let e=n?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},t="x"===o.axis||"both"===o.axis,r="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&&r&&(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=r&&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}}}))}}),v=ak(e=>{null==c&&null==u&&(n?f.current||g([]):y(e.clientX,e.clientY))}),b=iv(p)?o:n,x=C.useCallback(()=>{if(!b||!l||null!=c||null!=u)return;let e=aH(o);function t(n){iC(o,iP(n))?(e.removeEventListener("mousemove",t),f.current=null):y(n.clientX,n.clientY)}if(!r.current.openEvent||uN(r.current.openEvent)){e.addEventListener("mousemove",t);let n=()=>{e.removeEventListener("mousemove",t),f.current=null};return f.current=n,n}i.setPositionReference(a)},[b,l,c,u,o,r,i,a,y]);C.useEffect(()=>x(),[x,m]),C.useEffect(()=>{l&&!o&&(d.current=!1)},[l,o]),C.useEffect(()=>{!l&&n&&(d.current=!0)},[l,n]),aL(()=>{l&&(null!=c||null!=u)&&(d.current=!1,y(c,u))},[l,c,u,y]);let w=C.useMemo(()=>{function e(e){h(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:v,onMouseEnter:v}},[v]);return C.useMemo(()=>l?{reference:w}:{},[l,w])}(N,{enabled:!t&&"none"!==s,axis:"none"===s?void 0:s})]),H=C.useMemo(()=>({open:_,setOpen:k,mounted:O,setMounted:P,setTriggerElement:h,positionerElement:m,setPositionerElement:g,popupRef:b,triggerProps:U(),popupProps:F(),floatingRootContext:N,instantType:R,transitionStatus:E,onOpenChangeComplete:u}),[_,k,O,P,h,m,g,b,U,F,N,R,E,u]),V=C.useMemo(()=>({...H,delay:d,closeDelay:f,trackCursorAxis:s,hoverable:l}),[H,d,f,s,l]);return(0,S.jsx)(um.Provider,{value:V,children:e.children})}var uL=__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"),uA={};uA.styleTagTransform=x(),uA.setAttributes=g(),uA.insert=h(),uA.domAPI=f(),uA.insertStyleElement=v(),u()(uL.A,uA),uL.A&&uL.A.locals&&uL.A.locals;var uz=(0,C.forwardRef)(function(e,t){var n,r,o,a,i,l,s,c,u,d,f,p,h=(0,O.c)(35),m=e.className,g=e.children,y=e.title,v=e.direction,b=e.arrowSize,x=e.offset,w=void 0===v?"top":v,_=void 0===b?6:b,j=dw().shadowRoot;if(!y)return g;h[0]!==g?(n=function(e){var t,n;return(0,S.jsx)("span",(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}({},e),n=n={children:g},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))},h[0]=g,h[1]=n):n=h[1],h[2]!==t||h[3]!==n?(r=(0,S.jsx)(uy,{ref:t,render:n}),h[2]=t,h[3]=n,h[4]=r):r=h[4];var k=(void 0===x?8:x)+_,C="".concat(_,"px"),P="".concat(_,"px");h[5]!==C||h[6]!==P?(o={"--anchor-width":C,"--anchor-height":P},h[5]=C,h[6]=P,h[7]=o):o=h[7];var E=o;h[8]!==m?(a=e9("tooltip",m),h[8]=m,h[9]=a):a=h[9];var T="".concat(_,"px");h[10]!==T?(i={"--arrow-size":T},h[10]=T,h[11]=i):i=h[11];var N=i,I="tooltip-arrow--".concat(w);h[12]!==I?(l=e9("tooltip-arrow",I),h[12]=I,h[13]=l):l=h[13];var L="".concat(_,"px");h[14]!==L?(s={"--arrow-size":L},h[14]=L,h[15]=s):s=h[15];var A=s;return h[16]!==l||h[17]!==A?(c=(0,S.jsx)(ux,{className:l,style:A}),h[16]=l,h[17]=A,h[18]=c):c=h[18],h[19]!==a||h[20]!==N||h[21]!==c||h[22]!==y?(u=(0,S.jsxs)(u_,{className:a,style:N,children:[y,c]}),h[19]=a,h[20]=N,h[21]=c,h[22]=y,h[23]=u):u=h[23],h[24]!==w||h[25]!==E||h[26]!==u||h[27]!==k?(d=(0,S.jsx)(uk,{side:w,sideOffset:k,className:"tooltip-positioner",style:E,children:u}),h[24]=w,h[25]=E,h[26]=u,h[27]=k,h[28]=d):d=h[28],h[29]!==j||h[30]!==d?(f=(0,S.jsx)(uO,{container:j,children:d}),h[29]=j,h[30]=d,h[31]=f):f=h[31],h[32]!==f||h[33]!==r?(p=(0,S.jsx)(uT,{children:(0,S.jsxs)(uI,{delay:400,children:[r,f]})}),h[32]=f,h[33]=r,h[34]=p):p=h[34],p});function uR(e){var t,n,r=(0,O.c)(3),o=e.possibleExtension,a=e.missingGlobalError?"No global-error.".concat(o," found: Add one to ensure users see a helpful message when an unexpected error occurs."):null;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(uq,{}),r[0]=t):t=r[0],r[1]!==a?(n=(0,S.jsx)("span",{className:"segment-explorer-suggestions",children:(0,S.jsx)(uz,{className:"segment-explorer-suggestions-tooltip",title:a,children:t})}),r[1]=a,r[2]=n):n=r[2],n}function uD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function uM(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var uZ=function(e){var t,n;return!!(null==(t=e.value)?void 0:t.type)&&!!(null==(n=e.value)?void 0:n.pagePath)};function uU(e){var t,n,r=(0,O.c)(3),o=e.page;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)(uW,{}),r[0]=t):t=r[0],r[1]!==o?(n=(0,S.jsxs)("div",{className:"segment-explorer-page-route-bar",children:[t,(0,S.jsx)("span",{className:"segment-explorer-page-route-bar-path",children:o})]}),r[1]=o,r[2]=n):n=r[2],n}function uF(e){var t,n,r,o=(0,O.c)(9),a=e.activeBoundariesCount,i=e.onGlobalReset,l=a>0,s="segment-explorer-footer-button ".concat(l?"":"segment-explorer-footer-button--disabled"),c=l?i:void 0,u=!l;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("span",{className:"segment-explorer-footer-text",children:"Clear Segment Overrides"}),o[0]=t):t=o[0],o[1]!==a||o[2]!==l?(n=l&&(0,S.jsx)("span",{className:"segment-explorer-footer-badge",children:a}),o[1]=a,o[2]=l,o[3]=n):n=o[3],o[4]!==s||o[5]!==c||o[6]!==u||o[7]!==n?(r=(0,S.jsx)("div",{className:"segment-explorer-footer",children:(0,S.jsxs)("button",{className:s,onClick:c,disabled:u,type:"button",children:[t,n]})}),o[4]=s,o[5]=c,o[6]=u,o[7]=n,o[8]=r):r=o[8],r}function uH(e){var t,n,r,o,a,i=(0,O.c)(15),l=e.type,s=e.isBuiltin,c=e.isOverridden,u=e.filePath,d=e.fileName,f="segment-explorer-file-label--".concat(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=e9("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?(n=function(){var e;e=new URLSearchParams({file:{filePath:u}.filePath,isAppRelativePath:"1"}),fetch("".concat(process.env.__NEXT_ROUTER_BASEPATH||"","/__nextjs_launch-editor?").concat(e.toString()))},i[4]=u,i[5]=n):n=i[5],i[6]!==d?(r=(0,S.jsx)("span",{className:"segment-explorer-file-label-text",children:d}),i[6]=d,i[7]=r):r=i[7],i[8]!==s?(o=s?(0,S.jsx)(uq,{}):(0,S.jsx)(uK,{className:"code-icon"}),i[8]=s,i[9]=o):o=i[9],i[10]!==t||i[11]!==n||i[12]!==r||i[13]!==o?(a=(0,S.jsxs)("span",{className:t,onClick:n,children:[r,o]}),i[10]=t,i[11]=n,i[12]=r,i[13]=o,i[14]=a):a=i[14],a}function uV(e){var t,n,r,o,a,i,l,s,c=(0,O.c)(17),u=e.page,d=(0,C.useSyncExternalStore)(al,as,ac);c[0]!==d?(t=function e(t){var n,r=0;return(null==(n=t.value)?void 0:n.setBoundaryType)&&null!==t.value.boundaryType&&!ut(t.value.type)&&r++,Object.values(t.children).forEach(function(t){t&&(r+=e(t))}),r}(d),c[0]=d,c[1]=t):t=c[1];var f=t;c[2]!==d?(n=function(){!function e(t){var n;(null==(n=t.value)?void 0:n.setBoundaryType)&&t.value.setBoundaryType(null),Object.values(t.children).forEach(function(t){t&&e(t)})}(d)},c[2]=d,c[3]=n):n=c[3];var p=n;return c[4]===Symbol.for("react.memo_cache_sentinel")?(r={display:"flex",flexDirection:"column",height:"100%"},c[4]=r):r=c[4],c[5]!==u?(o=(0,S.jsx)(uU,{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,S.jsx)("div",{className:"segment-explorer-content","data-nextjs-devtool-segment-explorer":!0,style:a,children:(0,S.jsx)(u$,{node:d,level:0,segment:""})}),c[8]=d,c[9]=i):i=c[9],c[10]!==f||c[11]!==p?(l=(0,S.jsx)(uF,{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,S.jsxs)("div",{"data-nextjs-devtools-panel-segments-explorer":!0,style:r,children:[o,i,l]}),c[13]=o,c[14]=i,c[15]=l,c[16]=s):s=c[16],s}var uB="global-error";function u$(e){var t=e.segment,n=e.node,r=e.level,o=(0,C.useMemo)(function(){return Object.keys(n.children)},[n.children]),a=(0,C.useMemo)(function(){var e=[];return o.forEach(function(t){var r=n.children[t];if(r&&r.value){var o=un(r.value.type),a=o===uB;(a&&!r.value.pagePath.startsWith(c8)||!a&&ut(r.value.type))&&e.push(o)}}),0===r&&!e.includes(uB)},[n.children,o,r]),i=o.sort(function(e,t){var r=e.includes("."),o=t.includes(".");if(r&&!o)return -1;if(!r&&o)return 1;if(r&&o){var a,i,l,s,c,u,d,f,p=null==(i=n.children[e])||null==(a=i.value)?void 0:a.type,h=null==(s=n.children[t])||null==(l=s.value)?void 0:l.type,m=function(e){return e?"layout"===e?1:"template"===e?2:"page"===e?3:ut(e)?4:5:5},g=m(p),y=m(h);if(g!==y)return g-y;var v=(null==(u=n.children[e])||null==(c=u.value)?void 0:c.pagePath)||"",b=(null==(f=n.children[t])||null==(d=f.value)?void 0:d.pagePath)||"";return v.localeCompare(b)}return e.localeCompare(t)}),l=0!==r||t?t:"app",s=[],c=[],u=!0,d=!1,f=void 0;try{for(var p,h=i[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var m=p.value,g=n.children[m];if(g){if(uZ(g)){c.push(m);continue}s.push(m)}}}catch(e){d=!0,f=e}finally{try{u||null==h.return||h.return()}finally{if(d)throw f}}for(var y=c7(c[0]||"").split(".").pop()||"js",v=null,b=i.length-1;b>=0;b--){var x=n.children[i[b]];if(x&&x.value){var w=ut(x.value.type);if(!v&&!w){v=x;break}}}var _=null,j=!0,k=!1,O=void 0;try{for(var P,E=i[Symbol.iterator]();!(j=(P=E.next()).done);j=!0){var T=P.value,N=n.children[T];if(N&&N.value&&ut(N.value.type)){_=N;break}}}catch(e){k=!0,O=e}finally{try{j||null==E.return||E.return()}finally{if(k)throw O}}v=v||_;var I=c.length>0,L={"not-found":null,loading:null,error:null,"global-error":null};return c.forEach(function(e){var t=n.children[e];if(t&&t.value&&ut(t.value.type)){var r=un(t.value.type);r in L&&(L[r]=t.value.pagePath||null)}}),(0,S.jsxs)(S.Fragment,{children:[I&&(0,S.jsx)("div",{className:"segment-explorer-item","data-nextjs-devtool-segment-explorer-segment":t+"-"+r,children:(0,S.jsx)("div",{className:"segment-explorer-item-row",style:uD({},{paddingLeft:"".concat((r+1)*8,"px")}),children:(0,S.jsx)("div",{className:"segment-explorer-item-row-main",children:(0,S.jsxs)("div",{className:"segment-explorer-filename",children:[l&&(0,S.jsxs)("span",{className:"segment-explorer-filename--path",children:[l,(0,S.jsx)("small",{children:"/"})]}),a&&(0,S.jsx)(uR,{possibleExtension:y,missingGlobalError:a}),c.length>0&&(0,S.jsx)("span",{className:"segment-explorer-files",children:c.map(function(e){var t=n.children[e];if(!t||!t.value||ut(t.value.type))return null;var r=t.value.pagePath,o=r.split("/").pop()||"",a=r.startsWith(c8),i=c7(o),l=a?"The default Next.js ".concat(t.value.type," is being shown. You can customize this page by adding your own ").concat(i," file to the app/ directory."):null,s=null!==t.value.boundaryType;return(0,S.jsx)(uz,{className:"segment-explorer-file-label-tooltip--"+(a?"lg":"sm"),direction:a?"right":"top",title:l,offset:12,children:(0,S.jsx)(uH,{type:t.value.type,isBuiltin:a,isOverridden:s,filePath:r,fileName:i})},e)})}),v&&v.value&&(0,S.jsx)(us,{nodeState:v.value,boundaries:L})]})})})}),s.map(function(e){var o=n.children[e];if(!o)return null;var a=I?e:t+" / "+e;return(0,S.jsx)(u$,{segment:a,node:o,level:I?r+1:r},e)})]})}function uq(e){var t,n,r,o=(0,O.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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)"}),n=(0,S.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]=n):(t=o[0],n=o[1]),o[2]!==e?(r=(0,S.jsxs)("svg",uM(uD({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[t,n]})),o[2]=e,o[3]=r):r=o[3],r}function uW(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.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,S.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 uK(e){var t,n,r=(0,O.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.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"}),r[0]=t):t=r[0],r[1]!==e?(n=(0,S.jsx)("svg",uM(uD({width:"12",height:"12",strokeLinejoin:"round",viewBox:"0 0 16 16",fill:"currentColor"},e),{children:t})),r[1]=e,r[2]=n):n=r[2],n}function uY(){var e,t,n=(e=["\n        .dev-tools-info-close-button:focus-visible {\n          outline: var(--focus-ring);\n        }\n      "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return uY=function(){return n},n}function uX(e){var t,n,r,o,a,i,l,s,c,u,d,f=(0,O.c)(18),p=e.title,h=e.children,m=e.ref,g=r3().setPanel,y=(0,C.useRef)(null);return f[0]===Symbol.for("react.memo_cache_sentinel")?(t=function(){var e;null==(e=y.current)||e.focus()},n=[],f[0]=t,f[1]=n):(t=f[0],n=f[1]),(0,C.useLayoutEffect)(t,n),f[2]===Symbol.for("react.memo_cache_sentinel")?(r={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]=r):r=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,S.jsx)("h3",{style:o,children:p}),f[4]=p,f[5]=a):a=f[5],f[6]!==g?(i=function(){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,S.jsx)(uG,{}),f[8]=l,f[9]=s):(l=f[8],s=f[9]),f[10]!==i?(c=(0,S.jsx)("button",{ref:y,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,S.jsx)("style",{children:eg(uY())}),f[12]=u):u=f[12],f[13]!==h||f[14]!==m||f[15]!==a||f[16]!==c?(d=(0,S.jsxs)("div",{style:r,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 uG(e){var t,n,r,o=(0,O.c)(4),a=e.size,i=void 0===a?22:a;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,S.jsx)("path",{d:"M18 6 6 18"}),n=(0,S.jsx)("path",{d:"m6 6 12 12"}),o[0]=t,o[1]=n):(t=o[0],n=o[1]),o[2]!==i?(r=(0,S.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,n]}),o[2]=i,o[3]=r):r=o[3],r}function uQ(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:(0,S.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 uJ(){var e,t=(0,O.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,S.jsx)("circle",{cx:"10",cy:"10",r:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32 12",opacity:"0.8",children:(0,S.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 u0=__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"),u1={};u1.styleTagTransform=x(),u1.setAttributes=g(),u1.insert=h(),u1.domAPI=f(),u1.insertStyleElement=v(),u()(u0.A,u1),u0.A&&u0.A.locals&&u0.A.locals;var u2=function(){var e,t,n,r,o,a,i,l,s,c,u=(0,O.c)(25),d=r3(),f=d.setPanel,p=d.setSelectedIndex,h=dw(),m=h.state,g=h.dispatch,y=da().totalErrorCount,v="app"===m.routerType;return u[0]!==g||u[1]!==f||u[2]!==p||u[3]!==m.isErrorOverlayOpen||u[4]!==y?(e=y>0&&{title:"".concat(y," ").concat(1===y?"issue":"issues"," found. Click to view details in the dev overlay."),label:"Issues",value:(0,S.jsx)(oM,{children:y}),onClick:function(){if(m.isErrorOverlayOpen){g({type:Y}),f(null);return}f(null),p(-1),y>0&&g({type:K})}},u[0]=g,u[1]=f,u[2]=p,u[3]=m.isErrorOverlayOpen,u[4]=y,u[5]=e):e=u[5],u[6]!==f||u[7]!==m.staticIndicator?(t="disabled"===m.staticIndicator?void 0:"pending"===m.staticIndicator?{title:"Loading...",label:"Route",value:(0,S.jsx)(uJ,{})}:{title:"Current route is ".concat(m.staticIndicator,"."),label:"Route",value:"static"===m.staticIndicator?"Static":"Dynamic",onClick:function(){return f("route-type")},attributes:{"data-nextjs-route-type":m.staticIndicator}},u[6]=f,u[7]=m.staticIndicator,u[8]=t):t=u[8],u[9]===Symbol.for("react.memo_cache_sentinel")?(n=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,S.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"})},r=!!process.env.__NEXT_CACHE_COMPONENTS&&{title:"Cache Components is enabled.",label:"Cache Components",value:"Enabled"},u[9]=n,u[10]=r):(n=u[9],r=u[10]),u[11]!==v||u[12]!==f?(o=v&&{label:"Route Info",value:(0,S.jsx)(oZ,{}),onClick:function(){return f("segment-explorer")},attributes:{"data-segment-explorer":!0}},u[11]=v,u[12]=f,u[13]=o):o=u[13],u[14]===Symbol.for("react.memo_cache_sentinel")?(a=(0,S.jsx)(uQ,{}),u[14]=a):a=u[14],u[15]!==f?(i=function(){return f("preferences")},u[15]=f,u[16]=i):i=u[16],u[17]===Symbol.for("react.memo_cache_sentinel")?(l={"data-preferences":!0},u[17]=l):l=u[17],u[18]!==i?(s={label:"Preferences",value:a,onClick:i,footer:!0,attributes:l},u[18]=i,u[19]=s):s=u[19],u[20]!==e||u[21]!==t||u[22]!==o||u[23]!==s?(c=(0,S.jsx)(oR,{items:[e,t,n,r,o,s]}),u[20]=e,u[21]=t,u[22]=o,u[23]=s,u[24]=c):c=u[24],c},u3=function(){var e,t=(0,O.c)(4),n=dw(),r=n.state,o=n.dispatch,a=n.shadowRoot;return t[0]!==o||t[1]!==a||t[2]!==r.disableDevIndicator?(e=function(){o({type:W,disabled:!r.disableDevIndicator});var e=a.getElementById("panel-route"),t=a.getElementById("data-devtools-indicator");if(e&&e.firstElementChild){var n=e.firstElementChild,i="none"===n.style.display;n.style.display=i?"":"none"}if(t){var l="none"===t.style.display;t.style.display=l?"":"none"}},t[0]=o,t[1]=a,t[2]=r.disableDevIndicator,t[3]=e):e=t[3],e},u4=function(){var e,t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y=(0,O.c)(22),v=dw().state,b=r3().triggerRef,x=u3(),w="app"===v.routerType;y[0]!==v.hideShortcut||y[1]!==x?(s=v.hideShortcut?(e={},t=v.hideShortcut,n=x,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e):{},y[0]=v.hideShortcut,y[1]=x,y[2]=s):s=y[2],r=s,o=b,(l=(0,O.c)(4))[0]!==o||l[1]!==r?(a=function(){var e=function(e){if(!((n=nl((t=o).current))&&("true"===n.contentEditable||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SELECT"===n.tagName||"true"===n.dataset["shortcut-recorder"])&&!n.hasAttribute("readonly"))){var t,n,a=[];e.metaKey&&a.push("Meta"),e.ctrlKey&&a.push("Control"),e.altKey&&a.push("Alt"),e.shiftKey&&a.push("Shift"),"Meta"!==e.key&&"Control"!==e.key&&"Alt"!==e.key&&"Shift"!==e.key&&a.push(e.code);var i=a.join("+");r[i]&&(e.preventDefault(),r[i]())}};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}},i=[o,r],l[0]=o,l[1]=r,l[2]=a,l[3]=i):(a=l[2],i=l[3]),(0,C.useEffect)(a,i),y[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,S.jsx)(u7,{name:"panel-selector",children:(0,S.jsx)(u2,{})}),y[3]=c):c=y[3];var _=500/v.scale;return y[4]!==_?(u={kind:"fixed",height:_,width:512},y[4]=_,y[5]=u):u=y[5],y[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,S.jsx)(uX,{title:"Preferences"}),f=(0,S.jsx)(u6,{}),y[6]=d,y[7]=f):(d=y[6],f=y[7]),y[8]!==u?(p=(0,S.jsx)(u7,{name:"preferences",children:(0,S.jsx)(o5,{sharePanelSizeGlobally:!1,sizeConfig:u,closeOnClickOutside:!0,header:d,children:f})}),y[8]=u,y[9]=p):p=y[9],y[10]!==v.routerType||y[11]!==v.scale||y[12]!==v.staticIndicator?(h="disabled"!==v.staticIndicator&&"pending"!==v.staticIndicator&&(0,S.jsx)(u7,{name:"route-type",children:(0,S.jsx)(o5,{sharePanelSizeGlobally:!1,sizeConfig:{kind:"fixed",height:"static"===v.staticIndicator?300/v.scale:325/v.scale,width:400/v.scale},closeOnClickOutside:!0,header:(0,S.jsx)(uX,{title:"".concat("static"===v.staticIndicator?"Static":"Dynamic"," Route")}),children:(0,S.jsxs)("div",{className:"panel-content",children:[(0,S.jsx)(an,{routerType:v.routerType,isStaticRoute:"static"===v.staticIndicator}),(0,S.jsx)(u5,{href:at[v.routerType][v.staticIndicator]})]})},v.staticIndicator)}),y[10]=v.routerType,y[11]=v.scale,y[12]=v.staticIndicator,y[13]=h):h=y[13],y[14]!==w||y[15]!==v.page||y[16]!==v.scale?(m=w&&(0,S.jsx)(u7,{name:"segment-explorer",children:(0,S.jsx)(o5,{sharePanelSizeGlobally:!1,sharePanelPositionGlobally:!1,draggable:!0,sizeConfig:{kind:"resizable",maxHeight:"90vh",maxWidth:"90vw",minHeight:200/v.scale,minWidth:250/v.scale,initialSize:{height:375/v.scale,width:400/v.scale}},header:(0,S.jsx)(uX,{title:"Route Info"}),children:(0,S.jsx)(uV,{page:v.page})})}),y[14]=w,y[15]=v.page,y[16]=v.scale,y[17]=m):m=y[17],y[18]!==p||y[19]!==h||y[20]!==m?(g=(0,S.jsxs)(S.Fragment,{children:[c,p,h,m]}),y[18]=p,y[19]=h,y[20]=m,y[21]=g):g=y[21],g},u5=function(e){var t,n=(0,O.c)(2),r=e.href;return n[0]!==r?(t=(0,S.jsx)("div",{className:"dev-tools-info-button-container",children:(0,S.jsx)("a",{className:"dev-tools-info-learn-more-button",href:r,target:"_blank",rel:"noreferrer noopener",children:"Learn More"})}),n[0]=r,n[1]=t):t=n[1],t},u6=function(){var e,t,n,r,o=(0,O.c)(17),a=dw(),i=a.dispatch,l=a.state,s=r3(),c=s.setPanel,u=s.setSelectedIndex,d=oC();return o[0]!==i?(e=function(e){i({type:er,scale:e})},o[0]=i,o[1]=e):e=o[1],o[2]!==i||o[3]!==d?(t=function(e){i({type:et,devToolsPosition:e}),d(e)},o[2]=i,o[3]=d,o[4]=t):t=o[4],o[5]!==i||o[6]!==c||o[7]!==u?(n=function(){i({type:W,disabled:!0}),u(-1),c(null),fetch("/__nextjs_disable_dev_indicator",{method:"POST"})},o[5]=i,o[6]=c,o[7]=u,o[8]=n):n=o[8],o[9]!==l.devToolsPosition||o[10]!==l.hideShortcut||o[11]!==l.scale||o[12]!==l.theme||o[13]!==e||o[14]!==t||o[15]!==n?(r=(0,S.jsx)("div",{className:"user-preferences-wrapper",children:(0,S.jsx)(rC,{theme:l.theme,position:l.devToolsPosition,scale:l.scale,setScale:e,setPosition:t,hideShortcut:l.hideShortcut,setHideShortcut:de,hide:n})}),o[9]=l.devToolsPosition,o[10]=l.hideShortcut,o[11]=l.scale,o[12]=l.theme,o[13]=e,o[14]=t,o[15]=n,o[16]=r):r=o[16],r},u9=function(){return(0,C.useContext)(u8)},u8=(0,C.createContext)(null);function u7(e){var t,n,r,o,a,i=(0,O.c)(12),l=e.children,s=e.name,c=r3().panel;i[0]===Symbol.for("react.memo_cache_sentinel")?(t={enterDelay:0,exitDelay:200},i[0]=t):t=i[0];var u=rD(s===c,t),d=u.mounted,f=u.rendered;if(!d)return null;i[1]!==d||i[2]!==s?(n={name:s,mounted:d},i[1]=d,i[2]=s,i[3]=n):n=i[3];var p=+!!f;i[4]!==p?(r={"--panel-opacity":p,"--panel-transition":"opacity ".concat(200,"ms ").concat(nc)},i[4]=p,i[5]=r):r=i[5];var h=r;return i[6]!==l||i[7]!==h?(o=(0,S.jsx)("div",{id:"panel-route",className:"panel-route",style:h,children:l}),i[6]=l,i[7]=h,i[8]=o):o=i[8],i[9]!==n||i[10]!==o?(a=(0,S.jsx)(u8,{value:n,children:o}),i[9]=n,i[10]=o,i[11]=a):a=i[11],a}function de(e){rk({hideShortcut:e})}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dt(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var dr=(0,C.createContext)(null),da=function(){return(0,C.useContext)(dr)};function di(){var e,t,n,r,o=(0,O.c)(11),a=dn((0,C.useState)(null),2),i=a[0],l=a[1],s=dn((0,C.useState)(-1),2),c=s[0],u=s[1],d=dw(),f=d.state,p=d.dispatch,h=d.getSquashedHydrationErrorDetails,m=(0,C.useRef)(null);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,S.jsx)(rK,{}),t=(0,S.jsx)(rA,{}),o[0]=e,o[1]=t):(e=o[0],t=o[1]),o[2]!==p||o[3]!==h||o[4]!==i||o[5]!==c||o[6]!==f?(n=function(e){var t=e.runtimeErrors,n=e.totalErrorCount;return(0,S.jsx)(S.Fragment,{children:f.showIndicator?(0,S.jsx)(S.Fragment,{children:(0,S.jsx)(dr,{value:{runtimeErrors:t,totalErrorCount:n},children:(0,S.jsxs)(r2,{value:{panel:i,setPanel:l,triggerRef:m,selectedIndex:c,setSelectedIndex:u},children:[(0,S.jsx)(rU,{state:f,dispatch:p,getSquashedHydrationErrorDetails:h,runtimeErrors:t,errorCount:n}),(0,S.jsx)(u4,{}),(0,S.jsx)(oO,{})]})})}):null})},o[2]=p,o[3]=h,o[4]=i,o[5]=c,o[6]=f,o[7]=n):n=o[7],o[8]!==f||o[9]!==n?(r=(0,S.jsxs)(ew,{children:[e,t,(0,S.jsx)(r$,{state:f,isAppDir:!0,children:n})]}),o[8]=f,o[9]=n,o[10]=r):r=o[10],r}function dl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ds(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o,a;r=e,o=t,a=n[t],o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a})}return e}function dc(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function du(e){return function(e){if(Array.isArray(e))return dl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||dd(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dd(e,t){if(e){if("string"==typeof e)return dl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dl(e,t)}}var df=null,dp=[],dh=null;function dm(){return dh?dc(ds({},dh),{errors:dh.errors.map(function(e){return dc(ds({},e),{error:e.error?{name:e.error.name,message:e.error.message,stack:e.error.stack}:null})})}):null}function dg(){return dh?{segmentTrie:ap(),routerType:dh.routerType}:null}function dy(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];df?e.apply(void 0,[df].concat(du(n))):dp.push(function(t){e.apply(void 0,[t].concat(du(n)))})}}var dv={onBuildOk:dy(function(e){e({type:M})}),onBuildError:dy(function(e,t){e({type:Z,message:t})}),onBeforeRefresh:dy(function(e){e({type:U})}),onRefresh:dy(function(e){e({type:F})}),onVersionInfo:dy(function(e,t){e({type:H,versionInfo:t})}),onCacheIndicator:dy(function(e,t){e({type:R,cacheIndicator:t})}),onStaticIndicator:dy(function(e,t){e({type:D,staticIndicator:t})}),onDebugInfo:dy(function(e,t){e({type:$,debugInfo:t})}),onDevIndicator:dy(function(e,t){e({type:q,devIndicator:t})}),onDevToolsConfig:dy(function(e,t){e({type:eo,devToolsConfig:t})}),onUnhandledError:dy(function(e,t){e({type:V,reason:t})}),onUnhandledRejection:dy(function(e,t){e({type:B,reason:t})}),openErrorOverlay:dy(function(e){e({type:K})}),closeErrorOverlay:dy(function(e){e({type:Y})}),toggleErrorOverlay:dy(function(e){e({type:X})}),buildingIndicatorHide:dy(function(e){e({type:Q})}),buildingIndicatorShow:dy(function(e){e({type:G})}),renderingIndicatorHide:dy(function(e){e({type:ee})}),renderingIndicatorShow:dy(function(e){e({type:J})}),segmentExplorerNodeAdd:dy(function(e,t){ad(t)}),segmentExplorerNodeRemove:dy(function(e,t){af(t)}),segmentExplorerUpdateRouteState:dy(function(e,t){e({type:ec,page:t})})};function db(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,g,y,v,b,x,w,_,j=(0,O.c)(22),k=e.enableCacheIndicator,P=e.getOwnerStack,z=e.getSquashedHydrationErrorDetails,ea=e.isRecoverableError,ei=e.routerType,el=e.shadowRoot,es=(t=ei,n=P,r=ea,o=k,(u=(0,O.c)(8))[0]!==n||u[1]!==r?(l=function(e,t,o){var a,i=n(o),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:process.env.__NEXT_DIST_DIR;return e?(e=e.split("\n").map(function(e){return e.includes("(eval ")&&(e=e.replace(/eval code/g,"eval").replace(/\(eval at [^()]* \(/,"(file://").replace(/\),.*$/g,")")),e}).join("\n"),(0,E.parse)(e).map(function(e){try{var n=new URL(e.file),r=T.exec(n.pathname);if(r){var o,a=null==t||null==(o=t.replace(/\\/g,"/"))?void 0:o.replace(/\/$/,"");a&&(e.file="file://"+a.concat(r.pop())+n.search)}}catch(e){}return{file:e.file,line1:e.lineNumber,column1:e.column,methodName:e.methodName,arguments:e.arguments}})):[]}((o.stack||"")+(i||"")),s={id:t,error:o,frames:l,type:r(o)?"recoverable":(a=o)&&"NEXT_CONSOLE_ERROR"===a[N]?"console":"runtime"},c=e.filter(function(e){return""+e.error!=""+s.error||e.error.stack!==s.error.stack&&ed(e.error.stack)!==ed(s.error.stack)||n(e.error)!==n(s.error)});return c.length===e.length?(c.push(s),c):e},u[0]=n,u[1]=r,u[2]=l):l=u[2],d=l,(u[3]!==d?(s=function(e,t){switch(t.type){case $:return A(L({},e),{debugInfo:t.debugInfo});case R:return A(L({},e),{cacheIndicator:t.cacheIndicator});case D:return A(L({},e),{staticIndicator:t.staticIndicator});case M:return A(L({},e),{buildError:null});case Z:return A(L({},e),{buildError:t.message});case U:return A(L({},e),{refreshState:{type:"pending",errors:[]}});case F:return A(L({},e),{buildError:null,errors:"pending"===e.refreshState.type?e.refreshState.errors:[],refreshState:{type:"idle"}});case V:case B:switch(e.refreshState.type){case"idle":return A(L({},e),{nextId:e.nextId+1,errors:d(e.errors,e.nextId,t.reason)});case"pending":return A(L({},e),{nextId:e.nextId+1,refreshState:A(L({},e.refreshState),{errors:d(e.errors,e.nextId,t.reason)})});default:return e}case H:return A(L({},e),{versionInfo:t.versionInfo});case W:return A(L({},e),{disableDevIndicator:t.disabled});case q:return A(L({},e),{showIndicator:!0,disableDevIndicator:ef||!!t.devIndicator.disabledUntil});case K:return A(L({},e),{isErrorOverlayOpen:!0});case Y:return A(L({},e),{isErrorOverlayOpen:!1});case X:return A(L({},e),{isErrorOverlayOpen:!e.isErrorOverlayOpen});case G:return A(L({},e),{buildingIndicator:!0});case Q:return A(L({},e),{buildingIndicator:!1});case J:return A(L({},e),{renderingIndicator:!0});case ee:return A(L({},e),{renderingIndicator:!1});case et:return A(L({},e),{devToolsPosition:t.devToolsPosition});case en:return A(L({},e),{devToolsPanelPosition:A(L({},e.devToolsPanelPosition),I({},t.key,t.devToolsPanelPosition))});case er:return A(L({},e),{scale:t.scale});case ec:return A(L({},e),{page:t.page});case eo:var n=t.devToolsConfig,r=n.theme,o=n.disableDevIndicator,a=n.devToolsPosition,i=n.devToolsPanelPosition,l=n.devToolsPanelSize,s=n.scale,c=n.hideShortcut;return A(L({},e),{theme:null!=r?r:e.theme,disableDevIndicator:null!=o?o:e.disableDevIndicator,devToolsPosition:null!=a?a:e.devToolsPosition,devToolsPanelPosition:null!=i?i:e.devToolsPanelPosition,scale:null!=s?s:e.scale,devToolsPanelSize:null!=l?l:e.devToolsPanelSize,hideShortcut:void 0!==c?c:e.hideShortcut});default:return e}},u[3]=d,u[4]=s):s=u[4],u[5]!==o||u[6]!==t)?(a=t,i=o,c=A(L({},eh),{isErrorOverlayOpen:"pages"===a,routerType:a,cacheIndicator:i?"ready":"disabled"}),u[5]=o,u[6]=t,u[7]=c):c=u[7],f=(0,C.useReducer)(s,c),function(e){if(Array.isArray(e))return e}(f)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(f,2)||dd(f,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),eu=es[0],ep=es[1];return j[0]!==ei||j[1]!==eu?(p=function(){dh=dc(ds({},eu),{routerType:ei})},h=[eu,ei],j[0]=ei,j[1]=eu,j[2]=p,j[3]=h):(p=j[2],h=j[3]),(0,C.useEffect)(p,h),j[4]!==el.host||j[5]!==eu.theme?(m=function(){var e=el.host;"dark"===eu.theme?(e.classList.add("dark"),e.classList.remove("light")):"light"===eu.theme?(e.classList.add("light"),e.classList.remove("dark")):(e.classList.remove("dark"),e.classList.remove("light"))},j[4]=el.host,j[5]=eu.theme,j[6]=m):m=j[6],j[7]!==el||j[8]!==eu.theme?(g=[el,eu.theme],j[7]=el,j[8]=eu.theme,j[9]=g):g=j[9],(0,C.useLayoutEffect)(m,g),j[10]!==ep?(y=function(){df=ep;var e=setTimeout(function(){!function(e){try{var t=!0,n=!1,r=void 0;try{for(var o,a=dp[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)(0,o.value)(e)}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}}finally{dp.length=0}}(ep)});return function(){df=null,clearTimeout(e)}},j[10]=ep,j[11]=y):y=j[11],j[12]===Symbol.for("react.memo_cache_sentinel")?(v=[],j[12]=v):v=j[12],(0,C.useInsertionEffect)(y,v),j[13]===Symbol.for("react.memo_cache_sentinel")?(b=(0,S.jsx)(ev,{}),j[13]=b):b=j[13],j[14]!==ep||j[15]!==z||j[16]!==el||j[17]!==eu?(x={dispatch:ep,getSquashedHydrationErrorDetails:z,shadowRoot:el,state:eu},j[14]=ep,j[15]=z,j[16]=el,j[17]=eu,j[18]=x):x=j[18],j[19]===Symbol.for("react.memo_cache_sentinel")?(w=(0,S.jsx)(di,{}),j[19]=w):w=j[19],j[20]!==x?(_=(0,S.jsxs)(S.Fragment,{children:[b,(0,S.jsx)(dx,{value:x,children:w})]}),j[20]=x,j[21]=_):_=j[21],_}var dx=(0,C.createContext)(null),dw=function(){return(0,C.useContext)(dx)},d_=!1,dj=!1;function dk(){return null}function dS(e,t,n){if(d_)throw Error("Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js");if(!dj){var r=document.createElement("script");r.style.display="block",r.style.position="absolute",r.setAttribute("data-nextjs-dev-overlay","true");var o=document.createElement("nextjs-portal");r.appendChild(o),document.body.appendChild(r);var a=(0,em.createRoot)(o,{identifierPrefix:"ndt-",onDefaultTransitionIndicator:function(){return function(){}}}),i=o.attachShadow({mode:"open"});(0,C.startTransition)(function(){a.render((0,S.jsx)(db,{enableCacheIndicator:n,getOwnerStack:e,getSquashedHydrationErrorDetails:dk,isRecoverableError:t,routerType:"app",shadowRoot:i}))}),dj=!0}}function dO(e,t,n){if(dj)throw Error("Next DevTools: App Dev Overlay is already mounted. This is a bug in Next.js");if(!d_){var r=document.createElement("nextjs-portal");r.style.position="absolute",new MutationObserver(function(e){var t=!0,n=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var l=a.value;if("childList"===l.type){var s=!0,c=!1,u=void 0;try{for(var d,f=l.removedNodes[Symbol.iterator]();!(s=(d=f.next()).done);s=!0)d.value===r&&document.body.appendChild(r)}catch(e){c=!0,u=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw u}}}}}catch(e){n=!0,o=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw o}}}).observe(document.body,{childList:!0}),document.body.appendChild(r);var o=(0,em.createRoot)(r,{identifierPrefix:"ndt-"}),a=r.attachShadow({mode:"open"});(0,C.startTransition)(function(){o.render((0,S.jsx)(db,{enableCacheIndicator:!1,getOwnerStack:e,getSquashedHydrationErrorDetails:t,isRecoverableError:n,routerType:"pages",shadowRoot:a}))}),d_=!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